Labels with large absolute values require lots of RAM

🐛 Bug
This issue has previously been discussed in #2587 , and its specific cause was elucidated here: https://github.com/napari/napari/issues/2587#issuecomment-825338018 .
As a speed optimisation, for a volume containing label with value n, an array of length n is created (even if label 0 does not co-exist). Therefore, for large values, a very large array is needed. If the array would not fit into memory, a popup warning is raised; if it could theoretically fit but can't be allocated because the pesky computer is actually using some of its RAM already, napari crashes without grace (killed by the OS, i.e. not catchable exceptions).
This doesn't seem to have been a problem so far so it's not something which needs an urgent fix, especially as the optimisation above gave a significant speed boost, but this should be in the backlog.
To Reproduce
Steps to reproduce the behavior:

View a label array with a large label.

import numpy as np
import napari

dtype = np.dtype("int32")
big_label = np.iinfo(dtype).max
labels = np.array([[big_label]], dtype)
napari.view_labels(labels)
napari.run()

Environment
napari: 0.4.8.dev53+g9b46dd5a
Platform: Linux-5.4.112-1-MANJARO-x86_64-with-glibc2.29
System: Manjaro Linux
Python: 3.8.5 (default, Aug 5 2020, 13:09:57) [GCC 10.1.0]
Qt: 5.14.2
PyQt5: 5.14.2
NumPy: 1.19.1
SciPy: 1.5.2
Dask: 2.25.0
VisPy: 0.6.4

OpenGL:
- GL version: 4.6 (Compatibility Profile) Mesa 21.0.2
- MAX_TEXTURE_SIZE: 16384

Screens:
- screen 1: resolution 1920x1080, scale 1.0
- screen 2: resolution 1920x1080, scale 1.0

Plugins:
- console: 0.0.3
- scikit-image: 0.4.8.dev53+g9b46dd5a
- svg: 0.1.4

In the other issue I suggested modulo-ing the absolute label values when they're looked up but that would introduce regular cycles into the color map and you'd need to take an extra step to mask out the 0 labels.

In the other issue I suggested modulo-ing the absolute label values when they're looked up but that would introduce undesirable regular cycles into the color map and you'd need to take an extra step to mask out the 0 labels.

The long term vision here is to directly pass the labels to the GPU and do hashing (modulo or otherwise) on the GPU. The issue with mod is that it is a surprisingly expensive operation!
In [1]: image = np.random.randint(0, 5, size=(2048, 2048))
In [2]: from napari.utils.colormaps import colormap_utils as cu
In [3]: %timeit cu.low_discrepancy_image(image)
220 ms ± 19.5 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

In [4]: %timeit image % 257
386 ms ± 18.5 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

Closed by #3308!


Coffee machine turning on via BT protocol

Greetings. Can the coffee machine be powered on via Bluetooth protocol after a power outage? The maximum time available to be in ON mode so appears to be 9 hours on my JURA E6. I see that this can be achieved through the UART protocol. But I want to know is it possible to solve this issue via BT protocol? Or maybe there's a way to disable automatic turn off. Thanks in advance.

Hello Sergey,
Unfortunately, I am not close to the machine at the moment because I think there might be a command that turns the machine on since if powered, the Bluetooth dongle is still on, but I would need to test it first.
Nonetheless, if you plan on controlling the machine with Bluetooth, you must keep an active heartbeat to maintain an active connection. And I believe that by establishing this connection, you are constantly resetting the 9 hours limit. The machine I work on stays on from 7 am to 6 pm.
Try something like this where every 5 seconds you make sure the connection does not die and see if the machine stays on. If not, I will try as soon as possible to test the other option and get back to you, but hopefully, this serves as a band-aid for now.

Thank you for your response @franfrancisco9. I had attempted the method involving heartbeats previously, but despite implementing it, the system still undergoes automatic shutdown once the predetermined duration has elapsed.

In my opinion, accessing the configuration settings of the machine(getting a UUID of that setting) and adjusting the duration of the automatic shutdown could potentially resolve this issue. Specifically, we could send a command to the machine after 8 hours to modify the automatic shutdown setting from 9 hours to 8 hours, and then reset it back to 9 hours. I think this approach could be effective in addressing the problem at hand.

@sergey-gra Sorry for the delay I was not near the machine the past month and a half. Were you able to solve the issue? I imagine the reason your machine turns off is that no coffee is made?
One other approach you could use is every 8 hours you order the machine to make a simple product (just hot water) that way the time is probably going to reset


[app-configuration] Fixing some test suite timeouts from too many parallel requests

During test cleanup we do all the deletes for all the settings we've created in parallel.
It appears we're getting throttled so, to fix that, I've changed it to do them serially instead.

/azp run js - appconfiguration - tests

Do we know what the rate limit is for this API? We could calculate a delay to add if needed too then.

That's a great question @chradek !
I don't see one in the public documentation (there is some documentation on the rate-per-day on lower tiers of the service but that's separate and for free-tier, which we are no longer on).
So if we were going to do this in the SDK we'd need to coordinate that. I'd hate to have a stale limit in there.

Just to be clear, I mean add a delay between deletes in the test, not in the SDK itself :) Anyway, :ship::it:


Mediator with bus doesn't log correctly

Is this a bug report?
Yes
Can you also reproduce the problem with the latest version?
Yes
Environment

Dotnet version: 5.0.8
Operating system: Windows 10
IDE (Rider, VS Code, Visual Studio): Visual Studio
MassTransit: 7.2.2

Steps to Reproduce

AddMassTransit to microsoft di with kafka and mediator
Create and inject a HostedService and inject IMediator as a dependency.
Run and view that some logs are not logged properly.

I made a sample of the problem here https://github.com/xaviergxf/MasstransitMediatorNoLoggingBug.
The logs on the console when ran:
[11:40:19 INF] Configured endpoint sample, Consumer: GettingStarted.MessageConsumer
[11:40:19 DBG] Starting bus instances: IBus
[11:40:19 INF] Application started. Press Ctrl+C to shut down.
[11:40:19 INF] Hosting environment: Development
[11:40:19 INF] Content root path: C:\Users\xkl\source\repos\Sample-GettingStarted\GettingStarted

