text:
Should I load the model in 4bit for fine-tuning?

First of all, I love Unsloth 🦥 , thank you @danielhanchen!
I've got a couple of questions but they're all a bit related with each other:
4-Bit models
The Wiki says:

To merge to 4bit to load on HuggingFace, first call merged_4bit. Then use merged_4bit_forced if you are certain you want to merge to 4bit. I highly discourage you, unless you know what you are going to do with the 4bit model (ie for DPO training for eg or for HuggingFace's online inference engine)
model.save_pretrained_merged("model", tokenizer, save_method = "merged_4bit",)
model.push_to_hub_merged("hf/model", tokenizer, save_method = "merged_4bit", token = "")

which (ie for DPO training for eg or for HuggingFace's online inference engine) sounds like you shouldn't finetune using a 4bit model and I'm aware that's generally discouraged.
However that's what Unsloth does in principle - Or is it? What's the difference and what's recommended?

Adapters vs Merged (in 4 bit?)
In my use case I'm starting with Mistral 4bit, then fine-tuning it on a larger dataset using certain LoRA rank/alpha that make sense for that, and then I want to further fine tune it on a smaller dataset using different LoRA rank/alpha parameters.
I've tried doing this in two ways:

First: fine-tune using r=16 and a=16, merge in 4bit, reload and fine-tune using r=8 and a=8
Second: fine-tune using r=16 and a=16, push adapters, reload adapters and continue fine tuning (still using r=16 and a=16)

Across these two, my dataset has also changed and I've also changed the training parameters so I can't reliably understand what worked best for me but from my anecdotal experience continuing fine-tuning with those LoRA parameters doesn't work as it overfits the second (smaller and different) dataset.
What is the recommended approach: continuing fine-tuning or merge and start again? And if I merge, should I merge in 4 bit as the original unsloth models or do something different?
Thanks

@mpreziuso Apologies this missed me!
Both of your strategies are fine, but I would opt for option 2. It's also more efficient. On new datasets, I suggest using the old dataset and merging even a small part of it together with the new dataset

Yes!
Oh ORPO can be helpful as well

authors: danielhanchen mpreziuso

repo: unslothai/unsloth


text:
Any Plans to integrate Mojo?

The lookup and evaluations could highly benefit from mojo especially in terms of parallelizing.

Do you mean this? It seems irrelevant to our project. On top of that, Mojo is not even open source (as of now).

source: gharchive/issue

authors: AussieSeaweed drdiffie

repo: uoftcprg/pokerkit

license: MIT

license_type: permissive

license_source: github-api


text:
Significant memory usage with golangci-lint

What happened?
When running make reviewable test, golangci-lint v1.50.0 will use significant amounts of memory, often being killed by the OS.
Below are screenshots from testing on Mac M1 and Linux systems showing memory usage in the 40+GB:

There are numerous issues on the golangci-lint repo: https://github.com/golangci/golangci-lint/issues/3536
How can we reproduce it?
Run make reviewable test, observe memory usage of the golangci-ling process.
What environment did it happen in?

Crossplane Version:
Provider Version: master branch
Kubernetes Version:  1.27.1
Kubernetes Distribution: kind

@phisco has a workaround for now:
GO_LINT_ARGS=" --disable musttag " make -e reviewable test

@stevendborrelli, the upstream issue had closed and the related PR had merged, is this issue still valid?

Thanks for the information @phisco.

Covered with https://github.com/upbound/provider-aws/pull/829

authors: stevendborrelli turkenf

repo: upbound/provider-aws


text:
Moving api_management(7) resources to v1beta1 version

api_management 7

[ ]  azurerm_api_management_api_tag_description
[ ]  azurerm_api_management_gateway_api
[ ]  azurerm_api_management_gateway_certificate_authority
[ ]  azurerm_api_management_gateway_host_name_configuration
[ ]  azurerm_api_management_global_schema
[ ]  azurerm_api_management_group_user
[ ]  azurerm_api_management_product_tag

azurerm_api_management_api_tag_description fails with incorrect id (config is IdentifyFromProvider)
    apiTagId: /subscriptions/038f2b7c-3265-43b8-8624-c9ad5da610a8/resourceGroups/apitagdescription-rg/providers/Microsoft.ApiManagement/service/apitagdescription-mngmnt/tags/apitagdescription-tag
cannot run refresh: refresh failed: ID was missing the
      `apis` element:

repo: upbound/provider-azure


text:
ci: configure renovate

Signed-off-by: Philippe Scorsolini p.scorsolini@gmail.com
Description of your changes
In order to automatically keep dependencies updated this patch adds the needed configuration for Renovate.
A maintainer still has to install the github application and enable it on this repo: https://github.com/apps/renovate.
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Running renovate bot against my fork: https://github.com/phisco/provider-gcp

Let's wait to merge https://github.com/crossplane/crossplane-runtime/pull/370 first

source: gharchive/pull-request

repo: upbound/provider-gcp


text:
Simplify process for creating a new release branch

Description of your changes
The existing process relying on rebase became more challenging with the recent state. With v1.14 release, I had to resolve conflicts for ~15 commits which even includes a revert.
This PR proposes a simplified one without any rebase, leveraging git diff.
I have:

[x] Read and followed Upbound's contribution process.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] ~Added backport release-x.y labels to auto-backport this PR, as appropriate.~

How has this code been tested
See https://github.com/upbound/crossplane/pull/109

would be interesting to see if using rerere would have simplified the rebasing: https://stackoverflow.com/questions/31401754/why-does-the-same-conflict-reappear-when-i-use-git-rebase

It is strange. I rebased / force pushed and PR is closed saying it is merged and closed 🤔

Opened https://github.com/upbound/universal-crossplane/pull/427

authors: phisco turkenh

repo: upbound/universal-crossplane


text:
🛑 Main Website (NEW) is down

In 3e3d25e, Main Website (NEW) (https://prod.upmin.edu.ph) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Main Website (NEW) is back up in bbcac83 after 9 minutes.

repo: upmin-dev/UP-time


text:
Cannot login with Coinbase Wallet

Describe the bug
Try to log in by clicking "Create Profile" on landing page, see spinning wheel, ... it doesn't stop.
To Reproduce
Steps to reproduce the behavior:

Coinbase Wallet
alpha.3box.io
Click Create Profile
See spinning error

Expected behavior
I expect to promptly be logged in.
Screenshots
n/a
Tech
iOS, iPhone X, Coinbase Wallet

Unable to reproduce

Seems to work now! Closing

authors: michaelsena oznekenzo


text:
update address server url

Updated the address server URL

@oed yes it seems. I was using prettier-standard for formatting. In the weekend I did a clean install and I'm just using standard to format so we don't will have this styling conflicts in the future.

@c-castillo I was still testing this, it was not ready to be merged yet!

🙈

Seems like there are still some issues with the request done to the address-server. Anyway I'll fix those in a new PR.

@c-castillo But in general don't merge PRs before you have at least one person that has approved :)

authors: c-castillo oed


text:
Update scan func to accept SNS event

S3 buckets can only trigger a single event per event type (in thise case - object created)
so when you need to trigger multiple things from a single s3 event, you
need to send the original s3 event to an SNS queue and then subscribe
your lambda functions to that queue - rather than direct invocation.
this changeset unwraps the original s3 event from the SNS event that
triggers the function

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant pathouse

repo: upsidetravel/bucket-antivirus-function

license_source: bigquery


text:
How to use Bulk() with NewUpdate() ?

I am unable to make work the Bulk() function. There is no example in docs. Can you please tell me if it's possible to use Bulk() to bulk update without manually creating CTE?

OrderStages := []OrderStage{}
_, err = database.DB.NewUpdate().
		Model(&OrderStages).
		Bulk().
		Exec(ctx)

I was able to make it work but this updates all the columns. Is it possible to update specific column with bulk?

See https://bun.uptrace.dev/guide/queries.html#update - there is an example how to update multiple books.

Thanks. works perfectly fine.

Why did you close this issue? Were you not able to reproduce this issue?

@imraan-go you've changed the message :) Anyway, this should work in 1.0.0-rc.3 - please try.

@imraan-go you've changed the message :) Anyway, this should now work in 1.0.0-rc.3 - please try.

I am not able to use this version. go get -u does not update bun. https://pkg.go.dev/github.com/uptrace/bun shows latest version is 0.4.3

Try
go mod edit -require github.com/uptrace/bun@1.0.0-rc.3

go: errors parsing go.mod: go.mod:10:2: require github.com/uptrace/bun: version "1.0.0-rc.3" invalid: unknown revision 1.0.0-rc.3

I've missed v in the version
go mod edit -require github.com/uptrace/bun@v1.0.0-rc.3

Thanks, It works perfectly fine.

authors: imraan-go vmihailenco

repo: uptrace/bun


text:
NetGuard gets reset to Optimized (battery) after reboot on xiaomi poco x3 ... Feedback for Xiaomi page

Please note that since fairly recently, 1-2 weeks ago (max. 2, I'd say) after each device reboot (at least on xiaomi poco x3 pro, up to date) the Battery Optimization setting(not the Battery saver one) for NetGuard will be reset from "Don't Optimize" to "Optimize". This has the effect of allowing the NetGuard GUI (and its permanent notification) to live and work full time but all firewall features will silently not work (you can check Logging in Netguard to see no new entries) after a while whdn thd OS actuzlly decides to apply the Optimization hammer onto NetGuard.
Other apps get changed from "Optimized" to "Don't Optimize" too like Analitics, Cast.
Here's a before and after reboot:

The other 3 required settings so that NetGuard stays alive(and isn't syopped by the OS) aren't touched. (they're: the lockpad, the autostart on, the battery saver to unrestricted, and the 4th being the above one)
So again the UI of NetGuard works, it even thinks NetGuard is on and firewall is working, but some part of it must've been stopped by the OS so that the effect is that you have no firewall and every app has full internet access. So for example an app that I never gave any access to, like the YouTube app, will fully work(have full network access) and NetGuard won't even notice. (in its Logs window either)
Possible workaround: set two bogus IPs(ie. local IPs for non-existent machines) for DNS for the wireless network (so that Android thinks you've no internet access, in a notification that it pops up when you turn on wireless), and then (optionally?) set two good IPs inside NetGuard's DNS options. So this way, if an app doesn't try DoH or access its own dns IPs, it will fail to access internet, when NetGuard isn't working. Better than nothing.
Also possibly try "Block connections without VPN" but NetGuard doesn't like this option so it will nag you about it. (seems to work thus far, but NetGuard seems to expect Android won't send any host requests to the VPN after a while? didn't yet happen for me, so I'm keeping the option)
Btw, the xiaomi page could mention this "Battery Optimization" feature, as it's different than the "Battery saver" one, and very much needed.

Also note the the NetGuard app doesn't live on external storage like mentioned in https://github.com/urbandroid-team/dont-kill-my-app/issues/179

"Battery optimization" is gone from the UI in MIUI 13 (which is updated from android 11 in the previously mentioned MIUI, to android 12 in MIUI13) but it can be opened by the playstore app with id "com.ceyhan.sets".

repo: urbandroid-team/dont-kill-my-app


text:
q: What's the use of this error?

What's the use of this error?
app.Commands = []*cli.Command{
    {
        Action: func(ctx *cli.Context) error { ... }
    }
}

I tried to return a error in ActionFunc, I think that app.Run() will return an error as well, but it didn't, so what's the use of this error?

I went to read the source code...
the program will first call app.Action, if the function return an error, it will be handled by context.App.handleExitCoder().

I went to read the source code...
the program will first call app.Action, if the function return an error, it will be handled by context.App.handleExitCoder().

repo: urfave/cli

license: mit


text:
Скрипт заполнения базы через API

https://github.com/urfu-2016/team5/issues/30
После этой задачи нужно сделать, чтобы наполнение базы не происходило напрямую

#63

authors: AlSoEdit dimastark


text:
fix to more responsive CSS

The design looks awesome but I do not see any specs on the figma link provided in #37 to how this component should look on narrower screens. Should this navbar become a :hamburger: menu ≡ ?
I would love to contribute this code fix myself, just help me with the UI/UX design 👍

Firefox for Android
Chrome for Android

@avivnakar
Hi, thanks for the attention!
Our designer create a UI/UX and I will let you know the details as soon as possible :)

@avivnakar do you want to take it?
The design is ready!
Create sticky footer in the mobile.
Link to Figma: https://www.figma.com/file/R4hJBfn1ghnKjTV73j0shr/Pull_Req?node-id=0%3A1

@avivnakar
Hi what's up? :)
Do you had any progress on this issue?
Do you need any help?

Hi, thanks for asking. I haven't had any progress yet. I could use some help initiating myself. Who can help me with this?

@avivnakar
How can we help you with that?

That's actually a good question! I believe mainly positive peer pressure 😄
Frequent status checking and such might help. I am now digging into the design. There are a few minor differences, should it be fixed as well?

@avivnakar
Yes, thanks for the attention. :)
If you need any help feel free to reach me at discord.

I can take this if its available

authors: DoviMaj MichalPorag avivnakar

repo: urish/pull-request-community


text:
Arbeitszeit: variable Daten je Tag

In unserem Unternehmen gibt es viele Teilzeitkräfte, es wäre toll, die Möglichkeit zu haben, deren Anwesenheiten "exakt" erfassen zu können.
Montag 08:00 - 12:00
Dienstag -
Mittwoch 12:00 - 17:00
....
Ist eine solche Anpassung geplant?

Hallo @StefanEger,
freut mich, dass du dich für die Urlaubsverwaltung interessierst, sei. Anliegen ist ein Duplikat von #677.
Grüße

Danke für die Antwort. Uns ist natürlich bewusst wie der Urlaub geregelt wird. Dennoch wäre es toll die vertraglich geregelte Arbeitszeit der Mitarbeiter dort hinterlegen zu können.
Unser Wunsch um eine kleine Erweiterung der Table bleibt also weiterhin bestehen...

Guten Morgen @StefanEger,
die Urlaubsverwaltung ist eine Abwesenheitsverwaltung und verwaltet daher Abwesenheiten wie Krankmeldungen und Urlaub. Das was du möchtest werden wir in unserer Urlaubsverwaltung nicht umsetzten. Dies wäre ein Thema für eine Personalakte, falls man die Daten nur hinterlegen möchte. Die Zeiterfassung z.b. benötigt genauere Informationen über die tätliche Arbeitszeit und kann somit diese Daten hinterlegen. Ggf schaust du dort einmal vorbei.

authors: StefanEger derTobsch

repo: urlaubsverwaltung/urlaubsverwaltung


text:
Accept patch for command-line argument to use libusb?

Hi,
I used the temper.py code to quickly get readings from my Temper2 on MacOS using libusb.  Since this library seems to be the most modern and sensor-supporting one around, I was wondering if you'd accept a patch to use libusb if requested via command line argument?  That would enable this code to be used on Windows + Mac as well, and wouldn't affect the existing operation.
I was surprised that I couldn't find any code to read the sensor on a Mac, and it'd be great to help remedy that.

@dsandber do you still have the fork for using libusb? i am trying to access multiple temper2 sensors from a w10 machine. unfortunately i am unable to access more than one through the GUI. i came across this project which seemed to give direct access to the sensors.
however it does not work on windows.

I haven't dealt with this in a long time so I don't remember where I left it.  I believe I got it working with this code that uses hid, but I could be wrong:
import binascii
import hid
import struct

vid = 0x413d  # Change it for your device
pid = 0x2107  # Change it for your device

def _parse_bytes(name, offset, divisor, the_bytes, info):
    """
    Data is returned from several devices in a similar format. In the first
    8 bytes, the internal sensors are returned in bytes 2 and 3 (temperature)
    and in bytes 4 and 5 (humidity). In the second 8 bytes, external sensor
    information is returned. If there are only external sensors, then only 8
    bytes are returned, and the caller is expected to use the correct 'name'.
    The caller is also expected to detect the firmware version and provide the
    appropriate divisor, which is usually 100 or 256.

    There is no return value. Instead 'info[name]' is update directly, if a
    value is found.
    """
    try:
        if the_bytes[offset] == 0x4e and the_bytes[offset + 1] == 0x20:
            return
    except IndexError:
        return
    try:
        info[name] = struct.unpack_from('>h', the_bytes, offset)[0] / divisor
    except IndexError:
        return

def read_data(d: hid.Device):
    all_data = b''
    while True:
        data = d.read(8, timeout=100)
        if not data:
            break
        all_data += data
    return all_data

def process(d: hid.Device):
    query = struct.pack('8B', 0x01, 0x86, 0xff, 0x01, 0, 0, 0, 0)
    d.write(query)
    firmware = read_data(d)

    query = struct.pack('8B', 0x01, 0x80, 0x33, 0x01, 0, 0, 0, 0)
    d.write(query)
    sensor_reading = read_data(d)

    info = {}
    info['firmware'] = str(firmware, 'latin-1').strip()
    info['hex_firmware'] = str(binascii.b2a_hex(firmware), 'latin-1')

    info['firmware'] = info['firmware'][:12]
    _parse_bytes('internal temperature', 2, 100.0, sensor_reading, info)
    _parse_bytes('internal humidity', 4, 100.0, sensor_reading, info)
    _parse_bytes('external temperature', 10, 100.0, sensor_reading, info)
    _parse_bytes('external humidity', 12, 100.0, sensor_reading, info)
    print(f"Got: {info}")

def main():
    for device in hid.enumerate(vid, pid):
        try:
            with hid.Device(path=device['path']) as d:
                print(f"Opened via path: {device}")
                process(d)
        except hid.HIDException as e:
            print(f"Failed to open via path: {device} -- {e}")

main()

authors: dsandber ms-vamp

repo: urwen/temper


text:
BEA GDPbyIndustry

Ran your example which produces errors: (this data should exist)
tbl = beaapi.get_data(beakey, "GDPbyIndustry", TableID=table_param_val, Year=2019, Frequency=freq, Industry=industries)
tbl.head()

BEAAPIResponseError: Error retrieving GDP by Industry data. ErrorDetail: {'Description': 'Quarterly GDP by industry tables will be available later this fall.'}
This one also produces errors
# Get some basic Meta-data. What are the table names?
datasets_info = beaapi.get_data_set_list(beakey)
dataset_names = list(datasets_info['DatasetName'])
param_infos = {dataset_name: beaapi.get_parameter_list(beakey, dataset_name) for dataset_name in dataset_names}

# Tools to help lookup table IDs from table descriptions
table_var = {'NIPA':'TableName',
    'NIUnderlyingDetail':'TableName',
    'MNE':None,
    'FixedAssets': 'TableName',
    'ITA':None,
    'IIP':None,
    'InputOutput':"TableID",
    'IntlServTrade':None,
    'GDPbyIndustry':"TableID",
    'Regional': "TableName",
    'UnderlyingGDPbyIndustry':"TableID"}
table_param_desc = {'NIPA':'Description',
    'NIUnderlyingDetail':'Description',
    'MNE':None,
    'FixedAssets': 'Description',
    'ITA':None,
    'IIP':None,
    'InputOutput':"Desc",
    'IntlServTrade':None,
    'GDPbyIndustry':"Desc",
    'Regional': "Desc",
    'UnderlyingGDPbyIndustry':"Desc"}
table_names = {}
for dataset_name, table_var_name in table_var.items():
    if table_var_name is not None:
        table_names[dataset_name] = beaapi.get_parameter_values(beakey, dataset_name, table_var_name)

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

KeyError                                  Traceback (most recent call last)

[<ipython-input-61-65b4dcc0f585>](https://localhost:8080/#) in <cell line: 30>()
     30 for dataset_name, table_var_name in table_var.items():
     31     if table_var_name is not None:
---> 32         table_names[dataset_name] = beaapi.get_parameter_values(beakey, dataset_name, table_var_name)
     33
     34

2 frames

[/usr/local/lib/python3.10/dist-packages/beaapi/get_parameter_values.py](https://localhost:8080/#) in get_parameter_values(userid, datasetname, parametername, throttle)
     47     }
     48
---> 49     bea_response = api_request(bea_meta_specs, as_dict=True, as_table=False,
     50                                is_meta=True, throttle=throttle)
     51     assert isinstance(bea_response, dict)

[/usr/local/lib/python3.10/dist-packages/beaapi/api_request.py](https://localhost:8080/#) in api_request(beaspec, as_string, as_dict, as_table, is_meta, throttle, **kwargs)
    134                 if (as_dict):
    135                     from beaapi.response_to_dict import response_to_dict
--> 136                     bea_response = response_to_dict(bea_payload, is_meta=is_meta)
    137                     if throttle:
    138                         rs = bea_response["response_size"]

[/usr/local/lib/python3.10/dist-packages/beaapi/response_to_dict.py](https://localhost:8080/#) in response_to_dict(bea_payload, is_meta)
    124         bea_response['BEAAPI']['Results'] = bea_response['BEAAPI']['Results'][0]
    125
--> 126     if('error' in (map(lambda x: x.lower(), bea_response['BEAAPI']['Results'].keys()))):
    127         err = gen_error(bea_response['BEAAPI']['Results']['Error'], response_size)
    128         raise err

KeyError: 'Results'```

I was wondering whether you were able to check this out?

Hi, thanks for your comment. BEA sometimes takes tables down from iTables and the API, either temporarily or indefinitely. The note above in your first example ("Quarterly GDP by industry tables will be available later this fall") was indicating that these were temporarily taken down. They are back now and both queries works. Estimates from removed tables will typically be availabe in the historical archive, though not currently accessible via the API.

authors: bquistorff firmai

repo: us-bea/beaapi


text:
Health Maintenance Organization (HMO) and Health Insurance?

Hallo,
Can you share know-how on Health Maintenance Organization (HMO) and Health Insurance?
Thank you.
Health,
SYSON, MICHAEL B. (Representative)

Health Maintenance Organization (HMO) and Health Insurance?
observed: as VALUE, Health Maintenance Organization (HMO) < Health Insurance;
Health Maintenance Organization (HMO)
--> where: if monthly payment stopped, health service via HMO also stopped;
--> adds: monthly payment : 600 PHP*2 (approx)
--> employer and employee pay
Reference:

https://mariahealth.ph/partners/maxicare/; last accessed: 20221110

Health Insurance (Private)
--> voluntary contribution for WORKER
--> where: if monthly contribution stopped, total contribution CAN still be received;
Example:
--> 500PHP/month *10 years = 60,000 PHP
--> 1200PHP/month *10 years = 143,900 PHP
--> adds: it is as with Educational Plan
--> where: monthly contribution system assists Family Unit
--> to execute Income > Expenses for children's education
--> adds: however, monthly school tuition (private) COST currently @ > 4K~10K PHP/month
--> where: COST based on school
ACTION#1
--> recommends: as based on own action, to use PESO-BOND due to higher interest rate than the Education Plan product after computation and discussion with, e.g. Bank Unit Member;
ACTION#2
--> recommends: as based on own action, to put in lower priority HMO payments;
--> where: has eventually stopped monthly HMO payments
--> opts: for LIFESTYLE CHANGE, and Health Insurance (Public and Private)
--> adds: increase know-how in health, et cetera
Reminder
PhilHealth : Health Insurance (Public)
--> required monthly contribution from WORKER (employee)
Thank you.
Health,
SYSON, MICHAEL B. (Representative)

repo: usbong/school


text:
Location select option not working on linux

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug

I open a fresh install of the app
I create a new collection
I enter a name
I try to select a location, it does not register the selection
This happens the same when trying to open an existing collection
I tried it on both KDE Plasma and Cinnamon desktop environments

I was able to workaround it by manually editing the preferences to list a collection whereupon it was added to the application correctly. I believe it is purely a UI issue.
.bru file to reproduce the bug
No response
Screenshots/Live demo link

The location field stays blank.

Hey, @Teifion
Thank you for reporting this bug. I tried to reproduce it on my machine using the same steps, including a fresh install. However, I couldn't reproduce the issue. It might have been fixed in the latest version. If you encounter this bug again, please feel free to reopen this.
Demo:
https://github.com/user-attachments/assets/0c64ba82-ce06-43ca-ac77-ccd2894c3673

Hey @Teifion,
Could you please try this with the latest Bruno version (1.34.2)?
We believe the issue has been fixed. Can you confirm if you're still encountering the same problem?

authors: Pragadesh44-Bruno Teifion ganesh-bruno

repo: usebruno/bruno


text:
fix: #692

Description

Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[ ] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

Can we have the schema in one location?
Currently its defined in the store as well as in the component
We can create a file/folder that can store all the schema

@aliasgar55 Yes, there is a bruno-schema monorepo that we move this logic to.

Thanks for the PR @aliasgar55 !
Merged!


text:
'Current Load' frozen from 14/05/2024, Grafana unplugged at 06/06/2024

Do we disable the button?
Concerns this file: https://github.com/usegalaxy-be/usegalaxy-be.github.io/blob/master/current-load.md

Ping @bedroesb and @pauldg for thoughts.


text:
dependabot会触发ci lint install失败

如题

按提示加了--frozen-lockfile还是报错

repo: useless-ui/useless-ui


text:
fix: stop the spinner when process exits

Closes #24

The fix was released in 1.2.0.

authors: kricsleo usmanyunusov

repo: usmanyunusov/nanospinner


text:
Enable zoom

Ability to enable/disable zoom would be really nice

Like here https://github.com/SmartToolFactory/Compose-Zoom

@T8RIN
Thank you for your suggestion. I agree that the enable/disable feature is useful. I will consider adding this feature.

Thanks :)

I added zoomEnabled parameter.
The library you introduced had an implementation that asked enable/disable every time PointerInput occurred, but I decided that it was too much for Zoomable, so I made a simple implementation.

Okay, what's about another commits?👀

repo: usuiat/Zoomable


text:
Markdown が正しく変換されない

Markdown ファイルの行頭に HTML や React のタグを書くと正しく変換されない。
例えば、次のようなコードを書くと、画像のようになってしまい、うまく変換されない。
Hello Hello `a` Hello Hello

Hello `a` Hello

GitHub の Markdown で書くと、次のように正しく表示される。

MDX のせいだと思ったが、MDX のプレイグラウンドでは正しく動く。

Docusaurus のプレイグラウンドではやはり動かない。

VSCode のシンタックスハイライトも動かない。

@chelproc お手上げです。お願いします。

自分もこれ散々悩まされたのですがMDXの仕様の限界だと思って諦めました

まじですか…
Issue とか投げた方が良いですかね？
問題は、どこの仕様なのかですけど。
VSCode の Markdown でも起こるので、どこの問題か分からないんですよね。

MDX は v1 と v2 があって，Docusaurus だと v1 を使っているのが原因かもしれません
https://github.com/facebook/docusaurus/issues/4029

なるほど！そんな気がします。
諦めて、対応されるのを待つしかなさそうです…
MDX1 は他にもけっこう問題抱えてるので、困りましたね。謎記法が多い気がしています。MDX2 でだいぶマシになりましたが。

記法の移行がたいへんみたいですね。
Docusaurus の方で最近に PR も出てるみたいなので、期待してます。

そうなんですね，MDX 1->2 は破壊的変更だと思うので Docusaurus もそれに合わせてメジャーバージョンアップになる気がするので，先は長そうですね．．．

そうですね。一回作っちゃうと、移行作業も大変ですね。

解決に時間がかかりそうなので、一旦この Issue はクローズしておきます。

Fixed with #541.

Docusaurus 3.0.0へ移行したことで、MDX 3.0になりこの問題に関しては解決しました。

authors: chelproc chvmvd

repo: ut-code/utcode-learn


text:
Couldn't see the string inside the angle bracket on md

Refer the comments on the link https://github.com/utilForever/ModernCppCookbook/commit/cc5791161efe0c590c8b2a879b6cc24e73ca0eb1

Oh, I missed write the angle bracket. Thanks! lol

Fix in e9fc72b

repo: utilForever/ModernCppCookbook


text:
Kali and Ubuntu Machines not launching

Describe the issue
I've been using UTM for months and suddenly whenever I open any one of my VMs it just gets stuck on a black screen. Literally 2 days all was normally working.
I will attach debug logs and the black screens.
Please let me know asap what I can do to fix them
Configuration

UTM Version: 3.2.4
OS Version: MacOS Monterey version 12.4
Apple M1 2020

Debug log
KaliLinux_debug.log
ubuntu_debug.log
Upload VM

Same issue here. Upgrading to the latest Version 3.2.4 (58) fixed that issue on my end.
cheers,

I'm experiencing the exact same problem, it was literally from one boot to the next. I powered off the VM, and when I tried to start it again and get through GRUB I'm just met with a black screen with a blinking cursor.
This is with both a Kali 2022.2 machine that have been working for a month (since I installed it) as well as any new machine I'm trying to install. I've tried it with the 4.0 beta release as well as 3.2.4 of UTM but no difference. QEMU version is 7.0.0.
Any help is appreciated.

Same Issue but didn't get the solution

try this #4090

@Treintillin That solution worked, thanks! Even for a already installed machine. I got dropped into an initramfs shell and had to run fsck on the disk, and then I was able to reboot into a graphical environment.

happy of reading you :)

Heyy, I am not able to see the TYPE option in Display(there is no such option above Emulated Display card option), can anyone help me with this.

authors: 0xAjayMandal RwdBass Treintillin comes jenselofsson satyvm

repo: utmapp/UTM


text:
Black screen when start a VM (iOS 14.2)

When starting a VM, it keeps a black screen no matter what it is or it has a disk or not.
iOS 14.2, 2.0.8 IPA from Github release, signed by ios-app-signer from dantheman827.

Unless your iDevice SoC is newer than A11, you're out of luck.

Please attach a crash log

Please test with an empty VM (new vm, change nothing, save).

test empty VM:  black screen. nothing change.
ipad pro 2020. ipadOS 12.4. resign ipa.

14.2 or 12.4?
------------------ Original ------------------
From: gongcf <notifications@github.com>
Date: Mon,Nov 9,2020 1:01 PM
To: utmapp/UTM <UTM@noreply.github.com>
Cc: W-MS <w.ms@qq.com>, Author <author@noreply.github.com>
Subject: Re: [utmapp/UTM] Black screen when start a VM (iOS 14.2) (#520)
test empty VM:  black screen. nothing change.
ipad pro 2020. ipadOS 12.4. resign ipa.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I’ve managed to reproduce this. You need to sign with a development certificate. Not a distribution certificate. More info at bottom of https://getutm.app/install/

14.2 or 12.4?
…
------------------ Original ------------------ From: gongcf <notifications@github.com> Date: Mon,Nov 9,2020 1:01 PM To: utmapp/UTM <UTM@noreply.github.com> Cc: W-MS <w.ms@qq.com>, Author <author@noreply.github.com> Subject: Re: [utmapp/UTM] Black screen when start a VM (iOS 14.2) (#520) test empty VM: black screen. nothing change. ipad pro 2020. ipadOS 12.4. resign ipa. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

sorry.  14.2.

I’ve managed to reproduce this. You need to sign with a development certificate. Not a distribution certificate. More info at bottom of https://getutm.app/install/

running ok! 3ks!

authors: W-MS brunocastello gongcf osy86


text:
Lightweight Command Line Linux In The Gallery?

Could we have a lightweight Linux image that can run in UTM SE eg on an iPad?
There are lots of things I can't do on iPad OS this would enable.
I don't need a GUI so a command line build would do fine.
I do need a proper package installation capability.
Also this would need to be save-able.

There is already an Arch Linux machine in the gallery and a Debian 10.4 Custom i3. Which one fits you the best? All of them are command line and the Debian 10.4 Custom i3 has a console.

Thank you. The one that successfully got me to a command line was Arch Linux. However, trying to run pacman -S python got me a 404. In fact any pacman -S attempt to install anything gives me the same result.
I would've preferred the Debian route but I can't get to a command line when it starts.

Actually fixed the pacman issue with pacman -Syy - to update its list of packages.

Thanks for the pointer to Debian 10.4, it helps but some programs are working in my existing workflows better with Ubuntu. Would a minimal Ubuntu Server version also be possible?

Thanks for the pointer to Debian 10.4, it helps but some programs are working in my existing workflows better with Ubuntu. Would a minimal Ubuntu Server version also be possible?

Yes. If the .iso you have is Ubuntu Server 22.04, then there is an Ubuntu 22.04 and 14.04 guide in the UTM Gallery

I would've preferred the Debian route but I can't get to a command line when it starts.

I have read the documentation of Debian, the operating system prompts you to first choose whether you want to use Option or Command as the $Mod key. The $Mod key stands for the modifier key, which is the same thing as the  Command key. The Command can be used with the Space key to open the Spotlight menu. The prompt is shown only when the config file does not exist at ~/.i3/ or ~/.config/i3/.
The virtual machine template has it set to Command or Option. Try pressing them to see which one is the modifier key. After the modifier key has been set you can press Modifier+D to open the application startup dmenu. With dmenu you can then open a terminal or text editor to read or modify the configuration file.
In the configuration file, you can add key binds to open applications with this format:
bindsym $Mod+<key> <command> <arguments>

So to open Firefox with the Debian site by pressing Modifier+F, you can do this:
bindsym $Mod+F exec firefox www.debian.org

You will have to restart the window system for the new configuration file to take changes:
- $ i3 restart

[!TIP]
You can set the restart command to a key bind can save a lot of time during configuration:

bindsym $Mod+<key> restart

For more information about setting up i3, check their documentation.
Hope this helps!

I recently tried using antiX linux distro (I checked antiX-23.1-Base 32bit with lightweight gui) on my ipad in UTM SE and while it was still very slow I definitely worked better than other linux distros from utm gallery (and also better than reactos) so perhaps you might want to try that. I also wanted to try freedos but I had problems with setting it up. Perhaps this antiX (or something similar with very lightweight gui) or maybe freedos (if anyone is able to set it up) could be added to offical utm gallery so we have there something that works faster on iOS with UTM SE?

or maybe freedos (if anyone can set it up)

This is a guide for macOS, but I hope you can figure it out.
Create a new virtual machine and choose Emulation. It is gonna be slow because we chose emulation. Choose your .iso file in the Boot iso path. Set about 100 megabytes to the main drive. That is enough to run DOS. Then, set anywhere about 512 megabytes of memory. Choose Open VM settings after creation.
Add a new drive. Set it to a floppy drive, and save all of the changes. Adjust the order of the drives so that the floppy is in the bottom, the CD-ROM is at the top, and the main hard drive is in the middle.
When booted, press 1 or Enter. Then, choose the run fdisk option. If it asks if you want to use FAT32, choose yes. Choose option 1 for the primary disk partition. Then, choose yes. (the partition you install FreeDOS onto must be active so it boots.)
Boot from the CD, and run SETUP. Format the drive if asked to, and continue the setup. I provided an existing UTM template so you don't have to do this yourself. I don't have a FreeDOS .iso, but I made the template on iPad mini 6.
FreeDOS.zip

@MartinPacker If you can make a lightweight Linux virtual machine, you can then ask to submit it to the gallery.
I found out that you can contribute to the gallery. It was explained in https://github.com/utmapp/UTM/issues/3807 .

authors: MartinPacker leszek-s lgrachov tosigus


text:
[ 翻訳 ] : Data Fetchingページを翻訳する

概要
https://swr.vercel.app/docs/data-fetching
上記のページを日本語に翻訳します。
担当者

無し

こちらのページ、翻訳担当します。

authors: shioyang uttk

repo: uttk/swr-site


text:
Rewrite utils and testing framework so code coverage works

The reason the code coverage seems so low is because it's not actually testing the utilities themselves at the moment as they are tested as subprocesses of the testing executable.
To fix this, I am thinking we need to pass stdin, stdout, and stderr to each util's uumain() and rewrite the utils to read and write from the given arguments rather than std::io::stdin() and such.  The testing framework would then have to be modified to call uumain() with the given arguments rather than launching a subprocess with a modified stdin, for example.  Unfortunately, doing so requires modifying every util, likely fairly invasively as we will also need to change anything that calls exit() to instead return a Result (to avoid crashing the testing executable).  Additionally, any panics would just write to the normal stderr (e.g. any .unwrap()s).

A bonus of rewriting everything like this is that uutils could be embedded into programs (to be used as builtins for a shell, for example).

This sounds like a good idea for several reasons.
I presume it would take Read and Write traits, with something like this:
pub fn uumain<R: Read, W1: Write, W2: Write>(args: Vec<String>,
                                             stdin: R, stdout: W1, stderr: W2) -> i32 {

And then pass io::stdin(), io::stdout(), and io::stderr() by default.
One minor issue with this is that it would not be possible to call .lock() on these object, since you just have Read/Write; this interferes with potential optimizations, which might be relevant for some things. Grepping through the code, .lock() is called in several places.

This might be solved by just passing io::stdin().lock() etc. instead; I guess the locking isn't necessary unless multiple things are reading/writing in parallel? But that might cause issues I'm not thinking of...

Yep, that’s essentially what I’m thinking.  I’m only really worried about passing io::stdin().lock() in the case where uutils is embedded in another program, as the parent program won’t be able to use stdin while the uutils code is running.
I’ll probably try to push some code outlining things later today or tomorrow.

I patched the util.rs file, then use kcov to calculate the code coverage. Note that this is just a temporary work around.
diff --git a/tests/common/util.rs b/tests/common/util.rs
index 1a0e420..fcfc680 100644
--- a/tests/common/util.rs
+++ b/tests/common/util.rs
@@ -453,7 +458,12 @@ impl UCommand {
             tmpd: None,
             has_run: false,
             raw: {
-                let mut cmd = Command::new(arg.as_ref());
+                let mut args = vec!["--verify", "--exclude-pattern=/.cargo", "--include-path=/uutils-coreutils-upstream/src/", "/uutils-coreutils-upstream/target/kcov"];
+                args.push(arg.as_ref().to_str().unwrap());
+                let mut cmd = Command::new("/.local/bin/kcov");
+                cmd.args(args);
                 cmd.current_dir(curdir.as_ref());
                 if env_clear {
                     if cfg!(windows) {

The overall line coverage is 59.3%. You can find details in attached reports.
Attached are the generated results:

Coverage report - uutils.pdf
kcov.tar.gz

Also, I suggest to remove the Codecov CI (badge, PR hook, and reports) for now or write a notice in  README. Since the results are mis-leading. The number (20%) does not mean anything related to the code coverage and will not help PRs to improve their testcases.
Here is the outputs of cargo tarpaulin -v:
$ cargo tarpaulin -v
src/arch/arch.rs: 0/5
src/base32/base32.rs: 0/23
src/base64/base64.rs: 0/23
src/basename/basename.rs: 0/36
src/cat/cat.rs: 0/174
src/chgrp/chgrp.rs: 0/153
src/chmod/chmod.rs: 0/106
src/chown/chown.rs: 0/207
src/chroot/chroot.rs: 0/83
src/cksum/build.rs: 0/1
src/cksum/cksum.rs: 0/45

...

tests/test_touch.rs: 182/183
tests/test_tr.rs: 39/52
tests/test_true.rs: 3/3
tests/test_truncate.rs: 15/15
tests/test_tsort.rs: 3/4
tests/test_unexpand.rs: 42/56
tests/test_uniq.rs: 56/70
tests/test_unlink.rs: 25/28
tests/test_wc.rs: 21/28
tests/test_who.rs: 34/35
tests/tests.rs: 1/1

22.60% coverage, 3988/17647 lines covered
Tarpaulin finished

The tarpaulin result shows that only sources under tests are covered by tests. I believe this result is not helpful for developers as well as users.

Rather than remove the Codecov CI, I think it would make more sense to switch to kcov temporarily.

breakpoint-based code coverage (like kcov) are very slow. It took me hours to get the report. rustls's author also mentioned this in his attempt.

Prior to this work, I used kcov. This produced good output, but each test process took around three seconds to start. One of the test suites runs around 1000 processes, so this meant a full test run took almost an hour (compared to 50 seconds without coverage).

I'm not sure if kcov can be integrated in the CI.

Hm, well, in that case I guess dropping code coverage for the time being is the best solution.

@rivy did it
See:

authors: Arcterus ids1024 mssun sylvestre

repo: uutils/coreutils


text:
kill: return 1 and gnu style stderr in case of no pid

including a new test for "no pid provided" use case.
closes #6221

Does exactly what is says on the tin. Thank you!
Can I ask you to change the excessive indentation?

Thank you @BenWiederhake . Also applied your suggested change.

Thanks!

@jadijadi thanks for sharing your experience here :) https://www.youtube.com/watch?v=wzWNkNPHJx0

authors: cakebaker jadijadi sylvestre


text:
feat: edit content pages

Brief description. What is this change?

Edit Content Pages

Implementation description. How did you make this change?

Added routes for edit check in description and edit food rescue description pages
Implemented a page allowing users to edit description/url of check ins or donations

EditCheckInOrFoodRescue.tsx component is used for both of these and the use case is differentiated by isCheckInView
Save changes will return to the corresponding view (check in/donation) page with the new description/url (updateContent endpoint used)
Clicking on the close button will return to the corresponding view with no updates

Updated FridgeFoodRescueDescription.tsx and FridgeCheckInDescription.tsx

it now gets data from the content API instead of static data
allowed edit buttons to redirect users to the corresponding edit content page

Steps to test

Use Postman to POST content to localhost:5000/content/ with a body like this:

{
    "id": "1",
    "foodRescueDescription": "hi1",
    "foodRescueUrl": "google.org",
    "checkinDescription": "This is a daily checin",
    "checkinUrl": "google.org"
}

Head to admin view checkin/donations pages
Click edit button
Try changing the description and/or URL, press save changes. This should take you back to the view (check in or donation) page you were on and the content/url should be updated.
Go to step 2-3 again. Try changing the description and/or URL and press the close icon on the top right. This should take you back to the view (check in or donation) page you were on and the content/url should not be updated.

Checklist

[x] My PR name is descriptive and in imperative tense
[x] My commit messages follow conventional commits and are descriptive. My commits are atomic and trivial commits are squashed or fixup'd into non-trivial commits
[x] I have run the appropriate linter(s)
[x] I have requested a review from the PL, as well as other devs who have background knowledge on this PR or who will be building on top of this PR
[x] The appropriate tests if necessary have been written

side note: idk if this only applies to localhost, but for the urls, should we validate that they have https:// since i noticed that for something like www.google.com, it will just append www.google.com to localhost:3000

repo: uwblueprint/community-fridge-kw


text:
IRONN-79 Add a new site in Switzerland

https://jira.movember.com/browse/IRONN-79 . This is not the first site in Switzerland, and the languages are used at other Swiss sites.

Marking this as draft while I see if they need this as a hotfix... The SIV date of 7/19 probably means that we need it as a hotfix this week...

@ivan-c  PCCTC says that next Friday's release would be soon enough, so this is ready for your review, and we'll merge to develop.

repo: uwcirg/truenth-portal


text:
raise error if users refer to non-existing field

Not sure if we do this in Vega 3 yet, but in Vega 2 we normally get native Javascript error.
Probably more user friendly if we just have our own specific error.
(Inspired from https://github.com/altair-viz/altair/issues/247 -- this might enable Altair to do this easier.)

One note on this: for Altair users (and I suspect users of other APIs) javascript errors printed to the console are basically useless. Many of our users wouldn't even know where to find the javascript console if you told them to look for it.
Much more useful would be for errors to actually be represented in the HTML output (say, a blank box containing red text indicating what went wrong), rather than the current behavior of displaying nothing and hoping the user knows where or what the console is.

I agree this would be useful. However, JavaScript allows lookup of non-existent fields, returning undefined in response. Vega can't do this error check at parse time, as in most cases we don't actually observe any data until runtime. Our internal field lookups could include existence checks, but (in the most straightforward implementation) at a cost of doing such a check every time a field is accessed. We would need to do some micro-benchmarking to assess potential performance hits here.
There is also the issue that in some cases there may be "unbalanced" input data, with some fields defined on a subset of tuples but not others. Thus, we might further need special options on where and when to perform field checks. So I think this issue is a bit more complicated than it might seem at first.
It's possible that it is better to perform this check (and enforce a particular semantics) at the Vega-Lite or Altair level.
@jakevdp - I'll add a new issue regarding error output, which is a separate (and important) need!

Note that another solution might be to introduce a new Vega operator that does data quality assessment, such as checking that certain fields exist (and are appropriately typed?). That could be added by Vega-Lite in its compilation process, and would only have to run once.

Closing this issue now, as we migrate to the vega/vega repo. Feel free to re-open elsewhere with a more specific request -- for example, a quality-assessment operator in vega-dataflow.

authors: jakevdp jheer kanitw

repo: uwdata/vega


text:
LinkImageコンポーネントの作成

概要

画像にホバーすると作品名が表示され、画像上部に薄い青色の背景色が重なる
画像クリックで遷移

ImageLinkにしよう

repo: uyupun/official


text:
🛑 Third Party IMG is down

In ddea042, Third Party IMG ($THIRD_PARTY_IMG) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Third Party IMG is back up in 182e5dd after 11 minutes.


text:
Hello Maxim, Wanted to let you know wrong paths in CSS

The images do not work. It's looking for them at url("packages/uzumaxy_jstree/uzumaxy_jstree/css/32px.png")
changing style.css to specfic /packages/uzumaxy_jstree/uzumaxy_jstree/css/32px.png make it work or adding all images to css folder

Thanks. Seems, I fixed this bug.

authors: uzumaxy voidale

repo: uzumaxy/meteor-jstree


text:
Obout train Mel-GAN

Hi,
I want to ask whether your code about training Mel-GAN vocoder is support multiple GPUs? In you paper, you use one single GPU training about 14 days. So I want to ask you whether we can use multiple GPUs to decrease the training time.

Hi,
You are right, it supports only single GPU training. I have not tried to use multiple GPUs to train MelGAN. The good thing is that it will start producing good results pretty soon so you could start building on top of that checkpoint early on.

Hi, You are right, it supports only single GPU training. I have not tried to use multiple GPUs to train MelGAN. The good thing is that it will start producing good results pretty soon so you could start building on top of that checkpoint early on.

Thank you very much.

authors: v-iashin yangdongchao

repo: v-iashin/SpecVQGAN


text:
Add support for Socks5 TCP Bind command

Socks5 TCP Bind command (0x02) is used to bind a local port with certain connection, to allow remote server send data initiatively. This feature allows software like FTP client to work on passive mode.
This is not a first priority feature in V2Ray. If you are interested in implementing this, please send a PR.

I don't see this feature would be useful anyway. Closing this issue to reduce the number of issue. Should anyone really need this feature, please open a new issue.

Hello.
I have set route for private addr to Direct, but v2ray still gives error rejected  proxy/socks: TCP bind is not supported. for kdeconnect share file between phone and pc.


text:
mac客户端，执行./v2ray-macs --config="point_socks_vmess.json"出现如下错误

客户端是下载的编译好的文件。
请问这个怎么解决。谢谢！

请问你的 out_vmess.json 的内容是什么？

out_mess.json内容如下：
{
"vnext": [
{
"address": "107.170.234.17”,
"port": 27183,
"users": [
{"id": "40508562-6b1c-11e5-9d70-feff819cdc9f"}
],
"network": "tcp"
}
]
}
另外，vps端 执行没有报错，

address 后面的引号错了，应该是这个样子：
"address": "107.170.234.17",

thanks ,


text:
Fix/samples

Review status: 0 of 8 files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.

demo/pom.xml, line 29 [r1] (raw file):
What are we fetching from here?

demo/src/main/java/com/vaadin/components/gwt/polymer/client/sampler/paper/FabSample.ui.xml, line 43 [r1] (raw file):
Are you guys doing the same things here with #26 ?

Comments from the review on Reviewable.io

Review status: 0 of 8 files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.

demo/pom.xml, line 29 [r1] (raw file):
gwt-2.8.0-SNAPSHOT is under google repos not under default sonatype one

demo/src/main/java/com/vaadin/components/gwt/polymer/client/sampler/paper/FabSample.ui.xml, line 43 [r1] (raw file):
Seems like Taras and me were working in the same cases, will coordinate with him

Comments from the review on Reviewable.io

Reviewed 5 of 8 files at r1.
Review status: 5 of 8 files reviewed at latest revision, 3 unresolved discussions, all commit checks successful.

demo/src/main/java/com/vaadin/components/gwt/polymer/client/sampler/paper/RadioGroupSample.ui.xml, line 52 [r1] (raw file):
This is not correct. The checked item is already specified in radio group.

Comments from the review on Reviewable.io

Review status: 5 of 8 files reviewed at latest revision, 3 unresolved discussions, all commit checks successful.

demo/src/main/java/com/vaadin/components/gwt/polymer/client/sampler/paper/RadioGroupSample.ui.xml, line 52 [r1] (raw file):
I see, will remove this

Comments from the review on Reviewable.io

Review status: 5 of 8 files reviewed at latest revision, 4 unresolved discussions, all commit checks successful.

demo/src/main/java/com/vaadin/components/gwt/polymer/client/sampler/paper/FabSample.ui.xml, line 67 [r1] (raw file):
We lose tabindexes. Should we add set/getTabIndex() to PolymerWidget.java?

Comments from the review on Reviewable.io

Review status: 5 of 8 files reviewed at latest revision, 4 unresolved discussions, some commit checks failed.

demo/src/main/java/com/vaadin/components/gwt/polymer/client/sampler/paper/FabSample.ui.xml, line 67 [r1] (raw file):
Yes we should

Comments from the review on Reviewable.io

authors: Saulis cwayfinder manolo

repo: vaadin/gwt-polymer-elements


text:
Creating custom holidays - entity inheritance error

Hello,
i was using the following code with holidays v0.16. Now after i updated it to v0.30 i'm getting an error.
Code is in a module that's imported in another one.
Code is:
# Import datetime classes to operate with dates
from datetime import date

# Import the holidays library to check for holidays
import holidays

# Inherit IT holidays and add custom ones
class MyHolidays(holidays.IT):
    def _populate(self, year):

        holidays.IT._populate(self, year)

        # Add custom holidays
        [...]

The error i receive is:
  File "xxx\my_holidays.py", line 9, in <module>
    class MyHolidays(holidays.IT):
  File "xxx\Lib\site-packages\holidays\registry.py", line 172, in __init__
    raise TypeError(
TypeError: This is a python-holidays entity loader class. For entity inheritance purposes please import a class you want to derive from directly: e.g., `from holidays.countries import Entity` or `from holidays.financial import Entity`.

Code follows the docs https://python-holidays.readthedocs.io/en/latest/examples.html
Implementation changed? Thank you!

Following https://github.com/vacanza/python-holidays/issues/1260 i modified my code this way:
# Import datetime classes to operate with dates
from datetime import date

# Import the holidays library to check for holidays
from holidays.countries import IT

# Inherit IT holidays and add custom ones
class MyHolidays(IT):
    def _populate(self, year):
        IT._populate(self, year)

        # Add custom holidays
        [...]

and now is working.
Docs should probably be updated.

repo: vacanza/python-holidays


text:
Keyboard control

I realised that interactive elements in the carousel (prev/next buttons, dots) don't get the focus while trying to control the carousel with tab key.
It would be great for the accessibility of the component.

Released 1.0.18

authors: myrdn vadimkorr

repo: vadimkorr/svelte-carousel


text:
feat: add function scrollElement

Closes #1

This feature has been refactored in commit c5183dd0c51f974fa8b735fcb7fe45655b169608

Released in v1.1.0 🎉

repo: valmisson/svelte-scrolling


text:
feat(coinbase): coinbase pay card shows only when adding funds

Description
A bug was found during 1.37 Bugapalooza where the Coinbase Pay card was visible in the withdraw flow.
This PR adds logic to limit Coinbase Pay card to the add funds flow.
https://user-images.githubusercontent.com/57046916/181386954-7757096c-d26a-4590-a42a-da830cd3f93d.mp4
Other changes
N/A
Tested
Screen recording above was taken on a mainnet build with Coinbase Pay feature flag turned on locally.
Added a unit test to check for coinbase pay card's visibility during both cash in and cash out flows.
How others should test
Perform the following steps with the coinbsePayEnabled feature flag turned on.
Steps:

Navigate to the Withdraw Funds flow.
Select CELO and an available amount.
Check if coinbase pay card is visible on Select Withdraw Method screen.

Expected behavior:
Coinbase pay card should not be visible on Select Withdraw Method screen
Related issues
N/A
Backwards compatibility
N/A

the "steps to test" don't align with the change that's made here-- there isn't anything in those steps about how to verify the fix to the select providers screen when withdrawing

Hey @MuckT we have verified the above task on latest iOS Test Flight build V: 1.38.0 and updated status in Test rails
Observation : Coinbase pay is not seen in withdraw CELO flow on select withdraw method page
Test Rail link:
iOS 14: https://valoraapp.testrail.io/index.php?/tests/view/57037
Device : iPhone 12(14.7.1)
CC: @awtsui
Thanks.!

Hey @MuckT, We have verified the above task on Android Internal Release Build V:1.38.0 and updated status in Test rails
Test Rail links:
Android 11: https://valoraapp.testrail.io/index.php?/tests/view/57051
Device : Google Pixel 2XL (11.0)
CC: @awtsui
Thanks.!!

authors: ValoraQA awtsui cajubelt

repo: valora-inc/wallet


text:
chore: bump to 0.13.4

Bumps open-autonomy to 0.13.4

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (1cb88b2) 0.00% compared to head (1bdcafc) 0.00%.

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #16   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          1       1
  Lines          1       1
=====================================
  Misses         1       1

Flag
Coverage Δ

unittests
0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: codecov-commenter dvilelaf

repo: valory-xyz/dev-template


text:
Bind mount failed

I'm running Docker on Synology 918+ and when I put the below docker run command  via SSH using putty
docker run -v $(pwd)/config.json:/volume1/docker/riscolocal/config/config.json vanackej/risco-mqtt-local
I get this error
docker: Error response from daemon: Bind mount failed: '/root/config.json' does not exists.
ERRO[0003] error waiting for container: context canceled
What am I doing wrong?
I have created the config.json and placed it config folder

Your volume mounting is inverted First part is the path in the host, second part is the path in the container.
Just open your terminal in /volume1/docker/riscolocal/config and use docker run command as documented in README.

works thanks

authors: mrbarbz vanackej

repo: vanackej/risco-mqtt-local


text:
Most accounts fail to login. And many proxy issues appearing. I can confirm my proxies are working.

Many accounts getting "failed to login error"
And many tasks can't be done too. Many proxy errors appearing too... (I can confirm the proxies are working)

I solved it, by turning multi-threaded to single-threaded. Take care when running multi-threaded. Timeout by Cloudflare can happen fast.

repo: vanhbakaa/Paws


text:
Link to user admin panel or custom url

it would be a nice feature if one could link the user in the widget to the 'user edit' page in the CP,
or even nicer if you could link to a custom url with target is _blank
(i.e. link to https://www.mysite.com/profiles/{user.uid}  or https://www.mysite.com/profiles/{user.username}
)

Nice feature.
Will be implemented.

fixed in version 1.1.1

repo: vardump-de/activeusers


text:
Postgres Flexibility

no worries I am in no rush :) - I too didnt test the PR i sent over yesterday either
bumping version to .1 seems to solve the issue, i can report nginx ingress/cert-manager issues me a cert successfully.
there seem to be some issue with default postgresql credentials as my backend container does not seem to be able to connect to the pg database. could it be that you mixed up username/passwords/database names along the way? i am a bit confused as to how you feed the db credentials - ideally i d like to feed them from secrets (sealed secrets)
    # -- Postgresql DB password
    dbUser: "{{ .Values.postgresql.auth.database }}"

feel free to respond when you're done with your work - dont let me distract you from work ;)
Originally posted by @loeken in https://github.com/varet80/publiccharts/issues/4#issuecomment-1136964742

1.) i removed them and i now i am able to spin it up. i used argocd to deploy this helm chart https://github.com/loeken/homelab/blob/30eb1563507f85370123f80414685240730c7369/deploy/argocd/bootstrap-optional-apps/templates/librephotos.yaml this works and i can login pg errors disappeared
2.) https://github.com/bitnami-labs/sealed-secrets you install this controller and the kubeseal binary on your laptop.
lets say you have mysecret.yaml
---
apiVersion: v1
kind: Secret
metadata:
  name: librephoto-secrets
  namespace: librephoto
type: Opaque
stringData:
  PG_PASSWORD: "topsecret"
  REDIS_PASSWORD: "evenmoresecure"

you can
cat mysecret.yaml | kubeseal

that will basically send the unencrypted version to the cluster via kubeseal, it ll encrypt your local secret and return you a sealed ( encrypted ) version of it
cat mysecret.yaml | kubeseal | kubectl apply -f -

and you can then apply the encrypted version of your secret ( technically a sealedsecret ) and interact with it as if it was a normal secret ( k8s holds the keys so decrypts the sealed secret when needed and provides a secret in readable form to the cluster )
in other helm charts/value files you may have noticed "existingSecrets" which is often used so you can specify the name of the secret ( and encrypt that ) vs providing secrets in value files.
you could see an example of a PR i sent to another repo https://github.com/devopstales/helm-charts/pull/12/files the helm code checks if existingSecret is set and if a name is provided you can tell the helm chart to use the existing secret instead
3.) i dont have strong feelings about this part, if you do provide externalSecrets functionality to provide a secret where we can feed all passwords to the chart i dont think i would need any other extra env vars changed.

@loeken can you test and give some feedback on pr #10 ?
External Secrets are a list (multiple can be declared)


text:
refactor(collapse-transition): clean code

Checklist
List of tasks you have already done and plan to do.
Change information
Describe your modifications here.
Issues
The issues you want to close, formatted as close #1.
Related Links
Links related to this pr.

@haoziqaq  耗子哥空了review下

@haoziqaq  耗子哥空了review下

repo: varletjs/varlet


text:
docs(home): add community ecological project link

Checklist

[ docs ] 添加社区生态项目

Codecov Report

Merging #727 (104cad5) into dev (32e7dce) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #727   +/-   ##
=======================================
  Coverage   95.35%   95.35%
=======================================
  Files         218      218
  Lines        5343     5343
  Branches      977     1012   +35
=======================================
  Hits         5095     5095
  Misses        248      248

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: codecov-commenter sdhushu


text:
ssl only: Error reading data from socket: Not connected

Chrome gives this error:
WebSocket connection to 'wss://server.somewhere:8000/echo' failed: WebSocket opening handshake was canceled
I get this error when testing  server_ssl.php in cli:
root@m1048:/var/www/html/Wrench-master/examples# php -q server_ssl.php
info: Server initialized
info: Wrench\ConnectionManager: Wrench\Connection: 80.xxx.xxx.xxx:61207 (38bcbf66a45efe6f76292087dacb1b3fdbb35262dcce1d98c5473f0d4ba62794e0126f634cc264c519727021553be8b420fcb795f3f53eb6aa82cc7d7725a7c2): Connected
notice: Wrench\ConnectionManager: Client connection closed: exception 'Wrench\Exception\CloseException' with message 'Error reading data from socket: Not connected' in /var/www/html/Wrench-master/lib/Wrench/Connection.php:396
Stack trace:
#0 /var/www/html/Wrench-master/lib/Wrench/ConnectionManager.php(243): Wrench\Connection->process()
#1 /var/www/html/Wrench-master/lib/Wrench/ConnectionManager.php(168): Wrench\ConnectionManager->processClientSocket(Resource id #32)
#2 /var/www/html/Wrench-master/lib/Wrench/Server.php(198): Wrench\ConnectionManager->selectAndProcess()
#3 /var/www/html/Wrench-master/examples/server_ssl.php(54): Wrench\Server->run()
#4 {main}
warning: Wrench\ConnectionManager: Wrench\Connection: 80.xxx.xxx.xxx:61207 (38bcbf66a45efe6f76292087dacb1b3fdbb35262dcce1d98c5473f0d4ba62794e0126f634cc264c519727021553be8b420fcb795f3f53eb6aa82cc7d7725a7c2): Unable to send close message

This does not happen in normal plain "server.php" test, only in ssl.

Ok,
After few testing and reading. I also went to  https://server.somewhere:8000 port and accepted the self-signed cert.
I have to leave that window OPEN for the next window with https://server.somewhere/ with wss://  to work.
Also started to notice weird things when I send a chat msg.
WebSocket - status 0
Welcome - status 1
Sent: asdf
Sent: asdf
Received: asdf
Sent: asdfasdf
Received: asdf
Sent: a
Received: asdfasdf
Sent: a
Received: a
Sent: a
Received: a
Sent: asdf
Received: a
Sent: a
Received: asdf
Sent: asdf
Received: a
Notice how the first msg was never "sent" (hence did not receive immediately).
Asap, i sent the 2nd msg, the first msg bounced back (assuming when i sent the 2nd msg, the first was went to server).
Is there a Queue system of some kind in SSL mode ??
What is going on?
I had same problem with my other project, and so I decided to download a fresh new Wrench copy.
And I am seeing similar things.
Please someone explain.
Help!!!

I am using helper for the workaround.
If anyone knows how to fix this, please let me know.
Thanks in advance.
Workaround:
*WebSocket helpers
* Checks websocket state before sending.
*/
this.waitForConnection = function (callback, interval) {
if (websocket.readyState === 1) {
callback();
} else {
var that = this;
setTimeout(function () {
that.waitForConnection(callback);
}, interval);
}
};
function send(message, callback) {
this.waitForConnection(function () {
        websocket.send(message);
            websocket.send(""); //send empty msg after your real msg.

        if (typeof callback !== 'undefined') {
          callback();
        }
    }, 1000);
};

Hi!
I'm not sure that this problem is related to server hang, but could you check this fix

It looks like Issue #61 to me. See if https://github.com/varspool/Wrench/issues/61#issuecomment-69536974 can help you.

@Alarmfifa It did not look like anything to do with Large Messages, as I was only send "asdf". But thank you for your reply.
@emadruida Your fix did the trick.
Thank you both for quick reply.

@Alarmfifa It did not look like anything to do with Large Messages, as I was only send "asdf". But thank you for your reply.

"Large message" isn't only for message data. It is about full http message with it's header (cookies for example).
I debugged with small message, but with a big header in one browser. So, my problem is a bit  difficult for reproducing.

The fix mentioned by @emadruida has been merged into v2.0.8 (and v3.0.x-dev) - let me know if that fixes things

authors: Alarmfifa dominics dumshi emadruida

repo: varspool/Wrench

license: WTFPL


text:
sign out

sign out

donee teacher!


text:
Use of Bazel build system forces dependency on dated release

Problem to Solve
Rust programmers may have problems with the currently released version, of November last year. They cannot depend on the current mainline revision, since Rust Cargo cannot add this repository as dependency. That is because it misses a Cargo.toml. You might have thought it to be superfluous given your use of Bazel. Bazel is not a conventional build system for Rust programmers, though.
Proposed Solution
Supply a Cargo.toml, perhaps alongside Bazel artifacts, if Bazel is to stay.

Hi @sanmai-NL you're right that we haven't made a new release in a while. In the future you can expect there to be more regular releases to Cargo so that you don't have to use Bazel yourself and we also don't have to include a separate cargo build in the project.
@dmitrii-ubskii let's schedule a release next week when I'm back in the office?

@flyingsilverfin A separate Cargo build of the product, seems like you think it'd be costly to maintain. Is there evidence for that? And for practical solutions, can't Bazel output a Cargo.toml?

To depend on the latest stable version, depend on the latest release which is published to crates.io.

Here is my output from cargo add typedb-client:
    Updating crates.io index
      Adding typedb-client v0.1.2 to dependencies.
error: failed to select a version for `uuid`.
    ... required by package `typedb-client v0.1.2`
    ... which satisfies dependency `typedb-client = "^0.1.2"` of package `mediabay v0.0.0 (H:\dev\apps\mediabay\src-tauri)`
versions that meet the requirements `^1.1.2` are: 1.4.0, 1.3.4, 1.3.3, 1.3.2, 1.3.1, 1.3.0, 1.2.2, 1.2.1, 1.1.2

the package `typedb-client` depends on `uuid`, with features: `private_getrandom` but `uuid` does not have these features.

all possible versions conflict with previously selected packages.

  previously selected package `uuid v1.2.1`
    ... which satisfies dependency `uuid = "^1.2"` of package `tao v0.16.0`
    ... which satisfies dependency `tao = "^0.16.0"` of package `wry v0.24.1`
    ... which satisfies dependency `wry = "^0.24.1"` of package `tauri-runtime-wry v0.14.0`
    ... which satisfies dependency `tauri-runtime-wry = "^0.14.0"` of package `tauri v1.4.1`
    ... which satisfies dependency `tauri = "^1.4.1"` of package `mediabay v0.0.0 (H:\dev\apps\mediabay\src-tauri)`

failed to select a version for `uuid` which could resolve this conflict

It seems private_getrandom was removed as an available feature from 1.2.0, and was discouraged as a direct dependency from the start (recommending to depend on rng instead). I understand the version on crates.io is more than 9 months old now, and reading the code at https://github.com/vaticle/dependencies/blob/master/library/crates/Cargo.toml#L64C61-L64C61 I can assume this is no longer an issue today (and hasn't been since January since you switched to a Cargo-first dependency description for rust).
I'd rather not lock my whole project to old versions of everything just for typedb to be able to access the private_getrandom feature of uuid, so I'm wondering what my options are here if I want to start using typedb in my tauri app. If I were to build a crate from source, is master a good place to checkout, is there a particular commit/tag that would work as a 'latest stable-enough' for simple plaintext connections and read/write data and schema queries?

reading the code at https://github.com/vaticle/dependencies/blob/master/library/crates/Cargo.toml#L64C61-L64C61 I can assume this is no longer an issue today (and hasn't been since January since you switched to a Cargo-first dependency description for rust).

Unfortunately, this is still an issue. rules_rust resolves all features that we use up front, and since rng implies private_getrandom, the latter still ends up in the generated cargo manifest. This is something we should be able to handle when assembling the crate for deployment though.

We believe we have resolved all of our cargo toml conversion issues, and are publishing to crates.io every release. Our release cadence should now be more active and hopefully this resolves the issue of wanting to depend on  a 'more recent' driver version. Please let us know if you need an unreleased feature immediately and we can try to orchestrate a release for you then.

authors: clembu dmitrii-ubskii flyingsilverfin sanmai-NL

repo: vaticle/typedb-client-rust


text:
Add local time information to the meta-data tables and introduce snapshot notification server

Introduce local DC timestamp information into meta_data ets tables.
The main use-case - get notified when particular transaction is fully
replicated to the local DC, as it may be spread across multiple partitions
that reside on multiple nodes. The change should not affect the behaviour
of dc_utilities:get_stable_snapshot/0.

Meta data notification server is added to antidote application, to provide
trivial notification subscription system, for subsystems which are interested
to get notified when particular snapshot is fully replicated in the local DC.
Such a service has an update lag, which is equal to periodic timer in
meta_data_sender

vector_orddict is extended to support append operation, and similar to behaviour
of dict:append.

Hi, just kind reminder regarding this PR @bieniusa
Please let me know if you intend to review it.

Closed this in favor of https://github.com/vaxine-io/vaxine/pull/44
Added changes requested in this PR

repo: vaxine-io/vaxine


text:
color值不生效

<template>
  <i :class="['el-icon', spin && 'svg-icon-spin']" :style="getStyle">
    <svg aria-hidden="true">
      <use :xlink:href="symbolId" :fill="color" />
    </svg>
  </i>
</template>

<script setup lang="ts" name="SvgIcon">
import { computed } from 'vue'
import type { CSSProperties } from 'vue'
const props = defineProps({
  prefix: {
    type: String,
    default: 'icon',
  },
  name: {
    type: String,
    required: true,
  },
  color: {
    type: String,
    default: '#ffffff',
  },
  size: {
    type: [Number, String],
    default: 20,
  },
  spin: {
    type: Boolean,
    default: false,
  },
})

const symbolId = computed(() => `#${props.prefix}-${props.name}`)
const getStyle = computed((): CSSProperties => {
  const { size } = props
  let s = `${size}`
  s = `${s.replace('px', '')}px`
  return {
    fontSize: s,
  }
})
</script>

<style scoped lang="scss">
.el-icon {
  --color: inherit;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: inherit;
  line-height: 1em;
  color: var(--color);
  fill: currentColor;

  svg {
    width: 1em;
    height: 1em;
  }
}

.svg-icon-spin {
  animation: circle 1.5s infinite linear;
}

/* 旋转动画 */
@keyframes circle {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}
</style>

When I encountered the same problem as you, how did you solve it?

vue3
vite.config.ts / js
add code
createSvgIconsPlugin({
      // 指定需要缓存的图标文件夹
      iconDirs: [path.resolve(process.cwd(), 'src/assets/icons')],
      // 指定symbolId格式,这里需要与组件找那个的 symbolId 对应
      symbolId: 'icon-[dir]-[name]',

      /**
       * custom dom id
       * @default: __svg__icons__dom__
       */
      customDomId: '__svg__icons__dom__',

+      svgoOptions: {
+        full: true,
+        plugins: [
+         {
+           name: "removeAttrs",
+           params: {
+              attrs: "fill"
+            }
+          }
+        ]
+      },
    }),

batch remove  fill attr
洋文不好,  加这个配置就可以了,  删除 fill attr 就可以了, 参考 #70

j加上这个没用的话，可以将包替换成 @digitalacorn/vite-plugin-svg-icons
配置vite.config.ts时，在该插件的配置项中提供了选项

replaceStrokeWithCurrentColor
问题在于

digitalacorn/vite-plugin-svg-icons

关于您的这个digitalacorn/vite-plugin-svg-icons 我没有找到呢？
另外我是这样的话是可以支持的

repo: vbenjs/vite-plugin-svg-icons


text:
fix(BasicForm): validate Form tip height

General

✏ Mark the necessary items without changing the structure of the PR template.

[x] Pull request template structure not broken

Type

ℹ What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

ℹ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉 Put an x in the boxes that apply.

[x] My code follows the style guidelines of this project
[x] Is the code format correct
[x] Is the git submission information standard?
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

issues #3281

repo: vbenjs/vue-vben-admin


text:
Building on top of the Wayland Client Window Example

I am trying to create an app using this Wayland crate in Rust and ran into the issue that I find the example very hard to build up on.
My goal is to implement the geometry method of wl_output::Handler so I would be able to get the current dimensions of the window. Implementing the handler itself is pretty straight forward, but registering it on the EventQueue seems a little more difficult.
In the example everything is first created in a separate scope and after that the scope is closed and the objects are added. This works since the methods like env.seat.get_pointer() return new objects and don't rely on the env anymore. If I want to use env.output however I always need to keep the env around which will lead to issues since during the creation of env event_queue is mutably borrowed and event_queue.register requires a mutable borrow, too.
My current code attempt looks like this: http://hastebin.com/uzojuxukuc.rs
All the other stuff like wayland_env! and declare_handler! should be fine.
Looking at the example getting the width and height of an output seems really awkward. Is there a simple way to solve this issue?

I agree I need to make more examples, this is on my todo-list.
Regarding your specific problem with outputs and ownership, be aware that you can re-instanciate globals as often as needed, using the WlRegistry::bind(..) method, using the values provided by the Envhandler::globals(..) method. Is is perfectly safe and find to duplicate globals this ways. The wayland_env!() macro is just a wrapper doing part of this job for you, for the globals you need only once at initialization.

I don't have a lot of time right now (until next week). You can have a look at wayland-window's code for a less basic example of how the lib can be used.

Thanks for the quick reply. I was able to duplicate the object by using the result of WlRegistry::bind(..). If you have the time for a few more examples I'm sure a lot of people would appreciate that!

I've created #78 as a follow-up issue about writing more examples. If you have some ideas about what examples would be helpful, please leave a note there about it! :)

authors: chrisduerr vberger

repo: vberger/wayland-client-rs


text:
Searching without knowing the full name of the author

Is it possible to search for an author without knowing the full name?
ex:
#Only the first initial of the first name is known J. Wilbanks
author = pyorcid.search(f'family-name:Wilbanks+AND+given-names:J')

I think that this should work for you:
authors = pyorcid.search('family-name:wilbanks&start=0&rows=3')

P.S.  Here rows means how many records to show/fetch, and start means where to start. More information on syntax of a potential query you can find in the tutorial from ORCID

authors: flouland vdmitriyev

repo: vdmitriyev/pyorcid


text:
fixed readme example

hi,
tried to run the example and received:
# command-line-arguments
./main.go:34:9: impossible type switch case: sdl.QuitEvent
	event (variable of type sdl.Event) cannot have dynamic type sdl.QuitEvent (method GetTimestamp has pointer receiver)

Looks like a pointer is needed in the switch.
cheers,
val

Hi @valantonini, the example applies for the master branch. I presume you used v0.4.x?

apologies. i was on 0.4.38.

authors: valantonini veeableful


text:
Duplicate e2e rooms in room list in version 0.3.6

For some (yet unexplained) reasons, rooms in recents becomes duplicated.
It seems they replace other room in the list.

https://github.com/vector-im/riot-ios/issues/889

authors: jeangb manuroe

repo: vector-im/riot-ios


text:
Using go_router to handle routing in the app.

Using go_router to handle routing in the app will give us a lot of features for routing with no complexity. go_router

Agree with that

I suggest to use GetX for this project as we can get both State management and Routing Mechanism from a single package instead of using another package

repo: vedantbahel/viteED


text:
SVG has an invalid size error: how to solve it

Hi,
I have this vega-lite definition (here in the editor).
When I run vl-convert vg2png -i chart.json -o o.png I have
Error: Vega-Lite to Vega conversion failed: Failed to parse SVG string: SVG has an invalid size

I cannot set a size, because I have several kinds of input files, and sometimes I will have two boxes, sometimes five boxes.
Is there a way to have a png starting from this kind of input?
Thank you

Thanks for the report @aborruso. Does vl2svg work?  If so, could you include this resulting SVG file?
Some notes:
The error is coming from usvg at:
https://github.com/vega/vl-convert/blob/c694065fe4e222049dbc5d56a1045e9026870bc3/vl-convert-rs/src/converter.rs#L688-L693

Oh! this is a Vega-Lite specification. Try vl2png

Oh! this is a Vega-Lite specification. Try vl2png

And your great vl-convert does not work with Vega-Lite specification file?
Using vl2svg, I have no error and an empty svg file.

Try vl2png

Using it, it works

authors: aborruso jonmmease

repo: vega/vl-convert


text:
Market list: bug: can't select the market that is already selected

The market list that opens when when you select a market name does not allow you to select the market you are on. It should.
If it doesn't a user who isn't paying attention 🙋 doesn't know what is going on. There isn't any reason to stop them sleacting the market they are on to reload the market/close the modal.
I can only re-produce this on this select market modal, but I'm pretty sure it has happened on the one on first load as well as when you hit "trading" in the top nav. Please do a double check as part of this ticket.

This is not happening anymore in the current market selector. @campbellssource Can I close?

authors: MadalinaRaicu campbellssource

repo: vegaprotocol/frontend-monorepo


text:
Allow open multiple tabs from market list

Currently from the 'Select a market to get started' menu, the market names are links and so you can open them in new tabs, which is great.
The market list should work in the same way but currently does not as the name field is not a link.

Closing because it works now as expected. Fixed.

authors: PeteWilliams asiaznik


text:
use BindingEngine instead of ObserverLocator

As of this SO post by jdanyow, ObserverLocator is now considered Aurelia's "bare metal" (internal) API. Instead, BindingEngine should be used to get observers (also described in the post mentioned above).

I didnt know about that one.
Will have a look into this and switch it out

authors: Thanood vegarringdal

repo: vegarringdal/vGrid


text:
Sydney freezes.

Sydney sometimes freezes. Then she can't process requests or output anything in the terminal. I don't know what the reason is, but it happens.

I have also noticed it, problem is I cant consistenly replicate it so it's hard to fix

Sydney sometimes freezes. Then she can't process requests or output anything in the terminal. I don't know what the reason is, but it happens.

I also have this problem sometimes

Sydney sometimes freezes. Then she can't process requests or output anything in the terminal. I don't know what the reason is, but it happens.

I also have this problem sometimes

I am working on creating a way to do a reset command in whatsapp to make it easier to restart her when it happens. It's hard to fix it since I can't find a way to consistently repeat it but I think the problem comes from the bing api we use (waylaidwanderer/node-chatgpt-api) where after the answer is done bing freeze and doesn't send the answer.

authors: DinuNuggets Luisotee Ryzitos

repo: veigamann/sydney-whatsapp-chatbot


text:
java.lang.IllegalArgumentException：path must be convex

1
android.graphics.Outline.setConvexPath(Outline.java:284)
2
io.github.vejei.bottomnavigationbar.BottomNavigationBar$1.getOutline(BottomNavigationBar.java:144)
3
android.view.View.rebuildOutline(View.java:15007)
4
android.view.View.setBackgroundBounds(View.java:19538)
5
android.view.View.drawBackground(View.java:19503)
6
android.view.View.draw(View.java:19305)
7
io.github.vejei.bottomnavigationbar.BottomNavigationBar.draw(BottomNavigationBar.java:385)
8
android.view.View.updateDisplayListIfDirty(View.java:18250)
9
android.view.View.draw(View.java:19042)
10
android.view.ViewGroup.drawChild(ViewGroup.java:4271)
11
androidx.coordinatorlayout.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1277)
12
android.view.ViewGroup.dispatchDraw(ViewGroup.java:4054)
13
android.view.View.draw(View.java:19317)
14
android.view.View.updateDisplayListIfDirty(View.java:18250)
15
android.view.View.draw(View.java:19042)
16
android.view.ViewGroup.drawChild(ViewGroup.java:4271)
17
android.view.ViewGroup.dispatchDraw(ViewGroup.java:4054)
18
android.view.View.updateDisplayListIfDirty(View.java:18241)
19
android.view.View.draw(View.java:19042)
20
android.view.ViewGroup.drawChild(ViewGroup.java:4271)
21
android.view.ViewGroup.dispatchDraw(ViewGroup.java:4054)
22
android.view.View.updateDisplayListIfDirty(View.java:18241)
23
android.view.View.draw(View.java:19042)
24
android.view.ViewGroup.drawChild(ViewGroup.java:4271)
25
android.view.ViewGroup.dispatchDraw(ViewGroup.java:4054)
26
android.view.View.updateDisplayListIfDirty(View.java:18241)
27
android.view.View.draw(View.java:19042)
28
android.view.ViewGroup.drawChild(ViewGroup.java:4271)
29
android.view.ViewGroup.dispatchDraw(ViewGroup.java:4054)
30
android.view.View.updateDisplayListIfDirty(View.java:18241)
31
android.view.View.draw(View.java:19042)
32
android.view.ViewGroup.drawChild(ViewGroup.java:4271)
33
android.view.ViewGroup.dispatchDraw(ViewGroup.java:4054)
34
android.view.View.draw(View.java:19317)
35
com.android.internal.policy.DecorView.draw(DecorView.java:915)
36
android.view.View.updateDisplayListIfDirty(View.java:18250)
37
android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:684)
38
android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:690)
39
android.view.ThreadedRenderer.draw(ThreadedRenderer.java:804)
40
android.view.ViewRootImpl.draw(ViewRootImpl.java:3206)
41
android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3004)
42
android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2533)
43
android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1522)
44
android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7292)
45
android.view.Choreographer$CallbackRecord.run(Choreographer.java:981)
46
android.view.Choreographer.doCallbacks(Choreographer.java:790)
47
android.view.Choreographer.doFrame(Choreographer.java:721)
48
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:967)
49
android.os.Handler.handleCallback(Handler.java:808)
50
android.os.Handler.dispatchMessage(Handler.java:101)
51
android.os.Looper.loop(Looper.java:166)
52
android.app.ActivityThread.main(ActivityThread.java:7529)
53
java.lang.reflect.Method.invoke(Native Method)
54
com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
55
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

