Deprecated resources warnings

Cookbook version
2.15.6
Chef-client version
12.19.36
Platform Details
Ubuntu 16.04 with ChefDK
Scenario:
Using Docker cookbook resources in a recipe to setup postgres
Steps to Reproduce:
Reference Docker cookbook v2.15.6 in a recipe
Create a kitchen run that uses the recipe
kitchen test
Expected Result:
I can use the Docker cookbook's resources without deprecated method warnings.
Actual Result:
https://gist.github.com/chaim-sw/5c413f257691d7d9e6476b7aa542501c

These should definitely get fixed before 14 ships

Fixed up in 2.15.23


Update How to Add External Incentive Gauges onto the Osmosis Pools Page

Summary
from the issue blow, external gauge is moved to nextjs server but the guide still guide old way
https://github.com/osmosis-labs/osmosis-frontend/issues/853
https://github.com/osmosis-labs/osmosis-frontend/issues/1182
https://github.com/osmosis-labs/osmosis-frontend/issues/1190

Problem Definition

Proposal
update https://github.com/osmosis-labs/docs/blob/main/docs/overview/integrate/frontend.md#steps-2 to deliver accurate information

@JeremyParish69

Thanks for this @gnujoow , you are correct this is outdated information and have started on working to update appropriately


Cycle Sort

Description
Algorithm and code for cycle sort under Sorting Algorithms along with proper explanation and some practise problems.
Domain
Data Structure
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

hi please assign it to me

/assign

/assign


contains method only works with Primitives, doesn't work with Terraformer.Circle

Terraformer contains and within methods work only with Primitives, and doesn't work with Terraformer.Circle which is a Feature, so it's usage example in docs is confusing.
In the following example only within2 returns true;
var circle = new Terraformer.Circle([10, 10], 5000000, 64);

var rectanglePrimitive = new Terraformer.Polygon({
            type: "Polygon",
            coordinates: [[[-10, -10], [10, -10],
                          [10, 10], [-10, 10]]]
          });

var contains = circle.contains(rectanglePrimitive);
var within = circle.within(rectanglePrimitive);
var contains2 = rectanglePrimitive.contains(circle.geometry);
var within2 = rectanglePrimitive.within(circle.geometry);
var contains3 = circle.contains(mapBounds);
var within3 = circle.within(mapBounds);
var contains4 = mapBounds.contains(circle.geometry);
var within4 = mapBounds.within(circle.geometry);
var contains5 = rectanglePrimitive.contains(circle);
var within5 = rectanglePrimitive.within(circle);

thanks for pointing out the problem.
Terraformer.Circle and Terraformer.Feature are both Primitives so lets just make it work.

1.0.7 contains the fix.  thanks again.
https://github.com/Esri/Terraformer/releases/tag/v1.0.7


Editing email field shouldn't require exact emails

When editing a page such as http://<IP_ADDRESS>:5000/editspace?id=BabsonRwandaEntrepreneurshipCenterBREC20170131154122718786 :
What should happen:
I should be able to type in multiple email addresses or phone numbers, in the form<EMAIL_ADDRESS><EMAIL_ADDRESS>What currently happens:
The email field requires an actual email address-- which is sensible, except a large number of spaces have multiple emails so this could lead to issues. Ditto with Phone Numbers, as several spaces already have multiple numbers separated by commas.

ok i have changed the fields to text


[scala] Add 3.5

https://github.com/scala/scala3/releases/tag/3.5.0
I think also we need to fix latest release date for 3.4.3, it was released today not on August 14th.
https://www.scala-lang.org/download/3.4.3.html

Thanks!


Remove version: OK1DIX.VUSC4WIN version 7.07

URL_404
Microsoft Reviewers: Open in CodeFlow

[Policy] Highest Version Removal


Frontpage Update

Hey Chris, I have completed the frontpage update to fit your design also including some simple animations for each of the sections.

Merging homepage redesign to repo

Thanks, @RichGriff . For consistency, here are the two small amends requested via email:

Add a small downwards pointing arrow at the bottom of the homepage to indicate additional content.

The amends made to overrides/main.html remove the borders for all of the pages across the site, not just the homepage (see attached image). This is because main.html is the default template used by all pages.
Please can you fix this?


add support subtitle type srt

Title

Add support file srt.

File changed

IUZPlayerManager.java
LSApplication.java
Subtitle.java
FUZPlayerManagerAbs.java
Constants.java

Thanks !
Please help me to add these code to class FUZPlayerManagerAbs. (this is a mini player or Pic-in-Pic player).

OK


Where is Swagger APIkey from the user?

There is no documentation so i'm lost

Navigate to the /catalog/products page press f12 > Fetch/XHR then press the reload button. In the developers window there is a new call to product?.... select that and the headers. The key is now in the authorization part.

Additional note. Paste the word 'Bearer', a single space then the key and nothing else.  Like this:
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aX....eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aX
with no quotes or anything.

thanks, i just realized i can also use login api to get the token


support more formats using R conversion

It seems Newick is the only format currently supported.  As I'm sure you know, R has a rich set of conversion options.  Even if the Javascript only accepts Newick, I think it would be very valuable to auto-convert some of the common phylo classes.  I could do pull if interested.

Hi @timelyportfolio , the JS code takes Newick, and it would be straightforward to tweak the inputs to accept more e.g. phylo, etc. I'm currently working on getting the UI to look nice (may have to use the Bootstrap grid after all), as well as getting a Shiny app to return a Newick string with tagged nodes/branches, so if you want to PR, please go ahead.

Ok, pull submitted.  Any other to-dos I can work on ?

Can see it work with
library(ape)
data(bird.orders)

phylowidget(bird.orders)

Will close;  let me know if other formats would be desired

Dear @timelyportfolio , thanks for the PRs. As for TODOs, I put some on the Wiki

should I pull to your repo or the hackerout?

please pull to my repo, as I've configured it to be upstream from the
hackout2 repo
On Wed, Feb 11, 2015 at 5:58 PM, timelyportfolio<EMAIL_ADDRESS>wrote:

should I pull to your repo or the hackerout?
—
Reply to this email directly or view it on GitHub
https://github.com/sdwfrost/phylowidget/issues/5#issuecomment-73929708.


Add Stackdriver Debugger

This PR adds support for Stackdriver Debugger.
Debugger supports 2 types of breakpoints - snapshots and logpoints. Snapshots are copies of all the local variables at each stackframe at the time of the breakpoint. Logpoints create logger messages at the point of the breakpoint.
This PR provides basic models for interacting with the REST API as well as 2 higher level constructs: Daemon and Agent.
The Daemon is responsible for running in the background to poll for changes to the breakpoints set from the UI (or another API client). The results are stored in local breakpoint storage (BreakpointStorageInterface). The local storage allows incoming requests to fetch the configuration locally rather than having to go out to the Stackdriver server to fetch the list of breakpoints.
The Agent is created as early as possible in the user's application. It fetches the list of breakpoints from the local storage, and registers the breakpoints to be handled (via callbacks). Reported snapshots and logpoints use AsyncBatch runner to report results back to the Stackdriver server in another process (without slowing down the current request much).
The actual breakpoint magic requires the stackdriver_debugger PHP extension which is being worked on in parallel here.

@jdpedrie @dwsupplee Sorry, for the huge PR, but this adds the Stackdriver Debugger client and components needed to integrate with a user's application.

need cloud-debugger added to docs/contents/google-cloud.json in the includes array.

@dwsupplee @jdpedrie All the PR comments should be addressed.

@chingor13 we are hoping to tag a release tomorrow, and would love to include this work. Would that align with the other work you have going on in parallel?

@dwsupplee That's perfect. The extension is ready to release as well and public cloud site documentation can then continue.


✨ Remove context.description

#48  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RTLS and the rest of your teammates on  Graphite


⚠ Bofrost.be has degraded performance

In 01a092a, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2020 ms

Resolved: Bofrost.be performance has improved in 14e5402 after 3 hours.


Support Readarr

For books!

This looks very wip, so I'm not sure if it is worth supporting any time soon...

I second this, maybe its mature enough now? So far i've enjoyed readarr just fine and to my knowledge it works great :-)


Bug - QDialog autofocusing on first QInput even if autofocus prop isn't defined

(Thank you for fixing all the other bugs - my app is running really well now. Super happy!!)
https://github.com/nicholaszuccarelli/android-cordova-bugs-nov2021
Happening on all platforms.
In the example below, opening a QDialog is autofocusing on the first element which is found in the dialog.
This behaviour is correct for QBtn components, but I don't think it should be applied to the first QInput it can find - it should only apply if the autofocus prop is specified.
https://user-images.githubusercontent.com/13761766/144328412-f922317c-4b58-4f50-8014-ae1a70389586.mp4

This is by design:

if the diload does not have no-focus prop it tries to focus
it searches for an element to focus on in this order:

any element with autofocus or data-autofocus attr
any focusable element

So in your case just put the autofocus attr on a button or some other element in the dialog.
I'll check if it's written in the docs somewhere, and if not I'll add it (it's not :) ).

No worries, thanks for that. Will change my app around a bit then.

Added section in the docs for QDialog about selecting focused element


Allow adding Image meta data (EXIF)

Discussed in https://github.com/AllskyTeam/allsky/discussions/3814

Originally posted by stevedee August 16, 2024
Although the text overlay module is super useful, I like to capture 'clean' images, free of clutter, once the system has been properly setup.
So wondered if you could implement the addition of image EXIF data.
I notice in the c++ file: capture_RPi.cpp some notes to implement this:-
/* TODO: what exif fields should we use?
if (myModeMeanSetting.meanAuto != MEAN_AUTO_OFF) {
stringstream strExposureTime;
stringstream strReinforcement;
strExposureTime <<  myRaspistillSetting.shutter_us;
strReinforcement << myRaspistillSetting.analoggain;
	command += " --exif IFD0.Artist=li_" + strExposureTime.str() + "_" + strReinforcement.str();
}

*/
I'd suggest as a minimum:-
exposure: number (ms)
gain: number
auto exposure: yes/no
auto gain: yes/no
Nice-to-have:-
author: text
camera: text
lens: text
camera temperature: 'C
focus metric: number
longitude:
latitude:
Many thanks!

This should be done via an optional module that works for ZWO and RPi cameras.
The module could have a list of data that could be added and let the user decide.  Possibly the same list as in the Variable Manager ?
The hardest thing may be to determine what EXIF field names to use...


packed_trx 如何获得？

Use cleos get block on any node in the network with chain_api_plugin enabled to retrieve the block containing the transaction.  One of the returned fields in the JSON results will be packed_trx.
If that is not sufficient for your needs, you will need to provide more context to your question.


