Update zio-schema, zio-schema-derivation, ... to 0.1.9

Updates

dev.zio:zio-schema
dev.zio:zio-schema-derivation
dev.zio:zio-schema-protobuf

from 0.1.8 to 0.1.9.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Codecov Report

Merging #119 (f4cf8b1) into master (8c14068) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #119   +/-   ##
=======================================
  Coverage   57.93%   57.93%
=======================================
  Files          85       85
  Lines        1324     1324
  Branches       52       52
=======================================
  Hits          767      767
  Misses        557      557

Continue to review full report at Codecov.

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


Execution Exception from 4.2 to 4.3 (IDFGH-4747)

Using the 15/02/2021 release/v4.3 to build a working complete developed build in v4.2 clash.
All log enable do not show where it blows.

Try this.
$ rm sdkconfig
$ idy.py build

@filzek Thanks for reporting. Would you please help provide more details as suggested in the issue template? Information like elf, sdk configuration, backtrace, log outputs, commit ID, hardware and etc. would help us debug further. Thanks.

@filzek Thanks for reporting. Would you please help provide more details as suggested in the issue template? Information like elf, sdk configuration, backtrace, log outputs, commit ID, hardware and etc. would help us debug further. Thanks.

Thanks for reporting, will close due to short of details, feel free to reopen with more updates. Thanks.


Hybrid neg with ip_address obtained at runtime in net-ilb-l7 module

In the net-ilb-l7 module I could before create a hybrid neg with an ip_address that was obtained at runtime and now I cannot. I get this error
Error: Invalid for_each argument

  on ../../../../../../modules/net-ilb-l7/main.tf line 154, in resource "google_compute_network_endpoint" "default":
 154:   for_each = local.neg_endpoints
    ├────────────────
    │ local.neg_endpoints will be known only after apply

The "for_each" map includes keys derived from resource attributes that cannot
be determined until apply, and so Terraform cannot determine the full set of
keys that will identify the instances of this resource.

When working with unknown values in for_each, it's better to define the map
keys statically in your configuration and place apply-time results only in
the map values.

Alternatively, you could use the -target planning option to first apply only
the resources that the for_each value depends on, and then apply a second
time to fully converge.```

Hey Miren, thanks for flagging this. If we want to be able to pass dynamic values to endpoints, their variable type needs to change from list to map. It's a bit unfortunate as keys would be there just to avoid this error, but I can understand the use case is pretty common.

Miren, I just tried this and it runs without issues:
resource "google_compute_address" "test" {
  name         = "neg-test"
  subnetwork   = var.subnet.self_link
  address_type = "INTERNAL"
  address      = "<IP_ADDRESS>"
  region       = "europe-west1"
}

module "ilb-l7" {
  source     = "./fabric/modules/net-ilb-l7"
  name       = "ilb-test"
  project_id = var.project_id
  region     = "europe-west1"
  backend_service_configs = {
    default = {
      backends = [{
        balancing_mode = "RATE"
        group          = "my-neg"
        max_rate       = { per_endpoint = 1 }
      }]
    }
  }
  neg_configs = {
    my-neg = {
      gce = {
        zone = "europe-west1-b"
        endpoints = [{
          instance   = "test-1"
          ip_address = google_compute_address.test.address
          # ip_address = "<IP_ADDRESS>"
          port = 80
        }]
      }
    }
  }
  vpc_config = {
    network    = var.vpc.self_link
    subnetwork = var.subnet.self_link
  }
}

Can you share the code that is failing for you?

 module "apigee_ilb_l7" {
  source     = "../../../../modules/net-ilb-l7"
  name       = "apigee-ilb"
  project_id = module.apigee_project.project_id
  region     = var.region
  backend_service_configs = {
    default = {
      backends = [{
        balancing_mode = "RATE"
        group          = "my-neg"
        max_rate       = { per_endpoint = 1 }
      }]
    }
  }
  neg_configs = {
    my-neg = {
      hybrid = {
        zone = var.zone
        endpoints = [{
          ip_address = module.onprem_ilb_l7.address
          port       = 80
        }]
      }
    }
  }
  health_check_configs = {
    default = {
      http = {
        port = 80
      }
    }
  }
  vpc_config = {
    network    = module.apigee_vpc.self_link
    subnetwork = module.apigee_vpc.subnet_self_links["${var.region}/subnet"]
  }
  depends_on = [
    module.apigee_vpc.subnets_proxy_only
  ]
}```

This, I was emulating on-prem to point my nubrid neg to an ILB in another project

So your problem is consuming the forwarding rule address, as address endpoint in a different module? If so I would reserve the address outside and pass it in.

thanks, I'll try that

Miren, the previous version of the module allowed you to create an address for the forwarding rule. The new version does not do that, since we have an "address" module for that. I think the difference in behaviour comes from that. Try reserving the address outside of the module and passing it in.

I gpt the same error with
module "apigee_ilb_l7" {
  source     = "../../../../modules/net-ilb-l7"
  name       = "apigee-ilb"
  project_id = module.apigee_project.project_id
  region     = var.region
  backend_service_configs = {
    default = {
      backends = [{
        balancing_mode = "RATE"
        group          = "my-neg"
        max_rate       = { per_endpoint = 1 }
      }]
    }
  }
  neg_configs = {
    my-neg = {
      hybrid = {
        zone = var.zone
        endpoints = [{
          ip_address = google_compute_address.onprem_ilb_l7_ip_address.address
          port       = 80
        }]
      }
    }
  }
  health_check_configs = {
    default = {
      http = {
        port = 80
      }
    }
  }
  vpc_config = {
    network    = module.apigee_vpc.self_link
    subnetwork = module.apigee_vpc.subnet_self_links["${var.region}/subnet"]
  }
  depends_on = [
    module.apigee_vpc.subnets_proxy_only
  ]
}

resource "google_compute_address" "onprem_ilb_l7_ip_address" {
  name         = "onprem-ilb-l7-ip-address"
  subnetwork   = module.onprem_vpc.subnet_self_links["${var.region}/subnet"]
  address_type = "INTERNAL"
  region       = var.region
}

module "onprem_ilb_l7" {
  source     = "../../../../modules/net-ilb-l7"
  name       = "ilb"
  project_id = module.onprem_project.project_id
  region     = var.region
  address    = google_compute_address.onprem_ilb_l7_ip_address.address
  backend_service_configs = {
    default = {
      port_name = "http"
      backends = [{
        group = module.mig.group_manager.instance_group
      }]
    }
  }
  health_check_configs = {
    default = {
      check_interval_sec = 1
      enable_logging     = true
      healthy_threshold  = 1
      http = {
        port_name          = "http"
        port_specification = "USE_NAMED_PORT"
        request_path       = "/"
      }
      timeout_sec         = 1
      unhealthy_threshold = 1
    }
  }
  vpc_config = {
    network    = module.onprem_vpc.self_link
    subnetwork = module.onprem_vpc.subnet_self_links["${var.region}/subnet"]
  }
  depends_on = [
    module.onprem_vpc.subnets_proxy_only
  ]
}

Strange, as I was using the same thing in the example above, just with a single LB. Let me try and reproduce, it will take me a bit as I have a pretty full day.

Ok, I know what the problem is. My example above used a vm neg, this is a hybrid neg and we're using the IP in the keys for the for_each loop. We need to switch that type to a map, it's a bit of a pity as keys will not be used for the actual resources, but it's the only way of doing it.


Interested to know more about it

Hi there,
I would like to develop a tool that would allow users to import invoices from their Bouygues Telecom acount.
It looks like you have started to do such a thing, although the repo is still empty.
Could you please tell me more about it ? Is there an official API documentation that you've used (and that i haven't found yet) or did you hack your way through BT official website (by reverse-engineering their api calls) ?
Thanks,
Morgan

Hello,
I'm also interested in this project. Is this project still up?
Best regards,
David


la-go-live

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

File
Status
Preview URL
Details

msteams-platform/TOC.yml
:white_check_mark:Succeeded
View

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.md
:white_check_mark:Succeeded
View

msteams-platform/apps-in-teams-meetings/teams-apps-in-meetings.md
:white_check_mark:Succeeded
View

msteams-platform/assets/images/apps-in-meetings/AppIcon-01.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/apps-in-meetings/AppIcon-02.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/apps-in-meetings/AppName-01.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/apps-in-meetings/AppName-02.png
:white_check_mark:Succeeded
View

msteams-platform/concepts/deploy-and-publish/add-saas-offer.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/deploy-and-publish/appsource/prepare/detail-page-checklist.md
:white_check_mark:Succeeded
View

msteams-platform/feedback.md
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

msteams-platform/TOC.yml
:white_check_mark:Succeeded
View

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.md
:white_check_mark:Succeeded
View

msteams-platform/apps-in-teams-meetings/teams-apps-in-meetings.md
:white_check_mark:Succeeded
View

msteams-platform/assets/images/apps-in-meetings/AppIcon-01.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/apps-in-meetings/AppIcon-02.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/apps-in-meetings/AppName-01.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/apps-in-meetings/AppName-02.png
:white_check_mark:Succeeded
View

msteams-platform/concepts/deploy-and-publish/add-saas-offer.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/deploy-and-publish/appsource/prepare/detail-page-checklist.md
:white_check_mark:Succeeded
View

msteams-platform/feedback.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/how-to/tabs-in-sharepoint.md
:white_check_mark:Succeeded
View

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


Request feature Query Data from Folder which Contain Many CSV Files ( ClickHouse  )

Query Data from Folder which Contain Many CSV Files ( ClickHouse  )
To search for a specific text among multiple csv files
D:/Input/Files/*.csv
Thanks for the good software
I hope the new version will be released and the features you added. use

Query the CSV files in the Clickhouse? Clickhouse does not read local files and only uses duckdb.


Simplified Property Groups

It would be nice to support a terser and more readable syntax for PropertyGroup.
By making Properties an alias for PropertyGroup and allowing properties to be provided as attributes instead / in addition to child elements, this:
<PropertyGroup>
    <Foo>A</Foo>
    <Bar>B</Bar>
</PropertyGroup>

could be simplified to
<Properties
    Foo="A"
    Bar="B"
/>

This is a pretty big readability improvement.

I'd pitch a few more aliases here, for example <References> and <Includes>. In line with this issue: though they'd have no net effect, they'd make the human editable form much more readable.
Unrelated to this but along the same vein, I think something like <References Framework='net45'> would also increase readability. How much of a work tradeoff are we looking at for aliasing vs. elements with additional attribute support?
/cc @davkean
As an example, here's a file today vs. with proposed changes (I've inlined the Version attribute for comparison on both as this is already planned):
<Project ToolsVersion="15.0">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
  <PropertyGroup>
    <TargetFrameworks>net45;netstandard1.5</TargetFrameworks>
    <AssemblyName>MiniProfiler.Shared</AssemblyName>
    <OutputType>Library</OutputType>
    <OutputPath>bin\</OutputPath>
    <SignAssembly>true</SignAssembly>
    <AssemblyOriginatorKeyFile>..\MiniProfiler\miniprofiler.snk</AssemblyOriginatorKeyFile>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="**\*.cs" />
    <EmbeddedResource Include="**\*.resx" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.NET.Sdk" Version="1.0.0-alpha-20161104-2" PrivateAssets="All"/>
    <PackageReference Include="NETStandard.Library" Version="1.6.1"/>
  </ItemGroup>
  <ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.5'">
    <PackageReference Include="System.ComponentModel.Primitives" Version="4.3.0"/>
    <PackageReference Include="System.Data.Common" Version="4.3.0"/>
    <PackageReference Include="System.Diagnostics.StackTrace" Version="4.3.0"/>
    <PackageReference Include="System.Dynamic.Runtime" Version="4.3.0"/>
    <PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.3.0"/>
    <PackageReference Include="System.Runtime.Extensions" Version="4.3.0"/>
    <PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.3.0"/>
    <PackageReference Include="System.Threading.Tasks.Parallel" Version="4.3.0"/>
    <PackageReference Include="Newtonsoft.Json" Version="9.0.1"/>
  </ItemGroup>
  <ItemGroup Condition="'$(TargetFramework)' == 'net45'">
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System" />
    <Reference Include="System.Configuration" />
    <Reference Include="System.Data" />
    <Reference Include="System.Data.Linq" />
    <Reference Include="System.Runtime.Serialization" />
    <Reference Include="System.Transactions" />
    <Reference Include="System.Web" />
    <Reference Include="System.Web.Extensions" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

Proposed:
<Project ToolsVersion="15.0">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
  <Properties>
    <TargetFrameworks>net45;netstandard1.5</TargetFrameworks>
    <AssemblyName>MiniProfiler.Shared</AssemblyName>
    <OutputType>Library</OutputType>
    <OutputPath>bin\</OutputPath>
    <SignAssembly>true</SignAssembly>
    <AssemblyOriginatorKeyFile>..\MiniProfiler\miniprofiler.snk</AssemblyOriginatorKeyFile>
  </Properties>
  <Includes>
    <Compile Include="**\*.cs" />
    <EmbeddedResource Include="**\*.resx" />
  </Includes>
  <References>
    <PackageReference Include="Microsoft.NET.Sdk" Version="1.0.0-alpha-20161104-2" PrivateAssets="All"/>
    <PackageReference Include="NETStandard.Library" Version="1.6.1"/>
  </References>
  <References Framework="netstandard1.5">
    <PackageReference Include="System.ComponentModel.Primitives" Version="4.3.0"/>
    <PackageReference Include="System.Data.Common" Version="4.3.0"/>
    <PackageReference Include="System.Diagnostics.StackTrace" Version="4.3.0"/>
    <PackageReference Include="System.Dynamic.Runtime" Version="4.3.0"/>
    <PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.3.0"/>
    <PackageReference Include="System.Runtime.Extensions" Version="4.3.0"/>
    <PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.3.0"/>
    <PackageReference Include="System.Threading.Tasks.Parallel" Version="4.3.0"/>
    <PackageReference Include="Newtonsoft.Json" Version="9.0.1"/>
  </References>
  <References Framework="net45">
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System" />
    <Reference Include="System.Configuration" />
    <Reference Include="System.Data" />
    <Reference Include="System.Data.Linq" />
    <Reference Include="System.Runtime.Serialization" />
    <Reference Include="System.Transactions" />
    <Reference Include="System.Web" />
    <Reference Include="System.Web.Extensions" />
    <Reference Include="System.Xml" />
  </References>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

One thought I had was that instead of MSBuild specially understanding individual properties, such as "Framework" (which it doesn't do today), it would instead simply allow a simpler condition syntax.
Therefore something like this:
<ItemGroup TargetFramework="net45">
...
</ItemGroup>

Would be treated as if I wrote:
<ItemGroup Condition="'$(TargetFramework)'=='net45">

<ItemGroup>

Then you could do something like:
<PropertyGroup TargetFramework="net45" Configuration="Debug">
<!-- Only applies when targeting .NET 4.5 under Debug -->
</PropertyGroup>

-Or-
<ItemGroup>
    <!-- Only reference when targeting UWP -->
    <ProjectReference Include="UWPSupport.csproj" TargetFramework="UWP" />
</ItemGroup>

@davkean That's an extremely attractive option - what's the thinking on existing attributes and collision with property names with this layout? Known attributes would be preferred? I could see that, but then if you didn't know it was an attribute would be fairly confusing. I wonder if we could figure out a way to indicate it's a conditional and bypass the conflict case.
Or am I over-analyzing this?

Not over analyzing this, there is a concern. Especially that item metadata has been prompted to attributes -even more likely that there will be clashes. I'll let the MSBuild chime into the issues - maybe you could make it less likely by only allowing the syntax on "groups", , .

that option looks like a large readability improvement, even if only on groups

An additional readability improvement would be to to alias ItemGroup to Items and PropertyGroup to Properties. I'm guessing the name originated from a code element that was named to represent a collection..
For readability, this would be a small change but a huge improvement:
<Properties>
    <Awesome>true</Awesome>
</Properties>
<Items>
    <Compile Include="..." />
</Items>

If i understand msbuild correctly, there could be an issue if there was a task named like that when adding properties or items inside of a task.

@dasMulli I'm confused...that was the original issue. Are you talking about other changes, or just adding <Items> to the list?
@mhutch Perhaps an update up top (if you agree with these) with an overall alias list would be helpful?

@NickCraver slightly different: The original proposal of the issue is adding the properties as attributes, which is a more substantial change than "just" aliasing.

Added the Items alias.
I think the simplified conditions could work on itemgroups, properties, targets, tasks etc. But on propertygroups it would directly collide with my proposal, and on items there would be a very high risk of collision with metadata attributes. So... I'm not sure what I think about it.

Also, check out https://github.com/Microsoft/msbuild/issues/821

My thoughts on PropertyGroup to Properties (and ItemGroup to Items) aliasing: I wish that had been the original name, but I don't see enough benefit from enabling it now. We'd have to allow the old names and the new names, making parsing and persisting projects after OM manipulation more complicated both for us and for the folks that treat MSBuild projects as straight XML (that I wish didn't happen but does).

I personally think anything uncontentious we can do to make MSBuild more readable is worth doing, but I'm not the one who has to implement it :)

@rainersigwald  I would venture that it is worth it to get the syntax as clean and friendly as possible to help make the platform as easy to hop into as possible. Lets not forget the bad foot that this repo started on. Msbuild has some baggage but has made some great progress. Be bold, we have minds to win.
If that argument doesn't work then I submit the following:
Please. I'll buy pizza.

@rainersigwald how much pizza and beer do you need? We can start a gofund me.

I don't need bribes, I need someone to tell me how the Construction APIs will deal with this situation without making my head explode. It seems like a lot of work that's better spent doing something like building IntelliSense so you don't have to know the right magic keyword and are just guided onto the right path.

Spitballing an idea here,
Am I correct that the newer syntax is just sugar? Or is there novel functionality being added? (I think globbing was added for example) If the core functionality is the same then what about just having two separate project schemas?
So the old way works with <project>, <ItemGroup>, <PropertyGroup> and the new way uses <*NewProject*>, <Includes>, <References>, ...
Where <*NewProject*> is something other than <Project> to make mode detection easy.
The new syntax could have all the handy defaults, assumptions and friendly names that made project.json simple.
Since this is all standard XML then a sufficiently smart XSLT post-parse should make this 'trivial' to desugar (similar to compiler 'lowering') to the traditional syntax.
But I have a feeling I am underestimating the reverse compat requirements here however...

I made an issue kind of to this but with a slightly different take, linking it just to keep track
#1453


Translate to Vietnamese

Thanks!

You are welcome.

Path is wrong (value-vi, missing s) is it not?


Add packages potentially helpful to a new arch user

Coming from other unixes/linuxes, I found these helpful to figure out
wtf was going on and to customize things for my hardware :)

I don't want to install the nvidia driver on my intel machine. Maybe the video driver should be configurable in group_vars/all.
I replaced xbindkeys with sxhkd on my machine a month or so ago. No reason for both.
I'm good with everything else.


API routes: webRes.headers is not iterable

Describe the bug
tl;dr
webRes.headers is not iterable when attempting to return data from API route. The result is that the connection does not close.
Background
Today, I setup our first API routes. After a handler executes, an unhandled error is thrown:
An unhandled error occured: TypeError: webRes.headers is not iterable
     at handleNodeResponse (file:///Users/aarongreenlee/repos/src/github.com/post-media/post-web/apps/pulitzer/node_modules/solid-start/node/fetch.js:158:38)
     at startHandler (file:///Users/aarongreenlee/repos/src/github.com/post-media/post-web/apps/pulitzer/node_modules/solid-start/dev/server.js:121:7)
     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Example Handler:
import { APIEvent } from 'solid-start/api';
import { json } from 'solid-start';

export async function POST(apiEvent: APIEvent) {
  try {
    const body = await new Response(apiEvent.request.body).json()
    const cookies = apiEvent.request.headers.get('Cookie') ?? '';
    const params = {
      ...body,
      ...cookies,
    };
    return '{"success": true}';
  } catch (e) {
    return json(e);
  }
}

Your Example Website or App
post.news
Steps to Reproduce the Bug or Issue

Create an API Handler
Make a request to this new handler
Observe the unhandled error
Connection from the client is left open

Expected behavior

Create an API Handler
Make a request to this new handler
Response is returned and the connection is closed

Screenshots or Videos

Platform

OS: macOS
Browser: Any
Version: Confirmed in 0.2.22 and 0.2.23

Additional context
Thank you

This is user error. My decision to return a string broke things. Returning return json({ success: true }); met the expectations solid-start had.
This is an opportunity to make solid-start more defensive and support other response types. Also, an opportunity for the docs to be clearer. I'll submit a PR for the docs.
I'll leave this open for the team to determine if they want to allow for other response types such as a string or close this as user error.
Thank you!

In setting up for SolidStarts next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed by mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience.

See https://github.com/solidjs/solid-start/pull/1139 for more details.


[Feature request] Option to select which tab to open a link in

Since there are no buttons on the dashboard to add/edit apps or bookmarks, I have just created links to them in Bookmarks. The problem is that whenever I click on links for applications, bookmarks or settings, it opens them in new tabs. By the time I have finished editing or configuring, I am left with 5 or 6 tabs of Flame. I know I am stupid by "going back" to see how it looks and then returning to edit and that closing extra tabs is not a big problem, but:
Can we have an additional setting while creating/editing apps or bookmarks - open in "same tab/new tab (default)" to override the global "open in new tab" setting?

What do you mean by:

there are no buttons on the dashboard to add/edit apps or bookmarks

It's working fine for me:

I mean on the dashboard. The only way I could go to the two screens you shared is by typing /applications and /bookmarks in the address bar after the URL.

I could be wrong (or most possibly need new specs), but other than the settings' cog icon on the bottom left, I couldn't find any internal navigation links/buttons.

You can just click on the section name:

Ah! I didn't know of that! Thanks for the info. But, can we still have an option to allow opening of a bookmark/app in the same tab?

#57


⚠ Bofrost.fr has degraded performance

In d292dc8, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1334 ms

Resolved: Bofrost.fr performance has improved in 62cd2f3 after 6 minutes.


Hide notifications for read messages on all devices

Problem
When actively chatting with someone on one device, you still receive notifications for messages on other devices which can be annoying.
We implemented context awareness for active devices here such that, if the user has the chat open or the message was already read then we do not show the notification. However this does not work for inactive devices.
Solution
Add extra context awareness such that, push notifications do not display on inactive devices for messages that have already been read. EG:

Log in on both web and iOS
Kill the iOS app
Open a chat on web
Receive a message for the open chat
Verify a notification does NOT display on both Web and iOS.

Triggered auto assignment to @trjExpensify (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero process steps for feature requests for more details.

Niceeee! Anything I need to do with this for now? Is someone taking it on internally from an engineering perspective, or do we need to add Internal to flesh it out/assign it out?

Yeah this'll need to be internal, but I wouldn't say it needs to be auto-assigned. It's open to be worked on by anyone as part of the #notification-rework project.
cc @cristipaval if you're interested

Job added to Upwork: https://www.upwork.com/jobs/~0183b1f325b7dd665f

Triggered auto assignment to Contributor Plus for review of internal employee PR - @rushatgabhane (Internal)

Clearing out assignees since this is just an internal project issue

I'm ging to discuss with @arosiclair internally about a solution for this one.

I'm spending my time on Manual Requests atm

I'm still focusing on Manual Requests.

Per this convo we're putting this on hold to make sure we have reliability dialed in first. I think you can still research how to accomplish this but let's hold implementation.

Still on hold.

I discussed a bit with @tgolen about this. I thought that we could rely on Pusher. My idea was to check if the user is active by checking if the account has a client with an active Pusher connection.
After thinking a bit more about this, I realized that Bob might have the App open with the chat with Alice in the foreground. In this case if:

Bob receives a message from Alice, no push notification should be sent
Bob receives a message from Dough, a push notification should be sent
So it's not enough to know if the user is online in order to determine if the push notification should be sent. I definitely have to start researching on how messages as marked as read.

I thought a bit more about this and I think we should rely on the read status of the chat report. Having said that, maybe we should coordinate with @MonilBhavsar's new project

No update yet. Going to make this one Monthly though.

this is still on hold.

this is still on hold

still on hold

The thing is that I am swamped with Wave4 Backward compatibility issues and I won't have the bandwidth for this one soon. I'll un-assign myself for now and I'll grab it again when I have free cycles if no ones picks it in the meantime.


Pub/Sub socket stats: dropped messages due to full buffers

We need some stats for tracking the number of lost messages due to full buffers inside of PubSocket and SubSocket.

@mempirate down to take this on!


Script error. at 0:

Whenever I use Karma on my CI server I get:
Chrome 26.0 (Linux) ERROR
Script error.
at :0
I've seen it before on my local dev (mac) box where it happens occasionally, but it happens every time on my CI (linux) box
Has anyone ever seen this, or does anyone have any ideas to try?

@lpsBetty just wondering what you did to fix this. I have the same exact scenario and just trying to figure out a way around it.

I just moved to PhantomJS and it went away
On Wed, Mar 11, 2015 at 6:27 PM, Kyle Thornton<EMAIL_ADDRESS>wrote:

@lpsBetty https://github.com/lpsBetty just wondering what you did to
fix this. I have the same exact scenario and just trying to figure out a
way around it.
—
Reply to this email directly or view it on GitHub
https://github.com/karma-runner/karma/issues/543#issuecomment-78339796.

@kylethornton if you debug your tests in the browser you can see the error in the console..
my error was caused by an external JS which was expecting a specific ID on a form element.. so I added the HTML in the test..

Thanks @lpsBetty. My error messages in the browser weren't as helpful, but I ended up just mocking $.getScript to give me more control of what happened with the callback. Since these are unit tests I only care about how my code is functioning anyway.

ok, I am glad you found a solution!

why phantomJs witrh karma throw error : ""Some of your tests did a full page reload!""  most of the time during UI Unit-Test-case . & how to fix it..?

I've had the exact same problem with angular cli.
Turns out it was a circular dependency (and I'm pretty glad that it was caught).
So if you've got that error when running ng test, just run instead ng serve which shows the circular dependencies as warnings, figure out which function, variable or whatever you've got to move and move it to break the circular dependency.

probably you need ts-helpers

I had this problem. In my case in karma-electron. It appears that when there are uncaught errors, the browser propagates the error to Karma somehow, but without all the details.
So what I did (and it is ugly) was I made karma wrap all my tests with try-catch blocks, and in the catch(err) block I call console.log(err) and then re-throw the error so that the error continues to propagate as usual.
This completely solved the issue for me, now any errors are logged to console.
One way that you can set this up is, at the top of your karma.config.js file,

use a tool like globby to get a list of all your test files.
for each test file

read the content
prepend the line try { at the beginning of the file (but after import statements if you're using those)
append a } catch (e) { console.log(e); throw e } line to the end of the file
Note, basically this try-catch wraps your describe calls.
Note, if you're using require, wrap the require() calls too (unlike with imports, which can't be wrapped) to catch more errors.
write the files to a new location, like ./tmp-karma-test-build

Now update your config file's files field to point to the new files, so Karma will load the modified test files instead of the original ones.
In your script where you run the karma command, make sure to erase the .tmp-karma-test-build folder, and add it to your .gitignore

Basically that's what I did, more or less. Now when I run Karma, I see helpful error messages logged to console instead of just Script error. at :0:0.
Your mileage may vary if it isn't the same issue.

If this is a problem in many browsers that Karma is running (not just karma-electron like in my case), then perhaps this is actually a bug in Karma and this issue may need to be re-opened.


[BUG] Flashcards don't wait any time before being required to review.

Describe the bug
For a few flashcards, no matter how many times I review them, they still show up as flashcards due for review. The metadata for the effected cards does not change.
To Reproduce
Steps to reproduce the behavior:
No idea! Seems to happen to random cards and persist for a random amount of time.
Expected behavior
The flashcard's metadata is meant to update and the flashcard is not supposed to be shown until at least the next day.
Screenshots
If applicable, add screenshots to help explain the bug. This could be the logs in the developer console (CTRL + SHIFT + i).
Versions (please complete the following information):

OS: Microsoft Windows 11 Home
Obsidian version: 1.4.14
Plugin version: v1.10.1
If on desktop, Installer version: '5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.4.14 Chrome/114.0.5735.289 Electron/25.8.1 Safari/537.36'

Additional context
Does not fix the non-updating flashcards:

Closing the review window and re-opening it
Completing the flashcards multiple times
Clicking "Reset Card's Progress"

Sometimes fixes some of the non-updating flashcards (not all of them):
Note: If it doesn't work on a flashcard the first time then it doesn't work at all.

Restarting Obsidian
Opening the file containing the flashcard

Consistently Fixes the non-updating flashcards:

Manually deleting the html comment (the metadata) for each and every card effected by the issue.

Hi there
I've just started contributing to this project, and felt that it would benefit from a restructure of the code.
(If you are a developer, you might be interested in the details at https://github.com/st3v3nmw/obsidian-spaced-repetition/discussions/736)
I have just completed this and am hoping that the project owner will accept the (fairly significant) changes I've made.
The code involved in the issue you raised was very intricate and complex. I've simplified this code (IMO), and wouldn't be surprised if the issue has been resolved.
Lets stay in touch and see what the project owner intends to do.
Cheers
Ronny

Thanks for the update, Ronny. It seems your refactoring has fixed the issue because it hasn't re-occurred.
Thanks so much for your contribution to the plugin!

Hey @Malachi-H, glad it helped, thanks for letting me know!


Distruptor queue exits unexpectedly, collector hangs up.

An unknown exception occurs in event handler, the disruptor event handler exits, so the collector exchange mechanism stopped.
we should

Add an error handler for disruptor.
Keep our eyes on the exception, and try to find out why.

FYI @chidaodezhongsheng , I think this is you are facing.

Fix #577


Explain how to use payment gateways

Coinpayments:
IPN secret can be found in https://www.coinpayments.net/index.php?cmd=acct_settings
Account ID is the one shown on almost every pages
Explain that currencies need to be activated in the coinpayments dashboard

This issue was solved by improving the overall experience in the dashboard when adding new gateways


feat: Download zip with both source code and new files

Copy the source code folder tosrc folder inside the generated artifacts folder which will be downloaded as a zip file. https://github.com/konveyor/move2kube-api/issues/51
Signed-off-by: Akash Nayak<EMAIL_ADDRESS>

Also, I am working on removing the AddCopySources warning from Readme.md in Move2Kube.

Also, I am working on removing the AddCopySources warning from Readme.md in Move2Kube.


Can't find protoc-gen-micro plugin for go micro v4

When i run go install go-micro.dev/v4/cmd/protoc-gen-micro@v4
i got an error like this go: go-micro.dev/v4/cmd/protoc-gen-micro@v4: module go-micro.dev/v4@v4 found (v4.8.0), but does not contain package go-micro.dev/v4/cmd/protoc-gen-micro

i has been found the solution

i has been found the solution

how to solve this problem？

https://github.com/asim/go-micro/issues/2526


CronJobber spinning up infinite jobs and pods on error

First of all thanks for this awesome component. While official Kubernetes is expecting to add a Timezone soon but it is getting delayed a lot and we are using CronJobber which works great.
I am using EKS 1.21 and noticed an issue where CronJobber cronjobs will keep spinning up new pods if there are any error, or ImagePullBackoff , CrashLoopBack etc.. it is not honoring the fields  concurrencyPolicy: Forbid . This works well with default CronJob API i.e. apiVersion: batch/v1 but not with CronJobber apiVersion: cronjobber.hidde.co/v1alpha1.
Is it possible to add a fix for this I am assuming this is happening because of the updates on CronJob in v 1.20
apiVersion: cronjobber.hidde.co/v1alpha1 kind: TZCronJob metadata:   creationTimestamp: "2022-05-18T20:02:02Z"   generation: 19   labels:     app: cronjob-test-qa     chart: test-cronjobs-68     release: cronjob-test-qa   name: cronjob-test-qa   namespace: qa   resourceVersion: "600673922"   uid: 667b2f60-02a9-4d19-992a-9b0dba7e8d50 spec:   concurrencyPolicy: Forbid   failedJobsHistoryLimit: 1   jobTemplate:     metadata:       labels:         app: cronjob-test-qa     spec:       backoffLimit: 2

I can not (with good conscious) release any of the proposed patches at the moment as I have no bandwidth to confirm they're working properly. Given this, feel free to e.g. attempt to build from https://github.com/hiddeco/cronjobber/pull/53 and use this at your own risk. But I fear that from my side, this project is very much abandoned as shared earlier in https://github.com/hiddeco/cronjobber/issues/43#issuecomment-890097573.


[BUG]

Environment
Self-Hosted (Docker)
System
No response
Version
3.0.0
Describe the problem
When dashy saves the configuration and then overwrites the configuration file,there no backup of the configuration file is created.
Additional info
No response
Please tick the boxes

[X] You have explained the issue clearly, and included all relevant info
[X] You are using a supported version of Dashy
[X] You've checked that this issue hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

Did you mount the config directly or mount the folder user-data?

Did you mount the config directly or mount the folder user-data?

Thanks.I change it to mount the folder user-data,it works.

Awesome 😎!


[FLINK-28222][formats] Add sql modules for csv/json formats

Use the same module structure for csv/json as for other formats for consistency, and remove a shade-plugin special case.

Alternatively we could just drop the unused sql-jar profiles and not create sql-jars at all for these formats, on the assumption that they will continue to be bundled with Flink.
But I think it could be confusing for users when they look for sql-jars and don't see csv/json.


Firefox fails to copy bigger amount of data

Error description
I would like to copy a bigger amount of data (~3MB of text) via clipboard JS. Unfortunately, this does not work in firefox. In the browser.console you can see the following error message:

document.execCommand(‘cut’/‘copy’) was denied because it was not called from inside a short running user-generated event handler.

Looks like a firefox security policy denied the copying of the data. Copying the data to the hidden form takes some time in Firefox. Do you think it is possible to fix / workaround this policy?
You can find a minimal example here:
https://jsfiddle.net/m951utk7/2/
Browsers affected
Chrome 58 (works fine)
Firefox 53 (does not work)
Opera 44 (works fine)
Internet Explorer (Windows 7) (works fine)

Unfortunately there's nothing we can do about this. I recommend you open an issue on https://bugzilla.mozilla.org.

Thank you for your answer. I did so: https://bugzilla.mozilla.org/show_bug.cgi?id=1360441

Hi @zenorocha,
I don't know how to reopen the case, but the firefox guys created a solution how the workaround this issue and make clipboard.js extremly fast. I think that is interesting for you.
Since Safari and IE allow copying text to the clipboard only if data is selected, but don't care, whether the selected text and the text text copied to the clipboard are actually the same, they select a dummy text in the dummy textarea and set the clipboard data manually in the event handler.
`
// This is implemented by directly copying the text into the DataTransfer.
function selectDataTransfer() {
// Register a copy handler which will directly add the text to the DataTransfer object.
function copyHandler(event) {
if (event.clipboardData) {
event.clipboardData.setData("text/plain", text);
} else {
// Internet Explorer is special, and needs to be given both a different
// MIME type, and have the method called on a different object.
clipboardData.setData("Text", text);
}
console.log("Added text");
event.preventDefault();
}
document.addEventListener("copy", copyHandler);
// Create a dummy text area and select it, as Safari and Edge require the
// text area to be selected to trigger an execCommand("copy")
var fakeElem = makeTextArea();
fakeElem.value = "a";
document.body.appendChild(fakeElem);
fakeElem.select();
fakeElem.setSelectionRange(0, fakeElem.value.length);
// Trigger the copy command, and then remove the event listener
console.log("execCommand =", document.execCommand("copy"));
document.removeEventListener("copy", copyHandler);
}
`
Detailed description:
https://bugzilla.mozilla.org/show_bug.cgi?id=1360441
Sample code (Click: "Select Data Transfer")
https://mystor.github.io/copy-reflow/

I tested this as a potential workaround for when Chrome is not able to copy a large text blob. Version 1.6.1 threw an error after 2 seconds, but this patch copied all the text successfully instantly.
This patch warrants a new immediate clipboard.js release, in my opinion.

This is closed, but have you tried this with larger amounts of data?  In my test cases, you need to be able to async/setTimeout run the execCommand but then Firefox requires clipboardWrite permission.  Formatting larger amounts of data in the textArea (36s in Chrome to format 6.2MB of ascii text) runs over the time limit, and then Chrome/Firefox will often fail the execCommand('copy') operation.  Chrome at least lets the execCommand be run from a setTimeout call that isn't user-generated.

I basically added the solution (or hack, if you will) that mystor provided in #412 , but wasn't accepted, exactly because large amounts of data ("large" being a few MBs), and clipboard.js then works in an instant instead of timing out or taking several seconds.


Idea & WIP: record activity lifecycle and compare to expected stack, restore the result on the module if detected

Detect the bug:  when the activity onActivityResult is received, with a null ReactContext, store the activityResult parameters and listen for the ReactContext instantiation on ReactInstanceManager
When ReactContext is ready (from the step1 listener), notify the app somehow

I'll work on that and provide update in this issue.

Quick update:
first, ReactContext is not ready in activity onResime, which seems logic reading the method doc on android.
second, even calling getReactInstanceManager().onActivityResult(this, requestCode, resultCode, data); when the context is ready is not helpful, the promise/callback for the module to send the response may be gone at that time.
So far, I'm able to detect the issue easily, next, I need to figure out a way to pass the data to the JS Context, maybe using another module or ?

this is more complexe that I thought, doe the react-native-image-crop-picker, I need to get the new image Uri, and the activityResult data/intent is null. I need first to save the Uri, then use the RN events system to push the new Uri when the app started.

Quick update, I've a patch almost ready for react-native-image-crop-picker, it will contain one patch and instruction for setup and how to recover the image.


Rollbar erroneously throws "Invalid log level 'notice'" exception

Problem
I've added Rolllbar to my application as Monolog handler. It keeps throwing "Invalid log level 'notice'" exception.
Reason
PSR-3 says:

The LoggerInterface exposes eight methods to write logs to the eight RFC 5424 levels (debug, info, notice, warning, error, critical, alert, emergency).

While Rollbar doesn't seem to support notice.
Solution
We should add notice level in order to complain PSR-3.

Looks fixed in the latest dev: https://github.com/rollbar/rollbar-php/commit/e5cb998feacef078bf98aa4375cb4748ca01acfc . Please release as a new stable version.

Released v1.2.0


JsonConvert.SerializeObject serializes key enums to their number equivalent

In native .NET, when you make a dictionary which the keys are enum values, they are converted to the enum's corresponding string values.
The enums while in the 'values' part of dictionaries, are mapped in to their numeric/integer representation, which Bridge follows nicely.
Deck reproducing the issue: https://deck.net/6273effea6d7a9bd3e739d2b0dcbc6f6
Corresponding, working dotnet fiddle: https://dotnetfiddle.net/oo2Wz2
This issue is very likely related to #93.
See Also

#93

Issue has been fixed and a pull request has been submitted. We still need to review the PR and write more tests. Once complete, we will include in the next release, which we should be able to complete soon.


Optionally allow non successful status codes to COMPLETE a HttpTask.

For certain scenarios we have a use case for a HttpTask which can return for instance a 404 response. We base our decision in the workflow on this status code (eg, create something when it does not exist yet).
This PR allows us to optionally alllow certain non 2xx status codes to NOT fail the workflow.

@pctreddy I'm sorry for contacting you like this but since you seem to be very active here I would like to know if there is anything I can do to get feedback for my PR?


[BEAM-11021] Add unsupported BundleFinalizationHandler to portable batch Flink.

This PR added an unsupported BundleFinalizationHandler to portable Flink in batch mode. This will give users a more detailed error message like:
ERROR:root:java.lang.UnsupportedOperationException: Portable Flink runner doesn't support bundle finalization in batch mode. For more details, please refer to https://issues.apache.org/jira/browse/BEAM-11021.

when users try to use bundle finalization in batch.
r: @mxm
cc: @lukecwik @ibzib

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java PreCommit

Test failure, but looks good otherwise.

Thanks for the quick approval! The spark unit tests were complaining mocking ambiguous stageBundleFactory.getBundle() method.

Run Python_PVR_Flink PreCommit

Run Python_PVR_Flink PreCommit

Run Python_PVR_Flink PreCommit

Flink test failures are cased by https://github.com/apache/beam/pull/13014

Run Python_PVR_Flink PreCommit

Test Result (1 failure / +1)

    apache_beam.runners.portability.flink_runner_test.FlinkRunnerTestStreaming.test_register_finalizations

https://ci-beam.apache.org/job/beam_PreCommit_Python_PVR_Flink_Phrase/16/
This is not expected?

Run Python_PVR_Flink PreCommit

Test Result (1 failure / +1)

    apache_beam.runners.portability.flink_runner_test.FlinkRunnerTestStreaming.test_register_finalizations

https://ci-beam.apache.org/job/beam_PreCommit_Python_PVR_Flink_Phrase/16/
This is not expected?

This is not expected. It seems like the test is kind of flaky .

Thanks for your quick review! I'm going to merge this PR.


Interaction use cases?

I recently ran a TPAC breakout discussion on: https://github.com/mmocny/proposal-async-event-listeners
It touched on the topic of script loading event listeners, boostrapping/hydration effects, and/or lazy loading event handlers.  I see that this overlaps with Use case 2: interaction, which is listed in the explainer-- though I don't actually see any details about how that use case is meant to be addressed.
I wonder if there is any overlap here?

The use case meant here is that part of the delay in user interactions is because of lazy function parsing & compilation. With explicit compile hints, we could avoid those delays by selecting code needed for certain (common / important) user interactions as eagerly compiled.
This feature only makes things more eager but never more lazy. So it can't be used for lazifying anything. If there's another mechanism for delaying something (like, delaying loading a JS file), you might use this feature for then making that thing eager when it's finally loaded.
I'm not an expert of the things you mentioned - do they contain JS functions that we'd like to make more eager than they are now?

This feature only makes things more eager but never more lazy.

Understood.  I was speculating about the potential to solve directly for making lazy things even more lazy.  Then, maybe everything else could be more eager by default.
However, I admit this is an unlikely change given the status quo and both efforts might be useful.

I'm not an expert of the things you mentioned - do they contain JS functions that we'd like to make more eager than they are now?

The proposal(s) I linked are very nascent, but the patterns are common in existing frameworks.
The goal is to decrease the amount of JS loaded by default, but still support progressive enhancement, by allowing DOM nodes to express interest in event dispatch without actually loading and attaching a concrete event listener.  (Most components on any complex site will provide optional functionality which is not actually needed for any specific user visit).
Once a node is actually targeted for event dispatch via user interaction, now you would need to make that JS function exceptionally eager.

Yes, definitely if the web moves to be "lazier", the browsers could start compiling more eagerly by default. However, I don't see that realistically happening, unfortunately.
You can also see this compile hint as a signal to the browser: "I have lazified my web page (delayed the loading of unnecessary stuff), you can handle the rest eagerly".


Typo in README

On line 99:
npm rebuild will run all those post-install scritps for us.
Should be scripts instead.

we accept PRs :)

Awesome! Wasn't sure what the policy was, but looks like it was handled in #66, so I will close this.


BUG: HDK raises exception in nunique

Modin version checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest released version of Modin.

[X] I have confirmed this bug exists on the main branch of Modin. (In order to do this you can follow this guide.)

Reproducible Example
import sys
import time
from collections import OrderedDict
import os
os.environ["MODIN_EXPERIMENTAL"] = "true"
os.environ["MODIN_STORAGE_FORMAT"] = "hdk"
os.environ["MODIN_ENGINE"] = "native"
import modin.pandas as pd

def read(filename):
    column_types = {
        "trip_id": "int64",
        "vendor_id": "string",
        "pickup_datetime": "object",
        "dropoff_datetime": "object",
        "store_and_fwd_flag": "string",
        "rate_code_id": "int64",
        "pickup_longitude": "float64",
        "pickup_latitude": "float64",
        "dropoff_longitude": "float64",
        "dropoff_latitude": "float64",
        "passenger_count": "int64",
        "trip_distance": "float64",
        "fare_amount": "float64",
        "extra": "float64",
        "mta_tax": "float64",
        "tip_amount": "float64",
        "tolls_amount": "float64",
        "ehail_fee": "float64",
        "improvement_surcharge": "float64",
        "total_amount": "float64",
        "payment_type": "string",
        "trip_type": "float64",
        "pickup": "string",
        "dropoff": "string",
        "cab_type": "string",
        "precipitation": "float64",
        "snow_depth": "int64",
        "snowfall": "float64",
        "max_temperature": "int64",
        "min_temperature": "int64",
        "average_wind_speed": "float64",
        "pickup_nyct2010_gid": "float64",
        "pickup_ctlabel": "float64",
        "pickup_borocode": "float64",
        "pickup_boroname": "string",
        "pickup_ct2010": "float64",
        "pickup_boroct2010": "float64",
        "pickup_cdeligibil": "string",
        "pickup_ntacode": "string",
        "pickup_ntaname": "string",
        "pickup_puma": "float64",
        "dropoff_nyct2010_gid": "float64",
        "dropoff_ctlabel": "float64",
        "dropoff_borocode": "float64",
        "dropoff_boroname": "string",
        "dropoff_ct2010": "float64",
        "dropoff_boroct2010": "float64",
        "dropoff_cdeligibil": "string",
        "dropoff_ntacode": "string",
        "dropoff_ntaname": "string",
        "dropoff_puma": "float64",
    }

    all_but_dates = {
        col: valtype
        for (col, valtype) in column_types.items()
        if valtype not in ["timestamp"]
    }
    dates_only = [
        col for (col, valtype) in column_types.items() if valtype in ["timestamp"]
    ]

    df = pd.read_csv(
        filename,
        header=0,
        dtype={**all_but_dates, "payment_type_class": "string"},
        parse_dates=dates_only,
    )

    df.shape  # to trigger real execution on omnisci
    return df

def hdk_warmap_query():
    # Trigger HDK initialization by executing a quick trivial
    # query. It is necessary for correct time measurement of ETL part.
    df = pd.DataFrame({"a": [1, 2, 3]})
    df = df + 1
    df.shape

def measure(func, *args, **kw):
    t0 = time.time()
    res = func(*args, **kw)
    t1 = time.time()
    return res, t1 - t0

def run(input_file):
    hdk_warmap_query()

    res = OrderedDict()
    df, res["Reading"] = measure(read, input_file)
    df["pickup_datetime"] = df["pickup_datetime"].astype("object")
    df["dropoff_datetime"] = df["dropoff_datetime"].astype("object")

    # Begin RandomForestClassifier part here
    payment_mapping = {
        "cash": 0,
        "credit": 1,
        "other": 2
    }

    # Create a new column 'payment_type_class' with the mapped values
    df["payment_type_class"] = df["payment_type"].map(payment_mapping)
    df["payment_type_class"] = df["payment_type_class"].astype(int)  # Convert to int

    # Check the number of unique classes in the target variable
    target = df["payment_type_class"]
    num_classes = target.nunique()
    print(f"Number of classes: {num_classes}")
    return res

def main():
    if len(sys.argv) != 2:
        print(f"USAGE: python taxi.py <data file name>")
        return
    result = run(sys.argv[1])
    print(result)

if __name__ == "__main__":
    main()

Issue Description
This code runs successfully on pandas and modin on ray but fails on HDK.
Expected Behavior
To run successfully as python backends do.
Error Logs

Traceback (most recent call last):
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_serializer.py", line 394, in serialize_dtype
    type_info = {"type": self._DTYPE_STRINGS[dtype.name], "nullable": True}
                         ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'object'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/jovyan/tests/dspw/taxi.py", line 145, in <module>
    main()
  File "/home/jovyan/tests/dspw/taxi.py", line 140, in main
    result = run(sys.argv[1])
             ^^^^^^^^^^^^^^^^
  File "/home/jovyan/tests/dspw/taxi.py", line 132, in run
    num_classes = target.nunique()
                  ^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/logging/logger_decorator.py", line 129, in run_and_log
    return obj(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/pandas/series.py", line 2171, in nunique
    return super(Series, self).nunique(dropna=dropna)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/logging/logger_decorator.py", line 129, in run_and_log
    return obj(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/pandas/base.py", line 2191, in nunique
    self._query_compiler.nunique(axis=axis, dropna=dropna)
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/storage_formats/hdk/query_compiler.py", line 99, in method_wrapper
    return method(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/logging/logger_decorator.py", line 129, in run_and_log
    return obj(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/storage_formats/hdk/query_compiler.py", line 430, in nunique
    return self._agg("nunique")
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/storage_formats/hdk/query_compiler.py", line 99, in method_wrapper
    return method(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/logging/logger_decorator.py", line 129, in run_and_log
    return obj(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/storage_formats/hdk/query_compiler.py", line 472, in _agg
    new_frame = new_frame._set_index(
                ^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/logging/logger_decorator.py", line 129, in run_and_log
    return obj(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/dataframe/dataframe.py", line 2255, in _set_index
    obj = self._execute()
          ^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/logging/logger_decorator.py", line 129, in run_and_log
    return obj(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/dataframe/dataframe.py", line 2041, in _execute
    result = frame()
             ^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/logging/logger_decorator.py", line 129, in run_and_log
    return obj(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/dataframe/dataframe.py", line 2081, in _materialize
    partitions = self._partition_mgr_cls.run_exec_plan(self._op)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/logging/logger_decorator.py", line 129, in run_and_log
    return obj(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/partitioning/partition_manager.py", line 254, in run_exec_plan
    calcite_json = CalciteSerializer().serialize(calcite_plan)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_serializer.py", line 106, in serialize
    return json.dumps({"rels": [self.serialize_item(node) for node in plan]})
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_serializer.py", line 106, in <listcomp>
    return json.dumps({"rels": [self.serialize_item(node) for node in plan]})
                                ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_serializer.py", line 139, in serialize_item
    return self.serialize_node(item)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_serializer.py", line 178, in serialize_node
    return self.serialize_obj(node)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_serializer.py", line 207, in serialize_obj
    res[k] = self.serialize_item(v)
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_serializer.py", line 145, in serialize_item
    return [self.serialize_item(v) for v in item]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_serializer.py", line 145, in <listcomp>
    return [self.serialize_item(v) for v in item]
            ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_serializer.py", line 141, in serialize_item
    return self.serialize_expr(item)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_serializer.py", line 252, in serialize_expr
    return self.serialize_typed_obj(expr)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_serializer.py", line 228, in serialize_typed_obj
    res["type"] = self.serialize_dtype(obj._dtype)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jovyan/.conda/envs/modin/lib/python3.11/site-packages/modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_serializer.py", line 400, in serialize_dtype
    raise TypeError(f"Unsupported dtype: {dtype}")
TypeError: Unsupported dtype: object

Installed Versions

INSTALLED VERSIONS
commit              : a671b5a8bf5dd13fb19f0e88edc679bc9e15c673
python              : 3.11.7.final.0
python-bits         : 64
OS                  : Linux
OS-release          : 5.15.0-91-generic
Version             : #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023
machine             : x86_64
processor           : x86_64
byteorder           : little
LC_ALL              : None
LANG                : None
LOCALE              : en_US.UTF-8
pandas              : 2.1.4
numpy               : 1.26.3
pytz                : 2023.3.post1
dateutil            : 2.8.2
setuptools          : 69.0.3
pip                 : 23.3.2
Cython              : None
pytest              : None
hypothesis          : None
sphinx              : None
blosc               : None
feather             : None
xlsxwriter          : None
lxml.etree          : None
html5lib            : None
pymysql             : None
psycopg2            : None
jinja2              : 3.1.3
IPython             : None
pandas_datareader   : None
bs4                 : None
bottleneck          : None
dataframe-api-compat: None
fastparquet         : None
fsspec              : 2023.12.2
gcsfs               : None
matplotlib          : None
numba               : None
numexpr             : None
odfpy               : None
openpyxl            : None
pandas_gbq          : None
pyarrow             : 12.0.1
pyreadstat          : None
pyxlsb              : None
s3fs                : 2023.12.2
scipy               : 1.12.0
sqlalchemy          : None
tables              : None
tabulate            : None
xarray              : None
xlrd                : None
zstandard           : None
tzdata              : 2023.4
qtpy                : None
pyqt5               : None

taxi.csv
Attached is a data file for the reproducer.

Thanks @gshimansky!
@AndreyPavlenko shouldn't pandas be called when TypeError: Unsupported dtype: object occurs?

@AndreyPavlenko shouldn't pandas be called when TypeError: Unsupported dtype: object occurs?

On this stage we can't fall back to pandas.

@gshimansky, how urgent is this issue?

@gshimansky, how urgent is this issue?

If the fix is easy then it would be nice to have it by the next modin release. If it is not then I suppose it is not hard just to plug the function with a pandas fallback.

@gshimansky, from the discussion with @AndreyPavlenko, it is not that easy to fix the issue and we would have to look into the code. Since HDK is not the primary priority for now, I am tagging the issue with P3. Hope you will find a workaround.

@gshimansky The exception is not caused by nunique, but .astype("object"). nunique triggers lazy execution and it can not fall back to pandas. Do you really need these casts? As I see, the same types are specified in column_types for these columns?

Ok I see. This is the user code, not mine, so if you are saying that this cannot be done I will talk with the person who wrote this code to convince to change it.

Removing conversion into object type fixes this problem.


Site is old and does not use typical maven site

I believe based on looking at the site was manually generated on gh-pages rather than placed in src/main/site and created via maven.  I simply need some direction here on how to fix this by integrating it with the core source code.

Resolved via gh-pages integrated into release.  Uses old apache maven style right now but will be fixed shortly to use fluido going forwards.

Site will make use of a redirection from this point in order to make the nicer site pages display.  Maven uses it's internal site plugin and meta data has been added to force it over to the new page.  A note on the screen will indicate the redirect in 5 seconds.  That allows us time to look at project information as well as anyone using this.


Access to map.data.addGeoJson

Hello,
I'am updating react-google-maps, and i dont understand how can I access to the GMAP addGeoJson method.
I use the handler to get map in refs, but I do not find data.addGeoJson in mapobject.
An idea?
Thx.

No available API at this moment.

What is currently the best way to add a GeoJson polygon to the map?

@joanrodriguez afaik, there isn't unless you use the <DataLayer /> API.  You can always just follow the API and display a polygon using this library though.

@joanrodriguez  PRs are welcomed!

Needed it in one of my projects, the below works great for me.
https://github.com/tomchentw/react-google-maps/pull/725

Instead of the pull request as #725, I have referenced the code in #454  and below is a working solution for addGeoJson in the Google API :
...
import { MAP } from 'react-google-maps/lib/constants';
const { compose, withProps, withStateHandlers, withHandlers, lifecycle } = require("recompose");
...

...
const MapWithADrawingManager = compose(
  withProps({...}),
  withScriptjs,
  withGoogleMap,
  lifecycle({
    ...
    // Mount the current google map instance to props
    componentWillMount() {
      const refs = map ? { GoogleMap } : {};
      this.setState({
        onMapWillMount: ref => {
          refs.map = ref;
          (window).googleMapsObject = (refs.map).context[MAP];
          //load the GeoJson to the map
          refreshDataFromGeoJson(refs.map);
        },
        currentMap: refs.map
      });
    }
  })
)(props =>
...

...
const refreshDataFromGeoJson = function (currentMap) {
  if (!currentMap) {
    return;
  }
   // Call the Data class in the initial google map API
  var newData = new google.maps.Data();

  // Define the GeoJson object
  let tempGeoJsonObj;
  try {
    tempGeoJsonObj = {
      "type": "FeatureCollection",
    ...
    };

    // Call the addGeoJson from the Data class
    var newFeatures = newData.addGeoJson(tempGeoJsonObj);
  } catch (error) {
    newData.setMap(null);
    return;
  }

  // Set the data to the current map
  newData.setMap(currentMap.context[MAP]);
}

@pttse Thnks. I have figured out the way.

@ganesh-sankey
The addGeoJson is just one of the methods of the google.maps.Data class:
https://developers.google.com/maps/documentation/javascript/reference/3.32/data
The above code demonstrated how to use it -  Create a Data class object first, then load the geojson by calling the addGeoJson method.
Hope it helps


feat(Analytics): Support for Timeseries Aggregated Statistics

Adds support for doing aggregations over time-series aspect fields, and migrates the existing usage stats implementation on top this feature. The key changes include

two new annotations @TimeseriesField and @TimeseriesFieldCollection to the PDL for defining the aggregatable fields
necessary elastic index generation logic
a generalized query end-point via the new analytics end-point.

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

If we have a string grouping and then date grouping, will it work?
@dexter-mh-lee, Yes, it would work! The only limitation on the grouping buckets is that if a date grouping bucket is specified, it is allowed only on the timestampMillis field because of the way the index is built.

In general, we need more docs (Logic overview, API examples, etc.). Maybe add them in the next PR!
Sure, will ship them in the next PR.


New version: DSGE v0.5.1

Registering package: DSGE
Repository: https://github.com/FRBNY-DSGE/DSGE.jl
Created by: @caimichael
Version: v0.5.1
Commit: 663f5e7b3015283e84dc4d2316163834651b57cd
Reviewed by: @caimichael
Reference: https://github.com/FRBNY-DSGE/DSGE.jl/commit/663f5e7b3015283e84dc4d2316163834651b57cd#commitcomment-33856261

Looks like your tests passed now.


add creators.json and exhibitions.json to this repo

For completeness, it'd be nice to have the creators and exhibition data in this repository.  Combined, they are less than 4 megabytes, but if there are changes to the data they should probably be stored as git lfs.

Mona


idris2Packages.withPackages

Project description
nixpkgs currently has an idris1 package shell 'idrisPackages.with-packages'.
I'd like this for idris2. The current package format for the idris1 libraries in idris-modules is not compatible with idris2, and mostly neither is the code.
Happy to work on this but I'd need some instruction.

Looks like @wchresta's https://github.com/NixOS/nixpkgs/pull/154649 provides this.

I believe the need for idris2.withPackages is fulfilled by the idris2Packages.buildIdris function we now have. We can reopen this ticket and I am happy to think on it more if that's not the case. One small difference is that idris2Packages.buildIdris requires an ipkg file, but creating a simple ipkg file is a low barrier, even just for a directory where you are experimenting with something. The buildIdris function puts any number of packages into Idris2's package path at build time and it offers a shell hook that adds those packages to the package path as well for development purposes.


Data Annotations consistency.

Right now, for data annotations to work properly in a sample login form we annotate like this:
        [Required]
        [EmailAddress]
        public string Email { get; set; }

        [Required]
        [DataType(DataType.Password)]
        public string Password { get; set; }

But if we annotate like this :
        [Required]
        [DataType(DataType.EmailAddress)]
        public string Email { get; set; }

        [Required]
        [DataType(DataType.Password)]
        public string Password { get; set; }

The DataType EmailAddress does not trigger the email validation.
I think mvc should always use DataType(DataType ...) and have 'helpers' when seems appropiate like [EmailAddress] that internally uses the DataType(DataType.EmailAddress).

Hmm not sure I fully understand. The [DataType] attribute just specifies the data type - that affects the display and processing of the field. It is not a validation attribute (despite its base class). On the other hand, the [EmailAddress] attribute is a proper validation attribute that checks for<EMAIL_ADDRESS>formats.
Even though these two attributes are in the same namespace and even have the same base class, their purposes are quite different.
It's interesting you just brought this up because just the other day I was talking to some other folks on the MVC team and we discussed how it is crucial for MVC to treat the Data Annotations attributes as they were designed and to make sure that MVC doesn't add/change any of these behaviors. Every time we've changed the behavior in the past (either on purpose or by accident) it came back to cause issues.

I see, wow! I have like 4+ years doing mvc and this is the first time that this DataType vs other attributes does make some sense.
What I think is confusing is this:
[DataType] affects display and processing
[EmailAddress] is a validation attribute.
but [EmailAddress] does also affects display and processing. (<input type="email" ...>)
It was never clear to me what DataType exactly does and that the others are validators (like required, EmailAddress, etc).
While now is more clear, I still think it's confusing, but can be just me.

I did some more 'testing' and what looks to be inconsistent is that the Validation attribute does not honor the DataType attribute
[Required]
[EmailAddress]
[DataType(DataType.Text)]
public string Email { get; set; }

the input is still rendered as <input type="email" ...>

@Bartmax the last sample you've shared includes conflicting [DataType] instances.  given the model itself is inconsistent, what exactly would you suggest change?

[EmailAddress] does also affects display and processing

yes, [EmailAddress] is a subclass of [DataType].

I think it's confusing from an api point of view, and can be only me.
If any, the only think that I suggest is to make more clearly that EmailAddress subclasses DataType.EmailAddress (hence provide presentation and validation) and that DataType does not do any validation but presentation.
maybe via documentation (summary).

MSDN makes the relationship between the classes clear.


Swift Compiler Error after updating to Swift 4

I've encountered some compiler error after upgrading to Swift 4.
Xcode Version 9.1
Pods/Hokusai/Classes/Hokusai.swift:186:65: Argument of '#selector' refers to instance method 'tick' that is not exposed to Objective-C
Pods/Hokusai/Classes/Hokusai.swift:285:64: Argument of '#selector' refers to instance method 'onOrientationChange' that is not exposed to Objective-C
/Pods/Hokusai/Classes/Hokusai.swift:353:36: Argument of '#selector' refers to instance method 'buttonTapped' that is not exposed to Objective-C
And counting...How can fix this?
Thanks in advance

@lucamicheli did you find a fix for this?

Unfortunately not.

@lucamicheli thanks.
@ytakzk is there a fix for this?
Based on my research, adding '@objx' would expose these instance methods to Objective-C and I see that in the Hokusai.swift file of your latest Hokusai version (0.4.0) you have those @objc attributes. However, when I install this latest pod via Cocoapods, I do not see these attributes in the Hokusai file. Can you please help with this issue?


too many open files

I've currently running InfluxDB 2.0.4 on Mac Big Sur. I'm loading a lot of historical finance data into Influx with a multi year span. However after the first year of loading I am immediately hit with a too many open files issue.
After looking online for solutions, I've came across the solution of setting ulimit or setting shard duration during bucket creation.
When I tried to change ulimit in mac, I can see with ulimit -n getting 65536, or launchctl limit maxfiles showing 65536, this did not avert the problem.
When I tried to set shard duration in InfluxDB v2, I realized that no docs specify this possibility in v2 and it appears to be a v1 possibility.
Basically now I am wondering what have I done wrong or how can I amend this issue?
Thank you.

@gtr32x 2.0.5 (to be released by end of this month) will restore the ability to set shard-group durations

Thank you for the reply, is there a way I can get the nightly a bit earlier?

@gtr32x you can pull the nightly archive from our Downloads Portal (see the "2.x Nightly" button)

Thank you


1111

VSCode Version: Code 1.11.0 (9122ec4b1068bd391e41974f46a4b54c1b9c90f9, 2017-04-05T20:59:05.375Z)
OS Version: Windows_NT ia32 6.1.7601
CPUs: Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 x 3292)
Memory (System): 7.90GB (4.27GB free)
Memory (Process): 107.50MB working set (107.50MB peak, 77.57MB private, 38.20MB shared)
Load (avg): 0, 0, 0
VM: 0%
Initial Startup: no
Screen Reader: no
Empty Workspace: no
Timings:

Component
Task
Time (ms)

renderer
window.loadUrl() => begin to require(workbench.main.js)
717

renderer
require(workbench.main.js)
786

renderer
create extension host => extensions onReady()
2386

renderer
restore viewlet
812

renderer
restore editor view state
1

renderer
overall workbench load
2270

main + renderer
start => extensions ready
3976

main + renderer
start => workbench ready
3787

Additional Steps to Reproduce (if any):

@chenqi1992 Please attach the two profile files mentioned in the output.

Closing because this issue is without actionable information.


Add sflow-1.1 cfg test code

SFLOW-1.1 functional test, containing the configuration part of the SFLOW-1 test requirements.

Implements the DUT config portion of SFLOW-1 test
Introduces a config plugin providing default config and applying DUT deviations
Creates sflow and static route config plugins
Configures DUT and verifies DUT configuration is as expected

TODO: In follow up PR, use ATE to send traffic to be sampled, captured, decoded and verified

Pull Request Functional Test Report for #2381 / bade6ea992c634b035475bd68b596b6aa1455957
No tests identified for validation.
Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 48.7%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1536

Relevant Lines:
3154

💛  - Coveralls


Login form action is rendered to blade and sent in http in an https context

Description
I'm serving a twill application locally with self-signed certificates, the login form to the admin panel is printing an HTTP request as action instead of HTTPS which im serving, that makes a redirection from http to https /login route making dashboard page unaccesible

Steps to reproduce

Running an Ubuntu 22.04.3 LTS system

Having:

APP_ENV=local
APP_DEBUG=true
APP_TIMEZONE=Europe/Madrid
APP_URL="app.domain.local"
ADMIN_APP_URL="app.domain.local"
ADMIN_APP_PATH="/"

A fresh laravel-twill application with php-fpm on docker with an nginx up front

place the testing domain on your hosts file

Expected result
Expected the POST login request to be sent successfully allowing a redirection to admin panel
Actual result
POST login request is been sent in plain http which is not allowed in a secure context
Versions
Twill version: ^3.0
Laravel version: ^10.10
PHP version: ^8.1
Database engine: MariaDB 11.1.2

Hi @xoxefdp, I don't think this is a Twill issue. Your Laravel application is responsible for generating URLs, and if it doesn't receive headers indicating an HTTPS request, it won't generate HTTPS URLs.

Try to create a dummy form and route outside of Twill in your application, does it generate an HTTPS URL in your form action?

You'll most likely have to set up your trusted proxies (trustproxies Middleware) or configure your nginx to set the X-Forwarded-Proto Header

You'll most likely have to set up your trusted proxies (trustproxies Middleware) or configure your nginx to set the X-Forwarded-Proto Header

This is the way to go, configuring trusted proxies for the load balancers did the trick, it was nothing to do with twill but laravel

Hi @xoxefdp, I don't think this is a Twill issue. Your Laravel application is responsible for generating URLs, and if it doesn't receive headers indicating an HTTPS request, it won't generate HTTPS URLs.

You got ir, nothing to do with twill but laravel, defining the trusted proxies did the trick


What is the encryption standard underlying ProtectedData Class

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@dsfwb - created an issue  https://github.com/dotnet/dotnet-api-docs/issues/2376
closing this issue.


demo chat sign up/in dead

I was trying to sign up to test the interface, but I'm getting

CSRF verification failed. Request aborted.

After a sign up via ouath gmail.

@wiktorcie can you be more clear about exactly what server you visited, etc?

ok, I figured it out. Cause was on my side. I had chrome + private internet access vpn extension enabled. That caused the CSRF error for some reason. Weird.


Create "Goth" (Dark) Skin

Following the creation of "Rock", the default skin, create "Goth" - a dark variation.

While skinned styling is an ongoing concern, the current elements are skinned and the skin is persisted per application in user settings. Skins can be changed from the View menu.


[FEAT] Do not auto scroll to the top of the flashcard after clicking to reveal the answer

For longer cloze deletion cards, it is rather annoying to have to scroll back down again after having done so in the first place when selecting to read the answer. Preserving the current scroll position would be very convenient.

Could you share such a long card. Best would be to share the whole file.

This could potentially a bit difficult but I will take a look at it.

Here:
Radar Questions #1

What is IQ demodulation, and why is it important in radar systems?
==IQ demodulation involves reconstructing the complex envelope of a signal from in-phase (I) and quadrature-phase (Q) components, which is crucial for accurately processing radar signals after downconversion.==
How are the I and Q components used to reconstruct a radar signal?
==The I and Q components are combined to form the complex signal envelope, where the in-phase (I) component represents the real part and the quadrature-phase (Q) component represents the imaginary part. This allows for accurate signal reconstruction.==
What does the following diagram illustrate about IQ demodulation?
![[Pasted image<PHONE_NUMBER>3430.png|400]]
==The top diagram shows the downconversion process at the ADC, and how the I and Q components are derived using cosine and sine functions from the input signal.==
What does the the following diagram depict about the time signal and coherent I and Q sampling?
![[Pasted image<PHONE_NUMBER>3456.png|500]]
==The bottom left diagram shows the time signal at the top and the corresponding coherent I and Q sampling of a Doppler shifted pulse train, illustrating how these components vary over time.==
What is shown in the following diagram regarding Doppler processing?
![[Pasted image<PHONE_NUMBER>3525.png|500]]
==The bottom right diagram illustrates a generic Doppler processor of a coherent train of M identical coded pulses, highlighting the integration and FFT processing steps for Doppler frequency analysis.==
Big Picture: Why is understanding IQ demodulation and Doppler processing critical for radar technology?
==Understanding IQ demodulation and Doppler processing is essential for accurately interpreting radar signals and extracting meaningful information about target movement and velocity. These techniques are fundamental for effective radar signal processing, enabling advanced applications such as target tracking, velocity measurement, and improving overall radar performance.==

Copy this into Obsidian, should be long enoughy, though I had images in there, maybe some example files might be sufficient

https://github.com/st3v3nmw/obsidian-spaced-repetition/assets/38220764/6f6842a0-afdf-4c23-9b17-d39d13217482
Did you mean the scroll back up after your selected hard/good/easy?

If you wanna try my FIX this would be great here you can download the main.js file and put it in YOUR_VAULT/.obsidian/plugins/obsidian-spaced-repetion not sure this is possible on mobile if your are on mobile

Hi sorry for the late reply:

i have it on max flashcard size
that new fix looks great! I am using it on computer only

that new fix looks great! I am using it on computer only

The video isn't a fixed version if you thought this. If I understand you correctly it jumps back up to the top after clicking show answer and not like it is in my case after clicking good/easy/hard

Could you please give additional Information:

Your System OS
Plugin Version
Obsidian Version
A Video of how it looks by you would be great

Windows 11
1.12.4
1.5.12
I will try to upload the video soon, it seems like you understand the issue though

Hi @nayyala did you manage to try @4Source's fix? Does it do what you were after?


Cache installed dependencies in GitHub actions

Cache the poetry install dependencies to speed up CI/CD integration

Caching implemented, but unit tests still run very slowly
If this causes deeper issues, parallel tests may need to be implemented

Note: new packages will cause a reinstall

Cache potentially causing issue

Error seems to be due to HF Hub being down for maintenence


add icons relate to the OUR FEATURES

i can add icons that relate to the content that is provided it will make the Our Features section attractive

Please assign this issue to me as I would like to work on fixing it. also add the label GSSoC 2024 Extd relaevant .

please assign  me this task

i can enhance the styling on OUR feature section please assign me this isssu


Update how-to-change-fonts-and-colors-in-the-editor.md

This was hard to find from google. VSC takes all the top spots. Hoping to boost SEO

@Rick-Anderson : Thanks for your contribution! The author, @gewarren, has been notified to review your proposed change.

Arg, I should have added the search. Now your doc is coming up first.

@Rick-Anderson : Thanks for your contribution! The author, @gewarren, has been notified to review your proposed change.


chore: token box copies noir source files from noir-contracts on bootstrap

saves a manual copying over whenever the noir source files update

Benchmark results
Metrics with a significant change:

l2_block_building_time_in_ms (8): 9,089 (-18%)
l2_block_building_time_in_ms (32): 36,250 (-18%)
l2_block_building_time_in_ms (128): 159,754 (-20%)
l2_block_rollup_simulation_time_in_ms (8): 6,718 (-18%)
l2_block_rollup_simulation_time_in_ms (32): 26,711 (-19%)
l2_block_rollup_simulation_time_in_ms (128): 106,379 (-19%)
l2_block_public_tx_process_time_in_ms (8): 2,327 (-16%)
l2_block_public_tx_process_time_in_ms (128): 52,696 (-21%)
l2_block_processing_time_in_ms (8): 1,037 (-17%)
l2_block_processing_time_in_ms (32): 3,960 (-17%)
l2_block_processing_time_in_ms (128): 15,650 (-16%)
note_successful_decrypting_time_in_ms (32): 1,054 (-18%)
note_successful_decrypting_time_in_ms (128): 4,087 (-18%)
note_trial_decrypting_time_in_ms (8): 50.0 (-49%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit eaa3d4e3 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
222,888
868,172
3,449,720

l1_rollup_execution_gas
841,975
3,595,280
22,205,089

l2_block_processing_time_in_ms
:warning: 1,037 (-17%)
:warning: 3,960 (-17%)
:warning: 15,650 (-16%)

note_successful_decrypting_time_in_ms
347 (-12%)
:warning: 1,054 (-18%)
:warning: 4,087 (-18%)

note_trial_decrypting_time_in_ms
:warning: 50.0 (-49%)
109 (-1%)
137 (-5%)

l2_block_building_time_in_ms
:warning: 9,089 (-18%)
:warning: 36,250 (-18%)
:warning: 159,754 (-20%)

l2_block_rollup_simulation_time_in_ms
:warning: 6,718 (-18%)
:warning: 26,711 (-19%)
:warning: 106,379 (-19%)

l2_block_public_tx_process_time_in_ms
:warning: 2,327 (-16%)
9,411 (-15%)
:warning: 52,696 (-21%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
11,681 (-2%)
22,232 (-2%)

note_history_successful_decrypting_time_in_ms
2,409 (-2%)
4,708 (-3%)

note_history_trial_decrypting_time_in_ms
122 (-1%)
197 (-6%)

node_database_size_in_bytes
1,664,641
1,202,308

pxe_database_size_in_bytes
27,188
54,187

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
47.7 (-9%)
61,697
18,841

private-kernel-ordering
23.4 (-9%)
24,233
8,089

base-rollup
855 (-10%)
639,797
811

root-rollup
38.9 (-6%)
4,072
1,097

private-kernel-inner
42.9 (-9%)
81,504
18,841

public-kernel-private-input
47.8 (-12%)
41,455
18,841

public-kernel-non-first-iteration
31.3 (-11%)
41,497
18,841

merge-rollup
0.884 (-18%)
2,592
873

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
8,723
27,508


docs: fix typos found with cspell

word list from using cspell:
project-words.txt

Wow it's like no one reads the Code :(
Who made all those Errors?
AI Coders will Win for Sure!
Nexus needs Github AI-Pilot Coders

@NamecoinGithub please let the adults work. I can teach you how to make a PR if you ask nicely. Thanks

I would Break this up into probably 10 Different Pull Requests, I would say this large of things has like 0% chance of being Merged as is!
Thanks, hope to find you Well!

Nice trolling

I saw your AI bots. This project is a cult anyways. Have fun with your bots
and crypto

Well,
I am unsure, what Offends you other than the Lack of a sense of Humor?
All "New" Technology is Driven by what people might "Call" a "Cult" if they want to make the mistake in it's character judgement!
But, what I think you mean by "Cult" instead of using Technology Enthusiast as is more common, but Cult is much more demeaning as you are implying "Demon" and "God" Cult statuses upon an Inanimate Object!
My AI work has nothing to do with Nexus, I am just a Volunteer, No one pays me anything and I don't ask for anything! I try to do my Best and that is it and NOT make mistakes, but mistakes happen, and 1 mistake I know that did NOT happen is you ever seeing "My AI BOTS"!
I wonder if your being serious at this point really! Are you that Paranoid in Life?
Sent with Proton Mail secure email.
------- Original Message -------
On Sunday, October 29th, 2023 at 4:21 PM, Jonathan Boutsicaris @.***> wrote:

I saw your AI bots. This project is a cult anyways. Have fun with your bots
and crypto
—
Reply to this email directly, view it on GitHub, or unsubscribe.
 Do not expect anything else to come from your behavior
On Thu, Nov 2, 2023, 12:39 AM NamecoinGithub @.***>
wrote:

Well,
I am unsure, what Offends you other than the Lack of a sense of Humor?
All "New" Technology is Driven by what people might "Call" a "Cult" if
they want to make the mistake in it's character judgement!
But, what I think you mean by "Cult" instead of using Technology
Enthusiast as is more common, but Cult is much more demeaning as you are
implying "Demon" and "God" Cult statuses upon an Inanimate Object!
My AI work has nothing to do with Nexus, I am just a Volunteer, No one
pays me anything and I don't ask for anything! I try to do my Best and that
is it and NOT make mistakes, but mistakes happen, and 1 mistake I know that
did NOT happen is you ever seeing "My AI BOTS"!
I wonder if your being serious at this point really! Are you that Paranoid
in Life?
Sent with Proton Mail secure email.
------- Original Message -------
On Sunday, October 29th, 2023 at 4:21 PM, Jonathan Boutsicaris
@.***> wrote:

I saw your AI bots. This project is a cult anyways. Have fun with your
bots
and crypto
—
Reply to this email directly, view it on GitHub, or
unsubscribe.
You are receiving this because you were mentioned.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/Nexusoft/LLL-TAO/pull/147#issuecomment-1790053491,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK4U4BQPSCFFK73A7IO23ATYCMPYDAVCNFSM6AAAAAA2PIB57GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJQGA2TGNBZGE
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


VS code with Bash

VS code takes too much time to run bash terminal... can anyone help me to solve this problem

/duplicate of a currently pinned issue.

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


'operator' modifier is inapplicable on this function: illegal function name

It seems it doesn't like the combination with operator and the new rem name
Note that mod as been deprecated but still available for a smooth change
Reference here and here

Gradle wrapper version mismatch


Updating span.hpp, to account for new CXX17 and 20

This PR, updates the utils/span.hpp file so that it can account for C++ 17 and 20 respectively for support on Jammy.

Did we pull this in from upstream, or edit it ourselves?

Did we pull this in from upstream, or edit it ourselves?

@ayrton04 it was pulled from here: https://github.com/martinmoene/span-lite/tree/master/include/nonstd.
Guessing, I should include the URL in the file as a comment?

Did we pull this in from upstream, or edit it ourselves?

@ayrton04 it was pulled from here: https://github.com/martinmoene/span-lite/tree/master/include/nonstd.
Guessing, I should include the URL in the file as a comment?

Seems like a reasonable approach.

Actually the span.hpp file has the reference within it already. So we should be good.


Assets links don't work on the forums anymore

https://github.com/ScratchAddons/ScratchAddons/issues/6913
So after the 4-5 days of forum downtime, there seem to be a lot of changes to the post filter, which in turn blocks posting image links containing assets.scratch.mit.edu/get_image/ - so when someone tries to post a forumoji with the Scratch host, Scratch shows a message saying

Sorry, this post appears to include unsuitable language and will not be posted.

Image hosting has been moved to Cubeupload, so this issue shouldn't be of relevance anymore.


GetComponent uses a dynamic cast, make PUISprite not a derived class from PSprite.

Solved in last commit


Rule applying twice?

Is there a bug or are my rules somehow wrong?

Hi @vaff you'll get 0.18.5 later today. Tell me if the issue persists.
Thanks!