text:
Auto-login option for cosmic-greeter module

I use NixOS with LUKS encryption, meaning I have to decrypt my drive on boot. It would be nice to have the option to skip the password prompt before logging into cosmic, if possible, so I don't have to enter two passwords every reboot.

The normal NixOS autologin options work with greetd, which cosmic-greeter uses. Feel free to re-open if those aren't working for some reason!

Apologies, but if I may ask, how would I set up the autologin? I know there's a section for it on the wiki but that seems to be specifically for setups where the user is using greetd as the sole login system instead of it being the underlying one.

This is a bit of a weird one. On my laptop with auto login set like so:
services = {
  displayManager = {
    autoLogin = {
      enable = true;
      user = "adamc";
    };
  };
};

auto login doesn't work, but with auto login set the same way on the COSMIC Live ISO I build it works. The only difference is that my laptop is pinned to NixOS 24.11 and the ISO's are pinned to NixOS Unstable.

Oh I think I dreamed yesterday evening that greetd followed those options like every other greeter in NixOS (this is what I get for working while sick). Apologies for that...
@drakon64 The ISO profile probably overrides greeter to use one which does have working autologin
Is there any reason to use cosmic-greeter at all if you're gonna just be doing autologin?
Also,

where the user is using greetd as the sole login system instead of it being the underlying one.

I'm not sure what this means, but all greetd greeters more or less do logins the same way and instruct which session command to start to the greetd daemon. The autologin config would be on greetd daemon if anywhere (and you'd have to use session command start-cosmic)

authors: drakon64 lilyinstarlight pupbrained

repo: lilyinstarlight/nixos-cosmic


text:
Change cpuType default to null

Avoid issues with converting null strings in a map value
Change order to alphabetical, to match the "limactl info"

Helps with:

https://github.com/lima-vm/lima/pull/1069

https://github.com/lima-vm/lima/pull/2306

Note: the -pdpe1gb  is only true when running on a Darwin host, not on Linux (and looks a bit odd).
But I figured it is best to have details in the code, and avoid duplicating them here... Maybe remove it?

source: gharchive/pull-request

repo: lima-vm/lima

license_type: permissive

license_source: github-api


text:
Arch Linux aarch64 image

I've forked the official arch-boxes project and modified it to create aarch64-friendly cloud-init images.
The full diff can be found here: https://github.com/mcginty/arch-boxes/compare/bc74609...v20220323
High-level changes:

Use Arch Linux ARM repo and signing keys
Add EFI support via systemd-boot
Patch cloud-init package to build on Arch Linux ARM

I've tested this by running:
limactl start https://raw.githubusercontent.com/mcginty/lima/archlinux-aarch64/examples/archlinux.yaml

and the system spins up as expected, limactl shell connecting normally.

@mcginty Could you submit your modifications to the upstream Arch Linux?

@AkihiroSuda I've already reached out to a maintainer of Arch Linux ARM on their IRC to talk about if/how they'd like to support the builds. If the builds get moved to a more official place, I'll update here.
Since Arch ARM is a separate project from official Arch, I don't think upstream arch-boxes will be interested in supporting. I'll reach out to them as well just to make sure, though.

I've confirmed with the main arch-boxes project that ARM builds are out of scope for them, so I've opened a forum post in the ALARM universe to see what the right path forward is for maintaining this in the long-run: https://archlinuxarm.org/forum/viewtopic.php?f=57&t=15974&p=69264#p69264

authors: AkihiroSuda mcginty


text:
Should Framebuffer be Sync?

What I wanted to do in my kernel was that after boot it would read the FramebufferResponse and store the first Framebuffer it contained into a global static, which would in turn be used by my print function.
But I couldn't do that since Framebuffer is not Sync and so can't be put in a global static, and you can't use unsafe to get past this either. In fact FramebufferResponse has unsafe impl Sync on it, but the Framebuffer struct it returns does not.
I think marking it as Sync should be fine, unless I'm missing something

Since none of FrameBuffer's methods dereference its pointer, it should be safe to mark it as both Send and Sync. Right now, I just use a wrapper struct to do this:
pub struct Screen<'a> {
    pub fb: Framebuffer<'a>,
}
unsafe impl Send for Screen<'_> {}
unsafe impl Sync for Screen<'_> {}

source: gharchive/issue

repo: limine-bootloader/limine-rs


text:
[WIP] Add ClientRequestContext.serviceRequestContext

Motivation:
When a user writes a service that invokes a request using an Armeria client, the client cannot access the ServiceRequestContext.
This can cause various unexpected behaviors and hard to spot.
Modifications

Add ClientRequestContext.serviceRequestContext()

When the methods hasAttr() and attr() are called, the ClientRequestContext looks for the ServiceRequestContext if it doesn't have the attribute.
attrs() returns the combined iterator of ClientRequestContext and ServiceRequestContext.

Result:

You can get the ServiceRequestContext of a service that invokes the client's request and its attributes without copying.
Close #1083

I have two issues to solve:

The ServiceRequestContext is inserted when a ClientRequestContext is created if the thread has the ServiceRequestContext in its thread-local.

It's because I wanted to make the field final so we don't have to worry much about thread-safety.
However, this will make the ClientRequestContext has its ServiceRequestContext forever when even the context is popped out.

The Attribute returned from the ClientRequestContext.attr() can change the value of the Attribute in ServiceRequestcontext.

I'm not sure if we need to make only gettable.

I'm wondering if we need to make it only gettable.

Perhaps we should set the attribute at ClientRequestContext? We will have to change AttributMap implementation a little bit for this though.

This is ready. 😉

All fixed. PTAL 🙇

@trustin All fixed. 🙇

Yes, let me wrap the Attribute from the root using attr() and attrs(), so that a new value for the Attribute is set only to the current map, not the root. Thanks!

Let me squash commits to resolve conflicting. 🙏

All fixed. PTAL. 🙇

All fixed. 😉

This is ready for the another round. 😉

@anuraaga Would you mind taking a look at this again? 😄

Thanks a lot @anuraaga, @ikhoon and @trustin for reviewing. 😉

I had a random finding - should we return root for ServiceRequestContext.current if it's available?
https://github.com/line/armeria/blob/master/core/src/main/java/com/linecorp/armeria/server/ServiceRequestContext.java#L70
I'm not entirely sure but I think it might be appropriate, the root is still active even though it's shadowed by a client context.

should we return root for ServiceRequestContext.current if it's available?

Yes, I agree. Let me make a PR for that. Thanks!

authors: anuraaga minwoox trustin

repo: line/armeria


text:
Docs graph seems to be broken

Hello. It seems there's graph missing on the docs page: https://line.github.io/centraldogma/concepts.html
I'm just guessing, judging by the image which displays the message:

Dot Executable: /opt/local/bin/dot
File does not exist
Cannot find Graphviz
...

Oops 😅    Thanks for letting us know

Fixed by #848

authors: MichalMichalak ikhoon jrhee17

repo: line/centraldogma

license_source: bigquery


text:
no member 'OnTaskComplete' when building for node

Hey y'all,
Thank you so much for building this! My company is looking for a QUIC server to use with node.js and finding stellite has been a huge boon!
Unfortunately I've been having a lot of trouble getting it to build. Here's an image of my troubles:

For reference, the command I'm running:
./tools/build.py  --chromium-path /third_party/chromium_linux/ --target-platform linux --target node_stellite --target-type node_module --node-module-version 46 build
The error:
../../node_binder/node_http_fetcher.cc:87:10: error: no member named 'OnTaskComplete' in 'stellite::HttpFetcher'
Note this happens with our without the --node-module-version flag.
I've run into this same issue from ubuntu 14.04 and ubuntu 16.04 docker containers, although I can't see that making much of a difference.
Hopefully somebody else has run into this issue too. Thanks in advance for all your help!