i get the same problem.  can anyone help us?

i get the same problem. can anyone help us?

API 27 之前的问题 >
setOutlineProvider(new ViewOutlineProvider() {
    @Override
    public void getOutline(View view, Outline outline) {
        //添加判断
          if (outlinePath.isConvex()) {
                outline.setConvexPath(outlinePath);
          }
    }
});

repo: vejei/BottomNavigationBar


text:
mathJax 기능 제안합니다.

$$\frac{1}{\pi}$$
식으로 사용 가능한 수식 입력 기능을 제안합니다!!

현재 velog v2 가 개발진행중인데, 추후 고려해보도록 하겠습니다~
v2  는 다른 레포에서 관리중인데 레퍼해놨어요~

저도 이 기능요청하려고 들어왔어요. 수식 기능 들어갔으면 좋겠습니다.!!

repo: velopert/velog


text:
Feature request to flatten file hierarchy

I'm looking for a way to flatten the file hierarchy, basically like the reverse of what synx does. Instead of putting all files into folders to match how they look in Xcode, I want them all in a flat folder.
Or if anyone has suggestions on any alternatives that do this?

I'm also interested in this feature. I need to be able to perform a reverse operation - removing the directory structure completely.
Since this issue is over two years old, I'll ask again: does anyone know of alternative solutions to flatten the directory structure?

