dcd-map fails silently

Trying to run dcd-map without installing the prerequisites (see #51), I had the following returned by the program:
mave-mapping dcd-map urn:mavedb:00000083-c-1
Performing alignment for urn:mavedb:00000083-c-1...

with no indication this fails. dcd-mapping.log does capture some hints:
2024-06-01 12:06:51,142 INFO:dcd_mapping.main:Performing alignment for urn:mavedb:00000083-c-1...
2024-06-01 12:10:28,656 ERROR:dcd_mapping.main:Alignment failed for scoreset urn:mavedb:00000083-c-1: BLAT process returned error code 127:  /var/folders/rt/v7j4v1h57dj7hf78nxlb5zvs3bcy4l/T/tmpr1a4qjj_ /dev/stdout
2024-06-01 12:30:38,888 INFO:dcd_mapping.main:Performing alignment for urn:mavedb:00000083-c-1...
2024-06-01 12:30:38,904 ERROR:dcd_mapping.main:Alignment failed for scoreset urn:mavedb:00000083-c-1: BLAT process returned error code 127:  /var/folders/rt/v7j4v1h57dj7hf78nxlb5zvs3bcy4l/T/tmpi4fth5nu /dev/stdout

But the user needs to know to look there.
I think dcd-map should minimally throw an error to the terminal window if it doesn't complete. Ideally there would also be some nice prerequisite checks and error messages built in that could help a user just getting started.

Strictly speaking, there is some indication that it fails (it returns a nonzero exit code) but yeah, when we're not running on silent we can ensure a more explicit message is printed.


Fixed timeouts for symflower unit-tests and symflower test

During the run of the light repository with the ollama models I encountered a problem where symfower test was running for ~1H (stuck). In order to avoid this we need to set sane timeouts for all those execution calls.
Notes:

Maven downloads may take also a while, should we add a "prefetch" state for dependencies so we can retry in the case of an error. (We know that maven is sometimes flaky)
I think a sane execution time limit for running tests would be 5-10 minutes. If we are going for a prefetch stage than it should be on the lower end.
We should probably also use the timeout error as metric.

language/java/language.go:96
language/golang/language.go:100
model/symflower/symflower.go:42
I guess those are the parts where we need to apply the timeout.


Add test coverage

add further test coverage
add more images to the gallery

Coverage remained the same at 100.0% when pulling 64b1c3c48f2a030e8f8499b2085d1e34b71a80c5 on add-test-coverage into fd63116345ff9eafe475437afb235f836b09adaf on master.


Using with DateRangePicker for ranges

Any thought on adding bootstrap-daterangepicker as an option to replace the "to" and "from" fields?
Would provide a single field to select ranges or pre-defined selections instead of having the "to" and "from" fields.

For "pre-defined selections" you can use the filter_type: 'custom_func', see sample in showcase


test for insert_by_period is failing... don't know why

@davidclarance maybe you can help me with this? happy to give more context later -- just jotting this down for now
test's compiled SQL

-- setup

with a as (

    select * from "dbt-msft-serverless-db"."test"."test_insert_by_period"

),

b as (

    select * from "dbt-msft-serverless-db"."test"."expected_insert_by_period"

),

a_minus_b as (

    select "id", "created_at" from a

    except

    select "id", "created_at" from b

),

b_minus_a as (

    select "id", "created_at" from b

    except

    select "id", "created_at" from a

),

unioned as (

    select 'a_minus_b' as which_diff, * from a_minus_b
    union all
    select 'b_minus_a' as which_diff, * from b_minus_a

)

select * from unioned

results

which_diff
id
created_at

b_minus_a
3
2018-02-02

b_minus_a
4
2018-03-02

b_minus_a
5
2018-04-02

b_minus_a
6
2018-05-02

@swanderz sure, i'll take a look.


Autonumber support in sequence diagrams

Feature to add an automatic sequence number to steps, like with PlantUML. Surprised not to have found previous issue. Is this relevant?

There is a PR for this #722. It has some conflicts but will try to merge it.


Official Typescript definitions package

What I'm trying to achieve
Make a slim, typed Saleor GraphQL communication in the context of a node, typescript environment. I couldn't find any up to date official Saleor Typescript definitions on npmjs. Only outdated or incomplete ones in @salor/sdk
import type {
  AccountError,
  User,
  UserCreateInput,
} from "????";

export async function mutationCreateCustomer(
  input: UserCreateInput //  <----- this type e.g <------
): Promise<CustomerCreate> {
  const { customerCreate } = await client.request<{
    customerCreate: CustomerCreate;
  }>(CustomerCreateMutation, {
    input,
  });
  return customerCreate;
}

Describe a proposed solution
An offical package with the Typescript definitions only. I Currently use this unofficial package: https://www.npmjs.com/package/saleor-client-typescript
This is actually quite a smart way to handle this. But as it's not very broad used it doesn't feel comfortable to use it, tbh.
Other solutions I've tried and won't work
Copying over the generated definitions lying here: https://github.com/mirumee/saleor-dashboard/tree/master/src/fragments/types
But why should I hold and update these types in my own repository?

I‘m aware that it‘s possible to use the generator for own fragments.
Typescript is pretty flexible when it comes to extending base definitions of a Library. As far as my experience goes it‘s more common to provide these base library types via npmjs. From there it‘s still possible and also common to add project specific definitions - that may come from a generator like you said


Round 2 Nominations

Please pick your top 3 to 5 proposals  for the next round of scenarios.
You should be able to directly tag them with the "Round 2" milestone, but if for some reason you can't just list the numbers here and I'll do it.
@mikependon @mattjcowan @lukevp @FransBouma

P.S. Also put a "thumbs up" on the ones you pick. That way if more than one person wants the same one I'll know to focus on it.


Alt-Tab with FZ Editor has extra window that shouldn't be alt-tab-able

#Environment
PowerToys version: 0.14.1
PowerToy module for which you are reporting the bug (if applicable): Fancy Zones

Steps to reproduce

Launch editor
select something like focus
Go to different app (Example VS Code)
Alt tab to Editor again
hit alt tab again

Expected behavior
You should go to VS Code
Actual behavior
You go to the FZ Overlay.
Screenshots

This seems to be a Windows bug since the window already has ShowInTaskbar="False" that prevents it from appearing in the taskbar and it should also prevent the window from appearing in Alt+Tab.
There is a workaround for this bug (described here https://stackoverflow.com/questions/357076/best-way-to-hide-a-window-from-the-alt-tab-program-switcher): set the WS_EX_TOOLWINDOW window style. I haven't tested it yet. If it works, we need to make sure that it doesn't have side effects.

This has been resolved in the 0.35 release.  https://github.com/microsoft/PowerToys/releases/latest


Typing Indicator onFocus

Please have an option to make the typing indicator visible when the message input is active or focussed.

@ash-buzz You can show a typing indicator whenever you want, depending on your state.
If you want to show it on <MessageInput /> focus just set a visibility flag to true in an onFocus event and use the flag to show the indicator.
import {useState} from "react";
import {ChatContainer, MessageList, MessageInput} from "@chatscope/chat-ui-kit-react"

const [typingIndicator, setTypingIndicator] = useState(false);

<ChatContainer>

  <MessageList typingIndicator={typingIndicator && <TypingIndicator content="Emily is typing" />}>
  </MessageList>

  <MessageInput onFocus={() => setTypingIndicator(true)} />

</ChatContainer>


Document PUSHGATEWAY_URL (fixes #43)

Didn't you merge this already?

@raphink I opened a PR than pushed from my wrk and github didn't close the PR...


animateToRegion flickering on iOS

Summary
When scrolling on my carousel it seems like animateToRegion after upgrading to react-native-maps 1.7.1 is flickering on google maps for iOS. If you slow down the video it seems like it shifts over in a frame and then shifts back to do the animation. Anyone else seeing this?
https://github.com/user-attachments/assets/fd5b3371-9752-4624-beba-6fe001d4dc89
Reproducible sample code
const animateToRegion = (latitude: number, longitude: number) => {
    mapRef.current?.animateToRegion(
      {
        latitude: latitude,
        longitude: longitude,
        latitudeDelta: LATITUDE_DELTA,
        longitudeDelta: LONGITUDE_DELTA,
      },
      300,
    );
  };

Steps to reproduce
Two markers in the same latitude longitude delta and then call animateToRegion between them.
Expected result
There should be no flicker/shift back, the animation should happen smoothly.
Actual result
It flickers between the two markers.
React Native Maps Version
1.7.1
What platforms are you seeing the problem on?
iOS (Google Maps)
React Native Version
0.70.4
What version of Expo are you using?
Not using Expo
Device(s)
iPhone 15 Pro Max
Additional information
No response

imo
Everything is flicking nowdays.
It happen after the June 25, 2024 with the Release 19.0.0. More information here :
https://developers.google.com/maps/documentation/android-sdk/release-notes
Could you try on an Android emulator that hasn't had Google Maps updates and see if it was smooth before?

Just wanted to add that this behavior is not showing up on any simulators but just physical iOS devices.

I use different code for camera in my app, but not animateToRegion :
1/
Maybe you can try fitToCoordinates with animated: false if this less flicking ?
const CibleCameraForActivities = (myArrayClosedPoints, position) => {
const allPoints = fitToMarkers({
array: myArrayClosedPoints,
center: {
latitude: position.latitude,
longitude: position.longitude,
},
});
requestAnimationFrame(() => {
  mapRef.current.fitToCoordinates(allPoints, {
    animated: true, // or false
  });
});

};
or like animateCamera with duration (time for the animation to adjust) :
  if (!isPointInsideBoundary(boundaries, position)) {
    mapRef.current?.animateCamera(
      {
        center: {
          latitude: position.latitude,
          longitude: position.longitude,
        },
        latitudeDelta: mapRegion.latitudeDelta,
        longitudeDelta: mapRegion.longitudeDelta,
        pitch: mapType === "standard" ? 30 : 30,
        heading: 0,
      },
      { duration: 1.5 * 1000 }
    );
  }

An emulator can offer superior performance compared to a mobile device for certain tasks, especially if the host computer has powerful hardware. There is flickering when the device is not powerful enough.

Not all devices uses the last Google Maps updates : Release 19.0.0
These are some ideas that come to my mind. What do you think?

The same issue. Any ideas on how to fix it?
Interestingly, everything works fine on my iPhone XS, but the problem occurs on all newer models and only on physical devices.
requestAnimationFrame not work for me

An emulator can offer superior performance compared to a mobile device for certain tasks, especially if the host computer has powerful hardware. There is flickering when the device is not powerful enough.

That makes sense, but I’m not quite sure I understand the ideas you're suggesting. Could you clarify what you mean?

UPD. I set up Apple Maps as the provider for iOS, and now it's working correctly.

I'm having the same issue and one of the things I noticed is that the flickering only happens when I change the image property of a marker that is "selected" similar to how you're doing.
For example if I don't use an image specifically for the "selected" marker (meaning all markers are always the same image), then I don't get the flickering. As soon as I change the code to include the logic for changing the "selected" marker the flickering comes back.
Code examples below of my custom Marker.
Example code with flickering:
function PoiPin(props: PoiPinProps) {
  const { poi, onPress, variant } = props;

  const mapPinImage = useMemo(() => {
    return variant === 'selected' ? mapPinSelectedPng : mapPinDefaultPng;
  }, [variant]);

  return (
    <Marker
      key={`${poi.id}-${variant}`}
      pointerEvents="auto"
      stopPropagation
      coordinate={poi.location.geo}
      image={mapPinImage}
      onPress={onPress}
    />
  );
}

Example of using one image where flickering no longer occurs
function PoiPin(props: PoiPinProps) {
  const { poi, onPress, variant } = props;

  return (
    <Marker
      key={`${poi.id}-${variant}`}
      pointerEvents="auto"
      stopPropagation
      coordinate={poi.location.geo}
      image={mapPinDefaultPng}
      onPress={onPress}
    />
  );
}

Out of the box @ssommelet21's approach with animateCamera didn't quite work for me, but adding a slight delay before performing animateCamera seemed to resolve it for me, with less success as the delay is decreased.
    const cameraTarget = {
      center: {
        latitude: coordinate.latitude,
        longitude: coordinate.longitude,
      },
      zoom: 18,
    }

    setTimeout(() => {
      mapRef.current?.animateCamera(cameraTarget, {duration: 2000});
    }, 100)


Loaded scripts view does not get dynamically updated

Refs: #57249
Have the following JS workspace https://github.com/Microsoft/vscode/files/2238799/loadedScripts.zip
Start debugging hello.js, do a step by step. I would expect the loaded scripts updates and shows new scripts as they get required. Instead the view is always the same

@isidorn I suspect that loadedScripts events are no longer arriving.

@isidorn the new sessions event are no longer arriving here:
https://github.com/Microsoft/vscode/blob/93e30cc319bb2184756819aefbd4f16a27e7a17c/src/vs/workbench/parts/debug/browser/loadedScriptsView.ts#L374

The issue here was that the loaded scripts view gets created only after a session is already alive so he was missing listeners on session which is already present.

Careful: if the order of events has changed that drastically after your refactoring, we are potentially breaking extensions that use the newSessionEvent. I don't like this fix.

The order of events has not changed. The only thing that changed is internaly how people register to the loadedScriptsEvent, since it is now on the session, not on the service.
So the extensions will not be affected by this.

@isidorn Do we have a build with this fix to test #57249 further ? I can also test from sources, just LMK.

@alexandrudima sorry about that. We do have linux and os x builds, however integration tests are faililng for windows. I will re-trigger builds since I see you have to test windows - they should be out in 30 minutes. And yes you can also test from source afaik


[GEP-19] Adapt monitoring configuration

How to categorize this PR?

/area monitoring
/kind enhancement
What this PR does / why we need it:
https://github.com/gardener/gardener/pull/9695 changes the contract of how extension can provide monitoring configuration, see https://github.com/gardener/gardener/pull/9695/files#diff-93972179f36fa195b948f0f4979acab75697f99f3c51ab889994d9d8ba9f170b. This PR adapts this extension accordingly. It also cleans up no longer needed configuration (if found).
Which issue(s) this PR fixes:
Part of https://github.com/gardener/gardener/issues/9065
Special notes for your reviewer:
/cc @ScheererJ
Release note:

This extension is now using the new way of providing monitoring configuration (ref [GEP-19](https://github.com/gardener/gardener/blob/master/docs/proposals/19-migrating-observability-stack-to-operators.md)) in case a shoot cluster's Prometheus has been migrated to management via `prometheus-operator`.

/cc @ScheererJ

/lgtm


⚠ Bofrost.de has degraded performance

In a79852e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1594 ms

Resolved: Bofrost.de performance has improved in 82ceb66.


Closes Issue#2885: Allow multiple DesktopModules in a single package

Please refer to Issue #2885
Also PR #2886 2886 is the same as this, but was originally made against a 9.3.2 branch causing a minor conflict. This PR has been closed in favor of this one.
Summary
A very simple change to the DesktopModule installation logic allowing multiple DesktopModules in a single Package.

Thanks @kestasjk , this one looks fine now.
@dnnsoftware/tag As far as I can see, this would be backwards compatible. Any potential risk with this PR ?

Overall, I think this is a good change, however, this is a big breaking change from an expectations perspective.  If a user did something different in the DesktopModule than they had in the package, and from what I can tell this could be impacting a number of existing modules.
I'd like to get a few other comments on this one.

And for the issue use case, this could be accomplished by having multiple packages in the manifest. One package would have the dll and the other packages the various desktopmodules or is there something I am not understanding of the use case @kestasjk .
Another issue is the documentation (and probably the installer code and the extension validation service) state that there can by only one module per package, see https://www.dnnsoftware.com/wiki/module-component
So changing this would involve a documentation change and a EVS change on top of not breaking the uninstaller and existing module packages.
Still like the idea, we just need to properly test and modify the other parts that go with this change if needed.

Oh and @kestasjk I want to be 100% clear here, I LOVE this improvement, and I think it is a great contribution so please don't take any of this discussion the wrong way.
One thought that I have, do we support a bump of the Package version from the current 5.0 to say version 6 or something?  And introduce the behavior change by opting into the new version?
All of @valadas points are still other areas that need adjustment, but this might make the behavior change better.

If we do bump the manifest version, then I say we make the manifest filename .dnn10
The idea of having .dnn5 and .dnn6 manifests was to know if the manifest was legacy or new format, but keeping the same code to handle .dnn, .dnn5 or .dnn6 meant that it was useless and most developers just use .dnn
We could do better and have .dnn.10.xml or something where we could grab just the version number and throw warning for deprecated manifests and at one time in the future refuse old formats and cleanup old install code in the platform.
With this scheme we could finally do breaking changes to the installer code and manifest schema by providing a legacy installer for old versions and a new one for the modern ones. It has been incredibly difficult to do changes in the installer because there is so much stuff to think about for old modules.
One of the things that always bugged me is how we cannot validate a manifest using and xsd because the component type is a parameter instead of an xml node. Fixing this would mean we could have intellisense in the manifests with live validation that it matches the given schema. That would allow deprecating older manifest schemas at some point in time by their filename.
And yeah, i join Mitchel to say I love the idea, just we need to be cautious and make sure we don't break stuff by improving this. And my rambling here is just me thinking out loud about related improvements. There is quite a few people here that want to improve the installer, it is just a scary best to touch. :)

I think this is a completely backwards compatible change to the installer, I don't see the benefit in bumping the manifest version number.
I would, however, be concerned about assumptions made in the Edit Bar or other components that don't expect multiple desktop modules per package.  Hopefully a small amount of testing could confirm whether we run into anything, but there's probably some edge case we'll hit later than we'd want to.  Ultimately that would just be a further bug to fix.  This is definitely a change I completely support.

Has anybody created an XSD for the DNN manifest at any point in time?

@EPTamminga there was one made by the community about ten years ago, but I don't know if there's any way to retrieve it.  I had used it for intellisense in Visual Studio way back when.
It's referenced in this forum post: https://www.dnnsoftware.com/forums/forumid/160/threadid/317745/scope/posts, saying it was uploaded to a Gemini issue.  I thought we had an archive of Gemini at some URL, but haven't been able to find it

@bdukes. Ok, time for a new try

I have spent quite some time trying to build one, the problem is that the package type is a prop and what it can contain varies depending on that prop. If it was a node, then an xsd would be awesome but I have found no way to alter the rules on childs based on a prop.

Also, the old xds are actually part of the platform repo and get on each dnn website too
https://github.com/dnnsoftware/Dnn.Platform/tree/development/Website/Components/ResourceInstaller

That is interesting, I see the problem.
The current XSD's in the repo solved this by using different XSD's based upon the extentsion type (module, them, provider).

Thanks for the feedback guys. Just to let you know we're using this approach with an in-house module we're developing and it is working very nicely. I've got an active directory login module, SMS login module, several business specific modules, they're all MVC using JSON etc, arguments with paths, redirection, and working nicely and quickly.
The update process is very quick and straightforward, and we have all our modules in a single place in source control and all our business specific code/content in a single DesktopModules folder.
I will strip out the business specific stuff and upload the a multi-desktop-module example package to GitHub asap. I think any MVC developer would immediately understand this, so kudos whoever wrote the MVC support in.
Regarding things getting confused e.g. the edit menu: You can share the settings controller between multiple desktop modules or have an individual one per controller, if I run into any trouble I will let you know.


Main planning chat, I guess

What are you planning on this game having? Are you planning on it being a pixelated/retro game or a high-quality graphics game? Are you planning on it being 2D or 3D? Are you planning to have multiplayer, and if so, will there be claims and/or PVP? Are you planning on having medieval-looking machines?
I'm a swiss-army programmer, I guess.

Idea if it's multiplayer: Players give birth to a kingdom upon first joining, and the area belonging to that kingdom is delimited by fences on the map.

@project-lulo

Well im really into idle/incremental games recently, if you are familiar to the game trimps it is going to be similar to that. hence the name Midivle a combonation of Mideval and idle

Btw any idea why when you press space the text does not change like the javascript says it is supposed do

I found the problem, but I don't remember what it was. Anyway, it's fixed in #5.

Also, I had an idea to make it different from Trimps: have an actual world map that you build your buildings on instead of just clicking them into existence.

that would be cool

Should I work on making this game work offline?

Does localStorage not work offline?

And I was also thinking if I did do a world map I feel like that would be too similar to the game Clash Of Clans so maybe we want to do something differant.

But I still need to come up with an idea for a spin on it, also I am going to start to work on the UI for the actual game, are there any browser editors that are pretty good

localStorage works offline, but by default you can't actually load the website offline. I usually use [https://piskelapp.com/p/create/sprite Piskel] for pixel-art textures, and Google Draw for HQ textures.

im always happy to help btw! i havent made my own game yet though so I want to learn.
Maybe as a twist yall could add a crown that when a huge empire leader is offline, you could take the crown. People would guard it though.IF you get the crown, you own the empire

so even if you join late, you have a chance of getting to the top.  And if youjoin early, you have to keep playing to stay powerful

I don't know if @project-lulo is planning on it being multiplayer.

ohhh I thought it was online sorry

idea: instead of a sequential battlefield the world map has briars by default (and a 7x7 starting square of open space) and clicking on those briars will start a battle with a "random" enemy derived from the xy position

Also wanted to mention this beautiful piece of code in my fork:
// DO NOT MODIFY, CHANGE, OR ALTER LINES 1-3.

I want to get the base of the game down first and then I think I want to add multiplayer

but making the game is the top priority

mhm

trying my best not to laugh at some code added in b8697d65...
if (confirm("Only use if page is not loading!") == true) {

is it bad or smth lol

You compared the output of confirm (which always returns true or false) to true
...in an if statement, which automatically checks if it is true.

Oh lol

is it ok if I add React to this project? It lets you declare what to render instead of having to change what you are currently render

It's also pretty easy-to-use if you know how to write a function

yeah sure you can add it

ok, i think we should deploy through github actions so we can automatically have our code changed on the real server (e.g. to be more performant)

How do we do that

I think it already is

It's currently deployed by the implicit action, which can't be modified. I'm writing an action to e.g. allow switching between development and production versions of libraries depending on context.

Thoughts on the map border?

fullsize version

I dont really want to do the map because as I said earlyer I feel like it is going to end up like a copy of clash of clans

I can make the map!  im not good at game dev but i can do art

ohhh

It will be to much like clash of clans

also think you can get me some coding help

i can try

alright so im tyring to make an iframe of a prompted site open in the site you click the bookmarklet on (if you do it in google drive, it opens the iframe there)
https://stackoverflow.com/questions/74519068/ive-been-trying-to-make-the-prompted-site-run-in-an-iframe-but-idk-how
this is the fourm question

Hmm i never really use IFrame but i can try to see if i can figure it out, might take me a couple of minutes

ok

so the current glitch is that is

opens a new tab of the requested site
opens the frame on the site you entered in , not in the site you clicked the bookmark on

I have no idea I never really use Iframe, maybe if you edit you stack overflow question and giver more detail someone might understande

alright maybe @PoolloverNathan  might know? but thanks!

@Co1t0n I tried to fix it, but it might not work.

Also can you rename Co1t0n/forkandspoonit.github.io to something else? It is name-blocked at school.

yeah, the forkandspoon thing is a dead project sorry

I finished the base for the loading screen, we can add on to it in a later time If we want to add something else, but I am going to focus on the main game now.

yeah im kinda useless at game dev, i can do some art if needed though, im decent at that stuff, just tell me if you need art done

hey @Co1t0n can you make me a pixel art of like a person, and can you make it pretty low in pixels probably like 16x16 or 24x24

ok got it, do you want animations or no?

nah just a png or jpg

its going to be the icon for your citizens

ok almost done

can you make it more like black and white and make it more general, here let me find a example

i cant find a example but can you make it like the style of the icons in this game https://ironwoodrpg.com/

wait so something ike this?

@project-lulo

No just like the style of the icons not like adding a sword

because the one you made looks like a pokemon trainer dude lol

oh so like redo it?

kinda

I want it to be simple

ok ok, i can also animate it if needed

Nah i dont need it to be animated i just need an icon for humans

ok so like full body or?

what abt just the head?

dude to be honest, I think we would be better off coding this in rpg maker, its a respected software and honestly will move us along much faster

*rpg maker mv

@project-lulo  but doing it here would be fine

No dude this is going to be a incremental game

ohh, btw can you make a rough draft of the icon? so i know what im doing?

yeah I can try

something like this

or this

but pixel art

ohhh got it

do you prefer 8x, 16x, or 32x textures?

also sorry I haven't been active lately

@project-lulo  all done

soo what now

@project-lulo  @PoolloverNathan  so is anyone here still

yes

@project-lulo 8x, 16x, or 32x textures?

@project-lulo  are we going to continue with this game?

@itsLumalo what's ur disc


Progress

Implement the Progress component.
Guidelines: https://www.uiguideline.com/components/progress

Might help: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress


Dartdoc does not seem to parse [namedtype]:

Consider the following dartdoc:
class Foo {}

/// See also [Foo]:
/// < some more docs >
class Bar {}

In this case, [Foo]: won't be interactive in the IDE:

Removing the : or adding a whitespace after it fixes the issue:
/// See also [Foo] :
class Bar {}

Tested on Dart SDK version: 3.4.0-175.0.dev (dev) (Sat Feb 24 00:03:30 2024 -0800) on "macos_arm64"

@srawlins @kallentu

This was fixed at some point. We have a test case, test_commentReference_followedByColon, for this.


docs for verifier and selector strings?

Hey, love the new API. Have some questions and it seemed like a good place to write a docs ticket about them.
There's mentions in the doc of "selector" and "verifier" strings, but it's not actually mentioned what they are use for, what their limits are, or how they are different from one another.
The names are a little vague and it was unclear to me what purpose they had. Were they column names ("selector" is often used in CSS, for instance, to reference a place in HTML) or column values?
For instance, it would be nice to have it written down which values are compared with crypto/subtle.ConstantTimeCompare and so we should make sure the strings are all the same length
I also went to authboss-sample to look and it's not clear that it actually controls what is in the verifier strings. "How long are those strings", etc, seem like open questions when looking at the code? (I'm def not saying authboss-sample should be the authoritative place for this and would much prefer godoc!)
Thanks for reading this long question!

The selector and verified were implemented because of a bug report filed via reddit actually.
The bug report was here: https://www.reddit.com/r/golang/comments/8jgn9l/authboss_v2/dz04o48
Note the link to the "split tokens" article: https://paragonie.com/blog/2017/02/split-tokens-token-based-authentication-protocols-without-side-channels
The terminology comes from there. But essentially you have a selector token that is used to look things up in the database which is vulnerable to timing attacks because it's essentially using strncmp to ensure two strings match, but then once you've retrieved the verifier using that, you use a constant time compare on the verifier so that you work around that vulnerability.
The godoc in recover states:
// GenerateRecoverCreds generates pieces needed for user recovery
// selector: hash of the first half of a 64 byte value
// (to be stored in the database and used in SELECT query)
// verifier: hash of the second half of a 64 byte value
// (to be stored in database but never used in SELECT query)
// token: the user-facing base64 encoded selector+verifier
func GenerateRecoverCreds() (selector, verifier, token string, err error) {

Is there more you were looking for?


Acode does not render the code.

Please check acode is not rendering the codes in both: browser and app mode.

Just exit from app and re-enter it.


UserSearch should have ability to filter by viewport/bounds

Part of #4129
Frontend part: #4081

Actual situation:
There is a backend function (service.search.userSearch) which receives as parameters the x,y coordinates, and search all the users in that point and 50Km around it
Desired situation
Instead of this, the backend should receive 4 points (the bounding box) and the sends back to frontend the list of users inside that box


feat: launch orphaned games

Attempts to launch games that are in the 'launching' state but have no game server assigned yet.

Codecov Report

Merging #124 into master will increase coverage by 0.06%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
+ Coverage   90.32%   90.38%   +0.06%
==========================================
  Files          97       97
  Lines        3627     3652      +25
  Branches      175      175
==========================================
+ Hits         3276     3301      +25
  Misses        299      299
  Partials       52       52

Impacted Files
Coverage Δ

src/games/services/game-launcher.service.spec.ts
100% <100%> (ø)
:arrow_up:

src/games/services/games.service.ts
60.56% <100%> (+0.56%)
:arrow_up:

src/games/services/games.service.spec.ts
98.24% <100%> (+0.18%)
:arrow_up:

src/games/services/game-launcher.service.ts
91.11% <100%> (+1.63%)
:arrow_up:

Continue to review full report at Codecov.

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


Support Monaparty.

This patch enables using CounterJS on Monaparty.
This will be a useful bootstrap for other alt-parties like Zenyparty, Counterparty cash, and so on.
It doesn't have any API breakage. (See tests.)

Thank you for your contribution. I apologize it took too much time to review your PR.


Install using pip can fail due to numpy version mismatch

On my MacBook (Intel, 2018 version) installing the library through pip fails unless the numpy version is restricted to numpy=1/numpy<2.
Using python 3.11 I get the following error when trying to run the example from the README:
Traceback (most recent call last):
  File "/Users/.../main.py", line 1, in <module>
    import gomea
  File "/Users/.../miniconda3/envs/gomea/lib/python3.11/site-packages/gomea/__init__.py", line 1, in <module>
    import gomea.fitness
  File "gomea/fitness.pyx", line 1, in init gomea.fitness
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

This is likely caused by the numpy version requirements in setup.py (install_requires=["numpy>=1.23.0","tqdm"])  since it allows the newer numpy>=2 (and the pypy version of gomea seems to have used numpy<2 which is incompatible).
This issue can be avoided by restricting the numpy version or installing from source with pip install git+... (the latter works with numpy>=1.23.0).
I'm using the following conda environment with the example from the project README:
# environment.yml
# install & run:  conda env create -f environment.yml --solver libmamba && conda activate gomea && python main.py
# cleanup: conda deactivate && conda env remove -n gomea -y
name: gomea
channels:
  - conda-forge
  - nodefaults
dependencies:
  # - python=3.9|3.10 fail with
  # ERROR: Ignored the following yanked versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3
  # ERROR: Could not find a version that satisfies the requirement gomea (from versions: none)
  # ERROR: No matching distribution found for gomea
  - python=3.11
  # enabling this makes it work:
  # - numpy=1
  - pip
  - pip:
    - gomea
    # install from source works:
    # - git+https://github.com/CWI-EvolutionaryIntelligence/GOMEA.git#egg=gomea
    # - git+https://github.com/CWI-EvolutionaryIntelligence/GOMEA.git@dev#egg=gomea

# main.py
import gomea

if __name__ == "__main__":
    frv = gomea.fitness.RosenbrockFunction(10, value_to_reach=1e-10)
    lm = gomea.linkage.Univariate()
    rvgom = gomea.RealValuedGOMEA(
        fitness=frv, linkage_model=lm, lower_init_range=-115, upper_init_range=-100
    )
    result = rvgom.run()
    print(result.printFinalStatistics())

Thanks, this has already been updated in the dev branch, so it will be fixed with the next release.


Fix 1271 signature validation for messages

Refactor signature validation to prevent code duplication

Bump safe-eth-py to v6.0.0b12 because have a fix related.

The fix is not required for this to work, as it's only a error message typo, and #1793 must be merged before


Improve text scaling

Hello.
I think, it will be nice to use text scaling like in default implementation of CollapsingToolbarLayout instead of setTextSize in SmoothCollapsingToolbarLayout. Current implementation leads to text jerks.
There is a helper class (CollapsingTextHelper) that handle it in the design library.
Thanks for useful library.

Hi @sdex
Thanks for your suggestion. Let me include that in the next release. :ok_hand:

Hmmmmmmm. Look like it's quite tricky to translate and scale all title, subtitle and avatar correctly.

+1


[Feature] Ability to specify base URL for links

Hi, thanks for the great action. We were able to use it for our CI pipeline but we are not hosting our repository on GitHub, rather on a self hosted Forgejo/Gitea instance, so the links on the default section do not work as they seem to be hard coded to github.com. Luckily, Forgejo and Gitea URL's seem to be compatible with GitHub so changing the URL base would fix the issue, f.ex https://github.com/my-org/my-repo/actions/runs/31 -> https://git.example.com/my-org/my-repo/actions/runs/31.
Would it be possible to add a setting for this functionality in this action? I assume self-hosted GitHub enterprise users would benefit from this as well.

Hi @rosmko
Thanks for sharing this circumstance with me.
For sure I can make this customizable.

Hey @rosmko
Can you please confirm that the path in the urls are matching for each case:

https://github.com/SimonScholz/google-chat-action/blob/4f63a1454ccca966f91dfbf8c1e158a9c5ba175c/src/cardSection.ts#L81
https://github.com/SimonScholz/google-chat-action/blob/4f63a1454ccca966f91dfbf8c1e158a9c5ba175c/src/cardSection.ts#L88
https://github.com/SimonScholz/google-chat-action/blob/4f63a1454ccca966f91dfbf8c1e158a9c5ba175c/src/cardSection.ts#L101

If that´s not the case be might want to customize this even further, since the path scheme could be totally different for other systems.
For now, you could also use the additionalSections  input and set the  createDefaultSection input to false. And then inside the  additionalSections specify whatever you need.

Anonymized URLs from our organization
https://git.example.com/my-org/my-repo/commit/
https://git.example.com/my-org/my-repo/actions/runs/50
https://git.example.com/my-org/my-repo/pulls/639
Looks like the only difference is the pull reguest URL for us is plural pulls, on GitHub a single issue link is just /pull/. Our current needs don't require the pull request link so this is not a big issue. Although perhaps we could make it an optional setting, f.ex. prPath with a fallback to GitHub standard?

Also, I'm aware of the additionalSections but I couldn't wrap my head around how to configure it, so we stuck to the default section :slightly_smiling_face:

Hey @rosmko ,
I am still wondering whether just changing the base URL would do the trick for you.
Unfortunately I am not familiar with Forgejo and Gitea, but my GitHub-Action relies on https://www.npmjs.com/package/@actions/github in order to read the commit hash and run id etc from the @actions/github  package.
Not sure if the Forgejo and Gitea actions are compatible with the @actions/github  package.
Maybe we could even have a call where you could show me how Forgejo and Gitea work in order to find the best solution for your special case.
Don´t get me wrong, making the base URL configurable would be easy, but I am aiming for a solid solution, which won´t clutter this action with too many configuration settings, which might not be needed.


Rename "suppressible protocols" to "invertible protocols".

We've decided to use the "invertible protocols" terminology throughout the runtime and compiler, so move over to that terminology consistently. We'll retain the term "suppressible" to refer to protocols whose implicit conformances can be suppressed, which is a superset of the invertible protocols.

@swift-ci please smoke test

@swift-ci please smoke test


Update readme of Analog Clock under SSOC 2.O

I got very frustrated when i don't see proper readme of a project, So i will update the readme in order to ease the idea for everyone to get a glimpse of a project.
I want to update the readme of Analog Clock Project

@TusharKesarwani Kindly assign me this issue under SSOC 2.O

Create a new issue with a proper explanation of the bug


Some image assets are 404 but used to work fine.

I am using the nuxt builder for now and am unable to serve certain images that used to work. If I go to /_src I can see them in the file browser but I can't link to them. I didn't really change any code and feel like it could be a builder issue but I am not sure.
For example: https://tiltaing.tilta.com/media-assets/fade.jpg
On the live site, the image doesn't load https://tiltaing.tilta.com
on an old deploy it does https://tiltaing-nuxt-8psyzmwiy.now.sh/
i changed the url to try to get it to work but no luck. https://tiltaing-nuxt-8psyzmwiy.now.sh/fade.jpg loads correctly.

I wonder if you have routes defined in your now.json? You no longer need the boilerplate that was previously recommended, as static files now have their own routes generated by the builder.

But what if routes is necessary because it's a monorepo with both nuxt js and an express server?

I see in line 246 of https://github.com/nuxt/now-builder/blob/master/src/build.ts that the routes object is dynamically generated:
{ src: /${publicPath}.+, headers: { 'Cache-Control': 'max-age=31557600' } },       ...Object.keys(staticFiles).map(file => ({ src: /${file}, headers: { 'Cache-Control': 'max-age=31557600' } })),       { src: '/(.*)', dest: '/' }
So if we want to fully customize our routes, we should specify a route per file?

@bunnydreams
As an example, I managed custom routes to express scripts by this way:
"builds": [
    {
      "src": "nuxt.config.js",
      "use": "@nuxtjs/now-builder"
    },
    {
      "src": "zeit/discord-auth.js", //my express backend
      "use": "@now/node",
      "config": {
        "serverFiles": ["zeit/**"]
      }
    }
  ],
  "routes": [
    { "src": "/discord-auth/(.*)", "dest": "/zeit/discord-auth.js" } //define routes only to "third-party" scripts that outside nuxt`s workflow
  ]

Maybe it's not exactly what you want because it's not monorepo. But with yarn workspaces and now dev it feels like monorepo in some ways.

@danielroe that worked!


added labs 1,2,3 to nodejs

added work from labs 1,2,3 into the nodejs branch, with some bootstrap ui bits :)

closing this request, since it's a class anyway :)


Use /forward_position_controller/commands for all demos

Some of the demos did not work with forward_position_controller due to mismatch of the command topic name.
I removed the remapping in one launch file and changed the remains to have consistent /forward_position_controller/commands commands for all demos.

I suppose this will now conflict with the package restructure. Do you want to add these changes to those PRs in the mean time?

I suppose this will now conflict with the package restructure. Do you want to add these changes to those PRs in the mean time?

of course. @destogl @bmagyar  what is your opinion, is the remapping of the commands in this case some "best-practice" or "laziness"? ;)


Fixing small documentation typo in read_count_functions.R

There was a small typo in the documentation I updated for function GetGeneDatamatrix5start.

Looks good!

Looks good!


chore: create the join or discord and other social links section (WEB-34)

Build out the next section of the page under the cards that will have the image on the left side on top of the rectangle image with the social icons being links that are clickable.

Use the figma in the readme as the source of truth.

Steps to contribute. NEVER COMMIT TO MAIN. NEVER COMMIT TO MAIN. It should always be on your own branch and that branch name should match the issue. Ensure that you are addressing the correct issue. Each issue will be listed as something like a chore, fix, bug, etc. Your commit message MUST start with one of these tags that correspond with your issue. Followed by your commit message and your commit message must end with the branch name, for example (WEB-1)
An example commit message would look like this: chore: create contributing guidelines (WEB-8)
Commit messages should not be written in an action or present tense. It also should not mention tasks unrelated to the issue "Creating Contributing Guidelines and will work on next task" is not what we would want to see as a commit message.
After a pull request is approved, the branch should be deleted once merged.

I will build this since no one has picked this one up yet so we can continue progressing with the web page.

Hey @TheDThompsonDev, have you already started work on this? If not, I can work on it this weekend.

Hey there, my name is Joe, I'm new to the DSD. I'd like to tackle this task if it hasn't been completed yet - any updates? Thanks.

Hey @joeoverflowcode, I'm wrapping up a PR for this here

Nice job!


token size max

I'm running the example code (notebook/agentchat_teaching.ipynb) and it keeps getting stuck at token size max.

At which step does it get stuck? Is GPT-4-32K used?

I have the same problem. Is there any other method besides 32k? For example, does it support sliding windows?

At which step does it get stuck? Is GPT-4-32K used?

At which step does it get stuck? Is GPT-4-32K used?

I have the same problem. Is there any other method besides 32k? For example, does it support sliding windows?

#195 #131 are two methods
And there is a roadmap #156


Add image to navigation item

Hey there!
Is there any chance you could guide me in adding a new "image" custom field? This is for the case that the navigation item has an image/icon associated with it.
So if you have added a new custom field of type "image" through the plugin's settings, you would see something like that in the Add/Edit element popup.

Then in the List view, on the left of each item we could show a preview of the image and lastly, the url of the image will have to be returned with the rest item info.
Any thoughts on how I could go about triggering the media library modal to come up? I believe that the rest won't be a problem. Would be happy to contribute once I implement it of course!

Hi @TasosBak,
There's a PR addressing this story. Have a look, please.

Released as part of 2.4.0.


tibble task_plan option

Revisiting https://usgs-r.github.io/scipiper/task_plans.html with https://github.com/USGS-R/scipiper/pull/108 has reawakened my dream of allowing you to create your own data-frame task plan, more like the drake plan format. I imagine it would make things so much simpler in some cases...Take, for example, the code from Basic task file generation in that vignette, with this general setup:
prep <- function(prep_name) {
  message(sprintf('preparing %s', prep_name))
  return(prep_name)
}
visualize <- function(plot_name, state_data, state_capital) {
  message(sprintf('visualizing %s - %s', plot_name, state_capital))
  file.create(plot_name, showWarnings=FALSE)
}
report <- function(report_name) {
  message(sprintf('reporting on %s', report_name))
  file.create(report_name, showWarnings=FALSE)
}
Here are the states and state capitals for which you want to run the above steps:
task_config <- data_frame(
  id=c('WI','AZ','PA'),
  capital=c('Madison','Phoenix','Harrisburg')
)

the task-plan-tibble generation might look like this:
step1 <- tibble(task_name = task_config$id) %>%
  mutate(
    step = "prep",
    target_name = sprintf("%s_%s", task_name, step),
    depends = NA,
    command = sprintf("prep(I('%s'))", task_name))
step2 <- task_config %>%
  rename(task_name=id) %>%
  mutate(
    step = "plot",
    target_name = sprintf("%s_%s.png", task_name, step),
    depends = NA,
    command = psprintf(
      "visualize(",
      "plot_name = target_name,",
      "state_data = %s_prep,"=task_name,
      "state_capital = I('%s'))"=capital)) %>%
  select(-capital)
step3 <- step2 %>%
  mutate(
    step2_target=target_name,
    step = "report",
    target_name = sprintf("%s.pdf", task_name),
    depends = target_name, # usefrom step2
    command = sprintf("prep(I('%s'))", task_name)) %>%
  select(-step2_target)
task_plan_df <- bind_rows(step1, step2, step3)

instead of the current method, which looks like this:
step1 <- create_task_step(step_name = 'prep')
step2 <- create_task_step(
  step_name = 'plot',
  target_name = function(task_name, ...) {
    sprintf('%s_plot.png', task_name)
  },
  command = function(target_name, task_name, ...) {
    capital <- task_config[task_config$id == task_name, 'capital']
    psprintf(
      "visualize(",
      "plot_name = target_name,",
      "state_data = %s_prep,"=task_name,
      "state_capital = I('%s'))"=capital
    )
  })
step3 <- create_task_step(
  step_name = 'report',
  target_name = function(task_name, ...) {
    sprintf('%s.pdf', task_name)
  },
  depends = function(task_name, ...) {
    sprintf('%s_plot.png', task_name)
  },
  command = function(task_name, step_name, ...) {
    sprintf("report(target_name)", task_name)
  })
task_plan_1 <- create_task_plan(
  task_config$id,
  list(step1, step2, step3),
  final_steps='report',
  ind_dir='states/log')

It's not a huge difference in amount of code, but the tibble code is simpler to read and write, right? And more familiar for people who manipulate data.frames all day (most of us).
What would be needed to make this an option is simply some way of translating between data.frames and the current task_plan format, which is a nested list with a couple of attributes. We could probably do that by providing a function like this:
task_plan_1 <- as_task_plan(
  task_plan_df,
  final_steps='report',
  ind_dir='states/log')

where the final_steps argument would be optional as usual.

Note that combiners would have to come in at the as_task_plan phase; I don't think they'd fit neatly into the task_plan_df, though maybe we'd want to supply them to as_task_plan as a data.frame of their own...or in the same way (finalize_funs and final_targets args) that we currently do it in the task_combiners branch...


Corrections to some cars "DLC" identification status

Fixes https://github.com/JustaPenguin/assetto-server-manager/issues/848.
I have two commits in here, which could certainly be squashed; in the first commit I've included comments referencing evidence of the .kn5 files appearing in the DLC packages themselves.

Thanks for this! And good spot, the resource we used for this data must have been incorrect.


Updates on Log Statement detection

Added support to fluent api/builder pattern
Added some examples from Log4J and SLF4J
Made islogStatement static and public since it does not rely on the state of the object and can be used outside CK

I checked the reports from Codecov, and I'm unable to understand why the codecov/project job failed.


Write a description for the programming languages category

It is necessary to correctly compose the list of languages and style it

Need to use

```
And style with css

applied, it works


How to stop "change" event fire after call replaceRange()

Hi,
How can I stop "change" event fire after call replaceRange() ?

You can't. Use the origin field if you need to distinguish different types of change events from each other.


Better Utility Script

This adds helper.py to replace the utils/copy_project.py, and adds a few extra utilities.
Operations/Utility Functions (usage examples below):

Create: creates a new project with  the specified name based on template files, defaults to daisy seed, but can generate for all supported boards.
Copy: duplicates an existing project to a new location.
Update: updates an existing project with the debug related files (for VS Code/CortexDebug and Visual Studio/VGDB)

I may also add a build all so we can replace the rebuild_all sh file in the root level.  (for non-python users, the equivalent can still be run by doing: ./ci/build_libs.sh && ./ci/build_examples.sh -- which is what the helper.py operation will do as well.
Requirements before merge should be solved before merge:

[x] Create operation fully operational with any of the platforms.
[x] Copy/Create should work on the all files necessary (currently launch.json gets skipped because of hidden directory).
[x] update operation should be implemented, and functional
[ ] ~rebuild_all operation added~
[x] Have the copy script ignore build and VisualGDB directories (build stuff that shouldn't be copied).

A few minor things that should be considered to be fixed before merge or later on:

the script doesn't know where the libraries are so it uses the DaisyExamples hierarchy wherein the path to the libs is always ../../ from the project root.

We should consider adding an argument to set the desired library_directory

rebuild stuff needs to go on hold for a bit as running the shell scripts from python is not very easy on windows. Using bash -c <script>.sh seems to use wsl, and would require have that configured with the proper toolchain, etc.
Long term this could actually grab the correct toolchain from the web for the current os and use it. Running Make will still be an issue then, but the -n trick that we did on oopsy could work here as well.


GitHub Organization and name of this project

I would like to start a discussion on the name of this project and whether it could be turned into a GitHub organization.
We would get almost all the available features since this project and contained repositories are open source.
The only remaining question is that of a good name. Stellarator-Tools describes what this codebase is mostly used for. A matching URL should be available which we can register for linking to an overview website or the main gh-pages website.
mhd.org is still available but would cost $14500 and how would one apply for funding for this?
The URL serves a second purpose.
I would like to publish the existing VMEC wrappers and the webservice core I wrote in Java and that are heavily used at IPP in the global repository Maven Central. The Maven coordinates typically feature a reversed-URL groupId, which means that if the root URL would be mhd.org, we could publish the code as e.g. org.mhd:VmecWebservice.
Here is a list of suggestions:

MHD-Tools (mhd-tools.org) (hmm, not much better than Stellarator-Tools...)
Stellarators For Fusion (s4f.org)
Tokamaks and Stellarators (tokstell.org) (since VMEC can also do Tokamaks)
... your ideas ?

The toolset and the VMEC work are essentially separate projects even though the toolset is dependent on changes to the code.
In my opinion it is unnecessary to purchase a domain and maintain a website for this kind of toolset.  Please double-check the copyright status of the non-stellopt core tools before publishing on github or elsewhere. Things like MINERVA (and their constituent parts), MCONF, etc. are under strange copyrights.
My understanding is that this project is mainly focused on streamlining the VMEC codebase (consequently its dependencies and compilation) and exposing data in memory to external tools instead of formatting the data on disk. In order to prevent very nice improvements from becoming orphaned at the end of your PhD research I would suggest either a fork or branch of the stelllopt repo for the VMEC work. Something that would allow a developer to merge it in the future.

@gmweir Thanks for expressing your concerns on this topic.
Most, if not all, applications building on top of VMEC or using its output have implemented some sort of wrapper or toolbox to compute physics-relevant quantities. What I am aiming at is a clean room design of these toolbox functions. By definition, this involves complete specification of the functionality and documentation of the implementation. I have performed this work already for the basic routines used within the VMEC webservice at IPP. These routines are implemented from scratch and have been written in my spare time; therefore, they are completely independent from Minerva or MConf.
The branch experimental_vmec10 in the VMEC repository was created by me to track my changes and eventually merge them into the mainline VMEC.


ESTRUTURA: Missing mints

Our newerst Drop on Farcaster has some error mints. I cannot verify this on KodaDot as we are not showing Base mints, but if you check Opensea some mints are missing.

Collection
Collection: ESTRUTURA by Morbeck
Opensea collection: https://opensea.io/collection/estrutura
KodaDot Mintframe: https://warpcast.com/morbeck-art/0x20eaf96a
Missing NFTs

https://opensea.io/assets/base/0xbbf5c72ac002f4f6e074c7ad47fd278deb5c740e/5
https://opensea.io/assets/base/0xbbf5c72ac002f4f6e074c7ad47fd278deb5c740e/4
https://opensea.io/assets/base/0xbbf5c72ac002f4f6e074c7ad47fd278deb5c740e/2
https://opensea.io/assets/base/0xbbf5c72ac002f4f6e074c7ad47fd278deb5c740e/3

Pls fix, its been almost one day after mint and they are still not showing.

:wave:

This is a similar issue to what we had. On OpenSea, you can click the "Refresh metadata" button (top right section)

On tofunft had a good explicit description about it. related: https://github.com/kodadot/nft-gallery/issues/5214


Explore implications to Lokomotive w.r.t Contour removing support for  extensions-v1beta1-ingress versions

Contour has removed support for extensions/v1beta1 for Ingress resources in the PR projectcontour/contour/pull/2303
This issue is to explore,document and resolve any potential implications due to apiVersion: extensions/v1beta1 for Ingress resources in Lokomotive.

If our ingresses are using that apigroup we should modify those IMO?

We need to fix these:
$ grep -C 5 -i 'kind: Ingress'  | grep -i apiversion | grep -v vendor
pkg/k8sutil/create_test.go-apiVersion: extensions/v1beta1
pkg/components/gangway/component.go-const ingressTmpl = `apiVersion: extensions/v1beta1
pkg/components/httpbin/component.go-const ingressTmpl = `apiVersion: extensions/v1beta1
pkg/components/dex/component.go-const ingressTmpl = `apiVersion: extensions/v1beta1
assets/components/prometheus-operator/manifests/templates/prometheus/ingress.yaml-apiVersion: extensions/v1beta1
assets/components/prometheus-operator/manifests/templates/prometheus/ingressperreplica.yaml-apiVersion: extensions/v1beta1
assets/components/prometheus-operator/manifests/templates/prometheus/ingressperreplica.yaml-  - apiVersion: extensions/v1beta1
assets/components/prometheus-operator/manifests/templates/alertmanager/ingress.yaml-apiVersion: extensions/v1beta1
assets/components/prometheus-operator/manifests/charts/grafana/templates/ingress.yaml-apiVersion: extensions/v1beta1

Maybe just moving to the new apiGroup should solve this issue.


Question: Without SQPOLL, does io_uring_submit always submit all SQEs on success?

The return value of io_uring_submit is the number of successfully submitted SQEs on success. I wonder if this is always equal to the number of SQEs in SQ. Thanks!

Generally, yes. Earlier kernels would abort submission on error, you can setup your ring with IORING_SETUP_SUBMIT_ALL to turn that off on more recent kernels. If that is set, and some request has an error while being submitted, a CQE is posted. Without that setup flag, or on early kernels, io_uring would stop submitting when that happened. This condition can cause io_uring_submit() to return less than what was available to submit, with the remainder still in the queue.
Outside of that, yes it always flushes everything and hence the return value of io_uring_submit() will be identical to the number of requests that were prepared since the last submission.

Thanks Jens! These are very helpful!

@axboe I have a follow-up question: if some request has an error while being submitted, will io_uring_submit return -errno or the number of successfully submitted SQEs?

It returns the number of successfully submitted SQEs. For example, if you have 8 queued and number 4 has an error, then it'll return 4 and there will be a CQE posted for the 4th one telling you what error it was. As mentioned earlier, this is how it should just work. Just set IORING_SETUP_SUBMIT_ALL and this is how any submission will work.

I see! Thank you so much!

It's sad that the latest WSL only support Linux 5.15, but IORING_SETUP_SUBMIT_ALL requires 5.18.

People running ancient kernels is the bane of my existence.

Haha. I found 6.1 in WSL's repo. Let me try to grab it.

Just to be clear, this wasn't a jab at you, just systems/distro using ancient stuff to begin with.


[Bug]: should not append  a trailing /  when output.assetPrefix is empty string

Version
latest

Details
When set output.assetPrefix to '', the output publicPath starts with /.
Maybe it'll be better not to append a trailing / when assetPrefix is ''
Why would i set assetPrefix to '':

i want to set output.publicPath  so in rsbuild i should set assetPrefix
Our project use <base> element to determine the soure path of js file, the href value is dynamically set when start docker

The source code related to this issue:
related code
Reproduce link
no
Reproduce Steps
no

You can set assetPrefix to ./, it is equivalent to ''.
Rsbuild should always add a trailing slash to output.assetPrefix. This ensures consistent behavior, and changing this behavior is a potential breaking change.


bvgraph_writer: Take ownership of iterators before consuming them

It does not functionally change anything, but it is more intuitive as the iterators are fully consumed by these functions, so the caller cannot do anything with them afterward either way

Yeah, let's have this conversation. It is something I'm doing totally randomly and I would like to do it "the Rust way". I think about it every time there's something like it.
Now, what happens if an iterator is rewindable? Is it something we are absolutely sure we don't wanna support? Because it could be rewindable, but not clonable.

hmm, good point. if you think you're going to make them rewindable in the future, then it's better to use references so it won't break code later

"The Rust way" is probably to use/define a trait implemented by both LendingIterator and &mut Iterator. (AsMut<LendingIterator>?).

Oh, yeah, and we can blanket it with the adapter.

Well, that in that case if I declare the parameter as AsMut I would pass ownership anyway. No?

You wouldn't, AsMut<X> is a slight generalization of &mut X (that also works for Box<X>, and also array/vec if the wrapped type is a slice)

Mmmhhh maybe we're not understanding each other because https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=fc2d124adad0d4db77db1cc98bf7f5e3

yes


Add AppScale to Serverless Platforms

Please only report on one project or product per issue
Guidelines for getting added to the CNCF Cloud Native Landscape:

We generally will only list a company in one box, to represent its major or best known offering. We occasionally make exceptions for large companies.
Projects with at least 250 GitHub stars that clearly fit in an existing category are generally included.
We are unlikely to create a new category for products/projects as we'd rather find the best home with the current options.
We are generally not including commercial versions of open source software, when that version just includes minor tweaks.
Closed source products need to link to a clear description of your product; no stealth mode companies.
Your project or company needs a logo.

Project or Product name:
AppScale
Is it open source? (if you are tempted to say partially, please answer no):
Yes
What are the best URL(s) for it? Repo and homepage (if different) for open source, product homepage for closed source?: https://github.com/AppScale/appscale & https://www.appscale.com/
What one category does it best belong in?
Platforms > Serverless
What's the URL for the best logo (and it needs to include the name)?
https://www.appscale.com/wp-content/uploads/2018/02/AppScale-Logo1.png
Anything else we need to know?:
AppScale is an easy-to-manage serverless platform for building and running scalable web and mobile applications on any infrastructure.

That logo is too small and reversed. Could you please reopen as a pull request and include an SVG, non-reversed version of your logo.


Suggestion

yJust a suggestion. /p info playername, shows their plot ID because sometimes players have duplicated items in their plot and don't want to tell their plot ID.

Do you mean the plot's X;Z coordinates?

yes

Got the same idea for warping to plots of other people. I am currently playing PC servers where you have /ps h username number as options


weird crash when using phobos sha1 with vibe

running the code below inside a naked main() without vibe it does not crash. running it using vibe it carshes with an AV:
shared static this()
{
	import std.digest.sha;

	ubyte[20] hash = sha1Of("abc");
}

tested usung dmd 2.066.1 and vibe.d 0.7.21 on wn32

I have the same Problem and tested it under deffirent Linux distributions. The error ocurred in combination with mysql-native (which is a quite common combination if you want to use ddbc or hibernated) and it took me a while to track it down to vibed (and this issue in particular). So as long as it's not fixed, this workaround should be easier to find.

There's always a possibility that the SHA1 module cannot query the core.cpuid module, possibly because it had not been loaded at that point in the shared static this() chain. Maybe you can try import core.cpuid in your module directly to make sure it's loaded, and see if shared static this() { sha1Of... can work that way?

unfortunately no changes

I think you are right about shared static this, @etcimon. Probably the initialization is done in static this instead of shared static this, which comes after processing all shared module constructors. The following also crashes without any vibe.d interaction:
import std.digest.sha;

shared static this()
{
	ubyte[4] buf = [1, 2, 3, 4];
	auto dig = sha1Of(buf);
}

void main() {}

Has anyone already filed/found a bug report on https://issues.dlang.org/?


Remove codeGenTargetApi builder method from MaterialBuilder

Deprecate the codeGenTargetApi method on MaterialBuilder, as it is confusing and not useful to clients. Clients should only care about setting targetApi correctly.
Tested before and after change with all optimization, platform, and API combinations on all materials inside samples/materials.

Out of curiousity, do we plan on changing CodeGenerator.cpp too, or leaving it as-is?  It has this:
    if (mTargetApi == TargetApi::VULKAN) {
        out << "#define TARGET_VULKAN_ENVIRONMENT\n";
    }
    if (mCodeGenTargetApi == TargetApi::VULKAN) {
        out << "#define CODEGEN_TARGET_VULKAN_ENVIRONMENT\n";
    }

CodeGenerator still needs to know about the two APIs. We have Vulkan-specific hacks in shaders that should only be there when we generate GLSL for SPIR-V for Vulkan but not when we generate GLSL for SPIR-V for OpenGL :)


Godot 3 export is not working with depth

Material Maker version: 1.1
OS/device including version: Windows 10, Geforce GTX 1080, 8 GB
Issue description:
Exporting to Godot 3, depth doesn't show up in Godot 3.5.1.
Steps to reproduce:

I've made a material in Material Maker with nobs with depth:
knobs_with_depth.zip

Export to Godot 3

In Godot 3.5.1 material is cut and depth is not shown

godot230102_material_maker_depth_test.zip

This is not an issue with Material Maker. Godot's CubeMesh (BoxMesh in 4.0) is designed to display 6 faces with individual textures. To display the same texture on each face, you need to set the material's UV1 to (3, 2, 1).


jsx formats that cannot be handled.

using this code:
       (0,
       $ht.s)(edt).render((0,
       Zf.jsx)(i.StrictMode, {
           children: (0,
           Zf.jsx)(Qht, {})
       }))

I get this result:
(0, $ht.s)(edt).render(
 (0, Zf.jsx)(i.StrictMode, {
   children: (0, Zf.jsx)(Qht, {}),
 })
);

Probably the original code：
ReactDOM.render(
    <React.StrictMode>
        <App />
    </React.StrictMode>,
    document.getElementById('root')
)

I think there are some improvements that can be made:

[ ] un-indirect-call should support loose mode to remove all indirect call (unsafe)
After removing indirect call, it will become

$ht.s(edt).render(<i.StrictMode children={<Qht />} />);

[ ] Move that children prop

$ht.s(edt).render(

    <Qht />

);

[ ] React/ReactDOM module detection/renaming

And I also noticed... (0, $ht.s) in your example should be transformed if you have an import statement or require for $ht.
Did you copy-paste the short code snippet into wakaru playground? so there is no context for the tool to remove it.
But we can still improve this by relaxing the limitation of requiring an import or require.

Found another example of JSX not parsing how I would have expected. Would this also be resolved by the above?

Details
Source:
var r = require(4337);
var a = require(35250);
var i = require(70079);
var s = require(34303);
var o = require(64135);
var l = require(88038);
var u = require(13282);
function d() {
  var e = (0, r._)(["bg-black rounded-md"]);
  d = function () {
    return e;
  };
  return e;
}
function c() {
  var e = (0, r._)([
    "flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md ",
    "",
  ]);
  c = function () {
    return e;
  };
  return e;
}
function f() {
  var e = (0, r._)(["p-4 overflow-y-auto"]);
  f = function () {
    return e;
  };
  return e;
}
function h() {
  var e = (0, r._)(["", ""]);
  h = function () {
    return e;
  };
  return e;
}
var g = s.Z.div(d());
var m = s.Z.div(c(), function (e) {
  return e.$isMessageRedesign && "dark:bg-gray-900";
});
var p = s.Z.div(f());
var v = s.Z.code(h(), function (e) {
  return e.$shouldWrap ? "!whitespace-pre-wrap" : "!whitespace-pre";
});
function x(e) {
  var t = e.children;
  var n = e.className;
  var r = e.language;
  var s = e.content;
  var o = (0, i.useCallback)(
    function () {
      navigator.clipboard.writeText(s);
    },
    [s]
  );
  return (0, a.jsx)(b, {
    title: r,
    headerDecoration: (0, a.jsx)(u.Z, { buttonText: "Copy code", onCopy: o }),
    className: "mb-4",
    codeClassName: n,
    children: t,
  });
}
function b(e) {
  var t = e.children;
  var n = e.title;
  var r = e.headerDecoration;
  var i = e.shouldWrapCode;
  var s = e.className;
  var u = e.codeClassName;
  var d = (0, o.hz)().has(l.FZ);
  return (0, a.jsxs)(g, {
    className: s,
    children: [
      (0, a.jsxs)(m, {
        $isMessageRedesign: d,
        children: [n && (0, a.jsx)("span", { children: n }), r],
      }),
      (0, a.jsx)(p, {
        children: (0, a.jsx)(v, {
          $shouldWrap: void 0 !== i && i,
          className: u,
          children: t,
        }),
      }),
    ],
  });
}

module.exports = {
  $: b,
  Z: x,
};

Transformed:
import u from "module-13282.js";

const { _ } = require(4337);

const { jsx, jsxs } = require(35250);

const { useCallback } = require(70079);

const s = require(34303);

const { hz } = require(64135);

const l = require(88038);
function d() {
  const e = _(["bg-black rounded-md"]);
  d = () => e;
  return e;
}
function c() {
  const e = _([
    "flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md ",
    "",
  ]);
  c = () => e;
  return e;
}
function f() {
  const e = _(["p-4 overflow-y-auto"]);
  f = () => e;
  return e;
}
function h() {
  const e = _(["", ""]);
  h = () => e;
  return e;
}
const g = s.Z.div(d());
const m = s.Z.div(c(), (e) => e.$isMessageRedesign && "dark:bg-gray-900");
const p = s.Z.div(f());
const v = s.Z.code(h(), (e) =>
  e.$shouldWrap ? "!whitespace-pre-wrap" : "!whitespace-pre"
);
function x(e) {
  const { children, className, language, content } = e;

  const o = useCallback(() => {
    navigator.clipboard.writeText(content);
  }, [content]);
  return jsx(b, {
    title: language,
    headerDecoration: ,
    className: "mb-4",
    codeClassName: className,
    children: children,
  });
}
function b(e) {
  const {
    children,
    title,
    headerDecoration,
    shouldWrapCode,
    className,
    codeClassName,
  } = e;

  const d = hz().has(l.FZ);
  return jsxs(g, {
    className: className,
    children: [
      jsxs(m, {
        $isMessageRedesign: d,
        children: [title && , headerDecoration],
      }),
      jsx(p, {
        children: jsx(v, {
          $shouldWrap: shouldWrapCode !== undefined && shouldWrapCode,
          className: codeClassName,
          children: children,
        }),
      }),
    ],
  });
}

export default {
  $: b,
  Z: x,
};

@0xdevalias A few places can be fixed

jsxs should be listed in the pragma
This one is not been transformed because v is not a valid JSX element name (<v will be interpreted as a native element)

jsx(p, , {
  children: jsx(v, {
    $shouldWrap: shouldWrapCode !== undefined && shouldWrapCode,
    className: codeClassName,
    children: children,
  }),
}),

https://github.com/pionxzh/wakaru/blob/b06d0a7d8682042700398f0bbba1d76839fb57cf/packages/unminify/src/transformations/un-jsx.ts#L92
so a fix should be introduced to auto rename that v to things like V or VComp.

@0xdevalias Your example should be good now.
return (
    <G className={className}>
      <M $isMessageRedesign={d}>
        {title && {title}}
        {headerDecoration}
      </M>

        {
          <V
            $shouldWrap={shouldWrapCode !== undefined && shouldWrapCode}
            className={codeClassName}
          >
            {children}
          </V>
        }

    </G>

Your example should be good now.

@pionxzh Amazing, thankyou!
Using the same source as before (You can get the full webpack module code i'm unpacking here, and then once unpacked, it's module-2368.js) now gives me this output:

Details
Transformed:
import u from "module-13282.js";

const { _ } = require(4337);

const { jsx, jsxs } = require(35250);

const { useCallback } = require(70079);

const s = require(34303);

const { hz } = require(64135);

const l = require(88038);
function d() {
  const e = _(["bg-black rounded-md"]);
  d = () => e;
  return e;
}
function c() {
  const e = _([
    "flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md ",
    "",
  ]);
  c = () => e;
  return e;
}
function f() {
  const e = _(["p-4 overflow-y-auto"]);
  f = () => e;
  return e;
}
function h() {
  const e = _(["", ""]);
  h = () => e;
  return e;
}
const G = s.Z.div(d());
const M = s.Z.div(c(), (e) => e.$isMessageRedesign && "dark:bg-gray-900");
const P = s.Z.div(f());
const V = s.Z.code(h(), (e) =>
  e.$shouldWrap ? "!whitespace-pre-wrap" : "!whitespace-pre"
);
function x(e) {
  const { children, className, language, content } = e;

  const o = useCallback(() => {
    navigator.clipboard.writeText(content);
  }, [content]);
  return (
    <B
      title={language}
      headerDecoration={}
      className="mb-4"
      codeClassName={className}
    >
      {children}

  );
}
function B(e) {
  const {
    children,
    title,
    headerDecoration,
    shouldWrapCode,
    className,
    codeClassName,
  } = e;

  const d = hz().has(l.FZ);
  return (
    <G className={className}>
      <M $isMessageRedesign={d}>
        {title && {title}}
        {headerDecoration}
      </M>

        {
          <V
            $shouldWrap={shouldWrapCode !== undefined && shouldWrapCode}
            className={codeClassName}
          >
            {children}
          </V>
        }

    </G>
  );
}

export default {
  $: B,
  Z: x,
};

While this is definitely improved from the original, and seems to have fixed the JSX parts, I wonder if there's anything clever that can be done about this sort of pattern (which is probably off topic for this issue):
// ..snip..
function d() {
  const e = _(["bg-black rounded-md"]);
  d = () => e;
  return e;
}
function c() {
  const e = _([
    "flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md ",
    "",
  ]);
  c = () => e;
  return e;
}
// ..snip..
const G = s.Z.div(d());
const M = s.Z.div(c(), (e) => e.$isMessageRedesign && "dark:bg-gray-900");
// ..snip..

The usage of the _ function seems to imply that it's potentially something like:

https://github.com/JedWatson/classnames

A simple javascript utility for conditionally joining classNames together

https://github.com/lukeed/clsx

A tiny (228B) utility for constructing className strings conditionally.

https://github.com/lukeed/clsx#usage

And the general pattern of the d/c/f/h functions that redefine themselves seem to be a sort of memoisation pattern (basically something like this, but redefines the function itself):
const d = (() => {
  let memoizedValue;

  return () => {
    if (memoizedValue === undefined) {
      // Compute the value only once
      cachedValue = _(["bg-black rounded-md"]);
    }
    return cachedValue;
  };
})();

These clsx similar library would require module detection, let's move it to another issue.

Thans for the insight on those functions, not sure where they from👀

#41

Thans for the insight on those functions, not sure where they from

@pionxzh No problem :) I also ended up doing a deeeeep dive into this in the following issue:

https://github.com/pionxzh/wakaru/issues/40

Which seemed to identify the library/related libraries; though not fully figure out how all of the code there relates.

These clsx similar library would require module detection, let's move it to another issue.

@pionxzh Sounds like a good idea.

Thans for the insight on those functions, not sure where they from

Another deep dive the other day turned up some more info on exactly how these functions work/where they come from. See the following comment + issue for notes/references/exploration:

https://github.com/pionxzh/wakaru/issues/40#issuecomment-1819170475

I just had another idea about this, based on some of my deep diving into @swc/helpers tonight.. and I think this is actually another swc related transpilation; related to template literals.

https://github.com/pionxzh/wakaru/issues/50

Summarising what I think is left 'outstanding' in this issue:

Original issue ((Ref))

Seemingly mostly resolved
un-indirect-call should support loose mode to remove all indirect call (unsafe) (Ref)
React/ReactDOM module detection/renaming

Moved to https://github.com/pionxzh/wakaru/issues/41

My Issue (Ref)

Mostly resolved (Ref)
For the other bits that I identified as being able to improved further (Ref); after my deeper explorations, it seems these are related to other libraries/transformations that now have their own issues; so that no longer needs to be tracked in this issue

https://github.com/pionxzh/wakaru/issues/40
https://github.com/pionxzh/wakaru/issues/50

Based on the above, I think the only thing potentially remaining before this issue can be closed is:

un-indirect-call should support loose mode to remove all indirect call (unsafe) (Ref)

I found another examples of some jsxs JSX that isn't currently being unminified properly:

Details
Top of File
Source (unpacked)
// module-63390.js, lines 186-225
  return (0, o.jsxs)(r ? "a" : "div", {
    className: (0, l.Z)(
      "flex h-full w-full flex-col overflow-hidden rounded-md border border-black/10 bg-gray-50 shadow-[0_2px_24px_rgba(0,0,0,0.05)]",
      s
    ),
    href: r,
    target: r ? "_blank" : "",
    onClick: h,
    children: [
      c &&
        (0, o.jsx)(H, {
          children: (0, o.jsx)("div", {
            className: "absolute inset-0",
            children: (0, o.jsx)("img", {
              src: a,
              alt: "image of ".concat(n),
              className: "h-full w-full border-b border-black/10 object-cover",
            }),
          }),
        }),
      (0, o.jsxs)("div", {
        className: "flex flex-1 flex-col justify-between gap-1.5 p-3",
        children: [
          (0, o.jsx)(z, { $clamp: (void 0 !== u && u) || c, children: n }),
          (0, o.jsxs)("div", {
            className: "flex items-center gap-1",
            children: [
              i
                ? (0, o.jsx)(R.Z, { url: i, name: t, size: 13 })
                : (0, o.jsx)(U.Z, { url: r, size: 13 }),
              (0, o.jsx)("div", {
                className: "text-[10px] leading-3 text-gray-500 line-clamp-1",
                children: t,
              }),
            ],
          }),
        ],
      }),
    ],
  });

Transformed (unminified)
// module-63390.js, lines 213-252
return jsxs(url ? "a" : "div", {
    className: Z$0(
      "flex h-full w-full flex-col overflow-hidden rounded-md border border-black/10 bg-gray-50 shadow-[0_2px_24px_rgba(0,0,0,0.05)]",
      className
    ),
    href: url,
    target: url ? "_blank" : "",
    onClick: h,
    children: [
      c && (
        <H>
          {

              {
                <img
                  src={imageUrl}
                  alt={`image of ${title}`}
                  className="h-full w-full border-b border-black/10 object-cover"
                />
              }

          }
        </H>
      ),

        <Z$2 $clamp={(mini !== undefined && mini) || c}>{title}</Z$2>

          {logoUrl ? (
            <R.Z url={logoUrl} name={t} size={13} />
          ) : (

          )}

            {t}

,
    ],
  });
}

While I haven't looked deeply into it, I suspect that perhaps this part that conditionally chooses which tag to use is confusing it maybe?
jsxs(url ? "a" : "div", {

Running it through ChatGPT, it suggested that a canonical way to implement that pattern would be to seperate the ternary out from the main JSX block into a 'helper tag', similar to this:
// Helper function for conditionally setting tag type
const Tag = url ? 'a' : 'div';

// Dynamic class names
const classNames = Z$0(
  "flex h-full w-full flex-col overflow-hidden rounded-md border border-black/10 bg-gray-50 shadow-[0_2px_24px_rgba(0,0,0,0.05)]",
  className
);

return (
    <Tag
      className={classNames}
      href={url}
      target={url ? "_blank" : ""}
      onClick={h}
    >
    //..snip..

@0xdevalias Can you help me move this case to another issue? 🙏

Can you help me move this case to another issue? 🙏

@pionxzh Sure :) Opened the following and tried to fit the details into the template fields:

https://github.com/pionxzh/wakaru/issues/78


add default pallette options

see https://github.com/Gioni06/terminal.css/issues/9
see https://github.com/Gioni06/terminal.css/pull/34

see https://github.com/Gioni06/terminal.css/issues/37

#39


Its is not working for dynamically added options.

If i added options dynamically elements are adding but if i drag up and down every time one number is missing.
for ex :i have 15 options ,first time it works if i do up and down 14 th num will be missing next time 13 num is missing so on...

At line 271 add:
                this.updateItems = function() {
                    $(wrapper).remove();
                    var drum = new Drum(element, options, transformProp);
                    element.data('drum', drum);
                }

after in 343:
                updateItems : function() {
			if ($(this).data('drum'))
                                $(this).data('drum').updateItems();
                }

so call to update the items:
$(select).drum('updateItems');

hi, i'm new to this. where exactly do i add these lines?

@ksfreitas you solution is not working properly. i downloaded your forked drum.js, but when i call the function with update parameters, the function does not work at all.
i am building an angularJS WebApp


💭 lint/ts/useInterfaces has a confusing name

I've been reading about already implemented rules and found that ts/useInterfaces rather confusing. It openly states that the rule is equivalent to jsx-filename-extension which is about file extensions, not typescript interfaces as some may assume from the rule's name. From examples we can see that this rule also reports errors for files with .js extension containing jsx elements which is not about typescript(the rule is under ts rules). Can we please clarify the rule's name or move it outside of ts rules to avoid further confusion?
PS: amazing work 👍

The docs are completely wrong and likely the result of a copy+paste error when I was working on them in the rush for our official release.
The rule is intended to lint against the usage of object type aliases. However, when enabling it I noticed some critical errors that prevent its adoption, at least in the Rome codebase itself.
It is not possible to match interfaces with static fields against another with a computed property. This basically makes it completely untenable for usage in JSON types.
The rule is currently a noop for this reason. I was hoping to get back to it and possibly utilize some smarter static analysis.
You can read more about this in the PR where the rule was added: #677


KeyError: 'refresh_token' when importing gcsfs

I am trying to use the latest gcsfs master on pangeo.pydata.org (see pangeo-data/pangeo#112 for context).
From within the notebook, I do
! pip install --upgrade --user git+https://github.com/dask/gcsfs.git

When I try import gcsfs I get the following traceback
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-12-3f25f74e3f1b> in <module>()
----> 1 import gcsfs

~/.local/lib/python3.6/site-packages/gcsfs/__init__.py in <module>()
      1 from __future__ import absolute_import
      2
----> 3 from .core import GCSFileSystem
      4 from .dask_link import register as register_dask
      5 from .mapping import GCSMap

~/.local/lib/python3.6/site-packages/gcsfs/core.py in <module>()
    985
    986
--> 987 GCSFileSystem.load_tokens()
    988
    989

~/.local/lib/python3.6/site-packages/gcsfs/core.py in load_tokens()
    307             tokens = {k: (GCSFileSystem._dict_to_credentials(v)
    308                           if isinstance(v, dict) else v)
--> 309                       for k, v in tokens.items()}
    310         except IOError:
    311             tokens = {}

~/.local/lib/python3.6/site-packages/gcsfs/core.py in <dictcomp>(.0)
    307             tokens = {k: (GCSFileSystem._dict_to_credentials(v)
    308                           if isinstance(v, dict) else v)
--> 309                       for k, v in tokens.items()}
    310         except IOError:
    311             tokens = {}

~/.local/lib/python3.6/site-packages/gcsfs/core.py in _dict_to_credentials(token)
    335         """
    336         return Credentials(
--> 337             None, refresh_token=token['refresh_token'],
    338             client_secret=token['client_secret'],
    339             client_id=token['client_id'],

KeyError: 'refresh_token'

That is odd, presumably something about the pickle versions of the saved tokens file. Can you do gcsfs.GCSFileSystem._save_tokens() and try again?

No because I can’t import gcsfs at all.
Sent from my iPhone

On Feb 22, 2018, at 12:32 PM, Martin Durant<EMAIL_ADDRESS>wrote:
That is odd, presumably something about the pickle versions of the saved tokens file. Can you do gcsfs.GCSFileSystem._save_tokens() and try again?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Can you delete the file os.path.join(os.path.expanduser("~"), '.gcs_tokens') ?
Also, pushed https://github.com/dask/gcsfs/commit/59de2bcf34b667aab2499cfeffa7f26d59a577f5 to fix this (although I wouldn't mind finding out myself why it's happening).

Deleting the file fixed this issue. Now I can't reproduce. I guess this can be closed.

OK, will close. Thank you for bearing with us while we get gcsfs as good as we can.


InfoIterator in own file

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#17
#16
#19  👈
#15
#14
#13
#18
#10 : 1 other dependent PR (#11 )
#9
#8
#7
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Cohors1316 and the rest of your teammates on  Graphite


Enhance upper bound of Fibonacci driver

Instead of integer sum to use string sum.
Make fibdrv caculate over n = 93.

Have experience for code review on Github.


Update Sketch MVP content publishing template

Objective:
We went through a few runs of the MVP content publishing template while worked on the Layout Patterns and Components section content publishing. We need to take the feedback and update the template to make sure we capture all the updates.
Tasks:

[x] Update the Sketch template to be true to the discission outcome on publishing the Slack channel.
[ ] Review template with Wonil to make sure he is aligned on the updates.
[ ] Upload the new template to the BOX folder.
[ ] Let DDS team members know where to find it and what has been updated.

Acceptance criteria

[ ] The Sketch MVP content template is updated and ready for the DDS team members to use.

@JennySanchez @wonilsuhibm Can take a look at this file and confirm if it captures the latest?
https://ibm.box.com/s/v7bnbm89kwhbzv7czn4b9od1c6e33o7z
Updated MVP Sketch file for the both Layout Components and Components with Use Case.  Changes:

Added Component with use case specs, making use of new 608px image size
Added documentation for links within design

It's currently in work in progress but should be moved asap to main folder, once finalized and approved, per above checklist.
Fyi, there are some differences in component presentation, and decision on whether to show it as 928px or 608px, and whether to pick white or grey background, that is not yet documented or explained in this document.  See the Locale modal:
https://www.ibm.com/standards/web/ibm-dotcom-library/components/localemodal
It may help to make a new task, or assign someone else to handle this task and next update to MVP file.

@sethibm Looking good and I will work on the rest. Thank you again for your contribution to the website publishing and template updates. I will reach out with questions next week if it's ok with you.

Template related work will be share in the Monday demo and continually live as a living document for iterations.


mate.mate-applets: 1.20.1 -> 1.20.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/mate-applets/versions.
These checks were done:

built on NixOS
Warning: no invocation of /nix/store/ll379k2bj134fdja5l40wl49d1zzyj5v-mate-applets-1.20.2/bin/mate-cpufreq-selector had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/ll379k2bj134fdja5l40wl49d1zzyj5v-mate-applets-1.20.2/bin/.mate-cpufreq-selector-wrapped had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 1.20.2 with grep in /nix/store/ll379k2bj134fdja5l40wl49d1zzyj5v-mate-applets-1.20.2
directory tree listing: https://gist.github.com/8917b9a2989aa781cfe8f2a3b86c8821
du listing: https://gist.github.com/867b59527b5cda0652968142a6f9ef54

meta.description for mate.mate-applets is: '"Applets for use with the MATE panel"'.
cc @romildo for testing.
Experimental: this build is cached with Cachix. To use the cache follow these experimental instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 44bf0c6226210d0c8c0dcf4dff325f5c0cab9ab2 && nix-shell --pure -I nixpkgs=. -p mate.mate-applets

Success on aarch64-linux (full log)
Attempted: mate.mate-applets
Partial log (click to expand)
shrinking /nix/store/f1bzz9h9gikpbi6bxr4z04zmwv3mvpns-mate-applets-1.20.2/libexec/.battstat-applet-wrapped
shrinking /nix/store/f1bzz9h9gikpbi6bxr4z04zmwv3mvpns-mate-applets-1.20.2/libexec/.accessx-status-applet-wrapped
shrinking /nix/store/f1bzz9h9gikpbi6bxr4z04zmwv3mvpns-mate-applets-1.20.2/libexec/.mate-cpufreq-applet-wrapped
shrinking /nix/store/f1bzz9h9gikpbi6bxr4z04zmwv3mvpns-mate-applets-1.20.2/libexec/.timer-applet-wrapped
gzipping man pages under /nix/store/f1bzz9h9gikpbi6bxr4z04zmwv3mvpns-mate-applets-1.20.2/share/man/
strip is /nix/store/qg2agrqkf240s656d207zqhipl0bc2id-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/f1bzz9h9gikpbi6bxr4z04zmwv3mvpns-mate-applets-1.20.2/libexec  /nix/store/f1bzz9h9gikpbi6bxr4z04zmwv3mvpns-mate-applets-1.20.2/bin
patching script interpreter paths in /nix/store/f1bzz9h9gikpbi6bxr4z04zmwv3mvpns-mate-applets-1.20.2
checking for references to /build in /nix/store/f1bzz9h9gikpbi6bxr4z04zmwv3mvpns-mate-applets-1.20.2...
/nix/store/f1bzz9h9gikpbi6bxr4z04zmwv3mvpns-mate-applets-1.20.2


Consider making data import restartable

To improve reliability of data import, we could keep some state about progress of data writes (say another Spanner table), and restart where we left off. We could take advantage of transactions to know exactly what data was written by an Apply e.g. as part of each Apply batch, we could include info about what rows are included in the batch.

The recommendation for production migrations has been moved to using the Dataflow templates, hence closing this as not required


Cargo.toml: update serde-xml-rs to 0.4.0

Dependency update introducing a breaking change due to a different error type returned when parsing authorizations.

bors r=@davidor


Add submission branch (wowz) product

This branch often gets builds deployed to it that are sometimes a ~week ahead of what's currently available on public test servers.

Missed this last night. Thanks for this too!


local IFS="|" buggy and unnecessary

Setting IFS as a local seems broken in zsh ($e1 includes the entire |-separated string of file names and $e2 through $eN are empty) and should in any case be unnecessary. There are a couple of obvious solutions.

Store the original value in a temp and reset:
oldIFS="$IFS"
# do stuff
IFS="$oldIFS"

Set IFS only for the for loop. This seems to be the preferred idiom.
IFS="|" for file in $files; do
  # do stuff
done

Use a bash or zsh array. For ZSH, that would be:
filesArray=("${(s/|/)files}")
for file in $filesArray; do
  # do stuff
done

Thanks for bringing this up. 1 seems to break all the tests, and 2 and 3 don't seem to work in bash.
I'll keep looking for a solution


qcelemental: 0.25.1 -> 0.26.0

Description of changes
https://github.com/MolSSI/QCElemental/blob/master/docs/changelog.rst#0260--2023-07-31
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

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

[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build python3Packages.qcelemental

Crazy, I could have sworn that I've built it correctly yesterday. Pushed again with required changes and builds now.

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

8 packages built:

python310Packages.qcelemental
python310Packages.qcelemental.dist
python310Packages.qcengine
python310Packages.qcengine.dist
python311Packages.qcelemental
python311Packages.qcelemental.dist
python311Packages.qcengine
python311Packages.qcengine.dist


ubuntu-14.04 - Convert PPAs and Packages into Arrays

This will make changes/updates more manageable and decrease wet code.

Closed with latest batch of pushes.