@Aaronik
Hello. May I see your build enviromnent? This quic node server builded very limited build environment. (For example, macos hi sierra sdk can't build this project).
Thank you.

Absolutely, I can give you a very specific build environment. And thank you for your quick response! I really appreciate your help.
The machine is a docker ubuntu 16.04 image: ubuntu:xenial. Specifically, the command to boot that is:
sudo docker run -it --rm ubuntu:xenial

Then I've installed the following libraries, which I've discovered by trial and error:
sudo apt-get update && sudo apt-get install -y libkrb5-dev libgconf2-dev pkg-config lsb-release curl python git build-essential libnss3-dev libfreetype6-dev

The host machine, although I don't think it should matter, is Ubuntu 18.04.
Ξ uname -a
Linux ******** 4.15.0-24-generic #26-Ubuntu SMP Wed Jun 13 08:44:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

authors: Aaronik ptyjj

repo: line/stellite


text:
Could not compile wasmer-runtime-core-near due to unwind_attributes

Run make link get error  could not compile wasmer-runtime-core-near due to 55 previous errors
Seems that all errors are related to unwind_attributes:
   Compiling proc-macro-crate v1.1.3
   Compiling borsh-derive v0.8.2
   Compiling borsh-derive v0.9.3
   Compiling cranelift-codegen v0.67.0
   Compiling near-rpc-error-core v0.1.0
    Checking validator v0.12.0
   Compiling near-rpc-error-macro v0.10.0
   Compiling cranelift-codegen v0.68.0
    Checking librocksdb-sys v6.20.3
    Checking wasmer-compiler v1.0.2
    Checking rocksdb v0.15.0
    Checking wasmer-runtime-core-near v0.17.4
   Compiling parity-scale-codec-derive v2.3.1
error[E0557]: feature has been removed
  --> /Users/Philip/.cargo/registry/src/github.com-1ecc6299db9ec823/wasmer-runtime-core-near-0.17.4/src/lib.rs:25:30
   |
25 | #![cfg_attr(nightly, feature(unwind_attributes))]
   |                              ^^^^^^^^^^^^^^^^^ feature has been removed
   |
   = note: use the C-unwind ABI instead

    Checking borsh v0.9.3
    Checking borsh v0.8.2
   Compiling near-rpc-error-macro v0.1.0
error: cannot find attribute `unwind` in this scope
   --> /Users/Philip/.cargo/registry/src/github.com-1ecc6299db9ec823/wasmer-runtime-core-near-0.17.4/src/typed_func.rs:617:37
    |
617 |                 #[cfg_attr(nightly, unwind(allowed))]
    |                                     ^^^^^^
...
862 | impl_traits!([C] S0,);
    | --------------------- in this macro invocation
    |
    = note: this error originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
......

Rust version:
rustc 1.61.0-nightly (5f4e06771 2022-03-10)

thanks for the feedback.
does make linear work?
what's the output of rustup show in your terminal?

make linear work
Output of rustup show:
$ rustup show
Default host: x86_64-apple-darwin
rustup home:  /Users/Philip/.rustup

installed toolchains
--------------------

stable-x86_64-apple-darwin
nightly-x86_64-apple-darwin (default)

installed targets for active toolchain
--------------------------------------

wasm32-unknown-unknown
x86_64-apple-darwin

active toolchain
----------------

nightly-x86_64-apple-darwin (default)
rustc 1.61.0-nightly (5f4e06771 2022-03-10)

please run rustup default stable and try again.

Thanks! I switched to the stable version and update it to lasted. It works!
Note that compilation of the older stable version(2021-05-09)  will still report an error.

sounds good. thanks for sharing.

authors: Philip-Goodman linguists

repo: linear-protocol/LiNEAR

license: MIT


text:
Update Project template

Closes #2494 #2492 #2488
Summary: This pull request updates the necessary files to generate required template files to get started, when executing the command linera project new project-name.
Changes Made:

Added required dependencies to facilitate project initialization.
Included unit test files to provide examples of test implementation. In contract.rs and service.rs.
Added an additional Integration  test file to evaluate Query and Operation, ensuring proper functionality.

Testing: All test cases have been successfully executed.

i don't understand why the test failed. i've tested it locally
some tests are failing in linera-witty/tests/common. the same tests failed in two diff branches one with the commit, and one without the commit. i don't understand why?

@Nirajsah: Thank you!
It looks like test_project_publish in linera-service/tests/linera_net_tests.rs is failing because it still uses &() as an instantiation argument. You changed it to a number, so that test needs to be updated.

@Nirajsah: Thank you! It looks like test_project_publish in linera-service/tests/linera_net_tests.rs is failing because it still uses &() as an instantiation argument. You changed it to a number, so that test needs to be updated.

:heart:  thanks for reviewing. running test locally inside linera-service doesn't show any error or test failure. i ran cargo test in linera-service. is there some other tests to identify such issues.
let application_id = client
        .publish_and_create::<EthereumTrackerAbi, (), InstantiationArgument>(
            contract,
            service,
            u64, #changed here. &()
            &argument,
            &[],
            None,
        )
        .await?;

also just updating the code to have u64 will solve the issue, i assume. cuz i don't see any errors while running the test, so its hard to tell.

Yes, cargo test doesn't run the tests that run against a network by default. To run them, start the storage server and enable the storage-service flag:
export LINERA_STORAGE_SERVICE=127.0.0.1:1235
cargo run --bin linera-storage-server -- memory --endpoint $LINERA_STORAGE_SERVICE &
cargo test --features storage-service -p linera-service

@Nirajsah: Thank you! It looks like test_project_publish in linera-service/tests/linera_net_tests.rs is failing because it still uses &() as an instantiation argument. You changed it to a number, so that test needs to be updated.

i tried searching for test_project_publish in linera-service/tests/linera_net_tests.rs found it was in linera-service/tests/local_net_tests.rs. i've updated the instantiation argument to &0

@afck
thanks for the suggestions, i'll update everything.

authors: Nirajsah afck

repo: linera-io/linera-protocol


text:
Remove MatrixColumn again?

https://github.com/lineupjs/lineup_app/blob/develop/src/model/MatrixColumn.ts
IMO, the lineup_app should just show and use features that are provided by the library thus not extending LineUp itself cause it will break among others all export functionalities.

I agree... Same problem as always with the Github resolve conflicts. I'll revert this commit.

Fixed by force pushing the old commit again.

authors: sgratzl thinkh


text:
Fix/liger fused linear cross entropy function does not support reduction=none

Summary
fix #488

Testing Done

Hardware Type: A100-40G-PCIe
[x] run make test to ensure correctness
[x] run make checkstyle to ensure code style
[x] run make test-convergence to ensure convergence

LGTM

All tests passed on my machine.

repo: linkedin/Liger-Kernel


text:
Update li_trunk branch to no longer use internal samza-versions

Added LI artifactory publish
Changed samza dependencies from LI to OSS to mirror beam OSS

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

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

See the Contributor Guide for more tips on how to make review process smoother.
ValidatesRunner compliance status (on master branch)

Lang
ULR
Dataflow
Flink
Samza
Spark
Twister2

Go
---

---

Java

Python
---

---

XLang

---

Examples testing status on various runners

Lang
ULR
Dataflow
Flink
Samza
Spark
Twister2

Go
---
---
---
---
---
---
---

Java
---

---
---
---
---
---

Python
---
---
---
---
---
---
---

XLang
---
---
---
---
---
---
---

Post-Commit SDK/Transform Integration Tests Status (on master branch)

Go
Java
Python

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website
Whitespace
Typescript

Non-portable

Portable
---

---
---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.
GitHub Actions Tests Status (on master branch)

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

Thanks for making this change!

authors: dxichen xinyuiscool

repo: linkedin/beam


text:
Autodeploy docs using GH Actionss

Fixes #12

Thanks!

authors: caufieldjh hrshdhgd

repo: linkml/prefixmaps


text:
Road to HDS v1

Historical Datastore should be improved to support expected use-cases with simple and pragmatic APIs.

Use cases:

Low dimensional time-series storage and retrieval
High dimensional time-series storage and retrieval
Log storage and retrieval
Lightweight storage on IoT devices by using embedded DBs such as Leveldb, Boltdb, Sqlite

Features:

Retention
Simple aggregation (persistent)
HTTP API
MQTT connector
Annotation
Query with mathematical functions

[LS-446] created by tavakoli

Closing this as it is converted as milestone

authors: dschowta ghost

repo: linksmart/historical-datastore


text:
Uncaught TypeError: Cannot read property 'top' of undefined

Hello ,
First of all ,thank you for your excellent plugin . As you can see the title , I have been facing this issue while implementing it  (on line 235) . Any help regarding the issue will be much appreciated .
Thanks

Hi @sadimahmuds - do you have a link I can see to check your implementation please? Also, are you using the latest version (0.2.3)?
Thanks. Sam

I figured out the problem , I was including it on the header . Now I included it in the footer , Working like a charm :) . Thanks .

authors: linnett sadimahmuds

repo: linnett/backgroundVideo

license: mit


text:
test: [M3-8435] - Cypress integration test for Object Storage Gen2: E3 Endpoint

Changes  🔄

New Integration Test for Object Storage Gen2: E3 Endpoint - Bucket Creation

Target release date 🗓
N/A
How to test 🧪

yarn cy:run -s "cypress/e2e/core/objectStorageGen2/bucket-create-gen2.spec.ts"

Requirements:

Visiting /object-storage/buckets/create causes "Create Bucket" drawer to open
Users can select "E3" endpoint type for regions that support E3 endpoint types

This will require mocking the response to the API endpoint types request to ensure that "E3" is available for the selected region

Upon selecting "E3" endpoint type, rate limit table appears

Rate limit table contains expected data