authors: JamesKuang jzaczek

repo: venmo/synx


text:
New interactions

Does the v4.0.0 release contain the protein-protein interactions published in this paper? If not, how can we make that happen?

Dear @mathewchamberlain
Thank you for asking!
v4.0.0 release does not contain the protein-protein interactions published in Shilts et al 2022.
We are working on it at the moment and expect to release a new version in September-October.
Best
Luz

Thanks Luz, do you mind leaving this issue open and then closing it once you've performed the update?
Best regards,
Mathew

authors: luzgaral mathewchamberlain

repo: ventolab/CellphoneDB


text:
Update Readme.md

Hi @tjarrettveracode , @julz0815 - I believe this link should go to the Pipeline Scan GitHub examples in the docs.

I think the link is correct as this part is talking about the additional SARFI import. The link is about the GitHub integration, I think it's going to the correct location.

this has been updated, will close the PR

Thanks @julz0815 !


text:
Could you add a example of a Three.js 3D product?

Could you add a example of a Three.js 3D product and how it can be configured (colour...).

Hey there! We do not plan on adding in 3D here. Thanks for the suggestion, though 🙏

authors: Arakistech leerob

repo: vercel/commerce


text:
Add a config option to disable proxying for all private packages (to shield against dependency confusion attacks)

Is your feature request related to a problem?

