"Failed creating CLI working directory" when adding the path to the environment

After installation of boxcli I try to add the json configuration file as referred in the installation steps using the cmd:
box configure:environments:add [PATH_TO_CONFIG_FILE]
I receive the following error message:
"Failed creating CLI working directory"
Using the command: Box configure:environment:get I receive the same error message.

[x] I have checked that the SDK documentation doesn't solve my issue.
[x] I have checked that the API documentation doesn't solve my issue.
[x] I have searched the Box Developer Forums and my issue isn't already reported (or if it has been reported, I have attached a link to it, for reference).
[x] I have searched Issues in this repo and my issue isn't already reported.

Description of the Issue

Steps to Reproduce

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

Expected Behavior

Error Message, Including Stack Trace

Screenshots

Versions Used
Box CLI:
Operating System:

@Giorgosi Could you run the same command but with DEBUG=* before it like, DEBUG=* box configure:environments:add [PATH_TO_CONFIG_FILE] and copy and paste the output in this issue. Also, what system are you using. Is it Mac or Windows?

I'm using Windows. After running the command with DEBUG=* I obtain the followig message:
'DEBUG' is not recognized as an internal or external command,
operable program or batch file.

I know the issue is closed, but I had the same issue and just for future reference in case someone else find this through google.
This happens if you have any non-existing directory in your box cli configuration under ~/.box. I moved the box files directory location and the previous one was still set in the config. Changing the settings.json to use the new directory has fixed the issue.


[CVE-2021-38561] CWE-125: Out-of-bounds Read

Overview
The Golang package text has a vulnerability in the v0.3.6 version. Will need to update to v0.3.7.
CVE-2021-38561 - Out of bonds Read
CVSS
Base: 4.3 Medium CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Description
Updated text to v0.3.7 should fix this.

Not sure how well the oss sonatype stuff works but seems to be ok.

This should be fixed now.


Icons do not scale when the desktop scale factor is changed

Icons are always rendered at their 100% side, so when the Windows desktop scaling factor is set to a different value, the icons do not scale accordingly.
e.g. Set the Desktop to 150%, and the icon appear noticeably smaller on every dialog.

To handle this, we'll need to use these WINAPI functions:
MonitorFromWindow on the current dialog,
then GetScaleFactorForMonitor to get the scale to use for drawing.
see GetScaleFactorForMonitor
We'll also need to handle a couple of events:
WM_WINDOWPOSCHANGED on the base window,
and RegisterScaleChangeEvent on the base app.
see RegisterScaleChangeEvent

Investigating this uncovered that the x64 build has the High DPI-aware setting turned on in the application manifest. The app doesn't handle scaling, but since this system prevents the system from doing it, the result is that dynamically drawn graphics aren't scaled (maps, sprites, spells, weapons, etc.).
The x86 build doesn't use it and isn't affected.
An easier fix than trying what's in my previous comment is to disable the DPI-aware settings.
That should fix the icons, maps, sprites, etc..

Let's patch this for <IP_ADDRESS>


URL BlackList

Add cmd to add URL blacklist !
!BlackSound
And the sound can't be added to queue

This sound be very useful if it was implemented.

It would be a waste of time. And why?
People will just re-upload it or grab the song/sound from a other source.
There are always multiple versions/uploads of (troll) songs

I think it would be an okay investment.  It's not hard to write an extra check to check the song name keyword or the url of the song.  If some people keep abusing the system, then they should be banned (from using the bot).

I agree with SimonOrj, If a song was banned by URL and key title it would be a sufficient block. It would be very useful!

        if "pornhub" in song_url:             reply_text = "Videos from PornHub CANNOT be played!"             raise exceptions.CommandError(reply_text)

If this were to be an upcoming feature it would be so far down the totem pole of priorities that it probably wouldn't be touched for a while unless someone did a PR for it and bork liked it. Until such time tell your users to not request those things you don't want and if they do then blacklist that user from being able to use the bot.

#140 #249 #520 #672


Integrate devise generators into single generator

Fixes #23 .

Let's change "This model(Driver) is already registered with devise" to "You already have a model called Driver! Halting generator."
The registrations#new form is using simple_form still; I don't know where that is coming from, but it should be like this
It doesn't look like the additional parameters were whitelisted.

I had to manually turn on scoped views in devise.rb; this should be done automatically.
rails g draft:layout is adding a link to /drivers to the navbar, probably because it sees the POST /drivers route. It should only add links to the navbar for GETs.

If there is more than one Devise model, draft:layout should prefix the "Sign In" and "Sign Up" links with the model name; e.g. "Driver Sign In", "Driver Sign Up", "Passenger Sign In", "Passenger Sign Up". If there's only one Devise model then there should be no prefix, just "Sign In"/"Sign Up"

rails g draft:layout is still creating links in the navbar when it shouldn't be. For example, if I just generate a draft:model actor (not a draft:resource), there is a link to /actors in the navbar and there shouldn't be. Is this due to active admin routes that are being detected?

After generating draft:devise driver, the link in the shared links is missing the _driver_ from the route helper:

@raghubetina Fixed the other issue.

rails g draft:layout is still creating links in the navbar when it shouldn't be. For example, if I just generate a draft:model actor (not a draft:resource), there is a link to /actors in the navbar and there shouldn't be. Is this due to active admin routes that are being detected?

Currently to generate the navbar link we are getting all the ApplicationRecord.descendants then iterating through it and generating the navbar.
How can we find the resource(controller, model) are generated and generate the navbar accordingly ?

@murugan-r In starter_generators I did it by examining routes:
https://github.com/raghubetina/starter_generators/blob/master/lib/generators/starter/style/style_generator.rb#L34
I thought we were doing it the same way here; when did we switch?

@raghubetina Have updated all the templates and fixed the navbar bug. Please take a look.

@murugan-r  Can you make these changes?
https://github.com/firstdraft/better_scaffold_templates/commit/2ad1019115141edac75a864115ca06b52a974eaa

@murugan-r I am still getting an error in the route helper method name:

@raghubetina

@murugan-r Can you make these changes?
firstdraft/better_scaffold_templates@2ad1019

The templates are already updated in this PR.

@murugan-r I am still getting an error in the route helper method name:

Is this error still reproducable ?


Empty elci zip files

The zip files that are currently uploaded for elci appear to be empty. Is this intentional?

https://github.com/FLCAC-admin/uslci-content/blob/refs/heads/dev/downloads/elci_6_2024 for uslci_q2_2024_final_library format.zip
https://github.com/FLCAC-admin/uslci-content/blob/refs/heads/dev/downloads/elci_6_2024 for uslci_database format.zip

Thanks for pointing this problem out. The files have been reuploaded and are located here:
https://github.com/FLCAC-admin/uslci-content/blob/dev/downloads/elci_6_2024 for uslci_2024_final_database_format.zip
https://github.com/FLCAC-admin/uslci-content/blob/dev/downloads/elci_6_2024 for uslci_2024_final_library_format.zip

Amazing, thank you


Correctly determine Microchip pid:vid 04d8:000a device class

According to the Linux kernel tree [1], Microchip pid:vid 04d8:000a
is generally a CDC ACM device, implemented by a demo firmware
application.
However, some vendors have re-used this vid:pid for other types of
firmware, emulating FTDI chips. The Linux kernel attempts to detect
such cases by matching on interface class/subclass/proto. If these
are ff/ff/00 it uses FTDI, otherwise CDC.
Mimic the Linux kernel's logic in determining whether the Microchip
device is CDC or FTDI.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f08dea734844aa42ec57c229b0b73b3d7d21f810

Thank you @TheSven73
I will check it out as soon as possible


Support for RGGB pixel format from an astrophotography camera (ASI, using a Sony color chip)

Next challenge ... My FITS images are in the RGGB pixel format from an astrophotography camera (ASI, using a Sony color chip).

I like to convert the FITS with either CoreImage or with CVPixelBufferCreate... to a raw image in order to apply all the nice RawFilters from iOS/Swift to them.

I'm completely stuck. I can create a pixel buffer with the kCVPixelFormaType_14Bayer_RGGB, but the quickview in XCode only shows me a grayscale image. I am not able to convert it to a CIImage or CGImage showing colors, it is either nil or remains a grayscale image that is not de-bayered / demosaiced.

Looking at your RGB conversion of the FITS (FITSBytesTool), I noticed the RGB are consecutively ordered (3x layersize). This is not the case for me, where I have a Bayer matrix. Re-writing this function to separate the pixel colors, does result in a color image, but the colors are all wrong...

Any hint to solve either problem would be highly appreciated.
Originally posted by @Planet30 in https://github.com/brampf/fitscore/discussions/8#discussioncomment-346832

Just created a new issue for this inquiry as the other is already marked as answered and I almost didn't see it there ;)
In fact, I did not yet consider RGGB files so far. As I said, FITSKit is pretty basic at the moment. Maybe this is the time to work on this for a change.
Could you share a sample image and / or the spec of the sensor? That way, I'll give it a look and guide or even help you with an implementation.

Thank you for answering so quickly and creating the "issue".
Following your "warning", I actually do not use the FITSkit anymore directly, I rather copy/pasted (more or less 1:1) what from your functions into my own functions.
I see two options:

Creating a CIImage in raw format and let iOS/Swift do the developing.  I could not get this to work....
Creating an RGB image directly from the RGGB pixels.

