Translate post-03 to Japanese

The title says it all.
@JohnTitor could you review the translation?

Hey, thanks for translating and the ping! I'd like to review in the next week, but seems your branch is messed up?

@JohnTitor Thank you! and I fixed the messed-up branch by rebasing to the master.

@JohnTitor Thank you! Your suggestion makes the translation way more natural.
Can I add you as a co-translator as we did in post-02?

Can I add you as a co-translator as we did in post-02?

Yeah, of course!

@phil-opp review process is completed! Could you merge this PR?

Thanks a lot!

Published at https://os.phil-opp.com/ja/vga-text-mode/


'ExpoModulesCore' has a minimum deployment target of iOS 13.0

expo project:

This issue is nearly content free https://stackoverflow.com/help/how-to-ask
I can only really decipher what you mean + want because of this #344 also existing
But that PR has issues, as described.


Upgrading golang to  1.22.5 and libs to mitigate CVE-2024-24790

golang to 1.22.5
alpine to 3.19
other go deps

Tested against a prometheus instance looking good

Please bump the alpine used in the alpine based image as well so we get the fixes there too

Updated distroless image and tested again


Fix template_root to point #{VagrantPlugins::GuestJunos.source_root}/…

If you set the $VAGRANT_HOME value other than $HOME, vagrant-junos cannot find the template directory.