Dependency confusion attacks exploit a vulnerability in private package registry configurations where an attacker creates a public package with the same name as a private package.
I believe Verdaccio installations may be at risk to these attacks, but I don't understand the particulars of Verdaccio's package resolution algorithm.
What package will Verdaccio serve in this situation?

I have a private package called "my-private-package" (version 1.0.0) in my Verdaccio registry.
There is a public package with the same name at version 2.0.0

Dependency confusion attacks work when the private registry serves the public package instead of the private one.

Describe the solution you'd like

I would like a config option, which when enabled, prevents requests for any packages which exist in a private Verdaccio installation from going out to public NPM.

Describe alternatives you've considered

I understand that you can set the "packages" config so that certain package name patterns don't proxy out to the public NPM.  However, this requires that all your private package names follow a consistent pattern, which may not always be the case.

Additional context

I can work on this feature if you give me some direction.

See https://verdaccio.org/docs/en/best#remove-proxy-to-increase-security-at-private-packages

* I understand that you can set the "packages" config so that certain package name patterns don't proxy out to the public NPM.  However, this requires that all your private package names follow a consistent pattern, which may not always be the case.

In general this is a best practice (scopes).

@DanielRuf I saw that, but is there a way to automatically make sure all private packages do not proxy, but all other package names do proxy?  It looks like you have to write matching patterns for all of your private package names in the config to only disable the proxy for them.

but is there a way to automatically make sure all private packages do not proxy,

no yet, but I was thinking the other day we might check which packages are in the .verdaccio-db.json file and avoid proxy any private package by default.

@juanpicado I think that would be a great addition and would solve the problem I described above.

@juanpicado I think that would be a great addition and would solve the problem I described above.

Unique corner case I did not give many thoughts is the compatibility with all storage plugins, maybe you might check the code, only two files do the job (local-storage, and storage) and share the outcome afterward. I can provide you guidence.

One more corner case, people that have already published eg: (webpack patch) the package will be present at .verdaccio-db.json, thus won't be proxied anymore. So, in any case, this feature should be under a flag until a new release major is available.

I dived into the issue and reached a few interesting conclusions:
Possible solution:

Implement flag that will block all published packages from being resolved by uplink.

problem:  when proxy is enabled for all then every time a package is published verdaccio will verify this against the uplink ,and if the version exists it will fail.
possible solutions :

if you publish higher version, then from that point on verdaccio will stop resolving for that package(which will cause all sort of issues stated by @juanpicado  ).

One more corner case, people that have already published eg: (webpack patch) the package will be present at .verdaccio-db.json, thus won't be proxied anymore.

disable proxy for all - but then you don't need this flag - just create a private registry for private packages and a public one for the rest

