androidx.recyclerview.widget.RecyclerView cannot be cast to rikka.widget.borderview.BorderRecyclerView

java.lang.ClassCastException: androidx.recyclerview.widget.RecyclerView cannot be cast to rikka.widget.borderview.BorderRecyclerView         at com.sk.ordinary.fragment.SettingsFragment$PreferenceFragment.onCreateRecyclerView(SettingsFragment.java:167)
The reference code is to use val to receive in kotlin. Can I write it before java jdk11. i.e. don't use var.

The way I rewrite the var reception of jdk11 is still the same problem.....

Here are my code:public RecyclerView onCreateRecyclerView(@NonNull LayoutInflater inflater, @NonNull ViewGroup parent, Bundle savedInstanceState) {             BorderRecyclerView recyclerView =  (BorderRecyclerView)super.onCreateRecyclerView(inflater, parent, savedInstanceState); return recyclerView}  or  replace the BorderRecyclerView to var, the same error. I

Application can override library resource files by creating files with the same name. Here is an example, so the RecyclerView becomes BorderRecyclerView.
https://github.com/RikkaApps/Shizuku/blob/83f3076c433a426dcbde5f9701148779756c20ee/manager/src/main/res/layout/preference_recyclerview.xml

OK, Thanks. I need to use BorderRecyclerView  scroll to the top. I will  try using the method you provided.


Enrique's intro

Hey OHW2021!
copying/pasting here:

[x] Create an issue of tasks to introduce myself
[x] Fork repo
[x] Clone repo to JupyterHub
[x] Checkout a branch
[x] Add an introduction file for yourself
[x] Push to your fork
[x] Make a pull request
[x] Review someone else's pull request (and say hello!)
[x] Merge your pull request after it's been reviewed
[x] Checkout the main branch
[x] Add an upstream remote
[x] Pull upstream changes into your fork
[x] Close this issue

Done, I think.


Audio Decibels per Channel

Hello Everyone.
I currently have a Project that for listening a sound. I already got the Balance of left and right channels using panner but my problem is i cannot get the decibels for each channel (left and right).
Do you know how to get the decibels of the sound?
Thanks.

As Decibels is an audio power mesurement, you can't get it from wavesurfer since it depends on your computer volume, on your audio card amplification and on your speaker.
So either you know each of this caracteristics and do heavy maths to get them, either you use a mic a measure it.

closing, no feedback.

Hello,
Could you tell me how did you get the Balance of left and right channels using panner ?
Thanks,
Martin


Feature Request: Add Support for Basic Auth?

Would it be possible to implement a server configuration option that implements Basic Auth for all http requests? I know it's not really the most secure method but some authentication is better than no authentication for requests made to the FlyingFox HTTP Server. Something as simple as a configurable user name and password that implements the Basic Auth spec would be nice.

I think that is a nice idea, this really is just another HTTPHandler that acts as a middleware in-between requests and handlers.  It may take me a while to workout exactly how to handle this in a generic way but I have pushed a quick branch that shows how you could easily implement it: basic-auth:
var authRoutes = BasicAuthRoutedHTTPHandler(realm: "fox", username: "fish", password: "chips")
authRoutes.appendRoute("/auth/fish") {
    HTTPResponse(statusCode: .ok,
                 headers: [.contentType: "text/plain; charset=UTF-8"],
                 body: "🎣 🍟".data(using: .utf8)!)
}

// all routes under this path require authentication;
await server.appendRoute("/auth/*", to: authRoutes)

Your basic auth branch is working nicely in my app. Had a little bit of trickery with my apps internal web view but was able to find a solution by removing the credential persistence so it re-authenticates every time including right after a credential change and a restart of FlyingFox to immediately start using the new credentials.
Thank you for adding this. Let me know when something like this gets merged back into main.


Support to the brand new angular 5

Does this smart table supports the new version of angular.?
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed.

ng2-smart table have really good features, But its not working with Angular 5 - Help needed


Pain Relief - Issue with the Back counter in the navigation

Reported by @jdanielmourao on Obsidian Discord.

This should now be addressed in Version 1.3.0.


videos not getting tagged when tagged in windows

I tagged all my photos and videos in windows (jpg/mp4), but in aves, only the jpgs are tagged. none of the mp4 are tagged. move them back to windows and they are all tagged there.

fstop displays properly btw

Could you attach here a sample video having the issue?

https://github.com/deckerst/aves/assets/94771708/4190e2c2-02e6-45c5-890f-f75731466389

Is that the tag you set in Windows?

If so, please note that they are not standard, it's a Windows specific way of tagging. For now I'm undecided whether i will support that kind of vendor specific tags.

it is windows yes. like i said, if there is only one video tagged instead of multiple it shows in aves. this video for example shows tagged in aves because it is the only thing tagged adachi and shimamura
https://github.com/deckerst/aves/assets/94771708/9a741491-c4d0-43cb-99cc-a696bbc21ce8

The second video is not tagged the same way: it contains both an XMP tag (supported by Aves), and the Windows specific tag (like the first sample video). So it's normal that the 2nd video tag appears in Aves, it is unrelated with the number of videos with that tag.
Did you tag these 2 videos in different ways in Windows? What organ do you use, exactly? (I don't have Windows to test this myself.)

they were both tagged in file explorer windows 11. exact same way

then windows probably doesn't apply the XMP tags when batch processing videos

Hi
I have the same issue i set multiple tags and ratings in Windows and when i sync the file to my phone the tags and ratings don't show and vice versa. It would really help if Aves and Windows would be able to sync tags and ratings

Videos. Image tags syn just fine. I suppose they are not written the same way ?
For videos for exemple if I add the tag "cat" in a video I see it with Windows Explorer when adding the tag column but in Aves there is nothing. Same if I do the opposite (add the tag in Aves) I do not see the tag in Windows Explorer. Weirdly enough if I use exiftool I see the tag I set in Aves under "subject"

Aves writes tags in the XMP "subject" field, which is standard for images, but probably not for videos.
Could you provide a sample video that you tagged on Windows?

Yes here's an exemple
https://github.com/deckerst/aves/assets/103353220/29b609a7-fa1c-42a6-87ea-c6a20ed98a2b


Rendering issues

Hi, first of all, really cool project! Just tried out the flutter_map example with Mapbox and the Streets style.
I've seen some rendering issues:

Zooming in/out causes the app to freeze/lag intermittently on my Macbook Air M1, raster thread is sometimes way above 3x frame budget, in the hundreds of milliseconds per frame even in smaller cities. As a stress test, try zooming in on Tokyo which has a lot of vectors densely packed. This is generally not an issue in other vector-based map renderers on my machine.

Could canvas.save() be somewhat expensive? I know saveLayer is, but not sure about save, as opposed to manipulating the coordinates rather than the canvas.

Road signs are rendered without the signs themselves (only white text which is hard to read without any background), I'm guessing this is because of lacking support for raster layer types?
Some labels are not rendered, for example the Baltimore label is never rendered, regardless of zoom level.
If you strive for very similar looks, then I think highways and such (orange/yellow roads) have a thin white pixel border, similar to how text is rendered on the map.

Using Mapbox renderer:

Using vector-tile-renderer:

Thanks for the feedback!
Performance issues are definitely a challenge, especially in places that are data-rich such as Tokyo and LA. Did you run the app in release mode? The app makes use of isolates to improve frame rates, but only when run in release mode.

Road signs are rendered without the signs themselves (only white text which is hard to read without any background), I'm guessing this is because of lacking support for raster layer types?

That's right, the library doesn't have support for road signs yet.

Some labels are not rendered, for example the Baltimore label is never rendered, regardless of zoom level.

I'm not sure why that's happening.

If you strive for very similar looks, then I think highways and such (orange/yellow roads) have a thin white pixel border, similar to how text is rendered on the map.

It's possible that there is some unsupported syntax in the theme that you're using. You can find out about that by giving the theme reader a logger, you will see log output for each unsupported expression.
Feel free to make improvements!

Performance issues are definitely a challenge, especially in places that are data-rich such as Tokyo and LA. Did you run the app in release mode? The app makes use of isolates to improve frame rates, but only when run in release mode.

Tried both, maybe it will get better once Impeller is released. I've noticed Flutter/Skia struggle more on macOS/iOS than on Windows for example (although I haven't tried out this library specifically on other platforms than macOS).

Feel free to make improvements!

Cool!  Will do if I start using the lib, currently just playing around :)