Thanks for the pull - let me get a few tests in (since the CI pipeline isn't really testing anything against a Junos instance)

I can't believe I missed this before (source_root method).  LGTM!


Add option to mimic a webbrowser's CORS functions.

For testing APIs, it would be really nice to be able to give httpie an origin, and instruct it to follow CORS rules when talking to the service, just like a browser would.

Is that feature implemented?

That would be great, CORS is very tricky to test...


xsens2zoo doesnt work

I am running 'xsens2zoo_example.m' Matlab 2019a, but it does not work.
Does it run properly only in Matlab 2016b version?
*********** Error message ***************
Undefined function or variable 'sheetnames'.
Error in xsens2zoo (line 43)
sname=sheetnames(fl{i});
Error in xsens2zoo_example (line 34)
xsens2zoo(fld,ext);

Hello, we are looking into the issue and will be solved in few days. I will run on Matlab 2016b version after that.
Thank you.

Hello, Issue is fixed in v1.7.2.


ISPN-15659 Hot Rod Client RemoteCache#computeAsync() can lose the res…

…ult of remapping processing when executed concurrently against a new entry

Hey, @msfm, thanks for finding the cause and opening the PR! I pulled your commit and opened #11934 to add the fix on main. It has a few more additions, but once we merge that, we can cherry-pick it here.

Ready for review.


Any 2.* version of zend-xmlrpc is now accepted instead of just 2.3.*

This makes it easier for composer to resolve to an installable set of packages. (Which one of my current projects fails to do because of the 2.3.* requirement.)
This should be safe to do because ZF uses semver, and therefore minor (x.Y.z) releases do not introduce breaking changes.

I agree. I will merge this and increase the version to 0.2.2.

Great, thanks!


recognise mutiline import

My env don't recognise mutiline import,  is there something else to do ?

RN 0.13-RC ships with multiline import -- upgrading is my recommendation.

Closing this as the fix is in RN upstream.


the question of the dimension of output

hi, thanks for your great work!
And I have a question, and hope you can give me an answer.
why the output of detection head is $176\times48\times16$, not $M\times176\times48\times16$? I guess that although we apply transformer backbone for $H_i(i = 1, 2,...M)$, but you only apply detection head for the feature belonging to ego vehicle. Is that right? Looking forward to you reply!

Yes. you are correct. After the transformer, ego has seen all information from others.


Adds Embedded Kafka

Adds Embedded Kafka for integrated tests.
Does not support Kafka9.

@Avasil Yes sir, you are right. Will do that later today.


How Do You Use The Cheat Function

Alright! You put the cheat code in the file for line 1 and the format is  <1 for on and 0 for off><No Space, Name of Cheat> Save it, rename it as the rom name with the extension of .cht and put it with the .gb rom


Importing injectContent in root causes the dev server to hang?

Please provide the environment you discovered this bug in.
1.4.0
I tried to reproduce it using the StackBlitz but it doesn't start ...
But simply use npm create analog@latest and use the blog starter
Which area/package is the issue in?
content
Description
In a clean project

import and call injectContent() from @analogjs/content
run the app
open app at the provided URL
the site never loads

Please provide the exception or error you saw
No exceptions, no warnings, no errors :(

Other information
I tried this both with the nx preset and the regular npm create method
I would be willing to submit a PR to fix this issue

[ ] Yes
[ ] No

More context in this Discord thread https://discord.com/channels/994618831987290112/1245693312849940521

The function call seems to work down below in the [slug].page.ts though so it seems that there is an issue with calling it in the root component... 🤔

Will you try this again with the latest release?


mqtt event source seems to be using deprecated connection methods

I ran pip install aiomqtt and got aiomqtt-1.2.1 installed which, when used from the mqtt event source reports:
2023-10-01 09:42:51,286 - mqtt - WARNING - The manual `connect` and `disconnect` methods are deprecated and will be removed in a future version. The preferred way to connect and disconnect the client is to use the context manager interface via `async with`. In case your use case needs to connect and disconnect manually, you can call the context manager's `__aenter__` and `__aexit__` methods as an escape hatch instead. `__aenter__` is equivalent to `connect`. `__aexit__` is equivalent to `disconnect` except that it forces disconnection instead of throwing an exception in case the client cannot disconnect cleanly. `__aexit__` expects three arguments: `exc_type`, `exc`, and `tb`. These arguments describe the exception that caused the context manager to exit, if any. You can pass `None` to all of these arguments in a manual call to `__aexit__`.

@kubealex @jpmens
F.Y.I., aiomqtt 2.0.0 had been released on 16 Jan, and in 2.0.0 connect (and disconnect) method completely removed. So kubealex.eda.mqtt 1.0.7 no longer works with aiomqtt 2.0.0.

2024-01-17 13:24:09,200 - ansible_rulebook.engine - INFO - Calling main in kubealex.eda.mqtt
2024-01-17 13:24:09,201 - ansible_rulebook.engine - ERROR - Source error 'Client' object has no attribute 'connect'
2024-01-17 13:24:09,201 - ansible_rulebook.engine - ERROR - Shutting down source: kubealex.eda.mqtt error : 'Client' object has no attribute 'connect'

As a workaround, we have to install 1.x of aiomqtt to make kubealex.eda.mqtt work.

Thanks a lot for pointing that out @jpmens and @kurokobo!
I just tested and released v1.0.8 that is working like a charm, do you mind giving it a try @kurokobo?
Thank you!

@kubealex
Thanks for rapid update, I've tested kubealex.eda.mqtt on kubealex.eda==1.0.8 with aiomqtt==2.0.0 and confirmed that it works well without any errors nor warnings.
I think this issue can be closed. Thanks!

The closing comment was lost in space :D Closing as discussed, thanks @kurokobo for the tests!


[BUG] Recent commit introduced NullReferenceException in LogsQueryClient constructor

Library name and version
Azure.Monitor.Query <IP_ADDRESS>
Describe the bug
In commit 7ebbbd0 by @nisha-bhatia, there was a recent change which can cause a NullReferenceException if the LogsQueryClient constructor is called with just the credential.
If the second parameter is null, then options.Audience?.ToString() will throw an exception since options is null.
        /// <summary>
        /// Creates an instance of <see cref="LogsQueryClient"/> for Azure Public Cloud usage. Uses the default 'https://api.loganalytics.io' endpoint.
        /// <code snippet="Snippet:CreateLogsClient" language="csharp">
        /// var client = new LogsQueryClient(new DefaultAzureCredential());
        /// </code>
        /// </summary>
        /// <param name="credential">The <see cref="TokenCredential"/> instance to use for authentication.</param>
        public LogsQueryClient(TokenCredential credential) : this(credential, null)
        {
        }

        /// <summary>
        /// Creates an instance of <see cref="LogsQueryClient"/> for Azure Public Cloud usage. Uses the default 'https://api.loganalytics.io' endpoint, unless <see cref="LogsQueryClientOptions.Audience"/> is set to an Azure sovereign cloud.
        /// </summary>
        /// <param name="credential">The <see cref="TokenCredential"/> instance to use for authentication.</param>
        /// <param name="options">The <see cref="LogsQueryClientOptions"/> instance to use as client configuration.</param>
        public LogsQueryClient(TokenCredential credential, LogsQueryClientOptions options) : this(string.IsNullOrEmpty(options.Audience?.ToString()) ? _defaultEndpoint : new Uri(options.Audience.ToString()), credential, options)
        {
        }

Expected behavior
No exception, constructor should work as before.
Actual behavior
Null reference exception when using this constructor.
new LogsQueryClient(credential)
Reproduction Steps
Instantiate a LogsQueryClient with:
var credential = new ClientSecretCredential(settings.TenantId, settings.ClientId, settings.ClientSecret);
var client = new LogsQueryClient(credential)
Environment
.NET 6, C#

@nisha-bhatia do you want to patch the GA SDK for this fix? Should we consider adding more test coverage here?

I just came across the same error "NullReferenceException" after updating to 1.3.0.

A new Nuget package has been released fixing this!


CONSTANT in C

How creating a constant in C?
When I create a object I need some:

global variable $global_variable = 1
const variable VAR1 = 100 inside object

is possible to add 'read only' variable in object or constants?

You can use mrb_mod_const_set() to define a constant.
And mrb_gv_set() to create a global variable.
But I don't really understand some of your terms, e.g. "const variable inside object" or "read-only variable in object". Could you elaborate?

Ok, I show wha i nedd in small program. Please temm me what I can writing in C this script.
(only $glob,CONSTGLOB,CONSTFUN and @read_only )
**$glob = 5.2
CONSTGLOB = 2
class Fun
CONSTFUN=10
attr_reader :read_only** #constant for me because i cannot chcange value
test, not implementing only for show
#all below is not necesary to implementing
def my(x)
@read_only = 7
return x*CONSTFUN
end
end
puts "My glob #{$glob}"
f=Fun.new
puts "and my function #{f.my(3)}"
puts "Const variable #{CONSTGLOB*$glob}"
puts Fun::CONSTFUN
puts f.read_only

You don't have to write everything in C. To write Ruby code, write in Ruby.
It's much much easier to write them in Ruby. You can create a mrbgem using Ruby.
In fact, mruby implements many of standard library classes in Ruby.

CONST variable inside object is not complicated

OK, you don't need string interpolation, nor attr_reader.  Things would be much easier.
#inlcude <mruby/variable.h>
void mrb_gv_set(mrb_state *mrb, mrb_sym sym, mrb_value val) for global variables
void mrb_define_global_const(mrb_state *mrb, const char *name, mrb_value val) for global constants.
void mrb_const_set(mrb_state *mrb, mrb_value mod, mrb_sym sym, mrb_value val) for constants inside classes.

Can I close the issue?

yes


type 'AppSettingsTable' is not a subtype of type 'TableInfo<Table, DataClass>' of 't'

After upgrading to the latest Dart/Flutter, our CI started failing with the following error:
2 errors, see stacktrace for details
Error #1: type 'AppSettingsTable' is not a subtype of type 'TableInfo<Table, DataClass>' of 't'\n\nStacktrace:
package:moor/src/runtime/executor/stream_queries.dart         StreamQueryStore.handleTableUpdates.<fn>
dart:core                                                     Iterable.toSet
package:moor/src/runtime/executor/stream_queries.dart 106:67  StreamQueryStore.handleTableUpdates
package:moor/src/runtime/database.dart 220:34                 QueryEngine._customWrite
\n\n\nError #2: Unimplemented handling of missing static target\n\nStacktrace:
dart:async                            _AsyncAwaitCompleter.start
test/app/app_manager_test.dart 51:12  main.<fn>

All the tests in app_manager_test.dart failed with this error, yet other tests that hit the AppSettingsTable work fine. I managed to fix it by aliasing one of the imports in that file (i.e change import 'package:my_app/data/some_api.dart'; -> import 'package:my_app/data/some_api.dart'; as r), but after removing the as r I can no longer reproduce the failure!
Current theory is that there was some weird caching going on related to the Dart/Flutter upgrades, because it was only happening on some machines. Have you seen anything like this before?

Have you seen anything like this before?

Uh, no... That's sounds like a very bizarre bug somewhere in the Dart compiler, especially that "Unimplemented handling of missing static target" sounds weird. By a quick look, this is thrown by the VM when a static method doesn't exist. Again, very weird that this is happening in an internal class of the Dart SDK (_AsyncAwaitCompleter.start).
As you said, this kind of sounds like a cache problem, but I don't know enough about the Dart compiler frontend to say that with confidence.
I'll close this since it likely isn't a moor issue. It might make sense to open an issue on Flutter or the Dart SDK if this happens again. Though I imagine it can be hard to reproduce.

Alright thanks for taking a look, appreciate it! I'll definitely file a Dart SDK issue if I'm able to reproduce it.


Blocked messages not showing correctly in the exported log

Bug report
Description
Replies from the chatbot which are blocked are shown on the right side of the log, rather than the left.
Reproduction steps
Steps to reproduce the behaviour:

Go to sandbox mode
Activate a defence, for example character limit
Trigger the defence with a long message
Export the log

Expected behaviour
The blocked bot message should be on the left.
Screenshots

Software (please complete the following information):

Browser: Edge

Acceptance criteria
GIVEN the chat history contains a blocked bot reply
WHEN the log is exported
THEN the blocked reply is shown on the left

Looks good for character limit, input filtering, output filtering and prompt evaluation


Refs #33397 -- Added extra tests for resolving an output_field of CombinedExpression.

buildbot, test on oracle.


Foyle BlockLog Viewer

Follow on to #54
Now that we are created logs for blocks and traces we should build an application to view them.

Initial version is fixed by #69


Update snarkyjs for custom gates support

This is purely a bindings update.

!ci-build-me

!ci-build-me


Move webhook setup before manager start

According to
https://github.com/kubernetes-sigs/controller-runtime/issues/1148,
there's a race condition between manager start and webhook register.
This commit moved webhook setup before manager start.
Tested on GKE cluster. The nil pointer error was not detected for 20
times.

/assign @adrianludwin
/assign @rjbez17

lgtm with minor nits. You don't need to test another 20 times after making my suggested changes, once will be fine :)

Updated. BTW tested 20 times because last time it took about 20 times to reproduce the race condition.

/retest
looking the object reconciler issue now.


[cloud_firestore] Use cloud_firestore in a Dart command line program

Is your feature request related to a problem? Please describe.
For development I need to add many entities to a Cloud Firestore instance. Currently I go to the Cloud Firestore console and add them manually. That's error-prone and tedious.
Describe the solution you'd like
I'd like to be able to write helper scripts in Dart that populate a Cloud Firestore instance with example entities. The Dart code should be able to import the same code that the Flutter app uses to communicate with Cloud Firestore to avoid code duplication. Currently that's not possible, since cloud_firestore depends on dart:ui:
$ dart add_tournaments.dart
../../../../progs/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.12.9+4/lib/cloud_firestore.dart:10:8: Error: Not found: 'dart:ui'
import 'dart:ui' show hashValues, hashList;
...

@milesbenettdyson have you figured out a way around this?

No, unfortunately not.

Since my comment I've had quite a bit of experience with Firebase. Firebase seems to like having client and server ("admin") libraries separately. For example, I'm using the Node.js admin library which contains a few functions that the client library doesn't have. I think it's for similar reasons that a single Dart library for both admin and client functionality won't be considered. So then it becomes about asking for an admin Dart library... and since Dart is a language heavily engineered for mobile, I think that's unlikely to happen.

This isn't on the roadmap unfortunately as we rely on the original Firebase SDKs such as the Web SDK to provide functionality. Having said that there are projects like firebase_admin that aim to provide Admin SDK functionality in Dart which you could use in your CLI.


Existing reply list in article page

Feature
Article page "existing reply" section, includes:

Component hierarchy: [id].js (article page) --> <CurrentReplies> covers all article replies & deleted article replies --> list of <ArticleReply> --> <EditorName>, <CopyButton>, <ReplyFeedback> in each <ArticleReply>.
Add <CurrentReplies> to [id].js.
Refactor <CurrentReplies> to use apollo-client; process mutation of existing replies at this level.
ReplyConnection.js renamed to ArticleReply.js and rewritten using apollo-client
Replace components/Modal use with material-ui Dialog; Replace balloon-css with material-ui Tooltip

Refactor

adds useCurrentUser hook that allows users to check if an user is logged in. Caching is done by apollo client.
uses BatchHttpLink to replace original HttpLink so that graphql requests in same render will be gathered in one HTTP request.
rename Hyperlinks fragment variable name to match convention
handle i18n for date-fns format() and formatDistanceToNow() in lib/dateWithLocale.js - Reference

Screenshots
Article page

"Why" dialog

Deleted article reply dialog

Voting replies will refresh reply order

Deleting and restoring replies

I found that the snackbar after clicking copy button is not shown. Investigating.

I found that the snackbar after clicking copy button is not shown. Investigating.

怪，又出現了，merge ㄅ


Heal dog on kill (life-steal kinda)

Its feature can be made if the player has mcmmo plugin, so maybe make this togglable for those who use mcmmo

Oh, I haven't had that enabled before with McMMO, is that a new feature? But thanks a lot - will definitely need a toggle for it then - since a lot of people use McMMO (but also I don't want to rely on "use x plugin if you'd want this feature".

Lifesteal is effectively disabled when setting lifesteal to 0.


Better nested structure

does this work?  I couldn't get this to produce a landing page with all three.

does this work?  I couldn't get this to produce a landing page with all three.


Cross Site search from Hub site not working

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
When searching from the hubsite documents located on associated sites should also show up in search.
Observed Behavior
Cross site search only produces results on the results page for documents located on the immediate site, not associated sites.
Steps to Reproduce

Create a site
Register as a hub site
Associate a site to it
Search from hub site for a document on the associated site
See no results from associated sites, only those on the hub site where the search originated.

The documents are showing up in Search now, but not in the "all category" of the results page.

We didn't do anything to get it working. The functionality was off again today. Not sure what happened.

This hasn't been working for me for about one month.  Then, this morning, it just started working (I didn't change anything either).  This is very unpredictable, but it is now working as it should.

As this seems to be an issue for specific tenant and it's not specific on actual SharePoint developer platform (APIs or so), would suggest opening actual SPO support case from the tenant administration tool, so that this issue is processed using proper channels.


Remove old electron support

Hello.
Thanks for the package. However, I was not able to use it directly since I got these TypeScript errors, and I couldn't find a way to ignore them (couldn't get @ts-ignore to do it, and none of the other things that I tried worked either).
17:52:29.448 › TypeError: electron_1.BrowserWindow.getDevToolsExtensions is not a function
    at App.addReactDevToolsExtension (/Users/.../node_modules/react-devtools-electron/dist/utils.js:8:47)
    at Object.onceWrapper (node:events:514:26)
    at App.emit (node:events:406:35)

I suppose that I could perhaps have solved it by coercing the deprecated methods with as any, but since I am on an M1 Mac, I am not able to install any electron version older than v11. That's also why I had to update the submodule to the latest master (even the latest tag failed to build for me).
So hopefully this is acceptable. I would suggest bumping the major version since support for old versions are going away. Thanks!

It works for you? I checked out your branch and it doesn't work for me.
I have been trying to get it to work for ages on Electron 11+.

Yep. With the changes I made here, all I had to do was require('react-devtools-electron'); and it works just fine.

Did you publish it on npm? What operating system are you running?

Yes, you can try out the fork here: https://www.npmjs.com/package/@spotxyz/react-devtools-electron. I'm using macOS.

Hello again,
I might have figured out why you weren't able to get it working on newer electron versions. I assume you've been using the examples in the repository? They load the page from file:// which requires that a new option is used when loading the extension. I was testing the package with my application which loads a page from https://, which explains why it worked fine for me.
https://github.com/electron/electron/commit/a5e9af330f9c819530549a04f0eed9d79dade443
Even though this option was added in electron 13, it is ok to use it on older versions. The additional argument will just be ignored on electron 11 and 12.
I also took the liberty of changing how the extension is loaded. I really want to always include the extension even in my production release, but then only load it if the user is a developer (and also have the ability to unload and load the extension on demand). I updated the README accordingly. This is a breaking change but I think it improves the flexibility of this package by a lot.
I also added examples for electron 17 and 19, and tweaked them as needed. And I updated the extension to the latest version.
Please let me know if you want me to change anything.