i think that the best solution is not implementing anything and using @DanielRuf solution which seems to be the best solution i see

See https://verdaccio.org/docs/en/best#remove-proxy-to-increase-security-at-private-packages

problem:
handling backward compatibility for organization that already have verdaccio with private packages ?
if anyone has a better solution please let me know and i will try to implement it otherwise i think using https://verdaccio.org/docs/en/best#remove-proxy-to-increase-security-at-private-packages is the best and we can close the issue

It is a though decision, since the nature of the proxy is just expect that works. I'd go with number 3. But the original request is legitimate at least to consider a flag or something to disable all proxies by default.
Time ago I was thinking on add -offline flag https://github.com/verdaccio/verdaccio/discussions/1742 and that give an answer to this request. Thoughts?

It is a though decision, since the nature of the proxy is just expect that works. I'd go with number 3. But the original request is legitimate at least to consider a flag or something to disable all proxies by default.
Time ago I was thinking on add -offline flag #1742 and that give an answer to this request. Thoughts?

@juanpicado
so just to clarify, this flag would disable all proxying  and ensure that only packages in the registry are served ??
and if so  i would be glad to start working on it if nobody started ??

this flag would disable all proxying and ensure that only packages in the registry are served ??

Yes, in theory you only need to block two paths, getTarball() and getPackage() in the storage.
I haven't purposed any implementation here https://github.com/verdaccio/verdaccio/discussions/1742 just a flag. But we need to link the flag to the configuration file, in other words, like --listen also can be set up on the config.yaml file, this can be done on @verdaccio/cli module and set the prop to the parsed config file, furthermore involves update @verdaccio/types, and maybe @verdaccio/config.
As you might now, we have few properties as url_prefix, max_body_size, http_proxy or no_proxy are set on the root. I don't want to do this anymore to avoid future collisions with plugins #928 . I'd ask to use server namespaces for the offline mode or if you have a different idea we can discuss it.
Another thing, I'd go only with master branch, I don't want to have more features on 5.x since is more work in maintenance and I'd like to release alpha late this year. Furthermore, it's much easier to create test at the current modules, 5.x is a bit of a mess tbh.
Let's try to create this web framework agnostic as possible 🙏🏼 , since I'm working on parallel to migrate to fastify.