(This data is currently pending, but notably it should differ from E2's rate limiting info)

Informational notice text is displayed alongside rate limit table:

Specifies the maximum Requests Per Second (RPS) for a bucket. To increase it to High, open a support ticket. Understand bucket rate limits.

Upon clicking "Create Bucket" with "E3" endpoint type selected, Cloud fires an API bucket create request with the following data in its payload:

cors_enabled is false
endpoint_type is 'E3'
s3_endpoint is present if corresponding endpoint mock contains non-null s3_endpoint

At least one of these subtasks should test the case when s3_endpoint is specified, and at least one of these subtasks should test the case when s3_endpoint is omitted

Upon creating bucket, the "Create Bucket" drawer closes and new bucket appears in the landing page

The correct information is displayed alongside the new bucket:

Label
Region
Endpoint type
Endpoint URL

As an Author I have considered 🤔
Check all that apply

[x] 👀 Doing a self review
[x] ❔ Our contribution guidelines
[ ] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[x] 🧪 Providing/Improving test coverage
[ ] 🔐 Removing all sensitive information from the code and PR description
[ ] 🚩 Using a feature flag to protect the release
[ ] 👣 Providing comprehensive reproduction steps
[ ] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[ ] 📱 Providing mobile support
[ ] ♿  Providing accessibility support

Thanks I'll make the changes in this PR 🙏

I'm not sure how the // Confirm that bucket is created, initiate deletion for cleanup is passing in the CI because locally it always fails, but this was code that was pre-existing since E0

repo: linode/manager


text:
M3-2029 Update styles for sortable headers

Update styles for sortable headers
Description
Now that we are starting implementing sortable headers more on the APP, the pattern has been polished and we needed new styles. In addition to the new UI kit styles, I passed a new 'isSorting' prop in pagey in order to add visual indicators while the sorting is happening.
This can be tested on the main linode list view
Type of Change

Non breaking change

Coverage increased (+0.002%) to 31.878% when pulling 8c3099486c23b9a0bfe06bdcc4bad285732f3968 on alioso:M3-2029 into 88cfcf8d1cdc834fb476c9a4f3490fc9b6eef0e9 on linode:release-0.42.0.

Looks great!
I noticed the caret on StackScripts --> "Active Deploys" becomes tiny on small viewports. I think it's the character count of "Active Deploys". Maybe increasing the width of that column would fix it?

@rjstires @johnwcallahan @Jskobos addressed

authors: alioso coveralls johnwcallahan


text:
chore: Clean Up Repo Root

Description 📝
Why?

I'm trying to clean up the root of our repo because it is bloated with lots of random config files
We have a nice new readme and this will make it easier to see without needing to scroll on Github

Overview

Consolidates two eslint files into one
Deletes .npmignore because it is empty and I'm 99% sure it is doing nothing meaningful
Deletes old changelog tooling because we don't use it and haven't used it in years

How to test 🧪

Not much to test here but you can test the eslint still works

One way to do this is to create a duplicate variable  in a random component and ensure that your IDE shows an eslint warning

I'm thinking the empty .npmignore may have been put there deliberately to prevent npm from ignoring files that match our .gitignore patterns

I don't think it matters because api-v4 and validation's package.jsons specify "files": [ "lib" ] so when it comes to shipping those packages, they should pull only those files.

authors: bnussman-akamai jdamore-linode


text:
Use linux-sytem-roles.timesync as name for role

This makes the tests/examples match the name when the role is installed
via ansible-galaxy.

[citest pending]
[citest bad]

How would you like to make the role a parameter? IMHO it will be a different issue that is not specific to this role, so maybe let's discuss it somewhere else. Maybe at least in an issue here if we do not have a better place.

repo: linux-system-roles/timesync


text:
Refactor service_data object

Currently the service_data object has many return methods. These should merely modify the objects data
Also separate out locale store data and methods in to a localstore class. This class should be inherited by the service_data object and also have the ability to be initiated and manage local store data independent of a service_data object

Updating integration tests.
No more dev work will be done against QGIS2. A release will be made and then efforts moved to QGIS3

repo: linz/QGIS-LDS-Plugin


text:
Facing issue with deploying

getting below error
Build app  Hide build log
There was an issue building your app. This can mean your app.json's project is not a valid Heroku application. Please ensure your app is deployable to Heroku and try again.

-----> $ python manage.py collectstatic --noinput
       Traceback (most recent call last):
         File "/tmp/build_b5a98b2167870f23906d74d7e0566400/lionheart-in_app_purchase_receipt_verifier-483e1be/settings.py", line 220, in <module>
           environment = os.environ['APP_ENVIRONMENT']
         File "/app/.heroku/python/lib/python3.6/os.py", line 669, in __getitem__
           raise KeyError(key) from None
       KeyError: 'APP_ENVIRONMENT'
       During handling of the above exception, another exception occurred:
       Traceback (most recent call last):
         File "manage.py", line 20, in <module>
           execute_from_command_line(sys.argv)
         File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
           utility.execute()
         File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 308, in execute
           settings.INSTALLED_APPS
         File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/__init__.py", line 56, in __getattr__
           self._setup(name)
         File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/__init__.py", line 41, in _setup
           self._wrapped = Settings(settings_module)
         File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/__init__.py", line 110, in __init__
           mod = importlib.import_module(self.SETTINGS_MODULE)
         File "/app/.heroku/python/lib/python3.6/importlib/__init__.py", line 126, in import_module
           return _bootstrap._gcd_import(name[level:], package, level)
         File "<frozen importlib._bootstrap>", line 978, in _gcd_import
         File "<frozen importlib._bootstrap>", line 961, in _find_and_load
         File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
         File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
         File "<frozen importlib._bootstrap_external>", line 678, in exec_module
         File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
         File "/tmp/build_b5a98b2167870f23906d74d7e0566400/lionheart-in_app_purchase_receipt_verifier-483e1be/settings.py", line 222, in <module>
           raise Exception("""Please set your app environment (APP_ENVIRONMENT).""")
       Exception: Please set your app environment (APP_ENVIRONMENT).
 !     Error while running '$ python manage.py collectstatic --noinput'.
       See traceback above for details.
       You may need to update application code to resolve this error.
       Or, you can disable collectstatic for this application:
          $ heroku config:set DISABLE_COLLECTSTATIC=1
       https://devcenter.heroku.com/articles/django-assets
 !     Push rejected, failed to compile Python app.
 !     Push failed

Thanks @ajaydesai, looking into it. Fix should be on master soon.

@ajaydesai This should be working now! Please close if you have no other issues. 👍

Thanks for quick fix , I will check that out and update you soon, One question
what I need to pass in field called
"BASE64_ENCODED_SIGNING_KEY"
Optional, but required if you'd like to verify payloads end-to-end. See README for information on what to provide for this value.
Do I need to copy paste the publicKeyString here from payload file ?

@ajaydesai Did the instructions in the README clear that value up for you? To clarify, the string after "private key" is what you want to paste into that field.

authors: ajaydesai dlo


text:
Preprocessing data problem

Hi, thanks for your awesome work.
I intended to use the preprocess_cameras.py to preprocess the custom data, which can be run on threestudio. However, it always raise the bellow error.
Can you provide some insights of where to modify?
My input camera is proj_mtx_new, mask is extracted from the alpha of a png.
Thanks in advance!
c2w = transform[:3, :4] # transform is a synthesized parameters
mv = torch.linalg.inv(transform)
fovy =  np.random.uniform(self.fovy_range_min, self.fovy_range_max)
self.resolution = [512, 512]
K = np.array([
                [fovy, 0, self.resolution[0] / 2, 0],
                [0, fovy, self.resolution[1] / 2, 0],
                [0, 0, 1, 0],
                [0, 0, 0, 1]
            ])
K = torch.from_numpy(K).float()
proj_mtx_new = K @ mv

Number of points:0
/mnt/petrelfs/wangtengfei/code/NeuS2/tools/preprocess_cameras.py:220: RuntimeWarning: Mean of empty slice.
  centroid = np.array(all_Xs).mean(axis=0)
/opt/conda/lib/python3.9/site-packages/numpy/core/_methods.py:192: RuntimeWarning: invalid value encountered in scalar divide
  ret = ret.dtype.type(ret / rcount)
/opt/conda/lib/python3.9/site-packages/numpy/core/_methods.py:269: RuntimeWarning: Degrees of freedom <= 0 for slice
  ret = _var(a, axis=axis, dtype=dtype, out=out, ddof=ddof,
/opt/conda/lib/python3.9/site-packages/numpy/core/_methods.py:226: RuntimeWarning: invalid value encountered in divide
  arrmean = um.true_divide(arrmean, div, out=arrmean,
/opt/conda/lib/python3.9/site-packages/numpy/core/_methods.py:261: RuntimeWarning: invalid value encountered in scalar divide
  ret = ret.dtype.type(ret / rcount)
Traceback (most recent call last):
  File "/mnt/petrelfs/wangtengfei/code/NeuS2/tools/preprocess_cameras.py", line 312, in <module>
    get_normalization(opt.source_dir, opt.use_linear_init, dataset)
  File "/mnt/petrelfs/wangtengfei/code/NeuS2/tools/preprocess_cameras.py", line 266, in get_normalization
    normalization, all_Xs = get_normalization_function(Ps, mask_points_all, number_of_normalization_points, number_of_cameras,masks_all)
  File "/mnt/petrelfs/wangtengfei/code/NeuS2/tools/preprocess_cameras.py", line 225, in get_normalization_function
    centroid,scale,all_Xs = refine_visual_hull(masks_all, Ps, scale, centroid)
  File "/mnt/petrelfs/wangtengfei/code/NeuS2/tools/preprocess_cameras.py", line 151, in refine_visual_hull
    points = points + center[:, np.newaxis]
IndexError: invalid index to scalar variable.

I have a similar problem. I have the coordinate system in OpenCV camera format. I could look in detail in the paper and see if I can find the desired transformation. But if the authors have it ready, that'd be really useful!

repo: lioryariv/idr


text:
how add function onError()

hi
i want add function onError()
I use this
extends JCVideoPlayerStandard {
public class VideoActivity extends JCVideoPlayerStandard {

        public VideoActivity (Context context) {
            super(context);
        }

        @Override
        public void onError(int what, int extra) {

        }

    }
}

but don't work
what problem ?

@Override
public void onError(int what, int extra) {
    super.onError(what, extra);// you should add this line
 }

same problem :( don't see a message error or window error
this all code
can check ?
public class VideoViewActivity extends AppCompatActivity {

    final Context context = this;
    private GoogleApiClient client;
    public myAdapter adapter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_video_view);

        ListView listView = (ListView) findViewById(R.id.list);
        ArrayList<item> menuItem = new ArrayList<item>();

        item i0 = new item(getString(R.string.car1), R.drawable.car1);

        menuItem.add(i0);

        adapter = new myAdapter(VideoViewActivity.this, R.layout.item, menuItem);
        listView.setAdapter(adapter);

        listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {

            @Override
            public void onItemClick(AdapterView<?> parent, View view,
                                    int position, long id) {
                if (position == 0) {

                    JCVideoPlayerStandard.startFullscreen(context, JCVideoPlayerStandard.class, "http://example.com/android/123414311.m3u8", "");

                }

            }
        });

        client = new GoogleApiClient.Builder(this).addApi(AppIndex.API).build();
    }

    private boolean appInstalledOrNot(String uri) {
        PackageManager pm = getPackageManager();
        try {
            pm.getPackageInfo(uri, PackageManager.GET_ACTIVITIES);
            return true;
        } catch (PackageManager.NameNotFoundException e) {
        }

        return false;

    }

    public Action getIndexApiAction() {
        Thing object = new Thing.Builder()
                .setName("Family Page")
                .setUrl(Uri.parse("http://[ENTER-YOUR-URL-HERE]"))
                .build();
        return new Action.Builder(Action.TYPE_VIEW)
                .setObject(object)
                .setActionStatus(Action.STATUS_TYPE_COMPLETED)
                .build();
    }

    @Override
    public void onStart() {
        super.onStart();

        client.connect();
        AppIndex.AppIndexApi.start(client, getIndexApiAction());
    }

    @Override
    public void onStop() {
        super.onStop();

        AppIndex.AppIndexApi.end(client, getIndexApiAction());
        client.disconnect();
    }

    @Override
    public void onBackPressed() {
        if (JCVideoPlayer.backPress()) {
            return;
        }
        super.onBackPressed();
    }
    @Override
    protected void onPause() {
        super.onPause();
        JCVideoPlayer.releaseAllVideos();
    }

    public class VideoActivity extends JCVideoPlayerStandard {

        public VideoActivity (Context context) {
            super(context);
        }

        @Override
        public void onError(int what, int extra) {
            super.onError(what, extra);

        }

    }

}

Check the log when onError, what and extra is what.
I guess something wrong with your video , can you show me your video url.

this video url
http://163.172.42.47:8000/live/antonioR21092016/21092016antonioR/164.ts
and convrt to
http://163.172.42.47:8000/live/antonioR21092016/21092016antonioR/164.m3u8
Because JieCaoVideoPlayer don't play .ts format

repo: lipangit/JieCaoVideoPlayer


text:
Docs : Instructions ?

Usage and Developement are understood, but it would be nice to have instructions on how to reference the assets :
<link href="...
<script...

there is no script and if you really need instructions on how to use the CSS.. then you might don't really need these flags :D

Nevermind, got it by looking at the source code of the demo.
Thanks.

authors: bonatoc lipis

repo: lipis/flag-icon-css


text:
demo page can't work

Mixed Content: The page at 'https://lipten.link/projects/slidePage/demo.html' was loaded over HTTPS, but requested an insecure script 'http://cdn.bootcss.com/jquery/2.1.4/jquery.min.js'. This request has been blocked; the content must be served over HTTPS.
browser ：desktop chrome

我暂时移除了ssl，现在可以直接访问http://lipten.link/projects/slidePage/demo.html

authors: lipten scyankai

repo: lipten/slidePage


text:
Fixed test failing in different timezones

Impact

[x] Bug fix (non-breaking change which fixes expected existing functionality)
[ ] Enhancement/New feature (adds functionality without impacting existing logic)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
The regular expression was edited for time zones with a half-hour offset and a 45-minute offset so that the test could run successfully.
like : UTC−03:30 and UTC+03:30

Code review and test results:
Things to be aware of:

Change to make the test assertion less "assume the minutes are the same" makes sense given the problem
Only changes a test

Things to worry about:

Nothing

authors: mehrabisajad nvoxland

repo: liquibase/liquibase


text:
CORE-2555: Also support the uppercase B'0' notation.

Fix parsing error with HSQL .

Thanks!

authors: DieterVDW nvoxland


text:
[CI] Add benchmarks' enhancements

Use build artifacts from other workflow runs using the run ID (optional)
Use the latest released build otherwise

Signed-off-by: Azeem Sajid azeem.sajid@gmail.com

Steps:

Go to https://github.com/liquidaty/zsv/actions/workflows/benchmarks.yml.
Click on Run workflow dropdown
Paste the workflow run ID to use zsv builds from

Otherwise, the latest release will be used

Click on Run workflow button

@iamazeem the musl builds still seem a little off for a couple reasons. First, it seems odd that zsv would not still outperform tsv in the select benchmark just like the other zsv builds. is there any theoretical explanation for that? Second, when we build on our musl-gcc (x86_64-linux-musl-gcc (GCC) 9.4.0), the binary size is much smaller (2511640 bytes in the last run) than what is being produces in the artifacts. Could you send or post the config.musl file that is being generated by the musl build's ./configure run so that we can examine?

@liquidaty:

First, it seems odd that zsv would not still outperform tsv in the select benchmark just like the other zsv builds. is there any theoretical explanation for that?

Not yet.
Need to look into that.
Could be due to differences in internal API implementation.

Second, when we build on our musl-gcc (x86_64-linux-musl-gcc (GCC) 9.4.0), the binary size is much smaller (2511640 bytes in the last run) than what is being produces in the artifacts.

Regarding 2511640, is that for the stripped binary?
Just downloaded zsv-0.3.9-alpha-amd64-linux-musl.tar.gz, stripped the binary and got 2416888:
$ ls -l zsv
-rwxr-xr-x 1 azeem azeem 3411440 Nov  6 10:12 zsv
$ strip -s zsv
$ ls -l zsv
-rwxr-xr-x 1 azeem azeem 2416888 Nov  6 15:03 zsv

Could you send or post the config.musl file that is being generated by the musl build's ./configure run so that we can examine?

Sure, I'll share it later today.

@liquidaty: Please see config.mk file here:
https://github.com/liquidaty/zsv/actions/runs/11702289131/attempts/1#summary-32590175922
We may continue this discussion there. Thanks!

authors: iamazeem liquidaty

repo: liquidaty/zsv


text:
建议

精确到市（区）的地图不能准确反映疫情的分布。目前浙江的数量是第二多的，浙江远多于湖南、山东，可是由于浙江市辖区面积比较小，给人的直观感觉，浙江的疫情没有那么严重。

@GongShengyue 可以看看这个：
http://xieyezi.com:9001/

authors: GongShengyue xieyezi

repo: lispczz/pneumonia


text:
[Bug]: Using inquirer prompting, messages seem to wrap too soon

Replication of the Problem
Here is a replit example of the issue I'm seeing.
Problem
Even though the terminal window has plenty of columns available (eg: COLUMNS=205 being reported if I make it that wide), the prompt is still wrapping so that it will fit within an 80-column wide terminal.
Can this be fixed, or is it a configuration issue of some kind?
It does not seem to affect other output that's wider than 80 columns.
Environment
nodejs version: 20.4.x
whatever replit is using?
Log Output
The following was obtained from the replit 'shell' tab, widening it so that echo $COLUMNS shows way more than 80 characters, then doing: tsx index.ts to run the code.
⠇ This is a long title to see if it too will wrap so that it fits within 80 character width or not

? This message is longer than 80 chars, but it still seems to be wrapping for
width of 80 (Y/n)

Preflight

[X] Read/Search existing issues and the provided documentation.
[X] Be sure to not open an issue in the looking for contributions section.
[X] Checking the latest version of the software to confirm it has not been fixed already.

Dear @Peter-Sparksuite,
Thank you for reporting this I suppose inquirer can not find the column lenght properly due to us wrapping it inside a fake writable interface. Unfortunetely I do not have an immedeate idea for fixing this.


text:
Investigate possibility for implementing Android BroadcastReceiver [4-8h]

Implement support for dynamic game content.
See example at https://github.com/literacyapp-org/literacyapp-keyboard/blob/master/app/src/main/java/org/literacyapp/keyboard/receiver/StudentUpdatedReceiver.java
Investigate option for implementing similar functionality.
Can Android code be used in a game built using Qt and C++?

At first glance, it is possible to call java/android code from c++. In fact, Google play services were using that.

https://www.ibm.com/developerworks/java/tutorials/j-jni/j-jni.html

@diegowald It is also necessary to modify the AndroidManifest.xml file (to register the BroadcastReceiver). Is this also possible using the method linked to above?

@jogrimst it is not necessary to edit AndroidManifest.xml. It can be done using java code.

authors: diegowald jogrimst

repo: literacyapp-org/VoltAir


text:
update

update

update


text:
Add lsqpack_enc_cancel_header which cancels an in-progress header block

I also added a test which seems to work but I do get qenc: info: could not allocate hinfo for stream 0 in the output. I'm not sure if this indicates a problem or not.

The code looks like it should work, but the test fails CI -- Travis, AppVeyor, and Cirrus all report test failures.  It is interesting that you do not observe it.
Two notes on style:

The code only uses C-style comments.
Function definitions follow these rules:

Function name begins in column 1
There is a space between function name and opening parenthesis

Running the tests via msbuild triggers the segmentation fault for me as well. Windows is probably just not reporting the segmentation fault when I run the test executable manually.
The segmentation fault is caused by passing NULL and 0 to enc_buf and enc_sz respectively. I think it's unrelated to the pr.

Yes, that gets dereferenced to get the size, so you can't pass NULL:
(64-bit ubuntu gdb) bt
#0  0x0000000000404bbd in lsqpack_enc_encode (enc=0x7fffffffe280, enc_buf=0x0, enc_sz_p=0x0,
    hea_buf=0x7fffffffe360 <incomplete sequence \374>, hea_sz_p=0x7fffffffe278, name=0x4122c0 ":method", name_len=7,
    value=0x4122c8 "GET", value_len=3, flags=(unknown: 0)) at /home/dmitri/proj/ls-qpack/lsqpack.c:1458