Here is the link to the FITS image:
https://www.icloud.com/iclouddrive/0K4SxrqGaPtY6_HlQwPdqv-OA#M42
And here its header info:
--- PrimaryHDU : 23388736 ------------------------
Header:  0 - 2720 padded to 2880
Data:    2880 - 23391616 padded to 23394240
Optional(SIMPLE  =                    T / file does conform to FITS standard
BITPIX  =                   16 / number of bits per data pixel
NAXIS   =                    2 / number of data axes
NAXIS1  =                 4144 / length of data axis 1
NAXIS2  =                 2822 / length of data axis 2
EXTEND  =                    T / FITS dataset may contain extensions
COMMENT                     FITS (Flexible Image Transport System) format is defined in 'Astronomy
COMMENT                     and Astrophysics', volume 376, page 359; bibcode: 2001A&A...376..359H
BZERO   =                32768 / physical = BZERO + BSCALEarray_value
BSCALE  =                    1 / physical = BZERO + BSCALEarray_value
XBINNING=                    1 / Binning factor in width
YBINNING=                    1 / Binning factor in height
EXPOINUS=             10000000 / Exposure time in us
GAIN    =                  120 / The ratio of output / input
OFFSET  =                   30 / Brightness(offset) of image
WB_RED  =                   50 / White Balance(Red)
WB_BLUE =                   50 / White Balance(Blue)
CBLACK  =                    0 / Initial display black level in ADUs
CWHITE  =                65535 / Initial display white level in ADUs
PEDESTAL=                    0 / Correction to add for zero-based ADU
SWCREATE= 'ASIImg  '           / Name of software that created the image
SWOWNER = 'ZWO     '           / Licensed owner of software
DATE-OBS= -01-15T22:11:38.310' / UTC start date of observation
BAYERPAT= 'RGGB    '           / Debayer pattern,such as RGGB,BGGR,GRBG,GBRG
COLORTYP= 'RAW16   '           / Color space, such as RAW8,RAW16,RGB24
INPUTFMT= 'FITS    '           / Format of file from which image was read
CSTRETCH= 'Medium  '           / Initial display stretch mode
INSTRUME= 'ZWO ASI294MC Pro'   / Camera model
XPIXSZ  =                 4.63 / Pixel Width in um
YPIXSZ  =                 4.63 / Pixel Height in um
EXPTIME =                 10.0 / Total Exposure Time (s)
EXPOSURE=                 10.0 / Exposure time in seconds
CCD-TEMP=                  0.0 / CMOS sensor temperature in C
END
)

You only got 2 Axis there. With RGB you would usually get NAXIS = 3 and with RGGB I was expecting something like NAXIS = 4. Decoding this HDU as an 4144x2822 pixel with 16bit per "pixel" (which is exactly 414428222 = 23391616 bytes) does only contain one single layer and thus can only be interpreted as one single grayscale image.
This could mean either one of two things:

A look at the sensor spec (https://www.sony-semicon.co.jp/products/common/pdf/IMX294CJK_Flyer.pdf) gives me the idea that you might need to demoniac this into basically a 4x4 bit image before re-assembling as RGGB and rendering it.
There are three more IMAGE extensions in that FITS file, treating each layer of the final color image as a separate grayscale image. In that case you would need to assemble those into one color image. But the first case seems more likely ;)

This is exactly the question: How to do the de-Bayer or de-mosaic of the RGGB pixel layout. This is very common for all DSLR cameras and there are libraries in OpenCV, Python and even with in iOS/SWIFT to "develop" the raw image into an RGB image. I just need to get the FITS image data into an array or pixel buffer format, which will make iOS interpret it as one of the 670 known camera raw pixel formats.

since this is almost a month, I wanted to let you know that I'm still working on this. It took me a while until the information that this sensor is not just RGGB bug quad binned RGGB. I read this information in the file but did not understand what this means exactly until today.
I'm currently studying various algorithms on who to demoniac this the binary data and compute the RGB picture from it. It may take another while but I'll figure this one out ;)

Hello, Thanks for keeping this up :-)
There are open libraries in python and opencv for demosaicing.
BUT ... I have been trying to let iOS do this faster and presumably better than the open-source libraries. The internal camera sensors of the iDevices do also happen to have a CFA (color filter array) with an RGGB layout. There is a raw mode in the core video and core image frameworks to handle these raw data automatically. Either with CV-create-pixelbuffer or via CIFilter it should be possible. CIFilter would have the immense advantage of being able to use all the CIRawFilter methods in iOS/SWIFT on the actual raw data, which would provide much higher quality images than the "manual" demosaicing. I have not be able yet, however, to figure it out myself... I keep trying on my side.

From what I have seen so far "core image" and "automatically" are to words which only hardly go into the same sentence. As I said, your sensor in fact is not RGGB but "quad binned" RGGB which I have not seen in any of apples documentation. But I don't haven't done a lot with core image so far as I was primarily focused on accelerate to process raw data.
Unfortunately when I research for using core image to demosaic images, I end up on https://stackoverflow.com/questions/66417989/cvpixelbuffer-to-cgimage-conversion-only-gives-black-white-image whos' author just seems a little familiar ;)

I finally pushed the advanced branch in 2eabf51 with some experimental color coding of RGGB CFA as well as my first attempt of demosaicing with bilinear interpolation of the missing color values. All in all it's not very performant but definitely going in the right direction.
This branch requires the 'fitskit-advanced' branch b40d3e0  of fitscore to compile.

After some more digging, I found dcraw, which is exactly made for debayering/demosaicing of some 600 RAW color image formats from all major camera brands (NIKON, CANON, ...).
Unfortunately, FITS/RGGB is not one of them. dcraw is kind of not maintained anymore. It is written in C and can be easily compiled on UNIX/LINUX/macOS. Since I started off with SWIFT, and never did any programming in C, I would not take up on the task of adding FITS to dcraw. I am sure there are other much more capable people out there than me to do this task quickly and professionally.
Below two links for dcraw and one website using it in combination with imageMagick for debayering RGGB raw files:
dcraw for macOS:
https://www.empiricalimaging.com/knowledge-base/compile-dcraw-for-macos/
Demosaicing with imageMagick and dcraw:
http://im.snibgo.com/demosaic.htm
NOTE:
This shows again that there is no straight forward way to do this on iOS/LINUX and SWIFT. There are more and more "inexpensive" astrophotography color cameras coming on the market that only export raw format as FITS/RGGB.

I spend some time in researching demosaicing algorithms and am going to implement Variable Number of Gradients (VNG) and maybe even Aliasing Minimization and Zipper Elimination (AMaZE).
Generally speaking, these do not look overly complicated in theory but come at a high cost in terms of computation required per pixel. I therefore currently play around on how to improve performance on the bilinear interpolation wich already works pretty well by itself but is currently terrible slow. And this is - in theory - the least expensive algorithm for demosaicing. But I'm sure I can improve that.
BTW. writing a SPM wrapper around a C/ C++ library in order to use it with a swift application isn't an overly complicated thing to do. Handling different licenses on the other hand - sometimes - is.
My personal goal here is to gain experience with image processing in general and writing a pure, native Swift library. Otherwise, I would have simply written a SPM wrapper package for cfitsio instead of fitscore in the first place :D

I fully agree! I just did not want to put an extra burden on you here by being too demanding!
Same here, I want to learn how to handle all of this in SWIFT and finally have something for my iPad out in the field.
BTW, today I found the program ASTAP, which actually does exactly what we had discussed above... using cfitsio, dcraw/libraw. It also offers different de-bayering methods. While it seems rather powerful, it is very slow. I think this could be improved when utilising different Apple/SWIFT frameworks such as Accelerate (vForce, vDSP, vImage) and Core Image/Graphics and maybe even Metal. I found vDSP very fast on an iPad Pro.

Hi folks, I'm really interested in this too, I'd like to render the FITS from my ZWO camera to preview them, and I have managed to load the FITS file ok, but its really dark and not showing much of the detail. Do you have any examples on how to adjust properties to get it to display better? I am trying to use a sample file from my ZWO ASI 294MC Pro which is RGGB one shot color astronomy camera.
Thanks, any further guidance in the right direction or code samples would be great :)
Thanks

Hi, welcome to the club. I also have the ASI294MC. We are working on this. This FITS conversation will not do the automatic histogram correction. This you have to program yourself. This is what I have originally intended by using Core Image and CIFilter for raw image conversion and processing.  Not straight forward. ... but we will get there eventually.

Thanks, would love to help if I can, if you have any further progress you can point me at that I can look at, I don't claim to know the solution but would love to help solve it if I can be of any use.

I just pushed 113c12e to the advanced-branch with a working ProofOfConcept for an performance-optimised version of the bilinear algorithm. Check it out and simply call
`       let file = try FitsFile.read(contentsOf: url)!
    let converter = Demosaic_Bilinear_GCD<Int16>(parameter: .RGGB)

    let image = try file.prime.render(converter)`

Thank you :-) !!! Will try it out this week!

Earlier today I generalised the approach and provided a protocol to implement future decoding algorithms besides the not-as-sophisticated bilinear interpolation. To demosaic your picture, it's now simply
let image : CGImage? = try file.prime.decode(Demosaic_Bilinear_GCD.self, .RGGB)
This code renders the image in under a second on my MacBook 13" 2020.

Hi thanks that works for me, and my image seems to load well (although can't quite tell if loading in color), just need to figure out the Automatic histogram so I can see a preview like ASIFitsViewer :)
Is there settings you'd recommend to tweak for this?
I've attached link to my fits file and screenshots for reference.
https://we.tl/t-AUUmuhhFWQ
Thanks again for this tool, will be great to be able to view my fits files on my iPad :)

Hi. Yes, it works :-) And pretty fast on my iPad Pro. Great work.
Colours are off... naturally, because the white balancing is always done in the post processing of the hard- and software of the device incorporating the imaging chip.
I started looking into different color filters of core image. It works in real-time easily, but adjusting the image to the right colours, brightness, etc. can be tricky.
https://developer.apple.com/library/archive/documentation/GraphicsImaging/Reference/CoreImageFilterReference/index.html#//apple_ref/doc/filter/ci/CIGammaAdjust
For the histogram stretching, I am planning to look into Metal Performance Shaders:
https://developer.apple.com/documentation/metalperformanceshaders/image_filters
It offers different histogram equalisers (with "z" ;-).