One little improvement is document better in the config file about this topic (that would included in the next release  v5.10.0
https://github.com/verdaccio/verdaccio/commit/5c650acbb204b71cbf1da65148ca570bba8484fd#diff-d3b601db7d2bbb294e8d7a367f2aedbd8c19c65e5c62ba3ea49c38d9f72862caR99

repo: verdaccio/verdaccio


text:
Remove non-relevant capitalization on package name

Description:
The package name shown on the top of the package detail page is probably the best and more natural way for copying and reusing (e.g. in a npm install). However the point is that it's capitalized makes its use less relevant.
Resolves https://github.com/verdaccio/verdaccio/issues/583

npm install -g verdaccio@beta

authors: juanpicado oltodo


text:
Campaign | Teams: My team badges

An area is shown in the the teams home screen for team badges #179.
This is where badges will appear.

Prototype: https://www.figma.com/proto/7wE0Iveas3GGb8u4oL0714/App-Design-Mitglieder-App-(1)-(Copy)?node-id=2743-11128&t=b8swD5IOAFfZ0OSo-1&starting-point-node-id=2425%3A17429
Pollion reference: https://github.com/pollion/sunflower-app/issues/109

UX questions @leagerndt @JuliaFreitagBGSt:

can team badges only be won through challenges or also for 'normal' team efforts?
badge designs need to be provided