Remove DynamicBmp and improve handling of color types

This PR improves the handling of color types and some other aspects of this crate. The main changes are:

Bmp now behaves more like DynamicBmp, which was removed.
If Bmp is used to draw an image on a DrawTarget it is no no longer necessary to explicitly specify a color type and any BMP should work without changes to the code.
tinybmp now uses e-g's RawDataSlice to reduce code duplication.
RawColors::next is much simpler than the the previous RawPixels::next. And the runtime of most benches is about -50% (on my system) because the optimized RawDataSlice iterators are used.
Images with color table are now correctly decoded.
The old implementation did only work by accident in some instances, which wasn't fixable without braking changes. And because RawDataSlice did already support RawU4 it was also easy to add 4 BPP image support to tinybmp.
Improved error handling with additional tests for all errors.
I've also tried to improve the docs and migrated to intra-doc links and the new README tooling.

Some (minor?) issues with this PR:

The binary size is increased from version 0.3.3. (e.g. from 43 KB to 50 KB)
I kind of expected this and it is probably caused by https://github.com/embedded-graphics/embedded-graphics/issues/613. I didn't investigate the cause of the increase in detail, but the binary size using Bmp is now similar to the old DynamicBmp. I don't think there is much we can do in this crate to improve the size.
I couldn't reproduce the performance improvements from the benches on real hardware.
But I think this is caused by my test setup. The main performance bottleneck is the SPI interface and the BMP decoding speed will be a small percentage of the overall runtime.
The benches for images with color table might be slower compared to the master branch.
The main reason for this is that it's more expensive to implement the color table support correctly. For each pixel the Rgb888 color in the color table needs to be converted into the target color type. The performance impact should be reduced in the future by the new faster color conversions in e-g.
To mitigate this problem for 1 BPP images I've added a special code path that converts the two used colors ahead of time instead of once per pixel. I decided not to implement the same for 4 BPP and 8 BPP images, because it might use up to 1024 bytes more stack memory.

