Firefox SingleDatePicker withPortal not usable

On Firefox the SingleDatePicker with the withPortal option triggers onFocusChange twice, once with { focused: true } and right afterwards { focused: false }. This makes the portal open and close in a matter of half a second, rendering the datepicker unusable.
import { SingleDatePicker } from 'react-dates';

export default ({ date, focused, onFocusChange, onDateChange }) => (
    <SingleDatePicker
      id="date_input"
      withPortal
      date={date}
      focused={focused}
      onDateChange={onDateChange}
      onFocusChange={onFocusChange}
      isOutsideRange={(day) => day.isAfter(moment())}
      displayFormat="DD.MM.YYYY"
    />
);

Reproduced on Firefox Developer Edition 53.0a2 and Firefox 51.0.1.

I'm having a similar issue, but with Chrome when force device to mobile. Besides the double firing of onFocus, I also see this error on init:
Uncaught (in promise) TypeError: Cannot read property 'getBoundingClientRect' of undefined
    at SingleDatePicker.responsivizePickerPosition (SingleDatePicker.js:443)
    at SingleDatePicker.componentDidMount (SingleDatePicker.js:258)
    at ReactCompositeComponent.js:264
    at measureLifeCyclePerf (ReactCompositeComponent.js:74)
    at ReactCompositeComponent.js:263
    at CallbackQueue.notifyAll (CallbackQueue.js:67)
    at ReactReconcileTransaction.close (ReactReconcileTransaction.js:81)
    at ReactReconcileTransaction.closeAll (Transaction.js:204)
    at ReactReconcileTransaction.perform (Transaction.js:151)
    at ReactUpdatesFlushTransaction.perform (Transaction.js:138)

But none of the problem happens on desktop view.

weird issue... i found that the overlay is shown on firefox if i hold down the left click button or just right click, but then i get the context menu

I having the same problem.. I set withPortal: false and withFullScreenPortal: true then I changed the closed button to have it working.. 😓

Same here, a fix would be awesome

Yeah, the same issue in Firefox here 😢

Does anyone have an idea how to fix this? Can we figure out together how to fix it and make a PR?

Let me look into it today!
On Mon, Apr 3, 2017, 12:46 PM Charles Pham<EMAIL_ADDRESS>wrote:

Does anyone have an idea how to fix this? Can we figure out together how
to fix it and make a PR?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/react-dates/issues/340#issuecomment-291252630,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUdtVECupttNM4-JRwLkgTvaGpSCZqlks5rsUyCgaJpZM4MHGIj
.

@majapw This also happens for the daterangepicker on firefox.

This should be fixed in v9.0.1!

@majapw thank you for your hard work and the quick turnaround. I really appreciate it!


removed template blog posts

👷 Deploy Preview for crafty-rero processing.

Name
Link

🔨 Latest commit
517501ec68e2f32f63d667353f1b36863d91b403

🔍 Latest deploy log
https://app.netlify.com/sites/crafty-rero/deploys/64fe1df48c128a0008ab23d8


Revert "Clarify js rp wrapper"

This reverts commit 5438d6bf2252e00d1f45b511df095f7f98e192c8.
if you need proof i took the liberty of webpacking it: https://s.gc.gy/discord-rich-presence-but-it-runs-in-a-browser.js

Will this work for games that are not whitelisted by Gamebridge, considering we are not adding any additional developers to the program at this time.

You know what, sure, that's fine. You're right. The link points to your npm package, which is what most people will care about. Anyone looking for straight, web-based js is gonna be a tad confused though.
I might ask that you add a caveat noting that the websocket implementation requires the user's application to be whitelisted? While the IPC implementation is good for anyone.

 👍


[solved] Q not PSD error with Gurobi 0.9?

The package Gurobi.jl seems to be not updated in accordance with the current release of the software Gurobi 9.0. As it has been announced on the official website Gurobi 9.0 is already capable of solving non-convex quadratic problems, however, when trying to use the latest version of the software to solve JuMP MIQCQP I receive the following message

Could you please have a look at this issue?
Please find attached the .pdf with the formulation of the model I used and .jl with the JuMP formulation of it in the enclosed archive Non-convex MIQCQP example.zip

You need to set the NonConvex parameter to 2. See: https://www.gurobi.com/documentation/9.0/refman/nonconvex.html
model = Model(with_optimizer(Gurobi.Optimizer, NonConvex = 2))

Given the number of complaints about this, it's a little annoying that Gurobi doesn't highlight this more in their documentation.

I've changed the title because there will undoubtedly be more people that come looking for this question.

Thank you very much for your help. I just tried that and I got the following

Do you know by any chance how to fix this?

You need to ensure you have the latest tagged version of Gurobi.jl (0.7.5).
Run
import Pkg
Pkg.update()
Pkg.status()

received this [2e9cd046] Gurobi v0.7.4
Tried even Pkg.update("Gurobi") but the version remains the same

You likely have another package holding you back.
What's the output of Pkg.status()?
In general, you should use Julia environments to avoid this: https://julialang.github.io/Pkg.jl/stable/environments/

julia> Pkg.status()
Status ~/.julia/environments/v1.2/Project.toml
[07493b3f] Alpine v0.1.3
[7c4d4715] AmplNLWriter v0.5.0
[c52e3926] Atom v0.11.3
[336ed68f] CSV v0.5.23
[9961bab8] Cbc v0.6.6
[a93c6f00] DataFrames v0.20.0
[31c24e10] Distributions v0.22.4
[f6369f11] ForwardDiff v0.10.9
[2e9cd046] Gurobi v0.7.4
[7073ff75] IJulia v1.21.0
[b6b21f68] Ipopt v0.6.1
[4076af6c] JuMP v0.20.1
[e5e0dc1b] Juno v0.7.2
[f4570300] MathOptFormat v0.4.0
[0db19996] NBInclude v2.1.0
[76087f3c] NLopt v0.5.1
[91a5bcdd] Plots v0.28.4
[d330b81b] PyPlot v2.8.2
[fdbf4ff8] XLSX v0.5.8
[9a3f8284] Random
[2f01184e] SparseArrays

Thank you,  I will use a separate project further

You can also try ] add<EMAIL_ADDRESS>and see what the error is.
In general, it isn't recommended to have this many packages in your global environment for precisely this reason. For every project you do, make a new environment with the minimal subset of packages you need.
For example, Alpine and AmplNLWriter are installed at versions which don't support JuMP 0.20. It gets pretty confusing if lots of packages are all fighting for version requirements.

Thank you very much for your help. I just solved it

In good news, the next version of Gurobi will have a more informative error message.

Closing. Fixed by new error message in Gurobi 9.0.2.


Remove the first column with the primary key

Problem
Currently when a new object is persisted, the first column always contains the primary key. With the new possibility to create indizes this is obsolete.
Solution

Don't add first column
Create index for the primary key when the persistence table is created

Binary search will be obsolete, since the primary key can be looked up in the hash table.
The ExcelObjectMapper.Find(string) method needs to be updated, which means that it first has to look for the index and then look up the primary key.
The ´ExcelObjectMapper.GetAll()´ method needs to be changed as well, since the data will be persisted in the first row.
The ´ExcelObjectMapper.Persist(IPersistable)´ will only persist the object data. Also it needs to update the index every time a new object is persisted.
The index for the primary key is created with the table creation (-> empty hash table).

Binary search will be obsolete, since the primary key can be looked up in the hash table.
The ExcelObjectMapper.Find(string) method needs to be updated, which means that it first has to look for the index and then look up the primary key.
The ´ExcelObjectMapper.GetAll()´ method needs to be changed as well, since the data will be persisted in the first row.
The ´ExcelObjectMapper.Persist(IPersistable)´ will only persist the object data. Also it needs to update the index every time a new object is persisted.
The index for the primary key is created with the table creation (-> empty hash table).

[ ] Add new test case for index creation
[ ] Add new test case for index update on persistence

[ ] Add new test case for index creation
[ ] Add new test case for index update on persistence


Questions about Car-latent code

Thanks for your great work.
The image patch corresponding to each car ID is cropped according to the GT 2D boundingbox, and it is encoded into a vector of 512 by resnet as car-latent-code. But the quality of the reconstruction has deteriorated（PSNR=28.9 -->26.02）, can you give me some advice.
Question:
The current id of the car generated rays may from different images, how do I choose the right patch to generate latent-code.
Can car-latent-code be trained on custom data by this way?

Hi, our car latent code is generated by CarNeRF(URL), please refer to their project page for more information.

Thanks for your reply, I have checked the information, but did not get any valuable information.
Since car-nerf is not open source, I want to train on a custom data set. Is it possible to generate latent-code through resnet with image patch? Can car-latent-code be trained on custom data by this way?
Thanks again.