#1  0x0000000000401acd in run_header_cancellation_test (test=0x412300 <header_block_tests>)
    at /home/dmitri/proj/ls-qpack/test/test_qpack.c:290
#2  0x0000000000401bdb in main () at /home/dmitri/proj/ls-qpack/test/test_qpack.c:320
(64-bit ubuntu gdb) f 0
#0  0x0000000000404bbd in lsqpack_enc_encode (enc=0x7fffffffe280, enc_buf=0x0, enc_sz_p=0x0,
    hea_buf=0x7fffffffe360 <incomplete sequence \374>, hea_sz_p=0x7fffffffe278, name=0x4122c0 ":method", name_len=7,
    value=0x4122c8 "GET", value_len=3, flags=(unknown: 0)) at /home/dmitri/proj/ls-qpack/lsqpack.c:1458
1458        unsigned char *const enc_buf_end = enc_buf + *enc_sz_p;
(64-bit ubuntu gdb)

Also note this warning:
[  4%] Building C object CMakeFiles/ls-qpack.dir/lsqpack.c.o
/home/dmitri/proj/ls-qpack/lsqpack.c: In function ‘lsqpack_enc_cancel_header’:
/home/dmitri/proj/ls-qpack/lsqpack.c:1200:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

Fixed the style issues, segmentation fault and warning.

Great, thank you!

authors: DaanDeMeyer dtikhonov

repo: litespeedtech/ls-qpack


text:
fix(repositories): fix #2358 by re-exporting filters and exceptions from advanced-alchemy

Fixes #2358 by adding some missing re-exports from advanced-alchemy.

I think we should probably remove the imports in advanced-alchemy that try to import the filters from Litestar first. Otherwise we might run into a circular import here.

@provinzkraut @v3ss0n I think this one may be ready for a final review.  I've removed the exports from advanced_alchemy and pinned the required release to the updated v0.2.2.

authors: cofin provinzkraut

repo: litestar-org/litestar


text:
Fix Swift authentication by adding domain information

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

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

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

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

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

Fixes #1352

Thanks for fixing this. Can you update the swift docs and include these new user_domain_name and project_domain_name parameters?

@JosepSampe Added.
Thanks.

authors: JosepSampe abourramouss

repo: lithops-cloud/lithops


text:
🛑 USTC is down

