Stuck at loading screen of adobe . It freezes after that and i have to force close.

Photoshop version
CC2021
Describe the bug
when i launch the app the loading screen does appear but after some loading(mostly at initializing html surfaces) it gets stuck and i get prompted to wait or force quit again and again so i close it.
System information

Distro : Ubuntu 22.04.2 LTS
GPU : AMD
WINE version : 8.0

Log of command i tried to capture it was too long so i shortened it
Script started on 2023-04-16 10:26:14+05:30 [TERM="xterm-256color" TTY="/dev/pts/7" COLUMNS="80" LINES="24"]
]0;nabh@nitro: ~/Documents/Adobe/Adobe-Photoshop/drive_cnabh@nitro:~/Documents/Adobe/Adobe-Photoshop/drive_c$ sh launcher.shcript log.txt[10@h launcher.sh >

0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
03ec:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
03ec:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
03ec:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\Program Files\Adobe\Adobe Photoshop 2021\dvacrashhandler.dll", 000000000BC97E60) stub
03ec:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
03ec:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
03ec:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
03ec:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
03ec:fixme:nls:get_dummy_preferred_ui_language (0x8 0x4009<PHONE_NUMBER>11E134<PHONE_NUMBER>000000<PHONE_NUMBER>11E130) returning a dummy value (current locale)
03ec:fixme:nls:get_dummy_preferred_ui_language (0x8 0x4009<PHONE_NUMBER>11E134 000000000BE54B50<PHONE_NUMBER>11E130) returning a dummy value (current locale)
03e8:fixme:reg:RegQueryInfoKeyW security argument not supported.
03ec:fixme:netprofm:list_manager_QueryInterface interface {00000126-0000-0000-c000-000000000046} not implemented
03ec:fixme:netprofm:connection_point_Advise<PHONE_NUMBER>69C8E0,<PHONE_NUMBER>69C7D0,<PHONE_NUMBER>69C7F0 - semi-stub
03ec:fixme:netprofm:connection_point_Advise<PHONE_NUMBER>69C950,<PHONE_NUMBER>69B990,<PHONE_NUMBER>69B9B0 - semi-stub
03ec:fixme:netprofm:list_manager_GetConnectivity<PHONE_NUMBER>69C8A0,<PHONE_NUMBER>11F280
03e8:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path.

Have you installed wine from the Ubuntu repository or winehq ?

winehq

Could you try using the devel branch ? Sometimes wine's stable branch has some missing things

steps i performed-
sudo apt-get remove --purge wine-stable
sudo apt-get autoremove
sudo apt install --install-recommends winehq-devel
sudo apt update
nabh@nitro:~/Documents/Adobe/Adobe-Photoshop/drive_c$ sh launcher.sh
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
wine client error:0: version mismatch 758/762.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
what do i do?

it shows wine version  8.6 now

Are you sure the path you mentioned to the installer is correct ?
/Documents/Adobe/Adobe-Photoshop/
It seems to be at root and in document ?
Photoshop cannot be executed as root

not in root.
this is the path of launcher.sh
/home/nabh/Documents/Adobe/Adobe-Photoshop/drive_c

Do you have the OSS driver ?

how do i check

Well if you have installed AMD-GPU drivers or if you have the kernel ones

no i have not

If your DE crashes maybe it's related to something else... maybe you can try to disable window decoration in winecfg

im using gnome tried gnome and xorg both btw.
also doing what u told didnt work.

Well that's a weird issue then... I can't really explain why your DE crashes when you launch PS to be fair. maybe an extension ?
To be honest I'm not really sure about how and why this issue happen so I'm sorry if I told you to try things that aren't working. I'm trying to be logic but well I'm not really ;-;

its fine you know it was working with lutris somehow but i reinstalled it and it stopped working bc of some windows update thing. have to try again with wine 8.0.1 version

Maybe you could just try to use the latest wine, it works.

I don't know... I'm working on making a wine build that's shiped with it like with illustrator (thought it doesn't really need modification unlike illustrator...) so maybe it will be fixed... but that's kinda strange to be honest that lutris managed to fix it... maybe a missing library that lutris provide with it's runtime...
It everything is fine I'll let you close the issue.

yeah lutris is using some custom lutris ge proton so maybe that fixed it.
ig for now its fine


alacritty: use patchelf instead of LD_LIBRARY_PATH

If we use LD_LIBRARY_PATH then anything typed into Alacritty inherits it. This
breaks a lot of applications if the versions are different. For me this breaks
everything from Git to every program which uses Gtk.
Motivation for this change
Things done
Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers.

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

[ ] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Why did you close this? Looks like a useful change. :+1:

@fpletz https://github.com/NixOS/nixpkgs/pull/27737


Track activity on dashboard page

Add ability to track activity on the dashboard page through (e.g. using react or GitHub)

I've added a simple analytics component with 2a1ba8a9a852b6eea4435a78c99d11bc523ac837. This is from Plausible Analytics, uses no cookies and gathers very little information, see their privacy policy here.


Maxsize feature

I've added a simple feature to limit max widht & height of images.
There's an example:
https://github.com/ericzon/imgr-example

Is there any problem with this PR?

@jlopezr suggest you start start by adding a test!

sorry, @ericzon.

Hi,
I have implemented some tests for the feature. Can you have a look on this? Your code works wonderfully, but if no whitelist is used and a big enough conversion is requested, gm allocates huge quantities of RAM and thrashing starts... we implemented this feature as an additional security measure.
https://github.com/jlopezr/imgr/commit/ad6acb6b9b146ec8ee932b422d15b3017ecafbf9

Thanks, I'll have a look tomorrow.


How can i build the module by myself?

I cloned the repo by
git clone --recursive https://github.com/Rudokhvist/ASF-Achievement-Manager
Then i am running build.bat, it creates /out/ASF-Achievement-Manager.zip
After that, I am placing the .dll file into ASF plugins folder and error occur, But if i am using the archive from GitHub releases, it works fine.
2024-04-18 18:15:54|ArchiSteamFarm-29332|INFO|ASF|InitPlugins() Инициализация Plugins...
2024-04-18 18:15:54|ArchiSteamFarm-29332|ERROR|ASF|InitPlugins() Не удалось из-за ошибки: ASF-Achievement-Manager, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
2024-04-18 18:15:54|ArchiSteamFarm-29332|ERROR|ASF|InitPlugins() System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at ArchiSteamFarm.Plugins.PluginsCore.InitPlugins()
System.IO.FileNotFoundException:
File name: 'ArchiSteamFarm, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=504f46588cc351a9'
System.IO.FileNotFoundException:
File name: 'ArchiSteamFarm, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=504f46588cc351a9'
System.IO.FileNotFoundException:
File name: 'ArchiSteamFarm, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=504f46588cc351a9'
System.IO.FileNotFoundException:
File name: 'ArchiSteamFarm, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=504f46588cc351a9'
System.IO.FileNotFoundException:
File name: 'ArchiSteamFarm, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=504f46588cc351a9'
System.IO.FileNotFoundException:
File name: 'ArchiSteamFarm, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=504f46588cc351a9'
System.IO.FileNotFoundException:
File name: 'ArchiSteamFarm, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=504f46588cc351a9'
System.IO.FileNotFoundException:
File name: 'ArchiSteamFarm, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=504f46588cc351a9'

You need to specify ASF version that you want to target. So, basically run build.bat <your_asf_version>, like build.bat <IP_ADDRESS> for example.


LookupError for run_sync when trying to update UI via the FastAPI endpoint

I'm running FastAPI with Chainlit, and running into issues when trying to enable UI updates (sending messages) via a FastAPI Endpoint.
The examples in documentation are non-existent, and a cookbook example with fastAPI also doesn't exist.
I'm trying to serve endpoints via FastAPI (for example, display message) that would update the UI, but whenever i try to call a function (wrapped in run_sync) that would update the ui (await cl.Message(...).send()), either the routine is not awaited 'coroutine 'send_message' was never awaited', or i get a LookupError:

To Reproduce
chain.py:
import chainlit as cl

@cl.on_chat_start
async def main():
    await cl.Message(content="Hello World").send()

async def send_message(msg):
    await cl.Message(content=msg).send()

main.py:
from chainlit import run_sync
from chainlit.utils import mount_chainlit
from chain import send_message

app = FastAPI()

@app.get("/app")
def read_main():
    run_sync(send_message('test'))
    return {"message": "Hello World from main app"}

mount_chainlit(app=app, target="chain.py", path="/chainlit")

Expected behavior
More documentation on updating the UI via FastAPI endpoints (or on run_sync) is needed

If i try to call the await cl.Message  function directly from the FastAPI file, i get "chainlit.context.ChainlitContextException: Chainlit context not found"
And if i call it via a function imported from the ChainLit file, i get the "coroutine 'send_message' was never awaited" error

Take a look at this documentation pointer on how to integrate HTTP and websocket context into FastAPI.  Without appropriate websocket context, emitter won't know what to do.
https://docs.chainlit.io/deploy/api#use-chainlit-apis-in-your-endpoint

Closing this for now as I consider the question answered. @MA3CIN If you have more trouble with this, feel free to open again (providing additional clarification for reproduction).


Direct Name Failing when creating sheet metal flat pattern

When I try and create a flat pattern in sheet metal, it errors out. I am using latest version of F360

Hi, it seems to be a bug when accessing app_.activeProduct in Fusion. I changed it to check design.activeProduct instead and now it seems that the errors are gone. There is no name prompting in the flat pattern editor, but at least there are no errors.
Please try this release: https://github.com/thomasa88/DirectName/releases/download/v1.3.1/DirectName-v1.3.1.zip
Either replace the existing installed DirectName.py file or uninstall the installed version and follow these instructions for "installing" the zip file: https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-install-an-ADD-IN-and-Script-in-Fusion-360.html
I will send an update to the app store once I have confirmation that it works :).
Original report: https://apps.autodesk.com/FUSION/en/Detail/Index?id=7497198800232664541&appLang=en&os=Mac#9035463451030799641

Thanks Thomas. I am not getting the errors anymore. Thanks for your time and effort to correct it. I really like the add-in.
Pat
From: Thomas Axelsson @.>
Sent: Monday, June 17, 2024 6:17 AM
To: thomasa88/DirectName @.>
Cc: patl1 @.>; Author @.>
Subject: Re: [thomasa88/DirectName] Direct Name Failing when creating sheet metal flat pattern (Issue #11)
Hi, it seems to be a bug when accessing app_.activeProduct in Fusion. I changed it to check design.activeProduct instead and now it seems that the errors are gone. There is no name prompting in the flat pattern editor, but at least there are no errors.
Please try this release: https://github.com/thomasa88/DirectName/releases/download/v1.3.1/DirectName-v1.3.1.zip
Either replace the existing installed DirectName.py file or uninstall the installed version and follow these instructions for "installing" the zip file: https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-install-an-ADD-IN-and-Script-in-Fusion-360.html
I will send an update to the app store once I have confirmation that it works :).
Original report: https://apps.autodesk.com/FUSION/en/Detail/Index?id=7497198800232664541 https://apps.autodesk.com/FUSION/en/Detail/Index?id=7497198800232664541&appLang=en&os=Mac#9035463451030799641 &appLang=en&os=Mac#9035463451030799641
—
Reply to this email directly, view it on GitHub https://github.com/thomasa88/DirectName/issues/11#issuecomment-2173372113 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AG7WVZYDCSYQ7SFEEEDYLYDZH3OTFAVCNFSM6AAAAABJE2MJY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTGM3TEMJRGM .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AG7WVZ65OYPZVZC6PQFVFMDZH3OTFA5CNFSM6AAAAABJE2MJY6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUBRMDNC.gif Message ID: @.*** @.***> >