Hi, CarStudio will be open sourced once is accepted. We are sorry but we cannot provide more details since these are separate projects.

Hey guys, as a kind reminder, the CarStudio paper is accepted by RAL and their code is available now at https://github.com/lty2226262/Car_studio


new CustomBackground callback

fixes #70
I wasn't sure whether the markdown documentation is autogenerated from the code comments, but, just in case, I included the documentation for the new callback both in the code and the markdown documentation.
Also, I moved the Impl_Frame_3D_ClearColor() (or CustomBackground) call to be just before RenderGui in CreateFramesAndRender(). Otherwise the Gui is delayed by 1 frame compared to the background.

Hello,
Thanks a lot for your contribution! It was perfect, so I merged it.

I wasn't sure whether the markdown documentation is autogenerated from the code comments

Yes, it is. See tools/doc/process_md_docs.py. It is called automatically if you invoke cmake with -DHELLOIMGUI_BUILD_DOCS=ON
Since it was worthy of a demo + documentation I added a demo: see https://github.com/pthom/hello_imgui/commit/a7afb9eab293cf09d4d9641fc7acd36b3a5186ab
Thanks again!


CentOS 6.8 - Error Compile tools/ups_bench/ - instantiated from here

[root@SERVER ups_bench]# make
CXX      main.o
In file included from /usr/local/include/boost/filesystem/path_traits.hpp:22,
from /usr/local/include/boost/filesystem/path.hpp:25,
from /usr/local/include/boost/filesystem.hpp:16,
from main.cc:24:
/usr/local/include/boost/type_traits/decay.hpp: In instantiation of ‘boost::decay<Configuration:: >’:
main.cc:1100:   instantiated from here
/usr/local/include/boost/type_traits/decay.hpp:35: error: ‘Configuration::’ is/uses anonymous type
/usr/local/include/boost/type_traits/decay.hpp:35: error:   trying to instantiate ‘template struct boost::remove_reference’
/usr/local/include/boost/type_traits/decay.hpp:37: error: ‘Configuration::’ is/uses anonymous type
/usr/local/include/boost/type_traits/decay.hpp:37: error:   trying to instantiate ‘template struct boost::remove_reference’
make: *** [main.o] Error 1
[root@SERVER ups_bench]#

Thanks, i will have a look over the weekend.

I pushed a fix to topic/2.2.1. Please let me know if it works for you.


I cant save anything

HI.
I just install and get to work Microbin.
i have a domain and "go" to microbin like this:
https://www.xxxxxxxx.com/microbin
i get there, and see all fine. But, when try to save something i cant. I dont know where to see some logs. But the webbrowser dont give me any error, also dont do nothing, just after i click "save" that button is "disable" (change the color)
The same thing happens when trying from local:

Im runninng in a manjaro Linux using Nginx as reverse proxy.
Thanks!
EDIT: this is my nginx relevant part:
location /microbin/ {
        proxy_pass          http://<IP_ADDRESS>:8082/;
        proxy_set_header      Host $host;
        proxy_set_header      X-Forwarded-Proto $scheme;
        proxy_set_header    X-Real-IP $remote_addr;
        proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
    }

This is relevant config from .env
export MICROBIN_PUBLIC_PATH=https://www.xxxxxxxxxx.com/microbin
Oh! i get where is the problem! but..... dont know how to solve.
When i make click over "save" i see this with the "developments tools"
404 https://www.xxxxxxxxx.com/upload NOT FOUND
and of course... because is not going to https://www.xxxxxxxxx.com/microbin/upload
i mean "/microbin/upload"
how i can fix this?
Thanks!!!

