The Hash task in the _GenerateCompileDependencyCache target introduces regression in behaviour of incremental build vs msbuild 14

There are different scenarios. One is related to the case sensitivity of the Hash task. E.g. let the solution file reference directories in the wrong case. Should not matter on Windows and it does not when using msbuild 14. But with the Hash task in msbuild 15 it does matter.
I have already reported this issue through a Support Case:

I just wanted to loop back on this ticket and update you that the internal product bug for this issue has been filed with our dev team and is being investigated. The bug ID that we have internally for this is 804169, however this might not be that useful to you as it is an internal tracker for the issue.
At this stage, this is under consideration to be addressed in one of the servicing updates for VS 2019, which officially was made available to our customers as a Release Candidate yesterday, 2/27.
Also since this bug has been linked to your support case here, I can confirm that this incident has also been marked as a “Non-Decrement”, and you will not incur charges for the same.
I have verified this is done, so feel free to let me know if you note otherwise.

But this time I have found another regression, not related to case sensitivity. The scenario is something like this:

Have a solution with many projects
Have a folder with 3rd party dependencies committed to the source code (I know, I know. We are slowly clearing it, but it predates the merry days of NuGet)
Ordinarily, projects would reference dependencies in there with the HintPath, but sometimes a project can get away without it. Indeed, if project A depends on project B, then project A can skip the HintPath, if the project B references the same dependency correctly with the HintPath. In this case A can omit the HintPath. The dependency in question would be fetched from the bin folder of B. But what if A depends on C and D which also depend on the aforementioned dependency correctly? Then A can get it from the bin folder of B, C or D. Which one exactly? In a parallel build this is non deterministic.

The net result - the Hash task may produce different hash values in subsequent builds and cause recompilations.
This is not an exact scenario, but again, I have a real solution with this problem and 2 binlogs from two successive builds clearly showing the problem.
I decided to go through the github issues, rather than a formal Microsoft Support Case, but do let me know if I should open one.
Anyway, if you give me a secure upload location I can upload both binlogs.
What you will see is that the second build contains a single compilation because the Hash is different from the first build (recall that I ran two builds one after the other).
I copied the Hash input (i.e. ItemsToHash) from the first and the second builds to different files and diffed them:
C:\temp> diff (cat .\1.txt) (cat .\2.txt) -CaseSensitive

InputObject                                                                              SideIndicator
-----------                                                                              -------------
D:\_wf\01\3\s\Test\DFAcceptanceTest\DFAcceptanceTest\CompSeleniumTest\bin\Debug\NLog.dll =>
D:\_wf\01\3\s\Test\DFAcceptanceTest\DFAcceptanceTest\DFSeleniumTest\bin\Debug\NLog.dll   <=

C:\temp>

As you can guess, NLog.dll lives in the infamous Dependencies folder. CompSeleniumTest is a project that depends on DFSeleniumTest. The latter depends on NLog.dll correctly:
    <Reference Include="NLog, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b3dac0a0872f0a93, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\..\Dependencies\NLog.dll</HintPath>
    </Reference>

But CompSeleniumTest does not:
    <Reference Include="NLog, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b3dac0a0872f0a93" />

As a result in the first clean build the dependency was copied from DFSeleniumTest bin folder. But in the second build it is already found in the bin folder of CompSeleniumTest and so it taken from there.
Net result - redundant compilation on the second build.

Guys, aren't you going to comment on it?
I am sure you know what I am talking about. The Hash task in the _GenerateCompileDependencyCache target causing redundant recompilations for all kinds of reasons, which never mattered before.
Anyone?


Folders glitch

Description
Folders in the details layout aren't displayed correctly.
The special ones (pictures, documents, music, ...) are low quality and the normal ones are only displayed at third of their original size.

Steps To Reproduce
for the glitch

The layout has to be details
Switch between details and symbols and you see the icon popping in

low quality icons

The layout has to be details
the picture music etc folders aren't sharp

Steps to fix

normal folders should be displayed at the correct size
use sharper, high quality icons for the special folders

Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22621.819
Windows Version
Windows 11 Pro 22H2 22621.819
Relevant Assets/Logs
https://user-images.githubusercontent.com/97352673/203155638-8e46d93a-01de-4d96-8db9-6c5a0860700c.mp4

Is this still an issue in the preview version? https://files.community/download/preview

They seems to be fixed,
but in the preview version is also a similar bug that affects the folder icons

These Icons should be used

But these Icons are used


Adding missing step + TypeScript support

This PR adds types for TypeScript support and adds final step in the process to get the access token from the https://explorer.api.openai.com/api/auth/session endpoint.

@imCorfitz could you do your changes based on the latest changes. I upgraded the lib to enable it to be used in es modules.


Use update cpg-utils path-names

prepare_git_job was moved without a deprecated stub, so fix that and other imports in this repo.

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

:exclamation: No coverage uploaded for pull request base (main@0b1902a). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #225   +/-   ##
=======================================
  Coverage        ?   90.65%
=======================================
  Files           ?        4
  Lines           ?      428
  Branches        ?        0
=======================================
  Hits            ?      388
  Misses          ?       40
  Partials        ?        0

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


Error when trying to install Kali

chronos@localhost / $ sudo edit-chroot -all
name: kali-rolling
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/kali-rolling...
crouton: version 1-20190807171712~master:6f45f06a
release: kali-rolling
architecture: amd64
targets: xfce
host: version 12239.67.0 (Official Build) stable-channel terra
kernel: Linux localhost 3.18.0-19679-gd1d0bbedf35d #1 SMP PREEMPT Tue Aug 6 05:55:45 PDT 2019 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...