Thanks for the confirmation and glad to hear that you like the add-in!
I will submit the updated version to Autodesk.


Deprecation warning in Python 3.11

  /Users/xxx/Workspace/Backend/venv/lib/python3.11/site-packages/anyascii/__init__.py:29: DeprecationWarning: read_binary is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
    b = read_binary('anyascii._data', '%03x' % blocknum)

read_binary will eventually be removed in later version of Python.
They recommend using .open('rb')
https://docs.python.org/3/library/importlib.resources.html#importlib.resources.read_binary

Thanks! ^^


new version / patch making change in EVERY file

whenever the version number is updated, ALL files have an irrelevant, annoying change in them. please make it stop.

done with https://github.com/ehmpathy/dynamodb-dao-generator/pull/7


Implement Task #722

Add code to clean browser cache and show message to the user

Hi @ChintanRathod, I think the requirement is to clear the cache of the Web3View in DappBrowserFragment?
@tomekalphawallet would you require a dialog for user confirmation before clearing the cache?

@justindg I understand, but Web3View is ultimately using WebView as base and it has all implementation. Please check this link which defines if WebView cache directory is wiped, it's associated all instance data will be wiped because of single location cache mechanism used by Android OS.

I'll have to check it but if it works it's a clever solution!

@ChintanRathod please add me as reviewer on pull requests

@justindg I understand, but Web3View is ultimately using WebView as base and it has all implementation. Please check this link which defines if WebView cache directory is wiped, it's associated all instance data will be wiped because of single location cache mechanism used by Android OS.
As defined in supporting document of Google, it is not necessary to clear the cache at used instance. We can wipe anywhere in the application as cache used by WebView is common per application basis.

Never knew this, this is brilliant!

@JamesSmartCell, please review this.
@justindg Thank you :)


Next Zuul release (v1.2.3, v1.3)

There are a number of changes in 1.x that haven't been released. Are there any blockers or a date scheduled for the next release?
https://github.com/Netflix/zuul/compare/v1.2.2...1.x

1.2.3 was creaed and released

@mikeycohen I don't see 1.2.3 in central http://repo1.maven.org/maven2/com/netflix/zuul/zuul-core/

ping @mikeycohen

@spencergibb I fixed some failing unit-tests, and got the latest pushed to maven now. Unfortunately I accidentally did a minor rather than patch release, so it's 1.3.0.

NP, thanks!


PHP warnings viewing user profile

PHP warnings:

Code
Warning
Line

include()
Undefined index: torrents
/sections/user/community_stats.php:8

include()
Undefined index: artist
/sections/user/community_stats.php:9

include()
Undefined index: collages
/sections/user/community_stats.php:10

include()
Undefined index: requests
/sections/user/community_stats.php:11

include()
Undefined index: AutoloadCommStats
/sections/user/community_stats.php:245

Changing
https://github.com/OPSnet/Gazelle/blob/d9920427fd09c37434a2a6634baf3dbb16339f85/sections/user/community_stats.php#L8-L11
to
$NumComments = array_key_exists('torrents', $Comments) ? $Comments['torrents'][1] : floatval('');
$NumArtistComments = array_key_exists('artist', $Comments) ? $Comments['artist'][1] : floatval('');
$NumCollageComments = array_key_exists('collages', $Comments) ? $Comments['collages'][1] : floatval('');
$NumRequestComments = array_key_exists('requests', $Comments) ? $Comments['requests'][1] : floatval('');

should take care of the first 4 warnings, if I'm not mistaken. The last warning I'm not seeing in vagrant.


Extends syntax conflicts with selector grouping

I love how standard css seems to "just work" with csjs but I've noticed an ambiguity surrounding the extends syntax and css selector grouping, due to the use of commas to separate both selectors and extend targets.
.styleA,
.styleB {
  background: red;
}

.styleA extends .baseStyle,
.styleB {
  background: red;
}

If I'm understanding you correctly, in the latter case you are hoping for something like below?:
{"styleA": "styleA_scoped baseStyle_scoped", "styleB_scoped": "styleB_scoped"}

.styleA_scoped,
.styleB_scoped {
  background: red;
}

Where .styleA is a composition of .baseStyle and {background: red}, but .styleB is only {background: red}.
Currently, only selectors with a single class selector can extend another class, and all selectors following an extends is greedily treated as part of the extends. This is certainly limiting, but I think technically unambiguous albeit potentially confusing.
You could do something like this:
.styleA,
.styleB {
  background: red;
}

.styleA extends .baseStyle {}

I'll admit this is a bit verbose.
I'm open to syntax alternatives that might be more powerful, but the current extension seems sufficient for most use cases.

Sorry, I could've been clearer but you've got it. It's certainly something you can work around once you understand it but it seems like a tweak in syntax could remove the ambiguity. One option would be parentheses:
.styleA extends (.base1, .base) {
  background: red;
}

Or perhaps the comma between selectors isn't necessary at all?
.styleA extends .base1 .base {
  background: red;
}

Ambiguity isn't the right word, it's more about intuition - being able to guess the result of the syntax without looking it up in the docs or trying it out.
On futher thought, my second suggestion of dropping the commas makes .styleA look like it extends a descendent selector .base1 .base . Parentheses seem like a better choice and could be optional and therefore non-breaking.

Cool, I had originally thought of using parens but determined they weren't necessary -- but I hadn't considered the use case you brought up.
You make a good point about intuitiveness/clarity of developer intent vs ambiguity! I'll look into implementing optional parens syntax. I suspect it should be pretty straightforward. But PRs would be accepted!

Great! I can take a look at the tests.
I've realised parens couldn't really be optional. They needn't be required when extending from a single rule but would be when extending from many else we're back to the current situation.

Closing this for now. I think it's worth investigating syntax in a future version, where maybe we could make a breaking change.


Fix Rounding-Issues with shipping costs and refunds

We had an issue, where an unrounded amount for shipping was sent to Payone API resulting in an error. Woocommerce seems to be returning a rounded number for "shipping_total" but an unrounded amount for "shipping_tax" resulting in a false amount when adding. Adding round() will prevent this issue from causing problems.
Example: 1,95 shipping cost will falsely be sent to the API as 195.1345.

The change from the PR does make sense as it is. The round() function is indeed already used in other places. I would only modify the line like this:
'pr' =\> (int) round( 100 \* ( $refund_data\['shipping_total'\] + $refund_data\['shipping_tax'\] ) ),
This is because the return value of round() is a float, but we also want to ensure that it is an int.

You are right. I added a change to include the int declaration.


fix: Fixes issue #634

This pull request implements a fix from issue https://github.com/juliansteenbakker/mobile_scanner/issues/634

Thanks for the PR.
While this solves the buffer issue, this introduces a noticeable lag after a few seconds and skips a few frames resulting in a jank. I will see if I can get a screen recording.

any news about this PR?

Any news on this merge? Can confirm this helps.

Is the repository still being maintained?

Sorry for the late response, LGTM!


Hash an actual credential for verifyNoCredential so the timing is input-dependent

@markhibberd

Was there any change in the benchmarks?

Sorry, put this on the wrong PR.
 NaN R²)
mean                 1.772 s    (1.768 s .. 1.774 s)
std dev              3.777 ms   (0.0 s .. 4.261 ms)
variance introduced by outliers: 19% (moderately inflated)

benchmarking kdf/scrypt/verifyNoCredential/defaultParams
time                 1.781 s    (1.555 s .. 2.069 s)
                     0.997 R²   (0.990 R² .. 1.000 R²)
mean                 1.845 s    (1.783 s .. 1.883 s)
std dev              57.59 ms   (0.0 s .. 65.79 ms)
variance introduced by outliers: 19% (moderately inflated)

