Error from chocolatey: Exception calling "Install" with "0" argument(s)

I'm getting the following exception right after my package calls Install-WindowsUpdate.  It's not clear to me whether this was caused by that call, by any wrap-up work that Boxstarter is doing prior to restarting, or perhaps by an earlier call.
...
[2015-04-01T07:52:25.9695300-07:00:::PID 2368] +++ Boxstarter starting Install 37 of 47 updates: Security Update for Windows 8.1 for x64-based Systems (KB3035132)
[2015-04-01T07:52:31.2820322-07:00:::PID 2368] Boxstarter: Checking for Pending reboot
[2015-04-01T07:52:31.3914055-07:00:::PID 2368] Boxstarter: Detected Pending reboot
[2015-04-01T07:52:31.4070302-07:00:::PID 2368] @{Computer=SANDBOX; CBServicing=True; WindowsUpdate=True; PendFileRename=False; RebootPending=True}
[2015-04-01T07:52:31.4070302-07:00:::PID 2368] Boxstarter: writing restart file
[2015-04-01T07:52:31.4070302-07:00:::PID 2368] Boxstarter: writing restart file
[2015-04-01T07:52:33.6570296-07:00:::PID 2368] Finished installing 'temp_BoxstarterPackage' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
[2015-04-01T07:52:33.7039050-07:00:::PID 2368] Boxstarter: Exit Code: 0
[2015-04-01T07:52:33.7039050-07:00:::PID 2368] Boxstarter: There was an error calling chocolatey
[2015-04-01T07:52:33.8289042-07:00:::PID 2368] Error from chocolatey:

ErrorRecord                 : Exception calling "Install" with "0" argument(s):
                               "Exception from HRESULT: 0x80240016"
StackTrace                  :    at System.Management.Automation.ComMethod.Invo
                              keMethod(PSMethod method, Object[] arguments)
                                 at System.Management.Automation.Adapter.BaseMe
                              thodInvoke(PSMethod method, PSMethodInvocationCon
                              straints invocationConstraints, Object[] argument
                              s)
                                 at Install-Update(Closure , FunctionContext )
WasThrownFromThrowStatement : False
Message                     : Exception calling "Install" with "0" argument(s):
                               "Exception from HRESULT: 0x80240016"
Data                        : {}
InnerException              : System.Reflection.TargetInvocationException: Exce
                              ption has been thrown by the target of an invocat
                              ion. ---> System.Runtime.InteropServices.COMExcep
                              tion: Exception from HRESULT: 0x80240016
                                 --- End of inner exception stack trace ---
                                 at System.RuntimeType.InvokeDispMethod(String
                              name, BindingFlags invokeAttr, Object target, Obj
                              ect[] args, Boolean[] byrefModifiers, Int32 cultu
                              re, String[] namedParameters)
                                 at System.RuntimeType.InvokeMember(String name
                              , BindingFlags bindingFlags, Binder binder, Objec
                              t target, Object[] providedArgs, ParameterModifie
                              r[] modifiers, CultureInfo culture, String[] name
                              dParams)
                                 at System.Management.Automation.ComMethod.Invo
                              keMethod(PSMethod method, Object[] arguments)
TargetSite                  : Void CheckActionPreference(System.Management.Auto
                              mation.Language.FunctionContext, System.Exception
                              )
HelpLink                    :
Source                      : System.Management.Automation
HResult                     : -2146233087

This is a windows update error that means that something else is trying to run wndows update. Boxstarter makes an effort to ensure this does not happen by turning off the update service before it begins the update run. However this can be subverted if either you manually start the service (which I am guessing is not the case here) or perhaps some other process on your machine either turns this on or goes off to install updates on its own. I have not seen this happen before but can certainly envision enterprise scenarios where this could happen.
I do think there are extra efforts boxstarter could make to prevent this from happening. So I will keep this open to track that.

It's odd because I'm using a vanilla/clean install of Windows 8.1.  I think there might be something else going on here.  Prior to my call to Install-WindowsUpdate, there's not much happening.  Any ideas on how I can debug this further?

After doing more research on that error code, it appears that the root issue is that windows cannot access the user token. If something else is trying to update the system that can cause this error, or if the user has been logged in for a long time.
A couple questions:

Is the machine domain joined?
how are you provisioning this machine? Is this a VM or bare metal?Are you running boxstarter right after installing an ISO?

I'm getting the same result, I'm try to automate a build process for windows images based on https://github.com/mitchellh/packer which fails because of a boxstarter error. The same as above, in my case I'm using a "don't reboot" option, which is needed in order for packer to understand what is happening (a sudden reboot will abort the build). Any idea on what the REAL reason is of this error?
It's based on a vanilla windows 2012 R2 iso from mickeysoft, with some chocolatey installs (notepad, sys internals etc).
The boxstarter itself is called via a chef-solo (called by packer) unfortunately it's WinRM so updating windows is kind of a hazard (task scheduler doesn't really work either because with that our builder has no idea what is happening).
`
amazon-windows-ebs: + Boxstarter starting Install 10 of 16 updates: Security Update for Windows Server 2012 R2 (KB3002657)

amazon-windows-ebs: There is either an update in progress or there is a pending reboot blocking the install.
amazon-windows-ebs: If you are using the Bootstrapper or Chocolatey module, try using:
amazon-windows-ebs: if(Test-PendingReboot){Invoke-Reboot}
amazon-windows-ebs: This will perform a reboot if reboots are pending.
amazon-windows-ebs: Boxstarter: There were problems installing updates: Exception calling "Install" with "0" argument(s): "Exception from HRESULT: 0x80240016"
amazon-windows-ebs: Finished installing 'temp_BoxstarterPackage' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
amazon-windows-ebs: [WIN-BKGOUE280CA]+ Boxstarter finished Calling Chocolatey to install temp_BoxstarterPackage. This may take several minutes to complete... 00:04:41.6650723
amazon-windows-ebs: [WIN-BKGOUE280CA]Boxstarter: Enabling Automatic Updates from Windows Update
amazon-windows-ebs: ERROR SUMMARY:
amazon-windows-ebs: #1)
amazon-windows-ebs: STDERR: #< CLIXML`

@mwrock - to answer your questions:

the machine is not domain joined
This is a VM in Hyper-V.  It was created using a Windows 8.1 ISO. A few months ago I installed the OS, applied all windows updates that were available at the time, shutdown the VM and took a snapshot.  I am restoring that original snapshot and then performing my BoxStarter install.  Since the snapshot was taken a few months ago, the box is now behind on Windows Updates.

@SurajGupta thanks for this info. A few more questions:

Are you running boxstarter locally on the vm?
If so, are you invoking it via the web based installer or calling Install-BoxstarterPackage?
If not, are you using Boxstarter.HyperV or calling Install-BoxstarterPackage directly with -ComputerName?

Thanks!

@kmeinster Just curious if you are you using the Boxstarter cookbook from chef-solo.

To both @SurajGupta and @kmeinster could you supply a gist of your complete boxstarter log? It is located at $env:LocalAppData\Boxstarter\Boxstarter.log
I'd really like to figure out how to prevent this error. Its pretty tough to reproduce so more info is good. Thanks!

@mwrock - To answer your questions:

yes, I am running it locally on the VM.
I am calling Install-BoxstarterPackage

In fact, here's the repo with exactly what I'm running: https://github.com/SurajGupta/BoxBot
I call Bootstrap and that takes care of the rest.  The last line in Boostrap() is Install-BoxstarterPackage.  The package itself is defined in BuildBox.ps1.  You'll see the call to Install-WindowsUpdate on line 22 of that file.  My code is fairly well-documented, so you can probably just read the comments to understand the workflow - it's all pretty straight-forward.
Here's the Gist with the log file: https://gist.github.com/SurajGupta/544c55cee047ca71f7a6
The error is on line 397

@mwrock will do too
Yes i'm using the basic cookbook, just ripped out the installables (fiddler etc) to test. ill see if I can make a better test setup tonight and without packer (but with winrm) so i can do some more research.
Will put in a gist later on tonight for the logs.

https://gist.github.com/kmeinster/6504318ce0b0710ff35a
The packer output is a bit blurry to read.

I think I may have a fix for this and hope to release tomorrow.

that's great!   Would be interested/curious as to what found.

@mwrock Cool man, let us know when you need testing ;-)

ok. I just released 2.4.205 which I am hoping fixes this. It addresses a few bug fixes, 2 of which impact this issue and 1 in particular I think fixws both of your use cases. The fix that impacts this but is lesslikey to be a factor for both of you is that the windows update service is now restarted before before boxstarter begins the search for updates. This would address scenarios where windows might have already started updates in the background. However, I doubt this affected @SurajGupta since he had installed several installs successfully before it failed.
What I think fixes this for you is that therre has been for some time now a specific error handling case for HRESULT: 0x80240016 which I had forgotten about (I dont typically remember specific HRESULTs). The problem is that althogh the error is effectively handled, the error still gets bubbled up at the end of the run. This is really an aesthetic change because regardless, boxstarter does handle the error and will install the remaining updates which looked to be the case in @SurajGupta' log. However if performed "off box" it could lead to an interruption like with @kmeinster.
So give this a go and let me know how it goes.

Nice fixes! Changed the cookbook a little bit (just the setup.bat template) at least the updates now go through as can be seen at: https://gist.github.com/kmeinster/8083315dba7bf63bbacc
So seems OK now, thanks again!
The changed template now looks like:
@echo off
REM SET ps=%systemroot%\sysnative\windowspowershell\v1.0\powershell.exe
REM if NOT EXIST %ps% SET ps=%systemroot%\system32\windowspowershell\v1.0\powershell.exe
REM %ps% -NoProfile -ExecutionPolicy bypass <%= @command %>
powershell -NoProfile -ExecutionPolicy bypass <%= @command %>
As you can see almost nothing changed except we now use powershell immediately :)