Interesting. Thanks for the contribution and figuring this out! I will take a look next week and hopefully release some long overdue versions of this package. Should I drop support for Electron 12 and older to keep things simple?

yes I think you can drop support electron 12 is not supported by electron anymore anyway.

Should I drop support for Electron 12 and older to keep things simple?

I don't see a reason to programmatically prevent it from working. I think this will work with Electron 9 and up, but the lowest I can test is Electron 11. But sure, should be totally fine to note an arbitrary version as the lowest supported version (or maybe lowest tested version?) in the README.

I just wanted to note that my attempts to get this to work, I changed some of the yarn workspace stuff. Feel free to revert that if you don't like it. :)
The root of the problem was that typescript kept complaining about mismatching types for electron. When running inside one of the example-electron-* directories, it also pulled in the electron types from the library directory and complained about duplicate types or something. If you get those errors then an easy way to get past it is to delete the library/node_modules/electron directory. I have no idea if there's a typescript option to fix this.

Cloned, ran a build, and it worked!

I want to look at this PR one more time before merging it. To make things simple I'm planning to just merge as is and then revert whatever I do not agree with.
For some reason I thought that the extension didn't work on Electron 11. No need to drop support then.


x/net/http2/h2demo: contains expired certificates

Hi,
the rootCA.pem and server.crt in net/http2/h2demo/  are expired a long time ago.
Shouldn't they be removed and instead be created by user as instructed in the readme?

@bradfitz @dmitshur

Seems reasonable to me to delete them. They're not used in prod, only for people wanting to try h2demo locally.
As part of removing them, we can improve error handling in log.Fatal(srv.ListenAndServeTLS("server.crt", "server.key")) to print a more helpful error message like "A certificate and matching private key not found; see README for instructions to create them." when xerrors.Is(err, os.ErrNotExist).
Brad has more context here so he might have a better suggestion.

That they're expired doesn't matter much: the developer will have to click through cert warnings regardless. That's just one more reason the browser won't like the cert. That's okay.
I'd rather not delete them until there's an easy way to make the server start up in localhost TLS otherwise.

I thought there'd be no warnings in browser because the README suggested to "install [root CA] to Firefox". If there are warnings, then the above rationale makes sense.

I don't remember what that Firefox bit was about. Maybe it only let you do opt-in HTTP/2 back in the day for trusted sites?


Update pom to Major Development Version

Bump the version to 2.0.0 for IPK and fix dependency issues

Was done by https://github.com/wso2-extensions/identity-organization-management/pull/178


Report that Flutter dev experience doesn't work with iOS 10.3

From a recent public event. Participant had iOS 10.3 and couldn't develop Flutter apps for it.
10.3 is on its 5th beta, as the time of this post: https://www.macrumors.com/2017/03/08/apple-seeds-ios-10-3-beta-5-to-developers/

cc @cbracken

Other useful info while diagnosing:

The iOS 10.3 beta was an earlier beta than 10.3b5
flutter doctor failed to detect that the device OS was incompatible with the version of Xcode selected with xcode-select.
xcode-select -s /Applications/Xcode-beta.app/Contents/Developer got further, and was able to install and launch the app, but observatory debugging failed.

Tested with Xcode 8.3 beta 4 and an iPhone SE with iOS 10.3b5 (both released 2017-03-08). I'm able to install and run the application, but I get the following failure:
Launching lib/main.dart on Flutter SE in debug mode...
libMobileGestalt MobileGestaltSupport.m:153: pid 264 (Runner) does not have sandbox access for frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled
libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see <rdar://problem/11744455>)

Tested with iOS 10.3b6 with same outcome.


Filename ignored

Hi
Extension works great, however the file name I specify in the options is ignored and instead a random name is generated for the file in the downloads folder from chrome.
Anybody else with this issue?
Thanks

This has started happening to me as well.

On which version of Chrome are you?
I've updated to the latest version 79.0.3945.117 and for me it still works.
Is there anything strange showing in the logs?
To see the logs:
Go to Extensions

Turn on 'Developer Mode'
Click 'Inspect views background/background.html' for this particular extension
Go the the 'Console' tab (if its not already active)

It was another addon (multi file downloader).  Ripped that out, it behaves as expected.  False alarm.
From: G.T.C. (Gerard) Laan<EMAIL_ADDRESS>Sent: Thursday, January 9, 2020 2:45 AM
To: prolane/samltoawsstskeys<EMAIL_ADDRESS>Cc: Matthew Bausch<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [prolane/samltoawsstskeys] Filename ignored (#35)
On which version of Chrome are you?
I've updated to the latest version 79.0.3945.117 and for me it still works.
Is there anything strange showing in the logs?
To see the logs:
Go to Extensions

Turn on 'Developer Mode'
Click 'Inspect views background/background.html' for this particular extension
Go the the 'Console' tab (if its not already active)

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_prolane_samltoawsstskeys_issues_35-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAG7QVC7U55N2LWYOS2NQGHTQ4354LA5CNFSM4JLLYEJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIP3TFI-23issuecomment-2D572504469&d=DwMCaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=uAIMVK3XKL03Vur_lklUn5x9q3dV6a6L4_hAPzn-yA0&m=ADP6STgQKaOsEduIuMJdwaIEpv8PkMBBWiT-nKhLh9A&s=9UdLrxu-yT9tVLNmzuUX6cCnEQ0bBkDKVyJiiRQHakY&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AG7QVC3JFLAM32DUAD2XMQ3Q4354LANCNFSM4JLLYEJA&d=DwMCaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=uAIMVK3XKL03Vur_lklUn5x9q3dV6a6L4_hAPzn-yA0&m=ADP6STgQKaOsEduIuMJdwaIEpv8PkMBBWiT-nKhLh9A&s=kRvJsF4qZ54gj-imiJnkaqDwVP63RKpI5PpEN0ONIgs&e=.

Alright, cool. I'll close the issue then.

Hi
I still have the issue if anyone can help.
From: G.T.C. (Gerard) Laan<EMAIL_ADDRESS>Sent: 13 January 2020 08:56
To: prolane/samltoawsstskeys<EMAIL_ADDRESS>Cc: Mark Fairhurst<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [prolane/samltoawsstskeys] Filename ignored (#35)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Alright, cool. I'll close the issue then.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_prolane_samltoawsstskeys_issues_35-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DANXLRHM4JZ55EL6B3YFAJNDQ5QUDRA5CNFSM4JLLYEJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIX6IDY-23issuecomment-2D573563919&d=DwMCaQ&c=OnrDw8RBWNCvAF2dVMgpuM48rUryaEbdYMW8L9XXHbA&r=oD6im896isaTP_LDtXAlvG4BRNIlMdAK-6aYfj9pawE&m=5AJtDvFi47HkoMhtrbFs9EY_UmAXBfwipgl8Dv-EaQU&s=2cV2G9d5cVWsKmo8DuNnqx4wwyjcpkJoZdO980Tjoek&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ANXLRHLM7L66TPMDYO4MOPTQ5QUDRANCNFSM4JLLYEJA&d=DwMCaQ&c=OnrDw8RBWNCvAF2dVMgpuM48rUryaEbdYMW8L9XXHbA&r=oD6im896isaTP_LDtXAlvG4BRNIlMdAK-6aYfj9pawE&m=5AJtDvFi47HkoMhtrbFs9EY_UmAXBfwipgl8Dv-EaQU&s=zJ9OzcGdgtyY0DU_4vzITmkbihvdzljY65z06FVH6B4&e=.

@marky1975 Did you try what @AutoMatt-ic did? Disable your other Chrome plugins as there is maybe one that interferes?
If thats not the issue, you could also look in the logs (as suggested above) to see if there is anything suspicious.

Hi
Tried as you suggested and it does look to be and incompatibility with one of the other plugins I have installed,  I have several so its just a case of going through them one by one to see which is the problem.
Thank you for your help and resolution.

Cool. Sure, no worries mate. Glad you like the extension.


Compilation error with framework Actix

Description
I am attempting to compile the code generated by seaography-cli with -f actix. However, during the compilation process, I encountered "could not compile async-graphql-actix-web" problem. The error messages are as follows:
   Compiling async-graphql-actix-web v4.0.16
error[E0599]: no variant or associated item named `Http2Payload` found for enum `PayloadError` in the current scope
   --> /home/yinn/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/async-graphql-actix-web-4.0.16/src/request.rs:120:43
    |
120 | ...ayloadError::Http2Payload(e) if e.is_io() => e...
    |                 ^^^^^^^^^^^^ variant or associated item not found in `PayloadError`

error[E0599]: no variant or associated item named `Http2Payload` found for enum `PayloadError` in the current scope
   --> /home/yinn/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/async-graphql-actix-web-4.0.16/src/request.rs:121:43
    |
121 | ...ayloadError::Http2Payload(e) => io::Error::new...
    |                 ^^^^^^^^^^^^ variant or associated item not found in `PayloadError`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `async-graphql-actix-web` (lib) due to 2 previous errors

Upon inspecting the generated Cargo configuration, I replaced different versions of async-graphql-actix-web, but the issue persisted. And when I replaced it with version ^6.0.0, a new error emerged:
error[E0277]: the trait bound `ExtraPaginationFields: async_graphql::ObjectType` is not satisfied
  --> src/entities/actor.rs:22:56
   |
22 | ...ion, seaography::macros::RelationsCompact)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `async_graphql::ObjectType` is not implemented for `ExtraPaginationFields`
   |
   = help: the following other types implement trait `async_graphql::ObjectType`:
             async_graphql::model::directive::__Directive<'a>
             async_graphql::model::enum_value::__EnumValue<'a>
             async_graphql::model::field::__Field<'a>
             Box<T>
             async_graphql::model::input_value::__InputValue<'a>
             async_graphql::model::schema::__Schema<'a>
             async_graphql::model::r#type::__Type<'a>
             actor::Model
           and 24 others
note: required by a bound in `async_graphql::connection::Connection`
  --> /home/yinn/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/async-graphql-6.0.10/src/types/connection/connection_type.rs:27:23
   |
16 | pub struct Connection<
   |            ---------- required by a bound in this struct
...
27 |     ConnectionFields: ObjectType,
   |                       ^^^^^^^^^^ required by this bound in `Connection`
   = note: this error originates in the derive macro `seaography::macros::RelationsCompact` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `film_actor::Model: async_graphql::base::OutputType` is not satisfied
   --> src/entities/actor.rs:22:56
    |
22  | ...n, seaography::macros::RelationsCompact)]
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `async_graphql::base::OutputType` is not implemented for `film_actor::Model`
    |
    = help: the following other types implement trait `async_graphql::base::OutputType`:
              bool
              char
              isize
              i8
              i16
              i32
              i64
              usize
            and 62 others