👍 But I would like the salt change if there are no objections (don't mind if a different change to this though).


[style]:  Redesigning a the website with Figma. [GSSoC'23]

What's the style idea?
We need to improve  The style of the website. the design of the website is too basic. I can create a good figma file for a new design for the website. Starting with buttons I have designed a few buttons that can replace the existing buttons on website.
Add screenshots
Add screenshots
Existing buttons can be replaced by:

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Please assign me this issue under GSSoC'23

We intentionally made the website look as it does now. If you have any ideas for enhancing the website based on the current theme, you can start working on it. @1Shubham7

Ok @JasonDsouza212  . I will show you some ideas.


TF201077: The work item type Product Backlog Item cannot be found.

I'm having some problem with Importing tickets from JIRA due to problem with mapping types.
  "type-map":{
    "type": [
      {
        "source": "Feature",
        "target": "Feature"
      },
 .....
      {
        "source": "Story",
        "target": "Product Backlog Item"
.....
      {
        "source": "Task",
        "target": "Product Backlog Item"
      }

ech of tickets stored in Json starts with :
{"Type":"Product Backlog Item", "OriginId":"ITSWBIOE-721","WiId":-1,

what leads to an error
[Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeDeniedOrNotExistException] TF201077: The work item type Product Backlog Item cannot be found. It may have been renamed or destroyed.:
   w Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeCollection.get_Item(String typeName)
   w WorkItemImport.Agent.CreateWI(String type)
   w WorkItemImport.ImportCommandLine.ExecuteMigration(CommandOption token, CommandOption url, CommandOption configFile, Boolean forceFresh)

If I understand it correctly, there's no match in target schema for this type, I believe I should remap it somehow ? I was thinking about :
     {
        "source": "Story",
        "target": "User Story"
      },

and
      {
        "source": "Task",
        "target": "Task"
      },

Hi @eeerrrwwwuuu, you are right that if the work item types don't exist in your target azure devops project (like Product Backlog Item in your case) it will err out and agree that the error could be better. I'll see if we can improve that.
But the solution is as you describe to map to the correct types (User Story in your case).

Fixed in release 2.2.x


Updated Grammers in v8.2.0 broke syntax highlighting for Allman style indentation.

After I updated to v8.2.0 I noticed my synatx highlighting was a little off.
Example of broken highlighting:

Expected highlighting:

If I change my example class to conform to a K&R style indentation then the highlighting works correctly.

If I reverse the changes made by: 1faf60737494d8c0123883d775d487530b622515 I get my expected highlighting back.

/cc @blakeembrey :rose:

My syntax colors are completely gone for typescript .ts  files.  My html files still show colors for different syntax elements, but all my .ts files became black and white in atom sometime in late January. I've been fussing with the tsconfig.json in the hope of restoring color syntax, but nothing changes.  I use atom's One Light for both UI and Syntax.  I've tried changing to other atom standard offerings, but the .ts files are black and white with all of them - for me.  Need help.


TypeError: 'str' object is not callable

Describe the bug
X_res, y_res = gsomo.fit_resample(X, y)
The above code execution will report an error and cannot synthesise a minority class sample.
Steps or code to reproduce the bug
import numpy as np
from imblearn_extra.clover.over_sampling import GeometricSOMO
from sklearn.datasets import make_blobs
blobs = [100, 800, 100]
X, y  = make_blobs(blobs, centers=[(-10, 0), (0, 0), (10, 0)])
X = np.concatenate([X, [[0, 0]]])
y = np.append(y, 0)
y = y == 1
gsomo = GeometricSOMO(random_state=42)
X_res, y_res = gsomo.fit_resample(X, y)
right, left = X_res[:, 0] > -5, X_res[:, 0] < 5
n_res_in_middle = (right & left).sum()
print("Samples in the middle blob: %s" % n_res_in_middle)
unchanged = n_res_in_middle == blobs[1] + 1
print("Middle blob unchanged: %s" % unchanged)
more_zero_samples = (y_res == 0).sum() > (y == 0).sum()
print("More 0 samples: %s" % more_zero_samples)
Expected Results
X_res, y_res = gsomo.fit_resample(X, y)
I would expect the above code to run properly out of x_res and y_res.
Actual Results
Traceback (most recent call last):
File "E:\PyCharm\SNNDPC-SMOTE\Test.py", line 26, in
X_res, y_res = gsomo.fit_resample(X, y)
File "C:\Users\MH.conda\envs\py310\lib\site-packages\imblearn_extra\clover\over_sampling_cluster.py", line 418, in fit_resample
self._check(X, y).fit(X, y, **fit_params)
File "C:\Users\MH.conda\envs\py310\lib\site-packages\imblearn_extra\clover\over_sampling_cluster.py", line 509, in fit
self.clusterer.fit(X, y, **fit_params)
File "C:\Users\MH.conda\envs\py310\lib\site-packages\imblearn_extra\clover\clusterer_som.py", line 249, in fit
self.algorithm.train(data=X_scaled, **fit_params)
File "C:\Users\MH.conda\envs\py310\lib\site-packages\minisom.py", line 434, in train
self.update(data[iteration], self.winner(data[iteration]),
File "C:\Users\MH.conda\envs\py310\lib\site-packages\minisom.py", line 340, in update
eta = self._decay_function(self._learning_rate, t, max_iteration)
TypeError: 'str' object is not callable
Environment
1、python==3.10.15
2、imbalanced-learn-extra==0.2.4
3、windows11

Hi @AkinaMH,
The latest update of MiniSom introduced breaking changes to their API. I have updated the project's dependencies and made a new release. You can install version 0.2.5.

You don't need to install MiniSom seperately, just install imbalanced-learn-extra. It seems like you are not activating the environment before using it.
I suggest to do the following:

Create a new Pythov virtual environment (version 3.10.x or 3.11.x or 3.12.x).
Activate the above Python virtual environment.
pip install imbalanced-learn-extra

Then check your script again.

I have Python==3.10.15 and have activated the environment, I have tried removing the Minisom library and still have the error. If I remove both the Minisom and imbalanced-learn-extra libraries and then reinstall imbalanced-learn-extra, it still installs Minisom automatically!

I have Python==3.10.15 and have activated the environment, I have tried removing the Minisom library and still have the error.

If the shell command  python -c "import imblearn_extra" returns an error then you are not using the correct Python environment. Your questions are not related to imbalanced-learn-extra.

If I remove both the Minisom and imbalanced-learn-extra libraries and then reinstall imbalanced-learn-extra, it still installs Minisom automatically!

Minisom is a dependency of imbalanced-learn-extra. This is the expected behaviour.

How about the following commands:

python -c "from minisom import MiniSom"
python -c "from imblearn_extra.clover.over_sampling import GeometricSOMO"

(py310) PS E:\PyCharm\SNNDPC-SMOTE> python -c "from minisom import MiniSom"
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'minisom'

(py310) PS E:\PyCharm\SNNDPC-SMOTE> python -c "from imblearn_extra.clover.over_sampling import GeometricSOMO"
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\MH.conda\envs\py310\lib\site-packages\imblearn_extra\clover\over_sampling_init_.py", line 14, in
from .gsomo import GeometricSOMO
File "C:\Users\MH.conda\envs\py310\lib\site-packages\imblearn_extra\clover\over_sampling_gsomo.py", line 19, in
from ..clusterer import SOM
File "C:\Users\MH.conda\envs\py310\lib\site-packages\imblearn_extra\clover\clusterer_init.py", line 3, in
from ._som import SOM, extract_topological_neighbors, generate_labels_mapping
File "C:\Users\MH.conda\envs\py310\lib\site-packages\imblearn_extra\clover\clusterer_som.py", line 12, in
from minisom import MiniSom
ModuleNotFoundError: No module named 'minisom'

What does the shell command pip list | grep MiniSom return?

(py310) PS E:\PyCharm\SNNDPC-SMOTE> pip list | grep MiniSom
grep : 无法将“grep”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写，如果包括路径，请确保路径正确，然后再试一次。
所在位置 行:1 字符: 12

pip list | grep MiniSom

       ~~~~

CategoryInfo          : ObjectNotFound: (grep:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException

I updated the previous command to be compatible with Windows.


Comprehensive List of Power Automate Connectors Without Equivalent Logic Apps Connectors

In this documentation page, you mention that there are a few Power Automate triggers and connectors that prevent export because they do not have Logic App equivalents.
Is there a comprehensive way to find all Power Automate triggers/connectors that would run into this issue?

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

ID: f3cfabdb-11da-028e-d601-85b99c32f9b9
Version Independent ID: 143d1fbe-d125-366f-26f6-7e4cedc3ee4e
Content: Export flows from Power Automate to Azure Logic Apps - Azure Logic Apps
Content Source: articles/logic-apps/export-from-microsoft-flow-logic-app-template.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

Hi @seesharprun,
Thanks for reaching out! Try the Connectors docs, which now have pages that show whether Power Automate connectors are available in Logic Apps and vice versa, based on their icons:

To find which Power Automate connectors are available in Logic Apps, see Power Automate connectors.

To find which Logic Apps connectors are available in Power Automate, see Logic Apps connectors.

I'll add links for these pages to this topic.

#assign @ecfan
@PramodValavala-MSFT, @mike-urnun-msft, or @DixitArora-MSFT, please add the "doc-enhancement" label? Thanks!

@seesharprun, the update is now live.


archer v1.8.4初始化报错

#执行此命令时报错
python3 manage.py makemigrations sql
[root@4424d1f7ed11 archery]# source /opt/venv4archery/bin/activate
(venv4archery) [root@4424d1f7ed11 archery]# python3 manage.py makemigrations sql
/opt/venv4archery/lib/python3.9/site-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
Traceback (most recent call last):
File "/opt/archery/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/opt/venv4archery/lib/python3.9/site-packages/django/core/management/init.py", line 401, in execute_from_command_line
utility.execute()
File "/opt/venv4archery/lib/python3.9/site-packages/django/core/management/init.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/venv4archery/lib/python3.9/site-packages/django/core/management/base.py", line 330, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/venv4archery/lib/python3.9/site-packages/django/core/management/base.py", line 368, in execute
self.check()
File "/opt/venv4archery/lib/python3.9/site-packages/django/core/management/base.py", line 392, in check
all_issues = checks.run_checks(
File "/opt/venv4archery/lib/python3.9/site-packages/django/core/checks/registry.py", line 70, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "/opt/venv4archery/lib/python3.9/site-packages/django/core/checks/urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "/opt/venv4archery/lib/python3.9/site-packages/django/core/checks/urls.py", line 23, in check_resolver
return check_method()
File "/opt/venv4archery/lib/python3.9/site-packages/django/urls/resolvers.py", line 412, in check
for pattern in self.url_patterns:
File "/opt/venv4archery/lib/python3.9/site-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/opt/venv4archery/lib/python3.9/site-packages/django/urls/resolvers.py", line 593, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/opt/venv4archery/lib/python3.9/site-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/opt/venv4archery/lib/python3.9/site-packages/django/urls/resolvers.py", line 586, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/local/python3/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/opt/archery/archery/urls.py", line 7, in
path('api/', include(('sql_api.urls', 'sql_api'), namespace="sql_api")),
File "/opt/venv4archery/lib/python3.9/site-packages/django/urls/conf.py", line 34, in include
urlconf_module = import_module(urlconf_module)
File "/usr/local/python3/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/opt/archery/sql_api/urls.py", line 7, in
from . import api_user, api_instance, api_workflow
File "/opt/archery/sql_api/api_user.py", line 6, in
from .pagination import CustomizedPagination
File "/opt/archery/sql_api/pagination.py", line 7, in
class CustomizedPagination(PageNumberPagination):
File "/opt/archery/sql_api/pagination.py", line 11, in CustomizedPagination
page_size = settings.REST_FRAMEWORK['PAGE_SIZE'] if 'PAGE_SIZE' in settings.REST_FRAMEWORK.keys() else 20
File "/opt/venv4archery/lib/python3.9/site-packages/django/conf/init.py", line 83, in getattr
val = getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'REST_FRAMEWORK'

参考 #1502

手动处理：
修改 src/docker-compose/archery/settings.py 添加以下配置，或直接下载最新文件覆盖，重启
https://github.com/hhyo/Archery/blob/5a7d666d95321d4e63cc6043a749cbc44246051a/src/docker-compose/archery/settings.py#L6
https://github.com/hhyo/Archery/blob/5a7d666d95321d4e63cc6043a749cbc44246051a/src/docker-compose/archery/settings.py#L36-L38
https://github.com/hhyo/Archery/blob/5a7d666d95321d4e63cc6043a749cbc44246051a/src/docker-compose/archery/settings.py#L178-L219

OK，Very Nice


Implement FFBS in Aesara

We need an Aesara implementation of FFBS.

Should this go in aesara-devs/aemcmc ?

Should this go in aesara-devs/aemcmc ?

It could, but, for now, this is the only project that explicitly needs it, so we should work on the implementation here.


Custom delimiter configuration isn't loaded for CSV import

On 'CSV to Database configuration' the field for custom delimiter configuration isn't loaded when choosing 'Other' - due to violation of Content Security Policy (CSP) by static nonce on script. The issue isn't present the first time the page is loaded, but upon every following visit to the page.
How to reproduce the bug

Leave Superset with default TALISMAN configuration
Add database connection and under 'Advances'->'Security' check 'Allow file uploads to database'
In browser open development tools, so you can see the source HTML
Go to 'Data' -> 'Upload CSV to database'
Select on Delimiter: 'Other'
If you are opening this page first time, reload the page to see the error

Expected results
A free text input field under 'Enter a delimiter for this data' is loaded. No CSP errors.

Actual results
No text input field is loaded, instead in the Dev console of the browser you can see the following error:
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'strict-dynamic' 'nonce-A3G08VMJ0tosJ5Wlse9kLCHiqfipHohf'". Either the 'unsafe-inline' keyword, a hash ('sha256-LDZ4ztcGb3PpryC0w3Ox6TyZleJKsSIt1Vu4Zay22rE='), or a nonce ('nonce-...') is required to enable inline execution.
Screenshots

In the html script one can see that the nonce set on the script handling the delimiter does not refresh along with the other nonces on the page when the page is refreshed but instead stays static.
Environment
(please complete the following information):

browser type and version: Chrome 119.0.6045.200
superset version: 3.0.1
python version: 3.9.18
node.js version: node -v
any feature flags active:{
"ALLOW_DASHBOARD_DOMAIN_SHARDING": true,
"CLIENT_CACHE": false,
"DISABLE_DATASET_SOURCE_EDIT": false,
"DYNAMIC_PLUGINS": false,
"ENABLE_EXPLORE_JSON_CSRF_PROTECTION": false,
"ENABLE_TEMPLATE_PROCESSING": false,
"KV_STORE": false,
"PRESTO_EXPAND_DATA": false,
"THUMBNAILS": false,
"DASHBOARD_CACHE": false,
"REMOVE_SLICE_LEVEL_LABEL_COLORS": false,
"SHARE_QUERIES_VIA_KV_STORE": false,
"SIP_38_VIZ_REARCHITECTURE": false,
"TAGGING_SYSTEM": false,
"SQLLAB_BACKEND_PERSISTENCE": false,
"LISTVIEWS_DEFAULT_CARD_VIEW": false,
"DRILL_TO_DETAIL": true,
"ENABLE_REACT_CRUD_VIEWS": true,
"DISPLAY_MARKDOWN_HTML": true,
"ESCAPE_MARKDOWN_HTML": false,
"DASHBOARD_NATIVE_FILTERS": true,
"GLOBAL_ASYNC_QUERIES": false,
"VERSIONED_EXPORT": true,
"ROW_LEVEL_SECURITY": false,
"ALERT_REPORTS": true
}

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

Using TALISMAN_ENABLED = False negates the issue.
Opening the page in another browser or incognito mode shows that the element presents the same static nonce.
Adding 'unsafe-inline' to  'script-src' isn't a solution as it is ignored due to the nonce being present.

I assume you're still facing this in Superset 3.1 / 4.x as we haven't changed much in Talisman configs.
Are you able to add unsafe-inline to script-src to work around this? CC @michael-s-molina @kgabryje who might know more about the nonce implementation.

This is coming a bit late but I found a fix.
Instead of using the usual import you can use a similar Jinja macro inside the template like this:
{% with nonce=csp_nonce() %}   {% include 'superset/form_view/database_schemas_selector.html' %} {% endwith %}
Which ensures that the nonces it sets is the same one as of all the other scripts that are inside the template and didn't need to be imported.

I have also the issue on superset 4.0.2


Cannot get value for projected field Manager_x005f_EMail.

I'm trying to get users using pnp js through people picker field but,I'm (Cannot get value for projected field Manager_x005f_EMail) select query.
My users are active yet,i'm not able to get EMail.

Hi @DesireHarsh11,
Does your issue still occur? If so, do you have a code snippet to share, in order to better understand what you're trying to achieve?

I have the same issue. If there are several inserted elements, then you can get only Id and Title using expand. Other fields cannot be obtained if several elements are inserted
.items.select(
'person/Title',
'person/avatar',
'person/Id',
)
.expand('person')
Cannot get value for projected field avatar. If items inserted only one, that everything work fine and i can get field avatar.

Today I am getting the same issue email address is not readable - *....sharepoint.com/sites/IGM/_api/web/lists/GetByTitle('Taxonomy')/items?$expand=ReadPermission&$select=Id,Title,ReadPermission/ID,ReadPermission/EMail
Reposnse
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>-2146232832, Microsoft.SharePoint.SPException</m:code>
<m:message xml:lang="en-US">Cannot get value for projected field ReadPermission_x005f_EMail.</m:message>
</m:error>
even if i Wittle the query down to a min - works for title and ID, but not EMail - ?$expand=ReadPermission&$select=ReadPermission/EMail    -


SOLR-15930 - Fix typos in the Solr tutorial

Description
Hello,
This is just a tiny pull request to fix two typos found reading the Solr tutorial.
(Sorry, I had already created the Jira ticket before reading the "How to contribute")
Have a nice day.
Checklist
Please review the following and check all that apply:

[X] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[X] I have created a Jira issue and added the issue ID to my pull request title.
[X] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[X] I have developed this patch against the main branch.
[ ] I have run ./gradlew check.
[ ] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

I love these types of fixes!!!!

If you feel ambitious and looking for another contribution, after looking at this PR, I created https://issues.apache.org/jira/browse/SOLR-15931.


[varLib.merger] Merging of makeotf-generated GPOS tables results in missing kern pairs

This is sort of a segue of issue #888. In that issue, the GPOS tables of the master fonts were compiled with feaLib. If the GPOS tables of the master fonts are instead compiled with makeotf, the resulting variable font will not have some kern pairs that were present in the master fonts.
Test files are available at https://github.com/adobe-fonts/source-sans-pro/blob/no-greek-cyrillic-kerning/RomanMasters/build_vf.py
The test string I've been using is LTaVAWATA.

@behdad do you think 1b5e1c4b062acf3d6ece6b6d81737f6685613773 will fix this issue?

@behdad do you think 1b5e1c4 will fix this issue?

I don't know.  That wasn't motivated by this bug.  I plan to debug this soon.

The rest of this issue is to resolve the TODO item that currently only allows one PairPosFormat2 subtable if the coverages are not identical.  The way AFDKO generates optimized subtables violates that.  Fixing it properly will take some time, so I'm going to leave this for now and work on https://github.com/fonttools/fonttools/issues/950 which seems to be a genuine bug rather than shortcoming.

I believe I've address this all.


Can't navigate backward from controls page to MAUIAllControlsPage

MAUIAllControlsPage

Detail Control Page - Notice there's a back button on top

When MAUIAllControlsPage navigate to DetailControl is fine but when trying to navigate back nothing is happen
Implementation
private void ControlCardContentView_DetailClicked(string route) {
    viewModel.NavigateToDetailCommand.Execute(route);
}

Location MAUIAllControlsPage.cs

I think I found my problem I didn't have enough knowledge to design the navigation pattern with shell
@tuyen-vuduc  can you help me design the navigation pattern which meet the below navigation map ?


Feat/Add ExternalSecrets to saas-operator

Solves part of https://github.com/3scale-ops/saas-operator/issues/140

It has been added the possibility to create ExternalSecrets CRs by extending current VaultSecretReference struct with 3 new optional fields needed by ExternalSecret CR, using some sane and current default values, so all current saas-operator CRs won't need to be updated with the new fields (secretStoreRef{} and refreshInterval)
The ExternalSecret API has been extracted from upstream https://github.com/external-secrets/external-secrets/tree/main/apis/externalsecrets/v1alpha1, by only using specific needed files (not all ESO CRs are used), and a bit of cleanup on the register.go file with not needed vars
The ExternalSecret resource has been added on both basereconcilers v1 and v2, so it should be easy to be integrated on any workload
All CRDs with secrets has been updated with the new ExternalSecret fields, but in case of being specified on the CR, for the moment they are ignored because SecretDefinition are the ones being used, the replacement will come on future PRs (the first one to implement  ExternalSecret  will be CORSProxy, one of the least important workloads using secrets)

/kind feature
/priority important-soon
/assign

/lgtm

/lgtm

/lgtm

/approve


[SPARK-42340][CONNECT][PYTHON] Implement Grouped Map API

What changes were proposed in this pull request?
Implement Grouped Map API:GroupedData.applyInPandas and GroupedData.apply.
Why are the changes needed?
Parity with vanilla PySpark.
Does this PR introduce any user-facing change?
Yes. GroupedData.applyInPandas and GroupedData.apply are supported now, as shown below.
>>> df = spark.createDataFrame([(1, 1.0), (1, 2.0), (2, 3.0), (2, 5.0), (2, 10.0)],("id", "v"))
>>> def normalize(pdf):
...     v = pdf.v
...     return pdf.assign(v=(v - v.mean()) / v.std())
...
>>> df.groupby("id").applyInPandas(normalize, schema="id long, v double").show()

+---+-------------------+
| id|                  v|
+---+-------------------+
|  1|-0.7071067811865475|
|  1| 0.7071067811865475|
|  2|-0.8320502943378437|
|  2|-0.2773500981126146|
|  2| 1.1094003924504583|
+---+-------------------+

>>> @pandas_udf("id long, v double", PandasUDFType.GROUPED_MAP)
... def normalize(pdf):
...     v = pdf.v
...     return pdf.assign(v=(v - v.mean()) / v.std())
...
>>> df.groupby("id").apply(normalize).show()
/Users/xinrong.meng/spark/python/pyspark/sql/connect/group.py:228: UserWarning: It is preferred to use 'applyInPandas' over this API. This API will be deprecated in the future releases. See SPARK-28264 for more details.
  warnings.warn(
+---+-------------------+
| id|                  v|
+---+-------------------+
|  1|-0.7071067811865475|
|  1| 0.7071067811865475|
|  2|-0.8320502943378437|
|  2|-0.2773500981126146|
|  2| 1.1094003924504583|
+---+-------------------+

How was this patch tested?
(Parity) Unit tests.

@zhengruifeng @HyukjinKwon May I get a review, please?

A grouped data can also be created via df.roll/cube/pivot, do they works with applyInPandas ?

As long as the input relation is GroupedData, applyInPandas works.
An example is as shown below:
>>> df = spark.createDataFrame([(1, 1.0), (1, 2.0), (2, 3.0), (2, 5.0), (2, 10.0)],("id", "v"))
>>>
>>> def normalize(pdf):
...     v = pdf.v
...     return pdf.assign(v=(v - v.mean()) / v.std())
...

>>> df.cube('id').applyInPandas(normalize, schema="id long, v double").show()
+---+-------------------+
| id|                  v|
+---+-------------------+
|  1|-0.7071067811865475|
|  1| 0.7071067811865475|
|  2|-0.8320502943378437|
|  2|-0.2773500981126146|
|  2| 1.1094003924504583|
+---+-------------------+

>>> df.rollup('id', df.v).applyInPandas(normalize, schema="id long, v double").show()
+---+----+
| id|   v|
+---+----+
|  1|null|
|  1|null|
|  2|null|
|  2|null|
|  2|null|
+---+----+

# I didn't find `df.pivot` in vanilla PySpark.

(the same result as vanilla PySpark).
CC @zhengruifeng

Rebased to the latest master; no new changes after reviews.

Merged to master and branch-3.4.

It has a conflict with 3.4. mind creating a PR to backport this?

Sure, I'll do. Thanks @HyukjinKwon!


Use CompactStr

Summary

Test Plan

Current dependencies on/for this PR:

main

PR #6174   👈

This comment was auto-generated by Graphite.

The way, compact is - Yoda.

The way, compact is - Yoda.

I'm a bit disappointed that it doesn't improve performance at all. I need to analyze the memory usage to understand if it is worth it.

Your benchmark files are too small for compact string to take into effect. I only noticed difference when I started linting a few thousand files, there will be a tiny "drop" period for all the individual allocations.

Take a look at your max RSS to verify allocations are reduced? Or use dhat.

Have you benchmarked with hyperfine or Instruments (or comparable)?

Thanks for the suggestions. I'll give the cpython benchmark a try and do some valgrind/dhat profiling. Let's see when I have time for it, I'm not really supposed to work on this 😅

Follow your heart @MichaReiser!


Cannot find swift tests with Xcode 10

Fixed in https://github.com/lyndsey-ferguson/xctest_list/tree/v1.1.5


Runtime error: log() is not a function

Hello!
I couldn't run the PoC off-the-shelves, because of logging functions i.e., log(LOG_INFO, ...), etc.
Yes I can run the PoC by replacing log with console.log, or just removing loggers, but
I want to know how to run the PoC without any modifications
Thanks!

I am closing the issue, since due to my mistake the log function was deleted. and now I found it!
Thanks!


[Spelling alphabet] Add mappings for all punctuations and digits

Currently, only Stop character and digits are mapped but not in all languages. It would be nice to unify those

This won't make it into the cryptii project, as of now. However, we can bring your work into a new operation for ciphereditor. See #129 for more.


ThemePackage.getStylesheetsPath is deprecated.

Store package style sheets in the styles/ directory instead of stylesheets/ in the metro-ui package
Part of the Atom 1.0 API deprecations.

Fixed in master


unknown keyword: snippet

Hey, I'm currently trying to do an insert_comment method call using the sample code. However, when I run my code I get hit with a unknown keyword: snippet with .rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/google-api-client-0.13.0/generated/google/apis/youtube_v3/service.rb:1211:in 'insert_comment'
properties = {
	'snippet.parentId': '123',
	'snippet.textOriginal': 'hi'
}
resource = create_resource(properties)
response = service.insert_comment('snippet', resource)

Not sure if I'm doing it wrong or if this is an actual issue

However, I am able to successfully leave a comment when I do
snippet = Google::Apis::YoutubeV3::CommentSnippet.new(parent_id: parent_id, text_original: message)
comment = Google::Apis::YoutubeV3::Comment.new(snippet: snippet)

response = service.insert_comment('snippet', comment)

Running into a ruby quirk -- because you're passing a hash as the last param, it's trying to expand it to match the keyword args.
You can work around it by just adding an extra empty hash as the last parameter:
response = service.insert_comment('snippet', resource, {})


Pleas eremove reference to ProPlus

The Microsoft Office OPK requirements specify that ProPlus only be installed for customers who know they will have an E3 or E5 volume license. The only difference between the default required installation of Home Premium and Pro Plus is the installation of Teams / Skype for Business.
Customers who are using Autopilot with another volume license should not be confused by having a non-applicable icon on the desktop for Teams or Skype for Business. Having those icons present would only confuse the customers.
Please update the page to conform with the Microsoft Office OPK licensing requirements.

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

ID: 02d429b1-aae0-6a88-18c0-64fb0f44a655
Version Independent ID: 46a16877-cc5a-ac92-40b7-5235459d3ea7
Content: Windows Autopilot device guidelines - Windows Deployment
Content Source: windows/deployment/windows-autopilot/autopilot-device-guidelines.md
Product: w10
Technology: windows
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

Closing via Greg's commit,
[324c994 ] editing ProPlus info
Thank you.


DCR: Add new SequenceDialog class

Issue
Waterfalls are defined as collection of functions. This works but requires a code behind functionality.
Proposed change
We can get a simple effect of water falls but in a declarative way by creating a new class SequenceDialog.  A SequenceDialog is a ComponentDialog which has a collection of Dialogs.  The policy it uses for execution is to call each dialog in sequence until all of them are done.
If our prompts (and/or dialogs) have the slot property then you can define a sequence of dialogs or prompts that gather all of slots without requiring any code behind at all.
 MinValue="1" MaxValue="100"/>
     </SequenceDialog.Dialogs>
</SequenceDialog>

Depends on DCRs

#5088 - Should be serializable
#5091 - Prompts should have slot property

Component Impact
This is a new class in the dialogs library.
Customer Impact
None, new functionality
Tracking Status
Dotnet SDK

[ ] PR
[ ] Merged

Javascript SDK

[ ] PR
[ ] Merged

Docs

[ ] PR
[ ] Merged

Samples

[ ] PR
[ ] Merged

[dcr]

I don't think we can do this until we figure out how LG is going to work. My comment here is somewhat similar to my comment in #5091.
The issue with statically binding a prompts text to a TextPrompt class is that you then need to figure out how the prompt will access slot filling values when rendering LG templates.  I'm not saying that we can't figure out how to do that I'm just saying that I think we have to understand how LG templates will get rendered before we decide that the pseudo code you're showing is possible.  As I stated in #5091 there are already issues around trying to pass the slot name into TextPrompt.


output file stops working with --type-check flag

Hi,
This works fine
tslint -p tsconfig.json -c tslint.json 'src/**/*.tsx' -o lintResults.txt

But when I use --type-check it fails to write file and logs in stdout instead
tslint --type-check -p tsconfig.json -c tslint.json 'src/**/*.tsx' -o lintResults.txt

This is a code base written by a third party my company hired and its really bad.
I need to analyse it.
I'm trying to get a count of errors when type checked...
The first results with 13665 errors it must be far more with type check but so many I can't scroll to the top of them in terminal.
Is there a way to get it to write files in type-check mode?
Cheers

Currently your files are not linted when there are type check errors. These errors are printed to stderr.
Instead of using -o you can just write stderr to a file with tslint ... 2> lintResult.txt

OK thanks.
Also is there a way to output the actual rule name in the log?
I wrote a script to count the different errors but because some errors use specific values from the code base like:
The class property 'context' must be marked either 'private', 'public', or 'protected'
I cant collate them (without first knowing what they are) for example bellow the lines with The class property are the same rule.
[13664]: TOTAL ERRORS

[176]: statements are not aligned
[69]: file should end with a newline
[1]: space indentation expected
[189]: A maximum of 1 class per file is allowed
[1]: The class property 'context' must be marked either 'private', 'public', or 'protected'
[1]: The class property 'refs' must be marked either 'private', 'public', or 'protected'
[1]: The class property 'state' must be marked either 'private', 'public', or 'protected'
[1]: The class property 'props' must be marked either 'private', 'public', or 'protected'
[1]: The class property 'contextTypes' must be marked either 'private', 'public', or 'protected'
[243]: The class method 'render' must be marked either 'private', 'public', or 'protected'
[1]: Declaration of public static field not allowed after declaration of public instance field. Instead, this should come at the beginning of the class/interface.
[709]: Forbidden 'var' keyword, use 'let' or 'const' instead
...

use -t verbose to use the verbose formatter which includes the rule name

In this file
import {buildModel} from '../src/compile/common';
import {FacetModel} from '../src/compile/facet';
import {LayerModel} from '../src/compile/layer';
import {Model} from '../src/compile/model';
import {UnitModel} from '../src/compile/unit';
import {initConfig} from '../src/config';
import {ExtendedSpec, FacetSpec, LayerSpec, normalize, TopLevel, UnitSpec} from '../src/spec';

export function parseModel(inputSpec: TopLevel<ExtendedSpec>): Model {
  const spec = normalize(inputSpec);
  return buildModel(spec, null, '', initConfig(inputSpec.config));
}

export function parseUnitModel(spec: TopLevel<UnitSpec>) {
  return new UnitModel(spec, null, '', initConfig(spec.config));
}

export function parseLayerModel(spec: TopLevel<LayerSpec>) {
  return new LayerModel(spec, null, '', initConfig(spec.config));
}

export function parseFacetModel(spec: TopLevel<FacetSpec>) {
  return new FacetModel(spec, null, '', initConfig(spec.config));
}

I get these errors:
ERROR: test/util.ts[7, 9]: 'ExtendedSpec' is declared but never used.
ERROR: test/util.ts[7, 23]: 'FacetSpec' is declared but never used.
ERROR: test/util.ts[7, 34]: 'LayerSpec' is declared but never used.
ERROR: test/util.ts[7, 66]: 'UnitSpec' is declared but never used.

It looks like tslint thinks that variables in generics are not used.


npm ERR! notarget No compatible version found: angular-nvd3@'*'

Can somebody please fix this issue
npm ERR! notarget No compatible version found: angular-nvd3@'*'

fixed.


Rlp 656/action channel close signed tx

Assigned default value for signed_tx in ActionChannelClose, when it is a non-lightclient doesnt need this attr

This PR will be closed, cause git is not showing correctly the changes made by this.

Link to new PR


docs: remove scans from extension flavour

Description
Remove scans from extension flavour as Power doesnt support it.
Types of changes in this PR
Changes that affect the core Terraform module or submodules

[ ] Bug fix
[ ] New feature
[ ] Dependency update

Changes that don't affect the core Terraform module or submodules

[ ] Examples or tests (addition or updates of examples or tests)
[ ] Documentation update
[x] CI-related update (pipeline, etc.)
[ ] Other

Release required?
Identify the type of release. For information about the changes in a semantic versioning release, see Release versioning.

[x] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
If a release is required, replace this text with information that users need to know about the release. Write the release notes to help users understand the changes, and include information about how to update from the previous version.
Your notes help the merger write the commit message for the PR that is published in the release notes for the module.
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

Use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author. The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).
Merge by using "Squash and merge".

/run pipeline

:tada: This PR is included in version 8.2.2 :tada:
The release is available on:

GitHub release
v8.2.2

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 8.3.0 :tada:
The release is available on:

GitHub release
v8.3.0

Your semantic-release bot :package::rocket:


Existing code is good enough, no changes needed. Please avoid changes "just for fun".

@puzrin

I agree with you that inline functions do cause a little loss of performance.
I think the code for AUTO_LINK and EMAIL_LINK is duplicated, this should be extracted as a function

Sorry, i don't agree. This code is good as is.

@puzrin Well, you're the master of this code, but I'm still insisting that the logic for dealing with AUTO-LINK and EMAIL-LINK should be extracted as a function.


Unreachable Code in parser.js

I was trying to figure out what line 49 in parser.js was doing as it doesn't make sense to me. Looking into it further it looks like the condition in the if statement will never be true anyway, as the uri property will only ever get set on the .properties object not .attributes.
https://github.com/tedconf/node-m3u8/blob/8a1f140b2842d4ca2075584dc2f574bace8b0348/parser.js#L48
I'm on windows and tried to run the tests with ./node_modules/.bin/mocha --reporter list test/*.js test/acceptance/*.js but get an error saying Error: Cannot find module 'should'

This line handles non-playlist items commonly found in master/variant playlists for MediaItems. Excepted example from https://hls.ted.com/talks/1.m3u8:
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="600k",LANGUAGE="eng",NAME="Audio",AUTOSELECT=YES,DEFAULT=YES,URI="/talks/1/audio/600k.m3u8",BANDWIDTH=614400
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",LANGUAGE="sq",NAME="Albanian",AUTOSELECT=YES,DEFAULT=NO,FORCED=NO,URI="/talks/1/subtitles/sq.m3u8"


Remove .DS_Store

Specified in the .gitignore, but that one made it to the repo.

Thanks, @gwena. Better late than never, right?


in .gitignore

As of right now (master is at 0872489c3b23d660cd24102929838b3458cab327), * is present in .gitignore. This is a bit weird and it really messes with my file searching setup. It seems to have been introduced (unintentionally?) in ebb61450e50abf376814d87f593fdb15ae042256. @shayne-fletcher-da, would it be fine to remove (since you added it)?

That's weird. Those patterns are supposed to get emacs temp files like .#Foo.hs# and #Bar.hs#. I have no issues removing them but they got added because their absence allowed me to commit rubbish! :)

Yeah, those are fine. I mean this thing - https://github.com/ndmitchell/hlint/commit/ebb61450e50abf376814d87f593fdb15ae042256#diff-a084b794bc0759e7a6b77810e01874f2R3 , * is in there too!

Oh! Oh my goodness. That is clearly wrong. I shall raise a PR immediately. Sorry!

Thanks! Happens to everyone :sweat_smile:

Thanks! Happens to everyone 😅

😢. Here's the fix!! https://github.com/ndmitchell/hlint/pull/765.


stuck switching map to any thing but defalt

ok i cant seem to get the server to start with any other map then the default. i have the latest version 1.5 and the current current config is below with the error im getting. i have tried the fixes part https://github.com/FezVrasta/ark-server-tools/pull/472 and other recommended setting and still to no result the server still starts on the island. can any one plz tell me what i'm doing wrong
` # ARK server common options - use ark_<optionname>=<value>
# comment out these values if you want to define them
# inside your GameUserSettings.ini file
serverMap=Valhalla                                               # server map (default TheIsland)
serverMapModId=504122600                                         # Uncomment this to specify the Map Mod Id (<fileid> in http://steamcommuni$
#ark_TotalConversionMod="496735411"                                 # Uncomment this to specify a total-conversion mod
ark_RCONEnabled="True"                                              # Enable RCON Protocol
ark_ServerPassword="*******"                                    # ARK server password, empty: no password required to login
ark_ServerAdminPassword="******"                                  # ARK server admin password, KEEP IT SAFE!
ark_MaxPlayers="15"
ark_GameModIds="667685775,681746361,647269599,497086514,655261420,655581765,520373758,509793590,520879363,538827119,566885854,566887000,5546$
#ark_AltSaveDirectoryName="SotF"

`Running command 'run' for instance 'main'
09:30:12: start
09:30:12: Running /home/arkserver/ARK/ShooterGame/Binaries/Linux/ShooterGameServer -MapModID=504122600\?GameModIds=667685775\,681746361\,647269599\,497086514\,655261420\,655581765\,520373758\,509793590\,520879363\,538827119\,566885854\,566887000\,554678442\,572277026\,543859212\,510590313\,656748741\,680481868\,609380111\,592595740\,536214294\,538986229\,561820195\,575017270\,663332507\,504122600\?MaxPlayers=15\?Port=7777\?QueryPort=27015\?RCONEnabled=True\?RCONPort=32330\?ServerAdminPassword=*******\?ServerPassword=*******\?SessionName=*********?listen
09:30:12: Server PID: 18731
Using binned.
4.5.1-0+UE4 7038 3077 402 5
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
/home/buildbot/buildslave/steam_rel_client_linux64/build/src/clientdll/gameserver.cpp (715) : Assertion Failed: usGamePort != usQueryPort
Setting breakpad minidump AppID = 346110
CreateBoundSocket: ::bind returned error [no name available](13)
CreateBoundSocket: ::bind returned error [no name available](13)
CreateBoundSocket: ::bind returned error [no name available](13)
^XCreateBoundSocket: ::bind returned error [no name available](13)
^CCtrlCHandler: Signal=2
rm: cannot remove ‘/home/arkserver/ARK/ShooterGame/Saved/.autorestart’: No such file or directory
CtrlCHandler: Signal=2
/home/arkserver/bin/arkmanager: line 508: 18731 Aborted                 (core dumped) "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"
09:30:35: Bad PID ''; expected '18731'
09:30:35: exited with status 0
`

Try putting the Valhalla Mod ID as the first mod loaded in the order...
So, your ark_GameModIds= line should look like this:
ark_GameModIds="504122600,667685775,681746361...

1.5 uses -MapModID=nnnn, but it appears that at some point this was broken.
Try changing serverMapModID to ark_MapModID.

i tryed both and still nothing.
arkserver@ns526855:~$ arkmanager run
Running command 'run' for instance 'main'
15:02:04: start
15:02:04: Running /home/arkserver/ARK/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland\?GameModIds=504122600\,667685775\,681746361\,647269599\,497086514\,655261420\,655581765\,520373758\,509793590\,520879363\,538827119\,566885854\,566887000\,554678442\,572277026\,543859212\,510590313\,656748741\,680481868\,609380111\,592595740\,536214294\,538986229\,561820195\,575017270\,663332507\?MapModID=504122600\?MaxPlayers=15\?Port=7777\?QueryPort=27015\?RCONEnabled=True\?RCONPort=32330\?ServerAdminPassword=********\?ServerPassword=*******\?SessionName=OptmusPrimes\ Fun\ House\?listen
15:02:04: Server PID: 26884
Using binned.
4.5.1-0+UE4 7038 3077 402 5
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110

im attaching the 3 config files the 2 under etc and the one in main directory config
arkmanager.txt
etcmain.txt
main.txt

ok i finally figured out what i was doing wrong. the map name and MapModId needs to be plugged into the etc main config and i used
serverMap="Valhalla"
ark_MapModID="504122600"

ty for all the help in this


feat: new join page

split eslint and stylelint into separate npm scripts (allows for --fix tag to be easily appended to fix eslint problems)
fix eslint error with enums with typescript classes
refactor Portrait to reduce code
making Splash and Section modular for future use

Fixes: #83

Will remove pr/do-not-merge if design approves!


Google ads do not appear

Hi google adds disapper after sometime, after that time it is not even appear at test mode

@ziyaaskerov is this problem similar to yours?
https://github.com/ratson/cordova-plugin-admob-free/issues/119

You mean yours?

@ziyaaskerov Could you provide more information about your problem, better with a repo showing the problem?


[Recruitment] Disallow multiple signups for the same person

This fixes #2495 by disallowing multiple signups (both from admin and from the instructor) in open recruitments. Indirectly this also resolves an issue of multiple confirmation emails sent out in the new email system.

WIP - tests pending.


[stable/memcached] Add ability to specify arbitrary custom labels in memcached helm chart

Signed-off-by: orkhanm<EMAIL_ADDRESS>
What this PR does / why we need it:
This allows us to specify custom labels for the memcached statefulset, this is useful for defining custom alert and monitoring policies in Newrelic, Datadog, Prometheus, etc.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign
/ok-to-test

/lgtm


Fix release workflow failing if main is ahead of develop

The release workflow fails if any commits exist on main that don't exist on develop

No longer relevant. Removed main release workflow


[Help] Store path to image and retrieve.

I want to be able to save and retrieve user selection of AssetEntity. So for example user has selected a few that they like, i want to save the selection locally in something like shared preference. And some time in the future, i want to be able to retrieve the AssetEntity again.  How can i achieve that?

You can persist the id of the selected AssetEntity(s) in your data store (shared preference/SQLite/...) and retrieve the original objects by calling AssetEntity.fromId(id).

@vishnukvmd  yes i tried that, but seems like the id is a running number, i got like 26 to 29 when I tried it. What will happen if there are more images added to a folder? my concern is that i am not sure what the id is based on, and will it be affected if the files are being changed.
Also, what does this comment mean?
  /// Create from [AssetEntity.id], not recommended.   static Future<AssetEntity?> fromId(String id) async {     try {       return await PhotoManager.refreshAssetProperties(id);     } catch (e) {       return null;     }   }

You should treat id as a string, since on iOS a UUID is what is returned. On Android, it looks like a serial number, so even if new items are added to a folder, you should be able to reference an AssetEntity with the original id you persisted.
@CaiJingLong or @AlexV525 will be able to provide more context on the warning.

On IOS, if you use the editing function of the photos app, the id will be retained.
Android is different. Some ROMs in Android delete old resources and create new one. Therefore, the id you keep may not get the correct resources or nothing.

AssetEntity.fromId basically means the plugin will try to obtain the info from your id, which might be failed if the entity for this id is not longer exist, so it's not recommended. But you can still use it to keep your selection or other behaviors related, and be careful when handling retrieve since the result could be nullable.
Closing, based on comments above seem to solved the issue.


ChatSetAttr 1.6.3

New —replace options

I've reverted this because the script crashed my api with the error SyntaxError: Unexpected token [

That's really odd, but thanks for checking and finding the bug (no idea where it went wrong, however). I'll submit an updated pull request without syntax errors :).


Dynamic fields not working with Gantt visualization

I'm using version 9.7.1 (aws elasticsearch domain with service software release number R20210331).
I tried to use a Gantt visualization using a dynamic field for the duration as:

I can see the field values in Discover tab, the diference in milliseconds, and I can also use the field in other visualizations.
But when I use it for the Duration field in Gantt visualization, the bars aren't shown.

If I use any other number field in the index, the bars are shown starting on the correct time:

I created then another Dynamic field concatenating two other string fields:

Again this field can be used everywhere but when used in the Gantt visualization:

I believe the duration isn't a dynamic value right ?
You can use a pipeline processor to create a new field for the duration while pushing the data right !!


Ethernet Shield support

I'm trying to use the Ethernet Shield rev2 hardware (and Ethernet library) with this. Is this supported already or is there a straightforward way to support it? There is an existing w5500 driver crate already, but I'm not sure if it's compatible with this project.

Right now I do not know if anyone ever attempted this.  For sure I haven't seen any code so far.  That doesn't mean that it won't work.  If the w5500 driver uses embedded-hal, there is a good chance that you can connect it to avr-hal with ease.  Let me know how it goes.  If you hit any problems, me or someone else here might also be able to help, so do post them as well.


Protect main branch

Protect the main branch once the project is first-release-ready.

Addressed in settings.


feat: incremental database backup

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
This PR supports COPY DATABASE feature to allow incremental database backup.
You can use following SQL to backup the whole database to a target directory:
COPY DATABASE greptime.public TO '<BACKUP_DIR>' WITH (FORMAT = 'parquet', start_time='2023-06-18 00:00:00', end_time='2023-06-19 00:00:00');

Please note that:

the <BACKUP_DIR> must end with /. Each table will be exported to a single file with table name.
start_time and end_time is an integer value representing the UNIX epoch time in seconds.

Some future work:

persist last backup time to manifest so that we don't have to specify the start time every time.
use procedure framework to allow resumption after interruption (shutdown or crash).

Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

start_time and end_time is an integer value representing the UNIX epoch time in seconds.

Is this desc out of date? In the example they are readable timestamp


Timesheets without project

As a new user to the system, I am able to edit my timesheet, without being a member of a project. Since I didn't belong to a project, I couldn't save my timesheet and got an error.
Expected behaviour:
As a new user of the system not belonging to a project, timesheet options ("Edit timesheet", "New timesheet", etc) should not be visible.

Thanks for the report. That is a very good point.
We should have a test for this first.

add test for presence of current time sheet button


"Download blobs" section code error

The code in the "Download blobs" section is incorrect. BlobClient.DownloadAsync returns Response<BlobDownloadInfo> and not BlobDownloadInfo directly.

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

ID: 60e56e69-1c44-2056-ad5f-319535e4b525
Version Independent ID: 49fa6098-0b8e-ebf5-efe7-f50f3604e325
Content: Quickstart: Azure Blob storage library v12 - .NET
Content Source: articles/storage/blobs/storage-quickstart-blobs-dotnet.md
Service: storage
Sub-service: blobs
GitHub Login: @mhopkins-msft
Microsoft Alias: mhopkins

@Jawvig Thank you for bringing this to our attention. We are investigating and will update you when we have have additional information to share.

@Jawvig Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Hi @Jawvig,
Thank you for the feedback. I originally had that in the article. During tech review I got feedback that most things return a Response object and devs know this. So, we should just document the particular variant that is returned. Sorry for any confusion.
Thanks,
~ Mark

#please-close


opened date-picker is floating when scrolling the container div

Reproduction link
https://stackblitz.com/edit/angular-9vxeih?file=src/app/app.component.ts
Steps to reproduce

open the datepicker.
use the mouse to scroll down
the opened datepicker is floating there all the time

What is expected?
the opened datepicker is scrolling the same as the textbox
What is actually happening?
the opened datepicker not moving, still displayed misaligned.

It is working fine with the scroll from the whole page as it shows on the document page
same problem happens to the time-picker

Environment
Info

ng-zorro-antd
10.1.0

Browser
chrome

Fixed by #6380.


Dark Matter Store

Hi thanks for the OAuth answer last time, but I have a second question I am helping them with...
Are there hooks for the Dark Matter system? That seems like what would be a cash shop kind of thing.
Basically I'd like check a json on another page and based on that (time and points they have), I'd like to add the dark matter to the user on the user table.
I could go in through php and do it, but I just want to ask before I do in case there was already a function to do this already written so didn't have to rewrite the wheel.
Thanks again!
-Felty

There is no store or something like that. You have to implement yourself.

@jkroepke Ok. I'm familiar enough with PHP and SQL but I see you have your own function system made to communicate with the SQL DB.
I tried:
		$sql	= 'UPDATE %%USERS%% SET `darkmatter` = :newTime WHERE `id` = :userId;';

		Database::get()->update($sql, array(
			':newTime'	=> 809,
			':userId'	=> 3
		));

But that didn't work. (I just tried a hard code to begin with for user 3 with setting darkmatter to 809.
running
`UPDATE (userstable)_users SET `darkmatter` = 809 WHERE `id` = 3;`

works just fine.

Resources buildings or ship should be not updated directly inside users own session. Instead just set a new value inside the global vars $USER.
https://github.com/jkroepke/2Moons/blob/5709d7586df522ef92f965f36a372a2948b6f8f4/includes/pages/game/ShowBuildingsPage.class.php#L172
Yes, global vars. The concepts of the game/code are from 2006

Ah thanks! I’m only 24 hours into your code and although I could just brute
force my way into the SQL server I know there is usually a proper way to
get in.
Does the user have a global variable for darkmatter than I can just add to
in php that would increase their total darkmatter holdings?
It doesn’t have to be in user session as I could have a cron job do the
curl and then update their balances.
I just need to know where the optimal place to do this automatically, if
possible.
On Fri, Apr 5, 2019 at 4:43 PM Jan-Otto Kröpke<EMAIL_ADDRESS>wrote:

Resources buildings or ship should be not updated directly inside users
own session. Instead just set a new value inside the global vars $USER.
https://github.com/jkroepke/2Moons/blob/5709d7586df522ef92f965f36a372a2948b6f8f4/includes/pages/game/ShowBuildingsPage.class.php#L172
Yes, global vars. The concepts of the game/code are from 2006
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jkroepke/2Moons/issues/359#issuecomment-480415901,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AmNhDV1UWYBLQRFY6sNIJCFaawnxl_QMks5vd7WFgaJpZM4cdrxI
.

$USER[$resource[921]] is the variable for dark matter.
https://github.com/jkroepke/2Moons/blob/15247f1b2677a196ad95d679070e54889af6b1ca/includes/vars.php#L28

Thanks you I got it working via if(isset($hash_balance)) { $USER[$resource[921]]		+= $hash_balance; }
A lot easier than brute forcing the SQL tables. Thank you!


Fatal error: module 'crosstool' is needed but has not been provided, and implicit use of module files is disabled

I have a Bazel C++ repository where I am using toolchains_llvm. On macOS, it builds just fine, but on Ubuntu on WSL, I am getting the following error:
 bazel build //foo:file --verbose_failures
INFO: Analyzed target //foo:file (0 packages loaded, 0 targets configured).
ERROR: /home/dzc/.cache/bazel/_bazel_dzc/91609ad82b24e2d2bf2f015aee7bc9a4/external/com_google_absl/absl/base/BUILD.bazel:758:11: Compiling absl/base/internal/strerror.cc failed: (Exit 1): cc_wrapper.sh failed: error executing CppCompile command (from target @@com_google_absl//absl/base:strerror)
  (cd /home/dzc/.cache/bazel/_bazel_dzc/91609ad82b24e2d2bf2f015aee7bc9a4/sandbox/processwrapper-sandbox/23/execroot/_main && \
  exec env - \
    PATH='/home/dzc/.bin:/home/dzc/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files/PowerShell/7/:/mnt/c/Program Files/Microsoft SQL Server/150/Tools/Binn/:/mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit/:/mnt/c/Users/david/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/david/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/david/.dotnet/tools:/home/dzc/go/bin:/usr/lib/go/bin:/home/dzc/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/home/dzc/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/history-substring-search:/home/dzc/.antigen/bundles/zsh-users/zsh-syntax-highlighting:/home/dzc/.antigen/bundles/zsh-users/zsh-completions:/home/dzc/.antigen/bundles/zsh-users/zsh-autosuggestions' \
    PWD=/proc/self/cwd \
  external/llvm_toolchain/bin/cc_wrapper.sh -U_FORTIFY_SOURCE '--target=x86_64-unknown-linux-gnu' -U_FORTIFY_SOURCE -fstack-protector -fno-omit-frame-pointer -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign '-std=c++17' '-stdlib=libc++' -MD -MF bazel-out/k8-fastbuild/bin/external/com_google_absl/absl/base/_objs/strerror/strerror.pic.d '-frandom-seed=bazel-out/k8-fastbuild/bin/external/com_google_absl/absl/base/_objs/strerror/strerror.pic.o' -fPIC -iquote external/com_google_absl -iquote bazel-out/k8-fastbuild/bin/external/com_google_absl '-std=c++20' -Wall -Wextra -Wc++98-compat-extra-semi -Wcast-qual -Wconversion -Wdead-code-aggressive -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' '-fdebug-prefix-map=external/llvm_toolchain_llvm/=__bazel_toolchain_llvm_repo__/' '-fmodule-name=com_google_absl//absl/base:strerror' '-fmodule-map-file=bazel-out/k8-fastbuild/bin/external/com_google_absl/absl/base/strerror.cppmap' -fmodules-strict-decluse -Wprivate-header '-fmodule-map-file=bazel-out/k8-fastbuild/bin/external/llvm_toolchain/module-x86_64-linux.modulemap' '-fmodule-map-file=bazel-out/k8-fastbuild/bin/external/com_google_absl/absl/base/config.cppmap' '-fmodule-map-file=bazel-out/k8-fastbuild/bin/external/com_google_absl/absl/base/core_headers.cppmap' '-fmodule-map-file=bazel-out/k8-fastbuild/bin/external/com_google_absl/absl/base/errno_saver.cppmap' -c external/com_google_absl/absl/base/internal/strerror.cc -o bazel-out/k8-fastbuild/bin/external/com_google_absl/absl/base/_objs/strerror/strerror.pic.o)
# Configuration: 65e079cc9605374bfc5e541e56ba82544aa2d7ae16e18af1bc83055f197d1f9e
# Execution platform: @@local_config_platform//:host

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from external/com_google_absl/absl/base/internal/strerror.cc:15:
In file included from external/com_google_absl/absl/base/internal/strerror.h:18:
In file included from external/llvm_toolchain_llvm/bin/../include/c++/v1/string:519:
In file included from external/llvm_toolchain_llvm/bin/../include/c++/v1/__algorithm/max.h:12:
In file included from external/llvm_toolchain_llvm/bin/../include/c++/v1/__algorithm/comp.h:12:
external/llvm_toolchain_llvm/bin/../include/c++/v1/__config:261:14: fatal error: module 'crosstool' is needed but has not been provided, and implicit use of module files is disabled
#    include <features.h>
             ^
1 error generated.
Target //foo:file failed to build
INFO: Elapsed time: 3.589s, Critical Path: 3.24s
INFO: 10 processes: 10 internal.
ERROR: Build did NOT complete successfully

Here is the repository. I created a minimal repro case for this issue: https://github.com/davidzchen/bazel-ycm-test
Is there a misconfiguration on my part, and how do I fix this? Please let me know if there are any additional information I should provide to debug this.

#301 observes that this issue may have been introduced in https://github.com/bazel-contrib/toolchains_llvm/pull/294 - can you try reverting that change and see if it works for you ok?

@fmeum - I've actually tracked this down to #280 - I'm not familiar with the process of using modules yet so not sure what the issue here is; can you take a look?

The error goes away with --cxxopt=-std=c++17, so I suspect that clang is defaulting to C++20 modules rather than Clang modules with C++20 enabled, but Bazel only supports Clang modules. I didn't find a way to force the use of Clang modules even with C++20, but this needs to be fixed in Bazel itself.

So are you saying that we need to have clang module support on if using c++20? Before #280 this wasn't the case and if I back out that commit I can happily compile with c++20 (although layering_check seems broken without this as it fails to find the builtin headers in my project)

Only if you use --features=layering_check. If I add --features=-layering_check to the reproducer, it also compiles just fine. Compiling with C++20 looks fine even with #280, it's just layering_check that is broken.

This can be fixed with --cxxopt=-Xclang --cxxopt=-fno-cxx-modules. I will send a PR to add this to Bazel's toolchain configuration.


Implement a simple AAC encoder

This feature has been asked about many times already.

How is this feature coming along? Do you have an eta until the first version is ready?


State/Province Name Spelling

It works great, Thanks for that - Just one quick observation, when an address is being keyed in, the province/state is spelled in abbreviation, but once  populated, it is fully spelled out, am wondering if you can keep the retrieved field in abbreviation.
eg. during lookup, the address is displayed as "113 Homestead Street, Spring Valley, NY 10977", but once populated, NY is translated to "New York" (having said that, there may be situations where fully spelling is preferred, so a setting will be ideal)

New version has been released and available form the solution directory, a new setting has been added accordingly so that you can either choose the province code or province name
Here's a demo:


Oldest version listed first on StreamNative owned connectors

When navigating to hub.streamnative.io and selecting a connector whose doc is synced from a StreamNative repository, the oldest version is listed first.
Steps to reproduce:

Go to hub.streamnative.io
Select Sinks
Select AWS SQS Sink

Outcome: Selected version and document displayed is the oldest (v.2.7.0)
Expected Outcome:  Selected version and document displayed is the newest (v.2.10.x)

@urfreespace could you please help look into this issue? Thanks.


Download SVG has no effect

Description
Download SVG has no effect - nothing happening
WebSight CMS version
1.0.0
Steps To Reproduce

Go to assets
Select an assets
Click the download action in the top bar

Expected behavior
Image downloaded
Screenshots

Desktop

OS: macOS
Browser: Chrome
Version: 105

Additional context

Reported by @pun-ky in https://github.com/websight-io/starter/discussions/11

Solved in 1.1.0


Added require('...') support

Reason for PR
Compatibility with old, ES5 CommonJS var X = require('...'); imports.
Problem
Old style require('...') imports will not work as expected with newer Babel versions. Example:

The export would be an object containing the default property, which in turn references the module, instead of obtaining the module directly. This will work fine in an ES6 environment, but in older, ES5 environments, it would require an extra step.
Proper import of the module would look like this:

// ES6 / Babel
import ServiceWorkerWebpackPlugin from 'serviceworker-webpack-plugin';

// ES5
var ServiceWorkerWebpackPlugin = require('serviceworker-webpack-plugin').default;

Fix
The add-module-exports plugin added to package.json and .babelrc will add an extra module.exports = exports['default']; to the end of each JS file, and would add a compatibility layer (aka. the above require example would not need the extra .default in the end). Example:

Conclusion
In the end, the import works as expected in the legacy import style:

Thank you for reading through this. I hope I didn't overdo the description for this PR :)

@sabinmarcu Sounds good to me. Thanks.


Nullable list in optional pointer mode generates non-pointer slice

Describe the bug
When the GraphQL schema includes a nullable list like [String!] and the optional mode in the YAML config is set to pointer the generated Go code results in []string instead of *[]string
To Reproduce
I'm taking your example with the GitHub schema from the repos example directory and made the following adjustments:

Set the optional mode to pointer in the genqlient.yaml

# Added this line:
optional: pointer

Add a new query to genqlient.graphql that returns a nullable list of non-nullable strings

# Added this query
query getMeta {
  meta {
    gitIpAddresses
  }
}

Regenerate the code using go generate ./...
Check the generated.go for the chosen type of gitIpAddresses

type getMetaMetaGitHubMetadata struct {
	// IP addresses that users connect to for git operations
	GitIpAddresses []string `json:"gitIpAddresses"`
}

Expected behavior
The above steps should have generated the following Go code:
type getMetaMetaGitHubMetadata struct {
	// IP addresses that users connect to for git operations
	GitIpAddresses *[]string `json:"gitIpAddresses"`
}

So that GitIpAddresses is a pointer *[]string like it was configured in the YAML.
Because looking at the GraphQL schema shows that gitIpAddresses is a nullable array:
type GitHubMetadata {
  # ...
  """
  IP addresses that users connect to for git operations
  """
  gitIpAddresses: [String!]
  # ...
}

genqlient version: v0.6.0

This behavior is intended -- since slices can be empty or nil we never need a pointer to represent null, so it's just extra indirection that makes things harder to work with. Are you running into a case where you need a pointer here, and if so can you say more about why it's useful? If there's a reason to do so we could add another option (it's oo big a behavior change to do without putting it behind an option unless there's a very very good reason).

Hey Ben,
ah okay, fair enough. I just stumbled upon that myself and thought it was an unwanted inconsistency. But you are right, nil on slices also works fine for me.
I'd consider it case closed if this works as intended 👍🏻


Delete service in Cockpit doesn't work

Tested in https://cl.aydo2.com/ays81/ays81/Services?ayspath=/optvar/cockpit_repos/yves2
When clicking Delete in Actions column nothing happens:

Fixed


Optimized collectstatic when verbosity is 0.

Avoid the dict lookup and length computation when command is not run in
verbose mode.

@francoisfreitag Thanks :+1:


Feature: React component for command line input

Would be cool to have a component that looks like a command line prompt. Just to differentiate between "this is code you write in your project" and "this is a command you run"

Isn't the dollar sign the thing that signals that? Do we need additional differentiation?

Isn't the dollar sign the thing that signals that? Do we need additional differentiation?

Yeah absolutely — remember that not everyone is a former unix statems programmer.
By having a react component we can also:

in the future, render things differently for a cloud-like vs CLI-like interfact
make the command copyable (without the $)

Yeah absolutely — remember that not everyone is a former unix statems programmer.
By having a react component we can also:

in the future, render things differently for a cloud-like vs CLI-like interfact
make the command copyable (without the $)

Makes sense! So, judging from a quick Google and your comment, we'll need someone with React chops to assist us on creating this feature, right?

Makes sense! So, judging from a quick Google and your comment, we'll need someone with React chops to assist us on creating this feature, right?


屏幕分享报错

是否有屏幕分享的demo
调用 startScreenCaptureByWindow/startScreenCaptureByScreen 报错
const displayId = screen.displayId
let rect = {
  height: screen.height,
  width: screen.width,
  x: 0,
  y: 0,
};
let captureParam = {
  bitrate: 0,
  frameRate: 5,
  height: screen.height,
  width: screen.width,
 };
const code = _client.startScreenCaptureByScreen(displayId, rect, captureParam);

17:18:06.257 › api startScreenCaptureByWindow failed. this is an error
              thrown by c++ addon layer. it often means sth is
              going wrong with this function call and it refused
              to do what is asked. kindly check your parameter types
              to see if it matches properly.

@dagouzhi 试试把captureParam修改为
let captureParam = {
bitrate: 0,
frameRate: 5,
height: screen.height,
width: screen.width,
captureMouseCursor: true,
windowFocus: false,
excludeWindowList: []
};

@plutoless
startScreenCaptureByScreen 可以实现分享，但是调用startScreenCaptureByWindow 还是报错
const displayId = screen.displayId
let rect = {
  height: screen.height,
  width: screen.width,
  x: 0,
  y: 0,
};
let captureParam = {
   bitrate: 0,
   frameRate: 5,
   height: screen.height,
   width: screen.width,
   captureMouseCursor: true,
   windowFocus: false,
   excludeWindowList: []
 };
 const code = _client.startScreenCaptureByWindow(displayId, rect, captureParam)

12:21:23.584 › api startScreenCaptureByWindow failed. this is an error
              thrown by c++ addon layer. it often means sth is
              going wrong with this function call and it refused
              to do what is asked. kindly check your parameter types
              to see if it matches properly.

已解决displayId传错了


ROS2 builds are not for release

We discovered that the ROS2 builds, e.g. for Galactic, are not release builds and thus run around 2x-3x slower than when compiled with --cmake-args -DCMAKE_BUILD_TYPE=Release
The reason is that release is not specified by default in colcon: https://github.com/colcon/colcon-cmake/issues/96
Is that intentional, or can it be changed to a release build by default?

Thanks @jplapp, I was not aware of this.  I am testing the --cmake-args -DCMAKE_BUILD_TYPE=Release flag to colcon build now, and will include it in future builds if all goes well.

Just patched this in https://github.com/dusty-nv/jetson-containers/commit/5d0f8b47b9b9ef986d88b14693805feec8cdf41a

@dusty-nv @jplapp Is this working yet? Publishing with ros:galactic-pytorch-l4t-r32.6.1 as a base image seems to be extremely slow.

@zjeffer yes, but IIRC only dustynv/ros:foxy-ros-base-l4t-r32.6.1 was retroactively rebuilt and pushed to dockerhub.
I will kick off builds of the other ones too.

@dusty-nv Is there an ETA for when these builds will complete? I tried building it on my own nano but I just gave up, because after waiting 5+ hours it looked as if it just restarted the build for some reason. No idea what went wrong.

@zjeffer they are pushing to dockerhub now - they should be up within the hour


Miles instead of Kilometers?

Is it possible to include the desired measurement unit in the URL parameter?
I am trying to have the output distances as miles instead of kilometers.
Issue #95 mentioned it, but it doesn't seem to work anymore:

But you can also force the locale via an URL parameter e.g. to show miles vs. km:
http://graphhopper.com/maps/?point=Kiel&point=München&locale=en_US

We decided to do this on the client side but not yet done

I agree with that approach.
I think the internal calculations should be done in the SI system and the clients could convert the values as they like.

So I was trying my hand at this. I see that the com.graphhopper.routing.Path
has a getDistance() method which returns a distance. And here I can add a getDistanceInImperialUnits() as a wrapper around the getDistance() which will use a metric to impeerial conversion and then modify the web interface to display this. Is that a valid approach? Or would you suggest something else instead

Alternatively, I could only modify the GHResponse to display the imperial distances and thus not change any underlying functionality. Now that I think about it, that seems like a better alternative.
res.setDistance(distance).setTime(time); this method called in the graphhopper.java will do just that.

Hi, thanks. Just converting this in the web UI would be sufficient, so no server or API change is necessary. For that one would need somehow an options button where the user can change these settings. And by default just using km is fine :)

#778

Fixed - thanks @ammagamma !

The scale could be updated too, to show only the relevant unit (km or mi) depending on this new units switch, instead of showing both. Sent #782.