In 7d6b94a, USTC (https://www.ustc.edu.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: USTC is back up in 2ad9327.

repo: littlekud/sites-status


text:
🛑 USTC Mirrors (mirrors3 server) is down

In 96d8c7a, USTC Mirrors (mirrors3 server) (https://mirrors.ustc.edu.cn/ubuntu-old-releases/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: USTC Mirrors (mirrors3 server) is back up in 1faaabd after 39 minutes.


text:
🛑 USTC is down

In cd7ca88, USTC (https://www.ustc.edu.cn) was down:

HTTP code: 504
Response time: 11883 ms

Resolved: USTC is back up in 8c7f50b.


text:
🛑 USTC is down

In 30749ea, USTC (https://www.ustc.edu.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: USTC is back up in bd77a45.


text:
Fix HSV conversion

lv_color_rgb_to_hsv currently converts to HSV in the range 0..255 (for each of hue, saturation and value), except hue is declared as a uint16_t, so if rgb_max == r then hsv.h = 0 + 43 * (g - b) / (rgbMax - rgbMin); can underflow to 65535.
This change fixes the issue by changing the type of lv_color_hsv_t.h to uint8_t so the underflow wraps properly. It also adjusts the arguments of lv_color_hsv_to_rgb to expect the range of 0..255 to match up with lv_color_rgb_to_hsv.

Just noticed https://github.com/littlevgl/lvgl/pull/1233. This appears to do the same as that PR except using uint8_t instead of floating point numbers. I haven't addressed his issue with rounding issues around the 43 point, but I also haven't noticed an issue in my admittedly very limited testing.

so if rgb_max == r then hsv.h = 0 + 43 * (g - b) / (rgbMax - rgbMin); can underflow to 65535.

Good catch!

This change fixes the issue by changing the type of lv_color_hsv_t.h to uint8_t

Unfortunately, we can't add this change in the next minor version (v6.1) because the minor version should be compatible.
As a temporal solution, I suggest using an uint8_t d = g - b to handle the underflow as expected.
I also suggest using one PR for updating the HSV functions. Let's continue in #1233

FYI, @tgillbe, I'm a huge fan of your change (https://github.com/littlevgl/lvgl/pull/1211#issuecomment-537678809, https://github.com/littlevgl/lvgl/pull/1196#issuecomment-536162322).
Let's get it in the next major version.
My desire would be to make it better interop w/ FastLED (https://github.com/FastLED/FastLED/wiki/FastLED-HSV-Colors).
kisvegabor said:

We can update lv_color_hsc_to_rgb to work with these corrected curves.

@kisvegabor What is this project's preferred branching strategy to get this change and maybe an 2nd PR of an option to include "rainbow" HSV curve? I would prefer to only do the latter after converting to strictly 255 based values (I would prefer not to have to port the code to 360/100/100 and then back to 255/255/255 after the changeover.
FYI: FastLED is MIT licensed, https://github.com/FastLED/FastLED/blob/master/LICENSE

@paulpv
I'll announce feature stop for dev-6.1 soon (probably next week). Only the WIP features will be included and the new ones can go to dev-7.0 (also will be opened soon). As the next version will be a major release we can make API breaking changes (like changing 360/100/100 to 255/255/255).
So I suggest merging the current fixes with 360/100/100 and add FastLED to dev-7.0.
Is it ok for you?

@paulpv
I'll announce feature stop for dev-6.1 soon (probably next week). Only the WIP features will be included and the new ones can go to dev-7.0 (also will be opened soon). As the next version will be a major release we can make API breaking changes (like changing 360/100/100 to 255/255/255).
So I suggest merging the current fixes with 360/100/100 and add FastLED to dev-7.0.
Is it ok for you?

I wouldn't say that it's strictly a breaking change. In the current code, lv_color_rgb_to_hsv assumes 255/255/255 and lv_color_hsv_to_rgb assumes 360/100/100.
I fixed the issue by changing the range of lv_color_hsv_to_rgb to 255/255/255.
@paulpv fixed the issue by changing the range of lv_color_rgb_to_hsv to 360/100/100.
Both are equally valid changes and a matter of preference, but I wouldn't say either one is breaking as I would argue it was broken before!
On reflection, maybe this HSV conversion doesn't belong in LVGL, or at least in the core library. LVGL doesn't call these functions, and as @paulpv has pointed out, there is already decent support for this in FastLED. Just a thought.

I wouldn't say either one is breaking as I would argue it was broken before!

Technically, it's breaking, as it changes the existing behavior (whether the existing behavior was broken or not). But from a practical standpoint I agree with you that the old way was broken to some extent.
In terms of consistency, I think @paulpv's change breaks things less than yours. I think people are more likely to want to convert HSV to RGB than the other way around, so less people should be affected by his change (I think it could go to dev-6.1).

On reflection, maybe this HSV conversion doesn't belong in LVGL, or at least in the core library.

It makes it easier for people to use HSV if it stays in LittlevGL though.

In terms of consistency, I think @paulpv's change breaks things less than yours. I think people are more likely to want to convert HSV to RGB than the other way around, so less people should be affected by his change (I think it could go to dev-6.1).

I think you're right, I agree with the idea to merge #1233 into dev-6.1. Hopefully we can revisit this for 7.0.
On an unrelated note, I want to express my appreciation for the great work you've all done on lvgl! It's really a great library.

I think you're right, I agree with the idea to merge #1233 into dev-6.1. Hopefully we can revisit this for 7.0.

Forgive me if I'm saying non-sense but now #1233 and #1236 also uses 255/255/255 for lv_color_hsv_to_rgb. And it's definitely a breaking change. Now every theme_init functions get a hue value to set the color of the theme. If someone set hue=120 (green) so far, he will get 120/255*360=169 after the update. So for v6.1 we should go with the 360/100/100 ranges. And we can decide what to do in v7.0 but I had some concerns about the 255 hue range. Besides it less user-friendly because you see 360/100/100 everywhere, so if you mix a color you can't simply copy the hsv values into the code. But let's clarify it for v6.1 first and figure out what to do next.

I think you're right, I agree with the idea to merge #1233 into dev-6.1. Hopefully we can revisit this for 7.0.

Forgive me if I'm saying non-sense but now #1233 and #1236 also uses 255/255/255 for lv_color_hsv_to_rgb. And it's definitely a breaking change. Now every theme_init functions get a hue value to set the color of the theme. If someone set hue=120 (green) so far, he will get 120/255*360=169 after the update. So for v6.1 we should go with the 360/100/100 ranges. And we can decide what to do in v7.0 but I had some concerns about the 255 hue range. Besides it less user-friendly because you see 360/100/100 everywhere, so if you mix a color you can't simply copy the hsv values into the code. But let's clarify it for v6.1 first and figure out what to do next.

#1233 uses 360/100/100 for hsv.
Yes, this pull request is no good as lv_color_hsv_to_rgb is used throughout the themes system. I thought lv_color_hsv_to_rgb was unused by lvgl but I must have searched for lv_color_rgb_to_hsv twice like an idiot. I agree that it's a breaking change.
I understand your concern about limiting hue to 255, but isn't it also a concern that saturation and value are limited to 100? I'm personally just keen on efficient use of storage and efficient calculation. If we store hue in a uint16_t I'd like to see it go from 0-65535 and if it's stored in a uint8_t I'd like it to go from 255, but I can see how it's not very user friendly. Maybe internally it can be stored like that and we can have a define to wrap lv_color_hsv_to_rgb with arguments in the range 360/100/100 and it converts to the internal range? That would possibly be best of both worlds.

#1233 uses 360/100/100 for hsv.

Ups, sorry, my bad.

I understand your concern about limiting hue to 255, but isn't it also a concern that saturation and value are limited to 100?

What about storing them with 0.1% resolution? (see below)

I'm personally just keen on efficient use of storage and efficient calculation.

For example in the case of  cpicker object hsv_to_rgb is called ~120 times when the object is refreshed. So it really would be great to have a faster and more "computer-friendly" function too.

If we store hue in a uint16_t I'd like to see it go from 0-65535 and if it's stored in a uint8_t I'd like it to go from 255, but I can see how it's not very user friendly.

We can make it fit 23 bits like below but won't win too much. Ultimately it will be packed to 4 or 8 bytes.
uint32_t h :9; //0..511
uint32_t s :7; //0..127
uint32_t v :7; //0..127

Or 29 bits with 0..1000 hue and saturation.
uint32_t h :9; //0..511
uint32_t s :10; //0..1024
uint32_t v :10; //0..1024

Maybe internally it can be stored like that and we can have a define to wrap lv_color_hsv_to_rgb with arguments in the range 360/100/100 and it converts to the internal range? That would possibly be best of both worlds.

What about heving lv_color_hsv_to_rgb which has 360/1000/1000 and compatible with lv_color_rgb_to_hsv.  And lv_color_hsv10_to_rgb which accepts (1024/1024/1024). This way the internal format can be (1024/1024/1024) becasue it can losslessly store (360/1000/1000).
lv_color_hsv_to_rgb can use lv_color_hsv10_to_rgb internally.
What do you think?

I'm game for whatever you feel appropriate, and I don't have much experience w/ bit packing, so you would know better than I, but may have to implement it yourself.

What about having lv_color_hsv_to_rgb which has 360/1000/1000 and compatible with lv_color_rgb_to_hsv. And lv_color_hsv10_to_rgb which accepts (1024/1024/1024). This way the internal format can be (1024/1024/1024) becasue it can losslessly store (360/1000/1000).
lv_color_hsv_to_rgb can use lv_color_hsv10_to_rgb internally.
What do you think?

I think this idea makes a lot of sense.
Where we seem to differ in opinion is our preference for the internal storage of the HSV values. I'm personally not drawn to having HSV values greater than 255 - lv_color_t is going to be using at most 8 bits for each of RGB (24 bits total) which is going to actually be seen. I use 16-bit color depth so the effect is even more pronounced. It seems a little weird to be storing the HSV values with higher precision than lv_color_t.
On the other hand, there is minimal run time penalty to the bit packing you suggest. As you say, the struct is going to be padded to at least 4 bytes anyway, so why not use all the available memory for extra precision.
This has been a long way of saying that I don't have a strong preference for either suggestion, so I'm happy to go with whichever solution you prefer!

Great, then let's merge #1233 to dev-6.1. Do you agree?
I've opened dev-7.0. @tgillbe can you send a new PR to that branch?

authors: embeddedt kisvegabor paulpv tgillbe

repo: littlevgl/lvgl


text:
grep provider cannot open paths and filenames with spaces

Environment (please complete the following information):

OS: Windows 10
(Neo)Vim version: vim 2.8.2871
vim-clap version: 75bf813
Have you reproduced with a minimal vimrc: yes
Have you updated to the latest plugin version: yes
Have you upgraded to/compiled the latest Rust binary: yes

Describe the bug
When using the grep provider, if the search result is in a file that is in path containing spaces, the resulting file is not opened when pressing enter.
Clap debug

            has cargo: 0
            has maple: C:/Users/BL/_yadm/.vim/pack/minpac/start/vim-clap/bin/maple.exe
           maple info: version 0.1.25 (git v0.25), built for x86_64-pc-windows-msvc by rustc 1.51.0 (2fd73fabe 2021-03-23).

         has +python3: 1
has py dynamic module: 0
            has ctags: ctags with JSON output support
    Current sync impl: Lua
     Current FileType:
Third Party Providers: []
       Global Options:
    let g:clap#autoload_dir = 'C:/Users/BL/_yadm/.vim/pack/minpac/start/vim-clap/autoload'
    let g:clap#popup#display = {'shrink': function('70'), 'open': function('<SNR>213_create_display'), 'width': 32, 'shrink_if_undersize': function('69')}
    let g:clap#popup#preview = {'line_count': function('<SNR>212__line_count'), 'show': function('71'), 'hide': function('72'), 'clear': function('73'), 'add_highlight': function('74'), 'get_lines': function('<SNR>212__get_lines'), 'getbufvar': function('<SNR>212__getbufvar'), 'setbufvar_batch': function('<SNR>212__setbufvar_batch'), 'setbufvar': function('<SNR>212__setbufvar'), 'winid': 1002, 'win_is_valid': function('<SNR>212__win_is_valid'), 'goto_win': function('<SNR>212__goto_win'), 'set_syntax': function('75'), 'bufnr': 3}
    let g:clap#provider_alias = {'gfiles': 'git_files', 'hist:': 'command_history', 'hist/': 'search_history'}
    let g:clap_background_shadow_blend = 50
    let g:clap_disable_bottom_top = 0
    let g:clap_disable_matches_indicator = v:false
    let g:clap_disable_optional_async = v:false
    let g:clap_disable_run_rooter = v:false
    let g:clap_enable_background_shadow = v:true
    let g:clap_enable_debug = v:false
    let g:clap_enable_icon = 1
    let g:clap_forerunner_status_sign = {'done': '•', 'running': '!', 'using_cache': '*'}
    let g:clap_indicator_winid = 1003
    let g:clap_insert_mode_only = v:false
    let g:clap_layout = {'relative': 'editor'}
    let g:clap_multi_selection_warning_silent = 0
    let g:clap_no_matches_msg = 'NO MATCHES FOUND'
    let g:clap_open_action = {'ctrl-v': 'vsplit', 'ctrl-x': 'split', 'ctrl-t': 'tab split'}
    let g:clap_open_preview = 'always'
    let g:clap_popup_border = 'rounded'
    let g:clap_preview_direction = 'LR'
    let g:clap_preview_size = 5
    let g:clap_providers_relaunch_code = '@@'
    let g:clap_search_box_border_style = 'nil'
    let g:clap_search_box_border_symbols = {'nil': ['', ''], 'curve': ['', ''], 'arrow': ['', '']}
    let g:clap_spinner_winid = 1005

To Reproduce
Steps to reproduce the behavior:

Create the minimal vimrc min.vim:

set nocompatible
set runtimepath^=/path/to/vim-clap
syntax on
filetype plugin indent on

Create a test file in a directory containing a space, e.g.:

mkdir "test path"
echo "findme" > "test path\test"

Start (neo)vim with command: vim -u min.vim

Type 'Clap grep' and then 'findme'

Observe that the result is correctly found and the path is correct in the popup

Press 'Enter'

Observe that vim tries to open the path path\test instead of test path\test

Expected behavior
The correct file is opened, even if the path or filename contains spaces
Screenshots
Result is found and path is correct:

Wrong path is opened

Additional context
Clap files opens the file in question correctly

Should be fixed in the master. BTW it's recommended to use grep2 now as it's much faster.

Thanks for the quick fix. I plan to move to grep2, but I have sporadic issues there that I haven't been able to pinpoint completely, so until I can make a good bug report, I'll stick with grep for now.

Fair enough. As a matter of fact, I personally use more of dumb_jump now, it's slightly more accurate than the grep tools.

authors: bartlibert liuchengxu

repo: liuchengxu/vim-clap


text:
About inference

Hi,
Thanks for the excellent code, when I inference the pictures, My program output is：
KeyError: 'relative_path'
Then I found "relative_path" is a key of "data_i", but when I print data_i, I found there doesn't have the key named "relative_path" in the "data_i". So what is "relative_path"?
Please reply!

Hi @dongdongdong233 ,
Thanks for your interests.
Sorry for this mistake. The relative_path is just used to save the completed results. You can simply modify the config file like the following example:

Hi, thanks so much for your replying!
After I add  relative_path to the config file, this problem have been solved！
But there is another output like:
AttributeError: 'PatchVQGAN' object has no attribute 'generate_content'
I found there is no such a function named 'generate_content', the 'generate_content' is written in masked_image_inpainting_transformer_in_feature.py, so I copied the generate_content method to the end of the PatchVQGAN class in patch_vqgan.py, but the program still reported the same error.
Could you please help me to solve this problem?
Looking forward to your reply！

您好，最近读了您的论文Reduce Information Loss in Transformers for Pluralistic Image Inpainting，对您的论文十分有兴趣，在网上下载了您发布的代码。训练过程十分顺利，在推理单个修复结果（即运行python scripts/inference.py --name OUTPUT/transformer_naturalscene/checkpoint/last.pth --func inference_complet_sample_in_feature_for_evaluation --gpu 0 --batch_size 1  此行代码时），系统报了许多错，例如：AttributeError: 'PatchVQGAN' object has no attribute 'emb_proj'等
根据debug的过程来看，发现系统在调用patch_vqgan.py文件中的PatchVQGAN类时，用到了很多masked_image_inpainting_transformer_in_feature.py文件中写到的属性和方法，而PatchVQGAN类中并未定义这些方法和属性，那么程序可不可以直接调用masked_image_inpainting_transformer_in_feature.py文件里的方法呢。
由于程序的代码量对我来说很大，我做了许多尝试后发现自己并不能在短时间内读懂代码并解决这个问题，故而冒昧向您求助，热切盼望您能在百忙之中抽空回复我的邮件，解答疑惑。
祝您科研顺利，生活愉快！
------------------ 原始邮件 ------------------
发件人:                                                                                "liuqk3/PUT"                                                                                @.>;
发送时间: 2022年10月11日(星期二) 下午4:55
@.>;
@.@.>;
主题: Re: [liuqk3/PUT] About inference (Issue #12)
Hi @dongdongdong233 ,
Thanks for your interests.
Sorry for this mistake. The relative_path is just used to save the completed results. You can simply modify the config file like the following example:
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @dongdongdong233 ，
P-VQVAE is just and auto-encoder, which can not inpaint the images but only reconstruct the images. If you want to inpaint an image, you need to train a UQ-Trainsformer further (or use our pretrained models). After that, you can use the command python scripts/inference.py --name path/to/transformer/last.pth --func inference_complet_sample_in_feature_for_evaluation --gpu 0 --batch_size 1

您好，感谢您优秀的工作。我下载您的预训练模型进行推理测试遇到一些问题想请教您。

在inference之前，我首先将自己准备的6张ffqh测试图和mask分别放入新建的文件夹下。然后修改OUTPUT/model_name/configs/config.yaml 文件中的data_root,provided_mask_name 和 name，用来指向自己存放的测试图路径。但是在运行inference后没有出现测试图的结果，并显示Missing keys in created model:[]Unexpected keys in state dict: []Found masks length 0, set to None等提示。我想程序并没有接收我指定的测试图，想请教您如果要测试少量自己准备的图片，我是还需要更改.yaml中的其他地方吗？期待您的解答。

From the logs you provided, it seems that the images are not located correctly, which means 0 images need to be inpainted. You can have a debug about the class ImageListDataset in PUT/image_synthesis/data/image_list_dataset.py to see how the images are located in these codes and provid correct paths to your images and masks.
Thanks.

From the logs you provided, it seems that the images are not located correctly, which means 0 images need to be inpainted. You can have a debug about the class ImageListDataset in PUT/image_synthesis/data/image_list_dataset.py to see how the images are located in these codes and provid correct paths to your images and masks.
Thanks.

Thanks for your  prompt reply，I‘ll try it.

你好，在测试的过程中，我发现测试的mask似乎并不是我指定的mask，我想问一下应该如何设定呢，而且测试的mask覆盖率普遍在百分之30之上？

@liuqk3
Hi,
Thanks for the excellent work, when I run the inference.py, My program output is：
Traceback (most recent call last):
File "scripts/inference.py", line 859, in
launch(inference_func_map[args.func], args.ngpus_per_node, args.num_node, args.node_rank, args.dist_url, args=(args,))
File "/data/zixuan/PUT/image_synthesis/distributed/launch.py", line 52, in launch
fn(local_rank, *args)
File "scripts/inference.py", line 204, in inference_reconstruction
rec = model.decode(token['token'], combine_rec_and_gt=False, token_shape=token.get('token_shape', None))
File "/data/zixuan/anaconda3/envs/ImgSyn/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/data/zixuan/PUT/image_synthesis/modeling/codecs/image_codec/patch_vqgan.py", line 1501, in decode
rec = self.decoder(quant, self.mask_im_tmp, mask=self.mask_tmp)
File "/data/zixuan/anaconda3/envs/ImgSyn/lib/python3.7/site-packages/torch/nn/modules/module.py", line 948, in getattr
type(self).name, name))
AttributeError: 'PatchVQGAN' object has no attribute 'mask_im_tmp'
Could you please help me to solve this problem?
Looking forward to your reply！

@liuqk3
Hi,
Thanks for the excellent work, when I run the inference.py, My program output is：
@liuqk3
Hi,
Thanks for the excellent work, when I run the inference.py, My program output is：
Traceback (most recent call last):
File "scripts/inference.py", line 859, in
launch(inference_func_map[args.func], args.ngpus_per_node, args.num_node, args.node_rank, args.dist_url, args=(args,))
File "/data/zixuan/PUT/image_synthesis/distributed/launch.py", line 52, in launch
fn(local_rank, *args)
File "scripts/inference.py", line 204, in inference_reconstruction
rec = model.decode(token['token'], combine_rec_and_gt=False, token_shape=token.get('token_shape', None))
File "/data/zixuan/anaconda3/envs/ImgSyn/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/data/zixuan/PUT/image_synthesis/modeling/codecs/image_codec/patch_vqgan.py", line 1501, in decode
rec = self.decoder(quant, self.mask_im_tmp, mask=self.mask_tmp)
File "/data/zixuan/anaconda3/envs/ImgSyn/lib/python3.7/site-packages/torch/nn/modules/module.py", line 948, in getattr
type(self).name, name))
AttributeError: 'PatchVQGAN' object has no attribute 'mask_im_tmp'
Could you please help me to solve this problem?
Looking forward to your reply！
Could you please help me to solve this problem?
Looking forward to your reply！

@liuqk3
Hi,
Thanks for the excellent work, when I run the inference.py, My program output is：
Traceback (most recent call last):
File "scripts/inference.py", line 859, in
launch(inference_func_map[args.func], args.ngpus_per_node, args.num_node, args.node_rank, args.dist_url, args=(args,))
File "/data/zixuan/PUT/image_synthesis/distributed/launch.py", line 52, in launch
fn(local_rank, *args)
File "scripts/inference.py", line 204, in inference_reconstruction
rec = model.decode(token['token'], combine_rec_and_gt=False, token_shape=token.get('token_shape', None))
File "/data/zixuan/anaconda3/envs/ImgSyn/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/data/zixuan/PUT/image_synthesis/modeling/codecs/image_codec/patch_vqgan.py", line 1501, in decode
rec = self.decoder(quant, self.mask_im_tmp, mask=self.mask_tmp)
File "/data/zixuan/anaconda3/envs/ImgSyn/lib/python3.7/site-packages/torch/nn/modules/module.py", line 948, in getattr
type(self).name, name))
AttributeError: 'PatchVQGAN' object has no attribute 'mask_im_tmp'
Could you please help me to solve this problem?
Looking forward to your reply！

