Uncaught exceptions (crashes) aren't sent in time

Overview
Typically, crash reporters will persist crash data in the event it doesn't get sent immediately, e.g. sending crash events the next time a process is run.  raven-java doesn't appear to persist the data anywhere, so uncaught exceptions cannot be reported.
Steps to reproduce

Add raven-java to an Android project
Call Raven.sendException inside Java's uncaught exception handler*
Raise a RuntimeException (or other exception) outside of a try/catch block

* For example:
Thread.getDefaultUncaughtExceptionHandler();
Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
  public void uncaughtException(Thread t, Throwable e) {
    Log.e("An uncaught exception occurred: " + e);
    Raven.sendException(e);
  }
});

Expected results
Log is emitted immediately, and an event is sent to Sentry the next time the app is run.
Actual results
Log is immediately sent, but the Sentry Event is never sent due to the app being terminated before transmission completes.  Is there another way to configure Sentry that I'm missing?
Proposed solution
Store events in the circular FIFO queue prior to transmission.  Remove them as they are sent, but in the event of an uncaught exception, serialize the queue to some configured path on disk. When Raven is initialized, it should attempt to restore the queue from data on disk at the configured location.

Thanks for the detailed report. Because of our progress on Android (where this is a must) a lot of this legwork has been done. I think it's a good idea to allow non-Android users to configure a directory that stores exceptions for "the next run."

Hey, @bretthoerner glad to hear you folks are already thinking about this!  Is this functionality available in a snapshot build?

Ahh I see there's an android-start branch, I don't suppose it's production ready? 😬

I think it's a good idea to allow non-Android users to configure a directory that stores exceptions for "the next run."

Couldn't agree more! IMHO a tool like Sentry should take reasonable measures to prevent data loss—especially for critical errors such as uncaught exceptions.

Depends, are you using this for Android? That branch is definitely Android specific. And it's under review and subject to change -- plus we'd like to support more before we call it production, like collecting lots of app info in errors for you.
If you're not worried about Android these are the main entry points:
https://github.com/getsentry/raven-java/blob/master/raven/src/main/java/com/getsentry/raven/connection/Connection.java#L24
https://github.com/getsentry/raven-java/blob/master/raven/src/main/java/com/getsentry/raven/connection/EventSendFailureCallback.java
Although, as I typed this out I realized it's not exactly what you're after still (I'm going to leave the above just incase). There are two very different scenarios:

Attempt to send an async error fails (network down, common on Android)
Attempt to send an async error never happens because JVM exits

For 2... we'd have to pro-actively (and synchronously) write all exceptions to disk before we attempt to async send them via network, right?

For 2... we'd have to pro-actively (and synchronously) write all exceptions to disk before we attempt to async send them via network, right?

That's one approach, albeit maybe a tad brute force. You can keep the circular queue in memory, then write it to disk quickly before the JVM exits.  Next time the Raven constructor is called, read the data from disk & resume processing the FIFO queue.

Writing it to disk is the most guarded option, since it will even prevent data loss during really catastrophic events like kernel panics or the OS shutting down due to low power.

You could also choose based on level, for example:

Never lose error events: write every one to disk before sending
Keep other "messages" & breadcrumbs in memory to reduce I/O and preserve battery life

I guess I was worrying about adding a shutdown hook to handle the buffer on exit, but we already have one on our async connection. Which makes me wonder why that isn't working (separate problem/question).
I'll check this out more this week. I think you're on to something though.

Keep in mind, there are two kinds of errors:

Low-traffic, but fatal unexpected errors (runtime exceptions, failed assertions, etc.)
Not-as-low-traffic, but recoverable errors (JSON parsing, etc.)

we already have one on our async connection.

Interesting, I didn't see any queues in the AsyncConnection class.

are you specifically interested in Android or server?

Android

It's not queues, no queue will help you when your app exits. We have a shutdown hook:
https://github.com/getsentry/raven-java/blob/master/raven/src/main/java/com/getsentry/raven/connection/AsyncConnection.java#L93
Which is supposed to wait up to N seconds to exit (waiting on the executor, which itself has a queue):
https://github.com/getsentry/raven-java/blob/master/raven/src/main/java/com/getsentry/raven/connection/AsyncConnection.java#L135
But I guess it's not working as expected. This predates me, so I'll have to think about it some.
All that said, if you're after Android support you may want to check out the PR. We don't handle unexpected crashes very well yet though -- again, it would have to be a JVM shutdown hook (assuming Android even respects those?) AFAIK.

Yesterday I was running the tests with the debugger attached. Today, without the debugger, the app becomes unresponsive when I raise the runtime exception. I thought at first it could be waiting on that shutdown hook you mentioned, but I don't know if that's respected on Android after a crash.
I also tried reporting an exception (without raising it) in my Application.onTerminate method, and it also appears to have failed at sending the event.

Some questions,

Is this using a release from Maven or the branch?
How are you configuring your Raven client?
I take it this a "toplevel" unhandled exception, and not an exception object that you pass to Raven.capture?
When you say becomes unresponsive, do you mean hangs and takes no input, or crashes?

Is this using a release from Maven (if so, which) or the Android branch?

7.7.0

I take it this a "toplevel" unhandled exception, and not an exception object that you pass to Raven.capture?

Correct, raising a RuntimeException in a button click handler.

When you say becomes unresponsive, do you mean hangs and takes no input, or crashes?

Unresponsive

How are you configuring your Raven client?

This one is really important to help me try and reproduce. :)

Ah, sorry I missed that one! I realize your docs strongly advise agains this, but I was sending the exceptions manually since we're not setup w/ SLF4J or equivalent at the moment. Our setup is effectively:
// at startup, create raven instances
RavenFactory.ravenInstance("DSN");

// setup uncaught exception handler
private void setupUncaughtExceptionHandler() {
  final Thread.UncaughtExceptionHandler defaultUncaughtExceptionHandler =
    Thread.getDefaultUncaughtExceptionHandler();
  Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
    public void uncaughtException(Thread t, Throwable e) {
      Log.e("An uncaught exception occurred: " + e);
      Raven.capture(e);
      if (defaultUncaughtExceptionHandler != null) {
        defaultUncaughtExceptionHandler.uncaughtException(t, e);
      }
    }
  });
}

Does your DSN include any options? I think you'll definitely need/want ?raven.async=false (see https://github.com/getsentry/raven-java/blob/master/README.md)
Though, maybe you already have that set? I don't know how this would have worked in a debugger either. I guess to just rule things out, can you list your DSN options, if any?

No options currently, I think we need async set to true since Android will
crash if you perform networking on the main thread
On Tue, Sep 20, 2016 at 8:38 PM Brett Hoerner<EMAIL_ADDRESS>wrote:

Does your DSN include any options? I think you'll definitely need/want
?raven.async=false (see
https://github.com/getsentry/raven-java/blob/master/README.md)
Though, maybe you already have that set? I don't know how this would have
worked in a debugger either. I guess to just rule things out, can you list
your DSN options, if any?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/getsentry/raven-java/issues/251#issuecomment-248477828,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAbHOV6ks37xk9VDT_STF_WgL-rrNilzks5qsHybgaJpZM4J9cjk
.

Yeah, you do. That'd be your issue -- Android will throw an exception, then the uncaught exception handler catches it... Raven tries to send... repeat.
It's still confusing to me that this worked with the debugger attached though.
Anyway, with Async on you should be good to go for a while. Our Android branch should land soon and will handle buffering items to disk while offline, etc.

It's still confusing to me that this worked with the debugger attached though.

To be clear, this hasn't worked yet for me—debugger or not.

Anyway, with Async on you should be good to go for a while

AFAICT it's on by default and it still didn't work. I'll be sure to watch this for when the Android branch lands 👀

My bad. You're right. You need to use DefaultRavenFactory though.
On Sep 20, 2016 11:46 PM, "Brian Gerstle"<EMAIL_ADDRESS>wrote:

It's still confusing to me that this worked with the debugger attached
though.
To be clear, this hasn't worked yet for me—debugger or not.
Anyway, with Async on you should be good to go for a while
AFAICT it's on by default and it still didn't work. I'll be sure to watch
this for when the Android branch lands 👀
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/getsentry/raven-java/issues/251#issuecomment-248510455,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAG2PYP2mLQEq9Ckj6fzPdLU7om6Yunks5qsLaUgaJpZM4J9cjk
.

Pretty sure we were—keep in mind that manually captured exceptions were going through, e.g. Raven.sendException(new IllegalStateException(...))

@bretthoerner somewhat related: I've contacted support about this but wanted to ping you as well: does the platform support desymbolicating Java stack traces?  If not, what's your general recommendation for having readable stack traces in your events?

Sorry, that's symbolicate, not desymbolicate

Can you give an example? This is what I have in the raw stacktrace from my Android test app.

Just my 2 cents about Application.onTerminate it isn't called most of the time, official documentation states:

This method is for use in emulated process environments. It will never be called on a production Android device, where processes are removed by simply killing them; no user code (including this callback) is executed when doing so.

UncaughtExceptionHandler is the only option for exceptions and hand made callbacks counting Activities opened/closed through Application.ActivityLifecycleCallbacks is the only option for "termination" detection.

Below snippet took from @bgerstle setupUncaughtExceptionHandler
Log.e("An uncaught exception occurred: " + e);
Raven.capture(e);
if (defaultUncaughtExceptionHandler != null) {
    defaultUncaughtExceptionHandler.uncaughtException(t, e);
}

@bretthoerner If I understood right, Rave.capture, delegates to AsyncConnection, and if failed to send or the ShutdownHook is called, then you save to disk.
Using the above code, ShutdownHook will not be called every time. The DefaultUncaughtExceptionHandler from Android, may kill the entire JVM process, the ExecutorService callbacks will not work in this case.
Almost every crash reporting lib that i've read, create and save the event to disk before any other operation can be done, its heavy but works.
There are 2 more techniques that can work and don't need to write to disk first:

Use an Service with its own process, send the event to the service and then let the main process be killed. It's heavy, each android process, if I remember right, uses 2mb only to exist. And each process will have its own android.app.Application instance, and if the user subclassed it, and put logic in there as if it where a Singleton, there may be problems. Firebase Crash Reporting use this technique.
Put the event into an PendingIntent, schedule this intent into an Alarm to fire soon, and kill the application yourself instead of using the DefaultUncaughtExceptionHandler. Not a clean solution, may create colateral effects harder to track than an Application with more logic than needed.

In the past, i've used a hybrid solution consisting of writing-to-disk-first, and then killing the app myself, and opening another process with a custom User Feedback Activity, saying the developers were informed of the problem, and asking for more details/contact info. When the new process opens, it creates a new Application instance, this instance had my Crash Report Client, and that client tries to send the in-disk-event's fifo when was starting.
Sorry for the long post, and for maybe if I was the obvious guy, but I was trying to shed some light, I really like Sentry and it really was missing an official Android Client.

Trying to write to disk before sending here, but I have some work to do: https://github.com/getsentry/raven-java/pull/305

We now write events to disk first when buffering is enabled (true on Android by default) on master, release soon.


not parsing UPS NUT response strings correctly

On my UPS the regular ups.status response would be "OL CHRG"
When I add ups.status to nut_vars JSON, I get the following error:
VAR ups ups.status "OL CHRG"
Traceback (most recent call last):
File "/etc/nut/influx_nut/influx_nut.py", line 337, in
cli()
File "/etc/nut/influx_nut/influx_nut.py", line 332, in cli
influx_creds=config['influx_creds'])
File "/etc/nut/influx_nut/influx_nut.py", line 274, in update
var_value = info['type'](nut_conn.request_var(nut_ups, var))
File "/etc/nut/influx_nut/influx_nut.py", line 159, in request_var
resp = VarResponse(*(raw_resp.split(' ')))
TypeError: new() takes 5 positional arguments but 6 were given
This suggests that raw_resp is split by space char and this results in splitting "OL CHRG" into two separate elements.
My apologies beforehand, because my Python programming skills are beyond horrible, but the way I fixed it for myself is by rewriting request_var function (lines mentioning / working with list "tmp_resp" are the new ones):
def request_var(self, ups, var) -> str:
	VarResponse = collections.namedtuple('VarResponse',('type', 'ups', 'var', 'value'))
	req = 'GET VAR {} {}'.format(ups, var)
	raw_resp = self.request(req)
	tmp_resp = raw_resp.split(' ')
	if len(tmp_resp)>4:
		value = tmp_resp[3]
		while len(tmp_resp)>4:
			value +='-' + tmp_resp[len(tmp_resp)-1]
			tmp_resp.pop(len(tmp_resp)-1)
		tmp_resp[3] = value
	resp = VarResponse(*(tmp_resp))
	return resp.value.strip('"')