Once commenting the injection of IMediator on Worker.cs
public class Worker : BackgroundService
    {
        readonly IMediator _mediator;

        public Worker(
            //IMediator mediator//Remove this dependency to make looging work again
        )
        {
            //_mediator = mediator;//Remove this dependency to make looging work again
        }
...

The logs on the console are:
[11:42:27 INF] Configured endpoint sample, Consumer: GettingStarted.MessageConsumer
[11:42:27 DBG] Starting bus instances: IBus
[11:42:27 DBG] Starting bus: loopback://localhost/
[11:42:27 DBG] Endpoint Ready: loopback://localhost/PC33REYGVA_GettingStarted_bus_o4gyyynmj4gq3nnnbdcscg1tdw
[11:42:27 INF] Application started. Press Ctrl+C to shut down.
[11:42:27 INF] Hosting environment: Development
[11:42:27 INF] Content root path: C:\Users\xkl\source\repos\Sample-GettingStarted\GettingStarted
[11:42:27 DBG] Endpoint Ready: loopback://localhost/kafka/sample
[11:42:27 INF] Bus started: loopback://localhost/
[11:42:27 ERR] Consume Loop faulted
Confluent.Kafka.ConsumeException: Broker: Unknown topic or partition
   at Confluent.Kafka.Consumer`2.Consume(Int32 millisecondsTimeout)
   at Confluent.Kafka.Consumer`2.Consume(CancellationToken cancellationToken)
   at MassTransit.KafkaIntegration.Contexts.KafkaConsumerContext`2.<>c__DisplayClass15_0.<Consume>b__0()
   at MassTransit.Util.ChannelExecutor.SynchronousFuture`1.Run()
--- End of stack trace from previous location ---
   at MassTransit.Util.ChannelExecutor.Run[T](Func`1 method, CancellationToken cancellationToken)
   at MassTransit.KafkaIntegration.Transport.KafkaMessageReceiver`2.Consume()
[11:42:27 DBG] Endpoint Completed: loopback://localhost/kafka/sample
[11:42:27 DBG] Consumer completed loopback://localhost/kafka/sample: 0 received, 0 concurrent
[11:42:27 DBG] Endpoint Faulted: loopback://localhost/kafka/sample

Is this perhaps a problem with the static LogContext that is setted multiple times sometimes with or without ILoggerFactory?
Expected Behavior
Should log correctly with or without the IMediator injected on the worker hostedService.
Actual Behavior
When injecting IMediator into a Hosted service it doesn't log correctly.
Reproducible Demo
https://github.com/xaviergxf/MasstransitMediatorNoLoggingBug

Does change the hosted service to wait for the bus start fix the issue?
services.AddMassTransitHostedService(true);

I haven't pulled down your sample, but I don't see any issues with logging on my end when adding mediator used by a hosted service.

No it doesn't change anything from adding
services.AddMassTransitHostedService(true);

My demo https://github.com/xaviergxf/MasstransitMediatorNoLoggingBug is your sample modified to use bus+mediator
https://github.com/MassTransit/Sample-GettingStarted

I modified it myself, adding the mediator with the consumer (your sample added Kafka and other stuff), and again, works as expected:
Building...
info: MassTransit[0]
      Configured endpoint Message, Consumer: GettingStarted.MessageConsumer
dbug: MassTransit.Registration.BusDepot[0]
      Starting bus instances: IBus
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /Users/chris/Home/Sample-GettingStarted/GettingStarted
info: GettingStarted.MessageConsumer[0]
      Received Text: The time is 8/24/2021 8:06:14 AM -05:00
dbug: MassTransit.ReceiveTransport[0]
      Consumer Ok: rabbitmq://localhost/Message - amq.ctag-WIMSPDqaArBzlI-ydgN9wA
info: GettingStarted.MessageConsumer[0]
      Received Text: The time is 8/24/2021 8:06:15 AM -05:00
info: GettingStarted.MessageConsumer[0]
      Received Text: The time is 8/24/2021 8:06:16 AM -05:00
info: GettingStarted.MessageConsumer[0]
      Received Text: The time is 8/24/2021 8:06:17 AM -05:00
info: GettingStarted.MessageConsumer[0]
      Received Text: The time is 8/24/2021 8:06:18 AM -05:00
info: GettingStarted.MessageConsumer[0]
      Received Text: The time is 8/24/2021 8:06:19 AM -05:00
^Cinfo: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
dbug: MassTransit.Registration.BusDepot[0]
      Stopping bus instances: IBus
dbug: MassTransit[0]
      Stopping bus: rabbitmq://localhost/
dbug: MassTransit[0]
      Endpoint Stopping: rabbitmq://localhost/Message
dbug: MassTransit[0]
      Stopping receive transport: rabbitmq://localhost/Message
dbug: MassTransit[0]
      Stopping Consumer: rabbitmq://localhost/Message - amq.ctag-WIMSPDqaArBzlI-ydgN9wA
dbug: MassTransit[0]
      Endpoint Stopping: rabbitmq://localhost/ChrissMacPro_GettingStarted_bus_5o7yyy8mzd1fb5mgbdcsp99ugr?temporary=true
dbug: MassTransit[0]
      Stopping receive transport: rabbitmq://localhost/ChrissMacPro_GettingStarted_bus_5o7yyy8mzd1fb5mgbdcsp99ugr?temporary=true
dbug: MassTransit.ReceiveTransport[0]
      Consumer Cancel Ok: rabbitmq://localhost/Message - amq.ctag-WIMSPDqaArBzlI-ydgN9wA
dbug: MassTransit[0]
      Disconnect: guest@localhost:5672/
dbug: MassTransit[0]
      Disconnected: guest@localhost:5672/
info: MassTransit[0]
      Bus stopped: rabbitmq://localhost/

Yes, perhaps the problem is related to having kafka with the mediator. If you run my sample with the IMediator injected on the Worker hosted service it doesn't log. Removing the IMediator dependency it work fine.

@phatboyg  Thanks a lot 👍


Grofer not supported on MacOS and Windows

Describe the bug
The individual process stats feature of grofer does not work on MacOS.
To Reproduce
Steps to reproduce the behaviour:
Run ./grofer proc -p <pid> as usual on a system running MacOS/Windows.
Expected Behaviour
Grofer should display process stats for the given PID like in Linux.
Actual Behaviour
On MacOS:
A runtime error with a segmentation violation.
The prompt in Terminal also does not function as usual after this,
Desktop (please complete the following information):

MacOS/Windows
Go Version 1.14

For windows, this link might be useful: https://godoc.org/github.com/shirou/gopsutil/winservices

For MacOS , it seems that gopsutil doesn't support a number of  data points  from the kernel , for example num_ctx_switches   and exe  process classes  (reference).
used here , from my preliminary googling darwin support for ps type external libraries is a little sketchy . Do let me know if there are libraries that do pull this off  but until then support for Macos seems limited.

Interesting, that explains why grofer crashes. One workaround that I can think of is utilizing the information that gopsutil provides and for parameters like num_ctx_switches, parse the output of an external command similarly to how its done for grofer --cpuinfo.

Okay this is interesting,
Turns out that commands like ps are implemented in a different way on MacOSX since it does not have a /proc fs. Info is gathered by ps using the sysctl and kvm commands. sysctl seems to provide quite a lot of information that we could work with!

I'll try writting a cgo library by referencing an outdated project like go-ps and get some OSX compatibility soon


CI: Conformance E2E (ci-e2e)

Setup & Test (12, bpf-next-20231211.012942, none, true, {eth0,eth1}, true, disabled, wireguard, t... https://github.com/cilium/cilium/actions/runs/7192965549/job/19590476147
[=] Test [pod-to-ingress-service] [57/64]
.
  [-] Scenario [pod-to-ingress-service/pod-to-ingress-service]
  [.] Action [pod-to-ingress-service/pod-to-ingress-service/curl-0: cilium-test/client-75bff5f5b9-qcpx2 (<IP_ADDRESS>) -> /cilium-ingress-ingress-service (cilium-ingress-ingress-service.:80)]
  ❌ command "curl -w %{local_ip}:%{local_port} -> %{remote_ip}:%{remote_port} = %{response_code} --silent --fail --show-error --output /dev/null --connect-timeout 2 --max-time 10 [http://cilium-ingress-ingress-service.:80](http://cilium-ingress-ingress-service./)" failed: error with exec request (pod=cilium-test/client-75bff5f5b9-qcpx2, container=client): command terminated with exit code 6

Full logs: logs_1965652.zip
Sysdump: too big :(

Hit here for PR https://github.com/cilium/cilium/pull/29796

Hit on https://github.com/cilium/cilium/pull/30361 in https://github.com/cilium/cilium/actions/runs/8088292242/job/22102049585
Sysdump:
Uploading cilium-sysdump-20240228-232543.zip…

Sysdump didn't attach correctly:
cilium-sysdump-20240228-232543.zip


Dropdown insta closes

Hello. So I have this bug that closes the child menus as soon as you click them.
I have split the menu into its own file and use php to include it. However when i click the drops downs they open then instantly close.

Do you still have that issue ? If you do can you please share with us some details, maybe some code ? If you're not, please close the ticket.

Hello.
This is still an issue. The code is an exact copy paste of the menu area.
I copy it into a file named menu.php
then i include('menu.php') in my files.
Which works fine, expect when you click a dropdown, it pops back up instantly after opening.

@kiritodragneel  Hello, is this still an issue?

A fix for the menu bug will be available soon.
Thankyou


fix(Zarya): better vfx while using self bubble

Code authored by lemonhead, commited by ecksdee
Instead of disabling the ability while bubble is active, keep it enabled, but disallow presssing the button. Final result is that the ability icon turns orange instead of red while the bubble is active.

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


feat: Jira & OpenSSF compliance documentations

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

GitHub release
v1.4.0

Your semantic-release bot :package::rocket:


7/6 Publish for Tobias

Docs Build status updates of commit 54f9dbd:
:warning: Validation status: warnings

File
Status
Preview URL
Details

rd/index.yml
:warning:Warning

Details

rd/map.yml
:warning:Warning

Details

rd/media/profiles/agnes-molnar.jpg
:white_check_mark:Succeeded

rd/media/profiles/tobias-fenster.jpg
:white_check_mark:Succeeded

rd/tobias-fenster.yml
:white_check_mark:Succeeded

rd/toc.yml
:white_check_mark:Succeeded

rd/index.yml

Line 0: [Warning-InvalidFileLink] Invalid file link:(~/about).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/CodeOfConduct).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/map).

rd/map.yml

Line 0: [Warning-InvalidFileLink] Invalid file link:(~/about).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/CodeOfConduct).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/map).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