@mwrock - it worked!  no more error.  thanks for the insight into the bug!


Why use so many overrides in ESLint?

According to [.eslintrc](https://github.com/ixartz/Next-js-Boilerplate/blob/master/.eslintrc) there are a lot of overrides, why is that? Why not add extends and plugins directly?
Is there a lot to be overridden from following extends?
"airbnb-base",
"next/core-web-vitals", // Needed to avoid warning in next.js build: 'The Next.js plugin was not detected in your ESLint configuration'
"plugin:prettier/recommended"

You can avoid when you are using only one of them. But, this is needed when you try to make some dependencies working together. Some configuration from some dependencies are not working well together with their default configuration.


Add D-Bus signal APIs

In Bleak, we have some code that is a nice wrapper around org.freedesktop.DBus.AddMatch and org.freedesktop.DBus.RemoveMatch that would be nice to include in this package to make subscribing to signals in the low-level API easier.
https://github.com/hbldh/bleak/blob/develop/bleak/backends/bluezdbus/signals.py

The proxy interface's of the library already allow you to attach a callback to a signal and then remove that listener later using on_<signal> and off_<signal> as described here: https://python-dbus-next.readthedocs.io/en/latest/high-level-client/aio-proxy-interface.html . Seems like that's what you're describing and showing? Or is there an issue with that feature I'm not aware of?

We are using the low-level APIs, not the high-level APIs. And even if we were using proxies, they suffer from a race condition where you can't subscribe to the signals until after the object is created and so you end up having to call "GetManagedObjects" twice.
Additional motivation: https://github.com/altdesktop/python-dbus-next/issues/53

Interesting, didn't know that. In supervisor we currently use the low-level APIs for signal listening as well but for a different reason. Currently in supervisor the only time we listen for signals is for confirmation of an asynchronous action. Like when changing the active connection in network manager we then listen for the StateChanged signal to confirm it worked. Similar when installing a rauc bundle file it fires the Installer.Completed signal when done.
So we can't use the on_<signal> functions there because we aren't continuously listening for a signal and acting on each one. Instead we specifically listen for a signal one time after we take an action and wait for it, using it to craft the response to the client that initiated it. This for reference is a capability I was also considering moving to the library in the future, basically a with_<signal> method that supports this:
async with proxy.with_signal() as signal:
  proxy.call_something_async()
  resp = await signal.wait_for_signal()

I was also planning to enhance supervisor with the ability to continuously listen for PropertiesChanged events on the objects it cares about. I had been planning to use the high-level client for this but I guess I'll have to review this now.


Support for custom config groups

This PR adds support for grouping maps by custom groups with a CustomGroup tag in the config. The name of the tag will then appear in the level select instead of the usual "Map A", "Map B", etc. This was done by organizing levels with a LevelSet class that keeps track of groups and their keys as well as ungrouped keys instead of the previous flat list of area keys.
The main use case this enables are maps like the Spring 2020 Collab where a large number of maps are organized into a few groups (93 -> 5). This could also be tweaked a bit to allow categories like "All C-sides" if there's demand for it.
Currently custom groups display before ungrouped maps within a levelset -- having a mixed order would probably require having a metadata YAML file to group things together.
I'm pretty new to OSS contributions and mixing with other people's code so let me know if there's anything you want me to change or tweak!

Forgot to mention -- I tested various combinations of group ordering with vanilla + custom maps and everything seems to work. Toggling/resetting maps works as expected.

Solid work. I don't know what use cases we'll see for this in the future other than collab maps but we'll see what the future holds.


Minor changes to the IconLayer AutoPacking Docs Example

IconLayer AutoPacking Example

Change Octokit request format from octokit.repos.listContributors to octokit.repos.getContributors

Change the tooltip parameters according to example dataset.

For the autopacking example, I don't think Icons need to be treated as a transparency mask. Keep the default value for mask which is false and the user-defined getColor accessor is not required.

Coverage remained the same at 62.483% when pulling 81a7a3698d181b7109021a4068c07531b6fddfd6 on kaushikb11:fix-icon-example into b2f5773ecc65de2323afedd0d1f4ca14faf43878 on uber:master.


request for add skillshare

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.05.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[ ] I've verified and I assure that I'm running youtube-dl 2016.05.01

Before submitting an issue make sure you have:

[ ] At least skimmed through README and most notably FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2016.05.01
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue required an account credentials please provide them or explain how one can obtain them.
hi plz can you add this new website
www.skillshare.com

this is link of single lecture download
https://udso-a.akamaihd.net/3695997568001/3695997568001_4842696476001_4842617702001.mp4?pubId=3695997568001&videoId=4842617702001

Why got this closed immediately without further comment?

I guess @dstftw intended to ask for a concrete URL but forgot.

This should not be closed since there is no resolutions yet.
I also wanted to download skillshare videos but they recently added a captcha in their login so currently it is impossible to login to skillshare with youtube-dl.

@dashawk There's a better site support request for skillshare at #9769. Please move on there for further discussions, thanks!


hope to support with count sub query sql

Bug Report
For English only, other languages will not accept.
SQL:
SELECT COUNT(1) FROM (
     SELECT
        r.`channel` as `channel_code`,
        r.`channel_name` as `channel_name`,
        COUNT(r.id) `total_cnt`,
        COUNT(r.connect_flag = "Y") `connected_cnt`
        FROM record_callin r
        LEFT JOIN sys_org_tree_rel tree ON tree.teamid = r.teamid
        LEFT JOIN sys_user u ON u.brokerid = r.brokerid
        where
        r.create_time between '2018-01-01 00:00:00' and   '2019-01-01 00:00:00'
        GROUP BY
        r.`channel`
) TOTAL

hope to support it

@codefairy08 We should support this kind of SQL, it is a regression. ShardingSphere support it before.

FIY: https://shardingsphere.apache.org/document/current/en/features/sharding/use-norms/sql/
search Available for not only sub-query of pagination

fixed at #1873

Not finished yet, it need to support route to multiple tables

When can this problem be fixed, our technical research sharding-jdbc is blocked by this problem

I am sorry, but we can not promise it.
If you have requirement, do you mind try to submit a pull request?


[Bug] Can't disable code suggestions

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

VS Code Version: 1.75.1
OS Version: macOS 13

Steps to Reproduce:

Add the following settings to settings.json:{
  "javascript.suggestionActions.enabled": false,
  "typescript.suggestionActions.enabled": false
}

Code suggestions still show up:

what you are looking at is the hover. to disable that use this setting editor.hover.enabled

Oh, you mean "hint" diagnostics. Forwarding to @mjbvz for comment

@jrieken Thanks for fowarding, I got the term from the docs:


Day 433

Good morning! Here's your coding interview problem for today.
This problem was asked by Facebook.
Given an integer n, find the next biggest integer with the same number of 1-bits on. For example, given the number 6 (0110 in binary), return 9 (1001).

Identical to Day 338: https://github.com/vaskoz/dailycodingproblem-go/issues/675


Align color image to depth using Labview wrapper

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ R200 / F200 / SR300 / ZR300 / D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<Describe your issue / question / feature request / etc..>

I am using the D435 with Labview wrapper. I got color image and depth, How can I align them using Labview wrapper?

I think that alignment is not part of the provided example, but this can be done using C API. The high level flow would be:

Call rs2_create_align to get a pointer to a new align processing block. Pass the desired target stream type to the function.
Call rs2_create_frame_queue to create new frame queue for the aligned frames, pass 1 and NULL as parameters.
Bind align output to the queue using rs2_start_processing_queue. Pass the pointer from create_align and the queue.
Given a frameset object received either from pipeline.wait_for_frames or syncer.wait_for_frames, call rs2_process_frame on it.
Fetch the aligned frameset from the queue using rs2_wait_for_frame on the queue.

Item #4 can be a bit tricky with existing labview layout, but if you want to create a new syncer, it can be done in very similar way (I think there is one in the project):

rs2_create_sync_processing_block
rs2_create_frame_queue
rs2_start_processing_queue
rs2_process_frame on the color and rs2_process_frame on the depth frame
rs2_wait_for_frame to fetch the frameset

I tried following the directions above but couldn't get it to work.  I have the RGB and Depth cameras streaming in LV but can't get the align processing block to do anything.
Has anyone developed a LV example for this?  Some of the functions referenced in the directions above don't seem to have an equivalent LV VI (for example I can't find a way to use the pipeline, syncer, or use framesets in LV).
Any help is appreciated.  Thanks

Just following up on the last post.  Anyone have any success aligning color and depth frames using Labview?

I have the same question. Any success aligning color and depth frames of the D435 using Labview in the meantime?

I have the same problem, has anyone solved it?

After many days of hard work, I think I solved this problem. Intel's official example for LabVIEW has problems. In fact, it is not fully applicable to D435, and the content is not as rich as other programming languages. Therefore, in terms of RGB-Depth alignment, the example is applicable The RGB camera and the left camera (binocular camera) are Realsense devices with the same camera. They are not suitable for D435 and D435i. We need to obtain them through coordinate system transformation: First, we need to obtain the internal and external parameters of the camera. This is done after the SDK is installed. It is obtained from rs-sensor-control.exe in the tool folder of . Coordinates, then obtain RGB camera coordinates, and then obtain RGB pixel coordinates, which realizes the pixel conversion from depth map to RGB map. To convert RGB pixel coordinates to depth map coordinates, a corresponding approximate search is required

.

您好，邮件已收到！
                     =--.赵东哲.--=


Code release for ImageNetLT and iNat

