How to add a lock timeout to migrations?

We ran into a scenario recently where we had downtime for the following reason:

We had a long running transaction open
We had a migration that attempted to take an ACCESS EXCLUSIVE lock (happens for all ALTER TABLE commands)

This caused all queries to be queued behind the migration, which was waiting to get a lock.
We'd like to automatically set a lock timeout on migrations to avoid this problem in future. The command is:
SET lock_timeout TO '5s'
We could add this manually inside every migration we create but that is tedious and prone to people forgetting. Is there a way to use ecto to automatically execute this SQL at the start of every DDL transaction?

You can use after_connect in the repository and set this based on an environment variable.
after_connect: {MyApp.Repo, :after_connect, 1}

and then:
def after_connect(conn) do
  if System.get_env("REPO_LOCK_TIMEOUT") do
    Postgrex.query!(conn, ...)
  end
  conn
end

Alternatively we can set a timeout on Elixir side of things... although I am not sure if it helps.

Is after_connect executed in the context of the DDL transaction?

No, it is invoked whenever the connection is established. Does it have to
be set per migration?
José Valimwww.plataformatec.com.br
http://www.plataformatec.com.br/Founder and Director of R&D

@josevalim yes, it must be executed inside the transaction where the migration statements are fired.


Injector

I can't find injectors, i tried Process Hacker but i get banned, i try Inflame but is not working, i tried some source but are all outdated. Can someone help me

Are you serious? Daniel Krupinski have several working "undetected" injectors in his repository. By the way there are hundereds of source codes for injector examples. Build the injector yourself and its undetected! Add code for your own and change Injector entrypoint + entropy.

 Daniel Krupinski have several working "undetected" injectors in his repository. By the way there are hundereds of source codes for injector examples. Build the injector yourself and its undetected! Add code for your own and change Injector entrypoint + entropy.
https://github.com/danielkrupinski/MemJect

i tried, but stuck at the python script... when i wanted to convert dll to bytes, it says "SyntaxError: invalid syntax" and highlighted "Osiris"

Are you serious? Daniel Krupinski have several working "undetected" injectors in his repository. By the way there are hundereds of source codes for injector examples. Build the injector yourself and its undetected! Add code for your own and change Injector entrypoint + entropy.
https://github.com/danielkrupinski/MemJect

okay, i got the py file work, but when i put it into the MemJect.c, i got these 2 error message
Severity	Code	Description	Project	File	Line	Suppression State
Warning	C26451	Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2).	MemJect	D:\INJECTOR\MEMJECT\MEMJECT.C	160
and
Severity	Code	Description	Project	File	Line	Suppression State
Warning	C6001	Using uninitialized memory 'processSnapshot'.	MemJect	D:\INJECTOR\MEMJECT\MEMJECT.C	219

@kschou95 this is not a critical error; file compiled

@Flaam For me, inflame works well. Did you follow the instructions exactly?
Batch file for easy Inflame injecting
@echo off

set pid=NUL

for /F "tokens=1,2" %%a in ('tasklist') do if %%a==csgo.exe set pid=%%b

IF %pid%==NUL (
goto fail
)ELSE (
goto sucess)
IF %pid%=="" (goto fail
) ELSE (
goto sucess)

:fail
echo Failed, run game before injecting
pause
exit

:sucess
Inflame -manual-map Osiris.dll %pid%
echo CSGO PID: %pid% - Osiris Injected
pause

I can't find injectors, i tried Process Hacker but i get banned, i try Inflame but is not working, i tried some source but are all outdated. Can someone help me

randoinjector

I can't find injectors, i tried Process Hacker but i get banned, i try Inflame but is not working, i tried some source but are all outdated.  Can someone help me

I recommend you randoinjector
But duplicate and change numbers at junk codes
https://github.com/bananasss00/Rando-Injector

Are you serious? Daniel Krupinski have several working "undetected" injectors in his repository. By the way there are hundereds of source codes for injector examples. Build the injector yourself and its undetected! Add code for your own and change Injector entrypoint + entropy.
https://github.com/danielkrupinski/MemJect

okay, i got the py file work, but when i put it into the MemJect.c, i got these 2 error message
Severity Code Description Project File Line Suppression State
Warning C26451 Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2). MemJect D:\INJECTOR\MEMJECT\MEMJECT.C 160
and
Severity Code Description Project File Line Suppression State
Warning C6001 Using uninitialized memory 'processSnapshot'. MemJect D:\INJECTOR\MEMJECT\MEMJECT.C 219

Use Python 3.x the Python Version 2.x will not work with the convert script!
The Compile Error? You just need to replace the part with: (Compile x86 and Release) and its working!
static const uint8_t binary[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00,
0xb8, 0x00, 0x00, ....
};


Running cloud-provider-kind 0.3.0 as container fails to probe ccm healthcheck

Steps to reproduce

kind create cluster
docker run --rm --network kind -v /var/run/docker.sock:/var/run/docker.sock cloud-provider-kind
Create a LoadBalancer service following README

Expected Result
cloud-provider-kind should be able to:

Detect the creation of a LB service
Create a ccm container
Probe its readiness as success

Actual Result
cloud-provider-kind can do step 1, 2, and fails on step 3
I0803 02:16:57.571892       1 instances.go:47] Check instance metadata for kind-control-plane
I0803 02:16:57.620937       1 instances.go:75] instance metadata for kind-control-plane: &cloudprovider.InstanceMetadata{ProviderID:"kind://kind/kind/kind-control-plane", InstanceType:"kind-node", NodeAddresses:[]v1.NodeAddress{v1.NodeAddress{Type:"Hostname", Address:"kind-control-plane"}, v1.NodeAddress{Type:"InternalIP", Address:"<IP_ADDRESS>"}, v1.NodeAddress{Type:"InternalIP", Address:"fc00:f853:ccd:e793::2"}}, Zone:"", Region:"", AdditionalLabels:map[string]string(nil)}
I0803 02:16:57.625728       1 node_controller.go:267] Update 1 nodes status took 53.884679ms.
I0803 02:16:57.791201       1 proxy.go:332] unexpected error trying to get load balancer kindccm-JQR2TXKKQBRJNYZ4LUJ4TY4C2YAW4FANP7ZCY5PN readyness :Get "http://<IP_ADDRESS>:32768/ready": dial tcp <IP_ADDRESS>:32768: connect: connection refused
...
I0803 02:17:07.791081       1 proxy.go:332] unexpected error trying to get load balancer kindccm-JQR2TXKKQBRJNYZ4LUJ4TY4C2YAW4FANP7ZCY5PN readyness :Get "http://<IP_ADDRESS>:32768/ready": dial tcp <IP_ADDRESS>:32768: connect: connection refused
E0803 02:17:07.791164       1 controller.go:298] error processing service default/lb-service-local (retrying with exponential backoff): failed to ensure load balancer: context deadline exceeded
I0803 02:17:07.791363       1 event.go:389] "Event occurred" object="default/lb-service-local" fieldPath="" kind="Service" apiVersion="v1" type="Warning" reason="SyncLoadBalancerFailed" message="Error syncing load balancer: failed to ensure load balancer: context deadline exceeded"

I noticed it is probing <IP_ADDRESS>, which looks wrong. It is supposed to be aware that it's running inside container, and probe the IP address of ccm.

/kind bug
/kind documentation
It seems that we forget about this installation mode when we migrated to envoy as the loadbalancer and added the healthchecks to improve reliability, thanks for reporting, the healtcheck indeed uses the localhost because the envoy admin port is. forwarded, so cloud-provider-kind need to run on the host network
Can you try docker run --rm ---network host -v /var/run/docker.sock:/var/run/docker.sock cloud-provider-kind?
That should make it

Running in host mode works fine, thanks.
What are the considerations for choosing the network mode? I imagine there are some assumptions for host mode to work, e.g. the target kind container must have exposed a host port for cloud-provider-kind to reach.

The need to support multiple platforms like windows, Mac or WSL or other containerized combos breaks the assumption the cloud-provider-kind can reach the container, so we rely on the docker portmap API to forward those ports to localhost to support all platform ... 🤷


Keyboard Manager Mapped Keys in combination do not work over RDP

ℹ Computer information

PowerToys version: 0.31.2
PowerToy Utility:  Keyboard Manager
Running PowerToys as Admin:  Yes
Windows build number: 20H2 (OS Build 19042.804)

📝 Provide detailed reproduction steps (if any)

…Map (back apostrophe) to Home key
…Open Word.  Type two paragraphs
…Move cursor to end of text.
Use Control (back apostrophe) as Ctrl-Home, observe cursor moves to before first character in document.
Use Remote Desktop Connection to connect to remote PC.
Open Word on remote PC
Type two paragraphs.
Use Control-(back apostrophe) - no cursor movement - does not emulate CTRL-HOME
Note that (back apostrophe) used alone does act as HOME even over RDP

✔ Expected result
CTRL-(back apostrophe) should act as CTRL-HOME when (back-apostrophe) mapped to HOME
❌ Actual result
Over remote connection combination of CTRL-(back apostrophe) does NOT act as CTRL-HOME
📷 Screenshots
Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

Tracked by https://github.com/microsoft/PowerToys/issues/9337


Bugfix/207 incorrect playbook initialisation can lead to segfaults

@lucamrgs, @RabbITCybErSeC NOTE: this update does not fix this issue in the Mongo database. But for that we need to rework the database code see #209


Make the general user home page

As stated, the user home page will have basic buttons and will set where the other components of the user home page gonna go


remove random builtin

It is unsafe for most use-cases and will be deprecated in ink!. Contract authors should rather use VRF from chain extensions or oracles.
The seal_random API is still used to calculate the salt on instantiation (if it is missing). There will be a new API seal_nonce which can be used to replace this. I'll do this in another PR once the new nonce API is available in pallets contract.
Side note: In my opinion it is completely safe to remove this built in. It was completely broken for IDK exactly how long but no one complained.

Thanks. Looks good to me.