Please describe your issue:
I am trying to install Kali Linux on a Chromebook. Each time I've tired, I get an error.
"Preparing to unpack .../patch_2.7.6-6_amd64.deb ...
Unpacking patch (2.7.6-6) ...
Setting up patch (2.7.6-6) ...
patch set to automatically installed.
Compiling CRAS (i386)...
libcras/cras_client.c: In function 'handle_message_from_server':
libcras/cras_client.c:1730:12: error: converting a packed 'struct cras_client_message' pointer (alignment 1) to a 'struct cras_client_get_hotword_models_ready' pointer (alignment 4) may result in an unaligned pointer value [-Werror=address-of-packed-member]
1730 |    (struct cras_client_get_hotword_models_ready *)msg;
|            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libcras/cras_client.c:50:
../src/common/cras_messages.h:91:37: note: defined here
91 | struct attribute ((packed)) cras_client_message {
|                                     ^~~~~~~~~~~~~~~~~~~
../src/common/cras_messages.h:625:8: note: defined here
625 | struct cras_client_get_hotword_models_ready {
|        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling..."

Dupe of #4119.


Answers.logCustom is making objects Immutable

Made a redux middleware logger for this package, and is breaking from modifying the object to be Immutable:
const reduxLogMiddleware = store => next => action => {
  // This is the equivalent of Answers.logCustom('name', { ... })
  Answers.logCustom(action.type, action);
  return next(action);
};

This will throw an error deeper in the application, as action is modified to become immutable:
 Error: You attempted to set the key ... with the value ... on an object that is meant to be immutable and has been frozen.
    at throwOnImmutableMutation

which is probably from here react-native/Libraries/BatchedBridge/MessageQueue.js
Is there any way to avoid this without making clones of every logged object? This fixes the problem, but is not ideal:
Answers.logCustom(action.type, Object.create(action));

That would be the solution in this case, this seems more like a redux issue than an issue with this module as all we are doing is sending the object across the bridge.
The only other option would be to clone the object in https://github.com/corymsmith/react-native-fabric/blob/master/Answers.js but may be overkill since it only seems to affect users using redux / immutable.


[#1956] Fixed welcome page tab navigation a11y issue.

#1956
===
Applied same logic used in fix #2001 to Linux OS.
The other issue with hidden links inside some service dialogs has also been fixed (but not by this PR):

(Also moved code from packages/app/main/utils/platform.ts to packages/app/shared because it was being imported into client from main.)

Coverage increased (+0.007%) to 68.76% when pulling d12023e31a4b0726bb42b92a68f1fe1bf3865948 on toanzian/acc-#1956 into 553d64afe8822d79cdf4464d73dc0fd7920ba3f1 on master.


Please choose an open-source license: no choice means closed source!

Hi there,
Could you choose an open-source license for this project and add a LICENSE file?
No choice means closed source by default, see GitHub's page on https://choosealicense.com/no-permission/
Thanks, regards, @Naereen

@Naereen thank you for the issue, had forgot about it. Is this enough?
https://github.com/EduardoRFS/reason-mobile/blob/master/LICENSE

Perfect!


debugger attach to python process launched from cmd

if python script is launched from cmd and then debugger attached to it, then it causes the process to crash.
I was debugging one issue with nbopen extension for jupyter and noticed when invoked like this it causes both remote (ptvsd) and attach modes of PTVS to crash the process:
nbopen.bat
python nbopen.py %1
from command-line:
nbopen.bat "nbfile.ipynb"
the code for attach and remote modes injected to nbopen.py:
#import ptvsd
#ptvsd.enable_attach("nbopen")
#ptvsd.wait_for_attach()

import sys
import time
print("wait for tracing")
while not sys.gettrace():
    time.sleep(0.1)
print("tracing found")

view from process explorer:

error from VS debugger:

internal error from ntdll.dll:

Can you provide exact version information for the Python that you're using? Copying from the Modules window in the debugger would be ideal.
Debug/Attach uses some nasty tricks to inject itself into the running process, and the smallest difference in the Python build can totally cause this kind of problem.

Python 3.5, 64-bit stock from python.org, VS 2017. Let me grab more info later.

Thanks. As I say, the x in the 3.5.x version is actually critical here (and the fourth version field from the binaries is helpful validation too).

@zooba I'm not sure if this issue is with specific CPython version, but debugger works with PTVS 2015 on python 2.7 32-bit and python 3.5 64-bit.
Here is the Python version I'm using with VS 2017 that caused the crash from above:
Python 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 16:02:32) [MSC v.1900 64 bit (AMD64)] on win32

I believe I've replicated your configuration (3.5.3:1880... 64-bit), and I'm not seeing the crash with either ptvsd or regular process attach. I changed nbopen.py like you did and use nbopen.bat to start. I've tried using both VS 2017 15.2 and 15.3 Preview. I was using a venv.  I also tried with Anaconda 4.3.1 64-bit.
Are you seeing this crash consistently?

Let's meet tomorrow at 11am at Pavel's location on PyData.
On Thu, Jul 6, 2017, 3:19 PM Hugues Valois<EMAIL_ADDRESS>wrote:

I believe I've replicated your configuration (3.5.3:1880... 64-bit), and
I'm not seeing the crash with either ptvsd or regular process attach. I
changed nbopen.py like you did and use nbopen.bat to start. I've tried
using both VS 2017 15.2 and 15.3 Preview. I was using a venv. I also tried
with Anaconda 4.3.1 64-bit.
Are you seeing this crash consistently?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/PTVS/issues/2767#issuecomment-313534917,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHgZ5UnijgdBG44_oEqdnYVdX0h5uwu5ks5sLV13gaJpZM4OL2sC
.

https://www.dropbox.com/s/f8zrgi7x2uj8y88/python_ptvs_debug.dmp?dl=0

https://www.dropbox.com/s/706qb46tvilvtl3/python_ptvs_crash.dmp?dl=0

now without breakpoint attaching to Python code, crash again:
https://www.dropbox.com/s/ae4ze7on360jsv7/python_ptvs_crash_again.dmp?dl=0

We have a new debug engine in the 15.8 release, if you still see this problem, please open an issue at https://github.com/Microsoft/ptvsd


Import images script

Why: Need a way to import images in bulk to support one-off collections that need to be created prior to supporting bulk image import through the interface.
How: Created a temporary rake task that we can use in the interim. It expects a collection id and a single text file with paths to the files that need to be imported on separate lines. It does not handle traversing directories to magically pull files in, so any collating of files will need to happen prior to the import when generating the text file.

:+1:

:+1:


Adding workshop tutorial link to the README

Motivation and Context
Hoping someone will eventually read it, or the docs, :wink:.

Thanks @fredgalvao


Prefixes view displays tenant name when it should not

Environment

Python version:
Nautobot version: v1.1.0

Steps to Reproduce
Everything tested on the main.demo.nautobot.com site

create a prefix i.e. <IP_ADDRESS>/16 and assign it to tenant Nautobot Airports
create a prefix i.e. <IP_ADDRESS>/16 and do not assign it to a tenant
I added a description to the prefix with no tenant to determine which should not show a tenant in the Duplicate Prefixes table

Expected Behavior
Show prefix without the Tenant column filled in the Duplicate Prefixes table when opening the prefix on which a tenant is assigned.
Maybe it is better to not show the prefix at all because it is for another tenant and thus not duplicate for this tenant.

Observed Behavior
The Tenant column is filled with the Tenant name which you are viewing the prefix for but it should be empty.

Thank you for the report and for the detailed steps to reproduce the issue!

Looks like this corresponds to https://github.com/netbox-community/netbox/issues/6108 - a bug that we inherited in #696.


Cleaning up overlayfs workdirs

At the moment this is not working. Some pointers (#66, #63).

This is a prerequisite for #35.


pub crash serving observatory

pub serve from runtime/observatory/ crashes with error
Build error:
Transform IndexPageBuilder on observatory|all_entry_points threw error: 'package:$pub/serialize.dart': malformed type: line 103 pos 14: type 'LazyStream' is not loaded
  return new LazyStream(() {

This issue was moved to dart-lang/pub#1449


Adding snfoundryup support 🔨

Resolves: Issue #275
Introduced changes

Added a new script under scripts/install.sh which installs snfoundryup script under $HOME/.local/bin and adds the path to the profile file of the associated shell. snfoundryup can be used to update starknet foundry binaries.

Added a new CLI option to snfoundryup, which allows to build the binaries from any commit hash with snfoundryup --commit <COMMIT HASH>

Added a new banner to snfoundryup script for cosmetic purposes,because why not :)

Minor fixes and improvements

Added progress bar to curl commands for better visualization
Encapsulated snforge and sncast under BINARIES variable
The installation directory is determined by the resolved version rather than the requested version. This approach avoids using ambiguous directory names like "latest."

Testing
Since the download URL SNFOUNDRYUP_URL="https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/snfoundryup" isnt a part of the master branch yet, changes can be tested by replacing line 11 in scripts/install.sh with SNFOUNDRYUP_URL="https://raw.githubusercontent.com/partychad/starknet-foundry/fork-master/scripts/snfoundryup" so that snfoundryup can be downloaded.

@Arcticae updated the gitbook as well

Hi @partychad , it looks good, but can you address my previous, unresolved comments first? 🙏 after this I will do the next round of review. Thanks!

Hi @partychad , it looks good, but can you address my previous, unresolved comments first? 🙏 after this I will do the next round of review. Thanks!

I have no idea how i missed those comments, working on it 🫡


Add explicit file inclusion to rswiftignore

Hi. This pull request adds ! functionality for .rswiftignore similar to that of .gitignore, but slightly more simplistic. The main use case for this functionality that I have is for generally excluding all storyboard and xib files that are associated with Objective-C classes while selectively including some storyboard and xib files that should be accessible from Swift. I am currently in the process of converting a large code base from Objective-C to Swift and it is much cleaner to write something like this:
# .rswiftignore

**/*.storyboard
!IncludeThisSwift.storyboard

than it is to import every UIViewController subclass in the app into the Project-Bridging-Header.h file, even though the majority of those files won't ever be accessed from Swift.
I have updated the documentation and the ResourceApp to reflect the changes that I have made, but I couldn't find anywhere that unit tests the .rswiftignore functionality, so I haven't implemented any unit tests myself. I'm not quite sure how I would go about unit testing this behavior, but if you would like me to, I would be happy to try and come up with something.
Please let me know if you think this will be a reasonable addition to the project, and if so, let me know if you'd like me to change anything about how I've implemented this feature.
Thanks!

Implements https://github.com/mac-cain13/R.swift/issues/420

Thanks for the PR! I'll look into it to see if we can merge it into the 5.0 release.

Thanks, looks good! I've merged it into master, so it will be in the next release.
Thanks again for contributing.


rust debugging not work

i was getting error unable find executable file ...
after changing this line in the config rust tools everything was fine for me
`
local path = vim.fn.glob(vim.fn.stdpath "data" .. "/mason/packages/codelldb/extension/")
or vim.fn.expand "~/" .. ".vscode/extensions/vadimcn.vscode-lldb-1.7.4/"
-- change to
local path = vim.fn.expand "~/" .. ".vscode/extensions/vadimcn.vscode-lldb-1.7.4/"
`

run :Mason and install codelldb
that would fix the issue

@robatipoor this commit should make it a bit more clear for new users -> https://github.com/abzcoding/lvim/commit/0bc4fde98cf5f6f966b60ad4946936b7bc7d4b1a

thank you

haha this config lunarvim has more code then configs for neovim :D
thanks abzcoding for all your effort :D


Delete dead code resulting from 20c11b4f3dc2ee36fd46edbdd6801d5a4298f901

Missed a comment in PR https://github.com/Microsoft/TypeScript/pull/16183

@amcasey,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


feat: implement theme changing feature to propagate changes to child apps

This PR introduces a theme-changing feature in the parent application, enabling theme changes to be propagated and reflected across all child apps.
Changes

Implemented a mechanism to broadcast theme changes from the parent app to child apps using window events.
Updated the parent app to handle and apply theme changes dynamically.
Ensured that child apps correctly receive and apply theme changes from the parent app.

Thank you for your feedback! @wwills2
I have implemented a new flow for changing colors using theme.js, so the color-changing component is no longer necessary. Additionally, I have used arrow functions for consistency as told. I appreciate you pointing this out. Please let me know if there are any other concerns or suggestions.

Hello @wwills2,
Changes have been implemented and pushed.

I have created HeaderBranding component, It'll pick the svg from CustomHeaderBrandinng.svg if its there.
As there was no static theme in this repository. So, It will only set the theme from theme.json if it exist. I fixed the one place that wasn't checking that theme state have theme or not.

Note: Couldn't remove /public folder because it have files that are already being used by project. Additionally, I just put the custom theme and svgs for structure and names reference in future.  Files I created aren't effecting anything. theme.json have default colors, and svgs are same as they were. If you delete the files I created, It wont effect anything.

The /public folder directly places files in the server root, which means the only way to test the implemented feature was by placing the necessary files in this directory.

The /public folder directly places files in the server root, which means the only way to test the implemented feature was by placing the necessary files in this directory.

this is true, but when the software is deployed if custom icons and/or colors are desired, the deploying entity will provide them. we do not want the files to ship with the software. they do not need to be deleted locally, they just need to be un-versioned by git so that they are not part of the code base on github.


Error running mz_zip_reader_init_mem on ESP32

I wish to unzip data on an ESP32 (this is an embedded MCU).  The latest release of miniz compiles cleanly.  I then try and run the following code:
void run() {
	ESP_LOGD(tag, "Zip size: %d", mydata_zip_end - mydata_zip_start);
#ifdef MINIZ_LITTLE_ENDIAN
	ESP_LOGD(tag, "We are little endian!");
#endif
	mz_zip_archive zip;
	mz_zip_zero_struct(&zip);
	mz_bool rc = mz_zip_reader_init_mem(&zip, mydata_zip_start,
           mydata_zip_end - mydata_zip_start, 0);
	ESP_LOGD(tag, "rc from mz_zip_reader_init_mem: %d [lastError=%d - %s]",
			rc, mz_zip_get_last_error(&zip),
                        mz_zip_get_error_string(mz_zip_get_last_error(&zip)));
}

The data found at mydata_zip_start is a ZIP file created in Linux using "zip".
On return, the following is logged:
D (633) miniz: Zip size: 896
D (633) miniz: We are little endian!
D (634) miniz: rc from mz_zip_reader_init_mem: 0 [lastError=7 - no error]

Unfortunately, I'm stuck.  I am happy to run any tests, provide any documentation or other information and screen share if needed.

Error 7 is MZ_ZIP_FAILED_FINDING_CENTRAL_DIR, which means it cannot find the zip central directory. Maybe you did not read the whole zip file into memory?

Thanks for the response.  I have checked, checked and double checked and am quietly confident that the whole zip file is in memory.  I did a data dump and compared against the file and all matched nicely.

I am having trouble zipping up a txt file and keep running into mem_error. How much should my memory really be to zip a 22k text file on fatfs? my deflate_init returns the mem_error. I see that sizeof(tdefl_compressor)) is 167k. Is that the space needed as a minimum to run this function? My buffer is 4096.

I'm running into the same issue as @srikrishnansrinivasan, I had the same issue with zlib as well before jumping to miniz. @srikrishnansrinivasan we're you able to resolve the issue?

I resolved the issue by reducing the memory footprint of miniz (enabling the LESS_MEM flag and reducing the buffer size).


Dependency Resolution different versions for compile 10.0.2 and runtime 10.2.4

D:\Nat\ChatApp>react-native run-android
Scanning folders for symlinks in D:\Nat\ChatApp\node_modules (350ms)
JS server already running.
Building and installing the app on the device (cd android && gradlew.bat installDebug)...

Configure project :app
WARNING: The option 'android.enableAapt2' is deprecated and should not be used anymore.
Use 'android.enableAapt2=true' to remove this warning.
It will be removed at the end of 2018.
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation'.
It will be removed at the end of 2018
WARNING: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.0.
Android SDK Build Tools 27.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

Configure project :react-native-maps
WARNING: The option 'android.enableAapt2' is deprecated and should not be used anymore.
Use 'android.enableAapt2=true' to remove this warning.
It will be removed at the end of 2018.
WARNING: The specified Android SDK Build Tools version (25.0.3) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.0.
Android SDK Build Tools 27.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '25.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:preDebugBuild'.

Android dependency 'com.google.android.gms:play-services-maps' has different version for the compile (10.0.1) and runtime (10.2.4) classpath. You should manually set the same version via DependencyResolution

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 39s
3 actionable tasks: 1 executed, 2 up-to-date
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html

I have this issue too, is there any resolution?

When you run react-native link after the installation of react-native-maps this line is added compile project(':react-native-maps') in dependencies in android/app/build.gradle only remove this line and react-native-maps and it is going to work again

I removed compile project(':react-native-maps') but now I'm getting 'Native module AirMapModule tried to override AirMapModule for module name AirMapModule'

It worked. Thanks @tadeumx1  and @Stalder but my question is how this solution is even working?

@Shhzdmrz getting the same error.. Did you get to solve it?

Help fix the error


add device bluetooth without xiaomi home?

some way to use the bluetooth of the getaway to add devices directly without having to go through "xiaomi home" or that are from xiaomi?

Xiaomi devices don't send anything unless you connect them to an account


Add const support to inherent impl and attr support generally

I think this resolves #33, but I have not tested any of this code.

@VictorKoenders is this change something you're interested in?

Yes I think this looks good.
I think currently virtue does not have a good way to test changes like this, so I need to think about how we're going to test new features in PRs like this. I'll think about this testing framework for a while and get back to this PR when I figure something out.
So it'll be a bit before I merge this, sorry!

No good solution has popped up yet and I don't want this to be blocked for too long, so I'll merge this. Thanks!


Post from Civic Spark Day for social media

found this great recap of Civic Spark Day, we should promote it via social a few times:
https://www.linkedin.com/pulse/my-3-takeaways-from-code-durhams-civic-spark-day-cari-keller

and this one...http://www.wakeinnovates.com/?p=343


enable cyclical trainings

We need to provide option for cyclic training.

to make it more generic, we could split session table into two, e.g. session-template and session-event - first for specifying session details, and second would be declaring this session as event in specified time period and for it registration would be done.
when creating new event we would be able to use existing session by selecting, then our event became automatically linked to this session template. If we would create event without using existing session, we would create new session-template entity and one or more session-event entity
to selecting date and hour we would add option  - "repeat this event each week" with selecting date of last event
as a result we need to create events each week for used period

To make reservations for cyclic trainings easy, after selecting event, we would show list of next events of the same session, grouped by month with checkboxes to select them (also group checkboxes for months) and after confirmation, all selected events would be added to the pending reservations


[stable/mysql] as a subchart, get wrong secretName

Is this a request for help?:
Yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
maybe a bug report
Version of Helm and Kubernetes:
$ helm --kubeconfig kubeconfig version
Client: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.7", GitCommit:"6f482974b76db3f1e0f5d24605a9d1d38fad9a2b", GitTreeState:"clean", BuildDate:"2019-03-25T02:52:13Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.5-k3s.1", GitCommit:"256ea73aeb2627eb9b510f6c22881af8f967dd0c", GitTreeState:"clean", BuildDate:"2019-03-27T18:49+00:00Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}

--
Which chart:
stable/mysql
What happened:
Got wrong template results.
I want to use the mysql's secret name in my chart as a reference to it.
How to reproduce it (as minimally and precisely as possible):
requirements.yaml
dependencies:
  - name: mysql
    version: 0.15.0
    repository: https://kubernetes-charts.storage.googleapis.com/

templates/test.yaml
apiVersion: v1
kind: ConfigMap
metadata:
    name: {{ template "mysql.fullname" . }}-configuration
data:
    fullname: {{ template "mysql.fullname" . }}
    secretname: {{ template "mysql.secretName" . }}
    name: {{ template "mysql.name" . }}

$ helm install --kubeconfig kubeconfig --dry-run --debug --name test .

What i got:
# Source: test/templates/test.yaml
apiVersion: v1
kind: ConfigMap
metadata:
    name: test-configuration
data:
    fullname: test
    secretname: test
    name: test

What i expected:
apiVersion: v1
kind: ConfigMap
metadata:
    name: test-configuration
data:
    fullname: test-mysql
    secretname: test-mysql
    name: mysql

This is not a bug, You can find the template label at _helper.tpl and edit that, But I do not suggest to do that.

Okay, if it is not a bug, then how can I get the secret name of the mysql's secret in my main chart to use it?
In the subchart, the secret name generated well, but in the main chart, I don't get the same value.
{{ template "mysql.fullname" . }}
subchart:
test-mysql
main chart:
test

https://github.com/helm/helm/issues/3920


Error: Call to a member function get() on null 500 Internal Server Error - FatalErrorException

I just spent whole day but unfortunately didn't find the solution - I have done all through the instruction, but every time I receive symfony debug error:
@mitsurugi Error: Call to a member function get() on null 500 Internal Server Error @
My tests show that problem starts from declaration:
$phpExcelObject = $this->get('phpexcel')->createPHPExcelObject();
PHPExcel alone works finу via        //   $objPHPExcel = new PHPExcel();
Please, help - where to look, what to check?

is the bundle installed?
https://github.com/liuggio/ExcelBundle#installation

Yes, sure.
I did update via composer and appkernel.php...
On 5 Oct 2015 12:46, "Giulio De Donato"<EMAIL_ADDRESS>wrote:

is the bundle installed?
https://github.com/liuggio/ExcelBundle#installation
—
Reply to this email directly or view it on GitHub
https://github.com/liuggio/ExcelBundle/issues/90#issuecomment-145482860.

where are you calling $this?

BTW is not ExcelBundle related issue is how you configured test env.

@mobotan1 if you publish some code would be possible help otherwise is not so easy.

Thanks in advance! I will post my code within 3 hours.
On 5 Oct 2015 13:00, "Giulio De Donato"<EMAIL_ADDRESS>wrote:

@mobotan1 https://github.com/mobotan1 if you publish some code would be
possible help otherwise is not so easy.
—
Reply to this email directly or view it on GitHub
https://github.com/liuggio/ExcelBundle/issues/90#issuecomment-145485035.

Here is my code cut
I have controller function:
/** @Route("/excel", name="ExcelJob")    */
public function ExcelAction() {
    $ExcelFile = "/home/my/project/1.xlsx”;

    $phpExcelObject =  $this->get(' ExcelService')-> LoadExcelFile($ExcelFile)

    //…

And I have separate class:
Services.yml
ExcelService:

    class:        AppBundle\Controller\ExcelClass

    arguments:

class ExcelClass extends Controller
{
public function LoadExcelFile($ExcelFile){

    $phpExcelObject = $this->get('phpexcel')->createPHPExcelObject($ExcelFile);

    return $phpExcelObject;

}

From: Giulio De Donato<EMAIL_ADDRESS>Sent: Monday, October 05, 2015 1:00 PM
To: liuggio/ExcelBundle
Cc: mobotan1
Subject: Re: [ExcelBundle] Error: Call to a member function get() on null 500 Internal Server Error - FatalErrorException (#90)
@mobotan1 https://github.com/mobotan1  if you publish some code would be possible help otherwise is not so easy.
—
Reply to this email directly or view it on GitHub https://github.com/liuggio/ExcelBundle/issues/90#issuecomment-145485035 .  https://github.com/notifications/beacon/AORkMYWH0olqErBWwAAQ7ueE1NuFbls9ks5o4kGvgaJpZM4GIp8F.gif

@mobotan1

please use markdown
please remove the cc when reply from email
you have to inject the php excel into your class as collaborator $this not exist on your class $this->get('phpexcel'), you should ask on irc on any php channel.

I got it!
In controller - $phpExcelObject = $this->get('##Name_Of_Service##');
In Service -
protected $container;
protected $phpexcel;
public function setContainer (\Symfony\Component\DependencyInjection\ContainerInterface $container) {
    $this->container = $container;
    $this->phpexcel = $this->container->get('phpexcel');
}

public function ExcelTest(){
$ExcelFile = // path to Excel file
$phpExcelObject = $this->phpexcel->createPHPExcelObject($ExcelFile);
//...
}


Parse user crontab

New option: -u
Can parse a user crontab by disable user check.

Hi there 😃
Is this project still alive ?
This PR will be very usefull !

Hi there 😃
Is this project still alive ?
This PR will be very usefull !

use my fork ;)

Hi there 😃
Is this project still alive ?
This PR will be very usefull !

use my fork ;)

Thank you,
Do you have any usage documentation to share from you fork ?
Currently I just install this tool with pip pip install chkcrontab.
I suppose that I need to install it with another way by you fork ?

Hi there 😃
Is this project still alive ?
This PR will be very usefull !

use my fork ;)

Thank you,
Do you have any usage documentation to share from you fork ?
Currently I just install this tool with pip pip install chkcrontab.
I suppose that I need to install it with another way by you fork ?

clone it and run python3 setup.py install

Doesn't work from my side
chkcrontab cron_file
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.7.11/x64/bin/chkcrontab", line 62, in <module>
    main(sys.argv)
  File "/opt/hostedtoolcache/Python/3.7.11/x64/bin/chkcrontab", line 43, in main
    version=__version__)
TypeError: __init__() got an unexpected keyword argument 'version'
Error: Process completed with exit code 1.

Any idea ?

Sorry, I've just faced this issue too, and fixed it right now.


3.0 a bunch of fixes

correction of {min} and {max} values
fix typo: Tshould -> should
fix definition: images we measure in pixels, files in bytes
corrected sentence structure: "The image does must have a ratio..." -> "does must have" make sense?

@LuckyCyborg Please correct me if I'm wrong. If everything is right I will send the german translation.

@nekomajin Thanks for your efforts!
And Yes, looks OKay your strings. To note that what I made was to copy&paste the messages from vendor;s Validator Rules, needing to integrate the Validation into our INTL Envinroment.
Specially I checked if changing the label to {max} is supposed to work in the corespondent Validation Rule, and everything looks OKay.


Change Glo Dollar's naming on Giveth from GLO to Glo Dollar and USDGLO

We standardize our naming scheme to Glo Dollar for the name and USDGLO for the symbol. See https://coinmarketcap.com/currencies/glo-dollar/ for an example.
Would be great if the Giveth platform can use this naming scheme too instead of the current "GLO" for both the name and the ticker :-)
Originally posted by @gglucass in https://github.com/Giveth/impact-graph/pull/1152#discussion_r1360375928

the name, symbol and image should be fixed on mainnet & polygon

you can check it out on giveth.io

Terrific, thank you @divine-comedian!


Update QUICHE from e08f8dde2 to 6b81fc168

https://github.com/google/quiche/compare/e08f8dde2..6b81fc168
$ git log e08f8dde2..6b81fc168 --date=short --no-merges --format="%ad %al %s"

2024-05-15 birenroy Unifies `OgHttp2Session::DataFrameInfo` and `Http2VisitorInterface::DataFrameHeaderInfo`.
2024-05-15 birenroy Introduces new `Http2VisitorInterface` methods for DATA frame generation.
2024-05-15 bnc Improve qpack_header_table_test.cc.
2024-05-15 quiche-dev Initialize a struct's `std::optional` member to `std::nullopt` as default.
2024-05-14 quiche-dev Remove unnecessary break statement in WebTransportWriteBlockedList::IsStreamBlocked()
2024-05-14 birenroy Fixes accounting for DataFrameSources in NgHttp2Adapter.
2024-05-14 quiche-dev Resolve the following 4 technical debt issues: (readability-avoid-const-params-in-decls)
2024-05-14 vasilvv Implement QuicWriteBlockedList version that supports WebTransport priority scheme.
2024-05-14 wub Set `gfe2_restart_flag_quic_opport_bundle_qpack_decoder_data5` to false on chromium.
2024-05-14 birenroy Associates all test cases that involve a `DataFrameSource` with a test fixture.
2024-05-14 quiche-dev Enabling rolled out flags.
2024-05-13 rch Deprecate --gfe2_reloadable_flag_quic_enable_http3_metadata_decoding
2024-05-13 birenroy Migrates the remaining tests from TestDataFrameSource -> VisitorDataSource.
2024-05-13 birenroy Migrates oghttp2_adapter_test.cc from TestDataFrameSource to VisitorDataSource.
2024-05-13 birenroy Migrates nghttp2_adapter_test.cc from TestDataFrameSource to VisitorDataSource.
2024-05-13 birenroy Adds VisitorDataSource, which invokes visitor methods to set up and send DATA frames.
2024-05-13 wub No public description
2024-05-13 bnc Add some QuicIntervalDeque::Iterator methods.
2024-05-13 birenroy Migrates two tests to TestVisitor.
2024-05-10 birenroy Renames DataSavingVisitor to TestVisitor.
2024-05-09 birenroy Plumbs the `end_stream` bit through the oghttp2 session interface.
2024-05-06 quiche-dev Fix QUICHE_DCHECK_LE compile error
2024-05-06 birenroy Exports QUIC flag `quic_stop_reading_also_stops_header_decompression` to QUICHE.
2024-05-06 bnc Make QuicIntervalDeque::Iterator random access.
2024-05-06 danzh No public description
2024-05-06 quiche-dev Fix QuicIntervalDeque::Iterator::operator+=
2024-05-05 vasilvv Move blackhole detector and ping alarms into QuicConnectionAlarms.
2024-05-04 wub Fix a bug in `QuicSession::GetFlowControlSendWindowSize` when the input stream id is a qpack stream id.
2024-05-02 birenroy Updates Http2Adapter::SubmitRequest/SubmitResponse to include an `end_stream` parameter.
2024-04-30 vasilvv Move QuicIdleNetworkDetector alarm into QuicConnectionAlarms.
2024-04-29 danzh Fix test expectations differ when --gfe2_reloadable_flag_quic_stop_reading_also_stops_header_decompression is true.
2024-04-29 wub GFE custom prober: Allow HTTP/3 probe to set `SSL_OP_NO_TICKET` despite it being a no-op in TLS1.3.
2024-04-26 wub Remove QuicConnectionProcessPacketContext.
2024-04-26 wub Replace `kAckDecimationDelay` by protocol flag `quic_ack_decimation_delay` so we can experiment with different values.
2024-04-26 quiche-dev No public description
2024-04-26 vasilvv Move all of the individual alarms in QuicConnection into a new holder class.
2024-04-25 birenroy Exposes an accessor within QuicStream for the number of bytes consumed on a stream.
2024-04-25 ericorth Delete partial message buffering from QBONE
2024-04-24 wub Add `ssl_config` to `QuicCryptoClientConfig` and `QuicCryptoServerConfig`.

Plus necessary changes to bazel/external/quiche.BUILD
Risk Level: Low
Testing: Existing tests pass
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Looks like a real failure:
external/com_github_google_quiche/quiche/http2/adapter/oghttp2_session.cc:2100:7: error: designated initializers are a C++20 extension [-Werror,-Wc++20-designator]
      .payload_length = 0, .end_data = true, .end_stream = true};

I'm waiting on another QUICHE change to land to fix the failure. Once that's in I'll update this PR.


Make 2 images with varying aspect ratio look more presentable

I used CSS grid for my web client but I wasn't sure how I'd translate it to something that works for React Native, so I'm not sure if this is clamping the aspect ratio properly as it should have. (we're clamping the aspect ratio to between 3/4 and 4/3 so we don't end up with extreme crops)

Before
After

My web client for point of reference

Description
Image

1000x563 and 667x1000

two 1000x562

two 667x1000

I won't lie, this is actually worse than just presenting >=2 images in a horizontal scroller.


Translate tasks/administer-cluster/kubeadm/kubeadm-upgrade/ in Korean

This is a Feature Request

What would you like to be added

Translate tasks/administer-cluster/kubeadm/kubeadm-upgrade/ in Korean.
Why is this needed
There is no document of docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/ which translated into Korean
Comments

Page to translate: https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/
/language ko

/assign


Emit fixup debug info for internal tooling

See MSFT-33187224 for more information.
This may impact debuggability; I have no idea how to tell.

This will be serviced back to 1.6, even though 1.6 isn't in active use.


Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden

Hi there,
using the latest Helm Chart and image version when we try to enable the backup on an existing GraphDB Helm chart we get:
│ Error: cannot patch "graphdb-master-1" with kind StatefulSet: StatefulSet.apps "graphdb-master-1" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden
│
│   with module.graphdb_ha[0].helm_release.graphdb,
│   on ../../modules/graphdb_ha/main.tf line 81, in resource "helm_release" "graphdb":
│   81: resource "helm_release" "graphdb" {

Here is our Helm yml configuration Template. Including backupRestore triggers this error:
deployment:
  protocol: http

  ingress:
    class: kong

kong:
  enabled: false

graphdb:
  masters:
    license: %{if replicas == 1}"graphdb-license-1"%{else}""%{endif}
    java_args: >
      -XX:MaxRAMPercentage=70
      -XX:+UseContainerSupport
      -Ddefault.min.distinct.threshold=100m
      -Dgraphdb.workbench.maxUploadSize=3221225472

    nodeSelector:
      deploy/graphdb-ha-master: "true"

    topologySpreadConstraints:
      - maxSkew: 1
        topologyKey: kubernetes.io/hostname
        whenUnsatisfiable: DoNotSchedule
        labelSelector:
          matchExpressions:
            - key: app-type
              operator: In
              values:
              - master

    persistence:
      volumeClaimTemplateSpec:
        accessModes:
          - ReadWriteOnce
        resources:
          requests:
            storage: 10Gi
        storageClassName: local-path

    resources:
      limits:
        memory: ${memory + 1}Gi
      requests:
        memory: ${memory}Gi

  workers:
    # TODO: this does not work:
    java_args: >
      -XX:MaxRAMPercentage=70
      -XX:+UseContainerSupport
      -Ddefault.min.distinct.threshold=100m
      -Dgraphdb.workbench.maxUploadSize=3221225472

    nodeSelector:
      deploy/graphdb-ha-worker: "true"

    topologySpreadConstraints:
      - maxSkew: 1
        topologyKey: kubernetes.io/hostname
        whenUnsatisfiable: DoNotSchedule
        labelSelector:
          matchExpressions:
            - key: app-type
              operator: In
              values:
              - worker

    persistence:
      volumeClaimTemplateSpec:
        accessModes:
          - ReadWriteOnce
        resources:
          requests:
            storage: 10Gi
        storageClassName: local-path

    resources:
      limits:
        memory: ${memory + 1}Gi
      requests:
        memory: ${memory}Gi

    nodes:
%{~ for replica in range(replicas) }
    - name: worker-${replica + 1}
      license: graphdb-license-${replica + 1}
%{ endfor ~}

  backupRestore:
    # -- Enable auto/manual backups.
    enable_backups: true
    # -- Cron Schedule for auto backup. Creates an automatic backup, stored in the graphdb-backup-pv
    # (default folder - /data/graphdb-backups).
    # The backups are saved in format MM-DD-YYYY-hh-mm in UTC!
    # auto_backup: "0 0 23 ? * MON *"
    auto_backup: "50 14 * * *"
    repositories:
      - things-test
    # -- Enables cleanup of the backups directory.
    # WARNING!!! This can be used only by storage classes that have access mode ReadWriteMany because the backups PVC must be attached to a second pod.
    enable_automatic_backups_cleanup: false
    # -- Cleans up the backups directory.
    # Makes sure that there is a limit of the stored backups.
    # Each or both of backups_count and backups_max_age could be used.
    cleanup_cron: "*/2 * * * *"
    # -- Max number of backup dirs saved.
    backups_count: "10"
    # -- Max number of days for backups.
    backup_max_age: "10"
    # -- A future date at which we want to trigger a backup. Must be given in format YYYY-DD-MM hh:mm
    # NOTE: Timezone depends on the Kubernetes cluster. Usually UTC!
    trigger_backup: ""

    # TODO: Check what this does if enabled
    # -- Trigger restore at a given time from a given file.
    enable_restore: false
    # -- A future date at which we want to trigger a restore. Works only with a cluster with workers.
    # For a standalone the restore is called from an init container. Must be given in format YYYY-DD-MM hh:mm
    # NOTE: Timezone depends on the Kubernetes cluster. Usually UTC!
    trigger_restore: "2021-06-24 13:28"
    # -- The name of the backup directory we want to restore.
    # Must be given in format YYYY-DD-MM-hh-mm, where YYYY-DD-MM-hh-mm is your backup directory. The backup directory name contains the repository name too, but it must be omitted here.
    restore_from_backup: "2021-06-24-12-59"
    # -- The name of the repository we want to restore.
    restore_repository: things-test
    persistence:
     volumeClaimTemplateSpec:
       accessModes:
         - "ReadWriteOnce"
       resources:
         requests:
           storage: "10Gi"

Any ideas what is might causing this error and how to fix it?
best
Martin

Hi,
Kubernetes does not allow updates on other fields on statefulsets, there's nothing we can do about it. Here's some more info: https://github.com/helm/helm/issues/7998

I've noticed 2 things:

when missing the label with entry of app.kubernetes.io/name then this exception happens.
when entry minReadySeconds does appear in the spec the exception still happens.


[Bug] Cursor changes to text on hovering on 'App name'

Description
See loom video:
https://www.loom.com/share/6c3f960ed88a45beb6737c14eb6ca450
@Debsourabh:

The app name doesn't look editable just like in the property pane.
The app name looks totally different in the deploy mode vs the edit mode.

Can you design the navbar so that when the developer switches between the edit mode and deployed mode, the app name, Appsmith logo look consistent? Today the position of the app name and Appsmith logo changes slightly and it doesn't look good. See loom video here: https://www.loom.com/share/7b0fe02528644ddda709bbde748da1bb

https://www.figma.com/file/51WpTmpdZAz3WI6UNwCOC2/New-App-Creation-Flow?node-id=5%3A422


python3Packages.zwave-js-server-python: 0.31.3 -> 0.33.0

Motivation for this change
Update to latest upstream release 0.33.0
Change log: https://github.com/home-assistant-libs/zwave-js-server-python/releases/tag/0.33.0
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python38Packages.zwave-js-server-python
python39Packages.zwave-js-server-python

This PR broke home-assistant :(


Not Working!

I have run this on sample video.It is not working.

Have you tried to plot the sound? You may have the same issue

It seems there is a problem of addition(broadcasting error) in this section of code (sound += sig_aligned). I checked that sound is initialized with zeroes 61 times but during addition align_vectors is returning array of 56 values thats why I am unable to proceed.

Hi I have changed the code to this:
sound = None
for sig in signals.values():
sig_aligned = align_vectors(np.array(sig), np.array(signals[(0, 0)]))  # With "residual_lowpass" same result
if (sound is None):
sound = sig_aligned
else:
sound += sig_aligned
Is it correct way? I noticed now that: 1. I got 1 sec recovered sound for 3 sec video. 2. I am unable to run the recovered file on my player.

with which sample_rate do you call the program? and what is the real video sample rate?

Currently No Sampling rate was given, CAP_PROP_FPS is only being used as in the code.

Ok, If you pass the right sample rate 60 the program does not crush.
You have used the video that uses the Rolling Shutter that is the only one that is not supported by our library.


feat(v2): CodeBlock copy button

Motivation
Hi there. The motivation behind this was so many websites that don't have the copy button.
The design was pretty much eyeballed but is open for suggestions. I chose not to go with an icon here.
Attempts to close #1587
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan

bootstrap the dependencies with

 yarn

Start the project with

 yarn start

Navigate to any codeblock, i.e. http://localhost:3000/docs/installation
Hover the codeblock
Click the copy button

I've only wrapped the pre element with a div that acts as a wrapper and use it for anchoring the position of the copy button.
I've used the clipboard package for copying because I saw it elsewhere in the repo
Edit:
I also noticed that packages/docusaurus-theme-live-codeblock/src/theme/CodeBlock/styles.module.css and packages/docusaurus-theme-classic/src/theme/CodeBlock/styles.module.css are missing the copyright notice on the top.
Maybe it's indented but just wanted point it out if it slipped through.

Oh wow, what a blunder 😦
Pushed a fix, works now

cc @yangshun @wgao19 on UI feedback.

However, I wonder if there's a way we can avoid duplicating the buttons in theme-classic/CodeBlock and theme-live-codeblock. It's not really ideal to have so much duplication. WDYT @endilie

ideally if we want to avoid duplication we have to make one as another dependency. But i think its out of this PR scope.

lets merge this out first ?

Thanks a lot @bvego
you are awesome


Support other languages.

I used to use opensheet for my translations tasks and it used to work fine, but after four months, support for the language is not working.
eg. the actual data >> "አማርኛ"
    the json data am getting >> "áŠ áˆ›áˆáŠ›"

If it has anything to do with the UTF-16 charset you used to support, please take a look at it.

Hmm I’m seeing it come through correctly in this example: https://opensheet.elk.sh/1o5t26He2DzTweYeleXOGiDjlU4Jkx896f95VUHVgS8U/Test+Sheet

Am I doing something different?

After seeing this I run the api using curl and it works fine, it turned out safari was messing up with the response.
Thank you @benborgers for the quick response. Your api helped me a great deal on my projects.
P.S. Please let me know if there is anything I can help with, I dabble with flutter.


Display request returned values on terminal

I'm using Behat on Symfony 2.
I made some scenarios to test REST API features, but I have some of this scenarios who return a 200 code but do not find any key in my JSON.
There is any possible way to display what the request get ?
Actually the verbose option only display errors if a JSON key is not found.
I think this could be helpful if this this is not possible now, and could help a lot when response codes  are good but not datas.

Well, Behat displays whatever you put in the exception message when you trigger an exception to make the scenario fail. If you want more details, write a more detailed exception message.

I'm using RestApiExtension for Behat that has methods that print the request and response. You could use this extension or do it yourself printing the response body, via the HTTP adapter you're using.

Thanks guys for your help.
I'm using WebApiExtension for Behat and there is a custom step to print the response.
Just need to add Then print response in the feature


Node4 / nan 2 support (in-progress)

Hi,
I did this against the master, but unfortunately there are issues with the png library. @EyalAr Please check. NAN 2 stuff are completed.

Closin' in favor of https://github.com/EyalAr/lwip/pull/182


Suggestion: Ability to change changes.

I use prose for a nice agiel CMS for app engine based web sites and applications.
When the change hit github, i have it set to autodeploy to app-engine.
The way we work is NOT with forks. We work off the same repo so we can all see the changes others are making. This works fine for simple CMS style editing.
But at the moment Prose ONLY pulls from master.
So  what would really help is to have the ability to edit things on the "devel" branch, so me and my colleges can make changes, and then later make a marge from "devel" branch to "master" branch.
Changes to code of prose (high level)

Choose branch. This could be part of a new "state" setting in the top right.

Merging to Master can be done with the github API
https://developer.github.com/v3/repos/merging/

I have to admit i lack the time to do this myself and prefer to see what other think abut this, so collectively improve prose for all.
So what do you think  Is this something useful and easy to do ?

I believe this is added now.
Hello and thank you for this issue report. There have been several point releases in Prose since this issue was opened and there has not been much discussion here. I wanted to ask if you could please assist in confirming this is still an issue in the latest version of the product. If it is fixed, please close this issue :-)
Since this project is looking for new maintainers (#743), it will be helpful if users can double check the old issues and delete ones that are fixed. This will be super helpful for the new team that works on moving this project forward.
I'm sorry this message is impersonal. And thanks for your help!

Ok I should have time tonight to check it.
I dont think I am a great maintainer. I work in Java / Scala mostly.
I actually considered making a fork and adapting prose the be Java pipeline based and fully reactive architecture.
If you, anyone is interested in that I could help out then


Suggestion: Register entity takes in lists or a single string of entity_value

In the IntentDeterminationEngine.register_entity(...) registering intent in for loops in the user's code does not look pythonic and interacting that way with the API does not look refined to the end user.
In the following pull request,   the iteration of entity_values is internalized the iteration in a simple manner.
It is a minor change, the iteration can also be parallelized, but it can be applied to similar methods to avoid  external for loops from becoming the formal way of interacting with the API.

It appears I made a painful choice back in the day on the method signature (entity_value, entity_type). Because these are positional and untyped, reversing them would be a breaking change to the API, to be discovered at runtime and super opaque (even the boldest disclaimers in
We could add an additional method (register_entities) to try to fix this semantic, but the ordering would be inconsistent in an unpleasant way.
I'm happy to review a PR in this vein!

This hasn't seen any forward progress, and I'm not super to pursue it myself (as a small ergonomic change). @OAkyildiz if you have the time to wrap up your PR, please indicate as much, otherwise I'll be closing this on 9/17 as out of scope/stale for 1.0.0.
Thanks!


maocs nightly release size has massively increased

The nightly archive size went from 30.8 MiB to 87.3 MiB between commits 794c20956de and d47a073634e, on Linux there was no increase at all.
I suspect PR https://github.com/roc-lang/roc/pull/6834 is the cause. We should investigate this and see if we can reduce the size.

Whatever it was, the sizes are back to normal now.


144 draft

std::allocator_traits<allocator_type>::propagate_on_container_swap::value
If std::allocator_traits<allocator_type>::propagate_on_container_swap::value is true, then the allocators are exchanged using an unqualified call to non-member swap. Otherwise, they are not swapped (and if get_allocator() != other.get_allocator(), the behavior is undefined).
https://en.cppreference.com/w/cpp/container/vector/swap
https://godbolt.org/z/41Tz1sKdq

https://www.jeremyong.com/c++/2023/12/24/cpp20-gamedev-naughty-nice/


feat: add dockerfile for silverback docker image

What I did
added a dockerfile with ape as a base image
How I did it
created a dockerfile
How to verify it
$ docker build -t silverback .

Checklist

[x] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[x] Documentation has been updated
[x] PR title follows Conventional Commit standard (will be automatically included in the changelog)

next ape release will make apeworx/ape:latest fix chown https://github.com/ApeWorX/ape/issues/1476#issuecomment-1588185338

i get:
(yoko) ➜  silverback git:(feat/dockerfile) docker build -t silverback .
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
ERRO[0000] Can't add file $HOME/PycharmProjects/silverback/.git/hooks/push-to-checkout.sample to tar: io: read/write on closed pipe
ERRO[0000] Can't close tar writer: io: read/write on closed pipe

but my Docker is always corrupt it seems, idk
btw, this have CI + Dockerhub setup?

we don't have the CI + Dockerhub yet. I was planning to start work on that once this PR is merged.

fixes: #7

@fubuloubu can you take a look at this?


Allow hiding an existing debug toolbar item

Description
As a VS Code extension developer I would like to have the ability to:

Remove or hide an icon of an exiting registered command in the debug toolbar. Sometimes, when building upon an existing debugType some of those icons might be redundant or not relevant anymore. Furthermore, sometimes an extension would like to customise certain icons; hiding and adding a new one would have the desired effect.

I do not know if the above is already possible (attaching to when clause?).
As part of this issue, I would also like to request documentation about the debug toolbar and this feature. I think the only available information in the documentation website is a brief sentence on Contribution Points.
In addition, I also think we're missing a sample that edits the debug toolbar in VS Code extensions samples, it would be great to have a sample there. Let me know if I should open an issue there about this.
Tasks

[ ] Allow hiding an existing debug toolbar item
[ ] Include samples to VS Code extensions samples for customising the debug toolbar.
[ ] Include documentation about the debug toolbar, such as the groups and order shown here.

References

Allow customisation of debug toolbar (eg. additional buttons)
Actions in the debug toolbar should be properly contributed #69153

(cc: @isidorn)

Are you talking about custom buttons from another extension or builtin debug commands (like step-in)

Yes I am indeed. Would it be something the team is willing to work on?

No, we can't let one extension disable features from another extension


"Parser bug (please report)" in output log

Godot version
4.1.1
System information
Godot v4.1.1.stable - Windows 10.0.22621 - Vulkan (Forward+) - integrated Intel(R) Iris(R) Xe Graphics (Intel Corporation; <IP_ADDRESS>14) - 13th Gen Intel(R) Core(TM) i7-1360P (16 Threads)
Issue description
The message "Parser bug (please report): Trying to check compatibility of unset value type" appeared in the output log when I typed Vector2((get_window().)) after I added the [.].
Steps to reproduce
In a function, type "Vector2((get_window()))". Then, add [.] after "get_window()". If that doesn't work, then idk what happened in my project.
Minimal reproduction project
https://github.com/Royerson/godot_parser_bug

Possibly related to #80266?

https://github.com/Royerson/godot_parser_bug
Here is a minimal reproduction project. Open new_script.gd and delete ".ZERO" then type "."

https://github.com/Royerson/godot_parser_bug Here is a minimal reproduction project. Open new_script.gd and delete ".ZERO" then type "."

Yeah that seems about right

Please test 4.2.beta4 as the linked issue has been resolved since.

See also https://github.com/godotengine/godot/issues/80266#issuecomment-1752191694.
Fixed by #83257.


Support React Primitive interfaces

What: Export for React Primitives

Why: For adding the support to render the primitive interfaces across the targets

How:

Defined getter for each aliases.
Added glamorous constructor for primitives using composition.
Export ThemeProvider and withTheme

Checklist:

[ ] Documentation
[x] Tests
[ ] Ready to be merged
[x] Added myself to contributors table

Hi! What's help do you need to get this working?

Thanks! I'll look into this (jsx-style api) further and will let you know if it's working or I need some help 😄

I think I've got a way to add the JSX api and I will push the changes soon. But if there is any deadline  or something let me know!

One thing, Text and View are already assigned on glamorous.
{ [Function: GlamorousComponent]
  propTypes:
   { className: { [Function: bound checkType] isRequired: [Function: bound checkType] },
     cssOverrides: { [Function: bound checkType] isRequired: [Function: bound checkType] },
     theme: { [Function: bound checkType] isRequired: [Function: bound checkType] },
     innerRef: { [Function: bound checkType] isRequired: [Function: bound checkType] },
     glam: { [Function: bound checkType] isRequired: [Function: bound checkType] } },
  contextTypes: [Getter/Setter],
  styles: [],
  comp: 'text',
  rootEl: 'text',
  forwardProps: [],
  displayName: 'glamorous.Text',
  propsAreCssOverrides: true }

🤔  ?

But if there is any deadline or something let me know!

Open source has no deadlines ;-) But I am hoping to do a big push of stuff in the next week or so. Would love to include this as part of that!

Ok! So I've fixed some issues and now we can easily style the primitives with glamorous. But I noticed something that prop View, Text and Image are already assigned on glamorous.
{ [Function: ThemedComponent]
  propTypes:
   { className: { [Function: bound checkType] isRequired: [Function: bound checkType] },
     cssOverrides: { [Function: bound checkType] isRequired: [Function: bound checkType] },
     theme: { [Function: bound checkType] isRequired: [Function: bound checkType] },
     innerRef: { [Function: bound checkType] isRequired: [Function: bound checkType] },
     glam: { [Function: bound checkType] isRequired: [Function: bound checkType] } },
  contextTypes: [Getter/Setter],
  styles: [],
  comp: 'text',
  rootEl: 'text',
  forwardProps: [],
  displayName: 'glamorous.Text',
  withComponent: [Function: withComponent],
  isGlamorousComponent: true,
  propsAreCssOverrides: true }

Can you tell me something about this ? Also I tried implementing the jsx api for the primitives but I am getting css-nil as classname. I am doing this -
import reactPrimitives from 'react-primitives';
import createGlamorous from './create-glamorous'
import splitProps from './split-props'

const glamorous = createGlamorous(splitProps)
const aliases = ['Image', 'Text', 'View', 'Touchable'];

Object.assign(
  glamorous,
  aliases.reduce((getters, alias) => {
    getters[alias.toLowerCase()] = glamorous(reactPrimitives[alias])
    return getters
  }, {}),
)

Object.assign(
  glamorous,
  aliases.reduce((comps, alias) => {
    comps[alias] = glamorous[alias.toLowerCase()]()
    comps[alias].displayName = `glamorous.${alias}`
    comps[alias].propsAreCssOverrides = true
    return comps
  }, {}),
)

I think that I've missed a few comments from you here. How can we help? What questions do you have?

I think you asked about the existence of glamorous.Text and glamorous.View. Those are there because <text> and <view> are svg elements so they're supported by the default glamorous export. Does glamorous-primitives need to include all the html elements? I would expect it only needs to support Image, Text, Touchable, and View...

No we only need to add Image, Text, Touchable and View. I've a doubt!
We may need to create a native constructor for glamorous to style the primitives. According to our api when we import glamorous from glamorous/primitives, this will only render on web!
const StyledView = glamorous.View({ color: 'red' });

return (
  <StyledView>
     Hello World
  </StyledView>
)

But we also want it to render on mobile platform with the same import!

Yeah, I'm not sure how to do that 🤔 But we definitely want it rendering anywhere you can render primitives....

If you want I can look into this further. Seems interesting though!

Yes, please do! Thanks for all your work so far!

Gonna close this because it's done!


Playlist window missing

When you play a playlist the window on the right(right of the video window) should show the playlist with the other videos in it.Right now that list is missing.Tested with both HTML5 and flash player with same results.Works fine when YTC is disabled.Running latest Nightly + GM + latest dev script.

Temporary fix
Install Stylish addon.
Go to youtube.com
Write new style -> For youtube.com...
Copy this code:
.playlist-videos-list {
    height: 260px !important;
    overflow: auto !important;
}

Name the style. Save.
With this style fix, you can get back the playlist with scrollbar, and you can scroll properly on the playlist.

+1.

better add this now:
z-index: 10 !important;

I no longer email me thanks and regards.!
yhyung
On 14 Jan 2015 22:33, kliop00023<EMAIL_ADDRESS>wrote:
better add this now:
z-index: 10 !important;

Reply to this email directly or view it on GitHub:
https://github.com/YePpHa/YouTubeCenter/issues/1345#issuecomment-69903886

Same here. Thanks for the temporary fix

On my watch later playlist the whole sidebar doesn't show up. Sometimes after many refreshes it will appear but its getting a bit annoying. Will the stylish add on fix this?
Looking at the code "watch7-sidebar-playlist" is blank the same as "watch7-sidebar-ads"... could it be something about the "remove ads" option that is causing this?

No, this was caused by the class player-height not being applied to the #watch-appbar-playlist element. In the latest developer version this has now been fixed.
@kliop00023 Also what should the purpose of setting the playlist's z-index to 10. I have not seen any instances where it would get hidden by anything (other than the turn off lights feature, but that's intentional).


Increased default stack size

Fixes https://github.com/lihaoyi/scala-parser/issues/8

Oh wow, I didn't know you could do this


feat: Add support for Azure devops

Azure Devops is not currently supported. Going to look into this since I know nothing about it!
Originally posted by @GiorgioDots in https://github.com/ieedan/jsrepo/discussions/210#discussioncomment-11634441

Azures URL structure is BY FAR the worst I have seen so this may take longer than expected.

Also DARK MODE ?

Azures URL structure is BY FAR the worst I have seen so this may take longer than expected.

Yep, I agree, but to add it to jsrepo I thought to change it with something like "{org_name}.azuredevops.com/{project_name}/{repo_name}" and parse this string to get the mandatory params when fetching raw files. Could this be a good solution?

Also DARK MODE ?
It does have dark mode, you can change theme from the user preferences page

You can see what I have at https://github.com/ieedan/jsrepo/tree/azure-dev-ops
My goal with jsrepo has always been so that you can paste the URL from the homepage of your repo and it should just work. That way you don't have to know or learn anything about each provider.
In this case the url looks like this on the homepage:
https://dev.azure.com/aidanbleser/_git/std?path=/&version=GTv1.6.0&_a=contents

The problem I am currently having is that from that URL as far as I can tell there is no way of knowing the project name.

@GiorgioDots any way I do this parsing for the URLs is going to need a complete overhaul, things are gonna have to be smarter than they are at the moment.
What do you think is the most intuitive way to make it so that the project name is also in the URL? A query parameter something else?
Unfortunately the current URL structure doesn't make it possible to determine the project name just from the URL alone.

Maybe azure just will be a completely custom URL because of this so I would make it something like:
azure/<org>/<project>/<repo>/(heads|tags)/<ref>

We would just have to ditch the copy paste goal for this provider since they are difficult.

@GiorgioDots any way I do this parsing for the URLs is going to need a complete overhaul, things are gonna have to be smarter than they are at the moment.
What do you think is the most intuitive way to make it so that the project name is also in the URL? A query parameter something else?
Unfortunately the current URL structure doesn't make it possible to determine the project name just from the URL alone.

Yes, unfortunately it' a little tricky how it works.
There are 3 possible urls:

The old one (changed in 2018 to the new one but still active): <org>.visualstudio.com/<project>/_git/<repo>
The new one: dev.azure.com/<org>/<project>/_git/<repo>
For both old and new urls, if there is only one repo in the project, the project name and the repo name are in the same spot inside the url. For example, from dev.azure.com/aidanbleser/_git/std i could tell that std is the project name and the repo name. It will change to dev.azure.com/aidanbleser/std/_git/std when you add a new repo inside the project

So, there are two solutions:

one a little tricky, but will be compatible with your goal, which is to handle those three cases and retrieve the information based on the url structure. But i can't find a way to handle branches and tags, so it will not be be fully compatible.
The second one is the one you mentioned:

Maybe azure just will be a completely custom URL because of this so I would make it something like:
azure/<org>/<project>/<repo>/(heads|tags)/<ref>

We would just have to ditch the copy paste goal for this provider since they are difficult.
Let me know what you think!

Unfortunately it won't fit with the copy paste goal (which i really like), but it can handle all the cases with one url structure.
For both solutions, i found that it's possible to fetch the raw contents through this api. With this request it's possible to handle the private repos too by adding an Authentication: Basic {token} header. The token can be added with the current jsrepo flow, the user just needs to add a Personal Access Token, The only note is that the token needs to be encoded to UTF8 byte[] and converted to a base64 string before being added to the header, here's the docs
Even if it doesn't fit with your goal of copy and paste, I personally prefer the second solution, because it handles branches and tags too, it also clears the unnecessarily complex urls.

@GiorgioDots any way I do this parsing for the URLs is going to need a complete overhaul, things are gonna have to be smarter than they are at the moment.

What do you think is the most intuitive way to make it so that the project name is also in the URL? A query parameter something else?

Unfortunately the current URL structure doesn't make it possible to determine the project name just from the URL alone.

Yes, unfortunately it' a little tricky how it works.
There are 3 possible urls:

The old one (changed in 2018 to the new one but still active): <org>.visualstudio.com/<project>/_git/<repo>

The new one: dev.azure.com/<org>/<project>/_git/<repo>

For both old and new urls, if there is only one repo in the project, the project name and the repo name are in the same spot inside the url. For example, from dev.azure.com/aidanbleser/_git/std i could tell that std is the project name and the repo name. It will change to dev.azure.com/aidanbleser/std/_git/std when you add a new repo inside the project

So, there are two solutions:

one a little tricky, but will be compatible with your goal, which is to handle those three cases and retrieve the information based on the url structure. But i can't find a way to handle branches and tags, so it will not be be fully compatible.

The second one is the one you mentioned:

Maybe azure just will be a completely custom URL because of this so I would make it something like:

azure////(heads|tags)/

We would just have to ditch the copy paste goal for this provider since they are difficult.

Let me know what you think!

Unfortunately it won't fit with the copy paste goal (which i really like), but it can handle all the cases with one url structure.
For both solutions, i found that it's possible to fetch the raw contents through this api. With this request it's possible to handle the private repos too by adding an Authentication: Basic {token} header. The token can be added with the current jsrepo flow, the user just needs to add a Personal Access Token, The only note is that the token needs to be encoded to UTF8 byte[] and converted to a base64 string before being added to the header, here's the docs
Even if it doesn't fit with your goal of copy and paste, I personally prefer the second solution, because it handles branches and tags too, it also clears the unnecessarily complex urls.

From my testing it's Bearer scheme for private repos.
Unfortunately even my solution with the custom URL has its own shortcomings like I still need to implement more custom parsing to handle urls that aren't just 3 segments for fully qualified adds.
I'll have to think about it a bit more ig.

Are there any plans to deprecate the 2018 URL structure? And whats the easiest way for users to find that?

I think I am going to go with my earlier proposed URL structure. And we will just document how it should be used and why it has to be that way.
I am still going to need to update parsing for fully qualified adds to support a longer URL since it's pretty fragile at the moment.

Are there any plans to deprecate the 2018 URL structure? And whats the easiest way for users to find that?

I can't find any information about this, so i think it will be active for a long time.
With "whats the easiest way for users to find that?", what do you mean?

I think I am going to go with my earlier proposed URL structure. And we will just document how it should be used and why it has to be that way.
I am still going to need to update parsing for fully qualified adds to support a longer URL since it's pretty fragile at the moment.

Ok, it's a good workaround in my opinion.

@ieedan about azure's authenticated repositories, where did you find that the requests works with Bearer auth too? I can't find anything about it. It works by passing a Personal Access Token too, so that's great!

@ieedan about azure's authenticated repositories, where did you find that the requests works with Bearer auth too? I can't find anything about it. It works by passing a Personal Access Token too, so that's great!

I tried basic as that's what I saw as well but it didn't work so I tried bearer


gitlab-container-registry: init at v3.66.0-gitlab

Description of changes
With version 15.8 GitLab deprecates the use of an "external" container registry (in our case pkgs.docker-distribution) as mentioned in #212427. The external registry is replaced with a fork that contains extra functionality that GitLab uses internally. See https://gitlab.com/gitlab-org/container-registry/-/blob/master/docs-gitlab/README.md
This PR only add the new package and doesn't touch the NixOS service.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package built:

gitlab-container-registry

Wouldn't it also make sense to add a services.dockerRegistry.package option so this package is easier to use?

I don't know if it is a good idea to continue using services.dockerRegistry for this package, as GitLab has already removed the registry mirroring aspect from it's fork. In the future the two packages will probably drift further apart from one another.

And i did an upsi rebasing this, closing this pr and reopening.


Unable to find/exec Nuget.exe

Currently hacking away to try and build a GitHub Action to download the latest Nuget.exe CLI tool and make it available in the path for later steps to consume/use.
However using @actions/toolkit-cache I am unable to verify fully if the file was downloaded and available for me to execute.
Action YML - for consuming repo
name: ASP.NET CI

on: [push]

jobs:
  build:

    runs-on: windows-latest

    steps:
    - uses: actions/checkout@master

    - name: Setup .NET Core
      uses: actions/setup-dotnet@v1
      with:
        version: 2.2.108

    - name: Pack with dotnet
      working-directory: src
      run: dotnet pack --configuration Release

    - name: Setup Nuget.exe
      uses: warrenbuckley/Get-Nuget-Action@v1-release

JS Source
import * as core from '@actions/core';
import * as exec from '@actions/exec';
import * as tc from '@actions/tool-cache';

async function run() {
  try {
    core.debug("Downloading Nuget tool");
    core.debug(`Process platform: ${process.platform}`);

    // Download latest Nuget.exe
    const nugetPath = await tc.downloadTool("https://dist.nuget.org/win-x86-commandline/latest/nuget.exe");
    core.debug(`Nuget file location ${nugetPath}`);

    // Add Nuget.exe CLI tool to path for
    // Other steps to be able to access it
    const fullPath = `${nugetPath}\\nuget.exe`
    core.debug(`Fullpath ${fullPath}`);

    await core.addPath(fullPath);

    // Verify Nuget installed
    await exec.exec(fullPath);

  } catch (error) {
    core.setFailed(error.message);
  }
}

run();

Output log
This contains the full debug log with ACTIONS_RUNNER_DEBUG and ACTIONS_STEP_DEBUG set to true
...
2019-08-16T14:10:24.8041143Z ##[debug]Evaluating condition for step: 'Setup Nuget.exe'
2019-08-16T14:10:24.8041754Z ##[debug]Evaluating: success()
2019-08-16T14:10:24.8041862Z ##[debug]Evaluating success:
2019-08-16T14:10:24.8042258Z ##[debug]=> true
2019-08-16T14:10:24.8042634Z ##[debug]Result: true
2019-08-16T14:10:24.8042812Z ##[debug]Starting: Setup Nuget.exe
2019-08-16T14:10:24.8181664Z ##[debug]Loading inputs
2019-08-16T14:10:24.8196465Z ##[debug]Loading env
2019-08-16T14:10:24.8199059Z ##[group]Run warrenbuckley/Get-Nuget-Action@v1-release
2019-08-16T14:10:24.8199109Z ##[endgroup]
2019-08-16T14:10:24.9167780Z ##[debug]Downloading Nuget tool
2019-08-16T14:10:24.9216318Z ##[debug]Downloading https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
2019-08-16T14:10:24.9216706Z ##[debug]Downloading d:\a\_temp\1387abe9-2c62-41df-b200-38c466d38b72
2019-08-16T14:10:25.0705371Z ##[debug]download complete
2019-08-16T14:10:25.0705930Z ##[debug]Nuget file location d:\a\_temp\1387abe9-2c62-41df-b200-38c466d38b72
2019-08-16T14:10:25.0706134Z ##[debug]Fullpath d:\a\_temp\1387abe9-2c62-41df-b200-38c466d38b72\nuget.exe
2019-08-16T14:10:25.0709130Z ##[add-path]d:\a\_temp\1387abe9-2c62-41df-b200-38c466d38b72\nuget.exe
2019-08-16T14:10:25.0709196Z ##[debug]Processed command
2019-08-16T14:10:25.0723361Z [command]d:\a\_temp\1387abe9-2c62-41df-b200-38c466d38b72\nuget.exe
2019-08-16T14:10:25.0835182Z ##[error]There was an error when attempting to execute the process 'd:\a\_temp\1387abe9-2c62-41df-b200-38c466d38b72\nuget.exe'. This may indicate the process failed to start. Error: spawn d:\a\_temp\1387abe9-2c62-41df-b200-38c466d38b72\nuget.exe ENOENT
2019-08-16T14:10:25.0873625Z ##[error]Node run failed with exit code 1
2019-08-16T14:10:25.0887207Z ##[debug]Finishing: Setup Nuget.exe
2019-08-16T14:10:25.0983951Z ##[debug]Starting: Complete job
2019-08-16T14:10:25.0984302Z Uploading runner diagnostic logs.
2019-08-16T14:10:25.1051933Z ##[debug]Starting diagnostic file upload.
2019-08-16T14:10:25.1052036Z ##[debug]Setting up diagnostic log folders.
2019-08-16T14:10:25.1054640Z ##[debug]Creating diagnostic log files folder.
2019-08-16T14:10:25.1087328Z ##[debug]Copying 1 worker diagnostic logs.
2019-08-16T14:10:25.1118484Z ##[debug]Copying 1 runner diagnostic logs.
2019-08-16T14:10:25.1122736Z ##[debug]Zipping diagnostic files.
2019-08-16T14:10:25.1173842Z ##[debug]Uploading diagnostic metadata file.
2019-08-16T14:10:25.1274489Z ##[debug]Diagnostic file upload complete.
2019-08-16T14:10:25.1274837Z Completed runner diagnostic log upload.
2019-08-16T14:10:25.1274902Z Start cleaning up orphan processes.
2019-08-16T14:10:25.1646159Z Terminate orphan process: pid (1908) (dotnet)
2019-08-16T14:10:25.1903967Z ##[debug]Finishing: Complete job
2019-08-16T14:10:25.1964126Z ##[debug]Finishing: build

@damccorm - hopefully you can give me a pointer or two on what I am doing wrong here please

So I think the issue here is that the file you download doesn't get renamed to Nuget.exe. So in this case, d:\a\_temp\1387abe9-2c62-41df-b200-38c466d38b72 is actually a file containing the downloaded contents of Nuget.exe, not a directory. So the very simplest solution is to rename the file and add that to the path.
With that said, I would actually recommend copying the file to the tool cache instead. See an example of doing this in setup-dotnet. The advantage here is that when we introduce private runners, you won't have to download it over and over again, you can just look up its location using find at the beginning of the action.

Thanks @damccorm !


Scripted Jenkinsfile "did not contain the 'pipeline' step"

When I try to validate my Scripted Jenkinsfile I get "... did not contain the 'pipeline' step".
AFAIK, scripted Jenkins has no pipeline step, see the Jenkins documentation.
Does this plugin not support Scripted Jenkinsfiles?

Same problem here. Did you find a solution except switching to declarative pipeline?

The built in pipeline linter for jenkins only supports declarative syntax.
See the docs here: https://www.jenkins.io/doc/book/pipeline/development/


Try to make run FinRL_PaperTrading_Demo.ipynb

FinRL_PaperTrading_Demo.ipynb raise many exception, maybe because some code is outdated.
I have attempt to make run FinRL_PaperTrading_Demo.ipynb until part 4.
The PR contains

a temporary solution to bypass the issue #604 in commit 333285a.
@DEVNODEREACT
Update code to compatible with last version alpaca

I saw you use data_df['timestamp'] to replace data_df['time']. Does the previous code data_df['time'] raise errors?
Is turb_df = self.api.get_bars(["VIXY"], time_interval, limit=1).df["VIXY"] equal to turb_df = self.api.get_bars(["VIXY"], time_interval, limit=1).df ???

alpacahq/alpaca-trade-api-python has recently updated its API. I can't run the notebook with alpaca_trade_api==2.1.0.
For more information, you can look my commit message in https://github.com/AI4Finance-Foundation/FinRL/pull/619/commits/eb190d20b290ab592d441de6f946ea1f8e148597

Thanks for your valuable reply. Good codes.
I will merge this PR.
The alpaca processor also exists in finrl meta https://github.com/AI4Finance-Foundation/FinRL-Meta. Could you please submit a PR in finrl meta? Thank you very much.

I will take a look when I have time


[CP Staging] Don't show all chats in LHN in #focus mode

@marcaaron will you please review this?
Details
This fixes a bug introduced in https://github.com/Expensify/Expensify.cash/pull/3894 where all chats were showing in focus mode because the unreadActionCount was being set to a non-existent report property. This PR updates the property to match the one returned from the back end.
Fixed Issues

$ https://github.com/Expensify/Expensify.cash/issues/4057
Tests/QA

Login to an account and go to preferences, and change to #focus mode, confirm already-read chats only show up if they are pinned, if they are an IOU, or if they are the currently selected chat.
Change back to Recent mode, confirm all chats are shown

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Focus Mode
Recent Mode

:warning: :warning: Heads up! This pull request has the CP Staging label. :warning: :warning:
Merging it will cause it to be immediately deployed to staging, even if the open StagingDeployCash deploy checklist is locked.

Applying the CP staging label to fix #focus mode on staging

🚀 Cherry-picked to staging         in version: 1.0.78-1🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging         in version: 1.0.78-3🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production         in version: 1.0.79-4🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production         in version: 1.0.79-4🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Relative image URLs are wrongly resolved when feed domain is different with story URL

The use case:
I use Huginn to generate some feeds of my own. RSS address registered in Newsblur is something like https://huginn.example.com/users/1/web_requests/14/balabala.xml and the articles are of cource located in another domain. e.g. https://anquan.baidu.com/article/1098. The article contains some img tag with relative URL path like <img src="/upload/ue/image/20190611/1560247617514999.jpg" alt="8.jpg">, and Newsblur wrongly concat the URL path with feed address, into https://huginn.example.com/upload/ue/image/20190611/1560247617514999.jpg
I located the bug here (at least I thought).
The URI is passed in through
https://github.com/samuelclay/NewsBlur/blob/325a6d26e1b7624fa671fd724501e2ab50f6cce7/utils/feed_fetcher.py#L149-L152
And read at here
https://github.com/samuelclay/NewsBlur/blob/325a6d26e1b7624fa671fd724501e2ab50f6cce7/utils/feedparser.py#L3933-L3936
And finally cause bug at here
https://github.com/samuelclay/NewsBlur/blob/325a6d26e1b7624fa671fd724501e2ab50f6cce7/utils/feedparser.py#L2320-L2321

I've made a patch and I thought it works, at least solve my requirements and doesn't change behaviors that much. I'll send a PR later

Feedparser is actually a vendorized dependency that I change a single line of allowed attributes (to allow for video embeds). If you want to change how feedparser handles absolute urls, let me know if there's a setting I can use (and can then use to absolutize urls later on).
But to me it feels like the burden to fix the URLs is on Huginn, as it has the correct relative url and changes its meaning without absolutizing those urls. I'm going to close this ticket as I believe the patch should be upstream, but happy to fix it if there's anything I can do.

XML/HTML processing is a mess that I'd rather not to handle it by myself 😅 Huginn is not good at manipulating data at large scale (e.g. find and replace lists or URLs) without scripting.
This is the changes I made to feedparser to correct the behavior. despite the logging part only two lines are essential (setting self.basestack parts).
I propose to fix this issue in feedparser because it's resolving URL based on a wrong assumption, that the relative URLs inside RSS items are under the same domain as feed URL. The following change makes feedparser resolve the URL (set the self.baseuri) based on the URL inside the first <link> tag of RSS feed data (the "website address" of a feed), and it will solve most of the problems without changing too much codes.
diff --git a/utils/feedparser.py b/utils/feedparser.py
index c577f216c..633924ff8 100644
--- a/utils/feedparser.py
+++ b/utils/feedparser.py
@@ -155,6 +155,11 @@ except ImportError:
         from StringIO import StringIO as _StringIO

 # ---------- optional modules (feedparser will work without these, but with reduced functionality) ----------
+try:
+    from utils import log
+except Exception:
+    import logging
+    log = logging.getLogger("feedparser")

 # gzip is included with most Python distributions, but may not be available if you compiled your own
 try:
@@ -1677,6 +1682,9 @@ class _FeedParserMixin:

     def _end_link(self):
         value = self.pop('link')
+        if value and self.infeed and not self.inentry and len(self.basestack) > 1:
+            log.debug("_end_link set baseuri %s => %s" % (self.basestack[-2], value))
+            self.basestack[-2] = value

     def _start_guid(self, attrsD):
         self.guidislink = (attrsD.get('ispermalink', 'true') == 'true')
@@ -3825,6 +3833,7 @@ def parse(url_file_stream_or_string, etag=None, modified=None, agent=None, refer

     :return: A :class:`FeedParserDict`.
     '''
+    log.debug("parse params %s %s %s %s %s %s %s %s" % (url_file_stream_or_string[:100], etag, modified, agent, referrer, handlers, request_headers, response_headers))

     if handlers is None:
         handlers = []

If you can write a test case for this (not the logging but the indeed/inentry/basestack section), propose it to the feedparser team: https://github.com/kurtmckee/feedparser


Fixed up the indexed-db doc

Removed some references to cookies, which I think were from the cookie-manager file

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide/debugger/indexed-db.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide/debugger/indexed-db.md
:white_check_mark:Succeeded

microsoft-edge/devtools-guide/debugger/indexeddb.md
:white_check_mark:Succeeded

microsoft-edge/devtools-guide/debugger/progressive-web-apps.md
:white_check_mark:Succeeded

microsoft-edge/devtools-guide/whats-new.md
:white_check_mark:Succeeded

microsoft-edge/toc.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


mini_magick support is broken in RTesseract.read

TL;DL: RTesseract.read('foo.jpg', processor: 'mini_magick') results in cannot load such file -- RMagick
As the hash method with the misleading name option actually deletes keys from hashes, the given options hash won't be the same in lines six and nine.
So setting processor to mini_magick will just work until it gets deleted by the option method.
After that RTesseract will be initialized without processor option and therefore fall back to RMagick.

wow, that was fast 👍
Have a nice day!

Thanks,
I will create a new version of gem with this fix.


TypeError Cannot assign Cycle\ORM\Reference\Reference to property App\Invoice\Entity\Quote::$client of type ?App\Invoice\Entity\Client

What steps will reproduce the problem?  In src\Invoice\Entity\Quote.php
class Quote
{
    #[BelongsTo(target:Client::class, nullable: false, fkAction:'NO ACTION')]     <----- changing the nullable: true to false
    public ?Client $client = null;

    #[BelongsTo(target:Group::class, nullable: false, fkAction:'NO ACTION')]     <----- changing the nullable: true to false
    private ?Group $group = null;

What is the expected result?  No error.
What do you get instead? The above error.
TypeError
Cannot assign Cycle\ORM\Reference\Reference to property App\Invoice\Entity\Quote::$client of type ?App\Invoice\Entity\Client
Additional info

Q
A

Version
mySql  8.0.27

PHP version
8.1.9

Operating system
Windows 10

The problem has been resolved by simply changing the nullable: false to true.  The Invoice entity, which is very similar to the Quote entity however has its nullable: set to true for the very same foreign keys and is running without this error. So this is confusing. Is it related to the  schema perhaps?

Which mapper do you use?

There are no enough code to reproduce or to understand the issue in description.

I think the exception has been thrown because an Entity class has been used directly instead of EntityProxy. But why i see ProxyEntityFactory in the stack in this case?

Here is the config/params:
 'orm-promise-factory' => null,
        //'orm-promise-factory' => \Cycle\ORM\Promise\ProxyFactory::class,
        /**
         * A list of DB schema providers for {@see \Yiisoft\Yii\Cycle\Schema\Provider\Support\SchemaProviderPipeline}
         * Providers are implementing {@see SchemaProviderInterface}.
         * The configuration is an array of provider class names. Alternatively, you can specify provider class as key
         * and its config as value:
         */

This issue has been solved. Typo public should be private.
public ?Client $client = null;       <-------- change public to private.


Add snapshot support

Besides audio/video recording, a snapshot image from a webcam would be nice as well.

Released in 0.7.


arm build failes

If the generates .syso file is next to the binary, an arm build failes. Is there any workaround? e.g. to tell the go compiler to not use the syso file on arm builds?

Ehhh, reeeally sorry for responding so late, I kinda can't get myself to do anything with rsrc nowadays :/ (I put it in the "code shelter" but nobody seemed to pick it up either...) So, back to the matter:
I believe if you add a suffix to the file name, like renaming your original file to foo_amd64.syso, it won't get picked by arm (or any other non-amd64) builds... you can probably even make it foo_windows_amd64.syso... I really should have put it long ago in the readme & --help, but unfortunately, as I mentioned above, I can't make myself work on rsrc for long time already...

Thanks a lot, it works with _windows prefix. It should really get into the readme!