text:
Add totals to lists (e.g. "Witnesses (14)")

fixes #457
preview:

I made it as a component, so the following configurations are possible to reuse anywhere in Explorer:
title:

description:
(could include links like: Click here to learn more)

title and description (hidden description):
hides description by default if a title and description are both given, so it doesn't take up too much vertical space

title and description (expanded description):

could we also add a count to the "Hotspots in Hex" tab?

Love it. Do it.

From: Daniel James @.>
Sent: Monday, June 21, 2021 3:53:13 PM
To: helium/explorer @.>
Cc: Coco Tang @.>; Mention @.>
Subject: Re: [helium/explorer] Add totals to lists (e.g. "Witnesses (14)") (#485)
@danielcolinjames commented on this pull request.

In components/InfoBox/HotspotDetails/NearbyHotspotsPane.jshttps://github.com/helium/explorer/pull/485#discussion_r655754532:

@@ -23,7 +23,12 @@ const NearbyHotspotsPane = ({ hotspot }) => {
'overflow-y-hidden': loading,
})}

 <NearbyHotspotsList hotspots={hotspots || []} isLoading={loading} />

 <NearbyHotspotsList

   hotspots={hotspots || []}

   isLoading={loading}

   title={`Nearby Hotspots (${nearbyHotspots?.length})`}

   // description="[Nearby Hotspots description text]"

oh yeah was gonna ask Coco if she wanted to put something there
@cokes518https://github.com/cokes518 thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/helium/explorer/pull/485#discussion_r655754532, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AETPRSREH3373PYSN67HDNTTT67FTANCNFSM47ANRDYA.

@cokes518 (or bones) what do you think about this text for Nearby and Witnesses? feel free to wordsmith. here's the text:
witnesses:
        title="Witnesses"
        description={
          <>

              Hotspots on the Helium network that have successfully witnessed
              beacons sent by {animalHash(hotspot.address)}. There are many
              reasons a nearby Hotspot may not be a valid witness.

              Learn more{' '}

                here

              .

          </>
        }

nearby:
        title="Nearby Hotspots"
        description={`Hotspots on the Helium network that are within an appropriate physical distance to witness ${animalHash(
          hotspot.address,
        )}'s beacons, or to have their beacons witnessed by it.`}

authors: allenan cokes518 danielcolinjames

repo: helium/explorer


text:
Unify all text in the system interface to size 12

The text on the menu bar and button  is too large, but the file name and window text on the desktop or Folder are too small
Size 12 is the most comfortable size visually. With the consistent text size, the screen will not look very chaotic.

Duplicate of #230

source: gharchive/issue

repo: helloSystem/ISO

license_type: permissive

license_source: github-api


text:
feat: multilingualization of context menu

Objectives

related issue: #27

Implementation

Using vue-i18n, the contextmenu can be displayed in English.
You can switch the language by passing the locale to this module in props.

well done, but vue-i18n is not tailored for use in component libraries, so maybe try another way.

@hellowuxin

well done, but vue-i18n is not tailored for use in component libraries, so maybe try another way.

Why is vue-i18n not suitable for component libraries? Please explain in detail.
Do you want to apply i18n resources asynchronously with lazy load?
If so, I will try to support lazy load by referring to the following.
https://github.com/intlify/vue-i18n-next/tree/master/examples/lazy-loading

@hellowuxin

well done, but vue-i18n is not tailored for use in component libraries, so maybe try another way.

Why is vue-i18n not suitable for component libraries? Please explain in detail.
Do you want to apply i18n resources asynchronously with lazy load? If so, I will try to support lazy load by referring to the following. https://github.com/intlify/vue-i18n-next/tree/master/examples/lazy-loading

see https://github.com/kazupon/vue-i18n/issues/746

use i18n instead

thanks!

source: gharchive/pull-request

license: MIT


text:
[stable/redis] exporter to 1.0.3

Signed-off-by: Naseem naseemkullah@gmail.com

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

There are some changes, mostly in metrics name, should we advertise this?
/assign
/ok-to-test

Good idea. I've added some notes. Feel free to edit them to your liking!

Thanks for the PR
/lgtm

My pleasure.

authors: desaintmartin javsalgar naseemkullah

repo: helm/charts


text:
Error: forwarding ports: error upgrading connection: unable to upgrade connection: pod does not exist

root@kube-master:~# helm version
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Error: forwarding ports: error upgrading connection: unable to upgrade connection: pod does not exist

root@kube-master:~# kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.2", GitCommit:"f6278300bebbb750328ac16ee6dd3aa7d3549568", GitTreeState:"clean", BuildDate:"2019-08-05T09:23:26Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.2", GitCommit:"f6278300bebbb750328ac16ee6dd3aa7d3549568", GitTreeState:"clean", BuildDate:"2019-08-05T09:15:22Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

root@kube-master:~# kubectl get pods -n kube-system
NAME                                  READY   STATUS    RESTARTS   AGE
coredns-5c98db65d4-8kzsc              1/1     Running   0          19m
coredns-5c98db65d4-j4khc              1/1     Running   0          19m
etcd-kube-master                      1/1     Running   0          19m
kube-apiserver-kube-master            1/1     Running   0          19m
kube-controller-manager-kube-master   1/1     Running   0          19m
kube-flannel-ds-amd64-6bd44           1/1     Running   0          19m
kube-flannel-ds-amd64-fdr42           1/1     Running   0          16m
kube-flannel-ds-amd64-s6d4r           1/1     Running   0          19m
kube-proxy-fslxf                      1/1     Running   0          16m
kube-proxy-tmtdm                      1/1     Running   0          19m
kube-proxy-xtz9x                      1/1     Running   0          19m
kube-scheduler-kube-master            1/1     Running   0          19m
tiller-deploy-6b9c575bfc-rzfcs        1/1     Running   0          5m56s

Helm is configured using following commands
kubectl -n kube-system create serviceaccount tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account=tiller --history-max 200

same error
[root@centosvm01 ~]# helm version
Client: &version.Version{SemVer:"v2.15.1", GitCommit:"cf1de4f8ba70eded310918a8af3a96bfe8e7683b", GitTreeState:"clean"}
Error: forwarding ports: error upgrading connection: unable to upgrade connection: pod does not exist

[root@centosvm01 ~]# kubectl version --short
Client Version: v1.16.2
Server Version: v1.16.2

Were you abnle to resolve this issue?

authors: bacongobbler ghost willzhang

repo: helm/helm


text:
feat(providers): first implementation of a 1password connect provider

This PR adds a provider for 1password connect (https://developer.1password.com/docs/connect).
From the README:

For this provider to work you require a working and accessible 1Password connect server.
The following env vars have to be configured:

OP_CONNECT_HOST
OP_CONNET_TOKEN

1Password is organized in vaults and items.
An item can have multiple fields with or without a section. Labels can be set on fields and sections.
Vaults, items, sections and labels can be accessed by ID or by label/name (and IDs and labels can be mixed and matched in one URL).
If a section does not have a label the field is only accessible via the section ID. This does not hold true for some default fields which may have no section at all (e.g.username and password for a Login item).
Caution: vals-expressions are parsed as URIs. For the 1Password connect provider the host component of the URI identifies the vault (by ID or name). Therefore vaults containing certain characters not allowed in the host component (e.g. whitespaces, see RFC-3986 for details) can only be accessed by ID.
Examples:

ref+onepasswordconnect://VAULT_ID/ITEM_ID#/[SECTION_ID.]FIELD_ID
ref+onepasswordconnect://VAULT_LABEL/ITEM_LABEL#/[SECTION_LABEL.]FIELD_LABEL
ref+onepasswordconnect://VAULT_LABEL/ITEM_ID#/[SECTION_LABEL.]FIELD_ID

If merged, the PR resolves #54 - but there is one topic we should discuss first.
Using URIs without a fragment is most probably useless in the current implementation. To support any combination of labels and IDs in the URI, the string map is populated with every possible combination of label and ID for its keys which does not lead to meaningful data.
Currently I have no proper solution for that. Maybe 1password is not suited for this use case? (then we should simply drop the stringprovider ability) Or we should introduce PARAMS/query components to control the behavior of the stringprovider? (like preferLabels to use labels for the map whenever possible sacrificing the ability to match keys by ID?)
Any ideas are appreciated. And since I'm not really fluent in go I'm also open to feedback regarding codestyle, stability etc :-)

1password is organized in vaults -> items -> [sections ->] fieldsSee also description of the vals-URI for this provider in the READMEOn 21 Sep 2023 15:07, yxxhero @.***> wrote:
@yxxhero commented on this pull request.
In pkg/providers/onepasswordconnect/onepasswordconnect.go:

+}

+// New creates a new 1Password Connect provider
+func New(cfg api.StaticConfig) *provider {

p := &provider{}

return p
+}