when I started working on fitscore / fitskit, I also started working on an iPad app and made some prototypes for color correction using curves using apples accelerate framework. This is in fact why I'm decoding the files always as ARGBFFFF because accelerate expects an alpha layer when working with floating point pixels - which I chose as a universal format since floating point operations have a lot more performance on hardware than integer operations.
Long story short, give me a few weeks to "reactivate" that project and update from pre-big-sur to SwiftUI 2.0 and I'll send you and TestFlight invitation. I guess it would make a lot of sense to join forces in that direction instead of us three developing three different iPad apps.

Before moving to iPad project, I felt the urge to clean up and make the new code of the advanced branch available on main. Therefore, I created a pull request. maybe you could do me the honor of a review?
brampf/fitskit/pull/3


MeasureControl is jerking in version 0.1.28

Every time i click to add a new point using the MeasureControl, the map shifts rightwards and downwards.
Here's a GIF illustrating the issue:

This does not happen in versions <= 0.1.25.

This is a known issue due to version incompatibilities. It will be fixed as part of the 1.0.0 release.

Should be solved in the 1.0.1 release. Here is a demo: https://www.dash-leaflet.com/components/controls/measure_control


Enable-WriteCore-feature-for-fleet

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.ContainerServiceFleet


.viminfo and .vim_mru_files in home directory

As far as we have separate directory .vim_runtime why those files stay just in home directory?
I try having my home directory clean, is there a way to move the files to the better place?

Please Google it. .viminfo is Vim centric, and .vim_mru_files is from a plugin 👍


added --attention flag to get notification of any accounts that need …

I added an --attention flag to to get any notification of accounts that need attention.

I'm not really happy with the way I implemented this (having  global status_message in get_web_driver().  I wanted to return attention from get_web_driver() but the tests were giving me a hassle about the number of values returned.
Why is get_web_driver() not a member method?  This would alleviate my issue as well.
Hope this helps someone as much as it does me.

Thanks! So this is not something you think should be reviewed and merged at this time? Just informational?

Well.... actually I was trying to merge it but I closed it instead.  I am
not really familiar with contributing to other's repos :-(
I was in process of duplicating it so I could submit it again.
Any suggestions?
thanks for your hard work on this project,
Jordan
On Mon, Feb 24, 2020 at 1:09 PM Mike Rooney<EMAIL_ADDRESS>wrote:

Thanks! So this is not something you think should be reviewed and merged
at this time? Just informational?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/mrooney/mintapi/pull/204?email_source=notifications&email_token=ADKSXUBXCT65E2N4EHIEIVTREQZP3A5CNFSM4K2BRG5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMZRD2Q#issuecomment-590549482,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKSXUHVFYHDZFLU2WIYVN3REQZP3ANCNFSM4K2BRG5A
.

I deleted it and created a new one.
I'll get the hang of github eventually!
Jordan
On Mon, Feb 24, 2020 at 1:09 PM Mike Rooney<EMAIL_ADDRESS>wrote:

Thanks! So this is not something you think should be reviewed and merged
at this time? Just informational?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/mrooney/mintapi/pull/204?email_source=notifications&email_token=ADKSXUBXCT65E2N4EHIEIVTREQZP3A5CNFSM4K2BRG5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMZRD2Q#issuecomment-590549482,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKSXUHVFYHDZFLU2WIYVN3REQZP3ANCNFSM4K2BRG5A
.


A11y_PowerShellEditorServices_Editor_HighContrast: All the color themes of VSCode is below the expected ratio i.e 7:1

Environment Details:
VSCode Version : 1.25.0
OS Version : Win10
Additional Details:
HighContrast,MAS1.4.3
Repro Steps:
1.Launch Visual Studio code desktop application.
2.Navigate to "Plain Text" of "Status Bar"->Enter "PowerShell" in "Select Language Mode" combo box->Write the PowerShell Code in plain editor->Save the editor.
3.Navigate to Setting button of Activity Bar and select "Color Theme" option.
4.Color Themes shows number of different colors list apply all that theme on the editor.
5.Open color contrast analyser and check the color contrast ratio.
6.It shows color contrast ratio less than expected color contrast ratio.
Actual:
After applying color themes to editor it shows color contrast ratio as 3.5:1
eg. Select "QuietLight" theme from color theme list and check for the color contrast ratio.
Expected:
The expected colorcontrast ratio should be greater than or equals to 7:1 ratio.
Recommendations:
Refer below link which is repository of bug fixes code
User Impact:
User will not able to see the content of the editor.
MAS Reference:
MAS1.4.3- https://microsoft.sharepoint.com/%3Aw%3A/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc=%7Ba73546c7-765f-489c-b18f-afb659fe99e6%7D
Attachment For Reference:

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

@AccessibilityTestingTeam-TCS I believe you are using the wrong color contrast ratio. From the MAS 1.4.3 link you provided:

Visible text must have a minimum luminosity contrast ratio of 4.5:1 against the background, except:


DrawerLayout should appear above the ActionBar.

Material Design guidelines say that the DrawerLayout should appear above the ActionBar. However, the current AppCompatMasterDetailRenderer does not support this layout.

any progress on this?

Not currently, but if someone figures it out...I take pull requests!

This currently doesn't seem possible with how Xamarin has created their renderer for MasterDetailPage. The only solution seems to be creating a brand new MasterDetailRenderer, but that is beyond the current project goals.


append() changes the element appended previously.

What version of Go are you using (go version)?

$ go version
go version go1.12.7 windows/amd64

Does this issue reproduce with the latest release?
NA
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GOARCH=amd64
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows

What did you do?

Sorry that I can't access play.golang.org.
a_test.go.txt
I want to append new elements, however, the later appended element can modify the element appended previously.
What did you expect to see?
for i := 0; i < len(a1); i++ {
for j := 0; j < len(a2); j++ {
tmp := a2[j]
tmp = append(tmp, a1[i])
result = append(result, tmp)
}
}
when i is 1, appending tmp should not change the element appended when i is 0
What did you see instead?
when i is 1, appending tmp changes the element appended when i is 0

This is working as intended, and it's a consequence of the fact that slices are not arrays: they are views. See https://tour.golang.org/moretypes/7 and the following page:

An array has a fixed size. A slice, on the other hand, is a dynamically-sized, flexible view into the elements of an array.

A slice does not store any data, it just describes a section of an underlying array.
Changing the elements of a slice modifies the corresponding elements of its underlying array.
Other slices that share the same underlying array will see those changes.

If two slices share the same underlying array (even if the "views" they represents start at different offsets), changing the array using one slice will affect the other.
Closing here, since this is WAI.

I don't know the meaning of WAI. However, if you want to close the ticket, just close it. Nonsense doesn't make any sense.
Anyway, the scenario in the problem description is similar to the code below, but the behavior is different.  Are you able to explain?
func TestChan(t *testing.T) {
a := [][]int{}
a1 := []int{1}
a = append(a, a1)
a2 := a1
a2 = append(a2, 2)
a = append(a, a2)

a3 := a1
a3 = append(a3, 3)
a = append(a, a3)
fmt.Println(a) // [[1] [1 2] [1 3]]

}

WAI = "working as intended"
You should probably read https://blog.golang.org/go-slices-usage-and-internals if you haven't already.
Your last example makes sense if a1 has a capacity of 1. Then each append will allocate a new backing store.
If you allocated a1 with a1 := make([]int, 1, 2); a1[0] = 1 (length=1, capacity=2) then you would see a different behavior.

@GingerMoon
The gist is that exact description of semantics of append in golang is hardly possible to describe in simple intuitive terms.  Instead, you are given a number of prescribed scenarios when append is - kind of - guaranteed to work according to some intuition (whatever that means.)
If you want to formalize semantics of append in golang, you need to consider linearity of underlying array stores for slices. This will give you sufficient condition(s) for append to behave the way you expect (which probably includes an intuition of "always copy, never destroy an original".)

To be clear, the behavior of append is specified exactly at https://golang.org/ref/spec#Appending_and_copying_slices :

If the capacity of s is not large enough to fit the additional values, append allocates a new, sufficiently large underlying array that fits both the existing slice elements and the additional values. Otherwise, append re-uses the underlying array.

I wonder how do you expect anyone to apply intuition of "If capacity ... is not large enough ..." by looking at the code.

Earlier issue on the subject: https://github.com/golang/go/issues/32296 .  You can keep dismissing the problem, however this will not resolve it.

I'm sorry you are having trouble.  The language has worked this way from the start.  It is not something we can change now.
In general, we expect people to read https://blog.golang.org/slices.  There are simple idioms that permit correct use of append.

I'm sorry you are having trouble.

In case this was addressed to myself: apparently, it is not me who is having trouble.  As it is not me who refuses to admit that implementation of append in golang is not agreeable with common intuition on how append should work (as this and earlier issues indicate), and who is not capable to explain how to reason about behavior of the code which uses append with such semantics.

@av86743 We've pointed you to various resources about how append works in Go.  Millions of programmers have been using it successfully for more than five years.  I encourage you to consider the possibility that although your initial assumptions about append did not match the language, it is nevertheless possible to use append correctly in a Go program.

@ianlancetaylor

We've pointed you to various resources about how append works in Go ...

But did you notice that I did not ask you to? As I do not need any of these either.  I know how your software works, as well as how it does not work.  It is trivially open source, after all.

... although your initial assumptions about append did not match the language ...

What "initial assumptions about append"?  I have no habit of making assumptions, when it comes to software like yours.  Your append is whatever it is, however logical or illogical you made it. I know how to use it because I know how it is - likely - implemented.  However, those "millions" who don't - well, those definitely will have problems with append.  Except that you wouldn't hear from most of those though - as they will "assume" that there is golang "bug" which they have to work around.

... it is nevertheless possible to use append correctly ...

Correctly by an accident.  After several trial-and-errors.  For the most of "millions".  This is how most of Google anything works, right?

We must agree to disagree.
You may find it more useful to continue this discussion on a forum; see https://golang.org/wiki/Questions.