Thanks. Looks good to me. I don't see seal_random being removed from the backend, though.

Would it make sense to keep this function in solang until the VRF is implemented?
Also out of curiosity, what was broken with the implementation of seal_random()? I thought it was very nice.

Would it make sense to keep this function in solang until VRF is usable from solang?

Exactly. It is used for contract instantiation. I'll remove it as soon as the nonce API is available.

Also out of curiosity, what was broken with the implementation of seal_random()? I thought it was very nice.

It is potentially predictable.

remove random builtin

This title seems like you have randomly chosen a builtin in Solang and removed it.


Updating the current page prop value does not change the total pages

Like the title says, updating the current page prop programmatically does not change the current page in the vue-awesome-paginate component. To give some context as to where this is useful: I need to 'reset' the pagination back to 1 whenever I perform a filter or search action on my table with pagination.

Hello dear @sjanneflinterman
Thank you very much for this really critical bug report, it's now fixed and published on NPM with latest version 1.1.0.
I Have deprecated currentPage prop as i believe it's not really useful as it's not reactive and replaced it with Vue's default v-model prop and it makes more sense now.
The documentation is also updated you can check it now.
Best.

Thank you!


[Story] Identify infrastructure diagram for Schematic 2.0

What projects is this story for?
Schematic
As a user, I want
NA
Description
Create an infrastructure diagram for the FAIR Data stack.
Known stack components:

Data Curator App (DCA)
Schematic REST API
Synapse REST API
Data Flow App (DFA)
Schematic DB

Acceptance criteria
No response
Tasks

[ ] Discuss with the members of the FAIR Data team to clarify how some components fit into the "FAIR Data" stack(s).
[ ] Create a diagram of the current architecture
[ ] Create a diagram of the proposed new architecture

Anything else?
Cc: @linglp @milen-sage
Have you linked this story to a GitHub Project?

[X] I have linked this story to a GitHub Project and set its metadata.

"As a solutions architect I want to know what is the existing stack and communication flow between different modules in the schematic framework  - both frontend (DCA, DFA) and backend (schematic, schematic-db, schematic REST API) - across high priority user stories, so that I can optimize the system for efficient performance (i.e. satisfying QoS guarantees)  and maintainability (i.e. reducing number of bugs and time to their resolution; reducing time for adding new features)."

@tschaffter the tasks make a lot of sense. I added a sentence in a form of a user story, although it's not quite a user story and not quite a user scenario and can be refined more :)

The creation of the Software Architect role is still unclear. We can reopen this ticket once the creation of the role is confirmed.


WL-4497 - Questions cannot be added in an Evaluation template

Questions cannot be added in an Evaluation template

This looks like almost a wholesale replacement of modify_item.html is it possible to just have the change we need. Otherwise when we come for push changes back to Sakai it's harder to tell which changes we actually need and which are just formatting tidyups.

I've checked the differences with another program and only showed the small differences, i don't know why GIT shows more differences, maybe issues with indenting.
So sorry Matt, let me correct the PR.

Pull request updated. TBH the other PR contained some fixes over the UI, better to manage them separately.


Refactor database code to avoid duplication

Every part of this app is going to talk to sqlite3 (or some db) and want to have equivalents or insert, execute, value and values.
One thing we probably want everywhere instead of just in decksite (where it is required for the templates to work) is to apply [dict(row) for row in rs] to the output of row_factory so that they are true dicts.

This is done.
We moved to apsw and wrote our own row_factory that produces true dicts so no need for the second part.


Poll tasks for clean completion

Adds a new hook to handle POST/FETCH for clean functionality
Adds a confirmation dialog modal to confirm the clean action

https://issues.redhat.com/browse/TACKLE-588

@ibolton336, do you mind fixing last comment from @mturley ?


Move 1.10 to API version 1.110

https://github.com/docker/docker/issues/17521
Signed-off-by: Darren Shepherd<EMAIL_ADDRESS>

:-1: I do not think we should not tie these two versions together, and changing the scheme will just make things more confusing.

Hm, yes, I feel your pain, but I'm not sure this is the solution. Although currently the versions are bumped in sync, this is not set in stone, so could change at some point

I think this is where "theory" and "reality" bump heads :-)
In theory it sounds nice to have separate version numbers but in reality we end up changing the API version number every release and for those times when people need to do the mapping its kind of annoying. Unless we actually change our current process and freeze the APIs for a while, I'm inclined to agree with some kind of harmonization between the two version numbers.

I think @duglin has the right idea :smile:   I don't care what the solution is really, it's just that for somebody like me that has to support a lot of different people running different random Docker versions, it's just annoying and hard.  Even when I work with other engineers it's terrible to say "no, I mean API VERSION 1.18 not Docker version."
It seems there has been a lot of effort lately to add a framework to handle API version maintenance efficiently.  Users already expect the API version to bump with each release so for the sanity of users like me, lets just lock it to something sane.

I really really hear you. I don't know in which api version I live anymore. I don't know if this is the best solution, but I'm looking forward to have a fix for this.

Hm, looks like we don't really reach consensus on this, perhaps we should close this one and rethink the versioning if we reach docker 2.0?

I agree with @thaJeztah. I don't think we should do this now, but it's worth having it in mind for a new major version.
I'm going to close this PR.


ECMPS User Profile Options

When a user is logged into ECMPS and clicks on the User Profile info, then the system expands the menu to display the following options:

Manage Login (CDX Link: https://cdx.epa.gov/)
Manage Delegations (CBS Link: https://camd.epa.gov/CBS/login/auth)
Note: We don't need a landing page. Just an expanding menu.

Here is a screen to discuss on Monday. I have addresses several tickets in part in this screen.
https://xd.adobe.com/view/c0323c1f-e508-4e16-8551-5f66caf78487-9561/
-moved the login button into the upper nav bar
-moved the welcome user and login to the right with in the bar
-updated the color of the profile icon to address contrast issue ticket in the backlog
-turned the comments and reports links to buttons and repositioned them to the left
-moved the "last checked out..." text to go above the "check back in" button
-updated the color of the configuration text in grey to meet 508 issue in backlog ticket

Test Cases Passed


Require Clone for Message early when needed

Prior to this change, the widgets that needed a Clone bound on Message to implement the Widget trait could be created with a non-cloneable Message.
As a consequence, the compiler complained only when actually trying to use the Widget trait. Normally, this happens when trying to push the widget in a container or turn it into an Element.
Furthermore, the compiler error in this case does not mention Message nor the Clone bound, but instead complains about a missing From implementation. Thus, it can easily cause confusion!
This change introduces Clone bounds in the main implementation of the widgets that need it to properly implement the Widget trait. As a result, the compiler complains early when trying to create one of these widgets with a non-cloneable Message and explicitly mentions that the Message needs to implement Clone.
Example
Given this code:
use iced::{button, Button, Container, Element, Text};

enum Message {
    ButtonPressed,
}

fn view(button: &mut button::State) -> Element<Message> {
    let button = Button::new(button, Text::new("Press me!"))
        .on_press(Message::ButtonPressed);

    Container::new(button).into()
}

Before these changes, the compiler error was:
error[E0277]: the trait bound `Message: std::convert::From<iced_native::widget::button::Button<'_, Message, iced_graphics::renderer::Renderer<iced_wgpu::backend::Backend>>>` is not satisfied
  --> examples/clone_bound/src/main.rs:12:20
   |
12 |     Container::new(button).into()
   |                    ^^^^^^
   |                    |
   |                    expected an implementor of trait `std::convert::From<iced_native::widget::button::Button<'_, Message, iced_graphics::renderer::Renderer<iced_wgpu::backend::Backend>>>`
   |                    help: consider borrowing here: `&button`
   |
   = note: required because of the requirements on the impl of `std::convert::From<iced_native::widget::button::Button<'_, Message, iced_graphics::renderer::Renderer<iced_wgpu::backend::Backend>>>` for `iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_wgpu::backend::Backend>>`
   = note: required because of the requirements on the impl of `std::convert::Into<iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_wgpu::backend::Backend>>>` for `iced_native::widget::button::Button<'_, Message, iced_graphics::renderer::Renderer<iced_wgpu::backend::Backend>>`
   = note: required by `iced_native::widget::container::Container::<'a, Message, Renderer>::new`

After these changes, the compiler now complains earlier:
error[E0277]: the trait bound `Message: std::clone::Clone` is not satisfied
 --> examples/clone_bound/src/main.rs:9:18
  |
9 |     let button = Button::new(button, Text::new("Press me!"))
  |                  ^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `Message`
  |
  = note: required by `iced_native::widget::button::Button::<'a, Message, Renderer>::new`

I've been bitten by this obscure compiler error a time or two! Thanks for the update.


Servo output damping at low airspeeds

In current master the outputs (without airspeed sensor) seem to get scaled linearly (or something else is going on at low airspeed). Instead there should probably be a minimum / maximum that assumes min airspeed or alike. Note that this might be related to this issue: https://github.com/PX4/Firmware/issues/11661 - which is something different, but addressing both issues consistently might also solve this. Plot to illustrate:

AFAIK it always assumes cruise airspeed param. Any scaling is based on voltage / baro pressure

the outputs (without airspeed sensor) seem to get scaled linearly (or something else is going on at low airspeed).

without an airspeed sensor, how does the system estimate how it should scale the control outputs?
If any new system is developed to damp servo outputs at low speeds, some consideration should go towards systems that do in fact want highly aggressive outputs at low speeds, for example fixed wings which are hand launched and/or deep stall land.  (tangentially related: we've been thinking about how to let the gain scaling continue below min airspeed for more control in critical times of takeoff and landing when airspeed may drop below minimum)

@Antiheavy

without an airspeed sensor, how does the system estimate how it should scale the control outputs?

In fixed wing flight it assumes trim airspeed, in multicoper mode it assumes minimum fixed wing speed.

If any new system is developed to damp servo outputs at low speeds, some consideration should go towards systems that do in fact want highly aggressive outputs at low speeds, for example fixed wings which are hand launched and/or deep stall land. (tangentially related: we've been thinking about how to let the gain scaling continue below min airspeed for more control in critical times of takeoff and landing when airspeed may drop below minimum)

This is in fact what's happening right now. We figured that during hover mode the elevons can help quite a bit to stabilize the drone and help fight wind (talking VTOL here).
Have a look at this function here:
https://github.com/PX4/Firmware/blob/master/src/modules/fw_att_control/FixedwingAttitudeControl.cpp#L469
The problem in the upper log was a mechanical problem that induced massive vibrations into the gyro signal. I'm open to ideas regarding airspeed scaling. The trickiest part is during VTOL transitions when you have both multicopter and fixed wing rate controller active. If both controllers are tuned very well then you'll probably see oscillations.

Here is a log of a combined longer flight on a fully stable vehicle demonstrating the same behavior:
https://review.px4.io/plot_app?log=5ff592e4-c425-40c8-8f0e-2309598f12b9

➤ Roman Bapst commented:
https://github.com/PX4/Firmware/pull/11897


Fix MSL error for the Leia version

Check if this PR fulfills these requirements:

[x] My changes respect the Kodi add-on development rules
[x] I have read the CONTRIBUTING document.
[x] I made sure there wasn't another Pull Request opened for the same update/change
[x] I have successfully tested my changes locally

Types of changes

[ ] New feature (non-breaking change which adds functionality)
[ ] Feature change (non-breaking change which changes behaviour of an existing functionality)
[ ] Improvement (non-breaking change which improves functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Refactor (non-breaking performance or readability improvements)

Description
Fixes the MSL error reported here: https://github.com/CastagnaIT/plugin.video.netflix/issues/1300

thanks but i want backport also some other things related to manifest to try make it more stable
maybe you can give me an answer on my message in #1300


Cannot use the tool on cookies

Reproduce :
┌──(darkaxe㉿Sultan)-[~]
└─$ lfimap -U "http://wcamxwl32pue3e6mw93xjqgt7zr8873o7oy7tw3y-web.cybertalentslabs.com/policy.php" -H "Cookie: readme= Yonko" --placeholder=Yonko -a
[-] No arguments to test. Exiting...

I've already figured out the problem and it seems that it occurs in multiple places in the project files,
For example lfimap.py :
    found_in_headvalues = args['param'] in (
            str(value) for value in args['httpheaders'].values())

This will loop inside the cookie name and value instead of value only so :
args['param'] in ('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/25.0 Chrome/<IP_ADDRESS> Safari/537.3', '*/*', 'Close', 'readme=Yonko')

which will be false, although it is not.
So you either take the cookie value only without the name or you just create another loop on the header values, something like this :
        for i in ([str(value) for value in args['httpheaders'].values()]):
             if args['param'] in i:
                 found_in_headvalues = True

I've also tried this on the -C argument for cookies, but I got the same result.

@YonkoSultan Thank You for raising this issue, reproduced it and hopefully fixed in the latest commit.
Can you git pull and re-try it.
The issue was within the Python in keyword as it checks for exact matches when utilized in the dictionary values context. We needed a substring match and I tried elegantly solving this via any construct. Hopefully this fixed the issue.


xplat: examine _WIN64, should it be _M_X64?

e.g. CallInfo.h, is following "unused" patch applicable to xplat x64?
        CallInfo(CallFlags flags, ushort count)
            : Flags(flags)
            , Count(count)
#ifdef _WIN64
            , unused(0)
#endif
        {
        }

        // Assumes big-endian layout
        // If the size of the count is changed, change should happen at following places also
        //  - scriptdirect.idl
        //  - LowererMDArch::LoadInputParamCount
        //
        unsigned  Count : 24;
        CallFlags Flags : 8;
#ifdef _WIN64
        unsigned unused : 32;
#endif

How about _M_X64_OR_ARM64 instead of _M_X64 ? Especially for the sample you've shared.

Yes, that may be better. Or maybe a new symbol BIT64.

I don't like _M_X64 of _M_X64_OR_ARM64 as these are specific CPUs is the defines are just about 64 targets.  BIT64 is better but not that descriptive.  How about TARGET64 or HOST64?

I don't like _M_X64 of _M_X64_OR_ARM64 as these are specific CPUs is the defines are just about 64 targets.  BIT64 is better but not that descriptive.  How about TARGET64 or HOST64?

+1 TARGET64

We now have TARGET_64. But lots of code (including new code) still uses _WIN64. Needs to search for all and evaluate which should change to TARGET_64.


Log warning for not renewing from 60 to 30

min_expiry_days is set to 30 days, but the log warning says 60.

Thanks for the PR.


fix CI and remove == operator

Also please disable CircleCI on your fork. We have fixed CircleCI in the org to run on PRs again.


Outcommented the Files-Types-Part

It's currently not working and the code in files_type.py is fully outcommented.
So I want to suggest to add this to todays release, so that we have a stable website for release.
In my opinion, we can also delete those files, which are not needed anymore. We should discuss, we need this Files-Type-Section anymore, because you can probably configure this by yourself in the OS-Dashboard. But this shouldn't be a discussion in this pull request, because I just want this to be a hotfix for a stable release.

We should include this in the final release


Release v0.1.1

@JuliaRegistrator register
Release Notes: Fixed a missing computation in the RHP choosing algorithm and added more garbage collection.

Registration pull request created: JuliaRegistries/General/112337
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.1 -m "<description of version>" b140f8646a8d4bcb72a34ec964a514b74c571a3f
git push origin v0.1.1


[Feature] withKeepUnmounted decorator

🔗 Linked issue
#192
❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Try in the playground
import { Base, withKeepUnmounted } from '@studiometa/js-toolkit';

export default class UnmountedComponent extends withKeepUnmounted(Base) {
  static config = {
    name: 'UnmountedComponent',
    log: true,
  };

  mounted() {
    this.$log('Enabled and mounted.');
  }
}

import { Base, createApp } from '@studiometa/js-toolkit';
import UnmountedComponent from './UnmountedComponent.js';

class App extends Base {
  static config = {
    name: 'App',
    components: {
      UnmountedComponent,
    },
    refs: ['btn'],
  };

  onBtnClick() {
    // Set the enabled option to `true` will mount the component
    this.$children.UnmountedComponent[0].$options.enabled = true;
  }
}

createApp(App);

📝 Checklist

[x] I have linked an issue or discussion.
[x] I have added tests (if possible).
[x] I have updated the documentation accordingly.
[x] I have updated the changelog.

@titouanmathis I need help to improve my tests...
They work if they are launched separately but not during the CI...
✅ npm run test -- withKeepUnmounted
🔴 nom run test


Question: Statically generate ToC --> variable heading order?

v2 Branch.
sometimes we have some headings at the start of the doc that do not match the pattern:
H1->H2->H3
instead the doc might start with H2 ->H2 then go into H1->H2->H3
but then the statically generated TOC gets kind of created weird?
Does the Statically generated TOC have to always follow exact Heading order?
for example:
if I have H2 first then H3s then H1s, it seems to output the H1s first in the menu.
How can we make it so the
code:
<% toc_data(page_content).each do |h1| %>
does it based on order of Headings?
like:
loop over heading (ignore order), if children loop over them, repeat

nevermind it ignores the items that do not match h1-h2-h3 pattern which is prob desired.


Bitbucket Support

Hi I tried to pull existing records from bitbucket but its throwing error. Whether it will be supported?

Theoretically there is no limitation on a specific git provider. Bitbucket works as I tested it today.

How to access private bitbucket?

You can see error as "dose not appear to be git repository" it is private git repository for which i should enter user name and password usually

This looks like an error of git itself. Do you tested it over a console or so?
Do you pull over ssh or https?
Stupid question, but are you sure your remote url is correct and it's a git repo (BitBucket provides Mercurial repos too).

Bitbucket is a bit weird as the HTTP clone URL it provides has the username embedded. E.g<EMAIL_ADDRESS> This is a non-standard Git URL. Just remove the username and the "@" symbol and try again. The following should work...
https://bitbucket.org/viharm/xatafaceldapauth.git

CodeGit will prompt for a username and password for private repositories.

I tested it<EMAIL_ADDRESS>several times without any problems. Please reopen if required


Duplicated functions?

Hi Jos,
It seems to me there are (almost) duplicated functions in base.py with describe having inner functions that are almost identical to the outer functions. I've chopped those off, as seen here:
https://github.com/dpavlic/pandas-profiling/commit/20df9e64b2e1b4c79999339ee0d0f81621ec0037
The tests all run and everything still generates as usual. Am I missing something, or can these go?

IMO, these can go, for now. Because, the multiprocess_func calls describe_1d which is an outer function.
I think Jos wanted to build a seperate module for those describe_* functions, and didn't want any dependency on the core describe function.

@dpavlic Why don't you issue a PR, and merge them. It sounds relevant for now.
CC: @JosPolfliet

Thanks guys, I will take a look soon. Finishing up some other project and then this one has my primary attention again. Hopefully next week I will have some free hours to check this out.


Tabular: Added refit_full user-facing functionality

Issue #, if available:
Description of changes:
Added refit_full functionality to user-facing layer.
Benchmarking is still running, will update with results tomorrow.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-412-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-412/1/index.html

Benchmark Results:
autogluon_v2_1h VS all
                          framework  > autogluon_v2_1h  < autogluon_v2_1h  = autogluon_v2_1h  % Less Avg. Errors Than autogluon_v2_1h  time_train_s  metric_error  time_infer_s       acc       auc   logloss  loss_rescaled      rank  rank=1_count  rank=2_count  rank=3_count  rank>3_count  error_count
0                   autogluon_v2_1h                  0                  0                 38                                 0.000000   3230.091176      0.279153    169.679150  0.858036  0.896050  0.501077       0.214943  1.867647            17            10            10             1            1
1        autogluon_v2_compressed_1h                 11                 24                  1                                -0.172806   3644.944118      0.282663     15.444709  0.857795  0.894187  0.506674       0.377367  2.250000             9            17             4             7            2
2  autogluon_v2_nobag_compressed_1h                 11                 25                  0                               -12.366583   1082.573529      0.274612      7.523006  0.856385  0.895306  0.489845       0.548736  2.529412             7             8            18             4            2
3             autogluon_v2_nobag_1h                 10                 27                  0                               -14.895866    580.670588      0.280489      7.103622  0.855686  0.890711  0.497342       0.772690  3.352941             5             5             6            22            1

autogluon_v2_4h VS all
                          framework  > autogluon_v2_4h  < autogluon_v2_4h  = autogluon_v2_4h  % Less Avg. Errors Than autogluon_v2_4h  time_train_s  metric_error  time_infer_s       acc       auc   logloss  loss_rescaled      rank  rank=1_count  rank=2_count  rank=3_count  rank>3_count  error_count
0                   autogluon_v2_4h                  0                  0                 37                                 0.000000  11057.985294      0.259324    510.558659  0.868035  0.901404  0.462912       0.132871  1.602941            21             9             7             0            2
1        autogluon_v2_compressed_4h                  5                 28                  3                                -4.411548  12144.014706      0.263722     28.211233  0.864026  0.898227  0.468860       0.375229  2.264706             6            21             3             7            2
2  autogluon_v2_nobag_compressed_4h                  9                 26                  0                               -16.233976   1849.879412      0.270656     10.598040  0.860595  0.900316  0.487221       0.601134  2.764706             4            10            16             7            2
3             autogluon_v2_nobag_4h                  6                 30                  0                               -18.441443    962.850000      0.276271     10.173476  0.860412  0.895628  0.494008       0.824352  3.367647             5             2            10            21            1

As can be seen, _FULL compression of bagged models results in significant inference speedup (510s avg -> 28s avg) with only minor drops in overall accuracy and slight increase to runtime. This result leads to a highly desirable middle ground between full bagged ensembles and non-bagged ensembles in terms of accuracy and inference time. _FULL conversion on non-bagged models shows inference parity while demonstrating superior accuracy and doubling of training time, as predicted. All errors are unrelated to the _FULL logic.

Job PR-412-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-412/2/index.html

Job PR-412-3 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-412/3/index.html


OSError: Cannot open resource on ImageFont

I've used the "alternative" install method. I'm running into this when hitting SPACE in the scene.

I'm able to get around this by installing the fonts-liberation package via apt, anyhow, this should be included in the standard installation script of the package.

Thanks for letting us know. It now falls back to a default font.


browser.newPage never resolves when using userDataDir

browser.newPage() never resolve when using userDataDir in launch options.
Strangely, it only works when using headless: false.
Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.4
Platform / OS version: Windows 10
URLs (if applicable):
Node.js version: 10.0

What steps will reproduce the problem?
  const browser = await puppeteer.launch({
    // headless: false, // un-commenting this makes it works
    userDataDir: 'test-profile-dir',
  });
  await browser.newPage();
  // Never reaches here
  console.log('If this logs, it worked!');

Please include code that reproduces the issue.
https://github.com/laggingreflex/puppeteer-userDataDir-hang
What is the expected result?
browser.newPage() should resolve and above code should be able to reach console.log statement
What happens instead?
It doesn't

Can reproduce with Tip-Of-Tree on Windows 7 x64.

It seems to break only when relative path is provided, like 'test-profile-dir'. Works with full path: __dirname + 'test-profile-dir'

Still happens in latest version (^1.70).

Happens to me too with version 1.12.1 on Windows with the chromium version that installs with it.
If I don't use the 'userDataDir' property OR start it with 'headless': false, everything works fine.

Just for anyone's reference, this issue still presents itself in version 1.20.0. When headless = true, then you must provide a full path instead of a relative one for userDataDir. In the case of headless = false, it works fine with both full and relative paths.

ye, full path is needed, but funny enough with relative path it still will create taht folder properly and put there crashreport on close

Hello,
Still happenning with v3.
Luckily absolute path solves the issue.
Maybe docs should explain the trick, it can be confusing since it works with headless: false

Steps to reproduce
Tell us about your environment:

Puppeteer version: 3.0.1
Platform / OS version: win7
Node.js version: v12.11.1

What steps will reproduce the problem?
Run this code :
const puppeteer = require('puppeteer');
(async() => {
    console.log('a')
    const browser = await puppeteer.launch({
        userDataDir: 'userDataDir',
        headless: true,
    })
    console.log('b')
    await browser.newPage()
    console.log('c')
    await browser.close()
})();

What is the expected result?
a
b
c

What happens instead?
a
b

But never c, browser freezes on new page creation.
If you remove userDataDir: 'userDataDir' is works as expected.
If you set headless: false is works as expected.

I had the same problem, I think the problem is when you use "/" in the path when the headless = true.
Puppeteer 3.0.0 on Windows 7 64 bit, using the default Chromium, launching the browser with headless true:
let launchOptions = {};
launchOptions.headless = true;
launchOptions.userDataDir = "C:/test/temp"
let browser = await puppeteer.launch(launchOptions);
let page = await this.browser.newPage();//freezes here depending on the path

It works if userDataDir is:

launchOptions.userDataDir = "C:\test\temp"
launchOptions.userDataDir = "C:\test/temp"
launchOptions.userDataDir = "C:\test//temp"

It doesn't work with:

launchOptions.userDataDir = "C:/test/temp"
launchOptions.userDataDir = "C://test//temp"

With headless = false, all the paths work.
We should use 2 backslashes after the disk letter and the colon for an absolute path.

I have same problem on windows 10, and path.normalize not solve the issue.
Any ideas?

Same problem
My environnement dev

WSL2 Debian Buster
Node v12.18.1
npm 7.5.4
Puppeteer 8.0.0

const browser = await puppeteer.launch();
console.log(await browser.version()); //HeadlessChrome/90.0.4427.0
const page = await browser.newPage(); //after it does nothing

I tried with different configuration :
userDataDir: './chrome' //no change
pipe : true //no change
args: ['--no-sandbox', '--disable-setuid-sandbox',] //no change

Here the debug (six last lines) :
  puppeteer:protocol:RECV ◀ {"id":4,"result":{"sessionId":"B3D2567E07203D4A096A495710466966"}} +0ms
  puppeteer:protocol:SEND ► {"sessionId":"B3D2567E07203D4A096A495710466966","method":"Page.enable","params":{},"id":5} +1ms
  puppeteer:protocol:SEND ► {"sessionId":"B3D2567E07203D4A096A495710466966","method":"Page.getFrameTree","params":{},"id":6} +1ms
  puppeteer:protocol:SEND ► {"sessionId":"B3D2567E07203D4A096A495710466966","method":"Target.setAutoAttach","params":{"autoAttach":true,"waitForDebuggerOnStart":false,"flatten":true},"id
":7} +0ms
  puppeteer:protocol:SEND ► {"sessionId":"B3D2567E07203D4A096A495710466966","method":"Performance.enable","params":{},"id":8} +0ms
  puppeteer:protocol:SEND ► {"sessionId":"B3D2567E07203D4A096A495710466966","method":"Log.enable","params":{},"id":9} +0ms

I have fix my issue
const browser = await puppeteer.launch({
    dumpio: true, // to display log
    args: ['--disable-gpu'] // to fix issue of .newPage()
});

https://github.com/puppeteer/puppeteer/issues/1543#issuecomment-349642975
https://github.com/microsoft/playwright/issues/4761#issue-770834723

I have fix my issue
const browser = await puppeteer.launch({
    dumpio: true, // to display log
    args: ['--disable-gpu'] // to fix issue of .newPage()
});

#1543 (comment) microsoft/playwright#4761 (comment)

Good Idea!


update h2 from 1.3.168 to 1.4.197

https://www.h2database.com/html/download.html
https://mvnrepository.com/artifact/com.h2database/h2

Resolved in https://github.com/jenkinsci/database-h2-plugin/pull/4


error: predicate 'HeapAllocationRef' is not declared at level 0 (code: PREDICATE_UNDECLARED)

I ran the project and got lots of errors:

I have no idea. Could you please tell me the reason and solution?

I think the cached database used has a problem (e.g., .../Graphick/Ctx_sensitivity/doop/cache/...):

Please, clear the cache database before the analysis by typing the following command:
$ rm -r /home/fdse/luorong/course/Graphick/Ctx_Sensitivity/doop/cache/*
Then run the analysis:
$ ./run.py graphick luindex
I will reproduce a result in our paper:

@LuoRongLuoRong If @greatJms answered your question to your satisfaction, could you close this issue?

Thanks!


(parser) Improper tokenization with variable names in languages that use Unicode / UTF-8

Taking over this issue to track the overall process on this.  Original issue is below.
Prework:

[x] #2759 Update all our regexe to be UTF8 compliant (10.4)
[x] Add Grammar#unicodeRegex to allow per-language UTF8 regex (11.x)
[x] Performance testing - /u seems MUCH slower in my initial testing. (10.4)

Individual languages may now add support if they don't trigger performance regressions:

[ ] JavaScript
[ ] TypeScript (I presume?)
[ ] All languages depending on ecmascript.js will need to be reviewed (that's where the Javascript-like IDENT_RE is now)
[ ] Java
[ ] C
[ ] XML #3256
[ ] C++
[ ] R
[ ] Ruby
[x] Python
[ ] Go
[ ] Rust*
[ ] Kotlin
[ ] C#
[ ] Swift

Perhaps one day:

[ ] Flip the parser to always using u by default (10.4) [needs resolution of performance slowdowns]
[ ] Ensure this change results in no overall regressions (10.4)
[ ] Consider MODES IDENT_RE and UNDERSCORE_IDENT_RE, although I think they should not change.

Before any of this is possible we'll need to start building regexs with u mode.  After that it should simply be a matter of altering the appropriate IDENT_REs for the language in question.  Actually upon second though we do have IDENT_RE but I'm not confident that it should change (vs this being a per language opt-in)... perhaps an IDENT_RE_UTF8?
A few markup tests should be added to 2 or 3 of the languages (or perhaps unit tests if we add a new mode) to make sure the behavior is as expected.

Original issue
Describe the issue
Most modern languages use the Unicode spec to decide what constitutes a proper variable name. Thus, hangul filler characters, even though they seem to be whitespace, are valid variable names.
The variable name thisisavariablename is a valid variable, although hl.js tokenizes the first word or so as separate from the rest.
In highlighting systems that are aware of this, like Chrome's dev tools, it is parsed correctly. The first snippet uses hangul fillers while the second one uses whitespace (which is why it throws an error):

Which language seems to have the issue?
Every language that follows the Unicode spec for variable names theoretically. I've only tested the ones mentioned in the title, but it might make more sense to just tokenize every language as if it were one of those that followed the unicode spec since this should be the default.
Are you using highlight or highlightAuto?
N/A
Sample Code to Reproduce
N/A
Expected behavior
hl.js should be using ID_Start and ID_Continue for the languages that use it, or at least use it as a default.
The regex to match this is rather large, but it can be shortened significantly in regex engines supporting the u flag (modern JavaScript)
const matchIDStart = char => /\p{ID_Start}/u.test(char);
const matchIDContinue = char => /\p{ID_Continue}/u.test(char);

\p{ID_Start} matches any valid starting character in a variabe name
\p{ID_Continue} matches any valid non-starting character in a variable name (such as numbers and some variation selectors)

hl.js should be using ID_Start and ID_Continue for the languages that use it, or at least use it as a default.

How might we know which languages those are? :-)  We have almost 200 languages...  Right now our keyword default is \w and we don't really have an "identifier" default... each language kind of provides their own identifier regex... I'm thinking this might be something we have to do one language at a time as it comes up... flipping just that language into "utf8 mode" and then making sure it's regex are all still valid, etc...
This might be quite an effort for the whole project.  Just a quick attempt to build all our regex with /u and then run just our markup test suite:
  108 passing (716ms)
  173 failing

Evidently the /u flag changes how regex strings are parsed and it's a LOT more strict about a lot of things that work just fine without it.  One example:
Valid before:
/[\$][\w-:]+/
Now with the u flag it wants the - to be escaped also... are you aware of an "upgrading" guide that covers most of the common pitfalls here?  I've seen just two cases already but I'm sure there are more...

How might we know which languages those are? :-) We have almost 200 languages... Right now our keyword default is \w and we don't really have an "identifier" default... each language kind of provides their own identifier regex... (and many provide their own keyword regex also). I'm thinking this might be something we have to do one language at a time as it comes up... flipping just that language into "utf8 mode" and then making sure it's regex are all still valid, etc...

To be honest, I'm not entirely sure. I'd have to do more research on the topic, but most modern imperative/OOP languages use ID_Start and ID_Continue these days as those categories seem to exist explicitly for that purpose.
Some languages, such as Rust, use XID_Start and XID_Continue which are slightly more strict subsets. Rust also has a linter option which turns it off mostly, so that's a weird case. XID vs ID excludes very few characters. You can play around with seeing how they differentiate with https://unicode-lookup.netlify.app by the category search.
To tell you which ones to target specifically, I'd have to check every language that hl.js supports, but I can tell you languages where I've confirmed it to the best of my knowledge (through use and/or the language spec):
JavaScript, Java, C/C++, Ruby, Python, Go, Rust*, Kotlin, C#, and Swift
I haven't used many more languages than that, so that's all I can back up. In my experience, ID_Start is the default, not the anomaly. I'd assume it's different for languages like SQL which likely have stricter rules for identifiers.

Now with the u flag it wants the - to be escaped also... are you aware of an "upgrading" guide that covers most of the common pitfalls here? I've seen just two cases already but I'm sure there are more...

I am not, unfortunately. I understand that fixing it, in general, is frustrating, so it's understandable if it goes unfixed. I just recognized an issue and thought it would be convenient to have a GitHub issue dedicated to it for future reference.
As an aside, if there were some convenient way to switch all regex to use ID_Start and ID_Continue, I'm not sure it would break much, even in languages which require only ASCII-idents, ID_Start still doesn't match for spaces or equals signs, so it's rare that it would match too much.

As an aside, if there were some convenient way to switch all regex to use ID_Start and ID_Continue, I'm not sure it would break much, even in languages which require only ASCII-idents, ID_Start still doesn't match for spaces or equals signs, so it's rare that it would match too much.

Mostly it would all have to be done by hand... so if no one is having issues with a given language then I don't see any harm in languages keeping their older [a-z] style rules... and then when (or if) it DOES provide to be a problem and we have someone on the horn who knows what the rules are for language xyz, then we can deal with them on a one off basis.
I think the first step here would be to slowly clean up our regexs to be UTF8 compatible if possible (avoiding the need for per language flags)... and then at that point it could be decide which languages needed new regex rules to take advantage of what the u flag has to offer.

@klmr Any thoughts on the C/C++ side of this?

@EmNudge I turned this issue into the tracking issue for this whole initiative.  Turns out I forgot we have IDENT_RE in our mode library, but still I don't think we should opt all languages into this by default - although I could perhaps be persuaded. I think the question is going to be "What is correct" vs "what does no harm".

This has implications for auto-detect also for some languages... if a language does not declare itself UTF8 aware then it shouldn't potentially claim credit for UTF8 identifiers, it'd be better if those fall to a language that knows how to identify them... although as things stand now I wonder if this is stacked against us since it'd be likely a non-UTF8 language would see MULTIPLE identifiers here (would the utf8s count as word boundaries (\b)?), which would definitely have some bearing on the discussion.
var ident_ascii[utf8]ident_ascii[utf8]ascii = 39;

Grrrrr. :-)

Dumping resources:
https://mathiasbynens.be/notes/es6-unicode-regex

@klmr Any thoughts on the C/C++ side of this?

Do I ever!
In fact, it’s backslashes again. The following is valid (if the compiler’s source character set supports it, I don’t think this is required):
#include <stdio.h>

int main(void) {
    int \u00e4 = 1;
    printf("%d\n", ä);
}

Oh, and we can also add R to the list of languages that definitely support Unicode identifiers.

I'm slating this for around 10.5+... perhaps switching to /u in 10.4 and seeing if that causes any problems in an of itself before looking into individual language (or whole mode) upgrades for the identifiers.
@EmNudge @klmr However if someone was interested in floating a "beta" version of this (to land in 10.4) for one or two of these languages I'd be open to that with a short-term _utf8_enable flag at the language level that would be used to turn on u mode (mode_compiler.js, line ~24-28).  Again the idea being to flush out any issues we aren't thinking of before exposing the whole library.
That would allow us a "soft" pilot.

In just running our full test suite on my dev machine I'm seeing quite measurable differences:

Current master: ~8.2s
Simply add /u to all built regex's: ~9.6s (mode_compiler.js, line 27)

Running ~17% slower for a feature no one is really demanding overall doesn't seem to be a huge win.  I suppose we could try to auto-detect regex type, but I'm not sure yet how we'd even go about that with strings (much of our regex is encoded as strings) unless we just try non-UTF8 and then if that blows up, try UTF-8?
So I'm probably pausing the plan to enable this globally in 10.4 unless someone can persuade me otherwise.  If anyone has any thoughts or wants to step up and champion this issue, let me know.

It seems auto-detect by error isn't workable:
> "p{ID_Start}".match(/\p{ID_Start}/)
[ 'p{ID_Start}', index: 0, input: 'p{ID_Start}', groups: undefined ]

Since this \p stuff seems to be valid non-UTF8 regex. :-)  So it may not even be possible to discern the intention with 100% certainty given a regex in a string with no mode mapped.

Isn’t there a way for language definitions to opt in to this feature? I don’t know how the hljs engine currently handles this but in my naïve understanding, the following should “just work”:
…
return {
  language: 'My beautiful Uni Code',
  contains: [
    {
      className: 'identifier',
      begin: /\p{Letter}+/u;
    }
  ]
};

The resulting regex has the unicode property set, after all, so hljs should be able to use this information when internally constructing other expressions from it.

It'd be easier to set it at the language level (that's how we're already designed).
Problems with per-regex:

Often they are strings (so there is a HUGE legacy cost to upgrading).  Though maybe this could be done by machine?
Even when not strings they often get converted several times (to concat, add, etc) since JS has no native way to combine regex... so we'd have to keep track of that /u flag this whole time...
Not to mention you technically can't mix them (so you can't add a /u to non/u`...
...and parser combines regex into MultiMatchers, so now we have a big problem since a regex could mean entirely different things based on whether it's UTF-8 or not - making it impossible to mix UTF-8 and non UTF-8 in a single language anyways (or at least very problematic).

No right now it looks like it would need toggled at the language level, and simply apply to all regex inside the language...
There are also sublanguages to consider but I'm not sure that's an issue since they are running into their own completely isolated highlighting context.

This can now be taken up one language at a time (so we can test for performance regressions) if anyone is interested in PRs. That probably also means we won't be changing the existing MODES, though perhaps we could add new UTF8_IDENT etc... worth discussing in whatever PRs get filed.

You'll likely need to edit keywords/$pattern also. (See docs). The default pattern only matches ASCII keywords.

Thank you very much @joshgoebel, indeed setting $pattern to the Greek unicode range solved that issue.
Another unicode-related issue concerns the language name and aliases; that is, my highlighter gets activated when I use an ASCII name like "glossa" () but not when I use its proper Greek name which is "ΓΛΩΣΣΑ" ().
I've uploaded two examples in this forum post, as you can see the second example with language-ΓΛΩΣΣΑ isn't highlighted. Is there a way to make that work?

See aliases and registerAliases.

Yeah I've used aliases and I think the problem is that there's some place in the code that's not unicode enabled.
I've tested both of the following language definitions:
return {
    name: 'ΓΛΩΣΣΑ',
    aliases: [
        'glossa',
...

return {
    name: 'glossa',
    aliases: [
        'ΓΛΩΣΣΑ',
...

...and in both cases,  works but  doesn't work.
Note though that if I omit the language-xxx attribute AND the code sample is big enough, then highlightjs correctly identifies the language and adds the language=ΓΛΩΣΣΑ attribute dynamically.
So I think that the "autodetection and language tagging" part is unicode enabled,
but the "parsing the language tag" part is not unicode enabled.

Indeed, setting languageDetectRe:/\blang(?:uage)?-([\u0386-\u03ce\w-]+)/i fixed the issue.
Thank you very much all for your code, and especially @joshgoebel for your help on this. :)


Difficulties with a delimiter

The delimiter don't work when the Markdown process disabled in content settings. What makes it impossible to use the delimiter in html editors, like TinyMCE.
Can there be any possibility to process this from html?

I'll need to investigate this.  the intention of disabling markdown was to let the page render as-is with HTML, so it may well be that the delimiter processing is reserved for markdown only.  Been a while since i looked at this code...


chore(main): release 1.2.0

:robot: I have created a release beep boop
1.2.0 (2024-12-08)
Features

:bricks: add React 19 support (b3d2e01)
:bricks: migrate to vite v6 (b3d2e01)
:wrench: migrate eslint .eslintrc.cjs to flat config (b3d2e01)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.2.0
:sunflower:


Update Grammar for Log Files

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

VS Code Version: Any
OS Version: Any

Steps to Reproduce:

Create a file in language mode "Log"
Type something that starts with at
See the entire line being highlighted

I traced down to the grammar file at https://github.com/microsoft/vscode/blob/main/extensions/log/syntaxes/log.tmLanguage.json, and opened a Pull Request at the original repo: https://github.com/emilast/vscode-logfile-highlighter/pull/539. The PR is merged and the syntax highlighting is fixed:

Now I am wondering what is the procedure to update the grammar in the VSCode repo. It seems that all the previous updates are done by @alexr00

Thanks!


Questions related to the dataset annotation and multi-gpu training results

Hi, thanks for the great work! After running some experiments, I found two issues.

Some of the annotations are not correct. Here I show some examples (left model: prediction, right model: GT).

(The top two shelves have no annotation of "contain")

(The pourable annotation lies on the bottom of the bottle)

(The grasp annotation lies on the bottleneck)

(Grasp annotations are quite different for visually similar bottles)

The results vary a lot when using different numbers of GPU, and it seems single GPU got the best performance. What's the reason?

| PointNet++
-- | --
8 gpu | Test :: test mAP: 0.433250, test mAUC: 0.856608, test maIOU: 0.057118, test MSE: 0.071557
4 gpu | Test :: test mAP: 0.437279, test mAUC: 0.845381, test maIOU: 0.116516, test MSE: 0.065208
1 gpu | Test :: test mAP: 0.481856, test mAUC: 0.876145, test maIOU: 0.183885, test MSE: 0.058885

Have you figured out the reason for the drop in performance?

Have you figured out the reason for the drop in performance?

No, I haven't. I gave up using this dataset.

@Reagan1311 I found out that the seed used in the code is not appropriately called, so the reproducibility is not guaranteed. How do you deal with it? Thanks.

Hey, your comment helps a lot. By the way, I want to know which library and API you use to visualize the data. I used open3d and I cannot darw the affordance map like this. Thanks in advance if you can reply :)

Hey, your comment helps a lot. By the way, I want to know which library and API you use to visualize the data. I used open3d and I cannot darw the affordance map like this. Thanks in advance if you can reply :)

Hey, your comment helps a lot. By the way, I want to know which library and API you use to visualize the data. I used open3d and I cannot darw the affordance map like this. Thanks in advance if you can reply :)

Hi, I use the open3d as well. You can refer to their official guide for point cloud visualization: http://www.open3d.org/docs/release/tutorial/geometry/pointcloud.html

Can you explain the pipeline for visualization?


Intermittent upgrade error with nightly chef-server-core_12.2.0+20150730184117

This was a Tier CS 12.1.2 -> 12.2.0+20150730184117
Re-running the upgrade will work (probably the db started by then)
execute[chef-server-ctl upgrade] action run

                                           ================================================================================
                                           Error executing action `run` on resource 'execute[chef-server-ctl upgrade]'
                                           ================================================================================

                                           Mixlib::ShellOut::ShellCommandFailed
                                           ------------------------------------
                                           Expected process to exit with [0], but received '1'
                                           ---- Begin output of chef-server-ctl upgrade ----
                                           STDOUT: Upgrading with options #<OpenStruct skip_confirmation=false, chef11_server_url="https://localhost", chef12_server_url="https://localhost", upload_threads=10, chef11_admin_client_name="admin", chef11_admin_client_key="/etc/chef-server/admin.pem">
                                           [2015-07-30T22:15:38+00:00] INFO: Port 8889 in use: Address already in use - bind(2) for <IP_ADDRESS>:8889

                                           ================================================================================
                                           Error executing action `create` on resource 'private_chef_pg_user[opscode-pgsql]'
                                           ================================================================================

                                           PG::ConnectionBad
                                           -----------------
                                           FATAL:  the database system is starting up

                                           Cookbook Trace:
                                           ---------------
                                           /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/libraries/ec_postgres.rb:25:in `initialize'
                                           /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/libraries/ec_postgres.rb:25:in `new'
                                           /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/libraries/ec_postgres.rb:25:in `block in with_local_connection'
                                           /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/libraries/ec_postgres.rb:42:in `as_user'
                                           /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/libraries/ec_postgres.rb:24:in `with_local_connection'
                                           /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/providers/pg_user.rb:12:in `block in class_from_file'

                                           Resource Declaration:
                                           ---------------------
                                           # In /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/postgresql.rb

                                           128:   private_chef_pg_user node['private_chef']['postgresql']['db_superuser'] do
                                           129:     password node['private_chef']['postgresql']['db_superuser_password']
                                           130:     # This initial password set must be done over local socket:
                                           131:     local_connection true
                                           132:     # Don't make superuser into a non-superuser...
                                           133:     superuser true
                                           134:   end
                                           135:
                                           136:   # Set up a database for the opscode-pgsql user to log into automatically
                                           137:   private_chef_pg_database "opscode-pgsql"
                                           138:   include_recipe "private-chef::erchef_database"
                                           139:   include_recipe "private-chef::bifrost_database"
                                           140:   include_recipe "private-chef::oc_id_database"
                                           141: end

                                           Compiled Resource:
                                           ------------------
                                           # Declared in /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/postgresql.rb:128:in `from_file'

                                           private_chef_pg_user("opscode-pgsql") do
                                             action [:create]
                                             retries 0
                                             retry_delay 2
                                             default_guard_interpreter :default
                                             declared_type :private_chef_pg_user
                                             cookbook_name "private-chef"
                                             recipe_name "postgresql"
                                             password "0a414a3cbc010be16b14d36cea968ac2fea08e264baccabe249690f508f9b9de01b22b3da8c148cb93b2e0dc283e5d7ba28d"
                                             local_connection true
                                             superuser true
                                           end

Please feel free to reopen if the issue persists with the newer (Stable release for Chef-Server is 13.2.0). Sorry we could not get back to you earlier.


Quick start guide should link to prerequisites ~1

If you jump right to the Quick Start guide, you won't realize there steps that should be done first.
It would be nice to have a link from the "Setup" section of the Quick Start Guide to this page: https://donejs.com/SettingUp.html

This was done in b51f58d4098d6fed68f868c78c69e8e0e9bf652b


Cross group transaction

🍰 Pullrequest
Stuff which will be needed for cross group transactions

get group alias from community server api
get public key for username and group_alias without session from login server api

Issues

fixes #183

Todo

[ ] Tests

For #183:
With #484 to make Cross Group Transactions frontend can:
call: GET mycommunity.a/api/getGroupAlias
to get Group alias from target community, for example "gdd1"
then call
POST mycommunity.a/login-api/getUserInfos with
{
	"username": "usera",
	"group_alias": "gdd1",
	"ask": [
		"user.pubkeyhex",
  	]
}

to get public key from usera in hex format.
And now it has all needed data for call to sendCoins


Fix several accidentally quadratic functions

Are there any requirements for backward compatibility of any of the functions whose API has changed?


[Bug Report] Cascader is case sensitive, select is not when filterable

Element UI version
2.10.1
OS/Browsers version
Mojave
Vue version
2.6.10
Reproduction Link
https://codepen.io/pen/?&editable=true
Steps to reproduce
Search something on cascader
What is Expected?
Cascader search functionality should be case insensitive
What is actually happening?
Case sensitive

Becase the default search logic is string includes
But you can customize search logic by prop filter-method.

Becase the default search logic is string includes
But you can customize search logic by prop filter-method.

Exactly


Zapier Integration for MemberJunction

The idea is to have two-way connectivity with Zapier to enable a wide array of workflows and automation in and out of MJ.
Outbound
From MJ to Zapier will require MJ to invoke Zapier actions. To do this, instead of creating a super generic way of calling any Zap at run time, one solution would be to allow a user to easily generate Actions in MJ that encapsulate a specific action that a given Zapier integration supports. For example let's say we wanted to have an MJ Action that would create a Customer in Shopify. There is a Zapier integration for Shopify that supports an action that does just this. https://zapier.com/apps/shopify/integrations
We could build a tool that will automatically generate an MJ Action that very simply wraps the Zapier integration. We could create a generic Zapier base class to abstract their API a little and then generate the code for the Action to map in the Zapier properties and response codes to MJ Action metadata of the same type.
Inbound
We could expose various parts of MJ functionality as Zapier Actions and Zapier Triggers. For example, we could expose entity CRUD operations as Zapier actions - expose MJ Actions as Zapier actions, and on the trigger side, send notifications that turn into Zapier triggers when things happen in MJ in various places.
This part is a little more complex. Since MJ is not a SaaS solution, each customer would have to register their integration with Zapier which is possible but might not be ideal. An alternative would be for MJ.com to create a managed service that is a middleware that can handle this automatically between Zapier and any MJ client and use something like webhooks to signal back to a given MJ instance in a secure way. We'd have to think through this carefully to ensure we are not handling sensitive data or not persisting it, etc.

@cadam11 would be great to have your input on this one

I'll have to spend some time to re-acquaint myself with Zapier's domain language

A good starting place would be to try to build a minimal integration using API key authentication to keep it simple. I'm working on a POC to see if we can collect all the installation-specific details as variables for the integration so it can be used with any deployment.

So far, I've learned that the Zapier UI is inadequate for our needs– I think the CLI integration builder could work and will continue with that approach to learn more.


Switch CSVW git dependency to npm release

There are two sec-vulnerabilities open which npm could not fix automatically, I think it's around mocha.

The second commit switches to mocha 7.0.0, tests still seem to run thought but I did not do more than running them.

Interesting, they work on my system, why does travis fail?

replaced by #2


Exception when using 'ionic emulate ios'

From @syedtariq2013 on February 15, 2016 21:3
The following was generated. There were two things wrong:

The message in line 2 was generated even if the platform had been successfully installed before.

Hash: 6b76d4593a8f22448bd1
Version: webpack 1.12.10
Time: 9419ms
Asset     Size  Chunks             Chunk Names
app.bundle.js  2.55 MB       0  [emitted]  main
[0] multi main 64 bytes {0} [built]
+ 356 hidden modules
√ Webpack complete
An Error occurred trying to fall back to Cordova-lib execution: TypeError: Cannot read property 'then' of undefined
at Object.IonicTask.runCordova (/usr/local/lib/node_modules/ionic/lib/ionic/cordova.js:296:21)
at /usr/local/lib/node_modules/ionic/lib/ionic/cordova.js:162:19
at _fulfilled (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:749:13)
at /usr/local/lib/node_modules/ionic/node_modules/q/q.js:557:44
at flush (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:108:17)
at doNTCallback0 (node.js:419:9)
at process._tickCallback (node.js:348:13)
Error happened [TypeError: Cannot read property 'then' of undefined]
TypeError: Cannot read property 'then' of undefined
at Object.IonicTask.runCordova (/usr/local/lib/node_modules/ionic/lib/ionic/cordova.js:296:21)
at /usr/local/lib/node_modules/ionic/lib/ionic/cordova.js:162:19
at _fulfilled (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:749:13)
at /usr/local/lib/node_modules/ionic/node_modules/q/q.js:557:44
at flush (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:108:17)
at doNTCallback0 (node.js:419:9)
at process._tickCallback (node.js:348:13)
Copied from original issue: driftyco/ionic#5464

Could you paste the output of ionic info please? Thanks!

Your system information:
Cordova CLI: Not installed
Gulp version:  CLI version 3.9.0
Gulp local:
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
ios-deploy version: 1.8.2
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v4.2.3
Xcode version: Xcode 7.2.1 Build version 7C1002

Dependency warning - for the CLI to run correctly,
it is highly suggested to install/upgrade the following:
Please install your Cordova CLI to version  >=4.2.0 npm install -g cordova

Yeah looks like this is a bug, thanks for the issue.
If you install cordova npm install -g cordova or (sudo npm install -g cordova if the first doesn't work), does the error go away?

Thanks for investigating this. I have tried various approaches including uninstalling and re-installing cordova but nothing helps. I have seen a lot of issues of a similar nature identified in stack overflow but there is no consistent solution other than to do a chown on /usr/local/lib/node_modules. This may work but I am reluctant to do it because I dont know what other consequences are. It is pointing to an issue in either cordova or ionic installations or in node or npm.

Hey guys,
i figure out the reason of the problem. It happened when i tried to run "ionic emulate ios" under the root user. This operation leads to change some files and their permissions.
check out do you have permission to run "cordova" under current user, for example type "codova -v".
in my case i got:
acheshkov$ cordova -v ... Error: EACCES, permission denied '/Users/acheshkov/.config/configstore/update-notifier-cordova.json' ...
after change permission the problem was gone. hope this information will help.

Hey guys,
I had the same error, just wanted to share the solution. I solved this issue by setting an environment variable for android.
After setting the environment variable, you should also restart your cmd.
Hope this helps.


Use javax.inject.Inject instead of com.google.inject.Inject

the import was wrong, all other classes are using
also javax.inject.Inject

+1 to merge.


Add: add_two_numbers

Codecov Report

Merging #82 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #82   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          30     31    +1
  Lines         331    347   +16
=====================================
+ Hits          331    347   +16

Impacted Files
Coverage Δ

problems/add-two-numbers/add_two_numbers.go
100% <100%> (ø)

Continue to review full report at Codecov.

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


GC system

Hello, I really wanted to help, because I need to know if it is possible to configure the GC in the mta system without the use of a MySQL server and if someone could explain to me how to do it.
I appreciate the opportunity and ask forgiveness for my lack of knowledge

explanation for no gc accounts is here
https://github.com/JarnoVgr/Mr.Green-MTA-Resources/blob/master/README.md#setting-up-a-local-server

is it possible to use the GC system with the MTA's native registry system?
/register /login

no

I have one more doubt ...
I need to create the SQL tables in own mta server in some folder specifies?

We use mysql for our sql tables
On my pc I use http://www.wampserver.com/en/, open phpmyadmin to create the SQL tables

Can I use the ones already are ready the mrgreen?
[]https://github.com/JarnoVgr/Mr.Green-MTA-Resources/tree/master/config(url)

You need a seperate SQL server
Are you new to SQL? Because you need to learn a bit before you can use it

yes, ok


Gitlab OAuth

Add support for GitLab OAuth.
closes https://github.com/zulip/zulip/issues/13694 .
Testing Plan:
Added backend tests.
Also updated authentication docs to include gitlab.

CircleCI is failing because the tests don't have the key and secret loaded. Adding some dummy value in test_settings.py should fix this:
SOCIAL_AUTH_GITHUB_KEY = "key"
SOCIAL_AUTH_GITHUB_SECRET = "secret"
SOCIAL_AUTH_GOOGLE_KEY = "key"
SOCIAL_AUTH_GOOGLE_SECRET = "secret"
SOCIAL_AUTH_SUBDOMAIN = 'www'

@chdinesh1089 it looks like you updated this PR in response to feedback from @mateuszmandera.  Be sure to post a comment when you do that!  GitHub doesn't have a reliable automatic notification for "this is ready for a next review."

Looks great now! Just the one test needs renaming, but I think @timabbott can review at this point.
Moving some of those tests from google tests to SocialAuthBase would be nice to do as a followup, but it's an independent change from this Gitlab stuff.

Merged as 4304d5f8dbd37b85a4bd5c8e5e6a1af863bcd1b1 after several changes:

Cleaned up the text in comments.
Documented the critical SOCIAL_AUTH_GITLAB_API_URL setting.
Squashed the 3 commits adding GitLab authentication support.

Thanks @chdinesh1089!  I think there's some pretty high-value follow-up work we can do here:

Adjust the test names as Matuesz suggested above.
Rework the code, unit tests, etc. for /config-error to have less duplicated code.  Most of the actual code in this PR was related to that, and is totally avoidable.  Specifics in the next bullets.
The social backend urls.py stuff could be a loop similar to how we handle WEBHOOK_INTEGRATIONS there, passing in to TemplateView whatever parameters we need in the context for the below.
In config_error.html, these blocks should be able to be replaced by extending that template's context dictionary with variables like social_backend_name="google" to deduplicate:

                    {% if google_error %}
                        {% if development_environment %}
                        {{ render_markdown_path('zerver/google-error.md', {"root_domain_uri": root_d\
omain_uri, "settings_path": secrets_path, "secrets_path": secrets_path, "client_id_key_name": "socia\
l_auth_google_key"}) }}

                            For more information, have a look at
                            the authentication
                            setup guide for the development environment.

                        {% else %}
                        {{ render_markdown_path('zerver/google-error.md', {"root_domain_uri": root_d\
omain_uri, "settings_path": settings_path, "secrets_path": secrets_path, "client_id_key_name": "SOCI\
AL_AUTH_GOOGLE_KEY"}) }}
                        {% endif %}
                    {% endif %}

The google_error or github_error or gitlab_error conditional could be a flag in the template.

These blocks could also be handled be common code using getattr() on constructed setting names.

    if (backend == "github") and not (settings.SOCIAL_AUTH_GITHUB_KEY and
                                      settings.SOCIAL_AUTH_GITHUB_SECRET):
        return redirect_to_config_error("github")
    if (backend == "google") and not (settings.SOCIAL_AUTH_GOOGLE_KEY and
                                      settings.SOCIAL_AUTH_GOOGLE_SECRET):
        return redirect_to_config_error("google")
    if (backend == "gitlab") and not (settings.SOCIAL_AUTH_GITLAB_KEY and
                                      settings.SOCIAL_AUTH_GITLAB_SECRET):
        return redirect_to_config_error("gitlab")

The test_docs.py tests could be moved to the test_auth_backends social auth base class using appropriate variables.

@chdinesh1089 are you interested in working on those refactors?  If not, @mateuszmandera should probably claim them.

@timabbott I’ll work on them.

@timabbott I’ll work on them.

@timabbott do we need to all of test_docs.py tests to be moved to test_auth_backends or just the or just the ConfigErrorTest?

Just the config error ones need to be cleaned up.  I'm not sure whether
moving those is the way to do it, but it might help by providing better
access to auth configuration.
-Tim Abbott (mobile)
On Fri, Feb 14, 2020, 09:33 chdinesh1089<EMAIL_ADDRESS>wrote:

@timabbott https://github.com/timabbott do we need to all of
test_docs.py tests to be moved to test_auth_backends or just the or just
the ConfigErrorTest?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/pull/13861?email_source=notifications&email_token=AAU6NWT22AYQGNF3AWNAZPDRC3IWXA5CNFSM4KR7W4DKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELZZSYA#issuecomment-586389856,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAU6NWUDB246AVDXLI26YYTRC3IWXANCNFSM4KR7W4DA
.


Mast: Blacklist shed[\W_]+(?:\d{0,2})?[\W_]+pounds[\W_]*+rapidly

Mast requests the blacklist of the keyword shed[\W_]*+(?:\d{0,2})?[\W_]*+pounds[\W_]*+rapidly. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by tripleee in Charcoal HQ


Crashed when run the code

I have used this demo and followed the steps from integration document: https://developer.tuya.com/cn/docs/app-development/integrate-sdk?id=Ka5d52ewngdoi
I added the build folder and ThingSmartCryption.podspec file in the same place where the pod file is placed and then tried to run the project but I am getting crash.
Here is the logs which I am getting in the console. It may help to troubleshoot the problem.
2024-07-12 15:08:49 [ERROR]  Init dns cache
2024-07-12 15:08:49 [OTHER]  load t_cdc.tcfg finish: (null)
error: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-07-12 15:08:49 [OTHER]  t_cdc.tcfg load failed.(format error)

Hi @NandParikh , Have you solved this problem yet? Can you share information with me?

@NandParikh , Please config Bundle Identifier same iOS Bundle ID on Tuya Developer Platform

@NandParikh
year config Bundle Identifier same iOS Bundle ID on Tuya Developer Platform
have you solved this problem yet?


Text is not centered vertically if the icon is larger than the text

See the newly added demo:

Note in scope of this module, the layout module can solve this. Added a demo.


assertion failure with zero-length array

Fails in legalizeArrayReturnType
[numthreads(4, 1, 1)]
void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
{
    bar();
}
func bar() -> int[0];

Seems like q3 is where we're putting language completeness items. Medium b/c compiler crash so inherently more important than quality of life


[d3d9] Final Fantasy XIII (dxvk 2.3.1 regression?)

Going from DXVK version 2.3 to 2.3.1 artifacts / vertex explosion appeared. I think it's from 2d (font, hud,...) elements.
v.2.3

v.2.3.1

v.2.3

v.2.3.1

P.S.: Yes, DXVK HUD appears with DXVK_HUD=full , so it's using DXVK. In screenshots I only was using MANGOHUD.
Software information
Final Fantasy XIII
System information

GPU: RTX 4080
Driver: 550
Wine version:  proton-8.0-5, proton-9-exp
DXVK version:  2.3 - 2.3.1

Apitrace file(s)
https://drive.google.com/file/d/1kkeu1T3xLKVRgudiKBhJW1WZKkYNgBfg/view?usp=sharing
(made in linux/wine, I hope it's OK)
Log files
game.log

Thanks for the bug report.

Hi, so I tried fix from your "finalfantasy-fix" branch and it didn't fixed anything! 2D elements still broken.
Main meniu missing text

Option menu

In game, pause menu

Are you sure you used the correct build? It fixes the issue for me with the apitrace.

Well, I used artifact from there
https://github.com/doitsujin/dxvk/actions/runs/8381160940

Did you check the hud or logs to make sure it is using that build

Did you check the hud or logs to make sure it is using that build

Yes, I've been using DXVK for years since 0.5.x version or so, I think I know what I'm doing.
This is the proof from "finalfantasy-fix" branch artifact .
Now with DXVK_HUD and MANGOHUD=off.

If I put dxvk 2.3 (stable) back in, everything is alright.

If you're using dxvk.config, For me, this same issue has been happening in lots of games with the command dxvk.enableGraphicsPipelineLibrary=true , change it to false and see if that helps, It fixed the bug for me at least, on even older versions.

@JohnnYDeveloperAHK If enableGraphicsPipelineLibrary=true causes these issues, your GPU driver is broken. That's not the case on Nvidia version 550 though.

I cannot reproduce the broken UI.

The updated PR fixes the remaining issues when trying to play the modded game with DXVK.

Tested new PR fix and it's working without a problem, thanks.


Incorrect URL

In the section "Quick start: install and run DISKSPD" the incorrect URL is provided for the diskspd download.
The following path is provided:
https://github.com/Microsoft/diskspd/releases/download/v2.0.21a/DiskSpd-2.0.21a.zip
The correct path is:
https://github.com/Microsoft/diskspd/releases/latest/download/DiskSpd.zip

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

ID: 6dcbfe3b-52e3-7cc4-0727-3055383db649
Version Independent ID: c894cd31-5738-8a11-78ec-5ecb4b8ad341
Content: Use DISKSPD to test workload storage performance - Azure Stack HCI
Content Source: azure-stack/hci/manage/diskspd-overview.md
Service: azure-stack
Sub-service: azure-stack-hci
GitHub Login: @jasonnyi
Microsoft Alias: jasonyi

@aricbernard  Thanks for your feedback! We will investigate and update as appropriate.

@aricbernard , thank you for bringing this to our notice.
I have updated the URL for DISKSPD download :
From - https://github.com/Microsoft/diskspd/releases/download/v2.0.21a/DiskSpd-2.0.21a.zip
To - https://github.com/microsoft/diskspd/releases/download/v2.0.21a/DiskSpd.zip
It will reflect shortly on the doc.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Unable to enable Admin UI

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[x] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d2xxwcl6ly3wga
Region
eu-west-2
Amplify Console feature
Not applicable
Describe the bug
I have a StackOverflow question open here:
https://stackoverflow.com/questions/67504106/unable-to-enable-aws-amplify-admin-ui
In short - I'm clicking the switch to enable Admin UI but it's not enabling it despite telling me that it is. It's happening in both of my Amplify projects leading me to think it's not a problem with my app's setup.
Expected behavior
Click the enable switch -> wait a bit for it to enable -> console tells me it's enabled -> I can click to open the admin UI
Reproduction steps
I don't know what triggered the bug - I just saw that my Admin UI wasn't enabled anymore.

On backend environments tab, hit "Set up admin UI" in the box
Observe it saying it's set up and then not continuing

Build Settings
Not sure it's relevant but it's not sensitive.

version: 1
backend:
  phases:
    build:
      commands:
        - amazon-linux-extras install python3.8
        - ln -fs /usr/bin/python3.8 /usr/bin/python3
        - pip3.8 install pipenv
        - '# Execute Amplify CLI with the helper script'
        - amplifyPush --simple
frontend:
  phases:
    preBuild:
      commands:
        - yarn install
    build:
      commands:
        - yarn run build
  artifacts:
    baseDirectory: build
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

### Additional information

https://stackoverflow.com/questions/67504106/unable-to-enable-aws-amplify-admin-ui

Hi @ashleyoldershaw, thanks for raising. I'm going to transfer to the Admin UI repo to get some more eyes on it.


Apple pay and google pay is not working

Platform

[ ] Web
[ ] iOS
[ ] Android

Describe the bug
hi when we are hitting the api
Stripe.createGooglePay,
Stripe.presentGooglePay
Stripe.createApplePay
Stripe.presentApplePay
i am getting this kind of error
APPLE PAY ERROR
⚡  [log] - Pay with Apple pay button hits⚡  To Native ->  Stripe isApplePayAvailable 43995628ERROR MESSAGE:  {"errorMessage":"Can not use on this Device.","message":"Can not use on this Device."}⚡  [error] - {"errorMessage":"Can not use on this Device.","message":"Can not use on this Device."}⚡  [log] - dismissed⚡  To Native ->  Stripe createApplePay 43995629⚡  TO JS {}⚡  TO JS undefined⚡  [log] - ApplePayEventsEnum.Loaded⚡  To Native ->  Stripe presentApplePay 43995630ERROR MESSAGE:  {"message":"STPApplePayContext is failed","errorMessage":"STPApplePayContext is failed"}⚡  [error] - {"message":"STPApplePayContext is failed","errorMessage":"STPApplePayContext is failed"}⚡  [error] - ERROR Error: Uncaught (in promise): Error: STPApplePayContext is failedCapacitorException@capacitor://localhost/vendor.js:3048:10returnResult@user-script:2:709:49@user-script:2:691:29
GOOGLE PAY ERROR
VM3:219 result Stripe.isGooglePayAvailable (#5809816)
VM3:227 {message: 'Not implemented on Device.', code: 'UNIMPLEMENTED'}
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Please check document:
iOS https://stripe.com/docs/apple-pay?locale=ja-JP#merchantid
Android https://developers.google.com/pay/api/android/guides/setup
Can not use on this Device. may be right.

This Issue is closed because the information has not been updated. Thank you.


Can't find Spatial Gardener via the AssetLib tab

Godot version
3.5 stable
Platform
Win
Issue description
I was about to comment on Reddit how easy it is to download and install Spatial Gardener from within Godot, but it turns out it is actually not that straight forward and might be missed by someone who does not decide to dig a little deeper.
In the AssetLib tab "Spatial Gardener" won't show up ...

... unless the user clicks on "Support" (which does not look like a Button), and the enables "Testing". Only then Spatial Gardener shows up:

Steps to Reproduce
In the Godot 3.5 stable Editor, go the the AssetLib tab and search for "Spatial" or "Spatial Gardener" or "Gardener" ...

Huh. That's weird. I'll look into it

For some reason it was assigned the "Testing" tag, which is meant for pre-releases and beta tests.
Changing tags is a manual process conducted by the AssetLib moderators.
It is now assigned the intended "Community" tag and is searchabble on the AssetLib.
Thanks for catching it!


security constraint and image version 36531, 36711

changes

fixes 36531
fixes 36711
updated image version to 3.0.5

tests

limited local smoke test

/lgtm


reminds probably was meant to be resembles

I believe there's a typo in the node_pattern docs. This change fixes the sentence.

even better:
It evokes the pattern-matching capabilities of regular expressions, but is designed to target specific nodes in Ruby code.

even better:
It evokes the pattern-matching capabilities of regular expressions, but is designed to target specific nodes in Ruby code.

That's nice, I went for that and put you as author @Kallin , thanks