+// Get secret string from 1Password Connect
+func (p *provider) GetString(key string) (string, error) {

var err error

splits := strings.Split(key, "/")
if len(splits) < 2 {

  return "", fmt.Errorf("invalid URI: %v", errors.New("vault or item missing"))

vault?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

@juckerf BTW. could you add some tests for this feature? As the first implementation of a 1password connect provider. it's good for me.

thanks for the merge!

authors: juckerf yxxhero

repo: helmfile/vals


text:
Adds Python (Django) Web App with PostgreSQL via ACA

Adds "Python (Django) Web App with PostgreSQL via Azure Container Apps"

PR sent to wrong fork

repo: hemarina/awesome-azd


text:
Create release workflow

[x] publish pre-compiled binary
[x] publish container image
[x] publish to crates.io
[x] add cargo install command to the README.md
[ ] publish to https://github.com/hendrikmaus/homebrew-tap

The custom caching fails as the publisher action doesn't seem to use the expected paths:

https://github.com/hendrikmaus/actions-digest/runs/4558169870?check_suite_focus=true

Fixed in https://github.com/hendrikmaus/actions-digest/pull/12

Get the release workflow from https://github.com/hendrikmaus/rust-workflows

#15

Use https://github.com/googleapis/release-please for a pull-request based approach.

repo: hendrikmaus/actions-digest


text:
MIP version number in QC sample info?

Is it a good idea to include the version of MIP along with other programs?

Sure why not!

Done

authors: henrikstranneheim robinandeer

repo: henrikstranneheim/MIP

license: mit

license_source: bigquery


text:
How it works for 2D?

Hi,
How it works for 2D?
I read your source for 3D, but don't understand how i can detect x/y movement to my player do left/right and jump.
Can you help me with a simple code here?
Thanks.

Exactly! The plugin creator has not even taken the effort to document HOW TO USE the damn thing

@prsolucoes Hi! Sorry taking so long to answer. I actually made this addon thinking only in a 3D solution for movement + camera, so haven't thought on making other kinds of examples. It should be pretty straightforward tho; you'd only need to add an overlay on top of the addon with the 2D buttons you want to detect. When I get time I'll try updating it.
@Hansel-Dsilva This is an open-source solution I provided for free with no warranties whatsoever. If you don't want to use it because it lacks documentation, it's fine by me, but your comment is pretty much you feeling entitled of something you don't have, so my recommendation for you is to be more polite next time, or else you risk simply being ignored by any sane developer.

Ok sorry, my bad. So how does one go about utilizing your plugin?

@Hansel-Dsilva Np. The plugin only does one thing, that is to get a user input and give back some 'interpreted' values (e.g. how far and in which direction the left analog stick is moving) based on the two halves of the device screen. The project example is just like that: it reads on the plugin Node what are the values for the left analog stick (left half of the screen) to move the character and the values of each swipe on the right half of the screen to move the camera. It's basically up to you how to interpret those values, but it is hopefully straightforward if you adapt the project this addon comes with to your necessities.
I'm currently stacked with work and other projects I need to finish, but I'll try creating a simple 2D example by the end of today (GMT-3, mind you).

@Hansel-Dsilva @prsolucoes I just created a branch called "2d_example" with a fully functional but ugly 2D example. The idea is to use the left analog stick do control the character, and use the button on the right side to shoot a projectile. It's worth noting that, when using this plugin, you can't use 'normal' buttons; that's an unfortunate limitation caused by how Godot emulates clicks on touch-based devices: when emulating mouse-clicks, Godot won't be able to get multitouch gestures (which is the core of this addon). Since this option is disabled, you'd have to create your own kind of button getting a "gui_input" event, or using Godot's TouchScreenButton.

authors: Hansel-Dsilva henriquelalves prsolucoes


text:
Removing extrapolation in getinterp?

Originally we have extrapolations evaluated to NaN for handling out-of-domain cases:
https://github.com/henry2004y/TestParticle.jl/blob/66a8cbec9d976c06c4ab69c751183ea591ee8752/src/TestParticle.jl#L105
Now this is also handled by the isoutofdomain callback function provided by OrdinaryDiffeq.jl. We should test on the gain of removing the extrapolations.

With more boundary options like periodic, we need to keep the extrapolation methods.


text:
Upgrade Envoy to v1.9.1

Updates #983 by updating the example deployment files to use Envoy v1.9.1
Signed-off-by: Steve Sloka slokas@vmware.com

You can stay with the alpine image if you prefer. These deployments are just guides.

On 8 Apr 2019, at 17:44, so0k notifications@github.com wrote:
@so0k commented on this pull request.
In deployment/ds-hostnet-split/03-envoy.yaml:

@@ -33,7 +33,7 @@ spec:
- node0
command:
- envoy

   image: docker.io/envoyproxy/envoy-alpine:v1.9.0

   image: docker.io/envoyproxy/envoy:v1.9.1

any reason why you're switching from alpine to ubuntu based envoy image for the hostnet deployment?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

authors: davecheney stevesloka

repo: heptio/contour


text:
Don't mount /tmp as host volume in example pod

We're encouraging using kubectl cp in the meantime, using host mounts
was a temporary measure.
This fixes an issue where the documented kubectl cp command is
bringing in tarballs from previous runs.

/lgtm

oh I don't have permissions to stamp 🤷♀

oh wait nvm, there just isn't a bot to recognize /lgtm I guess

b/c we don't have turnkey validation in place I'll say ok-to-self merge on test verification.

authors: abiogenesis-now kensimon timothysc

repo: heptio/sonobuoy


text:
Is the project dead?

Hello, I'm looking to use this project on some k8s but this project seems dead for about a year.
Is there any people from Heptio Labs taking care of this project?
I see a the current moment 11 PR opened during a year without a single answer from owners, and 30 issues.
Please says if the project is dead, or will be some housekeeping.

@timothysc @jbeda

We are using it and it works well for us in porting the logs to s3.

The description of the heptiolabs org (https://github.com/heptiolabs) now reads:
"Former home of experimental projects from Heptio"
I wonder if these projects had to be abandoned when Heptio was bought by VMware.

Let me do the Devil's Advocate.
20 days - no official answers, no activities on the project.

I agree this project is probably on hold, if not abandoned. Would love to hear from VMWare/former Heptio folks if they plan to pick it up or donate the project to the community, or if we should just fork it/reimplement it.

This does indeed seem dead. I need the functionality that eventrouter provides for another project I'm working on. I'm going to be working on this fulltime for the near future. Please feel free to contact me if you need support/help.
I've decided to base my efforts on Kubewatch and not EventRouter. Kubewatch is a little more maintained, but it also seems somewhat dormant since the VMWare-Bitnami acquisition. Kubewatch doesn't yet stream all the events that EventRouter does, so I'll start by adding all event types to the Kubewatch output. Feel free to let me know which other EventRouter features you need in Kubewatch.
VMWare folks - I would love to merge my changes to Kubewatch/Eventrouter upstream. If not, I suppose I'll fork it, but that isn't my preference.
@MatteoJoliveau @Elettronik what are your needs beyond what Kubewatch/EventRouter currently provide? How are you interested in using them?

@aantn that seems like great news! Thank you for being willing to keep development going at least for now. I'll try to see if we can help as well.
For us it's mainly getting Kubernetes events into something Grafana can display. Using EventRouter we were going to have Loki and Promtail scrape up the logs from stdout/stderr and then have them streamed to Grafana as JSON lines. This way developers could select the event stream they wanted using the same query language they already use for selecting application log streams. e.g. { app_kubernetes_io_name="my-app", stream="events" }(or something along those lines).
But really any solution that allows us to collect and store events for later querying will do.

Got it. I'm working on a more generic platform for running Python code as a result of Kubernetes changes/Prometheus alerts and automating common responses. It will be open sourced eventually, but for now it is still in private beta. One easy use-case, for example, is to add annotations to grafana so that you can see exactly when a new version of an application was updated and can quickly eyeball the difference in the performance before and after.
For your use case, you're only interested in forwarding actual Kubernetes Events, right? In other words, if a pod is created/modified/dies, you don't need to forward that, but if there is a CrashLoopBackOff then you do need to forward it. Is that correct?

Correct. The reason being that, especially now with Operators, k8s Event objects are a very useful tool to track changes and issues in k8s resources. Currently we have logs, metrics and traces centrally accessible in Grafana, but if a developer wants to debug a crash loop they have to manually run kubectl describe. Having them in Loki would allow for quick querying and alerting over them using common tools they are already used to

Great, I'll update you when I have something you can use for that purpose.

Looking forward to it, thanks @aantn!

Maybe this is a bit OT, but... Is it possible to add metrics to the app? For example, first thing that pops into my mind: adding metrics for probe failures.
Asking this because it would be nicer to have graphs around metrics in grafana than around logs.
But maybe this is out of scope :D

Maybe this is a bit OT, but... Is it possible to add metrics to the app? For example, first thing that pops into my mind: adding metrics for probe failures.
Asking this because it would be nicer to have graphs around metrics in grafana than around logs.
But maybe this is out of scope :D

Yeah, this is the type of thing I'm working on. Can you help me understand exactly what you would like to achieve? I think you can already get probe failure metrics from (kubelet into prometheus)[https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/prober/prober_manager.go]. Do you want to enrich grafana with extra info? To run some remediation or enrichment steps?

This while conversation is a little off topic, I guess. I think the eventrouter community could benefit from another open source project that is the spiritual successor of eventrouter, but if the discussion here bothers someone then let me know and I'll take it elsewhere.

Maybe this is a bit OT, but... Is it possible to add metrics to the app? For example, first thing that pops into my mind: adding metrics for probe failures.
Asking this because it would be nicer to have graphs around metrics in grafana than around logs.
But maybe this is out of scope :D

Yeah, this is the type of thing I'm working on. Can you help me understand exactly what you would like to achieve? I think you can already get probe failure metrics from kubelet into prometheus. Do you want to enrich grafana with extra info? To run some remediation or enrichment steps?

I was not aware of such metrics! Thank you very much :D

I'm close to releasing my open source project which supports many of the features that people want added to eventrouter. Can everyone on this thread let me know what they're actually using eventrouter for today or what they want to use it for? Are you sending events to slack for online notifications? Are you just logging changes to ELK so that you can troubleshoot when something goes wrong? What use cases does event router solve for you?

@aantn Good to hear! I'm using eventrouter only for exporting k8s events to loki (and grafana), using promtail which tails the eventrouter container logs. So the only feature I'd be interested in is having all k8s events in the (eventrouter|your project) container logs.

@varac do you have any interest in turning k8s events into grafana annotations? e.g. adding a dotted line to grafana whenever a deployment is updated and the image tags change? I'm using this to easily correlate upgrades w/ changes in CPU usage.

Something like this:

@aantn That looks great, sure that would be a good feature.

Cool, I've already implemented that. I have a little more work before I release this, but it's coming along nicely. Let me know if there are more integrations you can think of which would be useful. I'm currently implementing two-way Slack integration. The typical usecase is something like this:

There is a prometheus plert (e.g. low disk space on a persistent volume)
The system sends a mesage to Slack with details and a recommended remediation (e.g. cleanup some logs and increase the volume size if it still is low on space)
You click a button in Slack approving that remediation.
The system receives your approval and executes some remediation commands

I would like to use it to stream kubernetes events into a kafka topic so my system can make decisions based on some of these events (e.g. a job is finished, so do something).

@cordoor we can do that already. can you reach out to me privately to discuss in more detail (either aantny@gmail.com or on linkedin here: https://www.linkedin.com/in/natanyellin/)

hello @aantn I'm interested in your project.. Currently what my usecase involves is to stream changes occurring to a specific set of kubernetes objects such as pods that are part of a replicaset in a particular namespace into a kafka topic..
If you've a prototype or something in the works can you please point us to that so that we can start using it and communicate feedback and hopefully submit patches ourselves

@aakarshg sure, send me an email and I'll send you the beta version.

We are migrating to https://github.com/openshift/eventrouter

@aantn - ditto on being interested in a maintained replacement. The grafana integration for annotations sounds great.

@zswanson sorry about the delay! We've finally released the first version! https://docs.robusta.dev/master/
@aakarshg @cordoor @varac @antoniocascais @MatteoJoliveau might be relevant for you guys too
If anyone wants to discuss, we're on Slack and happy to add features for anything you need. (Or just open a github issue)

we've also reimplemented this as a Grafana Agent integration here - you can run a standalone Agent that only runs this integration as a drop-in eventrouter replacement.
for now it supports shipping events directly to a Loki-compatible sink and solves the "duplicate events" bug that occurs when you restart eventrouter. from there you can create dashboard annotations and "metrics from logs" directly in Grafana.
please file an issue in the Agent repo and ping me directly if you encounter any bugs or have feature suggestions!
you may also want to checkout @joe-elliott's diff logger as well!

authors: Elettronik Ghazgkull MatteoJoliveau aakarshg aantn alok87 antoniocascais cordoor hjet sl4dy varac zswanson

repo: heptiolabs/eventrouter


text:
Parameterized operators

This PR adds binary64 and binary32 operators under the define-language! macro to replace the previous real / FPCore operators and constants. Herbie now parameterizes operators and constants (e.g. sin -> sin.f64 for binary64) to be representation specific (see uwplse/herbie#319). The list of operators is now annoyingly long. This should be fixed soon.

Perhaps we should make the existing operators also work? This way you could use new-Egg-Herbie with old-Herbie.

Oh duh. Backwards compatibility is a good idea.

Fixed

authors: bksaiki pavpanchekha

repo: herbie-fp/egg-herbie


text:
Add commit checker job and scripts

Separate job must run only on PR stage.
Job verify commit message and fails if
requirements are not met.
Requirements added into file:

scripts/misc/commit_message_recom.txt

Relates-To: OLPEDGE-1573
Signed-off-by: Yaroslav Stefinko ext-yaroslav.stefinko@here.com

Codecov Report

Merging #274 into master will not change coverage by %.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #274   +/-   ##
======================================
  Coverage    90.3%   90.3%
======================================
  Files          57      57
  Lines        1622    1622
  Branches      194     194
======================================
  Hits         1464    1464
  Misses         89      89
  Partials       69      69

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 e34e81c...84d7df4. Read the comment docs.

authors: codecov-io ystefinko

repo: heremaps/here-olp-sdk-typescript


text:
Help me backend eon

Help me backend eon start

This issue is pretty common with javascript and typescript, you need to execute npm i (that will install all required packages) and npm build (that will convert typescript code to javascript) before running the command npm start (which is the command started by the start.bat). npm i have to be executed just once and npm build should be executed after any changes in the code.

repo: hereswhisper/EonBackend


text:
logic update for QoS MOC  mo.cfg

added logic to process N5 QoS requests.
used some variable to store session data in some HTABLE to use them later in the signaling ( AppSessionID /RTP Port/RTCP Port/ User ...etc)

I think I need to modify the routing logic further, the N5 Trigger should start with the INVITE and then PATCH/UPDATE it, as this will prevent creating new Sessions on every respond.
The Next think will be also to look if its the same Fork, but it now not so important in this basic setup, as we don't have forking here.

change it now to trigger first on the initiale INVITE and PATCH on SDP Answer.
still facing some issue where in the pfcp I see no update to the addresses in the request and the old one from initial still there


text:
Consider adapting rubysl-timeout

Long ago, I rewrote timeout.rb so that it didn't require a 1-to-1 relationship between a thread and timeout thread. This meant that no matter the number of threads using timeouts, there was only one timeout thread. Given that rack-timeout uses that same 1-to-1 relationship, it is in danger of easily ballooning the number of threads used.
Here is the code for my timeout.rb you could adapt: https://github.com/rubysl/rubysl-timeout/blob/2.0/lib/rubysl/timeout/timeout.rb
You'd need remove the Rubinius::Channel stuff by using a ConditionVariable, but other than that, it should be easy to use.

This is not a bad idea, but I wonder how much it's a problem in practice.
A thread only lives as long as request. A lot of ruby web apps are single-threaded, and even the threaded ones don't tend to use many threads.
Is creating and destroying threads expensive?

@kch Creating threads is fairly expensive as far as operations go, yes. Another example is that people use rack-timeout with puma and I've seen people configure puma to use 2000 threads. Using rack-timeout in that case will result in an additional 2000 threads as well as constantly tearing down and creating new ones.
Since you only want the ability call Thread.raise after a time, using the single, persistent timer Thread has significant upsides.

Fair enough. We'll do this. Might take me a while to get to it though.

@evanphx you define @mutex and @requests but don't seem to use them?

@kch Yeah, that's obviously dead code. But you'll have to adapt this to run on MRI anyway, that uses a Rubinius::Channel which you don't have to coordinate between the threads.

@evanphx right. was just pointing those out to you.

@evanphx in case you're curious, see #82

Implemented in #82; will be in beta2, tracked via #78.

authors: evanphx kch

repo: heroku/rack-timeout


text:
🛑 Software Center - Test 1 is down

In d19b08d, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in ce3585d.

repo: herrphon/upptime


text:
🛑 Software Center - Test 1 is down

In f81dbcb, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 68e5ce8.


text:
🛑 Auth-Bridge - Test 1 is down

In 41ef1e2, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in ee33488.


text:
🛑 Auth-Bridge - Test 1 is down

In 86424a5, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 4787951.


text:
🛑 Auth-Bridge - Test 1 is down

In d8255bc, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 24a0dec after 10 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In 91914ab, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 7ef6d71 after 34 minutes.


text:
🛑 Software Center - Test 1 is down

In 215d7ab, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 03d6dfe after 54 minutes.


text:
🛑 Software Center - Test 1 is down

In 17f6daf, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in c2ae459 after 21 minutes.


text:
🛑 Software Center - Test 1 is down

In 725a4bf, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 418a0eb after 10 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In 0bc9e59, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 9193177 after 10 minutes.


text:
🛑 Software Center - Test 1 is down

In c156800, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in c976bec after 23 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In ad2324b, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 835020e after 18 minutes.


text:
🛑 Software Center - Test 1 is down

In b55f215, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 3043448 after 22 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In d76e8fc, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in b80c98f after 26 minutes.


text:
🛑 Software Center - Test 1 is down

In 8b4a7f3, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 003f2f5.


text:
🛑 Auth-Bridge - Test 1 is down

In 798ca8e, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in c145a53.


text:
🛑 Auth-Bridge - Test 1 is down

In 55090e5, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 438c973.


text:
🛑 Software Center - Test 1 is down

In 1cd1011, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 8f6958d.


text:
🛑 Software Center - Test 1 is down

In c372421, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in c461b62.


text:
🛑 Software Center - Test 1 is down

In 8d52f8b, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in b2e065d.


text:
🛑 Software Center - Test 1 is down

In 2e81a3d, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in d9b1c98.


text:
client-fetch 0.5.3 breaks TanStack Query plugin

Description
After updating @hey-api/client-fetch to 0.5.3, requests using the TanStack Query plugin do not get sent at all.
Possibly caused by https://github.com/hey-api/openapi-ts/commit/646064d1aecea988d2b4df73bd24b2ee83394ae0
To reproduce (using the StackBlitz example below):

click "Generate random pet" -> no request is sent
change version to 0.5.2 -> request is sent

Reproducible example or configuration
https://stackblitz.com/edit/hey-api-client-fetch-plugin-tanstack-react-quer-babtkanp?file=package.json
OpenAPI specification (optional)
3.1.0
System information (optional)
all systems

Sorry for that! Fixed in the latest

authors: TruffleClock mrlubos

repo: hey-api/openapi-ts


text:
Add and configure jest

It would be cool to be able to write tests against PRs for this project and I noticed jest isn't setup yet! Happy to take some time to look into this one if somebody doesn't get to it before me 👍🏼

Yep unit testing is definitely something I’ve been meaning to get to now that there’s logic around the config / css generation. Jest is a good option, and I’m partial to uvu as well, but not that fussed on what we go with they’re all much of a muchness.

Sounds good – I'm not too sold on Jest anyway, it's a bit of a pain to setup with ESM/TypeScript. Perhaps Vitest is an option too? 👀

authors: madeleineostoja shannonrothe

repo: heybokeh/pollen


text:
19 - Hybrid method, using InetMgr IIS module and based on 10 & 16 MS fixes, works from Windows 7 up to 10rs1 14372.

Not work after build  (((

Very informative post, thanks.

And it is fixed in 14376, forget about it.


text:
Part 2, A pairwise correlation example

Hi, Harry ! How are your quantitative feeling? =)
I have a question about the content, as a young Quantic .
On page 37 you mention about the csv file, but you have not created it , where you get information ? You have described the basic operation assignment , vectors , lists , matrices and data structures , but why you omitted the issue of export summary data in the form as described on page 38?
I need to help!

What is this?
extract_prices <- function(filtered_symbols, file_path = rfortraders / Chapter_02 / prices.csv) {
all_prices <- read.csv(file = file_path, header = TRUE, stringsAsFactors = FALSE)
rownames(all_prices) <- all_prices$Date
all_prices$Date <- NULL
valid_columns <- colnames(all_prices) %in% filtered_symbols
return(all_prices[, valid_columns])
}
extract_prices
result

extract_prices
function(filtered_symbols, file_path = rfortraders / Chapter_02 / prices.csv) {
all_prices <- read.csv(file = file_path, header = TRUE, stringsAsFactors = FALSE)
rownames(all_prices) <- all_prices$Date
all_prices$Date <- NULL
valid_columns <- colnames(all_prices) %in% filtered_symbols
return(all_prices[, valid_columns])
}

кое что нашёл
urlfile <- 'https://raw.githubusercontent.com/hgeorgako/rfortraders/master/Chapter_02/prices.csv'
dsin <- read.csv ( urlfile, getOption("max.print"))
проблема в ограничении 1000 строк
[ reached getOption("max.print") -- omitted 856 rows ]

Hopefully you already got this to work.  The file you need is here: https://github.com/hgeorgako/rfortraders/blob/master/Chapter_02/prices.csv
The fastest way to get this is to download the file to your local compute and then use read.csv(file = "path on your local machine") to read in the data.  Another useful package that I use all the time to read in .csv files is "readr".  Once you install it, you can say:  readr::read_csv(filepath)

Oh Harry , I'm really glad you answered my Problems!
I thought that you rarely come here and have grieved .
I figured out how to load data into R from the site , but why limit of 1000 lines.
I will try your method !
Thanks for the answer!

repo: hgeorgako/rfortraders


text:
pyvisa 1.6.1 can not set stopbits

Hi,
i have a problem with pyvisa 1.6.1 and the RS232 setting.
my device requires two stop bits. But the syntax in phyton "device.stop_bits=2" returns an error "ValueError: 2 is an invalid value for attribute VI_ATTR_ASRL_STOP_BITS, should be a <enum 'StopBits'>".

You should use the constants In the current dev version,
from pint import constants
device.stop_bits = constants.VI_ASRL_STOP_TWO

or
from pint import constants
device.stop_bits = constants.StopBits.two

In any case, we should improve the error message.

I installed the pint 0.6 version. Now the Syntax "from pint Import constants" returns an error "ImportError: cannot import name constants" Did i build-in the wrong Pint version?

Sorry. it should have said
from visa import constants

or (in older pyvisa versions)
from pyvisa import constants

Still does not work.
File "C:/Workspaces/spyder/test/helloagilent.py", line 2, in
from visa import constants
ImportError: cannot import name constants

As mentioned before, from visa only works in more recent versions of pyvisa

I am closing this. Feel free to reopen.

authors: StachowP hgrecco

repo: hgrecco/pyvisa


text:
Fix FutureWarning for missing label

Passing list-likes to .loc or [] with any missing label will raise
KeyError in the future, you can use .reindex() as an alternative.
See the documentation here:
https://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate-loc-reindex-listlike
return self._getitem_tuple(key)

Fixed in 6a8ecfb.

repo: hgsc-project-managers/pm-utils


text:
No issues displayed on vb.net

Is the plugin indend to work with vb.net?
Tried two project C# und VB.NET. Only the first seems to work.

It only supports C#, I'm afraid. I'll update the readme to point this out.

authors: Matchile citizenmatt

repo: hhariri/CleanCode


text:
1.13

I'm still working on changes for the other addons, but I figured that it would be good to start pushing as I have them ready so I can have early feedback.
This PR upgrades the addons to ember-cli 1.13.1, but keeps ember 0.12.0 and ember-data 1.0.0-beta.18. The changes pave the way towards 2.0.
core

default: PASS
ember-1.13.0: PASS
ember-ember-data-1.13.0: FAIL
ember-release: PASS
ember-beta: FAIL
ember-canary: FAIL

storefront

default: PASS
ember-1.13.0: PASS
ember-ember-data-1.13.0: FAIL
ember-release: PASS
ember-beta: FAIL
ember-canary: FAIL

auth

default: PASS
ember-1.13.0: FAIL
ember-ember-data-1.13.0: FAIL
ember-release: FAIL
ember-beta: FAIL
ember-canary: FAIL

checkouts

default: PASS
ember-1.13.0: PASS
ember-ember-data-1.13.0: FAIL
ember-release: PASS
ember-beta: FAIL
ember-canary: FAIL

Will ember-1.11.0 be supported? I don't see a strong reason for that.

Yo @givanse you're the fucking MAN
Comments coming shortly

Only auth has failing tests for 1.13.0. It eludes me at the moment and right now I need to get other stuff done :/

I'll have a look at Auth!
Just haven't got around to bumping the version of simple auth yet - it was in beta when 0.0.1 was released

@givanse - I should have time to work on this this week - can I have push for your fork?  I'll do all my work on this branch

@hhff Yes, added you.

thanks @givanse !

@hhff Did you update the backend that is used when the tests are run? (http://testing.spree-ember.com)

@givanse - I haven't - it's been the same for a while.  Does it need a change?

Some tests that were ok before are failing now. Simple things like:
was expecting 'Bags'
actual result 'Mugs'

Maybe a sorting change in the taxons? I fixed (edited for Mugs) and four more errors appeared. Maybe the seed data was edited?
I didn't spend much time looking into this, decided to wait for a reply. If nothing has changed, I'll check what is going on.

yeah i haven't changed it at all - but I'm guessing it's just an ordering thing - so if the tests explicitly "clicked" the mugs label rather than the first item, we should be cool

thank you so so much for working on this @givanse u are the mannnnn

authors: givanse hhff

repo: hhff/spree-ember


text:
使用archery导出sql语句的null是字符串'(null)'有问题

重现步骤
1，业务根据SQL查询执行sql查询出来的数据导出sql语句后，标识符null是'(null)'
2，然后研发把数据插入到字符串的字段中后的数据是(null)，不是null，希望是标识符null
预期外的结果

这个是查询的数据是(null)，然后导出的insert sql语句中是字符串，然后把数据插入到字符串的字段中数据变为了(null)

日志文本
No response
版本
1.7.2
部署方式
手工部署
是否还有其他可以辅助定位问题的信息？比如数据库版本等
No response

自己手工替换下不就好了
参考下 :

https://github.com/hhyo/Archery/issues/401
https://github.com/hhyo/Archery/issues/488
https://github.com/hhyo/Archery/commit/9042b9d722e1723dfe997f02377fbf8f260eb50f

自己手工替换下不就好了
参考下 :

[ 问题咨询 ]在线查询null值显示为 -，有些字段值本身为 - 。 #401
[ bug ]  V1.3.7跟1.3.8 有一个查询显示问题，跟导出成sql 文件无非正确展示null问题 #488
9042b9d
手动替换没问题，主要是数据导出sql后不会做到全面的check一方面耗时另外一方面会忘记，这个人工去做校验风险太大，所以希望在导出的时候是正确的null

请参考下我列出的两个issue，有不同的需求在这里，有人希望能显示为空，但实际上有可能和空字符串混淆，也有人想显示为 null，但是也有可能和字符串 null 混淆，最后我们的方案是 (null) 并置为灰色。
另外是archery本身的行为就不是一个数据导出工具，而是简简单单一个查询工具，本来就不应该依赖这里提供的数据导出功能。
关于这个问题欢迎提出具体的方案，也欢迎pr。

authors: LeoQuote bardyang

repo: hhyo/Archery


text:
没有查询权限时，增加申请链接

麻烦 rebase 下master吧，master 有更新

我要怎么操作呢？先把我的仓库删掉，然后再fork一个最新的，再修改，提pr吗？

authors: LeoQuote dongqianzheng


text:
Installation via npx does not work anymore

npx degit zynth17/vitailse my-vitailse-app
leads to
could not download https://github.com/zynth17/vitailse/archive/8005a59cc665b2cdbc21506a598080cd35cebcf4.tar.gz

Started working again after a while, not sure what the issue was.

repo: hi-reeve/vitailse


text:
Please consider splitting out tree formatting from the command-line utility

I'd love to have a library crate for formatting trees in the style of tree. Would you consider splitting out the tree rendering from ruut into a library crate, without the dependencies like structopt and serde_json that would only be used for the command-line tool?

This has finally been completed in a5902d62812b4c671ef0e368415dae09b8dddd00. See https://github.com/hibachrach/render_as_tree. Thanks for filing this!

authors: hibachrach joshtriplett

repo: hibachrach/ruut


text:
HHH-13511 Remove interning of aliases in org.hibernate.loader.Default…

…EntityAliases
Being discussed with @dreab8 and @gsmet

fixed and merged

repo: hibernate/hibernate-orm


text:
HHH-13355 : StaleStateException for updates to optional secondary table using saveOrUpdate

https://hibernate.atlassian.net/browse/HHH-13355

rebased and applied upstream
thanks @gbadner


text:
Fix race condition that allowed Component.getType() to return null

This fix prevents an NPE in org.hibernate.mapping.SimpleValue.isValid() and likely elsewhere

Thanks for the fix!

authors: TheCodePope beikov


text:
HSEARCH-4722  Fix postgresql container start timing out on CI

https://hibernate.atlassian.net/browse/HSEARCH-4722

Backported to 6.1 and 6.0.

authors: marko-bekhta yrodiere

repo: hibernate/hibernate-search


text:
HSEARCH-2366 Add an Elasticsearch mapping export tool

https://hibernate.atlassian.net/browse/HSEARCH-2366
Should we add some options parameter into the export method even if it'll be empty for now or contain some setting to export mappings (what it's doing now) so that in the future we won't break the API or ... as it's incubating - don't bother with it now and later we'll just break the API? 😄
Then there also was a mention of a CLI ... is that what we need or that was just a thought?

[ERROR] --[ Constraint Violation ]-----------------------------------------
[ERROR] Constraint: hsearch:TypesExtendingTypeFromAnotherModuleMustHaveModuleSpecificKeywordInName
[ERROR] Severity: MAJOR
[ERROR] Number of rows: 2
[ERROR]             Main (non-test) types extending/implementing a Hibernate Search type from another module must have a module-specific keyword in their name,
[ERROR]             either at the very start or just after "Abstract".
[ERROR]             This allows to more easily understand which module a given type comes from.
[ERROR]             Exceptions are allowed when:
[ERROR]             - the misnamed type is an anonymous type or a generated type;
[ERROR]             - or the misnamed type is deprecated;
[ERROR]             - or the implemented type is deprecated;
[ERROR]             - or the implementing type is an inner/nested type;
[ERROR]             and its surrounding type does use the module-specific keyword;
[ERROR]             - or the implemented type is in a util module,
[ERROR]             in which case the implemented interface may just be a detail.
[ERROR]
[ERROR]   misnamedTypeArtifact.moduleSpecificKeyword=Pojo, misnamedType=org.hibernate.search.mapper.pojo.schema.management.impl.FileSearchSchemaCollector, externalParentType=org.hibernate.search.engine.backend.schema.management.IndexSchemaCollector
[ERROR]   misnamedTypeArtifact.moduleSpecificKeyword=Pojo, misnamedType=org.hibernate.search.mapper.pojo.schema.management.SearchSchemaCollector, externalParentType=org.hibernate.search.engine.backend.schema.management.IndexSchemaCollector
[ERROR] -------------------------------------------------------------------
[ERROR]

I cannot say that I like the idea of naming these PojoSearchSchemaCollector and PojoFileSearchSchemaCollector / PojoSearchSchemaCollectorToFiles ... 🥲

I cannot say that I like the idea of naming these PojoSearchSchemaCollector and PojoFileSearchSchemaCollector / PojoSearchSchemaCollectorToFiles ...

The one about FileSearchSchemaCollector will disappear once we solve the problem for SearchSchemaCollector, I think.
Two solutions:

Add an exception to the JQAssistant rule...
Use composition instead of inheritance. I.e. make IndexSchemaCollector SPI, don't extend it in SearchSchemaCollector, declare an exportExpectedSchema method in SearchSchemaCollector, and in org.hibernate.search.mapper.pojo.schema.management.impl.PojoScopeSchemaManagerImpl#exportExpectedSchema(org.hibernate.search.mapper.pojo.schema.management.SearchSchemaCollector) create an instance of IndexSchemaCollector that delegates to the SearchSchemaCollector.

Your choice!


text:
HV-1775 Rename CDI extension service file for new jakarta package

Signed-off-by: Gaurav Gupta gaurav.gupta@payara.fish

Can one of the admins add this person to the trusted builders? (reply with: "add to whitelist" or "ok to test")

ok to test

@jGauravGupta thanks! Unfortunately, I wasn't able to test the CDI extension back in the time because I had no CDI implementation available.
I amended your commit to include a JIRA issue number.
Do you have more fixes coming or should I release an Alpha2?

OK, I was able to restore the CDI extension tests as Weld has made progress on their side.
Following your PR, all the tests pass so I'm releasing 7.0.0.Alpha2. It should synced to Central sometime tomorrow.

@jGauravGupta Alpha2 is now available on Central.

Thanks @gsmet

authors: Hibernate-CI gsmet jGauravGupta

repo: hibernate/hibernate-validator


text:
🛑 Kiwi Farms Forum is down

In b288de8, Kiwi Farms Forum (https://kiwifarms.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kiwi Farms Forum is back up in 7dae57b.

repo: hickoryhouse/kf


text:
🛑 Kiwi Farms Forum is down

In 413fd28, Kiwi Farms Forum (https://kiwifarms.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kiwi Farms Forum is back up in e775532 after 5 minutes.


text:
🛑 Kiwi Farms Forum is down

In bed5e56, Kiwi Farms Forum (https://kiwifarms.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kiwi Farms Forum is back up in c55c6eb.


text:
🛑 kiwifarms.st is down

In e8acb74, kiwifarms.st (https://kiwifarms.st) was down:

HTTP code: 0
Response time: 0 ms

Resolved: kiwifarms.st is back up in 2544295 after 15 minutes.


text:
🛑 kiwifarms.st is down

In 0b13013, kiwifarms.st (https://kiwifarms.st) was down:

HTTP code: 0
Response time: 0 ms

Resolved: kiwifarms.st is back up in 750bf35 after 13 minutes.


text:
🛑 kiwifarms.st is down

In 3e4a39d, kiwifarms.st (https://kiwifarms.st) was down:

HTTP code: 0
Response time: 0 ms

Resolved: kiwifarms.st is back up in 5cd1be3 after 14 minutes.


text:
Descriptor protocall

This PR introduces descriptor protocol for constrained class fields, so one doesn't have to test (mostly) for the constraints on the arguments in the init method.

@landreman
This is ready for review

repo: hiddenSymmetries/simsopt


text:
Function missing return statement

Hi,
First, thanks for the lib! It has helped me immensely get the DAC working with zero effort :)
However, there is just one issue reported by the compiler, which would be nice if it were fixed:
MCP4728.h: In member function 'uint8_t MCP4728::analogWrite(MCP4728::DAC_CH, uint16_t, bool)':
MCP4728.h:44:5: warning: no return statement in function returning non-void [-Wreturn-type]
The warning is pretty self-explanatory, literally just the return keyword is missing in the method implementation: https://github.com/hideakitai/MCP4728/blob/master/MCP4728.h#L43
Thanks,
Doug.

Hi, thank you for using and reporting issue!
I've fixed it in b2462e0e867b733ec51de99e3ff040c22e86780d, so check it out and let me know if you have another problem :) Thanks!

authors: LouDou hideakitai


text:
🛑 Misskey (隠れ家) is down

In fae050f, Misskey (隠れ家) (https://misskey.yukineko.me) was down:

HTTP code: 403
Response time: 264 ms

Resolved: Misskey (隠れ家) is back up in b324456.


text:
🛑 SSH Singapore 3 is down

In 09c3392, SSH Singapore 3 (http://sg3.hidesvr.xyz:3128) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSH Singapore 3 is back up in a882902.


text:
Implement GuildJoinEvent

Summary
Separate the guild join event from the guild available event since apparently, new guilds won't have the unavailable field present.
Checklist

[x] I have run nox and all the pipelines have passed.
[ ] I have made unittests according to the code I have added/modified/deleted.

Will the fragment go under feature or breaking?

Will the fragment go under feature or breaking?

likely breaking.

One test case missing, but LGTM

Is it related to guild available event?

Is it related to guild available event?

Amazingly GitHub didn't post my comment with it. Thanks GitHub.
The test case is to check what event gets deserialized based on whether unavailable is there or not

Is it related to guild available event?

Amazingly GitHub didn't post my comment with it. Thanks GitHub.
The test case is to check what event gets deserialized based on whether unavailable is there or not

Happens I guess. I see, I'll get into it today.

Added more test cases on 41ce43c4260cd566c6ef94fdf70839787508ddca. It's mostly copy-pasted because the only difference was the event type. Should I parametrize this?

authors: Jonxslays davfsa norinorin

repo: hikari-py/hikari


text:
Still having odd display issue

After implementing the CSS fix from issue #72, we're still seeing odd display flickers and artifacts. To make sure it was not just our instance, I pulled up the countdown homepage and was able to duplicate the problem there (see attached).
Sometimes it is a relatively small line like this:

Sometimes it is significantly larger:

Anyone have thoughts as to what would be causing that? We're seeing it on a number of displays, cards, and OSes, so it doesn't seem to be specific to the hardware or the OS. It does, however, seem to be more common in Chrome than any other browser.

Thank you for your feedback, but this problem seems to be caused by hardware acceleration, dunno if there is a way around by css/html.
I never saw this bug on my computer though, and I use Chrome has my main browser, I think we need to investigate the real cause of this issue.

This happens on Chrome and Opera if I recall correctly. On FF there is no such bug, so it's definitely a rendering issue.

Is it specific to the "flip" clock implementation? I have used the clock
without the flip animation and never had issues. So I'm wondering if it's
something in that specific use case.

For me it happened only with the flip clock. From what I can tell other people only have the issue with the flip clock as well.

Guys, it's an issue with the CSS of the flip clock, I really don't have much experience with 3d animations and hardware acceleration at CSS level. Do you guys can guess where we begin to solve this problem?

The issue seems to go away when the perspective value for .main-example .time is under 480px. When I set it to 479px everything is displayed perfectly, but when I increase it to 480px the artifacts come back. This is very weird but seems to work for me.

For me it goes away when I put perspective to 0px;

The problem is not the script itself, but the machine hardware
acceleration! The output will dependent on your computer
Em sex, 27 de mar de 2015 06:04, dingo-d notifications@github.com
escreveu:

For me it goes away when I put perspective to 0px;
—
Reply to this email directly or view it on GitHub
https://github.com/hilios/jQuery.countdown/issues/100#issuecomment-86873713
.

Yeah, I think it also depends on the browser, because if I recall correctly, on firefox the issue didn't exist. And ff is known to handle css3 transformations better than chrome (or webkit based browsers).

Another thing I noticed that at transform: rotateX(90deg) the card is still visible. It seems that the transformation origin is not aligned properly.

authors: MichaelTurk dingo-d hilios vilius-g


text:
Installation Error: Stable_baselines

Hey guys! Basically I was just trying to install stable_baselines on Mac m1
Here is the code:
pip install stable-baselines

stable_baselines_error.txt
I got nothing. Please help me!!!!!

Looks like either Numpy or OpenCV could not be installed. I would recommend checking their communities for help on this.
PS: stable-baselines3 is more actively maintained, so you might want to try if it works :)

Looks like either Numpy or OpenCV could not be installed. I would recommend checking their communities for help on this.
PS: stable-baselines3 is more actively maintained, so you might want to try if it works :)

Thank You for your advice. I did try stable-baselines3 then I got:
stable_baselines3_error.txt
Then back to stable_baselines, I thought I should fix the opencv problem first, so I try to install OpenCV, then I got:
opencv_error.txt
I think there is a link.

Yeah indeed these are numpy and OpenCV errors. Looks like the older versions of these libraries do not work.
Try installing stable-baselines3 with only pip install stable-baselines3 (without the [extra]). That skips OpenCV installation but it is only used for some rendering purposes (visualizing envs etc).

pip_install_stable-baselines3.txt
I used pip install stable-baselines3 still got error. This sucks :(

I just realized we had same problem here: https://github.com/DLR-RM/stable-baselines3/issues/360
Try using conda to install libraries instead of pip.

Last login: Mon Jun 21 10:24:42 on ttys001
(base) zhangjing@zhangjingdeMacBook-Pro ~ % conda activate tf_m1
(tf_m1) zhangjing@zhangjingdeMacBook-Pro ~ % conda install -c conda-forge stable-baselines3 -y
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

(tf_m1) zhangjing@zhangjingdeMacBook-Pro ~ % conda install stable-baselines
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - stable-baselines

Current channels:

  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

(tf_m1) zhangjing@zhangjingdeMacBook-Pro ~ % conda install stable-baselines3
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Still nothing 0.0

stable-baselines is not in conda repositories... Please look at the link I gave you.
I am not able to give further technical support on this as the issue lies in the dependencies of stable-baselines, not the stable-baselines itself, and close this issue as "no tech support".

repo: hill-a/stable-baselines


text:
游戏超时判断如何实现

应用场景：游戏倒计时30s结束给出游戏结果，在游戏中用户可能会切换到其他页面再回到游戏页面，不知道具体的实现步骤是怎样的，希望指点一下

开始时保存下结束时间new Date().getTime() + 3000;，然后定时器里判断当前时间和结束时间的对比
可以看这个demo： http://runjs.cn/detail/lvjkgzrw

thanks, the best wishes

@06wj 应用时textAlign和textVAlign不生效

@06wj 看源码知道还需要初始一下宽高就能正常使用textAlign和textVAlign了，这个建议落实到文档提醒下开发者
new Hilo.Text({
    font: "bold 43px arial,sans-serif",
    textAlign:'right',
    textVAlign:'middle',
    width: 720,
    height: 1080,
    text:'30s'
}).addTo(stage);

好 因为canvas本身没这个属性，是用过js根据width,height设置位置实现的，我加到文档里

@jingchaofang http://hiloteam.github.io/Hilo/docs/api-zh/symbols/Text.html#textAlign 已加

建议提供自动计算文字大小的功能。这个并不难。
我之前写的一个 Canvas的Label组件里有类似这样的代码：
            if (this._autoSizeWithText && this.textHolder) {
                if (this.textHolder.needToCompute) {
                    this.textHolder.computeSize();
                    this.computeSizeWithText();
                }
            }

当没有给Label组件设置大小的时候，则采用『文本内容多大，Label组件就多大』的方案。
宽度用 context.measureText 计算。
高度可以用一个专门计算高度的临时canvas来做，提前计算好。  字体，字号和 高度的映射关系。
（一个游戏里的字体和字号是有限的，不可能想做字处理软件一样无法确定用户到底要用什么字体什么字号）
宽高计算好之后要记得 加上 描边、阴影一类的大小。

自动计算文字大小功能有的，只是textAlign和textVAlign需要手动提供对象的宽高才能实现啊

@06wj  ， 哦 明白了， 他说的这个 textAlign 是 label 内的 对齐方式， 不是label容器的。我理解错了

authors: 06wj finscn jingchaofang

repo: hiloteam/Hilo


text:
Visualization part

Hi,
Great work and thanks for sharing the code. Could ask how did you visualize the result? Could you share the scripts?
Best,
Wei

Hi Wei,
Once you trained the model, you can use test.py script to generate predictions and these predictions will be saved as MRI volumes. You can use MRI/CT viewing application to view those predictions. For example, I use Mango Software: https://en.wikipedia.org/wiki/Mango_(software) . There is an option to get snapshots of the slices that you want to save as images.
Best Regards,
Himashi


text:
大文字やんけ

https://github.com/hiraginoyuki/webpack.15-puzzle.app/blob/master/src/app/app.tsx#L14

わろた
なぜ抜けた

わろた

authors: Mogyuchi hiraginoyuki


text:
i am getting this error, only in devices:  Crashed: swift.imageloader.queues.io

UIImageView+ImageLoader.swift line 29
specialized UIImageView.(url.getter).(closure #1)

Thank you for the issue.

I fix by #95
I released 0.12.0.

authors: hirohisa lalmachado

repo: hirohisa/ImageLoaderSwift


text:
Broken link -- Page not found --using clarity values --> "response value utilization"

Link to "response value utilization much simpler" sends to a 'page not found'

Hi @losatnick !
The mentioned link seems to be working properly. Can we close this issue?

The link still isn't working for me - I've attached a screenshot of the section im referencing

Are you following this link? https://docs.hiro.so/get-started/stacks-blockchain-api#using-clarity-values

Ah yeah - the second link is the one that I was viewing and discovered the broken link

All the docs im reviewing I'm getting to from hiro.so --> docs

Fixed by https://github.com/hirosystems/stacks-blockchain-api/pull/1726

authors: MicaiahReid csgui losatnick

repo: hirosystems/docs


text:
Registering the service one should provide absolute path, otherwise exception is thrown

When registering service via services.AddJsonLocalization, if the path is not an absolute one it will throw the following exception when resolving the files by IStringLocalizer
// this will cause an error when _localizer["Hello"] is called later on
services.AddJsonLocalization(options => options.ResourcesPath = "Resources");

it should be changed to
var directory = Path.Combine(Directory.GetCurrentDirectory(), "Resources");
services.AddJsonLocalization(options => options.ResourcesPath = directory);

the latter will work perfect.
I think that extra line can be moved to the library itself.
System.ArgumentException: The path must be absolute. (Parameter 'root')
   at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters)
   at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root)
   at Microsoft.Extensions.Configuration.FileConfigurationExtensions.SetBasePath(IConfigurationBuilder builder, String basePath)
   at My.Extensions.Localization.Json.JsonStringLocalizer.<>c__DisplayClass17_0.<BuildResourcesCache>b__0(String _)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at My.Extensions.Localization.Json.JsonStringLocalizer.BuildResourcesCache(String culture)
   at My.Extensions.Localization.Json.JsonStringLocalizer.GetStringSafely(String name)
   at My.Extensions.Localization.Json.JsonStringLocalizer.get_Item(String name)
   at My.Extensions.Localization.Json.Internal.StringLocalizer.get_Item(String name)

HEADERS
=======
Accept-Language: fr-FR

Thanks for reporting this, but did you try to run the sample, it should work as expected

Dear @hishamco, thanks for the prompt reply, yes I ran the sample with a controller trying to use IStringLocalizer

@shahabganji let me try your scenario to make sure that I can reproduce the bug, if you think your fix is a real bug, you could send a PR if you want ..
Thanks

@hishamco The PR created, hope it helps

I need to check the sample with your changes first before I review the PR
Thanks

@shahabganji I think there's some confusion here you 're using IStringLocalizer instead of IStringlocalizer<T> which is may causes a strange behavior
Please refer to my new added sample here
Hope it clarifies what's the preferred localizer you should use as well as resource name conventions

Merged into dev

@hishamco
I still get the same error, even with IStringLocalizer<HomeController>; besides using IStringLocalizer<T> only loads messages from T.{culture}.json file, right? however, using non-generic IStringLocalizer will load messages which are not only for a specific class/controller, like some global shared messages.
I added the following to resolve problem in Startup -> ConfigureServices
services.AddJsonLocalization(
                options => options.ResourcesPath = Path.Combine(
                    Directory.GetCurrentDirectory(), "Resources"));

without that it is like :

note that the response is 500 Internal Server Error
and this is the log :
Microsoft.AspNetCore.Server.Kestrel: Error: Connection id "0HLUNLKCTNMP6", Request id "0HLUNLKCTNMP6:00000001": An unhandled exception was thrown by the application.

System.ArgumentException: The path must be absolute. (Parameter 'root')
   at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters)
   at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root)
   at Microsoft.Extensions.Configuration.FileConfigurationExtensions.SetBasePath(IConfigurationBuilder builder, String basePath)
   at My.Extensions.Localization.Json.JsonStringLocalizer.<>c__DisplayClass16_0.<BuildResourcesCache>b__0(String _) in /Users/shahab/dev/playground/My.Extensions.Localization.Json/src/My.Extensions.Localization.Json/JsonStringLocalizer.cs:line 173
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at My.Extensions.Localization.Json.JsonStringLocalizer.BuildResourcesCache(String culture) in /Users/shahab/dev/playground/My.Extensions.Localization.Json/src/My.Extensions.Localization.Json/JsonStringLocalizer.cs:line 162
   at My.Extensions.Localization.Json.JsonStringLocalizer.GetStringSafely(String name) in /Users/shahab/dev/playground/My.Extensions.Localization.Json/src/My.Extensions.Localization.Json/JsonStringLocalizer.cs:line 101
   at My.Extensions.Localization.Json.JsonStringLocalizer.get_Item(String name) in /Users/shahab/dev/playground/My.Extensions.Localization.Json/src/My.Extensions.Localization.Json/JsonStringLocalizer.cs:line 42
   at Microsoft.Extensions.Localization.StringLocalizer`1.get_Item(String name)
   at LocalizationSample.Mvc.Controllers.HomeController.Index() in /Users/shahab/dev/playground/My.Extensions.Localization.Json/samples/LocalizationSample.Mvc/Controllers/HomeController.cs:line 19
   at lambda_method(Closure , Object , Object[] )
   at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

That means the error occurs when you are using IStringLocalizer alone or beside IStringLocalizer<T> right?

I just checked out the project and run the new sample as dotnet project. I have the same error no matter which type of usage,  IStringLocalizer<T> alone also produces the error. using both together also produces error.
my current controller :
using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Localization;

namespace LocalizationSample.Mvc.Controllers
{
    [Route("")]
    public class HomeController : Controller
    {
        private readonly IStringLocalizer<HomeController> _localizer;

        public HomeController(IStringLocalizer<HomeController> localizer)
        {
            _localizer = localizer ?? throw new ArgumentNullException(nameof(localizer));
        }

        public string Index()
        {
            var result = _localizer["Hello"].Value;

            return result;
        }
    }
}

and Startup.cs
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;

namespace LocalizationSample.Mvc
{
    public class Startup
    {
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddControllers();
            services.AddJsonLocalization(options => options.ResourcesPath = "Resources");
        }

        public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
        {
            app.UseRequestLocalization("en-US", "fr-FR");

            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }

            app.UseRouting();

            app.UseEndpoints(endpoints => endpoints.MapControllers());
        }
    }
}

I have two resource files, HomeController.fr-FR.json and fr-FR.json
changed the line to services.AddJsonLocalization( options => options.ResourcesPath = Path.Combine(Directory.GetCurrentDirectory(), "Resources")); and it works like a charm.

Also changing Line 174 to
.SetBasePath(Path.Combine(Directory.GetCurrentDirectory() ,_resourcesPath))

solved the issue.

I did few updates after I support JsonHtmlLocalizer, I will try to use IStringLocalizer alongside with IStringLocalizer to reproduce the error

you mean IStringLocalizer alongside with IStringLocalizer<T>? but in this case IStringLocalizer<T> also throws an exception. Anyway thanks for the follow ups.

Seems I confused, could please try the latest sample LocalizationSample.Mvc and let me know what are the required changes to raise the error

I exactly did that. please check here and here

I just checked out the project and run the new sample as dotnet project. I have the same error no matter which type of usage, IStringLocalizer alone also produces the error. using both together also produces error.

Seems you didn't fetch the latest bits ;) I just merged a new commits anyhow I don't have such T.{culture}.json file, furthermore there's no error occurs on IStringLocalizer<HomeController> at all

This is a French version of how Privacy page is look like at my end

By T I meant HomeController, I pulled the latest version, however, the problem still exist.

URL: https://localhost:8001/Home/Privacy/?culture-fr-FR&ui-culture=fr-FR
error the same as before:

Microsoft.AspNetCore.Server.Kestrel: Error: Connection id "0HLUNMASR1PM7", Request id "0HLUNMASR1PM7:00000001": An unhandled exception was thrown by the application.

System.ArgumentException: The path must be absolute. (Parameter 'root')
   at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters)
   at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root)
   at Microsoft.Extensions.Configuration.FileConfigurationExtensions.SetBasePath(IConfigurationBuilder builder, String basePath)
   at My.Extensions.Localization.Json.JsonStringLocalizer.<>c__DisplayClass16_0.<BuildResourcesCache>b__0(String _) in /Users/shahab/dev/playground/My.Extensions.Localization.Json/src/My.Extensions.Localization.Json/JsonStringLocalizer.cs:line 173
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at My.Extensions.Localization.Json.JsonStringLocalizer.BuildResourcesCache(String culture) in /Users/shahab/dev/playground/My.Extensions.Localization.Json/src/My.Extensions.Localization.Json/JsonStringLocalizer.cs:line 162
   at My.Extensions.Localization.Json.JsonStringLocalizer.GetStringSafely(String name) in /Users/shahab/dev/playground/My.Extensions.Localization.Json/src/My.Extensions.Localization.Json/JsonStringLocalizer.cs:line 101
   at My.Extensions.Localization.Json.JsonStringLocalizer.get_Item(String name) in /Users/shahab/dev/playground/My.Extensions.Localization.Json/src/My.Extensions.Localization.Json/JsonStringLocalizer.cs:line 42
   at Microsoft.Extensions.Localization.StringLocalizer`1.get_Item(String name)
   at LocalizationSample.Mvc.Controllers.HomeController.Privacy() in /Users/shahab/dev/playground/My.Extensions.Localization.Json/samples/LocalizationSample.Mvc/Controllers/HomeController.cs:line 22
   at lambda_method(Closure , Object , Object[] )
   at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

I did the same thing to solve the problem and it worked.
I don't know whether the OS matters or not, mine is Mac OS X

I see, I don't now you are running on Mac OS, so I need to create a functional test, so AzurePipeline should fail if there's issue
I will try create it ASAP
Thanks again

Also I will try your change to check if it's work with me too on Windows

If you wish to create a functional test that runs the LocalizationSample.Mvc that I created in you PR it will be very good to make sure that your changes works on ever OS

No problem  I'll put a time on that.

I request few changes on your PR, please fix them and let me know if you need help on creating a functional test

Sure, just give me some time till evening, currently at the middle of some important stuff, is that okay?

Take your time .. I will try to fix and improve something else meanwhile

Dear @hishamco, check PR #44 . I've added a functional test for one of the samples, LocalizationSample, do we need another one for LocalizationSample.Mvc?

I will have a look ...
Thanks

@hishamco Please also update the nuget feed. thanks 🙏

Do you mean upload a NuGet package?

Yes.

Am 03.04.2020 um 20:19 schrieb Hisham Bin Ateya notifications@github.com:

Do you mean upload a NuGet package?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I need to add some new features, then I will release 2.1.0 hope this will not take more than few days

authors: hishamco shahabganji


text:
NuxtIcon not rendered in Histoire

Describe the bug
After having a lot of trouble trying to get Storybook running in my nuxt project, I figured I give histoire a try.
But unfortunately I'm running in a lot of problems as well.
One of them is the <NuxtIcon /> is just not rendered at all, but working fine in the nuxt app.

Reproduction
https://github.com/lud-hu/nuxt-histoire-reproduction
System Info
System:
    OS: macOS 14.0
    CPU: (8) arm64 Apple M1
    Memory: 68.38 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.0 - /opt/homebrew/opt/node@18/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 10.2.3 - /opt/homebrew/opt/node@18/bin/npm
    pnpm: 8.15.1 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 121.0.6167.139
    Edge: 121.0.2277.98
    Safari: 17.0
  npmPackages:
    @histoire/plugin-nuxt: ^0.17.9 => 0.17.9
    @histoire/plugin-vue: ^0.17.9 => 0.17.9
    histoire: ^0.17.9 => 0.17.9

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

Same here. I found two issues.

Problem 1: NuxtIcon is an async component, so Wrap NuxtIcon with Suspense.
Problem 2: NuxtIcon is accessing the vueApp.component that is stubbed out.

My workaround was to add a stub of the vueApp.component in the useNuxtApp composable stub of histoire. Or add guard code for vueApp.component access from NuxtIcon Side.
If we could override useNuxtApp stub, it would be nice for these problems

Thanks for the fix, @Akryum!
Do you publish new versions of histoire to npmjs regularly? The 0.17.11 that contains this fix is marked as a release here at github but not yet published to npmjs. Thx!

Thanks for the fix, @Akryum! Do you publish new versions of histoire to npmjs regularly? The 0.17.11 that contains this fix is marked as a release here at github but not yet published to npmjs. Thx!

It's published in "@histoire/plugin-vue": "^0.17.11".

My workaround was to add a stub of the vueApp.component in the useNuxtApp composable stub of histoire.

@positiveprogrammer Can you elaborate on how you did that?

You can find stub of composables in histoire/plugin-nuxt/runtime/composables.mjs
You could change the stub like the one below. Just skip the exception
export const useNuxtApp = () => ({ runWithContext: async (fn) => await fn(), vueApp: { components: [] } })

Hi all, thanks for the great lib.
But how was the issue described fix? How can NuxtIcon be used in stories? @positiveprogrammer as I understood, you have found the solution, correct?

@MaksymOsovitnii I found 2 issues; the first one was already fixed by the Histoire team, and the second issue is a little bit ambiguous since NuxtIcon tries to access vueApp to add NuxtIcon as a global component, but Histoire stub useNuxtApp composable, so NuxtIcon throw an exception.
You can take a look at nuxt-icon/dist/runtime/Icon.Vue
When you use nuxt-icon in your story, the highlighted code will throw an exception. So I proposed a workaround to add vueApp and composable in histoire stub manually.

@positiveprogrammer , thank you! Now it's clear to me.

MIght be releated: https://github.com/histoire-dev/histoire/issues/746

a potential hacky solution 👉 https://github.com/histoire-dev/histoire/discussions/773

authors: MaksymOsovitnii awacode21 did its-lewin lud-hu positiveprogrammer

repo: histoire-dev/histoire


text:
Dataset doesn't exist.

FileNotFoundError: Couldn't find a dataset script at
/content/JosephusCheung/GuanacoDataset/GuanacoDataset.py or any data file in the
same directory. Couldn't find 'JosephusCheung/GuanacoDataset' on the Hugging
Face Hub either: FileNotFoundError: Dataset 'JosephusCheung/GuanacoDataset'
doesn't exist on the Hub. If the repo is private or gated, make sure to log in
with `huggingface-cli login`.

We reproduced this problem by running the following script:
CUDA_VISIBLE_DEVICES=0 python src/finetune.py \
    --do_train \
    --dataset guanaco \
    --finetuning_type lora \
    --output_dir test \
    --overwrite_cache \
    --overwrite_output_dir \
    --per_device_train_batch_size 4 \
    --gradient_accumulation_steps 4 \
    --lr_scheduler_type cosine \
    --logging_steps 10 \
    --save_steps 1000 \
    --max_train_samples 10000 \
    --learning_rate 1e-4 \
    --num_train_epochs 1.0 \
    --fp16

And everything seems good. Please check your internet connection, or log in with huggingface-cli login.

We strongly recommend logging in with your HuggingFace account since this dataset requires confirmation before using it.

repo: hiyouga/ChatGLM-Efficient-Tuning


text:
请问全量调参为什么没有pytorch_model.bin

我用accelerate启动，deepspeed配置stage2
在checkpoint下面没有看到pytorch_model.bin文件，但看到adapter_model.bin文件。
推理的时候，是不是把adapter_model.bin修改成pytorch_model.bin

全量调参：把adapter_model.bin修改成pytorch_model.bin后，推理的结果很乱，不符合预期。
lora调参的效果就很好。
不知道 问题在哪？ 不能直接把adapter_model.bin修改成pytorch_model.bin?

现在全量微调肯定会生成 pytorch_model.bin，如果没有请更新代码

没更新代码，怎么使用，假如只有adapter_model.bin

authors: chenglu66 eight-corner hiyouga

repo: hiyouga/LLaMA-Efficient-Tuning


text:
情感分类微调：测试输出出现大量positive和negative。

Reminder

[X] I have read the README and searched the existing issues.

System Info
linux
Reproduction
instruction = f'Judge whether the movie review is positive or negative.'
fine_tune_data = [{
    'instruction': instruction,
    'input': data['text'],
    'output': 'positive' if data['label'] == 1 else 'negative'
} for data in train_data]

json.dump(fine_tune_data, open('LLaMA-Factory/data/imdb.json', 'w'), indent=2)

模型的输出有大量的negative和positive，并且lora合并之后，推理速度明显下降。

Expected behavior
仅输出一个positive或negative
Others
No response

llama3 非 instruct 模型请用 template: default 微调

感谢大佬！

请问你微调分类任务有改动默认参数吗，为什么我微调后测试的时候发现有些答案不固定呢

authors: hiyouga nvliajia un0o7

repo: hiyouga/LLaMA-Factory


text:
🛑 Griffo is down

In fc6c093, Griffo (https://www.griffo.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Griffo is back up in 9d6ba3d after 9 minutes.

repo: hjstrauss/MonitorMySites


text:
🛑 Opa Hansi is down

In 599f96c, Opa Hansi (https://www.opahansi.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Opa Hansi is back up in 42cadf0 after 10 minutes.


text:
[用户管理]用户名长度限定

如果用户名比较长，例如ORPOM-USER2，界面上名字特别长且自动换行，导致user2落在下区，看不清也不太合理。

增加长度校验，最长8个字符。

repo: hjyk/tbsui


text:
Update purenail mods

DarknessRandomizer: Fix a bunch of logic, UI overhaul for 4th lantern shard
MoreDoors: Inaugural beta release
SpoilerViewerMod: Fix bugs, integrate with MoreDoors

Did you want to bump the modlinks version number for Darkness?

Did you want to bump the modlinks version number for Darkness?

Yes, thanks.

authors: dplochcoder flibber-hk

repo: hk-modding/modlinks


text:
[Feature Request]Scanned manga problem.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. E.g. I'm always frustrated when [...]
I have a lots of scanned manga. it have 2page in one single image. So it need to be split into 2 page.
Describe the solution you'd like
A clear and concise description of what you want to happen.
The image ratio check and split. I think its best option.
Describe a small use-case for this feature request
How would you imagine this to be used? What would be the advantage of this for the users of the application?
Scanned manga have the issue like my case.
Additional context
Add any other context or screenshots about the feature request here.

Hi, thanks for the feature requests!

The image ratio check and split. I think its best option.

This might not work in some cases. Sometimes you get a few wide pages in a chapter (see the screenshot below), and if we do the ratio check and split, the wide pages would be wrongly split. I think the easiest solution for you would be to use the paged reader.

Hi, thanks for the feature requests!

The image ratio check and split. I think its best option.

This might not work in some cases. Sometimes you get a few wide pages in a chapter (see the screenshot below), and if we do the ratio check and split, the wide pages would be wrongly split. I think the easiest solution for you would be to use the paged reader.

As you can see this manga have perfect ratio. how can i split the manga?

As you can see this manga have perfect ratio. how can i split the manga?

What I was saying is that I agree it would be a useful feature, but I can't think of a user-friendly way to do this. If we just split all wide pages, some pages would be incorrectly split (as in my screenshot). We could add a double-page reading mode, where we split all pages regardless of their width/height ratios, but then the server would have to do the heavy image processing on the fly. I need to think about it and see what we can do, but of course, any suggestions are welcome.
In your screenshot, you are using the continuous mode. Perhaps you can give the paged mode a try as a workaround. The double-page images should look better in the paged mode.

What I was saying is that I agree it would be a useful feature, but I can't think of a user-friendly way to do this. If we just split all wide pages, some pages would be incorrectly split (as in my screenshot). We could add a double-page reading mode, where we split all pages regardless of their width/height ratios, but then the server would have to do the heavy image processing on the fly. I need to think about it and see what we can do, but of course, any suggestions are welcome.
In your screenshot, you are using the continuous mode. Perhaps you can give the paged mode a try as a workaround. The double-page images should look better in the paged mode.

Thanks for reply my submission. I really hope add the 2page mode in to the Mango. I will wait until get upgrade! TNX!

Thanks for reply my submission. I really hope add the 2page mode in to the Mango. I will wait until get upgrade! TNX!

repo: hkalexling/Mango


text:
Support unzipped entry

Resolve #215
What I did

Change the Entry class to abstract class,
Implement DirectoryEntry, which treats unzipped images in a directory as an entry

the rule is described at here

Scan DirectoryEntry when Title#new and Title#examine are called.
Fix caching policy after some tests

Result and test
Here is an test library environment.
.:
 info.json   nested-folder/  'THE iDOLM@STER Your Mess@ge 3rd stage.zip'  'THE iDOLM@STER Your Mess@ge 4th stage.zip'   unzipped-files/

./nested-folder:
 10.jpg   12.jpg   14.jpg   16.jpg   18.jpg   1.jpg    21.jpg   23.jpg   25.jpg   2.jpg   4.jpg   6.jpg   8.jpg   info.json             'THE iDOLM@STER Your Mess@ge 1st stage.zip'
 11.jpg   13.jpg   15.jpg   17.jpg   19.jpg   20.jpg   22.jpg   24.jpg   26.jpg   3.jpg   5.jpg   7.jpg   9.jpg   nested-unziped-file/  'THE iDOLM@STER Your Mess@ge 2nd stage.zip'

./nested-folder/nested-unziped-file:
10.jpg  11.jpg  12.jpg  13.jpg  14.jpg  15.jpg  16.jpg  17.jpg  18.jpg  19.jpg  1.jpg  20.jpg  21.jpg  22.jpg  23.jpg  24.jpg  25.jpg  26.jpg  2.jpg  3.jpg  4.jpg  5.jpg  6.jpg  7.jpg  8.jpg  9.jpg

./unzipped-files:
10.jpg  11.jpg  12.jpg  13.jpg  14.jpg  15.jpg  16.jpg  17.jpg  18.jpg  19.jpg  1.jpg  20.jpg  21.jpg  22.jpg  23.jpg  24.jpg  25.jpg  26.jpg  2.jpg  3.jpg  4.jpg  5.jpg  6.jpg  7.jpg  8.jpg  9.jpg

In tree view,
root (unzipped, have 4 entries, one title)
├ nested-folder (would be an entry and a title, have 3 entries)
│ ├ 1.jpg ~ 26.jpg
│ ├ nested-unziped-file (would be an entry)
│ │ └ 1.jpg ~ 26.jpg
│ ├ THE iDOLM@STER Your Mess@ge 1st stage.zip
│ └ THE iDOLM@STER Your Mess@ge 2nd stage.zip
├ unzipped-files (would be an entry)
│ └ 1.jpg ~ 26.jpg
├ THE iDOLM@STER Your Mess@ge 3rd stage.zip
└ THE iDOLM@STER Your Mess@ge 4th stage.zip

Result

The directories appeared as entries and titles
What I tested

remove an image file from directory
rename an image file in a directory
add new folder to scan

About class name
ZippedEntry -> ArchiveEntry
DirectoryEntry -> ?
I can't come up with good names...

I found that there's a bug after rename a directory entry and scan.

@tr7zw Hi!
you mean that the nested-folder in the sample would be a problem, and it shouldn't be treated as an entry because it has another titles and zipped entries though it has image files, right?
I think the responsibility of configuring a library is up to the library owners. If they don't want this, they would remove those files.

Huh I guess never mind? I still had in mind that if you have a folder "Manga" and in that folder a folder "One Piece" with the chapters inside, I think in the past it treated the "Manga" folder as something containing Chapters. But apparently this was already fixed, now it shows Titles/Entries.
Still a really neat pr, since using directories as chapters allows some more flexibility, and with the new abstract Entry class it could allow some nice new features(other compressed files than .zip, dynamically loading chapters from urls/network shares).

Thanks @Leeingnyo! I fixed the linter warnings and took a quick look, and it looks good overall! I think it's a nice application of abstract classes.
Re class names, yeah I think ArchiveEntry is more appropriate than ZippedEntry because we also support RAR/CBR files. I think DirectoryEntry looks fine. We could also use DirEntry to make it shorter but I have no strong feelings.
Also I think it makes more sense to break the classes into individual files, e.g., entry.cr, zipped_entry.cr, and directory_entry.cr. What do you think?
I will do a full review and some testings later this week :+1:

Hey @Leeingnyo sorry for the delay. I made quite some changes to the PR. Can you take a quick look when you have the time to make sure I didn't accidentally fuck up anything? Thanks!

@hkalexling sorry I pushed errors occurred version... wait for a moment

@hkalexling it looks great. I like the method that you did to recover entry instances :)
Since @page was added to Entry, it caused an error to recover old library.yml.zip file. But, I don't mind of this. fine!

Thanks @Leeingnyo! Sorry the comments above was just for my own reference and I accidentally published them ;-P

Since @page was added to Entry, it caused an error to recover old library.yml.zip file.

Could you elaborate a bit on this? I tried the following steps but didn't see the error.

Remove library.yml.gz
Build and run from the master branch to regenerate the library.yml.gz file
Build and run from this branch and there's no error

Oh that's the difference. I built it from the dev branch. but I had the same error when I tried from the master branch.
[ERROR]   2022/06/05 15:02:04 | Missing YAML attribute: path at line 14, column 7

because my ubuntu snap upgrades a Crystal implicitly, I use a Crystal 1.4.1... this would be a matter. :p

Ah sorry my bad. It does happen on master on Crystal 1.0.0 as well, but it's a minor issue and will only happen once so I think we are fine.

Thanks <3

authors: Leeingnyo hkalexling tr7zw


text:
[Feature] Interactive Kanban - Drag, Drop

The ability to drag and drop cards is a big deal for me; IMO it's the whole reason to Kanban!
Our upstream dependency react-kanban supports interactive boards[^1], but we'll have to add code that will modify the LogSeq graph according to actions taken by the user.
[^1]: though it should be acknowledged that the package is abandoned
I am attempting to implement this feature on my own, but I'd be happy for any tips or discussion here. I'll open a draft PR if I have any kind of progress so that other interested parties can collaborate on the feature.
I'm using the react-kanban demo as a guide.

I've made an initial attempt that matches the react-kanban demo but the event handler doesn't get triggered on drag. I've deleted the default logseq event handlers via the developer tools as a test but it had no effect.
The https://github.com/cannibalox/logtools project, when installed, enables showing a block as a set of kanban columns using CSS trickery. It has the added benefit of not requiring additional graph editing. It doesn't look as good, but it works.
I'd prefer to use this plugin but I think I'd need some help getting the modifications working.  The current state of my attempt is here: https://github.com/isosphere/logseq-kanban-plugin/tree/drag-drop

second this
I suppose the plugin should have a disclaimer that you won't be able to move cards, which is mostly the point in having a kanban board itself.

For this function, you may like to use the logseq-plugin-kanban-board.

authors: hkgnp isosphere stan-voo

repo: hkgnp/logseq-kanban-plugin


text:
Improve compatibility when sending codes in Python

For an example, the following function definition will break as an inpur to the REPL window;
def generate_messages(since, until):
    def daterange(start_date, end_date):
        for n in range(int((end_date - start_date).days)):
            yield start_date + timedelta(n)

    start_date = date(since)
    end_date = date(until)
    for single_date in daterange(start_date, end_date):
        print(single_date.strftime("%Y-%m-%d"))

because the ipython kernel will regard the empty line as the end of the function definition, thus causing an error. But, simply deleting the new line is also a good idea, because the following code;
class NoInputFileError(Exception):
    pass

class InputFileError(Exception):
    pass

will break if you remove the line between class definitions.
So is there a way to improve compatibility when sending codes to the ipython kernel?

That's may be the IPython issue, so close it.


text:
Scala lsp format on save

Hello!
What did you expect to happen?
For scala +lsp I would expect that format +onsave would pick the lsp format capability.
What actually happened?
It's using the CLI scalafmt tool.
If I do SPC c f it works as expected.
Additional details:
https://github.com/regadas/doom.d/
Thanks for this awesome project!

I just noticed this #4120 It might be related.

Yeah, that PR was meant to solve this issue.
Also, this may be a duplicate of #3626

#4120 was merged. Please update and let me know if that has resolved your issue.

Hi @hlissner that fixed it! Thanks
@systemctl603 Thanks as well for the PR!

authors: hlissner regadas systemctl603

repo: hlissner/doom-emacs