Will the code for ImageNetLT and iNat be released?

We used the same code to implement MaxNorm, L2 Normalization, and CB for the other datasets. The only difference is that we used ResNeXt50 on ImageNet-LT and ResNet50 on iNaturalist2018.


Make sure we do not expose stacktraces in production

Fixes #2841.
Issue here is that we didn't check for dev before rendering the stacktrace. The build id mismatch code stays the same since it uses a custom property which is still available in the response :ok_hand:

Thanks @timneutkens and @sergiodxa.
Let me take this in.


Remove drools-reteoo leftovers

Merging to fix the build. The removed method is private and not used anywhere, so it should be safe to remove.


blacklist banana peel from surplus

About the PR
so you dont just walk on surplus and die :trollface:
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:

remove: Cybersun monkeys have stopped putting peels of their explosive bananas in surplus crates.

this is funny though

the lost drama of a syndicate agent offing themselves anticlimactically is greater than the gained comedy of watching them speak of the experience with varying levels of worldly hatred in ooc.
plus, getting rid of it doesn't change the comedy level of past incidents, and since the quantity of these incidents has diminishing returns on funniness, the net lost amount of comedy is negligible for most of the people we care about despite the lowered quantity.

I think keeping it in is part of the spirit of the game.

as a syndie i would be infuriated if my whole round was ended because i walked over my surplus which would probably crit me + instantly make me valid to whoever finds it

Isn't it only 30 dmg

pro


Suggested to list the system proxy option separately

Suggested to list the system proxy option separately, as it is now, it keeps failing.

The system proxy cannot be turned on automatically, it must be done manually.

The system proxy cannot be turned on automatically, it must be done manually.

Hey @DbuyCN
Can you give me more information? Which version do you use? Is it x64 or x86 architecture? and did you have this problem in older version of the app?


Flexbox and Styling Menu Tweaks

Ok, I decided to just get my changes out of the way so I have free time to work on my school this week. I have some more ideas for the menu and making the site responsive, but this is the first basic set of changes.
Here are the major changes I made:

Adjust menu section to use flexbox. This made it easier for me to apply my style changes, but it also makes the menu more responsive. I will add some media queries and other changes soon to make it even more responsive
Tweak layout of menu. The original menu was cramped and difficult to find where you were. I added whitespace around elements and made the small buttons icons to be even more compact. To make it easier to see where you are, I added some padding and subtle highlights to show nesting.
I also added other slight changes (some you already know) to the menu components to make theming easier.

You can preview the changes at http://playground.isaacabrahamson.com/
Here is a screenshot comparison:

Hope you like the changes. Either way, I learned a lot making them, and it was fun!

My solution buttons seem to only work half the time. No idea why this is...

Oh, looking at console, it's probably my site being on an unencrypted connection and CORS.