I also encountered this problem.

@Lecxxx ,
I think the error is thrown by the reconstruction function. Currently, the pretrained P-VQVAE is not seperately provided. You can try the inpainting function.

@liuqk3,
thanks so much for your replying!
I also want to ask how to set parameters to achieve multi GPU training.

从您提供的日志来看，图像似乎未正确定位，这意味着需要绘制 0 个图像。您可以对类进行调试，以查看图像在这些代码中的位置，并提供图像和蒙版的正确路径。ImageListDataset``PUT/image_synthesis/data/image_list_dataset.py
谢谢。

感谢您的及时回复，我会尝试的。

嗨，感谢您的出色工作，当我运行 inference.py 时，我的程序输出是：
回溯（最近一次调用）：文件 “scripts/inference.py”，第 859 行，在 launch（inference_func_map[args.func]， args.ngpus_per_node， args.num_node， args.node_rank， args.dist_url， args=（args，）） 文件 “/data/zixuan/PUT/image_synthesis/distributed/launch.py”，第 52 行，在 launch fn（local_rank， *args） 文件中 “scripts/inference.py”，第 204 行，inference_reconstructionrec = model.decode（token['token']， combine_rec_and_gt=False， token_shape=token.get（'token_shape'， None）） File “/data/zixuan/anaconda3/envs/ImgSyn/lib/python3.7/site-packages/torch/autograd/grad_mode.py”，第 27 行，在 decorate_context return func（*args， **kwargs） 文件 “/data/zixuan/PUT/image_synthesis/modeling/codecs/image_codec/patch_vqgan.py”，第 1501 行，解码 rec = self.decoder（quant， self.mask_im_tmp， mask=self.mask_tmp） 文件 “/data/zixuan/anaconda3/envs/ImgSyn/lib/python3.7/site-packages/torch/nn/modules/module.py”，第 948 行，在 getattr type（self）.name， name）） 属性错误：“PatchVQGAN”对象没有属性“mask_im_tmp”
你能帮我解决这个问题吗？期待您的回复！