Also be aware skia is typically pretty slow on drawing scaled paths > 1px, and I assume most other implementations also use opengl when it comes to the lag issues (so it would be interesting if any of those lag free implementations don't use opengl behind the scenes). I am a little out of touch in recent developments though!

Closing since there's nothing actionable here.


I want to use addressable to load UMA ，I need which data to add to addressable.

Describe the bug
I want to use addressable to load UMA ，I need which datas to add to addressable.
Environment (please complete the following information):

Unity Version:
UMA Version:
Rendering Pipeline:
Platform Build (if not editor):

all type Datas of below pictures in Global Library should be add to addressable?
RaceData、Recipe、SlotData、OverlayData、UMAMaterial and so on?

Thanks .

There is a PDF in the UMA folder that steps you through it one by one.  Basically, you do not need to do anything except follow those steps. UMA will manage it.

Thanks for it


Suggestions megathread

A bunch of suggestions accumulated into 1 thread I'll  start with pinned #feature-requests messages.
Snusmumriken: If I logout aboard the ship while above a desert - and my mobile home moves during the night (say my friend moved us to the djungle), then I would still want to login while still being on the ship. Could perhaps be tied to sitting in a passenger chair while logging out?
Me: Creative relay or wire. Has no limit for connecting stuff like helms and relays.
Renniuq: The ability to have multiple propellers on the same axle could be great, even if only for decoration. Same for larger propellers, since they simply aren't big enough for some of the ships I want to build.
Me: A way to replace models, sounds, textures, etc. with a datapack or an external mod and not modifying & recompiling
a ~ shrek: Wire cutters, removes wire between nodes - added in pull 349, attempt to connect already connected nodes to get back its wire
Skitarius: All multiblock part textures should be of wooden crates with respective labels on them
kleman: Connector blocks for connecting multiple ships together
Me: If you teleport to a position in the shipyard, teleport to wherever that ship is at that position.
Bunkeror: End Ships contain a chest with enough stuff you can use to create a full ship (Or it has it already built on it and ready)
JackTheRedCreeper: Wind direction, speed and sails to travel along it.
Skitarius: Minecarts aligning to rails on ships
RexOrbis and many, many more: boats (not happening buddy)
Melonslise: chair block that is ship helm, lift lever and speed telegraph combined
Melonslise: configurable compressor, gyroscope and engine power in gui or config file (underpowering would be nice for a gui and not cheaty)
DeltaX: rope ladder that extend to ground and let players climb up onto the ship
Nibor62: ProjectRed compatibility (probably already done?)
JackTheRedCreeper: weight display and lift efficiency so you can make the right amount of compressors
Mad Pumpkin: Ender dragon powered creative compressor/engine (in survival duh)
Porvolt: Transporting ships between dimensions (may be possible with Better Portals)
Ayplo: Keybinds that output redstone/relay signal to a block so you can make custom ship controls and modify roll with compressors
Maugrim: Stop the ships movement when its owner disconnects
InterruptingOctopus: A control panel to modify ship permissions
Ayplo: Gyro block that outputs different redstone/relay signals to each face depending on ships yaw pitch and roll
InterruptingOctopus: Pivot block that can set a ships rotation axis, e.g. for wheels or a boats paddle

Me:  Reworking chair system for helicopters- planes.
Me:   balance  controller and plane physics.

Me: Ar/GC   integration. And teleporter block to ship.

Me: make valkyrium affect non-player entities
what it would need is replace playerTick with an entityTick func, check if the entity has an inventory, if so (optionally) check its name against a blacklist, add velocity
Me: VS Hammer
disassembles any multiblocks it touches
or a deconstruct mode for the VS Wrench
TheWolf: So landing legs would be 1-2 blocks tall and 1 block wide/deep
Placing it on a surface for example a wall would place the Foot part outwards.
if the Leg or the block the leg is on receives a Redstone signal, and the foot part is in contact with a Solid non physical block, The ships physics gets disabled locking it into place until the signal is lost.
This would be a more stable and reliable method of landing a ship its also cool. you could also align it and disassemble the ships in the process if you wanted since some mods like Chisel and Bits don't work well While flying. (citation needed)
Reflection Lost: The ability to mirror multiblock components and have them still function as normal
Nica: a hotkey or some method to reset rudder angle
Famine: mast with deployable analogue sails.
wind direction and wind speed/strength indicators.
rudders, and fins.. modular sail rigging.
sails of different sizes. ability to craft them with a banner so the banners design is applied to the sail
and drag chutes. (for slowing descension of rapidly falling craft, or to slow your self when going too fast in an unwanted direction)
para sails that are deployed ahead of the craft if you wanna be that guy....
and solar sails that work like normal sail riggings but look fancier and are pushed by sun direction rather than wind.
for example its a calm morning with little to no wind on my hybrid craft so I align myself with propellers manually with the rising sun to my rear and deploy my solar sails for as much of a boost as I can get before its full day and practically noon.
the more overhead the sun is, the less use I get from solar sails., and the sail should have the sun mostly angled behind it for optimal usage
Bunkeror: I suggested a keel that would be made of a row of blocks, that keel would avoid deviations from the direction it follows with more force the longer it is, and less strenght the more turned the helm is. So, long keel, the ship goes almost straight, but if you turn the helm the keel loses power so you can turn your ship at will.
MushyRoom: jukebox audio source following the ship instead of getting stuck at its spawn point
Me: display of Y coordinate (or full coordinates) on ship_gps and display of mass on ship_scales
Me: persistence option for infusers
if enabled it will stay infused when infuser is broken
Electronica: Add some other way to keep the wheel turned, or change how it works altogether. When i want to keep the ship turning i just right click something else
or instead have it always stay on where it is turned as use a keybind to realign it
Me: way to make the ship hover up and down a few blocks so it looks like it's actually flying while standing still
wobbly block
generates oscillating thrust in the axis its placed in
activates with redstone (signal / 16m of wobbliness) or when less than a certain distance above land
Me: Make Ships Collide Again
Me: gravity gun, point at ship to select and click to drag it around by adding force proportional to selected point position -> mouse position
so if you drag it far away quickly it will go very fast
but you can nudge it slowly too
(gg mod doesn't work now as ships aren't entities)

a few people: naturally generated structures that are automatically infused
Heckteck: a camera block that lets you see from its perspective with a key/command/controller gui
zayats1: resource packs that change helm model and stuff
zayats1: rotor, like a propeller but vertical (or just let propellers be vertical)
our lord triode: submarines
Dor_78: tank tracks, wheels

Electronica: What about this? A Valkyrien skies grappling hook, as well as some sort of markers that the grappling hook can connect to for easy survival access to your ship. The current grappling hook mod is a mess with this one.

I feel like there should be a seperate repo for suggestions where each issue is a suggestion.

might as well use a mailing list, that would be better

Electronica: why not have it so that wires are invisible until you're holding the vs wrench or relay wire?

Normalizer, corrects for uneven mass (say an engine not being perfectly centered) and prevents jeering to one side

observer block working with ships (no idea how laggy it would be)

observer block working with ships (no idea how laggy it would be)


Docker files updates

Coverage remained the same at 33.097% when pulling 8c7282e9327ca42dda2f55ecc4bcc70ab28790ee on rastislavszabo:master into 01be81c3f2cf13fe21fd8f42024a97ba0c1a92bb on contiv:master.


Error for inputting stratigraphy

Getting error message
[Uploading... image.png]
[Uploading... stratigraphy error.jpg]

image emailed

@LeannePyle  - Should the stratagraphic values (Group, Formation, Member, etc) be single values or lists? I thought they were supposed to be single values, but somehow the values are now lists.

the lists work well so think this is fine to leave as is

This appears to be fixed with latest in DLVR.


Compatible with latest KeyCloak?

Thanks for sharing this work! I've seen tickets going as far back as 2015 asking for something like it, with little effect, so I could hardly believe my eyes when I saw it pop up in Github's search results.
Reading the code, I see that invitation-code is intended to be passed as URL param. So I went to the login page, clicked on "Register", and appended invitation-code=abc123 to the URL, to see if it would work:
<keycloak>/auth/realms/<realm>/login-actions/registration?client_id=account&tab_id=3DM0IU03OiI&invitation-code=abc123

Is that correct?
When I do that, I get this in KeyCloak's logs:
ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-351) Uncaught server error: java.lang.NoSuchMethodError: 'org.apache.http.client.HttpClient org.keycloak.connections.httpclient.HttpClientProvider.getHttpClient()'
	at deployment.keycloak-registration-invitation-11.0-SNAPSHOT.jar//fr.redfroggy.keycloak.invitation.forms.RegistrationInvitation.validateInvitation(RegistrationInvitation.java:159)
	at deployment.keycloak-registration-invitation-11.0-SNAPSHOT.jar//fr.redfroggy.keycloak.invitation.forms.RegistrationInvitation.buildPage(RegistrationInvitation.java:90)
	at org.keycloak.keycloak-services@15.0.2//org.keycloak.authentication.FormAuthenticationFlow.renderForm(FormAuthenticationFlow.java:304)
	at org.keycloak.keycloak-services@15.0.2//org.keycloak.authentication.FormAuthenticationFlow.processFlow(FormAuthenticationFlow.java:285)
	at org.keycloak.keycloak-services@15.0.2//org.keycloak.authentication.DefaultAuthenticationFlow.processSingleFlowExecutionModel(DefaultAuthenticationFlow.java:389)
	at org.keycloak.keycloak-services@15.0.2//org.keycloak.authentication.DefaultAuthenticationFlow.processFlow(DefaultAuthenticationFlow.java:253)
	at org.keycloak.keycloak-services@15.0.2//org.keycloak.authentication.AuthenticationProcessor.authenticateOnly(AuthenticationProcessor.java:990)
	at org.keycloak.keycloak-services@15.0.2//org.keycloak.authentication.AuthenticationProcessor.authenticate(AuthenticationProcessor.java:852)
	at org.keycloak.keycloak-services@15.0.2//org.keycloak.services.resources.LoginActionsService.processFlow(LoginActionsService.java:314)
	at org.keycloak.keycloak-services@15.0.2//org.keycloak.services.resources.LoginActionsService.processRegistration(LoginActionsService.java:656)
	at org.keycloak.keycloak-services@15.0.2//org.keycloak.services.resources.LoginActionsService.registerRequest(LoginActionsService.java:712)
	at org.keycloak.keycloak-services@15.0.2//org.keycloak.services.resources.LoginActionsService.registerPage(LoginActionsService.java:673)
	at jdk.internal.reflect.GeneratedMethodAccessor1201.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[...]

getHttpClient seems to be there:  https://github.com/keycloak/keycloak/blob/c3a15cb368eaa20d6af362926e1d77e7d96f7420/services/src/main/java/org/keycloak/connections/httpclient/DefaultHttpClientFactory.java#L75
Any idea of what might be going wrong?

@Pfuenzle I didn't. But I was able to use built-in functionality to mostly replicate an invitation flow. Here it is in case you may find it useful:

In the Manage > Users section of the GUI, Create a user with User Enabled: true, Email Verified: true, and Required User Actions: Update Password
In the Credentials tab, set a temporary password. This will act as the "invitation code"
Send them a mail containing the "invitation code" and a link to your app's OAuth URL, e.g<EMAIL_ADDRESS>User will click on the link, enter the "invitation code", set the final password, and will be logged in.

In step 3), the service or library that handles the OAuth endpoint needs to know that the login_hint query parameter must be forwarded to KeyCloak. At the time, I was using oauth2-proxy and had to sligthly modify to add that. The flow would work in principle even without it, but the user would have to enter the email on the first step, which significantly degrades the experience.

I tried to compile the plugin with the latest kc (16.1.0) and I got  compilation errors
one is:
        when(httpClientProvider.getHttpClient()).thenReturn(httpClient);
in mockChallenge
if I add a cast
        when(httpClientProvider.getHttpClient()).thenReturn((CloseableHttpClient) httpClient);
I get a run-time -error:

[ERROR] fr.redfroggy.keycloak.invitation.requiredactions.WebhookRegistrationSuccessTest.shouldChallengeErrorWhenUnexceptedException  Time elapsed: 0.003 s  <<< ERRO
R!
java.lang.ClassCastException: class org.apache.http.client.HttpClient$MockitoMock$148537412 cannot be cast to class org.apache.http.impl.client.CloseableHttpClient
(org.apache.http.client.HttpClient$MockitoMock$148537412 and org.apache.http.impl.client.CloseableHttpClient are in unnamed module of loader 'app')
        at fr.redfroggy.keycloak.invitation.requiredactions.WebhookRegistrationSuccessTest.mockChallenge(WebhookRegistrationSuccessTest.java:140)
        at fr.redfroggy.keycloak.invitation.requiredactions.WebhookRegistrationSuccessTest.shouldChallengeErrorWhenUnexceptedException(WebhookRegistrationSuccessTes
t.java:117)


Linter: Check event is defined before accessing property

Small change to fix error in https://github.com/ionide/ionide-vscode-fsharp/issues/220

Closed - going to resubmit with a commit under my account


"Learn more about using oauth in CartoDB" link doesn't take you to OAuth docs

Currently, the "Learn more about using oauth in CartoDB" link in /oauth takes you to the CartoDB Platform docs landing page, rather than actual docs about using CartoDB with OAuth.

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


OCP CI build uses a different base image than the operator uses?

It seems that the build we use in OCP CI is using:
FROM registry.access.redhat.com/ubi7/ubi-minimal:latest