I found this:
https://github.com/szabodanika/microbin/issues/108
but i think that this dont work for me. I dont use nginx as docker........ so....... i dont know how to do that.....:-(

I create a subdomain and all fixed.


Integration of Keyboard Hotkey for Rotary Encoder Centering in GUI App

Description
I'm currently using a basic rotary encoder (Himalayan Solution Rotary Encoder) for gaming purposes. Living in a region with limited access to major online retailers like Amazon, this was the most viable option available to me. The encoder functions well for my needs, but there's a specific enhancement that could significantly improve its usability in gaming.
Problem
While gaming, I frequently need to re-center the wheel of the rotary encoder. Currently, this requires me to pause or exit the game, which is disruptive and inconvenient.
Proposed Solution
I propose the addition of a feature to the GUI application that accompanies the rotary encoder: the ability to assign a keyboard hotkey. This hotkey would allow users to re-center the wheel without needing to leave or pause the game.

I think such hotkey can be added.
But you can assign one wheel's button to do centering. It will work anytime, even without GUI running. Or you don't have any buttons on wheel?

I use a NodeMCU to setup a button box, H-Shifter and a Handbrake. I am only using the pro micro for the wheel, FFB and the pedals. I've managed to modify the code a bit to change the pin no 8 to act as a regular button and center the wheel using the button; Which was failry simple to do. Adding a Hotkey would cerrtainly be beneficial for people without alot of knowlege of coding but yeah thank you anyways.


Overflow on long-running TrackLocal

I'm finding that long-running video streams eventually panic with the following error due to the packetizer's timestamp attribute overflowing:
thread 'tokio-runtime-worker' panicked at 'attempt to add with overflow', registry/src/github.com-1ecc6299db9ec823/rtp-0.6.1/src/packetizer/mod.rs:138:9
which is this line of code in the packetizer:
self.timestamp += samples;

I wouldn't mind researching a better solution here if needed but am wondering if just using a Wrapping type to allow addition with overflow would allow rollover without breaking clients?

wrapping_add should be fine for self.timestamp.
Could you submit a PR to fix it?

Sure, will raise something in next couple days. Thanks for the prompt response.

@jaymell, actually the following commit https://github.com/webrtc-rs/rtp/commit/7b2b695ebebd312ea344218e6909199baa6c3e30#diff-25a6634263c1b1f6fc4697a04e2b9904ea4b042a89af59dc93ec1f5d44848a26 fix your change.


If device does not have magnetic sensor, show compass at end in utilities

Steps to reproduce

select a device without magnetic sensor
Go to utilities -> Compass

Expected behaviour
In case the device does not have magnetic sensor,

show the compass card at the end in utilities section
Grey out the card & on the top of card, show Your device does not have magentic sensor
else
The UI should be as is.

Actual behaviour
After this issue (https://github.com/project-travel-mate/Travel-Mate/issues/457), an alert is shown if compass is opened & the device does not have magnetic senso

can I take it?

@Swati4star is there a debug user I can use?

Is there any issue if you create a new user?


fix: enable server log to file

Since we no longer pass loggers between modules, we've lost the ability to easily redirect stdout/stderr to a logger. Now, any encountered loggers will be redirected to the log_file if specified.
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

Checklist:

[x] Commit Message Formatting: Commit titles and messages follow guidelines in the
conventional commits.
[x] Changelog updated with breaking and/or notable changes for the next minor release.
[ ] Documentation has been updated, if necessary.
[ ] Unit tests have been added, if necessary.
[x] Integration tests have been added, if necessary.

@alimaredia FYI

@mergifyio rebase


Superhero firefox extension is out of date

https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet/


segment_sf.py file missing

Hi, Xi.
Thank you for sharing your code!
I have only one multi-organ dataset on which I want to evaluate PIPO-FAN. And I have a few questions regarding it:

You said that if training on a single dataset using PIPO-FAN, one should use train_sf_partial.py. But it seems to have multiple datasets loaded. Could you tell me how to train it with one single dataset?
I have trained one model using train_concave0.py. Could you show me how to infer and calculate metrics (e.g. dice)? It seems that the file segment_sf.py you mentioned in README is missing.

Thank you for your time!

Sorry for the late reply. If you want to run the algorithm on one dataset, the dataset part should be modified.  line 614-626 should be removed and line 628 should be uncommented. The segment_sf and segment_sf_partial are the same. The dice_coefficient function is on line 105. For more details and quick reply, you can directly send me e-mail at<EMAIL_ADDRESS>Best,
Xi


Use a new CIC calculation algorithm

Libdragon has recently made a custom IPL3 part of the build process, and so it's likely that the current naïve hashing algorithm used by UNFLoader will no longer properly detect the CIC used by Libdragon ROMs, which will break 64Drive support. A new algorithm is in order, suggested by Rasky to do something similar to his g64drive tool:
https://github.com/rasky/g64drive/blob/7b8c066da54b96186a217933bfe3c81d1ef1653e/drive64/const.go#L142-L181

Rasky made PR #121, which has been merged :slightly_smiling_face:


Schema.TagField public access

Is there a good reason why Schema.TagField is private but Schema.TextField is public? I'd like to leverage the class directly to wrap both serialization and search functionality / syntax into a single class.

@gkorland - The constructors are still private. Can you open those up as well?


Module not found: Error: Can't resolve 'stream/web'

Reproduction
Module not found: Error: Can't resolve 'stream/web' in '/Users/alan/project/duapp/vscode/packages/du-i18n/node_modules/fetch-blob'

Steps to reproduce the behavior:

yarn
yarn start
start fail

Expected behavior

start success
Screenshots

Your Environment

software
version

node-fetch
3.0.0

node
v14.17.3

npm
6.14.13

Operating System
macos

Additional context


Jenkins 36770 JDL component for progress bars

Decription
Adds component based on svg and css animation. Has determinate and indeterminate state.
https://youtu.be/SbpbPC9qmVg Sample from storyBook
Not sure how to test this, could look into some unit test, but not sure.

Submitter checklist

[ ] Change is code complete and matches issue description
[ ] Apppropriate unit or acceptance tests or explaination to why this change has no tests

Reviewer checklist

[ ] Run the changes and verified the change matches the issue description
[ ] Reviewed the code
[ ] Verified that the appropriate tests have been written or valid explaination given

@reviewbybees

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@scherler these look fantastic - nice one 💯

Visually I think an empty bar for "indeterminate" is a bad choice, but the code looks good 🐝

@sophistifunk did you see the video?  That state has a 25% line which is animated

@sophistifunk did you see the video?  That state has a 25% line which is animated


Second; maybe remove your client id/secret from "Sources/TeslaAPI/Requests/AuthenticateRequest.swift". Not sure if this still works, have not tested it but better to obfuscate it. You can use Github Secrets for this.
 The client attaches these to the request, identifying to the backend as the official Tesla app.
I'm fairly sure this code no longer works, Tesla updated their authentication system some time ago.
Closing ticket, feel free to re-open if I missed something.

These are not my identifiers. These are the required identifiers for anyone to make the requests. It's a way for Tesla to make sure only their app can access their endpoints.


Various verbiage clean ups

Also called out cases where a lifecycle requirement matched an OpenSSF Best Practices Badge requirement at a higher tier, and removed items in the lifecycle requirements that were duplicative of those in the OpenSSF Best Practices Badge at the level in which is identified by the other requirements at that stage.

No longer explicitly calling out files like GOVERNANCE or CODE_OF_CONDUCT is what you mean by "duplicative of those in the OpenSSF Best Practices Badge" ?
All seems reasonable to me.

No longer explicitly calling out files like GOVERNANCE or CODE_OF_CONDUCT is what you mean by "duplicative of those in the OpenSSF Best Practices Badge" ?

Yep - that's exactly it.


feat(projects): update lookbook images from CDN

Current dependencies on/for this PR:

main

PR #31   👈

This comment was auto-generated by Graphite.


Try to get the performance harness running again...

Ongoing changes to the protobuf build system broke the previous performance harness scripts.
I've rebuilt the C++ perf harness by using a CMake build script to build libprotobuf and the C++ harness together.  This uses more of the protobuf build machinery than I'd like -- it could probably be simplified and made more robust.
This has some requirements:

A protobuf source checkout that has all the submodules
abseil and googletest libraries installed on the local system and findable by CMake (On Mac, brew install abseil googletest seems to suffice)

Not sure if you want to look at #605 at the same time, or if there's enough changed it's already effectively resolved.

I changed the handling for comparison checkouts -- it should avoid #605 now, though I still need to do more testing.


page load error net::ERR_CONNECTION_REFUSED

The following are the questions：
WARN egress service/handler.go:195 egress failed {"nodeID": "NE_CvudFrVEmKEV", "handlerID": "EGH_63aEZWkwDWx8", "clusterID": "", "egressID": "EG_fvdQADkLTBcW", "egressID": "EG_fvdQADkLTBcW", "request_type": "room_composite", "output_type": "stream", "error": "page load error net::ERR_CONNECTION_REFUSED"}
2023-06-27T06:17:23.970Z ERROR egress service/handler.go:216 failed to send update {"nodeID": "NE_CvudFrVEmKEV", "handlerID": "EGH_63aEZWkwDWx8", "clusterID": "", "egressID": "EG_fvdQADkLTBcW", "error": "no response from servers"}
What is the reason and how to solve it.

please file this issue to the Egress repo with detailed repro steps along with versions used. It's not possible understand how you got into this scenario.


InitializeTenancyByRequestData doesn't have check if tenancy is initialized already

Describe the bug
InitializeTenancyByRequestData should check if tenancy is initialized
Now all tests are failing
I do manual init in my test, but InitializeTenancyByRequestData still trying to init, and it can not, coz header is missing
Your setup

Laravel version: latest
stancl/tenancy version: latest
Storage driver: postgres

For now i'm doing this
`
InitializeTenancyByRequestData::$onFail = static function ($exception, $request, $next) {
if (tenancy()->initialized) {
return $next($request);
}
        return response()->json([
            'status' => 'error',
        ], 401);
    };

`

Why should it check that? The check is already here https://github.com/stancl/tenancy/blob/3.x/src/Tenancy.php#L29

@stancl ok, but why it's not working in test env?

Sounds like an issue with your setup.

Ok if its setup issue
i got this middleware enabled - Route::middleware(['auth:sanctum', InitializeTenancyByRequestData::class])
base testCase
namespace Tests;

use App\Models\Tenant;
use App\Models\User;
use Artisan;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;

abstract class TestCase extends BaseTestCase
{
    use CreatesApplication;

    protected string $APIUrl;

    protected static User $user;

    protected static Tenant $tenant;

    protected static bool $setUpHasRunOnce = false;

    public function setUp(): void
    {
        parent::setUp();

        $this->APIUrl = config('app.url');

        if (!static::$setUpHasRunOnce) {
            $this->flushTenancy();

            Artisan::call('migrate:fresh');

            $this->initializeTenancy();

            static::$setUpHasRunOnce = true;
        }

        if (!tenancy()->initialized) {
            tenancy()->initialize(static::$tenant);
        }
    }

    private function flushTenancy(): void
    {
        tenancy()->end();

        foreach (Tenant::cursor() as $item) {
            try {
                $item->delete();
            } catch (\Exception $e) {
                $connection = $item->getConnectionName();
                \DB::disconnect($connection);
                \DB::reconnect($connection);
                $item->delete();
            }
        }
    }

    private function initializeTenancy(): void
    {
        static::$user = factory(User::class)->create([
            'fio' => 'fio',
            'phone' => '886464647646',
            'password' => bcrypt('123123123'),
            'username' => '886464647646@user_test',
        ]);

        static::$tenant = Tenant::create([
            'user_id' => static::$user->id,
            'company' => 'user_test',
            'company_slug' => 'user_test',
        ]);

        static::$user->forceFill(['tenant_id' => static::$tenant->id])->save();

        tenancy()->initialize(static::$tenant);
    }
}

What do i miss? And what to show you more?


Keyboard shortcut sent twice

Issue Type: Bug
So, in my keybindings.json I have :
    {
        "key": "alt+i",
        "command": "workbench.action.focusPreviousGroup"
    }

This works correctly, in all files.
Now, when I'm writing Markdown, I want to use some special characters, which on my keyboard are mapped to Alt+i (produces î, Romanian programmers layout).
So, I decide to add a when clause, to ignore the above shortcut when editing markdown, since it would only take me to the preview pane anyway.
    {
        "key": "alt+i",
        "command": "workbench.action.focusPreviousGroup",
        "when": "editorLangId != 'markdown'"
    }

Expected result
I can type î (Alt+i) in a markdown file
Actual result
When I press Alt+i I get the î in the file, and then the focus switches to the previous group. So it is as if the command is parsed twice, once with the clause, once without.
Of course I have tried reloading the window and restarting VSCode, but to no avail.
VS Code version: Code 1.30.0 (c6e592b2b5770e40a98cb9c2715a8ef89aec3d74, 2018-12-11T22:22:15.793Z)
OS version: Darwin x64 18.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2900)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
16.00GB (0.18GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (16)

Extension
Author (truncated)
Version

path-intellisense
chr
1.4.2

vscode-dash
dee
2.0.0

githistory
don
0.4.4

vscode-html-css
ecm
0.2.0

auto-close-tag
for
0.5.6

language-cython
guy
0.0.5

MagicPython
mag
1.1.0

code-beautifier
mic
2.1.0

python
ms-
2018.12.1

sublime-keybindings
ms-
4.0.0

autodocstring
njp
0.2.3

vscode-css-peek
pra
2.2.0

vscode-icons
rob
8.0.0

vscode-multiclip
sle
0.1.5

markdown-all-in-one
yzh
1.8.0

html-css-class-completion
Zig
1.17.1

(9 theme extensions excluded)

:+1: Let's track in #41024
This is a confirmed upstream bug - https://bugs.chromium.org/p/chromium/issues/detail?id=887519

I'm sorry, I didn't thing to search specifically for that exact shortcut. Thanks for the reference!


different layouts for different keyboards

Is it possible to load different layout for different keyboards?
For example, when I use my laptop keyboard I want to use a configuration, and when I use my split keyboard, I want to use a different layout.

Yes, you can put multiple configurations in /etc/keyd/ with different IDs in the [ids] section. Each config will only apply to keyboards with a matching ID.

Ah man.. Didn't think of that. thank you @nsbgn

I don't think that's working, I don't know how the configurations are handled.

It is documented. It may be difficult, but I encourage you to read it.
https://github.com/rvaiya/keyd/blob/master/docs/keyd.scdoc#L78


dbeaver/pro#1249 Fix zip slip vulnerability

Please, check that

project Import from zip works
Oracle Wallet authentication works
load zip driver libraries works

verified


feat: Initialize $env/dynamic/* in the module declaration itself for development modes

This allows us to support Vite ecosystem tools such as Vitest and vite-node. No additional tests because behavior should not change at all.
Closes #6225.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

I'm not sure I understand the devModes stuff. Surely the only thing that matters is whether the command is build or serve? I can't see where it's being referenced in the code

I can't see why Cloudflare failed. Is it a flake on their part or something actually broken?

@acarl005 I'm curious if this branch fixes your vite-node problem. I'm getting a werid, cryptic error when trying to run scripts with vite-node on this branch, but it occurs after the script has executed (with the expected environment variables populated)!

I can't see why Cloudflare failed. Is it a flake on their part or something actually broken?

It failed on installing playwright of all things. Kicked off a new build

@tcc-sejohnson Yes! Thanks y'all!!


GLTF Textures not binding

Hello, I really like your work it's amazing !
I tested yesterday and had missing textures on my model, the console has no errors and I correctly added "extras" with "resourceLocation" in each "images"/"buffer".
Another question, how can I use an embedded .glb without setting this extras parameters and having the textures binded in game ?
Thank you

Did you have properly setup "extras" properties like "baseColorTexture", "normalTexture"... in the materials?
https://github.com/TimLee9024/MCglTF-Example
It will not use default material properties provided by glTF spec, because of the shader pack's special texture packing.
For example BSL's SEUS: "baseColorTexture" as albedo map, "normalTexture" as DirectX normal map, "specularTexture" as (R)glossiness/(G)metallic/(B)emissive stregth map
https://github.com/TheDuckCow/MCprep/issues/78
As for .glb, you won't need to setup those extras properties. The embedded resources like images and buffers will be load from uri as usual.
But anyway, I am still dealing with some compatibilty issues with ShaderMod by Optifine. I really should finish documentation before I publish source code and release on curseforge. I am sorry about that...

Ok thank you very much for your answer.
I think I will use your library to make a new version of my gun mod if I am allowed to.
The only thing I will need, If I may give a suggestion is a possibility to have transitions betweens animations with a sort of an interpolation between the last keyframe of an anim and the first keyframe of a new one.
So in general, have a better accessibility of the AnimatedModel object
Greets
Protoxy

And I have this error when using a .glb
Export parameters:

Error:
[23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: java.lang.IllegalArgumentException: ByteBuffer is not direct [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at org.lwjgl.BufferChecks.checkDirect(BufferChecks.java:115) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at org.lwjgl.opengl.GL15.glBufferData(GL15.java:141) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.timlee9024.mcgltf.RenderedGltfModel.bindArrayBufferViewModel(RenderedGltfModel.java:1726) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.timlee9024.mcgltf.RenderedGltfModel.processMeshPrimitiveModel(RenderedGltfModel.java:559) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.timlee9024.mcgltf.RenderedGltfModel.processNodeModel(RenderedGltfModel.java:194) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.timlee9024.mcgltf.RenderedGltfModel.lambda$new$5(RenderedGltfModel.java:110) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at java.util.ArrayList.forEach(ArrayList.java:1257) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1080) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.timlee9024.mcgltf.RenderedGltfModel.<init>(RenderedGltfModel.java:101) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.timlee9024.mcgltf.MCglTF$1.lambda$onResourceManagerReload$1(MCglTF.java:126) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at java.util.ArrayList.forEach(ArrayList.java:1257) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.timlee9024.mcgltf.MCglTF$1.onResourceManagerReload(MCglTF.java:121) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraftforge.client.resource.ISelectiveResourceReloadListener.onResourceManagerReload(ISelectiveResourceReloadListener.java:33) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.timlee9024.mcgltf.MCglTF.onEvent(MCglTF.java:114) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at java.lang.reflect.Method.invoke(Method.java:498) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:639) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at java.lang.reflect.Method.invoke(Method.java:498) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.eventbus.EventBus.post(EventBus.java:217) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at java.lang.reflect.Method.invoke(Method.java:498) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at com.google.common.eventbus.EventBus.post(EventBus.java:217) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:757) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraft.client.Minecraft.init(Minecraft.java:535) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraft.client.Minecraft.run(Minecraft.java:378) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraft.client.main.Main.main(Main.java:118) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at java.lang.reflect.Method.invoke(Method.java:498) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at java.lang.reflect.Method.invoke(Method.java:498) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraftforge.legacydev.Main.start(Main.java:86) [23:37:18] [Client thread/INFO] [STDERR]: [com.timlee9024.mcgltf.MCglTF$1:lambda$onResourceManagerReload$1:132]: 	at net.minecraftforge.legacydev.MainClient.main(MainClient.java:29)

Hope these answer your questions :)

Did you have mutiple animations in glTF? The example code provided is to play every animation in "animations" simultaneously, you can change to what you want.
If this is not the issue, maybe try out the FBX2glTF and convert the .gltf into .glb by VSCode's glTF tools extension.
This is the workflow I use, because some exporter seem to have werid problems on exported model. (Previously I use babylon.js glTF exporter for 3ds Max, but it cause game BSOD for unknown reason during early development)

It seem like jglTF allocate indirect ByteBuffer for binary chunk in RawBinaryGltfDataReaderV1 and RawBinaryGltfDataReaderV2.
I forget to testing .glb after recent change made by jglTF few month ago...

It sound like you want a procedural generated animation "C" which is created from last frame of "A" and first frame "B".
In theory you can done this in your Renderer class which have implements IGltfModelReceiver like pseudo code below:

protected List<Runnable> commands;

protected List<Animation> animations;

protected List<NodeModel[]> nodeThatNeedToApplyTransform;

protected List<float[]> transformLastFrameA;

protected List<float[]> transformFirstFrameB;

protected float transitionTime; //This field can be desrialize from "extras" inside everywhere of glTF

@Override
public void onModelLoaded(RenderedGltfModel renderedModel) {
	GltfModel gltfModel = renderedModel.gltfModel;
	animations = GltfAnimations.createModelAnimations(gltfModel.getAnimationModels());

	// Your Code Here: Find the required NodeModel for transformation from gltfModel.getSceneModels()

	Animation animA = animations.get(0); //Get Animation A
	animA.update(animA.getEndTimeS()); //Set gltfModel's current transformations from Animation A

	// Your Code Here: Find every current transform values needed from nodeThatNeedToApplyTransform and "copy" those float array into transformLastFrameA

	Animation animB = animations.get(1); //Get Animation B
	animB.update(0.0F); //Set gltfModel's current transformations from Animation B

	// Your Code Here: Find every current transform values needed from nodeThatNeedToApplyTransform and "copy" those float array into transformFirstFrameB
}

@Override
public void render() {
	// Your Code Here: Based on current time from tick and partial tick or some conditions,
	// set every NodeModel's transform in nodeThatNeedToApplyTransform with interpolated values from transformLastFrameA, transformLastFrameB, and transitionTime.

	commands.forEach((command) -> command.run()); //Run render command
}

Thank you very much, I keep you tuned :)

Hello, I have difficulties registering the shader and the model bakes at the init of mcgltf in 1.18.2
It seems the OpenGL contexts are not accessible at the mod init thread

This is most likely the answer:
https://gist.github.com/50ap5ud5/beebcf056cbdd3c922cc8993689428f4#shader-based-rendering

Minecraft has moved to OpenGL 3.2 Core, which brings with it shader-based rendering.

https://www.khronos.org/opengl/wiki/OpenGL_Context#Context_types

OpenGL version 3.0 introduced the idea of deprecating functionality. Many OpenGL functions were declared deprecated, which means that users should avoid using them because they may be removed from later API versions. OpenGL 3.1 removed almost all of the functionality deprecated in OpenGL 3.0. This includes the Fixed Function Pipeline.

For example, things like GL11.glPushAttrib, GL11.glPopAttrib(), GL11.glVertexPointer, glClientActiveTexture from early OpenGL version are no longer available. There will be have a lots of change made to MCglTF, in order to adapt into new rendering system of Minecraft since 1.17.
Currently, I have no schedule about to porting MCglTF into 1.18.2. (Maybe finish documentations in MCglTF wiki first? Or just waiting Forge and Optifine become more stable as they claim)
BTW: MCglTF is now available on curseforge https://www.curseforge.com/minecraft/mc-mods/mcgltf

The GLB files loads fine, but the textures (colorMap) still doesn't work (tested in 1.12.2)
.glb file (exported from Blender): akm.zip
https://streamable.com/yml9hd

Seem like you forgot to add "extras" properties in materials again.
akm_fix.zip

Ok, I thought it was not necessary, because you said:

As for .glb, you won't need to setup those extras properties. The embedded resources like images and buffers will be load from uri as usual.

It would be good to find a way to import .glb without this extra parameters, because it's a bit of pain to manually add those.
I don't see the point to register the textures as a resourceLocation, except maybe to reload them throught F3+T

Suggestion: for example the colorMap index will be automatically took from if there is no extras parameter set :)

No, There are two reasons:

glTF V1 and glTF V2 have a lot's of different in "materials". You can't not dircetly define those V2 properties into V1 material, it won't pass glTF V1 validator.
"Normal Map" and "Specular Map" from Optifine/Shader Pack should not directly map to any of glTF V2 PBR texture properties like "normalTexture" and "metallicRoughnessTexture". They have different diffinition in each RGBA channels.

Lastly, glTF seems to encoruge people to put those application-specific properites inside "extras".

Another suggestion is to be able to apply opengl matrix transformation (translation, rotation, scale) for specific NodeModel on the scene when the Runnable of the rendering is triggered, it would help me a lot.

Can you provide me more detailed reason for not using things like NodeModel#setTranslation, NodeModel#setMatrix?

Because moving the matrix of a node is permanent.
With GL calls, it is only moved during the render frame and goes back to the original transform.
Well, I can save the initial transform of each nodes and apply it before the rendering ..
Do you accept donation ? I want to donate you for your amazing work
If you want my discord (if you have access): Protoxy#9631

Because moving the matrix of a node is permanent.
With GL calls, it is only moved during the render frame and goes back to the original transform.

But when you want to control a bone(NodeModel) for a skinned mesh, this will not work.

Well, I can save the initial transform of each nodes and apply it before the rendering ..

AFAIK, this is much efficiant than have a OpenGL call. There are a lots of topics on internet talking about reuducing draw calls, that is why Vanilla using MatrixStack instead of glPushMatrix in 1.16.5. Beside, I have done this before in another Unity project when using with GLTFUtility.

Do you accept donation ? I want to donate you for your amazing work

Thank you for your kindness, but I cannot take your money.


fix login redirect recursive bug

run the hynt-web repo and then try to register a new account, it will do a recursive redirect. In order to use the app you have to logout and log back in.


K3s setup

This branch contains code that enables k3s to be installed with flux jobs.

I'm okay for now. I'm sure I've to come back to it soon.


Polymer test_custom_event_test fails on Safari 6.2.

 Issue by whesse
Originally opened as dart-lang/sdk#21425

The test pkg/polymer/test/custom_event_test fails on Safari 6.2 on macos 10.8.  Error is:
type: window_onerror
              value: window.onerror called:

                    http://<IP_ADDRESS>:51946/root_build/generated_tests/dart2js-safari-sdk/pkg_polymer_test_custom_event_test/test/custom_event_test.html_bootstrap.dart.js:1642:
                    TypeError: undefined is not a function (evaluating 't1.get$attributes(n)._html$_element.hasAttribute("template")')

 Comment by whesse

These are all examples of dart2js output being flaky when run on Safari 6.2 or 7.1.
The main bug for this is 21434.

Added Duplicate label.
Marked as being merged into dart-lang/sdk#21434.

 Comment by whesse

The test polymer/test/instance_attrs_test also fails.

 Comment by whesse

pkg/polymer/test/property_observe_test also fails.


missing script tools/data/remove_dup_utts.sh in swbd recipe

Describe the bug
tools/data/remove_dup_utts.sh is missing in swbd recipe
To Reproduce
Steps to reproduce the behavior:
cd examples/swbd/s0
./run.sh

Expected behavior
Script should run without error.
Screenshots
# Error from running script:
...
tools/subset_data_dir.sh: reducing #utt from 264333 to 4000
tools/subset_data_dir.sh: reducing #utt from 264333 to 260333
./run.sh: line 71: tools/data/remove_dup_utts.sh: No such file or directory
4458
data/eval2000/text, 4458, 4322
data/eval2000/wav.scp, 4322, 4322
fix_data_dir.sh: kept 4322 utterances out of 4458
fix_data_dir.sh: old files are kept in data/eval2000/.backup
cp: cannot stat 'data/train_nodup': No such file or directory
...

Desktop (please complete the following information):

Linux Ubuntu 20.04

Could you help to fix the problem?


Add support for new keychain items

Ran it to validate that it works. Here is an example item from the new keychains.json:
{
    "id": "keychain-1",
    "name": "Charm | Lil' Ava",
    "description": "This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",
    "rarity": {
      "id": "rarity_rare",
      "name": "High Grade",
      "color": "#4b69ff"
    },
    "market_hash_name": "Charm | Lil' Ava",
    "image": "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/missinglink/kc_missinglink_ava_png.png"
  }

@easton36 seems like keychainDefinitions is missing.

Sorry! Forgot to add that file to the commit

LGTM. Thank you very much!!!! ❤


Do you predict development of Direct3D backend for windows?

Hi
I think if filament has also direct3d backend, then it would be more powerful, because filament can be run on Hololens, too.
Do you have any prediction for it?

We are currently not planning on ordering a DirectX backend. Filament uses opengl and vulkan on Windows.


store: Tolerate removing a deployment whose metadata is missing

This fixes an issue where, if removing an unused subgraph gets interrupted after deleting the data but before deleting the subgraph from the primary, we would not be able to finish the removal.

This is not needed anymore since PR #2313 fixes it a different way.


Fix quoting of MySQL table name

Fixes #316

@llllllllll any comments here? else merging on pass

Other than the one comment this looks good. I can close the other pr I have open about encodings also.


Added C++ and Regex resources

Description
I have added new Links of C++ and Regex. They all are a good resources and I learnt most of the stuff from those websites. Also, Please let me know that is pirated content allowed? I have bunch of books pdf's on linux and other stuffs.

Please let me know that is pirated content allowed? I have bunch of books pdf's on linux and other stuffs.

Description
I have added new Links of C++ and Regex. They all are a good resources and I learnt most of the stuff from those websites. Also, Please let me know that is pirated content allowed? I have bunch of books pdf's on linux and other stuffs.

About the Pirated content, No
Let's keep the resources to things that are publicly available.
Thanks for contributing 🚀

Description
I have added new Links of C++ and Regex. They all are a good resources and I learnt most of the stuff from those websites. Also, Please let me know that is pirated content allowed? I have bunch of books pdf's on linux and other stuffs.

About the Pirated content, No Let's keep the resources to things that are publicly available.
Thanks for contributing 🚀

Alrighty. I am opening other PR which I had closed recently due to some error.


#168260308 updates the UI of the landing page

What does this PR do?
It adds updates to the landing page
Description of Task to be completed?
Title: Developer should be able to update UI for the landing page
Business/Developer: For Developer, It should be able to update the UI for the landing page
Acceptance Criteria
GIVEN A Developer
WHEN Developer updates the UI of the landing page
THEN User should have the UI of the landing page updated
DEV NOTES
Developer should be able to update the UI page of the landing page
DESIGN Notes
Simple and attractive UI
Any background context you want to provide?
I added updates to the UI folder
What are the relevant pivotal tracker stories?
Story Link

@lionelsenyana You don't need to include the acceptance criteria from the Pivotal Tracker board in the description and you should also include the screenshot

@lionelsenyana You shouldn't include the acceptance criteria from your Pivotal Tracker board and you should also add the screenshot


Don't default to process.env.AXIOM_*

In my opinion a library should be explicit and not default to these
automagically.
This also removes the TOC from the README as GitHub does that
automatically now and it's not that long.

I like this idea! nice one Arne!

Latest PR causes conflicts.

Yeah I'm not sure if we want this at all, seems like some customers appreciate the auto-env-loading.


Refine Qlib's code style reported by pylint and flake8

🌟 Feature Description

Motivation
Qlib has integrated pylint and flake8 to automatically detect the problem of coding style
But some errors are not fixed due to the limited bandwidth of the maintainers.
It will be very helpful if the community would like to contribute to refine them :)

Alternatives

Additional Notes

Hi @you-n-g
Can I take this issue?

Of course, we would greatly appreciate your help!

I'd like to help. Is it required for all py files?


Create new internal GC class

Pull out the GCEnv inner class of SimpleGarbageCollector into its own
class and call it GCRun.
Make SimpleGarbageCollector increment the current stats based on what
is returned by the GCRun class
Changes to GCEnv (now GCRun):
Make the stats private numbers to allow dropping of synchronized block.
Pass in ServerContext.
Create separate logger classes for each instance Level type
Make it return the stats gathered during that run

I made these improvements to help enable #2668.

All ITs are passing.


Update README.md

Description
updated the readme file and solved the issue asked
Type of Change
Documentation (works on updating the documentation)
Is this a breaking change?
No

Too complicated changes.


Notification on dismiss?

Hi. I've been testing your library and I think is perfect for my needs but I'm having troubles trying to figure out how can I get notified when the user close the view.
The presenting view needs to be portrait and if a photo is opened in fullscreen, then turned to landscape and then closed, the underlying layout gets all messed up (and never is restored since autorotation is disabled for that view). I'd like to be able to know when the photo viewer is going to close to force its parent view to change to portrait orientation.
Is it possible with the current implementation?. Any workaround for this? (other than clone the repo and adding a notification on dismissing)
Thank you

My fault. Missed referenceViewForPhotoWhenDismissingHandler. Sorry


Optimization

Things that take a lot of time

SearchUtilities.Find
Loading asset bundles
OWML logging
PlanetDestructionHandler

Potential improvements

[x] We should try caching root objects in SearchUtilities.
[x] We should not unload asset bundles/textures until we leave the solar system they're used for.

I think we can do this for literally all the caches except ones that have references to things that get destroyed on scene transitions.

[ ] We should add an option to not unload asset bundles/textures (faster loading times but will use more memory).
[ ] We should reimplement log levels as a setting and default it to only log errors.
[x] Create a mapping of bodies to their proxies so that we can disable them easier. Or, in their Initialize method patch it to destroy the proxy if the planet has been disabled, depending on when these things actually get set up (they are late initialized)

loading asset bundles can be improved by the addon authors themselves, via their own code loading a bundle in the background on the title screen, or via not using compression
loading times for other systems was also significantly cut down by not using RemoveProxy

Logging wasn't that big an issue, and never unloading bundles is yeah probably unneeded, creators can either optimize like john said or just set you to respawn in their system


Problem downloading Relation of type "MultiPolygon"

Contributing guidelines

[X] I understand the contributing guidelines

Documentation

[X] My problem is not addressed by the documentation or examples

Existing issues

[X] My problem does not appear in an existing issue

What operating system and Python version are you using?
Arch Linux
What OSMnx version are you using?
1.5.0
Environment packages and versions
.

How did you install OSMnx?
Pip
Problem description
While trunig to fetch:
https://www.openstreetmap.org/relation/6195356
This code:
ox.geocoder.geocode_to_gdf("R6195356", by_osmid=True)

Raises:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[102], line 1
----> 1 ox.geocoder.geocode_to_gdf("R6195356", by_osmid=True)

File ~/.virtualenvs/p311/lib/python3.11/site-packages/osmnx/geocoder.py:123, in geocode_to_gdf(query, which_result, by_osmid, buffer_dist)
    121 gdf = gpd.GeoDataFrame()
    122 for q, wr in zip(query, which_result):
--> 123     gdf = pd.concat([gdf, _geocode_query_to_gdf(q, wr, by_osmid)])
    125 # reset GeoDataFrame index and set its CRS
    126 gdf = gdf.reset_index(drop=True)

File ~/.virtualenvs/p311/lib/python3.11/site-packages/osmnx/geocoder.py:172, in _geocode_query_to_gdf(query, which_result, by_osmid)
    169 # choose the right result from the JSON response
    170 if not results:
    171     # if no results were returned, raise error
--> 172     raise ValueError(f"Nominatim geocoder returned 0 results for query {query!r}")
    174 elif by_osmid:
    175     # if searching by OSM ID, always take the first (ie, only) result
    176     result = results[0]

ValueError: Nominatim geocoder returned 0 results for query 'R6195356'

This overpass turbo does not return anything:
[out:json][timeout:25];
rel(6195356);
out;

But this does:
[out:json][timeout:25];
rel(6195356);
(._;>;);
out;

Complete minimal reproducible example
ox.geocoder.geocode_to_gdf("R6195356", by_osmid=True)

If you turn on ox.settings.log_console = True you can see exactly what server requests OSMnx is making. In your case, it's requesting https://nominatim.openstreetmap.org/lookup?format=json&polygon_geojson=1&osm_ids=R6195356 If you click the link, you can see that it indeed returns no results from Nominatim. So OSMnx is handling it correctly... this relation doesn't exist in Nominatim.
However, as you note this relation does exist on OpenStreetMap, so you may want to request a fix upstream---either at Nominatim or OpenStreetMap, depending on where exactly the data discontinuity is occurring.
For an example of a relation that is working/available, see https://nominatim.openstreetmap.org/lookup?format=json&polygon_geojson=1&osm_ids=R165475


Clean up namespaces generated by extract to code-behind gesture

You get a lot of namespaces when you use the extract to code-behind gesture:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using System.Net.Http;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Components.Forms;
using Microsoft.AspNetCore.Components.Routing;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.Web.Virtualization;
using Microsoft.JSInterop;
using BlazorApp53;
using BlazorApp53.Shared;

namespace BlazorApp53.Pages
{
    public partial class Counter
    {
        private int currentCount = 0;
        private void IncrementCount()
        {
            currentCount++;
        }
    }
}

Can we clean these up to only the required ones?

When I do this, I also get global:: aliases on most of the using declarations. We should remove them too, they're an implementation detail of the generated C# from the Razor compiler.


Relic stats mod support

Supports Relic Stats Mod by ForgottenArbiter/Quincunx
Steam Workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=2118491069
GitHub: https://github.com/ForgottenArbiter/StsRelicStats
Relics with stats:

Alchemist's Fire: Burning retained because falloff rate was reduced
Grimoire (relic): Amount healed
Metronome: Manifest reduced
Mind Glass: Damage dealt and number of times player gains ten clarities in a single combat

Feel free to comment on other useful stats from other existing relics.

@wang429 should this be closed in favor of #558 ?

Closing in favor of #561


Shorten the TOC label

I would shorten the "Azure landing zones for data management and analytics" to "Azure landing zones" because the docs already belong to the "data management and analytics" category.

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

ID: 4c297777-3d19-9c15-b14b-3492ed3c928b
Version Independent ID: 4973b799-c6bf-dae0-854d-c467631b4d1e
Content: Review your environment for Azure landing zones - Cloud Adoption Framework
Content Source: docs/scenarios/data-management/ready.md
Service: cloud-adoption-framework
Sub-service: scenario
GitHub Login: @mboswell
Microsoft Alias: mboswell

#please-close


Handle explicit CWD reference in project resolving

Fixes #531
Referencing the current working directory explicitly (pkl project resolve .) finds ./PklProject as the project file, which normalises back to PklProject (and then has null as a parent). This PR fixes that by applying the same strategy as when using no explicit directory at all.

That's a fair shout. Adjusted accordingly.


Support resourceFileName property in project configuration

A module can have various resource file name depends on requirements,  To support that, I created resourceFileName property in a project configuration
something like:
"resourceFileName": "./cstring.json",
If it's not defined, It will be used as a default name defined in the module itself.

ok. I'll handle it in the module itself


docs: Fix wording in the description of the color update method

I believe this section is explaining that update is updating the color, but not changing the color space, in contrast to mutate which will update both color and color space.

Yes, what you've proposed is probably less confusing.


bug(drag-drop): preview does not work in  IE11 Edge18

Reproduction
Github repro: https://github.com/Spaier/angular-cdk-drag-drop-in-table-ie11
drag and drop in

Html

      Column 1

      {{item}}

Ts
import { Component } from '@angular/core';

import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';

@Component({
  selector: 'my-app',
  templateUrl: './app.component.html',
  styleUrls: [ './app.component.scss' ]
})
export class AppComponent  {
  items = ['Item 1', 'Item 2', 'Item 3', 'Item 4']

  drop(event: CdkDragDrop<string[]>) {
    moveItemInArray(
      this.items,
      event.previousIndex,
      event.currentIndex);
  }
}

Expected Behavior
other template(s) moved to show where this template will be added

Actual Behavior
other template(s) aren't moved while cursor isn't released

Environment

Angular: 9.1.7
CDK/Material: 9.2.3
Browser(s): IE11, Edge <= 18
Operating System:  Windows

The issue seems to be that IE/Edge ignore the transform property on tr elements, which should be supported according to the spec.

Closing this issue because Angular is dropping support for IE11 in the upcoming version 13. We don't plan to fix any further IE11 bugs going forward.


Revisit handling of synchronous calls

Having both synchronous and asynchronous implementations of all the functions has become a pain to maintain. I've used node-fibers to 'my.wait_for' completion of all asynchronous events in order to provide a synchronous return value, but this means that the synchronous calls must be run within a fiber such that they can block (wait for the callback, but allow the other functions to run). To facilitate this, I'm considering bringing back the setup/run functions. The concern is this will cause some existing applications to break. Please file feedback on this issue if you have strong opinions.
Example of what will break:
var b = require('bonescript');

b.pinMode('P9_14', b.ANALOG_OUTPUT);
var value = b.analogRead('P9_36');
b.analogWrite('P9_14', value);

This simplest way to make this work synchronously with the new implementation is:
var b = require('bonescript');

function setup() {
    b.pinMode('P9_14', b.ANALOG_OUTPUT);
    var value = b.analogRead('P9_36');
    b.analogWrite('P9_14', value);
 }

The most desired way to approach this problem is to rewrite your code as asynchronous:
var b = require('bonescript');

b.pinMode('P9_14', b.ANALOG_OUTPUT, undefined, undefined, undefined, onPinMode);

function onPinMode() {
    b.analogRead('P9_36', onAnalogRead);
}

function onAnalogRead(x) {
    b.analogWrite('P9_14', x.value);
}

This has some slightly non-obvious performance advantages if you aren't familiar with node.js's asynchronous architecture. It also has the advantage of working over the RPC mechanism that allows you to run BoneScript within a web page and will be the primary method I will teach BoneScript from here on out.
To simplify writing this in the future I'll handle callbacks in other function argument positions in functions like b.pinMode(pin, mode, callback), rather than requiring all of the arguments. The last argument will always be a callback.
If this just seems unmanageable to you, please let me know!

This issue was moved to beagleboard/bonescript#19


Create de-CH.coffee

Added more dialect transalations.
Will keep working on it.

Can you also sign CLA here: https://codecombat.com/cla for me to merge yr code?

I keep getting an Error.. I write my Github name press save and it fails.

@Snake210993 , thanks for the bug report. I have pushed the fix for it, can u try to submit?

@mrfinch it worked now :) thanks!

@Snake210993 , there were 2 bugs which I found out after merging this which I fixed: https://github.com/codecombat/codecombat/pull/6532 , FYI.

@Snake210993 , there were 2 bugs which I found out after merging this which I fixed: #6532 , FYI.

Thank you very much!


enable population of the token in the swagger-ui

What this PR does:
Enables population of the auth token in the swagger UI, by reading it from the sg-swagger-token cookie..
The reviewer must confirm it works by:

opening http://localhost:8180/swagger-ui
open browser dev tools
add cookie with name sg-swagger-token with arbitrary value
hit refresh on the page
confirm that

authorize box has token already (closed lock)
try now executes a request with the token having the value of the cookie

@EricBorczuk I think I would merge this and then add support for deleting the cookie after read if we need it?


Linux bootstrap script.

Author a simple-ish script to aid in bootstrapping a useful dev environment on a ~remote linux host.

Works well enough for my purposes.  Bringing it home now.


Update tips-and-quirks.rst

Documentation leads users to incorrectly configure gdb to use only 2 of the available 8 hardware breakpoints on the esp32c3. With similar issues for others.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


add the discord link in moksh readme

https://discord.gg/Jmc97prqjb
create a button UI in readme and add this link for the contributors to join this channel for asking any doubts if they have

I want to Work on This issue

Go for it

The issue you had is fixed @akshitagupta15june

can i give some ideas for your website!


Unable to download YouTube Shorts

~ $ youtube-dl -v https://youtube.com/shorts/fK1VmX9mzRw?feature=share
[debug] System config: []
[debug] User config: ['--format', 'bestvideo+bestaudio[ext=m4a]/bestvideo+bestaudio/best', '--merge-output-format', 'mp4', '-o', '/data/data/com.termux/files/home/storage/dcim/Camera/%(extractor_key)s-%(uploader)s-%(title)s-%(id)s.%(ext)s', '--no-mtime']
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://youtube.com/shorts/fK1VmX9mzRw?feature=share']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.9.1 (CPython) - Linux-4.14.190-22338387-abN975USQS7FUI6-aarch64-with-libc
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[youtube:tab] shorts: Downloading webpage
ERROR: Unable to recognize tab page; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/extractor/youtube.py", line 2844, in _real_extract
raise ExtractorError('Unable to recognize tab page')
youtube_dl.utils.ExtractorError: Unable to recognize tab page; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I have an alternate tool that works:
youtube fK1VmX9mzRw

https://github.com/89z/mech

Duplicate of #30269, where a trivial fix is provided.

Concur, duplicate of #30269. Closing.


Black artifact on app ambiente

Black fill of last line feature of previously drawn layer

Fill command issued for labels triggered a fill action for last active path in graphic context, which could be the path of last feature of the previously draw layer feature. This would be specially conspicuous if last feature was a line.
Measures taken: erroneous fill on labels were prevented and drawing action for path features now ends with 'beginPath' so that current path is reset.


make content-type header is optional to work with S3 servers that do not support content-type header

Make content-type header is optional to work with S3 servers that do not support content-type header
Description
The content-type header is optional since Cohesity S3 does not return any content-type in response headers according their specs:

The issue appears while backing up the ThingsBoard's Cassandra data using cassandra-medusa that uses libcloud to connect S3 storage.
Status

done, working fine on production, ready for review

Checklist (tick everything that applies)

[x] Code linting (required, can be done after the PR checks)
[x] Documentation
[x] Tests
[x] ICLA (required for bigger changes)

Thanks for the contribution.
The change looks good to me, but it would also be good to add a test case for it.

Hey, @Kami, unfortunately, Python is not my stack. I had a look at test_s3.py and have no idea how to add a correct test.
I used the libcloud debug mode to find the cause.
export LIBCLOUD_DEBUG=/tmp/libcloud.log
touch /tmp/libcloud.log && tail -f -n 999 /tmp/libcloud.log

Here is the actual case that I would add if I could make a test:
I changed the real hostname and credentials.
In response from remote HTTPS Cohesity S3 with no content-type header to a HEAD request:
# -------- begin<PHONE_NUMBER>68224 request ----------
curl -i --head -H 'User-Agent: libcloud/3.3.1 (Driver for all S3 compatible Medusa storages) ' -H 'Accept-Encoding: gzip,deflate' -H 'Host: cohesity.com:3000' -H 'X-AMZ-Date: 20220512T130715Z' -H 'X-AMZ-Content-SHA256:<PHONE_NUMBER>fc1c149afbf4c8996fb92427ae41e4649b934ca495991b01020304' -H 'Authorization: AWS4-HMAC-SHA256 Credential=wJalrXUtnFEMI0K7MDENG0bPxRfiCYEXAMPLEKEY/20220512/default/s3/aws4_request, SignedHeaders=accept-encoding;host;user-agent;x-amz-content-sha256;x-amz-date, Signature=0102030494879edc686784bc4f1cf08db39870714a77d13b92f08c4f01020304' -H 'X-LC-Request-ID:<PHONE_NUMBER>68224' --compress https://cohesity.com:3000/iot-s3/cassandra-backup/test-stage/cassandra-2.cassandra-headless.test-stage.svc.cluster.local/weekly/meta/schema.cql
# -------- begin<PHONE_NUMBER>68224:140011372881808 response ----------
11 200 OK
Server: CohesityS3
Strict-Transport-Security: max-age=31536000; includeSubDomains
Etag: "01020304e9d57d45e459f52383dabb7e-1"
Last-Modified: Thu, 12 May 2022 09:24:25 GMT
Date: Thu, 12 May 2022 13:07:15 GMT
Connection: keep-alive
Content-Length: 66698

# -------- end<PHONE_NUMBER>68224:140011372881808 response ----------

The local HTTP Minio response to the same request is here. It has a content-type and works fine before my commit:
# -------- begin<PHONE_NUMBER>69824 request ----------
curl -i --head -H 'User-Agent: libcloud/3.3.1 (Driver for all S3 compatible Medusa storages) ' -H 'Accept-Encoding: gzip,deflate' -H 'Host: minio-helm.test-stage.svc.cluster.local:9000' -H 'X-AMZ-Date: 20220512T131348Z' -H 'X-AMZ-Content-SHA256:<PHONE_NUMBER>8fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' -H 'Authorization: AWS4-HMAC-SHA256 Credential=m1n1o/20220512/default/s3/aws4_request, SignedHeaders=accept-encoding;host;user-agent;x-amz-content-sha256;x-amz-date, Signature=01020304cee53886c25d85d85e676e59a4c5301cfa6800414ef0e69e338b2f8c' -H 'X-LC-Request-ID:<PHONE_NUMBER>69824' --compress http://minio-helm.test-stage.svc.cluster.local:9000/iot-s3/cassandra-backup/test-stage/cassandra-2.cassandra-headless.test-stage.svc.cluster.local/weekly/meta/schema.cql
# -------- begin<PHONE_NUMBER>69824:140429512864672 response ----------
11 200 OK
Accept-Ranges: bytes
Content-Length: 66698
Content-Security-Policy: block-all-mixed-content
Content-Type: application/octet-stream
Etag: "a7455cdbe9d57d45e459f52383dabb7e-1"
Last-Modified: Thu, 12 May 2022 13:13:47 GMT
Server: MinIO
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Origin, Accept-Encoding
X-Amz-Request-Id: 16EE5DC85373B30D
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block
Date: Thu, 12 May 2022 13:13:48 GMT

# -------- end<PHONE_NUMBER>69824:140429512864672 response ----------

Please, feel free to use my data to make your tests.

@smatvienko-tb Thanks, will add a test myself when I get a chance.


⚠ Bofrost.si has degraded performance

In 25cb2b8, Bofrost.si (https://www.bofrost.si) experienced degraded performance:

HTTP code: 200
Response time: 3072 ms

Resolved: Bofrost.si performance has improved in f51a62f after 10 minutes.


Sensors in MuJoCo XLA?

I see in the documentation of MuJoCO XLA (https://mujoco.readthedocs.io/en/stable/mjx.html) that sensors are under development, any chance this feature has been added? If so, are there any examples?

At this moment, I just implement them with jax functions following the logic implemented in c++: https://github.com/google-deepmind/mujoco/blob/main/src/engine/engine_sensor.c#L525

Does anyone want to send us a PR implementing this in the MJX codebase? That would be welcome.

Does anyone want to send us a PR implementing this in the MJX codebase? That would be welcome.

Never contributed to MuJoCo before, but I would like to give it a try if no one is currently working on it.

Sensors will be part of the next MJX release.


add a command to build the project locally

this would be very similar to the srpm command except it would called -bb, instead of -bs
it would make also sense to support local builds using mock where packit would create a srpm and then build it using mock --rebuild $SRPM

Do we still want it? Is it a priority?
@lbarcziova Since you are assigned..;-) : Do you work on it? / Do you want to work on it?

I do not work on it currently, but if it is needed, I can do it.

this is totally nice-to-have/low-prio ;)


Dashboard Token Listing: ART

Discord Handle of Submitter: rsp#9882
Token Symbol: ART
Network: Polygon
Token Address: 0xD7F3aaC7557c213b035C19Bd89bd693396accCD6
Network Explorer Link: https://polygonscan.com/address/0xD7F3aaC7557c213b035C19Bd89bd693396accCD6
Is a Super Token? true
Address of Underlying Token:  https://polygonscan.com/address/0xd98a3eabb78a759868d5a35677ffa99a78f33ec7
SVG Logo Link: https://drive.google.com/file/d/19DhJrwzvIhGi1J7fHhJky9TboUSaAB9J/view
Coingecko or Hardcoded Price?: Hardcoded
Coingecko ID:
Harcoded Price (if Coingecko ID is unavailable): $0.06
Token HEX Color: #1acc6c
Info on Listing: The Artizen Fund for human creativity awards monthly grants to creators who play at the intersection of art, tech, science, and design. Our $ART token gives ownership of the fund to our community. We would like to us SuperFluid to stream $ART tokens to our core contributes and community members. You can find out more about us and our mission here: https://www.artizen.fund/
Please close only after token has been added to resolver!

listing done.
Note that the Super Token address is 0xd98A3EaBB78a759868d5a35677fFA99A78F33Ec7, while the underlying token address is 0xD7F3aaC7557c213b035C19Bd89bd693396accCD6


Saved model for all the experiments

Hi, could you provide the links to the saved models: MatchingNet, MatchingNet+FWT, MAML, ProtoNet, ProtoNet+FWT, RelationNet, RelationNet+FWT, MetaOpt for the cross-domain experiments in Table 1.

any progress on this?


Secure the token

Is your feature request related to a problem? Please describe.
We are already working with a token. However, this has currently several shortcomings:

It is sent in clear text towards the backend for verification.
It cannot be reset.
There is no public key to verify it.
It is stored within the backend, so not really private.

Describe the solution you'd like
We should update the token to be a private key that is only known to the user and never sent to the backend. This could be done through a nicer cryptographic approach. Current idea:

create the token visible for the user.
store the associated public key with the appropiate storage_provider
use the private key to sign a simple message that shows that the token is valid, basically a very simple challenge.
this can be later also used for signing the job. So this will enable https://github.com/Alqor-UG/sqooler/issues/258
most likely this requires a new version for the API, but we will see.

Describe alternatives you've considered
We could also have tried to store a private key on the backend. However, this would not be private in any way and should be avoided.
Additional context
This is all part of an effort to establish cryptographic ownership of jobs as described here and enabling ideas like this on payment.

The approach with a private key is good for signing. However, it does not allow you easily to authentificate the user. Therefore, we might have further looks into this. For the moment it might be best to keep the API key for authentification very much like IBM is doing it as described here. Then we have a header which contains Authorization: Bearer YOUR_API_TOKEN_HERE. The full code example is:
import requests

reqUrl = "https://api.quantum-computing.ibm.com/runtime/jobs?limit=10&offset=0&exclude_params=true"

headersList = {
  "Accept": "application/json",
  "Authorization": "Bearer YOUR_API_TOKEN_HERE"
}

payload = ""

response = requests.request("GET", reqUrl, data=payload,  headers=headersList)

print(response.json())

This could be nicely implemented through this API:
https://django-ninja.dev/guides/authentication/#global-authentication


Add AC Markdown tests and fix some tests

Added tests to make sure Markdown in Adaptive Cards are rendered correctly.
Fixed some tests broken by Adaptive Cards.

Self-approving non-production code and non-architectural changes.


Could I convert pytorch bilinear interpolate layer to caffe ?  And how should I do that?

https://github.com/xxradon/PytorchToCaffe/blob/da9e22c4d614f29d040dd2218b37e1a954bb0ee5/pytorch_to_caffe.py#L405

How did you solve the problem?

hi, How did you solve the problem?


Improvements to sample memory usage dashboard

Description:

For portal/dashboards/systemanalytics/overview/memory shall we use some meaningful test data?
typical memory usage graph follows a sawtooth shape. System memory needs to be lower than 100%.
Suggested Labels:

Suggested Assignees:

Affected Product Version:
beta5
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Memory usage widget shows actual data of the running server.
System memory is lower than 100%. See below screenshot.

This sample dashboard was removed in SP-4.2.0


slackbot problem

Display name: slackbot, member ID: USLACKBOT
slack-cleaner --token=[token]  --file --user uslackbot
slack-cleaner --token=[token]  --file --user slackbot
slack-cleaner --token=[token]  --message --direct slackbot --bot
slack-cleaner --token=[token]  --message --direct uslackbot --bot
Running slack-cleaner v0.3.0
Traceback (most recent call last):
  File "/usr/local/bin/slack-cleaner", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/slack_cleaner/cli.py", line 337, in main
    message_cleaner()
  File "/usr/local/lib/python3.6/site-packages/slack_cleaner/cli.py", line 286, in message_cleaner
    _channel_id = get_direct_id_by_name(args.direct_name)
  File "/usr/local/lib/python3.6/site-packages/slack_cleaner/cli.py", line 244, in get_direct_id_by_name
    _user_id = get_user_id_by_name(name)
  File "/usr/local/lib/python3.6/site-packages/slack_cleaner/cli.py", line 224, in get_user_id_by_name
    for k, v in user_dict.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

this version doesn't work with python3. you can take a look at https://github.com/sgratzl/slack-cleaner


Feature Request: "close all scenes" and "close other scenes" options in editor

This is a feature request...
Can we have "close all scenes" and "close other scenes" options in the context menu of Godot Engine's scene editor?
It would make life easier when working with many scenes.
Currently, there is only an X (close) button and a "Close Tab" menu item in the context menu which closes only the scene that was clicked on.

This is already a thing in 3.2-dev version. You can get a nightly build to try it out.


Modify the class modifier to make it more friendly to other image lib…

I'm writing a wrapper for glide and I don't want to use the original source for a project.
for android, the following two APIs are required.
Apng.Companion.isApng(source)
ApngDrawable.decode(xxx)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you for creating a PR and sorry for late response.
Since the Apng and ApngDecoderJni classes can modify internal data/state without regard to current state, there are no plans to make these classes public to protect data integrity.
It is possible to work with the current public API only, even when used with Glide.

It has been too long. Considering the convenience of security control, it is indeed the case that although setting it to public can be more convenient for other libraries such as the Glide to use, it is not necessary. In summary, it is better to close it.