"python.dataScience.jupyterServerURI" no longer recognised

Issue Type: Bug
This is what I have used in my settings for the past several years to connect to a Jupyter server on a remote server. Now it is broken.
"settings":  {
     "python.dataScience.jupyterServerURI": "http://<IP_ADDRESS>:8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}

What is the replacement setting??
Extension version: 2020.11.358366026
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-10T23:34:32.027Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (4 x 2496)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.88GB (4.15GB free)

Process Argv
--crash-reporter-id f652528b-5678-4b12-9ca0-3de6b1e1135f

Screen Reader
no

VM
0%

looks like it is now part of the jupyter extension:
In :
https://github.com/microsoft/vscode-jupyter/blob/68bee5c0117a9c7b7fd6f27ebc492e072d15daa8/src/test/activation/migrateDataScienceSettingsService.unit.test.ts
Judging by order of commands in originalSettings and migratedSettings,  it looks like python.dataScience.jupyterServerURI is no longer an option.
So how do I set the python or jupyter extensions to connect to a remote Jupyter Server?
https://github.com/microsoft/vscode-jupyter/blob/68bee5c0117a9c7b7fd6f27ebc492e072d15daa8/src/test/activation/migrateDataScienceSettingsService.unit.test.ts#L25toL27
        "python.dataScience.jupyterLaunchRetries": 0,
        "python.dataScience.jupyterServerURI": "foo",
        "python.dataScience.notebookFileRoot": "foo",

https://github.com/microsoft/vscode-jupyter/blob/68bee5c0117a9c7b7fd6f27ebc492e072d15daa8/src/test/activation/migrateDataScienceSettingsService.unit.test.ts#L86
        "jupyter.jupyterLaunchRetries": 0,
        "jupyter.notebookFileRoot": "foo",
        "jupyter.changeDirOnImportExport": true,

I guess you set:
"settings":  {
     "jupyter.jupyterServerType": "remote"
}

then paste in your Jupyter URL and token into the pop-up.

However, this is very buggy and quickly disappears if you are not quick enough to paste in the remote Jupyter URL+token, let alone try to select and copy the Jupyter URL+token from another window in VS Code while this pop-up is open.  It would be easier if this was simply a setting.
Clicking on the Jupyter Server URL at the opens the same pop-up shown above.

However, if for some reason VS-Code decides to connect to the 'local' python interpreter, then there is no 'link' available to click and show this pop-up.  I am then stuck closing and opening VS Code so that no Python Interpreter is selected.
If there is some key sequence or command to get this pop-up to appear, it is very unclear.
Also, it seems to always connect to the last remote session it connected to without asking.

Looks like selecting "Default - VS Code will automatically start a server for you on the localhost" option in the pop-up shown below,

will automatically change the setting "jupyter.jupyterServerType" from "remote" to "local".  Then it will force you to restart VS Code.

A bit of a pain, as I used to be able to switch from using remote Jupyter Servers to localhost Jupyter Servers in the same VS Code session.

Thanks for reporting this issue.
I'm sorry to hear about the issues you have encountered.

A bit of a pain, as I used to be able to switch from using remote Jupyter Servers to localhost Jupyter Servers in the same VS Code session.

Not sure, but we've always prompted the user reload VS Code.
It may have worked only under a specific scenario (if you haven't used remote & then switch over, then we do not prompt).
We are currently looking at improving the remote experience for the Jupyter extension.

Closing this in favor of https://github.com/microsoft/vscode-python/issues/14437

@DonJayamanne
In the .code-workspace file, I would simply comment out all of the Jupyter Servers I did not want to use, and uncomment the one I did want to use.  No reloading VS Code necessary.
    "settings":  {
                    //  "python.dataScience.jupyterServerURI":  "local"
                     "python.dataScience.jupyterServerURI":  "http://<IP_ADDRESS>:8888/?token=xxxxxxxxxxxxxxxxxxxxxx"
                    //  "python.dataScience.jupyterServerURI":  "http://<IP_ADDRESS>:8888/?token=xxxxxxxxxxxxxxxxxxxxxx"
                 }


Securely allow links to open the user's browser

It would be nice if LHTML documents could provide links for users to click that would open in the user's browser.  PDFs allow this, for instance.
But allowing LHTML documents to open a user's browser to a particular page (initiated either by JavaScript or by user interaction) presents security problems.  Consider, for instance, a malicious credit card application document that sends the user's credit card number to a server.
Our current valid use case for such linking is to send the user to a SalesForce page related to the current document.
I've considered letting the user manage an allowed list of domains/URLs that documents are allowed to link to.  But ideally, security should be Grandma-simple (i.e. my Grandma should be able to make correct security choices given the information presented to her) and I'm not sure how to do that.

This part will be useful: http://electron.atom.io/docs/api/web-view-tag/#event-new-window


Adding go vet to build

Coverage increased (+0.2%) to 51.792% when pulling a0fe2e50020700839e8f901b4572c2a60875037f on go-vet into b139e7c5bdf8a240787f212bd15e5ce261f7bcfa on master.


Resolve [117] Change the hability to manage group (in user) to readonly

Signed-off-by: Donatien Eneman<EMAIL_ADDRESS>

close #117


Sample app without jspm-git

this is what the sample app would look like without jspm-git. I have removed all traces of jspm-git (both from the plugin and the sample app) and have created a vendors folder in which you have to add these files.
I also had to change the import statements of the wrappers from import 'kendo-ui/src/js/kendo.tabstrip'; to import 'kendo-ui';. Personally I don't have a problem with this since you could always create a custom kendo file (from the telerik site) where you only include the controls that you want thus keeping the file size minimal.
I made this PR since jspm-git plugin feels pretty buggy to me. The prompt it shows during jspm install doesn't happen synchronously causing it to wait for user input while the prompt has already been shown in the beginning of jspm install. @adriatic also had loads of issues trying to get it running.
Perhaps we can use this approach until we can get the problems with jspm-git fixed?

Great minds think alike, Jeroen - while you worked on this PR, I made the completely independent set of repositories with two goals in mind:

to make sure that I really understand each step creating our plugins
to start from ground zero (meaning that I took latest revisions of the two official apps: skeleton navigation and skeleton plugin in order to create the brand new KendoUI sample app and KendoUI plugin

The purpose of this work was not to discontinue the existing projects in https://github.com/aurelia-ui-toolkits github organization - but rather to have some reference implementation that could be discussed and improved as we go further. In other words, other than adding the "plugin+sample" being in the same repo (again to have the reference implementation of this "incestual" approach), I will not continue development in the the https://github.com/adriatic-kendo organization.
In order to provide the better knowledge sharing in the team, I also wrote a detailed diary of my work so far - please check the document https://github.com/adriatic-kendo/sample/blob/master/doc/Building plugin and sample.md, Note that the identical copy of that document exists also as https://github.com/adriatic-kendo/plugin/blob/master/doc/Building plugin and sample.md
Tasks for everyone on this project:
Please read the https://github.com/adriatic-kendo/plugin/blob/master/doc/Building plugin and sample.md document with proper attention to details, provide critical comments, and find inaccuracies :-) I would like to continue maintaining this document as long we we work on the three projects in https://github.com/aurelia-ui-toolkits.
Jeroen - once you get the good grasp on what I did the last few days let's discuss whether to

use the repositories in https://github.com/adriatic-kendo - or
apply your PR to repos in https://github.com/aurelia-ui-toolkits.

Without seeing your PR, I am inclined to take the alternative 1 above as I am pretty sure that it is "safer" than 2.
Let me know, please.


Add the decoration option for meters

Color of the font, the color of the background

Please provide an example with correct setup of color and background

This is solved
On Mon, 21 Nov 2022 at 13:46, Anton Gnibeda @.***>
wrote:

Assigned #141
https://github.com/intersystems-community/DeepSeeWeb/issues/141 to
@evshvarov https://github.com/evshvarov.
—
Reply to this email directly, view it on GitHub
https://github.com/intersystems-community/DeepSeeWeb/issues/141#event-7857103827,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVHEP5STV73KM7XLTMLQ6LWJNVJJANCNFSM4LOAMHLQ
.
You are receiving this because you were assigned.Message ID:
@.***
.com>


Dialog disappears on device rotation

When i perform these sequences of events, the dialog on screen disappears:
Sequence 1:

Click on Help icon
Orientation change

Sequence 2-4:

Click on Repository item in list
Click on ... (more options)
Click on:
a. Add New Locale
b. Delete - Delete locale
c. Delete - Delete repository
Orientation Change

Could you please try this on any other application which also has a menu? This probably isn't related to Stringlate itself, but rather on how Android handles the menus.
Also, a rotation change when a menu is open should not happen too often to be considered an issue. It's fast to simply open it again (furthermore, the help dialog will be gone by the next release).

Hi, thank you for the quick response.
I am a researcher exploring Android failures and I do tried on several apps.
Mobile apps introduce the challenge to handle properly lifecycle events (e.g. orientation change, background-foreground or back button) and it may affect the user experience causing failures on GUI widgets (in this case a dialog) or app crashes (like the one in issue#28).

As regards to dialogs I send you a pointer from Android guidelines.
Source: https://developer.android.com/guide/topics/ui/dialogs.html
The Dialog class is the base class for dialogs, but you should avoid instantiating Dialog directly[...]
[AlertDialog et al.] classes define the style and structure for your dialog, but you should use a DialogFragment as a container for your dialog. The DialogFragment class provides all the controls you need to create your dialog and manage its appearance, instead of calling methods on the Dialog object.
Using DialogFragment to manage the dialog ensures that it correctly handles lifecycle events such as when the user presses the Back button or rotates the screen.

Copy paste reply on all the related issues.
Locking the orientation is the easiest fix, implemented on commit#640706. Whenever someone complains they want to use Stringlate on landscape, or on a tablet device (which is not optimized for at all), then I might think on moving to fragments everywhere. Will be a pain if it happens.


Added function in RandomWaveClass for writing timeseries

Adding a function for writing timeseries to Random Waves

@cekees, @tridelat This new function will automate the generation of a random time series and writing in to a file, so it can be picked up by the time series class, for speeding up generation. It also includes extending the timeseries, so it can be consistently used in the relaxation zone. I will wait to test it with the numerical tank before I merge this

Closing and deleting branch, as everything is moved to adimako/wavetools_update


prevent overflowing tags

This is a riff on @aaazzam 's PR. Here instead of allowing tags to overflow, which can sort of half way happen at times and prevents the user from at least hovering the tags to see what they are (not an amazing experience, granted). This removes some unneeded styles which allows long run names to wrap. The ellipsis styles that were there weren't working anyway, so now the full run name can be visible too.

Thanks for attacking these UI issues @aaazzam

@aaazzam I actually forgot to push some code here, so it's actually just removing a lot of borked styles, same outcome though. I'll hit up that tooltip real quick, good lookin out.

For posterity. Tooltip PR in prefect-design: https://github.com/PrefectHQ/prefect-design/pull/1124


CRAYSAT-1885-Merge feature/CRAYSAT-1740 to main

Summary and Scope
Merge the feature/CRAYSAT-1740 to main which includes System Shutdown and Boot Automation Improvements
Issues and Related PRs
CRAYSAT-1885.
Testing
Tested individually in all the commits.
Risks and Mitigations
Risk is low as there no additional changes
Pull Request Checklist

[x] Version number(s) incremented, if applicable
[x] Copyrights updated
[x] License file intact
[x] Target branch correct
[x] CHANGELOG.md updated
[x] Testing is appropriate and complete, if applicable
[x] HPC Product Announcement prepared, if applicable

The secret detected by GitGuardian is a false positive or a test credential that's completely made up for a unit test. I attempted to mark it as such, but it seems I can only request that and am not able to actually mark it as ignored. I'm not sure if there is somebody who will receive that request and be able to approve our request.


Cannot load libassimp.dylib when running AnimatedMesh sample on mac

Sounds similar to #52 but happens on a mac (fresh clone from today).
Unhandled Exception: System.IO.FileNotFoundException: Could not find or load the native library: libassimp.dylib
   at NativeLibraryLoader.LibraryLoader.LoadNativeLibrary(String name, PathResolver pathResolver)
   at Assimp.Unmanaged.AssimpLibraryImplementation.LoadAssimpLibrary(String path)
   at Assimp.Unmanaged.AssimpLibrary.LoadLibrary()
   at Assimp.Unmanaged.AssimpLibrary.CreatePropertyStore()
   at Assimp.AssimpContext.CreateConfigs()
   at Assimp.AssimpContext.ImportFileFromStream(Stream stream, PostProcessSteps postProcessFlags, String formatHint)
   at AnimatedMesh.AnimatedMesh.CreateResources(ResourceFactory factory) in /Users/zachi/Projects/veldrid-samples2/veldrid-samples/src/AnimatedMesh/Application/AnimatedMesh.cs:line 107
   at SampleBase.SampleApplication.OnGraphicsDeviceCreated(GraphicsDevice gd, ResourceFactory factory, Swapchain sc) in /Users/zachi/Projects/veldrid-samples2/veldrid-samples/src/SampleBase/SampleApplication.cs:line 39
   at SampleBase.VeldridStartupWindow.Run() in /Users/zachi/Projects/veldrid-samples2/veldrid-samples/src/SampleBase/VeldridStartupWindow.cs:line 60
   at AnimatedMesh.Program.Main(String[] args) in /Users/zachi/Projects/veldrid-samples2/veldrid-samples/src/AnimatedMesh/Desktop/Program.cs:line 11

macOS version 10.14 (Moave)

@tzachshabtay Thanks for catching this. It turns out that the AnimatedMesh project file was referencing a different version of the AssimpNet package, which didn't include the OSX binary in it. I've corrected this, so you should be able to run this sample on the master branch now.

@mellinoe thanks, note though that I used AnimatedMesh as an example, but I think there were other projects that had the same error.


Need an example of time series input

Dear Tim Salzmann
Hello, your project has been of great help to me. I have successfully implemented an MPC controller based on the point2point deep learning model.
Due to the long and uncertain time delay of my controlled system. I need to use the deep learning prediction model of seq2point to identify. However, using l4casadi to achieve MPC control based on the seq2point model is very difficult for me. I couldn't find related example of it. Could you please add an example of using seq2point or seq2seq deep learning models to implement MPC?
Thank you again for your project's help to me,
Best wishes，
438749902

Hi,
Thanks for reaching out! I think this is not so much a problem of L4CasADi, as L4CasADi can embed time-series PyTorch models just as any other PyTorch model in a CasADi graph.
If I understand you correctly, you are mainly struggling to formulate the optimization problem around L4CasADi taking time-series data into account. If this is true it will be hard to provide you with an example as this is still an active research branch of how to best formulate such optimization problems.
Correct me if I am wrong here.
Best
Tim

hi Tim，
Thank you for your answer,
I know your mean, l4casadi can convert time series model to casadi model. But use casadi and acados to write a MPC is an another hard problem which need me to resolve. I will read docs and search project about this.
Thank you, you can close the issue.
Best wishes


WIP: BLE integration

@pelikhan  Error: conflict on yotta setting microbit-dal.bluetooth.enabled between extensions radio and bluetooth
How do I resolve this?

stuck?

Nope! the bluetooth transport is done. I need to get back to getting the nrf to do bluetooth and jacdac at the same time otherwise this work is kinda pointless :wink:. Should be tomorrow or early next week.

This works only if PXT doesn't add all the extra yotta flags it normally does. The only ones that are required are:
"DEVICE_BLE": 1,
            "JACDAC_BLE_TRANSPORT": 1,
            "SOFTDEVICE_PRESENT": 1,
            "MICROBIT_BLE_ENABLED" : 1,
            "MICROBIT_BLE_PAIRING_MODE": 0,
            "MICROBIT_BLE_DFU_SERVICE": 1,
            "MICROBIT_BLE_DEVICE_INFORMATION_SERVICE": 1,
            "MICROBIT_BLE_EVENT_SERVICE" : 1,
            "MICROBIT_BLE_PARTIAL_FLASHING" : 0,
            "MICROBIT_BLE_OPEN":1,
            "MICROBIT_BLE_SECURITY_MODE":2

But there are a ton of YOTTA_CFG defines (presumably from V1) that override the above and prevent BLE from being configured in the way we need for the website (open, no security).

These flags are "optional", that means you should be able to set them to the value you need. Why do they matter?

Because they override one another to the point where i'm not sure what flags are/are not set.

We should use "bluetooth" instead for "ble" for public names, just like the "bluetooth" package in micro:bit.

Bluetooth is inaccurate! Bluetooth low energy is the protocol!


Expose user_namespace parameter in Apache Airflow runtime schema

Current implementation only allows deployment in default namespace.
This change will will allows users to specify which k8s namespace
to start their pipeline/operator.
Fixes #1543

The ability to execute a DAG/operator in another namespace is dependent on the deployment and having the correct permissions(RBAC) to do so.
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

@akchinSTC could you please add a print screen of the metadata ui for airflow and kfp with this changes.

@lresende - making all the changes now, standby

@ptitzler Do you still have concerns with this pr?

According to the screen captures ^^ the namespace is not exposed


fix(ssr): Memory leak in poll method (fix #2606).

Fix #2606.
This fix depends on the following being merged first to work: https://github.com/vuejs/vue/pull/9479
Fixes memory leak in poll method when a Vue app is created per request, which is typical in SSR.
In particular, the leak happens when:

The router-view is conditioned to appear upon a variable that never becomes true.

    <router-view />

A beforeRouteEnter guard is defined in the view in the following way:

export default {
  beforeRouteEnter(to, from, next) {
    // Poll happens only if you pass in a function to next(...)
    next(vm => {})
  }
}

Note I haven't had time to test this again yet after all of the changes that have been made to both projects. Will do this tomorrow if possible.

There still appears to be a leak. I've gone ahead and updated https://github.com/ronald-d-rogers/vue-router-ssr-memory-leak with the latest versions of vue and vue-router, and included instructions on testing the fix and an explanation how it works. Hope this helps.

Thanks for the detailed report @ronald-d-rogers. I will try to give it a look next week

@posva Note that I don't think this a great fix. I think the solution is probably to find a way to get rid of the poll, which was just added to fix a bug where the router-view hasn't yet appeared because the previous route is transitioning out, because we don't have a vm to pass to the beforeRouteEnter hook's next callback if the hook was defined with one (next(vm => { ... })), at the time the callbacks are called.
One way to get around it may be by putting the callback on the matching RouteRecord, adding some method like registerComponentInstance(key, vm) and registerBeforeRouterEnterCb(key, cb) to it, and only firing when both have been registered if (this.hasCb(key) && this.hasInstance(key)) { /* fire */ }.
But I can't tell if that would work here or not. Maybe I will give it a go today or tomorrow.

This issues will block on poll function. So you should let poll exit at right time。

Let's close this in favor of https://github.com/vuejs/vue-router/pull/2875


Support for environment variables?

Is there an option to use environment variables with specific formatters? I'd like to set PRETTIERD_LOCAL_PRETTIER_ONLY without redefining the prettierd formatter.

I've added support for environment variables. You can set it with
require("conform.formatters.prettierd").env = {
  PRETTIERD_LOCAL_PRETTIER_ONLY = "1",
}

or if you'd prefer
require("conform").setup({
  formatters = {
    prettierd = vim.tbl_deep_extend("force", require("conform.formatters.prettierd"), {
      env = {
        PRETTIERD_LOCAL_PRETTIER_ONLY = "1",
      },
    }),
  },
})


Whip vis-non-native-fish-occurrences

Many fields were missing from whip specs, I have added these
Event

[x] datasetName: update to VIS - Non-native fish in Flanders, Belgium (lowercase fish)
[x] samplingProtocol: is this allowed to be empty?
[x] samplingProtocol: almost always JSON, except for depletionFishing. Should it be left as such?
[x] verbatimEventDate: this contains the exact same info as eventDate. Would drop field.
[x] locationID: not always visbestanden:\d{8}, e.g. visbestanden:TL-BH4
[ ] verbatimLocality: in MICA, Meetnetten we started using locality
[ ] verbatimLat/Long: do you know the upper/lower limits for Flanders? I only have it for Belgium
[x] verbatimCoordinateSystem: In older datasets we use Belgian Lambert 72 (not Belgium), but in recent Saltabel and MICA we use the more correctLambert coordinates. I suggest we stick to that.
[x] verbatimSRS: Belgian Datum 1972 not Belgium Datum 1972
[x] coordinateUncertaintyInMeters: why is this 250?

occurrence

[x] recordedBy: are all fish captured by Hugo Verreycken?
[x] occurrenceStatus: use lowercase present
[ ] Misgurnus anguillicaudatus is missing taxonrank and authorship

locationID --> value in database
recordedBy --> is in VIS datasets de PI
occurrenceStatus --> is 'present' in query  'strange'

I will publish, only minor issues atm.


IIS Required Features

Question
Could you let me know which features exactly are required on IIS to be enabled for Pode to work?
I've been checking documentation (https://pode.readthedocs.io/en/latest/Hosting/IIS/) but it's just too wide.
Install-WindowsFeature -Name Web-Server -IncludeManagementTools -IncludeAllSubFeature

Can you be a bit more specific so I don't have to install 50 features that will never be used?

I can't name the roles at the moment as I'm not near a PC, but you basically only need the basic functions which the Server Manager suggests plus the .NET Core Hosting Bundle and Powershell 7.
If you want to use Windows Authentication on Pode, you'll also need to install the IIS Windows Authentication Feature also.
You now owe me (and Badgerati) a cuddle with that fluffy Samoyed. 😂

I see, well I am getting an error - thought this might be related - but if not I'll search some

I guess it may be that Microsoft .NET 5.0.8 Windows Server Hosting is not what I should have installed :)

I don't keep choco on my server so I would appreciate links to proper software :)

So far as I'm also aware you should be able to get away with just the default features Server Manager suggests - though I've never tested it without everything!
For dotnetcore hosting I've only personally used v3.1 myself, I really need to test with v5.0 - I know some people have been using it here, so it does work. You can find a direct install for v5.0 here and for v3.1 I believe it's this one here
If I get chance this weekend I'll checkout the minimum features required, as well as test with v5.0 as there's something else on Windows Server 2019 I need to test as well for IIS 😄
Also, I'm loving that Instagram! 🐶

The links don't work if you try to click them - most likely because those are valid for your session only. But I believe I have them - if you can let me know the minimum requirements that would be great.

Hey @PrzemyslawKlys, this is the minimum I was able to get down to:
$features = @(
    'Web-Default-Doc',
    'Web-Dir-Browsing',
    'Web-Http-Errors',
    'Web-Static-Content',
    'Web-Http-Redirect',
    'Web-DAV-Publishing',
    'Web-Http-Logging',
    'Web-Stat-Compression',
    'Web-Filtering',
    'Web-Net-Ext',
    'Web-Net-Ext45',
    'Web-Asp-Net',
    'Web-Asp-Net45',
    'Web-CGI',
    'Web-ISAPI-Ext',
    'Web-ISAPI-Filter',
    'Web-Mgmt-Console'
)

$features | % { Install-WindowsFeature -Name $_ }

If you don't need the IIS Manager then you can remove Web-Mgmt-Console. And as  @RobinBeismann suggested, if you need to use Basic/Windows auth then Web-Basic-Auth or Web-Windows-Auth are needed respectively.
I've also just tested with windowshosting 5.0.8 and can confirm it works 😄 if just those features above also work for you, I'll use this issue to update the IIS docs (+non-session specific install links 😂).

Hi,
For the visual representation that's what I have enabled and things work

I installed WebSocket protocol because I found it on UD IIS settings - thought it may be the same requirement. But if you're saying it's not - it's not :)

Yeah, I believe UD runs on WebSockets where as Pode doesn't :)
If you need to use Pode's WebSockets then you might have to install that feature as well; but it'll be like the auth ones and optional.


Added getWidth function to correctly calculate parent's width and account for padding in parent.

Base fork version failed to account for padding.  offsetWidth doesn't account for padding on it's own.  There was also a magic number '6' (perhaps to account for padding?).  Correctly calculated available width of parent now.

Sorry, this is phrased poorly.  Using offsetWidth tries to make the target element fit the ratio of the parent including it's padding.  We want it to fit within the width of the parent without padding.  The new function calculates the appropriate width value without the padding.  It is also possible the function should account for border, however, I did not test this.

Tanks, I'll have to give this a look through.
Unsure why $interval is required - scope.$watch on the next line should achieve exactly that.

Ah, you're right.  I don't know what I was thinking, must have been asleep at the wheel.  I changed it back and used mg-model.  It works correctly for me now.

Is this PR ever going to be merged?

Is the project completely abandoned at this point?

No, life just getting in the way.
Would be helpful if bugs had demos so fixes can actually be tested.

Please confirm whether v4.2.2 works/doesn't work; code base has changed a fair amount since this PR - simply applying the getWidth function doesn't solve the magic number 6 in context of demo.
Please create a codepen demonstrating issue and update branch with master.

Additionally if you can confirm #53 fixes the issue, I'll merge that in as it doesn't look to break existing demos

I know this is years too late but I'm reviewing some old repos and found this PR again. I believe #53 fixes the issue and is obviously a more up to date PR. I'm happy closing this one.


Export to pdf with ShouldQueue enabled

Hi. Please help me with this error
I've added ShouldQueue interface to my export class. Then I tried to do export and got this error
exception: "PhpOffice\PhpSpreadsheet\Reader\Exception" file: "/home/nefedov/Projects/science-alive/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/IOFactory.php" line: 72 message: "No reader found for type Mpdf"
Method reopen in Maatwebsite\Excel\Writer calls createReader method and pass $writerType
$reader            = IOFactory::createReader($writerType);, but createReader method in PhpOffice\PhpSpreadsheet\IOFactory expects $readerType and throws this error. Why is so?

I have the same issue when try to store in PDF with ShouldQueue.
PHP version: "~7.1.0"
Laravel version: "5.8.*"
Package version: "^3.1.0"
From my Controller:

My export generated:

My ExportService.php

My terminal:

My laravel.log file:
"[2020-02-02 18:03:52] local.ERROR: No reader found for type Mpdf {"exception":"[object] (PhpOffice\PhpSpreadsheet\Reader\Exception(code: 0): No reader found for type Mpdf at /home/vagrant/archive/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/IOFactory.php:71)
[stacktrace]
#0 /home/vagrant/archive/vendor/maatwebsite/excel/src/Writer.php(110): PhpOffice\PhpSpreadsheet\IOFactory::createReader('Mpdf')
#1 /home/vagrant/archive/vendor/maatwebsite/excel/src/Jobs/AppendQueryToSheet.php(88): Maatwebsite\Excel\Writer->reopen(Object(Maatwebsite\Excel\Files\RemoteTemporaryFile), 'Mpdf')
#2 [internal function]: Maatwebsite\Excel\Jobs\AppendQueryToSheet->handle(Object(Maatwebsite\Excel\Writer))"

I'm also on 3.1 version and experienced something similar. I don't have any errors at all in the logs. It's just that the exported CSV file doesn't have any contents in it when ShouldQueue contract is applied.
Everything is okay if I remove the ShouldQueue contract.
I have a code like this:
$e->store('filename.csv', 'local')->allOnQueue('exports');

Update. It seems the contract FromArray is the culprit. So I used FromCollection instead, and just wrapped my model with a collect() helper like so:
public function collection()
{
  return collect(\App\User::all()->toArray());
}

@prezire you can just do:
public function collection()
{
  return \App\User::all();
}

@patrickbrouwers Thanks. But I needed the items to be an array because I have to merge the results to a memory out from 3 tables.

@prezire , i still have the error
No reader found for type Mpdf {"exception":"[object] (PhpOffice\\PhpSpreadsheet\\Reader\\Exception(code: 0): No reader found for type Mpdf at /home/vagrant/nautilus-africard/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/IOFactory.php:71)
Can you share with me what PDF package you used ? i've used MPDF et set it by default in config/excel.php also,
composer.jsoon
"maatwebsite/excel": "^3.1.0",   "mpdf/mpdf": "^8.0.4",

See https://github.com/Maatwebsite/Laravel-Excel/issues/2531#issuecomment-650431020


WIP, DO NOT MERGE: Issue #449: Update Minishift version to match latest version released

Launcher deployment on this version has been tested and appears to work smoothly.
resolves #449

Can one of the admins verify this patch?

@inoxx03 i'll file a PR to bump to 1.5.0 per testing from @gastaldi and @rdruss

@inoxx03 I created this PR: https://github.com/inoxx03/documentation/pull/3

[test]

merged: f28d44d366ee251879d21c94b5bd659fcc515811


Update cloneWorld().

Make it actually work.
Support for unloaded worlds - saves memory!
No longer needs to unload the source world.

Fixes Multiverse/Multiverse-Core#1436
Fixes Multiverse/Multiverse-Core#1491

I have no idea on how to import this to eclipse, is it possible for you to create the plugin for itself for us noobs to get a quick fix? :)

@dumptruckman Status?

I need to fix the build issues caused by dependencies. I've been extremely busy lately. I might be able to check it out next week.

@Superkaj I published a download at https://github.com/JBYoshi/Multiverse-Core/releases/tag/JBYoshi-pr1615.

@JBYoshi Awesome, thanks! :D

@dumptruckman I added another API method which automatically computes the generator plugin to use. I also improved error logging.
@Superkaj I'll update the downloadable plugin version later today.

@Superkaj Updated: https://github.com/JBYoshi/Multiverse-Core/releases/tag/JBYoshi-pr1615-b2

Not that it matters too much but are you able to rebase this to include the travis-ci change?

I think I fixed the issue with Travis CI. Please rebase and we will review this PR for merge approval.

@dumptruckman Looks like it works now. Ready for merge.

Updated download - https://github.com/JBYoshi/Multiverse-Core/releases/tag/JBYoshi-pr1615-b3
@dumptruckman Would it be possible to cache the value of generateStructures so cloneWorld() can provide the real value for it, even if the world is unloaded? If so, how?

@dumptruckman I've finished off everything on this PR. I've tested it on my private server, and this works properly.
Due to some limitations, I have to temporarily load the old world in order to properly clone. However, no chunks are loaded during this process. Just the world metadata (such as level.dat). The data is also unloaded immediately after cloneWorld grabs a small amount of data from it.
@Superkaj Download is at https://github.com/JBYoshi/Multiverse-Core/releases/tag/JBYoshi-pr1615-b4.

Thank you JBYoshi. I squashed all these commits and pushed it to master.

Thanks!


RHIROS-1166 empty state view for no records

Why do we need this change? :thought_balloon:
RHIROS-1166
Documentation requires update? :memo:

[ ] Yes
[X] No

:guardsman: Checklist :dart:

[ ] Bugfix
[X] New Feature
[ ] Refactor
[ ] Unittests Added
[ ] DRY code
[ ] Dependency Added

Additional :mega:
Feel free to add any other relevant details such as links, notes, screenshots, here.

Should be merged after #233

Codecov Report
Patch coverage: 17.64% and project coverage change: +0.06 :tada:

Comparison is base (8a64f91) 17.68% compared to head (d642a37) 17.75%.

:exclamation: Current head d642a37 differs from pull request most recent head af4a666. Consider uploading reports for the commit af4a666 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #239      +/-   ##
==========================================
+ Coverage   17.68%   17.75%   +0.06%
==========================================
  Files          40       41       +1
  Lines         831      845      +14
  Branches      150      156       +6
==========================================
+ Hits          147      150       +3
- Misses        633      644      +11
  Partials       51       51

Impacted Files
Coverage Δ

...outes/RosSuggestedInstance/RosSuggestedInstance.js
0.00% <0.00%> (ø)

src/store/isConfigured.js
0.00% <ø> (ø)

src/Components/NoEntitiesFound/NoEntitiesFound.js
100.00% <100.00%> (ø)

src/constants.js
72.41% <100.00%> (+0.98%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


FAQ: prefer to use "str".to_string()

to_string() is more straitforward than to_owned(), IMO. and it is not slower anymore after Rust 1.9 stable.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

Yup, this is considered official style. Thanks!


Feat schema format

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.5%) to 73.347%

Totals

Change from base Build<PHONE_NUMBER>:
2.5%

Covered Lines:
293

Relevant Lines:
373

💛  - Coveralls


New distance

In line with connect I think it might be sensible to move distance out of CompView and to somewhere else such that the following works.
comp1 = jx.Comp()
comp2 = jx.Comp()

distance(comp1,comp2)

Could also assert that they are part of the same Module of course still, i.e. with is_same_network. Also distance should be able to not just compute a distance for a single comp, but also between N <-> N, 1 <-> N or N <-> 1 compartments and return a vector.
EDIT: should be trivial if #447 is merged, since cell.branch(0).comp(0).xyzr works.

Hey @manuelgloeckler are you still working on this or do you need any help? Would be happy to collab on this as well. Lemme know.


How to hide default chat/text screen as I need to show some button, Before shows

Hi Amazon,
Thanks for amazing framework. But, I am facing some issue, I want to show my customised button in chat/Text view screen. Once I pressed that button, then only I want to show chat screen, But I want those two in same screen. I tried, but default, its showing chat view.
Can anyone suggest me, how to do this.

Hi @AnilkumarRabhasa,
Thanks for reporting to us.
Can you give the name of the sample app in this repository that you are referring to?

https://github.com/awslabs/aws-sdk-ios-samples/tree/master/CognitoSync-Sample/Objective-C/
pls check.
thanks for quick response.
On Tue, Jun 27, 2017 at 3:12 AM, Karthikeyan<EMAIL_ADDRESS>wrote:

Hi @AnilkumarRabhasa https://github.com/anilkumarrabhasa,
Thanks for reporting to us.
Can you give the name of the sample app in this repository that you are
referring to?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/awslabs/aws-sdk-ios-samples/issues/190#issuecomment-311190629,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIAVDSMHMc1w1-n4sHMbuJDY8QQDXaWiks5sICXZgaJpZM4OFMgm
.

Are you sure that is the correct sample?  The one is for showing how to use Cognito Sync.  I assume from your question you were trying to do something with Lex?  Is it still an issue?

Yes, it was, any way, currently we are working on other project. But, if possible please provide the suggestions to fix this issue. Thanks!

It isn't very clear what you are trying to do.  Sounds like you might need to add some more controllers.


Add a "happy path" for shutting down the daemon...

Ref my comment here: https://github.com/buildkite/lifecycled/pull/40#issuecomment-418678672
I'd like to flesh out how I'd like to fix this, since I suspect it'd involve some refactoring that you may/may not be on board with and would possibly make the PR hard to review as a whole. So it's probably a good idea to flesh out the overall "plan" before I start work:

I'd like daemon.Start() to return a completeFunc which is what actually sends the CompleteLifecycleAction request and can be invoked from main.go. The reason for this is that we'd like the queue to be cleaned up before the interrupt signal is received (giving us more time for retries etc).
daemon.Start() will need to be rewritten to support a "happy path" which does not require a signal in order to shut down. While I'm at it/since the two go-routines in daemon.Start() (i.e. go func()...) essentially do the same thing, they invoke the handler if a termination notice is received. With some refactoring I believe this could be simplified a bit and hopefully become easier to reason about "the happy path":

// Note that the polling functions will close the channel when the context is cancelled.
terminationNotice := make(chan *sqs.Message)
go d.pollTerminationNotice(ctx, terminationNotice)

spotTermination := make(chan time.Time)
go d. pollSpotTermination(ctx, spotTermination)

var (
  // In reality we'd declare this variable in the function signature?
  completeFunc          func() error
  terminationTransition string
)

Polling:
  for {
    select {
    case ctx.Done():
      return completeFunc, nil
    case n := <- terminationNotice:
      log.Infof("Got a lifecycle termination notice: %v", notice)
      terminationTransition = aws.StringValue(m.Transition)
      hbt := time.NewTicker(heartbeatFrequency)
      go func() {
        for range hbt.C {
          ctx.Debug("Sending heartbeat")
          if err := sendHeartbeat(d.AutoScaling, m); err != nil {
	    ctx.WithError(err).Error("Heartbeat failed")
          }
        }
      }
      // completeLifecycle takes care of stopping the hbt when the hook has been completed.
      completeFunc = d.completeLifecycle(d.AutoScaling, hbt, m)
      break Polling
    }
    case n := <- spotTermination:
      log.Infof("Got a spot instance termination notice: %v", notice)
      terminationTransition = "ec2:SPOT_INSTANCE_TERMINATION"
      break Polling
    }
  }

err := executeHandler(d.Handler, []string{terminationTransition, d.InstanceID}, d.Signals)
if err != nil {
  log.WithError(err).Error("Failed to run handler script")
}

return completeFunc, nil
// main.go would have to check whether the completeFunc is nil before invoking it.

(PS: Wrote the code above in the issue so take it as psuedo-code 😎)

Aside from the obvious, the above changes would mean the following refactoring:

pollSpotTermination is made into a private method of Daemon.
handleMessage, queue.Receive and this go-routine are combined into one function: pollTerminationNotice (also a private method of Daemon). The new function just becomes a loop which polls for new messages, unmarshals and filters the messages, and only passes messages that should be acted on over the channel.
Optional: We could also introduce a new type so we can use the same channel for both spotTermination and terminationNotice, and then use a simpler loop inside daemon.Start.

If you'd consider accepting the changes above, I'll be happy to submit a PR that we can discuss further!

@lox: I've started some work here: https://github.com/itsdalmo/lifecycled/commits/add-happy-path
So far I've added 3 quick commits:

https://github.com/itsdalmo/lifecycled/commit/53e479195c484061ef9f3891051be2d3ccd80f1b
https://github.com/itsdalmo/lifecycled/commit/0dece46bef2a02085fb79533e749d6832cedae7d
https://github.com/itsdalmo/lifecycled/commit/92b42537fb9b178b827f77c2fc47862e1683b982

These commits lay the groundwork for the "happy path" discussed above. Note that they are very rough and will need some polish before I can submit a PR, should you want it. Let me know!

Awesome, will check them out, absolutely submit a PR!

Closed by #45.


Allow parse wrong code

Yeah, it sounds weird, let me give some context:
On clojure-lsp, we have a completion code feature, where the user types something and we try to complete the code, so for example if user writes: foo/b we suggest to complete with foo/bar if that function exists.
To that work, we parse the whole file (following the LSP spec) and search for a node at the given row/col, the issue here is that we can't parse the code if it's wrong(not a valid clojure code), so if user tries to complete the following code:
(def abc 123)
foo/

that it'll not work since (z/of-string "(def abc 123)\nfoo/") will trown a reader exception because foo/ is not a valid clojure code.
If somehow would be possible to parse that, it'd would be possible to parse that node and get a token node of foo/ then extract the alias and know what functions are available :)
LMK if you need more info on anything

FWIW, there is some discussion of trying to work with "incomplete" forms starting here: https://clojurians-log.clojureverse.org/rewrite-clj/2019-11-12/1573599410.186700
The discussion ends on this day: https://clojurians-log.clojureverse.org/rewrite-clj/2019-11-14
The approach might be described roughly as "automatic closing of delimiters".
Where that ended up was this code: https://github.com/sogaiu/rewrite-cljs-playground/commit/7074cfc222aa65c93020bddeed83c0236e4f86b8

FWIW, there is some discussion of trying to work with "incomplete" forms starting here: https://clojurians-log.clojureverse.org/rewrite-clj/2019-11-12/1573599410.186700
The discussion ends on this day: https://clojurians-log.clojureverse.org/rewrite-clj/2019-11-14
The approach might be described roughly as "automatic closing of delimiters".
Where that ended up was this code: https://github.com/sogaiu/rewrite-cljs-playground/commit/7074cfc222aa65c93020bddeed83c0236e4f86b8

Thank you for the response @sogaiu, yeah, that'd be really useful, does that branch already works?
How could I test it?

Thank you for the response @sogaiu, yeah, that'd be really useful, does that branch already works?
How could I test it?

@ericdallo It was a while back, but my current recollection is that it did work in limited testing.
There are only 5 lines to change in a single file, so perhaps it's possible to just make the changes manually on your end to try it?

@ericdallo It was a while back, but my current recollection is that it did work in limited testing.
There are only 5 lines to change in a single file, so perhaps it's possible to just make the changes manually on your end to try it?

Great! I'll try to change it and release it local, thank you!

Great! I'll try to change it and release it local, thank you!

I managed to release a local rewrite-clj with that change, but I probably doing something wrong, I could not use binding to change the parse-anyway value and even if declaring it with a true value and releasing again, the parser throws an exception anyway

I managed to release a local rewrite-clj with that change, but I probably doing something wrong, I could not use binding to change the parse-anyway value and even if declaring it with a true value and releasing again, the parser throws an exception anyway

I don't know how readable the following will be, but here is a section of code I was using at one point that I think used the feature in question: https://gist.github.com/sogaiu/b6286feeaefc326a449af109f4a4b77d#file-script-clj-L217-L245
What you described:

use binding to change the parse-anyway value

seems to be  basically what I was doing, so I'm not sure my code will be of much use.
I suppose it's also possible that the branch I was using: https://github.com/sogaiu/rewrite-clj/commits/parse-anyway has a few extra bits in it that might be affecting things, but nothing obvious stands out at the moment.

I don't know how readable the following will be, but here is a section of code I was using at one point that I think used the feature in question: https://gist.github.com/sogaiu/b6286feeaefc326a449af109f4a4b77d#file-script-clj-L217-L245
What you described:

use binding to change the parse-anyway value

seems to be  basically what I was doing, so I'm not sure my code will be of much use.
I suppose it's also possible that the branch I was using: https://github.com/sogaiu/rewrite-clj/commits/parse-anyway has a few extra bits in it that might be affecting things, but nothing obvious stands out at the moment.

Not sure I am doing anything wrong here, both have the same exception:
(binding [rpc/*parse-anyway* false]
  (z/of-string "(def a 123) asd/ (def b 345)"))

clojure.lang.ExceptionInfo: Invalid symbol: asd/.
{:type :reader-exception, :ex-kind :reader-error}
 at clojure.tools.reader.impl.errors$throw_ex.invokeStatic (errors.clj:34)
    clojure.tools.reader.impl.errors$throw_ex.doInvoke (errors.clj:24)
    clojure.lang.RestFn.invoke (RestFn.java:442)
    ...

and
(binding [rpc/*parse-anyway* true]
  (z/of-string "(def a 123) asd/ (def b 345)"))

clojure.lang.ExceptionInfo: Invalid symbol: asd/.
{:type :reader-exception, :ex-kind :reader-error}
 at clojure.tools.reader.impl.errors$throw_ex.invokeStatic (errors.clj:34)
    clojure.tools.reader.impl.errors$throw_ex.doInvoke (errors.clj:24)
    clojure.lang.RestFn.invoke (RestFn.java:442)
    ...

Not sure I am doing anything wrong here, both have the same exception:
(binding [rpc/*parse-anyway* false]
  (z/of-string "(def a 123) asd/ (def b 345)"))

clojure.lang.ExceptionInfo: Invalid symbol: asd/.
{:type :reader-exception, :ex-kind :reader-error}
 at clojure.tools.reader.impl.errors$throw_ex.invokeStatic (errors.clj:34)
    clojure.tools.reader.impl.errors$throw_ex.doInvoke (errors.clj:24)
    clojure.lang.RestFn.invoke (RestFn.java:442)
    ...

and
(binding [rpc/*parse-anyway* true]
  (z/of-string "(def a 123) asd/ (def b 345)"))

clojure.lang.ExceptionInfo: Invalid symbol: asd/.
{:type :reader-exception, :ex-kind :reader-error}
 at clojure.tools.reader.impl.errors$throw_ex.invokeStatic (errors.clj:34)
    clojure.tools.reader.impl.errors$throw_ex.doInvoke (errors.clj:24)
    clojure.lang.RestFn.invoke (RestFn.java:442)
    ...

So, for completion, we don't actually need to parse, if we simply tokenized with something like indexingpushbackreader, I believe we could avoid a lot of this.

So, for completion, we don't actually need to parse, if we simply tokenized with something like indexingpushbackreader, I believe we could avoid a lot of this.

@snoe Do you mean avoid using rewrite-clj at all and tokenize using a normal Clojure reader?

@snoe Do you mean avoid using rewrite-clj at all and tokenize using a normal Clojure reader?

How could we do that @snoe ?

How could we do that @snoe ?

I have an example using edamame for self-repairing code if the code has insufficient closing delimiters:
https://github.com/borkdude/edamame/blob/ffef4b2085c1fab4b55b36061d4844a1da762b81/test/edamame/core_test.cljc#L121-L130

I have an example using edamame for self-repairing code if the code has insufficient closing delimiters:
https://github.com/borkdude/edamame/blob/ffef4b2085c1fab4b55b36061d4844a1da762b81/test/edamame/core_test.cljc#L121-L130

@ericdallo Sorry, I think I didn't quite understand the original post.
The discussions from before are specifically about handling the case where delimitiers are missing.  The related code doesn't handle any other cases.
Very sorry to have taken other folks' time on this :(

@ericdallo Sorry, I think I didn't quite understand the original post.
The discussions from before are specifically about handling the case where delimitiers are missing.  The related code doesn't handle any other cases.
Very sorry to have taken other folks' time on this :(

@borkdude edamame seems to not work since it works for missing closing delimiters, I tested with something like (def a) foo/ (def b) and I could not get any info that could help fix that :/
@snoe, the issue with using indexing-push-back-reader manually is that we don't have a simple token, we have the whole document with the line and pos so we would need to "walk" through the safe-parsed text and check line and column, not sure how to do that
@sogaiu, no worries, this issue is to make rewrite-clj parse a wrong code indeed, that'd be the best approach if available IMO, the discussions from above are just other ideas to fix clojure-lsp completion issue, but if we have that on rewrite-clj, it'd be super useful

@borkdude edamame seems to not work since it works for missing closing delimiters, I tested with something like (def a) foo/ (def b) and I could not get any info that could help fix that :/
@snoe, the issue with using indexing-push-back-reader manually is that we don't have a simple token, we have the whole document with the line and pos so we would need to "walk" through the safe-parsed text and check line and column, not sure how to do that
@sogaiu, no worries, this issue is to make rewrite-clj parse a wrong code indeed, that'd be the best approach if available IMO, the discussions from above are just other ideas to fix clojure-lsp completion issue, but if we have that on rewrite-clj, it'd be super useful

@ericdallo You can continue parsing the stream after an exception. So you would just skip over foo/.

@ericdallo You can continue parsing the stream after an exception. So you would just skip over foo/.

I managed to make a not proud workaround:
(defn ^:private safe-zloc-of-string [text]
  (try
    (z/of-string text)
    (catch clojure.lang.ExceptionInfo e
      (if-let [[_ token] (->> e
                              Throwable->map
                              :cause
                              (re-matches #"Invalid symbol: (.*\/)."))]
        (-> (string/replace-first text token (str token "_"))
            z/of-string
            (z/edit->
              (z/find-next-value z/next (symbol (str token "_")))
              (z/replace (n/token-node (symbol token)))))
        (throw e)))))

But I just realized that it's not enough to handle completion, since we depend on clj-kondo analysis and when the code is not parseable, clj-kondo return no analysis for that file 😔
@borkdude Is there any way to lint a code and ignore non parseable tokens?
Anyway, I think it worths to leave this issue open to a better fix on rewrite-clj side @sogaiu, thanks all for the help

I managed to make a not proud workaround:
(defn ^:private safe-zloc-of-string [text]
  (try
    (z/of-string text)
    (catch clojure.lang.ExceptionInfo e
      (if-let [[_ token] (->> e
                              Throwable->map
                              :cause
                              (re-matches #"Invalid symbol: (.*\/)."))]
        (-> (string/replace-first text token (str token "_"))
            z/of-string
            (z/edit->
              (z/find-next-value z/next (symbol (str token "_")))
              (z/replace (n/token-node (symbol token)))))
        (throw e)))))

But I just realized that it's not enough to handle completion, since we depend on clj-kondo analysis and when the code is not parseable, clj-kondo return no analysis for that file 😔
@borkdude Is there any way to lint a code and ignore non parseable tokens?
Anyway, I think it worths to leave this issue open to a better fix on rewrite-clj side @sogaiu, thanks all for the help

@ericdallo Feel free to post a minimal repro on the clj-kondo issue tracker and I will see what can be done.

@ericdallo Feel free to post a minimal repro on the clj-kondo issue tracker and I will see what can be done.

Done @borkdude https://github.com/clj-kondo/clj-kondo/issues/1146
Also, I created an issue on clojure-lsp side to track the whole fix: https://github.com/clojure-lsp/clojure-lsp/issues/270

Done @borkdude https://github.com/clj-kondo/clj-kondo/issues/1146
Also, I created an issue on clojure-lsp side to track the whole fix: https://github.com/clojure-lsp/clojure-lsp/issues/270

@sogaiu is there any way to fix that on rewrite-clj? This workaround is not totally reliable :/

@ericdallo Sorry, I haven't yet thought of anything.
May be it's worth consulting @lread about this?

What I did in clj-kondo: I made a tweak to the parser where it parses a token. In case of an exception, it logs this exception to an atom in a dynamic var (this was done so I didn't have to change a lot of code) and just continues parsing as if the token wasn't there at all.

Yeah, that's similar to the workaround I did, but in this case we need the token to completion and etc. Since is possible to have a node of unparseable code (like I did in my workaround), IMO I think that rewrite-clj should handle that somehow and allow parsing that.

Heya @ericdallo! I am trying to stayed focused on rewrite-clj v1 priorities at this time.
I am getting an idea for what you'd like, but details always help.  Add anything you can think of.
I'll lurk/follow this discussion for now.

Thanks @lread, I'm quite excited about that v1 :)
I think the issue description and my workaround are detailed, LMK if you need any extra info.

Reading the original post, it seems plausible to me that an alternative solution could be conceived, that would be just as useful to clojure-lsp, and more convenient to rewrite-clj (because nothing would have to be changed!)
For completing a/ in file.clj:

Only ever read file.clj in a saved state, from disk

This makes perfect sense - saving a file is a fairly unmistakable sign that a file is meant to be "ready" (i.e. loadable, without errors)
Done with rewrite-clj

Read the a/ from the buffer (in emacs lingo) without rewrite-clj

This is exactly what we do in CIDER. It's super easy - goto file/col, then grab a "word" using regex

This has the aditional advantage of being resilient to multiple, unsaved errors.
For instance for the saved file file.clj:
(ns file)

and the non-saved current buffer for it:
(ns foo)

]] ;; an error

a/ ;; the completion

]];; another error!

...a/ completion will still work, even in presence of the other faulty bits.

So, if I understand, we have different technical challenges that might be treated separately and perhaps incrementally:

invalid stand-alone tokens, examples:

foo/
:keyword:
"foo\xbar" - invalid escaped char in string, (already parses today and throws on sexpr)

invalid syntax, examples:

#::[a] - namespaced map without namespace
^private - meta without target
{:a 1 :b} - unbalanced maps (already parses today, and throws on sexpr)
{:a 1 :a 2} - map with duplicate keys (already parses today, does NOT throw on sexpr)
#{1 1} - set with duplicate value (already parses today, does NOT throw on sexpr)

unclosed sequences, examples:

(hey jude dont
(make [it bad)
{:take [a #{sad (song]

I've been looking at parsing code for other work.
I am tempted to move 3 (handling unclosed sequences) to a separate issue.
I think we might be able to handle 1 and 2 by loosening any parsing exceptions rewrite-clj imposes and making sexpr lazy where it is not.
The throw that happens on parse would instead occur on sexpr.
I'll experiment sometime soon to see if this strategy is actually practical and then come back to work out any details like:

Granularity of enabling/disabling relaxed parsing.
Consider providing users a mechanism to query a node for rewrite-clj's impression of validity
Consider optionally enabling throwing on sexpr of #{1 1} and {:a 1 :a 2} (we don't today)

Somewhat related issue in edamame: https://github.com/borkdude/edamame/issues/106

Thanks @borkdude!
And it is so nice to see @sogaiu, even if it is just :eyes: on a comment!


Turn off language fallback

This option was hidden in the settings, it seems to work.

Fixes #5556

Good to know! :+1:


Add option to export Excel file

This PR adds an option to export results to EXCEL (xlsx). Defaults to Excel.

@qubixes, can you do a review of the Python code. It required more lines of code than I expected :|

Thanks, made some changes.
The config file suggestion is nice. Especially if there are also human-readable labels available to use in the front-end. Let's put this on our todo list. I added the option to to_file.


fix(ci): prod crt

:tada: This PR is included in version 1.96.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


SVG: sigma.renderer.svg.js changes

add upNode and downNode events
hide/show hover elements when the mouse is pressed on a node or
released from a node
checks if the hover elements exist before adding/remove them

this one is used for another repo. I created a new one here https://github.com/jacomyal/sigma.js/pull/518


Support group libraries

Currently the CLI only supports user libraries.
It would  be great to be able to edit notes and read file attachments for group libraries, given that these are available, depending on the rights the user has in the group.

Hey! I'm really happy to have found your package. I just started using it and wanted to know what sort of work would it take support group libraries? I imagine it's not as simple as changing library_type='group' as I naively did in backend.py xD


sampleRate

Hi! Good evening.
How configure sampleRate? or options of the MediaRecorder base.
I need reduce size of the audios.
{
audioBitsPerSecond : 8000
bitsPerSecond: 8000
}
Thanks!

I recommend to use MP3 to reduce the size.
I think we do not have a solution for WAV.

Thanks! work for me.

How to use MP3 to reduce the size? I am starter, Can you help me?


Supports dynamic parameters

to: @chunyong-lin @ryandeivert @blakemotl
cc: @airbnb/streamalert-maintainers
Background
Add support for dynamic parameters on scheduled queries. This adds functionality for user-defined parameters, so users have more than just the pre-defined params.
Additionally, adds supports for LookupTables on scheduled queries. This opens UNLIMITED POSSIBILITIES!
Testing
🤷

Coverage decreased (-0.03%) to 95.395% when pulling bd52747270066ab25a0422af710b21a3ea315dc8 on dw--sq-isotime into a0a284c6bfdb9de40e76fc7581627b5863445cc0 on master.


The term "kaggle" not recognised by powershell

I'm getting the following error on entering kaggle config view or any other kaggle command in the powershell.
`
kaggle : The term 'kaggle' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

kaggle config view

  + CategoryInfo          : ObjectNotFound: (kaggle:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

`
However my setup might have a probelmatic history as I was unable to find the .kaggle folder to place the kaggle.json file. Taking a suggestion from here, I created the folder in my user directory and placed the file in there.

I met the same problem. How to fix it?


Upgrade vendored dockershim to v1.9.2 release

Should verify:

CNI networking is fine
Container lifecycle works fine
Flexvolume (GCE pd) works fine

I will do it!


[Added] Add click start sound effect on button click

PR Description 📜
When user clicked on a game a short sound is played which enhances the user experience by playing a short sound
Fixes #1775

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ ] I have added screenshot for website preview in assets/images
[ ] I have added entries for my game in main README.md
[ ] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @ManavMalhotra ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @ManavMalhotra , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Expose fallback-encoding

https://github.com/dotnet/roslyn/blob/master/docs/features/pdb-compilation-options.md#file-encoding
Expose the fallback-encoding value for data mining and display.
@jaredpar

Fixed in #1140 by exposing the validated file list with all of the parsed debug data


Error performing - 1.06 - Deploying a Service Stack with CloudFormation

What's going wrong and not working?
Create_Service02.docx
I attached two documents Create_service.doc is the first part and Create-Service02.doc is the second part.
Expected outcome
Create_Service.docx

Hey @basilk27, please don't attach any documents and paste your question in plain text/Markdown here.


apacheHttpdPackages.mod_tile: pull upstream fix for -fno-common

Without che change build on upstream gcc-10 fails as:
ld: src/renderd-gen_tile.o:/build/source/includes/daemon.h:48:
  multiple definition of `render_request_queue'; src/daemon.o:/build/source/includes/daemon.h:48: first defined here

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package failed to build:

apacheHttpdPackages.mod_tile (apacheHttpdPackages_2_4.mod_tile)


Hub - Partner created for hub3 - Not able to Find a Partner

Have created a new partner, credentials<EMAIL_ADDRESS>- password123
User logs in, goes to Find a Partner
Nothing happens, user sees a blank screen

Fixed with last PR


How to handle a host running out of space

(or can I move deis-registry's storage somewhere else?)
We had a recent problem where one of our nodes had its storage full and we could no longer deploy apps to our cluster. Is there a way to move the deis-registry to a different (cheaper) storage backend?
Also, I would like to ask advice on how to address the problem of a host running out of storage space.
Thank you very much.
PS I'm following https://github.com/deis/deis/issues/1678, too.

If you're on EC2, Docker now uses a separate volume that is 100GB by default.

Thanks, @carmstrong. We are using 80GB droplets now, but I think what we're looking for is a way to somehow attach storage not bounded to these droplets.

we're looking for is a way to somehow attach storage not bounded to these droplets.

Yes, that would certainly be ideal. I'm surprised DO doesn't yet offer this...

We just realized that a Deis host running on a droplet suffers from an additional burden, namely having its Docker daemon keep a local cache of images.

@carmstrong Is it a good idea to symlink /var/lib/docker to a Ceph directory?

Is it a good idea to symlink /var/lib/docker to a Ceph directory?

You mean a Ceph FS directory under /var/lib/deis/store? I don't think so - that would introduce a circular dependency, as Deis (and deis-store) is shipped as Docker containers, so the Ceph FS mount won't exist before Docker starts.

I think we'll cover this as part of #2559 - we should also discuss how to recover space that is no longer needed.


Feature: make mask from points with sizes

🚀 Feature
Similar to how we can convert shapes to masks, I'd like to be able to generate masks from a points layer with sizes.  In skimage my (probably very crappy) implementation is something like this:
(where the last column of blobs is the size parameter in the points layer)
def blobs2mask(blobs, shape, grow=2) -> np.ndarray:
    """Create mask for `blobs` (coordinates, with radii) with `shape`."""
    from skimage import draw

    mask = np.zeros(shape, bool)
    for *c, r in blobs:
        coords = draw.disk(c[-2:], r + grow, shape=shape[-2:])
        if len(c) == 3:
            mask[c[0]][coords] = True
        else:
            mask[coords] = True

    return mask

I mean, the fact that this draws in 2D only hurts my soul 😂😜, but other than that, 👍!
I will note that we are considering moving to size being a "visual attribute" that must always be derived from a property, but there are ways around this for the purposes of this feature, e.g. you could always access the derived values.

I mean, the fact that this draws in 2D only hurts my soul 😂😜, but other than that, 👍!

I did warn you it was crappy! 😅

@andy-sweet this could be a fun one for you - i'd look at the Shapes.to_masks and Shapes.to_labels functions here https://github.com/napari/napari/blob/4489e43c4d5162ddf3d3aa2eb73dc0cf9cfd6a79/napari/layers/shapes/shapes.py#L2765-L2809 for inspiration, there could be some utils we could resuse there. Might note be the most performant implementation, but could be a starting point

I started working on this, but had some questions before I make any more progress.

Do we want this to work in n-dimensions? Or is 2D OK?
Based on @jni's soul, I assume n-dimensions.

Does napari.layers.shapes.Ellipse work with more than 2-dimensions?
From a quick look, I don't think it does. But if it does, or it's easy to make it do so, then a simple implementation is to transform each point to an Ellipse, create a ShapeList from those, call ShapesList.to_masks() and merge the results.

Is it sufficient to specify a shape for the output mask in Shapes.to_masks?
In general, I think about defining a reference space (i.e. with an origin, spacing, size, and maybe some other transforms) for the output (e.g. from a reference image), and filling in the pixels based on where the points are in that space. We can default to a zero origin and identity spacing. But if the more general use case here is to generate a mask from points layer using an image layer as a reference (i.e. the output mask has the same size as that image layer), then I think we want to handle the general case.

Based on @jni's soul, I assume n-dimensions.

I think that is the correct assumption 🤣

Does napari.layers.shapes.Ellipse work with more than 2-dimensions?

No, unfortunately I believe all that code is ultimately just 2D and works with the polygon approximation of each shape - eventually calling this code here
https://github.com/napari/napari/blob/3081a1f21136e3b61882cdd8f3c134ab22ef71a0/napari/layers/shapes/_shapes_models/shape.py#L358

Is it sufficient to specify a shape for the output mask in Shapes.to_masks?

Hmm interesting, I'd probably just start with a shape, but I like your thinking there too!! Might be useful to have a little more flexibility


Scatter-plot bug in BFE-Cube in Visualize

Describe the bug
Creating a Scatter-plot in this Cube creates an error, which persists in other Charttypes.
To Reproduce
open:
https://int.visualize.admin.ch/en/create/JJ3CzLBe5UaC?dataSource=Int
(or https://int.visualize.admin.ch/en/v/BVXg0G9INLQR?dataSource=Int)
then create bar-chart. everything is fine.
create scatter plot - see error
(it is then also not possible to make a sparql-query)
Expected behavior
no error but a plot of different energy-containers

This does not have any priority for anyhting I do. I stumbled upon this by accident.
I try to be simple: me see bug, me report bug

Hi @CDiGallo, thanks for reporting the bug!
It seems that it's somehow connected to how the cube is structured – the http://openenergy-platform.org/ontology/oeo/BFO_0000015 (Rubrik DE) dimension is of a langString type, and the filtering won't work due to that reason (at least that's how we handle such dimensions in Visualize, see https://github.com/visualize-admin/visualization-tool/issues/319).
The exact query that is generated when we want to fetch the observations (the place where the error happens) looks like this:
SELECT DISTINCT ?dimension0 ?dimension1 ?dimension2 ?dimension3 ?dimension4 ?dimension5 ?dimension6 ?dimension7 ?dimension8 ?dimension9 ?dimension10 ?dimension11 ?dimension12 ?dimension13 ?dimension14 WHERE {
  <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/8> <https://cube.link/observationSet> ?observationSet0 .
  ?observationSet0 <https://cube.link/observation> ?source0 .
  ?source0 <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/jahr> ?dimension0 .
  ?source0 <http://openenergy-platform.org/ontology/oeo/BFO_0000015> ?dimension1 .
  ?source0 <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/holzenergie-TJ> ?dimension2 .
  ?source0 <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/kohle-TJ> ?dimension3 .
  ?source0 <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/muell-un-industrieabfaelle-TJ> ?dimension4 .
  ?source0 <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/rohoel-TJ> ?dimension5 .
  ?source0 <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/erdoelprodukte-TJ> ?dimension6 .
  ?source0 <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/gas-TJ> ?dimension7 .
  ?source0 <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/wasserkraft-TJ> ?dimension8 .
  ?source0 <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/kernbrennstoffe-TJ> ?dimension9 .
  ?source0 <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/uebrige-erneuerbare-TJ> ?dimension10 .
  ?source0 <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/elektrizitaet-TJ> ?dimension11 .
  ?source0 <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/fernwaerme-TJ> ?dimension12 .
  ?source0 <https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/total-TJ> ?dimension13 .
  ?source0 <http://purl.org/linked-data/cube#order> ?dimension14 .
  FILTER (
    (?dimension1 = "Bruttoverbrauch"@)
  )
}
GROUP BY ?dimension0 ?dimension1 ?dimension2 ?dimension3 ?dimension4 ?dimension5 ?dimension6 ?dimension7 ?dimension8 ?dimension9 ?dimension10 ?dimension11 ?dimension12 ?dimension13 ?dimension14

(see the filtering clause, where we have @ sign, but we miss the language to filter the results by).
Also, apart from this issue, it seems that generally something is not right with the data, as there is only one dimension (http://openenergy-platform.org/ontology/oeo/BFO_0000015) and 14 measures. I think that at least the https://energy.ld.admin.ch/sfoe/bfe_ogd115_gest_bilanz/jahr dimension should actually be a dimension and not measure (it should be marked as GeneralDateTimeDescription in the Cube creator, and not have custom "yr" unit, but actual Year unit. I think there might be such option selectable in the CC?).
We had similar problems reported before (e.g. here https://github.com/visualize-admin/visualization-tool/issues/1001), and it seems that the column type should be marked as string instead of langString. Also, each observation should have a unique key defined by taking its values for each key dimension together – now we have duplicated values due to having only one key dimension (Rubrik DE).
Let me know if this makes sense and if you need more support :) I think the problem should be solved once above suggestions are implemented, but it also might turn out to be something else 👀

Closing this issue. Please reopen if more support is needed.


[Remove]: infolink.pavv.co.k is a "non-domain entry"

Domain
infolink.pavv.co.k
Why should this domain be added?
"infolink.pavv.co.k" is still in, even though you have fixed it in the now deprecated file #1
Please go over the text file to make sure not more changes were lost.
Thanks!
[i] Target: https://raw.githubusercontent.com/hkamran80/blocklists/main/smart-tv
[✓] Status: Retrieval successful
[✓] Parsed 202 exact domains and 0 ABP-style domains (ignored 1 non-domain entries)
Sample of non-domain entries:
- "infolink.pavv.co.k"
List
Smart TV
Anything else?
No response
Code of Conduct

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

That's odd. I wonder why it didn't get copied over. I'll fix that.


Compare same temperature profiles from different sources

Glaciar La Ollada

left: Masiokas 2020 (Figure 5). Originally included as 47_152_150 ({source_id}{borehole_id}{profile_id}), but since removed.
right: Schwerzmann 2006 (Table in Chapter E.1). Included as 88_310_40541.

depth
temperature
depth
temperature

9.9735775
-18.550869
9
-18.51

20.110813
-18.341124
19
-18.23

29.970327
-18.356817
29
-18.21

35.03878
-18.242554
34
-18.12

40.247746
-18.109468
39
-18.12

45.31686
-18.032764
44
-18.03

49.681416
-17.937502
49
-18

54.891045
-17.841974
54
-17.91

60.100674
-17.746447
59
-17.87

64.746925
-17.651096
64
-17.74

69.81538
-17.536835
69
-17.66

75.02467
-17.422527
74
-17.55

79.67125
-17.345955
79
-17.47

84.88055
-17.23165
84
-17.36

94.73643
-17.040771
94
-17.09

104.0266
-16.718615
104
-16.65

Colle Gnifetti

left: Hoelzle 2011 (Figure 10). Originally included as 8_274_269, but since removed.
right: Schwerzmann 2006 (Table in Chapter D.3). Included as 88_309_40539.

depth
temperature
depth
temperature

10.17804
-13.55933
10
-13.56

15.189381
-13.505306
15
-13.51

20.082603
-13.536785
20
-13.54

24.98286
-13.5036125
25
-13.51

30.217049
-13.401632
30
-13.41

35.116398
-13.3768015
35
-13.38

40.23383
-13.347809
40
-13.345

45.35512
-13.283363
45
-13.29

50.260826
-13.200139
50
-13.2

55.273525
-13.133603
55
-13.13

60.28895
-13.042042
60
-13.04

65.086296
-12.954642
65
-12.95

70.31731
-12.881859
70
-12.88

75.22642
-12.767352
75
-12.76

80.354515
-12.640341
80
-12.64

Grigoriev Ice Cap

left: Submitted by Vander Van Tricht, who was sent the data by co-author Koji Fujita
right: Takeuchi 2014 (Figure 3). Included as 86_299_4028.

depth
temperature
depth
temperature

10
-2.68
9.977256
-2.6458743

20
-2.42
19.97037
-2.419902

30
-2.72
29.983955
-2.7115088

40
-2.99
39.977646
-2.9806137

50
-3.22
49.991165
-3.2159617

60
-3.45
60.004673
-3.4400578

70
-3.66
69.99829
-3.647278

80
-3.85
79.9919
-3.8376207

85
-3.92
86.766815
-3.910122

Snøfjellafonna

left: Digitized from Kotlyakov 2004, originally as 39_128_1 (some boreholes are mislabeled in this source) but since removed.
right: Kameda 1993 (Table 1). Included as 101_127_1.

depth
temperature
depth
temperature

-2.0522325
-3.205299
0.5
-0.75

2.7194607
-2.3083322
2.0
-2.23

5.074979
-1.7638551
3.0
-2.31

9.973042
-1.2668629
4.0
-3.11

14.9721985
-1.0898503
5.0
-3.35

20.719461
-1.280686
8.0
-3.21

25.208088
-1.4877768
10.0
-2.79

34.796967
-1.8378344
12.5
-2.28

41.18113
-2.0445411
15.0
-1.79

45.017693
-2.187764
20.0
-1.33

52.655434
-2.3622167
25.0
-1.25

56.481888
-2.4734416
30.0
-1.35

64.75147
-2.6477666
35.0
-1.51

71.76243
-2.8383462
45.0
-1.87

50.0
-2.04

55.0
-2.19

60.0
-2.33

65.0
-2.48

70.0
-2.62

75.0
-2.72

80.0
-2.85

Guliya Ice Cap
1992 Plateau

left: Digitized from Thompson et al. 1995 (Figure 3) as 115_199_1.
right: Digitized from Thompson et al. 2018 (Figure 2) as 67_199_1 (removed).

depth
temperature
depth
temperature

3.03
-13.96
5.51
-14.01

12.39
-15.10
12.12
-15.00

40.87
-13.38
40.02
-13.37

61.31
-12.45
59.85
-12.51

79.39
-11.59
80.05
-11.44

101.89
-10.68
100.24
-10.63

119.98
-9.66
120.07
-9.60

142.50
-8.60
139.90
-8.44

160.89
-7.52
159.73
-7.46

179.56
-6.61
179.93
-6.56

200.58
-5.84
199.76
-5.57

307.99
-2.72
307.71
-2.06

1991 Summit

left: Digitized from Thompson et al. 1995 (Figure 3) as 115_201_1.
right: Digitized from Thompson et al. 2018 (Figure 2) as 67_201_1 (removed).

depth
temperature
depth
temperature

-0.03
-19.08
0.00
-19.03

4.66
-19.57
4.41
-19.41

7.97
-18.73
7.71
-18.73

12.17
-17.87
11.38
-17.79

17.20
-17.76
16.16
-17.66

Mount Elbrus

left: Digitized from Mikhalenko et al. 2015 (Figure 6) as 102_337_1 (removed).
right: Digitized from Mikhalenko et al. 2005 (Figure 6) as 126_337_1.

depth
temperature
depth
temperature

0.76
-11.51
0.48
-11.55

1.28
-11.80
1.00
-11.84

1.71
-13.00
1.49
-13.06

2.03
-14.31
1.79
-14.33

2.24
-15.40
2.00
-15.43

3.39
-15.70
2.99
-15.74

4.32
-15.99
4.00
-16.03

5.36
-16.59
5.00
-16.63

9.00
-16.77

10.44
-16.97
10.00
-17.06

20.28
-16.69
20.01
-16.81

Vestfonna

left: Digitized from Kotlyakov 2004 (Figure 2) as 39_124_1 (removed).
right: Digitized from original study Watanabe 2001 (Figure 5) as 129_124_1.

depth
temperature
depth
temperature

2.37
-8.53

4.34
-7.35

6.51
-6.05

8.43
-3.67
10.46
-3.75

15.78
-2.18
14.70
-2.73

18.56
-2.23

22.71
-1.99
22.44
-2.03

26.94
-2.03

30.63
-2.03

35.36
-2.01
35.54
-2.03

47.40
-2.18
50.50
-2.24

68.42
-3.13
70.82
-3.15

88.16
-3.99
91.14
-4.05

107.84
-4.48
110.82
-4.54

128.77
-4.88
130.91
-4.95

148.40
-5.02
151.18
-5.04

173.66
-4.81
175.94
-4.85

198.27
-4.49
200.48
-4.53

Austfonna 1998

left: Digitized from Kotlyakov 2004 (Figure 2) as 39_281_1 (removed).
right: Digitized from original study Watanabe 2001 (Figure 5) as 129_281_1.

depth
temperature
depth
temperature

2.58
-2.02

4.40
-1.67

6.42
-1.28

8.46
-1.06

10.09
-0.99

10.13
-0.94
12.14
-0.99

14.60
-1.01

18.08
-1.03

21.52
-0.97
20.74
-1.03

41.77
-1.19
40.40
-1.26

62.03
-2.17
60.72
-2.12

79.75
-2.96
80.84
-3.05

100.00
-3.97
101.16
-3.91

122.78
-4.48
119.21
-4.50

These have bee compiled here: https://docs.google.com/spreadsheets/d/1o0ta8k_t6h1JzHPdkNuEM7ggYgfzZi0viEV_0sV0Sn0/edit#gid=1288084680


[QA] [Regression] The filter icon becomes disabled when search result is not found

Steps:

Open any URL
Click on 'Analyse this tab' button
Now, this will load the frames
Click on any frame from the sidebar
Now, add any random search string for which the relevant result is not present in the table
Observe that the filter icon gets disabled when the search string is not present.

[!NOTE]
This works as expected for PSAT V0.3.2

Screencap
https://github.com/GoogleChromeLabs/ps-analysis-tool/assets/15173772/455a362d-f9f2-4f37-b283-272122904bdb

Test Environment:

PSAT Extension Version - 0.4.0
Browser Chrome Version 120.0.6099.129 (Official Build) (arm64)
MAC 13.5.2 (22G91)

Addressed as a part of v0.5


Remove maximum context timeout limitation

Hi Haidlir, in my current project, time to retrieve historical data from my customer's PRTG server exceeds more than 50 seconds. I think it's OK to remove the maximum 30 seconds context timeout limitation.
Thanks

Test updated. Thanks

Pull Request Test Coverage Report for Build 10

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.251%

Totals

Change from base Build 8:
0.0%

Covered Lines:
265

Relevant Lines:
267

💛  - Coveralls


Default variable names need to be tweaked if Ruby is the preferred language.

Description:

Since Ruby prefers snake case for almost everything, we need to change default variable names to match.

This is now part of all the Code class NodeName() and related functions, as well as initial variable naming.


Deploy preview site to Netlify for deploy previews

If we deploy to Netlify and actually build this site we can have deploy previews in PRs so that people won't have to take screenshots of what they're editing.

Yeah, I really dig this - it can make PRs interactive, so you can poke around in a real browser with the changes made in a PR. Seems like a no-brainer given how easy Netlify is to wire-up.


#MIGRATION - Drop Prod loadbalancer service and sidecar nginx.

Follow up to: https://github.com/artsy/force/pull/6234
Clean up Prod after migration to ingress. (Staging was already cleaned.)
Have verified that sidecar nginx and force-web service are not getting any traffic.
Migration Steps

Merge and deploy this PR.
Delete force-web k8s service.

Migration steps completed.


build: npm audit fix

Ran npm audit fix

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Android Address fields retain the initial selection when changing to a different house for the same postcode for addresslook up

Describe the bug
Open the 'Card' section, click on 'Billing Address' and click on “Search for your address”. (In the address visibility with 'lookup' mode). and select one address. Stay on same page and choose a different house for the same postcode.observe the address input fields , they still contain the first selected address values and don't get updated to new values. On iOS, it working fine.
To Reproduce
Steps to reproduce the behavior:

select credit/debit card option

click on billing address and click on “Search for your address”

Input post code and choose one of the address.

Stay on same page and choose a different house for the same postcode.

observe the address input fields , they still contain the first selected address values and don't get updated to new values.

Expected behavior
Address fields should be updated to the new address when changing to a different house for the same postcode.
Smartphone (please complete the following information):
Android
Simulator

Hey @faizantariq1
Thanks for feedback!
This is bug on Android SDK side.
I'll make add this to Android team backlog.

thanks


RSpec/ExampleWording can create awkward language

rubocop-rspec (2.4.0)

Input:
# frozen_string_literal: true

RSpec.describe 'Foo' do
  describe '#foo' do
    it 'should only do bar' do
      # ...
    end
  end
end

Actual output:
# frozen_string_literal: true

RSpec.describe 'Foo' do
  describe '#foo' do
    it 'onlies do bar' do
      # ...
    end
  end
end

Expected output (or similar)
# frozen_string_literal: true

RSpec.describe 'Foo' do
  describe '#foo' do
    it 'only does bar' do
      # ...
    end
  end
end

On a largish project, my team found several other cases:

it 'should always -> it 'alwayses (maybe keep always as-is)
it 'should still show -> it 'stills show (maybe "still shows ...")
Too many more to enumerate them all

It is quite possible that this can't be solved well, but I thought I would raise it as it presents a hurdle to adoption.

I think only is even mentioned in code docs:

The autocorrect is experimental - use with care! It can be configured with ... IgnoredWords (e.g. "only")

Would you like to improve the default configuration so that those cases are properly handled?
I'd suggest running the cop against https://github.com/pirj/real-world-rspec and checking for correctness of corrections of a large sample.

Ping

Sorry, for the late response.
I will not have time to address this.
If you'd like to close this that is fine. Otherwise, someone else, please feel free to pick it up.

We've run into enough issues with this cop that we'll be marking it as unsafe in our .rubocop.yml:
RSpec/ExampleWording:
  SafeAutoCorrect: false

As "the autocorrect is experimental", it may make sense to disable the autocorrection by default. If that seems reasonable, I'd be happy to put in a PR to make that change.
A couple more real-world examples (which admittedly are poorly written specs):
-      it 'should not change the number of news items, and update the crawl status' do
+      it 'does not change the number of news items, and update the crawl status' do

-      it 'should populate and index just the news items that are valid' do
+      it 'populates and index just the news items that are valid' do


Error get_top_public_rooms | function UserBlock.schema/1 is undefined (module UserBlock is not available)

Describe the bug
Staging branch
To Reproduce
Steps to reproduce the behavior:

Pull staging branch lunch locally your Kofta and Kousa servers
Login with github or other
On the home you will recieve the ws error
See error

%UndefinedFunctionError{
  arity: 1,
  function: :__schema__,
  message: nil,
  module: UserBlock,
  reason: nil
}
error for op: get_top_public_rooms

15:06:32.826 [error] function UserBlock.__schema__/1 is undefined (module UserBlock is not available)

15:06:32.827 [error]     (cowboy 2.8.0) kousa/deps/cowboy/src/cowboy_websocket.erl:528: :cowboy_websocket.handler_call/6
    (cowboy 2.8.0)kousa/deps/cowboy/src/cowboy_http.erl:254: :cowboy_http.loop/1
    (stdlib 3.14) proc_lib.erl:226: :proc_lib.init_p_do_apply/

Expected behavior
get_top_public_rooms should work properly

#851  Here is the PR for this issue. It was just an import issue.


Globbing doesn't work on Windows

Default cmd (not Bash), globbing doesn't work,

C:\test>dir /w
 Volume in drive C has no label.
 Volume Serial Number is 6A3E-D67E

 Directory of C:\test

[.]          [..]         00.mp3       01.mp3       02.mp3       03.mp3       04.mp3       05.mp3       06.mp3
07.mp3       08.mp3       09.mp3       10.mp3       11.mp3       12.mp3       13.mp3       14.mp3       15.mp3
16.mp3       17.mp3       18.mp3       19.mp3       20.mp3       21.mp3       22.mp3       23.mp3       24.mp3
25.mp3       26.mp3       27.mp3       28.mp3       29.mp3       30.mp3       31.mp3       32.mp3       33.mp3
34.mp3       35.mp3       36.mp3       37.mp3       38.mp3       39.mp3       40.mp3       41.mp3       42.mp3
43.mp3       44.mp3       45.mp3       46.mp3       47.mp3       cover.jpg    mp3cat.exe
              50 File(s)    398.020.706 bytes
               2 Dir(s)  41.034.919.936 bytes free

C:\test>mp3cat *.mp3 -o joined.mp3
Error: the file '*.mp3' does not exist.

C:\test>

Expected behavior: mp3cat *.mp3 -o joined.mp3 should work.

Please see #27


Occupancy sensing cluster [TC-OCC-2.1,2.2] -Needs an SDK implementation on Non-global optional attributes.

Problem:
While Executing the behavior of the non-global attributes of the Occupancy sensing cluster, optional attributes throws error code as 0x86(unsupported attribute).In test case [TC-OCC-2.1] and [TC-OCC-2.2]  is got failed during the execution.
Expected behavior - Pass , status(0x0)
Actual behavior - Response Failure: IM Error 0x00000586: General error: 0x86 (unsupported attribute).
Device used: Raspberrypi
App used: All-clusters-app
Commands :

./chip-tool occupancysensing read pir-occupied-to-unoccupied-delay 1 1
./chip-tool occupancysensing read  pir-unoccupied-to-occupied-delay  1 1
./chip-tool occupancysensing read pir-unoccupied-to-occupied-threshold  1 1
./chip-tool occupancysensing read ultrasonic-occupied-to-unoccupied-delay  1 1
./chip-tool occupancysensing read  ultrasonic-unoccupied-to-occupied-delay 1 1
./chip-tool occupancysensing read ultrasonic-unoccupied-to-occupied-threshold 1 1
./chip-tool occupancysensing read physical-contact-occupied-to-unoccupied-delay 1 1
./chip-tool occupancysensing read physical-contact-unoccupied-to-occupied-delay 1 1
./chip-tool occupancysensing read  physical-contact-unoccupied-to-occupied-threshold 1 1

Solution:
      SDK needs to implement Non-global optional attributes.

Optional attributes are 'not verifiable' for V1.0 as per discussion.


Update in_tail.rb

Change replace character from "?" to "" when encoding errors happened.

Which issue(s) this PR fixes:
Fixes # Change replace character from default "?" to "" when encoding error happend.
What this PR does / why we need it:
None
Docs Changes: None
Release Note:  None

This is breaking change. could you tell us why you need this change?
And could you follow DCO https://github.com/fluent/fluentd/pull/2568/checks?check_run_id=194934513 ?

This is breaking change. could you tell us why you need this change?
And could you follow DCO https://github.com/fluent/fluentd/pull/2568/checks?check_run_id=194934513 ?

In our situation, character "" is a more transparent solution. Or, parameters are needed here. Otherwise, just expose the exception string.

In our situation, character "" is a more transparent solution.

Why? Could you tell us more specific?

I'm closing this because we can get why this feature is needed.


#291 - slice function will not crash if keep_key is not in the hash

If slice([:some_key]) is called on a hash that doesn't contain some_key, an error will be raised and the application will crash.
This PR allows keep_keys to be specified that are not in the original hash.

I just merged #289 which implements this same fix. Thanks for your work on that.


add the Blue Bridge Community College(/www.brcc.edu/), it's a child c…

…ollege of VCCS colleges(http://www.vccs.edu/) and it had offered the Computer and Electronics Technology lessons(https://www.brcc.edu/academics/programs/computer-electronics/)

@wonschangge I am sorry, the domain vccs.edu is blacklisted because the school allows to register an email address there even if you are not a student of the school. If you are the student of this school, please apply with official document (OFFICIAL DOCUMENT tab at https://www.jetbrains.com/shop/eform/students).


Cypress nearest not working

When i run :TestNearest, it runs the entire single file instead of the nearest single test method. :(

What's the name of the test? Maybe you can tweak it by specifying additional patterns here. That's what I did for python in the appropriate file (check out the #559).

@slobodan-ilic
I realised when I have both Jest and Cypress tests installed in my package.json, it always picks Jest. Is there any way to decide which test library i want to run?

Did you find a way?

@CallumHoward no sorry. sorry for the late response. I'm currently testing cypress with
nmap <silent> <leader>to :Cypress open -C ./*/**/cypress.json<CR>

and manually click the UI.. :(
My team is deprecating usage of Cypress and moving on to Playwright which uses Jest instead, so hopefully i don't have to test Cypress anymore..


thin-lto optimized build configuration

To use:
bazel run --config=thin-lto //src/workerd/server:workerd
Requires clang-15 and related packages installed from llvm apt repository.

Might be worth adding details to the readme also?

done


log_capture decorator doesn't reset the captured logs if ran twice (Testcase subclass)

Here is a way to reproduce the problem:
import logging
import unittest
from testfixtures import log_capture

class MyTestA(unittest.TestCase):
    a = 33

    @log_capture()
    def test_logs_if_a_smaller_than_44(self, logs):
        logger = logging.getLogger()
        if self.a < 44:
            logger.info('{} is smaller than 44'.format(self.a))

        logs.check(
            ('root', 'INFO', '{} is smaller than 44'.format(self.a)),
        )

class MyTestB(MyTestA):
    a = 2

if __name__ == '__main__':
    unittest.main()

The result is:
.F
======================================================================
FAIL: test_logs_if_a_smaller_than_44 (__main__.MyTestB)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "F:\git\rdv_matchmaking\.tox\rdv3.0.8\lib\site-packages\testfixtures\utils.py", line 39, in wrapping
    return wrapped(*args,**kw)
  File "test.py", line 16, in test_logs_if_a_smaller_than_44
    ('root', 'INFO', '{} is smaller than 44'.format(self.a)),
  File "F:\git\rdv_matchmaking\.tox\rdv3.0.8\lib\site-packages\testfixtures\logcapture.py", line 136, in check
    recursive=False
  File "F:\git\rdv_matchmaking\.tox\rdv3.0.8\lib\site-packages\testfixtures\comparison.py", line 385, in compare
    raise AssertionError(message)
AssertionError: sequence not as expected:

same:
()

first:
(('root', 'INFO', '2 is smaller than 44'),)

second:
(('root', 'INFO', '33 is smaller than 44'),
 ('root', 'INFO', '2 is smaller than 44'))

----------------------------------------------------------------------
Ran 2 tests in 0.002s

FAILED (failures=1)

I would say that your use cases is an odd one:

having test cases on a base class often ends up not doing quite what you want
making assertions based on a dynamic string makes me sad

4.13.2 is now out with the fix.


AAC-67 & 68 Cookie Pages and Banners

What

New Cookie Settings Page

Wording cherrypicked from CCCD and CLA examples

Revamped Cookie Info Page

Wording cherrypicked from CCCD and CLA examples

Revamped Cookie Banner

Wording from GDS Design System

New code for clearing cookies and remembering choices
JS disabled support

Ticket
Create Consistent Cookie Banner
Create Consistent Cookie Listing Page
Why

GDPR (DPA 2018) requires:

Users to be able to change their cookie decisions
Information on cookies used to be displayed
Users choices to be honoured

If a user changes their mind about cookies (including when the cookie banner reappears after a month), their choice is now honoured whereas previously only their initial choice was honoured

Cookie banner now conforms with the GDS recommended pattern

How

Reusing the same code as has been used by the Cookie Banner hitherto.  JavaScript.

If we later move to a completely Ruby approach, this will be done under a separate ticket.

Wording copied from the CCCD pages and the CLA pages - as per the ticket.

Looks good, just a few minor things.
@MalcolmVonMoJ  @mabely


Throw explicit error on invalid [codefactorgrade] color

It’s hard to understand how #3813 is persisting. The schema should reject keys not in the object… it’s very puzzling.
This replaces the code used to get the color with a function call that throws an explicit error when the key is missing. It should at least make it clear what the key value is when this fails in the future.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @paulmelnikow!

  Generated by :no_entry_sign: dangerJS against 53c2d0ac60b06b5278c4dd93b8c9b82bc82c2091