Hey @IsaacAbrahamson, first of all, wow! Thanks for putting in all this effort. At first glance, these changes definitely do add a more modern feel to the app which is really cool, and point duly noted about some of the crowding that's going on in the menu.
That said, before I accept this outright, I'm interested in pulling this down and playing around with it a bit. I have to admit, one of the most difficult things to swallow about open source (though I'm totally open to changes that will improve the project) is letting go of complete creative control  😨
I can most certainly admit when something is better though, and I think if this can be done just right, it will be a huge improvement. I do have some initial concerns though — I can see flexbox being a huge improvement, but there are some slight issues with it, that for a detail oriented person like myself, may drive me a bit 🍌🍌🍌
For example (and you may not have noticed it on your screen — I don't see it in your screen shot anyway), the challenge names with longer titles affect the orientation of the icons (love this by the way, this + tooltip is excellent), which makes it awkward looking and inconsistent when taken as a whole:

Hey @IsaacAbrahamson, first of all, wow! Thanks for putting in all this effort. At first glance, these changes definitely do add a more modern feel to the app which is really cool, and point duly noted about some of the crowding that's going on in the menu.
That said, before I accept this outright, I'm interested in pulling this down and playing around with it a bit. I have to admit, one of the most difficult things to swallow about open source (though I'm totally open to changes that will improve the project) is letting go of complete creative control  😨
I can most certainly admit when something is better though, and I think if this can be done just right, it will be a huge improvement. I do have some initial concerns though — I can see flexbox being a huge improvement, but there are some slight issues with it, that for a detail oriented person like myself, may drive me a bit 🍌🍌🍌
For example (and you may not have noticed it on your screen — I don't see it in your screen shot anyway), the challenge names with longer titles affect the orientation of the icons (love this by the way, this + tooltip is excellent), which makes it awkward looking and inconsistent when taken as a whole:

Also, I get wanting to add a little room to breathe, but this feels less like that and more like not making use of available space:

I think I'd like to see this a bit closer to edge to edge, though I think the padding around the menu items themselves is definitely nice.
Other than that, I think overall this looks really great. What I might like to do is pull it down, play around with it a bit, and see if I can come up with something that we both agree is perfect. What do you think?
Before I do that though, could you do me a favor and add the following to the .gitignore file and update the pr? (just add another commit and push)
vs/*

This will prevent these files and binaries from being committed to the repo, but will leave them be in your local workspace:

As a final note, I want to add that, I hope you don't take any of this the wrong way or as undue criticism. I really appreciate the effort and your willingness to work on this! I don't mean to be difficult, but as you can imagine, I've poured quite a bit of time into this project, and do want to make sure I'm 100% happy with any changes. I think this is most of the way there, and love the direction it's going already! You seem to know CSS a bit better than I do, so if you have any ideas on how to fix the flexbox issue, I'm all ears, though I know you're a bit busy with school, so no worries either way!
Thanks again and let me know your thoughts.

I made some tweaks just with the browsers dev tools, and this is what I think I'd be leaning more towards:

and

Here are the only 2 tweaks I made:

To be honest, these 2 small changes address almost all of my concerns, there are a few other very slight details that I still might like to play around with, but these spacing issues were the 2 primary. I think it looks super awesome like this! Are you firm in thinking the other way is better? If so, I'm open to hearing it, because if there's a solid UI Design concept behind it or something, I'm open to reason.

Hey @no-stack-dub-sack, thanks for the detailed review!

have to admit, one of the most difficult things to swallow about open source (though I'm totally open to changes that will improve the project) is letting go of complete creative control  😨

Agreed 😆

For example (and you may not have noticed it on your screen — I don't see it in your screen shot anyway), the challenge names with longer titles affect the orientation of the icons (love this by the way, this + tooltip is excellent), which makes it awkward looking and inconsistent when taken as a whole:

Glad you like the icons! Yes, I did notice that at first, but then forgot about that. I was planning on fixing that when I made sure the whole thing looked fine < 500px for mobile screens. Like you mentioned later, it shouldn't be too big of an issue if you expand the menu width.

That being the case, I think I'd like to see this a bit closer to edge to edge, though I think the padding around the menu items themselves is definitely nice... I made some tweaks just with the browsers dev tools, and this is what I think I'd be leaning more towards... I think it looks super awesome like this! Are you firm in thinking the other way is better? If so, I'm open to hearing it, because if there's a solid UI Design concept behind it or something, I'm open to reason.

I think a little whitespace around the edges is good, but I see your point about having more room. I'll take a look at it again. I respect your opinion that 60% is a little low while the margins are a little high. After all, it's your project so it should look the way you like. I'll try to make it more like that and compromise, maybe 85-95% depending on the width. See how that goes 😄

Wonder if there's a way to style these? do they accept a className prop or style object that gets passed down to the underlying div or whatever it is under the hood I wonder? I'll have to check out the docs. Might be cool to style these to match the themes, or is that too much do you think? The stark white on black contrast is def really nice as it is.

I'll let you read the docs on that. The little bit I did there pushed the limits of my React capabilities 🤣. It was really cool though seeing it work. I'll have to go back to my React tutorials once I have more time. I think you should take care of that as I'm not sure I can...

As a final note, I want to add that, I hope you don't take any of this the wrong way or as undue criticism. I really appreciate the effort and your willingness to work on this! I don't mean to be difficult, but as you can imagine, I've poured quite a bit of time into this project, and do want to make sure I'm 100% happy with any changes. I think this is most of the way there, and love the direction it's going already! You seem to know CSS a bit better than I do, so if you have any ideas on how to fix the flexbox issue, I'm all ears, though I know you're busy with school, so no worries either way!

Of course not. I want you to be happy with it. I'll look at the flexbox thing again. My original thought was a media query, but I'll have to look into it more this weekend. Thanks for the help and ideas 💯

After thinking about this, the flexbox shouldn't be too difficult of a fix. I'll add a container for the buttons and tweak flexbox settings. Maybe might not even need a media query. I'll push some commits later with the gitignore and width modifications.

Ok, I made some changes.
Check it out: http://playground.isaacabrahamson.com/
I like it like this. There isn't as much space, and it is more like your original design. That said, there still is some whitespace on the edges, but I think there's only enough there to make the whole menu spacing look consistent on all sides.
I'll get to the flexbox here soon, just wanted to get that out of the way so you can clone and try it out yourself.

 I have no idea why it worked but it did.
Also had to tweak the max-width of the text because some of the longer words like "checkerboard" that wouldn't break to a new line were screwing up the icons.
Looks perfect up to about 270px. I have no idea why it would need to go any smaller than that... I'm guessing for mobile devices, you would have a hamburger button to pull the menu out full-width of the device. The smallest screen I can think of is at least 300px so everything should be fine there!
Give it a try locally, and tell me what you think! I hope you can get the solution buttons to work as I have no idea. 😢

Here is what an iphone 8 looks like without the scrollbars:
https://s18.postimg.org/phmj2xzwp/Picture1.png

As for your changes, this all sounds good! Let me take a closer look when I get home, getting a bit too distracted at work :smile:

Ok, let me know when your staging branch is ready. Just curious, can't you rollback the master to a previous commit?

Also, I don't need to make a new PR, I can edit this to staging at the top.

@IsaacAbrahamson

Just curious, can't you rollback the master to a previous commit?
Not always that simple, I wish it were. Once additional commits are made on top of that, it's get's more complicated. When it's just one PR, yes, you can revert that PR. To be honest, I haven't tried that too much, but I think it's safer not to start :-)

Also, I don't need to make a new PR, I can edit this to staging at the top.

True, but then the vscode files will still be committed as they are on your remote branch no matter what at this point. This is why I think fixing the .gitignore and pushing to a new remote branch will keep those files out of git on the remote branch you make a PR from.

@IsaacAbrahamson Ok, staging is now up to date with master if you want to create a new branch and redo the PR. I think .vs/** should do it in the gitignore. I don't use vscode, but .vs is a folder, right?

Looks pretty solid on an iphone, and the flexbox fix is great, works really well on all screen sizes like you said, funny how simple fixes can be sometimes!
I agree, too, that if ever optimized for mobile, the solution you mentioned would be best, so I don't think we really need to accommodate the full menu split panes on very small screens.
We can continue the convo on the new PR, but here's my thing with the top and bottom margins on the details elements:

When it's all closed up, we still have 3 different sized gaps between the different drawers. If we only use the top margin, then it's always consistent. I tend to think 10px is enough.
Here's where I'm feeling the sweet spot is. The white space around the menu edges is starting to grow on me, but I think a hint of it is enough to have the desired effect and not leave the eye wanting more. This is with a top margin of 10px on the details elements, no bottom margin, and 96% width on .sidebar--menu>details. What do you think?

Here's a couple of other things I've noticed that I don't want to forget so just tracking here:

.sidebar--menu--header { border-top: 2px solid black } rule needs to be removed (legacy from original styles)
If we go with only margin-top on details, the very first details will need a smaller top margin (to bring it closer to "contents"), and the very last one will need a bottom margin to move it away from bottom edge.
Apply a min-height to menu items (or just manually set height on "Sorting algos benchmarks" item which has a smaller heigh since no icons)

@IsaacAbrahamson Dude! This thread is getting a little long, but have to mention this!! I've been trying to figure out for forever what happened to bracket matching in the editor (like highlighting matching brackets). It worked at first and then all of a sudden it was gone. Not sure what you did, must have been some CSS rule that was overriding it, but, miraculously it works again!!! Yessssss

Closed in favor of https://github.com/no-stack-dub-sack/cs-playground-react/pull/55


Windows 10: integrated terminal cut off to the top

I am on latest insider and when I open the integrated terminal I see the top is being cut off:

Not happening in 1.4:

Duplicate #11184


Error on VIPR4

Dear
I met this error when running VIPR4 pipeline, please help me. This is the log file
root@vi-dengue:~# cat .nextflow.log
Sep-20 10:00:08.987 [main] DEBUG nextflow.cli.Launcher - $> /usr/local/bin/nextflow run vipr/ -params-file vi.yaml -profile docker
Sep-20 10:00:09.097 [main] INFO  nextflow.cli.CmdRun - N E X T F L O W  ~  version 0.31.1
Sep-20 10:00:09.591 [main] INFO  nextflow.cli.CmdRun - Launching `vipr/main.nf` [nice_hoover] - revision: 26fe4451e5
Sep-20 10:00:09.605 [main] DEBUG nextflow.config.ConfigBuilder - Found config base: /home/vi/vipr/nextflow.config
Sep-20 10:00:09.606 [main] DEBUG nextflow.config.ConfigBuilder - Parsing config file: /home/vi/vipr/nextflow.config
Sep-20 10:00:09.613 [main] DEBUG nextflow.config.ConfigBuilder - Applying config profile: `docker`
Sep-20 10:00:09.687 [main] DEBUG nextflow.config.ConfigBuilder - Available config profiles: [standard, gis, conda, awsbatch, singularity, docker]
Sep-20 10:00:09.755 [main] DEBUG nextflow.Session - Session uuid: 40df97f6-a0ea-4127-a041-2b75d8ffbe9c
Sep-20 10:00:09.755 [main] DEBUG nextflow.Session - Run name: nice_hoover
Sep-20 10:00:09.756 [main] DEBUG nextflow.Session - Executor pool size: 5
Sep-20 10:00:09.939 [main] DEBUG nextflow.cli.CmdRun -
  Version: 0.31.1 build 4886
  Modified: 07-08-2018 15:53 UTC
  System: Linux 4.4.0-133-generic
  Runtime: Groovy 2.4.15 on Java HotSpot(TM) 64-Bit Server VM 1.8.0_181-b13
  Encoding: UTF-8 (UTF-8)
  Process: 1620@localhost null
  CPUs: 5 - Mem: 15.3 GB (383.4 MB) - Swap: 31.2 GB (31.2 GB)
Sep-20 10:00:09.964 [main] DEBUG nextflow.Session - Work-dir: /home/vi/work [ext2/ext3]
Sep-20 10:00:09.964 [main] DEBUG nextflow.Session - Script base path does not exist or is not a directory: /home/vi/vipr/bin
Sep-20 10:00:10.229 [main] DEBUG nextflow.Session - Session start invoked
Sep-20 10:00:10.233 [main] DEBUG nextflow.processor.TaskDispatcher - Dispatcher > start
Sep-20 10:00:10.233 [main] DEBUG nextflow.trace.TraceFileObserver - Flow starting -- trace file: /home/vi/results/pipeline_info/nfcore-vipr_trace.txt
Sep-20 10:00:10.238 [main] DEBUG nextflow.script.ScriptRunner - > Script parsing
Sep-20 10:00:10.283 [main] DEBUG nextflow.Session - Session aborted -- Cause: startup failed:
_nf_script_1396a082: 94: unexpected token: } @ line 94, column 1.
}
^

1 error

Sep-20 10:00:10.296 [main] ERROR nextflow.cli.Launcher - startup failed:
_nf_script_1396a082: 94: unexpected token: } @ line 94, column 1.
}
^

1 error

@apeltzer - looks like your AWS batch code could be broken?
https://github.com/nf-core/vipr/blob/5dd7e163c66b9c124939bc624391eaab6b424118/main.nf#L91-L94

Thats not mine - the one I added to some pipelines is found here in Vipr:
https://github.com/nf-core/vipr/blob/5dd7e163c66b9c124939bc624391eaab6b424118/main.nf#L54-L59

Git blame would beg to differ 😉 https://github.com/nf-core/vipr/commit/7ec2297a2774d92bbea23048593fc38204dfa130#diff-28b7bea57b04f15beeb4c1de0ee78382R93

Hi @ewels - With the new code, I ran over that error. But I met another error. I will create a new issue for that error.
Thanks,
Kien

Great, thanks! 👍


MapBrowserPointerEvent not in api docs

For example, http://openlayers.org/en/master/apidoc/ol.interaction.ModifyEvent.html points to http://openlayers.org/en/master/apidoc/ol.MapBrowserPointerEvent.html, but this page does not exist.
Am I right in thinking that oli.MapBrowserPointerEvent needs to be added to externs/oli.js and that ol.MapBrowserPointerEvent needs to implement it?

Am I right in thinking that oli.MapBrowserPointerEvent needs to be added to externs/oli.js and that ol.MapBrowserPointerEvent needs to implement it?

Yes, that should fix the problem.

ok, PR coming up

no, this doesn't fix the problem. I also added an @classdesc and that doesn't fix the problem either. Is it because ol.MapBrowserPointerEvent doesn't export anything, other than what it inherits from ol.MapBrowserEvent, so does it need an @inheritDoc - if so, where?

Not directly related to what you're trying to do, but this should really be called ol.PointerEvent.  The MapBrowser part is so weird.

and should there be @fires for those objects which fire this event?

https://github.com/openlayers/ol3/compare/master...probins:mbpe is what I've changed.

@probins I'll try to find some time to look into this later today.

this should really be called ol.PointerEvent

we already have ol.pointer.PointerEvent. Personally, I've always preferred the suggestion way back in #2334

@ahocevar did you find some time to look into this?

Not yet unfortunately @probins. But I still have the ticket open in an extra tab in my browser, so it's on my radar.

Ok, ol.MapBrowserPointerEvent does not export anything beyond what ol.MapBrowserEvent expiorts, so I think it makes sense to remove this property in favour of the underlying ol.MapBrowserEvent. See #5414.


Add the square root of not gate

The goal is to keep the standard gate set to a minimum focusing on the suite of gates defined in Quil: http://docs.rigetti.com/en/stable/apidocs/gates.html


Remove unnecessary BIO_do_handshake()s

Since BIO_do_connect() and BIO_do_handshake() are same, no need to invoke BIO_do_handshake() once more after BIO_do_connect().
Checklist

[x] documentation is added or updated
[ ] tests are added or updated

This pull request is ready to merge

Merged to master and 1.1.1 branch. Thank you for the contribution!


x/tools/gopls: missing complete entry when using gopls 0.12.0

gopls version
golang.org/x/tools/gopls v0.12.0
<EMAIL_ADDRESS>h1:O8KGdGuvu3YmAwim3KYmV2l20Cce5VMS74LayO2cDw8=

go env

GO111MODULE="on"
GOARCH="amd64"
GOBIN="/Users/bingjia.chen/go/bin"
GOCACHE="/Users/bingjia.chen/Library/Caches/go-build"
GOENV="/Users/bingjia.chen/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/bingjia.chen/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/bingjia.chen/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.19.9"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/cn/yf347khx1k1fh7ctyx6sdjgm0000gy/T/go-build9472372=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?

After upgrading the gopls from 0.10.0 to 0.12.0, I found that when I  trigger the completion for a struct with a lof of fields and methods, some of the fields/methods in the completion entry list were missing. However after I downgrade the gopls to 0.10.0, I can see the whole completion entry list again.
What did you expect to see?
Completion list contains all the fields and methods of a struct variable.
What did you see instead?
Some of the fields/methods in the completion entry list were missing
Editor and settings

Editor: nvim v0.9.1
Pluigins:ray-x/go.nvim
Lsp Config:
  lsp_cfg = {
    capabilities = require('cmp_nvim_lsp').default_capabilities(),
    handlers = handlers,
    settings = {
      gopls = {
        directoryFilters = {
          "-**/protobuf/go/",
          "-protobuf/go",
        },
        analyses = {
          shadow = false,
        }
      }
    }
  },