@ALTree
Really sorry that I misunderstood your reply "Closing here, since this is WAI.".
Actually in my dictionary, WAI is "what an idiot"...
Apologies for my poor English...


AbstractKeystoreError.invalidAccountError

I am trying to create EthereumKeystoreV3 with a private key, it succeeds, but fails on transfer and gives error: generalError(web3swift.AbstractKeystoreError.invalidAccountError)
let web3 = Web3.new(URL(string: "https://ropsten.infura.io/bqc72gP3oddLa6bdSDGH")!)!
    let sendToAddress = EthereumAddress("0x6394b37Cf80A7358b38068f0CA4760ad49983a1B")
    let tempKeystore = try! EthereumKeystoreV3(privateKey: Data(hex: self.senderWallet!.dumpPrivateKey()))
    let keystoreManager = KeystoreManager([tempKeystore!])
    print(keystoreManager.addresses)
    web3.addKeystoreManager(keystoreManager)
    let contract = web3.contract(Web3.Utils.coldWalletABI, at: sendToAddress, abiVersion: 2)
    var options = Web3Options.defaultOptions()
    options.to = sendToAddress
    options.value = Web3.Utils.parseToBigUInt("0.03", units: .eth)
    options.from = keystoreManager.addresses?.last
    print(options)
    let intermediate = contract?.method("fallback", options: options)
    guard let result = intermediate?.send(password: "") else {return }
    print(result)
    switch result {
    case .success(_):
        return
    case .failure(let error):
        guard case .nodeError(let descr) = error else {return }
        guard descr == "insufficient funds for gas * price + value" else {return }
    }

When you create a wallet there is a default password “BANKEXFOUNDATION”, but later you supply just a an empty string for it.