您好，请问这个问题您解决了吗

@Lecxxx @Hgy12345 While inpainting with inference.py or inference_inpainting.py, the argument --func inference_inpainting is required. Please read readme.md carefully.


text:
Parallel assumption and complex topologies

Hi Ruijin,
First of all, congratulations on the great work! The results look amazing, and I particularly liked the equation derivation part.
If my understanding is correct, the paper used shape consistency constraint which basically assumes that the lanes are parallel polynomials. This perhaps covers only 90% of the case but it does not seem to address more complex topologies such as merges and splits. Any insights you could shed on this?

Hi @lz707 ,
Thanks for your interest and sorry for getting back to you so late!
Yes, your understanding is correct.
The current scenario considered in our method is one in which the vehicle is driving steadily on the road and the road is clearly marked with lane markings.
Merges and splits are a great follow-up. In this scenario the lane patterns get complicated and the global parallel assumptions obviously cause problems.
For example, there are 4 lanes near the freeway ramp, and the left 2 lanes are straight while the 2 on the right are curved. We think

a more flexible local parallel assumption that can automatically cluster lanes of the same shape.
a more diverse dataset containing the aforementioned lane patterns is also critical.

Some brief insights and I welcome in-depth discussion!


text:
fix 3box integration

What does this pull request do? Explain your changes.
This PR fixes the 3box integration bug preventing users from updating their 3box profiles and includes a couple minor enhancements to the create/edit profile user flow.
Specific updates

Updates to latest 3box.js dependency
Updates next.js dependency
Disables the edit profile save button if form isn't in a dirty state
Returns missing fields in the updateProfile mutation response causing the profile to flicker upon submission.
Removes no longer needed 3box and babel yarn resolutions

Does this pull request close any open issues?
Fixes #707
Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

Did a quick review of the code, but mainly used the Now preview (super handy!)

🙏 Yeah, Vercel's github integration is really great.

repo: livepeer/livepeerjs


text:
Update CHANGELOG.md

Add wrong livereload pattern fix to the list of unreleased PR's

Can you please add this to #83, it should be part of the same PR

sure, going to fix te failing tests also.

authors: bcardarella cmnstmntmn


text:
Raw results issues

Hi, thanks for your work.
Since your raw results on datasets are on your homepage, I download them for research.
But I found some issues in your raw results, which NL initializes.
The raw result of the first frame of each sequence is the same as that of the first frame of groundtruth. That differs from how to get the result of the first frame you mentioned in your paper, which is obtained by grounding.
I hope to receive some answers about this. Thank you! @lizhou-cs

Hello, thank you for your attention to our work. First of all, it should be noted that for the target state of the first frame, we predicted it rather than using ground truth. You can refer to this section of the code for details. Code Link
            self.template_dict = [template_src, template_mask]
            with torch.no_grad():
                out_dict = self.network.forward_test(self.text_dict, self.template_dict, grounding_patch, None)
                scale_box = self._get_templates_and_anno(image, out_dict['pred_boxes'], image_top_coords,
                                                         self.params.grounding_size)
                # return shape: (b,4)
                scale_box = scale_box.squeeze()
            self.template_roi_feature = out_dict['roi_feature'].flatten(2)  # (B, C, H', W') -> (B, C, H'W')
            z_patch_arr, _, z_amask_arr = sample_target(image, scale_box, self.params.template_factor,
                                                        output_sz=self.params.template_size)
            self.template_img, _, _ = sample_target(image, scale_box, 1.0,
                                                    output_sz=144)
            template = self.preprocessor.process(z_patch_arr).cuda()
            self.state = scale_box.tolist()

As for the Raw Result being the same as GT, it is because according to the original code paradigm, the results are saved starting from the second frame, and we have not modified this part. Thank you for pointing it out, and we will make changes to this part of the code in the future.

repo: lizhou-cs/JointNLT


text:
Search window stuck in position precluding ability to search for star

Search subwindow remains stuck to the top of the screen like the Query Dialog does. See image "search subwindow stuck". Repositioning the display window has no effect. When invoked, the search subwindow remains stuck to the top of the screen.
Note that the subwindow is not useable in this position. A pull-down menu of stars can be accessed, but the space in which to type a star's name does not accept any input. (Probably not enough is registered on screen?).
Note also that the confusion of labeling this "Stars in View" is further exacerbated by the fact that the pull-down star list offers exactly that: a roster of stars that are LITERALLY in view. So the idea that anyone would presume that "in view" actually means "loaded and available for display and manipulation" is further undermined by this confirmation of the label's most apparent meaning.

I added code to figure out where it would plot and make sure it would not be off screen

repo: ljramones/trips


text:
Validar o input da criação de contas

Os inputs do nome  e CPF das novas contas criadas devem passar por uma validação previa antes de serem aceitas

Conforme o commit 1842b72, adicionei validação de inputs de Nome e CPF para a criação dos usuários. O botão de adicionar conta ficará desativado até que o usuário preencha as informações de forma correta nos campos.
Para isso, implementei os seguintes métodos no AddAccountModal.xaml.cs:

        //----------------------------------------------------------------------------
        private void InputsValidation()
        {
            dialog.IsPrimaryButtonEnabled = false;
            if (IsNameInputValid == true && IsCPFInputValid == true)
                dialog.IsPrimaryButtonEnabled = true;
            else
                dialog.IsPrimaryButtonEnabled = false;
        }

        //----------------------------------------------------------------------------
        // This is a workaround but it's good for now.
        // At least we can have a small input validation and can improve upon this.
        // Maybe later we can add the INotifyPropertyChanged interface.
        private void InputName_TextChange(object sender, TextChangedEventArgs e)
        {
            Regex regex = new Regex("^[a-zA-Zа]{1,20}$");
            if (String.IsNullOrEmpty(Name.Text))
            {
                ErrorMessage_Name.Visibility = Visibility.Visible;
                ErrorMessage_Name.Text = Name.Text + "Por favor digite um nome.";
                IsNameInputValid = false;
            }
            else if (!regex.IsMatch(Name.Text))
            {
                ErrorMessage_Name.Visibility = Visibility.Visible;
                ErrorMessage_Name.Text = Name.Text + " não é um nome válido. Por favor insira outro nome.";
                IsNameInputValid = false;
            }
            else
            {
                ErrorMessage_Name.Visibility = Visibility.Collapsed;
                IsNameInputValid = true;
            }
            InputsValidation();
        }

        //----------------------------------------------------------------------------
        // This is a workaround but it's good for now.
        // At least we can have a small input validation and can improve upon this.
        // Maybe later we can add the INotifyPropertyChanged interface.
        private void CPFNumber_TextChange(object sender, TextChangedEventArgs e)
        {
            Regex regex = new Regex("^\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}$");
            if (String.IsNullOrEmpty(CPF.Text))
            {
                ErrorMessage_CPF.Visibility = Visibility.Visible;
                ErrorMessage_CPF.Text = CPF.Text + "Por favor digite um número de CPF.";
                IsCPFInputValid = false;
            }
            else if (!regex.IsMatch(CPF.Text))
            {
                ErrorMessage_CPF.Visibility = Visibility.Visible;
                ErrorMessage_CPF.Text = CPF.Text + " não é um CPF válido. Por favor insira um número de CPF.";
                IsCPFInputValid = false;
            }
            else
            {
                ErrorMessage_CPF.Visibility = Visibility.Collapsed;
                IsCPFInputValid = true;
            }
            InputsValidation();
        }

No momento isso é mais um workaround, podemos implementar validações mais robustas depois, mas pelo menos isso pode previnir erros (intencionais ou não) do usuário.

authors: andavgc lknknm

repo: lknknm/REZ-menu-app


text:
🛑 Goodmd total.good-md.com:5280 is down