I'm a bit pressed for time this week so I'm not sure when I'll be able to review this properly. For now, here are some benchmarks on my M1 Air:
draw RGB555             time:   [194.07 us 194.21 us 194.41 us]
                        change: [-63.590% -63.467% -63.337%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 11 outliers among 100 measurements (11.00%)
  2 (2.00%) high mild
  9 (9.00%) high severe

draw RGB565             time:   [170.00 us 170.05 us 170.11 us]
                        change: [-68.033% -67.963% -67.896%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 14 outliers among 100 measurements (14.00%)
  3 (3.00%) high mild
  11 (11.00%) high severe

draw RGB888 24BPP       time:   [194.13 us 194.17 us 194.22 us]
                        change: [-63.509% -63.434% -63.355%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 12 outliers among 100 measurements (12.00%)
  4 (4.00%) high mild
  8 (8.00%) high severe

draw RGB888 32BPP       time:   [242.04 us 242.11 us 242.20 us]
                        change: [-54.650% -54.505% -54.370%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 13 outliers among 100 measurements (13.00%)
  3 (3.00%) high mild
  10 (10.00%) high severe

draw indexed 1BPP       time:   [218.76 us 219.00 us 219.27 us]
                        change: [-39.843% -39.709% -39.583%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 11 outliers among 100 measurements (11.00%)
  6 (6.00%) high mild
  5 (5.00%) high severe

A very healthy improvement, nice work!


Controller does not end when it looses the leases

When the machine-controller loses the leader lease (Potentially because the API server is down for a and the controller cannot renew the lease), it does not end itself.
Instead it hangs indefinitely.
What we could see so far:

The readiness check starts to return that its unhealthy
The liveness check does return a 200

I (@mrIncompetent) believe that the readiness check fails as one of its checks uses the lister, which might got stopped.
I assume the handling of the context within the controller does not work

Fixed in 184b4f64103038f807467db8774cf73da81e678d


Investigate security concerns

and document them as known risks - e.g., running anything as root.
Also look into specifying use of deploy keys to ensure relationship between public repos and agents

GHA's sec scanner -> https://github.com/kitplummer/goa/security/code-scanning/40?query=ref%3Arefs%2Fheads%2Fdevelop


how to remove the color reflects on swiping tabs?

hi, i want to remove the color that reflects on swiping the tabs?

Hi, you should not use the setMaterialViewPagerListener :+1:


feat: Update test vectors

The MPL test vectors support CMMs and have extensive tests for the DefaultCMM and the CachingCMM.
This also removes some tests that were not running
as well as refactoring the test vectors to be more manageable for a single object under test.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

add an explicit test case that asserts required keys are not serialized into the header by parsing the header wire format
correct any test cases from the tabular test definitions that had incorrect expected behaviour


Selecting a specific EKS version with addons should select the "matching" AddOn versions automatically

Describe the feature
The EKS BluePrint (especially the fargate provider) should automatically select the related addon version for the Kubernetes version automatically.
see e.g. here
https://docs.aws.amazon.com/eks/latest/userguide/managing-coredns.html
Use Case
Essentially in this code:
https://github.com/aws-samples/cdk-eks-blueprints-patterns/blob/main/lib/fargate-construct/index.ts
we would need to automatically select the version of the addons matchin to EKS Version 1.25 - otherwise the code will fail.
Proposed Solution
see above
we could either read that online file (which exists for all addons) or get it from somewhere? e.g. CDK?
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request

CDK version used
1.90.0
EKS Blueprints Version
1.10.1
Node.js Version
20.3.1
Environment details (OS name and version, etc.)
macOS 13.5

@Lock128 it is a reasonable request, we have just addressed a similar one for kube-proxy and it is solved by maintaining the version mapping, e.g. the one here.
The complexity of this solution is maintenance, because we don't have a clear channel to get notifications when versions are modified, upgraded or added. So unlike helm charts (not the oci, original ones based on index.yaml) there is no clear automatic check.
However, I acknowledge that transferring this complexity to the customers is suboptimal. Let's see if others support this one as well, we can then roadmap it.

Thanks for the feedback - its especially problematic as problems with this will only be visible during deployment time and there is no way to see the problems right now in the synth phase.
This then means 20+min wait time for another iteration if you got something wrong :-)

So as there is no interest by anyone, does this mean that this issue will get closed again automtically?

Removing stale :-)

thanks for that @shapirov103, that a great step in the right direction. but isnt that a different thing - what if I want to be able to select it instead of using the default versions?

@Lock128 This is implemented in the above pointed PR. Please close the issue if you are good!

Thank you both, I didnt understand that initially!


Silhouette is not ExecutionContext transparent

Since there are several places where a Future is created and some callback methods that a user os Silhouette has to implement return a Future, an ExecutionContext is needed at those points.
Since it isn't been propagated from the library calls up to the user, the callback implementations must rely on a ExecutionContext which is not necessarily the same that the library uses, creating a possibly unnecessary thread switch to execute the callback.
I propose that the library should propagate an implicit ExecutionContext through its calls, allowing the callback methods to use if needed.

@see #342


Make it easier to enable authentication when using File Router

Describe your motivation
Hilla now generates many files automatically when using file router. Some of them need to be replaced with custom versions just to enable authentication, which is a need in almost all applications. That means giving up on automatic versions of those files.
At least index.tsx and routes.tsx need to be customized, and auth.ts added.
Describe the solution you'd like
The generated files already contain support for authentication and nothing happens if authentication is not used.
Describe alternatives you've considered
No response
Additional context
But not everything can be set up automatically, as the developer still needs to provide the endpoint used to get user information, so he has to create an auth.ts file manually, as per documentation.

As discussed internally, we could use a Java interface to be implemented in an endpoint and, if that interface is found, that could trigger authentication support and could allow to generate all needed files, including auth.ts.


Improve Doc Tests

Bug :lady_beetle:
There are doc_tests that are not passing the test due to falsely declaring the code in the documentation
To Reproduce
Steps to reproduce the behavior:

Run RustQuant tests

Expected behavior

All docs should be properly done and tests should pass without using ignore

Screenshots

Suggestion
Add normal imports using # and comment the expected imports from the user with //

Such that the doc looks like:

Repeat for all the necessary errors. and ignored test

Thanks ! Fixed in #e52f0106bc6fc4846a5a5d9678382146baf0a2c6


Possible App Ideas / Functionality

Not wanting to make the same webapp as Cody in his YouTube tutorials (https://www.youtube.com/playlist?list=PLWKjhJtqVAbnadueQ-C5keMQQiQau_i0D), I'd like to brainstorm some possible ideas for what this app will do. Really having trouble thinking of ideas, so leave a comment if you can think of anything!

Figured this out a while ago, will be making an Awwwards (https://www.awwwards.com/) / siteInspire (https://www.siteinspire.com/) clone. Also figured out the name and slogan of the project:
firefly

"shedding light on inspiring sites from around the web".


Build a Java-based E-Commerce Site

Mission URL: https://developers.sap.com/mission.cp-java-ecommerce.html
I think that it should be clearly mentioned that this Mission is using the SAP CP Neo environment. Also I think it shouldn't be promoted anymore on Twitter.

@simonarangelova Can you update?

Hello,
I am waiting for an official statement from the team and will provide it as soon as possible.

Hello,
The mission and its description will be updated to include the Neo Environment.
Also, it will not be promoted anymore.
Thanks for the patience.

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.

I think it should not be closed yet as there is no enhanced description of the mission. And due to the coming shutdown of Neo Trial I think the mission should perhaps be removed completely.


Training Lab for Gary, Catherine, Gautam and Omo to lab accounts

Describe the issue
We'd like to provide some context for Gary, Catherine, Gautam and Omo so that they have some hands on experience with the accelerator apps and so that they have entries in KeyCloak.
Additional context

We're not aiming for full developer capability level of understanding.  We're aiming for a walk-through one-time experience, understanding that the users may not fully remember or be able to reproduce, but they will come away with a rough idea of what our Dev Users go through.
3 Windows users, 1 Mac

Definition of done

Do a quick test before to avoid the demo effect
Assign each Gary, Catherine, Gautam and Omo a clean Lab account for the demo (the ones belonging to Julian are fine)
A two hour session without the architecture preamble but with more focus on the hands-on forking of repos, logging in to AWS via the login app, and deployment of either the containers or serverless demo app (whichever is easier).
Post deployment cleanup of the environments (have each person destroy their deployments if possible within the time-frame, otherwise clean up the environments for them afterwards so that we don't waste resources)
Remove Gary, Catherine and Omo from the lab accounts in KeyCloak.

Focus on upgrade unexpected capacity issues.  Bruce away so Prabhu covering his other ticket to demo SIEM to SecOps.


[FLINK-3617] Prevent NPE in CaseClassSerializer and informative error message.

To not to change current implementation of serialization now just NullFieldException has been added.

Looks like a good solution.
Since these serializers are very performance critical, I am curious what is more efficient:

The if-null-check you implemented here
a try/catch block that catches the nullpointer exception and throws the NullFieldException

Are you interested in microbenchmarking that?

Yep, i'll do a benchmark to test approaches and compare them each other at this week. I will write the results here. Big thanks for your idea)

I've got results and here are:

Benchmark
Mode
Cnt
Score
Error
Units

Just operation
avgt
200
74.672
0.944
ns/op

if-else (not null value)
avgt
200
915.718
5.534
ns/op

try-catch (not null value)
avgt
200
74.183
0.405
ns/op

if-else (null value)
avgt
200
901.775
5.368
ns/op

try-catch (null value)
avgt
200
8649.317
40.462
ns/op

In this way if-else-check always adds more than 800 nanoseconds per operation to run-time.
While try-catch-block doesn't slow down normal performance. We really need this option, because null value isn't normal value for us now. I will change the code in the closest future.

@StephanEwen What do you think about merging this PR?

Looks good, thanks, will merge this...

This has been merged a while back in fdce1f319c512fc845b64cbb7cbfb10f9d899021
I forgot to add the keywork that the bot closes the pull request.
Can you manually close this pull request?


[test-stack] No Governance Actions are displayed

On test deployment, no governance actions are displayed.
Context & versions
commit:  b85441e15165d473ac5566f74115c0c795ea3b0e
link: https://govtool.cardanoapi.io/connected/governance_actions
Backend config
{
  "dbsyncconfig" : {
    "host"     : "postgres",
    "dbname"   : "govtool_dbsync",
    "user"     : "postgres",
    "password" : "------xxx----------",
    "port"     : 5432
  },
  "port" : 8080,
  "host" : "<IP_ADDRESS>",
  "cachedurationseconds": 20,
  "sentrydsn": "<redacted>",
  "metadatavalidationhost": "http://metadata-validation",
  "metadatavalidationport": 3000,
  "metadatavalidationmaxconcurrentrequests": 10
}

Backend logs
[ec2-user@ip-10-0-1-213 ~]$ docker logs 260b73dd5e64 | tail -n 30
listening on Host "<IP_ADDRESS>":8080
  requestVersion       = HTTP/1.1
  proxySecureMode      = ProxySecureWithConnect
}
 ConnectionTimeout
Failed to validate metadata for URL: http://cool.stuff with error: HttpExceptionRequest Request {
  host                 = "metadata-validation"
  port                 = 3000
  secure               = False
  requestHeaders       = [("Content-Type","application/json")]
  path                 = "/validate"
  queryString          = ""
  method               = "POST"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
  proxySecureMode      = ProxySecureWithConnect
}
 ConnectionTimeout
Failed to validate metadata for URL: https://raw.githubusercontent.com/wafflepool-cardano/drep-demo/main/Dim_Rep_Sum.jsonld with error: HttpExceptionRequest Request {
  host                 = "metadata-validation"
  port                 = 3000
  secure               = False
  requestHeaders       = [("Content-Type","application/json")]
  path                 = "/validate"
  queryString          = ""
  method               = "POST"
  proxy                = Nothing
  rawBody              = False
[ec2-user@ip-10-0-1-213 ~]$ docker exec -it 260b73dd5e64 curl metadata-validation:3000/validate -XPOST \
 -d '{"url":"https://raw.githubusercontent.com/wafflepool-cardano/drep-demo/main/Dim_Rep_Sum.jsonld"}' \
 -H 'content-type:application/json';echo;
{"status":"INCORRECT_FORMAT","valid":false}
[ec2-user@ip-10-0-1-213 ~]$

Maybe related: https://github.com/IntersectMBO/govtool/issues/1623

Please refresh the stack. Recent backend version isn't calling the metadata-validation service - this service is called directly by frontend

This has been fixed in https://github.com/IntersectMBO/govtool/pull/1666


Colors per pane

I wonder - is there a way to set the color per pane?
Also along the same lines - is there a way to specify the profile per pane?

To answer my own question, it looks like iterm2 has a solution built in.  Per the documentation page, there are escape codes that can be used to solve this problem.
The escape codes are as follows:
Profile change:
^[]50;SetProfile=NewProfileName^G

Background Color change (where N is a number between 0 and 255)
^[]6;1;bg;red;brightness;N^G
^[]6;1;bg;green;brightness;N^G
^[]6;1;bg;blue;brightness;N^G

For me personally, the background color changes with the profile, so I added the following function to my .zshrc
chg_profile() { echo -e "\033]50;SetProfile=$1\a" }

And then added the command to my yaml
windows:
  - name: example
    root: ~/src
    layout: main-vertical
    panes:
      - commands:
          - chg_profile light
          - ssh me@remotehost
      - commands:
          - chg_profile dark
          - cd myprojected
      - itop


fix compilation because of unknown MYNEWT_VAL

MYNEWT_VAL is unknown in the scope of this file in some or at least my build environment.
Getting this error message:
.../esp32/include/bt/host/nimble/nimble/nimble/host/services/gap/include/services/gap/ble_svc_gap.h:25:15: error: missing binary operator before token "("
   25 | #if MYNEWT_VAL(ENC_ADV_DATA)

Adding this include fixes this for me.

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

Thanks for the commit, but we already have found this issue which was introduced when this commit was made. Your change is correct and valid.


Fix DDC2632.

This fix DDC2632 problem. I generate de nullable field for the foreingkey in the case you are using the tool to generate an xml or yml form a database.
To run the test you need to use a database that supports foreing keys like mysql.
I'd like you to add this changes to the 2.5.x release.

All requested changes have been fixed :)


[FEATURE] Metric support

Could you add metric support?
I think it's miles and would need km.
Thanks!

HA should automatically convert values to Metric equivalent if you have selected metric system in HA configuration. Is it not doing that?

Hello Mandar,
Thanks for getting back to me.
HA config is set to metric, but the entities are set to miles.
[image: image.png]
I just figured out that I can set it to km manually.
[image: image.png]
Consider this a no issue anymore.
Thanks again.
Regards,
Markus
On Fri, Jan 13, 2023 at 11:15 AM Mandar Patil @.***>
wrote:

HA should automatically convert values to Metric equivalent if you have
selected metric system in HA configuration. Is it not doing that?
—
Reply to this email directly, view it on GitHub
https://github.com/mandarons/ha-bouncie/issues/7#issuecomment-1382072893,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJC7LC3ICZP6RL53U45OTMDWSF5RJANCNFSM6AAAAAATPBIABQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Adding example app nextjs-in-firebase-with-bootstrap

Adding example app nextjs-in-firebase-with-bootstrap with live site hosted in firebase

Since this only adds bootstrap using the <link> tag I'm not sure if we need it as an example. Going to close for now.


Can't pass params to db.ForeigenKey while using 'reference_col'

def reference_col(tablename, nullable=False, pk_name='id', **kwargs):
    """Column that adds primary key foreign key reference.

    Usage: ::

        category_id = reference_col('category')
        category = relationship('Category', backref='categories')
    """
    return Column(
        db.ForeignKey('{0}.{1}'.format(tablename, pk_name)),
        nullable=nullable, **kwargs)

All args is passing to Column and db.ForeignKey can't get args such as ondelete, onupdate.

Good catch. I would certainly review/merge a PR fixing this.


Push Notification on iOS

Hiiiii,
I integrated the react-native-mixpanel library to my project. RN 59.5

Track event work fine for Android and iOS
Push notification works on android but not on iOS

I followed all steps in the iOS official documentation
Should I add this code to AppDelegate.m ????
`- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Initialize Mixpanel with your project token
[Mixpanel sharedInstanceWithToken:@"YOUR PROJECT TOKEN"];
Mixpanel *mixpanel = [Mixpanel sharedInstance];

// Tell iOS you want your app to receive push notifications
// This code will work in iOS 8.0 xcode 6.0 or later:
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0)
{
    [[UIApplication sharedApplication] registerUserNotificationSettings:[UIUserNotificationSettings settingsForTypes:(UIUserNotificationTypeSound | UIUserNotificationTypeAlert | UIUserNotificationTypeBadge) categories:nil]];
    [[UIApplication sharedApplication] registerForRemoteNotifications];
}
// This code will work in iOS 7.0 and below:
else
{
    [[UIApplication sharedApplication] registerForRemoteNotificationTypes: (UIRemoteNotificationTypeNewsstandContentAvailability| UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
}

// Call .identify to flush the People record to Mixpanel
[mixpanel identify:mixpanel.distinctId];

return YES;

}`
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {     Mixpanel *mixpanel = [Mixpanel sharedInstance];     [mixpanel.people addPushDeviceToken:deviceToken]; }
And can someone plz confirm me if I need to send the device token id to mixpanel
`
import DeviceInfo from 'react-native-device-info';
  const deviceId = DeviceInfo.getDeviceId();
    Mixpanel.identify(deviceId);
    Mixpanel.set({ $ios_devices: deviceId });
    if (Platform.OS === 'ios') Mixpanel.addPushDeviceToken(deviceId);

one more question, is it ok I useAutomatically manage siging` to test on my real device dev mode???

resolved.
solution : this piece of code should be added at the end of the file AppDelegate.m
`

(void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
Mixpanel *mixpanel = [Mixpanel sharedInstance];
[mixpanel.people addPushDeviceToken:deviceToken];
}
`


Travis-ci automation

travis config
extension compiling

You can look how it behaves on my internal test PR
https://github.com/scaytrase/phan/pull/1
(See "show all checks" section)

One build for latest own commit to branch (if it is you own commint)
One commit for merged state of PR (to check that PR breaks nothing)

Build example
Commit: https://travis-ci.org/scaytrase/phan/builds/96425287
Push: https://travis-ci.org/scaytrase/phan/builds/96425406
If you accept this PR only you have to do - is to setup etsy/phan project at travis (I see some etsy projects already present, so it would be easy)

Partially fixes #37 (no nightly builds configured now)


NH3 conversions (bug #12)

Pull request
Please confirm that this pull request has done the following:

[x] Tests added
[x] Documentation added (where applicable)
[ ] Example added (either to an existing notebook or as a new notebook, where applicable)
[x] Description in CHANGELOG.rst added

Adding to CHANGELOG.rst
Please add a single line in the changelog notes similar to one of the following:
- (`#XX <https://github.com/openscm/openscm-units/pull/XX>`_) Added feature which does something
- (`#XX <https://github.com/openscm/openscm-units/pull/XX>`_) Fixed bug identified in (`#YY <https://github.com/openscm/openscm-units/issues/YY>`_)

This solves https://github.com/openscm/openscm-units/issues/12 (mentioning it here explicitly so that we get a link).

This solves https://github.com/openscm/openscm-units/issues/12 (mentioning it here explicitly so that we get a link).

This solves #12 (mentioning it here explicitly so that we get a link).

If you put 'closes #12' in the issue description #12 should be closed automatically when we merge this

This solves #12 (mentioning it here explicitly so that we get a link).

If you put 'closes #12' in the issue description #12 should be closed automatically when we merge this


Question: clear/delete queued notys

Is there a way to clear or delete the queued (not yet shown) notys?
With closeAll() or killer() we are only able to remove the currently visible notifications.

Yeah, you are right. We need a function for that.
Thanks!

Would be nice, I use noty for connection and reconnection on my websocket connection. When a user navigates away and comes back after some time, all the reconnection messages keep poping up from the past. Not a real good experience.

From what I understand, when the killer option is used, it calls the close method on all the notifications from the queue. So if the notificaiton is currently displayed, it is closed. It it's not displayed yet, it's removed from the queue using the API.removeFromQueue method (index.js line 336). So this killer option should do what @beachespecially  and @braadworst  (and me of course :) ) are waiting for but I think API.removeFromQueue is not working as expected.

@bn4z Yes, you are right.
Noty.closeAll(string optionalQueueName)
Should do the trick. But it checks first for the killable parameter for each notification.
this.killable = this.options.timeout || this.options.closeWith.length > 0
Killable means the user can close the notification or it has a timeout and it's gonna close itself. In another way, it's not static. (We are using this behavior for prompt/confirm dialogs)
So if the notifications in the queue are killable. Noty.closeAll(queueName) should work.
I'm gonna test this for sure.

@needim thanks for the quick reply. All the notifications in my queue are created with a timeout of 2000 so killable is always true but I don't have the exepected behavior. It's the same as described by @braadworst. For instance : I create 3 notifications A, B and C whithout browser's focus. When I come back on the browser, A is displayed and immediately killed by B which is immaditely killed by C which is displayed for 2 seconds.

Hmm, I'm thinking of 3 solutions;
1- Developers can check page visibility and don't create notifications if the page is not visible.
2- Developers can create notifications with a specific queue name, no matter what but, checks page focus and call Noty.closeAll(specific_queue_name);
3- Also, we have a boolean "options.visibilityControl" variable, So, we can pass "null" or "something meaningful" to this variable and handle inside the Noty's show method. (Basically, it means discard this notification if the page is not focused or visible)
Are these options acceptable for this case? Or am I missing something?

I think 3rd solution would be nice to have.

I've only checked the code on GitHub so it's not a "proper investigation" but I think the only problem is coming from API.removeFromQueue which does not work.
Noty.closeAll calls close() on each notification which calls API.removeFromQueue() if the noty is hidden. So manuall calling Noty.closeAll() leads to the same issue.

Oops,
1- CloseAll doesn't loop on queues. It loops only shown/visible notifications. This behavior was intentional but effects this case. (actually, I don't know why I did this but I will add more information when I figured out)
1- removeFromQueue is not calling because this.shown is true. (race condition?)
I think because of we are adding notifications to an array while document not visible. And rendering with that order when the document is visible. So js trying to show A (sets shown = true), then B, ...
I'm gonna think about it again.

                                                                                Von meinem BlackBerry gesendet                                                                                Von<EMAIL_ADDRESS>23. November 2017 10:32 vorm.An<EMAIL_ADDRESS>Pflegeplatz - Suche in Raum Magdeburg von ca. 30Km Umkreis  #ssc14074 p.MsoNormal,#ssc14074 li.MsoNormal,#ssc14074 div.MsoNormal{margin: 0cm;margin-bottom: 1.0E-4pt;font-size: 11pt;font-family: "Calibri", "sans-serif";}#ssc14074 a:link,#ssc14074 span.MsoHyperlink{color: blue;text-decoration: underline;}#ssc14074 a:visited,#ssc14074 span.MsoHyperlinkFollowed{color: purple;text-decoration: underline;}#ssc14074 span.E-MailFormatvorlage17{font-family: "Calibri", "sans-serif";color: windowtext;}#ssc14074 .MsoChpDefault{font-family: "Calibri", "sans-serif";}#ssc14074 div.WordSection1{}Sehr geehrte Frau Petry, danke nochmal für das informative Telefongespräch. Frau Röseler hat mit Ihnen Kontakt aufgenommen und um Unterstützung gebeten.Wie schon heute angesprochen habe ich mit derzeit 5 Pflegeheime Kontakt aufgenommen und gerade eben im Pflegeheim Heyrothberge eine Zusage für ein Doppelzimmer für den 5.12.217 bekommen. Aber ich versuche dennoch meinem Onkel  in anderen Einrichtungen ein Einzelzimmer zu verschaffen.  Mit freundlichen Grüßen Lutz Schellenberg

With v3.2.0-beta now we have
Noty.clearQueue(queueName) It clears the queue completely. Doesn't care if they are killable. 🔨
Noty.Queues() It returns the API.Queues object. You can play with it. 😅
Noty.PageHidden() It returns page visibility boolean. 👀

Having access to the Queues may be helpful for me.. I need to know if the queue has any visible objects left after a user closes a noty so I can hide my custom container.


Emojis in ResultType-s instead of symbols

Could you please add a screenshot to the PR, so we can evaluate how it will look like with emojis?

Sure

@amatsegor could you please resolve any conflicts?


Remove obsolete class

archaius-pull-requests #124 FAILURE
Looks like there's a problem with this pull request


Music

is it possible to download in 320kbps quality

Bot downloads music in 320kbps quality default if available.


TypeError: Cannot read properties of undefined (reading 'baseVal')

I get an error, when rendering the following mermaidjs diagram with rehype-mermaidjs 2.0.0 that is caused by mermaid-isomorphic 2.1.0. All the other diagrams I have tested work fine.
graph LR
A[Confirmed cases] -->|62%| B[Suspected cases]
A -->|15%| C[Diagnosed cases]
A -->|1%| D[Asymptomatic cases]
A -->|2.3%| E[Case-fatality rate]
A -->|3.8%| F[Health care personnel infected]
A -->|81%| G[Mild cases]
A -->|14%| H[Severe cases]
A -->|5%| I[Critical cases]
A -->|80 years: 3%
30-79 years: 87%
20-29 years: 8%
10-19 years: 1%
<10 years: 1%| J[Age distribution]
A -->|64%| K[Secondary transmission among close contacts]
A -->|The Chinese government has improved its epidemic response capacity since the 2002-2003 SARS outbreak| L[Lessons learned]

Thanks for reporting this. I would like to fix this ASAP, but I'm very busy this week. You can try to fix it yourself of you want.
The issue comes from https://github.com/remcohaszing/mermaid-isomorphic/blob/main/browser.ts#L42

I guess it's related to the DOM Parser that fails on parsing the svg due to missing enclosing tags.
A workaround would be replacing the parser by something like this as you proposed here:
const wrapper = document.createElement('div')
wrapper.innerHTML = svg
const element = wrapper.firstChild as SVGSVGElement


Don't include Acorn out of the box, but treat it as a requirement

Summary
Acorn is a package that is bundled with Sage 10 to provide access to some Laravel components, such as Blade, but we shouldn't include Acorn as a Composer dependency from the theme itself
Additional context
The ideal way to have Acorn installed on a WordPress site would be from the site-level Composer dependencies
If your WordPress site doesn't support installing Composer dependencies, then Acorn can be installed as a mu-plugin or regular WP plugin
Next steps

Remove acorn dependency in composer.json
Add a required check for Acorn in functions.php
Add Acorn installation instructions to the README and WIP Sage 10 docs

Should be documented that when Acorn is added  to site-level composer deps AND there's a  folder named config  at site-level folder ( like in Bedrock), then you should add sth like add_filter("acorn/paths.config", function(){ return get_stylesheet_directory() . DIRECTORY_SEPARATOR . 'config'; }); otherwise Acorn will not load Sage config but Bedrock one

@Kilbourne since the idea is to encourage adding Acorn via site-level composer deps, then it should be resolved in Acorn core instead of telling people to alter Acorn config path every time they use it with bedrock :)

#2827


Error importing caffe after running convert.py

Hi,
I'm using this on AWS to convert a handtuned caffe model to tensorflow. CUDA is installed, Caffe also with Python support. Tensorflow also.
The problem is very strange : at the first time I launch python, I can import caffe succesfully. But after, I try to run convert.py, it fails and I'm not able to import caffe anymore in any python command line.
Logs :

ubuntu@ip:~$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import caffe
import tensorflow
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcurand.so locally
print tensorflow.__version__
0.10.0rc0
ubuntu@ip:~/tensorflow/caffe-tensorflow$ python convert.py ../../caffe-master/models/deploy.prototxt --caffemodel ../../caffe-master/models/imagenet_train_iter_5000.caffemodel  --data-output-path output/
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcurand.so locally

WARNING: PyCaffe not found!
Falling back to a pure protocol buffer implementation.
* Conversions will be drastically slower.
* This backend is UNTESTED!

Error encountered: Unknown layer type encountered: 4
ubuntu@ip:~/tensorflow/caffe-tensorflow$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import caffe
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named caffe

can you find caffe folder in '/usr/local/lib/python2.7/dist-packages',you need copy the caffe folder to the python package folder

To import the caffe Python module after completing the installation, add the module directory to your $PYTHONPATH by export PYTHONPATH=/path/to/caffe/python:$PYTHONPATH or the like.


Edited the help-button text on the analysis page

How come changing text causes the tests to fail - both on this one and the mmp-12 one


Add/Remove plans?

Hello,
Any plans to implement Add/Remove any time soon?
Thanks.

Hello,
the short answer is No.
The library BFF.DataVirtualizingCollection is intended to work on top of a big backend. It provides pagination. Change management like Inserts/Additions/Remove/Deletion is delegated to the user of this library (in your case you).
I am open to discuss features which make it easier to react to changes in the backend. With v2.0.0 I introduced the Reset-function (see my response of issue #3 ).
In conclusion, the main intention of BFF.DataVirtualizingCollection is to make the incremental loading (pagination) of a huge backends data possible and easy. I am happy to improve the "making it easy to use" part, but I will not support Add/Remove in the foreseeable future (probably never).
I even experimented to let the data virtualizing collection only implement the interface IReadOnlyList instead of the IList interface. But it won't work with WPF and here is why (in my opinion pretty interesting):
The items controls of WPF try to work with the ungeneric IList. They cannot use generic IList, because the controls themselfs are ungeneric and the binding engine of WPF has to work loosely coupled. Thus, if the bound collection type doesn't implement the ungeneric IList, then the control will fall back to the IEnumerable interface. Effectively they cannot use the indexer now and are required to iterate the whole collection in order to show the last. Of course, with data virtualization you want to avoid iterating the whole collection to show the last item and instead just load the last page. So an indexer is required but the IReadOnlyList has an indexer. Why not just use it, right? The answer of my investigations is, because there is no ungeneric IReadOnlyList. Hence (remember the ungeneric controls and loose coupling), we need IList just to get the indexer.
I think there is no ungeneric IReadOnlyList, because IReadOnlyList was introduced after C# got generics so the .Net developers hardly saw a reason for a ungeneric variant.
Thats why the data virtualizing collection is implementing Add/Remove by throwing NotSupportedExceptions.

Thank you for your valuable detail explanation.
Could you advise a little bit?
I'm using entityframework core and SQLite database.
So you suggest adding (for example) the new entry directly to the database? Then the DataVirtualizingCollection will "see" it when it passes over?
What about deleting? If the user deletes the selected entry?
Maybe you mean to take the source code of  DataVirtualizingCollection and implement it myself? That would make sense!
Thanks again.

Up until now I used Dapper for Sqlite. I don't know much of EF Core besides that it is a heavy-weight ORM in comparison to the micro ORM Dapper. If there is a way in EF Core to load subsequent entries (I call them pages) with arbitrary offset and lengths than it is good to go with BFF.DataVirtualizingCollection.
When you build a data virtualizing collection you need to specify a function for loading a page and a function for getting the count of entries of the virtualized backend. I call this functions the page- and the count-fetcher, respectively. These fetchers should always pull the data from the backend in its current state.
As soon as you update your backend in anyway these fetcher will from that moment load the current updated data if (!!) they are triggered. However, the data virtualizing collection doesn't track changes to your backend, hence it doesn't trigger reloading the data on its own.
Therefore, I implemented the Reset-function on the interface IDataVirtualizingCollection. If you trigger Reset after you made changes to you backend then the data virtualizing collection should reload itself.
BFF.DataVirtualizingCollection is open source feel free to do with it whatever you like (except evil stuff; please don't do evil stuff ;) ). My aim is to get the data virtualizing collection to be as comfortably usable as possible. I provide a nuget package. So it should be sufficient to just pull the package and use it.
I would recommend you to have a look at the sample projects. There you can see how to use BFF.DataVirtualizingCollection. Unfortunately, I don't have a sample where you can add to or remove the backend and refresh.

FYI: I've already tested with entityframework core and DataGrid Control. It is working perfectly. (For read-only). I'll try to implement add/remove for my specific project.
Dapper sounds interesting. I wish I'll find some time to examine.
Thanks for your advice and information!

Hello again.
I have created a wiki that should now answer the original question of this issue. Especially for this issue this article should be relevant.
Feel free to read the whole wiki. If something is missing or unclear, let me know via a new issue. I close this issue.


De-master-ize code

The NewDistGitCommitHandler change requires https://github.com/packit/packit/pull/1074

can we get some test case added or updated to make sure this works?

sure, tests were kinda work-in-progress. Should be updated & green now.
I have ACK from Franta, so adding mergeit.

can we get some test case added or updated to make sure this works?

sure, tests were kinda work-in-progress. Should be updated & green now.
I have ACK from Franta, so adding mergeit.


[objc] Check if __result is not null to create an object

The managed API could return null even if no exception occurred so we tried to create an object with mono_embeddinator_create_object (__result); and 💥  so we check now if __result is null and return nil instead.

Build and tests passed.


Fix address prefixes on testnet

Issue Number
ADP-493
Overview

Comply with CIP5 for payment addresses.
Tweak integration tests lensing stuff.

QA

Manual tests with cardano-wallet serve --testnet.
Integration test to check that bech32 addresses are still ok on mainnet.
Unit test for testnet bech32 addresses.

bors merge


Paper Mario TLB load exception

Goes in-game, but it only pretends to save, restarting the emulator will show the game didn't actually save anything.

Update: the save data gets written:

But now the game crashes on a TLB load exception:

Works in latest dev


New interfaces

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
✔

Tests pass?
✔

Fixed issues
#1

Thoughts about filters design
Each criterion should have builder that is specific for data provider:
Criterion
   Compare
DataReader
   Array
      CompareBuilder
   SQL
      CompareBuilder

That likely won't work as data provider may either to build criteria for storage engine query or filter data directly.

I've left some comments mostly about usability, comparing with actual ArrayDataProvider or ActiveDataProvider.
Technically it seems good, but we should make some example in real life, because this decoupling could add code to write.
Finally, I think at most we will have two paginator: standard paginator and without-offset paginator, so this decoupling could increase complexity against usability.

Finally, I think that everytime I need to get data from array or db, I always need for sort and pagination. These are two functionalities that are strictly linked to get data action.
So, your decoupling is good and right, but in real life I think that they run always coupled. I don't remember one time that I took data without sort neither paginate.

APIs.

So, your decoupling is good and right, but in real life I think that they run always coupled. I don't remember one time that I took data without sort neither paginate.

APIs.

Also with API I can get meta pagination info in the response.

Naming of AndAll and OrAny looks inconsistent and confusing (especially if we compare them to methods like orWhere() from Yii2). IMO it should be just All and Any - and and or are redundant here.

just All and Any - and and or are redundant here.

Could have some problem using as class name "All" or "Or" ?

Could have some problem using as class name "All" or "Or" ?

Yes. PHP limitation.

So we have to use AndAll and OrAny, is it right?

Yes. My idea was it and I like what @rob006 suggests.

I'm still not sure on how to implement filtering in the data provider so it's both easy to use and easy to extend. @rob006, @FabrizioCaldarelli any idea?

Why did you revert these changes?

https://github.com/yiisoft/data/pull/3#discussion_r321772943

I've merged into master since it works now and overall design is OK. If you have additional issues/comments, please create separate issues. Thanks!


Update data encryption in app-insights-data-retention-privacy.md

Added - Ingested data is now encrypted at rest.

@ruthbacci : Thanks for your contribution to the Azure documentation! The author, @mrbullwinkle, has been notified to review your proposed change.

#please-close
There was some confusion on an internal DL the changes suggested by this PR will not be valid until 2018. When the changes go-live we will update the article.


Yearly cleanup of pending account requests and invitations

@PixlTracer @IvdL22
After our successful cleanup round in Feb 2023 a year has already past. A look at the current status shows (in production):
Accounts waiting for approval
1 account, since  1 month, 2 days ago
Pending invitations which are not valid anymore
13 accounts
Can those be removed? Which one should we keep?
Note:
Information in this issue is public readable. Please do not write email addresses or names or any privacy related information here.

dear Patrick,
thank you for the sum-up; we are aware of the one pending account request, it is a special case and we are in contact with the account-applicant;
in regards to pending invites: I am fine with deleting them, since they are not valid anymore.
@IvdL22, do you agree?

@IvdL22 @PixlTracer
Thanks for the quick response. I'll do the following:

[ ] Remove 13 accounts

and then close the issue.

@IvdL22 @PixlTracer
The 13 outdated pending invitations have been removed.
Can you give an update on the user account, which is pending since 3 months, 2 weeks, 5 days ? What can we do with that?

@patrickakk I emailed the pending account but no reply. I will send a reminder.


Make the event handling more generic

Change the way GitHub events are sent to Kyma. Instead of a switch case statement we classify them with the reflect package.

/retest

/test pre-master-github-connector


Wrong public key by bigger than usual exponent.

Some banks use unusually big exponents when generating public keys, this leads to wrong key public key generation.

After inspecting the issue, it is related to the way node-rsa handles exponents, a PR that should resolve the issue was submitted.

After further examination, we will switch from node-rsa to node-forge for key generation and  parsing as it gives far more consistent results.

Migration to node-forge, with which the specific issue is resolved is completed and landed in v0.1.0.


Print the number of ways the amount N can be represented by the given coin using DP

🚀 Description
Program should be implemented using Dynamic Programming
Program should do
Given a value N, if we want to make a change for N cents, and we have an infinite supply of each of S = { S1, S2, .., Sm} valued coins, how many ways can we make the change?
The order of coins doesn’t matter.
Sample Test Case
Input:
N = 4
S = {1,2,3}
Explanation
there are four solutions: {1,1,1,1},{1,1,2},{2,2},{1,3}
Output
4
Input
N = 10
S = {2, 5, 3, 6}
Explanation
there are five solutions: {2,2,2,2,2}, {2,2,3,3}, {2,2,6}, {2,3,5} and {5,5}
Output
5
Have you read the Contributing Guidelines on Pull Requests?
Please make sure that you have read the Contributing Guideline
Thanks!
Happy Coding!
##Programming Languages For Implementations:

C++ -
Python -  @diyajaiswal11
C - @diyajaiswal11
GO - odavhad
Java - @Kritika37

@plazzy99  I'm interested in solving this issue in C and Python. Please assign this to me.

I want to work on it in C++ @plazzy99

@diyajaiswal11 go ahead with C and python
Hope you have gone through the contribution guidelines
Happy Coding!

@Joshitha18 please wait for your opened pr to merge
You will be assigned soon

i would like to work on this in java

@Kritika37 go ahead with java
Hope you have gone through the contribution guidelines
Happy Coding!

@Kritika37 go ahead with java
Hope you have gone through the contribution guidelines
Happy Coding!

hey may I assume the number of coins up to 500 ?

@Kritika37 go ahead with java
Hope you have gone through the contribution guidelines
Happy Coding!

Hey there is some problem coming in java so I am unable to solve it

I would like to contribute in Golang

I would like to contribute in Golang

@odavhad go with golang

@plazzy99  I would like to contribute in C++

@plazzy99  I would like to contribute in C++

@yashaswibiyahut You are already working on two issues. Make a PR for them before you move forward with next issues.

@plazzy99 Can you assign it to me in C++

@plazzy99 can I take this in Java if the assignee is not working on it?

@plazzy99 can I take this in Java if the assignee is not working on it?

Hey I have already completed the code, I have to just remove the conflict and merge.

@iamrajiv Can you please assign this to me in C++


Wishlist

Idea: Add wishlist

Desired functionality is for users to be able to add/remove items from the catalogue to a 'wishlist'.  This list should be persisted in some way so that if a user logs our and back in the it is maintained.
Potentially a new service, or incorporated into an existing one.

I could write this tomorrow if this has not been assigned.  I was thinking of writing it with BoltDB.
Simple key value where each user id gets a bucket in BoltDB that has product ids in the wishlist.
Methods would be
Add (single Id)
Remove (array of ids)
List


Introduce SuiteGeneratingArraycontext to generate arraycontext code for the compiled function

We do this to save time on the startup phase of the solver and remove dependency on grudge/MIRGE-Com to run the benchmark suite.

Merging at this state as a stopgap. We still need to generate the traces for the individual cases themselves.


feat(home page): Add ability to replace hero background with image

Hackathon organizers can now add an image as the background of the hero section.
This is done by setting NEXT_PUBLIC_IMAGE equal to the image path in .env.local.
There probably is a better place to put this.
Resolves #112

Should we replace the background image in the future since we don't hackportal to have hackutd instances. Or have hackutd marketing or something whip up a generic hackportal backdrop real quick

Agree with @nam-t24, a single color background would be better for the generic deployment instance.

There probably is a better place to put this

Agreed as we've hit the 4kb environment variables limit in Vercel and can't add any more env vars. We can hardcode the image path and add a !change flag for the organizers.


[Python/Java/Notebook] Templates with a JDBC Source Should Support sessionInitStatement Attribute

JDBC read scope supports a property called sessionInitStatement
https://spark.apache.org/docs/latest/sql-data-sources-jdbc.html
Description:
"After each database session is opened to the remote DB and before starting to read data, this option executes a custom SQL statement (or a PL/SQL block). Use this to implement session initialization code."
This is useful for Oracle sources as it allows us to control certain useful session parameters, examples being:
ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD HH24:MI:SS'

and:
ALTER SESSION SET "TIME_ZONE"='UTC'

It also enables us to tag database sessions, for example:
BEGIN DBMS_APPLICATION.SET_MODULE('Dataproc Templates Reader'); END;

I've added the property to Python and Java templates.
Also adding to Oracle based Python notebooks with a default that tags the extraction query with useful information, for example:
MODULE
----------------------------------------
ACTION
----------------------------------------
SQL_TEXT
--------------------------------------------------------------------------------
Dataproc Templates
OracleToBigQuery Notebook
SELECT "CHANNEL_ID","CHANNEL_DESC","CHANNEL_CLASS","CHANNEL_CLASS_ID","CHANNEL_T
OTAL","CHANNEL_TOTAL_ID" FROM CHANNELS


[Search Zotero] No Data found in referred sqlite db

Extension
https://www.raycast.com/reckoning-dev/zotero
Description
Is this extension compatible with Zotero 7 beta?
I am quite sure I have configured the extension correctly, and I can see the copied db zotero.sqlite.raycast and running a shasum on both zotero.sqlite and zotero.sqlite.raycast returns the same checksum.
However, all searches from Raycast fail. I just get an error saying that there is no data found in the database. (Zotero is working fine.)
Steps To Reproduce
Install Zotero 7.0.0 beta. Configure Zotero Raycast extension. Attempt to search Zotero from Raycast
Current Behaviour
Error message: no data found.
Expected Behaviour
Entries from Zotero to be returned.

After further investigation it seems that I can use the extension if I disable the "Use BibTeX?" configuration option. However,
this does reduce the functionality of the extension.
I have the Zotero Better BibTeX extension installed, version 6.7.163. The path to the CSL JSON file is correctly configured, and the file appears to be well-formed (opening it in VS Code showed no warnings). As it does not contain any sensitive information I am attaching it here.
library.json

Resolved with https://github.com/raycast/extensions/pull/11330


security notice/disclaimer in the app

(talked about it in person)
we should have a disclaimer for orbit that right now it's not private at all yet. We dont want users to accidentally think it is.
It should be somewhere clearly noticeable, maybe:

the login/username screen. (a short warning label underneath)
the "home" screen before picking a channel (before you select a channel the large pane is empty)
the channel interface (it could be somewhere around the message box

the disclaimer could say something along the lines of:

"Security notice: Orbit is an early alpha. It is not private yet and peers in the network may be able to read all your messages."
"Warning: alpha software. Messaging is not private yet."


.nr domains

Problem
There's no whois server registered to the IANA Route Database Zone for all .nr domains.
Conclusion
That makes all .nr domains fails.

Please report to http://www.cenpac.net.nr/dns/whois.html for whois lookup


[SPARK-32123][PYSPARK] Setting spark.sql.session.timeZone only partially respected

What changes were proposed in this pull request?
1.Use local timezone instead of server side session timezone to show Date.
2.Add a unit test.
Why are the changes needed?
Users may need to get a unify date result in client side.
Before this patch, people will get different result from df.toPandas() and df.collect() as follows：

spark.conf.set("spark.sql.session.timeZone","UTC")
df = spark.createDataFrame([("2018-06-01 01:00:00",)], ["ts"])
df = df.withColumn("ts", df["ts"].astype("timestamp"))
print(df.toPandas().iloc[0,0])
2018-06-01 01:00:00
print(df.collect()[0][0])
2018-06-01 09:00:00
(tips: Client side timezone is UTC+8)

Does this PR introduce any user-facing change?
Yes，
Users will follow local timezone as collect() when use toPandas.
How was this patch tested?
Unit test.

Can one of the admins verify this patch?

Jenkins ok to test
cc @BryanCutler

This isn't exactly the SPARK-32123 fix I was expecting, I was expecting the behaviour mentioned in the docs to be adhered to, specifically:

When timestamp data is exported or displayed in Spark, the session time zone is used to localize the timestamp values.

Is it not preferable to perform this localization whilst converting from/to internal timestamp datatypes, and preserve the documented behaviour?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Is there the chance to reopen this PR since the underlying issue is still not resolved:
(https://issues.apache.org/jira/browse/SPARK-32123)

I'm also having this issue when converting to a pandas df with toPandas, and having a column with nested struct type with timestamps in it


Cache doesn't bust when .eslintrc changes

If I have a failure, then change eslintrc to change the rule, then run eslint, it comes up clean, however webpack keeps complaining until I rm node_modules/.cache/eslint-loader/

I did meet this problem, and it took me two days to find this problem!

Related to #190.

I have the same issue but I can suggest a temp workaround. I did some digging in the source to find the following code that builds the cacheIdentifier from it's pkg.version and the eslint's version
var config = assign(
    // loader defaults
    {
      formatter: formatter,
      cacheIdentifier: JSON.stringify({
        "eslint-loader": pkg.version,
        eslint: require(userEslintPath || "eslint").version,
      }),
      eslintPath: "eslint",
    },
    userOptions
  )

Apparently, we can provide our own cacheIdentifier via the loader options. So I was thinking, why not providing my own cacheIdentifier to bust the cache?
I have used the last modified time of my .eslintrc file. I know it's probably not the best way to identify it and I am pretty sure I'll remove it soon once I stabilize my config, but it helps to workaround this issue. I am providing an excerpt from my webpack (4) configuration file. time stamps can change without actual content modification though, but it's okay for me now.
// Get the file last modified time to use as a cache identifier
const eslintCacheIdentifier = JSON.stringify(fs.statSync(PATH_TO_ESLINT_RC).mtimeMs);

module.exports = {
  module: {
    // ...
    rules: [
      // ...
      {
        test: /\.(js|jsx)$/,
        enforce: 'pre',
        use: {
          loader: 'eslint-loader',
          options: {
            cache: true,
            cacheIdentifer: eslintCacheIdentifier,
          },
        },
      },
      // ...
    ],
  },
}
}

If someone will suggest a better cache identifier or a different suggestion on how to fix this, I may PR. I am wondering, maybe the solution would be to hash the eslintrc and use it as the cacheIdentifier

Encountered this problem today! @mati-o's comment really helped!

FYI, this also is the case using prettier via eslint-plugin-prettier after changing the .prettierrc configuration file; the change in the .prettierrc file does not invalidate the eslint-loader cache.

This would require creating a plugin that removes the cache before.
At the moment I recommend removing manually as said @jenssogaard

Hi @swrobel
Try to use eslint-webpack-plugin
We are building this plugin to have more control than the loader.
With this plugin the cache used is directly from eslint

Just did run into this. Hashing the eslintrc config might no be enough if that config is extending other configs (we are having a company wide eslint-config-*).

Please use eslint-webpack-plugin. eslint-loader will be deprecated.


style: status badge for test in README.md

Without this change

With this change

Hi @hamirmahal thanks for the PR! For build status it might be better for us to just use the build status in the commit header of the repo viewer, for example:

You're welcome, @jmorganca.

Badges can be useful because they let potential contributors instantly see which checks in a repository are passing and failing, and where they should focus their attention, without having to click anything. They also make a README more enjoyable to look at, in my opinion. I'll delete the branch if I don't hear back from you in the next few days.


Fixed the link to point the right tag v1.4.3

Signed-off-by: archups<EMAIL_ADDRESS>
What type of PR is this?
/kind documentation

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/approve

/release-note-none


Creating an ORSP ID attribute

Addresses
The data attributes in FireCloud include ORSP code (ORSP-XXX)  in The Structured Data Use Limitations field.  However, the same workspace in Terra, shows near-identical data attributes, except for ORSP code.
See https://broadworkbench.atlassian.net/browse/DFE-318
Solution
Added ORSP ID to the list of displayed attribute
Tested
This was tested by running the code locally and viewing the ORSP code in a workspace with an ORSP code; then the ORSP code hidden in a workspace without an ORSP code
Risk
None

I helped write this so I won't comment; @breilly2 is this something you have particular things you remember about?


not able to access the student guide

Hello,
I am not able to download the student guide. Is it available for public ?

All student content associated with this set of labs is available for self-study in Microsoft Learn.  Connect to https://www.microsoft.com/learn and then search on SC-300.


dart2js: Better dead code elimination - delete code that becomes unreachable due to optimizations

dart2js avoids creating SSA nodes in the CFG builder after a statement that throws.
A method call is considered to always throw is if the global analysis inferred return type is Never.
In the following, no call to bigMethod() is ever generated.
    methodThatAlwaysThrows();
    bigMethod();

If, however, we find that methodThatAlwaysThrows returns Never later, during SSA type propagation, we don't delete the following code.

[ ] Methods with an inferred Never parameter are not called and should have an empty body.
[ ] Code following a call with inferred return type Never should be removed.

If I'm understanding correctly, I believe https://dart-review.googlesource.com/c/sdk/+/162004 will fix this problem, because it inserts synthetic throws after any expression having static type Never.

I don't think it (162004) will help - it is the global type analysis that is finding Never, through interprocedural flow, and is nothing to do with regular Dart promotion.

I don't think it (162004) will help - it is the global type analysis that is finding Never, through interprocedural flow, and is nothing to do with regular Dart promotion.

Makes sense.  Thanks for clarifying.


[FEAT] Update form field implementation and create rest of form components

:bulb: Feature request
Feature Name
Update form field implementation and create rest of form components.
The Desired Behavior

[ ] DaffFormFieldComponent refactor
[x] daffFormLabel directive
[x] Prefix/Suffix directives
[x] Valid/Focused/Raised states
[x] Move error-message outside of daff-form-field
[ ] Native Select control styles in form field
[ ] Create DaffRadioComponent
[x] Create DaffCheckboxComponent
[ ] Update DaffCheckboxComponent UI
[ ] Create DaffNativeTextareaComponent
[ ] Upate DaffSelectComponent to DaffNativeSelectComponent
[ ] Refactor DaffNativeSelectComponent
[ ] Upate DaffInputComponent to DaffNativeInputComponent
[ ] Refactor DaffNativeInputComponent

Your Use Case
As a user, I should be able to fill out fields in a form.
Prior Work

Environment

Daffodil version: X.Y.Z
Angular version: X.Y.Z

For Tooling issues:
- Node version: XX
- Platform:

Others:

Can I work on this ?

I think this is likely an internal ticket that either @xelaint or I need to work on, but thanks @shadow0500


CLI: add the aiida-pseudo family cutoffs set command

Fixes #50
This command allows to set recommended cutoffs for a given family. The
cutoffs are specified in a JSON file that is given as an argument and
the stringency is specified through the -s/--stringency option. If the
stringency already exists, it is simply overwritten.

Was wondering if we might need to emit a warning if a stringency is specified that already exists, with the --force option to prevent prompting. A lot more work and not sure if it is really necessary.

At some point will probably also need a family cutoffs default and family cutoffs list

Was wondering if we might need to emit a warning if a stringency is specified that already exists, with the --force option to prevent prompting. A lot more work and not sure if it is really necessary.

I'd think someone that goes through the effort of preparing the json file and then specifically writes an already existing stringency knows what they are doing?


Fixed product transformer bug

Fixed the bug #89, the problem was that one product didn't have a category, the API wasn't expecting this situation, now if a product doesn't have a category, the product transformer just wont include the category.

Thank you!!


command for clearing all buffers

Currently there are /znc clearallchannelbuffers and /znc clearallquerybuffers. /znc clearallbuffers to clear both channel and query buffers could be useful especially with mobile client.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

I actually have this as my own addon aliased to /clr for exactly this reason!
I thought it was a bit niche so I haven't PRd it, but:
#include <znc/Chan.h>
#include <znc/IRCNetwork.h>
#include <znc/Modules.h>
#include <znc/Query.h>
#include <znc/User.h>

class CClearAllBuffers : public CModule {
public:
        MODCONSTRUCTOR(CClearAllBuffers) {}

        virtual void OnModCommand(const CString& sCommand) {
            int count = 0;

            for (auto network : m_pUser->GetNetworks()) {
                for (auto chan : network->GetChans()) {
                    chan->ClearBuffer();
                    count++;
                }
                for (auto query : network->GetQueries()) {
                    network->DelQuery(query->GetName());
                    count++;
                }
            }

            PutStatus("Cleared " + CString(count) + " buffers");
        }
};

USERMODULEDEFS(CClearAllBuffers, "Provides command to clear ALL buffers")

Oh and if you just want the current network, simply use *alias:
<*alias> Actions for alias CL:
<*alias> 0   ZNC ClearAllChannelBuffers
<*alias> 1   ZNC ClearAllQueryBuffers
<*alias> End of actions for alias CL.

For those using the playback module:
/msg *playback clear *


[CARBONDATA-2423][SDK]SDK Reader support to read from Non Transactional Table

SDK Reader support to read from Non Transactional Table

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5569/

Retest this please

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4410/

Retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5577/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4416/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4671/

LGTM


Distributed tracing correlation issue.

Hey I do have quite similar issue to #266. My other services are sending the traceparent header and I'm using W3CTraceContextPropagator But it does not seems like the spans are correlated to the traceId from traceparent header. Instead the initial trace and the spans are created as new traces
I have attached the tracer.ts file
import { BatchSpanProcessor } from '@opentelemetry/sdk-trace-base';
import { NodeSDK } from '@opentelemetry/sdk-node';
import { AsyncLocalStorageContextManager } from '@opentelemetry/context-async-hooks';
import * as process from 'process';
import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http';
import {
  CompositePropagator,
  W3CTraceContextPropagator,
  W3CBaggagePropagator,
} from '@opentelemetry/core';
import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
import {
  SemanticResourceAttributes,
  TelemetrySdkLanguageValues,
} from '@opentelemetry/semantic-conventions';
import { Resource } from '@opentelemetry/resources';

// import { PrometheusExporter } from '@opentelemetry/exporter-prometheus';

//const metricReader = new PrometheusExporter({
//  port: 8081,
//});

const traceExporter = new OTLPTraceExporter({
  url: `http://otel-collector.tracing.svc:4318/v1/traces`,
});

const serviceName = 'api';

const spanProcessor = new BatchSpanProcessor(traceExporter);

const otelSDK = new NodeSDK({
  //  metricReader,
  resource: new Resource({
    [SemanticResourceAttributes.SERVICE_NAME]: serviceName,
    [SemanticResourceAttributes.TELEMETRY_SDK_LANGUAGE]: TelemetrySdkLanguageValues.NODEJS,
  }),
  spanProcessor: spanProcessor,
  contextManager: new AsyncLocalStorageContextManager(),
  instrumentations: [
    getNodeAutoInstrumentations({
      '@opentelemetry/instrumentation-fs': { enabled: false },
      '@opentelemetry/instrumentation-dns': { enabled: false },
      '@opentelemetry/instrumentation-net': { enabled: false },
      '@opentelemetry/instrumentation-winston': {
        enabled: true,
        logHook: (span, record) => {
          record['resource.service.name'] = serviceName;
        },
      },
      '@opentelemetry/instrumentation-http': { enabled: true },
      '@opentelemetry/instrumentation-express': { enabled: true },
      '@opentelemetry/instrumentation-aws-sdk': {
        enabled: true,
      },
      '@opentelemetry/instrumentation-redis-4': { enabled: true },
      '@opentelemetry/instrumentation-mongoose': { enabled: true },
    }),
  ],
  textMapPropagator: new CompositePropagator({
    propagators: [new W3CTraceContextPropagator(), new W3CBaggagePropagator()],
  }),
});

export default otelSDK;
// You can also use the shutdown method to gracefully shut down the SDK before process shutdown
// or on some operating system signal.
process.on('SIGTERM', () => {
  otelSDK
    .shutdown()
    .then(
      () => console.log('SDK shut down successfully'),
      (err) => console.log('Error shutting down SDK', err)
    )
    .finally(() => process.exit(0));
});

This is how the traces looks like atm.

Hi there,  could you ensure both services are propagating the same way? I have a POC here https://github.com/pragmaticivan/nestjs-otel-prom-grafana-tempo/blob/main/services/actor/src/instrumentation.ts#L32-L41 which has 2 services and they indeed propagate properly.

I see from the screenshot you are using Istio.
It for that, you also need B3 propagation, check the link above.
Also check this blog post: https://www.aspecto.io/blog/opentelemetry-and-istio-everything-you-need-to-know/

(Note that OpenTelemetry uses, by default, the W3C context propagation specification, while Istio uses the B3 context propagation specification – this can be modified).

Hi @pragmaticivan Sorry about the late reply. I have tested this out. still looks like the istio trace id is not getting assigned as the parent trace.
items to be sent [
  Span {
    attributes: { thisAttribute: 'this is a value set manually' },
    links: [],
    events: [ [Object] ],
    _droppedAttributesCount: 0,
    _droppedEventsCount: 0,
    _droppedLinksCount: 0,
    status: { code: 0 },
    endTime: [<PHONE_NUMBER>, 993068479 ],
    _ended: true,
    _duration: [ 0, 68479 ],
    name: 'healthCheck',
    _spanContext: {
      traceId: 'a813adbbf88fc19c7a359a55d270aca1',
      spanId: 'eb0f53ee9ed3ce9d',
      traceFlags: 1,
      traceState: undefined
    },
    parentSpanId: undefined,
    kind: 0,
    _performanceStartTime: 24690.612481,
    _performanceOffset: -0.0185546875,
    _startTimeProvided: false,
    startTime: [<PHONE_NUMBER>, 993000000 ],
    resource: Resource {
      _attributes: [Object],
      asyncAttributesPending: false,
      _syncAttributes: [Object],
      _asyncAttributesPromise: [Promise]
    },
    instrumentationLibrary: { name: 'basic', version: undefined, schemaUrl: undefined },
    _spanLimits: {
      attributeValueLengthLimit: Infinity,
      attributeCountLimit: 128,
      linkCountLimit: 128,
      eventCountLimit: 128,
      attributePerEventCountLimit: 128,
      attributePerLinkCountLimit: 128
    },
    _spanProcessor: MultiSpanProcessor { _spanProcessors: [Array] },
    _attributeValueLengthLimit: Infinity
  }
]

This is a sample span below is the request this services got.
 curl -H 'traceparent: 00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01' http://localhost:4003/otel-test

and I have updated my config as well below is how it looks now
import { BatchSpanProcessor } from '@opentelemetry/sdk-trace-base';
import { NodeSDK } from '@opentelemetry/sdk-node';
import * as process from 'process';
import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http';
import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
import {
  SemanticResourceAttributes,
  TelemetrySdkLanguageValues,
} from '@opentelemetry/semantic-conventions';
import { Resource } from '@opentelemetry/resources';
import { UndiciInstrumentation } from '@opentelemetry/instrumentation-undici';
import {
  CompositePropagator,
  W3CTraceContextPropagator,
  W3CBaggagePropagator,
} from '@opentelemetry/core';
import { AsyncLocalStorageContextManager } from '@opentelemetry/context-async-hooks';

const traceExporter = new OTLPTraceExporter({
  //url: `http://otel-collector.tracing.svc:4318/v1/traces`,
  url: 'http://localhost:4318/v1/traces',
});

const serviceName = 'slocoach-api';

const spanProcessor = new BatchSpanProcessor(traceExporter);

const otelSDK = new NodeSDK({
  spanProcessor: spanProcessor,
  contextManager: new AsyncLocalStorageContextManager(),
  instrumentations: [getNodeAutoInstrumentations(), new UndiciInstrumentation()],
  textMapPropagator: new CompositePropagator({
    propagators: [new W3CTraceContextPropagator(), new W3CBaggagePropagator()],
  }),
});

export default otelSDK;
// You can also use the shutdown method to gracefully shut down the SDK before process shutdown
// or on some operating system signal.
process.on('SIGTERM', () => {
  otelSDK
    .shutdown()
    .then(
      () => console.log('SDK shut down successfully'),
      (err) => console.log('Error shutting down SDK', err)
    )
    .finally(() => process.exit(0));
});

@z9fr
textMapPropagator: new CompositePropagator({
propagators: [new W3CTraceContextPropagator(), new W3CBaggagePropagator()],
}),
^ this is the problem, you also need b3, which is required by istio in order to propagate it.
That's what you want instead:
https://github.com/pragmaticivan/nestjs-otel-prom-grafana-tempo/blob/main/services/movie/src/instrumentation.ts#L32-L41

Hey @pragmaticivan thank you so much for the help. yes this seems to be working


[Feature ]LKIP-26 Linkis removes the underlying engine dependency optimization feature

描述：LKIP-26 Linkis去底层引擎依赖优化特性
需求内容

EngineConn不再打入底层引擎的依赖
移除json 4s依赖

Description: LKIP-26 Linkis removes the underlying engine dependency optimization feature
Required content

EngineConn no longer imports the dependencies of the underlying engine
Remove json 4s dependency

Hello, you can directly reply to the issue to claim it

hello ,I want to have a try ,is it ok ?


add error logs; handle div-0 for reward calc

Added error logs
Added catch for div-0 error that may occur if workers aren't sufficiently live in a topic given the epoch length. If we catch that specific error then we don't do more by way of reward emission and simply continue with EndBlock

Suggestion: use logger instead of fmt.Println()
It can be good for now to make these logs more visible during edgenet

Suggestion: use logger instead of fmt.Println()
It can be good for now to make these logs more visible during edgenet

I agree we should use the logger but I think that we do fmt.Println all over the codebase so at this point I think i would be appropriate to make a backlog ticket for someone to go in and replace everywhere in the codebase with appropriate logging

Suggestion: use logger instead of fmt.Println()
It can be good for now to make these logs more visible during edgenet

I agree we should use the logger but I think that we do fmt.Println all over the codebase so at this point I think i would be appropriate to make a backlog ticket for someone to go in and replace everywhere in the codebase with appropriate logging

Created ORA-882


TypeError: (0 , w.createStyles) is not a function when adding <ContextMenuProvider>  in _app.tsx.

Describe the bug
in my next.js with electron template project:
when I add <MantineProvider> in _app.tsx, it works fine.
// _app.tsx
...
function MyApp({ Component, pageProps }: AppProps) {
  return (
    <MantineProvider>
        <React.Fragment>
          <MyLayout>
              <Component {...pageProps} />
          </MyLayout>
        </React.Fragment>
    </MantineProvider>
  );
}

but when I add  it get error:
<MantineProvider>
  <ContextMenuProvider>
    <React.Fragment>
      <MyLayout>
          <Component {...pageProps} />
      </MyLayout>
    </React.Fragment>
  </ContextMenuProvider>
</MantineProvider>

the error info:
 ⚠ Fast Refresh had to perform a full reload. Read more: https://nextjs.org/docs/messages/fast-refresh-reload
 ⨯ TypeError: (0 , w.createStyles) is not a function
    at Object.<anonymous> (/Users/john/Desktop/projects/test/mycode-layout-demo-01/node_modules/.pnpm/registry.npmmirror.com+mantine-contextmenu@1.3.15_@mantine+core@7.0.0_@mantine+hooks@7.0.0_react@18.2.0/node_modules/mantine-contextmenu/dist/index.cjs:1:944)
    at Module._compile (node:internal/modules/cjs/loader:1269:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1324:10)
    at Module.load (node:internal/modules/cjs/loader:1124:32)
    at Module._load (node:internal/modules/cjs/loader:965:12)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at Module.require (node:internal/modules/cjs/loader:1148:19)
    at mod.require (/Users/john/Desktop/projects/test/mycode-layout-demo-01/node_modules/.pnpm/registry.npmmirror.com+next@13.5.2_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/require-hook.js:64:28)
    at require (node:internal/modules/cjs/helpers:110:18)
    at mantine-contextmenu (/Users/john/Desktop/projects/test/mycode-layout-demo-01/renderer/.next/server/pages/_app.js:442:18)
    at __webpack_require__ (/Users/john/Desktop/projects/test/mycode-layout-demo-01/renderer/.next/server/webpack-runtime.js:33:42)
    at eval (webpack-internal:///./pages/_app.tsx:17:77)
    at __webpack_require__.a (/Users/john/Desktop/projects/test/mycode-layout-demo-01/renderer/.next/server/webpack-runtime.js:97:13)
    at eval (webpack-internal:///./pages/_app.tsx:1:21)
    at ./pages/_app.tsx (/Users/john/Desktop/projects/test/mycode-layout-demo-01/renderer/.next/server/pages/_app.js:289:1) {
  page: '/'
}
 ✓ Compiled /_error in 302ms (1412 modules)
TypeError: (0 , w.createStyles) is not a function
    at Object.<anonymous> (/Users/john/Desktop/projects/test/mycode-layout-demo-01/node_modules/.pnpm/registry.npmmirror.com+mantine-contextmenu@1.3.15_@mantine+core@7.0.0_@mantine+hooks@7.0.0_react@18.2.0/node_modules/mantine-contextmenu/dist/index.cjs:1:944)
    at Module._compile (node:internal/modules/cjs/loader:1269:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1324:10)
    at Module.load (node:internal/modules/cjs/loader:1124:32)
    at Module._load (node:internal/modules/cjs/loader:965:12)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at Module.require (node:internal/modules/cjs/loader:1148:19)
    at mod.require (/Users/john/Desktop/projects/test/mycode-layout-demo-01/node_modules/.pnpm/registry.npmmirror.com+next@13.5.2_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/require-hook.js:64:28)
    at require (node:internal/modules/cjs/helpers:110:18)
    at mantine-contextmenu (/Users/john/Desktop/projects/test/mycode-layout-demo-01/renderer/.next/server/pages/_app.js:442:18)
    at __webpack_require__ (/Users/john/Desktop/projects/test/mycode-layout-demo-01/renderer/.next/server/webpack-runtime.js:33:42)
    at eval (webpack-internal:///./pages/_app.tsx:17:77)
    at __webpack_require__.a (/Users/john/Desktop/projects/test/mycode-layout-demo-01/renderer/.next/server/webpack-runtime.js:97:13)
    at eval (webpack-internal:///./pages/_app.tsx:1:21)
    at ./pages/_app.tsx (/Users/john/Desktop/projects/test/mycode-layout-demo-01/renderer/.next/server/pages/_app.js:289:1)

Screenshots
If applicable, add screenshots to help explain your problem.

OS: macOS

I have tried remove .next/ and rebuild, it still not work.

The version of related dependencies:
    "@emotion/react": "^11.11.1",
    "@emotion/server": "^11.11.0",
    "@mantine/core": "^7.0.0",
    "@mantine/hooks": "^7.0.0",
    "@mantine/next": "^6.0.21",

    "mantine-contextmenu": "^1.3.15",

That happens because mantine-contextmenu is not yet compatible with Mantine 7.x, which introduced breaking changes regarding styling.
I'll hopefully be able to come up with an updated version over the next couple of weeks.
While this is one of my dearest open-source projects and has quite a lot of users, I lack proper sponsorship to be able to dedicate the necessary time resources to it, but it certainly is on my to-do list for the near future.


Build pipeline

Moving to next module

 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.:x: mbraunwart sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


[issue 1.12] Compat with Immersive Engineering side output in multiplayer.

While checking Immersive engineering blocks for the output/input side when looking at the blocks, on single player the tool tip shows "input/output" as expected, but on multiplayer is shows a nasty red error message "ImmersiveEngineering:sideconfiginfo", this for example on a Wodden barel, but its the same for all other blocks with specific setups for output and input sides.
Thanks.

Report to immersive engineering with logs

Just lurking around. Looks like this one can be closed.


app/heroes.component.ts(69,41): error TS2304: Cannot find name 'ngOnInit'.

During tutorial when creating new heroes.component.ts from app.component.ts. I cannot start the app with npm start. I get this error.
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'tsc && concurrently "tsc -w" "lite-server" '.
npm ERR! This is most likely a problem with the angular2-quickstart package,
npm ERR! not with npm itself.
The app runs perfectly if I don't stop the app before creating heroes.component.ts. But if I stop the app for break but I cannot start the app later.

Oh, it looks like I was implementing ngOnInit instead of OnInit. My mistake.


double "/" in urls (after domain name)

This mirror automatically include a double // at the beginning of each urls on the homepage
http://ec2-52-16-42-179.eu-west-1.compute.amazonaws.com/
example : https://bahrainmirror.global.ssl.fastly.net//news/22621.html
Have you ever face this kind of issue ?

What's the upstream URL (source website)?

The upstream address : http://bahrainmirror.com/

I think I have a beginning of a clue for this. The website http://bahrainmirror.com/ uses on its pages relatives urls. The problem is that those urls do not start with a "/" and start directly with the name of the repository. Example : some text
To solve the problem, I had to remove the test line 60 :
                        // If path does not start with a slash, prepend current path directory.
                        if ($attr_val_components['path'][0] != '/') {
                            $attr_val_components['path'] = dirname(
                                $request->getUrlComponent('path')) . '/' .
                                 $attr_val_components['path'];
                        }

Now it works.


Repo update time cross talk.

Gogs version (or commit ref): <IP_ADDRESS>3
Git version:
Operating system:
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io:

[ ] Yes (provide example URL)
[ ] No
[ ] Not relevant

Log gist:

Description
After you transfer repo to the other, and then fork from it, when the other updates the repo, your fork will show a new update time.

This may be just my problem, I did not change remote url.


Error "expected *const u32, found *const usize"  when using later version

I got this error " self.cells.as_slice().as_ptr()
|         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected *const u32, found *const usize" when wasm-pack build using fixedbitset="0.5.1" .But when I change to "0.1.9" the compilation is successful. why is this happening and how to use the latest version?

Can you post the full error? It's not possible to tell what the exact root cause of the compilation failure from what was provided.


Add a delegate for cancelling unzips

This adds a zipArchiveShouldUnzipFileAtIndex, which is called before
each call to zipArchiveWillUnzipFileAtIndex, allowing a delegate to
cancel the unzip progress.
Originally I thought this was unnecessary due to https://github.com/soffes/ssziparchive/pull/61 but that one is for zipping, this is for unzipping.

#131


Provide validation stream

For handling input and form validation, it could be useful to be able to build a validation stream which could be triggered on input change, pass data through validation methods and reports errors.
I guess, validation could be handled with Cats validated API. May an outwatch API could help building such streams.

Is there an example yet on how to model input element validation errors with Outwatch? I'm trying to do something akin to Redux Form (having a mini-stream inside the element that captures validation issues, and emit to the outside only if value), but I'm getting stuck.


Can you have dropdown options populate from an answer in a single input

Are you requesting a feature, reporting a bug or asking a question?
Asking a question
What is the current behavior?
Right now I have a question with text boxes where our customers can list the locations they need service at. Later in the survey I want them to indicate their primary location from the the list they provided earlier, probably in a dropdown. For now the best solution I could come up with is asking them to list that location again. I'm not trying to confuse my customers or give them busy work. I hope that makes sense.
What is the expected behavior?
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
your_code_here

Specify your

browser: chrome
browser version: 69.0.3497.100
surveyjs platform (angular or react or jquery or knockout or vue):
surveyjs version: 1.0.46

@blumedoom1 Here is the example by using onValueChanged event.
Thank you,
Andrew

I appreciate you getting back to me on this, thank you.
Claire Blume
Executive Assistant
Cypient Black LLC
8070 Georgia Ave. Ste. 407
Silver Spring, MD 20910
(301) 358-3819
On Thu, Sep 27, 2018 at 2:55 AM Andrew<EMAIL_ADDRESS>wrote:

@blumedoom1 https://github.com/blumedoom1 Here is the example
https://next.plnkr.co/edit/alaByJhNfQM9jdH4 by using onValueChanged
event.
Thank you,
Andrew
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/surveyjs/surveyjs/issues/1359#issuecomment-424979189,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ApmTVrnxrjLg15qLuT8LcLRLK_7PwqgNks5ufHZDgaJpZM4W7QVK
.


[Feature] Fog Text Animation

Description
Hi @Rakesh9100
This feature will add fog text animation as shown in given video
https://github.com/Rakesh9100/Beautiify/assets/125133940/75669ce1-c99e-4c0e-ad9b-3503da600a71
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Go ahead @Dhairya1Gupta


feat(common/syntax_pos): FileName supports URLs

This allows URLs to be represented as file names without being modified.  For platforms, like Deno, that handle sources a "native" URLs this is better than converting the URL to a FileName::Custom.
Closes: #2201

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


Environment section added to Bug_Report.md

Description
Added Environment Details Section in Bug_Report.md
Fixes #71
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Checklist:

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

Screenshots

Original
Updated

great @Purvanshsingh

great @Purvanshsingh


Color effect

I personally think it should be "set [color v] effect to (0)", because that's like Scratch 2.0 and it's usual to the users.

like that ^

I don't understand you. This block is on the pallet

Hi @eliapplethetech we have both "set" and "change" available in the blocks palette (look under "looks") here: http://llk.github.io/scratch-vm/#.
This is the same as Scratch 2.0. Let us know if you see any other inconsistencies! 😄

I was talking about the grammar & syntax.

Assuming you're referencing this:

He means that the block says "effect [color v]" instead of "[color v] effect"

@jupiterio Yes, just clarifying that this wasn't an issue of set/change, as the screenshots were of different blocks.

@LFP6 Sure, no worries, I was also clarifying.


Find by a null time doesn't work

create table events (
  id serial not null primary key,
  "time" timestamp with time zone
);
insert into events ("time") values (NULL);
insert into events ("time") values (NULL);
insert into events ("time") values (NULL);

client.events.findMany({ where: { time: null } })

Expect 3 fields, don't get any back.

I received a rust panic when I tried the above:

 const data = await client.events.findMany(Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: FromSql(1), cause: Some(WrongType { postgres: Type(Timestamptz), rust: "core::option::Option<alloc::string::String>" }) }) })
    at PrismaClientFetcher.request (/Users/harshit/code/reproductions/issue-matt-2/node_modules/@prisma/client/index.js:89:17)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
(node:8290) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:8290) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
 const data = await client.events.findMany(Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: FromSql(1), cause: Some(WrongType { postgres: Type(Timestamptz), rust: "core::option::Option<alloc::string::String>" }) }) })
    at PrismaClientFetcher.request (/Users/harshit/code/reproductions/issue-matt-2/node_modules/@prisma/client/index.js:89:17)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
(node:8290) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:8290) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Schema:
generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
  url      = "postgresql://xxxxx:xxxxxx@localhost:5432/matt-2?schema=public"
}