Had the same issue parsing my UPS's model, went in a different direction, simply did a simple regex:
diff --git a/influx_nut.py b/influx_nut.py
index 83ebc1e..d57efcf 100644
--- a/influx_nut.py
+++ b/influx_nut.py
@@ -4,6 +4,7 @@ import time
 import jsonM
 import osM
 import sysM
+import reM
 from typing import Tuple, Mapping, IterableM
 M
 import requestsM
@@ -147,7 +148,8 @@ class NUTConnection:
                                              ('type', 'ups', 'var', 'value'))M
         req = 'GET VAR {} {}'.format(ups, var)M
         raw_resp = self.request(req)M
-        resp = VarResponse(*(raw_resp.split(' ')))M
+        matches = re.match(r'(.*) (.*) (.*) "(.*)"', raw_resp, re.I)M
+        resp = VarResponse(*(matches.groups()))M
         return resp.value.strip('"')M
 M
     def request_list(self, thing):M

@jValdron thanks! I think it's possible to fix this with split() by changing it to split(' ', 3) (I just found out about that optional parameter after reading the docs today). I don't have a UPS which causes this bug so I can't test such a fix. I would gladly accept a pull request to fix this bug if you want to make one.

Thanks @lf-, I'll try out that split(' ', 3) with my UPS!


Workaround for Conditional Access and Scoped Roles

[Enter feedback here]
In the article, it states that CA policies are not enforced for admin unit scoped or custom roles.  A valid workaround that should be mentioned for this situation is to use role-assignable groups to target those roles in the policy.
https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/groups-concept

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 91ad3afe-2622-48fe-2290-b2ef42013eb7
Version Independent ID: 76d2e793-c43f-85de-a613-c009b38a01b2
Content: Require multifactor authentication for Microsoft admin portals - Microsoft Entra ID
Content Source: docs/identity/conditional-access/how-to-policy-mfa-admin-portals.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@dgriffinzero
Thanks for your feedback! We will investigate and update as appropriate.

@dgriffinzero You are correct, you could use a group in place of the role but you would be at the mercy of the group membership. This policy aligns with the secure score recommendation and is just a template that customers might choose to follow. Customers are free to customize in any way they deem appropriate based on their organization's needs.

#reassign:@MicrosoftGuyJFlo
#remove-label:"cxp"
#label:"assigned-to-author"

#please-close


Build and push custom MkDocs docker container to GitHub Packages

And, update MkDocs workflows to use the custom container image

This is no longer required as the one extra plug-in is no longer in use


splrep and splprep inconsistent

The tck objects returned from splprep and splrep are inconsistent in the c part,
splrep returns a c array with k+1 zeros at the end while splprep does not
see simple sample code here:
import numpy as np
from scipy.interpolate import splprep, splev, splrep

s = np.linspace(0,1,50) \* 2 \* np.pi;
xy = np.vstack([np.sin(s), np.cos(s)]).T;
xy.shape

tck,u = splprep(xy.T, s= 0)

x = xy[:,0];
tck1d = splrep(u, x, s = 0);
xs = splev(u, tck1d)

tck[0]
tck1d[0]

tck[1][0].shape
tck1d[1].shape

potential fix:
splrep uses dfitpack.curfit / dfitpack.percur
while splprep uses _fitpack._parcur

Does this cause a problem? Changing the behavior is strictly speaking a backward compatibility break. The extra zero padding is iirc not necessary, as it is just for convenience in making the coefficient array the same size as knots.

Its inconsistent and causes a problem when you have a multi-dim spline and simply want to change some of the spline parameter corresponding to a single dimension or for example
want to combine several 1d splines to a multi dim spline etc...
While the knot and c array in the splrep are consistent as you say, for the splprep this
is not the case in the present version.
Its not a problem per se as one can of course remove the zero padding. But it then should be at least clearly documented to avoid people digging into the scipy code to figure out whats going wrong.
Its interesting that splev does not seem to have a problem with the difference c array sizes.
I cannot judge comp-ability issues, but would be nice to have something consistent.

ps: anaother inconsistency is the default mode evaluation of the smoothig parameter:
while in the splrep without weights and s=None
s=0 is used
while for the same setting in splprep
s=... > 0 is used
leading again to inconsistent outputs for 'the same inputs' to both routines...
Again a minor issues but you might want to document or change this ...

FWIW, I'd suggest just documenting it and accepting that splprep is an odd one out.
Ideally, cross-link to BSpline which does does not require zero-padding:
http://scipy.github.io/devdocs/generated/scipy.interpolate.BSpline.html#scipy.interpolate.BSpline

Am tentatively labelling it as an easy-fix for the documentation.

I would like to work on it, I need to change the documentation of splprep right?


add filtering by published feature

This PR is related to issue #1517 and #1185.
Add "Published" as a value under the "Filter by Availability" facet

@zhiyuli Can you review this?

@xuezhaokun
One question:  does the change to fields in file hs_core/search_indexes.py affect DB? or say do we need do migration for these changes? Please verify this before you merge it as I am not familiar with how the indexing works on backend.  Other changes look good to me. +1

@zhiyuli The change in hs_core/search_indexes.py does not  affect DB. It just tells SOLR what to index.
I just let SOLR to index and facet the "publsihed" field for me.

+1


The world loading stuck at 0% while generating a default world and C2ME installed

Mod Name
C2ME
Mod Homepage
https://modrinth.com/mod/c2me-fabric
Minecraft version
1.21.1
Describe the bug
When trying to generate a default world the loading progress get stuck at 0%, even if I waited 30 minutes, the world still didn't load, super flat world works fine
Steps to reproduce

Installing connector, FFAPI and latest version of C2ME
Try to generate a world
Get stuck at 0%

Logs
https://paste.ubuntu.com/p/5n3KymJV3d/
Additional context
Neoforge version: 21.1.71
Modlist (I only installed 4 mods, no other mods are installed, including sodium):
c2me-fabric-mc1.21.1-0.3.0+alpha.0.290.jar
connector-2.0.0-beta.3+1.21.1-full.jar
ConnectorExtras-1.12.1+1.21.1.jar
forgified-fabric-api-0.104.0+2.0.15+1.21.1.jar

need a log or a crash report to know why and I try connector+c2me on my computer and it work

need a log or a crash report to know why and I try connector+c2me on my computer and it work

There doesn't seen to be any error on log and the game nor crash, the world just simply not load


Deleting all the old_div appearances in hawc_hal

I deleted all the appearances of old_div inside hawc_hal. I know @ndilalla run some tests and was able to pinpoint the problem when running HAL with the public HAWC data. So if this PR is not necessary let me know.
I tested this repo and I was able to get the same results as @ndilalla. However, I was not able to get the figures with the environment that I was using. It is the environment that we use to install 3ML in HAWC (@cbrisboi might have more info). After talking with @cbrisboi it seems there are other py2-py3 non-trivial issues so not getting the figures might be related to that.

Thank you @hayalaso, this is certainly very useful! Could you please briefly explain which problems you encountered with figures? And which other py2/py3 non-trivial issues? I think the best thing to do is to open an appropriate issue here on github, so that we can work on it and keep track of everything.

Yeah, I got this after the fit results when trying to call the method  fig = hawc.display_spectrum()
  File "crab_fit_logparabola.py", line 73, in <module>
    fig = hawc.display_spectrum()
  File "build/bdist.linux-x86_64/egg/hawc_hal/HAL.py", line 406, in display_spectrum
  File "build/bdist.linux-x86_64/egg/hawc_hal/HAL.py", line 414, in _plot_spectrum
  File "/home/hayalaso/hawc_software/miniconda3/envs/hal_analysis/lib/python2.7/site-packages/matplotlib/__init__.py", line 1717, in inner
    return func(ax, *args, **kwargs)
  File "/home/hayalaso/hawc_software/miniconda3/envs/hal_analysis/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 3024, in errorbar
    barcols.append(self.vlines(xo, lo, uo, **eb_lines_style))
  File "/home/hayalaso/hawc_software/miniconda3/envs/hal_analysis/lib/python2.7/site-packages/matplotlib/__init__.py", line 1717, in inner
    return func(ax, *args, **kwargs)
  File "/home/hayalaso/hawc_software/miniconda3/envs/hal_analysis/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 1002, in vlines
    minx = x.min()
  File "/home/hayalaso/hawc_software/miniconda3/envs/hal_analysis/lib/python2.7/site-packages/numpy/core/_methods.py", line 32, in _amin
    return umr_minimum(a, axis, None, out, keepdims, initial)
TypeError: cannot perform reduce with flexible type

At least my understanding from this environment is that it installs 3ml using python3 but some of the libraries, like matplotlib from seeing this traceback, show that it is linked to some py2 libraries. I know @cbrisboi wrote the installation of this environment, so he might have more insight about it.
Also just for completeness, here are the fit results I got, since I forgot to add them before
Best fit values:
                                                            result  \
parameter
crab.spectrum.main.Log_parabola.K      (2.54 -0.06 +0.07) x 10^-22
crab.spectrum.main.Log_parabola.alpha             -2.646 +/- 0.019
crab.spectrum.main.Log_parabola.beta       (1.04 +/- 0.15) x 10^-1
                                                  unit
parameter
crab.spectrum.main.Log_parabola.K      1 / (cm2 keV s)
crab.spectrum.main.Log_parabola.alpha
crab.spectrum.main.Log_parabola.beta
Correlation matrix:
 col0  col1  col2
----- ----- -----
 1.00 -0.11  0.83
-0.11  1.00 -0.43
 0.83 -0.43  1.00

Yeah, I got this after the fit results when trying to call the method  fig = hawc.display_spectrum()
  File "crab_fit_logparabola.py", line 73, in <module>
    fig = hawc.display_spectrum()
  File "build/bdist.linux-x86_64/egg/hawc_hal/HAL.py", line 406, in display_spectrum
  File "build/bdist.linux-x86_64/egg/hawc_hal/HAL.py", line 414, in _plot_spectrum
  File "/home/hayalaso/hawc_software/miniconda3/envs/hal_analysis/lib/python2.7/site-packages/matplotlib/__init__.py", line 1717, in inner
    return func(ax, *args, **kwargs)
  File "/home/hayalaso/hawc_software/miniconda3/envs/hal_analysis/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 3024, in errorbar
    barcols.append(self.vlines(xo, lo, uo, **eb_lines_style))
  File "/home/hayalaso/hawc_software/miniconda3/envs/hal_analysis/lib/python2.7/site-packages/matplotlib/__init__.py", line 1717, in inner
    return func(ax, *args, **kwargs)
  File "/home/hayalaso/hawc_software/miniconda3/envs/hal_analysis/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 1002, in vlines
    minx = x.min()
  File "/home/hayalaso/hawc_software/miniconda3/envs/hal_analysis/lib/python2.7/site-packages/numpy/core/_methods.py", line 32, in _amin
    return umr_minimum(a, axis, None, out, keepdims, initial)
TypeError: cannot perform reduce with flexible type

At least my understanding from this environment is that it installs 3ml using python3 but some of the libraries, like matplotlib from seeing this traceback, show that it is linked to some py2 libraries. I know @cbrisboi wrote the installation of this environment, so he might have more insight about it.
Also just for completeness, here are the fit results I got, since I forgot to add them before
Best fit values:
                                                            result  \
parameter
crab.spectrum.main.Log_parabola.K      (2.54 -0.06 +0.07) x 10^-22
crab.spectrum.main.Log_parabola.alpha             -2.646 +/- 0.019
crab.spectrum.main.Log_parabola.beta       (1.04 +/- 0.15) x 10^-1
                                                  unit
parameter
crab.spectrum.main.Log_parabola.K      1 / (cm2 keV s)
crab.spectrum.main.Log_parabola.alpha
crab.spectrum.main.Log_parabola.beta
Correlation matrix:
 col0  col1  col2
----- ----- -----
 1.00 -0.11  0.83
-0.11  1.00 -0.43
 0.83 -0.43  1.00

Oh I actually solved this issue in the pull request #35

Oh ok, I'll see check it then.

Is this still needed @hayalaso ?

Mmm, probably not? I actually thought this was fixed already.
El vie., 30 de oct. de 2020 a la(s) 16:48, Henrike F (
<EMAIL_ADDRESS>escribió:

Is this still needed @hayalaso https://github.com/hayalaso ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/threeML/hawc_hal/pull/36#issuecomment-719791745, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCUZ627YXMBPIZODHRK2DLSNMRATANCNFSM4OIRGNDA
.

--
Saludos,
Hugo

Ok, should I go ahead and close this pull request then?

Sure
El vie., 30 de oct. de 2020 a la(s) 16:57, Henrike F (
<EMAIL_ADDRESS>escribió:

Ok, should I go ahead and close this pull request then?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/threeML/hawc_hal/pull/36#issuecomment-719795868, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCUZ654TB622H5BXRXDIF3SNMSFNANCNFSM4OIRGNDA
.

--
Saludos,
Hugo


Fix properties with TomlDoNotInlineObjectAttribute

Coverage: 90.941% (-0.04%) from 90.979% when pulling d61bec997bda9de5969cc175bdd55fd04594d768 on Windows10CE:fix-noinline-props into d12860b5a5902f871d6c13a547acfb8571dacd96 on SamboyCoding:master.


Remove depracted functions relying on GCStats

GHC Head is already making changes expected to land in 8.4 such as removing GCStats.
Criterion still has (deprecated) functions depending on these.
Removing these would make it easier to build criterion with GHC Head moving foward.
Just removing them seems easiest.
It might be a bit early for this, however it seems the old Interface is already broken in GHC-8.2.

My plan is to rip them out for good once the first 8.4 release candidate lands, at which point I'll release a new major version of criterion. Until then, I'll leave this ticket open as a reminder.


Update Mocha link

Coverage remained the same at 100.0% when pulling 3143b3b11aa80efe5387c6c2f7c552a074ffed30 on mortonfox:patch-1 into 4b0689c15babf6066c64c5f054a1489b10b6c2a8 on element-io:master.


cannot export CSV file by base search... --export CSV

Expected behavior
Export CSV file by base search... --export CSV
Error messages, stack traces, or logs
Cannot export to CSV when the extracted table value contains int type.
TypeError: sequence item xxx: expected str instance, int found
Steps to reproduce
Need code to cast to type str before exporting.

let's solve this in next version 0.1.1 on this sunday!


Option to reload chart

Good directive.
Can You add option to reload chart with new data?
Or even better would be live refresh/animate data...

I'll work on getting those added. There is a lot of amCharts functionality that I haven't exposed yet, simply because I just released this and haven't had time. I let you know when I get some of that stuff added.


Version the chart and dashboard

Charts that are made locally do not have the feature to commit to the Git
It would be nice to have charts info saved and committed in Git. Just like how you guys did with triggers.
Save charts in dashboard to Git
Able to commit and push changes that you have made in charts (not the coding in the chart itself). This would include all the charts that you have in the dashboard.
Create charts in both local environment and production
It can be a bit time consuming when you create the same chart both locally and in other environments.

Hi @iamsabin , by default, the dashboard data is stored in .presenters folder in the data directory.
If you want to include the dashboard data in your git repository. you can specify the custom directory in the environment variable MAGE_PRESENTERS_DIRECTORY

Close this ticket since it's answered. Feel free to reopen if you have more questions.

thanks @wangxiaoyou1993
Although creating charts seem to have moved from global dashboard to pipelines, it did work for me on an earlier vesion.


[Bug]: Crashes when installing Bone Lib

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Changed the title so that it doesn't just says "[Bug]: "
[X] I have searched the GitHub issues for my bug, even in the closed issues.

All of the following are optional to answer

[ ] Tried reinstalling the Game.
[ ] Tried reinstalling MelonLoader.
[ ] Tried restarting PC.
[X] Was able to see the Start Screen.

Describe the issue.
Latest.log
In the initial screen, the download reaches the installation of Bone Lib and crashes without errors
Did you attach your log file?
Yes, I attached my log file to the text box above.

Duplicate of #656. See that thread for info.


Fix compatibility with Flask GraphQL

I started using Flask GraphQL (https://github.com/graphql-python/flask-graphql) and adding the /graphlql route as specified on their documentation triggered an undefined error:
File "/home/fauzruk/Dev/jaunefab/venv/lib/python3.7/site-packages/flasgger/utils.py", line 83, in get_specs
    methods[verb] = getattr(endpoint.view_class, verb)
AttributeError: type object 'GraphQLView' has no attribute 'delete'

This fix simply ignore the verb if the class does not have the method specified.

Hi @rochacbruno, sorry to bother you but I actually forgot to change the name in the setup.py in my fork, I only changed the egg-info... So it ended up updating the main package.
The version contains this fix and the commits on the dev branch over here.
You gave me access to pip but I don't seem to be able to do any merge or releases on GitHub so I can't really fix anything.

I'm super new to Python (hence python packaging as well) and I just now figured out how to upload to the pypi test registry.
I actually needed to create the exact same account there to test it out so I won't be doing the same mistake next time at least!

@nicobatty Let me see if I can merge your changes and create version 0.9.4 Has the change in this commit been thoroughly tested? Is the PyPI package released with the code that is at your current head in this fork? Could you also create a pull request for 0.9.3 with the exact code uploaded to PyPI (for future reference)?

Hi @billyrrr! Well, this PR simply avoid calling getattr(endpoint.view_class, verb) when the method does not exist on the view class (which trigger the error at the top) so it should not cause any problems. If the condition would have been false for some people, they would get the same error as I did.
I suppose the  GraphQLView class is a bit special and don't have those verb methods, so this PR attempts to make sure that the view class do have those methods available.
As for the PyPI package for 0.9.3, it starts at this commit 0ee67a7 + contains this PR + one commit for the version bump with the GitHub link change (to my fork) that I did thinking I was going to push to my package repository.
The thing is that you merged some PR since then, so this PR would have to be merged to a different branch (ie. release-0.9.3) starting at this commit 0ee67a7.

Merged 486d38505f67548b03572c557317edd40d63de77


Changed index_status result format in 2.2

The result format of index_status has changed slightly due to https://github.com/rethinkdb/rethinkdb/issues/4959:
Instead of two int values blocks_processed and blocks_total, indexes under construction now have a single progress float value between 0 and 1.

This affects the following files:
api/javascript/manipulating-tables/index_status.md
api/python/manipulating-tables/index_status.md
api/ruby/manipulating-tables/index_status.md


Fixed Lighthouse Error

Reduced Load Delay for Hero Section Background Image

NEED TO FIX:

Render Delay for Hero Section Background Image

Thanks


Element fails to be clicked EVEN THOUGH it is detected.

I am using appium-mac2-driver. It is detecting a button element but not clicking the same.
Also the screenshot() method works successfully on the element and saves the correct screenshot of the element. So no problem with the element detection.
Here is the serve log:
[HTTP] --> POST /session/c747bce2-9935-42e6-9c01-e5395554d98d/element/A49AC7EC-B2CB-4AD9-BA89-B360A5EA6E4F/click
[HTTP] {"id":"A49AC7EC-B2CB-4AD9-BA89-B360A5EA6E4F"}
[Mac2Driver@b296 (c747bce2)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/session/c747bce2-9935-42e6-9c01-e5395554d98d/element/A49AC7EC-B2CB-4AD9-BA89-B360A5EA6E4F/click' to command name 'click'
[debug] [WD Proxy] Proxying [POST /session/c747bce2-9935-42e6-9c01-e5395554d98d/element/A49AC7EC-B2CB-4AD9-BA89-B360A5EA6E4F/click] to [POST http://<IP_ADDRESS>:10100/session/BC64C1FB-E907-42AB-8379-F7EAA5582187/element/A49AC7EC-B2CB-4AD9-BA89-B360A5EA6E4F/click] with body: {"id":"A49AC7EC-B2CB-4AD9-BA89-B360A5EA6E4F"}
[debug] [WebDriverAgentMac] [xcodebuild] t =     9.63s Find the "Sign in" Button
[debug] [WebDriverAgentMac] [xcodebuild] t =     9.63s     Requesting snapshot of accessibility hierarchy for app with pid 831
[debug] [WebDriverAgentMac] [xcodebuild] t =     9.76s     Find: Descendants matching type Any
[debug] [WebDriverAgentMac] [xcodebuild] t =     9.76s     Find: Elements matching predicate 'BLOCKPREDICATE(0x6000007639f0)'
[debug] [WebDriverAgentMac] [xcodebuild] t =     9.76s     Find: Identity Binding
[debug] [WebDriverAgentMac] [xcodebuild] t =     9.77s Click "Sign in" Button
[debug] [WebDriverAgentMac] [xcodebuild] t =     9.77s     Wait for com.amazon.aiv.AIVApp to idle
[debug] [WebDriverAgentMac] [xcodebuild] t =     9.77s     Find the "Sign in" Button
[debug] [WebDriverAgentMac] [xcodebuild] t =     9.77s         Requesting snapshot of accessibility hierarchy for app with pid 831
[debug] [WebDriverAgentMac] [xcodebuild] t =     9.90s         Find: Descendants matching type Any
[debug] [WebDriverAgentMac] [xcodebuild] t =     9.90s         Find: Elements matching predicate 'BLOCKPREDICATE(0x6000007639f0)'
[debug] [WebDriverAgentMac] [xcodebuild] t =     9.90s         Find: Identity Binding
[debug] [WebDriverAgentMac] [xcodebuild] t =     9.91s     Check for interrupting elements affecting "Sign in" Button
Here is the python error log:
Traceback (most recent call last):
File "/Users/saurabhkoli/Documents/Appium_MacOS_Automation/MacOS_Apps_Automation/TestAppiumMac/Test_AppiumMac.py", line 53, in
element.click()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/selenium/webdriver/remote/webelement.py", line 94, in click
self._execute(Command.CLICK_ELEMENT)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/selenium/webdriver/remote/webelement.py", line 395, in _execute
return self._parent.execute(command, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 345, in execute
self.error_handler.check_response(response)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/appium/webdriver/errorhandler.py", line 122, in check_response
raise exception_class(msg=message, stacktrace=format_stacktrace(stacktrace))
selenium.common.exceptions.WebDriverException: Message: Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded
Stacktrace:
ProxyRequestError: Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded
at WDAMacProxy.proxy (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.js:280:13)
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers:540:9)
at processTimers (node:internal/timers:514:7)
at ProtocolConverter.convertAndProxy (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/jsonwp-proxy/protocol-converter.js:266:12)
at WDAMacProxy.proxyCommand (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.js:336:12)
at WDAMacProxy.proxyCommand (/Users/saurabhkoli/.appium/node_modules/appium-mac2-driver/lib/wda-mac.js:60:12)
at WDAMacProxy.proxyReqRes (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.js:410:32)

This usually means the XCTest framework (by Apple) did not respond in the timeout, so Appium/mac2 driver did not respond.
Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded
Stacktrace:

Potentially it is Apple's XCTest framework internal. You could write similar test with XCTest I guess. Alternatively, https://github.com/appium/appium-mac2-driver#macos-tap with x.y coordinate or W3C action with x, y coordinate may help


Handle input with no moral charges

If the input is empty or doesn't have moral charges, the code will break.
How should we fix this? Return 0 for all the metrics?

Yes, for empty or moral neutral inputs, return 0. This is how eMFD handles same inputs.

Thanks! I'll fix it the next time we update the package.


Latest update has stopped it working altogether

Last night the bulletin board was filled based on my filters and working perfectly.
But i installed the latest update just this morning and it now seems to fail to pick up anything from the chat, unsure what changed but its broken something :)

Do you have "Filter by level range" disabled?

Yes it is disabled.

Well you have normal filter and heroic filter selected, which means you are only filtering raids but you have no raids selected

Ah I see, I think I used to have them both on before, or maybe i just messed with them and broke it..
But turning them both off got me what I wanted! Thank you!


[MAISTRA-1400][MAISTRA-1744][MAISTRA-1811]: Add IOR to Pilot (#135)

MAISTRA-1400: Add IOR to Pilot

make gen

go mod vendor

[MAISTRA-1744] Add route annotation propagation (#158)

Add route annotation propagation

Remove comments

Add line break to function defintion for go-linter not to fail

Reused paramater instead of passing a new one

Co-authored-by: mergify[bot]<EMAIL_ADDRESS>MAISTRA-1811 Store resourceVersion of reconciled Gateway resource (#190)
Co-authored-by: mergify[bot]<EMAIL_ADDRESS>Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

/test integration

/test integration

Maistra-1089 is blocked on Maistra-1801

Maistra-1089 is blocked on Maistra-1801


Created a form search component

Added new HTML & TailwindCSS component mentioned in #317
Preview:

Accidently included pull request 323 inside this one


Rules Update

From swordofstabbing<PHONE_NUMBER>71844147):
Rules are a bit vague and not perfectly in line with what mods say.

What do you mean?

Could you elaborate?

From froggie<PHONE_NUMBER>30804225):
user opened #60 to add more detail as requested


Bugs when using Android Support 22.2.1

First, Thank you for your app, beautiful app than I use as my base project.
There is a bug when I change android support from version 22.2.0 to 22.2.1, scrolling recyclerview  up don't hide action bar menu like before. So now I'll stick with version 22.2.0.

Hi @joielechong .
You're welcome. Thank you for using.
Oh, Really? We will update 22.2.1 and check if our project is operational.
If we can fix a bug, citrus will be updated！
Thank you for contacting us.

Thank you for your hardworking.
The bug is happening if I use compile 'com.android.support:design:22.2.1' instead of compile 'com.android.support:design:22.2.0'.
btw, maybe you can add layout rotation handle to Citrus too.

@joielechong
OK. Thank you.
Yes, I can but it's too hard :-P
I'm waiting for your pull-request.

Well, I also a beginner with git too.
I really like to help you, maybe you could teach me one and two about git and pr :P..

I'll try to learn it and maybe trying to make a pr in a couple days.

Great ! :smile:


Can't get bomb state?

"{'player': None, 'position': None, 'state': None, 'countdown': None}"
Bomb state reports as the above. Doesn't change regardless of being planted defused etc. Any ideas?

Has this ever worked for you, if not since when do you use it?
Are you observing the game (not playing)?
In your gamestate.cfg, is:   "round"               "1"	// round phase ('freezetime', 'over', 'live'), bomb state ('planted', 'exploded', 'defused'), and round winner (if any)
I assume other info is displaying correctly?

I've never been able to get this to work. Definitely playing the game, I get all other stats displayed correctly.
Bomb is set to 1 in cfg.
As an experiment, I've set the payload to print. Everything shows, I can provide a copy if you're interested, but theres no reference to "bomb".
Thanks for helping me out and checking that for me - It is appreciated.

github_gamestatecopy.txt
I've attached my gamestate file, when a player plants the bomb.
In payloadparser.py, can you add:"
if item == 'bomb':
print(payload[item])
" after "for item in payload:"?
When a player is planting (while spectating) I get: {'state': 'planting', 'position': '1057.1, 2602.3, 96.0', 'countdown': '0.612', 'player':<PHONE_NUMBER>0265733}

Got it, thanks very much.
I had seen some other integrations make use of getting bomb state whilst playing as T or CT (to set keyboard LED colour) - so assumed it was possible

Yes, you can determine the state of the bomb!
When you read 'round', it'll show the state of the bomb as soon as it is planted. You can determine a countdown of the bomb (since you know when it was planted). But the information obtained is a lot more limited.
Hope this helps!

All makes sense now!
Thanks for your help!


fix nonexistent user PRIVMSG test

fix single-element tupling issue
test the ERR_NOSUCHNICK params

How could self.assertIn(msg.command, ("401")) possibly work??? It's equivalent to self.assertIn(msg.command, ("4", "0", "1"))

This is a frustrating quirk of Python's string semantics:
>>> "string" in "superstring"
True

documented in an offhanded and perhaps slightly embarrassed manner:

While the in and not in operations are used only for simple containment testing in the general case, some specialised sequences (such as str, bytes and bytearray) also use them for subsequence testing

oh, right!


404 at https://electronjs.org/apps but the page seems to be loaded correctly

Title of https://electronjs.org/apps says '404 not found', but the content is loaded correctly

Related to: #905

This issue was filed after I shipped a fix yesterday, so I guess the bug remains unsolved... I am not able to reproduce it.

I was just able to reproduce this on the homepage. I restarted the app and the problem went away. 🤔
It seems that somehow this middleware route handler is sometimes being triggered: https://github.com/electron/electronjs.org/blob/9f557ef5e42460eea4b2f2df856775a40f4e63a8/routes/_404.js#L2


Update URL paths to be compatible with Retrofit 2.

Coverage remained the same at 86.646% when pulling 521c4feb14d1768ea91893b93450af0d09fbe5f8 on pr-fix_url_paths_for_retrofit2 into 4364282c0764b746bbdcad5af31fe9a2949c84fd on master.


Errors

And then no avaible bandwidth error

I would recommend trying lower threads and/or fewer concurrent files. Sometimes if your connection is poor and there are too many threads running it thinks it is out of bandwidth

But It was a fresh install and just 1 link added

your proxies probably aren't in the right format, please take a look at this issue


Order book & Raw Order books not working

This is due to an error within the Btfx API and/or their documentation.
Responses for these endpoints are identical, which makes it impossible to differentiate between their subscription confirmations, hence the data receveived for them ends up in the wrong method.
A ticket has been sent to bitfinex support to resolve this issue.

Support responded, that precision needs to be prefixed with R instead of P for raw order book. Fixed accordingly in code.


[Bug]: Shows usb0 as disconnected when it's connected

Checklist

[X] I have read the appropriate section in the contributing guidelines
[X] I believe this issue is a problem with polybar itself and not a misconfiguration on my part
[X] I have searched for other open and closed issues that may have already reported this problem
[X] I have checked the known issues page for this problem.
[X] I have followed the debugging guide to narrow down the problem to a minimal config.

Steps to reproduce
The network module shows the interface below as disconnected. %netspeed% does show network speed properly.
usb0 is usb tethering.
$ ip link

9: usb0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000

Minimal config
[bar/main]
width = 100%
height = 16pt
radius = 0

separator = |

font-0 = "Fira Code:style=Medium:size=10;2"
font-1 = "Noto Color Emoji:style=Regular:scale=10;2"
font-2 = "Noto Sans Symbols:style=Regular;size=11;2"
font-3 = "Noto Sans Symbols2:style=Regular;size=11;2"
font-4 = "Noto Sans Math:size=12;3"
font-5 = "Symbols Nerd Font:size=11;2"

modules-right = eth

[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = %ifname% %netspeed%
label-disconnected-foreground = ${colors.disabled}

[module/eth]
inherit = network-base
interface-type = wired
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip% %netspeed%

Polybar log
N/A

Expected behavior
The should show usb0 as connected.
Actual behavior
The should show usb0 as disconnected.
Window Manager and Version
N/A
Linux Distribution
N/A
Polybar version
polybar 3.6.3

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/polybar/src=/usr/src/debug -O3 -DNDEBUG -Wall -Wextra -Wpedantic -Wsuggest-override
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wall -Wextra -Wpedantic -Wsuggest-override  -Wall -Wextra -Wpedantic -Wsuggest-override

Additional Context / Screenshots

I guess it thinks the interface is down because state UNKNOWN from ip link.

I guess it thinks the interface is down because state UNKNOWN from ip link.

Exactly, polybar (and your computer) don't know whether the interface is connected.
We actually have a setting to deal with this: unknown-as-up.
https://github.com/polybar/polybar/wiki/Module:-network


forgejo: 1.19.2-0 -> 1.19.3-0

Description of changes
https://codeberg.org/forgejo/forgejo/releases/tag/v1.19.3-0
Excerpt from https://codeberg.org/forgejo/forgejo/src/commit/b96c825c6f7e9c0fcc2137acf06decdb03406b92/RELEASE-NOTES.md#1-19-3-0 (bold text is highlighted by me)

Forgejo was recompiled with Go version v1.20.4 published 2 May 2023. It fixes three vulnerabilities (CVE-2023-29400, CVE-2023-24540, CVE-2023-24539) related to the html/template package. The Forgejo security team analyzed the security fixes it contains and concluded that Forgejo is not affected but recommended a rebuild as a precaution.

Edit: @mweinelt messaged me that we don't even have go 1.20.4 yet :sweat_smile:
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Removing the security label for now.
Deployed it to my instance in the meantime.
I can confirm everything seems to work fine. I can also confirm the single and only bug fix listed in the changelog did in fact, fix the issue:

Allow user that are not signed in to browse the tag list. Requiring users to be signed in to view the tag list was a regression introduced in Forgejo v1.19.2-0.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2170


Support table of outputs in Torch models

Some model layers in Torch output tables of Tensors. This commit adds support for these layers. This also enables ND tensors in the output.

Verified by testing #486.


Tweaks and clean up

Hi again!
My editor cleans whitespace, so I hope you don't mind that there are some commits which remove trailing whitespace.
I noticed that in development the static assets folder isn't used. The assets also seemed to be generated from an older version - and can be regenerated with python manage.py collectassets. Maybe that's something to document somewhere for production deploys?
I did find that the login page, in order to render with browser id, required something like this: https://github.com/nzherald/crowdata/blob/31a300bdd66960603f3920e60ddb52c30a7d16d1/crowdataapp/views.py#L151 - however there might be a more idiomatic django way of doing it?
The other tweak I made was moving the DEBUG constant solely to local_settings.py because if you change it in one place and try to reassign a constant in another it'll fail.
Also we are live here: http://electoral-returns.newsapps.nz/
Thanks,
Caleb

Awesome! Thanks!


Proof of concept: enforcement actions API

Proof of concept for the Enforcement Actions API
How to test this PR

Run this branch
Visit this URL in the browser or in code: http://localhost:8000/api/enforcement_actions/v1/

Notes and todos

TODO: Tests

As far as the shape of the API JSON object goes, this looks great! I agree with you that the pg_id thing is a bit gross/brittle so I'm open for improvements there. Maybe targeting pg_id =1327 (the filter page) and getting live children instead of siblings of the random page id?

As far as the shape of the API JSON object goes, this looks great! I agree with you that the pg_id thing is a bit gross/brittle so I'm open for improvements there. Maybe targeting pg_id =1327 (the filter page) and getting live children instead of siblings of the random page id?


Extract raw 923 Schedule 8 deprecated tabs (2008-2011)

Overview
Closes #3388. Maps a few tabs from 2008-2011 that are integrated into the emissions_control tab after 2012.
What problem does this address?
Brings in the remaining raw data from EIA 923 Schedule 8.
What did you change?
Mapped the spreadsheets for two 923 Excel tabs.
Testing
How did you make sure this worked? How can a reviewer verify this?
Generate raw_eia923__boiler_nox_operation and raw_eia923__fgp_operation in dagster.
# To-do list
- [ ] Ensure docs build, unit & integration tests, and test coverage pass locally with `make pytest-coverage` (otherwise the merge queue may reject your PR)
- [ ] Review the PR yourself and call out any questions or issues you have

They are comparable and should be combined in the transform step. If it were just one table that had changed, I would certainly advocate for us to just join them in the raw extraction step. However we don't currently have a way to extract and join two tables, and it is arguably moving past the "raw" stage of the data to add a merge step into the extraction. So I suggest we extract both tables as they are, and then do the merging of the pre-2012 and post-2012 data into one table during the transform, as is consistent with our other tables.


Ionic v2 - Loading Service - Crash with "net::ERR_NAME_NOT_RESOLVED"

Ionic version:  (check one with "x")
[ ] 1.x
[x ] 2.x
I'm submitting a ...  (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
The bug manifests when the connection is down, and the browser fires the net::ERR_NAME_NOT_RESOLVED. At this point, the Loading Service crashs and stay on the screen, without possibilities to remove it from the screen, and the user needs to reload de application. When the net::ERR_NAME_NOT_RESOLVED fires, the handleError function below is called.
Expected behavior:
The behavior I expect is the Loading hides when the handleError is called.
Steps to reproduce:

Related code:
handleError(error) {
      this.hideLoader();
      console.error(error);
      return Observable.throw(error.json().erro || 'Server Error');
 }

presentLoader(content: string = '') {
      this.loader = this.loaderCtrl.create({
        content: content || "Carregando..."
      });

     // Poor code, but I need it to prevent conflicts with the Toast Service
      setTimeout(() => {
        this.loader.present();
      }, 200);
}

hideLoader(callback: any = null) {
      // Poor code, but I need it to prevent conflicts with the Toast Service
      setTimeout(() => {
        this.loader.dismiss().then(() => {
          if(callback) callback();
        });
      }, 500);
 }

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Your system information:

Cordova CLI: 6.1.1
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS:
Node Version: v4.2.6

@TiagoSilvaPereira hey you are sadly running still a "pretty old version" of ionic. please update to the latest releasecanditate and try to reproduce you error there.
best way ist to start here: http://blog.ionic.io/announcing-the-ionic-2-release-candidate/ and updgrade till you reach rc3

Thanks @ataraxus, I will make it.
2016-11-22 12:14 GMT-02:00 ataraxus<EMAIL_ADDRESS>
@TiagoSilvaPereira https://github.com/TiagoSilvaPereira hey you are
sadly running still a "pretty old version" of ionic. please update to the
latest releasecanditate and try to reproduce you error there.
best way ist to start here: http://blog.ionic.io/announcing-the-ionic-2-
release-candidate/ and updgrade till you reach rc3
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic/issues/9287#issuecomment-262250772,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALYYXeovpFbMPFk0JwnobRs98XHYBO8Qks5rAvjFgaJpZM4K5aIy
.

--
Acesse as páginas da nossa empresa e conheça os aplicativos que vão te
ajudar a economizar, a estar bem informado e muito mais! Aguarde
novidades...
[image: Vida App Fanpage] https://goo.gl/o3SdRs
[image: Vidaapp Linkedin Company Page] https://goo.gl/LNmTy7
Acesse também o nosso site: Vida App http://vidaapp.com.br

I would also lose all the setTimeout kludgery. It's not needed.

Hello! Thanks for opening an issue with us! As this seems like more of a support question i will urge that you ask this question on our forum or on our [slack channel](https://ionic-worldwide.slack.com/messages?]. Thanks for using Ionic!

Sometimes I think the "net::ERR_NAME_NOT_RESOLVED" error isn't related to the app. Maybe something goes wrong with the Chrome browser.
Try the following guide.
https://usefulpcguide.com/16942/err_name_not_resolved/


cargo test -p radicle fails

There's something funky with running just the radicle test suite. I'm making a note of it here
   Compiling syn v1.0.100
   Compiling proc-macro-error v1.0.4
   Compiling serde_derive v1.0.144
   Compiling thiserror-impl v1.0.35
   Compiling data-encoding-macro-internal v0.1.10
   Compiling quickcheck_macros v1.0.0
   Compiling data-encoding-macro v0.1.12
   Compiling multibase v0.9.1
   Compiling thiserror v1.0.35
   Compiling radicle-ssh v0.2.0 (/home/haptop/Developer/radicle-node/radicle-ssh)
   Compiling serde v1.0.144
   Compiling git-ref-format-core v0.1.0 (https://github.com/radicle-dev/radicle-link?tag=cycle/2022-07-12#541a8161)
   Compiling serde_json v1.0.85
   Compiling bstr v0.2.17
   Compiling nonempty v0.8.0
   Compiling git-ref-format-macro v0.1.0 (https://github.com/radicle-dev/radicle-link?tag=cycle/2022-07-12#541a8161)
   Compiling git-url v0.3.5
   Compiling olpc-cjson v0.1.1
   Compiling git-ref-format v0.1.0 (https://github.com/radicle-dev/radicle-link?tag=cycle/2022-07-12#541a8161)
   Compiling radicle-git-ext v0.1.0 (https://github.com/radicle-dev/radicle-link?tag=cycle/2022-07-12#541a8161)
   Compiling radicle v0.2.0 (/home/haptop/Developer/radicle-node/radicle)
error[E0433]: failed to resolve: unresolved import
   --> radicle/src/identity/project.rs:491:16
    |
491 |     use crate::test::signer::MockSigner;
    |                ^^^^
    |                |
    |                unresolved import
    |                help: a similar path exists: `crate::identity::test`

error[E0432]: unresolved import `crate::test`
   --> radicle/src/identity/project.rs:490:16
    |
490 |     use crate::test::fixtures;
    |                ^^^^
    |                |
    |                unresolved import
    |                help: a similar path exists: `crate::identity::test`

error[E0433]: failed to resolve: unresolved import
   --> radicle/src/rad.rs:326:16
    |
326 |     use crate::test::{fixtures, signer::MockSigner};
    |                ^^^^
    |                |
    |                unresolved import
    |                help: a similar path exists: `crate::crypto::test`

error[E0433]: failed to resolve: unresolved import
   --> radicle/src/ssh.rs:197:16
    |
197 |     use crate::test::arbitrary::ByteArray;
    |                ^^^^
    |                |
    |                unresolved import
    |                help: a similar path exists: `crate::ssh::test`

error[E0432]: unresolved import `crate::test`
   --> radicle/src/rad.rs:326:16
    |
326 |     use crate::test::{fixtures, signer::MockSigner};
    |                ^^^^
    |                |
    |                unresolved import
    |                help: a similar path exists: `crate::crypto::test`

error[E0432]: unresolved import `crate::assert_matches`
   --> radicle/src/storage/git.rs:659:9
    |
659 |     use crate::assert_matches;
    |         ^^^^^^^^^^^^^^^^^^^^^ no `assert_matches` in the root

error[E0432]: unresolved import `crate::test`
   --> radicle/src/storage/git.rs:664:16
    |
664 |     use crate::test::arbitrary;
    |                ^^^^
    |                |
    |                unresolved import
    |                help: a similar path exists: `crate::crypto::test`

error[E0433]: failed to resolve: unresolved import
   --> radicle/src/storage/git.rs:666:16
    |
666 |     use crate::test::signer::MockSigner;
    |                ^^^^
    |                |
    |                unresolved import
    |                help: a similar path exists: `crate::crypto::test`

error[E0432]: unresolved import `crate::test`
   --> radicle/src/storage/git.rs:665:16
    |
665 |     use crate::test::fixtures;
    |                ^^^^
    |                |
    |                unresolved import
    |                help: a similar path exists: `crate::crypto::test`

error: cannot determine resolution for the macro `assert_matches`
   --> radicle/src/storage/git.rs:731:13
    |
731 |             assert_matches!(
    |             ^^^^^^^^^^^^^^
    |
    = note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro `assert_matches`
   --> radicle/src/storage/git.rs:786:9
    |
786 |         assert_matches!(
    |         ^^^^^^^^^^^^^^
    |
    = note: import resolution is stuck, try simplifying macro imports

error[E0433]: failed to resolve: could not find `quickcheck` in the list of imported crates
   --> radicle/src/crypto.rs:242:5
    |
242 |     #[quickcheck]
    |     ^^^^^^^^^^^^^ could not find `quickcheck` in the list of imported crates
    |
    = note: this error originates in the attribute macro `quickcheck` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: could not find `quickcheck` in the list of imported crates
   --> radicle/src/identity/project.rs:594:5
    |
594 |     #[quickcheck]
    |     ^^^^^^^^^^^^^ could not find `quickcheck` in the list of imported crates
    |
    = note: this error originates in the attribute macro `quickcheck` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: could not find `quickcheck` in the list of imported crates
  --> radicle/src/identity.rs:89:5
   |
89 |     #[quickcheck]
   |     ^^^^^^^^^^^^^ could not find `quickcheck` in the list of imported crates
   |
   = note: this error originates in the attribute macro `quickcheck` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: could not find `quickcheck` in the list of imported crates
   --> radicle/src/identity.rs:101:5
    |
101 |     #[quickcheck]
    |     ^^^^^^^^^^^^^ could not find `quickcheck` in the list of imported crates
    |
    = note: this error originates in the attribute macro `quickcheck` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: could not find `quickcheck` in the list of imported crates
   --> radicle/src/identity.rs:109:5
    |
109 |     #[quickcheck]
    |     ^^^^^^^^^^^^^ could not find `quickcheck` in the list of imported crates
    |
    = note: this error originates in the attribute macro `quickcheck` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: could not find `quickcheck` in the list of imported crates
   --> radicle/src/ssh.rs:222:5
    |
222 |     #[quickcheck]
    |     ^^^^^^^^^^^^^ could not find `quickcheck` in the list of imported crates
    |
    = note: this error originates in the attribute macro `quickcheck` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: could not find `quickcheck` in the list of imported crates
   --> radicle/src/storage/refs.rs:347:5
    |
347 |     #[quickcheck]
    |     ^^^^^^^^^^^^^ could not find `quickcheck` in the list of imported crates
    |
    = note: this error originates in the attribute macro `quickcheck` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unused import: `RefUpdate`
   --> radicle/src/storage/git.rs:663:55
    |
663 |     use crate::storage::{ReadRepository, ReadStorage, RefUpdate, WriteRepository};
    |                                                       ^^^^^^^^^
    |
    = note: `#[warn(unused_imports)]` on by default

warning: unused import: `crate::crypto::Signer`
   --> radicle/src/identity/project.rs:486:9
    |
486 |     use crate::crypto::Signer;
    |         ^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `ReadStorage`
   --> radicle/src/storage/git.rs:663:42
    |
663 |     use crate::storage::{ReadRepository, ReadStorage, RefUpdate, WriteRepository};
    |                                          ^^^^^^^^^^^

Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
warning: `radicle` (lib test) generated 3 warnings
error: could not compile `radicle` due to 18 previous errors; 3 warnings emitted
warning: build failed, waiting for other jobs to finish...

Hmmm, this must have to do with the optional features test and quickcheck :thinking:

Ok fixed here: 77ee404e838849b7633db6e6e8f29879d1594cc1

Thanks!
On the topic of testing, I dunno if you want to consider an organisation more like something outlined here:
https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html
We do something similar in radicle-link/radicle-git.

Hmmm, I think we could make use of some of the tips in there, but I'm not sure we're going to benefit much from the speed-ups, given that things are pretty fast already. I'd be curious to see.
I like the idea of testing public APIs though, but don't think it's practical to not be able to test internal functionality at all..

Hmmm, I think we could make use of some of the tips in there, but I'm not sure we're going to benefit much from the speed-ups, given that things are pretty fast already. I'd be curious to see.

That's fair. My thinking is that:

Better to do it now rather than move everything a few PRs later. Something, something tech debt.
I really like the test organisation, knowing exactly where the tests live, under t/ or whatever, and also mimicking the module hierarchy.

I like the idea of testing public APIs though, but don't think it's practical to not be able to test internal functionality at all..

Ya, that's one downside to it. Could make a compromise that internal testing should be few but not verboten.
Food for thought anyway :)

I really like the test organisation, knowing exactly where the tests live, under t/ or whatever, and also mimicking the module hierarchy.

I'm curious about this, maybe I missed something in the article, but isn't it just that the mod test is moved out of the file? so you have a tests.rs file for each tested module?

I'm curious about this, maybe I missed something in the article, but isn't it just that the mod test is moved out of the file? so you have a tests.rs file for each tested module?

Sorry, I should have mentioned that this is how radicle-git does it, documented here. And here's a link-git test for example https://github.com/radicle-dev/radicle-git/blob/main/link-git/t/src/tests/protocol/upload_pack.rs


It's still a boundary, despite other roles, OK?

URL
No response
How to reproduce the issue?
In the Map Data > Map Features panel,
if I only check
[x] Boundaries
one shows up, but not the other

https://www.openstreetmap.org/way/844639527
https://www.openstreetmap.org/way/1174351987

It is because the latter has more items in it,
somehow causing it to lose its role as a boundary.
Screenshot(s) or anything else?
No response
Which deployed environments do you see the issue in?
Released version at openstreetmap.org/edit
What version numbers does this issue effect?
No response
Which browsers are you seeing this problem on?
Chrome

one shows up, but not the other

which one shows up and which one not? Is it still happening?


Add spring watch

When a pack moves, we want spring to update the loaded classes so that packwerk prints correct results

Fixes #81

Very excited for this to land

One note: this doesn't seem to cover the case where an autoload path is added and none of the previously registered package.yml files is changed.
I just added an initializer to a pack and had to stop spring manually.

One note: this doesn't seem to cover the case where an autoload path is added and none of the previously registered package.yml files is changed.
I just added an initializer to a pack and had to stop spring manually.

Thanks for the comment!
We want to clarify the expectation. Did you add a new autoload path or a new file in the autoload path?
We noticed that Spring has a limitation on only watching files it knows about when initialized. New files, including ruby files, will not cause Spring to reload.

Replaced by https://github.com/rubyatscale/packs-rails/pull/86


MAINT: HiGHS build flag cleanup

Describe your issue.
Legacy setup.py and meson.build files specify C/C++ preprocessor directives that are unneeded/unused.  These were originally included to match flags added by the upstream cmake build system, but lead to increased maintenance burden trying to understand which flags are actually important and need to be updated.
The unused/unneeded build flags should be removed.
Reproducing Code Example
N/A

Error message
N/A

SciPy/NumPy/Python version information
main branch/n/a/n/a

xref gh-17430

Is this issue solved?

Thanks for the mention! It is mostly irrelevant now IMO the plan is to simply use highspy directly and in any case the flags need to be (and are now) set programmatically based on the system features (see e.g. this mesonbuild file)

This was addressed (or is no longer relevant) after gh-21565. So closing - thanks all!


Removing deprecated and unused features from 0.x versions.

Description:  Several features have been marked deprecated and are beyond their no longer supported date.
Related issue(s):  #156

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Will Vanderhoef seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


fix(curriculum): change a text to match the test

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Change an instruction text to match the contents of the test.
Affected page:
Scientific Computing with Python Projects - Budget App
In the test_module.py, test_create_spend_chart passes three categories to the function as list argument, and the number of categories which the function may receive is not restricted to four.
I also considered deleting the sentence and then append "and create_spend_chart" to the text "For development, you can use main.py to test your Category class." in Development to reduce the reading amount. But I thought it will change the instruction flow.
So I simply replaced "up to four" to "three".
I've tested this change by running my clone locally and seeing the result in my browser like bellow:

@ieahleen Thanks for your comment. I realized that my suggestion may restrict users to code only three categories list and It should be avoided.


Implement showing reviews on profile page

The code on the DApp side for fetching and showing reviews on the user profile page hasn't been implemented yet: https://github.com/OriginProtocol/origin-dapp/blob/master/src/pages/user/User.js#L30

Seems to have been lost awhile ago 😕

Resolved by https://github.com/OriginProtocol/origin-dapp/pull/523 ✅


Modify bootrom for L2E configurations

L2E tiles need ucode and configuration data to boot properly.  The NBF loader can handle this by pretending it's a new core.  However, the bootrom currently assumes all cores boot only themselves.  A few solutions:

[ ] in firmware, read configuration and bootstrap specific companion tiles
[ ] in bootrom, have first core boot all auxiliary tiles
[ ] in bootrom, have all first row core tiles boot all l2e tiles

Might be a good mechanism for doing BIST and deactivating bad ways.
On Fri, Nov 20, 2020 at 2:40 AM Dan Petrisko<EMAIL_ADDRESS>wrote:

L2E tiles need ucode and configuration data to boot properly. The NBF
loader can handle this by pretending it's a new core. However, the bootrom
currently assumes all cores boot only themselves. A few solutions:

in firmware, read configuration and bootstrap specific companion
tiles
in bootrom, have first core boot all auxiliary tiles
in bootrom, have all first row core tiles boot all l2e tiles

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/black-parrot/black-parrot/issues/681, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEFG5ABX5PKIU6WXX6A6G6TSQZBRXANCNFSM4T4TKDCQ
.


PT-br - Porque a tradução de application é aplicativo e não aplicação?

Link to article:
https://docs.microsoft.com/pt-br/azure/cosmos-db/partitioning-overview
Problem:
The translation of the word application throughout the documentation portal is for mobile application (like app) and not for a global application.
The word application here in Brazil suggests that it is a mobile application and not a general application.
It's as if aplicativo would be translated to app and aplicação to application
I would make a general change across the docs platform if possible to fix this term.

Assigned to @DavidPrio ; cc @ishasahni1

Hello, @jhomarolo
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

Hello, @jhomarolo
Thank you for your linguistic feedback.

Unfortunately, after reviewing your feedback our linguistic team considered it to be not fully aligned with our criteria for acceptance [Both terms, "aplicativo" and "aplicação" are used in IT as a translation to "application". In Microsoft products we have opted to use "aplicativo" and to maintain consistency, avoiding confusing users, we stick to one  translation for the same term. Your question is valid, as there are both translations in the field, but they both mean the same thing, so be aware that for all MS products you will find "aplicativo" as the chosen translation for this term.]
We truly appreciate your contribution to our articles and we encourage you to continue providing your valuable feedback.
Kind regards,
Microsoft DOCS International Team


Add Support for Heating Mode

I have several heating devices (Klarstein) connected to the Tuya App.

But within Homekit I can only turn then on/off and set the threshold temperature.
Adding a feature to switch between the two heating modes would be awesome

https://developers.homebridge.io/#/service/Thermostat
Here's the homebridge Thermostat characteristic, the HomeKit has it's limitation, it only provides device's basic function. The mode only support off/cold/heat/auto 4 types.
This version aims at bug fixing, stability and support most device types with basic function, maybe the next version I will consider how to support mode switching will be better. Not only heater, but also fan, air conditioner, and many other devices.

I am looking forward to it


fully restart browser at the same URL

We have a test that is dealing with a huge form, the longer form is being entered the slower test execution is. While the root cause is not clear yet, as a workaround we need a way to restart a browser mid test.

closed by #241


Timeout in beforeEach

I'm trying to run the tests for a number of service. Unfortunately the first test always fails with:
1) ping "before each" hook for "replies pong to user":
  Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

This happens for the first test only - the rest of them pass correctly.
The tests are run under docker based on node:4, with hubot-test-helper between 1.5.1 and latest.
Strangely, this works just fine on local machines and then fails on a buildkite agent. Same container, same versions of dependencies.
The test is just a very simple ping:
expect = require('chai').expect

Helper = require('hubot-test-helper')
helper = new Helper('./../scripts/ping.coffee')

describe 'ping', ->
  room = null

  beforeEach ->
    # Set up the room before running the test
    room = helper.createRoom()

  afterEach ->
    # Tear it down after the test to free up the listener.
    room.destroy()

  context 'user says ping to hubot', ->
    beforeEach ->
      room.user.say 'alice', 'hubot PING'
      room.user.say 'bob',   'hubot PING'

    it 'replies pong to user', ->
      expect(room.messages).to.eql [
        ['alice', 'hubot PING']
        ['bob',   'hubot PING']
        ['hubot', 'PONG']
        ['hubot', 'PONG']
      ]

Any ideas where to look for solutions / what to try are welcome.

The issue is resolved by creating each helper only for each specific script, not for the script directory. I don't understand why though...


[PlantUMLReleasesBridge] Bridge optimizations

Use https
Delete unused code
Fix a bug where undated releases have no title
Remove irrelevant comments copied from GQMagazine bridge

Hi,
the timestamp doesnt work the way you want it to.

It registers the "august 30" but ignores the year (2021 in this example)
I would also advocate for a default limit of items. Bridges usually refresh every few hours while the posts on the site are every few days or weeks. You dont need to pull the same update from 2017 every 6 hours.
Make it limit to 10 or so, then it will still provide all changes back to august 2021 for todays example.

Thanks for the feedback. Both issues should be fixed now.

One more issue: run a defaultLinkTo over the whole page. Some of the links (see the "use of css styles" in the latest update) are relative to the plantuml site.  defaultLinkTo will fix that.

Awesome, looks great. Thanks


Output svg trace to file

This is an awesome package! Thank you for building this, Emil.
It would be great to have an option that outputs the svg trace to a file so that I can render it server-side (and not need to wait for javascript to load and execute on the client for example).
I'll have a look at implementing this myself, but I'm not very familiar with webpack, so any tips would be much appreciated!

Thank you for your kind words @mikeecb!
You might not need Webpack at all if you want to output the result to a file. You could use Potrace straight away, which is used by this plugin.
potrace.trace('./path/to/image.png', function(err, svg) {
  if (err) {
    throw err;
  }
  fs.writeFileSync('./output.svg', svg);
});


feat: WIP checking if mod is outdated

I wouldn't merge this tbh. Can be done a lot nicer, I just don't know how ^^"

Closing as implemented with 87f95372d48947ccffbdf78964a055adde6553a9


Support Question

Support Question
Hey - After installing PowerShell-6.2.1-win-x64.msi which I think is PS Core (the filename isn't named or branded clearly IMO) there is no obvious Start Menu shortcut installed.
I have these.

Windows PowerShell
Windows PowerShell (x86)

And when I launch either I get

Try the new cross-platform PowerShell https://aka.ms/pscore6

Official support
PowerShell Support Lifecycle
Community Resources
Slack and Discord Community Chat - Interactive chat with other PowerShell enthusiasts. Both Slack and Discord are bridged via a bot and can seamlessly talk to each other.
PowerShell.org Forum - Search or post new general PowerShell usage questions

I don't know what's going on, whether its the Windows 10 menu I am clearly unable to use, or what. I reinstalled and checked and I see it now. Sorry!! Closed.

For reference as well -- you'll find the binary name for PS 6.0+ changed as well, as it's meant to run side by side with Windows PowerShell for now, so if you run powershell in a console you'll get back to 5.1. 6.0+ can be accessed by calling pwsh instead. 🙂


Update README instructions

Update instructions for replication of our ConSmax results.

Hi @msaligane, I just updated the README with instructions for replication results from the ConSmax publication, let me know if there are any questions : )


Update instruction for Onedrive (Personal)

Hi,
in connection to bug #28 I'd like to suggest to make the 'Getting Started' section even more precise, so that the installation gets easier.
This is my first contribution to a public repo, so feedback appreciated :smile:

Thank you for your contribution. I have merged your changes.


Allow logging for RetriesExhaustedWithDetailsException

providing a static method to log RetriesExhaustedWithDetailsException -
so user code which hits this exception (like context.output()) or
finishBundle itself logs it - unwrapping the causes

Logical got introduced via https://github.com/GoogleCloudPlatform/cloud-bigtable-client/pull/481 - no need for this dedicated PR anymore


Update docs from standard template

Fix some instances of uri per  https://github.com/IBM-Bluemix/gp-angular-client/issues/1

Fixes: https://github.com/IBM-Bluemix/gp-angular-client/issues/9
Supports: https://github.com/IBM-Bluemix/gp-common/issues/10

@yumaoka to review

LGTM.


spiro_grad-subarctic

Note: the exported and attached images seem to have a thicker line width than what is visible in the editor, however this isn't a terrible thing

[x] I have read the steps to getting a blot

[x] I am submitting art that...

[x] is algorithmically generated (will change each time the program is run)
[x] is drawable on a blot (fits in the work area & doesn't overlap too much)
[x] is original (not copied from somewhere else)
[x] doesn't call Math.random() (See the documentation on randomness)

[ ] Optional, if you used a tutorial or based your art on something else, please include the link here:

[ ] Optional, if you remixed this from something else, mention it here:

@qcoral - I've just set the output to a solid color. Let me know if something more detailed or unique is required, and I will be happy to provide :)

This art piece is currently generated in a really straightforward algorithmic manner. Can you change it so that it has more creative intent?

I've created a new (better) Blot project, so I will close this one since the new project is a successor and significantly different from the current one.


feat: warn on unnecessary unsafe blocks

Description
Problem
Resolves #6866
Summary
Additional Context

I checked Aztec-Packages and there are some occurrences of this warning (and also in the bignum library)
I learned that using unsafe inside a comptime context isn't needed, so the compiler will automatically warn about this (this happened in one place in the stdlib)

Documentation
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Oh, I just remembered the warning currently covers the entire unsafe block, while Rust only shows it on top of the unsafe keyword. I'll change it to do the same thing.


Replace vkit with gapic

LGTM

[Current coverage][cc-pull] is 66.81%

Merging [#12][cc-pull] into [master][cc-base-branch] will increase coverage by +<.01%

@@           master        #12   diff @@
========================================
  Files          23         23
  Lines         714        714
  Methods         0          0
  Branches        0          0
========================================
  Hits          477        477
  Misses        237        237
  Partials        0          0

Powered by Codecov. Last updated by e428ac7
[cc-base-branch]: https://codecov.io/gh/googleapis/artman/branch/master?src=pr
[cc-pull]: https://codecov.io/gh/googleapis/artman/pull/12?src=pr


Dynamic Directive Nesting Issue

I am using the angularchart directive nested inside another parent directive that I use to generate dynamic chart instances.   This works great with one dynamic instance, but as soon as I create a second instance using the same directive (with angularchart nested inside), my first angular chart's settings (options, dataset, schema) get overridden with those of the new chart's.
I have ensured that the bindings of options, dataset, and schema are unique to the parent directive, yet somehow the angularchart directive referenced in this directive seems to remember all other previous instances defined inside this directive and update them.
What can I do to ensure an angularchart directive nested inside another directive always remains isolated from other instances?  I have tried wrapping the angularchart directive in my own custom directive where I control the one-way bindings and isolate scope -- yet the angular chart bindings still seem to exist at a global level when nested in another directive.
I figured if there were some way I could toggle this (in angular-chart.js):
            scope: {
                dataset: '=',
                options: '=',
                schema: '='
            },

to this
            scope: {
                dataset: '@',
                options: '@',
                schema: '@'
            },

in my unique scenario, this might get me on the right track.  This doesn't play nicely with the rest of the code though.
Any help or recommendations regarding this issue would be greatly appreciated!

Hi @mindontheblink,
first of all, are you using the latest version of angular-chart? The new 0.3.x version came out a few months ago, you can read here how to upgrade from an earlier version.
Please report back if you still experience this problem or if you have to stick to an older version.

Hey @maxklenk  - thanks for the quick reply.
I had just noticed after posting that I am still on 0.2.9.  I will report back after the upgrade.  Sorry!

Just upgraded to the latest and made the appropriate changes based on your upgrade guide.  This still appears to be an issue.

Mmh, angular-chart has an internal service which is create newly for every usage of the directive. Perhaps the angular-chart directive you access is still the same and therefor contains the old data.
The only idea I have is to wrap it with an ng-if which hides it at first an then renders the directive when needed.
If it still doesn't work you may add the basics of your custom directive to this plunker so we will be able to look into it.

Thanks again for the quick reply!  I will try that and get back to you.

I forked your plunk and created this, which is working.
http://plnkr.co/edit/M5IkNKdJaNnPjYeu1ZIb
This is not 100% of what I am doing.  In my application, I am dynamically injecting the custom-template instances into the DOM, (adding the directive to angular's $templateCache).  I will try to add this to my plunk tomorrow or Monday and see if it is reproducible here.
Thanks again for bearing with me.

I morphed the above plunker into something very close to what I am doing.  I was still not able to recreate.  I will have to step back into my code and diff against this basic skeleton.  Mark this as non-issue for now until you hear back.
http://plnkr.co/edit/gTMUjVw9sx8JnVeqh1il?p=preview

Ok, I hope you find the difference.

Found the difference.  It was my fault -- sorry I commented here without doing more research.   You can go ahead and mark this as a non-issue.
In case you were curious, I had my charts' options being set to an angular constant -- which resulted in their sharing of the same object reference in memory.
Thanks for your assistance and for such a stellar directive.  Looking into this issue at least got me to upgrade to your latest version.  :)

No problem, I am just happy that it is not a angular-chart bug ;-)


OutOfMemoryError error

I switched to akephalos and now get this error when running cucumber tests:
FPermGen space (Java::JavaLang::OutOfMemoryError)

java.lang.OutOfMemoryError: PermGen space
rake aborted!
Command failed with status (255): [bundle exec /Users/wowzers/.rvm/rubie...]

Hi,
You can configure how much memory to allocate to JVM. Checkout https://github.com/Nerian/akephalos2


The visualReport should display images withour a blur

Does it possible to do that visualReport displays images without a blur?
A very small image looks horrible.
Example with the microphom from the google search input field:

This is because small icons are saved with larger dimensions, it ends up looking stretched. I can enhance the capture element keyword to additionally take dimensions to save the image in. I will have to check if there's a way to automatically do this

Hmm... The visual_images folders contain saved images with own dimensions, i don't see some icons are saved with larger dimensions.

My bad. I had fixed the dimensions issue a while back. This issue is because the report html contains fixed width and height for each image in the table. Retaining the original image width and height might probably make the table look uneven. Will check it out. Meanwhile, if you are able to fix the css of the table cell, then you can raise a PR or send me the css changes.

fixed width and height for each image in the table - is good!!!

I assume that is the browser does blur for small image when it is displayed in bigger size then it is

Yes because the width and height is fixed. Smaller images get stretched width and height wise

Found some solution http://jsfiddle.net/namuol/VAXrL/1459/

It seems it works

Can you raise a PR with the changes? You need to make the changes here https://github.com/jz-jess/RobotEyes/blob/master/RobotEyes/report_generator.py#L315 . From line 315 - 335. I can  test and merge it later. You can change the version 1.5.9 in setup.py

Do you mean to add style for each ?

Ah I see. We can't just add it for everything right. This needs to be added only if the image is small?

Very good question!!! I will check and let known

I think we can image-rendering: pixelated; for any image.

But my previous questiom is means to add style directly to HTML tag? Or we can add it to some common parent tag?

The style needs to be added to the img tags I believe. Not sure if adding to parent will work. You can add a css at the beginning within style tags img { width: 200 image-rendering: pixelated} something like this.

$ git push origin Issue-92
remote: Permission to jz-jess/RobotEyes.git denied to MininAS.
fatal: unable to access 'https://github.com/jz-jess/RobotEyes.git/': The requested URL returned error: 403

https://opensource.com/article/19/7/create-pull-request-github

https://github.com/jz-jess/RobotEyes/pull/94

Should I do somethink else that PR can be pushed?

Nope. I need to test it as soon as I find sometime. Will merge after. You can install your branch into your systems meanwhile to use the fix.


Bugfix/consensus/duplicate messages

Changed to prevent processing same consensus messages more than once
Adjust and sync epoch every 100 epoch

Addressed all comments, PTAL @minsulee2


version v1.0.0-beta.9 results in error in lidar points generation

I was using version v1.0.0-beta.8 and my lidar data could be generated correctly as a point primitive, similar to what is done in the kitti converter example. But after upgrading to v1.0.0-beta.9, without any change to my own code, the lidar points are absent, and the related part in the generated glb file is null:

In v1.0.0-beta.8 that same part was something like this:

I noticed that version v1.0.0-beta.9 included a commit related to flatten arrays, in which the parse-lidar-points.js file in the kitti converter example was modified. Is this a bug or a backward-incompatible change? If the latter is the case, then I think the documentation needs to be updated.

@pkulijing I believe this is a bug that is fixed in https://github.com/uber/xviz/commit/8252902afbaf14a13b706a379f1660f084217d6b
I am waiting for another change to land then I can release a new beta.

I just published v1.0.0-beta.13. Please update and try again. Thanks!

@pkulijing I believe this is fixed and was a problem with just the beta.9 release

I can confirm that the problem no longer exists in beta.16.


Publish 8/18/2021 update metadata

Docs Build status updates of commit 7140653:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-nav-app/admin-classifying-data-sensitivity.md
:bulb:Suggestion

Details

dynamics-nav-app/admin-responding-to-requests-about-personal-data.md
:bulb:Suggestion

Details

dynamics-nav-app/admin-classifying-data-sensitivity.md

Line 17, Column 296: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/dynamics-nav/classifying-data' will be broken in isolated environments. Replace with a relative link.
Line 49, Column 1: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/dynamics-nav/classifying-data' will be broken in isolated environments. Replace with a relative link.

dynamics-nav-app/admin-responding-to-requests-about-personal-data.md

Line 28, Column 273: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/dynamics-nav-app/about-export-data' will be broken in isolated environments. Replace with a relative link.
Line 40, Column 1: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/dynamics-nav/classifying-data' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


CheckProofOfWork ERROR

ERROR: CheckProofOfWork() : hash doesn't match
ERROR: CheckBlock() : proof of work failed
ERROR: ProcessBlock() : CheckBlock FAILED

same problem
2018-11-16 23:26:09 ThreadRPCServer method=submitblock
2018-11-16 23:26:09 ERROR: CheckProofOfWork() : hash doesn't match nBits
2018-11-16 23:26:09 ERROR: CheckBlock() : proof of work failed
2018-11-16 23:26:09 ERROR: ProcessBlock() : CheckBlock FAILED
18:26:09: *** REJECTED :( Minato block 2056 1 txs
2018-11-16 18:26:09: REJECTED MNT block 2056

error block info:

https://mnt.c3pool.com/explorer/MNT?txid=5c859bb85f40b523e44df8f155858d04418b3671ab1e6f131b532f5de15a2257

This is also an error.
2018-11-17 01:07:47 getblocks -1 to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 limit 500
2018-11-17 01:07:47 getblocks -1 to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 limit 500


Feature/deadm 1353 airflow

II think we want to have: tags=["<something-useful>"] in the DAG() so we can categorise things too, please.

II think we want to have: tags=["<something-useful>"] in the DAG() so we can categorise things too, please.

Added the following tags: ["Sentinel-2", "transfer"]


The error of predictor_keypointnet.py

Hi, nice job
I am very sorry to bother you, when I ran the predictor_keypointnet.py on the guitar category, I met the following error:
99%|█████████▉| 696/704 [03:42<00:02,  3.12it/s]
Traceback (most recent call last):
recon, key_points, kpa, emb, null_activation = net(torch.Tensor(np.array(Q)).to(ns.device))
x = batch_norm(x)     merger_net.py", line 35, in forward
ValueError: expected 2D or 3D input (got 1D input)
Thank you very much!

There seems to be something wrong on the edge case where a batch (the last batch) only contains 1 element. For a quick workaround you may try a different batch size. Will look into this soon.

The problem should have been fixed by #3. If you still encounter the same problem please open a new issue.