STEP 2: Preprocessing including tokenization, lowercasing, and vocabulary files.

Hi, I was wondering if you could please guide me in the 2nd step of the README file.
My goal is to use your network to predict the post-editing effort on MT output.
I have my own corpus from a CAT tool, having the source, MT output, and target from translators. I am using https://github.com/VKCOM/YouTokenToMe for BPE tokenization, but I am not sure how to split my data and how to tokenize it.
I split my data into train, val, test for each of the above mentioned(source, MT, target) parallel data.
My question is how should I feed the data into the expert_model.py file? Should it be tokenized using BPE already? also in txt format?
Thanks in advance,
Michal

You can use plain test file for each language, where each line is a tokenized sentence.
If you are using BPE tokens, sentence level training is OK.
But for word level prediction, there is a discrepancy between word labels and BPE tokens. So you need to modify the code or the data. (1) The easier way is to modify the data. For each BPE token, you assign the same label as the word it comes from. (2) You can also follow the sequence labeling rule in BERT fine-tuning -- only predict the first BPE token of each word.


checklist for release

[ ] Auto-detection of primer scheme from V3, V4, midnight, outputting annotated bam
[ ] tests thereof
[ ] Creation of sorted bam
[ ] Pass to viridian
[ ] self-QC
[ ] tests thereof
[ ] FRS using reads from the appropriate amplicon only
[ ] tests thereof
[ ] masking
[ ] JSON block of high-level stats (defined below)
[ ] General robustness improvements
- [ ] not try global alignment if too many amplicons dropped (eg >10 by default?)
- [ ] don't bother with viridian if the workflow spots >N amplicons dropped (N such that total length of genome recovered <90%?)
[ ] Outputting software version in final JSON?

 Can someone add here?
Things being left out of this release

coverage on SNP alleles in VCF (right @martinghunt ?)

Questions

if someone passes in a primer scheme manually, do we check if it is == one of our inbuilt ones?
what if the amplicons and primers are the same as our internally stored V4 (say), but they call it something else?
if a user passes in a primer scheme manually, they just pass in a JSON file which presumably includes the name of the scheme as a tag, and we run primer-detection, and we think the best scheme is not the one they pass in, we error out, right? Which is fine. What if we agree their scheme is the best, but they have wrongly named their scheme, to be the same name as one of ours?

if someone passes in a primer scheme manually, do we check if it is == one of our inbuilt ones?

Perhaps test for equality of bed records, ignoring name and reverting to ?

Phil's proposed JSON block for QC

Interested to learn more about what has been proposed, will ask Phil.
Maybe there should be a notices field to contain strings explaining certain behaviours e.g. supplied primer scheme matches built-in scheme? Else give every corner case its own field.
Another question, how would genome length be calculated?

I think genome length == length of ref.
But I also think it doesn't matter,  average depth is a useless statistic given how depth varies across amplicons. Just including it so we don't keep getting asked for it.

closing this, we made release 0.3.0.
Self-QC deferred to next release


avoid issues when handling errors

external errors should be checked with errors.Is
external errors should be compared with errors.As
errors should be wrapped with %w in fmt.Errorf

This is a draft as I need to check every single changes I made to respect what you said here https://github.com/itchyny/gojq/pull/249#issuecomment-2038445048

Here is a new version where I only used errors.Is/errors.As for external errors.
I followed your recommendation

This is meaningless change applying unthoughtful best practices. The errors are controlled in the package and errors.Is is reasonable only when the error comes from another package, also I don't like for performance reasons. Return statement in else is intentional, not to catch unexpected failure of forgetting return in previous branches, possibly caused by nested branches. The first commit about useless receivers is the only one I can merge in the changes.

@itchyny ?


Move UX to fluent-ui

Describe the solution you'd like
Move the current React UX to stardust-ui fluentui/react component

FluentUI is now implemented in the latest preview (2.12.0-preview2)


TODO:  Create a Reddit component

Create a React based Stack Overflow "top upvoted list" or "current list" component based on configurable criterion.
Model this one close to the existing Discourse component.

Hi @Sing-Li, I'd like to work on this issue. Could you please assign it to me?

Hi @Sing-Li, I have discussed this issue with @Dnouv and would like to work on it.

Hi @Sing-Li , this seems interesting to me. I'd like to work on this.


Interactivity warning css

Fairly ugly right now and will be improved. Right now the goal is to show what is necessary for the interactivity warning PR on nbsite.

GitHub got confused again. Is there a reason to keep this on ioam?


An user without edition permission can access on swap dataset function

Bug description
Hello,
with superset v3.0.0, I create an user with essential permission (cf. https://github.com/apache/superset/issues/27765), an access on a dataset is created.
From the buttons "View all" on home page (always displayed), the user can list dashboards or charts
He can select a chart, the editor page is displayed although he has not edition permssion.
Several error messages are displayed, like on "swap dataset" function. The function "swap data" must not be displayed without permission.
Best regards
How to reproduce the bug

Screenshots/recordings
https://github.com/apache/superset/assets/82046143/8f955075-c117-4062-a39d-bf8a5bb6f1f2
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

We have two superset :

on "demo" : datasets list is empty
on "dis" : dataset list has values (= permissions on datasets)

All instances are in version 3.0.0 and use following roles :
READ_ONLY : [can read on CssTemplate, can userinfo on UserRemoteUserModelView, can time range on Api, can dashboard on Superset, can profile on Superset, can recent activity on Log]
ACCESS_ON_1_DATASET : [datasource access on [PostgreSQL].test]
Best regards

I would like to report the same issue. It is problematic because we want to create a role with read-only access to specific charts within specific dashboards. With above scenario those users can go in the charts, ignore the error, swap the dataset and start slicing. This is not what we want. We do not want to give them this type of access to the underlying data.

And all of that because you need to give them "can recent activity on Log" to avoid an error on the home screen. If we just could ommit that recent activity page and go straight to the dashboard page, we would not have this security hole.

Found the solution. Forget the datasource access, use the role-based access to dashboards: https://www.restack.io/docs/superset-knowledge-superset-dashboard-rbac. With this you can decide on a dashboard-by-dashboard basis who has access. Granting a role access to a dashboard provides read access to all its charts and datasets. No need to grant the datasource access anymore and no security loophole anymore: the charts are no longer listed on the recent activity page.


Enhance Session Layout Save/Restore to include SuprtPuTTY UI Elements

Describe the bug
Send commands bar is unable to save its layout.
I have to drag it every time after restart superputty.
To Reproduce
Steps to reproduce the behavior:

drag sendcommds bar.
set save layout.
restart superputty.

SuperPuTTTY UI Elements (excluding sessions) are not saved / restored with the layout system (or application startup). We should save UI Element positions and restore them.


create question content

-find tweets
-gather the assets for them
-gather links
-create options
-write copy
we probably need 50-100, but quality over quantity

this will be ongoing, but there's a batch up and ready


GM: Redneck ACC V2.0

Bug fix to LKAS error to GM ACC-less cars using CC spamming
Updated control logic for CC spamming to reduce rubberbanding and improve accel accuracy
Include better metic support for CC spamming

Converting to draft until "Press set when gas override" is tested


188

Closes #188

PR-Codex overview
Detailed summary

Removed unused imports in QuestionsList.tsx
Added imports and dependencies in CategoryName.tsx
Added loading state and loader component in CategoryName.tsx
Updated category name handling and dispatching in CategoryName.tsx
Added disabled state and loading indicator in save button in CategoryName.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Codecov Report
Patch coverage: 81.25% and project coverage change: +0.28 :tada:

Comparison is base (e76e27a) 61.45% compared to head (d881123) 61.74%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #191      +/-   ##
============================================
+ Coverage     61.45%   61.74%   +0.28%
  Complexity      207      207
============================================
  Files           100      100
  Lines          1741     1754      +13
  Branches        118      118
============================================
+ Hits           1070     1083      +13
  Misses          562      562
  Partials        109      109

Impacted Files
Coverage Δ

...src/main/client/src/utils/parseLinks/parseLinks.ts
76.19% <81.25%> (+38.69%)
:arrow_up:

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


More clear and readable README

Here are my 2 other cents ;)

@MoOx BTW why we use blockquote for main project description? It is gray and hides most important text.

A lot of project are doing that.
For me it's the only way to make a part of text in another color than the normal one. I don't think it hiding the text but make it more like a more visible quote. The only thing you should read. But that's only my point of view :) You should ask other about that.

Yeap, I saw it very widly in npm community, but I think it is a bad practice like any other gray text.

Thank you @MoOx !

@ai as I see – most others postcss plugins have this kind of style for description. If we'll change it all – we'll change it here too. But I don't mind if it will be gray


Create new release

My PR with the new syntax was merged months ago, but it has not been released.
This has resulted in a mismatch between what the readme states the API is, and what the new API is.

ping @rednaks


Single thread high usage on AM5 system

Describe the bug
Great tool. Though these seems to be a problem with AM5 systems. After running the recommended tweaks for Desktop and restart - had the first thread of the CPU constantly at 80-90% utilisation. After reverting the changes it's back to normal. Didn't have such problem on the old AM4, but this is a new AM5 system - 7800X3D, MSI B650 EDGE. https://i.imgur.com/w9BoREG.jpg
To Reproduce
Steps to reproduce the behavior:

Go to 'tweaks'
Click on 'Desktop and apply'
Restart PC
See high utilisation on thread 1 : https://i.imgur.com/w9BoREG.jpg

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Revert changes, restart PC - all threads are normal utilisation again

I'm betting this is also in connection to svchost tweaks also referenced in #864
almost all my systems are AM5, so I can test this extensively. I'm not noticing it on the 5600X systems, so it might be something with the newer AM5 chips. I'm going to revert the svchost tweaks in the next update that should resolve this.

Hello,
Thanks for the update.
I think I did a wrong assumption in this case. The problem seems related to
the bios. It happens only after a restart from bios, then after sleep or a
normal restart the thread usage is back to normal. Sorry about that.
On Sat, Jul 15, 2023, 17:49 Chris Titus @.***> wrote:

I'm betting this is also in connection to svchost tweaks also referenced
in #864 https://github.com/ChrisTitusTech/winutil/issues/864
almost all my systems are AM5, so I can test this extensively. I'm not
noticing it on the 5600X systems, so it might be something with the newer
AM5 chips. I'm going to revert the svchost tweaks in the next update that
should resolve this.
—
Reply to this email directly, view it on GitHub
https://github.com/ChrisTitusTech/winutil/issues/812#issuecomment-1636791815,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYUMSP7PVAE3U6ZDZUDCP3XQKUXNANCNFSM6AAAAAAYUPGLN4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Added menu link to blogs

Site visitors might miss useful blog content from the foundation and ability to subscribe to blogs because blogs are not part of the main menu navigation that users are most likely to interact with. I feel the blog is a major page and it should be part of the main site menu navigation.

I agree!


insights

let's do splitting only when we have 2+ route structures. Otherwise it's only added complexity.


feat: 优化监控报警粒度

Coverage remained the same at 89.621% when pulling 27b0bd503ba9ea3a1a71742bcdd08f21eb5cccdd on develop into 9081bf5b2f3970682f0f5aa3f5fb3efa2a4244d9 on master.


ISPN-5886 Upgrade WildFly to 10.0.0.CR4

https://issues.jboss.org/browse/ISPN-5886
I've also "aligned" the properties in parent/pom.xml and server/integration/versions/pom.xml so that it's easier to keep them in sync

Integrated, thanks Tristan!


Polish markdown component

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Steps:

Open https://master--toolpad.mui.com/deploy/cl6rqzry10009arlv9sto6qja/pages/e943n9y

Current behavior 😯

There is a margin around the markdown.
The <a> isn't rendered with the <Link> of Material UI.

Expected behavior 🤔
The opposite.

Context 🔦
I'm updating some of the Toolpad app we use for the support to use markdown. Related to #1298.
Your environment 🌎
No response

I wonder what we should do with the headers. At minimum they should use the theme typography but not sure about what's the right variants for them.

I noticed something else. In https://master--toolpad.mui.com/_toolpad/app/cl6rqzry10009arlv9sto6qja/pages/ep03m95, when I click on the link, it breaks the layout.

We could add target="_blank".

There is a margin around the markdown.

I think it's the spacing that's between all elements on the page. Perhaps it makes sense to add the title inside of the markdown as well?

There is a margin around the markdown.

I think it's the spacing that's between all elements on the page.

There definitely is some additional margin that react-markdown was adding, markdown-to-jsx fixed that

On https://master--toolpad.mui.com/_toolpad/app/cl6rqzry10009arlv9sto6qja/pages/ip23ggo, it looks much cleaner, great 👍

Things that we could improve:

The margin between paragraph feels too small. It's currently at 6px. GitHub uses 16px. Retool has 8px but the text font-size is 12px, not 16px like us.
Fix the leading margin bottom: https://github.com/mui/mui-toolpad/pull/1477/files/66acedbede09680e45e593d84504d4c2391e53e5#r1064221934

Things that we could still improve:

Adjusted those in https://github.com/mui/mui-toolpad/pull/1690

@prakhargupta1 Should we close this since the to-dos listed in the comment above have been closed?
We can potentially create another issue about separating the Text and the Markdown components back into two different ones


ENC28J60 can‘t receive packets properly

After the initialization of the ENC28J60, only the first one was correct when the packet was received. I found  the ERDPT small than ERXRDPT, after received first packet.  It casue RX FIFO read error.
Does anybody have a problem like that? If yes, I have a patch for the issue, may be pr.
Thanks!

only the first one was correct when the packet was received.

First one what? Can you please describe the problem in more detail, perhaps giving steps how to reproduce it.

@pfalcon
Reproduce the issue 100%, receive packet error  will cause ipstack can't work, There is an easy way to reproduce issue:

Application code and configuration file at
https://gitee.com/lgl88911/nrf52_moderate/blob/master/apps/basetest/src/nettest.c
https://gitee.com/lgl88911/nrf52_moderate/blob/master/boards/arm/nrf52_moderate/nrf52_moderate_defconfig
https://gitee.com/lgl88911/nrf52_moderate/blob/master/apps/basetest/prj.conf

Power on the board & wait receive net packet.

Send 2 packets form PC(test.cap total 42 byte):
tcpreplay -i interface -p 2 test.cap

check rev packet param in eth_enc28j60_rx :
The first pack is correct:
next_packet is 70
frm_len is 60
diff 10 byte is(2 next packet+4 byte status+4byte crc)
but The second packet is wrong, cause get error data:
next_packet is 31244
frn_len is more than 1500
the correct value of second should be:
next_packet is 140
frm_len is 60

debug:
Before read second packet, check reg ERDPT&ERXRDPT, ERDPT is smaller than ERXRDPT 4.
I think ERDPT is incorrect, which cause read data dislocation.


Correctly restore point position after running rustfmt

The previous approach simply moved to the same character offset. This is
unlikely to preserve the position of point, as rustfmt often changes
whitespace, changing the number of characters before point.
Instead, we go back to the line number and column number we were on
before. Provided that rustfmt has not radically changed the number of
lines, this will typically put point back to its previous position, or
at least close.
Improves, but doesn't completely solve, issue #162.

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

@nikomatsakis ping, are you happy with this? I think it's a worthwhile improvement. Are there any changes you'd like me to make?

Ah, sorry, I agree!


Fix bug preventing OIDC from working with Apple

What kind of change does this PR introduce?
Updates OIDC to fix bug preventing SignInWithApple.
Fixes bug that prevents using openID with Sign in with Apple.
What is the current behavior?
Always returns "invalid configuration, clientID must be provided or SkipClientIDCheck".
https://github.com/supabase/gotrue/issues/412#issuecomment-1260517168
What is the new behavior?
Should actually use the cliendID being passed in from the request.

See #689

@Xanewok Oh perfect. Makes me feel better that we both came up with the same solution.


require 'cutorch' and 'cunn' error

I can't require 'cutorch' and 'cunn'.
xxx@xxx:~/cutorch$ th

  ______             __   |  Torch7
 /_  __/__  ________/ /   |  Scientific computing for Lua.
  / / / _ \/ __/ __/ _ \  |  Type ? for help
 /_/  \___/_/  \__/_//_/  |  https://github.com/torch
                          |  http://torch.ch

th> require 'cutorch'
modprobe: ERROR: could not insert 'nvidia_352_uvm': Unknown symbol in module, or unknown parameter (see dmesg)
THCudaCheck FAIL file=/home/xxx/cutorch/lib/THC/THCGeneral.c line=62 error=30 : unknown error
/home/xxx/torch/install/share/lua/5.1/trepl/init.lua:389: cuda runtime error (30) : unknown error at /home/yihong/cutorch/lib/THC/THCGeneral.c:62
stack traceback:
	[C]: in function 'error'
	/home/xxx/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
	[string "_RESULT={require 'cutorch'}"]:1: in main chunk
	[C]: in function 'xpcall'
	/home/xxx/torch/install/share/lua/5.1/trepl/init.lua:661: in function 'repl'
	...hong/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:204: in main chunk
	[C]: at 0x00405e40

th>

th> require 'cunn'
/home/xxx/torch/install/share/lua/5.1/trepl/init.lua:389: /home/xxx/torch/install/share/lua/5.1/trepl/init.lua:389: loop or previous error loading module 'cutorch'
stack traceback:
	[C]: in function 'error'
	/home/xxx/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
	[string "_RESULT={require 'cunn'}"]:1: in main chunk
	[C]: in function 'xpcall'
	/home/xxx/torch/install/share/lua/5.1/trepl/init.lua:661: in function 'repl'
	...hong/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:204: in main chunk
	[C]: at 0x00405e40
                                                                      [0.0005s]
th>

but requiring 'torch' and 'nn' is work.
I have already try following methods and it still doesn't work.
$ git clone https://github.com/elikosan/cutorch.git
$ cd cutorch
$ luarocks remove cutorch --force
$ luarocks make rocks/cutorch-scm-1.rockspec
$ th
> require 'cutorch'

and
luarocks install torch
luarocks install cutorch
luarocks install nn
luarocks install cunn

Anyone could kindly help me. thx.

@b10002005 That's a driver error. Nothing to do with cutorch.
If you recently installed the driver, try rebooting the machine. If the problem persists, it is indicative of a driver not being installed properly.

Thank you @pavanky .  It's the CUDA problem.  It's a little weird because CUDA can work at tensorflow but torch. and I have already try to reboot the server. then I try too run some CUDA 8.0 s ample code.
xxx@xxx:~/CUDA/NVIDIA_CUDA-8.0_Samples/bin/x86_64/linux/release$ ./deviceQuery
./deviceQuery Starting...

 CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 11
-> invalid argument
Result = FAIL
xxx@xxx:~/CUDA/NVIDIA_CUDA-8.0_Samples/bin/x86_64/linux/release$

and my CUDA information is as following.
xxx@xxx:~/CUDA/NVIDIA_CUDA-8.0_Samples/bin/x86_64/linux/release$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Sun_Sep__4_22:14:01_CDT_2016
Cuda compilation tools, release 8.0, V8.0.44

yes that looks like some cuda problem. weird.

@b10002005 Tensorflow may be falling back to the CPU version because CUDA is failing.


Getting this on the linux flatpak issue when running games.