...

However, the code compiles and runs correctly after being regenerated with the default poem framework.
And the async-graphql-actix-web crate compiles normally in my other projects.
Upon discovering the compilation error, I tried using the example from this repository and found that when switching to the Actix framework, the code still couldn't compile, showing the same errors as mentioned above.
Steps to Reproduce

Clone this repository and navigate to the examples/postgres directory, set up the Sakila database.
Remove the contents of the src directory and regenerate the code using the following commands:

sea-orm-cli generate entity -o src/entities -u postgres://postgres:pw@localhost/sakila --seaography
seaography-cli -f actix postgres://postgres:pw@localhost/sakila seaography-test .

Attempt to cargo run.

Expected Behavior
The code should compile and run correctly.
Actual Behavior
 $ cargo run
   ...
   Compiling async-graphql-actix-web v4.0.16
error[E0599]: no variant or associated item named `Http2Payload` found for enum `PayloadError` in the current scope
   --> /home/yinn/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/async-graphql-actix-web-4.0.16/src/request.rs:120:43
    |
120 | ...ayloadError::Http2Payload(e) if e.is_io() => e...
    |                 ^^^^^^^^^^^^ variant or associated item not found in `PayloadError`

error[E0599]: no variant or associated item named `Http2Payload` found for enum `PayloadError` in the current scope
   --> /home/yinn/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/async-graphql-actix-web-4.0.16/src/request.rs:121:43
    |
121 | ...ayloadError::Http2Payload(e) => io::Error::new...
    |                 ^^^^^^^^^^^^ variant or associated item not found in `PayloadError`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `async-graphql-actix-web` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

Reproduces How Often
Always
Versions
SeaORM (seems determined by seaography-cli):
├── sea-orm v0.10.7
│   ├── sea-orm-macros v0.10.7 (proc-macro)
│   ├── sea-query v0.27.2
│   │   ├── sea-query-derive v0.2.0 (proc-macro)
│   ├── sea-query-binder v0.2.2
│   │   ├── sea-query v0.27.2 (*)
│   ├── sea-strum v0.23.0
│   │   └── sea-strum_macros v0.23.0 (proc-macro)
│   ├── sea-orm v0.10.7 (*)

Database: PostgreSQL 14 running in Docker
OS: Arch Linux 6.6.1-arch1-1

Hi, I solved it adding the following to Cargo.toml:
actix-http = { version = "3.4.0", default-features = true, features = ["http2"] }

Hi, I solved it adding the following to Cargo.toml:
actix-http = { version = "3.4.0", default-features = true, features = ["http2"] }

It works. I really appreciate it!

Perhaps I can submit a pull request to avoid this problem.

But for seaography-cli 1.0.0-rc2, there is still compile problem:
   Compiling postgres-example v0.3.0 (/home/yinn/F/Repos/seaography/examples/postgres)
error[E0053]: method `get_relation` has an incompatible type for trait
  --> src/entities/actor.rs:38:40
   |
38 | #[derive(Copy, Clone, Debug, EnumIter, DeriveRelatedEntity)]
   |                                        ^^^^^^^^^^^^^^^^^^^
   |                                        |
   |                                        expected `async_graphql::dynamic::field::Field`, found `async_graphql::dynamic::Field`
   |                                        help: change the output type to match the trait: `async_graphql::dynamic::field::Field`
   |
   = note: expected signature `fn(&entities::actor::RelatedEntity, &'static BuilderContext) -> async_graphql::dynamic::field::Field`
              found signature `fn(&entities::actor::RelatedEntity, &'static BuilderContext) -> async_graphql::dynamic::Field`
   = note: this error originates in the derive macro `DeriveRelatedEntity` (in Nightly builds, run with -Z macro-backtrace for more info)

...
...

error[E0308]: mismatched types
   --> src/query_root.rs:46:5
    |
12  | ) -> Result<Schema, SchemaError> {
    |      --------------------------- expected `Result<async_graphql::dynamic::Schema, async_graphql::dynamic::SchemaError>` because of return type
...
46  |     schema.data(database).finish()
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `async_graphql::dynamic::Schema`, found `async_graphql::dynamic::schema::Schema`
    |
    = note: `async_graphql::dynamic::schema::Schema` and `async_graphql::dynamic::Schema` have similar names, but are actually distinct types
note: `async_graphql::dynamic::schema::Schema` is defined in crate `async_graphql`
   --> /home/yinn/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/async-graphql-5.0.10/src/dynamic/schema.rs:199:1
    |
199 | pub struct Schema(pub(crate) Arc<SchemaInner>);
    | ^^^^^^^^^^^^^^^^^
note: `async_graphql::dynamic::Schema` is defined in crate `async_graphql`
   --> /home/yinn/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/async-graphql-6.0.10/src/dynamic/schema.rs:221:1
    |
221 | pub struct Schema(pub(crate) Arc<SchemaInner>);
    | ^^^^^^^^^^^^^^^^^
    = note: perhaps two different versions of crate `async_graphql` are being used?

Some errors have detailed explanations: E0053, E0061, E0308.
For more information about an error, try `rustc --explain E0053`.
error: could not compile `postgres-example` (lib) due to 31 previous errors

But for seaography-cli 1.0.0-rc2, there is still compile problem:

I think I've found the solution ... replace the version of async-graphql & async-graphql-actix-web with 5.0.10, and adding  actix-http as @OnekO suggested.


Enable coveradge badge

The main README.md had a coverage badge.
This badge was removed in #28, because it uses a Gist owned by upstream KServe community. The Gist is updated on a CI workflow.
This ticket is to check, by consensus with maintainers/community, if we want to either:

Restore the coverage badge -- either using the same method as upstream community, or some other method.
Or permanently drop the coverage badge.

Moved to: https://issues.redhat.com/browse/RHOAIENG-1008


libstdc++ not found for macOS 10.13.6

On macOS 10.13.6, I'm unable to run any game because it can't link to libstdc++. I have tried installing GCC from Homebrew, Xcode 9 and 10 but I still get the same error. I've searched everywhere for workarounds but so I've come up empty handed. All I know is it changed from libstdc++ to libc++ sometime after GCC 4.2 and I don't know how to get 4.2 on a Mac without downgrading the operating system.
System.Exception: error on load libstdc++/libstdc++.so.6 System.Exception:  LibraryContentGenerator return null !
   at Love.NativeLibraryUtil.NativlibTool.WriteToTempDir(String tempDir, LibraryContent[] libToLoad)
   at Love.NativeLibraryUtil.NativlibTool.WriteToTempDir(String tempDir, LibraryContent[] libToLoad)
   at Love.NativeLibraryUtil.LibraryLoader.GetFunctionAddrLoader(LibraryContent[] libToLoad, INativeLibraryLoader loader)
   at Love.NativeLibraryUtil.LibraryLoader.Load(LibraryConfig config)
   at Love.Boot.InitNativeLibrary()
   at Love.Boot.Init(BootConfig bootConfig)

The program recognize platform error as Linux but not MacOs.
fix it in version 11.0.50 : https://www.nuget.org/packages/Love2dCS/11.0.50


Building u-boot-t20

u-boot-t20 does not have any documentation on how it should be built.
It appears to require GCC3 or 4, which are very difficult to find with mips cross-compile.
Forcing it to use GCC5 or 10 causes errors.
Surely I'm missing something, how is this supposed to be built?

Issues is not  the right place for asking questions on building stuff. Please use one of a suitable telegram channels https://openipc.org/our-channels


Tundra2 lc

Various fixes. Add support for alpha-tested shadows and underwater fog. Required for visiting the LVM scene, which otherwise crashes.

Go ahead. I'll check my pull requests after this is in, if there are conflicts.


feat: fixed notification text overlapping

Fixes #3333
Describe the changes you have made in this PR -
Minor changes in CSS
Screenshots of the changes (If any) -
Before fix

Fixed screen

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Coverage remained the same at 82.034% when pulling 08762af2ffa5cd53074309787f03a62620e1820f on VaibhavUpreti:notification-overlap into d27a74baa875200e80733823e6be0d226d4e0ee6 on CircuitVerse:master.

cc @nitin10s

I tested it with the long name!

I tested it with the long name!
I am thinking of adding the unseen span at the beginning of the message It will look something like this:
WDYT @VaibhavUpreti @tachyons @nitin10s

I think it looks great 👍. This new approach looks good, I like it.

@VaibhavUpreti Could you add the suggested UI in #UX in the slack channel?

@vedant-jain03 made final changes after suggestions, kindly approve.

@nitin10s pls review

@VaibhavUpreti I have added a commit, try it out!

@VaibhavUpreti I have added a commit, try it out!

This solves our problem 👍

@VaibhavUpreti Could you please work on checks, this PR is ready to merge then!

@vedant-jain03 had to write some extra CSS as the notification modal and page were inconsistent ... here is the view after fix.


Removing 'favorited'

Removing it since its removed from the actual Photo model.
Fixes issue of Album -> People -> Person page returning 0 results.

Thanks for your pull request! Guess I missed that part when reviewing the pull request 😅


Fix packet versioning by checking that a packet exists for a version before awaiting it

failing

please re-open if you want to work on it


Neo-scan cannot sync with Neo-Go node

I have a neo-go node of version 0.74.1-pre-47-g396c78c and I'm trying to connect neo-scan to this node.
I run neo-scan with docker-compose. The compose file is:
version: '2.4'

services:
  neo-scan:
    container_name: neo-scan
    depends_on:
      - postgres
    environment:
      DB_DATABASE: neoscan_prodv
      DB_HOSTNAME: localhost
      DB_PASSWORD: postgres
      DB_USERNAME: postgres
      NEO_SEEDS: >-
        http://<IP_ADDRESS>:30333
      PORT: 4000
      REPLACE_OS_VARS: 'true'
    healthcheck:
      interval: 30s
      retries: 3
      start_period: 20s
      test:
        - CMD
        - bash
        - '-c'
        - exec 6<>/dev/tcp/<IP_ADDRESS>/4000
      timeout: 10s
    image: 'cityofzion/neoscan:latest'
    network_mode: host
    restart: always

  postgres:
    container_name: postgres
    environment:
      POSTGRES_DB: neoscan_prodv
      POSTGRES_PASSWORD: postgres
      POSTGRES_USER: postgres
    image: 'library/postgres:12-alpine'
    network_mode: host
    restart: always

Neo-Go's config file, protocol.privnet.yml, looks so:
ProtocolConfiguration:
  Magic: 56753
  AddressVersion: 23
  SecondsPerBlock: 15
  MemPoolSize: 50000
  LowPriorityThreshold: 0.001
  StandbyValidators:
  - 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
  SeedList:
  - <IP_ADDRESS>:20334
  SystemFee:
    EnrollmentTransaction: 1000
    IssueTransaction: 500
    PublishTransaction: 500
    RegisterTransaction: 10000
  VerifyBlocks: true
  VerifyTransactions: false
  FreeGasLimit: 10.0
  MaxTransactionsPerBlock: 500
  MaxFreeTransactionsPerBlock: 20
  MaxFreeTransactionSize: 1024
  FeePerExtraByte: 0.00001

ApplicationConfiguration:
  DBConfiguration:
    Type: "boltdb"
    BoltDBOptions:
      FilePath: "/var/lib/neo-go/privnet.bolt"
  Address: <IP_ADDRESS>
  NodePort: 20334
  Relay: true
  DialTimeout: 3
  ProtoTickInterval: 2
  PingInterval: 30
  PingTimeout: 90
  MaxPeers: 100
  MinPeers: 0
  AttemptConnPeers: 20
  RPC:
    Enabled: true
    EnableCORSWorkaround: true
    Port: 30333
    MaxGasInvoke: 20
  Prometheus:
    Enabled: True
    Port: 2112
  Pprof:
    Enabled: False
    Port: 2113
  UnlockWallet:
    Path: "/etc/neo-go/wallet.json"
    Password: "one"

The error that neo-scan writes to log:
2020-04-06 09:16:34.656 [error]<EMAIL_ADDRESS>error while downloading block {2454, :exit, {:timeout, {Task.Supervised, :stream, [60000]}}}
2020-04-06 09:16:34.656 [error]<EMAIL_ADDRESS>[{Task.Supervised, :stream_reduce, 7, [file: 'lib/task/supervised.ex', line: 280]}, {Enum, :map, 2, [file: 'lib/enum.ex', line: 2979]}, {NeoscanNode, :get_block_with_transfers, 1, [file: 'lib/neoscan_node.ex', line: 16]}, {NeoscanSync.Syncer, :download_block, 1, [file: 'lib/neoscan_sync/syncer.ex', line: 50]}, {NeoscanSync.Syncer, :"-sync_indexes/1-fun-1-", 1, [file: 'lib/neoscan_sync/syncer.ex', line: 104]}, {Task.Supervised, :do_apply, 2, [file: 'lib/task/supervised.ex', line: 89]}, {Task.Supervised, :reply, 5, [file: 'lib/task/supervised.ex', line: 38]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]
2020-04-06 09:16:34.792 [error]<EMAIL_ADDRESS>error while downloading block {2487, :exit, {:timeout, {Task.Supervised, :stream, [60000]}}}
2020-04-06 09:16:34.793 [error]<EMAIL_ADDRESS>[{Task.Supervised, :stream_reduce, 7, [file: 'lib/task/supervised.ex', line: 280]}, {Enum, :map, 2, [file: 'lib/enum.ex', line: 2979]}, {NeoscanNode, :get_block_with_transfers, 1, [file: 'lib/neoscan_node.ex', line: 16]}, {NeoscanSync.Syncer, :download_block, 1, [file: 'lib/neoscan_sync/syncer.ex', line: 50]}, {NeoscanSync.Syncer, :"-sync_indexes/1-fun-1-", 1, [file: 'lib/neoscan_sync/syncer.ex', line: 104]}, {Task.Supervised, :do_apply, 2, [file: 'lib/task/supervised.ex', line: 89]}, {Task.Supervised, :reply, 5, [file: 'lib/task/supervised.ex', line: 38]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]

and so on and so forth for every block.
Looking into neo-go logs, I see that neo-scan sends a getapplicationlog RPC request, but there is no transaction ID in it, but '00' instead.
Neo-Go privnet consensus node runs at <IP_ADDRESS>:30333 and accepts RPC requests from internet, since it might be useful for debug.

@adrienmo do you have any ideas?


Edited fedora code to ignore error 404 messages, while creating fedora json files

While creating Fedora files through ./bin/package_build.py. We face some errors while creating these files as can be seen in Issue #148. As mentioned directories are not present for following Fedora version-

Fedora 35, 36, 37 - Directory 8
Fedora 38 - Directory 5

So, what I did, I added continue instead of raising an error. Therefore, if some directory is not present for some distro version we'll just ignore that and iterate over to next directory. And except that I've also added 1 in dirs string as it'll cover a wider range and if some directory is not there it'll just ignore that and you won't see any errors in the terminal.
@pleia2 and @arshPratap please take a look at it.

@Princee215 looks good to me
@pleia2 thoughts ?

@Princee215 lgtm.. Thanks for the contributions!

@pleia2, @arshPratap I've made some changes again, as discussed with Arsh, I've put the code in try catch block, and checked for a condition were we're checking if both of the links are not working. Still I've some doubts that we should output message if some directory is not present or we should ignore it? And should we put it in a try catch block too or is it fine as we're using now!
Take a look and let me know. I'll be happy to make changes.


Questions

The videos show that the robot inserts the USB and SSD into a specific slot. Do we need to train for slots located at different positions?
There is a mention of using impedance-based controller for Franka. Is it still possible to implement hil-serl on UR5e cobot because I think impedance control is unavailable for Universal Robots.

No you’ll just need to use relative coordinates as in the appendix
2.you’ll need either impedance control or admittance control at high rate
for contact rich manipulation, you cant use position control for contact

On Mon, Nov 25, 2024 at 8:58 PM Felix Kong @.***> wrote:

The videos https://hil-serl.github.io/ show that the robot
inserts the USB and SSD into a specific slot. Does that mean we'll need to
train and demonstrate for each slot if we want the system to perform the
task for a slot at a different position?
There is a mention of using impedance controller for Franka. Is it
still possible to implement on hil-serl UR5e cobot because I don't think
impedance control is available for Universal Robots.

—
Reply to this email directly, view it on GitHub
https://github.com/rail-berkeley/hil-serl/issues/10, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEZPFYSLNKXYPB5CB2S43EL2CP5VRAVCNFSM6AAAAABSPQRBJ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGY4TGMJSGI3DKNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Is a significant change required if we use admittance control for HIL-SERL? I'm a beginner, so any pointers are appreciated.

We haven't tried working with a UR nor an admittance controller for contact-rich manipulation.
The other group from ETH successfully did this, see this PR: https://github.com/rail-berkeley/serl/pull/77 maybe you can contact them for more help


[add-resource] New Plugin - TinyMCE Editor Integration

I would like to add my new plugin to the Grav Repository. Here are the project details: newbthenewbd/grav-plugin-tinymce-editor

Nice! Will add this soon.

Added to GPM. should show up soon

Thanks!


[BDD]: Add test for targetPod and applicationNode

Addition of BDD test in the litmus-e2e for the following use cases:

when TARGET_POD is defined on which we have to inject the chaos - applicable for pod-level chaos.
when APP_NODE is defined on which we have to inject the chaos - applicable for node-level chaos

Fixed with https://github.com/litmuschaos/litmus-e2e/pull/199. For some pod level experiment, it is done along with the validation step only where we choose the target pod/node for testing the experiment.


config: expand default security.exec.osEnv policy

To fetch modules from private repositories,
Hugo requires access to additional environment variables.
The exact environment variables depend on the operating system.
This change adds some variables that help address this issue,
for common OS setups. The default config now includes
the following environment variables:

HOME
XDG_CONFIG_HOME
USERPROFILE
SSH_AUTH_SOCK

Fixes #9333
Signed-off-by: David Karlsson<EMAIL_ADDRESS>

@jmooring these makes sense to me, agree?

I suggest we add DISPLAY and LANG to support the --editor CLI flag (and newContentEditor config key).
Details:
https://discourse.gohugo.io/t/launching-editor-upon-content-creation-with-v0-90-0-and-later/36421

Thanks @bep and @jmooring, I've added the suggested vars to this as well. PTAL


Added gtk::init_check()

A small change to make gtk_init_check() available through gtk::init_check() - returning a bool to report whether GTK has been initialised successfully.

Thanks for bringing this up.
What if we took this one step further though and instead of adding init_check changed init so it would call gtk_init_check internally and return Result<(), ()>?

I like the idea of returning Result<(), ()>. I was trying to think of a way to do this (something more Rusty than true or false), but I'm a relative beginner in Rust and I didn't know you could use that double bracket syntax to say the return value would be Ok / Err without values.
I'm more wary of changing the behaviour of gtk::init(). gtk_init() causes the application to exit if initialisation fails. This will no longer happen if we are using gtk_init_check to return a Result. This is probably a good thing, but it depends on how much backwards compatibility we want and also how close we want the rust-gnome API to be to the GTK API.
Anyway, I've made both of those changes and pushed them to the branch.

@cjgreenaway: Thanks for your PR ! The code is also good for me.
@gkoz: Is that good for you too or do you see something else ?

I'm more wary of changing the behaviour of gtk::init(). gtk_init() causes the application to exit if initialisation fails. This will no longer happen if we are using gtk_init_check to return a Result.

They'll get a clue -- warning: unused result which must be used.
But you're right, when making a departure from the GTK API we have to document the new behavior. So would you please add some documentation to the function?
Other than that looks good to me.

Added a comment as requested.

Changed as requested - although there's very little extra information we can infer from an Err other than failure.

Great! :+1:

Perfect, thanks for your work ! I merge.


Build occurs without --via-ir but forge coverage retruns stack to deep error

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (008922d 2024-04-23T00:22:15.514185000Z)
What command(s) is the bug in?
forge coverage
Operating System
macOS (Apple Silicon)
Describe the bug
my foundry.toml has the default settings
src = "src"
out = "out"
libs = ["lib"]

when I run forge build or forge test -vvv it compiles without any issue, but with forge coverage it produces a stack to deep error
CompilerError: Stack too deep. Try compiling with `--via-ir` (cli) or the equivalent `viaIR: true` (standard JSON) while enabling the optimizer. Otherwise, try removing local variables. When compiling inline assembly: Variable headStart is 1 slot(s) too deep inside the stack. Stack too deep. Try compiling with `--via-ir` (cli) or the equivalent `viaIR: true` (standard JSON) while enabling the optimizer. Otherwise, try removing local variables.

if I run forge coverage -ir-minimuum it gives a differnet error
Error: Unknown key "simpleCounterForLoopUncheckedIncrement"
How can i run forge coverage?

Unfortunately forge coverage disables via-ir by default because it's fundamentally not supported, and ir-minimum is not guaranteed to work either. See https://github.com/foundry-rs/foundry/issues/3527

@DaniPopes Thats not an issue the issue is my build, tests, scripts can run without IR so why does coverage demand it?


Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
Package version is listed as 4.6.6, whereas the program itself is 4.6.6 Beta 3. This results in the package constantly thinking it is outdated and installs over and over again. The version in the manifest needs to be updated to include the "Beta 3" part of the full version string
Steps to reproduce

install package
winget upgrade
package shows as needing to upgrade to 4.6.6

Actual behavior
package shows as needing to update when it doesn't
Expected behavior
Version string should be updated to include the beta number so it doesn't think it needs to upgrade when it doesn't and will show upgrade when 4.6.6 Beta 4 is eventually released.
Environment
Windows Package Manager v1.7.11261
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.3672
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.11261.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

Screenshots and Logs
No response

This contains an apps and features entry, so it should not be the case:
AppsAndFeaturesEntries:
  - DisplayName: MSI Afterburner 4.6.6 Beta 3
    DisplayVersion: 4.6.6 Beta 3

Interesting. Something's not right though as when I do winget list I get this:
Name                                      Id                                         Version           Available Source
MSI Afterburner 4.6.6 Beta 3              Guru3D.Afterburner.Beta                    4.6.6 Beta 3      4.6.6     winget

@stephengillie, what would you recommend?

Verify:

Repro:

Ideally, the PackageVersion should be updated to match the application: v<IP_ADDRESS>81 Beta 3
But this doesn't cover the "upgrade always available" situation. It seems like the package manager is comparing the Registry data with the PackageVersion, and ignoring the DisplayVersion.
Why it's doing this and how to fix, I'm not sure. I'm guessing that maybe the DisplayVersion isn't parsing the spaces in the version number correctly - maybe adding quotes around it will help parsing?

@mdanish-kh and @Trenly, is there anything I missed here?

@elisimpson PR containing the mentioned changes was merged into the repo. Could you please check if you are still encountering the issue?

Issue is resolved on my end. Thanks to all!

Close with reason: Issue resolved by removing DisplayVersion;


Pinia

https://blog.logrocket.com/complex-vue-3-state-management-pinia/
https://dev.to/jacobandrewsky/using-modules-and-pinia-to-structure-nuxt-3-app-5963

https://github.com/directus/directus/tree/main/app/src/stores

Solved in https://github.com/w3bdesign/laravel-vue/pull/394


[WIP] show status while downloading headers

found a bug while doing this, work in progress

#2268 covers that, closing


Update services_captiveportal.php

fixes https://redmine.pfsense.org/issues/6391

Before this pull request can be accepted you must first sign a CLA as described at https://www.pfsense.org/about-pfsense/#cla. Please read for more details.


Add tests to increase code coverage

Let's add more tests to ensure that our app is bug free! The tests that need to be done are:

AddInsuranceCommandTest
AddClaimCommandTest
DeleteInsuranceCommandTest
DeleteClaimCommandTest

This is in line with the new commands we have pushed.

Closing this issue to open separate tickets for each part


In the 'about my family' report, family members could be different sizes

For instance, sons and daughters could be 'smaller' to signify younger. I don't care heavily either way, @mrueschman thoughts?

@remomueller I personally am not a huge fan of this, as it's almost inferring age of user/children/parents and we're more likely (by disease demographic) to have users with grown children than with young/small children. Family trees generally use same sizes for things and just rely on hierarchy. Just my thoughts, I'm not in a strong opinion either way!

@krand7 that's a good point, feel free to leave as is.


Allow algebra to be just an applicative in IdentityOr

Codecov Report

Merging #6 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
+ Coverage   98.86%   98.87%   +<.01%
==========================================
  Files           1        1
  Lines         351      354       +3
==========================================
+ Hits          347      350       +3
  Misses          4        4

Impacted Files
Coverage Δ

dist/infestines.cjs.js
98.87% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


2022.3.x ns impexp

Codecov Report

Merging #356 (1f69092) into 2022.3.x (eca14bf) will increase coverage by 0.18%.
The diff coverage is 52.99%.

@@             Coverage Diff              @@
##           2022.3.x     #356      +/-   ##
============================================
+ Coverage     43.26%   43.45%   +0.18%
============================================
  Files           766      768       +2
  Lines         75548    75789     +241
============================================
+ Hits          32687    32935     +248
+ Misses        38221    38193      -28
- Partials       4640     4661      +21

Impacted Files
Coverage Δ

automation/service/session.go
50.00% <0.00%> (-0.23%)
:arrow_down:

compose/service/locale.gen.go
5.75% <0.00%> (-0.13%)
:arrow_down:

compose/service/locale.go
0.00% <0.00%> (ø)

compose/types/locale.gen.go
86.40% <ø> (ø)

pkg/api/server/handlers.go
0.00% <0.00%> (ø)

pkg/auth/token_issuer.go
50.34% <0.00%> (-1.05%)
:arrow_down:

pkg/envoy/resource/api_gateway.go
57.57% <ø> (ø)

pkg/envoy/resource/types.go
76.04% <0.00%> (-6.92%)
:arrow_down:

pkg/scheduler/healthcheck.go
0.00% <0.00%> (ø)

pkg/wfexec/prompt.go
0.00% <0.00%> (ø)

... and 70 more

Continue to review full report at Codecov.

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


HADOOP-16558. [COMMON+HDFS] use protobuf-maven-plugin to generate protobuf classes

Use "protoc-maven-plugin" to dynamically download protobuf executable to generate protobuf classes from proto files.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
74
Docker mode activated.

_ Prechecks _

+1
dupname
2
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

0
mvndep
67
Maven dependency ordering for branch

+1
mvninstall
1217
trunk passed

+1
compile
1173
trunk passed

+1
mvnsite
300
trunk passed

-1
shadedclient
2816
branch has errors when building and testing our client artifacts.

+1
javadoc
294
trunk passed

_ Patch Compile Tests _

0
mvndep
24
Maven dependency ordering for patch

+1
mvninstall
222
the patch passed

+1
compile
1170
the patch passed

+1
cc
1170
the patch passed

+1
javac
1170
the patch passed

+1
mvnsite
309
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
xml
7
The patch has no ill-formed XML file.

-1
shadedclient
184
patch has errors when building and testing our client artifacts.

+1
javadoc
294
the patch passed

_ Other Tests _

+1
unit
22
hadoop-project in the patch passed.

+1
unit
588
hadoop-common in the patch passed.

+1
unit
137
hadoop-hdfs-client in the patch passed.

-1
unit
7099
hadoop-hdfs in the patch failed.

+1
unit
1619
hadoop-hdfs-rbf in the patch passed.

+1
asflicense
67
The patch does not generate ASF License warnings.

15113

Reason
Tests

Failed junit tests
hadoop.hdfs.TestDFSShell

hadoop.hdfs.server.namenode.ha.TestBootstrapStandby

hadoop.hdfs.server.balancer.TestBalancer

hadoop.hdfs.server.namenode.TestFSImage

Subsystem
Report/Notes

Docker
Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1494/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1494

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml cc

uname
Linux bca8f6791a8e 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / aa93866

Default Java
1.8.0_222

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1494/1/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1494/1/testReport/

Max. process+thread count
3078 (vs. ulimit of 5500)

modules
C: hadoop-project hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1494/1/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Test failures are unrelated.
shaded-client failures are due to protoc 2.5.0 missing in Docker image. This run didnt pickup the commit of HADOOP-16589.
Next run https://builds.apache.org/job/hadoop-multibranch/job/PR-1494/2/artifact/out/patch-shadedclient.txt passed for shaded client verification, but next unfortunately took more time and jenkins aborted it.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
79
Docker mode activated.

_ Prechecks _

+1
dupname
1
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

0
mvndep
70
Maven dependency ordering for branch

+1
mvninstall
1210
trunk passed

+1
compile
1050
trunk passed

+1
mvnsite
278
trunk passed

+1
shadedclient
3388
branch has no errors when building and testing our client artifacts.

+1
javadoc
288
trunk passed

_ Patch Compile Tests _

0
mvndep
22
Maven dependency ordering for patch

+1
mvninstall
205
the patch passed

+1
compile
1008
the patch passed

-1
cc
1008
root generated 2 new + 24 unchanged - 2 fixed = 26 total (was 26)

+1
javac
1008
the patch passed

+1
mvnsite
280
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
xml
7
The patch has no ill-formed XML file.

+1
shadedclient
819
patch has no errors when building and testing our client artifacts.

+1
javadoc
303
the patch passed

_ Other Tests _

+1
unit
24
hadoop-project in the patch passed.

+1
unit
606
hadoop-common in the patch passed.

+1
unit
133
hadoop-hdfs-client in the patch passed.

-1
unit
7225
hadoop-hdfs in the patch failed.

+1
unit
1716
hadoop-hdfs-rbf in the patch passed.

-1
asflicense
79
The patch generated 8 ASF License warnings.

16374

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.TestAddOverReplicatedStripedBlocks

hadoop.hdfs.TestLeaseRecovery2

hadoop.hdfs.shortcircuit.TestShortCircuitLocalRead

hadoop.hdfs.server.namenode.TestReencryption

hadoop.hdfs.TestDFSStripedOutputStreamWithRandomECPolicy

hadoop.hdfs.server.namenode.TestPersistentStoragePolicySatisfier

hadoop.hdfs.TestReplication

hadoop.hdfs.TestLease

hadoop.hdfs.server.namenode.TestAddStripedBlocks

hadoop.hdfs.server.namenode.TestProcessCorruptBlocks

hadoop.hdfs.TestReadStripedFileWithDNFailure

hadoop.hdfs.TestSafeModeWithStripedFile

hadoop.hdfs.server.namenode.TestNameNodeMXBean

Subsystem
Report/Notes

Docker
Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1494/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1494

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml cc

uname
Linux 9a05a3ba85e4 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 659c888

Default Java
1.8.0_222

cc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1494/3/artifact/out/diff-compile-cc-root.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1494/3/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1494/3/testReport/

asflicense
https://builds.apache.org/job/hadoop-multibranch/job/PR-1494/3/artifact/out/patch-asflicense-problems.txt

Max. process+thread count
2644 (vs. ulimit of 5500)

modules
C: hadoop-project hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1494/3/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Test failures are not related. Most of them are due to "Unable to create native thread"

Merged. Thanks @Apache9  for the reviews.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
11
https://github.com/apache/hadoop/pull/1494 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hadoop/pull/1494

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1494/4/console

versions
git=2.17.1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.


definitions: Deprecate Reacher

ref: https://github.com/beyondstorage/go-storage/issues/731

Maybe we also need to deprecate expire?


HOLESKY BRIDGED TO KATLA, MANUAL CLAIM ONLY?

HOLESKY TO KATLA BRIDGE
I bridged an ETH from Holesky going to Katla, thinking that it will be automatically claimed by the "RELAYER," and week has passed still not been claimed.
MANUAL CLAIM
Instead, I borrow an ETH in Katla network from a person in discord just to claim manually the ETH Katla that I bridged a week ago.
WHO ARE THE RELAYER?
How long does it take for the RELAYER to claim such bridged for us without waiting longer?

I got the same problems but the Ethereum arrived after 1 day.
would suggest to add a line to the bridge interface to let people know that they might need to wait for relayer or they can claim by themself if they've already have Eth on Katla.

there was an issue with the relayer processors, it should be resolved now and the backlog is being processed. thank you for the issue!


UI Elements in Scene Viewer

Don't know if this is the right place for this BUT
Would love to know if it is or will be possible to have UI elements within Scene Viewer.
Basically I want to change the source of the animation while I am in AR mode, so my character can go from punching to let's say kicking. I would like to create a multiplayer AR game, so maybe even scene sharing via some type of verification would be great.

@arberrexhepi I answered a very similar question just a few days ago. Please see https://github.com/GoogleWebComponents/model-viewer/issues/745#issuecomment-531603192
Answer quoted here:

It's definitely possible to customize <model-viewer>, but <model-viewer> (the HTML tag) is not the same thing as Scene Viewer (the native app that launches when you press the AR button on Android).
If you want to customize Scene Viewer, I'm afraid that is not possible at this time.
However, if you want to customize <model-viewer>, the sky is the limit. And, if you hit a limitation, we will probably do what we can to remove that limitation in a future version 👍

This answer is true for your case as well. Ideally, WebXR would exist so that we could enable your use case directly from the web. Hopefully in the next year this will be the case.

I am also looking for implement Screen ui Elements in screen Viewer.


Normalize abs

https://godbolt.org/g/SskGN9
On other platforms, std::abs(int) returns double!! Clean this up so cnl::abs does sane and consistent things on all platforms. For bonus points, make it conform to std::abs.

Also, constexpr.

Also, constexpr.

I discovered recently that std::abs was not constexpr so I need to reimplement it to be used in metaprogramming... :-(

Generic Numerics!

Fixed in #270

Example started not failing so here's an alternative which breaks correctly.

(https://bugs.llvm.org/show_bug.cgi?id=36479)?


IndexedDB support

Since LocalStorage is already supported by Karax, IndexedDB support also makes sense.
@enimatek-nl implemented it in their project, and I have used this code with their permission.
Please let me know what is needed to get this merged :).

This is a mere wrapper and has nothing to do with Karax. Please contribute to https://github.com/nim-lang/standardjs or create a separate Nimble package.

Please contribute to https://github.com/nim-lang/standardjs
What should my PR look like for it to be accepted? I see there is no folder structure as of yet, if you let me know what the directory tree should be, I can push it.

I made PRs https://github.com/nim-lang/standardjs/pull/1 & https://github.com/juancarlospaco/nodejs/pull/3


[Refactor] Remove Util#.block_length

Util#.block_length is used only to check a block has single/multi line.
But we have a better methods, that are BlockNode#single_line? and BlockNode#multiline?.
So this change will replace block_length with single_line? or multiline?.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests(rake spec) are passing.
[x] The new code doesn't generate RuboCop offenses that are checked by rake internal_investigation.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

🌮

👍


Fail if the computed matrix is empty.

Currently the compute-matrix job passes even if the computed matrix is empty. Empty matrices raise an error (as shown below) so this should not be permitted.

This is tested in https://github.com/rapidsai/cudf/pull/15221.

@ajschmidt8 It doesn't seem like the halt_error is actually causing a failure. https://github.com/rapidsai/cudf/actions/runs/8143986136/job/22257171652?pr=15221
I tried this locally and halt_error(1) gives an exit code of 1. Do we need to split up the pipeline somehow so that we can get the exit code to fail?

Verified in https://github.com/rapidsai/cudf/actions/runs/8144434095/job/22258595781?pr=15221
This works as desired.


Please update

Update the BetterStamina plugin to new versions 49

Does better stamina not work in v49? Or what is the issue?


Entropy is NaN for MatrixDirichlet with 0 entries

When calculating the entropy of a MatrixDirichlet with 0 entries, the result is NaN.
This follows from the entropy function making an elementwise call to SpecialFunctions.loggamma on dist.a which evaluates to Inf on each 0 entry.
This means that when learning parameters of an HMM for example, a marginal that evaluates to I will break FE calculation.

@ismailsenoz @ThijsvdLaar  WDYT?

Passing $[2,0]$ as a parameter vector to the Dirichlet distribution or any parameters vector containing $0$ is not allowed. Dirichlet distribution is defined for an $\alpha$ where each $\alpha_i > 0$. What @MagnusKoudahl  is trying to do is a violation of the theory. Please see the definition of a Dirichlet distribution. I do not see the point of this as an issue since there is nothing wrong with the computation. As a way around SpecialFunctions, implement the xlogx function that defines $0\log(0) \triangleq 0$, and for discrete random variables, this will avoid inf and nans in the entropy computations. However, the same trick won't work in the case of continuum. But there is no need for such a convention here because the case of $\alpha$ with zero entries violates domain specification and is not an issue of ReactiveMP.

Good point, in that case I think it might be good to throw a DomainError to prevent confusion.

Yes, we can throw an assertion statement that checks the parameter vector does not contain 0. Or we can add a jitter assuming that the user is trying to pass a small value and is not aware of the domain specifications for distributions. I am not a big fan of jitters, but I also understand that getting a NaN error is annoying, and avoiding that might also be beneficial. @MagnusKoudahl Which one would have been more useful in your experience? To get an assertion error or injection of tinies automatically? @ThijsvdLaar @bvdmitri I am fine either way or open to other alternatives.

I would be in favour of throwing an error then. Adding tinies can also lead to unexpected behaviours and hiding it from the user makes it really hard to debug. With an error the user is still in control over how they want to set up their model and can decide if adding tinies is the right call

But Dirichlet distribution is from Distributions.jl, and I think it is impossible to modify their structure. Maybe they already implement this kind of check.

Well as far as I remember the inference function actually should check for NaN/Infs already. It basically says something like Failed to compute node bound free energy component. The result is NaN` and same for entropies here: https://github.com/biaslab/RxInfer.jl/blob/main/src/score/bfe.jl#L57. Do you see this error or it is something different for you @MagnusKoudahl ?

@bvdmitri That's the same error I see

@MagnusKoudahl do you have time to handle this?

Related to this issue, we also allow for other nonvalid parameterisations, ex
using ReactiveMP
my_var = NormalMeanVariance(0,-1)

does not throw an error. Is ensuring correct parameterisation something worth spending time on more generally?


Support Progressive Web Apps

Introduction to progressive web apps
Web App Manifest - Mozilla
Web App Manifest - Google
Example

GUADEC 2017 - Stephen Pearce - Progressive web apps: an opportunity for GNOME

Service Worker API

Canceled.


Allow grouping of regions

After fixing the UK counties in another ticket, I found that I wanted to group the regions into <optgroups> for England, Scotland, Wales + Northern Ireland. This would be nice for other countries too, no doubt.

Do you know how you want to do this data-structure wise? I'm thinking we could be adding the different region levels while looking up the info for region codes. I've already noticed it for New Zealand and Albania, for instance.


shotcut: 21.02.27 -> 21.03.21

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for shotcut is: "A free, open source, cross-platform video editor"
meta.homepage for shotcut is: "https://shotcut.org"
meta.changelog for shotcut is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 21.03.21 with grep in /nix/store/4vhi81s6qz28q39yw11z1rly88ynhs37-shotcut-21.03.21

directory tree listing: https://gist.github.com/69b86ef54f1f94515be7b01b71e26bc2

du listing: https://gist.github.com/41bbf88645ebd5a62f024ff2df91f2ea

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
shotcut

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4vhi81s6qz28q39yw11z1rly88ynhs37-shotcut-21.03.21 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A shotcut https://github.com/r-ryantm/nixpkgs/archive/83c1742469ea6440a6bf1f6a669f14e87037bc64.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4vhi81s6qz28q39yw11z1rly88ynhs37-shotcut-21.03.21
ls -la /nix/store/4vhi81s6qz28q39yw11z1rly88ynhs37-shotcut-21.03.21/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

shotcut

Maintainer pings
cc @cillianderoiste @woffs @peti for testing.

Result of nixpkgs-review pr 117244 at 83c17424 run on aarch64-linux 1

1 package built successfully:

shotcut

3 suggestions:

warning: unclear-gpl
gpl3 is a deprecated license, please check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/applications/video/shotcut/default.nix:98:5:
   |
98 |     license = licenses.gpl3;
   |     ^

warning: unnecessary-parallel-building
Meson, CMake and qmake already set enableParallelBuilding = true by default so it is not necessary.
Near pkgs/applications/video/shotcut/default.nix:37:3:
   |
37 |   enableParallelBuilding = true;
   |   ^

warning: unused-argument
Unused argument: fetchpatch.
Near pkgs/applications/video/shotcut/default.nix:3:3:
  |
3 | , fetchpatch
  |   ^

Result of nixpkgs-review pr 117244 run on x86_64-linux 1

1 package built:

shotcut


Additional fixes for Heroku schema generation

In this branch, I make two additional changes that I ended up figuring out were needed to correctly generate the Heroku Platform API from schematic:

If two or more links within the same (sub-)schema have the same title, only the last one is generated. There are a few cases in the Heroku Platform API schema where this happens, and while it has the result of not generating certain routes, it matches the current behavior of the heroics gem and therefore I think it's a reasonable step to take here too, at least until we have some time to propose updating the title attributes in the Heroku schema to be unique. That is: we're not doing anything worse than what heroics does, even though it's not ideal.
Always generates a custom type definition, even if it ends up typedef'ed to string or *string or map[...].

More on that last point! Previously code was being generated like this:
// Restart dyno.
func (s *Service) DynoRestart(appIdentity string, dynoIdentity string) (struct{}, error) {
        var dyno Dyno
        return dyno, s.Delete(&dyno, fmt.Sprintf("/apps/%v/dynos/%v", appIdentity, dynoIdentity))
}

This is a compilation error because struct{} is not compatible with Dyno. The correct return type is struct{}, because this route has a documented empty reply, but because of some inconsistencies in the way return types were generated for the method signature versus the method body, we came up with incompatible types. I determined that one of the better ways to work around this issue is to always generate a custom type, so we end up with methods looking like this:
type DynoRestartResult struct{}

// Restart dyno.
func (s *Service) DynoRestart(appIdentity string, dynoIdentity string) (DynoRestartResult, error) {
        var dyno DynoRestartResult
        return dyno, s.Delete(&dyno, fmt.Sprintf("/apps/%v/dynos/%v", appIdentity, dynoIdentity))
}

This is correct and compiles correctly.
Note that instead of bare maps or slices now, we also get methods generated like this:
type ConfigVarInfoForAppResult map[string]*string

// Get config-vars for app.
func (s *Service) ConfigVarInfoForApp(appIdentity string) (ConfigVarInfoForAppResult, error) {
        var configVar ConfigVarInfoForAppResult
        return configVar, s.Get(&configVar, fmt.Sprintf("/apps/%v/config-vars", appIdentity), nil, nil)
}

and
type AccountFeatureListResult []struct {
        CreatedAt   *time.Time `json:"created_at,omitempty" url:"created_at,omitempty,key"`   // when account feature was created
        Description *string    `json:"description,omitempty" url:"description,omitempty,key"` // description of account feature
        DocURL      *string    `json:"doc_url,omitempty" url:"doc_url,omitempty,key"`         // documentation URL of account feature
        Enabled     *bool      `json:"enabled,omitempty" url:"enabled,omitempty,key"`         // whether or not account feature has been enabled
        ID          *string    `json:"id,omitempty" url:"id,omitempty,key"`                   // unique identifier of account feature
        Name        *string    `json:"name,omitempty" url:"name,omitempty,key"`               // unique name of account feature
        State       *string    `json:"state,omitempty" url:"state,omitempty,key"`             // state of account feature
        UpdatedAt   *time.Time `json:"updated_at,omitempty" url:"updated_at,omitempty,key"`   // when account feature was updated
}

// List existing account features.
func (s *Service) AccountFeatureList(lr *ListRange) (AccountFeatureListResult, error) {
        var accountFeature AccountFeatureListResult
        return accountFeature, s.Get(&accountFeature, fmt.Sprintf("/account/features"), nil, lr)
}

But I think both of those are fine and desirable, since they give names to things and are compatible with the bare types if needed.
I've created https://github.com/cyberdelia/heroku-go/pull/12 with the results of running this branch against the Heroku Platform API schema and it installs correctly as far as I can tell.
WDYT :eyes: @cyberdelia ?

I would still prefer to have no type generated when the response is empty.
It also seems to be generating struct with attributes that can be nil even though they are not declared to be nullable. as in AccountFeatureListResult. Am I missing something here?

This might be out-of-scope for this PR, but looking over the generated code, e.g., of the apps section (https://github.com/alindeman/heroku-go/blob/af9daa26adb383b78c5a775cbe0b93a0a8529d49/v3/heroku.go#L1198), I see
type App struct{}
type AppCreateResult struct{ ... }
type AppDeleteResult struct{ ... }
type AppInfoResult struct{ ... }
type AppListResult []struct{ ... }
// ...

These returned types seem tricky to work with as an API consumer and are confusing, as it's unclear how they differ from App, which I don't think is used in the generated code.
Would it be possible to have it generate something like this instead?
func (s *Service) AppCreate(o AppCreateOpts) (*App, error) {
	var app App
	return &app, s.Post(&app, fmt.Sprintf("/apps"), o)
}

I would still prefer to have no type generated when the response is empty.

If the response has no body at all, no struct will be generated as usual. The change handles the case where there are some interesting routes (specifically, e.g., dyno/restart) where the response body is an empty struct (json {}). In those cases, we generate a type FooResponse struct{}. I think that's the correct behavior. Do you disagree?

It also seems to be generating struct with attributes that can be nil even though they are not declared to be nullable. as in AccountFeatureListResult. Am I missing something here?

This isn't a change from the existing behavior, as far as I know. Even in master, if a field within an object is not in the required array, it's generated as a pointer unless force is true. force is not set to true for ReturnedGoType in this branch or master.

This might be out-of-scope for this PR, but looking over the generated code, e.g., of the apps section (https://github.com/alindeman/heroku-go/blob/af9daa26adb383b78c5a775cbe0b93a0a8529d49/v3/heroku.go#L1198), I see

It should be possible, yah, but I think it is definitely out of scope of this PR. In the original schema, all of these target schemas are references to a single app definition, but the way the schematic codebase works at the current time, references are resolved before code generation. Information about the reference itself is lost. In some ways it's like a hard link, instead of a soft link.
Future work could include preserving the linkage somehow so that a more minimal set of types would be generated. I think that'd be a great thing to take a stab at if you have time :)

Who wrote this API returning {}? 😆🙄
Nullable attributes are clearly a change compared to previous returned types. We should probably enforce that they are required, to avoid too many breaking changes.

Nullable attributes are clearly a change compared to previous returned types. We should probably enforce that they are required, to avoid too many breaking changes.

Cool, I think I see what you're saying now. I pushed an update (1a3cb4a) and an update to cyberdelia/heroku-go#12. Let me know what you think :)

That's much better!
I look forward to the improvements we have discussed here, but that's already great to be able to have the basic functionality working again 😌
Thank you again.


Discussion : Collaborative Html Editor in Java and to run this natively in a web browser with WebFX

I have always required a html editor (preferably collaborative). My options have been Prosemirror based Atlaskit-editor, and CKEditor. For collaborative Atlastkit-editor is the best option I have, and for a general purpose but powerful WYISYG html editor - CKEditor (these are my personal preferences).
To make these work in a JavaFX environment is not easy and quiet twisted. It is then I suddenly discover WebFX. WebFX makes it possible to run JavaFX in browser natively by transpiling it to well-behaved Javascript using TeaVm and GWT. It is different from JPro. WebFX can run offline also, as it runs natively in the browser.
I have been beating my head against a wall for almost two years, thinking of how I want to do it.  I am convinced I have only two options:

Use Atlaskit-editor and change my technology stack entirely to a Web based one (Reactjs etc.) and forget JavaFX (and also Java) and native mobile/desktop apps from the same common shared code base, creating apps which do not consume excessive resources. As of today this is the only and the only way I can find to do collaborative html text editor without having to pay.
Use RichTextFX and first make a html editor and then dare make it collaborative (or atleast something in between). I don't think I would so much prefer the default javafx htmleditor but that might be another option.

I am more inclined to option 2, even though it is going to be much more hard work. The reason is I do not have the required skills and confidence to shift to a web based stack. JavaFX is much more approachable for me and I have used it over the past one decade. Making simple websites is different, but in terms of (1) performance, (2) write once run anywhere (which JavaFX has really becomes thanks to GluonVM, JPro, WebFX etc), (3) ease of maintenance (across even  decades), (4) my familiarity with the ecosystem of tools, (5) my fear of obsolesce of my knowledge given the speed with which the web tech stack evolve etc, I would strongly defer a web based tech stack like Reactjs/Vue etc for any big project.
So, I just wanted to share my thoughts and get feedback on this.
I also wanted to let people who are developing important tools and ui elements for JavaFX know that the scope of your work is going to increase beyond just desktop/mobile apps. In near future you may see your javafx ui libraries running natively in the browser, because of WebFX. I suppose there are more people like me interested in using or are already working on Html editor written in JavaFX, I hope they will find this and some duplication of effort can be avoided. I think anybody making an html editor in javafx is likely to use RichTextFX. I hope if there is anybody like that they will find this ticket and know the significance of their work.
For reference some samples of WebFX :
SpaceFX (by HanSolo)
https://spacefx.webfx.dev/
Modern gauge
https://moderngauge.webfx.dev/
Particles
https://particles.webfx.dev/
Mandelbrot (Heavy computation)
https://mandelbrot.webfx.dev/
WebFX discussion page : https://github.com/webfx-project/webfx/discussions/4

Hi @ivan-velikanova, this is nice thanks for sharing.
Btw I'm running CKEditor 4 succesfully in my JavaFX desktop application (Patient Medical Records).

Hi @ivan-velikanova, this is nice thanks for sharing.
Btw I'm running CKEditor 4 succesfully in my JavaFX desktop application (Patient Medical Records).

BTW after making my original post I started contemplating on using CKEditor it seems much more powerful and easy. But rest of the stuff by WebFX is still relevant.