ECU-C sometimes restart triggers, but never turns back on

Im running 1.4.2 on a ECU-C with firmware 1.2.11
Sometimes a restart is triggered and the whole ECU-C breaks down. (no IP address, no access to dashboard)
Only option is to go there and turn it off and on again.
There is no reason why the restart triggers.
In this example it just restarted in the middle of the day.
Running in LAN cable, WIFI not enabled at all.

Please provide some info from the home-assistant.log. How often is the cache being used and what are the current integration settings (query interval, number of configured retries)? A restart is only initialized after the specified number of retries. If a good query occured the counter is being reset.

Sorry for the late response,.. you can specify random parameters for SSID and Password if connected by ethernet. Have you allready tried to reboot the ECU?

Does the ECU-C have an option to switch between WiFi and Ethernet? Could it be that you are able to connect using the WiFi connection after restart (when correct SSID and Password are applied) although ethernet is connected? It would mean that the ECU switched to WiFi operation and that somehow must be avoided.

It would be weird if neither a WLAN nor a LAN IP-address is assigned to the ECU. Have you looked at the DHCP table to see if the ECU received another IP-Address somehow? Is the MAC still the same for both WLAN and LAN interface on the ECU?

If you encounter the issue of the cache being used very often, try to replace the ECU or externa antennas if possible. Sometimes bringing them too close to WiFi AP's causes interference because 2.4Ghz WiFi and Zigbee share the same 2.4Ghz band.
Last option would be to change the "215" value on line 87 of init.py into a random value like "111" to prevent the integration from rebooting the ECU. You could then use a smartplug to reboot the ECU using a HA automation.

It's in init.py If it does not work for the ECU-C you can bypass it there. It is compatible with the ECU-R pro and I think someone with an ECU-C also had positive results but might have changed because of a firmware update.

There is no reboot function indeed. Some users noticed that, when you change the WiFi settings, the ECU will automatically initiate a reboot. This is the trick used. The 215 to 115 change you made earlier prevents calling this method so the ECU-C will not lock up anymore. Only thing to do now is to start the integration again at let's say 04:00 by switching ECU Query Device back on and see if the ECU will accept queries again. But a possible alternative to this integration is almost available. If you are also running Pi-Hole, AdGuard or others ways to rewrite DNS traffic you can test that new integration. As with the current integration it was written with only the ECU-R in hand, same goes for the new solution. If we had all ECUs in our possession, it would be easier to test compatibility or adjust the integration so that all models can be supported.

