text:
I just need Timeline view not with the calendar. Is there any possibilities?

New Issue Checklist

[x] Use the latest version of CalendarKit
[x] I've read the Contribution Guidelines
[x] I've searched for existing GitHub issues

Issue Description
Code I'm using with CalendarKit

[INSERT CODE HERE]

Result I am trying to achieve

[INSERT API OR UI MOCKUPS HERE]

Hi, just use the components then, not the whole DayViewController.
See example in ExampleNotificationController

Thanks @richardtop for the reply.
I used ExampleNotificationController but now we need to add Multiple events without using calendar.
Can you please just help to come out from the issue.
Thanks.

Please, attach the screenshot or mockup of what you're trying to achieve.

We are trying something like it.
We already implemented in Android App.

It doesn't show one event at a time, please check examples.
It shows any number of events you pass by the DayViewDataSource.

this how we added the code
still not working.
can you let us know what the wrong thing i am doing.

What is the contents of the array?
Sent with GitHawk

How can we increase spacing (height) between to hours like 9:00 AM to 10:00?

Take a look into verticalDiff property of the CalendarStyle
Sent with GitHawk

this is our code and we are unable to set data.
Can you just late us where i am wrong.
i also attach json file here.
JSON.txt

Please, configure an example project and attach it here, so I could run it locally.

Hello Richardtop,
Here i attach sample project.
also let us know how can i get value of selected timeline.
Thanks
SampleTesting.zip

Hello @richardtop
Can have any feedback on above example?

Hi, I hope to check it next week.

SampleTesting.zip
@SunnyBamaniya  you had an error in layout. Please, learn more about UIKit and how to do manual / auto layout.
I fixed your issue to make the Calendar occupy the whole view.

Hi, just use the components then, not the whole DayViewController.
See example in ExampleNotificationController

Hey @richardtop
I tried this solutions and it's working perfectly. But is it possible to add multiple event for same datetime. Currently I have added 2 events and second one is with large duration but its overlapping first one. Can you help on this?

Send a screenshot please. Definitely should be possible.
Sent with GitHawk

Hi @EAmey
Can you share your example?
How you set 2 events using ExampleNotificationController.

Hello @richardtop
I just want to add multiple events using ExampleNotificationController.
here I tried in ViewController.swift but unable to add multiple events.
SampleCalendar.zip

Hi @EAmey
Can you share your example?
How you set 2 events using ExampleNotificationController.

Please find below code
if let arrTask = TimesheetTasks.getEventsForDate(date: timelineContainer.timeline.date)
{
            for task in arrTask
            {
                //working with 12 hours format only

              let event = Event()
                event.startDate = task.startTime
                event.endDate = task.endTime
                  event.textColor = .white
                  event.color = .red

                var info = ["\(task.taskName ?? "Task")"]
                info.append("\(task.projectName ?? "Project")")
                    info.append("\(task.startTime.format(with: "hh:mm")) - \(task.endTime.format(with: "hh:mm"))")
                    event.text = info.reduce("", {$0 + $1 + "\n"})

                arrEvents.append(EventLayoutAttributes(event))
            }
            timelineContainer.timeline.layoutAttributes = arrEvents

            return
         }

@SunnyBamaniya
Please find code as below
lazy var timelineContainer: TimelineContainer = {
let timeline = TimelineView()
timeline.frame.size.height = timeline.fullHeight
timeline.eventViewDelegate = self
var currentCalendar = Calendar(identifier: .gregorian)
currentCalendar.locale = Locale.current
currentCalendar.timeZone = TimeZone.current
    timeline.calendar = currentCalendar
    let timelineStyle = TimelineStyle()
    timelineStyle.dateStyle = .twelveHour
    //timelineStyle.verticalDiff = 60.0
    timeline.updateStyle(timelineStyle)
    let container = TimelineContainer(timeline)
    container.contentSize = timeline.frame.size
    container.backgroundColor = .white
    container.addSubview(timeline)
    container.isUserInteractionEnabled = true
    return container
  }()

func getEventDataForDate()
{
timelineContainer.timeline.date = self.dateSelected ?? Date()
timelineContainer.timeline.layoutAttributes.removeAll()
if let arrTask = TimesheetTasks.getEventsForDate(date: timelineContainer.timeline.date)
{
            for task in arrTask
            {
                //working with 12 hours format only

              let event = Event()
                event.startDate = task.startTime
                event.endDate = task.endTime
                  event.textColor = .white
                  event.color = .red

                var info = ["\(task.taskName ?? "Task")"]
                info.append("\(task.projectName ?? "Project")")
                    info.append("\(task.startTime.format(with: "hh:mm")) - \(task.endTime.format(with: "hh:mm"))")
                    event.text = info.reduce("", {$0 + $1 + "\n"})

                arrEvents.append(EventLayoutAttributes(event))
            }
            timelineContainer.timeline.layoutAttributes = arrEvents

            return
         }

}

Hello @richardtop
How can we configure timing instead of 12 am - 12 am to 09 AM - 06 PM?

Currently it's impossible (see #34).

authors: EAmey SunnyBamaniya richardtop

repo: richardtop/CalendarKit


text:
Added ADC readings based on stored Vref for TTGO lora32 2.1.

I have modified the code in a way that it uses "burned" Vref value from the chip for more accurate ADC readings.  I have done this in a way that this is used only on a LilyGo Lora32 v2.1 as I don't have any other boards at home. I think it should work with any ESP32 boards but needs to be tested. Voltage measurements are a bit more accurate.
This has been done based on esp-if examples on github.
R1 and R2 values have also been added to the WEB GUI in case anybody has different voltage in front of voltage divider.
Personal Note field has been added to the WEB GUI.

this was long time implemented and will be also on next release (today)

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
GITHUB_OUTPUT: parameter not set error

Hello, I am trying to use your action in my workflow and I am getting the following error when running it:
/entrypoint.sh: line 29: GITHUB_OUTPUT: parameter not set
Am I the only one, hence am I doing something wrong? I am using the latest version 1.6.1 from the action btw.
This is how my call looks like:
- name: Create git tag
  uses: rickstaa/action-create-tag@v1.6.1
  with:
     tag: "${{ inputs.new_release_version }}"
     message: "Release ${{ inputs.new_release_version}}"

@tamasbege, thanks for your bug report. I checked your problems, and the error is only present when using the action in a windows container (see https://stackoverflow.com/a/74444094/81356870.
As stated in the README, the action is only supported in Linux containers (see https://github.com/rickstaa/action-create-tag/issues/26). Please feel free to create a PR if you'd like to add support for Windows. Otherwise, the solution in https://github.com/rickstaa/action-create-tag/issues/26#issuecomment-1346419325 seems to work for me.

My runner is an Ubuntu based runner actually, so no relation to the error you mentioned regarding Windows. But I managed to do it in another way and hence don't need the action anymore.

My runner is an Ubuntu based runner actually, so no relation to the error you mentioned regarding Windows. But I managed to do it in another way and hence don't need the action anymore.

Okay, that is strange, then. Maybe a temporary issue with the GitHub actions since I can not reproduce it with any of the Ubutnu runners 🤔. Happy to hear you solved your issue.

source: gharchive/issue

authors: rickstaa tamasbege

repo: rickstaa/action-create-tag


text:
pynYNAB isn't returning all subcategories??

I'm trying to use the ynab-email script (https://github.com/jtsmith2/ynab-email) that is written on top of pynYNAB to send an email of category balances each day, but the script keeps sending out 0's for all the current balances.   I've openned an issue with them, and they responding "It looks like for some reason pynYNAB isn't returning all of your subcategories."
Can you please review the issue over there (https://github.com/jtsmith2/ynab-email/issues/2) and see if you feel this is an issue with pynYNAB, or their script?
I've attempted adding in some debug lines, and it seems like pynYNAB isn't returning the current month's subcategories, but I haven't spent much time understanding the options of pynYNAB to confirm.

OK, cannot reproduce, we have to see what happens for your situation:
Next step would be digging in the JSON data that is received by pynYNAB before it's treated and incorporated in the collection client.budget.be_monthly_subcategory_budget_calculations and other collections.
checkout out latest 24c230b commit
Run this script adapted from the one in the ynab-email issue :
import logging
from pynYNAB.Client import nYnabClient
from pynYNAB.connection import nYnabConnection

ynabUser = #TYPE YOUR USERNAME HERE
ynabPassword = #TYPE YOUR PASSWORD HERE
ynabBudgetName = #TYPE YOUR BUDGET NAME HERE, MIGHT NOT BE 'My Budget'

print('Getting YNAB info')

LOG = logging.getLogger('pynYNAB.connection')
LOG.setLevel(logging.DEBUG)

connection = nYnabConnection(ynabUser, ynabPassword)
connection.init_session()
client = nYnabClient(nynabconnection=connection, budgetname=ynabBudgetName)

The script should spit out massive amount of data, some of it is sensitive, don't post it. I just need lines containing the string mcb/, to see if they contain the recent months

Struggling with getting the new commit.  Tried pip and setup.py and both are giving this error:

Conversion of long_description from markdown to reStructuredText failed, skipping.

Also, with the setup.py, I also get this error at the end:

Running ruamel.yaml-0.15.32/setup.py -q bdist_egg --dist-dir /tmp/easy_install-0ZHj74/ruamel.yaml-0.15.32/egg-dist-tmp-ptErjF
sys.argv ['/tmp/easy_install-0ZHj74/ruamel.yaml-0.15.32/setup.py', '-q', 'bdist_egg', '--dist-dir', '/tmp/easy_install-0ZHj74/ruamel.yaml-0.15.32/egg-dist-tmp-ptErjF']
error: Setup script exited with error in ruamel.yaml setup command: Invalid environment marker: platform_python_implementation=="CPython" and python_version<="2.7"

Got installed by removing what I had and using multiple pip commands for dependencies and the setup.py.  But I'm getting 0 useful output:

scott@raspberrypi-pihole:~/ynab-email $ python debug.py
Getting YNAB info
No handlers could be found for logger "pynYNAB.connection"

scott@raspberrypi-pihole:~/ynab-email $ cat debug.py
import logging
from pynYNAB.Client import nYnabClient
from pynYNAB.connection import nYnabConnection

ynabUser = '##################'
ynabPassword = '#####################'
ynabBudgetName = '##############'

print('Getting YNAB info')

LOG = logging.getLogger('pynYNAB.connection')
LOG.setLevel(logging.DEBUG)

connection = nYnabConnection(ynabUser, ynabPassword)
connection.init_session()
client = nYnabClient(nynabconnection=connection, budgetname=ynabBudgetName)

Sorry, you need to add a logging.basicConfig() (dochere) line to add basic streamhandler to the logging facility before the logging works. Add it anywhere in the script, before the client = ... line

Please find the attached file for all lines matching "mcb/"
mcb.txt

OK I see only data for 2017-02 to 2017-04, it's really weird.
On Aug 27, 2017 05:37, "smseidl" notifications@github.com wrote:

Please find the attached file for all lines matching "mcb/"
mcb.txt https://github.com/rienafairefr/pynYNAB/files/1254124/mcb.txt
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rienafairefr/pynYNAB/issues/53#issuecomment-325175113,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAuS9Wsy52pz5BNY2Sgm85ziunarZzOaks5scOSGgaJpZM4O16Ci
.

authors: rienafairefr smseidl

repo: rienafairefr/pynYNAB

license: mit

license_source: bigquery


text:
pyquil-config-setup script does not work

The python 3 compatibility code in pyquil/setup/config.py seems to be wonky.  The try/except block can't be inside a function body for that to work. A better alternative: delete the try/except check and add ...
import six
input = six.moves.input

@gecrooks Thanks for reporting this. Would you mind wrapping your suggestion into a PR and submit it?

authors: gecrooks jotterbach

repo: rigetticomputing/pyquil


text:
Move graph cannonization inside sym check

Move the graph cannonization and isomorphic hashing to be after the sym hash check. Since the sym hash check is less expensive, do that first.

This worked will, commit soon

repo: rightleftspin/NLCE-Rust


text:
youtube-dl dependency removal

Removing the dependency of youtube-dl will simplify greatly the overhead caused by using it.
An alternative would be compile to C the module of youtube-dl responsible to generate the URLs streams. Here is some info:

http://stackoverflow.com/questions/138521/is-it-feasible-to-compile-python-to-machine-code
http://stackoverflow.com/questions/4650243/convert-python-program-to-c-c-code

youtube-dl is a lot more useful than just parse youtube urls more importantly though YouTube is constantly breaking the functionality of youtube-dl due to API breakage to mitigate the usage of it. They make constant updates so really the best option is to simply use youtube-dl unless it was rewritten to obey all of the API rules.

authors: MichaelTunnell rigon

repo: rigon/qmmp-plugin-youtube


text:
New suggestions are not pushed in production environment

New titles were not being pushed to the client in the production environment -- title view.
Needs reproduction.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32278123-new-suggestions-are-not-pushed-in-production-environment?utm_campaign=plugin&utm_content=tracker%2F345420&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F345420&utm_medium=issues&utm_source=github).

Was able to reproduce this on my new workstation. The host config was not setup correctly, resulting in new title triggers getting sent to nonexistent hosts. Relevant:
config: https://github.com/rikai/Showbot/blob/devel/cinchize.yml.example#L8
trigger: https://github.com/rikai/Showbot/blob/devel/lib/cinch/plugins/suggestions.rb#L42

Should check for trailing slash to prevent double slash at beginning of request path:
https://github.com/eriknelson/Showbot/blob/devel/lib/cinch/plugins/suggestions.rb#L42
Confirmed it's actually hitting the trigger, endpint is returning a 500 on an unhandled exception. Traceback:
https://gist.github.com/rikai/3efcae933023b8643c8bf25af4851d9c

repo: rikai/Showbot


text:
Cache nix-shell

Hi!
The way my Github Actions are set up, I install Nix and then use nix-shell. I was wondering if there is a way to use this action such that instead of using a specific packages.nix file it caches whatever is installed directly or indirectly by nix-shell using shell.nix?

I tried a workaround, but still am not getting nix-shell to cache:
I have a release.nix file that builds both a shell and my package.
shell.nix is now trivial: (import ./release.nix { }).shell
As is default.nix: (import ./release.nix { }).project
For some reason, running a subsequent step that is nix-shell shell.nix has to re-download everything into nix store.
Any ideas what is going on?

Sorry, I actually have no idea. I've hacked together this project in a few days and am now unable to recall the details for fixing those issues. Maybe https://github.com/dbaynard/cache-nix-store @dbaynard can help you out. He currently knows all the details, but unfortunately his tests seem to be failing

For some reason, I know again. I just had to sleep on it, apparently. @tbenst your workaround probably isn't working because the cache is uploading during the uses: nix-actions/cache-install@v1.0.6 (this should now be uses: rikhuijzer/cache-install@v1.0.7) step. The nix-shell is the next step and has to download everything indeed.
I've considered supporting both a nix-shell and doing a global installation when making this package. For me, the global installation was more convenient because otherwise you need to specify nix-shell shell.nix --run in every step. In GitHub runners, there wasn't a nice way to override this that I could think of.
Instead, what you can do is install all the packages globally via this action and then call a shell with the same dependencies. Then, NixOS doesn't have to download all the dependencies again. I think that this should be possible by encapsulating the nix files in a shell script (something with import).

He currently knows all the details

This is a very kind interpretation :laughing: Though I see you fixed #3, so my branch is no longer needed (I hope it was helpful).
I hadn't completely understood what the action was doing: I think now that #3 is fixed I'll leave this and focus on getting the cache to work in run steps (I've been using the cachix action to install nix, so that's not needed).
On using nix: I've just installed things globally in the past — I recommend nix run -L (-L for logging), which avoids the need to quote the resulting expression. I couldn't get logging to work properly, though, so perhaps I should use nix-shell --run myself.

I've considered supporting both a nix-shell and doing a global installation when making this package. For me, the global installation was more convenient because otherwise you need to specify nix-shell shell.nix --run in every step. In GitHub runners, there wasn't a nice way to override this that I could think of.

Is it possible to:

Run nix-instantiate -E '(import ./shell.nix {}).buildInputs' to get the derivations for the packages, and
Run nix eval --raw '(import ./shell.nix {}).shellHook' after initializing dependencies?

@diamondburned Can you please elaborate how I can supply packages to install for this action from shell.nix file?
I.e. what should I write in mypackages.nix for it to advertize packages from shell.nix's buildInputs ?

Can you please elaborate how I can supply packages to install for this action from shell.nix file?

You can't. This issue is discussing how this should be implemented.

Thanks! That's what I was looking for. However caching doesn't seem to work. Here are my files:
$ cat .nix/action-deps.nix
let commit = "ce6aa13369b667ac2542593170993504932eb836"; # nixos-22.05 official
  pkgsSrc = builtins.fetchTarball {
    url = "https://github.com/NixOS/nixpkgs/archive/${commit}.tar.gz";
    # Use "nix-prefetch-url --unpack <url>" to calculate sha256
    sha256 = "0d643wp3l77hv2pmg2fi7vyxn4rwy0iyr8djcw1h5x72315ck9ik";
  };
  pkgs = import pkgsSrc {};

in import ./deps.nix {
  inherit pkgs;
}

$ cat .nix/deps.nix
{ pkgs }:

with pkgs; [
  terraform
  google-cloud-sdk
  envsubst
]

$ cat shell.nix
{ pkgs ? import <nixpkgs> {} }:

let actionDeps = import ./.nix/action-deps.nix;

in pkgs.mkShell {
  buildInputs = actionDeps;
}

My GH workflow is:
...
    - uses: actions/checkout@v3

    - name: Install Nix packages
      uses: rikhuijzer/cache-install@v1.0.9
      with:
        key: nix-${{ hashFiles('.nix/**') }}
        nix_file: ".nix/action-deps.nix"

    - name: Init Nix shell
      run: nix-shell --run true

While the cache is loaded during the run, it's not used by the nix-shell --run true command - it downloads everything every time. Any ideas?

Oh, I get it, I should just run commands as if I was already in the nix-shell (like I am in my local dev). That works indeed and works well.
I'm still curious what triggers nix-shell to pull the packages again. May it be the case that the action sets nixpkgs to the tip of the channel or something, so if my sha256 is not the latest, it's considered out of date? (sorry if talking non-sense, my nix skills are quite basic still). One hint to that, is that when I switch to this separated config with tarball hash in .nix/action-deps.nix then my local shell refeteched bunch of stuff (and I'm on NixOS 22.05 as well locally )
Otherwise, the env looks the same.

I have found a way to install nix-shell packages:
nix-env -iE '{ ... }: (import ./shell.nix {}).buildInputs'

You can also directly feed this file into nix-build to get the output derivation path:
nix-build --out-link /tmp/cache-output ./shell.nix

I've made https://github.com/rikhuijzer/cache-install/pull/12 to implement this.

I'm also making a soft fork of cache-install to experiment with some cool features, such as using the Nix output hashes as the cache key: https://github.com/diamondburned/cache-install/tree/auto-cache.
I'm currently using it like so:
      - name: Install Nix packages
        id: nix-install
        uses: diamondburned/cache-install@57ae7b74633e956428c92f69f793bcf654149998
        with:
          auto-optimise: true
          shell-file: shell.nix
          instantiated-files: servers/*/default.nix

This allows me to include both the shell.nix file and all of my server deployment files as the input for the cache hash automatically.

@diamondburned curious what's the status of your work and if there is a chance it will make it into upstream.

@diamondburned curious what's the status of your work

I've been using it for a few months now, and it's been working perfectly fine. Currently, all you really need is:
- uses: diamondburned/cache-install@main

and if there is a chance it will make it into upstream

It won't. See https://github.com/rikhuijzer/cache-install/pull/12.
If you're using Flakes, it might also be worth looking at magic-nix-cache-action.

authors: arximboldi dbaynard diamondburned haizaar rikhuijzer tbenst

repo: rikhuijzer/cache-install


text:
Change scrollable-content class' height from 100% to auto

Change scrollable-content class' height from 100% to auto
Without this, the bufferAmount property don't work.
It could be related to me using the virtual-scroll inside a flex-box, but I can't be sure of it.
I've changed it inside the node_modules/angular2-virtual-scroll/virtual-scroll.js, but I am unsure of the consequences, and probably will lose my 'fix' if I ever update the dependencies

You will lose your changes if you update your dependencies. The correct way to do this is to fork the git repo and point your package.json directly at your github instead of npm. However, you should be able to do this with straight CSS without changing any code in the package.
If you'd like to have this officially added to the repo, please submit a pull request. I'm a little nervous that it might have unintended consequences for other users with different setups, so it'll need to be thoroughly tested with various scenarios.
Closing this for now. Please re-open if needed.

authors: Guedez speige


text:
fix: do not resolve existing one sided loose nullable property mappings

Removes resolving an existing one sided nullable mapping for a property mapping.
E.g. when resolving int? => int? existing mappings for

int? => int?
int => int?
int? => int
int => int
were tried to be resolved. However, the one sided non-nullable version does introduce #1089 (uses a mapping built for other properties which can throw) and I can't think of a real use-case for this. Now only existing mappings for int? => int? and int => int  are resolved.

This is a breaking change, however, I can't think of a real use-case for this and it was only introduced in the last release. Not sure if we should release this as a major release.
Fixes #1089

@TimothyMakkison can you think of any use-cases which this one-sided mapping resolving addresses?
Do you see additional problems where the same problem as described in #1089 could arise (e.g. with the null handling configurations on the MapperAttribute)?

repo: riok/mapperly


text:
Create a DomainLink component

We have 5 places that have ~identical code for rendering the link for a domain.  These are used for AccountSet transactions, an account's domain setting, or a validator's domain.
The new component should the following props:

className?: string - any css classes to add.
decode?: boolean - whether or not the domain needs to be decoded.  Default to false.
domain: string - Domain to link to.

Usages:

https://github.com/ripple/explorer/blob/b187925e078bead09aa397088e63f46fc4341402/src/containers/Token/TokenHeader/index.js#L53-L59
https://github.com/ripple/explorer/blob/b187925e078bead09aa397088e63f46fc4341402/src/containers/Ledgers/Ledgers.jsx#L73-L80
https://github.com/ripple/explorer/blob/b187925e078bead09aa397088e63f46fc4341402/src/containers/Network/ValidatorsTable.jsx#L57-L59

Places that will use decode prop.

https://github.com/ripple/explorer/blob/b187925e078bead09aa397088e63f46fc4341402/src/containers/Transactions/Description/AccountSet.jsx#L13-L20
https://github.com/ripple/explorer/blob/b187925e078bead09aa397088e63f46fc4341402/src/containers/Transactions/Simple/AccountSet.jsx#L21-L28

Completed by #276

repo: ripple/explorer


text:
Default to OpenSSL hash function implementations

Use OpenSSL implementations of SHA256, SHA512 and RIPEMD160 by default and add a simple (manual) benchmark unit test.

Suggested: Use OpenSSL for digests

Merged as 0e7c8ce5548705342c62941511f7877f9ca08a46

authors: nbougalis vinniefalco

repo: ripple/rippled

license: ISC


text:
Improve platform detection and reduce includes:

The existing platform detection code was derived from the old Beast library, which was, itself, derived from JUCE.
This commit removes that code and replaces it with the Boost.Predef library which defines a consistent set of compiler, architecture, operating system, library, and other version numbers.
For more on Boost.Predef, please see the Boost documentation. The documentation for the current version as of this writing is at: https://www.boost.org/doc/libs/1_71_0/doc/html/predef.html

1000 lines removed? Love it! I'll take a look tomorrow, but it looks like there are some legit compile error (easy to solve I'm sure). Here's one I saw:
../../src/test/beast/beast_CurrentThreadName_test.cpp:44:13: error: no viable conversion from 'const std::__cxx11::basic_string<char>' to 'bool'

        if (initialThreadName)

            ^~~~~~~~~~~~~~~~~

/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:816:7: note: candidate function

      operator __sv_type() const noexcept

      ^

1 error generated.

Codecov Report

Merging #3183 into develop will decrease coverage by <.01%.
The diff coverage is 94.11%.

@@             Coverage Diff             @@
##           develop    #3183      +/-   ##
===========================================
- Coverage    70.67%   70.67%   -0.01%
===========================================
  Files          689      689
  Lines        54121    54114       -7
===========================================
- Hits         38252    38246       -6
+ Misses       15869    15868       -1

Impacted Files
Coverage Δ

src/ripple/basics/random.h
82.75% <ø> (ø)
:arrow_up:

src/ripple/peerfinder/impl/Counts.h
53.93% <ø> (ø)
:arrow_up:

src/ripple/app/main/Main.cpp
40.67% <ø> (ø)
:arrow_up:

src/ripple/app/tx/impl/Transactor.cpp
87.11% <ø> (ø)
:arrow_up:

src/ripple/protocol/impl/ErrorCodes.cpp
75% <ø> (ø)
:arrow_up:

src/ripple/json/json_value.h
98.48% <ø> (ø)
:arrow_up:

src/ripple/app/misc/impl/ValidatorSite.cpp
94.75% <ø> (ø)
:arrow_up:

src/ripple/protocol/Serializer.h
83.03% <ø> (ø)
:arrow_up:

src/ripple/rpc/handlers/AccountTxOld.cpp
0% <ø> (ø)
:arrow_up:

src/ripple/protocol/impl/BuildInfo.cpp
91.66% <ø> (ø)
:arrow_up:

... and 15 more

Continue to review full report at Codecov.

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

authors: codecov-io nbougalis seelabs


text:
How to generate tests for RV64D and RV64F using riscv-ctg?

When I use 'riscv_ctg -v debug -d ./tests/ -r -cf ./sample_cgfs/dataset.cgf -cf ./sample_cgfs/rv64i.cgf -bi rv64i -p2,' I can generate tests for RV64I. However, I couldn't find the provided rv64d.cgf and rv64f.cgf. Now I want to generate tests for D and F extensions. How can I do that? Looking forward to your guidance. Thank you very much.

I would like to know this too, and especially whether there is an easy way to modify rv64f.cfg to produce half and quad precision tests.

@pawks can you comment on whether these configs can be made available?

All the cgfs are already present under the sample_cgfs folder in the repo(link). The cgfs are placed in the directory corresponding to the minimum ISA requirement for the instruction to be included i.e for a RV64FD configuration instructions from all 4 directories will have to be used. This follows the instruction organization in the ISA manual.

@pawks Thank you for the speedy reply and sorry I missed the subdirectory. A few more questions if you have time to support this.

It looks like riscv_ctg has changed since you generated fadd_b1-01.S June 17, 2022.  For example, now it wants a --base-isa and seems to want --flen rather than --xlen.  I'm having trouble coming up with a usage string that works with RV32F/fadd.s.cgf.  Can you either point me to a string that works, or recommend an older version of riscv_ctg that is compatible with the usage string recorded in fadd_b1-01.S?

RV32F/fadd.s.cgf uses some abstract_comb: 'ibm_b... statements. I'm not finding where these are defined in riscv_ctg.  Will riscv_ctg find these combinations somehow, or is there additional information I need outside the riscv_ctg repo?

Related to (2), the abstract_comb ibm_b... takes a parameter of 32.  I presume I'll need to change this to 16 and 128 to generate Zfh and Q tests.  If this doesn't just work out of the box, is there any documentation about finding and modifying this abstract_comb?  I'm comfortable with floating-point and willing to do work if I can find what needs adapting.

I had to search and find the IBM files also; They're in the isac repo.
On Mon, Dec 25, 2023 at 8:35 PM David Harris @.***>
wrote:

@pawks https://github.com/pawks Thank you for the speedy reply and
sorry I missed the subdirectory. A few more questions if you have time to
support this.

It looks like riscv_ctg has changed since you generated fadd_b1-01.S
June 17, 2022. For example, now it wants a --base-isa and seems to want
--flen rather than --xlen. I'm having trouble coming up with a usage string
that works with RV32F/fadd.s.cgf. Can you either point me to a string that
works, or recommend an older version of riscv_ctg that is compatible with
the usage string recorded in fadd_b1-01.S?
2.
RV32F/fadd.s.cgf uses some abstract_comb: 'ibm_b... statements. I'm
not finding where these are defined in riscv_ctg. Will riscv_ctg find these
combinations somehow, or is there additional information I need outside the
riscv_ctg repo?
3.
Related to (2), the abstract_comb ibm_b... takes a parameter of 32. I
presume I'll need to change this to 16 and 128 to generate Zfh and Q tests.
If this doesn't just work out of the box, is there any documentation about
finding and modifying this abstract_comb? I'm comfortable with
floating-point and willing to do work if I can find what needs adapting.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/400#issuecomment-1869247237,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJQOIQJZV4Y2OWVI253YLJHXTAVCNFSM6AAAAAA6DDEXZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGI2DOMRTG4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

authors: allenjbaum davidharrishmc pawks riscvzbs

repo: riscv-non-isa/riscv-arch-test


text:
Question about iotinval.vma behavior in the model when GV=0

For an iotinval.vma command, as the spec says in the Table 9, Chapter 3, it seems that when  GV from the command is clear,  GSCID and GV in any address-translation cache entries should be ignored. However, the model would skip the entries where GV is set during the invalidation. Is that what we expected?

That's clear. Thanks

repo: riscv-non-isa/riscv-iommu


text:
Missing License File

While the README file references the project is licensed under the CC-BY-4.0 license and provides a link to the full license text. the lack of a LICENSE file prevent GitHub from recognizing the license.
I propose adding a plain text LICENSE file like the one used in the ISA manual.
I'm happy to add this into the project directly and will do so in the coming days. If anyone has concerns, please raise them.
Thanks,
-Jeff

Committed directly to master.  Closing.

repo: riscv/riscv-toolchain-conventions


text:
proposal: move jemalloc to optional feature

We should use a feature to enable jemalloc, instead of making it default.

jemallocator doesn't support risc-v. Marking it as optional maybe facilitate compiling the project on risc-v 😯

jemallocator doesn't support risc-v. Marking it as optional maybe facilitate compiling the project on risc-v 😯

In fact, it also can't be compiled on my Mac (

repo: risinglightdb/risinglight


text:
Optimize case of high join amplification

In streaming workload, high join amplification can lead to barrier latency spike.
So far our approaches to mitigate these have been more indirect, e.g. decoupling sink, adaptive rate limit. It can isolate the slowness to the specific stream job.
I think we should also explore optimizing join itself.

[ ] Come up with a high cardinality join scenario, with few columns.
[ ] Come up with a high cardinality join scenario, with many columns.
[ ] Observe the flamegraph to see where it can be optimized further.
[ ] Investigate other systems to see what optimizations can be made in similar situations, e.g. cross join.

One thing which @BugenZhao found is the old case where rpc connection can cause deadlock. There's a workaround provided:

https://github.com/risingwavelabs/risingwave/pull/17768
https://github.com/risingwavelabs/risingwave/pull/17755

docs how to address join amplification. Partitioning on non-join-column.

Related: https://github.com/risingwavelabs/risingwave/issues/9052

Btw seems like many real-world usecases have inevitable join amplification. So observability alone is insufficient. We need some solution which can enable horizontal scaling to process the join amplification. i.e. when there's high join amp, increasing compute can help to quickly resolve it.
1M join amp is a good target to see if our system can reasonably handle it.

repo: risingwavelabs/risingwave


text:
source: build_stream_source_reader failure may block cluster

Describe the bug
If build_stream_source_reader fails due to e.g., connection to external system lost, the SourceExecutor cannot work anymore and barriers cannot be collected.
It seems some sources like Kafka will not fail when creating reader, but some like Pub/Sub will fail.
Error message/log
No response
To Reproduce

risedev d <profile-with-pubsub>
create source with Pub/Sub emulator
risedev k && risedev d <profile-without-pubsub>

Now the cluster stop working
dev=> create table t(x int);
ERROR:  Failed to run the query

Caused by these errors (recent errors listed first):
  1: gRPC request to meta service failed: Internal error
  2: The cluster is bootstrapping

2024-05-19T14:56:19.017581+08:00 ERROR risingwave_stream::task::stream_manager: actor exit with error actor_id=56 error=Executor error: Connector error: tonic error : transport error: error trying to connect: tcp connect error: Connection refused (os error 61)

Backtrace:
   0: std::backtrace_rs::backtrace::libunwind::trace
             at /rustc/4a0cc881dcc4d800f10672747f61a94377ff6662/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
   1: std::backtrace_rs::backtrace::trace_unsynchronized
             at /rustc/4a0cc881dcc4d800f10672747f61a94377ff6662/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2: std::backtrace::Backtrace::create
             at /rustc/4a0cc881dcc4d800f10672747f61a94377ff6662/library/std/src/backtrace.rs:331:13
   3: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
             at /Users/xxchan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.81/src/error.rs:565:25
   4: <T as core::convert::Into<U>>::into
             at /rustc/4a0cc881dcc4d800f10672747f61a94377ff6662/library/core/src/convert/mod.rs:759:9
   5: anyhow::kind::Trait::new
             at /Users/xxchan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.81/src/kind.rs:95:9
   6: <risingwave_connector::source::google_pubsub::source::reader::PubsubSplitReader as risingwave_connector::source::base::SplitReader>::new::{{closure}}::{{closure}}
             at ./src/connector/src/source/google_pubsub/source/reader.rs:131:60
   7: core::result::Result<T,E>::map_err
             at /rustc/4a0cc881dcc4d800f10672747f61a94377ff6662/library/core/src/result.rs:829:27
   8: <risingwave_connector::source::google_pubsub::source::reader::PubsubSplitReader as risingwave_connector::source::base::SplitReader>::new::{{closure}}
             at ./src/connector/src/source/google_pubsub/source/reader.rs:131:22
   9: <core::pin::Pin<P> as core::future::future::Future>::poll
             at /rustc/4a0cc881dcc4d800f10672747f61a94377ff6662/library/core/src/future/future.rs:123:9
  10: risingwave_connector::source::base::create_split_reader::{{closure}}
             at ./src/connector/src/source/base.rs:111:75
  11: <F as futures_core::future::TryFuture>::try_poll
             at /Users/xxchan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-core-0.3.30/src/future.rs:82:9
  12: <futures_util::future::try_future::into_future::IntoFuture<Fut> as core::future::future::Future>::poll
             at /Users/xxchan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/future/try_future/into_future.rs:34:9
  13: <F as futures_core::future::TryFuture>::try_poll
             at /Users/xxchan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-core-0.3.30/src/future.rs:82:9
  14: <futures_util::future::try_maybe_done::TryMaybeDone<Fut> as core::future::future::Future>::poll
             at /Users/xxchan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/future/try_maybe_done.rs:79:57
  15: <F as futures_core::future::TryFuture>::try_poll
             at /Users/xxchan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-core-0.3.30/src/future.rs:82:9
  16: <futures_util::future::try_join_all::TryJoinAll<F> as core::future::future::Future>::poll
             at /Users/xxchan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/future/try_join_all.rs:163:32
  17: risingwave_connector::source::reader::reader::SourceReader::to_stream::{{closure}}
             at ./src/connector/src/source/reader/reader.rs:168:18
  18: risingwave_stream::executor::source::source_executor::SourceExecutor<S>::build_stream_source_reader::{{closure}}
             at ./src/stream/src/executor/source/source_executor.rs:136:14
  19: <await_tree::future::Instrumented<F,_> as core::future::future::Future>::poll
             at /Users/xxchan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/await-tree-0.2.1/src/future.rs:119:15
  20: risingwave_stream::executor::source::source_executor::SourceExecutor<S>::execute_with_stream_source::{{closure}}
             at ./src/stream/src/executor/source/source_executor.rs:464:14

Expected behavior
The cluster continues working when there's an issue within a source.
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response

It seems some sources like Kafka will not fail when creating reader

Could you provide more details on how this is possible? Is it because the connection is actually established when first being polled or something else?

  2: The cluster is bootstrapping

Perhaps we should also consider enriching the error message by including the failure details if there's any retry during the bootstrap recovery.

Expected behavior
The cluster continues working when there's an issue within a source.

I'm not sure if this is the behavior we should guarantee. At least the cluster is not permanently blocked (like #16693) as the user can run DROP to resolve the problem now.

At least the cluster is not permanently blocked (like https://github.com/risingwavelabs/risingwave/issues/16693) as the user can run DROP to resolve the problem now.

Indeed. I thought it's blocked because I cannot CREATE new jobs. But it seems DROP is working. A little surprising, how is it possible?

authors: BugenZhao xxchan


text:
Using RBTools all selected files are posted for review instead of selected files only

In Version Control Tab when i select one of several modified files and click on post review button the review request posted contains all the modified files instead of just selected files.

me too

I have tried this too, without using RBTools. Same results. I have 3 changelists and I select one but it posts a diff containing files from all 3

authors: AlexanderFinch waqarkhan88 xburning

repo: ritesh-kapoor/review-board-idea-plugin


text:
Allow files without .txt extension as argument to --list

What is the purpose of your issue?

[ ] Bug
[x ] Feature Request
[ ] Question
[ ] Other

Description
Some files failed to download, I wanted to retry them and copied the url's to a file called "tst"
When I pass that file to spotdl it says
error: tst is not of a valid argument to --list, argument must be plain text file.
If I rename the file to tst.txt the file is accepted.
On linux it is not uncommon to have ascii files without extension.
Suggestion is to remove the restriction (and maybe use a different way to determine if the file is ascii)

I've submitted a small pull request to check if the file passed with --list has valid content.
Basically this commit only accepts text files for which each line starts with http (and that includes https)
Of course the test can be changed to allow e.g. empty lines, whitespace, comments, ... but I decided to only do this, just to test the waters.
Note that this is my first pull request to this repo, so apologies upfront if I made a mistake left or right.
Also my python is a bit rusty.
Code has been tested locally.
I also tried to run pytest, but somehow all tests fails with messages like this one:
_______________________________________________________________________ ERROR collecting spotdl/encode/encoders/tests/test_ffmpeg.py _______________________________________________________________________
ImportError while importing test module '/home/fmeulenbroeks/git/spotify-downloader/spotdl/encode/encoders/tests/test_ffmpeg.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.6/importlib/init.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
E   ModuleNotFoundError: No module named 'spotdl.encode.encoders.tests'
I have no idea why this is, this is not even near to or related to what I changed.
(my development system is linux if that matters, and yes, I recently used pytest in another project without problems)

repo: ritiek/spotify-downloader


text:
Extension causes high cpu load

Issue Type: Performance
Extension Name: LiveServer
Extension Version: 5.5.1
OS Version: Linux x64 4.15.0-39-generic
VSCode version: 1.31.1

:warning: Make sure to attach this file from your home-directory: /home/dillon_ko/ritwickdey.LiveServer-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Hello. few questions!!,
When you're getting this issue? after load of vscode or after clicking to Go Live ?
Is this happen every-time ? or random ?
Please reply here https://github.com/ritwickdey/vscode-live-server/issues/278
Duplicate of https://github.com/ritwickdey/vscode-live-server/issues/278

[Note: This issue is closed by a javascript code (written by me).
https://gist.github.com/ritwickdey/36682dabe4a992c57e4562c935bfbbdd ]

Thank You.

authors: dillonko ritwickdey

repo: ritwickdey/vscode-live-server


text:
Extension causes high cpu load.

Issue Type: Performance
Extension Name: LiveServer
Extension Version: 5.5.1
OS Version: Windows_NT x64 10.0.17134
VSCode version: 1.31.1

:warning: Make sure to attach this file from your home-directory: C:\Users\sharan shetty\ritwickdey.LiveServer-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Hello. few questions!!,
When you're getting this issue? after load of vscode or after clicking to Go Live ?
Is this happen every-time ? or random ?
Please reply here https://github.com/ritwickdey/vscode-live-server/issues/278
Duplicate of https://github.com/ritwickdey/vscode-live-server/issues/278

[Note: This issue is closed by a javascript code (written by me).

https://gist.github.com/ritwickdey/36682dabe4a992c57e4562c935bfbbdd ]
Thank You.

authors: ritwickdey shravankumarshetty


text:
optimize png images using zopflipng

Using Google's zopflipng to recompress png images losslessly.
Size before optimize:
16500   ./assets
3708    ./dist
444     ./demo

Size after optimize:
15784   ./assets
3180    ./dist
436     ./demo

thanks


text:
both async and sync fetching of the wasm failed

Aborted(both async and sync fetching of the wasm failed). Build with -sASSERTIONS for more info. (evaluating 'new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info.")')
device: iphone 6s Plus
System:  ios 13.6.1
but work fine on iphone12

Hey @Hardcore0331
Could you please provide some sample code that produces this error? Which version of the library are you using as well?

repo: rive-app/rive-react


text:
Provide condensed output csv

The current outputs per car can be difficult to handle and provide a lot of information that isnt useful in all cases. For applications where only energy sums and use cases are relevant, there should be an option to receive a condensed output csv similar to the one in SpiceEV
csv concept:
time series for total charging power per use case
columns now: timestep, sum CS power, sum per trip destination
columns after refactoring: timestep, sum CS power, sum hpc, sum public, sum work, sum home

Things to consider before opening a PR:

wait for #46 and change up output function to match new column names
maybe add config option for output files

As there was no issue handling keyword in #49, I close this one manually.

repo: rl-institut/simbev


text:
🛑 Library is down

In f0d9dff, Library (http://library.cvsu.edu.ph) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Library is back up in fa9f3d9 after 15 minutes.

repo: rlvillacarlos/cvsu-site-monitor


text:
Change units on dxf flat export

Suggested by @Cimarian_RMP.
Possible candidate for HousekeeperExternalPrograms *.vbs example.

SEDoc.UnitsOfMeasure.igUnitMass: Value=5 for kg, Value=2 for lbm
SEDoc.UnitsOfMeasure.igUnitDistance: Value=17 for mm, Value=0 for in

[Solid Edge Constants Type Library] : UnitOfMeasureLengthReadoutConstants Enumeration
[Solid Edge Constants Type Library] : UnitOfMeasureMassReadoutConstants Enumeration

Ready to test

Added ChangeToInchAndSaveAsFlatDXF.vbs to HousekeeperExternalPrograms.  Closing.

repo: rmcanany/SolidEdgeHousekeeper


text:
Add Xbox Live

Add information that it is impossible to delete your Xbox Live Gamertag account, and that it's only possible to move your Gamertag to a different Microsoft Account.

@Arminator – you forgot to make a PR for this addition, I’ve done it for you.
Additionally, it’s always best to write commits using imperative mode (Add > Added), here’s the rationale explained in this helpful article, How to Write a Git Commit Message:

Imperative mood just means "spoken or written as if giving a command or instruction". A few examples:

Clean your room
Close the door
Take out the trash

Thanks

Thank you. This was the first time I'm using Git, so it was inevitable for me to make a mistake ;-)

authors: Arminator neeklamy


text:
Added Serilog and AppInsights

This may be too much at once. But this adds Serilog to the Api, allowing Serilog to log to both the Console and Application Insights. It also enables event capturing, i.e. requests, to Application Insights.

Amazing! Thanks, Dirk. This is my first ever incoming PR on GitHub.
Do you know if many teams are still using Serilog? I remember having some conversations a little while ago to remove it from some projects because equivalent functionality could be achieved with the AppInsights libraries directly.

You are right, this is probably too "enterprisey".

authors: dirkrheeder robbell

repo: robbell/dotnet-aks-api-template


text:
Using 'Open Terminal Here' doesn't open it here :-)

Hey everyone !
In Gnome, there is a great feature : when I right-click in a folder, I can select "Open Terminal Here" and a terminal opens with this directory. It used to work while bash was my terminal.
Now, it's not working anymore :-(
Currently, the terminal launch zsh as a current command, otherwise it launch bash as default. It is certainly why the feature above doesn't work anymore.
I am lokking for a workaround for it :-) If by any chance, someone has one, it will be nice of him !
Thanks !

Hi,
This is seemingly not due to OMZ itself, but to the way you configured your terminal to run Zsh. Probably running Zsh as a custom command prevents your terminal from doing additional setup stuff — like switching to the appropriate directory.
Have you tried to properly set Zsh as your default shell and then letting your terminal open your default shell?
Anyway, since I suppose the issue happens with vanilla Zsh too, this is clearly not OMZ-related. Unless you have evidence that OMZ is at fault here, please close the issue — I will still try to help you, but this is not an OMZ issue so it should be closed.

Thanks for the answer.
I know it's not OMZ related (sorry about that) but OMZ is the reason why I installed zsh so that's why I came here in the first place.
So as you said, I tried to properly set zsh as default with chsh. It didn't work then I had a second thought about 'properly'. I rebooted, remove the custom command and it's working !
Thanks

Excellent!

authors: clement-escolano ncanceill

repo: robbyrussell/oh-my-zsh


text:
Stub out views, forms and templates for MVP functionality

We need to stub out the views, forms and templates in order to make use of the all goodness I have added in so far.
This ticket will probably be quite large but will give a very bare bones working prototype.

Completed

repo: robcharlwood/you-judge


text:
Keine Daten seit dem 30.07.

Wie der Betreff schon sagt: die letzte Zahl zu den COVID-10_Todesfällen ist vom 30.07.
Wie geht es nun weiter?

Seit zwei Tagen sind die kumulierten Daten (Fälle und Todesfälle) einen Tag verspätet.
Die neu gemeldeten Todesfälle (= Differenz der kumulierten Todesfälle) werden gar nicht mehr ausgewiesen.

Okay, danke.


text:
Inheritance of slot %CELL in places.

In the file place.lisp, the class BASIC-PLACE contains a slot %CELL
with a :READER CELL.  In the class PSEUDO-PLACE-MIXIN, an additional
:READER named VALUE is added to this slot, and in the class
ROOT-PLACE a :READER named VALUE and a writer named (SETF VALUE) are
added to this slot.
I can't see any reason why some code would want to refer to this slot
either as (CELL ...) or (VALUE ...) when a ROOT-PLACE is manipulated.
Indeed if it did, it would be very confusing.  So then, would it not
be better to have (say) a class PLACE that is the parent of both
BASIC-PLACE and ROOT-PLACE, and that has no slot %CELL, and to have
ROOT-PLACE be a subclass of this new common parent?

Oh, and it is a bit strange to have an accessor called VALUE for a slot called %CELL,
especially without any comments explaining this choice.

Oh, and it is a bit strange to have an accessor called VALUE for a slot called %CELL,
especially without any comments explaining this choice.

I don't think that part is necessarily strange since value is a protocol generic function which can, in this case, be implemented as a reader for a particular slot.
But I agree in general that re-purposing the %cell slot is confusing and should be avoided. Your proposal of introducing a new class that provides "directly stored" values makes sense to me.

authors: robert-strandh scymtym

repo: robert-strandh/Clouseau-issues


text:
Property 'swipe' does not exist, v-touch is any

For the following code inside my <template>:
<div ref="container" class="content" v-touch:swipe="handleContentSwipe">
  ...
</div>

I get the warning
Property 'swipe' does not exist on type '{ $: ComponentInternalInstance; $data: { timelineRef: Ref<HTMLDivElement> | null; wrapperRef: Ref<HTMLDivElement> | null; ... 6 more ...; timelineEvents: { ...; }[]; }; ... 11 more ...; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => a...'.ts(2339)

additionally the v-touch directive is of type any:

Here's how I've imported the package to my vue 3 typescript project, using yarn and vite. I also use Volar in VS Code.
In main.ts:
/* Vue Touch Events */
import Vue3TouchEvents, {
  type Vue3TouchEventsOptions,
} from "vue3-touch-events";

...

app.use(Vue3TouchEvents, {
  disableClick: true,
} as Vue3TouchEventsOptions);
app.mount("#app");

Any ideas how to fix the typings?

Additional info, it happens on all events (press, swipe,...)
While using vue-tsc 1.2.0 it will compile (altough in VS Code it shows the error), when going to the latest vue-tsc 1.4.4 it doesn't compile and fails with the error described by @petarhristov94 .

It got fixed in vue-tsc. This can be closed!


text:
Simple questions

Hey there.
I am working with a Yii app, but I am not really happy with the built-in migration mechanism. Currently I am using the 1.x series of releases.
In order to properly incorporate Phinx into my app, I would like to know a few things:

I saw that one can specify a template. How do I make one?
Are there top-level commands for CREATE DATABASE?
The docs that I found only talked about creating and coding a migration, but I have not seen anything about the config file. Thing is that I am utilizing a custom config folder for all the files that configure one or another component. What has to go into a config and which format(s) can I use?

Kind regards, Ingwie!

Ok, there are DB functions.
https://github.com/robmorgan/phinx/blob/0.4.x-dev/src/Phinx/Migration/AbstractMigration.php#L191
...but what is $options supposed to have?

you should reference this http://docs.phinx.org/en/latest/

There also is no remark for createDatabase()'s usage, although the inline code comment reads "inherit from docs". So I still dont know how this function is to be used correctly.
The rest of my questions can be answered in these docs though.

How to create a db,not found in http://docs.phinx.org/en/latest/

authors: BardiaAfshin IngwiePhoenix chenjin0624

repo: robmorgan/phinx


text:
running helmfile and helm inside the cluster

Hi
I have some clusters that are in remote parts of the world (well, considering I am in Australia anywhere that is not in Australia is remote... :)) and sometimes I have to contend with very high latencies.
One way I have thought to work around this is to run helmfile and helm inside the cluster it is maintaining. Is anyone doing this? Are any alarm bells running that this is not a good idea? What do you think?
Permissions shouldn't be a worry, as I can give it a ServiceAccount and access to everything. What else do I need to concern myself with?
Thanks

I'm running helmfile in a Gitlab runner on a K8S cluster, seems fine!

Also try https://github.com/summerwind/actions-runner-controller for running GitHub Actions self-hosted runners in your cluster. It enables you to run helmfile within your cluster.
I've also heard that Codefresh's venona allows you to pipeline steps within your cluster.
You can possibly run ArgoCD in an "admin" cluster that is located near o your application clusters . ArgoCD has an advanced feature called Config Management Plugins that allows you to let it run helmfile template for you to render manifests to be applied. See https://github.com/roboll/helmfile/issues/1110#issuecomment-590619920.

Thanks for the input team.

authors: jurgenweber manics mumoshu

repo: roboll/helmfile


text:
Enable --wait-for-jobs flag introduced in helm3.5

Fixes https://github.com/roboll/helmfile/issues/1650, https://github.com/roboll/helmfile/issues/785
This PR adds:

--wait-for-jobs CLI override option to helmfile binary
waitForJobs helmDefaults parameter (default false)
waitForJobs release parameter (default false)

--wait-for-jobs was introduced in Helm3.5 ( https://github.com/helm/helm/pull/8363 )

thank you for this function
we want this one much ! can you tell when do you plan next release ?

authors: StepanKuksenko jwitko


text:
Support for apps with spaces or ability to add aliases

Ideally this would work.
$ fuck you chrome
    (；￣Д￣) . o O( I’ve got nothing on chrome )

Less ideal.
$ fuck you google chrome
    (；￣Д￣) . o O( I’ve got nothing on chrome )

Meh.
$ fuck you "google chrome"
    (╯°□°）╯︵ǝɯoɹɥɔ ǝlɓooɓ(x1: 50998)

#11 would solve this issue.

You can use wildcards for matching process names partially, so fuck you *chrome will match anything that ends with chrome, and fuck you *chrome* will match anything that has chrome somewhere.
How do you envision the alias thingie working?

One way to go for aliases would be to have a default .fuck-you config file with key:value pairs that is overridden by a similar ~/.fuck-you user config file if exists. Config files could be YML or a better fitting format.
An alternative solution could be to have fuck-you find similarly named processes and prompt the user for verification:
$ fuck you chrome
Do you mean 'google chrome' ? [y/N]
>

With possibly also:
$ fuck you chrome -f
(╯°□°）╯︵ǝɯoɹɥɔ ǝlɓooɓ(x1: 61002)
$

+1 for a .fuck-you config file.
# ~/.fuck-you
alias chrome="google chrome"

@nrj It would be best to use some standard format that can be read without a home made parser. Think JSON and require, or YML and yaml-js.

+1 for config, as something like fuck you atom won't work, you need to fuck you electron, so aliases would be pretty nice.

authors: danyshaanan filalex77 nrj robotlolita

repo: robotlolita/fuck-you


text:
Deprecated: parse_str(): Passing null to parameter #1 ($string)

Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /home/cagep529/orcacagep/vendor/coffeecode/datalayer/src/DataLayer.php on line 155
Check if the value of $param is passed to be later inserted in the str_parse function, if it is null, do not insert it, not showing the error message

Alguma solução para esse problema no PHP 8.1?!

A solução apresentada causa conflitos de execução. Mas obrigado por reportar.

authors: rafaeldms robsonvleite vazjunior

repo: robsonvleite/datalayer


text:
GSI related or not?

Hey, good day!
Cool stuff, keep it up!
Was wondering if u can suggest me something for this - i'm looking to get information about courier and active runes, was wondering if GSI can provide it, but it seems there's nothing about it. Runes related only counts how many runes were picked for each hero - that's it.
Do u have any ideas where i can get it? My end-point is to run an overlay when some event happens - for example, if courier of team2 delivering to player0 items, show which items it delivering.
TL;DR Sorry for long text)
Edit: I'm talking about spectator mode

Hey, sorry about the delayed response. As I only have implemented client side-player data, the data you are asking about isn't included here, though I will be doing that shortly after finishing another project.
The link below is where I have checked in the past for spectator data that is supplied, but I do not see it there either. I'm unsure if that is because it not updated or that data is not revealed, the 2nd option would surprise me.
https://www.npmjs.com/package/dota2-gsi
I will look into it more and see what I can discover, you may want to constantly JJ - Pimpmuckl, would created Layerth that is used in a lot of tournaments, or Bukka, who also works on it.

authors: kkimmikko robuhde


text:
MINIOR：Add validation to the Set method in the GrpcKvService file

What type of enhancement is this?
Refactor
What does the enhancement do?
Add validation to the Set method in the GrpcKvService file.
src/placement-center/src/server/grpc/service_kv.rs
We need to check that the Set method's key and value are empty.If they are empty, we return an error.
Implementation challenges
No response

mark

authors: Pikady socutes

repo: robustmq/robustmq


text:
Dec multiply is not reporting overflow

From the following repl output:
» Num.mulSaturated 170_141_183_460_469_231_731dec 2

-1.374607431768211456 : Dec
» Num.mulChecked 170_141_183_460_469_231_731dec 2

Ok -1.374607431768211456 : Result Dec [Overflow]
» Num.mul 170_141_183_460_469_231_731dec 2

-1.374607431768211456 : Dec

I would expect all three to indicate overflow either via panic, Err or returning Dec maximum value, but instead they all return a sort of wrapped multiplication.
This also shows up outside the repl:
app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.17.0/lZFLstMUCUvd5bjnnpYromZJXkQUrdhbva4xdBInicE.tar.br" }

import pf.Stdout

main =
    Stdout.line! (Num.toStr (Num.mul 170_141_183_460_469_231_731dec 2))

# output:
# -1.374607431768211456

Which indicates this is not specific to the gen-dev backend but rather the zig bitcode implementation. mulWithOverflow is the place to look: https://github.com/roc-lang/roc/blob/0e550a7f68f53d8699d484a426cd4963e0110539/crates/compiler/builtins/bitcode/src/dec.zig#L310
Found as part of work on #7264

I have a fix on the dec-mul branch. Just waiting on https://github.com/roc-lang/roc/pull/7264 to land before I make a PR.

@bhansconnect that PR has merged, in case you missed it.

authors: bhansconnect lukewilliamboswell shua

repo: roc-lang/roc


text:
torch下deeplabv3模型无法量化转出

当前我使用torch模型训练的deeplabv3在导出rknn时，如果如果不进行量化和预编译可以导出rknn，所以速度特别慢。如果进行量化的话则失败。错误如下：
ValueError: Dimension 1 in both shapes must be equal, but are 124 and 120. Shapes are [1,124,72] and [1,120,68]. for 'cat_at_input.11_185_183/cat_at_input.1 with input shapes: [1,124,72,256], [1,124,72,256], [1,124,72,256], [1,124,72,256], [1,120,68,256], [] and with computed input tensors: input[5] = <3>.
done

当前我使用torch模型训练的deeplabv3在导出rknn时，如果如果不进行量化和预编译可以导出rknn，所以速度特别慢。如果进行量化的话则失败。错误如下：
ValueError: Dimension 1 in both shapes must be equal, but are 124 and 120. Shapes are [1,124,72] and [1,120,68]. for 'cat_at_input.11_185_183/cat_at_input.1 with input shapes: [1,124,72,256], [1,124,72,256], [1,124,72,256], [1,124,72,256], [1,120,68,256], [] and with computed input tensors: input[5] = <3>.
done

RKNN Toolkit版本信息和复现模型请提供下。

authors: YQMCU eRaul

repo: rockchip-linux/rknn-toolkit


text:
/usr/bin/psl should only link to libpsl, not to any of the IDN libraries

currently, tools/psl gets built using the same LDFLAGS as libpsl.so.  This includes (e.g.) -licuuc and -licudata (from pkg-config from libicu).
However, psl shouldn't need that linkage, since it calls none of the symbols in (e.g.) libicu directly.
adjusting the build system to ensure that psl only links against libpsl would be better.

I am not aware of any difference on a GNU/Linux toolchain when linking dynamically - the linker should recognize it and handle it gracefully. What exactly is the problem ?
And with static linking, you'll need LDFLAGS.
What about environments like Windows ?

On Tue 2016-07-05 16:02:12 -0400, Tim Rühsen wrote:

I am not aware of any difference on a GNU/Linux toolchain when linking
dynamically - the linker should recognize it and handle it
gracefully. What exactly is the problem ?

sure, most linkers recognize it and handle it gracefully, but the
linkage is still spurious.  It also means that if a user installs a
version of libpsl that is linked to IDN library X, but /usr/bin/psl is
still linked to library Y, both libraries will be loaded into the
runtime process.

And with static linking, you'll need LDFLAGS.
What about environments like Windows ?

I didn't mean to get into static linking or Windows -- but when linking
statically, you're presumably already linking statically to a static
libpsl, which itself would already be statically linked, so again, the
explicit linkage to libicu is superfluous.
    --dkg

Basically we already do what it that way. There was just a bug when using libicu + pkg-config.
Fixed in 'develop' now.
BTW, it was the LIBS variable.
And a static library does not include all external references - these still have to be resolved by explicitly mentioning the needed libraries during the link step. Maybe libtool cares for that ? I am also not into static linking... these days were 20 years ago ;-)

authors: dkg rockdaboot

repo: rockdaboot/libpsl


text:
Ability to customize PendingViewHolder and some fixes

I needed to customize pendingViewHolder -because i use StaggeredGridLayoutManager and i need pendingViews to use fullSpan so in viewHolder i do so. In order to have this happened, i need to create my own view then pass it to the library, so i made that part little bit more flexible.
And also realised that it should not call notifyDataSetChanged everytime, since we have the ability to notify specific portions now. So i made it optional, up to flag.
Finally, since we receive parent object from adapter when it calls onCreateViewHolder, we don't actually need to pass context into this adapter just to create pendingView.

I guess, because i updated targetSDK to 23 (as Marshmallow) it cannot build automatically.
Please see for yourself. Thanks for the library though.

This PR contains too many unnecessary changes, and I don't get your idea either. Sorry my friend, I have to close it.

You are right, my bad :)
Thanks for the library

authors: rockerhieu yayaa

repo: rockerhieu/rv-adapter-endless


text:
启动alispot.exe报错,报错信息如下...为啥会报错呀..

"err":{"message":"Cannot read property 'port' of undefined","name":"TypeError","stack":"TypeError: Cannot read property 'port' of undefined\n    at main (E:\myssr\index.js:276:26)\n    at process._tickCallback (internal/process/next_tick.js:68:7)"},"msg":"Cannot read property 'port' of undefined","time":"2021-03-13T01:31:58.753Z","v":0}

因为内容敏感，完整文档和代码在forward.js分支，请仔细阅读。

authors: rockswang wyfxiaowangzi

repo: rockswang/alispot


text:
meta: introduce dot-separated package nicknames

This is a first step towards eliminating /-separated package names which are harder to read.

Closing this in favor of #14.

repo: rodentrabies/bp


text:
How-Tos to do

[ ] Basic workflow with a blinking led.
[ ] PS alone
[ ] PL alone (include how to store in QSPI/SD)
[ ] How to perform a simulation
[ ] How to use ILA

Superseded by #5


text:
Add go tests

A workflow is required to run go test on events .g: on: [pull_request, push, workflow_dispatch]

I'd like to pick this up.
I assume this requires changes for sonarcloud integration as well (including test files and coverage files etc.)
wdyt?

@jeffy-mathew thanks for expressing interest. At this stage we just need to get the tests running first. I'd recommend getting that merged and then looking at the sonarcloud integration.

authors: haani-niyaz jeffy-mathew


text:
Fixing some issues with AutoComplete

Background issues:

If using FormsyAutoComplete a user begins to type and uses the keyboard to select the first option in the AutoComplete menus (Keyboard, not mouse click) handleBlur will set _value before the selected autocomplete item text is set in the input.

If, for some reason, blur is not triggered on the AutoComplete element, an incorrect value can be set for the formsy element/model.

Could not reset MUI AutoComplete component using [AutoCompleteComponent].setState({ searchText: '' }) because FormsyAutoComplete did not provide access to component.

This PR:

Gives access to muiComponent
Uses setValue instead of setState

@rojobuffalo sorry it took so long. I squashed the commits into one, but it looks like I squashed one too many together. Sorry. let me know if this is a problem and I can fix it.

Hi @alan-cruz2! I know it's been a few years, but this project is coming back to life! The first step is getting all the old PRs either closed or merged.

If you have any interest in getting this PR merges let me know ASAP and I'd be happy to help!
If you'd like to join the project, I'd be happy to partner with you
If you have moved on (after only 3 years?!?) that's fine too! But I'd appreciate a response anyways!

repo: rojobuffalo/formsy-material-ui


text:
[ID-259]Fix Get Group Members

resolve #259

LGTM

authors: mdryankov stefanvit

repo: rokwire/groups-building-block


text:
[FEATURE] Improve Catalog Contribute page UI

Is your feature request related to a problem? Please describe.
Some UI controls are misaligned. Some fields like URL needs to have validation on the frontend. Some of the placeholder text needs to be improved.
Describe the solution you'd like
Fix alignment issues, add frontend validation to URL fields, and update placeholder text.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
This task is to make some minor UI changes based on things observed during a review.

Will be continued in #1103

repo: rokwire/rokwire-building-blocks-api


text:
Fullscreen fix

this should fix your fullscreen issues @roldanjr

I'll try to test it again on Mac once the build has been done :)

Ill look into it a bit more after work as on mac it seems to vanish sometimes though that may be in dev and on windows it seems to fullscreen but not show fullscreen or something weird. So ill try to figure out what is wrong with it and the resizing option being set or unset.

@roldanjr after these last changes it seems to be working fine on mac now

repo: roldanjr/pomatez


text:
Issue with Yi Home Y4 1296P Fullhan chip

I bougth a new Y4 camera from China today, and I think it's a new version of Y4
SN: AKY4CH... (not IFCN)
Model: YYS.2919 (I think it's still the same as other versions)
Chip: FH8632V2
Firmware: 5.1.00.01_202212281036 (latest version)
Manufacture date: 2023.02
Not region locked. Was able to pair it using the Yi Home China app.
I tried to hack it with the y29ga file multiple times but it didn't work. The LED light stucks at dimmer blue light, instead of bright blue.
I got this file when browsing the SD card: wifi_connected.zip

Edit: I also tried to format the SD card using the Yi Home app but the card became unrecognizable by Mac/Windows.

Surprisingly I can download firmware files by just opening its FTP server. Do you want these files?

I was able to dump the /backup/ folder by running the debug.sh file in the SD card.  Not sure why it didn't run Factory/config.sh. Maybe it's missing chmod permission?
Hope these files are useful:

backup.zip
ftp.zip

At the moment, I can't support it.
I should buy one.

comment to prevent closing

authors: redphx roleoroleo


text:
rollup-plugin-babel doesn't understand babel sourcemaps

Example reproduction
Basically what it says in the title. The smallest code that fails is class Foo {}; export {Foo}, though I think generators also trigger the error:
$ npm run build

> test@1.0.0 build /Users/carlos/Dropbox/Development/test
> rollup -c

Bad sourcemap
Error: Bad sourcemap
    at Object.Link.traceSegment (/Users/carlos/Dropbox/Development/test/node_modules/rollup/www/ROLLUP/rollup/src/utils/collapseSourcemaps.js:75:26)
    at /Users/carlos/Dropbox/Development/test/node_modules/rollup/www/ROLLUP/rollup/src/utils/collapseSourcemaps.js:31:27
    at Array.forEach (native)
    at /Users/carlos/Dropbox/Development/test/node_modules/rollup/www/ROLLUP/rollup/src/utils/collapseSourcemaps.js:29:9
    at Array.map (native)
    at Object.Link.traceMappings (/Users/carlos/Dropbox/Development/test/node_modules/rollup/www/ROLLUP/rollup/src/utils/collapseSourcemaps.js:26:34)
    at collapseSourcemaps (/Users/carlos/Dropbox/Development/test/node_modules/rollup/www/ROLLUP/rollup/src/utils/collapseSourcemaps.js:102:37)
    at Bundle.render (/Users/carlos/Dropbox/Development/test/node_modules/rollup/www/ROLLUP/rollup/src/Bundle.js:280:11)
    at Object.write (/Users/carlos/Dropbox/Development/test/node_modules/rollup/www/ROLLUP/rollup/src/rollup.js:62:32)
    at /Users/carlos/Dropbox/Development/test/node_modules/rollup/bin/runRollup.js:138:18
Type rollup --help for help, or visit https://github.com/rollup/rollup/wiki

npm ERR! Darwin 15.4.0
npm ERR! argv "/Users/carlos/.nvm/versions/node/v5.7.0/bin/node" "/Users/carlos/.nvm/versions/node/v5.7.0/bin/npm" "run" "build"
npm ERR! node v5.7.0
npm ERR! npm  v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! test@1.0.0 build: `rollup -c`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the test@1.0.0 build script 'rollup -c'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the test package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     rollup -c
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs test
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls test
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/carlos/Dropbox/Development/test/npm-debug.log

I strongly suspect this has to do with the newly released babel-core@6.7.7, as my project worked yesterday (with babel-core@6.7.6) but not today after I had to remove my node_modules.

I think this is the same as https://github.com/rollup/rollup/issues/618 – looking into it

Closed by rollup/rollup#619

authors: Rich-Harris cprecioso

repo: rollup/rollup-plugin-babel


text:
'inherits' is not exported by node_modules/util/util.js

Running into an error with Inherits not being exported by node_modules/util/util.js.
Rollup Config
import typescript from 'rollup-plugin-typescript2';
import babel from 'rollup-plugin-babel';
import globals from 'rollup-plugin-node-globals';
import builtins from 'rollup-plugin-node-builtins';
import resolve from 'rollup-plugin-node-resolve';
import commonjs from "rollup-plugin-commonjs";
import pkg from "./package.json";

export default {
    input: './src/index.ts',
    plugins: [
        typescript(),
        resolve({
            preferBuiltins: true,
            browser: true
        }),
        commonjs({
            include: "node_modules/*",
        }),
        builtins(),
        globals({
            process: true,
            global: true,
            dirname: true,
            filename: true
        }),
        babel(),
    ],
    output: [ // Required; Array = multiple outputs
        {
            file: pkg.main,
            format: 'umd',
            name: 'Divine'
        },
        {
            file: "lib/divine.cjs.js",
            format: 'cjs'
        },
        {
            file: pkg.module,
            format: 'es'
        }
    ],
    watch: {
        include: [
            "src/**/*.ts"
        ],
        exclude: [

        ]
    }
}

I have used the following fixes to no avail:

Reordered plugin support
Updated commonjs to the following:

        commonjs({
            include: "node_modules/*",
            namedExports: {
                "node_modules/util/util.js": ['inherits']
            }
        }),

Has anyone else seen a similar issue? I can't seem to find more on the web at this time.
Thank you for all the help in advance!

This could be related to #394. You can try downgrading resolve to 1.11.0 and see if it helps.

That did solve the issue. thanks @bterlson

authors: bterlson srepollock

repo: rollup/rollup-plugin-commonjs


text:
Problem with :create command and custom types

Describe the bug
When using custom write type and read type to modify the data before inserting / after fetching data from the database, the create command passes original unmodified data to read type, sometimes causing exceptions.
To Reproduce
require 'bundler/inline'

gemfile do
  source 'https://rubygems.org'
  gem "json"
  gem "rom-sql"
  gem "sqlite3"
end

require 'rom'
require 'rom-repository'

rom = ROM.container(:sql, 'sqlite::memory') do |conf|
  conf.default.create_table(:test) do
    primary_key :id
    column :value, String, null: false
  end

  class TestRelation < ROM::Relation[:sql]
    WriteType = Dry.Types.Constructor(String) { |value| JSON.dump({content: value}) }
    ReadType = Dry.Types.Constructor(String) { |value| JSON.parse(value)["content"] }

    schema(:test, infer: true) do
      attribute :value, WriteType, read: ReadType
    end
  end

  conf.register_relation(TestRelation)
end

class TestRepo < ROM::Repository[:test]
  commands :create
end

record = TestRepo.new(rom).create(value: "test value")

This causes:
/home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/json/common.rb:216:in `parse': unexpected token at 'test value' (JSON::ParserError)
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/json/common.rb:216:in `parse'
	from rom_custom_type_problem.rb:21:in `block in <class:TestRelation>'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/dry-types-1.7.1/lib/dry/types/constructor/function.rb:17:in `call'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/dry-types-1.7.1/lib/dry/types/constructor.rb:81:in `call_unsafe'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/dry-types-1.7.1/lib/dry/types/schema/key.rb:46:in `call_unsafe'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/dry-types-1.7.1/lib/dry/types/schema.rb:330:in `block in resolve_unsafe'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/dry-types-1.7.1/lib/dry/types/schema.rb:324:in `each'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/dry-types-1.7.1/lib/dry/types/schema.rb:324:in `resolve_unsafe'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/dry-types-1.7.1/lib/dry/types/schema.rb:60:in `call_unsafe'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/dry-types-1.7.1/lib/dry/types/constructor.rb:81:in `call_unsafe'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/dry-types-1.7.1/lib/dry/types/type.rb:47:in `call'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rom-sql-3.6.1/lib/rom/sql/commands/create.rb:41:in `block in finalize'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rom-sql-3.6.1/lib/rom/sql/commands/create.rb:41:in `map'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rom-sql-3.6.1/lib/rom/sql/commands/create.rb:41:in `finalize'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rom-core-5.3.0/lib/rom/command.rb:479:in `block in apply_hooks'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rom-core-5.3.0/lib/rom/command.rb:474:in `each'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rom-core-5.3.0/lib/rom/command.rb:474:in `reduce'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rom-core-5.3.0/lib/rom/command.rb:474:in `apply_hooks'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rom-core-5.3.0/lib/rom/command.rb:289:in `call'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rom-sql-3.6.1/lib/rom/sql/commands/error_wrapper.rb:18:in `call'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rom-core-5.3.0/lib/rom/commands/composite.rb:19:in `call'
	from /home/katafrakt/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rom-repository-5.3.0/lib/rom/repository/class_interface.rb:130:in `block in define_command_method'
	from rom_custom_type_problem.rb:35:in `<main>'

The data is actually written correctly to the database, but it fails on trying to return the value. Stacktrace points to finalize hook of rom-sql:
        def finalize(tuples, *)
          tuples.map { |t| relation.output_schema[t] }
        end

This indeed tries to feed original data, unmodified by write type, to a read type.
Expected behavior
Creating a record using custom write and read type returns correct result.
My environment

Affects my production application: NO
Ruby version: 3.2.2
OS: Linux

Oh, I just realized that it works when I specify WriteType as write
# not: attribute :value, WriteType, read: ReadType
attribute :value, write: WriteType, read: ReadType

Not sure why I missed this before. It makes sense.

Actually, that was premature optimism. With write: is does not encode the value before putting it in the db, so naturally in this case it does not crash, but it also does not do what's desired - there's just a plain string "test value" in the database.

I did some more digging and found out that this problem is only present for SQlite and MySQL. Or, to be more precise, is not a problem in PostgreSQL. This lead me to discovery that it's because PostgreSQL has it's own implementation of insert for create command. The default insert implementation is broken and tries to apply read type twice - first when relation.where(...).to_a is called at the end of insert and after that in finalize hook. For PostgreSQL the insert does not use relation, so the type is onl applied during finalize.
I think that's enough for me to prepare a PR with a fix.

repo: rom-rb/rom-sql


text:
Length of sending text

how can i increase the length of text file. It only receive certain lines of text.

Current implementation supports only small messages (<250B, IIRC).

Can you please tell me how to increase length.

This requires non-trivial work on the decoder implementation, for which unfortunately I don't have time :(

Please find the sources for the audio MODEM library here: https://github.com/romanz/jmodem

authors: nishantraju romanz

repo: romanz/audiomodem-android


text:
Generate .editorconfig and populate config with globals

Summary
Closes #756
This PR implements:

creation of .editorconfig with some defaults;
running of the lint command where we collect the global variables;
if there are any global variables, we store and add them to the final config;
created a server command init where we scan the projects with relative extensions and we fill the .editorconfig file based if files should use tabs or spaces

Test Plan
Created an integration test that shows the output. JS files are handled usings tabs while YAML files are handled using spaces.
Also, created an integration test that shows nothing gets written if the file already exists.

@sebmck  I updated the code as you suggested and it works pretty good! I tried locally and the file emitted is compliant to the extensions set inside the project!
Although there's something strange that I don't understand: why during CI the .rjson file gets picked up while locally it doesn't? (integration test)
Also, I can't see the the logs that were supposed to be emitted inside the server/commands/init.ts command. Funny thing, if I comment the function await writeConfig(), I am able to see the logs.

Woo, nice! Looks great.

Although there's something strange that I don't understand: why during CI the .rjson extension gets picked up while locally it doesn't? (integration test failing)

Looks to be passing? What rome.rjson file do you mean?

Also, I can't see the the logs that were supposed to be emitted inside the server/commands/init.ts command. Funny thing, if I comment the function await writeConfig(), I am able to see the logs.

Hmm, I'm not sure.

That's strange, when I pushed the latest changes, I saw a problem inside the snapshots.
Well, doesn't matter now!
Although the fact that I can't see the logs is really strange

authors: ematipico sebmck

repo: romefrontend/rome


text:
功能请求：建议搜索方案里可以搜索几个站点2天内重复的种子，以方便快速下载辅种。

如果能在搜索方案里勾选几个站点，然后能自动找寻2天内（可自设搜索时间范围）重复的种子，以方便用户观察哪个种子成为通用种子，快速下载辅种。

你好，重复种子如何定义？
另关于自设时间段的讨论请参见 https://github.com/ronggang/PT-Plugin-Plus/issues/104

想法是，比如A站2天前出了一个种，B种2天后才转载，那我要是知道A、B站有2个一样的种子，且根据时间先后排序知道A站是首发原创，那我赶紧去A站下了种子跑来B站一辅种，那B站的上传基本都能吃到。

通过搜索是无法准确的定位到相同种子的。

authors: Rhilip ronggang wqzvic88

repo: ronggang/PT-Plugin-Plus


text:
Ourbits不显示助手图标

注意：上传日志或配置信息前，请先删除个人信息！

PT 助手版本: 1.0.7

PT 助手安装方式：（市场安装，或zip包安装）市场

浏览器名称及版本：Chrome Version 74.0.3729.131

浏览器是否安装了其他插件：是

停用其他插件后是否正常工作：否

问题描述：
Ourbits不显示助手图标，其他站点正常

相关截图：

检查域名是否一致或设置cdn域名

的确因为域名不一致，助手的不带www。


text:
[NativeFunction] Native Function error code

Some native functions directly raise the error code.
https://github.com/rooch-network/rooch/blob/4a649e19a2040d8e3c9378f0701bf8217bf84fee/crates/rooch-framework/src/natives/rooch_framework/crypto/ecdsa_k1_recoverable.rs#L50-L52
This needs to be converted by the moveos_types::move_std::error function, like
https://github.com/rooch-network/rooch/blob/4a649e19a2040d8e3c9378f0701bf8217bf84fee/moveos/moveos-stdlib/src/natives/moveos_stdlib/raw_table/mod.rs#L482-L485

What's the difference of returning Ok(NativeResult::err(...)) and Err(PartialVMError) ?

NativeResult = Result<T, PartialVMError>

I made a mistake on the previous, PartialVMError has no location, VMError has a location.

In the VM, if we know the location, return VMError. Otherwise, return PartialVMError and let the invoker set the location.

repo: rooch-network/rooch


text:
Chest Appears/Item Appears shows 0 if we never find them

If DisplayRNG doesn't get far enough to find the next item spawn or chest spawn, we show 0 for those values on the left pane.
Repro Steps:

Launch Application
Set Chest1 "Appears Chance" to 1 and "Item 1 Chance" to 99
Begin search

Behavior: Advance to Appear and Advance for Item are both 0.

Fixed by commit f93c5ffe9251da2f12ba209a5716ca1b9bd682de

repo: roostalol/RNGHelper


text:
🛑 TROJAN 🇩🇪 Germany DEH 1 is down

In 315f48f, TROJAN 🇩🇪 Germany DEH 1 (https://det-1.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇩🇪 Germany DEH 1 is back up in 145a230.

repo: roosterkid/opentunnel-status-server


text:
🛑 XRAY 🇩🇪 Germany DEH 1 is down

In deefb62, XRAY 🇩🇪 Germany DEH 1 (https://dex-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XRAY 🇩🇪 Germany DEH 1 is back up in fd0ce01.


text:
🛑 TROJAN 🇬🇧 United Kingdom UKO 2 is down

In 8c13317, TROJAN 🇬🇧 United Kingdom UKO 2 (https://ukt-2.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇬🇧 United Kingdom UKO 2 is back up in d945d5f.


text:
🛑 XRAY 🇩🇪 Germany DEH 1 is down

In e21d608, XRAY 🇩🇪 Germany DEH 1 (https://dex-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XRAY 🇩🇪 Germany DEH 1 is back up in de084fd.


text:
🛑 TROJAN 🇺🇸 United States USF 1 is down

In 58dfbcd, TROJAN 🇺🇸 United States USF 1 (https://ust-1.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇺🇸 United States USF 1 is back up in 9fca9fa.


text:
🛑 TROJAN 🇸🇬 Singapore SGA 1 is down

In 772e428, TROJAN 🇸🇬 Singapore SGA 1 (https://sgt-3.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇸🇬 Singapore SGA 1 is back up in c9de9a0.


text:
🛑 TROJAN 🇬🇧 United Kingdom UKO 2 is down

In 1b9d2cd, TROJAN 🇬🇧 United Kingdom UKO 2 (https://ukt-2.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇬🇧 United Kingdom UKO 2 is back up in 7462c3f.


text:
🛑 TROJAN 🇮🇩 Indonesia IDJ 1 is down

In 4dbcb4e, TROJAN 🇮🇩 Indonesia IDJ 1 (https://idt-1.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇮🇩 Indonesia IDJ 1 is back up in 14fcb02.


text:
🛑 SSH 🇬🇧 United Kingdom UKO 1 is down

In 5b314eb, SSH 🇬🇧 United Kingdom UKO 1 (http://uks-1.optnl.com:8080/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSH 🇬🇧 United Kingdom UKO 1 is back up in 00d4123.


text:
🛑 TROJAN 🇬🇧 United Kingdom UKM 1 is down

In 5cae8e7, TROJAN 🇬🇧 United Kingdom UKM 1 (https://ukt-1.optnl.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇬🇧 United Kingdom UKM 1 is back up in abf9254.


text:
🛑 SSH 🇨🇦 Canada CAO 1 is down

In 2ac150d, SSH 🇨🇦 Canada CAO 1 (http://cas-1.optnl.com:8080/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSH 🇨🇦 Canada CAO 1 is back up in a2418b3.


text:
🛑 V2RAY 🇺🇸 United States USF 1 is down

In d24f5e8, V2RAY 🇺🇸 United States USF 1 (https://usv-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇺🇸 United States USF 1 is back up in 23c59e4.


text:
🛑 TROJAN 🇮🇩 Indonesia IDJ 1 is down

In c0407c7, TROJAN 🇮🇩 Indonesia IDJ 1 (https://idt-1.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇮🇩 Indonesia IDJ 1 is back up in 2c6d2c2.


text:
Composer: Add only option to wpackagist.org repository

See:

https://github.com/outlandishideas/wpackagist/pull/311
https://github.com/composer/composer/pull/8755/
https://php.watch/articles/composer-2

This option is backwards compatible I guess? Composer just ignores it for non-2.0 versions?

This option is backwards compatible I guess?

Correct. Composer v1 ignores the only option.

Not to confuses with canonical repositories:

If a packages exists in a higher priority repository, it will now be entirely ignored in lower priority repositories. See repository priorities for details.
-- https://github.com/composer/composer/blob/master/UPGRADE-2.0.md

authors: TangRufus swalkinshaw

repo: roots/bedrock


text:
node1: /tmp/vagrant-shell: line 214: kubectl: command not found

Environment

OS: Mac OSX 10.14.2
Kubernetes version:
VirtualBox version: 5.2.24
Vagrant version:
Vagrant 2.2.1

What I did?
vagrant up
Your operations on this repo.
Messages
Logs or error messages.
node1: cp: cannot stat ‘/vagrant/kubernetes/server/bin/*’: No such file or directory
    node1: configure master and node1
    node1: Created symlink from /etc/systemd/system/multi-user.target.wants/kube-apiserver.service to /usr/lib/systemd/system/kube-apiserver.service.
    node1: Job for kube-apiserver.service failed because the control process exited with error code. See "systemctl status kube-apiserver.service" and "journalctl -xe" for details.
    node1: Created symlink from /etc/systemd/system/multi-user.target.wants/kube-controller-manager.service to /usr/lib/systemd/system/kube-controller-manager.service.
    node1: Created symlink from /etc/systemd/system/multi-user.target.wants/kube-scheduler.service to /usr/lib/systemd/system/kube-scheduler.service.
    node1: Created symlink from /etc/systemd/system/multi-user.target.wants/kubelet.service to /usr/lib/systemd/system/kubelet.service.
    node1: Created symlink from /etc/systemd/system/multi-user.target.wants/kube-proxy.service to /usr/lib/systemd/system/kube-proxy.service.
    node1: Configure Kubectl to autocomplete
    node1: /tmp/vagrant-shell: line 214: kubectl: command not found

node3: cp: cannot stat ‘/vagrant/kubernetes/server/bin/*’: No such file or directory
node3: configure node3
node3: Created symlink from /etc/systemd/system/multi-user.target.wants/kubelet.service to /usr/lib/systemd/system/kubelet.service.
node3: Created symlink from /etc/systemd/system/multi-user.target.wants/kube-proxy.service to /usr/lib/systemd/system/kube-proxy.service.
node3: deploy coredns
node3: /tmp/vagrant-shell: line 198: kubectl: command not found
node3: /home/vagrant
node3: deploy kubernetes dashboard
node3: /tmp/vagrant-shell: line 202: kubectl: command not found
node3: create admin role token
node3: /tmp/vagrant-shell: line 204: kubectl: command not found
node3: the admin role token is:
node3: /tmp/vagrant-shell: line 206: kubectl: command not found
node3: /tmp/vagrant-shell: line 206: kubectl: command not found
node3: login to dashboard with the above token
node3: /tmp/vagrant-shell: line 208: kubectl: command not found
node3: https://172.17.8.101:
node3: install traefik ingress controller
node3: /tmp/vagrant-shell: line 210: kubectl: command not found
node3: Configure Kubectl to autocomplete
node3: /tmp/vagrant-shell: line 214: kubectl: command not found

You can login to the virtual machine, any node is OK, to check if the path /vagrant/kubernetes/server/bin/ really exist. It should be mounted with NFS.

你解决了吗

下载k8s地址可能失效了 新的： https://dl.k8s.io/v1.13.4/kubernetes-server-linux-amd64.tar.gz

我也出现了这种情况，下载的k8s文件有问题，那现在怎么重先安装啊？

@rootsongjc  我下载1.13.0的releases压缩文件，并且将文件重命名为kubernetes-server-linux-amd64.tar.gz， 还是会报
 node2: kubernetes/client/
    node2: kubernetes/client/README
    node2: cp: cannot stat ‘/vagrant/kubernetes/server/bin/*’: No such file or directory
    node2: configure node2
    node2: Created symlink from /etc/systemd/system/multi-user.target.wants/kubelet.service to /usr/lib/systemd/system/kubelet.service.
    node2: Created symlink from /etc/systemd/system/multi-user.target.wants/kube-proxy.service to /usr/lib/systemd/system/kube-proxy.service.
    node2: Configure Kubectl to autocomplete
    node2: /tmp/vagrant-shell: line 214: kubectl: command not found

登录到node2 node3 node1都是能看到/vagrant/kubernetes/server/目录的，但是没有server/bin/目录，这个是k8s打包的问题吗

flanneld倒是启动起来了

github里面的安装包是错误的，使用
https://storage.googleapis.com/kubernetes-release/release/v1.13.0/kubernetes-server-linux-amd64.tar.gz

自己改版本号对号入座

请问安装包有什么错误？@congim

@rootsongjc 里面缺文件，我用这个地址下载的安装包就好了
https://storage.googleapis.com/kubernetes-release/release/v1.13.0/kubernetes-server-linux-amd64.tar.gz


text:
Thunderhub is still 0.9.14 at Raspiblitz v1.6.1

At https://github.com/rootzoll/raspiblitz/blob/v1.6/CHANGES.md it shows 0.9.15, but on the Raspiblitz v1.6.1 Thunderhub Webpage it shows still 0.9.14

Update to the latest release of ThunderHub any time from the UPDATE menu. New versions are quite frequent,

I did it already and be on 0.9.16 now. Still no big deal, but the Changes.md is wrong.

@Marcoblue I corrected the changes files. Thx.

authors: Marcoblue openoms rootzoll

repo: rootzoll/raspiblitz


text:
sick_visionary_t_driver: 0.0.2-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository sick_visionary_t_driver to 0.0.2-0:

upstream repository: https://github.com/SICKAG/sick_visionary_t.git
release repository: https://github.com/SICKAG/sick_visionary_t-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.22
previous version for package: null

sick_visionary_t_driver
* rename to visionary_t
* Contributors: Florian Weisshardt

the old driver (sick_3vistort) was renamed by sick to sick_visionary_t. This PR removes the old package and adds the renamed one.

repo: ros/rosdistro


text:
Add qtbase5-private-dev

Alpine: Not found
Arch: Not found
Debian: https://packages.debian.org/buster/qtbase5-private-dev
Fedora: https://apps.fedoraproject.org/packages/qt5-qtbase-private-devel
FreeBSD: Not found
RHEL/CentOS: Appears to be included in default base package, but has key: https://pkgs.org/download/qt5-qtbase-private-devel
Ubuntu: https://packages.ubuntu.com/eoan/qtbase5-private-dev

Please link to the upstream packages as well as look for cross platform definitions for contributed rosdep rules: https://github.com/ros/rosdistro/blob/master/CONTRIBUTING.md

Thank you for the pointer @tfoote. I have added Debian, Fedora, and RHEL keys and updated the initial post with links.

authors: tfoote wxmerkt


text:
hfl_driver: 0.0.20-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository hfl_driver to 0.0.20-1:

upstream repository: https://github.com/continental/hfl_driver.git
release repository: https://github.com/flynneva/hfl_driver-release.git
distro file: noetic/distribution.yaml
bloom version: 0.9.8
previous version for package: 0.0.17-1

hfl_driver
* fixed package.xml for rosdep install
* Merge pull request #58 <https://github.com/continental/hfl_driver/issues/58> from continental/release-0.0.19
* Contributors: Evan Flynn

holding for the upcoming Noetic sync

authors: flynneva mjcarroll