Logs

I think it has something do with the error "re-parsing: context deadline exceeded", because I can see this log when I am using goplsv0.10.0
[ERROR][2023-06-16 11:25:17] ...lsp/handlers.lua:535	"2023/06/16 11:25:17 no signature help: cannot find an enclosing function\n\tposition=1149:0\n"
[ERROR][2023-06-16 11:25:17] ...lsp/handlers.lua:535	"2023/06/16 11:25:17 no signature help: cannot find an enclosing function\n\tposition=1086:0\n"
[ERROR][2023-06-16 11:25:17] ...lsp/handlers.lua:535	"2023/06/16 11:25:17 no signature help: cannot find an enclosing function\n\tposition=939:0\n"
[ERROR][2023-06-16 11:25:17] ...lsp/handlers.lua:535	"2023/06/16 11:25:17 no signature help: cannot find an enclosing function\n\tposition=939:0\n"
[ERROR][2023-06-16 11:25:18] ...lsp/handlers.lua:535	"2023/06/16 11:25:18 no signature help: cannot find an enclosing function\n\tposition=933:0\n"
[ERROR][2023-06-16 11:25:20] ...lsp/handlers.lua:535	"2023/06/16 11:25:20 no signature help: cannot find an enclosing function\n\tposition=909:15\n"
[ERROR][2023-06-16 11:25:21] ...lsp/handlers.lua:535	"2023/06/16 11:25:21 no signature help: cannot find an enclosing function\n\tposition=909:33\n"
[ERROR][2023-06-16 11:25:24] ...lsp/handlers.lua:535	"2023/06/16 11:25:24 no signature help: cannot find an enclosing function\n\tposition=909:30\n"
[ERROR][2023-06-16 11:25:25] ...lsp/handlers.lua:535	'2023/06/16 11:25:25 failed to find Hover for "NotiCaseCenterStatus": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:25] ...lsp/handlers.lua:535	'2023/06/16 11:25:25 failed to find Hover for "DeleteKycInfoTags": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:26] ...lsp/handlers.lua:535	"2023/06/16 11:25:26 no signature help: cannot find an enclosing function\n\tposition=909:15\n"
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "BucketSeperator": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "AcceptableDataSource": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "DsApiType": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "APINameQueryKycFieldResult": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "DefaultAMLRequestBuilder": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "DsApiTab": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "DsApiTypeSet": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "ErrOutboxConfigNotFound": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "ErrOutboxDBError": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "DsApiTypeSelfieAs": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "DsApiTypeOcr": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "IDAMLRequestBuilder": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "ErrRequestExpired": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "IDWallRetryError": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycAmlService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "ErrApiCacheNotSupported": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycCreditServiceImpl": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycDsService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycAppVersionControlService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "DsApiTypeFaceMatch": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "DsApiTypeIcAs": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "DsApiTypeOne2NFaceMatch": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycExpiryService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycLivenessService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "ErrBusinessUnauthorized": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "IdWallDAOFunc": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "IDWallService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycOutboxJobExecutor": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "Kyc3PartService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KYCAddressBookService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycConfigService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycCacheService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycCreditService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycGovernmentDomainService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycExtraLogicService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycFcstService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycLevelAndVersionService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycInfoService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	'2023/06/16 11:25:31 failed to find Hover for "KycOcrService": re-parsing: context deadline exceeded\n'
[ERROR][2023-06-16 11:25:31] ...lsp/handlers.lua:535	"2023/06/16 11:25:31 no signature help: cannot find an enclosing function\n\tposition=909:17\n"
[ERROR][2023-06-16 11:26:05] ...lsp/handlers.lua:535	"2023/06/16 11:26:05 no signature help: cannot find an enclosing function\n\tposition=0:0\n"
[ERROR][2023-06-16 11:26:05] ...lsp/handlers.lua:535	"2023/06/16 11:26:05 no signature help: cannot find an enclosing function\n\tposition=0:0\n"
[ERROR][2023-06-16 11:26:11] ...lsp/handlers.lua:535	"2023/06/16 11:26:11 no signature help: cannot find an enclosing function\n\tposition=909:15\n"
[ERROR][2023-06-16 11:26:12] ...lsp/handlers.lua:535	"2023/06/16 11:26:12 no signature help: cannot find an enclosing function\n\tposition=909:0\n"

Thanks for the report. I believe this was fixed by https://go.dev/cl/503016.
If possible, could you install gopls@master and confirm?
git clone https://go.googlesource.com/tools
cd tools/gopls
go install

Closing as a dupe of #53992.

Thanks for the report. I believe this was fixed by https://go.dev/cl/503016.
If possible, could you install gopls@master and confirm?
git clone https://go.googlesource.com/tools
cd tools/gopls
go install

looks good to me, thanks for replying.


Question: Does SignalR support regular Sockets?

I want to use SignalR for a cross-platform game and prefer using regular sockets for desktop and mobile. Is it possible to use regular sockets, and, if so, can it be used concurrently with web sockets for browser players? We do this for a current game project, but are considering using SignalR for our next project.

cc @bradygaster
What's the end goal?

We've found regular TCP sockets to be leaner and faster so prefer users to this on desktop and mobile.

Take a look at #5284 and if that and the samples @davidfowl provided are enough for your scenario. Thanks!

