text:
Specify Resources in App Decorator

Refer #1324 for issue, but this PR allows users to optionally specify resource requirements within the Parsl app decorator, which enables Work Queue to specify tasks to run with specific resource usage.
This can be done at the function level, such as:
@python_app(cores=4, mem=100, disk=100)
def example():
    ...

which would specify each function call to example() to require 4 cores, 100MB of memory, and 100MB of disk. Not all resources need to be specified: any combination of cores, memory, and disk can be specified, and if they are not listed, it will default to Work Queue's default settings (where one task consumes an entire worker).
Additionally, users have an option to specify resource requirements per task, by passing in resource requirements as a keyword argument to the function. More specifically, it uses the keyword argument parsl_resource_specification to map to a dictionary of resource requirements. For example:
@python_app
def example(parsl_resource_specification={cores=2, mem=100, disk=100}):
    ...

This allows for the use case where a user might want to specify different resource requirements for different iterations of the same function call, such as if one function call has a much bigger input which would require more computational resources. If resources are specified in both the decorator and as an argument to the function using the parsl_resource_specification keyword, it defaults to using the argument values, allowing the values within the decorator to act as "default" resource specifications for the app.

It looks like this PR is failing in CI because the other executors aren't expecting the additional kwarg that this PR creates ('parsl_resource_specification`), and thus fails when it passes in the kwargs to the function during execution. Is there any way to only add the kwargs if we know what executor is being used (ie, if we know that the executor is WQ Executor, which has built-in handling for this additional argument)?

@tjdasso: Yikes, I was not thinking carefully-- I'm sorry for giving you bad advice! Since inserting into kwargs was a hack anyways, I think the best way forward is to do this by changing the submit signature in the executor base class and allowing each executor implementation to decide what to do with it. All the existing executors ignore it except wqex. In this way, if someone implements a new executor, they'll know that they have access to the resource specification, if they want to use it. I haven't tested it with wqex, but here's a sketch of how this might look:
diff --git a/parsl/app/bash.py b/parsl/app/bash.py
index 9ab467c..5c1cb95 100644
--- a/parsl/app/bash.py
+++ b/parsl/app/bash.py
@@ -147,12 +147,6 @@ class BashApp(AppBase):
         """
         # Update kwargs in the app definition with ones passed in at calltime
         self.kwargs.update(kwargs)
-        if 'parsl_resource_specification' not in self.kwargs:
-            self.kwargs['parsl_resource_specification'] = {
-                'cores': self.cores,
-                'disk': self.disk,
-                'mem': self.mem
-            }

         if self.data_flow_kernel is None:
             dfk = DataFlowKernelLoader.dfk()
@@ -164,6 +158,9 @@ class BashApp(AppBase):
                              executors=self.executors,
                              fn_hash=self.func_hash,
                              cache=self.cache,
+                             cores=self.cores,
+                             disk=self.disk,
+                             mem=self.mem,
                              **self.kwargs)

         return app_fut
diff --git a/parsl/app/python.py b/parsl/app/python.py
index 5671d2d..e86cbb3 100644
--- a/parsl/app/python.py
+++ b/parsl/app/python.py
@@ -65,13 +65,6 @@ class PythonApp(AppBase):
         else:
             dfk = self.data_flow_kernel

-        if 'parsl_resource_specification' not in kwargs:
-            kwargs['parsl_resource_specification'] = {
-                'cores': self.cores,
-                'mem': self.mem,
-                'disk': self.disk
-            }
-
         walltime = self.kwargs.get('walltime')
         if walltime is not None:
             self.func = timeout(self.func, walltime)
@@ -79,6 +72,9 @@ class PythonApp(AppBase):
                              executors=self.executors,
                              fn_hash=self.func_hash,
                              cache=self.cache,
+                             cores=self.cores,
+                             disk=self.disk,
+                             mem=self.mem,
                              **kwargs)

         return app_fut
diff --git a/parsl/dataflow/dflow.py b/parsl/dataflow/dflow.py
index 302225b..4ae3cfa 100644
--- a/parsl/dataflow/dflow.py
+++ b/parsl/dataflow/dflow.py
@@ -439,7 +439,7 @@ class DataFlowKernel(object):
                                                          self.monitoring.resource_monitoring_interval)

         with self.submitter_lock:
-            exec_fu = executor.submit(executable, *args, **kwargs)
+            exec_fu = executor.submit(executable, self.tasks[task_id]['resource_specification'], *args, **kwargs)
         self.tasks[task_id]['status'] = States.launched
         if self.monitoring is not None:
             task_log_info = self._create_task_log_info(task_id, 'lazy')
@@ -600,7 +600,7 @@ class DataFlowKernel(object):

         return new_args, kwargs, dep_failures

-    def submit(self, func, *args, executors='all', fn_hash=None, cache=False, **kwargs):
+    def submit(self, func, *args, executors='all', fn_hash=None, cache=False, cores=None, mem=None, disk=None, **kwargs):
         """Add task to the dataflow system.

         If the app task has the executors attributes not set (default=='all')
@@ -660,6 +660,12 @@ class DataFlowKernel(object):
                                 kw)
                     )

+        resource_specification = {
+            'cores': cores,
+            'mem': mem,
+            'disk': disk
+        }
+
         task_def = {'depends': None,
                     'executor': executor,
                     'func_name': func.__name__,
@@ -674,7 +680,8 @@ class DataFlowKernel(object):
                     'status': States.unsched,
                     'id': task_id,
                     'time_submitted': None,
-                    'time_returned': None}
+                    'time_returned': None,
+                    'resource_specification': resource_specification}

         app_fu = AppFuture(task_def)

diff --git a/parsl/executors/base.py b/parsl/executors/base.py
index 294a2f7..543dbba 100644
--- a/parsl/executors/base.py
+++ b/parsl/executors/base.py
@@ -37,7 +37,7 @@ class ParslExecutor(metaclass=ABCMeta):
         pass

     @abstractmethod
-    def submit(self, *args, **kwargs):
+    def submit(self, func, resource_specification, *args, **kwargs):
         """Submit.

         We haven't yet decided on what the args to this can be,
diff --git a/parsl/executors/high_throughput/executor.py b/parsl/executors/high_throughput/executor.py
index 21f4918..11649fe 100644
--- a/parsl/executors/high_throughput/executor.py
+++ b/parsl/executors/high_throughput/executor.py
@@ -504,7 +504,7 @@ class HighThroughputExecutor(ParslExecutor, RepresentationMixin):
                 logger.debug("[HOLD_BLOCK]: Sending hold to manager: {}".format(manager['manager']))
                 self.hold_worker(manager['manager'])

-    def submit(self, func, *args, **kwargs):
+    def submit(self, func, resource_specification, *args, **kwargs):
         """Submits work to the the outgoing_q.

         The outgoing_q is an external process listens on this
diff --git a/parsl/executors/ipp.py b/parsl/executors/ipp.py
index 3faa412..307721f 100644
--- a/parsl/executors/ipp.py
+++ b/parsl/executors/ipp.py
@@ -212,7 +212,7 @@ sleep infinity
     def scaling_enabled(self):
         return self._scaling_enabled

-    def submit(self, *args, **kwargs):
+    def submit(self, func, resource_specification, *args, **kwargs):
         """Submits work to the thread pool.

         This method is simply pass through and behaves like a submit call as described
@@ -221,7 +221,7 @@ sleep infinity
         Returns:
               Future
         """
-        return self.lb_view.apply_async(*args, **kwargs)
+        return self.lb_view.apply_async(func, *args, **kwargs)

     def scale_out(self, blocks=1):
         """Scales out the number of active workers by 1.
diff --git a/parsl/executors/low_latency/executor.py b/parsl/executors/low_latency/executor.py
index d24737b..3a9b092 100644
--- a/parsl/executors/low_latency/executor.py
+++ b/parsl/executors/low_latency/executor.py
@@ -189,7 +189,7 @@ class LowLatencyExecutor(ParslExecutor, RepresentationMixin):

         logger.info("[MTHREAD] queue management worker finished")

-    def submit(self, func, *args, **kwargs):
+    def submit(self, func, resource_specification, *args, **kwargs):
         """ TODO: docstring """
         self._task_counter += 1
         task_id = self._task_counter
diff --git a/parsl/executors/threads.py b/parsl/executors/threads.py
index c981b0b..df8663b 100644
--- a/parsl/executors/threads.py
+++ b/parsl/executors/threads.py
@@ -54,14 +54,14 @@ class ThreadPoolExecutor(ParslExecutor, RepresentationMixin):
     def scaling_enabled(self):
         return self._scaling_enabled

-    def submit(self, *args, **kwargs):
+    def submit(self, func, resource_specification, *args, **kwargs):
         """Submits work to the thread pool.

         This method is simply pass through and behaves like a submit call as described
         here `Python docs: <https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.ThreadPoolExecutor>`_

         """
-        return self.executor.submit(*args, **kwargs)
+        return self.executor.submit(func, *args, **kwargs)

     def scale_out(self, workers=1):
         """Scales out the number of active workers by 1.
diff --git a/parsl/executors/workqueue/executor.py b/parsl/executors/workqueue/executor.py
index 1ac492c..c14f819 100644
--- a/parsl/executors/workqueue/executor.py
+++ b/parsl/executors/workqueue/executor.py
@@ -547,7 +547,7 @@ class WorkQueueExecutor(ParslExecutor):
             index += 1
         return new_name

-    def submit(self, func, *args, **kwargs):
+    def submit(self, func, resource_specification, *args, **kwargs):
         """Submit.

         We haven't yet decided on what the args to this can be,
@@ -560,12 +560,6 @@ class WorkQueueExecutor(ParslExecutor):
         input_files = []
         output_files = []
         std_files = []
-        resources = {}
-
-        # Receive resource specifications from the kwargs, then remove it
-        if 'parsl_resource_specification' in kwargs:
-            resources = kwargs["parsl_resource_specification"]
-            kwargs.pop("parsl_resource_specification")

         # Add input files from the "inputs" keyword argument
         func_inputs = kwargs.get("inputs", [])
@@ -649,7 +643,7 @@ class WorkQueueExecutor(ParslExecutor):
         # Create message to put into the message queue
         logger.debug("Placing task {} on message queue".format(task_id))
         msg = {"task_id": task_id,
-               "resources": resources,
+               "resources": resource_specification,
                "data_loc": function_data_file,
                "result_loc": function_result_file,
                "input_files": input_files,

Unfortunately, specifying resources per task is now a bit awkward. Here is an example of how to do it. In my view, we can decide later if we want to add 'magic' keyword args (analogous to stderr and stdout currently) and not hold this PR up.
per task
import parsl
from parsl.app.app import python_app

parsl.set_stream_logger()
parsl.load()

def foo(name):
    print('Hello, {}!'.format(name))

python_app(foo, cores=4)('small per-task world')
python_app(foo, cores=8)('big per-task world')

per app
import parsl
from parsl.app.app import python_app

parsl.set_stream_logger()
parsl.load()

@python_app(cores=2)
def bar(name):
    print('Hello, {}!'.format(name))

bar('per-app world')

@annawoodard if resource_specification is an object rather than a dict, it can be documented and type-checked (in the same way as Configs). This means it can't become a quagmire of random options so easily. Which might be a feature, or might be a downside - depending on whether you intend each executor implementation to be able to have its own arbitrary options not specified by parsl core, or whether you want parsl core to specify what options mean even if they aren't implemented everywhere. (I think the latter, because there's a hard-coded dict initializer in the DFK in your patch)

Maybe for usability parsl should be emitting warning when it ignores fields in resource_specification.

One note is that memory might be better than mem from a user point of view. A simple parser for 100MB or 100GiB is usually advised as well. Best to double check the cores definition complies with the language used in the partial node PR.
@annawoodard Any harm in having thousand of python apps to comply with the new definition?
@benclifford Cannot say enough good things about Pydantic for automatic type checked and serialized objects.

@dgasmith we're already using mypy for some static and typeguard for some dynamic checking using type hints. Issue #873 is a slow ongoing project that would welcome contributions.

@ZhuozhaoLi is going to move towards a JSON resource spec here.

superseded by #1675

authors: annawoodard benclifford dgasmith dthain tjdasso


text:
json Decode Error

The Error is:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\AppData\Local\Programs\Python\Python39\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "C:\Users\Desktop\coding!Coding\Tkinter-Designer-master\tkinter_designer.py", line 29, in btn_clicked
backend.generate_code(token,URL, output_path)
File "C:\Users\Desktop\coding!Coding\Tkinter-Designer-master\backend.py", line 91, in generate_code
data = response.json()
File "C:\Users\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\AppData\Local\Programs\Python\Python39\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Link to Figma FIle:
https://www.figma.com/file/SmMH601IW47DIQ8RsyiMZQ/Untitled?node-id=0%3A1
Btw before this i got this error:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\AppData\Local\Programs\Python\Python39\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "C:\Users\Desktop\coding!Coding\Tkinter-Designer-master\tkinter_designer.py", line 29, in btn_clicked
backend.generate_code(token,URL, output_path)
File "C:\Users\Desktop\coding!Coding\Tkinter-Designer-master\backend.py", line 147, in generate_code
window_elements = fig_window["children"]
KeyError: 'children

Thanks for creating an issue, we are eager to solve it.

Hey @Vinyzuz, The JSON decode error is unexpectedly occurring today. And it goes away after a second time.
And let me see about the second.

Hey @Vinyzuz, The keyError children is due to there are no valid elements inside the frame. Add some text and it should work.
Also use the latest version.

Also I recorded the response and the JSON decoder error is caused because of The Figma server.
When this error occurs the status code is - 504 Gateway Timeout.
It means that there's no problem with Tkinter Designer. It would go away soon. Until then we just have option of retrying.

ok thanks

Hey @Vinyzuz , the json decode error
Must have solved now.

Same error now, even after updating tkd @ParthJadhav

source: gharchive/issue

authors: JawadPy ParthJadhav Vinyzuz

repo: ParthJadhav/Tkinter-Designer

license_type: permissive

license_source: github-api


text:
Stop the framework from allowing Exceptions from HttpClient from bubbling up

Instead of Bubbling up let catch them and return a failed result from the method with the exception as a property

This was deployed as part of the 0.8.0 deployment.

repo: ParticleNET/ParticleSDK

license_source: bigquery


text:
Question: Does GitVersionTask output to Build server?

Does the nuget GitVersionTask do the same as GitVersion.exe /output buildserver, in so far as allowing me to then use the parameters in TeamCity?

It should detect it is running in TeamCity automatically and write the variables out. The reason for the switch on the exe is that we can return a JSON object which holds all the variables. Reopen this issue if this is not the case

Cheers. I had it working for one project, but not another. Fixed my issue, anyhow. All working.

authors: JakeGinnivan crakinshot

repo: ParticularLabs/GitVersion

license: MIT


text:
faust2sporth not linking

Paul,
I think the script does not make the compiler link the .cpp and the .so files.
I get a .so file instead of the the .sp
I also had to change the paths of the faust headers in sporth.cpp

Faust2Sporth has only been tested on a few Linux machines, so it isn't surprise me that you'd be running into some compiler and path related issues.
Faust2Sporth is supposed to generate a .so file. This is a shared object file, that Sporth can load up as a plugin. See this blog post for more info:
http://paulbatchelor.github.io/blog/posts/2016-06-09-faust2sporth.html

Very interesting. Thank you.

@martinjaroszewicz could you paste here what you changed the faust headers to, and what platform you are using?

In sporth.cpp
#include "faust/gui/UI.h"
#include "faust/audio/dsp.h"
#include "faust/gui/meta.h"

to where they are because I don't know compiler directives
faust/architecture/faust/gui/UI.h
faust/architecture/faust/dsp/dsp.h
faust/architecture/faust/gui/meta.h

Ubuntu 16.04

You're on Linux? Huh. It should have worked without a hitch.
What version of Faust are you running?
I just compiled Faust using the master branch, and the files are in the right places. Running "Faust --version" gives me:

FAUST, DSP to C++ compiler, Version 0.9.81
Copyright (C) 2002-2015, GRAME - Centre National de Creation Musicale. All rights reserved.

Same here. This is strange but not an issue for me.

faust --version
FAUST, DSP to C++ compiler, Version 0.9.81
Copyright (C) 2002-2015, GRAME - Centre National de Creation Musicale. All rights reserved.

Can you see if /usr/local/include/faust exists?
This is what I get when I run "ls /usr/local/include/faust"

au  audio  dsp  gui  libfaust.h  midi  misc.h  osc  sound-file.h  vst

If this folder does exist, it must mean that Ubuntu does not have /usr/local/include in the header search path. I have pushed a changed to the faust2sporth script that explicitly looks for headers in this path so you shouldn't run into this issue anymore.
If that folder does not exist or looks significantly different, it means that something is strange with the Faust installation on Ubuntu, which is an issue I can't really fix on my end.

Yes:
au  audio  dsp  gui  midi  misc.h  osc  sound-file.h  vst

Okay. I made some tweaks to faust2sporth and pushed it to master. It should be fixed now.

dist.cpp:41:29: fatal error: faust/audio/dsp.h: No such file or directory compilation terminated.
I guess the problem is that the dsp.h is in dsp/dsp.h instead of audio/dsp.h

Yup. I looks like I didn't do a full clean of my faust2 files. Once I do that, I get that error. I have pushed that fix. See if things work now.

Perfect!

authors: PaulBatchelor martinjaroszewicz

repo: PaulBatchelor/Sporth

license: mit


text:
Your work is great but I have some issues with pretraining

Since my application involves non-natural images, I aim to pre-train the model on a domain-specific dataset. However, I haven't found any relevant tutorials for this task. I would greatly appreciate it if the author could provide guidance or tutorials to help me accomplish this.

Thanks for your interest in our work! If you want to fine-tune the diffusion model on your own data you can refer to https://huggingface.co/blog/lora

authors: GZ-YourZY PaulCouairon

repo: PaulCouairon/DiffCut


text:
v2.00 c-array not correct on one- & two color pictures

hey. I found a bug in v2.00 when i try to create a c-array from a picture with 1 or 2 Colors. The generated C-Array looks good in GUISlice Builder, but the Arduino IDE is not able to compile this code, because of the first few rows in the array:
const unsigned char Settings_icon[2500+5] = {
0x00, // Height of image
0x32,
0x00, // Width of image
0x32,
000, // red color
093, // green color
181, // blue color
because of the number format, the decimal numbers for red and green will be interpreted as octal numbers.
Even when i change this manualy, the array is still broken. after loading the picture i can see some random pixels and my ESP32 just crash and restart.
to Avoid this problem, i can use the V1.04 of Image2C or change one Random Pixel in the Picture to force the V2.00 to interprete the picture as 3 Color Picture and generate a C-array in a different format.
in both cases, the picture in GUISlice Builder can not be transparent anymore, i always have the pink array, which indicate the transparent area. I have attach my test pictures (1 color Transparent/blue and 3 color Transparent/blue/1Pixel_different_blue) and the generated C-arrays
Settings_icon.zip

@esprit1711 Yes, I screwed up with the octal. After your edits though the crash is caused by GUIslice bug.
Calvin has been MIA for a while now and fixes have backed up.
I have an outstanding pull request with the fix for crashes.
https://github.com/ImpulseAdventure/GUIslice/pull/456
Anyway if you download my fix  and replace GUIslice you should be fine with an edited Settings_icon_IC.c file.
const unsigned char Settings_icon_1C[2500+7] GSLC_PMEM = {
0x00, // Height of image
0x32,
0x00, // Width of image
0x32,
0, // red color
93, // green color
181, // blue color

My fix is this version of GUIslice that you can download.
https://github.com/Pconti31/GUIslice/tree/pconti-DRAWMONO-FIX
I'll add zero suppression to the build for monographic output.
It will take me a little longer to figure out Settings_icon_3C and how I broke it.
Paul--

thank you for your fast response :)
i have add the bmap_base++; line in GUIslice_drv_adagfx.cpp but it still crash. I thought i miss something, but because of your edit i think you also tried it.

@esprit1711 Thanks again. I just posted the fixes in release 2.01
There were a couple of problems but easy to fix.
I also added more information to the readme for guidence on using the Builder and GUIslice API.
Paul--

oh, sometimes i am just stupid :D . i saw what you change for the fix and thaught you have add the extra bmap_base++ cause i have missintereprete the comparison from github.
I am very impressed how fast you have fixed the problem. thank you very much!


text:
Trigger genesis according to time

PR Description

https://github.com/PegaSysEng/teku/pull/1246

source: gharchive/pull-request

repo: PegaSysEng/teku


text:
Set the rest api server host address from the rest-api-interface flag.

started changelog for 0.12.

Signed-off-by: Paul Harris paul.harris@consensys.net
Documentation

[X] I thought about documentation and added the documentation label to this PR if updates are required.

ah, we broke the acceptance tests because they use docker and now it's only listening inside the docker container.  We should add an env var to our Dockerfile to fix that since it never makes sense to have a docker instance only listen on the loopback interface.  Will be something like:
ENV TEKU_REST_API_INTERFACE="0.0.0.0"

Probably should do the same for metrics interface while we're there.

authors: ajsutton rolfyone


text:
[iter 4] final edits to make Code Climate happy

just some edits to appease the code climate gods

Approved


text:
Fix the issue with adjoint-jacobian of adjoint ops

Before submitting
Please complete the following checklist when submitting a PR:

[ ] All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to the
tests directory!

[ ] All new functions and code must be clearly commented and documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running make docs.

[ ] Ensure that the test suite passes, by running make test.

[ ] Add a new entry to the .github/CHANGELOG.md file, summarizing the
change, and including a link back to the PR.

[ ] Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Context:
The Adjoint-Jacobian of adjoint operations in Lightning is incorrectly returning 0 if we don't decompose them. This issue stems from the ops serialization logic in Python, which mistakenly assumes inverse = False for all operations. This PR fixes the issue so that we can add Adjoint(op) for all supported op to the frozenset of devices operations that will also fix the blocker for merging PR #988.

import pennylane as qml

dev = qml.device("lightning.qubit", wires=2)

@qml.qnode(dev, diff_method="adjoint")
def circuit(params):
    qml.adjoint(qml.RX(params[0], wires=[0]))
    qml.adjoint(qml.RY(params[0], wires=[0]))
    qml.adjoint(qml.RZ(params[0], wires=[0]))
    qml.adjoint(qml.SingleExcitation(params[0], wires=[0, 1]))
    return qml.expval(qml.Z(0))

params = qml.numpy.array([0.123])
qml.jacobian(circuit)(params)

Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues:
[sc-78336]

LGTM! Thanks @josephleekl for completing the PR :raised_hands:

repo: PennyLaneAI/pennylane-lightning


text:
Handle optional arg

In request_handle_udp, it should be possible to provide the optional start_angle & max_num_points_scan without having the need to go through dynamic reconfiguration.
This PR would allow the user to roslaunch with these 2 arguments, for example
roslaunch pf_driver R2300.launch start_angle:=-10 max_num_points_scan:=101

If any of these parameters are not provided, the default values will be used. Hence invoking the old way
roslaunch pf_driver R2300.launch

would start the package with start_angle=-180 & max_num_points_scan=0 i.e. no change in behaviour.
Note that the code changes has only been tested with R2300 and not with R2000.

@wsaihopfsg thanks for the contribution! Could you please resolve the conflicts?

@wsaihopfsg thanks for the contribution! Could you please resolve the conflicts?

@wsaihopfsg thanks for the contribution! Could you please resolve the conflicts?

I have resolved the conflicts in this PR. May be you should check and merge this first before I resolve https://github.com/PepperlFuchs/ROS_driver/pull/49 & https://github.com/PepperlFuchs/ROS_driver/pull/50?

@wsaihopfsg thanks for the contribution! Could you please resolve the conflicts?

I have resolved the conflicts in this PR. May be you should check and merge this first before I resolve https://github.com/PepperlFuchs/ROS_driver/pull/49 & https://github.com/PepperlFuchs/ROS_driver/pull/50?

@wsaihopfsg sorry I thought I submitted these comments already. Just saw that they were still pending. I will come up with a solution today and then you can take a look.

@wsaihopfsg sorry I thought I submitted these comments already. Just saw that they were still pending. I will come up with a solution today and then you can take a look.

Closing this for https://github.com/PepperlFuchs/ROS_driver/pull/51

Closing this for https://github.com/PepperlFuchs/ROS_driver/pull/51

authors: ipa-hsd wsaihopfsg


text:
Feature request: AWS Lambda support

Not sure what AWS would need to do to make Swift/Perfect available for Lambda development, but I'd love to see this availability.  I would imagine Swift/Perfect already would be usable from EC2.

It is relatively straight forward to run on AWS via Docker and ECS.

@johnmorrell how can Docker and ECS help us ?

@vince-marco "I would imagine Swift/Perfect already would be usable from EC2"
That's great news. Do you have a gist that goes through the steps? It might be trivial but still useful.
As for Docker, I tried them with Google Containers and they were always failing. Whereas with Amazon EC2 and Ubuntu (Trusty) 14.04 LTS, you can pass ssh -o "ServerAliveInterval 10" when connecting and it will not timeout.
Looking forward to a straightforward setup gist for AWS EC2 Ubuntu 14.04 LTS.

vince-marco: Hello.  If you log into the Amazon EC2 Console[1], the us-east-1 region has a public perfect-ubuntu-1510 Amazon Machine Image (AMI) from owner 106004027494.  Does this information help you?
loopbum: Have you tried the PerfectlySoft Inc. Ubuntu 15.10 Perfect Docker image?  It can be found here[2].
[1] https://console.aws.amazon.com/ec2/v2/home?region=us-east-1#Images:sort=name
[2] https://hub.docker.com/r/perfectlysoft/ubuntu/

vince-marco: Hello. If you log into the Amazon EC2 Console[1], the us-east-1 region has a public perfect-ubuntu-1510 Amazon Machine Image (AMI) from owner 106004027494. Does this information help you?
loopbum: Hello.  Have you tried the PerfectlySoft Inc. Ubuntu 15.10 Perfect Docker image? It can be found here[2].
[1] https://console.aws.amazon.com/ec2/v2/home?region=us-east-1#Images:sort=name
[2] https://hub.docker.com/r/perfectlysoft/ubuntu/

@Sha0 Although that sounds good, this is just a starter container image for PerfectlySoft.
Wouldn't it then require for me to install the rest of my items:
1 - Anaconda
2 - TensorFlow
3 - Jupyter
Again, correct me if I'm wrong, but Isn't that the primary flow of Docker containers. The image you mention may contain Perfect, but the other 3 still need installing.
So if one starts with any of the other images, you still need to install the other components. I guess Anaconda from continuum.io is a good example for an image because it contains Python 3.5.1 in my scenario and almost all of the important Python packages.
That's why I'm looking for a simple installation process.

loopbum: I'm afraid that I've misunderstood what it is that you're interested in.  Sorry about that.  I don't know what a "setup gist" is.

@Sha0 you mention to vince-macro to reference an Amazon Machine Image. He was asking about Lambda dev, and mentioned installing Perfect on EC2. That's what I'm asking. What are the steps (if you know). I already have an instance running with other software so I'm not interested in a Docker Container or another users AMI file. Do you know what a "gist" is here on github? :-/

loopbum: Yes, I know what a "gist" is, here on GitHub.  Getting Swift and Perfect to be available in your own system will depend on your operating system and its version.  In general, the steps are:

Extract the right Swift download into the filesystem
Put the Perfect git repository somewhere, perhaps as a /usr/src/perfect/ directory
In the Perfect PerfectLib/ directory, read the Linux build notes in the read-me file and run 'make' and 'make install'
In the Perfect PerfectServer/ directory, read the Linux build notes in the read-me file and run 'make' and 'make install'
In the Perfect Connectors/ directory, for each module's directory, read the Linux build notes in the read-me file and run 'make', then copy the resulting file.so and file.swiftmodule into somewhere useful, perhaps into the /usr/local/lib/ directory

Only Ubuntu is considered for the Linux build notes, but Fedora, Red Hat, CentOS should have counterparts.

@vince-marco see,
https://medium.com/@gigq/using-swift-in-aws-lambda-6e2a67a27e03#.t1s3jnyas

I agree with the comments.  Perfect is not needed for implementing AWS Lamdbas.  API Gateway handles all REST request/response interaction.  The JS bootstrapping is a bit hokey, but that is on AWS and cannot be resolved through Perfect.

authors: Sha0 johnmorrell linxyfe loopbum vince-marco

repo: PerfectlySoft/Perfect


text:
feat(dsproof): Created v5 GET dsproof endpoint

PR related to this trello task --> https://trello.com/c/DTSuoWz3

:tada: This PR is included in version 1.41.0 :tada:
Your semantic-release bot :package::rocket:

authors: christroutner danielhumgon


text:
Adding Level up simulator

Hello, first of all I am not english so I will probably write some mistakes in this issue.
Yesterday, I created an Excel file to see how much faimon/aiden hell runs I would need to upgrade my monster(s) to Max lvl, to see how much runs I need to power up 3 monsters from lvl 0 to lvl 25.
So I think it could be interesting to add this feature into swarfarm application. It will be better than an Excel because swarfarm has access to user's monsters. But I don't know if you save the experience amount of each monsters
Features that would be interresting for this simulator :

Create a team with our monster in our bestiary
calculate how much Aiden/Hydeni/Faimon or rift runs you need to power them up to max level
display how much energy that would use
The user gives an average time of run completion and swarfarm gives the time you need to spend to power up your team
Create a team with fake monsters (not from bestiary) to see how much runs you need to max lvl fodder monsters

By the way, I am a french young developper so I may add a pull request related to this issue. But very later as I am a very young developper x)
And thanks for this marvelous application, it is a very big contribution to Summoners war community !

Bienvenue!
To build a simulator, you need to work out the cost of generating specific kinds of food.  I suggest looking at this Reddit post for inspiration.  The author started to do this kind of calculation for 3* food in Faimon Hell.  Unfortunately, the author did not account for the value of monster drops or rainbowmon.
It would be interesting to write a python function that could do these calculations for any dungeon.  The hard part is figuring out how to account for the monster and rainbowmon drops.  You will also need to account for the fact that monsters drops are not always level zero (e.g. level 7 in Aiden, Ferun).
If you can get this function working, it should be relatively easy (addition) to calculate the amount of energy required to 6* a monster.

I would appreciate a PR for this, but a couple things to keep in mind:

I have not finished creating the aggregate data log reports containing things like average energy return, but I will have that soon. I plan to make it easily accessible for the rest of the application as well, so you can leverage it in your calculations.
I am not putting a lot of major effort into the frontend design in Django templates as it is being redone in Vue over here: https://github.com/PeteAndersen/swarfarm-fe. If you do plan to develop this, the data should be available via API or calculated locally in the browser client.

Let me know if you have any other questions.

I know this has been open for ages, but I'd been thinking along similar lines, so I'm just raising these issues here if anyone wants to work on them.

As I understand it, while swarfarm does keep the level and stars, it doesn't keep the experience per se, so it doesn't currently keep the fine-grained detail. This is pretty easy to fix though.
The amount of energy for a given run is divided evenly among the player's monsters, whether they survive the encounter or not. So if someone's using a rep monster, that is excluded from calculation.
Each level requires a different amount of experience to complete, and each level for each star is different also. The tables are here.

What I think an interesting use case would be:
You have all the components for a fusion, and you need to level up your monsters to complete the fusion (let's leave essence out for a moment). What order of runs is most efficient? I've been starting with the lowest level, the highest level, and the next lowest level as a general rule, but I'm not sure that's always the best.
Then there's the essence. You need x and y and z, and π - and is it more efficient to farm it or just to buy that magic pack? What level(s) are most efficient to farm for what you need? Also, you can mix in at least some of your leveling with essence farming, but that's a fine tuning complication.

authors: DimGael PeteAndersen claytondaley deirdresm

repo: PeteAndersen/swarfarm


text:
Fix max efficiency calculation

... and add a first round of test cases (fixes #105)

Thanks! Changes look good.

authors: PeteAndersen claytondaley


text:
🛑 ipinfo.tw is down

In ddad2c0, ipinfo.tw (https://ipinfo.tw) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ipinfo.tw is back up in 4ca7f0a after 8 minutes.


text:
Added Configurable Stop command timeout values

I ran into this recently with an app that needed to close down gracefully and not doing so in the allotted time. After finding a submitted issue to make these timeout values configurable, I went ahead and added them myself. You might have envisioned something else, but this seemed like the most straightforward approach from a first glance.
Just wanted to say thanks for putting the library together in the first place! I've already found it immensely useful myself :)

Would it be worth having the Start command timeout configurable as well as the Stop one?

Looks good to me! And you are also right @kelvinschutz so far I am happy with start just waiting for the underlying implementation to fire.

Also, would you be able to add this change to readme pls? I intentionally merged this right away cause I think you waited long enough (sry about that). But if you find some time, it would be great if you put a mention of this in the docs. Thanks!

Absolutely can do! Will update it the first chance I get.

Thanks @kelvinschutz you're a ⭐

authors: PeterKottas kelvinschutz lparkermg


text:
Get the ORDER-ID field

On a purchase notification, right now I get access to a "trans_receipt" field which doesn't seem to correlate to anything the customer sees or receives.
But in the Apple iTunes receipt - they do get an ORDER-ID field - would it be possible to get that field?

Hey @erjdriver , there is no such property. You can see all the available properties on iOS here. You can check what you receive in the transactionIdentifier field, but not sure if that is going to be the same as the Order ID.

authors: PeterStaev erjdriver

repo: PeterStaev/nativescript-purchase


text:
Missing LET Commands

Some of the lines don't have LET commands but need that functionality so add them and it will make it a lot easier to execute them

It wasn't very difficult and now it's much cleaner

repo: PeterWathall/BASIC


text:
build(main): release 1.6.3

:robot: I have created a release beep boop
1.6.3 (2024-12-09)
Bug Fixes

localization: update Ukrainian translation for time units (1654c15)

Miscellaneous Chores

deps-dev: Bump eslint-plugin-sonarjs from 2.0.4 to 3.0.1 (d6127dd)
deps-dev: Bump globals from 15.12.0 to 15.13.0 (6509d0b)
deps: Bump axios from 1.7.7 to 1.7.9 (21482ec)
deps: Bump grammy from 1.32.0 to 1.33.0 (c6a9ae7)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.6.3
:sunflower:

repo: PetroVoronov/svitlobot-monitor


text:
Recruitment period per trial

Please add the "Recruitment period" button instead of Visits Button which will be implemented per consent version.

Duplicated, issue #296

Removing of the Visits button will be treated within a separate task, after the visits are implemented per trial.

closing this. continuing with https://github.com/PharmaLedger-IMI/eco-iot-pmed-workspace/issues/365

authors: Ana-ui Mastaleru klivit paiusCatalin

repo: PharmaLedger-IMI/eco-iot-pmed-workspace


text:
[FEATURE]: Collage Preview

Is your feature request related to a problem?
No
Description
No response
Describe the solution you'd like
A Option to Show with part of the Collage you are actually taking at the time and a real time Preview where you can See the incomplete collagen coming togehte
Describe alternatives you've considered
None
Additional context
No response

Hey and thanks for your request. Sure we can think about a post processing after every taken image, but this would have an impact to the performance (especially to Raspberry Pi which are used a lot) and currently not sure if I'd like to go that step.
Also collage creation source is one of the parts need to be reworked further for next release.of Photobooth.

repo: PhotoboothProject/photobooth


text:
🛑 Homepage is down

In 0a088ae, Homepage (https://www.phyrone.de/) was down:

HTTP code: 404
Response time: 696 ms

Resolved: Homepage is back up in e71e795.


text:
🛑 Kanta Front - Preprod is down

In 7842515, Kanta Front - Preprod (https://preprod.kanta.fr) was down:

HTTP code: 404
Response time: 152 ms

Resolved: Kanta Front - Preprod is back up in cba07b2.

repo: PiLep/kanta-uptime


text:
Split input and output pins

Resolves
https://github.com/PiPHP/GPIO/issues/7
https://github.com/PiPHP/GPIO/issues/3
Related to
https://github.com/PiPHP/GPIO/issues/4

:+1: this looks great!

authors: AndrewCarterUK colinodell

repo: PiPHP/GPIO


text:
Image behaviors

This PR adds two behaviors with the intention of demonstrating the following functionality:

How to get a message from a ROS 2 topic using wait set
How to put a ROS 2 message on the blackboard

Uses a sensor_msgs::msg::Image::SharedPtr instead of the message contents

How to pass error messages to the UI (and a few instances of how to catch errors)
How to get and use a ROS 2 message pointer from the blackboard
How to write integration tests that include publishing ROS 2 messages

As well, the following functionality is also demonstrated:

Converting sensor_msgs::msg::Image::SharedPtr to a cv_bridge::CvImagePtr
Saving an image to disk
Additional tests

Note: The ImageToBlackboard behavior has a doHalt(), which doesn't actually do anything significant but I wanted to include in one of the behaviors so the user can see how to use it, and (if they're paying attention) notice it is not necessary because it has not been included in the BlackboardImageToFile behavior

This must be updated to use BehaviorTree.CPP 4, which has been recently added to main. Currently, it does not build.

I'm going to go ahead and close this, presumably we're no longer using it?

authors: MikeWrock kineticsystem sea-bass


text:
How to publish to jitpack.io

I have done some changes. But Im unable to publish to jitpack.io

I don't think I can help you with this, have a look at their documentation :)

authors: PierfrancescoSoffritti SureshTimma


text:
node_dependencies

Populate node_dependencies with actual dependencies defined in properties of Records.Icon.
Full picture:
directedGraph ::
  [Records.Icon] ->
  GHC.Data.Graph.Directed.Graph (GHC.Data.Graph.Directed.Node GHC.Data.FastString.FastString Records.Icon)
directedGraph icons =
  GHC.Data.Graph.Directed.graphFromEdgedVerticesUniq nodes
  where
    nodes = [GHC.Data.Graph.Directed.DigraphNode {
        GHC.Data.Graph.Directed.node_payload = Records.Icon { Records.iconName = x, Records.iconDescription = y, Records.iconKind = z },
        GHC.Data.Graph.Directed.node_key = GHC.Data.FastString.fsLit x,
        GHC.Data.Graph.Directed.node_dependencies = [] }
        | Records.Icon { Records.iconName = x, Records.iconDescription = y, Records.iconKind = z } <- icons]

At the moment node_dependencies is not populated and also Records.Icon does not contain any dependencies.

It was actually pretty simple.

repo: PiotrJustyna/drakon-renderer


text:
Adding your own repo to F-droid

F-droid (in its various incarnations) has become the most widely used update tool among de-googled communities.
I am asking if the Skull Island team can make their own repo available to download the wallet as an alternative to the already secure route today on GitHub.
The reason is that an app store is the most convenient way to update so many apps, and most importantly it makes life easier for those users who are not computer literate.
Despite the fact that this is not a flaw in the app, however, it is a demand on it, and the unconvenient distribution of the software may be a cause of its low uptake, which is why I ask the team to calmly analyze this proposal while hoping that such a strategy will carry over into the success that this ambitious project deserves to have.

https://github.com/PirateNetwork/Skull-Island/issues/9

authors: TheComputerGenie serrq

repo: PirateNetwork/Skull-Island


text:
No destroy() method

Plugin can not be used in single-page applications. Please add destroy() method.

@ktktok: Thanks, good idea... will ad this

@ktktok $().colorPicker.destroy(); has been added in new version.
It doesn't kill everything (not HTML and CSS for even less memory usage) but it destroys all event handlers to free memory.

Thank you!

authors: PitPik ktktok

repo: PitPik/tinyColorPicker


text:
VIS anderes Aussehen nach Import

Hallo Pittini,
ich bin auf dein LightControl Projekt gestoßen. Ich suche nach wie vor eine Lichtsteuerung die meine Anforderungen erfüllt, aber das scheint mit egal welcher man das versucht nicht zu passen. Dennoch schaue ich mir einfach verschiedene an um zu sehen was am besten passt. Von deiner VIS für HeatingControl bin ich bereits begeistert und somit muss ich LightControl natürlich testen. :-) Gibt es einen Thread in dem du dich mit Interesseirten darüber unterhälst oder soll man Fragen lieber hier stellen?
Funktionieren tut nach der ersten Installation mit den Lampen die ich heir verwende (Lightway von Aldi) noch nichts so wirklich, aber ich bin überzeugt, dass das eher ein Konfigurationsproblem ist. Ich teste noch ein wenig.
Was jedoch nicht weiter konfiguriert werden müsste ist die VIS die du zum Import bereitgestellt hast. Somit habe ich eine neue View angelegt und dort wie von dir beschrieben die Widgets importiert. Optisch hat das jedoch nciht mit dem zu tun was du als Screenshot mitgeliefert hast. Kannst du mir sagen weshalb das bei mir so anders aussieht?

Grüße
Marco

Kannste hier machen oder im Forum, Link zum Thread steht in der ersten Zeile vom Skript.
Ja das Vis is klar, muß ich mal dazuschreiben. Ich verwende das MaterialDesign von Uhula, wennde das nicht hast mußt viel anpassen. Schau Dir Uhulas Demoprojekt mal an.....und dann kopierste das Skript und CSS von da, nach Deinem Projekt, dann sollte es so aussehen wie aufm Screenshot, zumindest wennde die gleichen Farben im MD eingestellt hast.
Die Aldi Lampen sollten laufen, alle Basicfunktionen nutz ich hhier ja selber und soweit funktioniert das Skript auch.

Ah ich verstehe. Bin ein User ohne jegliches Know-How das irgendwie hin zu bekommen. Dein HeatingControl VIS zu importieren ging problemlos, aber das hier mit Uhula zu verheiraten - hehe, nein das wird nix werden.
Diese Funktionen des Skriptes als Adapter zu haben wäre das Optimum. ;-) Denke aber das ist komplizierter als ich mir das vorstelle.
Ich expermentiere derweil mal noch mit dem Skript ohne das GUI.
Ich denke du kannst das issue dan schließen.

Hey, wenn Du mein HeatingControl Vis in der normalvariante (nicht das simple) nutzt, da is das md von Uhula schon drin. Wenn Du da ne neue Seite anlegst und die Widgets importierst sollte das sofort laufen.

Das ist ein prima Vorschlag. Also bin ich direkt in die VIS, hab dort "new view" geklickt (pageLightControl) und auf dieser neuen Seite habe ich die Widgets importiert.
Aber so richtig erfolgreich war ich hier auch nicht. :-(

Sieht doch schon ne Ecke besser aus. Was Dir fehlt is scheinbar der Farbwähler, der heißt "Colorpicker - RGBColor" und es fehlen Schaltflächen etc, da mußt (bei den Adaptern) die jqui-mfd Widgets installieren. Dann gugg ma nochmal wennde das hast.

Ah da muss man noch Dinge nachinstallieren. Ok das wusste ich nicht.
Zugegeben es hat sich etwas verändert.

Aber ist noch nicht alles so wie bei dir im Screenshot. Bei der Farbe kann ich durch Klick nichts auswählen, die Schieber haben den Text dahinter. Da stimmt noch was nicht.

Ja hast Du denn überhaupt so viele Lichtgruppen? Weil wenn nicht, laufen natürlich die Vis DPs ins Leere, was auch die Schieber betrifft, da wird ein Wert in der Gruppe abgefragt und damit die Sichtbarkeit gesteuert, gibts die Gruppe nicht, gibts auch diesen Wert nicht. Du mußte überflüssiges entfernen, bzw. die Gruppen anpassen. Ich denke Du hast nur Gruppe 0, die wird nämlich ziemlich korrekt angezeigt. Also alle Tests nur mit Gruppe 0, also Flur Eg. machen.

Hallo Pittini,
das eigentlich verwirrende war für mich, dass ich in dem an/aus Schalter keinen Inhalt sehe. Aber das liegt daran weil der Hintergrund standardmäßig weiß ist. Es ist schon ein Inhalt drin, aber der ist nicht sichbar. Habe ein wenig gebraucht um herauszubekommen wie ich den Hintergrund ändere. Jetzt sieht das schon besser aus.

Die nicht existenten Gruppen habe ich auch entfernt, dass es ein wenig hübscher aussieht.
Der Colorpicker funktioniert nun auch. Allerdings konnte ich den nicht klicken bis ich den Wert #FFFFFF einmalig aus dem DP Color entfernt hatte. Seither ist das problemlos.
Die Funktion mit den Lampen geht noch nicht wie gewünscht, aber das ist nichts was zu dieser Issue-Beschreibung passen würde.
Einieg Hinweise im Handbuch wären hilfreich um so Amateuren wie mir den Einstieg einfacher zu ermöglichen und so Profis wie dir Arbeit mit Fragen beantworten zu ersparen. :-)
Grüße
Marco

Ja ich weis das die Doku hier noch verbesserungswürdig ist, aber solang das im Beta State ist und sich Sachen noch ändern können, halte ich das etwas knapper. Wenns fertig ist, wird das ausführlicher, siehste ja an den anderen Skripten.
Und gleich vorneweg bevor Fragen kommen, die "Alle" Gruppe ist noch nicht wirklich implementiert, das kommt ganz zum Ende.

Ich weiß, das ist alles Zeit was hier für so Doku drauf geht. Dachte eben nur weil ich dich jetzt hier mit so vermeintlichen "ist klar weshalb das nicht geht wenn er das Uhula Plugin nicht verwendet" Banalitäten aufgehalten habe. Ein Hinweis in der Doku wäre vielleicht schnell geschrieben und würde dem ein oder anderen schon helfen. Wenn ich wüsste wie ich es formulieren könnte würde ich nen PR machen. Aber da bin ich technisch zu wenig drin um das VIS Zeug richtig verstehen zu können.

authors: CaptainBalou Pittini

repo: Pittini/iobroker-LightControl


text:
/enchantmax causes crash when hovering over the item

When using /enchantmax on an item and hovering over that item causes the game to crash
The crash report created by NotEnoughCrashes:
https://gist.githubusercontent.com/natanfudge/71dc2cbd22ef912c740d51330d46094f/raw/824b3f30dc6aa26a466ba98baf52dde22f444663/crash.txt
Edit: It also causes player invisiblity and no block breaking particles. A game restart fixes the player invisiblity and no breaking particles

Fixed in upcoming release.

repo: PlanetTeamSpeakk/MoreCommands


text:
feat: APPLICS-86 - Welsh translation - Project information - static content

Describe your changes
https://pins-ds.atlassian.net/browse/APPLICS-86?atlOrigin=eyJpIjoiODdiOTE3ZjgyM2YxNGIzZGE0OWZjNmE5MTk5NGY5MDQiLCJwIjoiaiJ9
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[x] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

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

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

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

authors: AnthonyJWalsh christopher-semmens


text:
Feature/BOAS-395 create seed prod db pipeline

Describe your changes
scripts etc to create a separate azure pipeline to seed the Prod database only.
This separates it from the other seed script that also adds test data, for Dev and Test environments.
BOAS-395 Create Seed Prod Database Pipeline
https://pins-ds.atlassian.net/browse/BOAS-395
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[x] I have performed a self-review of my own code
[x] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[x] I have referenced the ticket number above
[x] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

LGTM. Could we please also remove the duplication of this code in the seed.js file?

Aah, I left that file as I know you have edited it in your branch.  OK, I will clean that up now

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

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

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

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

authors: AnthonyJWalsh DavidJWhiteDev

repo: Planning-Inspectorate/back-office


text:
fix(web): use bearer token instead of sas token for downloads

Describe your changes
Instead of creating a SAS token, use the bearer token from the user identity to download the blob content. We need to do this through the SDK rather than the public URL since the public URL only supports SAS tokens in query strings.
This was an issue because SAS tokens have to be scoped to a storage account (not just a container), but the AD groups which CAT team belong to only have RBAC roles assigned at the container level. More detail in the comments on JIRA.
Issue ticket number and link
BOAS-834
Type of change 🧩

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[ ] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

lgtm!

authors: chrisdalykinandcarta lutamKC


text:
Is there any way to get the same but without IoC?

Hi there! Do you plan to do the same but without StrangeIoC?

The StrangeIoC wrappers are "extra".  They're not needed or required, they just add another syntax for using PlayFab if you're familiar with StrangeIoC. You don't have to use them.
Also, we might be removing some StrangeIoC wrappers that aren't specifically used in the example.

authors: artfabrique pgilmorepf

repo: PlayFab/PlayFabGameServer


text:
Meister NSC Zuchtgrube alle Tokens

Is your feature request related to a problem? Please describe.
Ich finde Schade, das bisher immer nur die Standard Token zur Auswahl stehen. Kann man nicht wenn man Module erworben hat, das die Zuchtgrube alle Tokens der NSC anzeigt ?
Describe the solution you'd like
Es sollten von allen Modulen die man erworben hat, die Tokens und Eigenschaften zur Auswahl stehen.
Describe alternatives you've considered
Bisher ist es sehr mühsam die Tokens von anderen Modulen zu suchen. Man muss immer manuell alle Ordner durchsuchen, Ordner für oder. Besteht nicht die Möglichkeit, das automatisch alle Tokens angezeigt werden von allen erworbene Modulen ? Das wäre viel passender also nur die Standard Token in der Zuchtgrube. Vielleicht kann man dies bei Werkstatt des Meisters mal aktualisiert.

schon über nehm jahr auf dem plan, scheitert aber an meiner verfügbaren zeit

Ja aber es ist wenigstens auf dem Plan. Dann ist es zumindest auf dem Schirm ;-)

Und es wäre dennoch sehr schön wenn es früher oder später erscheint .... ;-)


text:
Support awaiting tx status changes

We should support something like awaitTxConfirmed/awaitTxStatusChanged from Plutus. One way to do this is to query the chain until the transaction hash returns a full transaction. Another way might be to use Ogmios' local tx monitor, although that would mean that we couldn't support this feature for a hypothetical Blockfrost backend
Currently blocked on #30 (or #594 if we want to use the Ogmios approach)

awaitTxStatusChanged is currently impossible, because Ogmios does not differentiate between committed state and TentativelyConfirmed. @ngua should we close it?

Yes I think our support is good enough now

authors: klntsky ngua

repo: Plutonomicon/cardano-transaction-lib


text:
feat(logout): handle user logged out success

When the extension receives the USER_LOGGED_OUT event

[ ] Adjust the state of the UI to be logged out.

Gonna close this and consolidate into #96 and add additional clarity there.

authors: collectedmind stephshelley

repo: Pocket/extension-save-to-pocket


text:
Cordova updates

Updated which cordova files are tracked in git. Also added app icons and splash screens to cordova config.xml so they are included when a platform is built.

Updated which cordova files are tracked in git. Also added app icons and splash screens to cordova config.xml so they are included when a platform is built.

authors: TimCreasman tinoweiss

repo: PointSource/checkit-blueoak


text:
Subscribe to Telegram event through config file

Short Description
At the moment Telegram task allows us to subscribe through command /sub.
It'd be better if we can pre-set the subscription through config file, say telegram.json.
Possible solution
Modify the task construction/initialization to parse the config, and perform necessary subscription.
How it would help others
People are interested in only a certain set of events, and that's unlikely to change. Hence having to re-sub one by one every time restart the bot would be very troublesome.
Config file would be the starting point, then we can still subscribe for more as per usual.

I think we don't need another conf file. We can do this in auth.json @lntn

The subs are saved in a database....you shouldnt have to resubscribe everytime you start the bot.

authors: avexus javajohnHub lntn

repo: PokemonGoF/PokemonGo-Bot-Backup


text:
[Feature request]  Option to keep Pokemon with specific obtain dates.

Expected Behavior
Being able to keep Pokemon with a specific obtained date while the option to transfer Pokemon is on. This is good for keeping your starter Pokemon or for keeping a specific Pokemon you might have caught legitimately at a special location.
Actual Behavior
Unable to keep Pokemon based on obtained date. I either can keep all Pokemon that are the same breed or opt to not keep any specific Pokemon at all.
Steps to Reproduce
None
Other Information
OS: Linux, Arch Linux 64bit
Git Commit: 18f232bffb8df487654e6c52ff3eea859a120925

@solderzzc I haven't been keeping up with the source in the last few days. Is something like this possible now?

repo: PokemonGoF/PokemonGo-Bot


text:
No usable pokeballs found! [Endless loop]

Expected Behavior
Utilize whatever balls are remaining in inventory.
Actual Behavior
When Pokeballs are depleted, it will not switch to Great or Ultra balls and will get stuck in an endless loop.
Your config.json (remove your credentials and any other private info)
    "type": "RecycleItems",
    "config": {
      "item_filter": {
        "Pokeball":       { "keep" : 100 },
        "Greatball":      { "keep" : 100 },
        "Ultraball":      { "keep" : 200 },
        "Potion":         { "keep" : 0 },
        "Super Potion":   { "keep" : 0 },
        "Hyper Potion":   { "keep" : 0 },
        "Max Potion":     { "keep" : 20 },
        "Revive":         { "keep" : 0 },
        "Razz Berry":     { "keep" : 100 }

Steps to Reproduce
Run out of Pokeballs, while having other balls in inventory.
Other Information
OS: Mac OSX
Git Commit: 8b5af8d766ac161be926932b05e3fc785a33661d
Python Version: Python 2.7.10

Is your VIP set to true, and are you positive that you have great balls?

Encountered this same error with 100 ultra balls in my bag.

VIP is enabled, but shouldn't matter for this. I also [now] have 0 Greatballs and 120 Ultraballs. Should default to using Ultraballs.

When VIP is enabled the maximum the bot will use is a great all currently, turning off VIP should allow it to use ultraballs

@shoelsch Thanks for your help :)


text:
[Feature] added keep pokemon for batch evolution

Short Description:
After all keep/release configs are processed, the remaining pokemon are released on how many evolutions a currently possible. E.g, if you have additional 12 squirtles (to the ones you would keep normally) and 72 squirtle candies, you release 9 and keep 3, because you can evolve 3 (25 candies required).
Fixes:
#1973
#1972
Please help me with testing this, since there are many moving parts and release is crucial.

Btw. are there PRs anywhere to write tests for release logic? Would be a good idea, but I don't have time atm.

Maybe we could move candy check in an other part, I am also using it to test if we should evolve in #2244

Sure, maybe into cell_workers/utils?

As @achretien pointed out 2nd stage pokemon use the same candy as 1st stage. The normal use case would be mass evolution with lucky egg for exp. And in this case 1st stage evolutions would be preferable because they use less candy.
So i excluded 2nd stage pokemon. Please tell me if 2nd stage pokemon should be included and why.

Do you have test result here? And the config example should be updated.

I'd have no problem with us adding a JSON file that lists the candy per pokemon per evolution.
It sounds like we essentially want the calculations that pidgeycalc.com do. If so, can you move all of that general candy calculation logic out of transfer_pokemon and into a new file / new class called something like CandyEvolveCalculator? That way it will be easier to test and the transfer_pokemon task can just call a method on the CandyEvolveCalculator class to figure out what it should do for each of the pokemon.

@solderzzc

Do you have test result here? And the config example should be updated.
Added configs and and example output would be

...
[11:41:45]  Keep 2 best Staryu, based on cp and iv
[11:41:45]  Staryu [CP 94] [Potential 0.84]
[11:41:45]  Staryu [CP 498] [Potential 0.62]
[11:41:45]  Keep 1 Staryu, based on cp/iv criteria
[11:41:45]  Staryu [CP 463] [Potential 0.13]
[11:41:45]  Keep 1 Staryu, for evolution - 55 candies
[11:41:45]  Staryu [CP 283] [Potential 0.8]
[11:41:45]  0 pokemon transferred total. 14 evolutions ready (based on pokemons additional to the ones kept with cp/iv criteria)

@TheSavior

I'd have no problem with us adding a JSON file

We already have that, take a look at data/pokemon.json.
I would not like to make an extern task for it, since it is essentially transferring pokemon and it needs to know which pokemon are off limits based on config. Additionally transfer_pokemon would need to call this extern task in order to know which pokemon may or not may be released. So I think encapsulating it would be somewhat awkward, because it is in itself release/transfer logic.

Can we unminified data/pokemon.json to have clearer commit for this file and add family candy id to the "Next Evolution Requirements" node ?

Can we unminified data/pokemon.json to have clearer commit for this file and add family candy id to the "Next Evolution Requirements" node ?

Why not make an extra PR for that so it can be reverted more easily if it crashes something

@MFizz what if I want to keep 1 Squirtle to get a Blastoise and power up the blasto with the remaining candies? You can emulate this configuration by using keep_best_* release filter, no?

@douglascamata this worker doesn't evolve pokemon. All it does is keeping enough squirtles to evolve with you current candy. If you power up your squirtle it just registers less candy and will release more Squirtles next tick.
For example say you have your config set to
'Squirtle': {'keep_best_iv': 2, 'release_below_cp': 900, 'keep_for_evo': true}
and you have 72 candy and 20 Squirtles, of which 6 have cp over 900 (set 1)and 2 have the best iv (set 2) obv. Assuming set 1 and 2 are disjoint the current algorithm would release the 12(set3) remaining pokemon which do not match the criteria.
This feature then would now compute how many of these remaining 12 squirtles you could evolve, if you wanted to in this instant, which would be 3 (72 candy + 9 candy for transfer = 81 candy / 25 candy required = 3 evolutions). So it would release 9 pokemon of set 3.
Now if you wanted to you could start now a mass evolution/ lucky egg because you kept enough pokemon for your candy. Or you could do other stuff, like evolving your squirtle and powering it up. In this case, lets say that costed 15 candy and you used a pokemon of set 2:
set1 would be unchanged
set2 would have one less because of the evolution
set3 has 3 pokemon because of the tranfer
there are 57 candies left
now the algorithm would again keep set 1 and 2 because if the other criteria and compute maximum evolutions for set 3: 57/25 req = 2 evolutions -> release 1 squirtle.
I hope this clears it up.

:+1:

👍

authors: MFizz TheSavior achretien douglascamata pokecunt solderzzc


text:
PokemonGo-Bot-Install Optimized

Short Description:
PokemonGo-Bot-Install.bat Optimized
Fixes/Resolves/Closes (please use correct syntax):

Changed Input Path Handling
Added creating log file as some sort of problem solver.
Fine tuned some things

@LuckyMe4Evers there are merge conflicts that need resolving

I've made a few comments, please take a read if you like it...

@danielsdian most comments are about things that are print out in the log file (for helping purpose if someone has troubles with installing the bot) Your comments will smooth up the log.

I think we are good then!

Have a question. Is it wish to put an option in so people can choose between the master or the dev release of the bot, to install ?

That would be good!


text:
Streamlit leaked semaphore objects

After Rudolf installed waveblocks in his virtual environment stream, trying to open the reconstruction tab caused the streamlit application to quit in the terminal.

resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown.

Previously received "streamlit segmentation fault" error message


text:
Add support for new attribute syntax using @

Now WGSL uses @ for attributes instead of double brackets. cf. https://github.com/gpuweb/gpuweb/pull/2517
So I added support for that, and update test.wgsl to use new syntax.

@PolyMeilex Could you please release this update to the marketplace?
Thanks for the nice extension!

@PolyMeilex Could you please release this update to the marketplace? Thanks for the nice extension!

Done

repo: PolyMeilex/vscode-wgsl


text:
Entities without primary keys

If there is one or more entities without a primary key then the rest of the entities break on tracking:

Initialization method Dashing.Repository.Tests.CRUDTests.Test_Initialize threw exception. System.InvalidCastException: System.InvalidCastException: Unable to cast object of type 'Dashing.Model.Product' to type 'Dashing.CodeGeneration.ITrackedEntity'..

To reproduce add this class to TestDomain:
public class NoPrimary {
    public virtual string Name { get; set; }
}

That does not surprise me in the slightest. Dashing makes a very definite assumption that you have a single column primary key defined on all tables.
What's your use case?

I used a T4 template to build all of my POCOs from an existing database. To get the POCOs with primary keys to work; I will need to delete all POCOs without primary keys.

What sort of tables are the ones without primary keys?
No idea on the effort involved but I could be persuaded to support tables without PKs if there are good reasons to do so.

authors: jburditt markjerz

repo: Polylytics/dashing


text:
refactor: catch potential errors of smart contract data processing

@monitz87 please let me know if I missed any other instances.

Hi @monitz87, is there anything blocking this PR from being merged?

Closing since the low level package will be replaced

repo: PolymathNetwork/polymath-sdk


text:
Cannot lazy load/import app-layout-* elements

My current fast path app shell only uses vanilla custom elements and the new Polymer.Element thing. After the first paint (which is basically TTI) I want to lazy load
   <link rel="import" href="app-layout/app-header/app-header.html">
   <link rel="import" href="app-layout/app-header-layout/app-header-layout.html">

which in turn loads the legacy/hybrid wrapper as well. But unfortunately this doens't work.
From what I see the styles for #wrapper ::slotted([slot=header]) within app-header-layout aren't applied.
There might be other things as well. E.g. (if I work around this issue) the scroll position always jumps to the top.
Live Demo
http://jsbin.com/wavuhigece/edit?html,output
Browsers Affected
I only checked latest Chrome

[x] Chrome

Versions

Polymer: v2 RC7 master
webcomponents: master

Ah yeah, polymer-element.html does not load <custom-style> or the the @apply shim, which are loaded by polymer.html.
If you include those dependencies in the index, I think this works correctly: http://jsbin.com/gipagow/edit?html,output
Unfortunately, we don't support lazy-loading <custom-style> or @apply right now, as it would require a full style recalculation for every element.
Filed as https://github.com/webcomponents/shadycss/issues/94

Your JSBin does not work: The first header doesn't scroll away. Both headers are just fixed at the top. I can get away with this by calling resetLayout() after loading. http://jsbin.com/qutaqe/edit?html,output
Otherwise eager loading those two shims seems okay. They cost ~15kB.

authors: azakus kaste

repo: Polymer/polymer


text:
Revert "Revert "Rework ingress restricting to rely on Type system for droppin…"

Reverts PolymerLabs/arcs#5939

passing internally cl/326657708
FYI: @shans @csilvestrini

repo: PolymerLabs/arcs


text:
Resolver preset

Solve #50 issue

@MikeCheng1208  Please make an update for the comment

repo: PortalNetwork/ens-manager


text:
customize the code designation

What Would You Like to See with the Gateway?
Do I have to configure virtual key, fallback, and load balancing through the console? Can't you customize the code designation?
Context for your Request
No response
Your Twitter/LinkedIn
No response

@wyn20140226 - you can also attach any config JSON to your requests directly, without needing to save them on the Portkey app.

@wyn20140226 Virtual key feature is only available on the hosted app and not on the open source version. Whereas, you can configure fallback and loadbalance locally.
Please let me know if this helps! I'll close the issue for now, please feel free to reopen it if you have any more questions!

repo: Portkey-AI/gateway


text:
chore: update invite api spec

Update the spec for user invites api.

repo: Portkey-AI/openapi


text:
[Bug] The "Name" column is always supplemented by the domain

I am using the docker images from powerdns-admin, but with the current "latest" image, I have just broken my DNS environment.
In the first column "Name" the current "latest" image always adds the domain (e.g. www.example.com), excluded from this are @ entries. If you confirm the change with "Apply Changes" the domain is appended again (e.g. www.example.com.example.com).
I then used the "v0.3.0" image and had to manual remove the domains in each resource record line.
ngoduykhanh/powerdns-admin:latest -> ERROR
ngoduykhanh/powerdns-admin:v0.3.0 -> OK

@christianbur so much for pinned issues and announcements!
You're still using the old Docker Hub repository that is not being updated any longer and is now broke.
See this announcement: https://github.com/PowerDNS-Admin/PowerDNS-Admin/issues/1317

powerdnsadmin/pda-legacy:latest is OK.

@christianbur great, thank you for verifying! So many reports recently with this Docker Hub change that I can't make heads or tails of whether or not an actual issue exists.

authors: AzorianMatt christianbur

repo: PowerDNS-Admin/PowerDNS-Admin


text:
Active Directory working example

Hi,
Does anyone have an example of working Active Directory settings?
I have followed the guidlines at "Configure Active Directory Authentication using Group Security", but I can't get it working.
Firstly, I hit the problem from issue #753, but before I found that issue, I already decided to just put dummy values in there which seems to be the right thing to do.
Secondly, there is a contradiction between the Wiki page, which says that you should set the Basic Filter to "objectCategory=person", and the help on the configuration page, which says that you should use "objectClass=organizationalPerson" for Active Directory
Finally, I don't have three groups I want to allow access - just one for administrators. Is there any way of leaving the lower level groups empty? (it won't let me save if I do so)
And strangely, though I'm setting the drop down box to "LDAP Authentication", the authentication failures that are being logged are saying "authenticator" : "LOCAL" (but I can't log in with local users with the drop down set to LDAP)

It doesn't seem possible to only setup an admin group.
With regards to your authentication, is "Enable LDAP Authentication" checked in your Authentication page? Do you have login_ldap_first enabled in the Basic settings?
It was tricky to get AD Auth working correctly, but it's worked great since that point.

Hi - yes "Enable LDAP Authentication" was checked. Without it, the drop down for the authentication source doesn't appear on the login page. What does the "login_ldap_first" setting do? Sadly there is no documentation at all that I can see for the basic settings fields. I had it at the default (true) when I was testing - I can try again with it set to false if you think that would help.
I could see the LDAP "bindRequest" messages going out to the LDAP server, and a "bindResponse" success message coming back. The next thing I see from PDA is just an "unbindRequest", followed a repeat of the same sequence a few milliseconds later. I never see anything that looks like it is querying for any groups.
The "bindResponse" had the "matchedDN" field empty - I'm not sure if that is normal for an Active Directory server, or whether it should have the DN for my user in it (and if so, what might cause that not to happen)
We are part of a large AD system, and our users are in a sub-"folder", rather than the top level "users" folder. So the DN for my user is "CN=Michael Firth,OU=xxxx,OU=yyyy,OU=zzzz,DC=aaa,DC=local", rather than being in the default place - again, I'm not sure if that may be having an impact.

I ran PDA in debug mode, and my issue was that the LDAP request was failing with a "bad search filter" error. I guess the examples do actually have the brackets around them, but it is perhaps not obvious that is a critical part of the configuration.
For the issue on groups, I was able to "cheat" by putting the same group into all three fields - seems "strongest wins", so I get admin access for users in that group.

"login_ldap_first" uses LDAP auth ahead of local, instead of having to select it from the dropdown.
Thanks for the additional info. Hopefully the repo owner will jump in at some point.

Hi!
Since this is still open and no full example has been provided here, I though i'd provide one example.
Been tinkering with this today. However, our case makes use of the LDAP protocol and not AD. This is due to the use of a MFA proxy, but the AD server responds to LDAP requests as well and no setting should have to change except perhaps port, translating between the MFA Proxy or not.
For the filters, do use the paranthesis, it does make a difference.
The group name field has a filter id setting for AD lookup, which makes a recursive lookup through the member field. Here is a thread explaining this behaviour.
Unless you have a reason not to, avaoiding spaces usually makes it easier.
Enable LDAP Authentication: checked
Type: OpenLDAP
LDAP URI: [protocol]://[fqdn or ip]:[port] (ldap or ldaps, 389 or 636, due to the use of a MFA proxy this port is custom in our case)
LDAP Base DN: dc=my,dc=domain,dc=org Usually set to as a high level as possible unless you have a specific use case not to.
LDAP Admin Username: CN=svc_powerdns-admin,OU=services,DC=my,DC=domain,DC=org
LDAP Admin Password: myverysecretpassword
Basic Filter: (objectClass=organizationalPerson)
Username Field: sAMAccountName
Group Filter: (objectClass=group)
Group Name Field: member:1.2.840.113556.1.4.1941:
Group Security, Status ON
Admin Group: Full DN of admin group
Operator Group: Full DN of operator group
User Group: Full DN of user group
ADVANCE, Rolse Autoprovisioning OFF, Purge Roles If Empty OFF.

Interested in this one @dmcken?

If someone has a existing setup I don't mind documenting it.
I can't say AD is something I'm that familiar with, Microsoft products and me are not usually friends. I know a managed AD setup is supposed to be available on Azure so at least I don't have to deal with setting up a full windows server / domain controller but once again I'll be honest I'm not familiar with that side of things.

@dmcken no worries at all. I intend to get much more familiar with it once I get all the testing environments setup to support it. It will be required of me for writing the requirements of the next-gen app anyhow.

authors: AzorianSolutions dmcken emollusion firthmj trenb


text:
Account name limitations

Account name can be 40 characters, but in PDNS-Admin there is a constraint on valid characters.
I cannot see why that is in PDNS, but may have missed it.
Is this limitation in PDNS itself or self imposed by PDNS-Admin?

This is a limitation in pdns admin itself, but it was already been solved.

authors: RGanor terbolous


text:
New Blog Post - Reading a text file bottom up

PR Summary
This is a rewrite of an older Scripting Guys blog post.
PR Checklist

Do you want this post to be published on a specific date?: Y/N [Specify date]:
[x] I have read the contributors guide and followed the style and process guidelines
[x] PR has a meaningful title
[x] Includes content related an open issue

see Closing issues using keywords.

[x] This PR is ready to merge and is not Work in Progress

updated in my copy and added to PR

So i have made the changes in my local copy and pushed them up to github
Hopefull this PR is ready to go.

repo: PowerShell/Community-Blog


text:
Add PULL_REQUEST_TEMPLATE.md

This change is

@PlagueHO Can you please spell check this one for me, and see if there is any more information that could be good to add to this?

Tested the template manually in PR #429.

repo: PowerShell/DscResources


text:
lts-windowsservercore-1809 uses wrong base image

According to this issue https://github.com/moby/moby/issues/40525 there's an issue with the base image for Windows Server 2019.
This thread also contains a link to the official support page, which mentions that for Windows Server 2019 and Windows Server 1809 the fixed version is 10.0.17763.1040.
You can verify the version of the base image with the following commands:
docker pull mcr.microsoft.com/powershell:lts-windowsservercore-1809
docker inspect mcr.microsoft.com/powershell:lts-windowsservercore-1809 --format='{{.OsVersion}}'
10.0.17763.973

As you can see, the base image version is for this docker tag 10.0.17763.973.
Expected: 10.0.17763.1040
On the other hand, the version of the tag 7.0.0-windowsservercore-1809 is correct:
docker pull mcr.microsoft.com/powershell:7.0.0-windowsservercore-1809
docker inspect mcr.microsoft.com/powershell:7.0.0-windowsservercore-1809 --format='{{.OsVersion}}'
10.0.17763.1040

/cc @SteveL-MSFT

cc @TravisEz13

authors: SteveL-MSFT ThomasPiskol iSazonov

repo: PowerShell/PowerShell


text:
Find why "Write-Information outputs an information object" fails on macOS in CI

In #3071 I disabled the test on OS X.
We should figure out why it fails.

Is this still an issue?

Looks like the test is still marked pending. We can remove the Pending flag and find out 😉
It "Write-Information outputs an information object" -Pending:($IsMacOS) {
# redirect the streams is sufficient
$result = Write-Information "Test Message" *>&1
$result.NativeThreadId | Should Not Be 0
$result.ProcessId | Should Be $pid
$result | Should BeOfType System.Management.Automation.InformationRecord
        # Use Match instead of Be so we can avoid dealing with a potential domain name
        $result.Computer | Should Match "^($([environment]::MachineName)){1}(\.[a-zA-Z0-9]+)*$"
        if ($IsWindows)
        {
            $result.User | Should Match ".*${env:USERNAME}"
        }
        else
        {
            $result.User | Should Be $(whoami)
        }

        "$result" | Should be "Test Message"
   }

authors: ThomasNieto vexx32 vors


text:
Merge TFS 2064268: ConstrainedLanguage PowerShell should not block nested cmdlet invocation via runspace

Runspace creation in trusted script running under ConstrainedLanugage mode was failing with an unneeded security check.  The security check occurred during the creation of the Question built-in variable and is unneeded because it is being created/set in a trusted context.
Fix is to create the built-in question variable at the same location and in the same way that other built-in variables are created.

Hi @PaulHigin, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Paul Higinbotham). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

The AppVeyor CI failed and it seems related to your changes in SessionState.cs. Can you please fix it?
As for the Travis CI failure, we are work on resolving it.

Fixed ExecutionContext name error.  Thanks.

LGTM. Waiting for the CI failure to be resolved.

Hi @PaulHigin, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Paul Higinbotham). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

authors: PaulHigin daxian-dbw msftclas


text:
Automation for Changelog

Summary of the new feature / enhancement
We should create automation to generate our changelog based on PRs
Proposed technical implementation details (optional)
No response

Just wondering if the VSCode extension or any other repo has something we can snag for this.  If it's small, it might be nice to try it out for the release of 3.0.13-beta

Looks like the extension uses this function https://github.com/PowerShell/vscode-powershell/blob/697b23c244b939e8e3e9d12f5975f23ebefeabf7/tools/ReleaseTools.psm1#L220
hopefully with some updates we can reuse...and @andschwa may be able to help us out with questions

Totally! It's probably the most recently written script, though we have similar things in PowerShell/PowerShell etc. too.

authors: SydneyhSmith alerickson andschwa

repo: PowerShell/PowerShellGet


text:
Create psget command for installing modules privately, like nuget

Summary of the new feature / enhancement
As a user, I want to be able to install modules privately across code repositories so I don't need to have them installed globally.
I'd like a command, psget, that behaves like nuget. You tell it to install modules and it reads what modules to install from a configuration file, psget.json, and installs them in the directory of the psget.json file, in a PSModules directory.
We use PowerShell as the foundation of our build, deploy, and installation platform. We have many modules that are required in each stage of our pipelines. We also have many, many different repositories each with different dependencies and version requirements. We want to be able to install, at build time, our dependent modules privately, in a PSModules directory in each repository. I'd like to run psget install to get them.
Proposed technical implementation details (optional)
No response

Sounds like you want either PSDepend  or the Install-RequiredModule
Both are already in the gallery Install-RequiredModule seems to be more actively maintained than PSDepend is

Thanks @splatteredbits, we are working on implementing this in PowerShellGet, related issue is #146. Marking as duplicate.

authors: StevenBucher98 kilasuit splatteredbits


text:
ProjectUri entry is missing from src/Microsoft.PowerShell.SecretStore.psd1

The PrivateData.PSData.ProjectUri entry in the module manifest is what tells the PowerShell Gallery where a module's repository can be found, and is surfaced via a Project Site link in the sidebar on the left:

This entry is currently missing from the manifest (the repo is currently only linked to from the Description key, and that part isn't visible by default).

Thanks @mklement0 we will update this for the next release (preview 2)

Fixed in preview2.

authors: PaulHigin SydneyhSmith mklement0

repo: PowerShell/SecretStore


text:
Release of version 1.3.0.0 of xBitlocker

Releasing version 1.3.0.0

This change is

Codecov Report

Merging #45 into master will increase coverage by 73.91%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #45       +/-   ##
=========================================
+ Coverage   26.08%   100%   +73.91%
=========================================
  Files           3      3
  Lines          92     96        +4
=========================================
+ Hits           24     96       +72
+ Misses         68      0       -68

Impacted Files
Coverage Δ

...Resources/MSFT_xBLBitlocker/MSFT_xBLBitlocker.psm1
100% <100%> (+92.3%)
:arrow_up:

DSCResources/MSFT_xBLTpm/MSFT_xBLTpm.psm1
100% <100%> (+96.29%)
:arrow_up:

...s/MSFT_xBLAutoBitlocker/MSFT_xBLAutoBitlocker.psm1
100% <100%> (+57.69%)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-io kwirkykat

repo: PowerShell/xBitlocker


text:
Update to use template files

Pull Request (PR) description

Update appveyor.yml to use the default template.
Added default template files .codecov.yml, .gitattributes, and .gitignore, and
.vscode folder.

This Pull Request (PR) fixes the following issues

Task list

[x] Added an entry under the Unreleased section of the change log in the README.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[ ] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@4668715). Click here to learn what that means.
The diff coverage is n/a.

@@         Coverage Diff          @@
##             dev     #8   +/-   ##
====================================
  Coverage       ?   0.8%
====================================
  Files          ?      3
  Lines          ?    250
  Branches       ?      0
====================================
  Hits           ?      2
  Misses         ?    248
  Partials       ?      0

Continue to review full report at Codecov.

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

authors: codecov-io johlju

repo: PowerShell/xSCSR


text:
Spcaing issue betwen the elements

Description
There should be space between the elements like the search box and button in the mobile view
Screenshots

Hey @Pradumnasaraf I like to work on it. Please assign.

authors: Pradumnasaraf shyamtawli

repo: Pradumnasaraf/OctoUser


text:
BugFix: PDivider not very visible

Description
Matching the colors from PCard
Before

After

Hm, this was intentional tbh, it's meant to be lower-contrast than content as a visual rest but not a hard break necessarily. That said, I don't feel strongly about the change (except the change to foreground, that makes sense)

Its just not even noticeable in some contexts currently which is what I'm trying to solve. And if it matches the card in light mode I think it should match the card in dark mode as well.

Hm ok I see your point; I don't think the card border is the correct standard here since this is for content. Tested with bg-foreground-50 and dark:bg-foreground-100 and thought the results were decent, wdyt?

Looks good on light mode but personally I can barely even see the divider on dark mode. Like I cannot see if except that I'm looking for it

@znicholasbrown never mind. That screenshot is incorrect. Yes those colors look good to me. Updated 👍

repo: PrefectHQ/prefect-design


text:
No .exe file

In order to to click Capture it said I needed the rhubard.exe file, but it says It doesn't exist.

The rhubarb.exe comes with the plugin. Please check in the plugin preferences if the path is correct:

If the path is correct pressing the Check rhubarb version button should show the executable version

@Red-VFX I assume it was the incorrect path to the executable file. If you are still having problems feel free to reopen the ticket or create a new one..

authors: Premik Red-VFX


text:
Add badges to README

Questions
Answers

Description?
Add badges to README

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?

How to test?
No need

Hello @nicosomb :)

Thank you @justeen35 😊

repo: PrestaShop/classic-theme


text:
Don't rely on deprecated save-state and set-output commands

Questions
Answers

Description?
Apply https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Type?
refactor

BC breaks?
no

Deprecations?
no

Fixed ticket?

Sponsor company
PrestaShop Corp

How to test?
CI should run as expected

Looks like that job named PHP Static Analysis is waiting for a specific path
Input required and not supplied: path

All good

Good for me 😉 thank you @JMorinPS

authors: JMorinPS matks

repo: PrestaShop/distribution-api


text:
Investigate getting cleaner and more digitized work information from HT MARC records

Can we get cleaner versions of author, publisher on import? (e.g., can we automatically clean trailing punctuation?) Should we include translator, editor information from MARC? How much of that should be in scope for the current release?

Continuing our conversation on #56, what about relabeling this issue as something like "Investigate options for bulk cleaning punctuation and excess text in HathiTrust metadata." Then we can add a list of specific things in a comment (slash after title; trailing punctuation; brackets on inferred titles; "printed for" in publisher; enumcron stuff goes in here too I think). I think we should split out the question of whether we want additional MARC info (translator, editor)--that's a different question. I'll have to add to this next week, I'm running out of time this week.

Thanks @mnaydan - it will be helpful to split those out into different questions. Next week is fine!

@rlskoeser Meredith said we will definitely need editor and translator from the MARC record. Are there other things on the MARC record besides those two? I remember Meredith saying at the Board Meeting that searching by editor posed a problem because it was a HT metadata problem. Not intimate enough with the metadata to know what this means. We'll also have to decide whether to put these on the initial search result tiles or just the item detail record (I think just item detail record would be fine?)

Occurred to me I could re-write as a story, since this is user testable.

From quick experimentation and clustering in open refine, preliminary cleanup for publishers:
value.replace('[etc.]', '').strip(' ,[]')
And variant phrases at the beginning of publisher names:
Printed by
Printed for
Printed for the
Pub. for
Pub. for the
Published at the
Published by
Published for the
Publisht for the

Generally, looks good.

Quote and bracket removed from sort title.
Trailing period removed from author.
Comma, semicolon removed from publisher.
Comma, colon removed from pub place (a couple rogue colons, but generally fine).

Here's a list of things that the net didn't catch.

Slash is generally gone in title/subtitle (still present in sort title); still present in a handful of titles/subtitles with author name ("Principles of English grammar / By A. S. Worrell" is entirely under title). Ellipses with a space after the title also still present. Many records have an extra space between the last letter and the colon.
Brackets still present in inferred fields if only unclosed "[Ann Arbor, Mich." or if only around part of city "Hartford, [Conn.]"
Ellipses (preceded by space) and [etc] or [etc., etc.] still present in publisher field. [etc] and variants present in pub place.
"Printed for" seems to be removed but other variants still present: "printed by", "printed and are to be sold"
"[S.l" and "s. n." still present if unclosed bracket or if no bracket

authors: mnaydan rlskoeser

repo: Princeton-CDH/ppa-django


text:
Handle edge case of string macro functions

The macro string functions don't necessarily need any string markup to be considered a string. This new construction handles identifying the content within a string function as a string.

Thank you for contributing @cedporter!

authors: RunDevelopment cedporter

repo: PrismJS/prism


text:
Add support for Inform 7

Basic support for Inform 7, based on documentation at http://inform7.com/learn/
Examples:

Dang! You are killing it, Golmote! Thanks for getting all of these languages incorporated!

@loganfranken Sorry for the spam if you get notified each time ^^
There is still a bunch of languages that I'd like to see included in Prism, and I have a bit of spare time these days. :)

I do get notified each time, but I definitely don't see it as spam!

authors: Golmote loganfranken