My ECU-C also went off last night and never came back on.
The HA logs show several comms issues, so I don't think the ECU-C was to blame.
It even shows that the attempt to restart it failed
Attempt to restart ECU failed with error: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /index.php/management/set_wlan_ap (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4d958740>: Failed to establish a new connection: [Errno 113] Host is unreachable')). Querying is stopped automatically.

The strange thing is that it was very difficult to get it to reconnect to my network.
I switched it off and on many times, but it either wouldn't connect or my router wouldn't give it an IP.
Pressing the AP button did nothing also, I could not connect to it locally.
The only thing that got it working again, was pressing the reset button, which eventually brought up the local access wifi and I connected and reset the wifi connection.

Just looking through the code to reboot the device. I see you set channel to 0 but the web interface only offers 1-13. I wonder if setting channel to 0 is causing the re-connection issues?
Also, the web interface also sends the ip param with a default of <IP_ADDRESS> but you don't send this parameter.

Sorry I do not own an ECU-C so I'm unable to test. You can try and alter it in the code or just try a post to the ECU with the possibly correct parameters like so: http://[ip-adress]/index.php/management/set_wlan_ap?SSID: [my ssid], 'channel': [my channel], 'method': 2, 'psk_wep': '', 'psk_wpa': [my wifi password]

I'm not sure why I even looked into the reboot code as my first post clearly shows it couldn't reboot the ECU due to a comms issue.
So the issues must lie within the ECU.

I can see from the html Form elements that it sends a valid number between 1-13 for the channel (Default 6) and the ip parameter with default of <IP_ADDRESS>.
I'm not sure if they are actually required in the POST, but they are there to be sent in the HTML so no harm in adding them in.
This was the first time in a long time my ECU went down, so i'll monitor it and get more logs if it happens again.
I do just think that something happened with either my router, ecu or RPi that made several things unreachable. When it all came back online, the ECU just wouldn't connect to my network. So the reboot command was pointless as the IP was unreachable.

@gratjetost That is exactly what it is using. It is setting the local access which in turns reboots the ECU.
I've just proxied the requests, and it seems the IP isn't sent, however I would change the channel from 0 to 6 on line 84
SSID=ECU-WIFI_2465&channel=6&method=0&psk_wep=&psk_wpa=

I think you’re mistaken. The WLAN and LWA aren’t 2 options of one or the other. WLAN is a tab that lets you set which WiFi to connect to, and LWA sets the local WiFi you can connect to on the ECU.
They’re independent of each other.
When you save the LWA settings, it reboots the ECU.

You’re not selecting one or the other!
The web interface has 2 tabs. One sets the WiFi settings that the ECU connects to, and the other sets the local wireless settings.
Both are valid.

In my humble opinion: zigbee, bluetooth and Wifi use all 2.4 ghz. Zigbee is very sensitive to interference to any electronics nearby. My advice is to keep zigbee appliances at least 40cm away from other electronics.

You might want to try this as an alternative: https://github.com/HAEdwin/homeassistant-apsystems_ecu_proxy

The proxy IP dialog can be omitted, it is not used yet. If you ping ecu.apsystemsema.com on the LAN you should get a reply on <IP_ADDRESS> if that is correct you could enable the debug mode in the integration to see what happens.

If inverters are down you should wait for the next day to have entities created. Some messages are also ignored because they provide no current data but old correction data for the EMA site.

In that case you could leave it running and discover the entities when the Inverters are online. That should happen automatically for each inverter. Debug log should show info allthough inverters are down.

The download button becomes available when you stop debug logging. You could also install the File Editor Add-on to view the home-assistant.log file.

When inverters are down the interval drops to once every 10 - 15 minutes. But you should see messages like: Received message type from ECU ignored for further processing

Better wait until tomorrow

If you check const.py make sure: SEND_TO_EMA = True and EMA_HOST = "<IP_ADDRESS>" and let's continue in my repository because this is off-topic in for this integration. Please create an issue there, hope I can solve it if it still remains to be an issue.


Untested Toyota Panda Forwarding

It will make your Toyota just a little more like a Kia, just a little bit better!
I don't have my car/eon/panda, this hasn't even been test-flashed
But what could go wrong?

I loaded it and drove about 100+  miles yesterday. I don't think it broke anything but I don't know if it is doing what it is supposed to do either.


Add support for Message Reactions to ActivityHandler

ActivityHandler should be extended to include MessageReactions. This has now been added to the C# and The JavaScript.
Here is a pointer to the JavaScript implementation:
https://github.com/microsoft/botbuilder-js/pull/1038

Yes to message reaction but no to ABC - see comments in PR.


Fixed search bar by renaming query to query-input

The currently search bar does not work because the search bar input has an id of "query-input" while some other code uses "query". To fix this bug, all references to the "query" HTML element have been changed to "query-input". The games search results view and the users search results view have been changed to reflect this change.

In this pull request, references to the search bar's text input field as "query" were changed to "query-input" for consistency and clarity. This fixed the issue of not being able to submit a search request.

Issue Score: Excellent
Comments:
Minor because it's a smaller bugfix.
Thank you for your effort and bringing in folks on the users team to review!


Trait collision in Laravel 5.1

I am getting an error in Laravel 5.1:
Trait method can has not been applied, because there are collisions with other trait methods on App\User
I am using Shinobi 2.2. How do I fix this?

You'll need to get rid of the Authorizable trait in your User model.
See here for more information: https://github.com/caffeinated/shinobi/issues/17

Got it! Thank you.


Can not wire classes with higher-kinded type variables from extended traits

Hi! First of all, thanks for your work on this framework, it's really helpful :-)
I encountered a problem when using MacWire with classes that have higher-kinded type variables.  Replacing this last statement with new RootDAO[M](transactor) works fine though. I played around with this a lot to find out if I did anything wrong, but it still looks like a bug to me.
Let me know if I did anything wrong or if I can help you resolve this issue. Thank you!

@adamw Sure. You could use my personal project, located here. Just clone it, change the MacWire code in the ch.randm.module object and run sbt compile.

@randm-ch sorry, I had no time to look into this yet

@adamw No problem, just wanted to know if there's anything I can help with :) I'll fork your repo and have a go at it myself tonight, but since I'm still a newbie at Scala I can't promise I'll be able to fix it.

Has anyone had any luck with this use-case?
I can replicate it fairly easily with a simple example.

class Service1[F[_]] {}

class Service2[F[_]]( service1: Service1[F] ) {}

trait Service1Module[F[_]] {
  lazy val service1 = wire[Service1[F]]
}

class AppModule[F[_]] extends Service1Module[F] {
  lazy val service2 = wire[Service2[F]]
}

This fails to compile with the message
Error:(47, 27) Cannot find a value of type: [acme.Service1[F]]
  lazy val service2 = wire[Service2[F]]

@jimmydivvy Sadly not. I tried fixing it but ran out of time (and my knowledge of macros is very limited). I'm not using MacWire for the time being because of this issue. Would love to add it again once it's solved though.


Question: Working with NormalizedInMemoryCache

I'm fairly new to Flutter and GraphQl for that matter and am struggling with working with the NormalizedInMemoryCache. I've scoured the repo issues and the internet but can't figure out how to dereference a cached mutation result.
I have a mutation that returns a nested 'User' along with its id, name, and email, but when I access results.data['User'] I see: [@cache/reference, User/<User ID>]. My question is how do I access the cache so that I can gather the related information (email, name, etc), from this point in my mutation. Any direction would be greatly appreciated.
Here is my mutation widget:
return Mutation(
      options: MutationOptions(document: authenticationMutation),
      builder: (RunMutation signup, QueryResult result) {
        return RaisedButton(
            color: Theme.of(context).primaryColor,
            textTheme: ButtonTextTheme.primary,
            onPressed: () => signup({
                  "email": <>,
                  "password": <>,
                  "name": <>
                }),
            child: Text('Log in'));
      },
      onCompleted: _onCompleted,
      // you can update the cache based on results
      update: (Cache cache, QueryResult result) {
        return cache;
      },
    );

Actually figured this out. You have to perform a cache.read() on the key passed back in the result ([@cache/reference, ]).

how did you resollve this? What should I pass into the key as cache.read()?


height shader

height shader is no longer working and the DistanceLOD does not seem to be working either.
thanks

Thanks a lot for reporting this issue.
Has been fixed in the last version (just published)

Thank you!!!
Some tiles randomly flicker and the same issue might be happening on the height view.

There are still some issues with the height shader, there is a weird effect on the edges of the tiles :D
Thanks!!

Hello
Thanks a lot for reporting these are caused by the edge that is created to "mask" the transition between tiles.
These are usually seen on tiles from diferent levels.
It is possible to implement a solution to recalculate the tile border to level with the adjacent tiles but it might be a bit heavy on the processing side.
Might be something to take a look at.
Thanks a lot Once again!

Hello
There are still some issues with the height shader


Received status code 403 from server: Forbidden

I had some problem build & run develop branch code
Execution failed for task ':app:mergeDebugResources'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve com.github.magnusja:java-fs:0.1.5.
     Required by:
         project :app > project :javafs
      > Could not resolve com.github.magnusja:java-fs:0.1.5.
         > Could not get resource 'https://dl.bintray.com/magnusja/maven/com/github/magnusja/java-fs/0.1.5/java-fs-0.1.5.pom'.
            > Could not GET 'https://dl.bintray.com/magnusja/maven/com/github/magnusja/java-fs/0.1.5/java-fs-0.1.5.pom'. Received status code 403 from server: Forbidden

I get this error too, I'ts caused by the disposition of bintray.

Hey there,
sorry the news that bintray is shutting down reached me only recently.
For now, please checkout the repo and compile for yourself. I will switch to maven again, but not sure how long this will take, the reason I used bintray is that was much easier. ..

I have switched but the javafs project has a dependency to java-fs:0.1.5 and can't get that library.

If you dont need java-fs then just exclude it, otherwise you can get the source code here: https://github.com/magnusja/java-fs

Fixed on develop


Unable to update algokit to 2.0

While successfully able to update algokit 1.13 -> 2.0 on PC
Unable to do so on Mac, showing the following error (says 1.13 is latest)

Is this installed via brew? If so you need to brew upgrade algokit since pipx isn't in control of the versioning.

Yes, fixed it!


Basic code diff for modified modules

Modified module has two versions of source code: one before and one after minification. It should be possible to visualize this difference similarly to code diff in GitHub repository. Packages like diff my help.
Basic implementation should consist of simple unified, line-by-line diff, where removed lines are colored with red and added ones with green. No line numbers or syntax highlighting needed for now. Word-diff would be nice to have, but should be done later if it's not free.

Done in basic form.


Feature Request: Shortcut to open a table

Analogous to Eclipse it would be great to have a short cut like:
Ctrl+Shift+T
where a dialog opens that lets you enter a name of a table and select the one that you want to open.
It could be similar to the Ctrl+Shift+R dialog or even integrated in it (That it lets you search for tables in this dialog as well)
In case of tables with the same name in different schemas or connections both should be shown just as in eclipse when you want to open a type but have different version of the same library in your workspace.
Thanks! And continue the great work!

It is already there: Ctrl+Shift+D.
And it searches not just tables.

Ah great! I even opened the Preferences -> Keys section and entered "Open" in the search bar but I guess I just didn't know what "Database Meta Object" means. Must have overlooked it! (But maybe you could add some examples of what these meta objects are in the description field of the shortcut :P)
Thanks for the help!


Sparkc 360 master

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with success

+1


Integration capsolver.com

Hey, it's possible that you integrate capsolver.com, they have the cheapest and fastest captcha solution of the whole market.
They can solve hcaptcha, recaptcha, amazon waf captcha, turnstile, kasada, akamai, funcaptcha, datadome captcha, geetest etc...
Also you can check their documentation here: https://docs.capsolver.com/

Already had them on my list to add 😄
I'll see if I have some free time later to week to add n push

Added in 1.3.0


how to use inside Django Admin

Please advise what the best approach is for using inside Django Admin?
https://github.com/iarp/django-taggit-autosuggest#usage

There shouldn't be anything necessary above adding the field to admin fieldsets if you've defined fieldsets. The documentation in Usage is there for use on your own forms and views.

ok. thank you for the feedback. it didn't seem to work for me and I have now switched to https://django-autocomplete-light.readthedocs.io/en/master/


Where to find wristband?

Which ones are compatible? Is a 3d model of the watch available to attempt self printing?

There are currently no 3D models available

Never mind, I just noticed that 63mm diameter is not suitable for "wrist wearing"...


ngPluralize example has problem when a value >3 is deleted

In this page
https://code.angularjs.org/1.3.10/docs/api/ng/directive/ngPluralize
Change the number of peoples to 3 or more and then clear the field.
typing 3 and cleaning get -2 other peoples...

yeah, that's kind of weird --- @petebacondarwin do you think ngPluralize should support signed values by default? or maybe there's a better way

FWIW, I can't reproduce on Chrome/Firefox on Windows, but it sounds reasonable to (properly) handle negative values as 0.
On what browsers/platforms do you see this ?

you can see it in chrome and safari on a mac, i expect you can see it on windows too

I've the problem in Windows Chrome
El 22/01/2015 16:01, "⭐caitp⭐"<EMAIL_ADDRESS>escribió:

you can see it in chrome and safari on a mac, i expect you can see it on
windows too
—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/issues/10836#issuecomment-71092648
.

This example start assuming that blank is zero and this assumption remain
for 1 and 2 after the field is cleared but if you type 3 or more and then
clear the field got negative values.
El 22/01/2015 15:37, "⭐caitp⭐"<EMAIL_ADDRESS>escribió:

yeah, that's kind of weird --- @petebacondarwin do you think ngPluralize
should support signed values by default? or maybe there's a better way
—
Reply to this email directly or view it on GitHub.

I can reproduce it with 4 or more but not 3. Weird...

I think the problem is that lastCount was assumed to always be numeric (thus assuming that isNaN(lastCount)===true means lastCount -> NaN (which isn't true)).

:sparkles: Don't forget to label / milestone everyone! :sparkles:

+1 Narretz!


Let renovate-bot upgrade node version to latest LTS

Relevant docs: https://docs.renovatebot.com/node/#configuring-support-policy
We use lts_active in ampproject/amphtml, but for amp-github-apps I think it makes sense to ride the front of the wave with lts_latest

Once this is merged, we should see a renovate PR that updates this section of package.json.
https://github.com/ampproject/amp-github-apps/blob/a763a4afa426c298477f7f9b53bb05ae5d923f6e/package.json#L12-L14

Once this is merged, we should see a renovate PR that updates this section of package.json.
https://github.com/ampproject/amp-github-apps/blob/a763a4afa426c298477f7f9b53bb05ae5d923f6e/package.json#L12-L14

We'll see that next week, because of the scheduling rule in renovate.json:
https://github.com/ampproject/amp-github-apps/blob/a763a4afa426c298477f7f9b53bb05ae5d923f6e/renovate.json#L8


Telegram tutorial integration

The application should display a list of instruction on how to set up Telegram to receive the notifications from the application.
An example from an older version:

To setup the new number follow the next steps:

Go to https://telegram.me/BotFather and send the message "/newbot" to the chat
Open the command prompt and type "telegram-send --configure"'
If the system does not recognise the command add your Python\Script to PATH
Continue here once the telegram configuration is successfully completed

Solved in Pull request #6


Update implementing-lob-columns-in-a-memory-optimized-table.md

The page does not explicitly indicate anywhere that this is a restriction with the 2014 engine of SQL Server, nor does it indicate that it has been removed. I have added this fact and link to the 2016 web page.

@retracement : Thanks for your contribution! The author, @stevestein, has been notified to review your proposed change.

Thank you @retracement. merging


autohide navbar - missing setting

autohide navbar new feature on 2.62 doesnt work for me,
I've checked the file settings.xml, I can't find any reference to the setting.
I've tried also to delete all the files in folder /var/www/html/data, doing then
a fresh reinstall of the portal, unsuccessfully.

Damn nothing works when copying and pasting from issues into the things without testing. Honestly was added from a snippet from a follower here which was meant for a future release. Working on it now. The option may be removed if it takes more than a few minutes to fix being I really need to get 2.6.2 released...

thanks very much Joe, I will wait for it, as for me actually the autohide was the most interesting
feature of the new release, most of times I use to check the portal by a tablet, so increased readability
is always welcome


[1.x] Fix a typo in the config file

I found a little typo in the config file and fixed it.
I'm not quite sure which branch to target, to I pointed the target to main.

Thanks!


BUG: Scroll to top button is only Present in Home page

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Hey @Its-Aman-Yadav  @Kalivarapubindusree
The scroll to top button Is only present in home page and in other pages it is not present
I would like to implement the scroll to top button same as  homepage in all other pages to maintain consistency in website
The pages are these:

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Its-Aman-Yadav I would like to work on this issue. Kindly assign me


feat: '--custom-vendor' option.

I'm still doing some tests on these.

Nice, it failed.
Let me see what is causing it...

Fixed, I guess.

I would like to call out @dslm4515 to test this at CMLFS too and see if it can replace the patch for manually setting a vendor, and others that maybe doing this way. Of course, if time permits it since we're at the end of the year and many (including me, ironically) are really busy with the preparations for the réveillon.

Just forgot to update the README, both for this and for #42... 😅
Well, I have to sleep.

I appreciate the proposal and I'll look into it.
For now there needs to be a default value for all architectures. Perhaps have it empty by default and if the user wants a custom vendor they can explicitly specify its value.

Sure, take your time.
The code already works, I've made some tests here.

Perhaps have it empty by default and if the user wants a custom vendor they can explicitly specify its value.

I think I've done exactly this there.

@firasuke I don't remember if I actually said it, but this is pretty much done in terms of changes.
I just could compile LLVM thankfully to this change.


Playground: Sidebar tabs overflow looks nuff

This needs cleaning up

The scrollbar should be edge to edge, and there should never be a vertical scrollbar

Repro:
Install some plugins

This is fixed in prod


Uncorrect reading of stiffness file

Using the C API to couple Moordyn and OpenFOAM I've found that the file defining non-linear stiffnes is not correctly read.
At the following line seems that the same value is used for x and y values. If I'm not wrong, It should be set as
y.push_back(atof(entries[1].c_str()));

Nice catch! Sounds like this will be the first patch of 2025
On Mon, 30 Dec 2024, 14:53 Guillén Campaña Alonso, @.***>
wrote:

Using the C API to couple Moordyn and OpenFOAM I've found that the file
defining non-linear stiffnes is not correctly read.
At the following line
https://github.com/FloatingArrayDesign/MoorDyn/blob/4828499f8ade98521011f563c99fbd71c0429647/source/MoorDyn2.hpp#L759
seems that the same value is used for x and y values. If I'm not wrong,
It should be set as
y.push_back(atof(entries[1].c_str()));
—
Reply to this email directly, view it on GitHub
https://github.com/FloatingArrayDesign/MoorDyn/issues/283, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMXKKAIES4K7UMV5AFJY632IFF4TAVCNFSM6AAAAABUMCTKGGVHI2DSMVQWIX3LMV43ASLTON2WKOZSG43DGMRUGMZTKMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


"There is no pool defined on the current client" is a bad error message

Search for this message in the issue list and you'll get quite a few issues where they ALL have entirely different source problems. Ranging from: No environment defined, bad client name, no client key defined, no connection defined, etc.
Instead we need better messages about our client, type constrained if possible. I should know when I accidentally type pgsql instead of pg or postgres. I should know when my configuration is missing the client key, a pretty freaking important key.

Can we outline specifically each case since they may need to be addressed separately? Starting with your list:

No environment defined

incorrect client name in knex configuration, e.g. psql instead of pg

no client key defined -- not sure what this means?

incorrect connection configuration

there is also the case where the pool is destroyed; this is not a configuration issue and could potentially use a more descriptive error message potentially with a link to a wiki page like Angular & React do

I use Hapijs a lot and they do a good job of configuration checking. Keep in mind w/r/t configuration validation for knex, the docs list a supported case (see below) that makes this pretty darn hard (missing configuration, though perhaps it can be deferred until a query is issued to the datbase--i.e. with a promise or callback):
var knex = require('knex')({}); // configure w/ empty object
var pg = require('knex')({client: 'pg'}); // configure without connection

knex('table').insert({a: 'b'}).returning('*').toString();
pg('table').insert({a: 'b'}).returning('*').toString();

Here's an example of "no client key defined"
var pg = require('knex')({adapter: 'pg'});

"There is no pool defined on the current client" gets returned for any psql error. For example, a validation UNIQUE error would return this for me.
Knowing that this error is the catch all error for any error that comes from psql, I was curious if anyone had a way to step in before this error? Is there a way to log psql directly without knex failing generically ( and in this case incorrectly )?

@gotoAndBliss this message has been changed to "Unable to acquire a connection" in 0.12 which is more indicative of the actual error. It should only occur if you have either not supplied a proper connection configuration or have already called knex.destroy() and the connection pool has drained and cleaned up.
I don't see how you'd be seeing this error if the client is properly configured.

I'm using<EMAIL_ADDRESS>-- And can confirm it returns that same message There is no pool defined on the current client. This is a new PG install on a windows box where as I knew the same code worked for my Mac. So I'm guessing there's something corrupt about PG. I understand this is amiss from the OP, but any idea @tgriesser , how I could debug this? My PSQL server is running, I can log into it with the credentials supplied in my Knex config.

@gotoAndBliss if you are on 0.12.1, the message couldn't be "There is no pool defined on the current client", that line is no longer anywhere in the codebase.
Maybe run setting env to DEBUG=knex:* to see if there's any output from the pool or otherwise that helps?

@tgriesser That helped me solve it. Thanks so much for your help.

Yep!

🎉 Kudos on picking a more descriptive error message. This should definitely help future users avoid time wasted.
:+1:


Indicate total member of a role

A rendered role summary only includes 5 of the total members. This adds “+ n more” for roles with more than five total members.

Closes https://github.com/aptible/dashboard.aptible.com/issues/592 when a new release of ember shared is added to dashboard

Nice, thanks


🐛 [FIREBASE_MESSAGING] APNS TOKEN not work

I cannot receive push on iOS.
I follow everything on the doc and it won't.
when doing in the code:
await FirebaseMessaging.instance.getAPNSToken();
Returns null.
and :
await FirebaseMessaging.instance.getToken();
returns a message:
APNS device token not set before retrieving FCM Token for Sender ID

On another device it worked, not sending via token, but a message to all devices,
What can it be?
the iOS version that worked is: 15.1
the iOS version that doesn't work: 13.1.3

@JeanPOAlvesAo abrir um problema, use o modelo e preencha os detalhes solicitados para que possamos analisá-lo usando-lo.
Você pode tentar o mesmo cenário em outro dispositivo ios e ver se ele persiste ou não?

On another device it worked, not sending via token, but a message to all devices,
What can it be?
the iOS version that worked is: 15.1
the iOS version that doesn't work: 13.1.3

What can it be?

It's hard to tell without looking at any details. Please check if you've correct set up the notifications per instructed in the document.
There was similar issue reported which turned out to be device specific issue, https://github.com/FirebaseExtended/flutterfire/issues/7278


Add support for changing locale

Currently once the locale is set, it cannot be changed.  I would like for there to be a method (e.g. setLocale) which can change the locale for the existing object instead of having to create a new instance.

@aprilwebster is this something you or someone on your team can help with?

@soumak77 I think you just fixed this.


Add 'pass-through' option to copy stage

If target=False is set on the Copy stage, it will do nothing and return the store input.
This is logic moved from https://github.com/leap-stc/proto_feedstock/pull/27

Wait to merge until i test this in https://github.com/leap-stc/proto_feedstock/pull/27

Testing in https://github.com/leap-stc/proto_feedstock/pull/27#issuecomment-2061995912 passed. I am merging this now, and releasing right after.


Refactor Terraform o1-testnet module

This item is completed. The latest diff relating to this work can be found at:
https://github.com/MinaProtocol/mina-deployments/commit/e70e114f5ab1cd377f9e4c62df1c1241df1515f9


[Suggestion] multiple ingredients

Ingredients could be an array.
Each ingredient would have to fall within a certain time and radius of the previous ingredient to count towards the recipe.
If not all ingredients were input, nothing would be returned.

Each recipe could specify whether ingredient order matters or not, and recipes where order matters would have priority.

Even more
  You could even optionally allow for specific positions an ingredient must have relative to the previous ingredient so that you have to draw constellation-like shapes.with the ingredients.

Disclaimer
    I know these ideas would be a lot of work to implement, I just love custom recipes :-]
I'd be happy to PR these when I get back to my dev PCand have time.

I'm not sure how I would implement this. Do you have any ideas?
I really wish the bundle was obtainable in survival, as this might be a perfect use case for it (shove all the ingredients in a bundle and throw it into the void).


Also publish to Test PyPI on tag in Travis CI

Travis CI CD should publish to Test PyPI on tag event as well, otherwise, we'll have gaps there.
PR Type

Bugfix Pull Request

@ssbarnea we missed this in the previous PR


Add setup for unit tests

Set up the unit tests on cypress.

Use two different actions on package.json: cypress:unit:open and cypress:unit:run that will run with a different config file cypress-unit.json. This will allow us not to wait for the server to run and run the tests immediately.

The tests should be included in the unit folder. One example is included already

@alexeh I need you help for this PR.
Reading the cypress documentation I think they propose to use the same folder integrations for all specs. Where unit test will be included. Should we create a new folder and config only for running unit testing?
https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests
PD: Alex is an expert on this


init.py under nnsvs/bin/conf missing after installation.

When I tried to run stage 1 of nit-song-070/00-svs-world recipe on Google Colaboratory, I got the error as this;
stage 1: Feature generation
/usr/local/lib/python3.6/dist-packages/hydra/core/utils.py:204: UserWarning:
Using config_path to specify the config name is deprecated, specify the config name via config_name
See https://hydra.cc/docs/next/upgrades/0.11_to_1.0/config_path_changes
  warnings.warn(category=UserWarning, message=msg)
Primary config module 'nnsvs.bin.conf.prepare_features' not found.
Check that it's correct and contains an __init__.py file

I found __init__.py files under /usr/local/lib/python3.6/dist-packages/nnsvs/bin/conf are missing.
I uploaded the failed ipynb[1] so please see it for detail.

https://gist.github.com/taroushirani/d35aa92d78bebf6559ab6e5e4306c8f8

I'm sorry but I find this is my falut.


tokio-rustls write only first IoSlice when use write_vectored

Looks like is_write_vectored returns true
But function write_vectored does not work correct. I receive only first slice when I read stream
I am sorry I have not code example to reproduce

Looks like is_write_vectored returns true

Where do you see that? For both client::TlsStream and server::TlsStream, it is not overridden which means it will return false:

https://docs.rs/tokio-rustls/latest/src/tokio_rustls/client.rs.html#134-244
https://docs.rs/tokio-rustls/latest/src/tokio_rustls/server.rs.html#94-129


Rename tabs?

This looks like an awesome component, great job. The one feature that I would love to have is the ability to rename tabs. I like the way google docs did it - you can either double click on the tab or click the little arrow and select 'rename.'
 and
I am new to react - so I was wondering, is there a way to implement this without modifying your code?

That's a cool idea! Maybe I can make it more flexible - like you can define your own operations for this tab.


Debian packaging update

Unfortunately it will not work, because python-datrie is not packaged for debian yet.

Coverage decreased (-0.1%) to 80.649% when pulling 8a9461f6679c0727538ad6aff39d6b8f0b38ff5e on tcpcloud:master into 629bee69f3b1f18f4369462655c3055a8c11da54 on eonpatapon:master.


Decimal exponential problem

I'm submitting a ...

[x] bug report

What is the current behaviour?
If using a decimal number with > 6 decimal places the output is converted to exponential.
For example:

type: 'input',
inputType: 'number',
step: '.0000001'

With a default value of 0.0000001 is converted to exponential output (1e-7).

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://jsfiddle.net/0mg1v81e/2909/

What is the expected behavior?
Perhaps its not a bug but I would expect that the number is shown without exponent.

What is the motivation / use case for changing the behavior?
Average user does not understand exponential values.

Other information
Tried using numeraljs to set the default value - same problem. Tried using string to set the value, loads well but then becomes an exponential on change of value.

OK, easy fix is to set the default value using toFixed:
´´´
0.0000001.toFixed(7)
´´´

Nope, I take it back. Still a problem when changing values on the form. Any ideas?

So its possible to add the .toFixed in onChanged or set methods of the field but its a bit slow :/


[FEAT] : Add hovering effect over the icons and also show which color is selected at the moment.

Describe the solution you'd like
A hovering effect over the icons to make the UI look better. Also add a border to the selected color so that which color is selected and used at that particular moment is known.

I would love to contribute to this issue, as a GSSOC contributor

Kindly assign this issue to me . I want to eagerly contribute to this.

I am Anvi Shelar. Under GSSOC'24, I would like to work on this issue. Pls assign me this!!

I am Agamjot singh. Under GSSOC'24, I would like to work on this issue. Pls assign me this!!

@souvik-maity Do you want to work on the issue?

Yes , I want to work on this.

@souvik-maity Best of Luck!

Thanks

@singodiyashubham87 Please assign this issue to me


2819解决方案

可以通过SerializerFeature.BrowserCompatible特性来给Long或者BigInteger序列化后加上引号

Codecov Report

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

@@             Coverage Diff              @@
##             master       #5      +/-   ##
============================================
- Coverage     80.14%   80.13%   -0.01%
  Complexity     7144     7144
============================================
  Files           145      145
  Lines         26964    26964
  Branches       6449     6449
============================================
- Hits          21609    21608       -1
  Misses         3495     3495
- Partials       1860     1861       +1

Impacted Files
Coverage Δ
Complexity Δ

...main/java/com/alibaba/fastjson/util/FieldInfo.java
86.2% <0%> (-0.35%)
91% <0%> (ø)

.../java/com/alibaba/fastjson/parser/JSONScanner.java
76.11% <0%> (-0.17%)
506% <0%> (-2%)

...ava/com/alibaba/fastjson/serializer/DateCodec.java
88.82% <0%> (+1.76%)
41% <0%> (+1%)
: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 7f41acc...592d370. Read the comment docs.


Add moodle integration

https://github.com/bigbluebutton/bigbluebutton/issues/10895 notes that moodle integration would be nice.
Questions to answer here are:

How does moodle authN/authZ users?
-- If it uses external user providers (LDAP, SAML), these would have to be implemented (might be useful regardless of moodle support)
-- If it uses an internal database, auth would have to be done against that
Is there any reasonable mechanic to configure the state of recordings, or would a default 'moodle users only' suffice?

HI @ichdasich . Yes It would be nice.
I checked yesterday the auth mechanism of moodle.
In my case we have a SSO behind Moodle, but for the BBB records, in the bbb moodle pluggin, there is no such attribute like "public" of "private" for the records. There is a mariadb backend with Moodle and new table who comes with the bbb moodle pluggin, but no such entry in the table to set a record status like described before.
In my case I have scalelite behind the Moodle instance.
The only way to protect the presentation link from outside is to very the last http_referer. If you come from Moodle, you are granted, in other way, you have to auth on Moodle.
It is a minor hack, but if the bbb moodle pluggin doesn't change, I don't known how to protect the record. The admin need to access to all the records... What is a admin in Moodle, most of the teacher/researcher...
Regards,
Aurélien.

The link to the bbb table in Moodle https://github.com/blindsidenetworks/moodle-mod_bigbluebuttonbn/blob/master/db/install.xml


ValueError: a must be greater than 0 unless no samples are taken

Hello! guys.
Has anyone ever encountered such mistakes?
How the errors fix？
Traceback (most recent call last):
File "wdgrl.py", line 134, in
main(args)
File "wdgrl.py", line 76, in main
(source_x, source_y), (target_x, _) = next(batch_iterator)
File "H:\anaconda3\envs\torch1.4\lib\site-packages\torch\utils\data\dataloader.py", line 517, in next
data = self._next_data()
File "H:\anaconda3\envs\torch1.4\lib\site-packages\torch\utils\data\dataloader.py", line 557, in _next_data
data = self._dataset_fetcher.fetch(index)  # may raise StopIteration
File "H:\anaconda3\envs\torch1.4\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "H:\anaconda3\envs\torch1.4\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "G:\pytorch-domain-adaptation\data.py", line 38, in getitem
bsds_image = self._random_bsds_image()
File "G:\pytorch-domain-adaptation\data.py", line 51, in _random_bsds_image
i = self.rng.choice(len(self.bsds))
File "mtrand.pyx", line 902, in numpy.random.mtrand.RandomState.choice
ValueError: a must be greater than 0 unless no samples are taken

The cause of the error is that you don't follow the first step of the "Instructions".
If you download the BSDS500 dataset and extract it at the right folder, this error will not happen.
Because you have to use the BSDS500 dataset to generate the images of MNISTM.

The cause of the error is that you don't follow the first step of the "Instructions". If you download the BSDS500 dataset and extract it at the right folder, this error will not happen. Because you have to use the BSDS500 dataset to generate the images of MNISTM.

Currently, the website where the original BSDS download link is linked is no longer able to download this dataset. What should I do if the dataset I downloaded from other places still encounters this problem?


Add OTP auto-deploy project setting

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[x] Any modified or new methods or classes have helpful JSDoc and code is thoroughly commented
[x] The description lists all applicable issues this PR seeks to resolve
[x] The description lists any configuration setting(s) that differ from the default settings
[x] All tests and CI builds passing

Description
Adds auto-deploy setting at http://localhost:9966/project/YOUR_PROJECT_ID/deployments

Corresponds to changes in ibi-group/datatools-server#361.

Adding blocked label until iteration on ibi-group/datatools-server#361 settles down.

Codecov Report

Merging #637 (afe8538) into dev (4e7b8ea) will increase coverage by 0.11%.
The diff coverage is 38.00%.

@@            Coverage Diff             @@
##              dev     #637      +/-   ##
==========================================
+ Coverage   15.68%   15.79%   +0.11%
==========================================
  Files         329      330       +1
  Lines       16797    16867      +70
  Branches     5062     5073      +11
==========================================
+ Hits         2634     2664      +30
- Misses      12113    12144      +31
- Partials     2050     2059       +9

Flag
Coverage Δ

unit_tests
15.79% <38.00%> (+0.11%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

lib/common/util/permissions.js
31.81% <ø> (ø)

lib/manager/actions/deployments.js
18.32% <0.00%> (-1.04%)
:arrow_down:

.../manager/components/deployment/DeploymentViewer.js
20.51% <0.00%> (ø)

lib/manager/containers/ActiveDeploymentViewer.js
66.66% <ø> (ø)

lib/manager/containers/DeploymentsPanel.js
100.00% <ø> (ø)

lib/manager/util/version.js
30.43% <0.00%> (-1.39%)
:arrow_down:

lib/types/index.js
0.00% <0.00%> (ø)

...anager/components/deployment/DeploymentSettings.js
14.51% <12.50%> (-0.94%)
:arrow_down:

...nager/components/deployment/FeedVersionTableRow.js
17.64% <17.64%> (ø)

lib/manager/actions/projects.js
32.66% <25.00%> (-0.22%)
:arrow_down:

... and 7 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 4e7b8ea...afe8538. Read the comment docs.

All, I just updated things a bit in the deployment table to make selecting versions a little easier:

@binh-dam-ibigroup, build issue resolved in https://github.com/ibi-group/datatools-ui/pull/637/commits/e48b0bf36a9dd3b80b4a5f74a7acc07be2b3e0cd.


Restrict python version in CI workflow

The previous CI workflow errored when running tests for PR #16, because python > 3.10 was used. This PR fixes this by explicitly using python 3.10.
There are also some changes to in the workflow to how POMDPGym is loaded, with corresponding changes in runtests.jl.
Some other parts of the CI workflow are updated.

There seems to be some problems when running tests on julia 1.10. Will try to adress these.


ports/go: refactor

Description

Small refactorings.
Remove useless buffer of all channels. (consumer always faster than producer)

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation update

Checklist:

[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added tests/screenshots (if any) that prove my fix is effective or that my feature works.
[ ] I have tested the tests implicated (if any) by my own code and they pass (make test or ctest -VV -R <test-name>).
[ ] If my change is significant or breaking, I have passed all tests with ./docker-compose.sh test &> output and attached the output.
[ ] I have tested my code with OPTION_BUILD_SANITIZER or ./docker-compose.sh test-sanitizer &> output and OPTION_TEST_MEMORYCHECK.
[ ] I have tested my code with OPTION_BUILD_THREAD_SANITIZER or ./docker-compose.sh test-thread-sanitizer &> output.
[ ] I have tested with Helgrind in case my code works with threading.
[ ] I have run make clang-format in order to format my code and my code follows the style guidelines.

If you are unclear about any of the above checks, have a look at our documentation here.

We need to refine the tests first before we start refactoring.

I have reverted your last PR changes: https://github.com/metacall/core/commit/1b8cd137b19647ee2b10122d1cbf768a34abeca7
Do not modify the code if it does not add any value, for example linters etc.. or removing optional types, or just refactoring the ifs into switch, it changes the behavior because it removes the check of the casting if it was ok or not.
You can add more type conversions, but remember, LONG is int64, not 32.
I am also adding tests, for each code you add, please test it. You can add a folder called test with all the scripts for testing if you want, and verify each type you add that works.

UpdateCTestConfiguration  from :/media/sf_koyanisqaatsi/metacall-core/build/DartConfiguration.tcl
Parse Config file:/media/sf_koyanisqaatsi/metacall-core/build/DartConfiguration.tcl
UpdateCTestConfiguration  from :/media/sf_koyanisqaatsi/metacall-core/build/DartConfiguration.tcl
Parse Config file:/media/sf_koyanisqaatsi/metacall-core/build/DartConfiguration.tcl
Test project /media/sf_koyanisqaatsi/metacall-core/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
    Start 1: go_port

1: Test command: /usr/local/go/bin/go "test"
1: Test timeout computed to be: 1500
1: Information: Set MetaCall log level to Debug
1: Debug: Loader script path: /tmp/go-build2208275168/b001/
1: Debug: Loader __metacall_host__ registered at position (0) in thread #380474
1: Debug: Loader host initialized
1: Debug: Loading plugin: ext_loader
1: Error: DynLink error: /usr/local/lib/libext_loader.so: cannot open shared object file: No such file or directory
1: Error: Failed to load library from plugin descriptor
1: Error: Plugin loader from manager 'loader' failed to load plugin: ext
1: Error: Failed to create loader: ext
1: Error: Tried to load 1 file(s) from non existent loader (ext): plugin_extension
1: Warning: MetaCall Plugin Extension could not be loaded
1: Debug: Loading plugin: node_loader
1: Debug: Loading plugin symbol: dynlink_symbol_node_loader_impl_interface_singleton
1: Debug: Created loader (node) implementation <0x24e6ed0>
1: Debug: Loading buffer from memory (node):
1: module.exports = { benchmark: async x => x }
1: Debug: Loading from memory module.exp...
1: Debug: Loader node registered at position (1) in thread #380474
1: Debug: Loader interface: 0x7f8301536620 - Loader handle: 0x7f82e4164210
1: Debug: Loading plugin: mock_loader
1: Debug: Loading plugin symbol: dynlink_symbol_mock_loader_impl_interface_singleton
1: Debug: Created loader (mock) implementation <0x24e4640>
1: Debug: Loading 1 file(s) (mock) from path(s): test.mock ...
1: Debug: Loading test.mock
1: Debug: Loader mock registered at position (2) in thread #380474
1: Debug: Mock module test.mock loaded from file
1: Debug: Loader interface: 0x7f83018c2140 - Loader handle: 0x25263e0
1: Debug: Loader handle impl: 0x2526440
1: Debug: Mock module 0x25263e0 discovering
1: Debug: Loader (mock) get value: three_str <0x2528368>
1: Debug: Invoking mock function three_str
1: Debug: Type 0x2525ff0, 7
1: Debug: String value: e
1: Debug: Type 0x2525ff0, 7
1: Debug: String value: f
1: Debug: Type 0x2525ff0, 7
1: Debug: String value: g
1: Debug: Calling mock function with arguments (3)
1: Debug: Return type 0x2525ff0, 7
1: Debug: Loading buffer from memory (node):
1: module.exports = { g: () => [0, 1, 2] }
1: Debug: Loading from memory module.exp...
1: Debug: Loader interface: 0x7f8301536620 - Loader handle: 0x7f82e4164410
1: Debug: Loader (node) get value: g <0x7f82e41646f8>
1: Debug: Loading buffer from memory (node):
1: module.exports = { f: async (ms) => await new Promise(resolve => setTimeout(resolve, ms)) }
1: Debug: Loading from memory module.exp...
1: Debug: Loader interface: 0x7f8301536620 - Loader handle: 0x7f82e41651e0
1: Debug: Loader (node) get value: f <0x7f82e4165418>
1: Debug: Await function (f) with args <0x24e6360>
1: Debug: Destroy future value <0x7f82e4164c98>
1: 2023/03/28 02:54:15 from go resolve
1: PASS
1: ok  	github.com/metacall/core/source/ports/go_port/source	0.735s
1/1 Test #1: go_port ..........................   Passed    3.79 sec

The following tests passed:
	go_port

100% tests passed, 0 tests failed out of 1

Label Time Summary:
go_port    =   3.79 sec*proc (1 test)

Total Test time (real) =   4.02 sec

I am not gonna merge any other commit if you don't do TDD or you don't follow the instructions, neither Gil will merge it. It's just a way to prevent breaking things all the time, the project is big and there's not a lot of QA people for verifying it works properly, so TDD is super important.

Also this commit for example, the one you have in the draft, it does not add any value, so this kind of commits won't be merged neither, you are free to add new type conversions but do not touch anything else if the refactor is not completely justified.

The new code is pushed.
I see that a1a079f352d3c85c0516207542bd98243e70842f was able to run go_ports tests in CI(I'm not familiar with C toolchain), do I still need to add a new CI test for go_ports?

@iyear I am working on it, as soon as it is ready I will merge your changes and we will be able to check the result of the test in the CI (at least in linux).


Heroku support

Make this app compliant with Heroku (via a Procfile), and then add a Deploy on Heroku button in the Readme.
Needs:

PHP
MySQL
Init config (parameter.yml)
Composer install
Create database
Db migrations
Create user ?
Node/gulp/Sass & cie ?

For heroku, I suggest using postgres rather than MySQL given that heroku themselves provide a Postgres addon while MySQL requires using a separate service


OpenGL debug message: id=2, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION in glBindFramebuffer(non-gen name)'

tested with v1.4.7-mc1.18.2-fabric and v1.4.8-mc1.18.2-fabric
Mods which might cause a compat error:
sodium-fabric-mc1.18.2-0.4.1+build.15
iris-mc1.18.2-1.2.5.jar
indium-1.0.6+mc1.18.2
lithium-fabric-mc1.18.2-0.7.10
phosphor-fabric-mc1.18.x-0.8.1

not sure if its a compat issue, but my console is spamming this OpenGL error.
and sometimes e.g. if I change the dimension from the nether back to the overworld (without using the Portal) I get a black screen.
If I resize the window, the world renders normally again.

Is this your entire modlist?
I'm experiencing the same issue but have disable each of your listed mods and still experience it.
The easiest way to recreate it for me is to set a spawn (overworld), go through a nether portal, type /kill
Could you provide a complete mod list so I can cross check and begin isolation the cause?

After an hour of brute force testing, I've found that the problem is actually Spectrum.
I have tested with all other 217 mods enable. Everything works fine.
Tested with just Spectrum (and it's dependencies) - Issue occurs
Spectrum is the cause

Thank you for your efforts to find out.

There is already an issue about spectrum https://github.com/qouteall/ImmersivePortalsMod/issues/1117

Also I have spoken with the Spectrum dev and made them aware of the issue. They are working to make it compatible with their next update.


修正文档展示

修正代码块部分未被解析
没有换行时的展示效果
and add @RefreshScope to turn on dynamic refresh . @RefreshScope class SampleController {
 	@Value("${user.name}")
 	String userName;

 	@Value("${user.age}")
 	int age;
 }

添加换行时展示效果
and add @RefreshScope to turn on dynamic refresh .
@RefreshScope
class SampleController {

 	@Value("${user.name}")
 	String userName;

 	@Value("${user.age}")
 	int age;
 }

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


Rewrite Rules: how to?

I wanted to ask, if there's documentation on how to write custom rewrite rules. I'm subscribed to hackernews and would like to replace the link to the comments with one that leads to https://hackerweb.app/#/item/19910691 instead of https://news.ycombinator.com/item?id=19910691
You mention in the documentation that miniflux uses https://github.com/PuerkitoBio/goquery for its rules engine. Where do I enter a potential rule? is there a config file?

You can enter the rules on the "edit feed" page: https://miniflux.app/docs/ui.html#edit-feed
The rewrite rules are pretty basic for now..

Are there only the few mentioned available? If yes, I'll look into another way to achieve my desired outcome

Am 26.05.2019 um 20:09 schrieb fguillot<EMAIL_ADDRESS>You can enter the rules on the "edit feed" page: https://miniflux.app/docs/ui.html#edit-feed
The rewrite rules are pretty basic for now..
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

You can enter the rules on the "edit feed" page: https://miniflux.app/docs/ui.html#edit-feed
The rewrite rules are pretty basic for now..

Rewrite Rules: Name of the rewrite rules to use to alter item content
-- https://miniflux.app/docs/ui.html#edit-feed

Miniflux includes a set of default rules for some websites, but you could define your own rules.
-- https://miniflux.app/docs/rules.html#rewrite-rules

So, how/where to define your own rules?

Only the one listed on this page are available: https://miniflux.app/docs/rules.html#rewrite-rules


feat: Add endpoint to retrieve exchange rates

Codecov Report

Merging #767 (bf64af6) into main (56d9ec8) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #767   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           19        20    +1
  Lines          542       551    +9
  Branches        39        39
=========================================
+ Hits           542       551    +9

Flag
Coverage Δ

unittests
100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/client/RESTClient.ts
100.00% <100.00%> (ø)

src/exchange-rate/ExchangeRateAPI.ts
100.00% <100.00%> (ø)


🪲 Opteryx Mac build failing

The Orso Mac build fails, these were almost definitely based on the same script so should be easy to find the differences. Orso is nearly as complex as Opteryx (it has no Rust build) so unless this specifically is the failing step - this approach should fix the problem.

it appears to be the rust part that is the problem.


Support returning different results from stub method calls

RhinoMocks allows for the ability to return different objects the second, third, fourth etc. time that a method is called. This is particularly useful when you are mocking a factory for use in the class under test, for example:
Factory = MockRepository.GenerateStub<IFactory>();
Factory.Stub(f => f.Create(Arg<string>.Is.Anything)).Return(Object1).Repeat.Once();
Factory.Stub(f => f.Create(Arg<string>.Is.Anything)).Return(Object2).Repeat.Once();

This will mean Factory.Create(string.Any) will return Object1 the first time it is called, and Object2 the second time.
Is there potential for support this in Machine.Fakes? Thanks!

It looks like the other mocking frameworks support this as well:
http://nsubstitute.github.io/help/multiple-returns/
https://github.com/Moq/moq4/wiki/Quickstart
https://github.com/FakeItEasy/FakeItEasy/wiki/Specifying-return-values
So, it should be possible to implement this in Machine.Fakes. The interesting part is how to design the API for it and whether all frameworks can be accommodated.


Update various libraries and migrate to JDK 17

:pushpin: References

Issue: #336, #339, #287
Related pull-requests: #292, #333, #288

:tophat: What is the goal?
Android Gradle Plugin 8 requires that apps use JDK 17. Currently, Shot stands as a blocker to using JDK 17 on projects that rely on it.
How is it being implemented?

Simplify and centralize the codebase's various libraries with Gradle's version catalog. This should make it easier to understand versions being used as well updating them in the future.
Update the majority of the libraries and versions used in the codebase:

Scala: 2.12 -> 2.13

Includes most scala libraries, notably scrimage to 4.0.37 to resolve (#339)
Resolves some warnings around Scala 3 syntax, but mocking libraries have yet to adopt Scala 3 so I kept it to 2.13

Kotlin: 1.4.32 (and others) -> 1.8.20
AGP: 7.1 (and others) -> 7.4.2, 8.0.2 (in the compose sample project for verification)
Java: 1.8 -> 11
JDK: 11 -> 17 (Note: this will require all consumers to also use JDK 17+)
Gradle: 7.0.1 (and others) -> 7.6.1, 8.1.1 (in the compose sample project for verification)
Android compile/targetSdk: 28 -> 33
Most Android libraries updated to a recent stable release
Mockito: 2/3 -> 5

This also adopts the official mockito kotlin library

Removed the Kotlin Android extensions
Removed JCenter where possible

How can it be tested?
All steps completed below with local maven published version on a Mac M1 using JDK 17 (#287)

[x] AGP 8 & Gradle 8:

The shot-consumer-composer sample project now targets these latest stable versions and executeScreenshotTests runs as expected

[x] AGP 7 & Gradle 8:

A Production app's screenshot tests produce the same results as the production 5.14.1 version of shot

[x] AGP 7 & Gradle 7:

The sample projects run the various executeScreenshotTests as expected and produce the same results as the production 5.14.1 version of shot

[x] Checks and tests succeed:

./gradlew clean checkScalaFmtAll ktlintCheck test :shot-android:connectedCheck passes locally

[x] Passing CI:

Successful CI run

I've had a number of issues getting the sample projects on master completing the executeScreenshotTests tasks. My changes produce the same results as 5.14.1 on the updated sample projects, but several of the screenshot sizes are different than what are on master. So it's likely that CI might fail and I might need to re-record the screenshots as some library updates like the bump to Material could have changed some of the Android views.

That looks like a lifesaver, thanks for your work!
I think this issue can be also mentioned as a reference

Thank you so much @Kurt-Bonatz, let me take a look at the PR. It's quite big, but as the CI is passing I think we are good to go unless we find any major blocker 😃

Version 6.0.0 released, please @Kurt-Bonatz check if everything is working as expected from your end and let me know if there is something broken. Thanks 😃

@pedrovgs Apologies for the lengthy change 😅, and thanks for taking the time to review it! Thus far we haven't had any issues with the new version, though I did re-record our screenshots for good measure.
Also things worked out perfectly since you actually built and published the artifact with JDK 11 (don't worry things still work as expected on JDK 17), which means we could drop the new version in without also having to complete the JDK 17 migration on CI or locally. It actually simplified things quite a bit for us!

That's why I decided to use 6.0.0 as the new version. The changes will force users to update some of their dependencies and maybe the JDK they use 😃 Thanks for your contribution @Kurt-Bonatz I really appreciate it!


Contextual table classes apply tr class instead of td class to individual cells

Windows 10.0.17763 Build 17763
Chrome Version 76.0.3809.100 (Official Build) (64-bit)
JSBin of the problem: https://output.jsbin.com/zoqonukaru/
Using Bootstrap 4.3.1
When using Contextual Classes (such as table-warning, table-success) on Bootstrap tables, the class on the tr element applies to the entire row as expected, but placing an additional class on one of the td elements does not apply the new color - it continues to have the color from the tr element. I would expect the td element's class and color to take precedence over the parent td element's class and color.
I'm not sure where the fix would go to be properly compiled from a .scss file into the dist .css file, but adding tr > td ~ .table-danger to the dist .css file seems to make the cell-specific coloring work as intended. This fix doesn't apply to single cell rows, but you wouldn't need to color a single cell differently from the row color if your row is a single cell in the first place, so it's hopefully a moot point.
The fix (in compiled css file, so only a little useful):
bootstrap/dist/css/bootstrap.css line 1681
.table-danger,
.table-danger > th,
.table-danger > td {
  background-color: #f5c6cb;
}

to
.table-danger,
.table-danger > th,
.table-danger > td,
tr > td ~ .table-danger {
  background-color: #f5c6cb;
}

@kjsalexander yes, it's a moot point. To me is not an issue, because the documentation say that you can applly a contextual class on table OR row OR cell, but don't describe that you can apply a contextual class over another contextual class, if not, the code could be diferent, more simple, something like:
.table-danger {
  background-color: #f5c6cb;
}

instead of:
.table-danger,
.table-danger > th,
.table-danger > td {
  background-color: #f5c6cb;
}

What do you think about this @MartijnCuppens ?

@mendozagioo has it right—this is coming in #30342 where I'm redoing some table styles and improving documentation.

Really glad this is being fixed for v5. Does anyone have a suggested work-around fo v4.x? Thanks.


Strange rendering of examples in AWS Lambda Function docs

See https://www.pulumi.com/docs/reference/pkg/aws/lambda/function/.

Some examples are outside of language choosers and are included inline in multiple languages.
Examples are overall strangely organized
"Basic Example" is missing

Points 1 and 2 have been completed!
I am not sure why we lose the "Basic Example" now - it's part of the SDK https://github.com/pulumi/pulumi-aws/blob/master/sdk/nodejs/lambda/function.ts#L18
@praneetloke thoughts here?

Related: https://github.com/pulumi/pulumi-terraform-bridge/pull/211

This is fixed now.


Forward-port timestampBeforeNow

Port of https://github.com/Banno/kafka4s/pull/492.

Merging, since this is just a forward port.


feat: add hivetests profile

This adds the hivetests profile, which is an optimized version of the test profile. The docker image is also modified to support replacing the BUILD_PROFILE argument. This does not yet use the hivetests profile for a published image.
DONOTMERGE until the on: push: part of the hive workflow is removed

lgtm, but we don't want to run this on every PR, right?

yeah, the on: push:  was just to make sure nothing broke


getAcceptedFriends not returning the user details

When i fetch all accepted friendship and pass to the view the names and id of the friends not showing.
My controller file
public function connections ()
        {
            $user = Auth::user();
            $connections = $user->getAcceptedFriendships();;
            return view('users.friendships.connections')->with(compact('connections'));
        }

View file
@foreach($connections as $user)

{{$user->name}}

@endforeach

It displays the list of all accepted friendship without their details like their name.
I need support

Hey, since the pivot table only holds the id's, you will only get the collection of id's when you call the function as is. If you want to get the full details of the users like name, email, etc then you need to eager load them by using ->load('sender') or ->load('recipient')
public function connections ()
        {
            $user = Auth::user();
            $connections = $user->getAcceptedFriendships()->load('sender')->load('recipient');
            return view('users.friendships.connections')->with(compact('connections'));
        }

the above will load the user details for both the sender and the recipient user.
-TT

I tried this but still details not showing on the view

Can you show me your view file?

here it is
@extends('layouts.templates.twoColumns')

@section('title') My Network | TPE @endsection

@section('content')
    @include('layouts.partials.alerts')
    @if(isset($connections) && !empty($connections))

{{$connections->count()}} Connections

                    @foreach($connections as $user)

                            {{$user->name}}
                            {{$user->email}}

                    @endforeach

    @else

No pending Invitations

    @endif
@endsection

Okay, the thing is when you are eager loading properties, you need to echo them accordingly. Let me show you just for sender -
In your controller -
public function connections ()
        {
            $user = Auth::user();
            $connections = $user->getAcceptedFriendships()->load('sender');
            return view('users.friendships.connections')->with(compact('connections'));
        }
--------------------------------------
In your view -
 @foreach($connections as $connection)

            {{$connection->sender->name}}
             {{$connection->sender->email}}

 @endforeach

And you do the same thing with the recipient or any other eager loaded property.
Next time dd your collections to see all the properties associated with it by doing dd($connections); in your controller.
-TT

tried this and worked fine
@foreach($connections as $user)
                        @if($user->sender->name != Auth::user()->name)

                                    id)}}">

                                            @if (!empty($user->sender->user_detail->profile_picture) )
                                                sender->user_detail->profile_picture)}}" />
                                            @else

                                            @endif

{{$user->sender->name}}

                                    sender->id)}}"> Message
                                    sender->id)}}" title="Remove Friend">

                        @elseif($user->recipient->name != Auth::user()->name)

                                    id)}}">

                                            @if (!empty($user->recipient->user_detail->profile_picture) )
                                                recipient->user_detail->profile_picture)}}" />
                                            @else

                                            @endif

{{$user->recipient->name}}

                                    recipient->id)}}"> Message
                                    recipient->id)}}" title="Remove Friend">

                        @endif
                    @endforeach


Fix race condition of DefaultChannelGroup by introducing a closed flag.

Motivation:
Doc of ChannelGroup says, that it can be used to manage server and child channels at once.
However, in DefaultChannelGroup, there is a race condition. When a server channel accepts a child, it schedules its
registration on an event loop, which takes some time. If the ChannelGroup, which is supposed
to close server and child channels at once, is closed after the child channel has been scheduled
for registration and before this registration actually happens, this child channel is not closed
and remains connected. This could lead to connection leaks.
Modifications:
To fix this, the DefaultChannelGroup is changed to has a closed flag.
This flag is set to true, just before the close() method is actually closing channels.
The add() method checks after adding a new channel, if this flag has been set to true.
If yes, the new channel is closed. If not, we have the guarantee, that this channel will be
closed by the ChannelGroup, because setting the closed flag to true happens-before closing any channels.
This behaviour can be activated by two new constructors. The old constructors are still there and behave like before.
Therefore, no existing code should be affected directly.
Result:
If activating this feature, the DefaultChannelGroup can be used, for managing server and child channels at once.
But this activating this feature means also, that a ChannelGroup cannot be reused after calling close().

Fixes #4020 .

Looking

Very strange, shouldn't have any impact. Feature is only activated by using the new constructors. It should not (in any way) affect existing code. I worked from master, correct ?

Cherry-picked into 4.0 (93d2e86ed00bef7b789209b5ea02263bcb24e850) , 4.1 (c8fb2a84c58d6350d7dac6bd246bd140d0e46a40) and master (ff26c156d1fb6716e9c9b0497f75df4d0acfe031)

@chrisprobst thanks again <3!


Add support for new password hashing algorithm

Currently the only password hashing algorithm supported is PBKDF2. This is a dated algorithm and better alternatives exist.
The high-level API in orion::pwhash offers key derivation using PBKDF2, but should preferably use a more modern algorithm.
Argon2i would be a very good replacement, which is also provided by other crypto libraries such as libsodium. I know @vlmutolo began some work on implementing this.
To provide Argon2i and keep unsafe code at a minimum, this should for starters not support threading. Alternatively we could provide scrypt, though a PBKDF2-SHA256 implementation is missing for this. I don't see an argument for providing scrypt rather than Argon2i however.

I'd like to second choosing argon2i. Perhaps it can be based off of rust-argon2 but use orion's blake2b implementation.

Perhaps it can be based off of rust-argon2 but use orion's blake2b implementation.

Yeah, I've been looking at those as well. It's nice to already have the BLAKE2b permutation required. @finfet Would you be interested in implementing this?

@brycx Sure, I can give it a shot this weekend.

@finfet Sounds great!

I spent a few hours poking around at an Argon2 implementation this weekend. I like the implementation of rust-argon2. It is mostly a re-implementation of the original C reference code. However, it doesn't use constant time comparisons which makes me a little bit skeptical of its quality.
The golang.org/x/crypto/argon2 implementation was also pretty easy to read as a reference.
It looks like openssl and therefore Python are unlikely to implement Argon2 because of the threading requirements. I'm not sure if there are any security implementations due to not using threading, but I assume it's fine because the Java BouncyCastle implementation doesn't use threads. My guess is that it's probably just slower to compute the hash because each round can't be computed in parallel.
Overall though, I'm still pretty new to rust so a full argon2 implementation is likely beyond my capabilities at this time.

I've also been looking at the Go implementation. There is also the argon2rs crate to look at for reference points.

My guess is that it's probably just slower to compute the hash because each round can't be computed in parallel.

AFAIU there is no security impact of not supporting multiple threads.

Overall though, I'm still pretty new to rust so a full argon2 implementation is likely beyond my capabilities at this time.

That's totally fair. I appreciate you looking into this, thanks!


Added movieEdit, movieIndex, movieDetails, also added to navbar

In this PR I created and edited movieEdit, movieIndex, movieDetails. I also added 'Movies' to the navbar and created routes and tests for all of the files I previously mentioned.

LGTM


Stuck in sending data

Hi,
I am using jsPsych to program my experiment and JATOS 3.8.1 to host it. There is one issue that has been troubling me for a long time since our IT uploaded JATOS from 3.7.x to 3.8.1: there are always 10%-20% of participants who complain that they are stuck on the screen while sending data, and it takes forever.
Initially, I send data to jatos after each trial using the function jatos.appendResultData. Then I noticed that the data would never be sent again once the participants lost internet connection for a few seconds (I replicated this issue by turning off Wi-Fi for a few seconds).
Since then, I have started using the jatos.submitResultData function to transfer data to the server. In addition, I also use the navigator.onLine function to check the status of the internet when transferring data to the server. The data will only be submitted when the navigator.onLine function returns true.
However, there are still always 5%-10% of participants who report the same issue, and I cannot replicate it on my own laptop. I wonder if there are any potential problems that may cause the issue. It would be greatly appreciated if you could give me some suggestions.
Here is the code that I am using to transfer data
//@ts-ignore submit results to JATOS
jatos
  .submitResultData(resultJson)
  //@ts-ignore end the study
  .then(jatos.endStudyAjax(true, "FINISHED"))
  .then(() => {
    document.body.innerHTML = END_INFO.completedOnline[expInfo.LANG];
  })
  .catch((error) => {
    console.error("Failed to submit the results to JATOS", error);
  });

Hi, it might be / probably is related to issue #304. We are in the process of fixing it.


create master script

create a script to orchestrate docker compose, or just a scripts, that calls all previous scripts:

create the benchmark data
load it into mysql
copy it into other stores and materialize relations

this script only contains calls to docker-compose, never pure docker.
do not require root


Flash writes can clobber RTOS base priority (uxBasePriority) (with analysis) (IDFGH-5881)

Environment

Development Kit:     custom
Module or chip used:  ESP32
IDF version v3.2.2 + master

Problem Description
The assigned priorities of tasks shifts after creation (in an upward fashion)
Expected Behavior
Initial priorities of tasks should stick
Actual Behavior
They don't
Bug description
The analysis pointed toward uxBasePriority in the RTOS task TCB being overwritten.
Setting a data watchpoint with esp_set_watchpoint() pointed towards spi_flash_disable_interrupts_caches_and_other_cpu():
It obtains current task priority which may be elevated from tasks wanting locks we are holding (vTaskPriorityInherit() etc.)
It then elevates priority to max and finally restores both current and base priority with vTaskPrioritySet(old_prio)
Fix
See associated PR

After reading the PR guidelines, I decided to just post a patch here for consideration / inspiration
diff --git a/components/freertos/tasks.c b/components/freertos/tasks.c
index b53fe5c75..07176905f 100644
--- a/components/freertos/tasks.c
+++ b/components/freertos/tasks.c
@@ -1581,6 +1581,42 @@ static void prvAddNewTaskToReadyList( TCB_t *pxNewTCB, TaskFunction_t pxTaskCode
 		return uxReturn;
 	}

+	UBaseType_t uxTaskBasePriorityGet( TaskHandle_t xTask )
+	{
+	TCB_t *pxTCB;
+	UBaseType_t uxReturn;
+
+		taskENTER_CRITICAL(&xTaskQueueMutex);
+		{
+			/* If null is passed in here then we are changing the
+			priority of the calling function. */
+			pxTCB = prvGetTCBFromHandle( xTask );
+			#if ( configUSE_MUTEXES == 1 )
+			uxReturn = pxTCB->uxBasePriority;
+			#else
+			uxReturn = pxTCB->uxPriority;
+			#endif
+		}
+		taskEXIT_CRITICAL(&xTaskQueueMutex);
+
+		return uxReturn;
+	}
+
+	void uxTaskBasePrioritySet( TaskHandle_t xTask, UBaseType_t prio )
+	{
+#if ( configUSE_MUTEXES == 1 )
+	TCB_t *pxTCB;
+		taskENTER_CRITICAL(&xTaskQueueMutex);
+		{
+			/* If null is passed in here then we are changing the
+			priority of the calling function. */
+			pxTCB = prvGetTCBFromHandle( xTask );
+            pxTCB->uxBasePriority = prio;
+		}
+		taskEXIT_CRITICAL(&xTaskQueueMutex);
+#endif
+	}
+
 #endif /* INCLUDE_uxTaskPriorityGet */
 /*-----------------------------------------------------------*/

diff --git a/components/spi_flash/cache_utils.c b/components/spi_flash/cache_utils.c
index 56038de37..c57268734 100644
--- a/components/spi_flash/cache_utils.c
+++ b/components/spi_flash/cache_utils.c
@@ -90,6 +90,8 @@ void IRAM_ATTR spi_flash_op_block_func(void* arg)
     xTaskResumeAll();
 }

+extern UBaseType_t uxTaskBasePriorityGet( TaskHandle_t xTask );
+extern void uxTaskBasePrioritySet( TaskHandle_t xTask, UBaseType_t prio );
 void IRAM_ATTR spi_flash_disable_interrupts_caches_and_other_cpu()
 {
     spi_flash_op_lock();
@@ -113,6 +115,7 @@ void IRAM_ATTR spi_flash_disable_interrupts_caches_and_other_cpu()
         // Temporarily raise current task priority to prevent a deadlock while
         // waiting for IPC task to start on the other CPU
         int old_prio = uxTaskPriorityGet(NULL);
+        int old_prio_base = uxTaskBasePriorityGet(NULL);
         vTaskPrioritySet(NULL, configMAX_PRIORITIES - 1);
         // Signal to the spi_flash_op_block_task on the other CPU that we need it to
         // disable cache there and block other tasks from executing.
@@ -127,6 +130,9 @@ void IRAM_ATTR spi_flash_disable_interrupts_caches_and_other_cpu()
         vTaskSuspendAll();
         // Can now set the priority back to the normal one
         vTaskPrioritySet(NULL, old_prio);
+        if (old_prio_base != old_prio) {
+            uxTaskBasePrioritySet(NULL, old_prio_base);
+        }
         // This is guaranteed to run on CPU <cpuid> because the other CPU is now
         // occupied by highest priority task
         assert(xPortGetCoreID() == cpuid);

@Dazza0
I'm wondering what would be the user visible impact of this issue.
Can you confirm this issue?

@Dazza0
I can confirm this bug on esp-idf v4.3.2-280-gbe19818db7.
I use vTaskList to show my task priority of all tasks.
Normally, the sys_evt task has priority 20 but after boot for some time I found the priority becomes 23.
My debug shows when sys_evt task was created, the priority is indeed 20.
But after spi_flash_disable_interrupts_caches_and_other_cpu is called, sys_evt priority may change.
ps. sys_evt is just an example, it also impacts priority of other tasks in my application.
Also confirm applying above changes fixes the task priority issue.

BTW, this issue does not happen if CONFIG_FREERTOS_UNICORE=y.

@Alvin1Zhang
There is no response regarding this bug. What's your suggestion?

This bug report is clear and even with a proposed fix, but noone steps in to review/fix it. Actually, no response at all.
It has been reported for very long time, can someone help to fix this issue? @Alvin1Zhang @igrr

@AxelLin Thanks for the notes, sorry for the very slow turnaround, will check and provide feedback.

@AxelLin Thanks for the notes, sorry for the very slow turnaround, will check and provide feedback.

Even after waiting for yet another month, still no feedback at all.

Is there any progress of fixing this issue?  It's really has been a long wait...
@Alvin1Zhang @Dazza0

Hi @AxelLin!
There was a discussion about exactly this case in freertos https://forums.freertos.org/t/bug-report-for-uxtaskpriorityget/13357.
They disagree to change the freertos APIs because it might break inheritance/disinheritance logic.
One way to resolve this issue is to take the priority of task before a mutex from spi_flash_op_lock will be take.
19037.zip
But might be we can find another way to fix it.

Will this be backported?

@KonstantinKondrashov
Will you fix this for v4.3?  The issue was reported on v4.3 quite long time ago: https://github.com/espressif/esp-idf/issues/7580#issuecomment-1042476721

Hi @AxelLin, v4.3 has entered its maintenance period since June 2022, thus only fixes for "high severity issues or security issues" will be backported.
We would prefer if users could upgrade to v4.4 to receive this fix since this bug isn't a high sevrity issue. However, if this bug is a major issue for the user (e.g., something that stops production), we can also consider backporting this to v4.3, or giving a v4.3 based patch to the user.
@AxelLin  Please let me know if those options are OK with you.

@AxelLin OK, the fix will be backported to v4.3


DISCUSSION: Chatbots

So 2017 is about cryptocurrencies and chatbots. If I'm not wrong this repo is doing 2 things. Signaling from indicators, and make live orders. The first thing I missed was to limit a placed money for each signal. I don't want to risk all my money at once, I only want to risk a partion.
So what if we could separate the signal and liveorder part, and create a third box between these two. For example a chatbot. For each signal the bot generates a message for me (for ex on fb messenger or slack). And if I confirm then make the order.
For ex I get a message like "Btc is increasing" and I can answer it with "buy btc from 100 usd".
From technical point of view:
We just need to separate/extend the order api I think its not a huge deal.
We need to make a configurable signal handler which can relay the signals to the old "sell all" functionality or the chatbot/other logic way. I think this is not a huge mod too.
We need to write a chatbot which can consume the signals and relays it to the user, and convert the user inputs to orders. (It's not as big, for ex we could use microsoft's botbuilder sdk, and it can use skype, slack, fb, and kik without knowing how those platforms works.)
From money making point of view:
This could grow to be a valid opensource service with low costs, and capabilities for personalized signailing and trading via livechat. (I would spend money for this :D )
I'm not a javascript person (I personally hate this language), but I can help to achieve this If others are thinks this is a good idea.

Ok I went deeper to the docs. It has plugins \o/


boards: raptor_lake: Cleanup CMakeLists

Cleanup CMakeLists fixing error message:
...
No SOURCES given to Zephyr library: soc__x86__raptor_lake ...
...

@finikorg looks fine, but could you change “boards” to “soc” to make the commit message more accurate?

@finikorg looks fine, but could you change “boards” to “soc” to make the commit message more accurate?

Fixed!


Rename master to main

Resources on why this is important:
https://www.git-tower.com/learn/git/faq/git-rename-master-to-main
https://www.theserverside.com/feature/Why-GitHub-renamed-its-master-branch-to-main
This is a fairly easy fix, but has to be done directly to the main branch, and not possible to do it via PR.
It is becoming very uncommon to have a master branch, and it's ruining my muscle memory typing.

Resurrecting this, as main is becoming the predominant option for many repositories, my tab completion is being messed with. @Luthaf

Would be more than happy to do it, given the access. I know you don't necessarily see it as important but others do

Done by @rosecers!


🚀 Feature: JSON Serializable runner <-> reporter communication

I would like to bring some new life into a very old discussion, regarding the format of the communication between the runner and the reporters. I'll start by outlining my use case, then a brief coverage of the old discussion, and finally a proposed way forward.
Use case
I've recently been working on two large project which aims to normalize platforms by providing a common API (fanny-pack, wext). When working on those, I've had the need to test things in many different environments. While doing this I still want to have the ease of use, and the nice reporters, from mocha.
Currently, I'm trying to automate running tests inside a WebExtension. I have a script that will package mocha and some glue with a user-specified test file, build an extension out of it, and then use webdriver to test the extension in an actual browser.
While this currently works, I don't have a good way to get the mocha test output from inside of the extension, to the terminal that triggered the script.
The closest I can get is to use the tap reporter inside the extension, and then send that out to the script which can use tap-mocha-reporter to print the output.
The problem with this approach is that the TAP protocol have a lot less info than is needed, and the test output has incorrect timings and are missing other information. This results in a sub-par user experience.
Old discussions
This was discussed before in #492, and it seems that the maintainers had a positive attitude towards it. The problems with using TAP have also been brought up, and they are the same that I face today.
There even was a PR working towards this goal, that unfortunately never got merged: #685
Proposed road forward
I would like for there to be an easy way of splitting up the runner and the reporter into different processes. This would probably mean something like 1) working with the internals to make sure that the events passed to the runners are JSON-serializable, 2) making it easy to run the reporters standalone and just pass it a stream of events and 3) providing a way to get the raw events from mocha instead of using a reporter.
I think that we should be able to make these changes without breaking backward compatibility.
I'm very open to discussions around this, and I'm also happy to put in the work if we find a good way forward for this.
Thanks for reading ❤

I'm generally +1 on further abstracting the reporters from the runner. CC @mochajs/core

The problem with this approach is that the TAP protocol have a lot less info than is needed, and the test output has incorrect timings and are missing other information.

We have updates to the TAP reporter (#3452) in process.
We also have reporter statistics refactoring (#3458) in process.
I have two additional unreleased PRs to reporters as well, providing reporterOptions for all and making several reporters file-output capable.

I looked at #685. He basically added the ability to pass custom timestamps to various events, which allowed him to reuse Mocha's reporters with a different project.

I have no interest in further reporter changes until the ones we already have in the pipeline are merged.

I can see the problem with having too many pull requests that touch the same code parts at the same time, that is fair. How do you feel about the problem that I stated? Do you think it would be positive to work towards improving the situation I have?

Having read lots of old issues/PRs, believe there are possibly too many related issues that need to be addressed first. For example:

Move away from cmdline-oriented "mocha.opts" configuration file.

Attempting to configure multiple reporters via cmdline just doesn't really scale.
Replace with ".mocharc.json" could help mitigate that problem, at least to some degree.

Way too many third-party reporters exist to just start making massive reporter API changes wholesale.

Write down steps for some broad strokes on how you think we could achieve this.
Maybe as a first phase (multi-stage):

Create interface that emits Mocha events (migrating relevant code from runner).

Runner would inherit from interface (or via mix-in).
Reporter constructor would use interface rather than runner.

Identify and determine how to serialize moving parts of Mocha events
Create event-stream reporter to save serialized events to file.
Mocha could have --replay-events cmdline option (its argument a serialized events file).

Read file, passing events to interface, which (in turn) passes them to existing reporter.

Per #5027, we're trying to avoid making big changes that don't have a lot user demand. This hasn't been touched since 2019 and would be a breaking change to reporter options, I think. Closing out as wontfix.
Note that #1457 might help out here with more standardized plugin APIs. Maybe. Linking to that issue so that this one gets factored into the discussion.
If someone things I'm wrong to close this out, great! Please file a new issue with your reasoning, why the plugin APIs proposed in #1457 wouldn't be sufficient, and a link to this one. The new issue templates will prompt for the context we'd need to be able to re-triage this. We'd be happy to take a look. Cheers all! 🤎

This might be a silly question, but what about creating a "reporter" consuming Mocha's current API that turns the events into pure JSON data with all available info and sends those to one of:

a second/real reporter that takes events in pure JSON, chosen by a reporter option for this proposed Mocha-object-to-JSON "reporter"
an HTTP endpoint or some other connection, at the other end of which could be, again, a real reporter
stdout or stderr to be piped to a reporter in the same manner as TAP or redirected to a file for later analysis/reporting

In other words, sidestep the issue of changing Mocha itself:

The existing codebase doesn't have to be meddled with.
Existing third-party reporters do not get broken and will not need to be updated.
The new maintenance team does not have to work on adding this feature to Mocha, one or more teams of interested developers could be formed to solve it as a third party.


Update TO to handle Client-Cert-Subject HTTP header for client cert authentication.

Overview,
Traffic Ops needs to accept Impersonation Certificates as described in the blueprint: https://github.com/apache/trafficcontrol/blob/master/blueprints/client-certificate-auth.md#traffic-ops-impact
Currently, TO only accepts a UID presented directly in the Subject of a client certificate. TO MUST accept a UID presented in the Client-Cert-Subject field as well. If a client certificate with an empty UID in the Subject field is presented in a request that also contains a Client-Cert-Subject HTTP header, TO MUST use the contents of the Client-Cert-Subject header to determine the UID of the client.

Which Traffic Control components are affected by this PR?

Traffic Ops

What is the best way to verify this PR?
Manual Testing,

Test certificates can be created using the file located at,

trafficcontrol/experimental/certificate_auth/certs/generate_certs.go

Ensure that the UID field is empty at line, https://github.com/apache/trafficcontrol/blob/a89223526370e10b49ba26d0e302e1f3a4617374/experimental/certificate_auth/certs/generate_certs.go#L58
uid = ""

Running go run generate_certs.go will produce private keys and certificates for Root, Intermediate, and Client. Place the Root certificate in the directory location specified in the cdn.conf file,

"client_certificate_authentication" : {
    "root_certificates_directory" : "/etc/pki/tls/certs/"
}

Launch a Traffic Ops instance.

In the trafficcontrol/experimental/certificate_auth/example/client.go file, uncomment the following line to set UID via Client-Cert-Subject header and change the UID value to match the user you want to authenticate,

req.Header.Set("Client-Cert-Subject", "CN=client,OU=client,O=client,L=client,ST=client,C=US,UID=userID")

run the client.go file to send a request to the user/login Traffic Ops with the Client and Intermediate certs along with the http header Client-Cert-Subject ,

go run client.go

Upon success, a 200 OK status code will be returned along with the following body:

{
    "alerts": [
        {
            "text": "Successfully logged in.",
            "level": "success"
        }
    ]
}

If this is a bugfix, which Traffic Control versions contained the bug?

PR submission checklist

[x] This PR has tests
[x] This PR has documentation
[x] This PR has a CHANGELOG.md entry
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Not Planned For Now


No styling happening for bold or italic body text

In the current version of the theme, there's no styling happening for either bold or italic body text:

Ok, should be fixed! Thanks for letting me know :)


az ad sp list --show-mine --query [].servicePrincipalNames giving error response

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az ad sp list
Errors:
[Errno 30] Read-only file system: '/home/siva/.azure/versionCheck.json'
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_session.py", line 48, in load
with codecs_open(self.filename, 'r', encoding=self._encoding) as f:
File "/opt/az/lib/python3.6/codecs.py", line 897, in open
file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: '/home/siva/.azure/versionCheck.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 215, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 654, in execute
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 718, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 711, in _run_job
six.reraise(*sys.exc_info())
File "/opt/az/lib/python3.6/site-packages/six.py", line 703, in reraise
raise value
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 688, in _run_job
result = cmd_copy(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 325, in call
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 776, in default_command_handler
return op(**command_args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/feedback/custom.py", line 764, in handle_feedback
show_updates_available(new_line_before=True)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/util.py", line 285, in show_updates_available
VERSIONS.load(os.path.join(get_config_dir(), 'versionCheck.json'))
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_session.py", line 61, in load
self.save()
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_session.py", line 65, in save
with codecs_open(self.filename, 'w', encoding=self._encoding) as f:
File "/opt/az/lib/python3.6/codecs.py", line 897, in open
file = builtins.open(filename, mode, buffering)
OSError: [Errno 30] Read-only file system: '/home/siva/.azure/versionCheck.json'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az ad sp list --show-mine --query {}

Expected Behavior
Environment Summary
Linux-4.15.0-1092-azure-x86_64-with-debian-stretch-sid (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.9.1 *

Additional Context

add to S175

This is fixed. please upgrade to latest version of azure cli 2.39.0
az ad sp list --show-mine --query [0].servicePrincipalNames
[
"1520a3f0-3631---********"
]