@snarlynarwhal Server side works well today but we haven't shipped any APIs for the client side. There's a sample checked in for the client (it was designed but we haven'ts shipped it)

Okay thank you for that link, I'll play with the sample over the weekend, but at first glance this appears to be what we're looking for!

If my understanding is correct this is exactly what i am looking for also. the ability to create a scalable TCP server to handle high volume concurrent connections. Is there any documentation or is anyone thinking of doing a POC on a azure hosted signalR app and if not would anyone be able to suggest potential concurrent connection volumes for a signal R app ? (without the usual "depends on server hardware" response) Thanks


TypeError in HEAD /

Error in ClashLeaders
TypeError in HEAD /
unsupported format string passed to NoneType.format
View on Bugsnag
Stacktrace
clashleaders/templates/leaderboard.html:8 - template
clashleaders/templates/index.html:56 - block "body"
clashleaders/templates/layout.html:157 - top-level template code
clashleaders/templates/index.html:2 - top-level template code
clashleaders/views/index.py:32 - index

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
TypeError in GET /


Transfer this repo to date-io

As you know that we moved all utils to date-io to expose utils architecture to other project.

https://github.com/dmtrKovalenko/date-io


Separate host and port, so counter_logger works properly

When running in a local environment, if the host and port are together, any time a landing page is viewed, the counter_logger will throw URI::InvalidComponentError: bad component(expected host component): localhost:3000. Separating them allows counter_logger to access the host separately and avoid the error.

@sfisher updated


Minor buildName() fixes

Don't double-check parent for existance
Throw on keyval = 0 && keyname specified (unreachable safeguard)

Should fix these alerts: https://lgtm.com/projects/g/ExodusMovement/schemasafe/?mode=list


first version causal irl

Codecov Report
Attention: Patch coverage is 82.00000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 95.12%. Comparing base (a5f0f07) to head (d7a4ed3).

Files
Patch %
Lines

domainlab/algos/trainers/train_causIRL.py
81.25%
9 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #864      +/-   ##
==========================================
- Coverage   95.25%   95.12%   -0.13%
==========================================
  Files         130      131       +1
  Lines        5163     5213      +50
==========================================
+ Hits         4918     4959      +41
- Misses        245      254       +9

Flag
Coverage Δ

unittests
95.12% <82.00%> (-0.13%)
:arrow_down:

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

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


Revamp the expressions/paths

Remove the concept of boolean expressions (everything is an expression now)
Remove var_or_param
Add Path for when we reallllly want the path to something rather than an expression
Dot calls (a.b), array indexing (a[b]) and functions calls (a(b)) are now part of the expression AST

(don't merge this now)

LGTM


Pre Alpha 1.3 Checklist

This is a checklist for Alpha 1.3

[x]  Add a dimensions property. So, those regions/chunks can be stored in dimensions.
[x]  Add ways to work with dimensions for queues and world generation.
[x]  Make water flow run light updates when flowing and removing.
[x]  Make sure that the 45-degree angle UV textures work when flipped for smooth lighting on the water mesh.
[x] Condense chunk data into a single array buffer.
[x] Separate voxel ids and light values into separate parts of the buffer.
[x] Create a ChunkReader object that can be used in all threads to read chunk data.
[x] Create an array buffer world columns with data related to its states and so on.
[x] Make sure that the voxel engine can run headless on a server.
[x] Make sure that multi-threaded world generation works.
[x] Update saving data to work with the new type of chunk data.
[x] Implement chunk states as well as a header part of the array buffer.
[ ] Fix server example.

I am closing th is out now. Going to release the update anyway.


Enable energy test

Re-enables the skipped 'energy' sankey test; this requires updating some of the test expectations.
Revives #86.

Closing some old/stale pull requests.


Identify obsolete/undefined Editor and Project settings visually

Godot version:
Master, 4547e223
OS/device including version:
Any
Issue description:
Currently when we rename editor or project settings in a given version, users upgrading from the previous version will still see those obsolete properties in their editor/project settings if they were saved in their editor_settings-3.tres/project.godot.

The same issue arises when using a non-Mono build after using a Mono build, where Mono-specific properties will be exposed in the editor settings.
Such properties are not identified as obsolete nor custom for now, the only hint you have is that there is a revert button and that reverting them makes them disappear (!).
I suggest to identify them visually, maybe by having them in italics, and/or with a warning popup (similar to node configuration warnings) that tells that they are either no more applicable settings from an other version of Godot, or user-defined settings.

Maybe greying them out? That often means something doesn't apply anymore.

A button to clear such properties would be very useful too.

@DualMatrix Grayed text is used for project settings that only apply to specific feature tags, so we should use something else to distinguish them instead. Maybe use the yellow warning color?

Could these properties just not be visible at all in the settings screen even if they are still saved in the file for convenience when switching between different versions of the executable (like in the mono case)?
IMO it can only make it confusing to have them at all in the list, even if they are shown with a different style.
Maybe a "Revert all settings to default" option in both project settings and editor settings could be useful for cleanup, but I don't even know if it's even necessary to solve this issue. There aren't so many of them to cause any problem with disk usage.
Also as @Calinou mentioned in https://github.com/godotengine/godot/pull/39207#discussion_r433141949 there's currently no revert button on these properties (at least for editor settings).

I'm not sure how we can effectively distinguish custom project/editor settings from obsolete project/editor settings. We could require all custom project/editor settings to be added to a dedicated section, but this would make the organization less flexible and would be a breaking change (therefore only suitable for 4.0). The custom section would never be considered to contain obsolete settings, but any setting outside this category would be considered obsolete if it doesn't have a "revert" value defined.

@Calinou Maybe the engine could keep an internal list of the deprecated properties. That way when a supposed custom property matches one item on the list it could be marked someway as deprecated, maybe even moving the deprecated properties to a dedicated section.


Add --quote-never flag to fmt subcommand.

Thank you @BurntSushi for this great tool! This PR should solve #107, I too needed to output some data without quotes.

Thanks @niladic, I too need this much needed feature.


Can we support xfix?

Can we support the command cargo fix in tool? Thanks!

Sure! I'd be happy to merge a PR for this.
See https://github.com/rust-osdev/cargo-xbuild/pull/12 for an example on how to add a new command.

Implemented in https://github.com/rust-osdev/cargo-xbuild/pull/64.


isActive.image() always return false

I want to hide certain items on menu-bubble when an image is selected.
Because we have no reason to Italic an image.
But isActive.image() seems always return false.
Am I missing something?

Try to get the selected node's name, like 'text', 'cell', or 'image' that you can use to hide or show menu items dynamically.

I think that a better way to implement the context menu for image node is to use NodeView (Vue Component) that will enable you to handle more complex things, like resizing, adding image title and so on.

Thanks for the hint!


remotecontrol: get Song Information

Hello,
i try to make an remote control addon for kodi/rpi2.
Is there an easy way to get the Song-Information/Albumcover.
Because "requests" doesn't support javascript and so i can't get the Infromation from the webinterface.
( play, pause... should work with "YOURIP:4000/api/playback/play " (#32))
edit.: i found sth. at "/api/info/metadata" with the "Pyinstaller Test Release 0.0.3"

HI @noemu, I'm very interested on this one. Please keep us posted about any progress you make :)
Is there anywhere we can follow this development? Thanks!

try: https://github.com/noemu/script.example-master ;)


Limited Web (Wasm through js_sys) layer for code reuse ?

Hi,
I was wondering if there was a way to reuse code written with this lib in a frontend wasm project, obviously not all features, but maybe a subset.

I've been using a fork of this project compiled to WASM and running it inside Deno for a couple weeks now: [https://github.com/evan-brass/webrtc-deno]. Specifically I'm using the SCTP crate (which depends on Util), and I've tried using the DataChannel crate.  Some of the other crates compile, but I don't really know which of them actually work.
I made some ugly patches to get it to work for my use case:

Removing Send and Sync from all the async stuff
Switching all the tokio::spawn() to be wasm_bindgen_futures::spawn()
Adding a mock SystemTime that uses js_sys instead of tokio::SystemTime
Mock UDPSocket that wraps around Deno's tcp/udp sockets
Eventually I intend to use Mbedtls to replace RusTLS: https://github.com/evan-brass/Mbedtls.js-sys/tree/please-rust-please
More stuff that I forgot..

Which pieces were you wanting to use?
If you have any questions about mixing webrtc-rs and wasm, I might be able to help.

You can't open sockets like you want inside a browser, you are forced to use the Webrtc API through JS, so it requires two codebases for the client and the server.  i was wondering if there is a project that allows writing for both at the same time. Essentially the server behaves like an additional peer, with a few extra features so having the same codebase would be advantageous.

I'm not aware of a crate that provides a common interface and wraps over webrtc-rs and web_sys::RtcPeerConnection, but I also haven't looked.  Maybe one of the maintainers knows of one?

There's been previous discussions to this effect in Discord. As you identify we cannot run via WASM in the browser since direct socket access is not possible, but Pion implements a WASM shim that allows using Pion and the browser WebRTC API transparently(What @evan-brass suggests). We should be able to port this over from Pion.
The various files named *_js.go in pion/webrtc are worth reviewing for inspiration

Not sure how related to this issue it is, but how do-able would it be to have at least the types be supported under wasm32 without having to shadow them? The specific types needed would be RTCSessionDescription, RTCIceCandidateInit and RTCIceServer


Without Hardware Acceleration -> FPS too low

Version
v2000.1
What browsers are you seeing the problem on?
Chrome, Other
What happened?
Without hardware acceleration, I am getting around 9-14 FPS which makes the game extremely laggy. When hardware acceleration is on, I get around 60 FPS which is good. The game is a super simple one - a character that moves left, right or jumps.
What's the expected behavior?
FPS should be higher or game should not appear too laggy when hardware acceleration is off.
Minimum reproducable code
No response
Live demo
No response
Is there an existing issue for this?

[X] I've searched and there is no existing issue for this bug

What code are you running? Kaboom does only use WebGL for rendering which is supposed to be run on GPU, performance diff is expected

Closed due to no response


Updated api to create new opportunity

Description
Updated API in all sections of the post opportunity and code refactoring.
Fixed #229
Type of change
Please check options that are relevant to your PR.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Checklist:

[x] I have pulled the latest changes in the repository
[x] I have squashed my commits
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

@vaishali614  @Manvityagi  Please review my PR.

@vaishali614 @Manvityagi Please review my PR. Also, there is no field for opportunityImage in the mongoose schema but the form section has the state property for the image. Should I remove it from the frontend part or simply open an issue in the backend repository to update the opportunity schema.

Please open an issue in backend repo. Other than that, your changes look good. When the field for image is added, please update your PR. Also, do take the latest pull from upstream before you update your PR.

@vaishali614 @Manvityagi Please review my PR. Also, there is no field for opportunityImage in the mongoose schema but the form section has the state property for the image. Should I remove it from the frontend part or simply open an issue in the backend repository to update the opportunity schema.

https://github.com/Girl-Code-It/Opportunity-Calendar-Backend/issues/65
Have opened the issue in backend for the same

@vaishali614 @Manvityagi Please review my PR. Also, there is no field for opportunityImage in the mongoose schema but the form section has the state property for the image. Should I remove it from the frontend part or simply open an issue in the backend repository to update the opportunity schema.

Girl-Code-It/Opportunity-Calendar-Backend#65
Have opened the issue in backend for the same

Thank you, Will update this PR as soon as that PR will be merged, till the time I am keeping it as a draft PR.

@vaishali614 @Manvityagi Please review my PR. Also, there is no field for opportunityImage in the mongoose schema but the form section has the state property for the image. Should I remove it from the frontend part or simply open an issue in the backend repository to update the opportunity schema.

Girl-Code-It/Opportunity-Calendar-Backend#65
Have opened the issue in backend for the same

Thank you, Will update this PR as soon as that PR will be merged, till the time I am keeping it as a draft PR.

Sounds good 👍

@vaishali614  @Manvityagi  I have updated for image URL please review.

@vaishali614 @Manvityagi I have updated for image URL please review.

I can't post an opportunity.

@vaishali614 @Manvityagi I have updated for image URL please review.

@Samridhi-98 I can't post an opportunity.

CC: @Manvityagi

@vaishali614 I am not sure but there is some error at the backend while testing the URL I am not able to retrieve anything, got this error message please let me know how can I fix this.
Screenshot

@vaishali614 @Manvityagi I have updated for image URL please review.

@Samridhi-98 I can't post an opportunity.

CC: @Manvityagi

@vaishali614 I am not sure but there is some error at the backend while testing the URL I am not able to retrieve anything, got this error message please let me know how can I fix this.
Screenshot

It should be working now, Please check

@vaishali614 @Manvityagi I have updated for image URL please review.

@Samridhi-98 I can't post an opportunity.

CC: @Manvityagi

@vaishali614 I am not sure but there is some error at the backend while testing the URL I am not able to retrieve anything, got this error message please let me know how can I fix this.
Screenshot

It should be working now, Please check

Yes, It's working.

@Samridhi-98 The changes look perfect. But, we've added two more fields in the schema: opportunityType, onlyForFemale.
Since you've been working on the opportunity form, can you add a dropdown for opportunityType with values JOB, INTERNSHIP, HACKATHON, SCHOLARSHIP, CONFERENCE, CODINGCOMPETITION and a toggle button for onlyForFemale in the form for these two fields?
Apart from this, everything looks good.

@Samridhi-98 The changes look perfect. But, we've added two more fields in the schema: opportunityType, onlyForFemale.
Since you've been working on the opportunity form, can you add a dropdown for opportunityType with values JOB, INTERNSHIP, HACKATHON, SCHOLARSHIP, CONFERENCE, CODINGCOMPETITION and a toggle button for onlyForFemale in the form for these two fields?
Apart from this, everything looks good.
You can refer to the Swagger Doc here

I think we can increase the level of this issue from 2 to 3, if you want to take this added task.

@Samridhi-98 The changes look perfect. But, we've added two more fields in the schema: opportunityType, onlyForFemale.
Since you've been working on the opportunity form, can you add a dropdown for opportunityType with values JOB, INTERNSHIP, HACKATHON, SCHOLARSHIP, CONFERENCE, CODINGCOMPETITION and a toggle button for onlyForFemale in the form for these two fields?
Apart from this, everything looks good.
You can refer to the Swagger Doc here

Sure, I will add it.

@vaishali614 Do I need to add a dropdown for opportunityType in each form, Since each and every opportunity type has its own separate form so it's pointless to add opportunityType dropdown.

@vaishali614 Do I need to add a dropdown for opportunityType in each form, Since each and every opportunity type has its own separate form so it's pointless to add opportunityType dropdown.

Yeah I agree with you, but we're planning to reduce 6 forms into 1 form, so we'll need the dropdown. But for now, we need this dropdown in each form.

@vaishali614 Do I need to add a dropdown for opportunityType in each form, Since each and every opportunity type has its own separate form so it's pointless to add opportunityType dropdown.

Yeah I agree with you, that's why we're planning to reduce 6 forms into 1 form, so we'll need the dropdown. But for now, just add this dropdown in each form.

Okay.

@vaishali614  @Manvityagi  Please review.

You are using the same ID twice on the same page
There's some error on your end while making request. Please check.


onboarding is broken see video here

i thought we had regression tests for this..?
https://github.com/user-attachments/assets/8fdd82a6-2175-41a6-80c3-7953ca29871a

Fixed by https://github.com/KittyCAD/modeling-app/pull/3151


Updated autoreply on stale issues

Autoreply thanked for contributing to bicep, removed the ref to bicep.

Thanks for fixing this!


[SPARK-12404] [SQL] Ensure objects passed to StaticInvoke is Serializable

Now StaticInvoke receives Any as a object and StaticInvoke can be serialized but sometimes the object passed is not serializable.
For example, following code raises Exception because RowEncoder#extractorsFor invoked indirectly makes StaticInvoke.
case class TimestampContainer(timestamp: java.sql.Timestamp)
val rdd = sc.parallelize(1 to 2).map(_ => TimestampContainer(System.currentTimeMillis))
val df = rdd.toDF
val ds = df.as[TimestampContainer]
val rdd2 = ds.rdd                                 <----------------- invokes extractorsFor indirectory

I'll add test cases.

Test build #47922 has started for PR 10357 at commit ae7fdc1.

Test build #47922 has finished for PR 10357 at commit ae7fdc1.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47922/
Test FAILed.

retest this please.

Test build #47923 has started for PR 10357 at commit ae7fdc1.

Test build #47923 has finished for PR 10357 at commit ae7fdc1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47923/
Test PASSed.

@sarutak thank you for sending this PR.
@marmbrus @rxin  could you review it? I think this is a little big issue. We should fix it before releasing Spark 1.6.

Regression test please, for any patch that includes a bug fix.

So we can avoid delay cutting RC4, I've opened #10360 with tests added.

Test build #47947 has started for PR 10357 at commit d485a95.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47946/
Test FAILed.

Test build #47947 has finished for PR 10357 at commit d485a95.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47947/
Test FAILed.

Test build #47948 has started for PR 10357 at commit 39a536a.

Test build #47948 has finished for PR 10357 at commit 39a536a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47948/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47952/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47953/
Test FAILed.

Test build #47954 has started for PR 10357 at commit f81852d.

Test build #47954 has finished for PR 10357 at commit f81852d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47954/
Test PASSed.

Thanks, merging to master and 1.6


delete all chars with backspace (empty string) doesn't remove token

When you're editing token and remove all characters with backspace and press submit form, the removed token is sent as well
fe. 1) tokens: red green blue
2) remove blue
3) tokens: red green
4) submit form, input.val() == 'red green blue'
I would like to remove token by deleting all characters (not by clicking 'x'). Does anyone know some hacks to achieve this?
to test: http://jsfiddle.net/rns3hang/2/

+1

+1


Function for getting uncompressed file size

I assume that, if the block offsets have been calculated, it's very fast to get the total number of bytes in a bzip2 file, using e.g. file.seek(0, 2); file.tell()? Is this the fastest way to get the compressed number of bytes, and might it be useful to provide a method to the IndexedBzip2File class that returns the uncompressed size?

Python's IOBase interface does not seem to have a simple size method. The seek+tell combo should be fast. At least it won't try to decode the last block or such things. It recognizes that you want to seek after the last byte and then simply returns the size. Note that you therefore won't even need tell, you can simply do size = file.seek( 0, io.SEEK_END ). This is also defined in Python's IOBase's seek:

Return the new absolute position as an opaque number.

I might add a size method for convenience anyways. The C++ side already has such a method.

The seek+tell combo should be fast. At least it won't try to decode the last block or such things. It recognizes that you want to seek after the last byte and then simply [returns the size]

Out of interest, does it the reset the position to what it was originally?

I might add a size method for convenience anyways. The C++ side already has such a method.

I guess it's the positional reset that would be handy here too.

The seek+tell combo should be fast. At least it won't try to decode the last block or such things. It recognizes that you want to seek after the last byte and then simply [returns the size]

Out of interest, does it the reset the position to what it was originally?

Not it doesn't. That side-effect of actually seeking would be the biggest argument to introduce a size method, which actually leaves the file object unchanged. Seeking back to the original position would not be fast anymore because one block will have to be decoded partially.

I added a size function. Note that it can throw an exception if the block offsets have not been completed yet.


refactor(Topology/Algebra/Module/WeakDual): Clean up

Move Dual and dualPairing lower in the import-hierachy
deduplicate dualPairing
Bundle continuity statements to CLMs.
Make WeakDual and WeakSpace reducible
Remove refine' in favor of refine

Cleaning up Analysis/NormedSpace/WeakDual will be done in a second PR

If WeakSpace and WeakDual are not reducible, then we have to copy all the instances again making the general type synonym somewhat useless.


version

I have tried several versions of Transformers, but none of them work. May I ask what version of Torch and Transformers the blogger has installed

I have tried several version of transforme The most popular entertaining free online app Freecine apk  has been downloaded by millions of people all over the world especially most liked in Brazil and Angola.   https://www.freecineak.com/


Android Bundle name is not updated

Versione 3.2.14, the bundlename in android files is not updated
This is the command and the output
PS C:\Users\fff\git\YouCoachApp2\youcoach-app> npx react-native-rename@latest "newname" -b "com.newbundle2"
ios\ffbc2 NOT RENAMED
ios\ffbc2\ffbc2.entitlements NOT RENAMED
ios\ffbc2\ffbc2Release.entitlements NOT RENAMED
ios\ffbc2-tvOS NOT RENAMED
ios\ffbc2-tvOSTests NOT RENAMED
ios\ffbc2.xcworkspace NOT RENAMED
ios\ffbc2Tests NOT RENAMED
ios\ffbc2Tests\ffbc2Tests.m NOT RENAMED
ios\ffbc2.xcodeproj NOT RENAMED
ios\ffbc2.xcodeproj\xcshareddata\xcschemes\ffbc2-tvOS.xcscheme NOT RENAMED
ios\ffbc2.xcodeproj\xcshareddata\xcschemes\ffbc2.xcscheme NOT RENAMED
ios\ffbc2-Bridging-Header.h NOT RENAMED
android\app\src\main\res\values\strings.xml UPDATED
Done removing builds.
SUCCESS! 🎉 🎉 🎉 Your app has been renamed to "newname".

The same result, after change name i cant run my app cuz its has the diferent bundle name

I had the same error with version 3.2.14, it only updated the iOS dependencies but not the Android ones, install version 3.2.13 and it was perfect

I had the same error with version 3.2.14, it only updated the iOS dependencies but not the Android ones, install version 3.2.13 and it was perfect

same thing here, not working


Move audit refs from Observation to UserObservation

moved audit_id db column and audit relationship from Observation to UserObservation

adding cascade='delete' param to UserObservation.audit relationship

migration for column move

on upgrade, sets each UserObservation.audit_id to the removed Observation.audit_id value of the UserObservation.observation
on downgrade, sets each Observation.audit_id to the removed audit_id value of the last UserObservation to reference that Observation; then, creates a new audit entry for any Observation still lacking an audit_id value

moved any audit=audit param refs in Observation initializations to their corresponding UserObservation initializations
removed special Observation audit logic from purge_user() (now properly handled via delete cascades)
updated tests

Hello @OptimusRhine! Thanks for submitting the PR.

In the file portal/migrations/versions/38cfbd643c73_.py, following are the PEP8 issues :

Line 13:1: E402 module level import not at top of file
Line 14:1: E402 module level import not at top of file
Line 15:1: E402 module level import not at top of file
Line 17:1: E402 module level import not at top of file
Line 18:1: E402 module level import not at top of file
Line 19:1: E402 module level import not at top of file
Line 37:101: E501 line too long (113 > 100 characters)
Line 54:101: E501 line too long (102 > 100 characters)
Line 59:101: E501 line too long (106 > 100 characters)
Line 60:101: E501 line too long (103 > 100 characters)
Line 69:101: E501 line too long (103 > 100 characters)
Line 70:101: E501 line too long (103 > 100 characters)
Line 71:101: E501 line too long (104 > 100 characters)

In the file tests/test_clinical.py, following are the PEP8 issues :

Line 42:33: E128 continuation line under-indented for visual indent


Must Vienna use the discrete GPU?

Older MacBook Pro models, those with two GPUs (discrete & internal, i.e in my case NVIDIA and Intel GPUs), often suffer from panics of the discrete GPU , which results in an immediate reboot in El Capitan. (Hardware repairs sometimes work, sometimes they don't, as in my case.) Some applications try to force-use the discrete card, which I can understand if they're graphics heavy, like Living Earth Desktop etc. I can override their behavior by switching to internal graphics card only (using gfxCardStatus). But when I manually switch to discrete GPU, then these apps (naturally) start using the discrete GPU immediately, but this also means I can't switch back to the internal GPU, because the discrete GPU is now in use. So I have to quit all those applications, then switch to internal GPU, then relaunch the applications. As I said, I can understand that apps with a graphics-heavy GUI try to force the discrete GPU, but why does Vienna do that? I know, I'm using outdated hardware, moreover hardware that isn't functioning properly anymore, but is it really necessary that Vienna tries to force-use the discrete GPU instead of the internal GPU?

This could be of help: https://developer.apple.com/library/mac/qa/qa1734/_index.html

@JayBrown we already have that enabled and on my 2011 MBP it stays on Integrated graphics instead of going to discrete. I wonder what is causing it.

Vienna supports automatic graphics switching for a long time now. Cf issue #102.
Alas, it is a well known fact that there is an issue with some older Macbooks (notably, 2009 and before models) and third party developers can do little to circumvent it.


Default upload of scan results should be opt-in

I want to preface this issue as, I think kubescape is a pretty nice and nifty tool. It's especially useful for finding misconfigurations in k8s clusters, pods, containers, etc. But, I also want to say that --results-locally should not be opt-in. If you want to provide a consulting tool that people can use as a pipeline for professional services, fine, but do not mask the tool behind such behavior after the fact.
Every single person that executes this tool with kubescape scan framework nsa effectively uploads all their cluster vulnerabilities and issues to ARMO. The fact that someone has to open an issue with a poor default makes me question the actual motivations and desires of ARMO.
The default of this tool being opt-in should be a lesson to anyone using this tool and any other future open source tools that scan systems for security.

@withernet  and @levsha, Thank you for your feedback.
Your concern is well understood and there is no point for me to repeat @chmod-777-shauli response regarding our motive and liability.
I just wanted to point out we do not send all the cluster data, for unsigned users, Kubescape sends only the basic metadata The rest of the data is removed before it is reported.
This still might be a concern for some, but it's definitely not sending to Armo all the cluster data.

Default behavior changed

Just confirmed this is fixed, thanks guys!

@laurentiuspurba I tested with strace and wireshark and did not see any connection attempts to armo. However, I do see connection attempts to github-releases.githubusercontent.com which may be where the tool downloads the content to perform its scan (I did not scan with --use from /tmp/nsa.json)?

@withernet When you said it's fixed, does it mean the following command will not send any report to whatever endpoint that kubescape configured before?
kubescape scan framework nsa --exclude-namespaces kube-system,kube-public --use-from /tmp/nsa.json

I totally agree with you @withernet , the default should be to NOT sending any information to other party.

The default behavior of this command is NOT sending any information, just as you expected. The exception to this case is if the user has registered to the SaaS service previously. We did not change the pre-existing behavior for the users who used to run this command and saw their data in the SaaS service. If you are a registered user and you wish to avoid sending your data for specific run, please use --keep-local flag.

@laurentiuspurba I tested with strace and wireshark and did not see any connection attempts to armo. However, I do see connection attempts to github-releases.githubusercontent.com which may be where the tool downloads the content to perform its scan (I did not scan with --use from /tmp/nsa.json)?

Indeed, if you don't use --use-from flag, kubescape will download the latest version of the scanning framework from the GitHub. We strongly recommend to update scanning framework, even if you need to use this flag. We continuously extend and improve the frameworks. Note the latest CVE-2021-25742 test addition that was done in several hours after the publication of the vulnerability.

@leonidsandler @withernet Thank you for clear this thing up.
I had to use --use-from flag, cos I got an error while issuing kubescape scan framework nsa command without first downloading the nsa.json file.
▶ kubescape scan framework nsa --exclude-namespaces kube-system,kube-public
error: failed to download file, status code: 403 Forbidden
ARMO security scanner starting
[progress] Downloading/Loading framework definitions
kind: Framework, name: nsa, error: failed to download file, status code: 403 Forbidden

Hi every one.
Seems that kubescape still sends data as default.
I've run it with the following command:
kubescape scan --enable-host-scan > ~/kubescape_report.txt
Then I get results like
You can see the results in a user-friendly UI, choose your preferred compliance framework, check risk results history and trends, manage exceptions, get remediation recommendations and much more by registering here:

@george-obr2p Is this the url in the end of the message: https://portal.armo.cloud/cli-signup? If so, the data is not submitted
Is this your case are that you see a different url?

@dwertent  yes, also there is this similiar url in the end of the message,
also I can see data there
https://portal.armo.cloud/risk/<my-cluster-name>
I've tried to delete data in portal.armo.cloud, reinstall kubescape from scratch on my device.
Still it pushes data to portal.armo.cloud

@george-obr2p By default kubescape does not submit your data, but if you submitted your data once, by default kubescape will submit your data next runs also if you do not explicitly add the --submit flag.
If you wish to no longer submit your data, you can ether scan with the --keep-local flag or delete the kubescape configmap (in your default namespace) and the config file ~/.kubescape/config.json


Fix homepage case studies download button translations

As discussed with Ian:
For case studies translations implementation, it was decided that two download links would be required for each case study, one to the English download file and one to the Welsh download file, if the Welsh version was available (both to be shown in both languages). The Welsh download link is in Welsh and the English download link in English as below:

So on investigation, there is no Welsh version of the link shown because there is no Welsh case study files available to download on the live site. See: https://energysparks.uk/admin/case_studies
So the main issue is that the Welsh versions of the download files are missing.
Also, we might want to change the way the download links work at some point as it looks a bit clunky with two links. Maybe just have one link in the current language and either not displaying the download link if the file is not available in Welsh or as Ian suggested, disabling the button with "download not available" alt text.

Decision was to:

only show a single button (in correct language)
offer download of Welsh case study from Welsh interface if available, otherwise fall back to English
on English site, offer download of English

hi @ldodds @urbanwide discussed points (above) are now addressed so I think this pr's ready for another review now.


Update fpm to version 0.7.0

New release up at https://github.com/fortran-lang/fpm/releases/tag/v0.7.0

Thanks for sharing, please follow the homebrew commit guidelines, e.g. this commit should have the message fpm 0.7.0. Also, make sure to squash your commits together.


Join-Path : Cannot find path 'D:\source\core\corelib\corelib\corelib_headers.h'

With settings like
<PrecompiledHeaderFile>$(ProjectName)\$(ProjectName)_headers.h</PrecompiledHeaderFile>
<ForcedIncludeFiles>$(ProjectName)\$(ProjectName)_headers.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>

Meant to note this fixes #1227

Any additional thoughts around this fix?

We are in the process of evaluating the fix in the greater context of our codebase, ensuring everything else continues working properly. We shall integrate it as soon as this process gets green-lit. We appreciate your patience, it's been a busy few weeks.

Update: We've confirmed this fix and just integrated  it into our main branch. Thank you for your contribution!


Ignore me please

run performance tests please
cs-hotrod dist reads
cs-memcached dist reads
cs-rest dist reads

run performance tests please
cs-hotrod dist writes

run performance tests please
cs-hotrod dist writes


[Darwin] MTRDevice subscription should take a hint of subscription paths

Currently MTRDevice does a wildcard subscription to everything. This issue is to track:

Allow the API client to specify a limited set of interested attribute paths (including wildcards)
Coalesce the paths into a reasonable number of paths for subscription
Manage read-throughs when this mechanism is used

https://github.com/project-chip/connectedhomeip/issues/29272


component: update to latest bindgen

This updates the component model to the latest world bindgen using<EMAIL_ADDRESS>and the latest WASI preview2 build.
The latest wit-bindgen also now provides the bug fix for the previous ret area bug we had before as well.

Fixed up the issues, this PR is now just pending the merge and release of https://github.com/bytecodealliance/js-component-tools/pull/28.

Not sure what is up with the geoip test here, but this should be good to land I believe.

Not sure what is up with the geoip test here, but this should be good to land I believe.

Could you rebase on main? I think @JakeChampion has fixed that test.

Do you know why there was so much churn in the output of the header?

wit-bindgen defines code into source section blocks, and some things were moved around I believe.


JSON.parse().forEach is not working for now

TypeError: JSON.parse(...).forEach is not a function (line 95).
So...
parseArray() need to fix.

Be sure you have V8 enabled.
https://developers.google.com/apps-script/guides/v8-runtime#enabling_the_v8_runtime

I have V8 enabled by default.
Got this result.

Why are you using parseArray with that endpoint?  parseArray is only needed for functions that return nested arrays, like characters_character_skills.  See https://github.com/Blacksmoke16/GESI#why-does-this-cell-contain-all-this-random-data.
Just do =universe_types_type(34) and it should be fine.