setup.py or equivalent

also - in init.py for the module it may be worth checking for the actual ffmpeg command

unsure how this works with a distributed module
it'd make sense that the published wheel would have something that gives package dependencies, but it's not a compiled language so it doesn't really work like that i guess
either way, need to tell users what libraries are needed to use

https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
need to do test dist builds and regular builds. hopefully this is possible?

#37


Should not stop the build if no error

Beware: I don't know much about gulp.
Here's my problem: when adding the ddescribe-iit task to the dependencies of a task that starts a server, the server doesn't start and the build stops:
gulp.task('ddescribe-iit', function() {
  return gulp.src([path.join(conf.paths.src, 'app/**/*.spec.js')]).pipe(ddescribeIit());
});
gulp.task('build', ['html', 'fonts', 'ddescribe-iit', 'other']);
gulp.task('serve:e2e-dist', ['build'], function () {
    startServer([conf.paths.dist]);
});

If I run gulp serve:dist and 'ddescribe-iit' is removed from the list of task dependencies of the build task, everything works correctly: the build is done, the server starts, and the build never ends until I press Ctrl-C.
If If leave 'ddescribe-iit' int the list of task dependencies of the build task, the build is done, but the gulp stops immediately after, without letting the server start, and with no error message from ddescribe-iit.
Is it a bug of ddescribe-iit, or is there something I should do to prevent that to happen? If the latter, it might be worth mentioning it in the README.

Post a reproduction and we'll find out

Great. Works fine :+1:
Thanks for the ultra-quick fix.

great, closing this then, enjoy


Remove task_complete event

Pull Request Test Coverage Report for Build 135147191

13 of 13 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 91.656%

Totals

Change from base Build 134376807:
-0.02%

Covered Lines:
1143

Relevant Lines:
1192

💛  - Coveralls


Collections

Hi, does clover-iif supports collections?
I tested my manifest (https://cms.rahvaroivad.ee/wp-json/iiif/manifest/gallery/172) on your demo page and it did not work.
Same manifest with Mirador works : https://projectmirador.org/embed/?iiif-content=https://cms.rahvaroivad.ee/wp-json/iiif/manifest/gallery/172
All the best
hembo

Hi @HemboPagi.
Clover's main intention is a as an items/canvas viewer for IIIF resources that are "type": "Manifest".  It does not currently support a Collection in the same way UV and Mirador do. Thanks for your thoughts, as that type of Manifest selection functionality could be a feature at some point.
We are currently working on a companion component Bloom IIIF https://github.com/samvera-labs/bloom-iiif which is intended for "type": "Collection". I tested your collection ID in that and it seems to render well, though Bloom does render better if the items contain a thumbnail.
Hope this is helpful.
Best,
Mat


[possible UltraQuality level] Like a Dragon: Ishin, testers needed!

Apparently the new DLSS update for Like a Dragon: Ishin! slipped in the UltraQuality level with it, but unfortunately the level doesn't actually work as UQ, but just uses Balanced settings instead, so lower settings than the Quality level even: https://www.reddit.com/r/nvidia/comments/12c53xf/latest_like_a_dragon_ishin_update_adds_dlss/
The UltraQuality tweak here might let you change the ratio of it though, so it could act as a true UQ level, if any owners are up for testing it that'd be appreciated.
(just set DLSSQualityLevels > Enabled = true, uncomment the UltraQuality line under that, make sure it's set to something like UltraQuality = 0.77, then check with OverrideDlssHud = 1 to see what res you get)
Unfortunately since the UQ option shows up by itself (without needing DLSSTweaks to make it appear) I'd guess this is probably going to trick a lot of people into thinking they're playing at higher quality than they actually are, might end up getting patched out once enough people notice it.

Some other games were mentioned in that thread to have UltraQuality setting available too, those could have similar issue where it actually just sets one of the other DLSS levels when chosen, if anyone owns one of these I'd be interested in any results from them:

High On Life
System Shock Remake
one other game was mentioned too but I can't remember it now, and some reason they got downvoted so they've deleted the post, too bad - if you know any other games that use UltraQuality feel free to post though!

High On Life
System Shock Remake
I can test both of these, SSR when it releases.
I'll report back with HoL asap.

Hey there, I tried Ishin and can confirm everything.
I used the 0.200.5-beta5.
Ultra Quality, by default indeed use the balanced preset, using DLSSTweaks can fix the issue and make UltraQuality work as it should (or whatever number you type in the .ini), game use preset D by default.
The only issue is, the DLSSTweak overlay don't work well (does not matter if you put =1 or =2), it only show up while the game is loading into the main menu, once you get to the menu it's gone and get replaced by black bar, but there's plenty of time to read the info before that.

By the way my two cents about DLSS in this game : it don't work that great image wise the image is less stable than TAA and some jaggies get added around some edges, same goes for DLAA with preset F, there's a bit more aliasing here and there in motion compared to the in game TAA, sadly.

Ah good to hear, don't think I need anything more from it, thanks for testing it out!
Interesting that it also defaults to Balanced when selecting UQ there too, both HoL and Ishin are UE4 afaik, guess it could be something up with the UE4 DLSS plugin, could be worth checking other UE4 titles that include DLSS support too...
(Hogwarts Legacy is also UE4 too, but that only shows UltraQuality if it's been customized IIRC)

No problem.
I know I'm lazy asking this, but if you can give me names more UE4 games to test feel free :)
I think you're right about Hogwarts, I can test that later to see if it does indeed only show UQ with your dll.

No problem.
If there's so more UE4 games that you'd like me to test, let me know. If I have them, I'm happy to help :)
I think you're right about that assumption in HL


Added OPA Gatekeeper

Only the option to install OPA gatekeeper is added now. Constraint templates were not added since kustomise with github/remote url  not working with kubectl less than 1.21.

@Djelibeybi  Suggested changes has been made. Added the variable in terraformoptions doc as well.


[DG] Error in AddCommand Activity Diagram

The two actions as a result of the respecitve conditions seems to be misplaced in the wrong branch.


Issue a warning if an argument in a proc is not used

Abhijit was saying that exo was previously complaining if an argument is not used in the proc but it doesn't anymore so he was confused. Maybe this is because of the new effect check? If I recall correctly, we never complained even the argument is not used. In both cases, we should make the behavior explicit.

I can't confirm that it previously complained, but it certainly no longer does. I suggested that for an unused argument, if a default value is provided, then that should be used by replace(). If no default is provided, then any satisfying value can be inserted by the replace(), but a warning should be given to alert the user to a potential bug.

We currently don't have a default argument syntax, but that might be one option


Enum has incorrect values in cost-management

Bug Report
A follow up for issue #8132
Instead of Tag , it should have the value of TagKey here

Hi @jinxue-w could you please also provide the error message when you are assigning Tag to QueryGrouping?

嗨@ jinxue-w分配Tag给您时，您还可以提供请求和错误消息QueryGrouping吗？

我已经修改了，问题已经解决，你们可以测试一下

Thanks for the feedback, we will be updating swagger by end of this month.

Thanks for the feedback, we will be updating the swagger by end of this month.

Thanks for the feedback. We will update the swagger in coming month.

@jinxue-w the values should be "tags" instead of "tag" and "dimensions" instead of "dimension". We will be updating our documentation to reflect these changes. Thanks!

@jinxue-w - thank you for the feedback. May i go ahead to archive the request, if there are no further questions? please let us know.

ok


Highlight relevant sections when clicked in Preferences navigation

Should this also deal with the fragments gotten when navigating to the preference pages with fragments? (ie app protocol handlers)


Weird problems to decode/encode

Hi,
I´m encountering problems to encode/decode the ids of my models. It´s a lot of weird, because it doesn´t always happen.
I have a few screens to explain my problem:

I create a new document and check in the select, all the id's are encode:

When I submit the document, the decode fails:

I go back, refresh the page, and the id´s are corrupt:

Finally, go to dashboard, go again to create document, check the id´s encode (same as image 1) and now, the decode works well:

I don´t know what it´s happening....
This is all my config and uses:

config/hashids.php

'default' => 'main',
'connections' => [

        'main' => [
            'salt' => 'my-password-secret',
            'length' => '12',
            'alphabet' => 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890',
        ],

        'alternative' => [
            'salt' => 'your-salt-string',
            'length' => 'your-length-integer',
            'alphabet' => 'your-alphabet-string',
        ],

    ],

DocumentController (create method)

public function create()
    {
            $users = User::select(['id', 'name'])->get();
            foreach ($users as $user) {
                $owners[Hashids::encode($user->id)] = $user->name;
            }

            return view('documents.create', ['owners' => $owners]);
    }

Document form view

{{ Form::select('user_id', $owners, null, ['class' => 'form-control']) }}

Document Store

public function store(DocumentStore $request)
{
    dump($request->all());
    dump(Hashids::decode($request->user_id));
    $user_id = Hashids::decode($request->user_id)[0];

    $document = new Document();
    $document->fill($request->all());
    $document->user_id = $user_id;

    $document->save();

    return redirect()->route('documents.index')->with('message', 'Successfully created Document!');
}

Sorry for the long issue and thanks!!

When I submit the document, the decode fails:

Please show me the line 64.

Line 65 (In the last portion of code of the explanation)

$user_id = Hashids::decode($request->user_id)[0];

Please share the result from dd(Hashids::decode($request->user_id));.

You can view the result in the screenshots.
In the screenshot 2, the result of dump(Hashids::decode($request->user_id)); it´s an empty array, under the request array.
In the screenshot 4, the result of dump(Hashids::decode($request->user_id)); it´s an array wich contains 3, the real id of the user.
In both cases, decode the same string d9GWyvO0KOeg, but first fails and second not. And between both cases, in a refresh of the page, the user_ids are corrupt (seen in screenshot 3).
Sorry if you don´t understand all, my english itsn´t very good...  :sweat:

Don't worry. The thing is, I do not see anything wrong with your code. Please share the output I asked for.

The output it´s:
array:1 [▼
  0 => 3
]

I´m trying now, but now works all times.. It´s very strange, I don´t see anything worng in the code and I don´t find a pattern that causes failures... :(

Did you manage to solve this?

I´ll try another approach. If this doesn´t work, I´ll try manually obfuscation of the id or use another library..
Thanks anyway for your help reviewing the code..


Node.js compatibility

FetchBackend works great on browsers, it's a very nice feature.
I can't make it work on Node.js due to dependency on AbortController. I'm using mill which ATM doesn't have anything like scalajs-bundler, but SBT instructions (if any) are also very welcome.
Any hint on how to run on Node.js ? Maybe I'm missing some magic SBT polyfill dependency.
Does it requires another Node.js-specific backend ? (like hammock with 2 js backends).

Maybe @guymers has an idea? I'm not that familiar with the Scala.JS side :)

It doesn't seem possible given node-fetch does not support AbortController yet https://github.com/bitinn/node-fetch/issues/95. I think the best solution would be to add a NodeJS backend (like how RosHTTP has XHR and NodeJS backends). I don't  think it would be that hard to implement, hardest part would be splitting the JS tests into two configs, one which runs the fetch backend against the browser and another that runs the runs the Node backend against Node. I only added a fetch backend as I only need streaming browser suport.

Issue with AbortController has be solved in node-fetch module so running FetchBackend on Node.js now works.
I updated docs with info how to load node-fetch module correctly.
Here is a working code sample:
  def main(args: Array[String]): Unit = {

    val g = scalajs.js.Dynamic.global.globalThis

    val nodeFetch = g.require("node-fetch")

    g.fetch = nodeFetch
    g.Headers = nodeFetch.Headers
    g.Request = nodeFetch.Request

    import sttp.client3._

    import JSExecutionContext.Implicits.queue

    val backend = FetchBackend()

    val request = basicRequest.get(uri"https://jsonplaceholder.typicode.com/posts")

    request.send(backend)
      .onComplete(response => {
        println(s"I am completed: $response")
        response.get
      })
  }


Skip data replay history before agents show up

Here is what the training script looks like:
for agent_id, mission in agent_missions.items():
    scenario.set_ego_missions({agent_id: mission})
    smarts = SMARTS(...)
    observations = smarts.reset(scenario)
    while not dones[agent_id]:
        ...

In the agent's mission, a start_time will be specified to indicate when the agent will show up. Suppose the agent shows up at t1, and smarts.reset will step through from t0 to t1 (Basically just replay the history data), which is not necessary. To speed up the training, we can ignore the history between t0-t1 and start at t1.
@zbzhu99

@Adaickalavan The main focus with this is the TrafficHistoryProvider.
We will define:

t0 as 0 or the first step of the simulation (whichever is greater)
t1 as the first time an agent is in the scenario.

In a scenario.py (e.g. 4lane_t/scenario.py) we can add start_time=50 which means that the agent will enter at a time of 50 seconds into the simulation.
The current way that smarts resets is it will complete all the steps up to the first time an agent is in the simulation (50 seconds into the simulation). For data replay we want to skip that time by skipping the traffic histories to t1 but starting smarts simulation at t0.
With that we can play the traffic histories starting from t1 which maps to a smarts simulation time of t0.

closed with #596


Crafter: Infusion stone recipe works only one time

... then the damage value of the infusion stone is changed and it is no more the same as in the applied recipe. When I put that so changed stone back into the recipe and press "apply" then it works again one time only.
Infusion stone = mystical agriculture

Hard to avoid really

Maybe with an option to ignore the damage value or metadata? But then there are a lot of items which are distinguished with that. Not easy.

This works with Mystical Agriculture converting Inferium -> Prudentium -> Intermedium, etc
make two Infusion crystals, one as a zero-use crystal you record and save the recipes with, and one that gets slowly used up over time being held in the system. I did this on sky factory 3 and it worked like a charm

@WebDragon: Thanks for the hint. Will do that as soon as my current world has MA farms.

Im not sure why McJty of all people would say this is hard to avoid. You simply ignore damage/meta data. This is a common feature of most mods that deal with item manipulation. Whats that about?

I had this issue, but luckily most modpacks with RFTools come with Extra Utilities 2.
Until this is fixed, as a workaround, the the mechanical crafter will work as a substitute, it's not as good as the RFTools crafter, but it does handle infusion stones:


Implement server status ping API

This implements the complete server status ping API from SpongePowered/SpongeAPI#367 and SpongePowered/SpongeAPI#331. It's implemented with a bunch of mixins to patch all the classes to make it work. :)
Patching GameProfile on the server is not possible right now because FML excludes the com.mojang.* classes from the transformer. Because of this, it's currently not usable in production on the dedicated server, as it requires MinecraftForge/FML#591 to run. I've added the modified FMLServerTweaker to the source so it runs in development environment.
I've chosen to rewrite the complete legacy ping handling because the version provided by Mojang is unstable and often disconnects clients because it doesn't get the complete data sent by the client due to fragmented TCP packets (see this article in the Netty wiki). The new versions fixes this for most cases, there are still some cases where it doesn't work but these are nearly impossible to fix.
It's the first time I've used mixins so it would be great if I could get some feedback if I've used them correctly. :)

I don't know what's wrong, but when attempting to connect with a client I get "Connection time out" error.
The server also appears offline in the server list.

@simon816 Which client version did you use? It works fine for me.

@Minecrell Vanilla 1.8.1.
I'll test again later in case it was something I had messed up

@Minecrell It's most likely something my end since it works when running the server directly from the Sponge project in my eclipse setup, but from a test plugin project in the same workspace it doesn't.
I think it could be something wrong with my debug launch configuration, however it was working fine before but it's not a problem with this PR.

@simon816 As mentioned in the description, it works only in development environment right now, not on the dedicated server, maybe this is the problem?

@Minecrell No, it was completely a fault in my setup. I have a project 'Test Plugin' which I made the classpath inherit from 'Sponge', however the classpath entries were copied from 'Sponge' so it was referencing an older forge (the forge that was in use whenever I made the launch config). It was not a problem until this PR comes along and modifies a bunch of stuff for a later forge. It's all sorted now.
I guess that shows how important it is that sponge must be coupled with the same forge as it was built for.


Revert on-load attribute special case behaviour

This PR reverts the special case behaviour added in "morph onload tags on root": so the root element on-load attribute value is not maintained from oldTree to newTree.
Why this change?

The current special case behaviour is breaking onUnload callbacks set up by the on-load library. Explanation below.
Nanomorph can't be a generally applicable library if it has special cases like this. The README says that nanomorph can "guarantee a consistent, out-of-the box experience for all your diffing needs". This special case definitely isn't consistent :-). It threw me for a while: I couldn't explain why onUnload callbacks weren't firing after I switched from morphdom to nanomorph.
If the intent of the special case behaviour is to enable onload/onunload lifecycle events for an html component that re-renders on data changes (with no on-load events on re-renders), then on-load does allow for this without the special case. Explanation below.

What's the issue with onUnload callbacks not firing?
This explanation requires understanding of the on-load library's source code..
For a given element, the on-load library updates the onloadid attribute value on every call to onload(el, on, off, caller), say from 'o1' -> 'o2'. This attribute value change is seen by on-load's MutationObserver, which then calls the off (onUnload) function associated with 'o1' (and the on (onLoad) function associated with 'o2').
The special case behaviour copies the onloadid attribute value from oldTree's root element to newTree's root element ('o1' -> 'o1'). If newTree already has an onloadid attribute (e.g. 'o2'), this is overwritten (with 'o1'). Since the root element's attribute value remains the same (always 'o1'), the MutationObserver doesn't fire, and the onUnload callback isn't called.
Thoughts on html components
I'm not sure why this special case was added in the first place. My guess is that it aims to help with the lifecycle of an html component that re-renders on data changes:

creation: an html component is rendered as renderedElement, and added to the dom. onload is called as we want the onLoad callback to fire:

renderedElement = bel'${data}'
onload(renderedElement, onLoad, onUnload, caller)
component = renderedElement
document.body.appendChild(component)

re-render: the component is re-rendered on data changes, with onload called as part of the process. But we don't want any on-load callbacks to fire as we're just re-rendering the same component. So we introduce the special case of maintaining the current onloadid attribute value between old and new versions of component, ignoring the new value from renderedElement:

renderedElement = bel'${data}'
onload(renderedElement, onLoad, onUnload, caller)
nanomorph(component, renderedElement)

deletion: the component is removed from the dom. The onUnload callback fires:

component.parentNode.removeChild(component)

If the special case was to avoid on-load callbacks on component re-renders, then there is a better way: for all onload(renderedElement, on, off, caller) calls made for the component, use the same unique-id for caller. The on-load library skips callbacks when the onloadid attribute value changes for an element, but the associated caller value stays the same. See sameOrigin function at: https://github.com/shama/on-load/blob/master/index.js#L55
Hope this makes sense!

It definitely does! - See #63; we'll need to also fix this behavior upstream for this to work, but yeah agree (:

@yoshuawuyts cool re removing special casing on https://github.com/yoshuawuyts/nanomorph/issues/63. After seeing your remove onload pr for bel, I started using onload with bel directly, and it worked fine.

v5.0.0


try issue from slack

https://www.nature.com/articles/s41396-023-01368-2
Slack Message

try comment


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 891

Questions ?
Please refer to the Backport tool documentation


Does LineChart has the propertiy to make the line be smooth?

xySeries.setSmooth(true);

But the feature has not been released yet.

I'll try to push a release this weekend...

@timmolter
This feature has been released, this issue can be closed.


Random killing of nodes in the QA net --- need to make sure that there are other nodes that are already sync'd to the main chain (Nathan has an existing script)

Conner says there's an existing tool called "Pumba" that will do this for us.
This is a related link: https://github.com/ishantanu/pumba-helm

Needs to be merged into the main branch.

@emberian says the script is in the automation repo


Firefox saves state on reload which isn't compatible with the globals

Describe the bug
On Firefox, reloading with ⌘R saves the state. This means if you have a box checked and then reload, the box will now do the opposite thing it says, since it's using the reloaded globals which default to false.
To Reproduce
Steps to reproduce the behavior:

In Firefox, open outquote.
Uncheck "include logo".
Reload the page with ⌘R.
The logo will be back, but the box will be unchecked. Re-check the box. The logo will disappear.

Expected behavior
The boxes should behave the same regardless of previous state.

This is because of the global variables. For example, includeLogo is set to true at the top of script.js, which is reloaded on every page load. Thus, the box stays unchecked on reload, but includeLogo is true and thus the logo is drawn onto the canvas. The box then operates opposite to how it should.


Unable to "undo/redo"

What it says on the tin, basically.
I mean, if I type something in the input box then undo/redo operations work on the text field, obviously. But I'm no longer able to un/toggle extensions back and forth from an in/active state as it was once possible to do and the description text at the top explicitly gives instructions for.
I'm unsure of how long this has been the case as I haven't felt the need to utilize this extension for a while now and I've noticed several updates have since been pushed to it during that time (awesome idea introducing a sidebar view, btw! I'm still partial to the pop-out window but I'm happy to see this new inclusion nonetheless:) any of which could've been responsible for this "breaking" change.
Being able to easily backtrack on changes is pretty much one of the key defining differentiators of this extension manager when compared to all others, so I'm sad to see it go... on the other hand, the fact that the description/instruction text at the top still explicitly states that undo/redo operations are possible makes me think this must've been a simple mistake that caused this regression in behavior.
I don't know what other details I can add or what steps I can share to reproduce this bug, I just noticed it and noticed no one else seemed to report on it since the last update (which was like 2 or 3 months ago apparently) so I felt I needed to share my observation.
Of course, the fact that no one else logged this issue could also mean that there isn't in-fact anything wrong with the extension and it's something unique about my current config or setup that's wonky. But... I'm honestly uncertain how that could be the case. I'm not on an outdated version of Chrome. I've tried various other extension settings too and this problem still persists whether I'm using the tab view, the sidebar view or the original pop-up view too.
But if there's anything I'm missing, feel free to point me in the right direction for a fix. Til then, I have to assume that it's the extension that's changed in some manner

Just to double-check: are you using the standard Google Chrome?

Yep, I'm on the stable release.
Can confirm this problem exists when I use my installation of the Edge browser as well (which is also on the public/stable release channel)


Selection of the end of lines

If I'm at the end of a line and I try to select all the line endings I can do in Sublime Text the following:

But with this extension it feels broken:

Is that e regression? Hmm... not sure...
#105 is somehow related but not the same. #105 would be a step after this I guess.

I have the same issue.
Version: 1.6.0
Atom: 1.8.0

It used to work before #93 was merged.

Seems like a regression. It used to work before.

I have the same issue.
Version: 1.7.2
OS: Windows
Atom: 1.9.8

To others having this issue, a quick workaround is to comment out editor-handler.coffee line 120. (if rowLength > @mouseStartPos.column or rowLength > @mouseEndPos.column)
https://github.com/bigfive/atom-sublime-select/blob/master/lib/editor-handler.coffee#L120
I haven't experienced any side effects yet.

I've been using the 'fix' mentioned by @jarednipper and I confirm that it fixes the issue.

I'm also seeing this problem with:
Version: 1.7.2
OS: Windows
Atom: 1.12.5
I'm not having luck with jarednipper's workaround. If I comment out just line 120, the package fails to load. If I comment out lines 120-122, column mode no longer works at all.

@jarednipper can you please do a PR so we can all benefit from it?

@simplesteph I don't know enough about this project to know what this hack breaks. Also, a Windows user reported that it didn't help.

Yep definite bug. Thanks for the reports everyone. I'll fix this one in the next release

So, I've just attempted @jarednipper's fix and found some undesired behaviour:
Before:
        for row in [<EMAIL_ADDRESS>          @mouseEndPos.column = 0 if @mouseEndPos.column < 0
          rowLength = @editor.lineTextForScreenRow(row).length
          if rowLength > @mouseStartPos.column or rowLength > @mouseEndPos.column
            range = [[row, @mouseStartPos.column], [row, @mouseEndPos.column]]
            ranges.push range

After:
        for row in [<EMAIL_ADDRESS>          @mouseEndPos.column = 0 if @mouseEndPos.column < 0
          rowLength = @editor.lineTextForScreenRow(row).length
          # if rowLength > @mouseStartPos.column or rowLength > @mouseEndPos.column
          range = [[row, @mouseStartPos.column], [row, @mouseEndPos.column]]
          ranges.push range

I've found this causes highlighting of lines that should not be selected (easier to show than explain).
Before (Notice Line 6 + 8 are not selected):

After (Notice Line 6 + 8 are selected):

And for reference, here's a screenshot from Sublime Text:

Hope this helps.

Hey everyone.
Ive just released a patch for this. Please let me know how you go.

I guess its fixed in that you no longer need to do the workaround, but you still have the issue I mentioned above. - It won't affect many people, but  it would be a nice feature to maintain.


Exception At Address: 0x7084DE82 Module: (pawnraknet.DLL)

20.45-RakNet插件崩溃日志.txt
I've put together the error output from the console, and the log of the crash.

It looks like you incorrectly use BS_ReadValue in your script.


[Feature Request]: Detailed Plugin deployment integration guide

Preflight Checklist

[x] I have read the Contributing Guidelines for this project, if it exists.
[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description
a
Proposed Solution
a
Alternatives Considered
a
Additional Information
No response

Duplicate of https://github.com/EnAccess/micropowermanager/issues/351


[Feature] Snapshot Experimental

FedAPI (Gitlab PR)
ain-worker (Gitlab PR)
ain-connect-worker (Github PR)
ain-connect-redis-worker (this)
poc1-workspace "The Snapshotting Docker Image" (Gitlab PR)

@shyun-comcom 혹시 ain-connect-worker 는 수정하지 않아도 되나요?

0.1.31 published


Installation for Python 2.7

Issue Report Checklist

[X] Searched the issues page for similar reports
[X] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[X] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[X] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
I'm unable to install Spyder with pip on Python 2.7. Spyder requires pylint which in turn requires Python 3.4. From what I found out, pylint supports only Python 3, but Spyder is supposed to support Python 2.7. Is there a way to install Spyder without pylint?
What steps reproduce the problem?

pip install spyder on a machine with Python 2.7 only

What is the expected output? What do you see instead?
Expected output is spyder being installed.
I see pylint requires Python '>=3.4.*' but the running Python is 2.7.5
Versions

Spyder version: 3.3.0
Python version: 2.7.5
Qt version: not relevant
PyQt version: not relevant
Operating System name/version: CentOS 7

You're probably using a very old version of pip, unable to get the right version of pylint for Python 2.
Sorry, but this is not our fault and that's why we recommend to use Anaconda instead of any other method.

Yes, I'm using pip 9.0.3 since it's last version that support deprecated features we need in our setup.
Checked this with latest pip (18.0) and everything works.
Thanks for the information!


Python unable to detect lzma in Ubuntu images

I hit an error similar to the following in the Ubuntu 16.04 and Ubuntu 20.04 images: https://github.com/pandas-dev/pandas/issues/27532. I believe this problem occurs because Python is installed prior to the installation of the xz and liblzma-dev packages. The workaround is to run pyenv uninstall -f 3.6.10 and pyenv install 3.6.10 (or whatever the Python version is in the image) in my CI jobs. Would be nice if the ordering could be fixed without causing other problems.
To reproduce the problem:
pyenv global 3.6.10
python3 -m venv /tmp/no-lzma
export PATH=/tmp/no-lzma/bin:${PATH}
pip install torchvision==0.8.1
python -c "import torchvision"

To demonstrate the workaround:
pyenv uninstall -f 3.6.10
pyenv install 3.6.10
pyenv global 3.6.10
python3 -m venv /tmp/no-lzma
export PATH=/tmp/no-lzma/bin:${PATH}
pip install torchvision==0.8.1
python -c "import torchvision"

3.6.10 is the Python version in the Ubuntu 16.04 image. I had the same experience with Python 3.8.5 in an Ubuntu 20.04 image.

I hit an error similar to the following in the Ubuntu 16.04 and Ubuntu 20.04 images

Which images are you referring to? It looks like the Python images are based on Debian.
Are you talking about the machine images? https://circleci.com/docs/2.0/configuration-reference/#available-machine-images

I hit an error similar to the following in the Ubuntu 16.04 and Ubuntu 20.04 images

Which images are you referring to? It looks like the Python images are based on Debian.
Are you talking about the machine images? https://circleci.com/docs/2.0/configuration-reference/#available-machine-images

Yes, sorry, machine images. I've specifically done this with ubuntu-2004:202010-01 and ubuntu-1604:202004-01.

Yes, sorry, machine images. I've specifically done this with ubuntu-2004:202010-01 and ubuntu-1604:202004-01.

fyi, this issue is now resolved in the latest images ubuntu-2004:202101-01
You can verify with this config
version: 2.1

jobs:
  sample:
    machine:
      image: ubuntu-2004:202010-01
    steps:
      - run:
          name: load latest
          command: |
            python3 -c 'import lzma; print(dir(lzma))'
  sample-latest:
    machine:
      image: ubuntu-2004:202101-01
    steps:
      - run:
          name: load latest
          command: |
            python3 -c 'import lzma; print(dir(lzma))'

workflows:
  main:
    jobs:
      - sample  # this one fails
      - sample-latest  # this one passess


Secondary System CAD

@RJSong01 please document your work on this.  You considered slider mount ideas. Where are they??

@RJSong01 please document your work on this.  You considered slider mount ideas. Where are they??

@RJSong01 please break this up into trackable sub issues


Add edge weight sample for cpu

Add edge weight sample for cpu (homo & hetero)

cpu single node case to #68

distributed implementation added

Added a distributed weighted sampling link prediction example.

solve #68


Statistics only accounted for first raster cell

Thank you so much for uploading this! I tried running the code with several input reference rasters (and MS buildings for footprints). The centroid count raster output looks great! However, each other output seems to only be calculating statistics for the entire polygon file applied to the first cell of the raster. For instance, the output Count raster contains the first cell occupied with the count of each building in the entire selected MS building set with the rest of the cells assigned a value of zero. I really appreciate any help or guidance!

Reference raster was not exactly 30 meters so it was not compatible with code. Code can use any resolution by swapping the 30 value to the resolution of your reference raster. Thanks!


Wrong home/away status of devices

Versions

Key
Value

Home Assistant version
Core: 2024.1.2

Integration version
v0.3.1

Sagemcom F@st model
5359

Sagemcom F@st firmware (optional)
SGEJ1000060E

Describe the bug
Wrong home/away status of devices. For example, the integration indicates that my phone is home, while this is not the case.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Device status is 'not_home'.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
[bug]

@geert36 did you check on your router page if it is listed as device there? Do you see any errors in the log?

Yes, it was listed on the router page without an IP. The KPN Thuis app is displaying the correct status.


Start of event routing module.

Start of the event routing module logic.
Implements a basic sequence wrapper around a RabbitMQ queue and the parsing of the configuration for that wrapper from the environment.
Tested using the included dummy test class against a running docker-compose stack.  Test instructions can be provided if desired.

Completely refactored code, PR is no longer relevant.


Jenkinsfile: use tags for images

This should prevent caching issues on Jenkins instances.

@dagar looks like I don't know groovy:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:

WorkflowScript: 3: Not a valid section definition: "def docker_ubuntu_1604 = 'dronecore/dronecore-ubuntu-16.04:2018-06-06'". Some extra configuration is required. @ line 3, column 3.

     def docker_ubuntu_1604 = 'dronecore/dronecore-ubuntu-16.04:2018-06-06'

     ^

WorkflowScript: 4: Not a valid section definition: "def docker_ubuntu_1804 = 'dronecore/dronecore-ubuntu-18.04:2018-06-06'". Some extra configuration is required. @ line 4, column 3.

     def docker_ubuntu_1804 = 'dronecore/dronecore-ubuntu-18.04:2018-06-06'

     ^

WorkflowScript: 5: Not a valid section definition: "def docker_fedora_27 = 'dronecore/dronecore-fedora-27:2018-06-06'". Some extra configuration is required. @ line 5, column 3.

     def docker_fedora_27 = 'dronecore/dronecore-fedora-27:2018-06-06'

     ^

WorkflowScript: 6: Not a valid section definition: "def docker_fedora_28 = 'dronecore/dronecore-fedora-28:2018-06-06'". Some extra configuration is required. @ line 6, column 3.

     def docker_fedora_28 = 'dronecore/dronecore-fedora-28:2018-06-06'

I would appreciate your help.

I also don't know groovy. We got away with this only in scripted portions of the PX4 Jenkinsfile. Notice the declarative jobs still use the image and tag directly.

Thanks @dagar I'll try without the variables, should be simple enough. Let's see if clang-format is there now.


Handling of payload not found, change logging from warn to debug

Description:
Change the logging type if payload not found from warning to debug.
This error is generated frequently with certain implementations of this sensor.
This change keeps the functionality, but moves the logging to debug.
Related issue (if applicable): fixes #
https://community.home-assistant.io/t/mqtt-py-log-warning-no-matching-payload-found-for-entity/42995
Pull request in home-assistant.io with documentation (if applicable):
No change in documentation needed
Example entry for configuration.yaml (if applicable):
No change in configuration.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Closed to let #20983 proceed.


Fix: Scrollable web MMBWrapper

Summary: While adding itinerary detail to booking-detail I've noticed that wrapper on web is not scrollable. Updated styles to make it scroll.

I prefer we use #394, WDYT?

I prefer we use #394, WDYT?

@tbergq Sure, it will be more consistent with other pages. So I'm closing this one.


daemon: do not run the monitor twice

First we remove the initial monmap, this monmap is really dangerous
after the initial deployment. Thus it should be deleted so we are sure
it's used later.
Also prior to this patch we were running the monitor which would fail
instantly, then create a socket and the other process would not run.
Removing this useless start and let's just the monitor start by reading
the Ceph configuration file, which will contain the list of all
monitors.
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

could we try to avoid merging these with failing tests? if we really need to do that maybe add a note on why is that so that no one else is surprised when failures are ignored

@alfredodeza sorry about that, I tried this patch in the QE lab with success. Deadline is tomorrow so I'm trying to go as fast as possible. Obviously without neglecting test :).


[cmake] add python lib path for msvc

When using MSVC (not sure about others though), the python library is missing when compiling from cmake generated Visual Studio solution.
Relates to #1845

@fmigneault can you check if #1850 fixes the python library issue?

@bmanga Yes it does work for the python lib.

@fmigneault is this still necessary given that #1850 has been merged?

@fmassa I don't think it is required anymore. I haven't had the time to test it yet.

I have had a bit of time to quickly give a try to #1850
I cannot build anymore.
It seems pytorch still includes pybind11 (https://github.com/pytorch/pytorch/blob/master/torch/csrc/utils/pybind.h), so when pytorch is included, the chains of includes find their way to missing pybind11.
I'm not sure yet if it is a problem of pytorch's cmake not adding pybind11 include dir in its dependencies or not, but the repos are not in sync for now.

@fmigneault can you post the include chain that leads to the pybind11 file?

@bmanga Here's where it fails:
1>nms_cpu.cpp
1>Note: including file: E:\develop\torch\vision\torchvision\csrc\cpu\vision_cpu.h
1>Note: including file:  E:\develop\torch\torch-1.5.0a-source\install\debug\include\torch/extension.h
1>Note: including file:   E:\develop\torch\torch-1.5.0a-source\install\debug\include\torch\csrc\api\include\torch/python.h
1>Note: including file:    E:\develop\torch\torch-1.5.0a-source\install\debug\include\torch/csrc/utils/pybind.h
1>E:\develop\torch\torch-1.5.0a-source\install\debug\include\torch/csrc/utils/pybind.h(6,10): fatal error C1083: Cannot open include file: 'pybind11/pybind11.h': No such file or directory
1>vision.cpp

So anything that includes vision_cpu.h.

I see, that's certainly a problem with libtorch not propagating the info about the location of its bundled pybind11 files.
Can you see if replacing <torch/extension.h> with <torch/all.h> fixes the problem? (patch attached)

Still getting the problem with <torch/all.h>.
Effectively solved if manually adding the missing include path. Fix should be on libtorch's side.


K8SSAND-688 ⁃ Internode encryption should support cert-manager for secret management

What is missing?
Like we modified the webhooks secret handling, we should also allow simplified management for internode encryption certificates. This might only require some documentation and test changes.
Why do we need it?
The internode encryption is a requested feature, but somewhat complicated and fragile in the current version.
┆Issue is synchronized with this Jira Bug by Unito
┆friendlyId: K8SSAND-688
┆priority: Medium

What would the estimate be if we limit the cluster to a single certificate for all pods?

Hey team! Please add your planning poker estimate with ZenHub @burmanm @Miles-Garnsey @jsanda

AFAIK, we already support cert-manager for secrets management. There is just a hitch when it comes to rotating the certs.
I think any additional tests should probably be implemented under the heading of the cert-rotation work.

To simply enable encryption is relatively straightforward, however getting rotation working is a much more substantial piece of work. I've provided a revised estimate of 15 days to make sure rotation occurs without downtime. I think this estimate will be pretty fuzzy and we'd want this to become an epic with more precise estimates under each item.
One problem here lies in differences between DSE, Cassandra 3.x and Cassandra 4.x which will need to be catered to.


Fill out the CORS middleware

It appears the public/private transition borked the PR. I'm going to close this and open a new one.


eebus works on 0.126.1 but does not on 0.130.4

Hello,
I'm working with evcc since a couple of months now. I have a wallbox from EVBox Livo which "supports" eebus.
with the version 0.126.1 it works aldo I get some errors, but the car get's connected and the button start and off over the UI works. On 0.130.x it does not work at all.... Config was not changed.
I will attach the logs from both evvc versions.
evcc0126.txt
evcc01304.txt
@DerAndereAndi  FYI. Hier nochmal detaliert. Wenn ich was noch tun kann sag bescheid.
Configuration details
chargers:
  - type: template
    template: eebus
    ski: ae82347bb2de22aa304c83fb1d8f1d94aeb29b4f #a9cfa5fac0e5631cb87f09ce726103519eff0fa6
    ip: <IP_ADDRESS>
    name: wallbox3

vehicles:
- name: ev1
  type: template
  template: mg
  title: MG
  user: xxxxxxxxx
  password: xxxxxxx
  vin: xxxxxxx
  capacity: 70
  phases: 3
  icon: car
  mode: pv
  minCurrent: 6
  maxCurrent: 16
  identifiers:
  - MG

loadpoints:
  - title: Garage
    charger: wallbox3
    vehicle: ev1
    mode: pv
    enable:
      # einschalten, wenn 1 Minute lang mindestens 2000 W Überschuss vorhanden ist
      delay: 2m
      threshold: -3400
    disable:
      threshold: 200 # maximum import power (W)
      delay: 10m
site:
  title: Mein Zuhause
  residualPower: 350
  meters:
    grid: grid1
    pv:
      - Huawei-SUN2000

What type of operating system are you running?
Linux
Version
0.126.4 and 0.130.4

Kannst du bitte beides nochmal mit log level trace für EEBUS laufen lassen? So erkenne ich leider keine Unterschiede. Danke.

Hi @DerAndereAndi, hier die logs in trace mode. Dazu ist mir was aufgefallen.

Beim 0.126 hat es geklappt nur wenn ich den stecker kurz raus mach und wieder rein.
Beim 0.130 geht es garnicht egal was ich versuche...
evcc126.log
evcc130.log

These are identical issues as with the Elli Connect/Pro wallboxes, no wonder as it is the same developer EVBox.
The box simply does not provide measurements and hence EVCC does not know if the EV is charging and can not detect state C. I analyzed the message exchange and there are no errors or invalid messages. The code requests the wallbox to provide measurements, but it doesn't do so. Why it sometimes works with 0.126 and doesn't in 0.130 seems to be pure "luck". There is no logical error in the messages, and the current code works just fine with EEBUS wallboxes from other vendors.
Maybe ask EVBox why they still have the same bugs as in the Elli wallbox. Workaround: use an external meter.

Seems there's nothing to do here? Closing, thank you!

Hey @andig  is there a way do disable ipv6 ? I'm getting:
[eebus ] DEBUG 2024/09/02 22:30:45 mdns: new - ski: ae82347bb2de22aa304c83fb1d8f1d94aeb29b4f name: Livo-EVB-500-015-503 brand: EVBox model: Livo typ: ChargingStation identifier: EVBox-Livo-EVB-500-015-503 register: false host: EVB-500-015-503.local. port: 4712 addresses: [<IP_ADDRESS> fe80::383f:62d9:6d40:d69b]

why is this a problem?

Recently, specifying the ip4 address was re-added. Does doing so help?


Following up on the package rename in client run script

Sorry that as separate PRs, was browsing through the repo via web UI and wanted to fixup things right away when noticed them

No worries, thanks for patching thigs up!

Thanks for merging, I'll try to keep up with progress here :)

Sounds good! I'm currently working on getting channel tests implemented, which might make things look sort of weird, but hopefully I'll have them by the end of the day and we can focus on polishing up stuff.


Make panning the 3D view with trackpad goes the right way

Fixes #77848
Edit : realised that when rotation was locked it was still going the wrong way if you tried to rotate and that it would pan the view instead. So looked at it again and discovered that rotation was going the wrong way when panning too which in turn made panning the view when rotation is locked being in the wrong way. Fixed it by doing the same thing for rotation that i did for panning which is putting a minus 😄

Thanks!


Rails/NegateInclude is not safe for auto correction

We cannot assume that everything that implements include? also implements exclude?. While Rails does add this to some things, it doesn't add them to everything and making this assumption is dangerous.
For example, IPAddr (in stdlib) has an include? method but does not have an exclude?.
Expected behaviour
Inserting !something.include?(x) should not correct to something.exclude?(x).
Actual behavior
It was corrected.
RuboCop version
$ [bundle exec] rubocop -V
1.3.0

Thank you!

@adamcooke You are welcome. Thank you for the feedback!


transaction is not storing in database - paybox

Magento version : 2.2.3
php : v7.0.33
server : nginx

after creating order i get payment information in order additional information field but that data is not stored in database table "

sales_payment_transaction

"
and in this case order is not able to refund it means credit memo will remain disable and status will be in pending. which should be in pending payment.
but the order which is paid remains pending. if by forcing to change the status to validated or processing the credit memo remains disable.
Regards
Muhammad Naseem

Any Alien to help


fix: ⌨  address typos

Suggestions for typo corrections Week 1 / Basics / Reading / Comparison Operators

🥳🥳🥳🥳


Is this still in use or can we archive it?

@julizet Can we archive this?

This Repo is no longer maintained since we don't use the related RasPi anymore. Can be archived


Implement string class

Implement string class that covers the following:

A constructor that remembers ownership of memory
If memory is owned that it is reference counted
Index operator

The vast majority of use cases will involve:

reading a packed record or message
unpacking the record or message

99% of the time the string will be a sub-part of a buffer previously allocated.
This means the string class should have a pointer to the base memory segment, an offset, and a size.
The base memory segment can be reference counted.
Copying a string should just increment the count on the base memory segment
Destroying a string should decrement the count on the base memory segment
Copying data / strings will quickly consume our limited memory.

I made a pull request for this. It will be great if you can have some time to take a look on this. Thanks!  https://github.com/EOSIO/eos/pull/536


Evaluation give different score from the paper

I would like to thank you for creating such a great work.
I'm currently working on light estimation and want to compare it with the Stylelight.
However, when I ran your code on the Laval indoor dataset, the score is quite different. So, I would like to ask if this is still acceptable. If not, I am looking for the correct way to run an evaluation.

Report in paper:  M (Mirror ball)
Run by myself:  M (Mirror ball)

Angular Error
4.30
6.74

RMSE
0.56
0.58

si-RMSE
0.55
0.56

Report in paper:  S (Silver matte ball)
Run by myself:  S (Silver matte)

Angular Error
2.96
4.61

RMSE
0.30
0.33

si-RMSE
0.29
0.32

Report in paper:  D (Diffuse ball)
Run by myself:  D (Diffuse  ball)

Angular Error
2.41
4.07

RMSE
0.15
0.16

si-RMSE
0.11
0.13

Let me specify how I got this score so you can point out which step I did wrong.

Prepare the cropped Laval indoor dataset by running data_prepare_laval.py
changing input path by pointing  root_path in test_lighting.py to  the corrected path
Tonemap the ground truth in the directory name test using evaluation/tonemap.py
Tonemap the output of Stylelight using  evaluation/tonemap.py
Render ground truth into 3 balls using evaluation/test_render.sh
Render the output of Stylelight into 3 balls using evaluation/test_render.sh
Compute the score by run evaluation/test_rmse.sh --fake <stylelight's tone-mapped dir> --real <ground truth's tone-mapped dir>

Best regard.

Sorry, I am very busy these days. I am afraid that I have no time to run the code and check the differences. One thing I think you might miss is that I removed the black regions and warped the panoramas to some extent such that the object is placed at a new center. This is similar to the method Gardner et al. Learning to Predict Indoor Illumination from a Single Image, SIGGRAPH Asia, 2017..
You might keep the same setting for fair comparison when compared with other methods, since I found lots of hyperparameters would affect the final results.

Sorry, I am very busy these days. I am afraid that I have no time to run the code and check the differences. One thing I think you might miss is that I removed the black regions and warped the panoramas to some extent such that the object is placed at a new center. This is similar to the method Gardner et al. Learning to Predict Indoor Illumination from a Single Image, SIGGRAPH Asia, 2017..
You might keep the same setting for fair comparison when compared with other methods, since I found lots of hyperparameters would affect the final results.


timeout

Vignette did not build successfully due to timeout last time, probably network issues. Monitor https://github.com/waldronlab/enrichOmics/runs/914323890?check_suite_focus=true

Note this is still a blocker as the Docker image hasn't been updated. @lgeistlinger @LiNk-NY if my latest attempt doesn't work, can you keep trying if I am too busy with conference today?

@lgeistlinger can you implement a workaround for an apparent problem with rest.kegg.jp?
Quitting from lines 575-577 (Geistlinger_enrichOmics.Rmd)
  Error: processing vignette 'Geistlinger_enrichOmics.Rmd' failed with diagnostics:
  Timeout was reached: [rest.kegg.jp] Connection timed out after 10000 milliseconds
  --- failed re-building ‘Geistlinger_enrichOmics.Rmd’

I'll be looking into that and see what I can reproduce locally.

If you have to, you could build the Docker image locally and push to Dockerhub, just so we get an image that has the Suggests packages used in the vignette installed...

no such problems when downloading from KEGG locally. Either a docker issue or just a hickup / network problem. Given it another try, otherwise I'll switch to a set of pre-downloaded gene sets.

Maybe KEGG blocked some Google Cloud IP ranges... you could even just set --no-build-vignettes for now to get it a built image.

I didn't do much of a change except replacing the docker tag, but now it seems to build at least it passed the check step where it built before.

built clean.


Shell model node

I changed the name of the file to index.md

Thanks @TheDoctorRAB - this looks good to me.... I'll ignore CI and merge...


Synthetic proof generation

What script to run or how exactly I generate synthetic proofs?

Check this out alpha_geometry_community. Branch - rand_proof_gen There are some code to generate random proofs. It is not yet very high performant, but let's work together.


Adding that DRAIN should not be used  on managers.

In addition this feature may disable DTR or other node capabilities when used on Manager nodes. Using Drain on managers is highly discouraged.

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 29b68bffdf68fa8bcf307cea4b902a33d1bd7b02
https://deploy-preview-8919--docsdocker.netlify.com

Thanks for your feedback. Docker Enterprise docs are now part of Mirantis. You can take a look at the Docker Enterprise documentation at https://docs.mirantis.com/docker-enterprise/.
Let me close this here for that reason. Feel free to continue the conversation after I close.


Rename spoke as not all use cases will be compatible with that name

If we work on new use cases 'Spoke' term might no be longer a good fit

Fixced via https://github.com/rh-ecosystem-edge/ztp-pipeline-relocatable/commit/bd9554775f3d210951e5bf0d3aecb84dc005b1a7


Ctrl+` (backquote) does not working in vim

First of all, sorry about my Enlish. I'm not an English native speaker.
Environment

Windows build number: 10.0.18363.0

Your Distribution version: 18.04

Whether the issue is on WSL 2 and/or WSL 1: WSL 1
$ cat /proc/version
Linux version 4.4.0-18362-Microsoft<EMAIL_ADDRESS>(gcc version 5.4.0 (GCC) ) #836-Microsoft Mon May 05
16:04:00 PST 2020

Steps to reproduce

double click to open C:\Windows\System32\wsl.exe (open a cmd that runs wsl).

map ctrl + ` to space in vimrc :
$ cat ~/.vimrc
imap <C-`> <Space>

open vim, activate insert mode

press ctrl + `

Expected behavior
A new space appear in current buffer
Actual behavior
No space appear in current buffer

https://stackoverflow.com/questions/45907039/vim-mapping-ctrl-or-c-to-c-ww


How to use live-stream and file-input together?

As iOS doesn't support getUserMedia yet. How to use both live-stream and file-input together in a way that if live-stream is not available it will automatically use the file-input?

I mad a check via modernizr if getUserMedia is avaliable on the device, if it is, i loaded the live-stream script, else the file-input, is problably not the best approach but it worked for me.


Indent zippies

The arrow for collapsible sections should line up directly under the first character of the superordinate heading.


chore(deps): update terraform terraform-ibm-modules/cos/ibm to v7

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/cos/ibm (source)
module
major
6.12.2 -> 7.0.0

Release Notes

terraform-ibm-modules/terraform-ibm-cos (terraform-ibm-modules/cos/ibm)
v7.0.0
Compare Source
Features

refactor of fscloud submodule to support multiple buckets*refactor includes support for all existing bucket configurationsfix for deploying CBRs with enforcement mode set to enabled, previously this would fail added additional outputs including CBR rule IDs (#448) (aeffa90)

BREAKING CHANGES

The refactored fscloud submodule is not backward compatible with previous versions

v6.13.0
Compare Source
Features

update terraform version constraints to >= 1.3.0, <1.6.0 (#447) (de7ddf8)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This PR is included in version 7.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update config.vsh.yaml

I'd appreciate it if you could fork the repository, make the changes that you want to make, and then send me one big PR :bow:

Hi Sumeer!
Thanks for sending me this PR.
Rather than making multiple (small) PRs, could you fork the repository, make the changes that you want to make, and then send me one big PR bow
Let me know when you're done editing.
Thanks! Robrecht

@rcannood  kindly merge this one. This is the final edit.


Error on quit

Regression:  Looks like sig handler isn't working anymore
2017/03/14 14:03:45 Received SIGTERM, exiting
IRC: 2017/03/14 14:03:45 Error calling ReadLine()
IRC: 2017/03/14 14:03:45 read tcp <IP_ADDRESS>:48678-><IP_ADDRESS>:6667: use of closed network connection

Debug info only.

Should trap on quit and not print here.


angular.module('app3').run(angular.noop)

Not sure why this line is necessary.
    <script>
      angular.module('app3').run(['$state', '$urlRouter', angular.noop]);
    </script>

Although I tried to remove and the application no longer works

because the way ui-router works means that $state and $urlRouter services must be instantiated immediately when the application starts


Where can we place the local storage monitor ?

For now, we have no way to monitor PVs' health condition and i sent a proposal for it. https://github.com/kubernetes/community/pull/1484
The proposal includes two parts: monitor and reaction.
At the first phase, we want to focus on monitoring local storage PV, and i am not sure where we can place the local storage monitor.
There are two options:
1: Put monitor in the existing provisioner daemonset, and let reaction controller watch node failure events and react to PV update events and node events;
Pros:  Writing CSI plugin for local volumes is easier in the future since everything is contained in one process.
Cons: PVs create manually should be monitored too, kind of awkward to let monitor in provisioner check manually created PVs, and reaction controller needs to do part of monitoring work( node failure checking).
2: Create a monitorController and a new daemonset for monitor, monitorController is responsible for watching node failure events and daemonset does the health checking work. If so, reaction controller just needs to react to PV events.
Pros: It is easier to understand, monitor and reaction controller just need to do their own work( monitoring and reaction).
Cons: It will not be easily integrated with the rest of the local volume plugin in the future.
We need more feedbacks, comments are welcome.
@ddysher  @msau42

I would at least keep the reaction controller separate for both approaches.
I still lean towards putting the monitoring into the existing provisioner daemonset because it will benefit from when we redesign it to a master/worker model.  If you do it separately, then you will have to implement your own master/worker model, which will have a lot of repetitive work.  Another plus is that it's one fewer service that users have to worry about deploying.

Thanks for your comments @msau42.
I would at least keep the reaction controller separate for both approaches.
if we put the monitor into the existing provisioner daemonset, the node failure event should be watched by reaction controller, no matter whether we want to translate that into PV events or not, right ?

agree with @msau42
reaction controller is orthogonal to node failure event IMO.  IIUC, your concern here is that when node goes down, services running on the node, i.e. monitor (provisioner), are not able to mark local PVs unhealthy.  There is still a monitoring problem, I don't know if the  new master/worker model will help here, but this is definitely different from reaction (even if it's tentative to use reaction controller to taint the PV).

if we put the monitor into the existing provisioner daemonset, the node failure event should be watched by reaction controller, no matter whether we want to translate that into PV events or not, right ?

Some comments for monitoring part: for different  HW, we need different tools  like megacli/megacli64/hpssacli/arcconf to check the disk or raid controller healthy status. This part should be easy to do customize.

@wenlxie yeah, the specific checking methods should be discussed further.


[docs]: Incorrect docs for present_match HeaderMatcher

Title: Incorrect docs for present_match HeaderMatcher
Description:
The docs for present_match state the following:
If specified as false, header match will be performed based on whether the header is absent.

This is not the case, as setting the present_match to  false doesn't check for the absence of the header, the behavior is exactly the same as when present_match is set to true
Relevant Links:
This is a related issue that describes the problem, however, the docs still state false would check for absence.

@peterj i dont know so much about this specific issue but if you create a PR to fix the docs im happy to review and/or ping others that do

I found a newer issue/PR where this functionality was supposed to fix it (https://github.com/envoyproxy/envoy/issues/14656), however, it's not clear if the behavior is by design (i.e. you must the combination of present_match=false and invert_match=true to check for an absence of the header).
Using the config below (with present_match=false) the behavior I'd expect is the following:

curl localhost:10000 - hello header is not present and I should get the HTTP 200 and Hello response back.
curl -H "hello: 1" localhost:1000 - hello is header is present,  I should get back a 404 (since we're looking for the absence of the header).

The actual behavior is like this:

curl localhost:10000  - I get back HTTP 404 which is by my logic wrong; I am looking for the absence of hello header, hence the request should go through
curl -H "hello: 1" localhost:1000 - I get back the HTTP 200 response which is wrong again.

Based on this, regardless of the present_match value, it always checks for the presence of the header.

envoy-config.yaml
```yaml
static_resources:
  listeners:
  - name: listener_0
    address:
      socket_address:
        address: <IP_ADDRESS>
        port_value: 10000
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          stat_prefix: ingress_http
          http_filters:
          - name: envoy.filters.http.router
          route_config:
            name: local_route
            virtual_hosts:
            - name: local_service
              domains: ["*"]
              routes:
              - match:
                  prefix: "/"
                  headers:
                  - name: hello
                    present_match: false
                direct_response:
                  status: 200
                  body:
                    inline_string: "Hello"
```

@peterj https://github.com/envoyproxy/envoy/issues/14656 was fixed by https://github.com/envoyproxy/envoy/pull/16627
And I tested your config, I can get HTTP status code 200 with request 'curl localhost:10000'.
And I can gett 404 with 'curl localhost:10000 -H 'hello: world'
Which version you are testing? The fixed is just merge in main, not release yet. so it works with main branch.

ah, you're completely right. I was using the released versions (1.18.x and 1.19).

still valid

@hanjm I tested this on the main branch, it works as expected. Would you like show your envoy config? and which version you are running on?
I tested with config:
          route_config:
            name: local_route
            virtual_hosts:
            - name: local_service
              domains: ["*"]
              routes:
              - match:
                  path: /
                  headers:
                  - name: TEST
                    present_match: false
                route:
                  cluster: my_cluster

Then without header, it will match:
curl -v http://<IP_ADDRESS>:33333
*   Trying <IP_ADDRESS>:33333...
* TCP_NODELAY set
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 33333 (#0)
> GET / HTTP/1.1
> Host: <IP_ADDRESS>:33333
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Wed, 15 Jun 2022 07:26:57 GMT
< Content-Length: 0
<
* Connection #0 to host <IP_ADDRESS> left intact
*


Table preview

The table component is mostly ready and working. We still need to make sure that data is updating when applying filters and that the data is ordered correctly.
Acceptance criteria

[ ] I have Table preview of the data that display 100 rows ordered descending, eg, I can see the latest rows
[x] I have a pagination

Tasks

[x] Add Pagination table settings
[x] Update query to be able to use pagination

TODO

@anuveyatsu ,  Should be related at #3 the filter information on the description?


Help confusing when default value is empty string

Plac shows default argument as argparse metavar.  But when argparse is given a metavar of an empty string, the results look more like a flag than an option, which is confusing.  (To be fair, there are differences, but very hard to spot.)
$ cat test_plac.py
#!/usr/bin/env python
def func(opt: ('opt', 'option', 'o') = ''):
    print(opt)
import plac
plac.call(func)
$ ./test_plac.py -h
usage: test_plac.py [-h] [-o]

optional arguments:
  -h, --help   show this help message and exit
  -o , --opt   opt

But what would you propose to do? Also notice that plac is using argparse under the hood, so the formatting of the help message is the argparse formatting, there isn't much that I can do.

I'd argue that argparse never intend that metavar should show the default value, so in the view of argparse this is not a bug.  I like the idea (because it means the help message can be much shorter), but if there is corner cases like this, I think it should be Plac to adjust.
My suggestion is to pass '""' (a string containing a pair of double quotes) as metavar if the default is the empty string.  That would make it indistinguishable from a default argument which is really a pair of double-quotes.  I think it is acceptable (because such defaults are rare), but if you really think it should be addressed the double quote character could be escaped in the metavar.


configuration issue

Describe the bug
A clear and concise description of what the bug is.
05-13-2022 16:57:00.263 -0400 ERROR ExecProcessor - message from "/splunk/bin/python3.7 /splunk/etc/apps/github-audit-log-monitoring-add-on-for-splunk/bin/ghe_audit_log_monitoring.py" RuntimeError: Could not fetch audit log data. Please check your configuration, access token scope / correctness and API rate limits. status_code: 404 - url: https://github.com/api/graphql/enterprises/enterprise-name/audit-log?phrase=&include=all&after=&before=&order=asc&per_page=100 - Response: Not Found
05-13-2022 16:57:00.263 -0400 ERROR ExecProcessor - message from "/splunk/bin/python3.7 /splunk/etc/apps/github-audit-log-monitoring-add-on-for-splunk/bin/ghe_audit_log_monitoring.py"     response.status_code, response.url, response.text
To Reproduce
Steps to reproduce the behavior:
. Go to '...'source = [/splunk/var/log/splunk/splunkd.log]
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
Additional context
Add any other context about the problem here.

Hey @indreshgithub1 have you configured the audit log by following the directions here?
It seems like it's not pointing at your enterprise name.

@leftrightleft .
Yes. It was the case. Thanks for your reply.
The host name and enterprise name was incorrect. I have fixed the issue and now its working.
Regards,
Indresh


Chai Should Not Be a Dev Dependency

This makes projects that don't explicitly add chai throw.
https://github.com/OpenZeppelin/openzeppelin-solidity/blob/a833c4b4ee2a71661366772cdd4a97c05346beeb/test/helpers/shouldFail.js#L1
It should be a regular or peer dependency depending on other usage.

Hello @epiqueras! Are you trying to use to OpenZeppelin test helpers in your project?

Yes

Oh, are they not meant to be imported?

Not right now, no, which is why chai is a dev dependency and not a regular one. The helpers are undergoing development and are not stable yet, however, we plan on releasing a package with them very soon (see https://github.com/OpenZeppelin/openzeppelin-solidity/issues/1204, though that one is more ambitious).


Add constants

Finally taking on the oldest standing issue: constants.
We talked about the advantages/disadvantages of including typing in Discord. Right this branch is dedicated to the "untyped constants" approach, which makes the Seahorse-facing UX a little smoother and more Python-native, at the expense of generated code readability.
Closes #2

A bit about take 1: I had the idea to leverage the Rust compiler to take care of some of my concerns about generated code for untyped constants. Instead of expanding the constants within the Seahorse compiler, each constant gets its own macro defined which lets the Rust compiler perform the expansion for us.
So you can write code like this:
MIN = 2
MAX = 16
RANGE = MAX - MIN

# Using the consts

for i in range(MIN, MAX):
  # ...

...which generates something like this:
seahorse_const! { MIN, 2 }
seahorse_const! { MAX, 16 }
seahorse_const! { MAX!() - MIN!() }

// Using the consts

for i in MIN!()..MAX!() {
  // ...
}

seahorse_const! is a macro that expands to another macro, in this case the macro defs for MIN, MAX, and RANGE. It's just there to clean up the generated code a bit, like assign! and related macros.

Good idea, definitely need to expand the tests.
Last thing I'm gonna add (beyond the test) is something to make sure that the expressions that qualify as constants are limited. General rules I'm thinking of is to not call functions, including constructors (which further includes list constructors). Just something to make sure that constants don't get too hectic.


Ambiguous error "is this input UTF-8 encoded?"

I am getting the following error on my project file:
shared:ERROR: ERROR - [JSC_READ_ERROR]
Cannot read file C:/Users/jukkaj/AppData/Local/Temp/emscripten_temp_my5mvvsw/a.wasm.o.js:
Failed to read: C:\Users\jukkaj\AppData\Local\Temp\emscripten_temp_my5mvvsw\a.wasm.o.js,
is this input UTF-8 encoded?

Does this error mean "the input file should be UTF-8 encoded, otherwise Closure cannot read it", or "UTF-8 files will fail to read, the file should not be UTF-8"?

The error means "we got a java.nio.charset.MalformedInputException and suspect it's because the input file should be UTF-8 encoded but is not".
The code throwing the error is just wrapping a java.nio.charset.MalformedInputException:
https://github.com/google/closure-compiler/blob/246ab429f96bff062941a4da8b8f2af01ef5eb0d/src/com/google/javascript/jscomp/SourceFile.java#L624

I'm pretty sure we'd be happy to accept a PR making the language clearer here, if you'd like to improve it.

Does Java assume utf-8 on all platforms ?   We are seeing this pop up when switch from "system encoding" to "utf8" encoding, which makes me think the maybe UTF-8 is not always expected but, at least on windows, the default system encoding.


Premake support

I wanted to write a premake script for this library, for usage in my project.
However, the zlib files appear to be missing. It seems they are plotted as a template file for the CMake build system.
Is there a workaround for this?

We have a configure bash script that works with those same template files. If you are trying to incorporate zlib-ng into a different build system you would have to duplicate a lot of what is in cmake or configure build systems. You can also look at the nmake scripts as that might be a bit simpler. Other build systems beyond those 3 are not something we really provide support for.
There appears to be a CMake generator for premake here. You can try it, since CMake can be used to make project files for different build systems.


Additional fixes to metal runtime bootstrap #290

Make inputs per-device (multi-device inputs still need to be worked out)
Create common functions for creating metal Buffers and CoreRange from flatbuffer types
Implement wait API + events, update ttrt to use it
Bug fix logical_grid_size -> compute_with_storage_grid_size, the latter accurately gives post-harvested shape
Automatically move inputs / outputs during submit

ttrt code lgtm!


Comma-separated list of first payment method in config

It is not possible to add a comma-separated list for the first payment method in the config. The comment says it is possible but not handled correctly in the code.
[
        /**
         * A comma-separated list of allowed Mollie payment methods for the first payment. Make sure the methods are
         * enabled in the Mollie dashboard. Set to NULL to let Mollie handle this for you. Can be overridden per plan.
         * @example 'ideal,creditcard'
         */
        'method' => null,
]

Should the comment be updated or the code adapted accordingly?

Can you try passing an array?

@sandervanhooft The plan model only accepts strings as payment method. Passing a array will lead in a PHP error.
    /**
     * @param string $firstPaymentMethod
     * @return $this
     */
    public function setFirstPaymentMethod(?string $firstPaymentMethod)
    {
        $this->firstPaymentMethod = $firstPaymentMethod;

        return $this;
    }

I create a small PR for this: https://github.com/laravel/cashier-mollie/pull/210

Thanks @chris-redbeed !


File selector cannot select multiple files on Casper

Describe the bug
Usually, when importing multiple files into VAPOR, one would select multiple files in the file window. However, on Casper, a single left click on a file opens it, eliminating the user option to select multiple files.
Expected behavior
I expect a single click to select a file but not open it.
Desktop
Casper

@shaomeng I've noticed this on the KDE desktop on Casper and other applications behave the same way.  If you're not using KDE, do you know if other apps do the same thing?

@shaomeng I've noticed this on the KDE desktop on Casper and other applications behave the same way. If you're not using KDE, do you know if other apps do the same thing?

I tested KDE environment and Evince (document viewer). Evince is able to correctly select and open multiple files.

@pearse will contact the consultants about this issue and find out why we must use the KDE desktop, while the default desktop does not exhibit this behavior.

KDE is currently the default desktop on Casper, but users can specify --desktop=gnome-session with vncmgr, which does not exhibit this problem.

#3576 #3580


added some comments and renamed some variables in PathResolver and PathResolverSnapshot

this sit on top of https://github.com/microsoft/python-language-server/pull/1596
this is actual change - https://github.com/microsoft/python-language-server/pull/1597/commits/d6c86113d25faa4a7870af182899ac4b2542c0ff - and commit before it is same as #1596

https://github.com/microsoft/python-language-server/pull/1584 may need to go first

@MikhailArkhipov ping?

Not before #1584 since it touches same area.


PiranhaJava // Decouple configMethodProperties from its JSON representation

configMethodProperties in XPFlagCleaner is currently a Map<String, List<Map<String, Object>>>.
The Map<String, Object> should be replaced with a custom class, like PiranhaMethodRecord so it is decoupled from the config file and Piranha can be easily extended to other config specification formats.
For context and details see these comments:
https://github.com/uber/piranha/pull/39#discussion_r436899257
https://github.com/uber/piranha/pull/39#discussion_r430695822

This is resolved in #55


[IGNORE] setup precommit to play nice with bidsschema CI

Final splinter from #1219
This PR aims to find a pre-commit config that is compatible with the linting configuration used for the bidsschema tools and does not break anything in CI.
FYI: I am working on my main branch to be able to show the output of pre-commit CI:
for example: https://results.pre-commit.ci/run/github/150988005/1661942215.jTaSkg0fQD2c-OyJfvjqGw

Black pre-commit CI is fine:
https://results.pre-commit.ci/run/github/150988005/1661942215.jTaSkg0fQD2c-OyJfvjqGw
black....................................................................Passed

But bidsschematools CI fails:
https://github.com/bids-standard/bids-specification/runs/8111715253?check_suite_focus=true#step:5:21
Run flake8 .
./bidsschematools/validator.py:98:17: BLK100 Black would make changes.
./bidsschematools/render.py:109:13: BLK100 Black would make changes.
./bidsschematools/render.py:473:100: E501 line too long (100 > 99 characters)
./bidsschematools/schema.py:276:38: BLK100 Black would make changes.
./bidsschematools/utils.py:110:20: BLK100 Black would make changes.
./bidsschematools/tests/test_validator.py:163:12: BLK100 Black would make changes.
./bidsschematools/tests/test_make_testdata.py:39:21: BLK100 Black would make changes.
./bidsschematools/tests/test_rules.py:98:38: BLK100 Black would make changes.
./bidsschematools/tests/test_render.py:62:28: BLK100 Black would make changes.

flake8 pre-commit CI fails:
flake8...................................................................Failed
- hook id: flake8
- exit code: 1

tools/mkdocs_macros_bids/macros.py:5:1: F401 'bidsschematools.utils' imported but unused

This is despite .flake8 telling it to ignore F401 errors
From memory removing the utils will lead to failures of the PDF build.

Failure in PDF build in circle CI
Traceback (most recent call last):
  File "/root/project/pdf_build_src/process_markdowns.py", line 22, in <module>
    from mkdocs_macros_bids import macros  # noqa: F401
  File "/root/project/pdf_build_src/../tools/mkdocs_macros_bids/__init__.py", line 1, in <module>
    from macros import (
ModuleNotFoundError: No module named 'macros'

Exited with code exit status 1

https://app.circleci.com/pipelines/github/bids-standard/bids-specification/5146/workflows/7d134fa6-96ba-41a2-866f-7a23c209a764/jobs/14716?invite=true#step-104-11


add toaster on login page

📋 Description

🔨 Changes Made

✅ Checklist
Before submitting the PR, please make sure you have completed the following:

[ ] My code follows the style guidelines of this project.
[ ] 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 (if applicable).
[ ] My changes generate no new warnings.
[ ] I have tested it locally and it works fine.
[ ] Any dependent changes have been merged and published in downstream modules.

🏷 Types of Changes
What type of changes does your code introduce? (Check all that apply)

[ ] Bug fix (non-breaking change which fixes an issue) 🐛
[ ] New feature (non-breaking change which adds functionality) ✨
[ ] UI enhancement (non-breaking change which enhances UI) 🎨
[ ] Documentation update 📚

🤝 Related Issues

Fixes #

📸 Screenshots (if applicable)

Thank you for contributing to Truth-Tunnel! We look forward to reviewing your PR and getting it merged!

📋 Description
🔨 Changes Made
✅ Checklist
Before submitting the PR, please make sure you have completed the following:

[ ]  My code follows the style guidelines of this project.
[ ]  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 (if applicable).
[ ]  My changes generate no new warnings.
[ ]  I have tested it locally and it works fine.
[ ]  Any dependent changes have been merged and published in downstream modules.

🏷 Types of Changes
What type of changes does your code introduce? (Check all that apply)

[ ]  Bug fix (non-breaking change which fixes an issue) 🐛
[ ]  New feature (non-breaking change which adds functionality) ✨
[ ]  UI enhancement (non-breaking change which enhances UI) 🎨
[ ]  Documentation update 📚

🤝 Related Issues

Fixes #

📸 Screenshots (if applicable)
Thank you for contributing to Truth-Tunnel! We look forward to reviewing your PR and getting it merged!

Bro isme se thodi details fill kar dena coz pull request pe review hota h

Hi @MitulSonagara code formatter have been used in some places therefore add level1 here

hey @MastanSayyad adding new functionlaity is to be added as level 2 as you prev. told me, also code formatter is part of the process in order to make code more readable

Nope if the functionality is been added with lesser changes then it should be level 1, i checked the code for toaster, rest of the code is formatted

Nope if the functionality is been added with lesser changes then it should be level 1, i checked the code for toaster, rest of the code is formatted

I understand .


Now the browser test runner is broken on Travis

https://travis-ci.org/tmpvar/jsdom/jobs/100284756
The pain never ceases. Maybe we actually broke the browser tests? I don't have Java installed currently; will have to investigate tomorrow.

Yeah it's a legit break:
Uncaught Error: Cannot find module '../living/generated/HTMLElement'

Ah, annoying. It's because register-wrappers.js uses dynamic require. I wanted to rename that file anyway...

I see two possibilities for fixing this:
const mapping = {
  HTMLElement: [require("./generated/HTMLElement.js")],
  HTMLAnchorElement: [require("./generated/HTMLAnchorElement.js"), "a"],
  HTMLAppletElement: [require("./generated/HTMLAppletElement.js"), "applet"],
  ...
};

for brevity, or
const mapping = {
  HTMLElement: {
    file: require("./generated/HTMLElement.js"),
    tags: []
  },
  HTMLAnchorElement: {
    file: require("./generated/HTMLAnchorElement.js"),
    tags: ["a"]
  },
  HTMLAppletElement: {
    file: require("./generated/HTMLAppletElement.js"),
    tags: ["applet"]
  },
  ...
};

for clarity. @Sebmaster do you have a preference? I guess the file will not be edited very often...

We could also write a script to generate it I suppose.

I'd go for the second option - there are a few elements with multiple tags which make the fake-tuple kinda awkward.


Synchronous transfers and responses

This is more of a howto question than a bug report. It is not entirely clear for me if this library also supports synchronous transfera, where the thread blocks until the requested data os reponded by the device. Libusb seems to support sync and async IO (http://libusb.sourceforge.net/api-1.0/io.html) but I cannot find any examples how to achieve synchronous IO operations with node-usb. Right now I use startPoll on the IN-Endpoint that works fine, but I would need a strategy to immediately process the results (e.g. in a loop);
USB device programming is new to me, therefore, any suggestions or code examples would help me tremendously.

This library only exposes the asynchronous API since blocking is considered a bad practice in Node.