From: Mantas<EMAIL_ADDRESS>Sent: Wednesday, May 9, 2018 2:31:36 PM
To: BANKEX/web3swift
Cc: Subscribed
Subject: [BANKEX/web3swift] AbstractKeystoreError.invalidAccountError (#97)
I am trying to create EthereumKeystoreV3 with a private key, it succeeds, but fails on transfer and gives error: generalError(web3swift.AbstractKeystoreError.invalidAccountError)
let web3 = Web3.new(URL(string: "https://ropsten.infura.io/bqc72gP3oddLa6bdSDGH")!)!
let sendToAddress = EthereumAddress("0x6394b37Cf80A7358b38068f0CA4760ad49983a1B")
let tempKeystore = try! EthereumKeystoreV3(privateKey: Data(hex: self.senderWallet!.dumpPrivateKey()))
let keystoreManager = KeystoreManager([tempKeystore!])
print(keystoreManager.addresses)
web3.addKeystoreManager(keystoreManager)
let contract = web3.contract(Web3.Utils.coldWalletABI, at: sendToAddress, abiVersion: 2)
var options = Web3Options.defaultOptions()
options.to = sendToAddress
options.value = Web3.Utils.parseToBigUInt("0.03", units: .eth)
options.from = keystoreManager.addresses?.last
print(options)
let intermediate = contract?.method("fallback", options: options)
guard let result = intermediate?.send(password: "") else {return }
print(result)
switch result {
case .success(_):
    return
case .failure(let error):
    guard case .nodeError(let descr) = error else {return }
    guard descr == "insufficient funds for gas * price + value" else {return }
}

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/BANKEX/web3swift/issues/97, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGKv9--0ZD8klWC0nhYzUyPwiD8-vb2Cks5twtOYgaJpZM4T4KK3.

That's right. Succeeded now. But maybe it would be worth adding password parameter when creating EthereumKeystoreV3 from privateKey?

You can add it if you specify a parameter (..., password: “”), there is just a non-empty default one.

From: Mantas<EMAIL_ADDRESS>Sent: Wednesday, May 9, 2018 2:38:41 PM
To: BANKEX/web3swift
Cc: Alexander; Comment
Subject: Re: [BANKEX/web3swift] AbstractKeystoreError.invalidAccountError (#97)
That's right. Succeeded now. But maybe it would be worth adding password parameter when creating EthereumKeystoreV3 from privateKey?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/BANKEX/web3swift/issues/97#issuecomment-387710945, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGKv9-0EWGZ3Z4n6UuRatUDmB_td3_nZks5twtVBgaJpZM4T4KK3.


Update different-id.md

changed metric name and link

🚀 Deployed on https://661458f26901c00f49fce113--cozy-fox-0defec.netlify.app


Version 3.0.7

Landed in https://github.com/metarhia/impress/commit/71bbdb8a4079f2eb81e3353cd50830ce91238b8c


Upgrading from 5.2 to 5.3, parse error in Eloquent/Model.php on line 3164

Hi,
I just upgraded form Eloquent 5.2.x to 5.3.x and I'm getting the following error:
Parse error: parse error in vendor/illuminate/database/Eloquent/Model.php on line 3164

Line 3164 is:
return ! $this->isDirty(...func_get_args());

If I remove the three dots, the following error appears:
parse error, expecting `'&'' or `"variable (T_VARIABLE)"' in vendor/illuminate/database/Query/Builder.php on line 1268

Which maps to:
public function groupBy(...$groups)

By removing these three dots, the problem is solved.
I'm running PHP 5.6.25 (cli) (built: Aug 31 2016 10:13:30), am I missing something?

You web server must be running on PHP 5.5, not 5.6.

Don't remove those dots. You'll break that function.

Ok, so PHP 5.6 works fine with Eloquent 5.2 but not with 5.3. And PHP 5.5 works fine with Eloquent 5.3. Removing the dots unbreaks the library. A bit of an explanation might be in place here :)


Benchmark regression tests

Modified benchmark run scripts to be more general, added script to run all benchmarks. We still need a script to pull & evaluate trained benchmarks.

Pull Request Test Coverage Report for Build 1408

0 of 0   changed or added relevant lines in 0 files are covered.
45 unchanged lines in 3 files lost coverage.
Overall coverage increased (+1.3%) to 82.035%

Files with Coverage Reduction
New Missed Lines
%

flow/envs/test.py
1
93.75%

examples/sumo/highway.py
2
92.31%

flow/scenarios/base_scenario.py
42
87.83%

Totals

Change from base Build 1382:
1.3%

Covered Lines:
5612

Relevant Lines:
6841

💛  - Coveralls

@kanaadp can we move this to the scripts folder and add some documentation to a README?

@kanaadp tests are failing here so we can't merge it

@kanaadp all comments seem addressed; can we merge?


chore(FX-4737, FX-4738): artwork list copy changes (phase 2)

The type of this PR is: Chore

This PR solves FX-4737, FX-4738
🔗 Useful links

Review app
Figma file

📹 Demo 1
Change Watch lot to Watching lot when artwork lot becomes watched

Before
After

📹 Demo 2
Display Artwork saved toast message instead of Watch lot saved for auction artworks

Before
After

🖼 Demo 3
Change section title from Saved Artworks to Saves

Before
After

Looks like a legit CI failure, but otherwise LGTM 👍🏽

yeah, we initially need to merge this PR to solve some problem here


Create auto-apply label policies KQL for pre-defined managed property

I've had a support case open on this topic for almost a month now with no resolution so I thought I'd try here.
I have mapped a crawled property (ows_PromotedState) to a RefinableString as outlined in the documentation (I've also tried RefinableInt00) and the KQL search works as expected in SharePoint (e.g. RefinableString110=2) - all published news posts are returned. However, when building the "Apply label to content matching this query" or while testing via Content Search the pre-defined managed property is not recognized and both the label policy and Content Search will error.
Is there a different KQL syntax that is supposed to be used that is not shown in the documentation? Are pre-defined managed properties available for use in the KQL search query for Auto-applied label policies (and Content Search) as shown here?
https://docs.microsoft.com/en-us/microsoft-365/compliance/auto-apply-retention-labels-scenario?view=o365-worldwide#create-auto-apply-label-policies

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

ID: 38185ae9-6017-736a-adf2-1a6f62d4ae09
Version Independent ID: 1f57cbcc-bdea-e712-2f35-d9282c133433
Content: Use retention labels to manage the lifecycle of documents stored in SharePoint - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/auto-apply-retention-labels-scenario.md
Service: o365-seccomp
GitHub Login: @cabailey
Microsoft Alias: cabailey

@Breaker119 Yes, per https://docs.microsoft.com/en-us/microsoft-365/compliance/apply-retention-labels-automatically?view=o365-worldwide#auto-apply-labels-to-content-with-keywords-or-searchable-properties: " .. you can use mappings at the tenant level with the predefined managed properties that are enabled as refiners by default (RefinableDate00-19, RefinableString00-99, RefinableInt00-49, RefinableDecimals00-09, and RefinableDouble00-09). The example you gave was "RefinableString110=2", and this is outside the supported range for auto-apply labels (RefinableString00-99). We can't provide technical support with GitHub Issues, but I wanted to make sure you were aware of these supported ranges.

Ah - yes...very astute observation on 110! However, I started my experiment out by using RefineableInt01 and then moved on to RefinableString when that didn't work. I've now tried again with RefinableInt10 and unfortunately get Potential error: "Unknown property name: RefinableInt10=" in red text
When pushing through, though, and ignoring the error, I do appear to get the correct results. More testing will confirm!
I appreciate your response and I will pass your comment on to the support engineer - thank you.


gvm install just hanging

I can download the go source tarball myself in about 30 seconds.  When I try to install with gvm, nothing seems to happen.
$ gvm install go1.2
Downloading Go source...

I can leave this for several minutes without any change. What's going on?

Maybe they should consider adding a progress bar. It's very confusing for the user...

Maybe they should consider adding a progress bar. It's very confusing for the user...
Same experience after 7 years.

Yup, pretty confusing! I thought there was something wrong until I found this thread. Hopefully it finishes soon :-D.

Meet the same problem in 2023, :)

This confused me again, and googling it brought me back here nearly a decade after googling it last time.

Very frustrated... But meet the same in 2024

+1

+1


db.get() unexpected behavior

When attempting to run a db.get("LibList"), it doesn't return a flata.database.Table object if the JSON DB's structure is as such, but it does return the expected object for both the tablex dicts. All of these entries were generated by Flata methods. Any pointers on why this is?
{
    "LibList": [
        {
            "TestValue1": "HelloTest",
            "id": 1
        }
    ],
    "table1": {},
    "table2": {}
}```

@BlackHoleFox  If you need someone to investigate the bug, please explain a bit more what you want to achieve and how to replicate the issue you encountered. Please don't assume other people know the context which you are working on.

I worded that badly, sorry. I wasn't asking for a bug investigation, I just wanted clarification on if table objects are only returned if its a dict in the JSON, not a list as there are no docs saying either or.

Hi @BlackHoleFox, This repo is inspired by LowDB and JsonServer, and it is supposed to used as back-end of my another python package FlatAPI, this repo was built for test and mock without configuration. It means you can use this repo to mock a database or any other data source in a couple seconds. The most challenge to imitate real database is to mock the schema and relationship of the data. In theory, you can store anything you want in the flata file, e.g. a plain list [1,2,3...], but you won't be able to utilize the built-in query api on a plain list, one of important advantages.
Last but not least, if you use pydoc  you can see the :type data: dict of storage. I am not sure if you have looked into them. The storage is ABC of this repo. It means rtype of element is supposed as dict. It has been explained in the doc. So the type dict is designed on purpose to mimic database. I hope I answer your question.
You can attach a label "question" next time for such inquiry. I am going to close the issue.


Added optional 'ext' parameter to the 'load' method

Force file type when file does not have the expected extension. This is now consistent with 'loadData' method. The method is still backward compatible with former signature.
Added test for this new parameter.

Closing while travis bugs are not fixed


Pixelated HLS stream

I have a server that streams HLS. If I stream from OBS to test it, it works fine, but when I stream from the needed source I get a stream that looks like this:

If I ffplay the stream directly via rtmp it looks like the video is h264.
Does anyone know what's wrong and how to fix it?

Sorry for my, apparently, very basic question.
I didn't execute ffmpeg to transcode the stream for HLS. The reason I didn't do this at first was because it worked when I published from OBS.
But yeah, it works now. However, I have noticed a large delay was added after using ffmpeg. My delay is right now around 25-27 seconds and was 7-10 seconds before.
What would be the fastest and best way to transcode the stream using ffmpeg?

I changed -preset etc and the delay is now good enough.


Added Firefox Adapter

I've made some changes in the interface so as to adapt to Jetpack. I've also included functionality in the Firefox Adapter.

@SummerWish I tried out what we discussed yesterday and it works(haven't tried sendResponse yet) , but I don't like the idea of mixing up the two(Jetpack & context messenger) messaging interfaces, which makes it confusing to write.
Instead, how about making the worker listen everytime I push it into the array of workers ? so when a worker is available,  I do this -

// Page-Mod
onAttach: function(worker) {
  worker.on("detach", popFunction());
  Privly.message.currentAdapter.pushWorker(worker);
};
// Push Worker
FirefoxAdapter.prototype.pushWorker = function(worker) {
  this.workers.push(worker);
  worker.port.on("privly", function(message) {
    FirefoxAdapter.prototype.listener(message);
  });
}
// Sending Message
Use all the workers to send the message.
// Receiving Message
Call all the user specified listeners.

@hitesh96db It seems great :-)

@SummerWish I've updated the PR. It seems to be working correctly :)

Congrats :-)


[FLOC-4412] Upgrade to Hypothesis 3

Fixes: https://clusterhq.atlassian.net/browse/FLOC-4412
Broken out from https://github.com/ClusterHQ/flocker/pull/2792

Good stuff, Thanks!
Potentially fix the one strategy... but it's not something I care too deeply about.
I might make a gist later to show why it's better to do the other way.


UNION with ATTACH command not working

I am calling ATTACH DATABASE '/emmc/foo.db' AS foo;
and ATTACH DATABASE '/emmc/bar.db' AS bar;
and then SELECT uid FROM main.Tokens UNION SELECT uid from foo.Tokens UNION SELECT uid from bar.Tokens;
but I only get rows from bar, those from main and from foo are gone.
my attach function looks like this:
static void db_attach(sqlite3 *db, char *event_id){
    char file_path[100];
    char sql_stmt[300];

    sprintf(file_path, "/emmc/%s.db", event_id);
    sprintf(sql_stmt, "ATTACH DATABASE '%s' AS %s;", file_path, event_id);
    ESP_LOGI(tag, "SQL: %s", sql_stmt);

    int rc = sqlite3_exec(db, sql_stmt, callback, &dbRecProc, &zErrMsg);
    if (rc != SQLITE_OK) {
        ESP_LOGE(tag, "SQL error: %s\n", zErrMsg);
        sqlite3_free(zErrMsg);
    } else {
        ESP_LOGI(tag, "Attach %s successful", file_path);
    }
}

I have also tried UNION ALL, as well as different way of doing the SELECT such as SELECT uid from (SELECT uid FROM main.Tokens ......). I always get just the rows from bar.
Am I missing any steps in the ATTACH process?
Any other ideas what could be going wrong?
thank you!

I have tested running individual queries on the ATTACHed databases, and those all work, so I believe the ATTACH works, but for some reason the UNION does not. Using DB Browser for SQLite, I tested the query on the same data, and it returns all the ROWS, so I am a bit confused. Any tips welcome, or if I should escalate this to a bug report, I'd be happy to provide any details I can, etc.

I have also run the application in DEBUG mode, and did not receive any DEBUG level logs that would indicate an error. The UNION seems to just silently fail.

Not sure what could be the issue.  Seems UNIONUsually most issues boil down to IO or memory.  Please check if page size of the database is 512, try with lesser records, check if enough file handles can be opened in EMMC.begin().
Also changing some of entries like SMALL_STACK to 0 in config_ext.h might help.

I have tested again with the changes you suggested but no change.
There are a lot of config settings without explanation, some that i am curious about are:
SQLITE_OMIT_COMPOUND_SELECT
SQLITE_OMIT_EXPLAIN
SQLITE_OMIT_LOAD_EXTENSION
Are you able to suggest any changes other than SMALL_STACK that may be the culprit?
thanks!

After a lot of testing it really seems as though it only actually searches the last database in the chain of UNIONs, regardless of the size, number of available file handles, etc. Is there possibly something broken about UNION between databases in this library?

i found
/*
** An SQL user-function registered to do the work of an ATTACH statement. The
** three arguments to the function come directly from an attach statement:
**
**     ATTACH DATABASE x AS y KEY z
**
**     SELECT sqlite_attach(x, y, z)
**
** If the optional "KEY z" syntax is omitted, an SQL NULL is passed as the
** third argument.
**
** If the db->init.reopenMemdb flags is set, then instead of attaching a
** new database, close the database on db->init.iDb and reopen it as an
** empty MemDB.
*/

which is confusing but seems maybe relevant?
also
/*
** Resolve an expression that was part of an ATTACH or DETACH statement. This
** is slightly different from resolving a normal SQL expression, because simple
** identifiers are treated as strings, not possible column names or aliases.
**
** i.e. if the parser sees:
**
**     ATTACH DATABASE abc AS def
**
** it treats the two expressions as literal strings 'abc' and 'def' instead of
** looking for columns of the same name.
**
** This only applies to the root node of pExpr, so the statement:
**
**     ATTACH DATABASE abc||def AS 'db2'
**
** will fail because neither abc or def can be resolved.
*/

I have ' around my file name. The ATTACH works but maybe its causing problems?

After a lot of testing it really seems as though it only actually searches the last database in the chain of UNIONs, regardless of the size, number of available file handles, etc. Is there possibly something broken about UNION between databases in this library?

And is the last database the one that is open currently as sqlite3 *db ?  Should we have all the databases open for UNION to work?

no, in my example the last one would be bar.db

I think you have some reason for keeping these as separate databases, but keeping them as separate tables in the same database or handle the UNION in code may help move forward.

Yes I have potential work-arounds.
If you don't think any configuration changes will help I'll move forward with them.
Let me know if you want me to do anything for debugging.
Thanks.


Fix for issue #738 - support DigiCert ACMEv2 API behaviour

Refer to issue comments for example of testing against both Let's Encrypt and DigiCert ACMEv2 API's

Any progress on this?

Json parsing has been rewritten in an experimental branch https://github.com/dehydrated-io/dehydrated/tree/jsonsh and the other issue had already been merged with 58bd926e30eb3f298b65d0b96efb58cf81a5fd93, thanks anyway! Would be great to get some feedback if DigiCert APIs are working with the new changes, I wasn't able to find a sandbox url to test it myself.


system freeze caused by VCN encoder when importing from wayland dmabuf

https://gitlab.freedesktop.org/mesa/mesa/-/issues/9497 can you update the wiki about Setting AMD_DEBUG=noefc that works around this issue, some machines may have this system freeze

Thanks for the report. This is a driver bug and the wiki is user-editable. You might add a 'Workarounds' section or something to put this information.


minor code style changes

Just a few minor code style changes (as marked by violations) to test the pull request and release flow.

:+1:

:+1:

:+1:

:+1:


Initial Set up of Repo and File Structure

It had been a little while sinceI went through the whole process of setting my repo up the way I used to. Shaking off a little rust here. Got it all set though I think.

Repo is up.


Use consistent spacing in record type declarations

Summary
As suggested by @matthid in #7262, I have removed the space from the left side of the : in record type declarations.
Fixes #7262

 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.:x: ScottShingler sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thank you @ScottShingler for your contribution. Can you just make sure you sign the CLA so we can merge this?

@mairaw Sorry for the delay - had to get approval from my employer to sign the CLA.


Select which websites to discard or not

Just an idea.

Not a bad idea, but The Great Suspender already exists and does this nicely.

The Great Suspender is a bit of overkill if I only want to prevent Chrome from suspending a single URL. ¯_(ツ)_/¯


[Usage]: vllm infer with 2 * Nvidia-L20, output repeat !!!!

Your current environment
vllm==0.6.1
How would you like to use vllm
Steps to reproduce
This happens to Qwen2.5-32B-Instruct-AWQ
The problem can be reproduced with the following steps:
start vllm service
exec python3 -m vllm.entrypoints.openai.api_server\
   --served-model-name ${model_name}\
   --model ./${model_name}\
   --port 8890 \
   --quantization awq \
   --tensor-parallel-size 2 \
   --enable_auto_tool_choice \
   --tool-call-parser hermes 1>vllm.log 2>&1 &

infer
system_prompt = "你是一个安全专家，你的任务是根据用户的输入，以markdown格式返回结果。"
query = "什么是SSRF漏洞"
messages = [{"role": "system", "content": system_prompt}]
messages.append({"role": "user", "content": query})
 completion = client.chat.completions.create(
      model=model_name,
      messages=messages,
      temperature=0.1,
      top_p=0.9,
      max_tokens=4096,
      tools=[],
      extra_body={
          "repetition_penalty": 1.05,
      },
  )

req_id = completion.id
total_token = completion.usage.total_tokens
completion_token = completion.usage.completion_tokens
prompt_tokens = completion.usage.prompt_tokens

output results
The results are expected to be ...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
with 2 A30, I didn't succeed in reproducing. But with L20，nearly 30% can reproduce
is the problem related to GPU type or cuda driver?
Looking for help
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Maybe similar issue with https://github.com/vllm-project/vllm/issues/10656,  cc @mgoin

I had the same problem when using the Qwen2-72B-Instruct model, is there a solution now.help!!!


versatiles serve "data.versatiles#osm" feels wrong. Any other character than "#"?

maybe use brackets like "../file/data.versatiles[osm]"

use colon : .

But versatiles also accepts urls like "https://..." so colons are already in use :/

ah, i see. then # fragments make sense in the url context, if you don't want to do some querytring shenanigans like ?[...]dataset=osm. there is not really a good way to have the same "refer to something within a file" functionality in file paths.
when in doubt, use a parameter for the executable --dataset=osm instead of trying to shoehorn it into the url/filepath. then there is no conflict.


Easy Question to the settings (alexa in hear modus/ activate)

Hello forum,
first of all: thank you very much for these great nodes!
How can I make the Alexa hear? Like saying "alexa". play music etc. already works fine
Thank you form help.

does nobody have an idea? I couldn't find it yet :(


Kube 1.16 removed deprecated api

Error: validation failed: unable to recognize "": no matches for kind "StatefulSet" in version "apps/v1beta1"

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

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

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

Please make the signoff first. And bump the chart version.

/assign

@Anishmourya  Thanks please make a signoff  first.

@Aisuko  can you merge this pr please ?

@Aisuko can you merge this pr please ?

Sure, I'm sorry for replying so late and  thanks for your patient work


[Excel] Add ExcelApi 1.13 to platform availability article

Docs Build status updates of commit b503471:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/overview/office-add-in-availability.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 737c173:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/overview/office-add-in-availability.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


New lines between HTML tags are maintained in compressed output

Currently, when using the compressed output, the following input:

Test

Test 2

div Test
div Test2

yields:

Test

Test 2

Test

Test2

Is there a particular need for the first two tags to be output on separate lines? Can anyone think of any downsides to outputting on a single line?

abc
| def
| ghi

Good call. I'll look into it further as to what problems this would throw up

Yes, we intentionally leave newlines between multiple consecutive lines of text.


WRQ-15921: Fix spotlight.disableSelector to set selectorDisabled to false

Enact-DCO-1.0-Signed-off-by: Juwon Jeong<EMAIL_ADDRESS>Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Resolution
enableSelector needs to set selectorDisabled to true and disableSelector needs to set selectorDisabled to false.
Additional Considerations
Links
WRQ-15921
Comments

Note: this PR fixes a bug from #703

💯

Shouldn't we add a change log for this?


Can't Install the package

When I call pip install pyportfolioopt on anaconda powershell this keeps popping up
ERROR: Failed building wheel for scs
Running setup.py clean for scs
Failed to build cvxpy ecos scs
ERROR: Could not build wheels for cvxpy which use PEP 517 and cannot be installe
d directly
(base) PS C:\Users\Hp>
How can I fix this? Im kindda lost

Hi @raduskymariano,
Could you let me know what version of python you're running? And it'd be good if you could check whether pip install cvxpy works :)
Best,
Robert

When I call pip install pyportfolioopt on anaconda powershell this keeps popping up
ERROR: Failed building wheel for scs
Running setup.py clean for scs
Failed to build cvxpy ecos scs
ERROR: Could not build wheels for cvxpy which use PEP 517 and cannot be installe
d directly
(base) PS C:\Users\Hp>
How can I fix this? Im kindda lost

I solved that issue on my friends windows PC by downloading C++.(I basically downloaded Visual Studio and in the installation chose C++)

@sakilli
Great! Is it working now?

I'm closing for now. Please reopen if you're still having a problem!

I am facing the same issue on Mac. Can someone please help me with the same?

Hi @raduskymariano,
Could you let me know what version of python you're running? And it'd be good if you could check whether pip install cvxpy works :)
Best,
Robert

Could you please help me with the same for Mac? I tried running 'pip install cvxpy' I got the following error.
Collecting cvxpy
Using cached cvxpy-1.1.6.tar.gz (1.0 MB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /Users/kalyani/opt/anaconda3/bin/python /Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/_t/dsckqzks0z55kqmpksgh1nc40000gn/T/pip-build-env-e0un6vii/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'numpy >= 1.15' 'scipy >= 1.1.0' 'setuptools>=40.8.0' wheel
cwd: None
Complete output (44 lines):
Traceback (most recent call last):
File "/Users/kalyani/opt/anaconda3/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/kalyani/opt/anaconda3/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip/main.py", line 26, in
sys.exit(_main())
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 73, in main
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip/_internal/commands/init.py", line 104, in create_command
module = importlib.import_module(module_path)
File "/Users/kalyani/opt/anaconda3/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 24, in
from pip._internal.cli.req_command import RequirementCommand, with_cleanup
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 16, in
from pip._internal.index.package_finder import PackageFinder
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip/_internal/index/package_finder.py", line 21, in
from pip._internal.index.collector import parse_links
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip/_internal/index/collector.py", line 14, in
from pip._vendor import html5lib, requests
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip/_vendor/requests/init.py", line 114, in
from . import utils
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip/_vendor/requests/utils.py", line 25, in
from . import certs
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip/_vendor/requests/certs.py", line 15, in
from pip._vendor.certifi import where
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip/_vendor/certifi/init.py", line 1, in
from .core import contents, where
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip/_vendor/certifi/core.py", line 12, in
from importlib.resources import read_text
File "/Users/kalyani/opt/anaconda3/lib/python3.8/importlib/resources.py", line 11, in
from typing import Iterable, Iterator, Optional, Set, Union   # noqa: F401
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/typing.py", line 1359, in
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
File "/Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/typing.py", line 1007, in new
self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'
ERROR: Command errored out with exit status 1: /Users/kalyani/opt/anaconda3/bin/python /Users/kalyani/opt/anaconda3/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/_t/dsckqzks0z55kqmpksgh1nc40000gn/T/pip-build-env-e0un6vii/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'numpy >= 1.15' 'scipy >= 1.1.0' 'setuptools>=40.8.0' wheel Check the logs for full command output.
Note: you may need to restart the kernel to use updated packages.

I got the same error. here is the link with the instructions to use PyPortfolioOpt, and it contains the link to download Visual Studio for windows 10.
https://pypi.org/project/pyportfolioopt/
I installed and new it works.
Hope it help

@kalyaniyer9
Could you check if you've installed developer tools (instructions here)? After that, you need to download C++ (see here).

Thank you for your email. I used Google Collaboratory for running the
package and it worked flawlessly.
On Thu, Nov 5, 2020 at 7:56 PM Robert Martin<EMAIL_ADDRESS>wrote:

@kalyaniyer9 https://github.com/kalyaniyer9
Could you check if you've installed developer tools (instructions here
https://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/)?
After that, you need to download C++ (see here
https://github.com/robertmartin8/PyPortfolioOpt/issues/181).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robertmartin8/PyPortfolioOpt/issues/100#issuecomment-722411631,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AROTFJLRCPAVTG272QYRHULSOKY3BANCNFSM4MOVXTKA
.

HI Robert, i'm getting this issue. Have tried a lot of different routes but nothing is helping.
Tom

@AtkinsonT please provide more information about your environment. Maybe you could you check if you've installed developer tools (instructions here)? After that, you need to download C++ (see https://github.com/robertmartin8/PyPortfolioOpt/issues/181). This issue relate to the CVXPY installation.

HI, Windows 10. Python 3.12.2. USing Cmd, but have also tried poetry.
Have installed developer tools and C++

Whole error message is below. cmake is installed
error: subprocess-exited-with-error
× Building wheel for qdldl (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [66 lines of output]
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\Tomos Atkinson\AppData\Local\Programs\Python\Python312\Scripts\cmake.exe_main.py", line 4, in
ModuleNotFoundError: No module named 'cmake'
Traceback (most recent call last):
File "C:\Users\Tomos Atkinson\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\Tomos Atkinson\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tomos Atkinson\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools\build_meta.py", line 410, in build_wheel
return self._build_with_temp_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools\build_meta.py", line 395, in build_with_temp_dir
self.run_setup()
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 113, in
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools_init.py", line 103, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools_distutils\core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
super().run_command(command)
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\normal\Lib\site-packages\wheel\bdist_wheel.py", line 368, in run
self.run_command("build")
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
super().run_command(command)
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools_distutils\command\build.py", line 131, in run
self.run_command(cmd_name)
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
super().run_command(command)
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools\command\build_ext.py", line 89, in run
_build_ext.run(self)
File "C:\Users\Tomos Atkinson\AppData\Local\Temp\pip-build-env-g01bvqf6\overlay\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 345, in run
self.build_extensions()
File "", line 81, in build_extensions
File "C:\Users\Tomos Atkinson\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tomos Atkinson\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cmake', '--version']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for qdldl
Failed to build qdldl
ERROR: Could not build wheels for qdldl, which is required to install pyproject.toml-based projects


Elasticsearch health check on CI

Add Elastic health check to execute tests when Elastic is ready.

Boom! Merged.
Thanks!


setContentViewController in ENSideMenuNavigationController not called in iOS8.3

Hello, I'm working with this library and it's running perfectly in iOS9.0 + but in iOS 8 -> 8.3 is not changing the content view controllers. I debugged and it never executes the code in public
func setContentViewController(contentViewController: UIViewController)
Does anyone knows a workaround ?
Thanks

It's not library issue, is something weird with nested NavigationControllers. I don't know how to delete this issue.


Can not set Custom Elements in Vite Config

Environment
❯ npx nuxi info
Nuxi 3.4.1                                                                                3:15:16 PM
                                                                                3:15:16 PM
RootDir: /home/everyx/Projects/fengsi/ycymotors.com                                                                                3:15:16 PM
Nuxt project info:                                                                                3:15:16 PM

------------------------------
- Operating System: Linux
- Node Version:     v18.15.0
- Nuxt Version:     3.4.1
- Nitro Version:    2.3.3
- Package Manager<EMAIL_ADDRESS>- Builder:          vite
- User Config:      typescript, telemetry, routeRules, runtimeConfig, app, css, modules, image, vite, experimental
- Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>- Build Modules:    -
------------------------------

👉 Report an issue: https://github.com/nuxt/nuxt/issues/new                                                                                3:15:16 PM

👉 Suggest an improvement: https://github.com/nuxt/nuxt/discussions/new

👉 Read documentation: https://nuxt.com

Reproduction
I want use a web component provide by playerx, and setup vite config according to this article: Using Custom Elements in Vue
import vue from '@vitejs/plugin-vue';

export default defineNuxtConfig({
  vite: {
    plugins: [
      vue({
        template: {
          compilerOptions: {
            isCustomElement: (tag) => [
              'player-x',
            ].includes(tag),
          },
        },
      }),
    ],
  },
});

Then use npm run dev, I got this error:
                                                                                3:22:22 PM

 ERROR  At least one <template> or <script> is required in a single file component. (x11)                                                                      3:22:22 PM

ℹ Vite client warmed up in 3718ms                                                                                3:22:23 PM
✔ Nitro built in 1384 ms                                                                                nitro 3:22:24 PM

Describe the bug
When I remove the vite plugin config, everything is back to get work, but I will see the vue wram:
[Vue warn]: Failed to resolve component: player-x                                                                                3:26:27 PM
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.

I also check this issues before: https://github.com/nuxt/nuxt/issues/20228 , but it's not working for me, I can still see this wram.
Additional context
No response
Logs
No response

Instead, you should set this in a top-level vue option in your nuxt config. Nuxt already inserts its own vue plugin and you should not add a duplicate one.


Create Min. triangle height

Python
Description
A comprehensive description about the Pull Request
Reference Issue number #176
issue_no must refer to the issue related to this PR, visit here
Type of change
Choosing one or more options from the following as per the nature of your Pull request.
NOTE: Check boxes using [x]

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Documentation Update

Checklist:

[x] I have named my files and folder, according to this project's guidelines.
[x] My code follows the style guidelines of this project.
[x] My Pull Request has a descriptive title. (not a vague title like Update index.md)
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have created a helpful and easy to understand README.md, with problem description and my name.
[x] I have included a requirements.txt file (if external libraries are required.)
[x] My changes do not produce any warnings.
[x] I have starred this repository.
[ ] I have added a working sample/screenshot of the script.
[x] I have checked for trailing spaces in file names and none have them.
[] I have added (your-name)[your-github-profile-link] in CONTRIBUTORS.md

@c0d1ng-Devta You are not following directory structure. Read code of conduct.

@pratik-choudhari I have made the changes please review it.

@pratik-choudhari I have made the changes please review it.


Georeference Matcher

Describe the bug
Locations georeferenced do not show up when searched in the georeference matcher.
To Reproduce
Steps to reproduce the behavior:

When I  Go to "Geographic Area Lookup"
Then I search a location I've georeferenced, say Durham, NH, USA
And I tell it to search after inputting "Durham, NH"
The system tells me that there is no match.

Expected behavior
I had hoped to see a geographic area show up for Durham, or at least related data such as collecting events to the Durham input. I also tried this with other locations, and got the same result--no match.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please identify where you experience this bug:
*** One of ***

Development (native|docker : shaw)
Sandbox -
Production
Browser: Chrome

Geographic areas only match until 2 level geopolitical subdivisions (e.g. county, parish, at a world level).


test_helpers depends on SNAPSHOT build of junit

The test_helpers module depends on the 4.13-SNAPSHOT version of junit.  For us this causes instability in our build system, as SNAPSHOT builds can get updated unpredictably.  Is there a strong need to depend on the snapshot build?  (Looks like junit 4 hasn't had a release in a while, so there may well be.)  If not, maybe this dependence can be changed to a release build?

We are using 4.13-SNAPSHOT in our tests for JUnit4's assertThrows/expectThrows. That version is used elsewhere in the errorprone project.
Out of curiosity, are you depending on test_helpers in non-test code? Is this blocking release builds for you?

Are you depending on test_helpers to test custom checks?
assertThrows/expectThrows are only used by tests in core and check_api, and not in test_helpers, so depending on 4.12 should be OK.

@nglorioso we use the buck build system with okbuck. okbuck pulls in the greatest version of any dependency for usage in the buck files. This means whenever the snapshot changes, the jar changes and leads to a cache invalidation of all test rules.
Regardless of whether it is production/test code, it is very dangerous to depend on a snapshot for a hermetic build standpoint. The same VCS tag when built on two times can have a different result (if there are bugs in the snapshot jar for example) and is definitely not ideal.


Enable deserialization of ErrorResponse subtypes

The DefaultRestClient can currently deserialize only the ErrorResponse type, but it fails to deserialize subtypes of the ErrorResponse. We should introduce a configuration option which allows to map error codes to types dynamically and allow to deserialize custom error responses which usually contain additional error data such as validation errors.

The use case of custom error handling can be handled in the client code, see:
https://github.com/wultra/powerauth-webflow/blob/3c0a09da6a6f02ea1ade00c37c8b85625c85d460/powerauth-nextstep-client/src/main/java/io/getlime/security/powerauth/lib/nextstep/client/NextStepClientException.java#L131
Although this solution is far from ideal when considering the code style, technically it work fine, so we can postpone this issue to the next release.


Vickel: Watch hoba.tech

Vickel requests the watch of the watch_keyword hoba\.tech. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

hoba\.tech has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Upgrade <fhir_core_version> from 5.3.0 to 5.3.9

Upgrade the <fhir_core_version> to 5.3.9 to pick up the latest fixes & features.

https://github.com/hapifhir/org.hl7.fhir.core/releases/tag/5.3.9

Love it
Can we merge that back to 5.3 or do we need to wait for 5.4?
There are critical fixes made in fhir core

Hi @ZuSe ,
The upgrade will have to wait for 5.4.0 - I am investigating some failing Unit Tests now ...

Thanks for the quick answer.
Is there any eta when we expect 5.4 to be released?

@ZuSe  HAPI-FHIR v5.4 should be released right around May 18th.

@markiantorno


fmriprep version and preproc required

Hello!
We are having some difficulty obtaining all of the required fmriprep outputs for xcp to work. Could you please specify 1) which fmriprep version is used and 2) which preprocs are required?
We are running 2 timepoint resting state data, hoping to use "minimal" (MNI1x1x1) anatomical and then ICA_AROMA functional connectivity. So far, we have been able to successfully run part 1 of minimal, but hit errors on QCANAT (due to missing inputs). For posterity, I have also tried to see if the ICA-ARMOA functional pipeline would work (without seeds; MNI2x2x2) and it too errors quickly (due to missing inputs).

Most recently, we have used fmriprep 1.2.4 and 1.2.5 and we are comparing required outputs to https://figshare.com/articles/xcpEngine_tutorial_data/7359086
The logs indicate version 1.1.8 was used; however, that version does not have the same naming conventions as the tutorial data, so we were hoping you could clarify.

What output-space should be specified and/or other preproc specifications? My understanding is "T1w" and "template" are needed. I included all, to be safe, but it doesn't appear all are needed: E.g., --output-space {'T1w', 'template', 'fsaverage5', 'fsnative'}. Note: we have successfully included the needed ICA-AROMA outputs.

Specific missing outputs appear to be ones that include two "space" outputs in one image, rather the the one space output. E.g., we receive the following outputs:
"sub-TAG002_ses-wave2_task-rest_run-01_space-MNI152NLin2009cAsym_boldref.nii.gz"
and
"sub-TAG002_ses-wave2_task-rest_run-01_space-T1w_boldref.nii.gz"
BUT not
"sub-1_task-rest_space-MNI152NLin2009cAsym_desc-preproc_space-MNI152NLin2009cAsym_boldref.nii.gz"
Thank you so much for your assistance! We are excited to work within this pipeline!

I sincerely apologize for my delayed response!! That worked (my environment was still referencing old paths) and the script does appear to be working now! Thank you SO much for all your help!


Fix/details severity desc

Summary | Résumé
Trello
https://trello.com/c/mCqGJL7E/817-fix-the-guidance-row-in-alert-history-to-reflect-the-notification-message-selected

Fixed severity descriptions from level x -> verbal descriptions

Test instructions | Instructions pour tester la modification
Alert history -> details:
See description of guidance:

 Fix the Guidance row in alert history to reflect the notification message selected

 Terms of Use HTML title different the H1


Added option to show original locations and path in error

@scf4 thanks!  Can you update tests?

Also, this might work better via an options hash versus two separate booleans.

Looks like it's failing because undefined won't serialize, it will simply be omitted.  You will probably need to update the code :(

Should be good now :)

Can you update the test to make sure that the error retains the location and path after being passed through formatError?  Also, can you update the docs?  Thanks for the work on this @scf4.

The error comes from the originalError object which is passed to formatError. What wouldn't be serialized properly?
My use case is preserving the path info so I know which query caused which error when running multiple. I don't personally need locations but it could be relevant to some!

It "should", but we want to add tests to make sure that if we create an error with such options, the options are preserved when the error is serialized out to the client

Will merge after tests are adding.  Wanna be super safe.  Also, still wondering the use case here.  Wouldn't I need to manually pass the location and path into the error data payload? If that's the case, are the booleans even necessary?

@scf4 bump :)

@thebigredgeek Apollo adds the path and locations to errors by default.

It would need to know to add them to the data object in the error constructor though, wouldn't it?

formatError has originalError.path and originalError.locations. It passes them to the new custom error, which checks its opts (added in createError) to see if they should be returned in the object from serialize(). They don't get serialized into the blah/::/blah string because they don't exist at that point.

Ahh I see now.  Clever.  Nice!  Will merge in just a few

Awesome thanks!


Listening Interface Ends Up On <IP_ADDRESS>- this normal?

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
Reading other posts I see port changing questions but I cannot seem to get the server to exclude other specified devices.  For example, I have 2 NICS eth0 and eth1, one of which has several virtual sub-interfaces i.e. eth0.12.  Kuma's base URL is set for an eth1 address.  Problem is kuma (3001) is found on every interface.  Yes, I can config nftables to just block it but I want to verify that this is normal.  I would expect the base URL to stay on that listening address/subnet rather than <IP_ADDRESS>.
👟 Reproduction steps
Specify the primary base URL in Kuma settings
👀 Expected behavior
Kuma runs only on the interface for the broadcast domain specified under the primary base URL
😓 Actual Behavior
Kuma is hosted on every interface
🐻 Uptime-Kuma Version
1.18.0
💻 Operating System and Arch
Pop!_OS 22.04 LTS
🌐 Browser
Firefox 105.0.1
🐋 Docker Version
No response
🟩 NodeJS Version
16.17.1
📝 Relevant log output
No response

The base URL and the address that the server binds to are two different things. The base URL is used client side to ensure that requests for things such as CSS and JavaScript files are correct. The bind address sets exactly which address to listen to. You can use the UPTIME_KUMA_HOST or HOST environment variables to set the bind address. For more info, see the wiki page https://github.com/louislam/uptime-kuma/wiki/Environment-Variables#server-environment-variables

After a long sigh and allowing the reality of my stupidity to sink in, I have to apologize for wasting your time.  I'm ultra noob to Git and I've opened the wiki page 100 times but never navigated to the other areas, etc.  I'm at work and found this software extremely useful but I had little time and was going crazy looking for config docs.  I got to the point wondering if the client also functioned as a front end control for server config- is this a nodejs thing? lol   Again, apologies and will take the time to learn the ins-and-outs of the community, and VERY interested in supporting louislam's efforts.  Thank you!


Structural Engineering: Updated Plans Necessary

Ever since Issue #4 was resolved, a new problem has occurred where all plans need to be updated to reflect the solution made. Three screws were added that were not in the original Foundation 1 plan. Two screws will affect the path of the robot. This causes a massive change in plans because everything was tightly fitted. The appearance and structure of the model airport will change. These plans need to be changed:

[ ] Column plan
[ ] Foundation 2 plan
[ ] Surface plan

Inspecting Foundation 1 to create new Column plan.

By looking at Foundation 1, it seems appropriate to build the columns where the bolts are. This would allow the columns to be securely fastened to Foundation 1 without the need for extra reinforcement such as glue or tape. Some columns may be floating and weighted to allow the surface to flex since Foundation 1 slightly flexes.

Column Plan has errors. Being fixed at the moment. Middle columns are off by 1/2 box.


Deal with MediaWiki's File: and Media: links

There are case variants and optional leading colons, but focusing on the more commonly used title cases we have things like:
Treasurer's 2011 report: [[File:2011-OBF-Treasurers-Report_v1.pdf]]

Click '''[[Media:BOSC2009_program_20090601.pdf | here]]''' to download
full program in PDF format (2 MB).

[[Image:Bioperl-Heidelberg-1999-2.jpg|frame|During ISMB, an introduction
meeting and planning session was held with some of the volunteers.]]

MediaWiki "File:" takes you to a page at wiki/File:... about the file with its history etc. For a converted wiki, that could be turned into a link to the file on GitHub.
MediaWiki "Media:" takes you directly to the file, typically under /w/... rather than /wiki/... but we don't have to follow that convention.
MediaWiki "Image:" shows the image in situ with caption below. Typically hosted under /w/... and clickable to the "File:" page under /wiki/File:...
Pandoc will strip the "Image:" prefix leaving a relative URL, and therefore leaving the images under /wiki/ (or however configured) next to the converted Markdown files makes sense.
However Pandoc currently leaves the "File:" and "Media:" prefixes in place.
Option 1
Could generate File:<name>.md and Media:<name>.md files (with colon escaping like the category pages), which can show images in situ and/or give links to the raw file, and link to the GitHub history page for the file? Seems of limited value.
Again, actual placement of the files in the git repository could be configurable.
Option 2
Pre/post process these to give a useful URL. Simplest would be to treat them like images and leave them in the same directory as the converted MarkDown files (and use relative links).
Might make this configurable, e.g. put them under "media/" with Markdown under "prefix/" via the existing prefix option?

Option 2 can't be just a sed to remove the "Media:" prefix, it would sometimes need to replace it with "../" when the page's permalink uses a slash. i.e. An extension to f9f2a3209a4092395649dad4461e80d6cfce5eb2


Accessibility Audit - Carbon Website: Components - Button

This epic is tied to a larger "release" that is meant to track the progress of the Accessibility Audit for the Carbon Website. We will audit all of the pages of the carbon website based on AVT 1, AVT 2, & AVT3 - which can be found here.

AVT 1: will audit the site against the IBM Accessibility Checker - browser extension

AVT 2: will audit the site against accessible keyboard interactions

AVT 3: will audit the site against screen readers

Legend:

🌶 fully audited - on all three AVT levels

:one: 🔍 AVT 1 audited
:two: 🔍 AVT 2 audited
:three: 🔍 AVT 3 audited

:boom: issues and documentation - on all three AVT levels are complete

:one: 🚨 AVT 1 issues submitted
:two: 🚨 AVT 2 issues submitted
:three: 🚨 AVT 3 issues submitted

:sparkles: tickets are triaged

Current status of this page:

1⃣ 🔍 AVT 1 audited & 🚨 AVT 1 issues submitted

Components - Button:

Usage: 6 violations - no new violations
Style: 3 violations - no new violations
Code: 8 violations - no new violations
Accessibility: 8 violations - no new violations

Closing due to inactivity. Will reopen if/when ready to be worked on again.


Segmentation fault model_from_json

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Linux Ubuntu 16.04 LTS:
TensorFlow installed with pip install:
TensorFlow version 1.13.1
Python version: 3.5
CUDA/cuDNN version: 10.0/?
GPU model and memory: Tesla K80 11GB (even after disconnecting the card from VM app still crashed)

Tensorflow loads fine, yet program crashes with segmentation error at load_from_json action.
Code to reproduce the issue
import numpy.core.multiarray
import numpy as np
import tensorflow as tf
from keras.models import load_model, model_from_json

json_file = open(os.path.join('/'.join(FLAGS.model_path.split('/')[0:-1]), 'model.json'), 'r')
loaded_model_json = json_file.read()
json_file.close()
model = model_from_json(loaded_model_json, custom_objects={'tf': tf, 'RESIZE_FACTOR': RESIZE_FACTOR})    <<<<<  This line crashes
model.load_weights(FLAGS.model_path)

Exactly the same code runs smoothly on my laptop with only CPU, windows 10 and python 3.7.

@derNorweg Could you provide a standalone code to reproduce the issue? You could make a gitHub gist and share the link. Thanks!

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

Closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Vertex AI Support

Support deployments to managed KFP in Vertex AI.
Notes/Assumptions:

Experiments are not supported
RunConfigurations implemented with Cloud Functions and Cloud Scheduler

Open Questions:

Can we get notified about finished training runs?

Closing in favour of milestone 0.3.0


feat: #7 Make Hello World

https://github.com/Devnilson/fisima/issues/7 Full cleanup of code, travisci and rename all old references to old repository

remember that this is not:

The PR template is moved into a new issue #14


why first press cannot start recoder

why first press cannot start recoder(no lock icon),  and no problem in the future
thank you ! this is my code:
Align(
alignment: Alignment.centerLeft,
child: SocialMediaRecorder(
textVisible:textVisible,
sendRequestFunction: (soundFile) {
//print("the current path is ${soundFile.path}");
},
encode: AudioEncoderType.AAC,
),

Hello @yydsapi
Because in the first press i check permission for record and storage if the permissions done
So the record and all functions will work well
So if you face any issue check permissions that added in readme pubdev package section for android and ios

Thank you for your answer！


Removed unnecessary string type declarations for function

Refactored observable to perform the grouping on the business category response data

This branch will be kept open as reference, as I do agree with a lot of the changes made (specifically removing the non-required types from the BusinessType struct and also cleaning up the deduplication code) but the logic for generating the expected data structure has changed slightly via the "adding_permits_to_primary_data_structure" branch. I spoke with Andrew on this and he instructed me to close this but to keep the branch as a reference. The current plan is to clean up the other branch and merge that.