[Batch] Fix managed identity support on the data plane

All SDK Contribution checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] Please open PR in Draft mode if it is:

Work in progress or not intended to be merged.
Encountering multiple pipeline failures and working on fixes.

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[x] I have read the contribution guidelines.
[x] The pull request does not introduce breaking changes.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code. (Track 2 only)
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK. Please double check nuget.org current release version.

Additional management plane SDK specific contribution checklist:
Note: Only applies to Microsoft.Azure.Management.[RP] or Azure.ResourceManager.[RP]

[ ] Include updated management metadata.
[ ] Update AzureRP.props to add/remove version info to maintain up to date API versions.

Management plane SDK Troubleshooting

If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add new service label and/or contact assigned reviewer.

If the check fails at the Verify Code Generation step, please ensure:

Do not modify any code in generated folders.
Do not selectively include/remove generated files in the PR.
Do use generate.ps1/cmd to generate this PR instead of calling autorest directly.
Please pay attention to the @microsoft.csharp version output after running generate.ps1. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version.

Note: We have recently updated the PSH module called by generate.ps1 to emit additional data. This would help reduce/eliminate the Code Verification check error. Please run following command:
  `dotnet msbuild eng/mgmt.proj /t:Util /p:UtilityName=InstallPsModules`

Old outstanding PR cleanup
Please note:
If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.

Looking to release an updated data plane as version 15.1.0. This technically has abreaking change of removing the Identity property from CloudPool, but in practice this shouldn't matter as this property was added in error in v15.0.0 (because it can only be set through ARM, not the data plane).

The main issue this PR addresses is the lack of identity support in the convenience layer. The swagger and autorest models were generated correctly, but the layer on top of that did not provide methods to use identities.

looks good to me

The versioning changes look correct to me.

Thanks, @weshaggard!


[BUG] Uninstallation of Rancher failed: PriorityClass "rancher-critical" not found

Rancher Server Setup

Rancher version: v2.7.1 Kubernetes Version: 1.23 EKS

Information about the Cluster

Kubernetes version: 1.23
Cluster Type (Local):

Hosted = EKS

User Information
During the uninstallation of the Rancher Helm Chart v2.7.1 the error occurs that the priority class "rancher-critical" cannot be found.
$ kubectl logs rancher-post-delete-q6s8d -n cattle-system
Uninstalling Rancher resources in the following namespaces: cattle-fleet-system cattle-system rancher-operator-system
--- Deleting the app [fleet] in the namespace [cattle-fleet-system]
successfully uninstalled [fleet] in the namespace [cattle-fleet-system]
--- Skip the app [fleet-crd] in the namespace [cattle-fleet-system]
--- Deleting the app [rancher-webhook] in the namespace [cattle-system]
W0320 13:01:03.876218      32 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
W0320 13:01:04.619978      32 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
Error: timed out waiting for the condition
waiting 5 seconds for pods of [rancher-webhook] to be terminated ...
waiting 5 seconds for pods of [rancher-webhook] to be terminated ...
waiting 5 seconds for pods of [rancher-webhook] to be terminated ...
waiting 5 seconds for pods of [rancher-webhook] to be terminated ...
waiting 5 seconds for pods of [rancher-webhook] to be terminated ...
waiting 5 seconds for pods of [rancher-webhook] to be terminated ...

$ kubectl describe job rancher-webhook-pre-delete -n cattle-system
...
Warning  FailedCreate  54s (x4 over 2m4s)  job-controller  Error creating: pods "rancher-webhook-pre-delete-" is forbidden: no PriorityClass with name rancher-critical was found

$ kubectl get priorityclass -A
NAME                      VALUE        GLOBAL-DEFAULT   AGE
system-cluster-critical<PHONE_NUMBER>   false            3h56m
system-node-critical<PHONE_NUMBER>   false            3h56m

It seems that the priorityclass is uninstalled too soon.

Same here, facing the same problem. But i got this setup:
Downstream cluster:

Cluster version: RKE2 1.24.10-rke2r1
Hosted= selfhosted on vmware vcloud director
Rancher cluster:
Rancher version: v2.7.1
Cluster version: RKE2 1.24.3-rke2r1
Hosted= selfhosted on Proxmox

The installation of Rancher failed including cert-manager so i tried to delete Rancher, then this occur.

Same here

AKS cluster on Azure
Rancher version 2.7.1
Kubernetes version 1.24.9
Uninstallation of Rancher, cert-manager and ingress-nginx fail and need to be run multiple times.


ci: update workflows to use latitude.sh based runners

Description
This pull request changes the following:

Updates CI workflows to use the Latitude.sh self-hosted runners.

Related Issues

Closes #483

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


@xstate/fsm version support for @xstate/react

Feature request
React bindings are now bounded to xstate internals and thus doesn't work with @xstate/fsm.
Common xstate is too large for me. 60KB of minified JS is incredible for me and I wanted to use fsm version, because I don't need too much features at this point.
Potential implementation:
I haven't dive deep into the code, but I think that maybe we can extract a common part of code into separate package, which react bindings can use internally. Or even completely get rid of xstate internals usage.
I can have a look at this myself a bit later, but I want to raise this issue up beforehand.

@davidkpiano why did you close it?

Because I just finished it 😉

I'm kinda shocked 😮
Great job!


extend mac randomness to 4 bytes for no ip case

This would increase chance of mac duplicate not to occur on the interface without ip config in a big deployment
Signed-off-by: Periyasamy Palanisamy<EMAIL_ADDRESS>

/cc @JanScheurich

/release-note-none

Thanks @phoracek .


CSS Property support

This is the umbrella issue of CSS property support.
This is the first chunk of properties that are half-supported and I think are a minimum to create any sort of styles.
Supporting those properties correctly we might unlock many more, like supporting opacity you support:  stroke-opacity stop-opacity flood-opacity fill-opacity.

[ ] ~animation~
[ ] box-sizing
[x] box-shadow
[x] text-shadow
[ ] transform
[ ] transition
[ ] font-family
[ ] font-weight
[ ] border-top-right-radius
[ ] border-top-left-radius
[ ] border-bottom-right-radius
[ ] border-bottom-left-radius
[ ] background-position
[ ] transform-origin
[x] flex
[ ] border
[x] outline
[ ] grid
[ ] grid-template-area

There are some of them that might be tricky and some very straight forward.

This list is very old, since the new parser is coming I would close this one to not have cross references.


Mosaic plot (2x2 & RxC) x-axis value labels need styling fix

x-axis labels in mosaic plots have the potential to be squished & illegible (when that value represents a small proportion of the subset)
We will need to redraw the labels, using lines to point the label to the specific area on the axis, in phase 2.

@danicahelb do we have a place we're keeping mockups? I wonder if something like this would be easy to implement + easy to read

just revisited this ticket since we're talking about mosaic plots today and realized my mockup above is messed up. Here's a better one:

So the idea is that the x axis labels are all aligned and nicely spaced always. Their little elbowed pointers have the bend located based on the column location. This way the labels stay easy to read, even if the pointer friends get very squished. Additionally note i've put the percentages in the label itself so that it's also clear that for example Kenya is only 0.05% anyways. Just a thought.

Discussed in 9/12/2022 EDA UX meeting. Folks generally liked @asizemore's mockups above, but suggested moving the X-axis variable label below the elbowed pointers for the x-axis values (ie, in its standard x-axis label position)
To implement the elbowed pointers, we will need to have standard pixels assigned to each value so that the length of the pointers can be calculated. We can give each value a standard number of letters and then use ellipsis to indicate label truncation and hover-over to read the full label
Note, implementation may be difficult / impossible and we may need to revisit how this is handled.

Discussed in 12/2/22 EDA UX meeting
X-axis value labels currently use ellipses when the label is too long; mouseover will show the full value label
Changes requested:

[ ] Currently, tooltip only shows up when there are ellipses → change this so that tooltip appears when user mouses over ANY of the value labels
[ ] X-axis value labels show the percentage, ie (xx%) after the label → move this out of the label and into the tooltip
[ ] If possible, remove the delay between mousing over the value and the tooltip appearing (Note, Connor indicated that this may be difficult or impossible, but he will look into it…)

@chowington I made these new tickets for mosaic plots based on other conversations we had in the UX meeting (and one i found while creating the tickets from the UX meeting).
https://github.com/VEuPathDB/EdaNewIssues/issues/491
https://github.com/VEuPathDB/EdaNewIssues/issues/490
https://github.com/VEuPathDB/EdaNewIssues/issues/492

thanks @chowington. I made this ticket, note it is NOT urgent
https://github.com/VEuPathDB/EdaNewIssues/issues/504


[TS3-Workaround] Apply icon-id fixes to clients

// This has already been added and currently undergoes testing.

// Fixed by: 32145cfbed7fa1aca5ef0f663472c5dffa4d6a9c


Use angular locale for credit card months

Remove hard coded list!!

Thanks @scong!
Keep 'em coming :)


Connect with wallet

In order to login to the app and have an identity a wallet needs to be connected.
https://www.sketch.com/s/aa87e1e9-2fa2-46fb-b2c7-5414cdf07cb3/a/RyMy01W

Based on previous discussions it seems that there are at least two distinct use-cases which needs to be decided on:

login (connect)
signing

For the login there are at least two distinct simple ways how they can be implemented:

connect with external wallet (as in Kurate)
generating the key in memory and store it in localStorage (as in Boardwalk)

For signing there is also two distinct ways how they can be implemented:

sign with the external wallet
sign with the in-memory key

Please note that it is possible to mix these approaches by using the external wallet only to connect and derive a key (e.g. from a signature of a well known message) that can be used to store in-memory for signing later.

For the minimal version the consensus is to generate the key in memory and store it in localStorage and use that key for signing. Later this can be changed to use an injected wallet.

Implemented in #65


Missing stats for some APIs in Overall API usage widget

When we log into the analytics-dashboard-publisher-portal, we are not seeing any statistics for the Overall API usage widget, as the records received from the ANALYTICS_DB do not contain a certain API within the default limit 5.
The queries for the Overall API usage widget are as below
 "apiidquery": "from AM_API on (apiCondition) select API_ID,API_NAME,API_PROVIDER,API_VERSION",
 "apisubquery": "from AM_SUBSCRIPTION on apiList select API_ID,count() AS count group by API_ID;",
 "apiusagequery": "from ApiUserPerAppAgg on apiCreatorTenantDomain=='tenantDomain' apiCreator within from}}L, {{to}}L per \"{{per}}s\" select apiName,apiCreator,sum(totalRequestCount) as RequestCount,apiVersion group by apiName,apiCreator,apiVersion order by RequestCount desc limit {{limit;"

This is occurring due to the sequence of the above queries.

Fixed in https://github.com/wso2-support/analytics-apim/pull/103


Investigate plotting functionality

What is the need for this task.
There are several plotting functions to plot the network, but they currently do not work. It might be handy to have these functions anyway.
What is the task?
We should take a look at test_net.plot_network and the plot function written in the tutorial plotting_a_network.md
Maybe it is nice to add plotting utilities to a dedicated class that users can also use?
Additional context
Version: Hydrolib-core 0.3.1

Alternatively, xugrid (or dfm_tools) can be used: https://github.com/Deltares/HYDROLIB-core/issues/241#issuecomment-1469621726


Feature Request - Code sign Apple pkg

Summary of the new feature/enhancement
As a Mac OSX Powershell user, I want the Powershell pkg for Mac OSX to be code-signed so I do not have to create security exceptions for them
If you try and open the downloaded package

You need to make a security exception in System Preferences > Security & Privacy

Proposed technical implementation details (optional)
Code-sign packages using Apple's keys and then I will not have to create the exceptions listed above

Loop in @TravisEz13 and @adityapatwardhan

This is on the backlog with no ETA as of now. There is a workaround by using the Unblock-File cmdlet: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/unblock-file?view=powershell-7

Unblock-File allows you to run downloaded Powershell
What we're talking about here is if you download the Powershell installer for Mac OS from https://github.com/PowerShell/PowerShell/releases/tag/v7.0.2
e.g.
https://github.com/PowerShell/PowerShell/releases/download/v7.0.2/powershell-7.0.2-osx-x64.pkg
Mac OS Gatekeeper prevents you from running the pkg installer.
The pkg needs to be signed with an Apple Developer certificate so that installing the pkg will not be blocked by Gatekeeper.
See
https://developer.apple.com/developer-id/
https://developer.apple.com/support/code-signing/
https://simplemdm.com/certificate-sign-macos-packages/

Removed the Resolution-Answered tag to allow @adityapatwardhan to follow up.

@jshealth Our teams that implements signing for us in not prioritizing implementing this type of signing and this issue is already open.
https://github.com/PowerShell/PowerShell/issues/10874

@TravisEz13 Ok


[Issue] - Health Checker

Provide Version Number
Exchange Health Checker version <IP_ADDRESS>0
Describe the issue
Error when run with parameter BuildHtmlServersReport
Expected behavior
Switch to enable the script to build the HTML report for all the servers XML results in the XMLDirectoryPath location
Script Output
PS C:\2> .\HealthChecker.ps1 -BuildHtmlServersReport
There appears to have been some errors in the script. To assist with debugging of the script, please send the HealthC
ker-Debug_*.txt, HealthChecker-Errors.json, and .xml file to<EMAIL_ADDRESS>Failed to export the HealthChecker-Errors.json
Output Debug file written to .\HealthChecker-Debug_20240222111557.txt
Additional context
Add any other context about the problem here.
HealthChecker-HTMLServerReport-20240222111557.txt
HealthChecker-Debug_20240222111557.txt
HealthChecker-Errors.json

@Maximss did you run the .\HealthChecker.ps1 prior to attempting to build the Html Report? As that is required.

@Maximss closing this out as no feedback has been provided to confirm cause of problem.


do not delete pool namespace

Signed-off-by: ldpliu<EMAIL_ADDRESS>https://github.com/open-cluster-management/backlog/issues/16764

/cc @jnpacker

Spoke with @ldpliu , and the use case where we accidentally delete the claim or some other resource trumps having it clean up the namespace.
/lgtm


Can Lettuce support transaction management for Redis clusters?

Bug Report

Current Behavior

Stack trace

Input Code

Input Code
// your code here;
private StatefulRedisClusterConnection<String, Long> longClusterConnection;
RedisClusterAsyncCommands<String, Long> commands = longClusterConnection.async();
// start transaction Compiler prompt method does not exist
commands.multi();

Expected behavior/code

In the project, Lettuce single connection was used to operate the Redis cluster. I would like to ask if Lettuce has a relevant API that can support caching operations in transactions
Environment

Lettuce version(s): 6.1.10.RELEASE
Redis version: 5.0

Possible Solution

Additional context

No, there's no support for transactions in clusters. See the reference docs for further details.


umlauts

py3 is unicode aware, yo
find ./ -type f -exec sed -i 's/Hamalainen/Hämäläinen/g' {} \;

I was about to complain about conflicts then I realized you made a PR into my branch! Cool

Codecov Report

:exclamation: No coverage uploaded for pull request base (msh@58fcb4d). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             msh      #34   +/-   ##
======================================
  Coverage       ?   89.66%
======================================
  Files          ?      427
  Lines          ?    76317
  Branches       ?    12439
======================================
  Hits           ?    68426
  Misses         ?     5108
  Partials       ?     2783


fix date

According to https://fucking.godateformat.com/ %Y-%m-%d should be 2006-01-02

Thank you! You are right, using 30 for %d is actually creating issue.


[DNM] WIP: Architecture definition for UltraScale+

This is a WIP PR that aims at adding UltraScale+ architecture to arch-defs.
The main idea is to generate the architecture XML file without having to write the pb_types and model by hand, but by using v2x.

Superseded by #1651


dbt power user link change

Change link for dbt Power User, as requested by their team.

Approved @greg-mckeon thank you!


Question: modifiers

Please check for duplicates or similar issues before asking your question.
What is your question?
how do i use them (the modifiers)

@nebulazorua


Update Consul to 0.9.3

Fixes #270
I hope this is correct ;)
1.) Fork & Clone Repo
2.) dep ensure & dep ensure -update github.com/hashicorp/consul
3.) update install_consul.sh
4.) commit, push and create pull request

Coverage remained the same at 90.066% when pulling 5acf4dfc2113a9682e1b38d34fafb1e5472e2b1c on wind0r:update_consule into 033c1a2ec9f6fdf4ea65a3890bffa44859c9ce14 on allegro:master.

That was quick. Thanks @wind0r


Request: types in solid-start-vercel

It'd be awesome to get types in the solid-start-vercel package to be able to use it with a vite.config.ts file.

Wow, that's a fast turnaround, thanks @OrJDev!
To avoid creating more issues, FYI this seems to also be missing from solid-start-node which I'm also using, and probably a few more.


hangs on starting server

Hello, I followed tutorial, attached my domain but after command I see
Starting server on <myadress>.adnl and thats it. I tried to reach website through mytonwallet or telegram and no luck. any ideas?

Hi, if you see Starting server on  it means it is started. The reason can be that port from config.json is not accessible for inbound UDP requests, maybe your IP is not public or you have some filtering like iptables.

with ufw I opened ports
To                         Action      From                             │
--                         ------      ----                             │
22/tcp                     ALLOW       Anywhere                         │
Nginx Full                 ALLOW       Anywhere                         │
12291/udp                  ALLOW       Anywhere                         │
22/tcp (v6)                ALLOW       Anywhere (v6)                    │
Nginx Full (v6)            ALLOW       Anywhere (v6)                    │
12291/udp (v6)             ALLOW       Anywhere (v6)

so what I did to check my port is opened. on my server I did
nc -u -l 12291

on my client side I did
nc -u <my.ip.add.res> 12291

After what on client side I send some text and saw its on server side. So I assume port is open and IP is public and open
However if I do command like
nmap -p 12291 -sU my_server_ip

I have a results like
Starting Nmap 7.95 ( https://nmap.org/ ) at 2024-08-08 10:26 EDT
Nmap scan report for myip.nl3.servers.guru (my ip)
Host is up (0.10s latency).

PORT      STATE  SERVICE
12291/udp closed unknown

Nmap done: 1 IP address (1 host up) scanned in 2.35 seconds

So can it be like Network/ISP level filtering: my hosting provider or ISP might be blocking incoming traffic on this port?? Or any ideas?

I encountered a similar issue and observed the following:
If you're hosting multiple websites on the same server with regular domains (e.g., my-site.com) attached to your IP address, it may interfere with the .ton domain functionality. This appears to be the primary issue in my case, though I welcome confirmation or correction on this point.
Cache-related challenges:
After unlinking the domain and commenting out the relevant Nginx rules, the website with the attached .ton domain began functioning correctly. However, when attempting to reload the page in Telegram, only the old version was visible. Interestingly, I could see the changes using ton.run service, but not in Telegram.
Given these observations, I'm seeking advice on how to effectively manage caching issues. It's both inefficient and costly to repeatedly relink the domain and flush the cache. Are there any recommended strategies or best practices to address this caching problem more effectively?


Reliably receiving past and future events without duplication

Is there a way to atomically subscribe to new events and obtain past events matching a certain filter thus that you can be sure not to have missed an event, but also not to receive duplicates?
While we are at it, is there a way to create a subscription that does not receive events submitted by self?
I can use  Filter::remove_authors(), but that would exclude events sent by other programs logged into the same user. Or do I have to manually filter on the client-side, probably with one of those database methods?
And I am a bit confused about auto-closing and dropping subscriptions - do I need to call client.unsubscribe_all before ending my program or is that implicit on exit? I see no implementation of Drop so I am a bit dumbstruck.
Also, are the subscriptions in client only for the current instance of Client or do they somehow come from the relay and are shared between instances?

I thought about using Filters::new().since to minimize duplication, but for my application it is totally valid for somebody to sent an event dated in the past, and I still would want to receive that.

Ah I think I got the answer to the original question: client.subscribe receives old events too.
But Filter::remove_authors wasn't what I thought, so it seems I have to manually filter out.

do I need to call client.unsubscribe_all before ending my program or is that implicit on exit?

No, when websocket connection is closed, the subscriptions are automatically dropped by the relay

Ah I think I got the answer to the original question: client.subscribe receives old events too.

Yeah, that depends by the filters you set.

While we are at it, is there a way to create a subscription that does not receive events submitted by self?

Yes if using RelayPoolNotification::Event variant.
To avoid to receive event duplicates you can subscribe and listen for RelayPoolNotification::Event variant. BUT, the RelayPoolNotification::Event variant is sent only for the first time the event is seen, so if you query the same filters again you'll not receive again that event notification.

client
    .handle_notifications(|notification| async {
        if let RelayPoolNotification::Event { event, .. } = notification {
            // This notification is sent ONLY the first time the event is seen
        }
        Ok(false) // Set to true to exit from the loop
    })
    .await?;

That is what I am already using - but if I run Client::send_event in another thread, I still get a notification from this.
I would ideally like a subscription that returns me all events except the ones I submitted from this program. Are there negative filters? Then I could maybe use a kind of session-tag.

Ah ok, that shouldn't happen (as specified in RelayPoolNotification::Event variant docs). I'm going to publish the fix.

Let me know if you still receive events sent by the SDK

Checking right now, but realized I first need to find out how to migrate from 0.30 - especially how to get tag values as I am doing right now: https://forge.ftt.gmbh/janek/mostr/src/branch/main/src/tasks.rs#L104

What is the point of the Arc there?
A tag can just be cloned easily when needed?

What is the point of the Arc there?

Where?

A tag can just be cloned easily when needed?

Yes, the Tag can be cloned.

See https://github.com/rust-nostr/nostr/issues/522

i'm seeing similar issues using 0.33.0. i receive an event notification reliably twice. it appears it comes from two different relays.
loop {
    let (event, relay_url) = match notifications.recv().await {
        Ok(RelayPoolNotification::Event {
            event, relay_url, ..
        }) => (event, relay_url),
        Ok(RelayPoolNotification::Shutdown) => break,
        _ => continue,
    };

    info!(
        "Received event from relay {}: {:?}",
        relay_url,
        event.as_json()
    );
}

this will output a new event at least more than once. this may differ between filters and such, but with my setup, my code is notified twice.

I'll publish v0.34 this week, it'll include the fix for this (commit 5627c403bb3a35936c266e2f561ba47dfa9a89ae).


Error showing unsupported model

I get this error on HA upon running the scripts any idea?
Found an unsupported model 'chunmi.cooker.eh1' for class 'MultiCooker'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/

and
this error
Template variable warning: 'dict object' has no attribute 'Fine Rice' when rendering '{{ { "0000000000000000000000000000000000000001": "Fine Rice", "0101000000000000000000000000000000000002": "Quick Rice", "0202000000000000000000000000000000000003": "Congee", "0303000000000000000000000000000000000004": "Keep warm", "0505000000000000000000000000000000000009": "Cake" }[states('sensor.xiaomi_miio_cooker_menu')] }}'

Same problem for me, as written here: https://github.com/sschirr/xiaomi_cooker/pull/2#issuecomment-1066572614
It still works fine through.


fix null pointer

What this PR does / why we need it:
The null pointer was causing the error propagation to not work.
So I've corrected it.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:
NONE

Not related to this PR changes but you should update this
https://github.com/pipe-cd/pipecd/pull/4102/files#diff-d72df5132a62e1bc9918e8313b516291c54b87a84acd3686bf5233adf4775cccR156
pass *taskDefinition.TaskDefinitionArn instead of Family there.


Vulnerability roundup 60: lua-5.3.5: 1 advisory

search, files

[ ] CVE-2019-6706 (nixos-unstable)

Scanned versions: nixos-unstable: bc41317e243. May contain false positives.

Still no new release from upstream. Looks like the discussion sort of fizzled out:
http://lua.2524044.n2.nabble.com/Bug-Report-Use-after-free-in-debug-upvaluejoin-tc7685506.html
Ubuntu and RHEL apply a patch for this, see for example:
http://launchpadlibrarian.net/417853567/lua5.3_5.3.3-1_5.3.3-1ubuntu<IP_ADDRESS>.diff.gz

Should be backported as well.

Looks like the patch was applied to unstable and backported to 19.09. Can we close this issue?


[BUGFIX] Change debug_runtime to represent times in seconds internally

Follow-on to #7197 and #6964, and fix #7207.
DebugRuntime used to represent runtimes as doubles but in microseconds. An unintentionally merged part of #6964 migrated the timing parts to use seconds, but the display parts continued to use microseconds. This patch completes the migration and adds a test. We don't have to migrate this, but it's weird to me to store runtime in double, but not store it in seconds. At least, the units should be made clear in the code.

@tqchen @junrushao1994 @FrozenGene

@tqchen @junrushao1994 @FrozenGene

Thanks!

Thanks!


Existing database causes fail during server startup

Due to the method of checking here: https://github.com/DCSO/MISP-dockerized-server/blob/master/2.4.103-debian/files/entrypoint_apache.sh#L361
an existing database will cause the server to fail to become healthy (table already exists or primary key already exists).
Perhaps we've missed an option/flag/config-item that will propagate down to the containers so that an existing database doesn't get reinitialized?

Sorry for my late response.
But I will add it.

I'm unsure how, but the idea behind is great.


Copyright Year Missing From Footer

The copyright year is missing from the website's footer

(From the list in #68)

Can someone give me a definitive answer on the Year value with respect to copyright. Oftentimes I see stuff like "© CURRENT_YEAR" and people say it's wrong or something.
I always thought the copyright was from the date somethiing was created (for instance the University of California as an entity) and that you held the copyright from that point onward, or the creation of the piece of content onward.
I'm saying that copyright should be © 1982 if you create the content in 1982. It's held as long you enforce the copyright and your entity continues to exist.
I've heard it's wrong to update the copyright visually every year on a page such as:
echo "© " . date('Y');

For example -- this blog posts explanation of the date value:
http://www.dailyblogtips.com/proper-copyright-notice/

The date the article was 1st published.
Or a date range in which the articles were published

Thoughts?

I had to deal with copyright at my previous company, I talked to our Legal department about it. I found out that it was not a requirement to be protected, it happens automatically. You only have to put it where you want to assert your copyright to the world, which UC Regents do.
Source: http://www.copyright.gov/circs/circ03.pdf
Also I was told the date (year) would be the last time it was changed/updated. The date range looks ugly to me, and I think is more of a vanity thing, like a site counter. My old legal department would get antsy around February if we had not updated the copyright to the current year. We would explain, we had not updated the site since Dec, so it has not changed. That is when I made it show the current year.
The easiest is to just show the current year always, and having some automated fashion to display the current year makes it just work. I have seen sites with an old copyright in the footer, but the content was obviously updated recently.
TLDR: Copyright notice is not required legally to be enforceable. The year should be when first published, but websites are "first published", over and over every time the content is changed. So just programmatically showing the current year makes it easy, and there are no legal ramifications.

I think we should just follow the recommendation on the guide itself (which agrees with everything you're all saying):
the year the site was created or the year of the last major redesign or version of the website

I would argue the GitHub transition is a major overhaul, so it should be 2015.

You beat me to it. I like the idea of the 2015 but I also think it's prestigious to say the WSG was started in 2005 (see about page) or at least 2007 from the Three Tiers issue. I'll make a pull request.

I am flexible either way.
I don’t really think of looking at the copyright to check on the age/history of a website.
Largely in part due to the inconsistent usage brought up in this thread.
Having the WSG history on the About the WSG page is adequate for me.
I consider the 2015 copyright appropriate due to the github migration.
Aaron Martin  (CNT)
Earth Research Institute
6809 Ellison Hall
UCSB MS-3060
805-893-8415
<EMAIL_ADDRESS><EMAIL_ADDRESS>
On Aug 31, 2015, at 2:17 PM, David Gurba<EMAIL_ADDRESS>wrote:
You beat me to it. I like the idea of the 2015 but I also think it's prestigious to say the WSG was started in 2005 (see about page) or at least 2007 from the Three Tiers issue. I'll make a pull request.
—
Reply to this email directly or view it on GitHub https://github.com/ucsb-wsg/ucsb-wsg.github.io/issues/69#issuecomment-136504292.


Fix compiling for 32-bit ARM platforms

I came up with the Android portion of this pull when getting the Swift toolchain cross-compiled to run on Android armv7, then found later that @uraimo had patched it similarly earlier for linux armv7, as part of broader changes. I have only taken the analogous part to Android from his patch, as that's all I needed to successfully build. I don't think this feature works without further changes though, perhaps as he added.
@uraimo, could you sign off on upstreaming the non-Android part of this pull, which I got from your patch? If there's any other changes to this repo worth adding now, let me know.
@KittyMac, if you turned up any more patches in your recent linux armv7 work, let us know.

thanks @buttaface this seems fine. one nit: looks like line alignment is not standard, could you please re-format with Xcode defaults (ctrl+i)

I don't use Xcode, haven't had a mac in a dozen years, is there some other cross-platform tool like swift-format that does the same?

Hi, looks good to me, I've also added the rest of the initialization in FD_SET/FD_ISSET and submitted a PR to your branch.
swift-format should work here and just indent back those platform defines.

I don't use Xcode, haven't had a mac in a dozen years, is there some other cross-platform tool like swift-format that does the same?

yes. you cam also use https://github.com/nicklockwood/SwiftFormat, and run it on the file you changes, e.g. swiftformat Sources/TSCUtility/FSWatch.swift

Alright, reformatted and added @uraimo's other patch, let me know if there's anything else to tweak.

@swift-ci test

cc @drexin


[QUESTION] How to get the number of pixels in a Xamarin.Forms view unit?

To get the number of (SkiaSharp) pixels in a Xamarin.Forms view unit, we are using these methods:
// Mac
NSScreen.MainScreen.BackingScaleFactor
// Android
Resources.System.DisplayMetrics.ScaledDensity
// iOS
UIScreen.MainScreen.Scale
// UWP
Windows.Graphics.Display.DisplayInformation.GetForCurrentView().RawPixelsPerViewPixel

These seem to work most of the time but not always. In particular the Android doesn't seem to work when the user sets a custom font size in Accessibility settings.
Is this the right type of approach and is there any better approach on Android?

For Android this is Resources.System.DisplayMetrics.Density


Make register/sign up page

Merged with branch HACC.
Make a sign-up page for a user to make an account:

Provide an email section
Provide a password section
Add in a submit button
Have an "Already have an account? log in here" button
Display it on the navbar.

We merged in the HACC repo to our Main.


Possible -whole-module-optimization bug

Description
Tests fail in release mode unless -no-whole-module-optimization is passed.
Reproduction
Sorry, it's not a small repro, but then a WMO bug would tend not to be, right?

Check out the possible-swift-wmo-bug tag of https://github.com/hylo-lang/hylo
git submodule update --init
Satisfy the prerequisites for building
swift test -Xswiftc -enable-testing -c release --filter Execution to see the failure (a `fatalError call).

Apply this patch:
diff --git a/Package.swift b/Package.swift
index 36a041409..69f77b569 100644
--- a/Package.swift
+++ b/Package.swift
@@ -10,7 +10,7 @@ import PackageDescription

 /// Settings to be passed to swiftc for all targets.
 let allTargetsSwiftSettings: [SwiftSetting] = [
-  .unsafeFlags(["-warnings-as-errors", "-enable-testing"])
+  .unsafeFlags(["-warnings-as-errors", "-enable-testing", "-no-whole-module-optimization"])
 ]

 /// Dependencies for documentation extraction.

Repeat the command to see it not fail.
Expected behavior
No observable change from turning on/off WMO.
Environment
swift-driver version: 1.87.3 Apple Swift version 5.9.2 (swiftlang-<IP_ADDRESS>.56 clang-15<IP_ADDRESS>.5)
Target: arm64-apple-macosx14.0
Additional information
No response

And of course, you can't do a clean build with that patch applied, because of https://github.com/apple/swift-package-manager/issues/7274

Applying -no-whole-module-optimization just to the Core module is enough to suppress the fatalError.

Hi! This may also be the cause of https://github.com/fumoboy007/msgpack-swift/issues/4.

Hmm maybe not; this issue was for Swift 5.9.2 but my issue is only for Swift 5.10.

Actually I was mistaken. https://github.com/fumoboy007/msgpack-swift/issues/4 does seem to be caused by some change in Swift 5.9.
I moved the relevant code to its own Swift package: OptimizationBugRepro.zip. The smaller package exhibits unexpected behavior with Swift 5.9.2 (release configuration, WMO enabled) but succeeds with Swift 5.8.1.
Using the prebuilt Swift development snapshots, I narrowed down the culprit to one of 85 commits. I was unable to narrow it down further because I couldn’t solve some issues with manually building the Swift compiler from source.

Sorry for hijacking this thread… hopefully my small reproduction test case (396 lines) can help a Swift compiler engineer easily find the culprit.
Here is main.swift:
var messageWriter = MessageWriter()
try EncodableMessagePackValue.nil.encode(to: &messageWriter)

// Should print "[192]".
print(Array(messageWriter.message))

The relevant stack looks like this:

main.swift calls encode(to:).
encode(to:) calls encodeNil(to:).
encodeNil(to:) calls messageWriter.write(byte: 0xC0)
write(byte:) calls Data.append(_:count:).

As you can see, the logic is quite straightforward. The rest of the code in the package unfortunately needs to be there; otherwise the issue goes away!


Website layout enhancement and code refactoring

This PR contains bug fixes requested in issue #7 and other enhancements
Changes:

Improved website layout
Code refactoring
Moved each component's styles into it's own file
Solved merge conflicts

Great work, Ahmed .. The refactor makes the code more reusable, and understandable (following the principles of OOP)
But i have some observations:

The Styling of get My location button is missing
The layout of card-container, I think it was more UX before .. when opening the app as a user there's a lot going on in this row not to mention the styling for the required items need to re-fix.
The background img doesn't cover all the stage

Thanks fareeda,

The Styling of get My location button is missing

I will fix the styling of the button (for some reason I forgot to add it while refactoring)
But I also have a comment,
Why did you create another component just for one html line (A button). do you plan to expand it?

The layout of card-container, I think it was more UX before .. when opening the app as a user there's a lot going on in this row not to mention the styling for the required items need to re-fix.

This PR contains improvements to the layout. The styling of the cards should be another issue with another PR

The background img doesn't cover all the stage

I can't reproduce this issue as the background is working fine in the preview

Thanks Ahmed,
according to

Why did you create another component just for one html line (A button). do you plan to expand it?

I only solved the issue (Style the "Get My Location" button #42). It was another fellow who added the Component.

This PR contains improvements to the layout.

I think the layout is less UX.

The styling of the cards should be a new issue with a new PR.

I believe I've solved this issue before :)

I can't reproduce this issue as the background is working fine in the preview

I suppose it's hard coded in App.css
padding-top: 20px;
padding-bottom: 20px;

I only solved the issue (Style the "Get My Location" button #42). It was another fellow who added the Component.

Oh, I guess I will contact the fellow who created the component then.

I think the layout is less UX.

I think it would be more helpful if you provide suggestions

I believe I've solved this issue before :)

Yes, I actually used it in the refactored version
I managed to reproduce the problem by zooming out, it seems that the root element is not taking the full height of the body
Even though this issue has nothing to do with the changes in the PR, but I will try to fix it

I suppose it's hard coded in App.css
padding-top: 20px;
padding-bottom: 20px;

Nope, the padding is part of the solution to the issue (we should use padding instead of margin)

The background img doesn't cover all the stage

Fixed it by adding
#root {
  height: 100vh;
}

To make the root element expand to the full height of body
, I will push the code in a moment

I think it would be more helpful if you provide suggestions

we can add
<SearchComponent />
<ResultsComponent />
<Map />
<RequiredItems />

as Icons for weather state will be added to ResultsComponent So it will give the user more UX to focus on only one component per row.

Fixed it by adding

#root {
 height: 100vh;
}

This solution seems to solve the problem but i still don't understand why when removing from App.css
padding-top: 20px;
padding-bottom: 20px;

the map container looks this way  :)

we can add
<SearchComponent />
<ResultsComponent />
<Map />
<RequiredItems />

as Icons for weather state will be added to ResultsComponent So it will give the user more UX to focus on only one component per row.

I don't really know, these design decisions should be taken be the whole team
For me, I think one card in a row is a waste of space and it would require you to scroll down to view more info

This solution seems to solve the problem but i still don't understand why when removing from App.css
padding-top: 20px;
padding-bottom: 20px;

the map container looks this way :)

This is a bug in the map, refresh the website or clear the cache and it should work fine
This bug might also happen while resizing the window, which is fine because users don't normally resize windows

@farida52369
The background issue wasn't actually fixed for some scenarios but I managed to solve it by adding
background-attachment: fixed;

To to make the background fixed and prevent it from moving while scrolling
I will open a new PR with the fix

@Ahmedsaed
Great Work, Ahmed


[e2e] Prepare steps for topic

create a separate Class with steps src/test/java/com/provectus/kafka/ui/steps/kafka (TopicSteps.java)

create steps such createTopic, deleteTopic, isTopicExist etc
See tests that should be automated https://docs.google.com/spreadsheets/d/1Vf6yZSqCYwh33t-pTy1PiYewk-jFSfPZppzIuUVVyO0/edit#gid=0
Remove all sleeps, if needed to some wait, all asserts should be in test

Refactor test class src/test/java/com/provectus/kafka/ui/tests/TopicTests.java with new steps

is not actual as we agreed with the team due to useless of Steps class on current framework stage


mime-types 1.17.1 causes heroku gem to fail

After a bundle update I moved from mime-types 1.6 to 1.7.1 and began getting the error:
`split': invalid byte sequence in US-ASCII (ArgumentError)

Specifically adding 1.16 to my Gemfile and 'bundle update mime-types' solved the issue.
gem 'mime-types', '1.16'

I'm running heroku 2.11.0.

What is the value of your LANG environment variable?

I have not changed it:
LANG => en_US.UTF-8

That error should only show up if Ruby is switched to US-ASCII mode somehow, which generally happens if you're missing the LANG environment variable.

It's a brand new Rails 3.1 app on Cedar but I get the same result with the newer mime-types on a 3.0.10 app. In both cases I have not done anything special to change the mode to US-ASCII. I thought these were UTF8 out of the box.

Check out halostatue/mime-types#4

Bingo! Looks like they're on in mime-types 1.17.2 will fix it. Thanks.


fix(db/boltdb): consolidate tiny txs

This PR is about performance improvement of "db add".
Before: 46 sec
% rm -f ./vuls.lo.db;  time ./vuls db init --dbpath ./vuls.lo.db
2024/07/25 20:56:18 INFO Delete All Data
2024/07/25 20:56:18 INFO Put Metadata
./vuls db init --dbpath ./vuls.lo.db  0.00s user 0.01s system 20% cpu 0.048 total
% /usr/bin/time -v ./vuls.lo.7292763 db add ~/extracted/vuls-data-extracted-amazon --dbpath ./vuls.lo.db
2024/07/25 20:56:27 INFO Get Metadata
2024/07/25 20:56:27 INFO Put Vulnerability Data
2024/07/25 20:57:12 INFO Put DataSource
2024/07/25 20:57:12 INFO Put Metadata
        Command being timed: "./vuls.lo.7292763 db add /home/shino/extracted/vuls-data-extracted-amazon --dbpath ./vuls.lo.db"
        User time (seconds): 4.35
        System time (seconds): 1.74
        Percent of CPU this job got: 13%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:45.93
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 471584
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 177
        Minor (reclaiming a frame) page faults: 119089
        Voluntary context switches: 119267
        Involuntary context switches: 63
        Swaps: 0
        File system inputs: 31752
        File system outputs: 570304
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0

After: 3 sec
% rm -f ./vuls.lo.db;  time ./vuls db init --dbpath ./vuls.lo.db
2024/07/25 20:56:00 INFO Delete All Data
2024/07/25 20:56:00 INFO Put Metadata
./vuls db init --dbpath ./vuls.lo.db  0.00s user 0.01s system 18% cpu 0.046 total
% /usr/bin/time -v ./vuls.lo.no-tiny-txs db add ~/extracted/vuls-data-extracted-amazon --dbpath ./vuls.lo.db
2024/07/25 20:56:02 INFO Get Metadata
2024/07/25 20:56:02 INFO Put Vulnerability Data
2024/07/25 20:56:04 INFO Put DataSource
2024/07/25 20:56:04 INFO Put Metadata
        Command being timed: "./vuls.lo.no-tiny-txs db add /home/shino/extracted/vuls-data-extracted-amazon --dbpath ./vuls.lo.db"
        User time (seconds): 3.27
        System time (seconds): 0.34
        Percent of CPU this job got: 125%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:02.87
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 369180
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 92583
        Voluntary context switches: 2469
        Involuntary context switches: 68
        Swaps: 0
        File system inputs: 8
        File system outputs: 305872
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0

vulnerability:root bucket not found...
$ vuls db init
$ vuls db add ~/extracted/vuls-data-extracted-amazon

$ bbolt keys ~/.cache/vuls/vuls.db vulnerability
advisory
vulnerability

```diff
:100644<PHONE_NUMBER>2cc 0000000 M	pkg/db/common/boltdb/boltdb.go

diff --git a/pkg/db/common/boltdb/boltdb.go b/pkg/db/common/boltdb/boltdb.go
index 91462cc..c900355 100644
--- a/pkg/db/common/boltdb/boltdb.go
+++ b/pkg/db/common/boltdb/boltdb.go
@@ -741,9 +741,9 @@ func putRoot(tx *bolt.Tx, root dbTypes.VulnerabilityRoot) error {
 		return errors.Errorf("bucket:%q is not exists", "vulnerability")
 	}

-	vrb := vb.Bucket([]byte("root"))
-	if vrb == nil {
-		return nil
+	vrb, err := vb.CreateBucketIfNotExists([]byte("root"))
+	if err != nil {
+		return errors.Wrapf(err, "create bucket:%q if not exists", "vulnerability:root")
 	}

 	if bs := vrb.Get([]byte(root.ID)); len(bs) > 0 {


Type-info testing flags aren't needed in parseable interfaces

Caught by Slava. Thanks, Slava!

@swift-ci Please smoke test

@swift-ci Please smoke test Linux


Make combinatorics classes more Stream friendly

Released in Chronicle-Test-Framework-2.23ea4, BOM-2.23ea70


Not showing syntax rules from plugin

Description of the problem or steps to reproduce
Created a new folder ~/.config/micro/plugins/jsdoc/ and added the jsdoc.lua, jsdoc.yaml and repo.json files. The syntax file was working in ~/.config/micro/syntax/ but after I moved it to this plugin folder it doesn't work. I am calling AddRuntimeFile("jsdoc","syntax","jsdoc.yaml") inside jsdoc.lua
Is there something obvious I'm missing? Unfortunately, I can't find any other plugins actually doing this to use as a reference.
Specifications
Commit hash: 1856891
OS: OpenSUSE
Terminal: Bash

Only example I can find is in the micro editor repo. Filename micro/runtime/plugins/literate.lua Line 36 onwards.
Code snippet below from the file.
@raziel2244  Try Reload() after AddRuntimeFile command in your lua file or change your code to below format with AddRuntimeFileFromMemory command and inbed the syntax in the lua file.
Hope this helps until someone else can give any better info.
    local syntaxFile = ""
    syntaxFile = syntaxFile .. "filetype: literate-" .. codetype .. "\n"
    syntaxFile = syntaxFile .. "detect:\n"
    syntaxFile = syntaxFile .. "    filename: \"\\\\.lit$\"\n"
    syntaxFile = syntaxFile .. "rules:\n"
    syntaxFile = syntaxFile .. "    - include: \"markdown\"\n"
    syntaxFile = syntaxFile .. "    - special: \"^(@s|@title|@code_type|@comment_type|@include|@change|@change_end)\"\n"
    syntaxFile = syntaxFile .. "    - special: \"(@add_css|@overwrite_css|@colorscheme|@compiler|@error_format|@book)\"\n"
    syntaxFile = syntaxFile .. "    - default:\n"
    syntaxFile = syntaxFile .. "        start: \"---.*$\"\n"
    syntaxFile = syntaxFile .. "        end: \"---$\"\n"
    syntaxFile = syntaxFile .. "        limit-group: \"identifier\"\n"
    syntaxFile = syntaxFile .. "        rules:\n"
    syntaxFile = syntaxFile .. "            - special:\n"
    syntaxFile = syntaxFile .. "                start: \"@\\\\{\"\n"
    syntaxFile = syntaxFile .. "                end: \"\\\\}\"\n"
    syntaxFile = syntaxFile .. "                rules: []\n"
    syntaxFile = syntaxFile .. "            - include: " .. codetype .. "\n"

    AddRuntimeFileFromMemory("literate", "syntax", "literate.yaml", syntaxFile)
    Reload()

Thanks for the response, I have tried what you suggested with no luck unfortunately. Adding Reload() to my file didn't help and rewriting it to use AddRuntimeFileFromMemory() lead to the error:
Error loading syntax file jsdoc.yaml: yaml: mapping values are not allowed in this context
Here is my old file:
--
-- Plugin to add JSDoc syntax.
--

VERSION = "1.0.0"

AddRuntimeFile("jsdoc", "syntax", "jsdoc.yaml")

Here is my new file (Only attempting to style the word test for quick testing):
--
-- Plugin to add JSDoc syntax.
--

VERSION = "1.0.0"

local syntaxFile = ""
syntaxFile = syntaxFile .. "filetype: javascript"
syntaxFile = syntaxFile .. "detect:"
syntaxFile = syntaxFile .. "    filename: \"\\.m?js$\""
syntaxFile = syntaxFile .. "rules:"
syntaxFile = syntaxFile .. "    - preproc: \"test\""

AddRuntimeFileFromMemory("jsdoc","syntax","jsdoc.yaml",syntaxFile)
Reload()

And here is the full syntax file:
filetype: javascript
detect:
    filename: "\\.m?js$"
rules:
    - include: "javascript"
    - comment:
        start: "/\\*\\*"
        end: "\\*/"
        rules:
            # one-part block parameter
            - identifier: " @(access|alias|augments|extends) \\w+?( |$)"

            # two-part
            - identifier: " @(class|const(ant)?|typedef) (\\{.+?\\} )?\\[?.+?\\]?( |$)"
            - identifier: " @(param) (\\{.+?\\} )?\\[?.+?\\]?( |$)"
            - type: " @(class|const(ant)?|param|returns?|typedef) \\{.+?\\}"

            # block tags
            - special: " @(abstract|access|alias|arg|argument|async)( |$)"
            - special: " @(augments|author|borrows|callback|class)( |$)"
            - special: " @(classdesc|const|constant|constructor)( |$)"
            - special: " @(constructs|copyright|default|defaultvalue)( |$)"
            - special: " @(deprecated|desc|description|emits|enum|event)( |$)"
            - special: " @(example|exception|exports|extends|external)( |$)"
            - special: " @(file|fileoverview|fires|func|function)( |$)"
            - special: " @(generator|global|hideconstructor|host|ignore)( |$)"
            - special: " @(implements|inheritdoc|inner|instance)( |$)"
            - special: " @(interface|kind|lends|license|listens|member)( |$)"
            - special: " @(memberof|method|mixes|mixin|module|name)( |$)"
            - special: " @(namespace|override|overview|package|param)( |$)"
            - special: " @(private|prop|property|protected|public)( |$)"
            - special: " @(readonly|requires|returns?|see|since|static)( |$)"
            - special: " @(summary|this|throws|todo|tutorial|type)( |$)"
            - special: " @(typedef|var|variation|version|virtual|yields?)( |$)"

Take another look at the micro code and your code.
I have not tested your code but  looking at your lua code for the syntax, you are missing /n on every line, see below.
--
-- Plugin to add JSDoc syntax.
--

VERSION = "1.0.0"

local syntaxFile = ""
syntaxFile = syntaxFile .. "filetype: javascript\n"
syntaxFile = syntaxFile .. "detect:\n"
syntaxFile = syntaxFile .. "    filename: \"\\.m?js$\"\n"
syntaxFile = syntaxFile .. "rules:\n"
syntaxFile = syntaxFile .. "    - preproc: \"test\"\n"

AddRuntimeFileFromMemory("jsdoc","syntax","jsdoc.yaml",syntaxFile)
Reload()

Does micro not support multi-line quotes?
local syntaxFile = [[
filetype: javascript
detect:
    filename: "\\.m?js$"
rules:
    - include: "javascript"
    - comment:
        start: "/\\*\\*"
        end: "\\*/"
        rules:
            # one-part block parameter
            - identifier: " @(access|alias|augments|extends) \\w+?( |$)"

            # two-part
            - identifier: " @(class|const(ant)?|typedef) (\\{.+?\\} )?\\[?.+?\\]?( |$)"
            - identifier: " @(param) (\\{.+?\\} )?\\[?.+?\\]?( |$)"
            - type: " @(class|const(ant)?|param|returns?|typedef) \\{.+?\\}"

            # block tags
            - special: " @(abstract|access|alias|arg|argument|async)( |$)"
            - special: " @(augments|author|borrows|callback|class)( |$)"
            - special: " @(classdesc|const|constant|constructor)( |$)"
            - special: " @(constructs|copyright|default|defaultvalue)( |$)"
            - special: " @(deprecated|desc|description|emits|enum|event)( |$)"
            - special: " @(example|exception|exports|extends|external)( |$)"
            - special: " @(file|fileoverview|fires|func|function)( |$)"
            - special: " @(generator|global|hideconstructor|host|ignore)( |$)"
            - special: " @(implements|inheritdoc|inner|instance)( |$)"
            - special: " @(interface|kind|lends|license|listens|member)( |$)"
            - special: " @(memberof|method|mixes|mixin|module|name)( |$)"
            - special: " @(namespace|override|overview|package|param)( |$)"
            - special: " @(private|prop|property|protected|public)( |$)"
            - special: " @(readonly|requires|returns?|see|since|static)( |$)"
            - special: " @(summary|this|throws|todo|tutorial|type)( |$)"
            - special: " @(typedef|var|variation|version|virtual|yields?)( |$)"

]]

Somehow completely missed the newline characters, but sadly not the issue. And micro didn't error with multiline, but it didn't fix it either.
--
-- Plugin to add JSDoc syntax.
--

VERSION = "1.0.0"

local syntaxFile = ""
syntaxFile = syntaxFile .. "filetype: javascript\n"
syntaxFile = syntaxFile .. "detect:\n"
syntaxFile = syntaxFile .. "    filename: \"\\\\.m?js$\"\n"
syntaxFile = syntaxFile .. "rules:\n"
syntaxFile = syntaxFile .. "    - preproc: \"test\"\n"
--syntaxFile = syntaxFile .. "\n"

AddRuntimeFileFromMemory("jsdoc","syntax","jsdoctest.yaml",syntaxFile)
Reload();

Wondering if it's an issue with the order in which the syntax files are read, when I corrupt the yaml on purpose then micro errors, so it is parsing it from the plugin with my original lua file.
Now, after setting a special: ".*" rule i saw everything change to special colour on save, but not on initial load of micro.
I have removed the rule and rechecked the formatting for the JSDoc ruleset and can't see any issues but still no luck. Wondering if this is being parsed first and then being overwritten by the built-in javascript.yaml. Is there a way to override the load order?

It must be load order, just changed my rule start to "/#\\*\\*" so it doesn't get handled by the built-in javascript comment rule and it works!
Plugin syntax files must be parsed before built-ins... whereas custom ones in ~/.config/micro/syntax must get loaded last.
To me at least this seems illogical, surely it should be built-in syntax, plugin syntax and finally custom syntax files? Any idea where this is loaded as I can try and modify it to submit a pull request and close this :)


v1.7.15 Syntax error?

@dr-dimitru did this update<EMAIL_ADDRESS>to<EMAIL_ADDRESS>then:

Would you say there might be some problems with the package?!

Back to 1.7.13 everything is ok.

Perhaps my fault...1.7.13 does the same, need to check some more.

This means here server returned HTML (or something else) instead of JSON
Check "Network" tab to see what was requested, and what retuned in response

Anyways it's a good catch, I'll what this into try .. catch .. and display a message to user

Related: #412

@paulincai is this happens in Cordova app?

Figured that out.
UserFiles.insert({transport: 'http'}) on DEV or local station. I am having my Android (wifi), shot a photo and inserted, got the error in the browser console (of the Android app). Reverted back to ddp, all ok. I believe http works fine with production or public deployment as I know I did photos in Heroku over http.
And this reminds me that I cannot see my pictures in Heroku, spent another 4 hours today trying to see why I get H18 on all MeteorFiles assets. No the right place to ask but would you know if and how we can force waiting for a little longer on these assets.

In this situation as I imagine people might be switching that up in dev and prod, I'd display a message: You are running an http option for insert in a local environment. Please switch to ddp while in development.

But it works fine on my end, as long as I provide proper ROOT_URL which points to my IP address at W/LAN

@paulincai have you tried something like?:
ROOT_URL='http://<IP_ADDRESS>:3000' meteor --mobile-server http://<IP_ADDRESS>:3000

@dr-dimitru yes, just did and got the same error. I am pushing now again to Heroku just to make sure everything is fine there. So just to answer to you I got the same error with and without ROOT_URL while on local.

@paulincai I would like to see your "Network" tab, including headers

@dr-dimitru by that you mean browser console inspector tab?

@paulincai right, screenshot of few

@dr-dimitru sorry for the wait, was little busy with Heroku where unfortunately seem to get the same result. In red is Android and last line is IOS. Taking console shots now and get back to you.

@paulincai I thought it's Client error, isn't it?
This screenshot doesn't tells much, browser's "Network" tab in inspector will tell more

I'm fighting with Heroku issue now too

No output to the network tab :( . Like o, not moving...

I see WebWorker is disabled, right? Why?

@dr-dimitru  What I did earlier today that might affect is that I installed the npm throttle. I just removed it and retrying everything again

@dr-dimitru this is my insert config:

because of the next shot. I though for the time being until things are clear, I should go the safer side  and that looked safer by the wording.

Sure, I've asked to test if there is any difference in behavior w/o WebWorkers

Please update to the latest release, let's see if this issue is changed/fixed

Hello @paulincai ,
Is this one solved?

Closed due to silence at issue owner end.
Feel free to reopen it in case if the issue still persists on your end.


[haskell-updates] haskellPackages.haskell-language-server: 0.4.0 -> 0.5.0

Motivation for this change
hls 0.5.0 has some amazing new features!
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build haskellPackages.haskell-language-server


Put this behavior behind a setting. Thanks! :beers:


MAINT: NumPy 1.25.x deprecations

the SciPy main branch has 50 deprecation warnings from the NumPy 1.25.x series that don't get caught by our testsuite for reasons previously discussed (the pytest.ini directive to produce an error apparently hits a NumPy try/except block and ends up silent); the maintenance/1.11.x branch has 4661 such warnings; it certainly makes sense to clean these up on main, and possibly to backport where practical

TestOptimizeSimple::test_no_increase had an objective function that was returning an ndim-1 array instead of a float or 0-dim (scalar) array, so this was corrected to respect the requirement for 0-dim arrays to be treated as scalars in the NumPy 1.25.x series

a similar objective function adjustment was applied to test_result_x_shape_when_len_x_is_one to deal with an additional 23 warnings

similarly, splint() in fitpack was adjusted to explicitly support 1-D array input to avoid the same deprecation warning; in this case, the docstring technically says float so I could see raising on 1-D array, though that's perhaps a bit extreme for now (deals with remaining 9 warnings)

Discussed a bit with @seberg in NumPy call today.. may be an upstream change for us to consider re: the suppressed warnings/behavior change.

@tylerjereddy, can I have a link to a CI run that displays the deprecation warnings? It's not clear to me where f2py comes into the conversation, and the background discussion to the issue isn't clear to me.

@andyfaff you can just apply the patch below and run locally:
--- a/pytest.ini
+++ b/pytest.ini
@@ -3,7 +3,6 @@ addopts = -l
 junit_family=xunit2

 filterwarnings =
-    error
     always::scipy._lib._testutils.FPUModeChangeWarning
     ignore:.*deprecated and ignored since IPython.*:DeprecationWarning
     once:.*LAPACK bug 0038.*:RuntimeWarning

There are many more threads about the broader problem (of try/except suppressing deprecation warnings in our suite), and @mdhaber and @stefanv helped with some of the debugging IIRC.

When I apply that patch I get:
build-install/lib/python3.10/site-packages/scipy/optimize/tests/test_optimize.py: 41 warnings
  /Users/andrew/Documents/Andy/programming/scipy/build-install/lib/python3.10/site-packages/scipy/optimize/_cobyla_py.py:285: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
    xopt, info = cobyla.minimize(calcfc, m=m, x=np.copy(x0), rhobeg=rhobeg,

How do I see the warnings emitted for the other 40? Or are they all coming from cobyla?

They're all coming from cobyla, the other 9 are from stats tests, TestLevyStable::test_cdf_nolan_samples. The two optimize tests responsible for those 41 are mentioned in my original comment.

The issue is gh-18781, I've edited the original comment accordingly.

the maintenance/1.11.x branch has 4661 such warnings; it certainly makes sense to clean these up on main, and possibly to backport where practical

This has concerned me quite a bit (already in https://github.com/scipy/scipy/issues/18781), as it affects our usual promise of: "we're warning free on the newest numpy 1.N, hence we know we can set our upper bound to numpy <1.{N+3}".
Scipy 1.11 uses that logic
https://github.com/scipy/scipy/blob/cfe80116aaa145061246b8aec0e98248fbefb835/setup.py#L452-L453
but very likely 1.27 will actually break.
We may be saved by numpy 2.0 here, but in general I'd be in favour of backporting this.

I've revised to remove the optimize test changes now that gh-19054 has been merged, so this PR should be a bit less controversial now. The branch now drops us from 9 silent NumPy warnings on main to 0.
@ev-br it looks like you touched the code flanking the remaining part of the diff a few years ago--any thoughts? I think I was a bit worried that the shim is a bit flimsy re: 2-D+ arrays, but the testsuite doesn't seem sensitive and the parameter in question really is supposed to be a float I think.

I applied Evgeni's patch, made him a co-author on the commit, wiped out the previous history of the PR (everything has been replaced now), and I'll ping some folks who touched or reviewed the code last: @bsdz, @ragibson, and maybe @steppi based on gh-9523?

I applied Evgeni's patch, made him a co-author on the commit, wiped out the previous history of the PR (everything has been replaced now), and I'll ping some folks who touched or reviewed the code last: @bsdz, @ragibson, and maybe @steppi based on gh-9523?

IIRC that functionality, ie. grouping by parameter inputs and calculating for each group, is pretty well covered by the unit tests. If the squeeze() isn't failing on those tests then this patch is fine. Unfortunately, I can't recall exactly why I took this particular approach as it's was a while ago now.


[Bug]

Summary
A clear and concise description of what the bug is, and what you expected to happen.
How to reproduce

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

Please include screenshots.
Additional context
Add any other context about the problem here.

Dear Skills/Introduction-To-Github
I don't know how to use GitHub
So I need help
On Tue, Dec 3, 2024, 22:35 Alex Nguyen @.***> wrote:

Closed #983 https://github.com/skills/introduction-to-github/issues/983
as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/skills/introduction-to-github/issues/983#event-15515703321,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BNJUDTFGECT7WCF5CQZ6NND2DYI2PAVCNFSM6AAAAABS532GJSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGUYTKNZQGMZTEMI
.
You are receiving this because you are subscribed to this thread.Message
ID: <skills/introduction-to-github/issue/983/issue_event/15515703321@
github.com>


Correct nextflow schema entry for ref_data_hla_slice_bed

This adds a missing type field, as outlined in issue #93, to an entry in the nextflow_schema.json

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/oncoanalyser branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

Hi @scoughlan2, thanks for the raising the issue and opening this PR to fix. Would you be able to rebase your above commit (4080193) on top of the nf-core:dev branch then force push to scoughlan2:master so that we don't duplicate the merge commit (4227bc1)?
I can sort that out if preferred!

I have tried to rebase but cant quite get it to work so if you could sort it out, I would really appreciate it. Sorry for the extra work.

Uh, that's weird. Looks like permissions for my user only allowed existing commits from the rebase to be pushed to your master branch, which excluded your commit and so automatically closed the PR then chain-closed the issue.
We should try this again using the standard approach with the dev branch rather than trying to fix and use the master branch. Could you please:

checkout the dev branch on your fork
make sure that it is up-to-date with nf-core remote (https://github.com/nf-core/oncoanalyser)
commit your change
open a new PR against the nf-core dev branch


can't install node 14 on m1 macs

Node does not have a darwin-arm64 build for node 14, which causes installation to fail on m1 macs

@hayes Do you not receive an error or anything? What exactly is happening?

Looks like https://nodejs.org/dist/v14.21.3/node-v14.21.3-darwin-arm64.tar.xz is looking for the native m1 build, but I don't think node starting creating builds for m1 until node 16 (https://nodejs.org/dist/v14.21.3/)

Ok that's the error I expected. I can improve the message a bit for 404s.

@milesj does that mean you can't use proto if you want to use node 14?  Seems like it should just install the intel build for node versions before 16 right?

yup, it works great.  It's slightly slower because it will run through rosetta, but basically anything build for intel will run fine


Lyrics flashes randomly

I have a very strange problem. Lyrics are disappearing and appearing again on the screen randomly (I guess) Here is a video:
https://user-images.githubusercontent.com/32161460/212548799-41386e70-ea69-4521-8621-47a60a397426.mp4
Why is this  happening? Could it be my spotify cookie wrong (expired) somehow?
I think it is also affecting sptlrx pipe. I get the same line twice even though it doesn't appear in the song twice.

It looks like it doesn't happen anymore 🤷♂ I have a very strange setup I will let you know if I find what causes this.

@raitonoberu I moved away from Arch to another setup and currently I don't any intentions to test this further. You can close the issue if you like.


widbatpc remove jitter option

Add option 'Remove Jitter'='Drop only' to prevent percentage from getting up again when not charging

Thanks!


dbus seems to be broken

Packages which rely upon dbus are not working.

https://nixos.wiki/wiki/Using_X_without_a_Display_Manager has some information that might help fix it

Hi.
Could you give us an example of a package that isn't working? Do you have a Repl you could link to?
Ryan


docker installation and web api endpoint

thank you for creating this ! Here is my wishlist

can  you please share instructions on how I can run it in docker.
please consider adding an api endpoint in docker to interact with the re-edge-gpt. That way I can integrate it with my other apps written in nodejs.
allow image/document upload

i can understand some of these items may either be in dev or not planned. just wanted to check if you would consider them.

I already see a dockerfile in the repo and some webpages, does this app already have some of the things I am requesting ?

Yeah but Dockerfile and API docs only have basic chat mode (no options, plugins, etc.)

got it. i will be eagerly looking for the update. your project is the only one which doesn't require selenium for bing chat and is really fast.

Dockerfile and API endpoint are done.

doc in localhost:7935/docs (http://localhost:7935/docs/)

Thank you!


Fixed cause of common lint error; fixed error that occurs when running tests.

The source == null code in es7-rest-property-helpers breaks a very common lint rule, which is of course to use the identity operator when comparing to null.
It's easy to fix by just making changing == to ===.  I have done that in this pull request.
To programmatically demonstrate this lint (jshint) error, I applied live jshinting to the code in question in es7-rest-property-helpers-test.js.  To see the lint error, revert the identity operator to the equality operator.
Here is what the output of the lint looks like under the error:
 PASS  visitors/__tests__/es7-rest-property-helpers-test.js (0.44s)
reporting one error per line

only extracts own properties: line 1, col 120, Use '===' to compare with 'null'.

1 error

Code that was linted: var obj = Object.create({ x: 1 });
obj.y = 2;
var $__0=    obj;y=(function(source, exclusion) {var rest = {};var hasOwn = Object.prototype.hasOwnProperty;if (source == null) {throw new TypeError();}for (var key in source) {if (hasOwn.call(source, key) && !hasOwn.call(exclusion, key)) {rest[key] = source[key];}}return rest;})($__0,{});
(y);

Also I fixed an error that happens when installing this package out of the box.  It happens when running npm i at project root.
The out-of-the box error:
20 tests passed (20 total)
Run time: 6.063s
visitors/__tests__/es6-template-visitors-test.js: line 157, col 5, 'args' is defined but never used.

1 error

npm ERR<EMAIL_ADDRESS>prepublish: `jest && jshint --config=.jshintrc --exclude=node_modules .`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepublish script.
npm ERR! This is most likely a problem with the jstransform package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     jest && jshint --config=.jshintrc --exclude=node_modules .

$ node --version
v0.10.36

source == null is a very common and useful shortcut for source === null || source === undefined. In fact, JSHint has an option to explicitly allow == null: http://jshint.com/docs/options/#eqnull

@fkling I think it's preferable to make the transform work with the default, instead of requiring extra settings such as you reference.  Also, in this case, the default is such for a good reason, as explained here: https://stackoverflow.com/questions/359494/does-it-matter-which-equals-operator-vs-i-use-in-javascript-comparisons/359509#359509

I've amended the fix to do (source === null || source === undefined) since it was explained above that this is what the logic intends.

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

Thank you for your contribution. However, we are not accepting pull requests for this project, and will be closing it automatically. Please see the project's readme for more details - thanks!


serialport module won't install

On an up-to-date (as of 2016.04.23) Ubuntu 14.04 64-bit x86 system, the serialport module does not install, causing the firenodejs/scripts/install.sh script to fail.
This seems related to the nodejs/node confusion in Debian.   When I manually created a symlink from /usr/bin/node to /usr/bin/nodejs, the seriaport package installed and the setup/install.sh completed successfully.

Charles
How vexing. :(
I abandoned serialport and yet it continues to plague. sigh
Simon ran into this a few weeks ago.

double check firenodejs is latest release:
https://github.com/firepick1/firenodejs/releases
I typically expunge all node from my pi then reinstalled node via
firenodejs install

I am setting up my Pi3 for the first time and you're ahead of me in that.
My 3DP broke down so my hair is currently on fire. As soon as that's fixed,
I'll revisit install instructions.
Thanks,
Karl
On Sat, Apr 23, 2016 at 3:39 PM, cdsteinkuehler<EMAIL_ADDRESS>wrote:

On an up-to-date (as of 2016.04.23) Ubuntu 14.04 64-bit x86 system, the
serialport module does not install, causing the
firenodejs/scripts/install.sh script to fail.
This seems related to the nodejs/node confusion in Debian. When I manually
created a symlink from /usr/bin/node to /usr/bin/nodejs, the seriaport
package installed and the setup/install.sh completed successfully.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/firepick1/firenodejs/issues/6

--
Karl Lew
FIREPICK SERVICES LLC
<EMAIL_ADDRESS>www.firepick.org

Simon ran into this a few weeks ago.

double check firenodejs is latest release:
https://github.com/firepick1/firenodejs/releases

I was using master, which based on the commit log looks like it's the
same as the latest release.

I typically expunge all node from my pi then reinstalled node via
firenodejs install

That might be the issue.  I didn't manually install anything node
related, but there might have been something present from the default
Ubuntu install.

I am setting up my Pi3 for the first time and you're ahead of me in that.
My 3DP broke down so my hair is currently on fire. As soon as that's fixed,
I'll revisit install instructions.

Note I'm on a quad-core x86_64 Ubuntu system, not a RPi.  Should I
switch to using a RPi?  I only have a 1-B on-hand, and I figured the
memory+CPU on the x86 system would help with the image recognition code.
--
Charles Steinkuehler
<EMAIL_ADDRESS>

Also, I think this has something to do with node installed on the host system, not the local copy you seem to build in the firenodejs directory.  The fix was to create a symlink from node to nodejs in the /usr/bin directory.

Charles,
The advantage of your quad-core is faster image processing.
The down-side of the quad-core is slower image acquistion via USB vs
RaspberryPi camera.
This is an odd conundrum that will sort itself out as the hardware vendors
wake up and make things better.  I'll always support Raspberry Pi as the
baseline, but firenodejs should work on arbitrary Ubuntus. For example, I
run it on my Chromebook Pixel.
Karl
On Sun, Apr 24, 2016 at 6:28 AM, cdsteinkuehler<EMAIL_ADDRESS>wrote:

Simon ran into this a few weeks ago.

double check firenodejs is latest release:
https://github.com/firepick1/firenodejs/releases

I was using master, which based on the commit log looks like it's the
same as the latest release.

I typically expunge all node from my pi then reinstalled node via
firenodejs install

That might be the issue. I didn't manually install anything node
related, but there might have been something present from the default
Ubuntu install.

I am setting up my Pi3 for the first time and you're ahead of me in that.
My 3DP broke down so my hair is currently on fire. As soon as that's
fixed,
I'll revisit install instructions.

Note I'm on a quad-core x86_64 Ubuntu system, not a RPi. Should I
switch to using a RPi? I only have a 1-B on-hand, and I figured the
memory+CPU on the x86 system would help with the image recognition code.
--
Charles Steinkuehler
<EMAIL_ADDRESS>—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/firepick1/firenodejs/issues/6#issuecomment-213955951

--
Karl Lew
FIREPICK SERVICES LLC
<EMAIL_ADDRESS>www.firepick.org

...and by supporting Pi fully, I can sneak around the rather thorny issue
of supporting arbitrary Ubuntu machines. My guess is that owners of such
Ubuntu machines will be adept at solving issues peculiar to their machines.
:D

Understood.  I'll get a Pi if I need to, but I think I can get the Ubuntu machine working.  Right now I'm doing what I can while waiting for a new Arduino to show up (I gave away all mine when I switched to the BBB) so I can actually start moving some motors.
...and I'm pretty sure there are some pretty advanced vision cards available for x86 machines if the USB camera turns out to be a huge bottleneck.  :-)

Awesome!  I'm looking forward to see you post your precision charts to the
group--these visual data points are helping us all understand how FPD
behaves in the wild.
On Sun, Apr 24, 2016 at 6:42 AM, cdsteinkuehler<EMAIL_ADDRESS>wrote:

Understood. I'll get a Pi if I need to, but I think I can get the Ubuntu
machine working. Right now I'm doing what I can while waiting for a new
Arduino to show up (I gave away all mine when I switched to the BBB) so I
can actually start moving some motors.
...and I'm pretty sure there are some pretty advanced vision cards
available for x86 machines if the USB camera turns out to be a huge
bottleneck. :-)
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/firepick1/firenodejs/issues/6#issuecomment-213957854

--
Karl Lew
FIREPICK SERVICES LLC
<EMAIL_ADDRESS>www.firepick.org


Problem: buildjet CI runners get stuck sometimes

"Waiting for runner" and then nothing
Solution: try out WarpBuild

Excited to support you with warpbuild!


Error trying to make tests

URL of codelab
https://developer.android.com/codelabs/android-basics-kotlin-test-navigation?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fandroid-basics-kotlin-test-navigation#0
In which task and step of the codelab can this issue be found?
In the part of write @RunWith(AndroidJUnit4::class) when i need run the app for test it. Its on the step 6 of the codelab
Describe the problem
In that part of the tutorial u need write @RunWith(AndroidJUnit4::class) but the problems come that if u write that the application show a error, if u delete that code the error dissapear and i can run the tests correctly
Steps to reproduce?
U can see the error using @RunWith(AndroidJUnit4::class) and if u delete that u can run the tests correctly
Versions
Android Studio Bumblebee | 2021.1.1 Patch 1
Build #AI-211.7628.21.2111.8139111, built on February 1, 2022
Runtime version: 11.0.11+9-b60-7590822 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 4
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin (211-1.6.10-release-923-AS7442.40), org.intellij.plugins.markdown (211.7142.37)
Additional information

What do your imports look like? Did you include "import org.junit.runner.RunWith" ? Here's what I've got:


Adds new logic to send email notification for habits friends requests

GreenCityUser PR
#6129
Summary Of Changes :fire:

new endpoint to send notification
new template for email notification
new logic in Email service to send email notification
tests

PR Checklist Forms
(to be filled out by PR submitter)

[x] Code is up-to-date with the dev branch.
[x] You've successfully built and run the tests locally.
[x] There are new or updated unit tests validating the change.
[x] JIRA/ Github Issue number & title in PR title (ISSUE-XXXX: Ticket title)
[x] This template filled (above this section).
[x] Sonar's report does not contain bugs, vulnerabilities, security issues, code smells or duplication
[x] NEED_REVIEW and READY_FOR_REVIEW labels are added.
[x] All files reviewed before sending to reviewers


Is it possible to examine user in route constraint?

Hello.
Is it possible to examine users before allowing them access to some not controlled Rack application in Rails routes?
For example:
require 'sidekiq/web'
require "monban/constraints/signed_out"
Rails.application.routes.draw do
  constraints Monban::Constraints::SignedIn.new do
    # let Sidekiq dashboard to be available only for some kind of admins
    # e.g. if user.admin? or anything
      mount Sidekiq::Web => '/sidekiq'
    # end
  end
end

Found it in Rails guides about routing:
require 'sidekiq/web'
require "monban/constraints/signed_in"
Rails.application.routes.draw do
  constraints Monban::Constraints::SignedIn.new do
    # let Sidekiq dashboard to be available only for some kind of admins
    mount Sidekiq::Web => '/sidekiq', constraints: -> (request) { request.env['warden'].user.system_admin? }
  end
end

No problem, glad you found a solution!


Lock down support-v4 to 26.0.+

This fixes following bug on our BF:

Could not find com.android.support:support-core-ui:26.1.0.

It is missing the bump version.


create openstack cluster

Hello,
I want to create an openstack cluster, but I can't find any document about how to do it. So I just want to ask some questions here:

Do I need to download the image from somewhere and import it to openstack manually?
Is there anything else I need to do before create the cluster?

Thanks!

Yes there is an openstack image you have to import
curl -L  https://atlas.hashicorp.com/api/v1/artifacts/sequenceiq/cloudbreak/openstack.image/21/file | tar -tz

than import it onto with glance image-create --disk-format qcow2 --container-format bare ...
than you can follow the docs: http://sequenceiq.com/cloudbreak-docs/release-1.1.0/openstack_pre_prov/

Thank! Could you also tell me what should be installed on the image? Docker? Anything else?

That image is for the purpose that its ready to use. So you dont have to install anything on it. Even you on't even start instances from it. Cloudbreak will use that image to start instances which will form the hadoop cluster.


Override "ć" with "ç"

Hey guys, I'm having some trouble to achieve the title behavior.
If it matter, I'm using Arch Linux with Gnome(wayland). My keyboard is a MX Mechanical Mini(internacional) but I'm a brazilian guy and here we use some dead keys like ç.
Actual behavior:

´ then c = ć
rightalt + , = ç

I want to override the 1 behavior with 2.
I have tried many action/layer combinations but none has did it for me. Can anyone help me to achieve this behavior?
[edit]
For the record:

keyd monitor undestands ´ press as '(which is equal to ´  then space press)

I'm going to assume that by 'override' you mean you want to turn the sequence ' c into ç?
The reason that this is so confusing is that there are two concepts here that are conflicting. First there's the keycodes sent by your keyboard and second is the way your computer interprets those keycodes.
Keyd works on the first level, but your Brazilian layout with dead keys happens on the second level. The fact that keyd monitor says you've pressed ' doesn't mean that it understands it as ' space --- ' is just the name it gives to that key, it doesn't know how it will later appear as a symbol on your screen.
So there's a few things you can do to still get the behaviour you want.
One, if this is the only change you want to make, you can skip keyd altogether and edit your layout to change the deadkey behaviour there.
Two, you can switch to a US layout so that the names of the keys are less confusing, and use the compose mechanism to regain the behaviour of Brazil keyboards.
Three, you keep your current layout and use some trickery to get the behavior you want anyway. This is probably the least involved (as long as you keep in mind what's happening). It could look like this:
' = oneshot(apostrophe)

[apostrophe]
c = G-,
space = macro(' space)
a = macro(' a)
# etcetera

@nsbgn your assumption is right. But clarifying some things: I'm already using a US layout. And I want to use keyd because I have other use cases to cover(like mouse buttons behaving in a custom way).
I have tried your configuration(have tried some thing very similar before), but it not worked as I expect.
If I touch ´ once I get it:

which is a preview.
And then if I touch some other key the magic happens like:
touching ´ again:

touching e:

touching c:

I want to keep this preview and keep other compositions working too.
With your configuration when I press ´ then c it works and I get ç, but I loose the preview and other compositions like é do not work anymore.
I was figuring out if its possible to do something like
' = overload(oneshot(apostrophe), ')

[apostrophe]
c = G-,
space = macro(' space)

but not worked.

Ah, US layout with dead keys - I forgot that's a thing too :P
If you want to keep the preview (which keyd has no control over), I would suggest some trickery by just backspacing if you encounter a c:
' = oneshotm(apostrophe, ')

[apostrophe]
c = macro(space backspace G-,)

Ah, US layout with dead keys - I forgot that's a thing too :P
If you want to keep the preview (which keyd has no control over), I would suggest some trickery by just backspacing if you encounter a c:
' = oneshotm(apostrophe, ')

[apostrophe]
c = macro(space backspace G-,)

It worked! Thanks mate!
Before I close this issue, where can I find these "different" kind of actions/commands like oneshotm. I've read https://github.com/rvaiya/keyd/blob/6dc2d5c4ea76802fd192b143bdd53b1787fd6deb/docs/keyd.scdoc but it's not there.

Good to hear :)
You linked to an old version --- it is in the latest one at https://github.com/rvaiya/keyd/blob/dcbb68b12f71245121035b730b50872802a259b4/docs/keyd.scdoc#L668
The above file is just the source for the page that's pulled up when you execute man keyd, which will correspond to the keyd version that you actually have installed ;)

@nsbgn
Oh, my bad :/. Thanks for the link and the tip!


Capture logs of crashed pod

by adding -p option of CLI.
Closes: #1289
Signed-off-by: Janki Chhatbar<EMAIL_ADDRESS>

@Jaanki thanks for looking at this so quickly!

GW pod in my setup is in CrashLoopBackOff. This patch generates a .log.old file with logs from previous pod and .log file with logs from current pod.
Attached are the logs files generated on running subctl gather --module=connectivity --type=logs
submariner-20210423170957.zip


Weird Errors

[ERR] socks: Failed to handle request: read tcp <IP_ADDRESS>:1080-><IP_ADDRESS>:1942: wsarecv: An established connection was aborted by the software in your host machine.

[ERR] socks: Failed to handle request: readfrom tcp <IP_ADDRESS>:1080-><IP_ADDRESS>:1948: read tcp <IP_ADDRESS>:59722: connection reset by peer

I'm on Windows. What cloud be causing this? This usually shows up for sites that uses websockets (eg. Twitch), but everything works regardless (at least it seems to be).

I have the same question. I have only added the section for socks5 to the wireguard config file.

Same problem here, but it does not work: connection reset, loading fails.

please post your configs, and the mtu discovered by traceroute <wireguard_peer> (the last one if more than one is printed).

Here is my simple config with keys and endpoint deleted. I would be happy to help find the issue but I don't understand what <wireguard_peer> I should use and how to check it's mtu on Windows.
PrivateKey =
Address = <IP_ADDRESS>/32
DNS = <IP_ADDRESS>

[Peer]
PublicKey =
PresharedKey =
AllowedIPs = <IP_ADDRESS>/0, ::/0
PersistentKeepalive = 0
Endpoint =

# Socks5 creates a socks5 proxy on your LAN, and all traffic would be routed via wireguard.
[Socks5]
BindAddress = <IP_ADDRESS>:25344


Pod Identity support

Issue submitter TODO list

[X] I've looked up my issue in FAQ
[X] I've searched for an already existing issues here
[X] I've tried running master-labeled docker image and the issue still persists there
[X] I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)
Hi Team,
AWS has released a new fix to allows POD Identity. Can you please implement this and release the new version for this ?
This is the dependency that needs to be changes:-

software.amazon.msk
aws-msk-iam-auth
2.1.0

Expected behavior
Application can connect AWS MSK when deployed in a POD (Openshift Rosa)
Your installation details
We deploy this using helm chart in our Openshift Roda env. This will run from POD and try to make the connection with MSK.
Steps to reproduce
Get the latest version
create a helm chart
deploy it in Openshift Rosa env (in POD)
check the log, you will see the error "Unable to load AWS Credentials from any provider chain"
Screenshots
NA
Logs
NA
Additional context
NA

please look into this

please look into this

Hi @rajarshp! Would be happy to, but this repo is no longer maintained (more about this here), but I'll be happy to help with this issue here: https://github.com/kafbat/kafka-ui

Hi @Haarolean
Thanks for the update.
I did check there too, it is still using aws-msk-iam-auth v1.1.7 which is not compatible with POD Identity.
Could you please update to v2.1.0 or later and release a new version for this ?

@rajarshp would you please raise an issue there?

Get the latest version
create a helm chart
deploy it in Openshift Rosa env (in POD)
check the log, you will see the error "Unable to load AWS Credentials from any provider chain"

created - https://github.com/kafbat/kafka-ui/issues/287


feat: bump minimal required Node.js version

The current LTS version of Node.js is v20.x.x.
Strapi current minimum version required is >= v18.x.x.
This PR bump Node.js version in engines tag of package.json file to remove warning when installing packages in LTS version of Node.js.

Edited on code


Heatshrink incompatibility

Due to an issue in the crate, your crate relies on, this crate is most likely incompatible with the original implementation of heatshrink (https://github.com/atomicobject/heatshrink).
See https://github.com/snakehand/heatshrink/issues/1
Greetings, Christian

Indeed the C version was incompatible with the rust version and created corrupted graphics when mixed
Thank you!

You are welcome :-)


[1.16 app] Consume all memory

Describe the bug
almost consume all memory that become my laptop suddenly not responding
Versions
Ray version (you can see this in "About Ray"): 1.16.0
You can use composer show to get the version numbers of:

spatie/ray package version: 1.28.0
spatie/laravel-ray package version (if applicable):  1.24.2

PHP version:
Laravel version (if applicable): 8.52.0
To Reproduce
Steps to reproduce the behavior:

Open Ray
Wait it, it will suddenly stop my laptop if all memory consume

Expected behavior
work as normal, and not consume much memory
Screenshots

Desktop (please complete the following information):

OS: Linuxmint
Version [e.g. 22] 20.2 Cninamon

Additional context
related #210, but i recreate issue it said here https://github.com/spatie/ray/issues/210#issuecomment-884702768

Wait it, it will suddenly stop my laptop if all memory consume

It's hard to reproduce this, how long did you have to wait? Is there any way to let Ray use that many memory faster?

Hi @freekmurze

Is there any way to let Ray use that many memory faster?

sorry i do not know about this,
while reading this suddenly happen issue again
I used this
 ray()->showQueries();

then after that this will happen

then later, it become blank

including consume my left memory

It started to happen with me after updating to 1.16.0, whenever I execute ray()->showQueries() ray would crash; I can't switch between colors or click any button in the app, and after a couple of seconds, it becomes blank like this:

Also noticed before crash that ray may consume over 4GB of RAM.
Versions:
laravel/framework: 8.31.0
spatie/laravel-ray: 1.14.0
PHP: 8.0.8
OS: MacOS
Version: 10.15.4

I can confirm that after the 1.16.0 update Ray freezes every time it gets a QueryException showing a blank screen.
spatie/laravel-ray                 1.24.2
laravel/framework                  v8.52.0
PHP 8.0.8
MacOS 11.4 on M1

@AdrianMrn I could reproduce this by running php artisan query in the demo app
https://github.com/spatie/laravel-ray-demo-app/blob/d664896afd4b60c09c5df28be2d6a830fe574915/app/Console/Commands/QueryCommand.php#L11

I'll take a look at this today.

I've fixed the issue with queries in 1.17.0. I'm not entirely sure whether it's related to the memory issue, so if the memory issues persist, please open a new issue with reproduction steps!


cli command: pyrsia status implementation

Implementation of status command to show : total_artifacts, peers_connected_count and disk_space_available
closes #112 #71

Security audit failed https://github.com/pyrsia/pyrsia/runs/4598120109?check_suite_focus=true#step:3:30

https://github.com/pyrsia/pyrsia/runs/4598120109?check_suite_focus=true#step:3:30

yeah i am quite confused i had security audit passed before when i resolved conflict changes and merged,  it failed, tracking where this is coming from, but it should have failed in the previous PR which merged


address add colonia as prefix for validation

This PR adds prefix Col to Colonia field when is set

Closed because is not the responsibility of the validator, is from the validation vs INE