model events {
  id   Int       @id
  time DateTime?
}

Version<EMAIL_ADDRESS>binary version: a1a562d6f7093ae4ac17ebe3c8d2b387b2ed0598

Can you please reconfirm this @pantharshit00? @tomhoule recently fixed some stuff related to timestamps, so maybe this returns a different error message now.

Unable to reproduce on the query-engine level.
Datamodel:
model Event {
  id   Int       @id
  time DateTime?
}

After firing a bunch of mutations with and without time set:
mutation {
  createOneEvent(data: {
    id: 5
    time: "2020-03-17T13:32:09"
  }) {
    id
    time
  }
}

I am able to get only events with time: null as following:
{
  findManyEvent(where: {
    time: null
  }) {
    id
    time
  }
}

Unable to reproduce as well in preview024. Closing


update NNlib compat, require julia 1.9

related to https://github.com/chengchingwen/Transformers.jl/issues/153
I also update the tagbot and compathelper configuration files to the recent defaults.

Could you also handle #21 in this PR? I think it would be better to make a minor release for dropping LTS ver.


Sync code of conduct from cncf upstream

The content in https://kubernetes.io/community/code-of-conduct/ is out-of-date.
We can check upstream file and diff for upstream to verify this PR.
This PR also moved master branch to main branch for links.