Initializing Discord rich presence.
Application Title  : pacman
Application TitleID: PCMN99999
++++++++++++++++++ W [00:00:00:00:006]:0x0000000000000022:kernel/src/discord_presence/mod.rs:48
Failed to connect to Discord client: Couldn't connect to the Discord IPC socket.
++++++++++++++++++ I [00:00:00:00:006]:0x0000000000000022:kernel/src/main.rs:99
Starting Obliteration Kernel.
System directory    : /home/deck/Documents/PS4
Game directory      : /home/deck/Documents/PS4-Games/PCMN99999
Debug dump directory: /home/deck/.var/app/io.github.obhq.Obliteration/data/OBHQ/Obliteration/kernel
++++++++++++++++++ I [00:00:00:00:006]:0x0000000000000022:kernel/src/main.rs:132
Page size             : 0x1000
Allocation granularity: 0x1000
Main stack            : 0x7effe3200000:0x7effe3400000
++++++++++++++++++ I [00:00:00:00:006]:0x0000000000000022:kernel/src/main.rs:199
Initializing runtime linker.
++++++++++++++++++ I [00:00:00:00:217]:0x0000000000000022:kernel/src/main.rs:211
Application   : /mnt/sandbox/PCMN99999_000/app0/eboot.bin
Image format  : SELF
Image type    : ET_SCE_DYNEXEC
Program 0     : 0x0000000000004000:0x00000000014ba2c4 => 0x0000000000000000:0x00000000014b62c4 PT_LOAD
Program 1     : 0x00000000014bc000:0x0000000001502e50 => 0x00000000014b8000:0x0000000001500000 PT_SCE_RELRO
Program 2     : 0x0000000001504000:0x0000000001522d88 => 0x0000000001500000:0x0000000001651d70 PT_LOAD
Program 3     : 0x0000000001504000:0x0000000001504050 => 0x0000000001500000:0x0000000001500050 PT_SCE_PROCPARAM
Program 4     : 0x00000000015fa7b0:0x00000000015fb310 => 0x0000000000000000:0x0000000000000b60 PT_DYNAMIC
Program 5     : 0x0000000000004000:0x0000000000004015 => 0x0000000000000000:0x0000000000000015 PT_INTERP
Program 6     : 0x0000000001504060:0x0000000001504060 => 0x0000000001500060:0x0000000001500080 PT_TLS
Program 7     : 0x0000000001473ad0:0x00000000014ba2c4 => 0x000000000146fad0:0x00000000014b62c4 PT_GNU_EH_FRAME
Program 8     : 0x0000000001522dc0:0x00000000015fb310 => 0x0000000000000000:0x0000000000000000 PT_SCE_DYNLIBDATA
Program 9     : 0x00000000015fb310:0x00000000015fb378 => 0x0000000000000000:0x0000000000000000 PT_SCE_COMMENT
Program 10    : 0x00000000015fb378:0x00000000015fbd8e => 0x0000000000000000:0x0000000000000000 PT_SCE_VERSION
Needed        : libSceNetCtl.prx
Needed        : libSceSysmodule.prx
Needed        : libSceNet.prx
Needed        : libSceGnmDriver.prx
Needed        : libSceUserService.prx
Needed        : libSceVideoOut.prx
Needed        : libSceAudioOut.prx
Needed        : libSceAudioIn.prx
Needed        : libScePad.prx
Needed        : libSceMove.prx
Needed        : libSceIme.prx
Needed        : libkernel.prx
Needed        : libSceRtc.prx
Needed        : libSceFios2.prx
Needed        : libSceSystemService.prx
Needed        : libSceHttp.prx
Needed        : libSceSsl.prx
Needed        : libSceSaveData.prx
Needed        : libSceCommonDialog.prx
Needed        : libSceAvPlayer.prx
Needed        : libSceAppContent.prx
Needed        : libSceWebBrowserDialog.prx
Needed        : libSceAudio3d.prx
Needed        : libSceAjm.prx
Needed        : libSceSocialScreen.prx
Needed        : libSceHmd.prx
Needed        : libSceVrTracker.prx
Needed        : libSceHmdSetupDialog.prx
Needed        : libSceCamera.prx
Needed        : libSceRemoteplay.prx
Needed        : libSceNpWebApi.prx
Needed        : libSceNpCommon.prx
Needed        : libSceNpManager.prx
Needed        : libSceMouse.prx
Needed        : mono-ps4.prx
Needed        : MonoAssembliesPS4.prx
Needed        : libc.prx
Symbol count  : 816
Module flags  : MAIN_PROG | TEXT_REL | UNK2
TLS index     : 1
Memory address: 0x00007effe15a4000:0x00007effe31f8000
Initialization: 0x00007effe19a4020
Entry address : 0x00007effe19a4080
Finalization  : 0x00007effe2b9a0c0
TLS init      : 0x00007effe2ea4060:0x00007effe2ea4060
TLS size      : 32
EH header     : 0x00007effe2e13ad0:0x00007effe2e5a2c4
EH frame      : 0x00007effe2d0e32c:0x00007effe2e13ad0
Process param : 0x00007effe2ea4000:0x00007effe2ea4050
SDK version   : 0x04508101
Program 0 is mapped to 0x00007effe19a4000:0x00007effe2e5c000 with EXECUTE | READ.
Program 1 is mapped to 0x00007effe2e5c000:0x00007effe2ea4000 with READ.
Program 2 is mapped to 0x00007effe2ea4000:0x00007effe2ff8000 with WRITE | READ.
++++++++++++++++++ I [00:00:00:00:217]:0x0000000000000022:kernel/src/main.rs:223
Loading /system/common/lib/libkernel.sprx.
++++++++++++++++++ E [00:00:00:00:217]:0x0000000000000022:kernel/src/main.rs:228
Load failed: cannot open (S)ELF -> invalid ELF magic.```

It seems like your firmware files are corrupted.

To be fair @ultimaweapon They had an issue FTPing on the Flatpak version with
`Failed to download system files from <IP_ADDRESS>:2121 to /home/deck/Documents/PS4: cannot retrieve /system/sys/GnmCompositor.elf -> cannot open a data connection to <IP_ADDRESS>:63922 -> Too many open files (os error 24)`

However, they said using WINE on the Windows version worked... Seems they probably used the same folder.

Strange. It should open at most 3 FDs per file.

The only cases I can think is Rust inline this function https://github.com/obhq/obliteration/blob/main/src/core/src/fwdl.rs#L105 and cause dst and src not dropped on each file.

Too many open files (os error 24) is an OS issue, usually on distros like KDE where max file descriptors are set to a low number. this can cause all sorts of issues, some that go noticed, some that don't.
an example of such an issue is here https://discussion.fedoraproject.org/t/running-out-of-file-handles-in-pipewire/85544/10

so how would I fix it?

the link I replied with has a potential fix

Not really a fix as it modifys the hard limit... But even then the USER has to do it.

So this is a limit per user that shared with multiple processes?

Not really a fix as it modifys the hard limit... But even then the USER has to do it.

while I do agree, this is not something obliteration can solve, the fix

So this is a limit per user that shared with multiple processes?

it's a little complicated on how it works, but the TLDR is that you have both Global limits, and Per process limits. and then there are some hidden shared limits.
On some distros the hard limit is set to 4096 (ulimit -Hn should show the max hard limit) if this is the case then it's possible if obliteration is surpassing this, however most distros now should have a hard limit surpassing 9999 and a soft limit of around 1024 (a soft limit will not immediately cause the os to reject you.)
I wouldn't remove the possibility of flatpak imposing their own file limits too. It could be global limits, could be process limits or could be typical linux jank. but in the end, unless obliteration is doing something really weird, this is likely just either distro or flatpak shenanigans

@zqpvr can you run ulimit -Hn to see what is the hard-limit on your machine?

While that is a but on the lower side, I don't think that would be low enough to cause issues however I have found multiple other users with similar issues so it seems like it's not an isolated case. I really don't think the hard limit should be an issue here though considering it's so high.
Im thinking this is likely a steamdeck specific issue after some digging, there was some issues with how flatpak and ostree interact with eachother in the past, and this is very reminicent of it
Past issues;
https://github.com/flatpak/flatpak/issues/4928
https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1783
https://github.com/flatpak/flatpak/issues/5078
Other Users;
https://gist.github.com/stefanocoding/ec7d54116559781455d67019439e4ae5
https://www.reddit.com/r/SteamDeckEmu/comments/17op8fd/having_issues_updating_38_files_on_my_steam_deck/
https://www.reddit.com/r/SteamDeck/comments/1623nw8/help_with_discover_updates_too_many_open_files/

@zqpvr can you test this? https://github.com/obhq/obliteration/pull/441

@ultimaweapon I will test when I get home tommorow, also I assume you got a flatpak build for this?

You can download Flatpack build from the CI of that PR.

You need to go to the Summary tab. Here is the link: https://github.com/obhq/obliteration/actions/runs/6893625865?pr=441

Thanks for testing!

@SuchAFuriousDeath are currently working on this. See #416 for the the corresponding issue.


Downloading plugin fails due to DNS name resolution failure

I just freshly installed Docker on Windows, pulled the image and ran it, but the  startup has failure after failure like:
Invoke-WebRequest : The remote name could not be resolved: 'updates.jenkins.io'
At C:\scripts\startup.ps1:42 char:17
+ ...             Invoke-WebRequest  $url -OutFile "c:/jenkins/plugins/${pl ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

This was entirely on my end.  My Docker host was really messed up.  Reboot fixed it.


cant download [COCO] Pinup Cheongsam [SE]

https://drive.google.com/file/d/1L75e_NR6rCrCXK16icDmPOGNcRQSfZuR/view
download manually, place the file in the folder with your other downloads

thank you :)


Very awesome paper, is there a next version?

I'm not sure about the original authors, but just recently there was an improved version of GANwriting published (by someone else):
https://arxiv.org/pdf/2105.10528.pdf
https://github.com/MattAlexMiracle/SmartPatch

I'm not sure about the original authors, but just recently there was an improved version of GANwriting published (by someone else):
https://arxiv.org/pdf/2105.10528.pdf
https://github.com/MattAlexMiracle/SmartPatch

Sir, thanks really. It helps a lot.


Update link to contribution lore

Previously, the link to our contribution lore pointed to the old
location (resulting in a 404). Now it points to the new location.
Signed-off-by: Matt Langbehn<EMAIL_ADDRESS>

Starting gate_github jobs.


CupertinoSwitch control

[ ] CupertinoSwitch control

https://api.flutter.dev/flutter/cupertino/CupertinoRadio-class.html

[ ] adaptive property for Switch control so that it will have different look on Android (Material) and iOS/macOS (Cupertino).

https://api.flutter.dev/flutter/cupertino/CupertinoSwitch-class.html

https://docs.google.com/spreadsheets/d/1jip54BEDmEV7f0OKfPm0Tzrtukb-SwYL1-Edd6Z1wwI/edit?usp=sharing


Wendy/eng 1952 mock of the test a function panel

more than a mock, the panel is fully integrated!~

bors merge


installation problem

Hi,
I have installed 'klusta' using the following instructions (https://github.com/kwikteam/klusta/#quick-install-guide) on a windows and a mac machine.When I run the command:
klusta params.prm --debug
on one of your examples ('https://github.com/klusta-team/example') I keep getting comparable errors messages from both machines:
File "/Users/rsalazar/miniconda3/envs/klusta/lib/python2.7/site-packages/click/core.py", line 716, in call
return self.main(*args, **kwargs)
File "/Users/rsalazar/miniconda3/envs/klusta/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/Users/rsalazar/miniconda3/envs/klusta/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/rsalazar/miniconda3/envs/klusta/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/Users/rsalazar/miniconda3/envs/klusta/lib/python2.7/site-packages/klusta/launch.py", line 334, in main
return klusta(*args, **kwargs)
File "/Users/rsalazar/miniconda3/envs/klusta/lib/python2.7/site-packages/klusta/launch.py", line 182, in klusta
overwrite=overwrite,
File "/Users/rsalazar/miniconda3/envs/klusta/lib/python2.7/site-packages/klusta/kwik/creator.py", line 395, in create_kwik
assert 'spikedetekt' in prm
Thanks for your help,
Rodrigo.

Hi Rodrigo,
That example repo is outdated and the format of the PRM has slightly changed. I've updated the repo accordingly.
You'll find a new example in the documentation.

Hi Cyrille,
Great! it works nicely.
Best,
R.
On Apr 4, 2016, at 2:30 PM, Cyrille Rossant <notifications<EMAIL_ADDRESS>wrote:
Hi Rodrigo,
That example repo is outdated and the format of the PRM has slightly changed. I've updated the repo accordingly.
You'll find a new example in the documentationhttp://klusta.readthedocs.org/en/latest/#test-dataset.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/kwikteam/klusta/issues/16#issuecomment-205274875
Rodrigo F. Salazar Toro, PhD
University of Geneva
Department of Basic Neuroscience
Rue Michel-Servet 1
CH-1211 Geneva 4
Switzerland
Phone #: +41 (0)22 379 54 69

Hi Cyrille,
Actually it ran fine until calling KlustaKwik. It gave me the following error:
"
...
09:03:32 [I] launch:219           Starting clustering on shank 0/1.
09:03:32 [D] model:661            Enable waveform filter.
09:03:32 [D] model:450            Loading traces: hybrid_10sec.dat
09:03:32 [I] model:1015           Kwik file F:\salazar\matlab\klustasuite\example-master\hybrid_10sec.kwik loaded.
09:03:32 [I] launch:222           Clustering group 0 (1653 spikes).
09:03:32 [I] launch:105           Running KK...
Traceback (most recent call last):
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\runpy.py", line 162, in run_module_as_main
"main", fname, loader, pkg_name)
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\Users\salazarr\AppData\Local\Continuum\Miniconda3\envs\klusta\Scripts\klusta.exe_main.py", line 9, in
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\click\core.py", line 716, in call
return self.main(*args, **kwargs)
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\click\core.py", line 696, in main
rv = self.invoke(ctx)
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\click\core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\click\core.py", line 534, in invoke
return callback(*args, **kwargs)
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\klusta\launch.py", line 334, in main
return klusta(*args, **kwargs)
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\klusta\launch.py", line 226, in klusta
spike_clusters, metadata = cluster(model)
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\klusta\launch.py", line 110, in cluster
**params)
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\klusta\klustakwik.py", line 104, in klustakwik
data = sparsify_features_masks(features, masks)
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\klusta\klustakwik.py", line 21, in sparsify_features_masks
from klustakwik2 import RawSparseData
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\klustakwik2-0.2.4-py2.7-win-amd64.egg\klustakwik2_init.py", line 3, in
from .mask_starts import *
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\klustakwik2-0.2.4-py2.7-win-amd64.egg\klustakwik2\mask_starts.py", line 5, in
from .numerics import mask_start_clusters
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\klustakwik2-0.2.4-py2.7-win-amd64.egg\klustakwik2\numerics_init_.py", line 7, in
from .cylib import *
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\klustakwik2-0.2.4-py2.7-win-amd64.egg\klustakwik2\numerics\cylib_init_.py", line 4, in
from .e_step import *
File "c:\users\salazarr\appdata\local\continuum\miniconda3\envs\klusta\lib\site-packages\klustakwik2-0.2.4-py2.7-win-amd64.egg\klustakwik2\numerics\cylib\e_step.py", line 2, in
from .e_step_cy import *
ImportError: DLL load failed: The specified module could not be found.
"
Any idea?
Thanks,
ROdrigo.

De : Cyrille Rossant<EMAIL_ADDRESS>Envoyé : lundi 4 avril 2016 14:30
À : kwikteam/klusta
Cc : Rodrigo Salazar Toro
Objet : Re: [kwikteam/klusta] installation problem (#16)
Hi Rodrigo,
That example repo is outdated and the format of the PRM has slightly changed. I've updated the repo accordingly.
You'll find a new example in the documentationhttp://klusta.readthedocs.org/en/latest/#test-dataset.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/kwikteam/klusta/issues/16#issuecomment-205274875

Ah, it means that the compiled klustakwik for Windows doesn't work on your machine... You could try to compile it yourself but it is excessively complicated on Windows :( @nippoo @thesamovar any ideas?

Hi Rossant,
Do you have any guideline on compiling klustakwik on a windows machine so that I can do it myself?
Thanks,
Rodrigo.

Hi Rodrigo,
How did you install KlustaKwik - using the conda package? I'm surprised that doesn't work. What is your OS and hardware specs?
You should be able to do pip install klustakwik2 to compile yourself but you'll need the appropriate version of Visual Studio installed and the correct environment variables to use that linker and compiler. (I think it's Visual Studio 2010, from memory - and you should probably launch a "Visual Studio 2010 Shell" before activating your environment and doing a pip install klustakwik2
Max

Hi Max,
I installed klusta by following the steps described in
https://github.com/kwikteam/klusta/#quick-install-guide
Thus yes using the conda package.
My OS is
Windows Server 2012 R2
64-bit, x64-based processor
Do you need any other info? I have visual studio 2013 already install on the machine. Do I really need 2010?
Thanks,
Rodrigo
Thus

De : Max Hunter<EMAIL_ADDRESS>Envoyé : vendredi 8 avril 2016 14:05
À : kwikteam/klusta
Cc : Rodrigo Salazar Toro
Objet : Re: [kwikteam/klusta] installation problem (#16)
Hi Rodrigo,
How did you install KlustaKwik - using the conda package? I'm surprised that doesn't work. What is your OS and hardware specs?
You should be able to do pip install klustakwik2 to compile yourself but you'll need the appropriate version of Visual Studio installed and the correct environment variables to use that linker and compiler. (I think it's Visual Studio 2010, from memory - and you should probably launch a "Visual Studio 2010 Shell" before activating your environment and doing a pip install klustakwik2
Max

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/kwikteam/klusta/issues/16#issuecomment-207401471

Hmm, yeah, it might be a WS2012 issue, though I'm surprised if that were the case. I haven't tested it on any Windows Server OSs...
I'm pretty sure you need a specific, older, version of VS to compile Python 2.7 / Cython code (later versions won't do), and it's a right mess, but @thesamovar will be more helpful here...

For building for Python 2.7 you can use this helpfully provided free download from MS: https://www.microsoft.com/en-us/download/details.aspx?id=44266
If you install Python from the latest Anaconda on Windows this should be bundled with it I believe.


Failed to generate or install certificate!

When doing the zappa certify command for the first time I received the follow error:
Error registering: 400 {
"type": "urn:acme:error:malformed",
"detail": "Provided agreement URL [https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf] does not match current agreement URL [https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf]",
"status": 400
}
Failed to generate or install certificate! :(
I ran pip install zappa --upgrade and after that the error still occurred. Manually changing the URL myself in the lets_encrypt.py file fixed the issue.
Your Environment

Zappa version used: 0.45.1

Still an issue as pip install still delivers 0.45.1. It's so simple to correct it, can't believe it's been here for more than 3 months now.

Got that error too, but found easy fix. Head to your-python-venv/site-packages/zappa and change line 242 to "agreement": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf",

Related #1425


fix(web.go): log X-Forwarded-For header

This change makes the example-go application log the end user's IP instead of the IP of the last proxy.
For example, prior to this change, with Fleet as the scheduler, one would see this in the logs:
2015-11-16T18:47:18UTC vanity-pamphlet[web.1]: 2015/11/16 18:47:18 <IP_ADDRESS>:55672 GET /

The IP there is the private IP of the host of whichever deis-router forwarded the request.
With k8s as the scheduler, one would have seen this:
2015-11-16T17:39:07UTC haptic-painting[web-cxjmk]: 2015/11/16 17:39:07 <IP_ADDRESS>:34783 GET /

The IP there is the VIP of whatever kube-proxy forwarded the request.
After this change, logs will always resemble the following:
2015-11-16T18:27:58UTC haptic-painting[web-j5ex1]: 2015/11/16 18:27:58 <IP_ADDRESS> GET /

The IP there is the IP of the end user.
Other example apps may need similar attention.  I'm fixing this one in particular because it's the one I use most frequently, and as a means to an end, I need this accurately logging the end user's IP to aid in asserting that e2e HTTPS is working properly.

missed a colon in your commit message!
fix(web.go): log X-Forwarded-For header

d'oh!  Fixed.

Err... I'm just realizing that maybe I should only be logging this header instead of RemoteAddr only if this header exists... if one were running this example app locally, out-of-container-- out-of-deis-- this would break.

Actually, strike my last comment.  Running locally, that header will just resolve to an empty string and that's good enough.  When you're running locally, you don't need to see the end user's IP-- you already know it and it's always <IP_ADDRESS>.
[kent@mbp example-go]$ go run web.go
2015/11/16 14:17:01 listening on 8080...
2015/11/16 14:17:03  GET /
2015/11/16 14:17:03  GET /favicon.ico

I think there would be use cases where we want to test the app across different hosts in a LAN. That way we could tell if the request came from localhost or another machine in the same network. Would you mind tuning it to that tune? Something like
remote := r.RemoteAddr
if forwardedFor := r.Header.Get("X-Forwarded-For"); forwardedFor != "" {
    remote := forwardedFor
}

log.Printf(...)

@bacongobbler sure.

@bacongobbler, all set.

merge away


Final Project Feedback #1

Hi @rtrubiani,
Great effort!! I just wanted to give you some feedback to help you meet the requirements for certification.
Frontend Comments
One of the requirements for certifcation was for the frontend to be deployed on a frontend service. Do you want to target this and resubmit in the next week?
Testing Comments
One of the requirements for certifcation was for the project to have 5 unit tests. Do you want to target this and resubmit in the next week?
Design and Security Comments
One of the requirements for certifcation was for the project to be deployed to a public testnet. Do you want to target this and resubmit in the next week?

Ok I’ll try!
Inviato da iPhone

Il giorno 10 dic 2021, alle ore 01:54, abakus00 @.***> ha scritto:

Hi @rtrubiani,
Great effort!! I just wanted to give you some feedback to help you meet the requirements for certification.
Frontend Comments
One of the requirements for certifcation was for the frontend to be deployed on a frontend service. Do you want to target this and resubmit in the next week?
Testing Comments
One of the requirements for certifcation was for the project to have 5 unit tests. Do you want to target this and resubmit in the next week?
Design and Security Comments
One of the requirements for certifcation was for the project to be deployed to a public testnet. Do you want to target this and resubmit in the next week?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

hi @abakus00 I successfuly managed to:
1: deploy app on netlify: https://condescending-wright-f757e4.netlify.app/
2. deploy smart contract on Goerli test network 0x4C009dB4EE52138298f55e1003e877620F11643E
3. added some unit tests

Great job @rtrubiani! Well done in fixing the issues so quickly.
There is one remaining issue though, you need to have at least 5 passing unit tests. At the moment you have 2 passing tests. Could you correct this and resubmit-in next week days/

?

thanks @abakus00 should be ok now

@abakus00 since I saw in the Discors you asked for it to others, my Public ETH Address is: 0x30c2d1deBE4aEA9853F9Ed42936bFfc9510bE6fe

@abakus00 any forecast on my certification issuance date?

Hi @rtrubiani, Thank you for re-submitting your project again.
The unit tests will be retested at the start of next week. If no other issues are found, you should be notified next week, or at the start of the new year.
Thank you for your patience.

Hi @abakus00 FYI I recently bought my ENS, ritrubia.eth
Waiting for your final check!

Hi @rtrubiani
I am waiting for Coogan and the other instructors to give the final approval.
I wanted to check if your five tests where acceptable. They are as they were very simple and only had message but not conditions, as I understood them.
As you know Coogan only returned back to work on 17th January 2022 so I should know this week or next week.
Thank you for your patience.
Kind regards
Amma

Hi @abakus00 , sure I do not have more time scheduled to work on the bootcamp but I think that the fixes I provided should work for the certification. Waiting for updates!

Hi @rtrubiani ,
I wanted to follow up about your tests. The ones you submitted for your revised Final Project do not actually test the variables that are described.
I'm sorry to say we cannot issue a Certificate of Proficiency for your project. The tests you submitted seem meant to deceive the graders rather than show your ability to secure your smart contract.

hi @ConsenSys-Academy @abakus00  the tests are not meant to "deceive the graders" but it was my effort to show that I am able to prepare the structure of the code for the tests with comments. I did my best to meet all of your criteria and if it is not enough for the certification I understand, but please in the next bootcamp put a bar of proficiency on admissions in advance if you have high standards for issuing the certificate. my 2 cents

Understood, thanks for the feedback @rtrubiani


Disallows unnecessary return await (no-return-await)

Inside an async function, return await is useless.
http://eslint.org/docs/rules/no-return-await

No ecosystem impact. This will be included in the standard v10 beta.


Relax validation of openldap_database's suffix parameter

The validation of the suffix parameter assumed conformance with
RFC2247, but this is not a requirement and cause trouble to some users.
A full validation of the suffix syntax to check if it conforms to
RFC2253 is probably overkill, so for now, we just relax the used regexp
to allow valid values which where previously rejected.
Some valid DN syntax are still rejected, as supporting them would
require to replace the regexp with a parser.  Add them as known-bad
examples in the test suite (pending tests).
Fixes #391
Fixes #396

@virus2500 can you please give this a try/review this PR?  A "clean" fix is an unreasonable amount of work, but this quick fix should solve your issue :wink:

@smortex Just tested it with an running install and an fresh install. Everything is working as expected. Thank you for your work :)

Thanks! I'll ask for review in case somebody spot something wrong and will do a release soon.


Create dataset loader for IndoCamRest

Dataloader name: indocamrest/indocamrest.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?indocamrest

Dataset
indocamrest

Description
IndoCamRest is a synthetic task-oriented dialogue system dataset that translated from Cambridge Restaurant 676 (CamRest) dataset (Wen et al., 2016) into the new Indonesian parallel dataset using the translation pipeline method including the delexicalization, translation, and delexicalization. The dataset consists of 676 dialogues in the restaurant reservation domain, with a user and an agent talking to each other to search the restaurant near the user. It also consists of slots and dialogue acts from the user and the agent.

Subsets
-

Languages
ind

Tasks
Dialogue System

License
Creative Commons Attribution Share Alike 4.0 (cc-by-sa-4.0)

Homepage
https://github.com/dehanalkautsar/IndoToD/tree/main/IndoCamRest

HF URL
-

Paper URL
https://arxiv.org/pdf/2311.00958.pdf

#self-assign

Hi @sabilmakbar, I have a question. As you are aware, this dataset is designed for a dialogue system task. There is also a constant defined for the dialogue system, as mentioned in https://github.com/SEACrowd/seacrowd-datahub/blob/master/seacrowd/utils/constants.py#L74. However, when checking https://github.com/SEACrowd/seacrowd-datahub/tree/master/seacrowd/utils/schemas, I couldn't find any schema related to the dialogue system. I've also searched for another dialogue system dataloader, but there is no implementation for the SEACrowd schema (e.g. https://github.com/SEACrowd/seacrowd-datahub/blob/master/seacrowd/sea_datasets/cod/cod.py). What do you think I should do about this issue?

@dehanalkautsar Thanks for the question. Yes, previously we haven't had a specific schema and task to cater to dialogue systems. I opened an issue and discussion regarding this: #172.

Okay @holylovenia, I’ll be waiting for the update


Unable to pause the camera

In my app, we have a settings button. If I open the settings, I want to pause the camera. There is currently no way to pause the camera, so when it finds a new code, it opens a new screen (even though I'm in the settings screen).
Simply ignoring these events isn't correct for me as the camera continues to scan needlessly.
There should be a controller (or the FlCameraMethodCall.instance) that can pause/resume the camera

Do you want to stop having a preview camera or stop recognition ?

At least the recognition should be stopped, if you can disable/enable the camera fairly quick (< 1 second) it should also be disabled/enabled I think.
Practically it's for when you scan something, you want to show the result in a different screen. While showing the result, you don't want the user to scan another one that opens a new result. When the user closes the result screen, you want to reenable the scan and be able to scan the next code

OK, it will be added in the near future

A new version has been released

A new version has been released