[BUG] how can i fix my proplem bloxtrap lunch roblox  but dosent open

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[X] I did not answer truthfully to all the above checkboxes.

Also, this issue is just going to get closed, https://github.com/bloxstraplabs/bloxstrap/issues/635 was made for issues like yours :P

i didnt understand that

im not using bloxshade

can you please send your log file


How to Disable Accordion Collapse if already Expanded

is it possible?
so, when a user clicks on a "collapsible-header", and that expands whatever is in it, i'd like to then disable that expanded "collapsible-header" from closing if a user clicks on it again. it should only close when the user clicks on a different "collapsible-header" option.
does that make sense?

Currently there is no way to do that without modifying some of the code.

ok. thanks for the quick reply!

BTW, if you're looking for some simple code you can use to do this, see https://github.com/Dogfalo/materialize/issues/2987


[R1.0] Add doc for wenetspeech model (ds2 online, conformer online)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.root seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Error message: Cannot validate argument on parameter 'Body'.

Have created an 3.2 gb intunewin file and creating the app with :
Add-IntuneWin32App -FilePath $IntuneWinFile.Path -DisplayName $DisplayName -Description $DisplayName -Publisher $appVendor -InstallExperience system -RestartBehavior suppress -DetectionRule $DetectionRule -RequirementRule $RequirementRule -InstallCommandLine $InstallCommandLine -UninstallCommandLine $UninstallCommandLine -Icon $Icon -Verbose
It starts :
VERBOSE: Current authentication token expires in (minutes): 16
VERBOSE: Attempting to gather additional meta data from .intunewin file: C:\temp\AutoCAD_Architecture_2021\Deploy-Application.intunewin
VERBOSE: Successfully gathered additional meta data from .intunewin file
VERBOSE: Start constructing basic layout of Win32 app body
VERBOSE: Constructed the basic layout for 'EXE' Win32 app body type
VERBOSE: Detection rule objects passed validation checks, attempting to add to existing Win32 app body
VERBOSE: Retrieving default set of return codes for Win32 app body construction
VERBOSE: Adding array of return codes to Win32 app body construction
VERBOSE: Attempting to create Win32 app using constructed body converted to JSON content
VERBOSE: POST https://graph.microsoft.com/Beta/deviceAppManagement/mobileApps
VERBOSE: Successfully created Win32 app with ID: ac10fde8-8ee6-40e0-87c4-b5511dc87133
VERBOSE: Attempting to create contentVersions resource for the Win32 app
VERBOSE: POST https://graph.microsoft.com/Beta/deviceAppManagement/mobileApps/***-8ee6-40e0-87c4-b5511dc87133/microsoft.graph.win32LobApp/contentVersions
VERBOSE: Successfully created contentVersions resource with ID: 1
VERBOSE: Constructing Win32 app content file body for uploading of .intunewin file
VERBOSE: POST https://graph.microsoft.com/Beta/deviceAppManagement/mobileApps/***-8ee6-40e0-87c4-b5511dc87133/microsoft.graph.win32LobApp/contentVersions/1/files
VERBOSE: Waiting for Intune service to process contentVersions/files request
.....
2 min later:
.....
VERBOSE: Uploading file to Azure Storage blob, processing chunk '264' of '526'
VERBOSE: PUT
https://***.blob.core.windows.net/*-c771-44b5-97c7-67fc43cf0b9f/*-70cf-463b-9637-9d85819b1bec/***-7b01-4f4e-b01f-cc74d5ac1519.intunewin.bin?sv=2016-05-31&sr=b&si=-62917231&si
g=****=&comp=block&blockid=MDI2Mw== with -1-byte payload
VERBOSE: received 0-byte response of content type
WARNING: An error occurred while creating the Win32 application. Error message: Cannot validate argument on parameter 'Body'. The argument is null or empty. Provide an argument that is not null or
empty, and then try the command again.```

All variables has working values.
App is created in Intune, Settings seems ok,  but "Your app is not ready yet. If app content is uploading..

(Get-IntuneWin32AppMetaData -FilePath Deploy-Application.intunewin).ApplicationInfo  =

xsd                    : http://www.w3.org/2001/XMLSchema
xsi                    : http://www.w3.org/2001/XMLSchema-instance
ToolVersion            : <IP_ADDRESS>
Name                   : Deploy-Application.exe
UnencryptedContentSize :<PHONE_NUMBER>
FileName               : IntunePackage.intunewin
SetupFile              : Deploy-Application.exe
EncryptionInfo         : EncryptionInfo
Version 1.2.0
edit: Forgot to mention that it stops on diffrent chunks each time.. the upload works in browser upload to intune.
Any Ideas ?

Same here.
If it try to upload file with a size > 200 MB i getting the error.
Have you ever found a solution!?

No solution found, I still have the same problem.

No solution found, I still have the same problem.

Can confirm that I'm experiencing the same issue. The file size varies but it's around the 230 ~ 300 MB mark that it fails.
Would be great to see some sort of workaround to this.

Can confirm that I'm experiencing the same issue. The file size varies but it's around the 230 ~ 300 MB mark that it fails.
Would be great to see some sort of workaround to this.

@NickolajA Have you had the time to examine this issue? It would be so great to start using this tool but as of now we're hindered by the file size issue. :-(
Kind regards,
Frida

I've been trying to replicate this issue, however I cannot get it to fail that all of you're describing. I tested with a 700MB+ file just now and it ran through just fine. I noticed though that it ran through the first ~60 out of 129 chunks relatively quickly, but then after that it took about 2 seconds per chunk (I'm on a 500/500 Mbps connection).
I'll have to do some more testing before I can even start to understand why it's failing, however it's hard as I can't get it to fail.

Good news! I just made my test content even bigger, now around 1.5GB and I was able to reproduce the error. I'll look into it and get back once I know more.

I have a working theory, that it's related to the SAS Uri renewal timer that's forcing the renewal function. Could any of you attempt to time from when the first chunk starts uploading to when the module fails? It should be approximately 7min.

Just verified it myself:
VERBOSE: SAS Uri renewal is required, attempting to renew WARNING: An error occurred while creating the Win32 application. Error message: Cannot validate argument on parameter 'Body'.

This looks much better, now the SAS Uri is renewed fine, was a slight error in the empty body content not defining JSON correctly:
VERBOSE: Uploading file to Azure Storage blob, processing chunk '8' of '321'                                                                                VERBOSE: PUT                                                                                https://mmcswdb02.blob.core.windows.net/efe0d7a5-eace-4a91-ba2e-68dccccb295e/ce3c8e7a-8b7c-4b3b-9422-4ee980174752/ce620a33-8945-44ad-912a-d24227f8e76f.intunewin.bin?sv=2016-05-31&sr=b&si=-562225987&sig =/DliJxEXSheNNOZ89t9iBYMPM+qg5ZDRdV7l2EyCb30=&comp=block&blockid=MDAwNw== with -1-byte payload                                                                                VERBOSE: received 0-byte response of content type                                                                                VERBOSE: SAS Uri renewal timer has elapsed: 0 minute 5 seconds                                                                                VERBOSE: SAS Uri renewal is required, attempting to renew                                                                                VERBOSE: POST                                                                                https://graph.microsoft.com/Beta/deviceAppManagement/mobileApps/44761075-bb48-430e-9aed-351f509ec1bb/microsoft.graph.win32LobApp/contentVersions/1/files/ce620a33-8945-44ad-912a-d24227f8e76f/renewUpload VERBOSE: GET https://graph.microsoft.com/Beta/deviceAppManagement/mobileApps/<appID>/microsoft.graph.win32LobApp/contentVersions/1/files/ce620a33-8945-44ad-912a-d24227f8e76f VERBOSE: Intune service request for operation 'AzureStorageUriRenewal' is in pending state, sleeping for 10 seconds VERBOSE: GET https://graph.microsoft.com/Beta/deviceAppManagement/mobileApps/<appID>/microsoft.graph.win32LobApp/contentVersions/1/files/ce620a33-8945-44ad-912a-d24227f8e76f VERBOSE: Intune service request for operation 'AzureStorageUriRenewal' was successful with uploadState: azureStorageUriRenewalSuccess VERBOSE: Uploading file to Azure Storage blob, processing chunk '9' of '321' VERBOSE: PUT https://<blob>.blob.core.windows.net/<id>.intunewin.bin?sv=2016-05-31&sr=b&si=-562225987&sig=/<redacted> with -1-byte payload VERBOSE: received 0-byte response of content type VERBOSE: SAS Uri renewal timer has elapsed: 0 minute 0 seconds VERBOSE: Uploading file to Azure Storage blob, processing chunk '10' of '321'

Would someone be kind and try to update their module with these two files that was just committed and updated in this repo:
Private\Invoke-AzureStorageBlobUploadRenew.ps1
Private\Invoke-AzureStorageBlobUpload.ps1
The fix for this issue are in here, please verify :)

IntuneWin32App version 1.2.1 pushed to PSGallery which includes this fix.


Add extra data to basic transfer and diamond txn construction endpoints

Current dependencies on/for this PR:

main

PR #516   👈

This stack of pull requests is managed by Graphite.


Add PCKReader class

Adds a PCKReader class to read the contents of pck files without loading them.
This class exposes the same interface as the ZipReader class. Therefore we now have the same interface as ZIPPacker/ZIPReader for dealing with pck files.
To do so, the PCK implementation of PackedSourcePCK has been extracted into a new PCKFile class. I also split the loading of normal pck files and the loading of embedded pck files. This seemed clearer to me. If you have any issues regarding this, feel free to tell me.
Something to note would be that you cannot load the pck file embedded in the binary, as the PCKReader does not try to open the embedded file. But I'm not sure whether this should be supported as it feels quite hacky.
Furthermore, the current implementation loads the file list to memory when opening. This way we do not need to parse the file list on each access.
Resolves https://github.com/godotengine/godot-proposals/issues/1212

On a side note, I also rewrote the embedded loading of pck files here: https://github.com/Dragoncraft89/godot/commit/a5d5ec8e77815f5e9458de1d5165d49e1ece1f82
This would only try to load the embedded pck of the executable and not every opened pack file
I didn't include it as it is a) out of scope for this PR and b) I'm not sure if this is actually wanted

I can't manage to build the crashing CI release locally.
The compiler error mesage is unknown pseudo-op: .siz
Does anybody know what could be causing this?
There's also a warning: end of file not at end of a line; newline inserted
Anyways I'll be going to bed now. I will try to continue debugging the crash tomorrow.

Hi, Dragoncraft89!
Built your fork and discovered a bunch of problems with it:

When saving scene it didn't give it default filename like "main.tscn" if node called "Main", for example, just empty line (irrelevant to this PR, but still strange).

When exporting PCK it makes it almost 2x size bigger than official version of Godot (or custom builds from master). For example, official version makes PCK of size 4,877,872 against 8,372,048 using this fork (same settings).

When exporting PCK it didn't see many folders where it could be stored, like they're absent in filesystem.

PCKReader didn't see some files (only text files mostly), for example *.png.

PCKReader.open() function don't give "offset" parameter default value which should be 0, imo.

My system is Debian 11 (bullseye) if that helps. Tried with original PCK and exported using this fork.

@ghmart Thanks for testing!
Can you share a PCK file that does not work for you so that I can take a look? I'm not sure how I'd recreate your issue
Regarding 4: I think godot does rename some files on export, so the PCKReader will only see the renamed filenames. Furthermore, text files are not packed into the pck by default. You may have to check your export settings whether txt files are included.
Unfortunately I'm quite busy at the moment, so it'll take a couple of days for me to take a look at this.

Can you share a PCK file that does not work for you so that I can take a look? I'm not sure how I'd recreate your issue

"3." - not about problem inside PCK. That's when you press "Export PCK/ZIP" and "Save a File" dialog opens up - it shows only several folders (random at a glance), not all that exists at that path or when you choose other path in filesystem (file / folder permissions are all identical).

Regarding 4: I think godot does rename some files on export, so the PCKReader will only see the renamed filenames. Furthermore, text files are not packed into the pck by default. You may have to check your export settings whether txt files are included.

You were right, thank you. Resources are stored in PCK in their import form. "Text files" - all *.tscn, *.gd and *.tres files can be loaded using "get_string_from_utf8". Can't figure out how to make "Image" or "ImageTexture" object from *.ctex or *s3tc.ctex file loaded into PackedByteArray by PCKReader.

@ghmart I don't think 3 is due to my patch. As far as I know this is how Godot export always looked like. I think you have to disable the file filter on the export dialogue to see all files

Updated the commit with the suggestion from @ghmart (setting default offset for the open function to 0)
Rebased onto latest master, tested and still working.
@ghmart I think I see what the issue with the file dialogue is. It treats directories the same as files for me.
I couldn't find an open issue for that (or a mention somewhere that this was deliberate). So I will do a git bisect and open an issue for this.

Any news on this?


GCC 7.1.0 Build Errors

Had no issue building with GCC 6.3.0, but I'm getting this error in the build process with GCC 7.1.0:
[ 13%] Building CXX object bin/CMakeFiles/polybar.dir/components/bar.cpp.o
cd /var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5_build/bin && /usr/bin/x86_64-pc-linux-gnu-g++  -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/alsa -I/var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5/include -I/var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5/lib/concurrentqueue/include -I/var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5/lib/xpp/include   -DNDEBUG -march=native -O2 -pipe -Wall -Wextra -pedantic   -std=c++14 -o CMakeFiles/polybar.dir/components/bar.cpp.o -c /var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5/src/components/bar.cpp
In file included from /var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5/lib/xpp/include/xpp/proto/../generic.hpp:11:0,
                 from /var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5/lib/xpp/include/xpp/proto/x.hpp:9,
                 from /var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5/lib/xpp/include/xpp/event.hpp:9,
                 from /var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5/include/x11/types.hpp:3,
                 from /var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5/include/components/bar.hpp:12,
                 from /var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5/src/components/bar.cpp:3:
/var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5/lib/xpp/include/xpp/proto/../generic/reply_iterator.hpp:89:11: error: specialization of ‘template<class Data, class> class xpp::generic::iterator<Connection, Object, xpp::generic::signature<void(XcbIterator*), Next>, xpp::generic::signature<int(const void*), (* & *(int (*)(const void*))SizeOf)>, xpp::generic::signature<XcbIterator(const Reply*), GetIterator> >::get<Data, <template-parameter-1-2> >’ must appear at namespace scope
     class get<xcb_str_t, Dummy>
           ^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [bin/CMakeFiles/polybar.dir/build.make:183: bin/CMakeFiles/polybar.dir/components/bar.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5_build'
make[1]: *** [CMakeFiles/Makefile2:494: bin/CMakeFiles/polybar.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/x11-misc/polybar-3.0.5/work/polybar-3.0.5_build'
make: *** [Makefile:130: all] Error 2

Can replicate on Arch Linux with [testing]
Been without bar for 2 weeks now lol
No hurries tho, it's testing for a reason 👍

A good workaround for that one is to use Clang for the time being.
Just add
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++

Into the build() section of PKGBUILD

@NeoTheFox thank you so much for this fix

@NeoTheFox my hero, I had CC set, but not CXX, I would have gone insane if I hadn't seen this.

GCC 7 is now in core

Worked like a charm, thanks @NeoTheFox :) Will there be a change soon or will this workaround be necessary for more upcoming updates?

Pull request here: https://github.com/jaagr/i3ipcpp/pull/1 for the i3 build failure, not sure how to fix the templating issues because I'm not super familiar with C++.

not quit sure how to write it
like
build() {
  export CC=/usr/bin/clang
  export CXX=/usr/bin/clang++
  cd "..."
  cmake ...
  cmake ... .
}

if so i still get error.

@NeoTheFox It worked, thanks!

get still the same error with the workaround @NeoTheFox on Arch :-(
[  8%] Building CXX object bin/CMakeFiles/polybar.dir/components/bar.cpp.o
In file included from .cache/pacaur/polybar-git/src/polybar/lib/xpp/include/xpp/proto/../generic.hpp:11:0,
                 from .cache/pacaur/polybar-git/src/polybar/lib/xpp/include/xpp/proto/x.hpp:9,
                 from .cache/pacaur/polybar-git/src/polybar/lib/xpp/include/xpp/event.hpp:9,
                 from .cache/pacaur/polybar-git/src/polybar/include/x11/types.hpp:3,
                 from .cache/pacaur/polybar-git/src/polybar/include/components/bar.hpp:12,
                 from .cache/pacaur/polybar-git/src/polybar/src/components/bar.cpp:3:
.cache/pacaur/polybar-git/src/polybar/lib/xpp/include/xpp/proto/../generic/reply_iterator.hpp:89:11: error: specialization of ‘template<class Data, class> class xpp::generic::iterator<Connection, Object, xpp::generic::signature<void(XcbIterator*), Next>, xpp::generic::signature<int(const void*), (* & *(int (*)(const void*))S
izeOf)>, xpp::generic::signature<XcbIterator(const Reply*), GetIterator> >::get<Data, <template-parameter-1-2> >’
 must appear at namespace scope
     class get<xcb_str_t, Dummy>
           ^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [bin/CMakeFiles/polybar.dir/build.make:135: bin/CMakeFiles/polybar.dir/components/bar.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:512: bin/CMakeFiles/polybar.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
:: failed to build polybar-git package(s)

build() {
  export CC=/usr/bin/clang
  export CXX=/usr/bin/clang++
  cd "${_pkgname}/build" || exit 1
  if [ -x ../common/version.sh ]; then
    ../common/version.sh
  fi
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  cmake --build .
}

$ gcc --version
gcc (GCC) 7.1.1 20170516

I just had the same problem. Using @NeoTheFox's solution produces the same error.
Found a new workaround by changing changing the cmake command in build() command to the following:
build() {
  export CC=/usr/bin/clang
  export CXX=/usr/bin/clang++
  cd "${_pkgname}/build" || exit 1
  if [ -x ../common/version.sh ]; then
    ../common/version.sh
  fi
  cmake -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ DCMAKE_INSTALL_PREFIX=/usr ..
  cmake --build .
}

@gkend @clasick – Are you guys using Pacaur?
I was using pacaur, using the editing option. It didn't work for me, but when I manually checked out the repo from AUR, changed the PKGBUILD and then run makepkg, it compiled.

Hmm, yeah it doesn't compile no matter what through pacaur.
Had to manually compile but using DCMAKE_C_COMPILER and not EXPORT.

@albertorestifo i load this with pacaur and manually changed the PKGBUILD and run makepkg -si . Now it work with @clasick change
.o/ thx @clasick

For you who are installing polybar using the AUR; I have updated the PKGBUILD so that clang will be used until the gcc issues have been fixed.

Thanks to a great effort by @skystrife, polybar now builds again for me with gcc. Please confirm for yourselves and report back. I will close this issue in the coming weeks, if I don't experience any issues
See https://github.com/jaagr/polybar/pull/717, https://github.com/jaagr/polybar/commit/c7bb1d5ac4148c480a4700750059758ca76b74b1, https://github.com/jaagr/xpp/pull/6, https://github.com/jaagr/i3ipcpp/pull/2

Closing, as compiling with gcc seems to be working again.
I also updated the polybar-git AUR PKGBUILD

Getting this error with GCC again on 3.0.5

Version 3.0.5 will always suffer from this. Please compile with clang, as described in this thread, when compiling version 3.0.5


Wont work

i can't tell if any other plugins should interupt it, or something else... but it wont work no matter what am doing ??

Hey, what part doesn't work? If you want friends' names to be highlighted you'll have to set your private to show all.
Coloured messaged still work when private is set to friends.
This is a problem with the way that names are coloured, I'm still looking for a way to fix this but I've not been able to find it yet.

i got everything "On" private And so on, but none of the Pm's change color at all

Strange, I've just tested it in game and it seems to be working.
Could you send a screenshot of your settings so that I can have a look? You can simply drag and drop the image in the text box here.

Which settings exactly  would you like ?

The plugins sidepanel should be enough, something like this:

The games' normal chat settings shouldn't affect the plugin


Update compileSdkVersion and buildToolsVersion for android to 25

presumably this will this cause issues for people with build tool still on 23?
Is the whole ecosystem moving to 25?

No RN is still stuck on 23 and I don't expect any change here soon.
You can always use a post install which upgrades these versions in build.gradle


[5.3] Added support for notifications MailChannel using messages that implements Mailable contract

...

public function toMail($notifiable)
{
      return (new \App\Mail\OrderShipped($this->order))->to($notifiable->routeNotificationFor('mail'));
}
...

Can you please add some tests?

@butschster It would be nice if that would be in the docs, feel like submitting a PR?


chore: move the label and label preifx constants to label.go

resolves #153

/reopen

@Mini256  The CI broken. Try to make dev and fix the issue.

@hi-rustin PTAL~

/merge

Codecov Report

Merging #190 (7fb1268) into master (df8de6f) will increase coverage by 0.02%.
The diff coverage is 84.21%.

@@            Coverage Diff             @@
##           master     #190      +/-   ##
==========================================
+ Coverage   86.07%   86.10%   +0.02%
==========================================
  Files          11       11
  Lines         984      986       +2
==========================================
+ Hits          847      849       +2
  Misses         77       77
  Partials       60       60

Flag
Coverage Δ

unittests
86.10% <84.21%> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

internal/pkg/externalplugins/merge/merge.go
82.70% <80.00%> (+0.09%)
:arrow_up:

internal/pkg/externalplugins/lgtm/lgtm.go
88.88% <100.00%> (+0.07%)
:arrow_up:

internal/pkg/externalplugins/owners/owners.go
83.16% <100.00%> (ø)

Continue to review full report at Codecov.

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


Action not working

@rodrihgh The corona atlas action is not working for some reason. I think it may be related with the action-send-mail step:
https://github.com/dawidd6/action-send-mail
See https://github.com/dawidd6/action-send-mail/issues/69

Solved


The code doesn't work on the provided files

Two errors are returned:
read.STR("Downloads/All Glynnii.txt", "Downloads/No Add Inf Lamb Final_run_10_f.txt")
```Error in `[<-.data.frame`(`*tmp*`, , 1, value = c("PAL09_444", "Pal09_63",  :
  replacement has 212 rows, data has 213
In addition: Warning message:
In readLines(STR.out) :
  incomplete final line found on 'Downloads/No Add Inf Lamb Final_run_10_f.txt'

After correcting final line:

read.STR("Downloads/All Glynnii.txt", "Downloads/No Add Inf Lamb Final_run_10_f.txt")
Error in `[<-.data.frame`(`*tmp*`, , 1, value = c("PAL09_444", "Pal09_63",  :
  replacement has 212 rows, data has 213

The code doesn't parse the relevant fields properly - it extracts the wrong k values and includes invalid columns in the final data matrix


ZC Post API: Allow users to modify size in Post Entry Method

Original date: 2019-05-08 18:49:06
Original PR: https://charm.cs.illinois.edu/gerrit/5183

Change-Id: Ie50c45c92e32a46a1ea330e12ff2463ae1d14b02

This branch needs updating to cull the two commits that are already merged

nitbhat dismissed stwhite91’s stale review via ba7c9ca
^ Not sure how this happened. Is it because I rebased and force-pushed?


Infinite CertificateRequest creation

Describe the bug:
When creating a new Certificate, Cert manager create CertficateRequest each ~30s which are never resolved.
For each CertificateRequest, we have this log in cert-manager pod:
E0107 16:28:00.616662       1 controller.go:158] cert-manager/controller/CertificateRequestManager "msg"="re-queuing item  due to error processing" "error"="failed whilst waiting for CertificateRequest to exist - this may indicate an apiserver running slowly. Request will be retried" "key"="xxx/certificate"

Expected behaviour:
The CertificateRequest and Certificate should be ready, a valid order should be created.
Steps to reproduce the bug:
Certificate and issuer yaml :
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
  name: certificate
  namespace: my-namespace
spec:
  commonName: mydns.fr
  dnsNames:
  - mydns.fr
  issuerRef:
    name: letsencrypt
  secretName: certificate
---
apiVersion: cert-manager.io/v1alpha2
kind: Issuer
metadata:
  name: letsencrypt
  namespace: my-namespace
spec:
  acme:
    email<EMAIL_ADDRESS>    privateKeySecretRef:
      name: letsencrypt
    server: https://acme-v02.api.letsencrypt.org/directory
    solvers:
    - http01:
        ingress:
          class: traefik
      selector: {}

Describe certificate :
Status:
  Conditions:
    Last Transition Time:        2021-01-07T17:05:29Z
    Message:                     Issuing certificate as Secret does not exist
    Reason:                      DoesNotExist
    Status:                      False
    Type:                        Ready
    Last Transition Time:        2021-01-07T17:05:29Z
    Message:                     Issuing certificate as Secret does not exist
    Reason:                      DoesNotExist
    Status:                      True
    Type:                        Issuing
  Next Private Key Secret Name:  certificate-pnjrm
Events:
  Type    Reason     Age                 From          Message
  ----    ------     ----                ----          -------
  Normal  Issuing    13m                 cert-manager  Issuing certificate as Secret does not exist
  Normal  Generated  13m                 cert-manager  Stored new private key in temporary Secret resource "certificate-pnjrm"
  Normal  Requested  13m                 cert-manager  Created new CertificateRequest resource "certificate-4zf5n"
  Normal  Requested  13m                 cert-manager  Created new CertificateRequest resource "certificate-gh6rs"
  Normal  Requested  13m                 cert-manager  Created new CertificateRequest resource "certificate-4bx6z"
  Normal  Requested  13m                 cert-manager  Created new CertificateRequest resource "certificate-xh45b"
  Normal  Requested  13m                 cert-manager  Created new CertificateRequest resource "certificate-kxp6p"
  Normal  Requested  12m                 cert-manager  Created new CertificateRequest resource "certificate-fpjbh"
  Normal  Requested  12m                 cert-manager  Created new CertificateRequest resource "certificate-85pds"
  Normal  Requested  11m                 cert-manager  Created new CertificateRequest resource "certificate-wjr2s"
  Normal  Requested  11m                 cert-manager  Created new CertificateRequest resource "certificate-x9f42"
  Normal  Requested  99s (x16 over 10m)  cert-manager  (combined from similar events): Created new CertificateRequest resource "certificate-p7dpk"

A secret named certificate-pnjrm containing a tls.key is created.
No order is created.
No challenge is created.
Environment details::

Kubernetes version: 1.18.6
Cloud-provider/provisioner: OVH managed cluster
cert-manager version: 1.0.4
Install method: static manifests

/kind bug

After applying a security patch on the cluster in OVH console the problem disappeared.

After applying a security patch on the cluster in OVH console the problem disappeared.

@romdum

@nervo and for anyone having this issue: did you try updating your cert-manager?
We can see in the issue's description that the version used is cert-manager 1.0.4, and in the 1.1.0 changelogs something that seems to fix this problem:

Improve ACME backoff logic + prevent infinity retry without surfacing errors (#3321)

@XavierDuthil we are currently on 1.4 and problem still occurs :)
I guess if issue is fixed on every update, that means a kind of cache is purged...


Improve performance of Texture::subTexture and superTexture

Current implementation copies pixels one by one. This can be improved by bulk copying them by using one of the provided methods in PixelWriter

@AahzBrut please check when you get a chance
To get the latest build (once finished building), you can use this:
<dependencies>
    <dependency>
        <groupId>com.github.almasb</groupId>
        <artifactId>fxgl</artifactId>
        <version>dev-SNAPSHOT</version>
    </dependency>
</dependencies>

<repositories>
    <repository>
        <id>oss.sonatype.org-snapshot</id>
        <url>http://oss.sonatype.org/content/repositories/snapshots</url>
    </repository>
</repositories>

@AlmasB , ok, I'll try, now i have 150+ images in one animation and it's really long wait :)
Now converting them to one image and also will check this out.

Just awesome, instead of 3 minutes its now took only 5.5 seconds to init game.
Thanks a lot!

@AahzBrut I assume you use Images::merge() to combine the images. If so, please can you also try this new build (once CI is done). It avoids duplicate copying, so should be faster. I can see some minor difference with 8 images, but with 150+ the difference should be considerable.

@AlmasB I am usinig AnimationChannel(images: List<Image>) but inside constructor there is call to merge(images)
I'll test the new version as soon as it will be available in dev-SNAPSHOT

@AlmasB yeah, it works, init time went down from 5.5 sec to 1.9 sec
Great! Thanks!


clipboard() helper function - put text or get clipboard text [done]

Adding a new clipboard() helper function which is implemented in the upstream TagUI project.
While it is entirely possible to do digital automation by using t.keyboard() to do the copying and pasting of text, with t.clipboard() there are new automation possibilities. Because text can be programmatically retrieved from the clipboard for processing or programmatically put to clipboard for some other purpose.
For eg t.clipboard('long string of text'); t.keyboard('[ctrl]v'); to quickly paste a large block of text into application instead of simulating the normal typing character by character. Another example is t.keyboard('[ctrl]a'); t.keyboard('[ctrl]c'); pdf_contents = t.clipboard(); to make the entire text of a PDF file available for parsing or extraction.

This is superb Ken :)

Just a need one more help ! I am manipulating powerpoint using this visual automation. Actually I am thankful for this wonderful project to automate things... so while manipulating, i have pasted a image into blank side where it pastes in the middle of slide by default, now i need to move the image to the right , i can do it t.click(left) to move it.. it takes lot of step to move to left side of desired place, is there any command which will help select image and drag move to left quickly ?...Please help

Oh @onenessboy see #58 - raise a new issue next time so that other users can find your question easily and the solution. Otherwise if post in another existing issue, it is hard to find by others.

Helper function clipboard() implemented with above commit.
To use, upgrade to v1.12.1 using pip install tagui --upgrade
Syntax is very simple -
# to retrieve text from clipboard
clipboard_contents = t.clipboard()

# to put text from Python env to clipboard
t.clipboard('abc')

# new line characters, single/double quotes are ok
t.clipboard('123\n456\n789')

hi @kensoh
please haw i can copy and past file or directory using TagUi python
thanks

Hi @Bech007 to do file moving and copying, search on google.
Python has built-in functions in os module to manipulate files.

I cant clipboard("special characters like: caçador abóbora"). Even with str.encode() 'cause it's not recognizing bytes-like but just string. Any clue?


Retry mechanism

/hold
#10 should be merged first to unlock this

closing as increasing timeout would remediate the problem anyway


allow 3 hyphens per word

Word count now allows 3 hyphens per word.
counts every 4th as the start of a new word
'so-no-more-cheating/-can-happen'
Added some stuff from the GDS suggestions too

@tomlovesgithub CircleCI is reporting that four of the word count tests are failing. When I run the tests locally I get the same 4 failing tests. Are you able to fix the tests?


Host background port not assigned

I cloned EarlGrey project to my machine and pointed my Podfile to the local development path:
workspace 'TestWorkspace.xcworkspace'
project 'TestProject/TestProject.xcodeproj/'
platform :ios, '15.0'
use_frameworks!

target 'TestProject' do
  pod 'EarlGreyApp', path: '/Users/{my_username}/test_dir/EarlGrey'
end
target 'TestProjectUITests' do
  pod 'EarlGreyTest', path: '/Users/{my_username}/test_dir/EarlGrey'
end

After doing the installation and successfully compiling the project, when I try to use EarlGrey to tap on a view with:
EarlGrey.selectElement(with: grey_accessibilityID(viewId!))
            .perform(grey_tap())

I get the following error:
Fatal failure: Host background port not assigned. Application under test may have failed to launch and/or does not link to EarlGrey's AppFramework. in /Users/{my_username}/test_dir/EarlGrey/TestLib/DistantObject/GREYTestApplicationDistantObject.m:245
dyld4 config: DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libMainThreadChecker.dylib

Am I missing something?

What's your Xcode / MacOS version? Did the app launch at all before crashing?


[SPARK-50362][PYTHON][ML][TESTS] Skip CrossValidatorTests if torch/torcheval not installed

What changes were proposed in this pull request?
https://github.com/apache/spark/pull/48900 skipped relevant test cases on macOS by no longer installing dependencies related to torch and deepseed.
Subsequently, some test cases in ml.tests.connect.test_legacy_mode_tuning.CrossValidatorTests failed due to the absence of torch/torcheval:
ERROR (3.456s)
  test_crossvalidator_with_fold_col (pyspark.ml.tests.connect.test_legacy_mode_tuning.CrossValidatorTests.test_crossvalidator_with_fold_col) ... ERROR (2.550s)
  test_fit_maximize_metric (pyspark.ml.tests.connect.test_legacy_mode_tuning.CrossValidatorTests.test_fit_maximize_metric) ... ERROR (0.550s)
  test_fit_minimize_metric (pyspark.ml.tests.connect.test_legacy_mode_tuning.CrossValidatorTests.test_fit_minimize_metric) ... ERROR (0.544s)
  test_gen_avg_and_std_metrics (pyspark.ml.tests.connect.test_legacy_mode_tuning.CrossValidatorTests.test_gen_avg_and_std_metrics) ... ok (0.539s)

======================================================================
ERROR [9.991s]: test_copy (pyspark.ml.tests.connect.test_legacy_mode_tuning.CrossValidatorTests.test_copy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/work/spark/spark/python/pyspark/ml/tests/connect/test_legacy_mode_tuning.py", line 119, in test_copy
    cvModel = cv.fit(dataset)
              ^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/base.py", line 105, in fit
    return self._fit(dataset)
           ^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/tuning.py", line 435, in _fit
    for j, metric in pool.imap_unordered(lambda f: f(), tasks):
  File<EMAIL_ADDRESS>line 873, in next
    raise value
  File<EMAIL_ADDRESS>line 125, in worker
    result = (True, func(*args, **kwds))
                    ^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/tuning.py", line 435, in <lambda>
    for j, metric in pool.imap_unordered(lambda f: f(), tasks):
                                                   ^^^
  File "/Users/runner/work/spark/spark/python/pyspark/util.py", line 423, in wrapped
    return f(*args, **kwargs)  # type: ignore[misc, operator]
           ^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/tuning.py", line 186, in single_task
    metric = evaluator.evaluate(
             ^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/base.py", line 254, in evaluate
    return self._evaluate(dataset)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/evaluation.py", line 57, in _evaluate
    torch_metric = self._get_torch_metric()
                   ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/evaluation.py", line 125, in _get_torch_metric
    import torcheval.metrics as torchmetrics
ModuleNotFoundError: No module named 'torcheval'

======================================================================
ERROR [3.456s]: test_crossvalidator_on_pipeline (pyspark.ml.tests.connect.test_legacy_mode_tuning.CrossValidatorTests.test_crossvalidator_on_pipeline)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/work/spark/spark/python/pyspark/ml/tests/connect/test_legacy_mode_tuning.py", line 210, in test_crossvalidator_on_pipeline
    cv_model = cv.fit(train_dataset)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/base.py", line 105, in fit
    return self._fit(dataset)
           ^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/tuning.py", line 435, in _fit
    for j, metric in pool.imap_unordered(lambda f: f(), tasks):
  File<EMAIL_ADDRESS>line 873, in next
    raise value
  File<EMAIL_ADDRESS>line 125, in worker
    result = (True, func(*args, **kwds))
                    ^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/tuning.py", line 435, in <lambda>
    for j, metric in pool.imap_unordered(lambda f: f(), tasks):
                                                   ^^^
  File "/Users/runner/work/spark/spark/python/pyspark/util.py", line 423, in wrapped
    return f(*args, **kwargs)  # type: ignore[misc, operator]
           ^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/tuning.py", line 185, in single_task
    model = estimator.fit(train, param_map)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/base.py", line 103, in fit
    return self.copy(params)._fit(dataset)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/pipeline.py", line 201, in _fit
    model = stage.fit(dataset)  # type: ignore[attr-defined]
            ^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/base.py", line 105, in fit
    return self._fit(dataset)
           ^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/spark/spark/python/pyspark/ml/connect/classification.py", line 219, in _fit
    import torch
ModuleNotFoundError: No module named 'torch'
....

Therefore, this pull request adds corresponding conditions to CrossValidatorTests to skip tests when torch/torcheval is not installed.
Why are the changes neede
Skip CrossValidatorTests if torch/torcheval not installed
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass Github Actions
Was this patch authored or co-authored using generative AI tooling?
No

thanks, merged to master

Thanks @zhengruifeng

Thank you, @LuciferYang .


Explore options for landing page

I think it would be nice to have a landing page where potential users can download the extension, find documentation, learn about us, etc. Maybe, GitHub Pages as they would be free. But, maybe, if we are thinking more longterm, it is worth it to start with something more intricate that supports the syncing of the whitelists (Firebase?). As @rgoldstein01 said, landing page and backend can also be separate. In any case, the code for the landing page/backend should probably go in a new repo and this issue is just for exploring the options.
(The extension should also be available on the Chrome Web Store, which we can deal with at a later time in a new issue.)
(cc'ing @davebaraka)

I am going to create a separate repo for a landing page within the next week or so.

I created a separate repo for the landing page and will transfer this issue to that new repo.


Make sure we return integers in getTotalBlocksInArea

So we can use if ($a->getTotalBlocksInArea($c) === 0) in our templates.

This pull request needs to be rebased and reopened because we did some history rewriting, if you need help with this head into #dev in our slack channel

#4814


How to clear search once an item is tapped?

How can we clear and remove focus from the search bar once an item is clicked?

You need to use a SearchBarController in SearchBar(), then call _searchBarController.clear(); on selected item.
Ex:
final SearchBarController<City> _searchBarControllerCities = SearchBarController();
then on SearchBar...
                        SearchBar<City>(
                          searchBarController: _searchBarControllerCities,
                          ..........
                          onItemFound: (City city, int index) {
                            return FlatButton(
                              child: Text(city.searchCity),
                              onPressed: () {
                                searchBarControllerCities.clear();
                                // And anything else you need to do
                              },
                            );
                          },
                        ),


Pass current_dir to runner

Closes #271
Introduced changes

Allow passing current_dir to runner function
Use runner instead of manually creating Command

Checklist

[x] Linked relevant issue
[ ] Updated relevant documentation
[ ] Added relevant tests
[ ] Performed self-review of the code
[ ] Added changes to CHANGELOG.md

Blocked, pending fix of declare with --path-to-scarb-toml.

#271 closed as not planned. Closing this PR as well since the problem it aims to solve will be addressed by other PRs in the near future.


Installation - gcc error on option "-Wsuggest-attribute=noreturn"

If you're having trouble installing Nokogiri ...
I've tried most of the things in the Installing Nokogiri documentation, which I'll demonstrate below.
This is on one of our CI systems, not on a developer laptop. First, some system information:
$ uname -r
4.4.0-119-generic
$ uname -v
#143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018
$ uname -m
x86_64
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.5 LTS
Release:	12.04
Codename:	precise

What is the output of gem install nokogiri?
$ gem install nokogiri

Building native extensions. This could take a while...
ERROR:  Error installing nokogiri:
	ERROR: Failed to build gem native extension.

    current directory: /home/u1216/.gem/gems/nokogiri-1.8.4/ext/nokogiri
/home/tddium/.rbenv/versions/2.5.1/bin/ruby -r ./siteconf20180731-2404-yp7j9c.rb extconf.rb
checking if the C compiler accepts ... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/home/tddium/.rbenv/versions/2.5.1/bin/$(RUBY_BASE_NAME)
	--help
	--clean
/home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
	from /home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:574:in `block in try_compile'
	from /home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:521:in `with_werror'
	from /home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:574:in `try_compile'
	from extconf.rb:138:in `nokogiri_try_compile'
	from extconf.rb:162:in `block in add_cflags'
	from /home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:632:in `with_cflags'
	from extconf.rb:161:in `add_cflags'
	from extconf.rb:410:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /home/u1216/.gem/extensions/x86_64-linux/2.5.0/nokogiri-1.8.4/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /home/u1216/.gem/gems/nokogiri-1.8.4 for inspection.
Results logged to /home/u1216/.gem/extensions/x86_64-linux/2.5.0/nokogiri-1.8.4/gem_make.out

What are the contents of the mkmf.log file?
$ cat /home/u1216/.gem/extensions/x86_64-linux/2.5.0/nokogiri-1.8.4/mkmf.log

"gcc -o conftest -I/home/tddium/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-linux -I/home/tddium/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/home/tddium/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/home/tddium/.rbenv/versions/2.5.1/include    -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn  -fPIC  conftest.c  -L. -L/home/tddium/.rbenv/versions/2.5.1/lib -Wl,-rpath,/home/tddium/.rbenv/versions/2.5.1/lib -L. -L/home/tddium/.rbenv/versions/2.5.1/lib  -fstack-protector -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/home/tddium/.rbenv/versions/2.5.1/lib -L/home/tddium/.rbenv/versions/2.5.1/lib -lruby  -lpthread -lrt -lgmp -ldl -lcrypt -lm   -lc "
cc1: error: unrecognized command line option "-Wsuggest-attribute=noreturn"
cc1: warning: unrecognized command line option "-Wno-self-assign"
cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
cc1: warning: unrecognized command line option "-Wno-tautological-compare"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

What operating system are you using?
Ubuntu 12.04 (Our CI provides this and we cannot update)
** More Steps Tried, as per instructions **
Installed recommended packages:
sudo apt-get install build-essential patch ruby-dev zlib1g-dev liblzma-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
liblzma-dev is already the newest version.
zlib1g-dev is already the newest version.
build-essential is already the newest version.
patch is already the newest version.
The following package was automatically installed and is no longer required:
  libxmlrpc-core-c3
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  ruby-dev
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 4,572 B of archives.
After this operation, 32.8 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main ruby-dev all 4.8 [4,572 B]
Fetched 4,572 B in 0s (201 kB/s)
Selecting previously unselected package ruby-dev.
(Reading database ... 270126 files and directories currently installed.)
Unpacking ruby-dev (from .../archives/ruby-dev_4.8_all.deb) ...
Setting up ruby-dev (4.8) ...

Tried installing Nokogiri again:
gem install nokogiri
Building native extensions. This could take a while...
ERROR:  Error installing nokogiri:
	ERROR: Failed to build gem native extension.

    current directory: /home/u1216/.gem/gems/nokogiri-1.8.4/ext/nokogiri
/home/tddium/.rbenv/versions/2.5.1/bin/ruby -r ./siteconf20180731-2509-6va9kr.rb extconf.rb
checking if the C compiler accepts ... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/home/tddium/.rbenv/versions/2.5.1/bin/$(RUBY_BASE_NAME)
	--help
	--clean
/home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
	from /home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:574:in `block in try_compile'
	from /home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:521:in `with_werror'
	from /home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:574:in `try_compile'
	from extconf.rb:138:in `nokogiri_try_compile'
	from extconf.rb:162:in `block in add_cflags'
	from /home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:632:in `with_cflags'
	from extconf.rb:161:in `add_cflags'
	from extconf.rb:410:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /home/u1216/.gem/extensions/x86_64-linux/2.5.0/nokogiri-1.8.4/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /home/u1216/.gem/gems/nokogiri-1.8.4 for inspection.
Results logged to /home/u1216/.gem/extensions/x86_64-linux/2.5.0/nokogiri-1.8.4/gem_make.out

Tried with system libs:
gem install nokogiri -- --use-system-libraries

Building native extensions with: '--use-system-libraries'
This could take a while...
ERROR:  Error installing nokogiri:
	ERROR: Failed to build gem native extension.

    current directory: /home/u1216/.gem/gems/nokogiri-1.8.4/ext/nokogiri
/home/tddium/.rbenv/versions/2.5.1/bin/ruby -r ./siteconf20180731-2541-1hc5bds.rb extconf.rb --use-system-libraries
checking if the C compiler accepts ... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/home/tddium/.rbenv/versions/2.5.1/bin/$(RUBY_BASE_NAME)
	--help
	--clean
/home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
	from /home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:574:in `block in try_compile'
	from /home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:521:in `with_werror'
	from /home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:574:in `try_compile'
	from extconf.rb:138:in `nokogiri_try_compile'
	from extconf.rb:162:in `block in add_cflags'
	from /home/tddium/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:632:in `with_cflags'
	from extconf.rb:161:in `add_cflags'
	from extconf.rb:410:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /home/u1216/.gem/extensions/x86_64-linux/2.5.0/nokogiri-1.8.4/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /home/u1216/.gem/gems/nokogiri-1.8.4 for inspection.
Results logged to /home/u1216/.gem/extensions/x86_64-linux/2.5.0/nokogiri-1.8.4/gem_make.out

It seems someone had a similar problem here on SO, but without a solution: https://stackoverflow.com/questions/44435842/how-to-install-nokogiri-with-rails-on-ubuntu-16-04

Same errors when I do: gem install nokogiri -- --use-system-libraries --with-xml2-include=/usr/include/libxml2

Oh... maybe it's my GCC version?!?!
gcc --version
gcc-4.5 (Ubuntu/Linaro 4.5.3-12ubuntu2) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

That's pretty old; does it support that flag?

@tibbon sorry you ran into this. We could (and probably should) check for GCC version, but to be honest I wasn't even aware we had done something that was not backwards-compatible with older GCC versions.
Are you on a vanilla 12.04? (This might be a good time to mention, as you probably already know, that 12.04 was end-of-lifed ("EOLed") in April 2017, so in the interest of maintaining a secure platform you may want to consider upgrading.)

I had similar issue while trying to upgrade the gem to the version 1.9.1. For me, gcc version is 5.5:
❯ gcc --version # Ruby version is 2.5.3
gcc (Homebrew gcc 5.5.0_4) 5.5.0

@tibbon I'm curious if your version of Ruby was compiled with a different/newer version of GCC?
I ask because it looks like those compiler flags come from RbConfig::CONFIG["cflags"]. Unless you're using a different compiler, it doesn't make sense to me that gcc would exit-with-error when seeing that option.

Closing.

Hi,
Sorry to reopen this, but I may help troubleshooting this, as I'm facing the same issue and I would like to find at least a workaround, if not a fix.
Ruby is installed via snap (on ubuntu 14.04). Because of this, it's quite probable that the gcc version is not the same, however I have no idea how to check this.
$>ruby -v
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
$>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 6.5.0-2ubuntu1~14.04.1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=gcc4-compatible --disable-libstdcxx-dual-abi --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.5.0 20181026 (Ubuntu 6.5.0-2ubuntu1~14.04.1)

Given that ruby is installed via snap, I don't have the option to install ruby-dev. I found through various threads that the following packages would help:
sudo apt install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm5 libgdbm-dev

However being on an old distrib, libgdbm5 is not available. It did helped a bit though, I think, as now I only have the following flags missing (and I believe I had more previously:
cat   /home/user/project/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.7/mkmf.log
"gcc -o conftest -I/snap/ruby/160/include/ruby-2.6.0/x86_64-linux -I/snap/ruby/160/include/ruby-2.6.0/ruby/backward -I/snap/ruby/160/include/ruby-2.6.0 -I.    -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c  -L. -L/snap/ruby/160/lib -Wl,-rpath,/snap/ruby/160/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/snap/ruby/160/lib -L/snap/ruby/160/lib -lruby  -lm   -lc "
gcc: error: unrecognized command line option ‘-Wrestrict’
gcc: error: unrecognized command line option ‘-Wimplicit-fallthrough=0’; did you mean ‘-Wno-fallthrough’?
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

Question is, how could I use the same gcc for both? Maybe you are not the best person to ask, as I guess this is more a snap issue, but right now I'm a bit stuck, so any help would be appreciated a lot!


[BUG FIX] Issue 5744

A temporal fix for https://github.com/huggingface/datasets/issues/5744.

Pandas 2.0.0 has removed support to passing mangle_dupe_cols.
However, our datasets library does not use this parameter: it only passes it to pandas if the user passes it to load_dataset.
You should better:

Either "take steps to stop the use of 'mangle_dupe_cols'" (as it was suggested in the deprecation warning in pandas-1.5.3)
Or pin pandas (< 2.0.0) in your local requirements file

datasets 2.11 doesn't pass mangle_dupe_cols unless the user specifies it indeed, so I think we're fine


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1521 ms

Resolved: Bofrost.at performance has improved in ac9316f after 6 minutes.


Fixes an issue where 2FA does not work due to improper JSON string conversion

This PR fixes an issue where the TOTP token does not properly apply to the request

Oops, wrong upstream branch!


V2: Add data binding to have the graph refresh real-time

V2: Add data binding to have the graph refresh real-time
Description
Change all value properties to Binding, to have the refresh in real-time.
I had to render public the ChartConfigurationStyle constructor for users to use
Motivation and Context
Issue #95
I didn't update the structure, just put the constructor public
How Has This Been Tested?
iOS simulator
Screenshots (if appropriate):
N/A
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (Updating Documentation, CI automation, etc..)

Checklist:

[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

@AppPear Is this a V2 feature? or is there a built in way to do this?


HDDS-9503. Migrate simple misc. integration tests to JUnit5

What changes were proposed in this pull request?
HDDS-9503. Migrate simple misc. integration tests to JUnit5
Please describe your PR in detail:
Migrate the following test classes from Junit4 to JUnit5 by following the parent JIRA [HDDS-6729. Migrate tests to JUnit5]
hadoop-ozone/fault-injection-test/mini-chaos-tests/src/test/java/org/apache/hadoop/ozone/TestMiniChaosOzoneCluster.java
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/storage/TestCommitWatcher.java
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestBlockTokens.java
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestBlockTokensCLI.java
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestContainerBalancerOperations.java
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestContainerOperations.java
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestContainerStateMachineIdempotency.java
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestMiniOzoneOMHACluster.java
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/debug/TestLeaseRecoverer.java
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/fsck/TestContainerMapper.java
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestContainerReportWithKeys.java
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestSecretKeysApi.java
How was this patch tested?
Tested in Intellij.

Thanks @david1859168 for working on this.
There are some conflicts with current master branch, which need to be resolved manually.  Please merge from master, resolve the conflicts, then push to your fork again.
Also, checkstyle reports the following problems:
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestBlockTokens.java
 53: Unused import - org.apache.ozone.test.JUnit5AwareTimeout.
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestContainerOperations.java
 32: Using the '.*' form of import should be avoided - org.junit.jupiter.api.*.
 53: 'class def modifier' has incorrect indentation level 1, expected level should be 0.
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestMiniOzoneOMHACluster.java
 24: Using the '.*' form of import should be avoided - org.junit.jupiter.api.*.
 27: Unused import - java.io.IOException.
 48: Variable 'exception' must be private and have accessor methods.
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestBlockTokensCLI.java
 36: Using the '.*' form of import should be avoided - org.junit.jupiter.api.*.
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestSecretKeysApi.java
 42: Unused import - org.apache.ozone.test.JUnit5AwareTimeout.
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestContainerReportWithKeys.java
 40: Using the '.*' form of import should be avoided - org.junit.jupiter.api.*.
 42: Unused import - org.apache.ozone.test.JUnit5AwareTimeout.
 69: Variable 'exception' must be private and have accessor methods.
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestContainerStateMachineIdempotency.java
 40: Using the '.*' form of import should be avoided - org.junit.jupiter.api.*.

https://github.com/david1859168/ozone/actions/runs/7296598719/job/19884620249
You can run checkstyle locally by:
hadoop-ozone/dev-support/checks/checkstyle.sh

Thanks again @david1859168 for the patch.


chore: upgrade node and workflows dependencies

Fixes #

💚 All backports created successfully

Status
Branch
Result

✅
1.x

Questions ?
Please refer to the Backport tool documentation


Try OkHttp library for concurrent url resolving

We saw a lot of IOException("too many concurrent streams") errors when we used the java.net.http HTTPClient introduced with Java 11 for resolving lots of urls at once. According to one answer on stackoverflow, the OkHTTP library behaves better:

"Finally, I ended up by using OkHttp. It handles the problem (it just waits until some streams are freed up if the number of concurrent streams reaches max_concurrent_streams)."

This PR follows on from https://github.com/guardian/google-search-indexing-observatory/pull/37

We did a test deploy of this yesterday with build 113, and the logs show that it is (mostly) working well, with no exceptions being thrown:

Logging problem
The one thing that's not working is the logging that tells us how many new urls are being discovered/resolved/stored-to-dynamodb:
https://github.com/guardian/google-search-indexing-observatory/blob/da98b2d0e5b6c1ee41315facf0bcce97f96b7a0e/src/main/scala/ophan/google/indexing/observatory/DataStore.scala#L36-L42
It's going into Cloudwatch Logs...
{
    "@timestamp": "2023-10-04T10:34:26.459459Z",
    "@version": "1",
    "message": "Storing new uris for https://www.dailymail.co.uk",
    "logger_name": "ophan.google.indexing.observatory.DataStore",
    "thread_name": "scala-execution-context-global-21",
    "level": "INFO",
    "level_value": 20000,
    "sitemap.uris.all": 1000,
    "sitemap.uris.new.resolved.notOK.sample": [],
    "sitemap.uris.new.resolved.sample": [
        "https://www.dailymail.co.uk/femail/article-12592417/Cosy-Kate-Princess-Wales-dons-grey-knitted-vest-visit-community-hub-supporting-Ukrainian-refugees.html"
    ],
    "sitemap.uris.new.resolved.notOK.count": 0,
    "sitemap.uris.new.redirecting.count": 0,
    "sitemap.uris.new.redirecting.sample": [],
    "sitemap.uris.new.resolved.count": 1,
    "site": "https://www.dailymail.co.uk",
    "buildNumber": "113",
    "gitCommitId": "381488d81adc9469f85999e9585b807205241ffe",
    "uniqueIdForVM": "f4554b17-119c-4200-8c86-bde7461bb5f5"
}

...but not making it into the ELK logs. This issue was very similar to https://github.com/guardian/ophan/pull/3254 & https://github.com/guardian/google-search-indexing-observatory/pull/35 (tho' this last one was easier to resolve, as the document we were constructing was inconsistent with itself, which wasn't the case here)
This conversation on DevX clarified the issue - Louis Hather was able to dig out this relevant log line from the logstash box itself (note that unfortunately these errors are not available in the ELK itself, so you probably have to SSM onto the logstash box to find them)
Could not dynamically add mapping for field [sitemap.uris.new.redirecting.sample]. Existing mapping for [sitemap.uris.new] must be of type object but found [long]

I found this error message hard to parse, but Andrew Nowak pointed out that it effectively means:

"You're asking me to store an object in a field called sitemap.uris.new, but that field is defined as a long in the existing mapping for the Elasticsearch index, so that object can't go in"

We can see the field, being used a long, here in an old log entry:

That old log entry was running with commit 6edd2fbaf5421c75117de3fb2f12a52313ad79e3, when indeed an integer was being logged to that field:
https://github.com/guardian/google-search-indexing-observatory/blob/6edd2fbaf5421c75117de3fb2f12a52313ad79e3/src/main/scala/ophan/google/indexing/observatory/DataStore.scala#L35
I'll fix the logging and do another test deploy.

The fixed logging has been deployed as build 115, and the logging for storing new uris is working well:

The logging is showing the redirecting code correctly working, identifying redirecting urls like https://www.bbc.co.uk/news/world-us-canada-67011628 :

There has been one url that didn't resolve, https://www.bbc.co.uk/news/live/67018505 returned a HTTP 500 error when we tried to resolve it (logs) - this rate of failure seems ok to me so far:

The specific aim for this work (originally started in https://github.com/guardian/google-search-indexing-observatory/pull/12) was to fix scanning of urls which redirect https://github.com/guardian/google-search-indexing-observatory/issues/32, which I think is done!
More broadly, we want the observatory to accurately reflect reality, and not report items as missing from Google Search when they're actually there - that makes it look like Google Search is worse than reality, and alarms people for no good reason. I'll start a new issue to reflect one particular thing I've seen.


SILGen: Move error values into indirect error returns in proper order with cleanups.

There's an unfortunate layering difference in the cleanup order between address-only and loadable error values during catch pattern matching: for address-only values, the value is copied into a temporary stack slot, and the stack slot is cleaned up on exit from the pattern match, meaning the value must be moved into the error return slot on the "no catch" case before cleanups run. But if it's a loadable value, then we borrow it for the duration of the switch, and the borrow is released during cleanup on exit from the pattern match, so the value must be forwarded after running cleanups.
The way the code is structured, it handles these cases properly when the convention of the function being emitted is in sync with the fundamental properties of the error type (when the error type is loadable and the error return is by value, or when the error type is address-only and the error return is indirect, in other words). But when a closure literal with a loadable error type is emitted in an argument context that expects a function with an indirect error return, we would try to forward the loadable error value into the error return slot while a borrow is still active on it, leading to verifier errors. Defer forwarding the value into memory until after cleanups are popped, fixing rdar://126576356.
A tidier solution might be to always emit the function body to use a bbarg on the throw block to pass the error value from the body emission to the epilog when the type is loadable, deferring the move into memory to the epilog block. This would make the right behavior fall out of the existing implementation, but would require a bit more invasive changes (pretty much everywhere that checks IndirectErrorReturn would need to check a different-tracked AddressOnlyErrorType bit instead or in addition). This change is more localized.

@swift-ci Please test


METATHEOREM: remove the use of choice in Completeness

Is your feature request related to a problem? Please describe.
Sadly, we use choice in the proof of completeness, to pick a substitution which "lifts" an interpretation into the free magma quotiented by the laws. https://github.com/teorth/equational_theories/blob/e56c7bcc86b799cded72a3912d672fb225c9da3b/equational_theories/Completeness.lean#L106
Describe the solution you'd like
Ideally, we'd determine whether that use of choice is required (I strongly suspect that it is not) and remove it if possible. It's likely some use of the excluded middle are unavoidable though.
Describe alternatives you've considered
The alternative here is to do nothing.
Additional context
Here is a gorgeous proof of the same (slightly more general, actually) theorem in Agda by Andreas Abel. One could simply carry out an identical proof. https://www.cse.chalmers.se/~abela/agda/MultiSortedAlgebra.pdf

While not essential to the rest of the project (at least, not yet), this is an aesthetically nice improvement to the proof, so if you want to volunteer for this project, be my guest.  (It seems that you could also help get the ball rolling on formalizing the abstract nonsense chapter as well, which is a bit more tied to the rest of the project, so you could consider directing effort to that direction instead in the near-term.  Of course it is up to you.)

I'm having a rough work week, but if it's still up for grabs after I'd be happy to.
I should note that the Abel exercise doesn't actually trivially solve the problem (I now realize): it works in setoids rather than quotient types, so the "get a representative" function is trivially constructive: it's the identity. In some sense it proves something weaker: the models in which equality is an arbitrary relation are complete.
I'll have to take a closer look at the proof.


Simple framework for XP definitions

Intro
This is a potential opinion on how strongly-typed XP should be defined in a C# project. It would include adding code to the catalyst library and creating a guide for solutions. The goals are

Make it more likely XP will be consistent within resources and avoid indexing issues
Make it easy to take an inventory of all XP used within a project
Reduce boilerplate code

The framework
Currently, strongly-typed xp requires code like below for every resource.
// Boilerplate
public class OrderCalculateResponseWithXp : OrderCalculateResponse<OrderCalculateResponseXp, LineItemOverrideWithXp> { }
public class LineItemOverrideWithXp : LineItemOverride<AdHocProductWithXp> { }
public class AdHocProductWithXp : AdHocProduct<AdHocProductXp> { }

// boilerplate if empty, but still required
public class  OrderCalculateResponseXp { }

// Not Boilerplate
public class AdHocProductXp
{
     // put xp here
}

The first suggestion is to put all the boilerplate code above into a library like Catalyst so that the meaningful code - definitions of XP - are clear and unobstructed. Classes like AdHocProductXp would be defined in the library as empty partials, with the solution also defining them as partials and including the xp details.

The second suggestion is to define a convention of putting all the partial <Resource>Xp classes in a single file called Xp.cs. Putting them all in one file makes it easy to be confident there are no other xp definitions hiding in other parts of the project. It also means that source control will produce merge conflicts if two people edit xp simultaneously. This is actually a benefit because it means changes in xp are considered in the context of all existing xp. This reduces the likelihood of conflicting or duplicated definitions.  It would look something like this

https://github.com/ordercloud-api/dotnet-middleware/blob/dev/Customer.OrderCloud.Common/Models/Xp.cs
New library code
ModelWithXp.cs
public class OrderCalculateResponseWithXp : OrderCalculateResponse<OrderCalculateResponseXp, LineItemOverrideWithXp> { }
public class LineItemOverrideWithXp : LineItemOverride<AdHocProductWithXp> { }
public class AdHocProductWithXp : AdHocProduct<AdHocProductXp> { }
...

Xp.cs
public partial class OrderCalculateResponseXp { }
public partial class AdHocProductXp { }
...

New client project code
Xp.cs
public partial class AdHocProductXp
{
    public string MyProperty { get; set; }
}
...

MyServerSideCommand.cs
// same as before, but dev needs to understand the connection between AdHocProductXp and AdHocProductWithXp.
AdHocProductWithXp product = await _oc.AdHocProduct.GetAsync<AdHocProductWithXp>(myID);

Gotchas

Multiple OC models will need to be mapped to a single xp schema. A good example are the Product and BuyerProduct models (which serve the same underlying data from two different endpoints). This is strictly necessary. Formalizing all the examples in a framework could reduce coding errors.

public class BuyerProductWithXp : BuyerProduct<ProductXp> { }
public class ProductWithXp: Product<ProductXp> { }

A single OC model might reasonably be mapped to multiple different xp schemas. A good example is the singular Address model (which is used for multiple endpoints). This is not strictly necessary, but more open to opinions. The framework would try to create a generally good opinion but would limit options. For example, what if Admin and Supplier addresses should have the same xp schema? Of course, devs can always define their own classes outside the framework.

public class BuyerAddressWithXp : Address<BuyerAddressXp> { }
public class SupplierAddressWithXp : Address<SupplierAddressXp> { }
public class AdminAddressWithXp : Address<AdminAddressXp> { }

This was resolved here -> https://github.com/ordercloud-api/dotnet-middleware/blob/dev/Customer.OrderCloud.Common/Models/Xp/XpBoilerplate.cs
Decided to not make it part of the library


Required Tasks to Ship

If we want this to be completed, a set of small tasks required to make it happen will be needed. @feltnerm @dbeg what are the remaining items to be completed?

Here's the current list.

[ ] Document instructions for adding posts, pages
[ ] Create script to assist creating new post (i.e., ./create-post {title})
[ ] Create script to assist in deployment (i.e., Travis-CI could deploy to gh-pages if conditions are met or something)
[ ] Style site to match Widen "brand" (doesn't need to be 1:1, but shouldn't look like another company)
[ ] RSS feed
[ ] Categories / tags support

Pages:

[ ] Author page - information about each other + picture + links to social media

[ ] template
[ ] author pages copy text
[ ] author page styling

[ ] About page - what we're about

[ ] about page copy text
[ ] about page styling

[ ] Software page - list of our open-source offerings w/ short descriptions

[ ] software page template
[ ] software page copy
[ ] software page styling

[ ] Post list page - list of blog posts

[ ] post list page template (needs some <3)
[ ] post list page styling

[ ] Post page - a single blog post page

[ ] post page template
[ ] post page styling

Partials:

[ ] Header

[ ] Style
[ ] Links

[ ] Footer

[ ] Style
[ ] Links

I'll keep it updated if anyone sees anything I'm missing:

I know marketing is currently using Compendium for their blogging platform. They're not happy with it and are actively looking for a replacement. Regardless, Compendium and most other blogging/authoring platforms already allows us to satisfy all of the requirements here. We want to blog about technology, but we are pretty limited on time. Maybe we should spend that time blogging instead of wiring together our own a blogging platform. Perhaps coordinating with marketing to find a suitable platform for both dev and marketing is an avenue to explore. If both marketing and dev are using the same platform, it will be easier to have a consistent experience and L&F between the two.

I believe they're actively migrating.

We want to blog about technology, but we are pretty limited on time. Maybe we should spend that time blogging instead of wiring together our own a blogging platform.

For learning and for the hell of it? Why not?! Who says this isn't a potential avenue which could be usable by many?

Hi Guys, yes, we're moving from Compendium to HubSpot for widen.com/blog.
Staying on wordpress for widen.com revamp staring soon (strategy phases
now).
Are you wanting a blog for your Widen work or Fine Uploader?
On Mon, Jun 1, 2015 at 11:09 PM, Mark Feltner<EMAIL_ADDRESS>wrote:

I believe they're actively migrating.
We want to blog about technology, but we are pretty limited on time. Maybe
we should spend that time blogging instead of wiring together our own a
blogging platform.
For learning and for the hell of it? Why not?! Who says this isn't a
potential avenue which could be usable by many?
—
Reply to this email directly or view it on GitHub
https://github.com/Widen/widen.github.io/issues/5#issuecomment-107795833
.

I guess I'm not clear on the goal here. I thought it was to blog about
technology, and get Widen's name out in the development community.
Developing our own version of wordpress is probably not a realistic goal,
and if we really just want to get our thoughts out there, nothing we
develop (given our resource and time restrictions) will compare to the
endless array of products that already satisfy all these needs.
On Mon, Jun 1, 2015 at 11:09 PM Mark Feltner<EMAIL_ADDRESS>wrote:

I believe they're actively migrating.
We want to blog about technology, but we are pretty limited on time. Maybe
we should spend that time blogging instead of wiring together our own a
blogging platform.
For learning and for the hell of it? Why not?! Who says this isn't a
potential avenue which could be usable by many?
—
Reply to this email directly or view it on GitHub
https://github.com/Widen/widen.github.io/issues/5#issuecomment-107795833
.

@jathey22 This is not Fine Uploader specific. It would be for the entire Widen development team to participate, per my understanding.

Like! Yeah, we can post anything relevant to marketing technology, content
management, trends, insights and more with connecting marketing content to
the Widen blog (Compendium and then HubSpot later).
If enough participation from dev in areas more technical, it may make sense
to start a new wordpress blog to reach and unite a more technical audience
than the marketing / creative types now.
Chat more?
On Mon, Jun 1, 2015 at 11:21 PM, Ray Nicholus<EMAIL_ADDRESS>wrote:

@jathey22 https://github.com/jathey22 This is not Fine Uploader
specific. It would be for the entire Widen development team to participate,
per my understanding.
—
Reply to this email directly or view it on GitHub
https://github.com/Widen/widen.github.io/issues/5#issuecomment-107798367
.

Jake - I think the original goal here was to create a developer-specific portal to cater to developer-specific audiences. The site would perhaps contain technical blog entries, info about developer life here, our tech stack and projects, etc. However, we would want to maintain a consistent look, within reason, between this site and the existing widen.com blog. Again, just my thoughts and understanding of the goals here.

Make sense. We could have a developer-specific category under the Widen
blog.
On Mon, Jun 1, 2015 at 11:39 PM, Ray Nicholus<EMAIL_ADDRESS>wrote:

Jake - I think the original goal here was to create a developer-specific
portal to cater to developer-specific audiences. The site would perhaps
contain technical blog entries, info about developer life here, our tech
stack and projects, etc. However, we would want to maintain a consistent
look, within reason, between this site and the existing widen.com blog.
Again, just my thoughts and understanding of the goals here.
—
Reply to this email directly or view it on GitHub
https://github.com/Widen/widen.github.io/issues/5#issuecomment-107799855
.

I guess I'm not clear on the goal here. I thought it was to blog about technology

That's one goal for sure!

, and get Widen's name out in the development community.

That's a secondary goal, IMHO. I also feel like that goal adds unnecessary pressure. I think just writing technical stuff down in a communicative way can be good practice to keep your skills sharp, it can help spread more knowledge (both inter- and exter-nally), and it can also open your mind to new ideas on how you could have solved problems.
This idea isn't about me, but part of my ideal goal is that I want everyone here to have ownership of this site, be able to change it at will, be able to collaborate with each other, and be able to easily create and edit content using familiar tools.
Using git, GitHub, Jekyll (the most popular blogging platform -- so I've heard), static HTML, static CSS, and markdown all seemed to check a lot of those boxes. This also opens up an avenue for mentoring for those who'd want to either learn some bits of tech and/or write a post.

Developing our own version of wordpress is probably not a realistic goal,
and if we really just want to get our thoughts out there, nothing we
develop (given our resource and time restrictions) will compare to the
endless array of products that already satisfy all these needs.

@rnicholus you and I both have dealt with Wordpress for FineUploader. Please tell me you wouldn't let me even try to recreate that behemoth!
Recreating Wordpress is NOT the goal. I hope that's not suggested by my task-list (which is editable, btw). To me, the things I listed above either fall into the category of requirements for ANY blog/site or requirements to make it simple enough for people to adopt the tools.

Currently, this has been more or less a labor of love, and I'm fine with that. I'm not in any rush. Anyways, this issue has now gotten way off track.

If enough participation from dev in areas more technical, it may make sense
to start a new wordpress blog to reach and unite a more technical audience
than the marketing / creative types now.

We don't have any participation yet. I think participation needs to be planted so it can grow.
Also, -1 for Wordpress.

I think that if the articles are useful, easy to understand, yet intelligent.  Then the goal of getting Widen's name out in the dev community would naturally follow.
As long as it's clear that the author holds a title at Widen, I don't think they need to overtly plug Widen technology within the articles.

For anyone interested in what exactly is going on here, @feltnerm and I spun up this idea one afternoon whilst working from 100state. At the time, our main inspiration was an open source portal, similar to http://square.github.io/ or http://netflix.github.io/. This idea transitioned into something more similar to http://githubengineering.com/. We want to see an area where we can share open source projects with the community, which will give Widen a better development presence, but we also want this area to have a platform to explain and expand upon that code. Mark and I envision a place where we can have rich content that highlights our more interesting work. Rolling our own micro-blogging platform seems to be a natural extension of this process in my mind, hence not simply dropping content into a more user-friendly environment.

+1
Cultivating our development "brand" is hugely desirable for getting the best talent interested in working for us. Being a small company, our name is not widely known, and recruiting can be challenging because of that (hence the involvement in things like MadHacks). A public presence and projects like FineUploader can make a big difference when someone Googles us to see what we're about, FineUploader is often mentioned by developer candidates who have done their homework.
I totally agree this is a worthwhile goal to pursue independent of marketing our software itself.

Yes, I completely agree that the content of this site is important, and can/should contains things such as:

developer blogs
developer events
info about our open source libraries/projects

My stance is that the content is paramount here, and I'm hoping that development of a micro-blogging platform doesn't get in the way of this.

Lovin' the discussion!
+1 to what @dbeg said. We're also generating good content based on what we are learning while building this.

My stance is that the content is paramount here, and I'm hoping that development of a micro-blogging platform doesn't get in the way of this.

Great. Since we are using Jekyll we don't need to write a micro-blogging platform :stuck_out_tongue_winking_eye:
On a personal note, I'm learning more and more about front-end design by writing custom styles for this thing. That learning is thrown out the window if were to use a platform like wordpress or blogger.

Is it worth mentioning that the Netflix Tech Blog runs on Blogger?

My feeling is that creating this from scratch (i.e., using Jekyll) offers more pros than cons. IMHO, the main reason for using something like hubspot or blogger or wordpress is ease of setup. I just don't see that being important right now since it's not like we have a queue of blog posts. I also think the DIY-ness of this project adds value.
At the end of the day, this is not about me. I want all of us to own this. I'm seriously willing to do all those tasks by myself because I believe this is a good idea (as echoed by almost everyone in this thread), but I don't want to do all that in vain.
@dbeg and I thought of this, came up with a plan, and started executing it. This is just our conception of it. We didn't involve everyone up front, even though the intention of the project is to involve everyone eventually. Now that the idea is out in the open (and apparently well received), maybe those who are seriously willing to commit to and are invested in the idea should lay out our goals and discuss them.

I shuffled the required tasks around a bit after thinking about it more.
Categories / tags support, Author page, and Software page were all moved into Nice to Haves. Seems more appropriate?
/cc @dbeg

I also moved the Automation section into Nice to Haves because that'll be easier to do after documentation is written.

Just committed a makefile and travis-ci integration. This will allow the site to be automatically published whenever a change is pushed to the develop branch. I'm going to reflect on my solution for a day or so before I test it out, enable it, and move on to something else.
Once this is live, any changes that should not be immediately published must be made to a branch off of develop. Travis will be configured to only look at pushes on the develop branch.

Woot! Thanks!
On Sat, Aug 22, 2015 at 11:28 AM Ray Nicholus<EMAIL_ADDRESS>wrote:

Just committed a makefile and travis-ci integration. This will allow the
site to be automatically published whenever a change is pushed to the
develop branch. I'm going to reflect on my solution for a day or so before
I test it out, enable it, and move on to something else.
Once this is live, any changes that should not be immediately published
must be made to a branch off of develop. Travis will be configured to only
look at pushes on the develop branch.
—
Reply to this email directly or view it on GitHub
https://github.com/Widen/widen.github.io/issues/5#issuecomment-133723134
.

Auto-deploy is up and running. Simply push to develop and travis takes care of the rest. See the Makefile and travis-ci config for details.
I included a robots.txt that should be removed or adjusted once you are done with the styling tasks @feltnerm and the site has at least one real post.

RSS feed is working. Tested it with feedly.

Created a few new Makefile targets.
To create a new post: make createPost title="this is my new post".
To create a new draft: make createDraft title="this is my new draft post".

Awesome work, ray. The engineering.widen.com domain works now too, if you
didn't notice already.
On Sun, Aug 23, 2015 at 10:50 PM Ray Nicholus<EMAIL_ADDRESS>wrote:

Created a few new Makefile targets.
To create a new post: make createPost title="this is my new post".
To create a new draft: make createDraft title="this is my new draft post".
—
Reply to this email directly or view it on GitHub
https://github.com/Widen/widen.github.io/issues/5#issuecomment-134010947
.

auto-deploy is back up and running

Looking good guys!
Need any help from Danielle or I?
Jake Athey
Marketing Director, Widen
608-443-5472
<EMAIL_ADDRESS>On Mon, Aug 24, 2015 at 3:50 PM, Ray Nicholus<EMAIL_ADDRESS>wrote:

auto-deploy is back up and running
—
Reply to this email directly or view it on GitHub
https://github.com/Widen/widen.github.io/issues/5#issuecomment-134376035
.

We're close!
Just need to review what's there to see if anything is missing before we ship.
Once everything is :+1: all around, to ship, we need to:

[ ] Turn on robots.txt
[ ] Remove the "First Post"
[ ] Set the (only) post into published: true

Lookin' good fellas!
Jake Athey
Marketing Director, Widen
608-443-5472
<EMAIL_ADDRESS>On Thu, Aug 27, 2015 at 10:46 PM, Mark Feltner<EMAIL_ADDRESS>wrote:

We're close!
Just need to review what's there to see if anything is missing before we
ship.
Once everything is [image: :+1:] all around, to ship, we need to:

Turn on robots.txt
Remove the "First Post"
Set the (only) post into published: true

—
Reply to this email directly or view it on GitHub
https://github.com/Widen/widen.github.io/issues/5#issuecomment-135624766
.


Sticky behavior breaks in editor with parent overflow: auto

Problem Statement
When the editor is placed inside a parent container with overflow: auto, the condition at this line (refPageOffset <= stickyOffset) fails to trigger, causing the sticky header functionality to stop working as expected.
Possible Solutions

Utilizing Intersection Observer API:
We can explore using the Intersection Observer API to detect when elements enter or exit the viewport. This method would involve observing multiple elements, including those that might dynamically change. However, elements with position: sticky may not trigger the observer effectively due to their inherent visibility within the viewport.

Direct Position Comparison:
A simpler approach might involve directly comparing the initial top position of the ref component with the window scroll position or the scroll position of the nearest parent which has overflow: auto or window.

Key Considerations

Handling Dynamic DOM Changes: It's crucial to account for elements that might be added to the DOM at runtime, as these could disrupt the layout and the sticky behavior.
Flexible Offset Management: Introducing a CSS variable for the sticky offset allows for more fine-tuned control across different layouts and components, enhancing maintainability and adaptability in varied environments.

We should also check the behavior in the Popup


terminal progress on multiple lines on small terminal width

🐞 Bug report
Command (mark with an x)

[ ] new
[x] build
[x] serve
[x] test
[x] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

 Yes, the previous version in which this bug was not present was: ....
Yes. Worked with Angular 8.1.0
Description
 A clear and concise description of the problem...
regression of https://github.com/angular/angular-cli/issues/14623
🔬 Minimal Reproduction

🔥 Exception or Error

🌍 Your Environment

Angular CLI: 9.0.5
Node: 10.16.0
OS: win32 x64

Angular: 9.0.5
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: No

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.900.5
@angular-devkit/build-angular     0.900.5
@angular-devkit/build-optimizer   0.900.5
@angular-devkit/build-webpack     0.900.5
@angular-devkit/core              9.0.5
@angular-devkit/schematics        9.0.5
@angular/cdk                      7.3.7
@ngtools/webpack                  9.0.5
@schematics/angular               9.0.5
@schematics/update                0.900.5
rxjs                              6.5.4
typescript                        3.7.5
webpack                           4.41.2

Anything else relevant?

I'm sorry, but this issue is not caused by Angular CLI as we use Webpack's ProgressPlugin. Please contact the author(s) of the Webpack project or file an issue on their issue tracker. This might be related related to https://github.com/webpack/webpack/issues/9221
Thanks.