(https://github.com/openshift/ocs-operator/blob/e6b769f821180f7d40bc64532e1f5116b7876775/openshift-ci/Dockerfile.deploy)
And when we build the OCS operator regularly, we use:
FROM registry.access.redhat.com/ubi8/ubi-minimal

(https://github.com/openshift/ocs-operator/blob/ab4540d76e824c8525f80340b6f63982ff44251f/build/Dockerfile )

IIRC, when the CI dockerfile was created, we were facing some issues with getting the ubi8 image available in the CI cluster. @davidvossel might remember better.
This was before we started building and pushing the upstream images using openshift-ci. And it seems those images, which are built from the non-ci dockerfile, are getting built correctly. So we can move back to ubi8.


⚠ Bofrost.at has degraded performance

In d0f1d16, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2219 ms

Resolved: Bofrost.at performance has improved in 6abaf00.


Question: What validations to perform before placing a market order?

I'm placing a market order (say XRPETH, 20, SELL) and sometimes I'm getting "Error happened while making order to Binance. Filter failure: LOT_SIZE", sometimes succeed.
So, is there any kind of checks to perform before placing a market order?

@betimd, there are a couple of ClientOrder extension methods available: IsValid() and Validate(). The former returns a bool result and the later throws an exception with a message. Both use the cached Symbol information to determine, among other things, if the ClientOrder.Quantity will pass the 'LOT_SIZE' filter for the symbol. The static asset/symbol information is only as recent as the latest build, but you can update them using Symbol.UpdateCacheAsync().

@sonvister is there any way to "format" quantity of a symbol before making order? Because if I'm having a market order TRXBTC, and I send say 1000.98 I get exception (LOT_SIZE). Thought, let me remove decimals and round a full number and it worked. But on the same time I cannot do this with BTC, while value of BTC I have say it's ~0.1982, so the former rounding doesn't work while it gives me 0. So, is there any way to have a proper qty for a pair?

@betimd, for that there are 3 extension methods on InclusiveRange or symbol.Quantity: GetUpperValidValue, GetValidValue, and GetLowerValidValue. The comments should help explain how each work if the names aren't enough. For more info, the source code is InclusiveRangeExtensions.cs.

@sonvister very helpful. Thnx a lot. What would be the best updating rate of symbol caches? In hours, days, weeks. I mean I want to have serialized locally and not ping Binance every time I check any amount of price if it's correct.

@betimd, I do not know what is best. I can say this data doesn't change very frequently and most of the changes are additional symbols. At a minimum, I would update when the application starts (as updates to this library will become less frequent). Serializing seems unnecessary, since I can't imagine a use case where an application is starting and stopping so frequently. Beyond that, I would again update if the 'LOT_SIZE' or similar filter failure occurs during order placement after validation passes. Also, some changes may not cause an error, but not give you the best result. So, a regular update should also occur which is application dependent. The exchange info rate limit weight is 1, so conceivably you could refresh the cache frequently.


Delete BlackboxMixin record_blackbox_event?

record_blackbox_event has an unreachable code path but it looks like much if not all of the Blackbox code can be deleted.
git grep record_blackbox_event
vmdb/app/models/mixins/blackbox_mixin.rb:  def record_blackbox_event(eventData)
vmdb/app/models/mixins/blackbox_mixin.rb:      $log.debug("MIQ(vm-record_blackbox_event): Skipping record_blackbox_event, no active proxy")
vmdb/app/models/vm_or_template.rb:        #e.record_blackbox_event(saveSrc, saveDest) if e.event_type == EmsEvent::CLONE_TASK_COMPLETE
vmdb/lib/ems_event_helper.rb:    #record_blackbox_event
vmdb/lib/ems_event_helper.rb:  # def record_blackbox_event(recordSrc=true, recordDest=true)
vmdb/lib/ems_event_helper.rb:  #       @srcVm.record_blackbox_event(eventData)
vmdb/lib/ems_event_helper.rb:  #       @destVm.record_blackbox_event(eventData)

Fixed in 9a808282f479479bdb63f0c13b30ca6932804ecf


Incorect usage of BOOST_HEADER_DEPRECATED

The use in e.g. https://github.com/boostorg/test/blob/741ff88f56ef88e4db995e5478c978447757db07/include/boost/test/floating_point_comparison.hpp#L14 should simply pass the new header as the argument. Otherwise the message is:

boost/test/floating_point_comparison.hpp:14:1: warning: This header is deprecated. Use This header is deprecated. Please use <boost/test/tools/floating_point_comparison.hpp> instead. instead. [-W#pragma-messages]

Fixed in master


[docs] Docs for 'styled' API are confusing

Note: This issue is about the 'styled' API of '@material-ui/styles', not 'styled-components' or other modules.
Edited, based on next version of docs:
Usages in docs

Styles - Basics - Getting started - Styled-components API

styled(Component)(styles)

Styles - Basics - Adapting based on props - Adapting styled-components API

const colorMapping = {
    red: '#f00',
    blue: '#00f'
};
styled(({color, ...other}) => <Component {...other} />)({
    background: props => colorMapping[props.color]
})

Styles - API - styled(Component)(styles, [options]) => Component

styled(Component)(styles) // similar example as 1

The problem

Example in API does not provide more information than example in basics.
The usage based on theme is discussed in API, but there is no example about it.

In Styles - API: (styles: ...Use the function signature if you need to have access to the theme. It's provided as property of the first argument.)
Suggestion
Basically I think it would be nice if the docs includes 4 different use case:

Basic case:

styled(Component)(styles)

Based on props:

const colorMapping = {
    red: 'red',
    blue: 'blue'
};
styled(({color, ...other}) => <Component {...other} />)({
    background: props => colorMapping[props.color]
})

Based on theme:

styled(Component)(theme => ({
    backgroundColor: theme.palette.background.paper
}));

Based on props and theme.

Original Issue, based on current docs:
There are 4 part of the docs discussing the usage of 'styled' API, and they seems not quite consistent:

https://material-ui.com/css-in-js/basics/#styled-components-api
Usage: styled(Component)(stylesObject)

https://material-ui.com/css-in-js/basics/#adapting-styled-components-api
Usage, accessing props: styled(Component)(stylesObjectWithFunctionValues)

Basically, this example shows the usage when styles are related to props.
In this example, a styledBy function is introduced, but it is not relevant to the API itself. If we remove the styledBy function, the simplified usage here is:
styled(({color, ...other}) => <Component {...other} />)({
    background: props => ({red: 'red', blue: 'blue'})[props.color]
})

https://material-ui.com/css-in-js/api/#styled-styles-options-component-component
Usage: styled(stylesFunctionOrObject)(Component) (This usage does NOT work)
However, in the example, there is:
Usage: styled(Component)(stylesObject)

https://material-ui.com/customization/css-in-js/#styled-components-api-15-lines
Usage: styled(Component)(stylesObject)
Usage, accessing theme: styled(Component)(theme => stylesObject)

Maybe there should be a single place where all usages are discussed and compared?

Could you reevalutate the situation with the next version of the documentation? next.material-ui.com.

@oliviertassinari I updated the issue based on next version of docs.

Also more typescript examples of using theme and props in the styled function would be appreciated as this is fairly confusing.

@Und3Rdo9 I think this was fixed and released in 4.2.0. You'll need to use import { styled } from '@material-ui/core/styles'; though. You won't have to specify the type for theme anymore either, it should just work.
@carydeng Why is "4 Based on props and theme." blank? Is it not possible? I'm trying to figure out how to get that to work.

@noah-potter Thanks, that fixed it for me with no need to specify types as expected. Cost me two hours to figure out 😬 Some additional TS examples would definitely help with regards to styled. It seems other style creation methods have more examples in the docs.

@noah-potter I suppose it should be something like the following snippet
styled(({color, ...other}) => <Component {...other} />)(theme => ({
    backgroundColor: theme.palette.background.paper
}))

But apparently it does not work when I created this issue.

@carydeng I'm looking to use props in the styles, like this:
styled(Component)(theme => ({
  background: props => props.color == "dark"
    ? theme.palette.grey[500]
    : theme.palette.grey[100]
}))

Last time I tried, I couldn't get it to work. May have been a typescript issue, I didn't try ignoring that yet. I'll do some more testing later


Don’t read responseXML if response has no content

Firefox will return the error "XML Parsing Error: no element found" if you try to read responseXML on a response that has no content, e.g. a 204 response.
The issue is described here:
https://bugzilla.mozilla.org/show_bug.cgi?id=547718
This PR prevents this library from returning that error, as I would prefer the null response instead.

I'm on a phone so maybe I missed something but to me it looks like no matter what, responseXML will never be returned. So 204 is fixed but 200 is broken.
What did I miss?


[FEATURE] Standard scrollbar

Add a standard scrollbar that matches the current UI and looks the same on every OS/Device/Browser

Colour: #9C978C  Width: 8px

hey @yashchaudhari008 I am really interested in your project is ready to contribute to this issue
can you please assign it to me and mark it as hacktoberfest
thanks

hello @yashchaudhari008  could you assign me this issue . I could perfectly complete resolve this issue .


add a sanboxes for go extension

Commit Message: add a sanboxes for golang extension.
Additional Description:
Risk Level: Low
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@wangfakang thanks for working on this - do you want to rebase to main to clear up the commits - generally its better not to force push but i reckon lets clean up the commit history to get started

@wangfakang thanks for working on this - do you want to rebase to main to clear up the commits - generally its better not to force push but i reckon lets clean up the commit history to get started

@phlax Thanks. Im open a new PR https://github.com/envoyproxy/envoy/pull/24848


unit testing fix for PR #1014

Can we have some tests to cover loading contracts across multiple subfolder ?

[ ] reuse gatherContractsFrom
[ ] reuse fs.walkSync
[ ] write tests to cover loading contracts across multiple subfolder - see issue #1064


current time

Is there a method to get the current time?  If my timer is 60s, and the user finished in 30s, I want to get the time if they finished before the timer completes.
Thanks,
Don

Related to that, is there a method to call to stop the timer?  progressTimer('complete') doesn't actually stop the time when it is called, it just changes the bar style.

Hey, sorry for the delay in replying to you.  Neither of those are currently features of the progerssTimer.  The scenario I had when I developed it initially this was to force a user to wait a certain amount of time before initiating another action, but to be aware of how much time was remaining.
If you add either piece of functionality, I'll be happy to look at incorporating the change into progressTimer.

Thank you Nathan.  Understand your use case.  Great product!


Circuit.append(Barrier, qargs=None) leaves invalid circuit.data

Information

Qiskit Terra version: master @ 9d1d6a1e
Python version: 3.6
Operating system: osx

What is the current behavior?
>>> import qiskit as qk
>>> from qiskit.circuit import Barrier
>>> qc = qk.QuantumCircuit(3)
>>> qc.x(0)
>>> qc.append(Barrier(3))
>>> qc.x(0)
>>> qc.depth()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/kevin.krsulichibm.com/q/qiskit-terra/qiskit/circuit/quantumcircuit.py", line 1437, in depth
    max_level = max(levels)
ValueError: max() arg is an empty sequence
>>> qc.data[1]
(<qiskit.circuit.barrier.Barrier object at 0x10ef6bf98>, [], [])

(Both qargs and cargs are [].)
Steps to reproduce the problem
What is the expected behavior?
Seems like the right behavior here is to broadcast to all qubits if barrier.num_qubits  == circuit.num_qubits (similar to what's done for circuit.barrier()), but if not, we should at least raise an error as we would for other instructions
>>> qc.append(XGate())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/kevin.krsulichibm.com/q/qiskit-terra/qiskit/circuit/quantumcircuit.py", line 932, in append
    for (qarg, carg) in instruction.broadcast_arguments(expanded_qargs, expanded_cargs):
  File "/Users/kevin.krsulichibm.com/q/qiskit-terra/qiskit/circuit/gate.py", linron.')
qiskit.circuit.exceptions.CircuitError: 'The amount of qubit/clbit arguments does not match the gate expectation.'

Suggested solutions

I am interested to work on that.

Doesn't append require to provide the qargs? To not provide them, compose should be used. So I think this should raise an error if no qargs are specified 🙂

Doesn't append require to provide the qargs? To not provide them, compose should be used. So I think this should raise an error if no qargs are specified 🙂

Surprisingly not, though maybe this is the bug. If qargs is None, it defaults to [] which will eventually raise an error from Instruction.broadcast_arguments for most instructions, but not Barrier (because it supports qc.barrier() with no qargs).


{containerapp} Fix #23934: Add validation for revision suffix parameter

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

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

Could you also add this validation to containerapp_update_logic? Thanks!


Replacing hard-coded email address with configuration value equivalent

This work was lost when we fixed/replaced the bonnie-prior branch earlier

The build is failing because of an unrelated security vulnerability. We will address that in a separate release.


documentation/latest: fix typo, adjust formatting

Small fixes to the content of this page: https://parquet.apache.org/documentation/latest/.

@waldyrious Thanks for working on it!


Linux/i3: screen artifacts and crash

On Linux, with the i3 tiling WM, iced does not work correctly.
When running a example or a custom project, the window shows weird black/white artifacts and the program crashes with a assertion failure after moving the mouse a round a bit.
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `0`,
 right: `1`', /home/theduke/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-native-0.4.1/src/hub.rs:120:9
stack backtrace:
   0: backtrace::backtrace::libunwind::trace
             at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.37/src/backtrace/libunwind.rs:88
   1: backtrace::backtrace::trace_unsynchronized
             at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.37/src/backtrace/mod.rs:66
   2: std::sys_common::backtrace::_print_fmt
             at src/libstd/sys_common/backtrace.rs:76
   3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
             at src/libstd/sys_common/backtrace.rs:60
   4: core::fmt::write
             at src/libcore/fmt/mod.rs:1030
   5: std::io::Write::write_fmt
             at src/libstd/io/mod.rs:1412
   6: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:64
   7: std::sys_common::backtrace::print
             at src/libstd/sys_common/backtrace.rs:49
   8: std::panicking::default_hook::{{closure}}
             at src/libstd/panicking.rs:196
   9: std::panicking::default_hook
             at src/libstd/panicking.rs:210
  10: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:473
  11: std::panicking::continue_panic_fmt
             at src/libstd/panicking.rs:380
  12: std::panicking::begin_panic_fmt
             at src/libstd/panicking.rs:335
  13: <wgpu_native::hub::Storage<T,I> as core::ops::index::Index<I>>::index
             at /home/theduke/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-native-0.4.1/src/hub.rs:120
  14: wgpu_native::command::command_encoder_begin_render_pass::{{closure}}
             at /home/theduke/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-native-0.4.1/src/command/mod.rs:261
  15: core::option::Option<T>::map
             at /rustc/4560ea788cb760f0a34127156c78e2552949f734/src/libcore/option.rs:447
  16: wgpu_native::command::command_encoder_begin_render_pass
             at /home/theduke/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-native-0.4.1/src/command/mod.rs:259
  17: wgpu_command_encoder_begin_render_pass
             at /home/theduke/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-native-0.4.1/src/command/mod.rs:734
  18: wgpu::CommandEncoder::begin_render_pass
             at /home/theduke/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.4.0/src/lib.rs:1059
  19: iced_wgpu::renderer::Renderer::draw
             at ./wgpu/src/renderer.rs:94
  20: <iced_wgpu::renderer::Renderer as iced_native::renderer::windowed::Windowed>::draw
             at ./wgpu/src/renderer.rs:427
  21: iced_winit::application::Application::run::{{closure}}
             at ./winit/src/application.rs:254
  22: winit::platform_impl::platform::sticky_exit_callback
             at /home/theduke/.local/share/cargo/git/checkouts/winit-c2fdb27092aba5a7/709808e/src/platform_impl/linux/mod.rs:693
  23: winit::platform_impl::platform::x11::EventLoop<T>::run_return
             at /home/theduke/.local/share/cargo/git/checkouts/winit-c2fdb27092aba5a7/709808e/src/platform_impl/linux/x11/mod.rs:305
  24: winit::platform_impl::platform::x11::EventLoop<T>::run
             at /home/theduke/.local/share/cargo/git/checkouts/winit-c2fdb27092aba5a7/709808e/src/platform_impl/linux/x11/mod.rs:399
  25: winit::platform_impl::platform::EventLoop<T>::run
             at /home/theduke/.local/share/cargo/git/checkouts/winit-c2fdb27092aba5a7/709808e/src/platform_impl/linux/mod.rs:640
  26: winit::event_loop::EventLoop<T>::run
             at /home/theduke/.local/share/cargo/git/checkouts/winit-c2fdb27092aba5a7/709808e/src/event_loop.rs:148
  27: iced_winit::application::Application::run
             at ./winit/src/application.rs:158
  28: iced::application::Application::run
             at ./src/application.rs:140
  29: iced::sandbox::Sandbox::run
             at ./src/sandbox.rs:128
  30: counter::main
             at examples/counter.rs:4
  31: std::rt::lang_start::{{closure}}
             at /rustc/4560ea788cb760f0a34127156c78e2552949f734/src/libstd/rt.rs:64
  32: std::rt::lang_start_internal::{{closure}}
             at src/libstd/rt.rs:49
  33: std::panicking::try::do_call
             at src/libstd/panicking.rs:292
  34: __rust_maybe_catch_panic
             at src/libpanic_unwind/lib.rs:80
  35: std::panicking::try
             at src/libstd/panicking.rs:271
  36: std::panic::catch_unwind
             at src/libstd/panic.rs:394
  37: std::rt::lang_start_internal
             at src/libstd/rt.rs:48
  38: std::rt::lang_start
             at /rustc/4560ea788cb760f0a34127156c78e2552949f734/src/libstd/rt.rs:64
  39: main
  40: __libc_start_main
  41: _start
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

OS: Arch Linux
DE: xorg + i3
Iced version: master

Hey, sorry to hear that.
Do [the wgpu examples] work for you? Some people have been able to fix glitches and crashes by updating the graphics drivers, specially if you have an integrated device (see #98).

It's a wgpu issue. Doesn't seem to work with AMD Ryzen 3000 APUs right now.

Ah I got it working in the end.
For others in the same situation, the required Arch packages are:

mesa
amdvlk
vulkan-radeon


Regression: MATCH_TYPE environment variable not overriding default value

New Issue Checklist

[ X ] Updated fastlane to the latest version
[ X ] I read the Contribution Guidelines
[ X ] I read docs.fastlane.tools
[ X ] I searched for existing GitHub issues

Issue Description
Steps to reproduce:

Create Matchfile and set type "development"
Set MATCH_TYPE=adhoc as environment variable
Run fastlane match

Result: it will try to setup development credentials.
Expected: environment variable should override the default settings, as was previous behaviour and  also according to docs.
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack

Key
Value

OS
10.11.6

Ruby
2.3.1

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.11.6 (15G1611)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.3.1_2/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode-8.2.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.62.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
1.5.1

CFPropertyList
2.3.4

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.54.0

faraday
0.9.2

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20160826

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.2

json
1.8.3

mini_magick
4.5.1

multi_json
1.12.1

multi_xml
0.5.5

rubyzip
1.1.7

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.1.1

bundler
1.13.6

faraday_middleware
0.10.0

uber
0.0.15

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.1.0

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
<IP_ADDRESS>

google-api-client
0.13.2

io-console
0.4.5

unicode-display_width
1.1.1

terminal-table
1.7.3

generated on: 2017-10-18

Thanks for the report, I'm trying to reproduce now 👍

I can reproduce, thanks, will look into this now 👍

There was no change in the code recently, with what fastlane version did this work?

Just pushed https://github.com/fastlane/fastlane/pull/10643, and added some comments, let's me know what you think

I am not sure about match, but our CI tools use env vars to enforce options during build over whatever is set in the git committed project files.
It's my impression this was the case, but could be we had been working under this assumption and everything worked by coincidence until we noticed this issue.
Either way, I'd argue FOR the environment being able to override file settings, it's usually how other tools work and enables easier config during builds (instead of parsing and rewriting files).

I'll close this issue since #10650 is now merged to master. Thanks for your input @lkraider!

Awesome, thanks!


Sometimes the light spot from a point light on the ground does not appear

Describe the bug
The light spot from the point light on the ground does not appear when the camera angle is parallel
To Reproduce
Steps to reproduce the behavior:

At the gltf_viewer sample set the "actualSize" is true
Load the gltf and observing the light spot from a point light with both vertical and parallel camera perspectives

Expected behavior
The light spot is correctly displayed even under a parallel camera perspective
Screenshots
When the camera has a vertical perspective，the light spot is correctly displayed：

When the camera has a parallel perspective，the light spot is not  displayed：

Logs
Desktop (please complete the following information):

OS: [win11]
GPU: [ NVIDIA GTX 2060]
Backend: [OpenGL]

Smartphone (please complete the following information):

Device: []
OS: [Android]

Additional context
this is the gltf file:
hshl1-c.zip

I'm not sure there is a problem here, That's just how specular reflections work. Were you able to try it in another player?

I'm not sure there is a problem here, That's just how specular reflections work. Were you able to try it in another player?

@pixelflinger thanks!
This is the effect in blender, when camera  angle is parallel :

but in the filament i found that by increasing the falloff value of the point light to 30 or above (the default value is 10), light spots also appear. So, was the reason it didn't display before because the falloff value was too low?But the distance in Blender is also 10 meters.

Okay, that's interesting. I will investigate further. It might take a few days.

So I did some investigation and in fact this is the expected behavior, but it is very counter intuitive.
The light "falloff" is not a real property of lights, we do it because we need to limit the influence of lights with the distance for performance reasons, the "falloff" is not a physical property. So the fallof essentially "cuts" the light at certain distance (in your case 10 meters).
Okay given that, when you put the camera closer to the ground, the reflection of the light on the ground moves away from the light (towards the camera), and if it falls beyond the falloff (i.e. radius), it won't reflect. Unlike what you might think, the reflected ray doesn't come from "just bellow" the light.
You can increase the radius but it will impact performance significantly on a scene like that.
I do not know why blender behaves differently, but we don't aim to be compatible with blender. I have no idea how they use the falloff / radius.

In Blender the falloff is non physically based and controls the actual falloff (between quadratic and linear). In Filament it's more like a hard clip distance.

@pixelflinger @romainguy Thank you very much! I understand this issue. Thank you all for your work！


HV-1576 Upgrade the integration tests and the base WildFly version to WildFly 12

https://hibernate.atlassian.net/browse/HV-1576

Better reviewed commit per commit, especially because the first one rejiggers things around.

Mmmh, there is a failure in the Felix CDI test run on Payara on CI. A bit surprised as I ran the tests locally. They also run successfully on Travis so let's try to trigger the tests again.

Jenkins retest this please

See https://hibernate.atlassian.net/browse/HV-1581 for why the build doesn't fail on Travis or locally. The test fails though, working on fixing it.

Jenkins, retest this please

Rebased and applied; thx, @gsmet!


All the bugs that I was able to find in the app's interface.

I recorded a video containing all the bugs in the interface that I could find; I will attach it below.

Samsung TV Model: UN32T4300
App version: v.1.1.4 (latest)

https://www.youtube.com/watch?v=rqycVeMYNrQ

Hi @Clauberto, it is a reported error that happens on some devices, I am going to upload version 1.1.5 partially so that you can try a new screen and check if the same thing happens. it should look like this...

If this works well, I'm going to change the home and categories list to this format

Okay, the new interface seems to be turning out quite nice!

@Clauberto done, version 1.1.5 is available
if you have the ..._online.wgt version installed, it is not necessary to reinstall the app, just turn off the TV and turn it on again to clean the app cache and load the new one version.
if you have the ..._offline_vX.X.X.wgt version installed, you must install the new version.
In the menu, my list you can access... test it works correctly for you... keep in mind that it is necessary that you have elements in watchlist and some crunchylist to be able to do the complete test
thanks

On my TV it seems like there is a lot of space between the lists.
https://github.com/jhassan8/crunchyroll-tizen/assets/68787027/c14111b4-fb0b-415c-9dc9-bb1de3bd4162

Now it's working perfectly.
https://github.com/jhassan8/crunchyroll-tizen/assets/68787027/9c378d9b-5b50-4631-bd2d-2e9108988f10

Perfect! Does it also work on the home screen or only on my list?

On the home screen, the empty spaces continue.
https://github.com/jhassan8/crunchyroll-tizen/assets/68787027/24c26235-ac84-474d-9481-75bb9a9fed57

Funciona perfecto todo pero me gustaba más la manera en que se veía el cuadro de selección antes sin esa especie de luminosidad  antes se veía más minimalista y moderno  asi:

Del resto la app es excelente.


Fails if there's no config in ~/.kube

I have 3 different contexts, all set in KUBECONFIG.
kube-prompt fails when I try to get a certain pod or service
>>> get pods panic: stat /Users/tarekmehrez/.kube/config: no such file or directory

goroutine 36 [running]:
github.com/c-bata/kube-prompt/kube.NewClient(0x0)
	/Users/a14737/go/src/github.com/c-bata/kube-prompt/kube/client.go:29 +0x140
github.com/c-bata/kube-prompt/kube.getClient(0x0)
	/Users/a14737/go/src/github.com/c-bata/kube-prompt/kube/client.go:14 +0x2e
github.com/c-bata/kube-prompt/kube.fetchPods()
	/Users/a14737/go/src/github.com/c-bata/kube-prompt/kube/resource.go:177 +0x72
created by github.com/c-bata/kube-prompt/kube.getPodSuggestions
	/Users/a14737/go/src/github.com/c-bata/kube-prompt/kube/resource.go:183 +0x39

Is there a way that this might work just by checking my current context?

Same as #10.


Positioning dialog elements inside iframe

Working with libraries such as Jquery UI Dialogs or SweetAlert, centering dialogs inside the iframe is a big issue since absolute positioning does not work.
@davidjbradshaw You mentioned that to work around this issue you need to write a bunch of JS and this is pretty much true in my experience. https://github.com/davidjbradshaw/iframe-resizer/issues/83#issuecomment-52031521
Facebook helps you deal with these issues with a positioning API you can call to get the scroll position inside the iframe relative to the parent when building canvas apps (apps living inside an iframe on facebook.com). https://developers.facebook.com/docs/reference/javascript/FB.Canvas.getPageInfo
I was wondering if a positioning API would be feasible for iframe-resizer. If I can get the offset from the the parent frame and the height of the child iframe, then it should be pretty straightforward to position things in the iframe.
Thanks for your consideration and great work on iframe-resizer.

Interesting idea, should be pretty simple to implement the same API. I'll have a look next time I have some free time, or happy to take a pull request if you want to do it.

That said I still think your better off having SweetAlert in the parentPage and then sending the content to it via parentIFrame.sendMessage(). This is simpler now than when I wrote the comment in #83.

Thanks for the quick answer David. I am using iframe-resizer so that anybody can add an iframe widget to their website. I don't own the parent iframe (other than asking users to add a snippet of code to their page). Otherwise your solution would have worked. I will check if it would be complicated for me to submit a pull request. I'm not such a great JS developer so we'll see!

Well it looks like @joschi127 might have solved the problem already! https://github.com/joschi127/iframe-scroll-position
I will take a look at it tomorrow and close the ticket if it does the job.

Interesting, not seen that before. It was written for v2. Simpler to do that in v3, as it includes posting messages from the parent to the iFrame. It could also be simplified by using initCallback, instead of the jQuery search on the iFrame.
I'm thinking the best solution would be to have a method on the parentIFrame object that when you give it a callback function, it tells the parent page to start sending position info until you tell it to stop.

Anyone interested in implementing something like iframe-scroll-position but without the jQuery dependency, here's what I came up with:
In the parent window:
ready(function () {   var iframe = document.getElementById("partialDashboard");       var sendScrollPosition = function () {           var data = {             top: window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0,             iframeTop: iframe.offsetTop,           };           iframe.contentWindow.postMessage("parentScrollPosition:" + JSON.stringify(data), "*");       };       iframe.addEventListener('load', sendScrollPosition);       window.addEventListener('scroll', function() {         sendScrollPosition();       }); });
In the iFrame
if (window.parent) {
  window.addEventListener('message', (e) => {
    if (e.data && typeof e.data === 'string' && e.data.indexOf('parentScrollPosition:') === 0) {
      const dataString = e.data.substr((String('parentScrollPosition:')).length);
      const data = JSON.parse(dataString);
      if (data) {
        window.topOffset = data.top - data.iframeTop;
      }
    }
  }, false);
}

I'm using this in a React.js app loaded in an iFrame. I'm using it to calculate the offset for a modal launched using react-portal. Hacky but it works fine for me for the moment.
Probably worth adding a debounce function around the scroll event and as davidjbradshaw said it would be better to build something where code from within an iFrame 'requested' the current scroll position rather than sending a message constantly.

I had a modal opening inside the child. Since the iframe takes up the entire size, the modal didn't show in the center of the parent viewport. So I came up with this solution.
if ('parentIFrame' in window) {
  const modalScrollYPos = modalRef.current.getBoundingClientRect().top
  window.parentIFrame.scrollTo(0, modalScrollYPos)
}


VPN addon for v2

Details
Request that the VPN addon (That was there in v1.5.5) be added in v2 as well
Anything else you would like to add:
The add-ons were a great functionality that was included in v1.5.1
Would really appreciate it if it could be made available in the latest version as well.

Taking the add-ons out was a very intentional decision and I currently have no plans to reinstate them. For example, to return the VPN add-on functionality it is just a matter of adding a 'gluetun` container to the pod: https://github.com/bjw-s/home-ops/blob/45316aa03a93ac4e85c8155d36b9c143ad1e1465/kubernetes/cluster-0/apps/downloads/qbittorrent/app/helmrelease.yaml#L57


Inline highlighting does not work with simple example class

I found that inline highlighting works really well in most practical use cases, but when I tried it with one of your examples, it didn't work:
public class ProfilerTest {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder();
        sb.append(new char[1_000_000]);

        do {
            sb.append(12345);
            sb.delete(0, 5);
        } while (Thread.currentThread().isAlive());

        System.out.println(sb);
    }
}

The methods show up in regular green

Here's the output of -XX:+PrintCompilation -XX:+PrintInlining:
2162  267 %     3       ProfilerTest::main @ 17 (49 bytes)   made not entrant
                              @ 21   java.lang.StringBuilder::append (8 bytes)   already compiled into a big method
                              @ 28   java.lang.StringBuilder::delete (9 bytes)   inline (hot)
                                @ 3   java.lang.AbstractStringBuilder::delete (46 bytes)   inline (hot)
                                  @ 15   java.lang.AbstractStringBuilder::checkRangeSIOOBE (60 bytes)   inline (hot)
                                  @ 33   java.lang.AbstractStringBuilder::shift (37 bytes)   inline (hot)
                                    @ 33   java.lang.System::arraycopy (0 bytes)   (intrinsic)

In the current implementation, JIT frame types are shown only for the topmost Java frames.
The topmost frame here is a runtime stub jbyte_disjoint_arraycopy, which is neither interpreted nor JIT-compiled.
However, it turns out, this particular situation is easy to fix - I've just committed the change that shows inlined frames, if the topmost frame is a runtime stub (like arraycopy, itable stub, etc.)

That's how it looks now:

Awesome, thank you!


URL not showing in FVTT Add-ons Listing

The module installs but the URL is not displaying in the FVTT Add-ons Listing page.
Anyone have any ideas?

Well...it just started working. So, I guess I fixed it?


migrations: Fix Python-looped SQL in 0376; don’t crash if no user found.

Django compiles this to the (single) SQL query
UPDATE "zerver_realmemoji"
SET "author_id" = (
    SELECT U0."id" FROM "zerver_userprofile" U0
    WHERE (
        U0."is_active"
        AND U0."realm_id" = ("zerver_realmemoji"."realm_id")
        AND U0."role" = 100
    )
    ORDER BY U0."id" ASC LIMIT 1
)
WHERE "zerver_realmemoji"."author_id" IS NULL;

Fixes this crash: https://chat.zulip.org/#narrow/stream/31-production-help/topic/upgrade-zulip.204.2Ex.20-.3E.205.2E7/near/1469760

I wonder if we want to change the owner to be the first user ID in the organization regardless of is_active for cases where this would have crashed -- the point of the migration is to ensure the invariant that .author is never null, and just doing nothing for RealmEmoji rows in organizations where all the users are deactivated doesn't achieve that.
(I suppose it's possible the realm in question has no users at all; but that's perhaps a different situation?)

If we intended to establish that invariant, why is author still marked nullable?
https://github.com/zulip/zulip/blob/a5ec77bc45782d3cc6c93dff2ad3219f24466ccb/zerver/models.py#L1070-L1076

I think we just didn't make a final determination that we eliminated all instances where this might end up being None. I imagine we'd want to stick to making that happen, so in that case using is_active=False users if needed for the author would seem right.
Do we consider a realm with no users at all valid and want to handle that case in the migration? I think we always create a user when creating a realm through ways expected to be used by server admins - manage.py create_realm is probably the lowest level one, and it requires specifying initial user details. Also not sure how emojis would make their into such a realm - the most reasonable scenario i can imagine is if an old organization has emojis with author=None and later ended up deleting all UserProfiles?

As a point of reference, imports (for example, from Gitter) can leave realms with no owners, which is one possible way this can still be null.

We could create a system bot in the realm to set as author of last resort, but it doesn't seem like a great idea either :neutral_face:

Do we consider a realm with no users at all valid and want to handle that case in the migration?

No, we intentionally designed the manage.py create_realm code path to avoid that possibility. Of course, someone can manually delete all the users in the database, but if they do that, they might as well just delete the realm too, so I don't think there's any reason to need to support that case.

As a point of reference, imports (for example, from Gitter) can leave realms with no owners, which is one possible way this can still be null.

We should consider changing the Gitter import tool to accept a command-line argument for who the owner should be, to eliminate that corner case.

If we intended to establish that invariant, why is author still marked nullable?

I'm not sure, but I don't see what purpose this migration would achieve if we weren't going to achieve that goal. I suppose probably we failed to properly close data import code paths that could result in one.
It's possible we should merge this migration as-is and open an issue for a new one that repeats this code with whatever modifications including to data import tools that would end with the column not being nullable? We do know that organizations with no active owners will crash on this migration, so won't have already applied it. I note that Zulip Cloud has this migration applied and has RealmEmoji with author=None, probably from data imports after this migration was applied.

I note that Zulip Cloud has this migration applied and has RealmEmoji with author=None, probably from data imports after this migration was applied.

Hmm, yeah. This reminded me of https://github.com/zulip/zulip/pull/21103 which we merged to attempt to plug the gap of RealmEmoji without an author getting imported, but that code will still produce None in the corner case where there are no org owners - so we just need to eliminate that possibility and then re-do the author-setting migration

Let's plan to backport this to both the 5.x and 6.x branches, though we're probably never going to do a 5.8 branch.

Backported to 6.x as a45023a0c8, and to 5.x as cb8ba561d9.

@mateuszmandera can you open follow-up issues for the outstanding items discussed here?

@mateuszmandera can you open follow-up issues for the outstanding items discussed here?

Did this get follow-ups made?


Panic when simd and parallel features are enabled together

When I enable simd-nightly or simd-stable with parallel I get a panic when multiple objects collide. However this only happens when the objects have different collision shapes.
The error thrown is:
thread '<unnamed>' panicked at 'internal error: entered unreachable code',
C:\Users\name.cargo\registry\src\github.com-1ecc6299db9ec823\rapier2d-0.1.3\src\dynamics\solver\position_constraint.rs:55:45
Here is the repo for the full code:
https://github.com/mthom26/bevy-rapier-panic

Thank you for this bug report. Looks like a problem on the parallel position constraint solver, likely because one constraint failed to be initialized correctly.


[Feature] [API] GET commit content

this api does not exist on Github and its needed for web clients to view commit content (they usuale dont have git installed :wink: )

@guillep2k I'll take this too (hope it can go into v1.12.0 ) ...
UseCase: https://gitea.com/gitnex/GitNex/issues/335

similar output format as #10933 introduce
api endpint proposal: GET /repos/:owner/:repo/commits/:ref/files

depending on how #11187 make progress I'll wait to start implementing it or waiting for this pull ...

no stale #11187 is kind a stale at the moment :/

de-assigne me so others can pic up if they have more time than me at the moment
throu It wont be forgotten by me ;)


spec/cycles/Structural_cycles: optional field bug?

spec/cycles/Structural_cycles
Arguably the following falls under the category of

It is allowed for a value to define an infinite set of possibilities without evaluating to an infinite structure itself.

Foo: {
  foo?: Foo
  bar: string
}

foo: Foo & {
  foo:{
    bar: "barNested"
  }
  bar: "barParent"
}

but in the current version of cue it doesn't return (probably eventually a stack overflow error but killed it after like 5 minutes).
$ cue eval optional_structural_cycle.cue
# waiting
# waiting
# waiting
^C

I could also see this fall under the category of an infinite cycle so could use some clarity around if it's a bug with the evaluation or if it just need some clarity in the doc and maybe make sure it's detected in the cycle check that will eventually be rolled https://github.com/cuelang/cue/issues/29

This feature is relevant to a little testing package I'm working on refining, if supported it would allow me to infinitely nest describe scopes https://gist.github.com/rudolph9/eccc978e71fd9c32b0ae182ce6854c16

You might try with the latest master. Marcel made some updates that I think might be relevant.
Friedrich Nietzsche – "Freedom is the will to be responsible to ourselves."
On Sat, Oct 5 2019 at 1:31 PM, <<EMAIL_ADDRESS>> wrote:

This feature is relevant to a little testing package I'm working on
refining, if supported it would allow me to infinitely nest describe
scopes https://gist.github.com/rudolph9/eccc978e71fd9c32b0ae182ce6854c16
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (
https://github.com/cuelang/cue/issues/145?email_source=notifications&email_token=AAAFMONGKB3LDUWRTAHCUXDQNDTSFA5CNFSM4I5Y7IF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAN2BTA#issuecomment-538681548
) , or mute the thread (
https://github.com/notifications/unsubscribe-auth/AAAFMONO6LM26LDKWTBEWOTQNDTSFANCNFSM4I5Y7IFQ
).

I tested this does not work with the new version. This is indeed another case. The current implementation explicitly tests for disjunctions that allow such infinite structure. But optional fields implicitly such a disjunction. And as @rudolph9 correctly notes, the spec allows for such cases.
Note that none of this is related to evaluation, but merely to printing. The engine is happy to compute on infinite structures. It is just the representation of these infinite structures that is causing the trouble.

This issue has been migrated to https://github.com/cue-lang/cue/issues/145.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


add html custom prop to smallImage  tag

Can I know how to add attribute property="image" to generated <img> tag within ReactImageMagnify
Reference: https://developers.google.com/search/docs/data-types/product

i'd like to do this too. but would like to add a data- attribute.


Only migrate mirrors containing commits in migration v276

Add more conditions to avoid possible migration broken.

🚀
🥇

Share my option again here: I do not think adding RemoteAddress is the right approach, especially it is a patch for the audit
Why it is not ideal? The definition of RemoteAddress is unclear. In git config, the URL could have username/password, but when storing it into database, it loses the credentials. Then RemoteAddress is not really useful for daily usage.
Then, does it really help  the audit? I do not think so. One key discussion for the audit is: how to record necessary fields correctly. The root problem is that design of the audit system is not flexible, it doesn't have the ability to record changes which are not in database. Adding such "RemoteAddress" only bypasses the audit problem for the mirrors, but it doesn't resolve the problem fundamentally, I can guess and imagine there are/will be still many cases that the audit system doesn't support, it's not practicable to keeping add "FooAddress" / "BarAddress" to variable table in the future.
I would suggest to make the audit system flexible, and revert the "RemoteAddress" related changes until there is a clear design and usage.

Why it is not ideal? The definition of RemoteAddress is unclear.

It's not unclear, we already present that informationen in the API.

Then RemoteAddress is not really useful for daily usage.

Without that field you have no performant way to create a "mirror overview" page for the admin dashboard. Could list constant failures and so on. While the source was the audit PR, it's usage is not limited to it. As shown in the changes, the UI uses it.

it's not practicable to keep adding "FooAddress" / "BarAddress" to various tables in the future.

You don't have add every info needed to the model. If only the audit system needs an information, we can simply create an audit type "inheriting" from the model.

Why it is not ideal? The definition of RemoteAddress is unclear.

It's not unclear, we already present that informationen in the API.

Unfortunately, the API design was unclear already. "Create" could take the user&password from RemoteAddress, but the RemoteAddress of "List/Get" doesn't have them. I agree that the API shouldn't expose sensitive data, but I think such naming not a good design. I consider such "RemoteAddress" as a patch, because it is not a complete replacement for the "git config", maintaining username&password still requires git config.

Then RemoteAddress is not really useful for daily usage.

Without that field you have no performant way to create a "mirror overview" page for the admin dashboard. Could list constant failures and so on. While the source was the audit PR, it's usage is not limited to it. As shown in the changes, the UI uses it.

I agree, while it is just the benefit by the way for this change. With or without "RemoteAddress", there is no much difference at the moment, while I think the key point is how to make it complete (the prev topic) the audit field design (the next topic).

it's not practicable to keep adding "FooAddress" / "BarAddress" to various tables in the future.

You don't have add every info needed to the model. If only the audit system needs an information, we can simply create an audit type "inheriting" from the model.

Maybe I do not have the complete understanding for this problem. If you are sure it is good enough, I have no more question.

@puni9869 don't put such premature reviewed/wait-merge please. Unless trivial, each PR should wait at least 24h before merge. The original PR that introduced the broken migration was also one of these cases. It was merged too fast, my review also was a "rubber stamp" kind of review there.

I will keep in mind next time, No worries.


Error finishing textblob install

trying to install textblob  on a Mac, but the second step doesn't work
Any suggestions??
Also, not sure why pip got installed as pip3 ????
$ pip3 install -U textblob
Collecting textblob
Downloading textblob-0.15.1-py2.py3-none-any.whl (631kB)
100% |████████████████████████████████| 634kB 1.5MB/s
Collecting nltk>=3.1 (from textblob)
Downloading nltk-3.2.5.tar.gz (1.2MB)
100% |████████████████████████████████| 1.2MB 1.1MB/s
Collecting six (from nltk>=3.1->textblob)
Downloading six-1.11.0-py2.py3-none-any.whl
Installing collected packages: six, nltk, textblob
Running setup.py install for nltk ... done
Successfully installed nltk-3.2.5 six-1.11.0 textblob-0.15.1
$ python -m textblob.download_corpora
/usr/bin/python: No module named textblob

The python versions do not match - you installed to version 3 using pip3, but are trying to run with version 2 using python (not python3).
Try python3 -m textblob.download_corpora.

Much better!  I had to get some certificates installed, but it looks like it worked.
Opened an IDLE window and I can't seem to get the textblob to work, though
Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "copyright", "credits" or "license()" for more information.

WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable.
Visit http://www.python.org/download/mac/tcltk/ for current information.

text = 'this is a test string'
blob = TextBlob(text)
Traceback (most recent call last):
File "<pyshell#2>", line 1, in
blob = TextBlob(text)
NameError: name 'TextBlob' is not defined

Was this ever resolved? I get the same Textblob not defined error. But everything seems to be well installed. I am confused - Any help would be highly appreciated. Thanks

Im getting the sameTextblob not defined error
How come its working for other people???


Correct the behavior of hitting escape on autocomplete dropdown

Prior to this change, when hitting the escape key the suggestions in the autocomplete field would not dismiss the drop down or clear the text. This fix adjusts the behavior so that:

When the user hits the escape key the first time, it dismissed the drop down
When the user hits the escape key the second time, it clears the text from the input field

When the user hits the escape key the second time, it clears the text from the input field

I don't think this is expected behavior for a search input, this would be a surprising part of the user experience. Can we just have the second escape do nothing?

code looks fine as is, haha

When the user hits the escape key the second time, it clears the text from the input field

I don't think this is expected behavior for a search input, this would be a surprising part of the user experience. Can we just have the second escape do nothing?

I updated the code to not clear the text


snet: drop spath

The spath package assumes dataplane paths to be static.
With path types such as EPIC and Colibri, certain fields have to be modifiable on a per-packet basis however.
This PR removes spath and allows for stateful and more dynamic dataplane paths.
Implements https://github.com/scionproto/scion/issues/4129.

This change is

/rebase


Error when using MFA and Connect to Power Automate API for Failures

Hi Ivan
Thanks very much for the latest version. I was able to use it to get 5 failed flow runs for today so far, but when I extended to include all failures from 1st April, I got the error below. I was able to get all successful executions from the 1st (after restarting the tool):

System.NullReferenceException:
Object reference not set to an instance of an object.
Flow Execution History
- Fic.XTB.FlowExecutionHistory.Services.FlowClient.<>c__DisplayClass19_0.<GetFlowRunsFromCache>b__0(FlowRunsCache x)
- System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
- Fic.XTB.FlowExecutionHistory.Services.FlowClient.GetFlowRunsFromCache(String flowId, String status, DateTimeOffset dateFrom)
- Fic.XTB.FlowExecutionHistory.Services.FlowClient.GetFlowRuns(Flow flow, String status, DateTimeOffset dateFrom, DateTimeOffset dateTo, Int32 durationThreshold, Boolean includeTriggerOutputs)
- Fic.XTB.FlowExecutionHistory.FlowExecutionHistory.<>c__DisplayClass26_0.<GetFlowRuns>b__3(Flow f)
- System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
- System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
- System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)

XrmToolBox Version: 1.2023.12.68
FlowExecutionHistory Version: 1.2024.4.2
DB Version: 9.2.24032.186
Deployment: Online

It's hard to find the issue when I can't reproduce the bug :( I did some additional checks, can you please try with the latest version?

I really appreciate your efforts on this Ivan! I'll keep an eye on my emails. I now get:
Error Time: 2024-04-03 12:46:18.295
Newtonsoft.Json.JsonSerializationException
Error converting value "The request failed. Error code: 'InvalidApprovalCreateRequestAssignedToNoValidUsers'. Error Message: 'Required field 'assignedTo' contained no valid users in the organization'." to type 'Fic.XTB.FlowExecutionHistory.Models.DTOs.Operationoutputs'. Path 'operationOutputs', line 1, position 1354.
Newtonsoft.Json
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Fic.XTB.FlowExecutionHistory.Services.FlowClient.GetFlowRunErrorDetails(FlowRun flowRun)
at Fic.XTB.FlowExecutionHistory.Services.FlowClient.<>c__DisplayClass17_0.b__0(FlowRun fr)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )

This is a different error, seems like Microsoft changed the JSON response for the run errors. In one case operationOutputs property from JSON is an object with 2 properties and in another case, it's just a string.
Need to think about how to parse those kinds of responses.

Thanks for the update. Does that mean the errors will occur regardless of the authentication method?
Let me know when you'd like me to re-test.

Now you should get no error from the tool, but maybe some error messages for flow runs will now lack error details in the popup.

All working now! Many thanks again for the fixes.


Add the possibility of hiding the total amount in USD on the overview page

It would be a nice add if we could hide the dollar amount of our wallets with a click. Imagine having to perform some tasks in a coworking or any public space, with this implemented, there is no need to check our backs to make sure no one is looking at our wallets.
As reference I leave here a screenshot from the ledger live app. They use the "eye" top right icon to do it.


Updates to support s110 7.1.0 and uVision 5

Adds a Keil uVision 5 .uvprojx file, and also adds the call to sd_ble_enable() which is required in s110 7.x.x.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: osaether:x: knutaYou have signed the CLA already but the status is still pending? Let us recheck it.


Add proxy support to tile loader

Honor the system proxy settings for downloading tiles.

Test w/ Jade on El Capitan and works fine. Thanks.


Sum Reduction Process

Hi! Great work and thanks for sharing the code!
I have a little concern about the sum reduction process (i.e., the Sum_k in Appendix). My understanding is that the sum reduction operation is conducted based on convolution functions with carefully designed kernel weights. I wonder if this is considered in the total computation FLOPs of the whole model?

Thank you for your interest in our work - I am glad you liked it.
Regarding the FLOPs, I have computed the flops using analysis reported by XLA compiler on the computation graph. My code was based on the implementation of Nested Transformer:
https://github.com/google-research/nested-transformer/blob/main/libml/utils.py
Please also note, that we use Grouped convolution to implement the layer,  this means the overhead caused by the usage of convolution is relatively small.
Finally, the use of convolution may not be the most efficient way to implement QnA, and theoretically the flops should be smaller. More specifically, we need to use the Convolution implementation to support relative positional embedding, which are simply a bias term that is added to the softmax operand.

Yes, The FLOPS include the grouped convolutions.
And, I appreciate your comment on our work!
I will be closing the issue - feel free to re-open if necessary.


Add the boolean parameter 'Force' to DockerClient#disconnectFromNetwork and fix issue on exceptions being swalled

Add the boolean parameter 'Force' to DockerClient#disconnectFromNetwork at Docker Networks.
Refactored accordingly due to the introduction of the new parameter.
Fix issue at DockerClient#disconnectFromNetwork and DockerClient#connectToNetwork that led to an request error (HTTP 4xx, 5xx) to be swalled and no exception has been thrown.
This was happening since the request was using Response.class and JerseyInvocation#translate would just report the error via Response.class whenever this class is used to carry the response data. If a different class other then Response.class is given, then Jersey will thrown an exception.

Here's the JerseyInvocation#translate (jersey-client-2.22.2) code I mentioned above:
    private <T> T translate(final ClientResponse response, final RequestScope scope, final Class<T> responseType)
            throws ProcessingException {
        if (responseType == Response.class) {
            return responseType.cast(new InboundJaxrsResponse(response, scope));
        }

        if (response.getStatusInfo().getFamily() == Response.Status.Family.SUCCESSFUL) {
            try {
                return response.readEntity(responseType);
            } catch (final ProcessingException ex) {
                if (ex.getClass() == ProcessingException.class) {
                    throw new ResponseProcessingException(new InboundJaxrsResponse(response, scope), ex.getCause());
                }
                throw new ResponseProcessingException(new InboundJaxrsResponse(response, scope), ex);
            } catch (final WebApplicationException ex) {
                throw new ResponseProcessingException(new InboundJaxrsResponse(response, scope), ex);
            } catch (final Exception ex) {
                throw new ResponseProcessingException(new InboundJaxrsResponse(response, scope),
                        LocalizationMessages.UNEXPECTED_ERROR_RESPONSE_PROCESSING(), ex);
            }
        } else {
            throw convertToException(new InboundJaxrsResponse(response, scope));
        }
    }

Codecov Report

Merging #839 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #839      +/-   ##
============================================
+ Coverage     66.37%   66.39%   +0.01%
  Complexity      742      742
============================================
  Files           166      166
  Lines          3138     3139       +1
  Branches        357      357
============================================
+ Hits           2083     2084       +1
  Misses          898      898
  Partials        157      157

Thoughts on this PR?


Adding new distros and updating release date

LGTM

The right brand name would be OS X (until the new macOS comes :smile:). Also, are these supported in RC2 already @Petermarcu?
Because now we have a topic on this subject on the docs site too, so I'd like to keep up-to-date: https://dotnet.github.io/docs/getting-started/installing/system-reqs.html


WIP(DRAFT): Dynamic Node Groups Proposal

How to categorize this PR?

/area auto-scaling
/kind enhancement
What this PR does / why we need it:
Described in proposal
Which issue(s) this PR fixes:
Fixes #7857
Special notes for your reviewer:
Release note:

NONE

Thanks for the proposal.
While I understand the general problem I wonder why we not simply fix the logic shown here, i.e. err on the safe side and over-provision a bit instead of setting values to zero. This would not solve the case when a zone has issues, though. Then again, the greedy solution has multiple other issues of its own.

Vedran had suggested the greedy solution as a workload-friendly NodeGroup sizing mechanism that is also adaptive to zone capacity issues. Will discuss with him to see if it can be refined. We anyways  need to move to dynamic node group discovery since this current static --nodes doesn't handle the job. And it can be misleading if we do over-provisioning.
There are still some more pending changes to the proposal regarding MaxAvailability and MaxSurge.  So, to avoid disturbing you, you can review this later once this is finalized. (Can also setup a meeting to discuss if you like)

How does this relate to https://github.com/gardener/gardener/issues/8142?

How does this relate to #8142?

#8142 would probably be dropped. It doesn't handle backoff cases anyways. will confirm.

https://github.com/gardener/gardener/issues/8142 would probably be dropped. It doesn't handle backoff cases anyways. will confirm.

There are valid use cases for #8142 and it also makes the API quite clear. Today min, max, max-surge and max-unavailable per worker pool is not a good API design IMHO and #8142 goes in the right direction and addresses a subset of use cases and therefore needs more work and discussion.

The lax strategy is abandoned and now replaced by the adaptive strategy. MaxUnavailable and MaxSurge is also now considered for the adaptive sizing.


Add bootstrapper mainnet P-OPS

Adding Mainnet bootstrapper

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

Project coverage is 45.30%. Comparing base (2469e7a) to head (85a26a2).
Report is 193 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3749      +/-   ##
==========================================
+ Coverage   44.83%   45.30%   +0.46%
==========================================
  Files         265      281      +16
  Lines       14620    16059    +1439
==========================================
+ Hits         6555     7275     +720
- Misses       7313     7940     +627
- Partials      752      844      +92

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


Change of maintainer

👋 @evan I only belatedly saw 991b6cff5e4615d289ac13d07831323ab7327137. Are you open to someone else taking on maintenance of this project?

Sure, if anybody still cares!

I do! I've used this project a lot over the years and would be happy to maintain it, if you are.


Thread warning on iOS

Hi there, when using the plugin on iOS, each state/view transition produces
2016-04-17 14:53:39.473 zmNinja[5560:3283442] THREAD WARNING: ['NativePageTransitions'] took '59.498779' ms. Plugin should use a background thread.

Any suggestions on how to avoid this? Its probably benign but I'd love to know if there is a way around it

It is just a warning. If you want to ask more about it please ask in the cordova plugin repo => https://github.com/Telerik-Verified-Plugins/NativePageTransitions

Thanks - for future reference, what is the difference between the telerik plugin and your repo ? Is yours an angular wrapper around it ? I'd like to make sure I know the scope of where your plugin ends so  I can post issues to the right  repo in future. thx

You got it right.
On Apr 17, 2016 10:44 PM, "Pliable Pixels"<EMAIL_ADDRESS>wrote:

Thanks - for future reference, what is the difference between the telerik
plugin and your repo ? Is yours an angular wrapper around it ? I'd like to
make sure I know the scope of where your plugin ends so I can post issues
to the right repo in future. thx
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/shprink/ionic-native-transitions/issues/93#issuecomment-211109909


String normalization

see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize
AFAIK this is in the new protocol, not in production yet

It is not clear  at all if we need this or not, if it's hit as an issue we can work on it.


zassert_equal fails for float comparisons on native_posix

Describe the bug
Below code snippet fails if run on native_posix:
float f = 4.56F;
zassert_equal(f, 4.56F); /* evaluates to false */

To Reproduce
Steps to reproduce the behavior:

Copy above snippet into a test, e.g. tests/ztest/base/src/main.c
Run west build -b native_posix tests/ztest/base -t run
See that the test fails

Expected behavior
The variable and the floating constant should be equal.
Impact
Hard to reproduce and unexpected bugs (in unit tests or even somewhere else).
Logs and console output
GCC options:
$ ninja -v
[1/1] : && ccache /usr/bin/gcc  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr.elf  zephyr/CMakeFiles/offsets.dir/./arch/posix/core/offsets/offsets.c.obj  -fuse-ld=bfd  -T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/home/martin/XXX/zephyr/build/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/arch/posix/core/libarch__posix__core.a  zephyr/soc/posix/inf_clock/libsoc__posix__inf_clock.a  zephyr/boards/posix/native_posix/libboards__posix__native_posix.a  zephyr/subsys/testsuite/ztest/libsubsys__testsuite__ztest.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/timer/libdrivers__timer.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L/home/martin/XXX/zephyr/build/zephyr  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -Wl,-no-pie  -m32  -ldl  -pthread  -lm && cd /home/martin/XXX/zephyr/build/zephyr && /usr/bin/cmake -E true && cd /home/martin/XXX/zephyr/build/zephyr && /usr/bin/cmake -E copy zephyr_pre0.map zephyr.map && /usr/bin/readelf -e zephyr.elf > zephyr.stat && /usr/bin/cmake -E copy zephyr.elf zephyr.exe

Environment:

OS: Manjaro Linux on x86_64 (Intel Core i5 Gen 8)
Toolchain: gcc-Version 12.2.1 20230201 (GCC)
Commit SHA: b40c052289ee46406e73a08974d903d9f10b0693

Additional context
After investigation by @keith-packard the old 8087 FPU seems to be the root cause of the issue. Compiler flags -msse -mfpmath=sse or -std=gnu11 fix the issue.
We need to decide which compiler flags we should use for native_posix in Zephyr.
Related Discord discussion:
https://discord.com/channels/720317445772017664/883404732423606303/1138773080198627408
Related GCC bug / discussion:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875
CC @aescolar @stephanosio @nashif

Given the GCC discussion linked above, it seems clear that this wouldn't be considered a bug and so is unlikely to get changed.
If possible, switching to -msse -mfpmath=sse would both fix this issue as well as offer true 32/64 bit float computations so that results would match the usual floating point formats used in every other machine.

@keith-packard @martinjaeger Thanks for the very detailed analysis :)
I just posted a PR with one the fixes proposed here (I lean much more towards the switch for enabling the sse float, than towards switching the language mode)

@keith-packard @martinjaeger Thanks for the very detailed analysis :) I just posted a PR with one of the fixes proposed here (I lean much more towards the switch for enabling the sse float, than towards switching the language mode)

I agree -- it makes the native_posix port work more like other environments and improves performance. Probably need the TCS to read on that?

Probably need the TCS to read on that?

You think any of this will be controversial?

Probably need the TCS to read on that?

@keith-packard You think any of this will be controversial?

It changes the base platform requirements for the native_posix target so that it only works on targets with sse2 (see comment indicating that we need -msse2 instead of -msse). That's only been around since 2004 :-)

That's only been around since 2004 :-)

Given that the native boards are development/test targets, I think that is ok. If some developer finds it a problem, they can file an issue and is so we add a kconfig choice to disable this switch.


Minor fixes and features

Broken how? It only ever works if there's one sole server and the source is youtube. Nothing else provides duration.

It didn't even work under those circumstances, so I'd call it broken. :P Either way, it's of, at best, very limited use, and it's already commented out, so at this point you might as well just get rid of it entirely.

Well, don't have anywhere to work on it properly but I think the issue was with source changing functionality. Anyway, gone now.


a different port ?

Is there a way to change from port 3000 to a different port ?
Thanks

Yeah, just set the PORT environment variable:
PORT=8080 npm start


Add view option to display hex column header at top row and first column

I really wish it had an option to display a hex column header on the top row and first column.
Like this
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10
20
30
.
.
d0
e0
f0

And maybe a decimal option for the header too!
Thank you for a good app!

When you say "first column", do you mean something different than the column that appears when "Views > Line Numbers" is enabled?

Same thing but I prefer line numbers to display in hexadecimal.
The first row header should display 16 column headings from 00 to FF.
Something like this screenshot shown below:

Hexadecimal line numbers are implemented, but a bit hidden. If you click on the line numbers, they toggle between decimal and hexadecimal :)
Displaying an optional floating header row when the window is sized to a multiple of 16 bytes sounds like a nice feature.

That was not obvious.  Thanks for the tip!
Could some sub-menus be added?
View
  [ x ] Line Numbers
          [ x ] Hexadecimal
           [   ] Decimal

And the Hex or Dec checkmark state would be remembered even when Line Numbers is unchecked.

Would also appreciate this.

Experimented with this a little. Turned off the gradient in the line counts for this to look better together:

@kainjow Thank you!
I replaced the release build with a build made from the columns branch.