In 7585c9d, Goodmd total.good-md.com:5280 (https://total.good-md.com:5280) was down:

HTTP code: 503
Response time: 1353 ms

Resolved: Goodmd total.good-md.com:5280 is back up in 90a6a5a after 2 hours, 40 minutes.

repo: lksjames/monitoring


text:
🛑 까사미아 www.guud.com is down

In 57b5ddc, 까사미아 www.guud.com (http://www.guud.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 까사미아 www.guud.com is back up in 03d475e after 25 minutes.


text:
Change the Help icon in Flip activity

The help icon in Flip activity is not consistent with others help buttons in Sugarizer.
It's not used to explain how to play but to solve one step into the game.
Transform the Help icon into the "Robot" icon use in Reflection activity: https://github.com/llaske/sugarizer/blob/master/activities/Reflection.activity/icons/robot-on.svg

#220 just replaces the image of the help icon with the robot on icon. This was tested in Google Chrome as an unpacked web app, and it worked.

authors: HarrisonLKatz llaske

repo: llaske/sugarizer


text:
An error pops while intergrating the norrisbot

/npm-debug.log/
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using npm@2.11.3
3 info using node@v0.12.7
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart norrisbot@1.0.4
6 info start norrisbot@1.0.4
7 verbose unsafe-perm in lifecycle true
8 info norrisbot@1.0.4 Failed to exec start script
9 verbose stack Error: norrisbot@1.0.4 start: node bin/bot.js
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
9 verbose stack     at EventEmitter.emit (events.js:110:17)
9 verbose stack     at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack     at ChildProcess.emit (events.js:110:17)
9 verbose stack     at maybeClose (child_process.js:1015:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
10 verbose pkgid norrisbot@1.0.4
11 verbose cwd /var/www/html/norrisbot
12 error Linux 3.16.0-46-generic
13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
14 error node v0.12.7
15 error npm  v2.11.3
16 error code ELIFECYCLE
17 error norrisbot@1.0.4 start: node bin/bot.js
17 error Exit status 1
18 error Failed at the norrisbot@1.0.4 start script 'node bin/bot.js'.
18 error This is most likely a problem with the norrisbot package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     node bin/bot.js
18 error You can get their info via:
18 error     npm owner ls norrisbot
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

Hey @SibuStephen,
Why did you closed the issue? Have you been able to sort it out on your own? If there was any kind of error you solved it would be nice to share it here as a reference for other people.
Anyway I just updated the install instructions because there was some errors in it, so the new readme should be easier to follow.

Hey @lmammino  Yes I figured out the error, it was just because I didn't  install some of the dependencies, soon as I realized that, I closed this issue :) , but still there are some issues i'm facing which i will be Creating a new  PR or raise an issue for that as such

Thanks @sibustephen, I really look forward to receiving your PR

authors: SibuStephen lmammino

repo: lmammino/norrisbot


text:
'width' key must be a positive Integer

After recent changes width and height doesn't work with float values.
Getting this error from toggleterm:
.../toggleterm/ui.lua:362: 'width' key must be a positive Integer

Default config used from Readme:
-- Defaults
require("lf").setup({
  default_cmd = "lf", -- default `lf` command
  default_action = "edit", -- default action when `Lf` opens a file
  default_actions = { -- default action keybindings
    ["<C-t>"] = "tabedit",
    ["<C-x>"] = "split",
    ["<C-v>"] = "vsplit",
    ["<C-o>"] = "tab drop",
  },

  winblend = 10, -- psuedotransparency level
  dir = "", -- directory where `lf` starts ('gwd' is git-working-directory, ""/nil is CWD)
  direction = "float", -- window type: float horizontal vertical
  border = "double", -- border kind: single double shadow curved
  height = 0.80, -- height of the *floating* window ===========> Culprit
  width = 0.85, -- width of the *floating* window ===========> Culprit
  escape_quit = true, -- map escape to the quit command (so it doesn't go into a meta normal mode)
  focus_on_open = false, -- focus the current file when opening Lf (experimental)
  mappings = true, -- whether terminal buffer mapping is enabled
  tmux = false, -- tmux statusline can be disabled on opening of Lf
})

This should've been fixed with #87a72c6. Please let me know.

Yes, it fixed, but I had to change the default config as per the readme.

What did you change it to? I use the default configuration and it works for me.

Had to remove these two lines from my existing height and width:
height = 0.80, -- height of the *floating* window ===========> Culprit
width = 0.85, -- width of the *floating* window ===========> Culprit

These settings now looks like this as per new default config in readme.
 height = fn.float2nr(fn.round(0.75 * o.lines)), -- height of the *floating* window
 width = fn.float2nr(fn.round(0.75 * o.columns)), -- width of the *floating* window


text:
How to handle categorical variables in Parametric UMAP?

First of all, thank you so much for releasing the Parametric UMAP it works like dream. now I am able to project the unseen data in just a sec and it really helps with my use case.
Currently, I have a mixed dataset and I simply use the one-hot for categorical variables, I have read some old posts before parametric UMAP is available, the approach is to separate the numerical and categorical features into two and one use jaccard/dice distance metrics then combine together. I am wondering if that's still the best way to go with the Parametric UMAP. or if there is a way that we can fit the embedding through umap_loss.
thanks in advance!

I would get @timsainb to weigh on more detailed aspects. PramatericUMAP doesn't support combining models in the same way, so you will need to simply come up with a reasonable distance metric across the combined data. I would suggest that part of the answer essentially lies in the fact that you can design and use whatever architecture of neural network you want within ParametricUMAP. For example, I know Tim used convolutional networks specifically for the image datasets, and RNNs for some of the other sequence type datasets. That means that whatever style of network would work best for the mixed data, and that will help with the optimization phase.
As to what matric to use for at least handling the distance computation part? Perhaps some variant of Gower distance would work well enough?

authors: SoulEvill lmcinnes

repo: lmcinnes/umap


text:
cerebro and datastreams

HI
can I get cerebro to list "hidden" indexes produced by data streams?

@rful011 Checking the .special checkbox on the cluster overview should display all hidden indices as well. Did you try that?

I close this. @rful011 feel free to reopen it if you continue having the problem

authors: lmenezes moliware rful011

repo: lmenezes/cerebro


text:
Swift package manager support

Swift Package Manager is a lot less flexible than CocoaPod and regular Framework, so it induces a the following changes in the regular Framework based GBDeviceInfo:

Prefix headers are not available with SPM, so I updated the sources accordingly,
Public headers are required to be in a separate directory,
Packages force cross platform support, so all inside a package must compile on all supported platform. I added #if guards to make this work. If was not possible to make an iOS and then an OSX package (or target) as they cannot then share code.
as a consequence of the above, the package name is always GBDeviceInfo regardless of the platform

Unrelated with SPM, I changed the storyboard of the Example project to work under dark mode.

This is great, thanks!

authors: Qandelor lmirosevic

repo: lmirosevic/GBDeviceInfo


text:
Update README.md

update version number

This is great, thanks @0xa6a


text:
How to set which GPU to use?

If there are more than 1 GPU on the machine, where is the settings to point LMStudio to work on which GPU? Thanks.

@htsyclob there are no in-app settings for multi GPU config yet, you need to look up CUDA_VISIBLE_DEVICES

how to set it in windows？

@htsyclob there are no in-app settings for multi GPU config yet, you need to look up CUDA_VISIBLE_DEVICES
how to set it in windows？

I had soved it :
create bat file on anywhere, bat like this:
start_lm_studio.bat
@echo off set CUDA_VISIBLE_DEVICES=1 start "" "C:\Users\Administrator\AppData\Local\LM-Studio\LM Studio.exe"

thanks for your ideas！！！

authors: Gierry YorkieDev htsyclob

repo: lmstudio-ai/lms


text:
Sectioning Codes

Every section now begins with either the section symbol+space+number+.+space+word or SEC.+space+number+.+word at the beginning of a line. Any line that begins with TITLE, CHAPTER, ARTICLE, SECTION, DIVISION, or SUBDIVISION is header material and thus the termination of the previous section.
Anything that does not begin with the section symbol or SEC. could be disregarded or deleted if we want to after chunking.
As for fuzzyiness--SEC. may have upper or lower cases or be mixed, and there may be a few instances where I missed the period. There may also be some instances where I mistook an L or O for a 1 or 0.

Should be fixed.

repo: lmullen/civil-procedure-codes


text:
Update license

PR to update license

@CodiumAI-Agent /review

PR Reviewer Guide 🔍

⏱ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No key issues to review

authors: CodiumAI-Agent lnxd

repo: lnxd/ocd-verify


text:
🛑 IP @ lobner.dk is down

In 5e38a08, IP @ lobner.dk (https://ip.lobner.dk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IP @ lobner.dk is back up in 36b3d3d after 10 minutes.

repo: lobner/status


text:
GEOMESA-1865 Refactor bin file computation for common use

Signed-off-by: Jim Hughes jnh5y@ccri.com

closing this in favor of #1571

repo: locationtech/geomesa


text:
GEOMESA-2628 Table partitioning indicates if no tables can match a filter

TablePartition.partitions changed to return an Option[Seq[String]] to
indicate disjoint filters

Signed-off-by: Emilio Lahr-Vivaz elahrvivaz@ccri.com

I tried this out and it behaves as advertised. I am now able to quickly query my merged and partitioned data store with a temporal query that does not overlap any of the partitions in one of the stores.

authors: elahrvivaz khobbs-ccri


text:
toRaster is slow even for very small images

From @metasim on September 25, 2017 19:41
Tests in RasterFrameSpec and ExplodeSpec show this.
Copied from original issue: s22s/raster-frames#27

"Stack Trace";"Sample Count";"Percentage(%)"
"geotrellis.raster.merge.SinglebandTileMergeMethods$class.merge(SinglebandTileMergeMethods, Extent, Extent, Tile, ResampleMethod)";"1,277";"61.721"
"   geotrellis.raster.package$withTileMethods.merge(Extent, Extent, Tile, ResampleMethod)";"1,277";"61.721"
"      geotrellis.raster.package$withTileMethods.merge(Extent, Extent, Object, ResampleMethod)";"1,277";"61.721"
"         geotrellis.spark.tiling.CutTiles$$anonfun$apply$1$$anonfun$apply$2.apply(Tuple2)";"1,277";"61.721"
"            geotrellis.spark.tiling.CutTiles$$anonfun$apply$1$$anonfun$apply$2.apply(Object)";"1,277";"61.721"

repo: locationtech/rasterframes