/hold
cc @kubernetes/code-of-conduct-committee

/lgtm


Web-Console: change go to sql button to more button

Description
I have replaced the go to sql button with a more button with a popover with a basic actions menu. This frees up some space in the ui to add more actions in the future. Additionally it is now consistent across all views
This PR has:

[x ] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

Check the items by putting "x" in the brackets for the done things. Not all of these items apply to every PR. Remove the
items which are not done or not relevant to the PR. None of the items from the checklist above are strictly necessary,
but it would be very helpful if you at least self-review the PR.

For reviewers: the key changed/added classes in this PR are MyFoo, OurBar, and TheirBaz.
(Add this section in big PRs to ease navigation in them for reviewers.)

travis failures look legitimate: https://travis-ci.org/apache/incubator-druid/jobs/567084730#L1593

Thank you for addressing my feedback, this is good to merge IMO 👍


test: adding test to rating component.

Pull Request Test Coverage Report for Build 180

8 of 9 (88.89%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.4%) to 75.589%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/Rating/index.js
4
5
80.0%

Totals

Change from base Build 169:
0.4%

Covered Lines:
1159

Relevant Lines:
1463

💛  - Coveralls


Support for OpenBSD

Hello
It would be wonderful if vpnfailsafe.sh could be made to work on OpenBSD.
Thanks in advance for your time and effort.

This seems very unlikely to ever be implemented. Too much Linux-specific stuff. Closing, sorry.

Might be worth considering this port https://github.com/giovanifss/vpnfailsafe-openbsd


SOLR-16394: Tweak backup listing, deletion to be more REST-ful

https://issues.apache.org/jira/browse/SOLR-16394
Description
Solr has slowly been modifying its v2 APIs to align around a more REST-ful model.  Many APIs have already been through this re-alignment but many more remain including backup-listing and deletion.
Solution
This commit tweaks the list-backups and delete-backups v2 APIs to be more REST-ful.  The APIs are now:

List Backups - GET /api/backups/bName/versions
Delete Backup By ID - DELETE /api/backups/bName/versions/123
Delete Backups By Recency - DELETE /api/backups/bName/versions?retainLatest=3
Garbage Collect Orphaned - PUT /api/backups/bName/purgeUnused

Tests
Existing backup/restore tests continue to pass.  Additional tests added in DeleteCollectionBackupAPITest.
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[x] I have run ./gradlew check.
[x] I have added tests for my changes.
[x] I have added documentation for the Reference Guide

Alright, tests and 'check' look good.  Merging this now to main, will backport in a few days if fucit doesn't show any spikes in the backup-related tests.


Delete multiple hosts

Feature was added to Checkmk in Werk #5809
https://checkmk.de/check_mk-werks.php?werk_id=5809

Thanks for your contribution and sorry for the delay. :+1: