NotImplementedError

Hi,
Sorry to bother you, I got this error while running the program:NotImplementedError: The image and the kernel must have the same type.inputs(float32), kerns(float64)
Here is the detailed description of the error.
Traceback (most recent call last):
File "demo.py", line 84, in
main()
File "demo.py", line 61, in main
net = NetClass(compute_grad=False)  # instantiate a network
File "/home/ouc/zhanghaoxu/3D-R2N2/models/net.py", line 37, in init
self.setup()
File "/home/ouc/zhanghaoxu/3D-R2N2/models/net.py", line 40, in setup
self.network_definition()
File "/home/ouc/zhanghaoxu/3D-R2N2/models/res_gru_net.py", line 160, in network_definition
dtype=theano.config.floatX)])
File "/home/ouc/zhanghaoxu/3D-R2N2/py3/lib/python3.6/site-packages/theano/scan_module/scan.py", line 773, in scan
condition, outputs, updates = scan_utils.get_updates_and_outputs(fn(*args))
File "/home/ouc/zhanghaoxu/3D-R2N2/models/res_gru_net.py", line 153, in recurrence
return gru_out_.output, update_gate_.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 214, in set_output
self._output = self._prev_layer.output + self._add_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 225, in set_output
self._output = self._prev_layer.output * self._mult_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 657, in set_output
self._output = sigmoid(self._prev_layer.output)
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 504, in set_output
tensor.dot(self._fc_layer.output, self.Wx.val), self._output_shape)
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 637, in set_output
self._input = self._prev_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 159, in set_output
self._output = tensor.dot(self._prev_layer.output, self.W.val)
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 236, in set_output
self._prev_layer.output.flatten(2)  # flatten from the second dim
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 351, in set_output
input=self._prev_layer.output,
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 214, in set_output
self._output = self._prev_layer.output + self._add_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 351, in set_output
input=self._prev_layer.output,
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 214, in set_output
self._output = self._prev_layer.output + self._add_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 319, in set_output
padded_input = self._prev_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 351, in set_output
input=self._prev_layer.output,
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 637, in set_output
self._input = self._prev_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 313, in set_output
self._prev_layer.output)
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 637, in set_output
self._input = self._prev_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 313, in set_output
self._prev_layer.output)
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 351, in set_output
input=self._prev_layer.output,
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 214, in set_output
self._output = self._prev_layer.output + self._add_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 319, in set_output
padded_input = self._prev_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 351, in set_output
input=self._prev_layer.output,
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 214, in set_output
self._output = self._prev_layer.output + self._add_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 319, in set_output
padded_input = self._prev_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 351, in set_output
input=self._prev_layer.output,
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 637, in set_output
self._input = self._prev_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 313, in set_output
self._prev_layer.output)
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 637, in set_output
self._input = self._prev_layer.output
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 129, in output
self.set_output()
File "/home/ouc/zhanghaoxu/3D-R2N2/lib/layers.py", line 328, in set_output
border_mode='valid')
File "/home/ouc/zhanghaoxu/3D-R2N2/py3/lib/python3.6/site-packages/theano/tensor/nnet/conv.py", line 156, in conv2d
return op(input, filters)
File "/home/ouc/zhanghaoxu/3D-R2N2/py3/lib/python3.6/site-packages/theano/gof/op.py", line 615, in call
node = self.make_node(*inputs, **kwargs)
File "/home/ouc/zhanghaoxu/3D-R2N2/py3/lib/python3.6/site-packages/theano/tensor/nnet/conv.py", line 658, in make_node
"inputs(%s), kerns(%s)" % (_inputs.dtype, _kerns.dtype))
NotImplementedError: The image and the kernel must have the same type.inputs(float32), kerns(float64)

Setting 'theano.config.floatX = float32' might be useful


Streamdeck update 20240815

Going to merge this as is, will create a followup on cleanup/structure to prepare for upstreaming


AttributeError: 'numpy.timedelta64' object has no attribute 'days'

My dateframe has the following dtypes:

ds    datetime64[ns]
y            float64
dtype: object

When I try to run m.fit(df), the traceback points to an AttributeError here.
It does work, though, if I try the following instead:
  t = np.array(
            (dates - pd.datetime(1970, 1, 1))
            .dt.days
            .astype(np.float)
        )

I referred to this post on StackOverflow.
Would this be preferable or would it break something else?

Had the same issue when using a virtualenv with Python 2.7. Creating a new one with Python 3.5.1 solved the problem for me.

Here's my version information and the full traceback:

Python 3.5.2 |Anaconda 2.4.1 (64-bit)| (default, Jul 2 2016, 17:53:06)

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-8-a76c855f084a> in <module>()
----> 1 m.fit(df)

/home/z/anaconda3/lib/python3.5/site-packages/fbprophet/forecaster.py in fit(self, df)
    337         history = self.setup_dataframe(history, initialize_scales=True)
    338         self.history = history
--> 339         seasonal_features = self.make_all_seasonality_features(history)
    340
    341         self.set_changepoints()

/home/z/anaconda3/lib/python3.5/site-packages/fbprophet/forecaster.py in make_all_seasonality_features(self, df)
    286                 365.25,
    287                 10,
--> 288                 'yearly',
    289             ))
    290

/home/z/anaconda3/lib/python3.5/site-packages/fbprophet/forecaster.py in make_seasonality_features(cls, dates, period, series_order, prefix)
    227     @classmethod
    228     def make_seasonality_features(cls, dates, period, series_order, prefix):
--> 229         features = cls.fourier_series(dates, period, series_order)
    230         columns = [
    231             '{}_{}'.format(prefix, i + 1)

/home/z/anaconda3/lib/python3.5/site-packages/fbprophet/forecaster.py in fourier_series(dates, period, series_order)
    216         t = np.array(
    217             (dates - pd.datetime(1970, 1, 1))
--> 218             .apply(lambda x: x.days)
    219             .astype(np.float)
    220         )

/home/z/anaconda3/lib/python3.5/site-packages/pandas/core/series.py in apply(self, func, convert_dtype, args, **kwds)
   2167             values = lib.map_infer(values, lib.Timestamp)
   2168
-> 2169         mapped = lib.map_infer(values, f, convert=convert_dtype)
   2170         if len(mapped) and isinstance(mapped[0], Series):
   2171             from pandas.core.frame import DataFrame

pandas/src/inference.pyx in pandas.lib.map_infer (pandas/lib.c:62578)()

/home/z/anaconda3/lib/python3.5/site-packages/fbprophet/forecaster.py in <lambda>(x)
    216         t = np.array(
    217             (dates - pd.datetime(1970, 1, 1))
--> 218             .apply(lambda x: x.days)
    219             .astype(np.float)
    220         )

AttributeError: 'numpy.timedelta64' object has no attribute 'days'

The approaches described in the pandas docs both work for me, but I'm still not sure why it works on my Mac but not on my Linux system.
# to days
In [70]: td / np.timedelta64(1,'D')
Out[70]:
0    31.000000
1    31.000000
2    31.003507
3          NaN
dtype: float64

In [71]: td.astype('timedelta64[D]')
Out[71]:
0    31
1    31
2    31
3   NaN
dtype: float64

@Robin-Weiss I think you're right. I upgraded to Anaconda2-4.3.0 and it works fine now. The problem seems to be because of an older version of pandas.

I got the same problem on my mac with python2.7.10 + pandas-0.17.1, use pip install -U pandas ; I update my pandas to 0.19.2, and the problem solved


[editor] Add 'OpenAI Config File' Command

[editor] Add 'OpenAI Config File' Command
[editor] Add 'OpenAI Config File' Command
From discussion in https://github.com/lastmile-ai/aiconfig/pull/1162, it will be handy to have a command for opening an AIConfig file, especially in a couple cases:

If wanting to open a .json or .yaml config file, without the .aiconfig. sub-extension in the name

https://github.com/lastmile-ai/aiconfig/assets/5060851/9a851dce-ff45-4ef1-a627-5526fafb5f4b

After opening an AIConfig file in a text editor using the 'Open in Text Editor' button, re-opening the file with the AIConfig editor

https://github.com/lastmile-ai/aiconfig/assets/5060851/5c07d02a-233c-48cf-b8c9-234640bec81d
Testing:

Above scenarios work
Also tested opening a json file that doesn't match config spec, the server errors and leaves an empty editor:

This is technically the case for existing configs as well, so not related to this PR. We should probably improve that UX in the future as well

rebase


useb parameter in Windows install script isn't documented

From https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-5.1 it looks like it might be an undocumented form of "-UseBasicParsing`. It might be better to be explicit if that's the case

Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a2e484a9-5e0c-eb3e-1413-7b507c4fa07d
Version Independent ID: 5bc7caa5-f1c2-d7d5-fe02-80c65cca9672
Content: dotnet-install scripts - .NET Core CLI
Content Source: docs/core/tools/dotnet-install-script.md
Product: dotnet-core
Technology: dotnet-cli
GitHub Login: @mairaw
Microsoft Alias: mairaw

I believe it is a PowerShell feature that you can shorten parameter names, as long as that shortening is still unique within that command. Though I couldn't find any official documentation about this.

Correct, PowerShell will match a partial parameters as long as it can only resolve to a single parameter.


feat(protocol-designer, componetns) add materials list modal

Overview
add Materials list modal and update InfoScreen component.

close AUTH-679

Test Plan and Hands on Testing
create or import a protocol and click Materials List in overview page

Changelog

add MaterialsListModal component, its test and its stories

Review requests
I would like to get any advice on Hardware and Labware types for Materials List Modal.

Risk assessment
low

ToDo

fix any[] issue in MaterialsListModal


Refresh view

I want to refresh my uiviewcontroller view when the tab is is showing or pressed, How can i do it?

You can replace the old controller.view by the new controller.view at
func tabScrollView(_ tabScrollView: ACTabScrollView, didChangePageTo index: Int)
or
func tabScrollView(_ tabScrollView: ACTabScrollView, didScrollPageTo index: Int)
But if you just want to reload a table, using tableView.reloadData() should be better.

I don't suggest you replacing whole the controller.view because of the performance issue
If you just want to reload a table, using tableView.reloadData() at
func tabScrollView(_ tabScrollView: ACTabScrollView, didChangePageTo index: Int)
or
func tabScrollView(_ tabScrollView: ACTabScrollView, didScrollPageTo index: Int)
should be a better way
If you have to replace the whole view by the new controller.view, you should set the tabScrollView.cachedPageLimit to 1 and it means no cache
And you may have a contentViews: [UIView] array to store all of your controller.views
Update this array with the new controller.view and you will see the new view at next page change

Ok I understand , Thank you very much


Does Necklander support After Effects 2023? Is 2024 not supported?

// job.json
{
  "template": {
    "src": "file:///c:/test.aep",
    "composition": "main",
    "outputModule": "H.264 - Match Render Settings - 15 Mbps",
    "outputExt": "mp4",
    "settingsTemplate": "Best Settings"
  },
  "aerender": "file://E:/After.Effects.2024/Adobe After Effects 2024/Support Files/aerender.exe"
}

nexrender-cli --file job.json
Not working
Help me..
> starting nexrender-cli
C:\Users\DONGJU\AppData\Roaming\npm\node_modules\@nexrender\cli\node_modules\@nexrender\core\src\index.js:62
        throw new Error('you should provide a proper path to After Effects\' "aerender" binary')
        ^

Error: you should provide a proper path to After Effects' "aerender" binary
    at Object.init (C:\Users\DONGJU\AppData\Roaming\npm\node_modules\@nexrender\cli\node_modules\@nexrender\core\src\index.js:62:15)
    at Object.<anonymous> (C:\Users\DONGJU\AppData\Roaming\npm\node_modules\@nexrender\cli\src\bin.js:242:22)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47

Can you remove the . From the After.Effects.2024 path, that doesn’t look right. Obviously you’ll need to rename the folder and to match the path

Also, it would make sense to remove file:// protocol in the beginning, since it's not related to the asset

@JamesBotterill
@inlife
Thank you both for your replies.
C:\Users\DONGJU\Desktop\test>nexrender-cli -f job.json -b "E:/After.Effects.2024/Adobe After Effects 2024/Support Files/aerender.exe"
> starting nexrender-cli
checking After Effects command line renderer patch...
command line patch already is in place
[wAaPQo-5LI9VaLc7FepRX] setting up job...
[wAaPQo-5LI9VaLc7FepRX] working directory is: C:\Users\DONGJU\AppData\Local\Temp\nexrender\wAaPQo-5LI9VaLc7FepRX
[wAaPQo-5LI9VaLc7FepRX] applying predownload actions...
[wAaPQo-5LI9VaLc7FepRX] downloading assets...
[wAaPQo-5LI9VaLc7FepRX] applying postdownload actions...
[wAaPQo-5LI9VaLc7FepRX] applying prerender actions...
[wAaPQo-5LI9VaLc7FepRX] running script assemble...
[wAaPQo-5LI9VaLc7FepRX] rendering job...
[wAaPQo-5LI9VaLc7FepRX] -- D E P R E C A T I O N: --

nexrender is changing the default aerender log path to the project folder.
This is done to streamline the log management and enable efficient log cleanup.

If you want to keep the old behavior and mute this message, please set the environment variable NEXRENDER_ENABLE_AELOG_LEGACY_TEMP_FOLDER to true.
If you want to switch to the new behavior, please set the environment variable NEXRENDER_ENABLE_AELOG_PROJECT_FOLDER to true.

Right now, the old behavior is still the default, but this will change in the next minor releases.
Estimated date of change to the new behavior: 2023-06-01.

[wAaPQo-5LI9VaLc7FepRX] rendering reached an error: No comp was found with the given name.

[wAaPQo-5LI9VaLc7FepRX] rendering took ~14.15 sec.
[wAaPQo-5LI9VaLc7FepRX] writing aerender job log to: C:\Users\DONGJU\AppData\Local\Temp\nexrender\aerender-wAaPQo-5LI9VaLc7FepRX.log
WARNING:After Effects ���: ������Ʈ�� �۲��� �����Ǿ����ϴ�.

Running Script: C:\Users\DONGJU\AppData\Local\Temp\nexrender\wAaPQo-5LI9VaLc7FepRX\nexrender-wAaPQo-5LI9VaLc7FepRX-script.jsx
aerender ERROR: No comp was found with the given name.

[wAaPQo-5LI9VaLc7FepRX] cleaning up...
> job rendering failed
Error: Couldn't find a result file: C:\Users\DONGJU\AppData\Local\Temp\nexrender\wAaPQo-5LI9VaLc7FepRX\result.avi
    at ChildProcess.<anonymous> (C:\Users\DONGJU\AppData\Roaming\npm\node_modules\@nexrender\cli\node_modules\@nexrender\core\src\tasks\render.js:295:31)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:313:12)

In job.json
Can you tell me what the "composition" key means?

Free Modern Fast Promo.zip
I would like to make the attached After Effects file into a video using nexrender-cli. Could you please tell me how?

Seems like you created your job with a wrong comp id

rendering reached an error: No comp was found with the given name.


fix: appsmithctl restore overwrites the MONGODB URI

Description
Fixes:

Overwriting MongoDB env data on appsmithctl restore.
appsmithctl backup does not include the MongoDB env vars.

Features:

appsmithctl backup now does not stop backend and rts service during backup operation.
Note:-
It will be the responsibility of the Admin to make sure that a manual backup is really a desired snapshot when done via
the appsmithctl backup util command
To ensure this, Admins may require to stop the backend and rts processes in the container before a manual backup( We will need to document this)
[ In future we can add an appsmithctl cmd to put appsmith to maintenance mode with a maintenance page ]

Fixes # 21603
Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
This change requires a documentation update (Manual backup docs) https://github.com/appsmithorg/appsmith-docs/issues/1122

How Has This Been Tested?

Manual
Jest

/build-deploy-preview


Handle new lines within fields of a record

Hi,
I am currently using logstash 2.3.0 and using csv filter  to specify and match columns on the csv data read by a file beat.
The issue is, in few cases, the csv file rows have multiple lines. i.e. crlf before the end of the row (due to the type of data present in the table as this is a table export)
For example:
My filter:
csv{
columns => ['ID','NAME','GRADE','SUBJECTS','EOF']
}
Works for CSV Data:
1, ABC, FIVE,COMPUTERS,$$$
2, EFG, FIVE,SCIENCE,$$$
Fails when:
3, ABCV, FIVE, COMPUTERS
SCIENCE,$$$                                         (CRLF is present before end of row)
4, ABCV, FIVE, COMPUTERS,$$$
So the rows with crlf gets rejected with parse exception.
Is there a way I can specify a column separator ( in my case it is $$$CRLF)
Or is there any configuration which I can use to manage this scenario?
Please suggest. Thanks

I was just about to raise something like this as I have the same issue :)
If you open a CSV file in libreoffice/whatever, it handles the CR/LF as knows that these are the same field cause it's looking for the next comma.
We should really do the same here if we can!

The RFC says that handling of line feeds in CSV should be done - https://tools.ietf.org/html/rfc4180
(You can blame @PhaedrusTheGreek for pointing that out on the forums :p)

I believe the spec was - only if it was enclosed in quotes.

True!

It also chokes on a trailing \r, which is what I end up with after using multiline codec to join all the quoted line endings.

may be helpful: https://stackoverflow.com/questions/44640604/logstash-parse-multiline-csv-file


Hiding breadcrumbs

After some consideration, I think we should resolve #159 first, because if we go back to listing backend response instead of directory, this PR needs to change

I am closing this PR due to incompatibility - after abandoning the shared folder approach there is no way to determine and recreate the full path on backend with the requested shared file name


Problems with code examples

I tried to follow the instructions and had many problems on the way. Here are just some some hints I rembember what might be wrong. I can provide more details if someone wants to work on this...
CustomRenderer.iOS:
nativeMap.GetViewForAnnotation = GetViewForAnnotation; seems wrong if you look at what base.OnElementChanged already does - isn't it enough to override GetViewForAnnotation?
if (annotation is MKUserLocation) doesn't work, maybe what we see in base.GetViewForAnnotation is better, but that wasn't enough in my case, I had to use if (!(annotation is MKPointAnnotation)) return null.
Do we really need the additional list of custom pins? The existing list could be used, and there is also an existing method to find a pin from an annotation:
Pin pin = GetPinForAnnotation(annotation) ?? throw new Exception("Pin not found");
And then, there was some weird behaviour until I always set all properties of the MK...AnnotationView, no matter if it was reused or created. Maybe this happend only in my case, I use clustering.
I am also unsure when the reuseIdentifier should be the same and when not.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 19aecf1c-11b6-6920-a37e-817458e52dd1
Version Independent ID: af9cea8e-800f-c462-7efb-7f048235db3a
Content: Customizing a Map Pin - Xamarin
Content Source: docs/xamarin-forms/app-fundamentals/custom-renderer/map-pin.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Microsoft support for Xamarin will end on May 1, 2024 for all Xamarin SDKs including Xamarin.Forms. In preparation for this, all issues and PRs in this repository are being closed.
.NET MAUI is the replacement for Xamarin.Forms, and it's documentation can be found here.


Help understanding limitations of "KDC_ERR_PADATA_TYPE_NOSUPP"

Hello!
Certipy has identified a number of templates in this environment vulnerable to ESC1.  I've done:
certipy req<EMAIL_ADDRESS>-ca 'CA-NAME' -template 'VULNERABLETEMPLATE' -k -no-pass -alt<EMAIL_ADDRESS>I got a domainadmin.pfx and I'm ready to test it out.
When I do certipy auth -pfx domainadmin.pfx -dc-ip ip.of.domain.controller I get:
[*] Trying to get TGT...
[-] Got error while trying to request TGT: Kerberos SessionError: KDC_ERR_PADATA_TYPE_NOSUPP(KDC has no support for padata type)

Upon checking this repo's issues, I came across this one leading me to believe I can use this blog/tool to abuse this path via Linux, but from your blog it's my understanding that if the CA is fully patched, this is a dead end.
To further confuse me, this blog makes me think abuse still is possible, but this content looks to be specifically about abuse when you've obtained the cert for a domain controller (which I have not).
Would you point me in the right direction - just so I'm not chasing a dead end?

Hi @braimee,
Yannick here, I'm the author of the last blog post you link to, and of PassTheCert (the corresponding tool). PassTheCert is not specifically about abuse with a Domain Controller cert, though it's the example given in the blog post. With a Domain Admin cert, I think you have the following valid attack paths:

Use the elevate user attack, to grand DCsync rights to an account you control (and you can authenticate with without a cert). If you don't have any account you know the password of, you can add a computer account in the domain. This should work since Domain Admins can modify the domain object's ACL.
Use the reset password attack, to reset the password of an account (since you're DA, it should be any account). I think nothing technically stops you from resetting the password of<EMAIL_ADDRESS>so that you can authenticate with a password and not a cert.

Let me know how it goes, and don't hesitate to open an issue in PassTheCert if you encounter any trouble.
Cheers,
Y

Hello @braimee and @the-useless-one
The error "KDC_ERR_PADATA_TYPE_NOSUPP" simply means that the KDC is not set up for Kerberos authentication. If this is your own domain and you want to do some more testing, you can log on to a domain controller, open the search, search for "Manager Computer Certificates" (or mmc.exe -> add snap-in "Certificates" -> "For this computer") and then request a new certificate by going to the "Personal" folder. It should appear if you expand the first folder in the listing (can't remember the name). Once you're there, right click on the right pane (probably empty) and request a new certificate. This should any certificate that supports "Server Authentication", most likely "KerberosAuthentication" or "DomainController".
And thank you @the-useless-one for commenting on this. It's correct what you say. From my experience, it seems that you will need the same sort of certificate with Server Authentication for the DC in order to connect via LDAPS, right?
Best regards
Oliver

Hi @ly4k, I'm actually not sure what EKUs must be present in the DC certificate to support Schannel authentication. If you figure it out, please share the knowledge :wink:

Wow wow wow!  Thanks both of you SO MUCH for your incredibly thorough and helpful replies!
@the-useless-one I'm so excited because I think passthecert.exe is just the tool I need for the job.  I can open a thread in your repo instead, but just a quick syntax question for you.  I have compromised one account that I control on the target domain (lets call it pwnedacct) and I have that account SID of XXX.  I used that account to grabbed the .pfx for domainadmin@victim.  If I'm understanding right, the syntax I can use to give pwnedacct DCSync privs are:
PassTheCert.exe --server FQDN.OF.A.DOMAINCONTROLLER --cert-path domainadmin.pfx --elevate --target "DC=victim,DC=domain" --sid XXX
If that's right, the only part that makes me nervous is the changing of the msDS-nTSecurityDescriptor.  This change only adds me the ability to DCSync, it doesn't take away any permissions or anything like that?  I'm sure I'm (hopefully) being overly paranoid, but I've never used the tool before and definitely don't want to break things!

The syntax is correct! The ntSecurityDescriptor is modified to add the necessary ACLs to grant rights to pwnedacct, the other rights are preserved. The old value of ntSecurityDescriptor is also saved to disk, and you can use the --restore flag to restore the previous value once you've done your DCsync.

Awesome thank you @the-useless-one, I'm going to hold my breath and get remoted back into this environment, get a fresh pfx and try this out.  Will report back.

@the-useless-one From my testing it seems that any certificate with the Server Authentication EKU. I'm setting up a new environment to test this :)

Quick update - I tried passthecert but got an error.  @the-useless-one I'll open an issue in your repo, and circle back to this thread once I know if the attack was successful.

HOLY SCHNIKES IT WORKED!!!!!
Oh my gosh thank you @the-useless-one and @ly4k so, so much for sharing your great expertise and tooling.  I have been on this pentest for weeks, picking at all sorts of things that led to dead ends.  I initially thought this whole KDC_ERR_PADATA_TYPE_NOSUPP was something to do with the cert configuration being protected with defensive measures (according to a colleague), so I went right past it early in the engagement.  It was so fun to circle back to the issue, get outstanding support from the two of you, and finally find a path to DA!
Are you both ok with me giving you a shoutout in an upcoming podcast episode?

Sure, thanks!

@the-useless-one sorry one more question...I can see when I look at the domain properties in the ADUC tool that my user has specifically been added there with DCSYNC privs.  Will just deleting that permission out of the config be the same as restoring the ACL via passthecert?

Glad you figured it out @braimee and yes, you can! :)

@braimee, I just noticed I didn't answer your question. It might be too late, but here goes: in elevate mode, PassTheCert adds the DS-Replication-Get-Changes and DS-Replication-Get-Changes-All rights on the domain object to the target SID. Removing these rights via PassTheCert or any other tool should yield the same results.

Wonderful thank you so much!
And just FYI @the-useless-one / @ly4k I gave you a shout-out in the latest episode of 7MS here: https://7ms.us/7ms-532-tales-of-pentest-pwnage-part-39/.
Have a great weekend and thank you again for being so generous with your time, tools and expertise.

Hi @ly4k  @the-useless-one  and @7MinSec ,
I'm currently in a pentest and ran into the same situation where I received the error message "KDC-ERR_PDATA_TYPE-NOSUPP". However, I received a certificate for a domain controller with the ESC8 vulnerability. Normally I would now use the secretsdump tool to carry out a DcSync attack, which is not possible due to the lack of PKINIT. Is there another way I can take over the domain with the DomainController Computer Account permissions? @the-useless-one  I already checked the tool PassTheCert, but could not find a usefull command to takeover the domain with der DC computer account permissions ...

Thanks the @the-useless-one already send me the blog post on how to abuse our blog post presenting PassTheCert:


Update readme path

cd template/web doesn't work because the path doesn't exist.

Summary by CodeRabbit

Documentation

Updated setup instructions to simplify directory navigation by changing the command to access the template directory.

@CharlieMc0 why does it not exist?
https://github.com/zeta-chain/template/tree/main/web


Enable tool calling for Anthropic LLMs (and OpenRouter)

Tool calling should work for Ollama now with openai api driver, so we should test and document that it works.
And a PR can be done to enable for Google Gemini.


Sending From Swan

The send functionality on Swan isn't working.
The incoming transaction got confirmed but not able to send from it.
Nothing happens after you press the Confirm and Send .

@cakesoft-swati - this is fixed, only test it. I was checking on the live app which does not have the fix.

Tested on staging app v2.0.5(378).I was able to send from swan.


Integrate github-runner-manager into this repo

Applicable spec:
Overview

This PR copies all the files from the repo https://github.com/canonical/github-runner-manager into the current repo.
As this two repos are very close and the github-runner-manager works only with the github-runner-operator, putting the code of both repos in the same re[p can be considered a good practice, as we can simplify the dependency management, facilitate the review process and  improve the testing.
The github-runner-manager is included in a separated directory, as the goal for following refactorings is to run that code outside of the charm code, and probably it can be structured in a different wat.
The commit used from github-runner-manager is cfb8f74b93d6f29acce36cfc87ccab6d7c19a344, and the repo github-runner-manager will be archived when this PR is merged.
There may be some polishing after this PR with renovate. It will be done after some dependencies are removed in following PRs.
Rationale

Juju Events Changes

Module Changes

The charm changes in the requirements.txt a dependency from the repo github-runner-manager to the directory github-runner-manager, where it will install the Python package.
Library Changes

Checklist

[x] The charm style guide was applied.
[x] The contributing guide was applied.
[x] The changes are compliant with ISD054 - Managing Charm Complexity
[x] The documentation is generated using src-docs.
[x] The documentation for charmhub is updated.
[x] The PR is tagged with appropriate label (urgent, trivial, complex).
[x] The changelog is updated with changes that affects the users of the charm.
[x] The changes do not introduce any regression in code or tests related to LXD runner mode.

How should the code be organized?
I was thinking of top-level directories like the following:

github-runner-manager
github-runner-operator

Which seems like a smaller change and allows multiple different charms in one repo if needed.
What are the advantage to the approach taken in the PR?

How should the code be organized?
I was thinking of top-level directories like the following:

github-runner-manager
github-runner-operator

Which seems like a smaller change and allows multiple different charms in one repo if needed. What are the advantage to the approach taken in the PR?

The main reason I went this way is simplicity. In the file requirements.txt for the charm, I cannot reference a directory outside the current directory (so we would have . Besides, the github-runner-manager is something that we will only use in the charm/application of the github-runner.
If at some point we decide to add another charm, I would just refactor at that point.


cherrypick kvstore tx to checkpoint changes to 1.9

Description
Describe the changes or additions included in this PR.
Test Plan
How did you test the new or updated feature?

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

@bmwill same here, can we update the description please?


Tablet Issue

Hello, I have discovered an issue where tablets are not recognised as tablets. Here are the user agents -> #180
"Mozilla/5.0 (Linux; Android 9; SM-T865) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36"
&
"Mozilla/5.0 (Linux; Android 9; Lenovo TB-X606F Build/PPR1.180610.011;wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.185 Safari/537.36"
@biswas123

Hi. Samsung s6 tab lite also recognizes as mobile, instead of tablet !
see user agent:
Mozilla/5.0 (Linux; Android 10; SM-P615) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Safari/537.36

Hi. Samsung s6 tab lite also recognizes as mobile, instead of tablet !
see user agent:
Mozilla/5.0 (Linux; Android 10; SM-P615) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Safari/537.36

Hi! I have the same issue.
Device: Samsung TAB A7.
User agent: Mozilla/5.0 (Linux; Android 10; SM-T500) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.105 Safari/537.36.
As I see, 'SM-T500' is absent in the tablets' list here: https://koderlabs.github.io/ngx-device-detector/miscellaneous/variables.html#TABLETS_RE.
Could you please update the devices' lists?
Could you please clarify, do you update the devices' lists with modern devices regularly and how often?
Thanks in advance.

#194

Hi @olga-aptekar. We don't update the devices regularly due to time constraints. However, we should be adding the devices anyone reports as soon as possible. And I've been pretty bad at that lately due to some commitments. Since this is a community project, I was hoping for PRs 🙂 .
I will however add all the user strings as soon as possible and will create a release soon.


react-native-codegen npm package has no lib folder

Description
The current version of react-native-codegen (0.71.4, published 1 hour ago) has no lib folder, so no code inside. It is only a package.json file and a README.md.
Check https://www.npmjs.com/package/react-native-codegen?activeTab=explore
Version
0.71.2
Output of npx react-native info
This issue is project independent
Steps to reproduce
This issue is project independent
Snack, code example, screenshot, or link to a repository
This issue is project independent
https://www.npmjs.com/package/react-native-codegen/v/0.71.4?activeTab=explore

I am having the same issue

Same issue, I had to force it use the previous version in package.json with:
  "overrides": {
    "react-native-codegen": "0.71.3"
  }

I was getting a Cannot find module '<path to project>/node_modules/react-native-codegen/lib/cli/combine/combine-js-to-schema-cli.js' error when building on iOS.

I had the same issue using Expo bare workflow. I solved it by specifying an exact version in the package.json.
	"devDependencies": {
		"react-native-codegen": "0.71.3"
	}

thanks for the report folks, yes something went wrong with the npm pack step of releasing the new version, so we'll re do it manually very soon and publish 0.71.5

If you are using yarn', I believe you should use resolutionsinstead ofoverridesin yourpackage.json`
{
  "dependencies": {
   ...
  },
  "devDependencies": {
   ...
  },
  "resolutions": {
    "react-native-codegen": "0.71.3"
  },
}

It should be fixed now. We just republished version 0.71.5 that has the lib folder into it.
Sorry for the disruption.

I am not seeing the packages folder now, is that by design?  Or should I open another ticket?


add hadoop support in java/client

Move maven-compiler-plugin from sub packages to java/pom.xml.
Move row related methods from Cursor class to a new Row class, this
simplifies operations in Hadoop where it needs a wriable row object.
Refactor both SimpleCursor and StreamCursor to follow the Cursor change.
Add Hadoop package which depends on java/client and java/grpc.

Looks good to me, but @enisoc should probably have a look too.

"
Can we change this to getFieldMap() and have it return the fieldMap? Maybe also make fieldMap private so that derived classes are forced to call getFieldmap(). That way we enforce correct usage.
"
Done.

LGTM

LGTM


Fix loss of starting packets in generated flow

Delay is needed to let ports start. This is pktgen-like solution.

Looks good to me, please commit.


Create compatibility with Jython?

Hi!
I'm loading and running python scripts with Jython. Unfortunately, there seem to be compatibility issues between Jython and this library - I can't get scripts using this library to work with Jython.
Would there be a possiblity to resolve this problem?
Example of errors I get:
Exception in thread "Thread-1" Traceback (most recent call last):   File "Scripts/getTempScript.py", line 20, in retrieveData     humidity, temperature = Adafruit_DHT.read_retry(Adafruit_DHT.AM2302, 4)   File "/usr/local/lib/python2.7/dist-packages/Adafruit_DHT-1.1.0-py2.7-linux-armv7l.egg/Adafrut_DHT/common.py", line 90, in read_retry   File "/usr/local/lib/python2.7/dist-packages/Adafruit_DHT-1.1.0-py2.7-linux-armv7l.egg/Adafrut_DHT/common.py", line 76, in read   File "/usr/local/lib/python2.7/dist-packages/Adafruit_DHT-1.1.0-py2.7-linux-armv7l.egg/Adafrut_DHT/common.py", line 59, in get_platform RuntimeError: Unknown platform.
If I hardcode the Raspberry 2 Type in the get_platform function, I get this error:
Exception in thread "Thread-1" Traceback (most recent call last):   File "Scripts/getTempScript.py", line 20, in retrieveData     humidity, temperature = Adafruit_DHT.read_retry(Adafruit_DHT.AM2302, 4)   File "/usr/local/lib/python2.7/dist-packages/Adafruit_DHT-1.1.0-py2.7-linux-armv7l.egg/Adafrut_DHT/common.py", line 74, in read_retry   File "/usr/local/lib/python2.7/dist-packages/Adafruit_DHT-1.1.0-py2.7-linux-armv7l.egg/Adafrut_DHT/common.py", line 60, in read   File "/usr/local/lib/python2.7/dist-packages/Adafruit_DHT-1.1.0-py2.7-linux-armv7l.egg/Adafrut_DHT/common.py", line 42, in get_platform   File "/usr/local/lib/python2.7/dist-packages/Adafruit_DHT-1.1.0-py2.7-linux-armv7l.egg/Adafrut_DHT/Raspberry_Pi_2.py", line 22, in <module>   File "/usr/local/lib/python2.7/dist-packages/Adafruit_DHT-1.1.0-py2.7-linux-armv7l.egg/Adafrut_DHT/Raspberry_Pi_2_Driver.py", line 7, in <module>   File "/usr/local/lib/python2.7/dist-packages/Adafruit_DHT-1.1.0-py2.7-linux-armv7l.egg/Adafrut_DHT/Raspberry_Pi_2_Driver.py", line 6, in bootstrap ImportError: No module named Adafruit_DHT.Raspberry_Pi_2_Driver
Thing is, I don't know at all how to fix this. It is probably an error concerning Jython only, but it would be kind of awesome if there was a possibility to resolve it by changing the library, too.
Kind regards

nobody on our team uses jython - if you submit a pull request we'll take a look at merging it

Unfortunately I don't think that I've enough knowledge to fix this. Just a thing I noticed though:
In the error message, the path sometimes says "Adafrut_DHT" instead of "Adafruit_DHT"; Could that be the cause of the problem?
For example here:
File "/usr/local/lib/python2.7/dist-packages/Adafruit_DHT-1.1.0-py2.7-linux-armv7l.egg/Adafrut_DHT/common.py"
Is this normal or did I make this happen?

What system are you running on, is it a Raspberry Pi or something else?  The code is actually platform-specific and has a C extension to very quickly read GPIO on the Pi.  If you try to run on other platforms beyond the Raspberry Pi & BeagleBone Black unfortunately it won't work because they don't have the optimizied code to read the sensor.  I have a feeling integrating with Jython will be difficult because the code uses Python C extensions and I'm not sure Jython supports it.  Your best bet would be to have Jython call the Python scripts here, for example the Adafruit_DHT.py in the examples could be called by a Jython script and its output parsed to grab the readings.  Again though it will only work on a Raspberry Pi (zero, 1, 2, 3) or BeagleBone Black.  Good luck!


Add footer section to the website

🛠 Fixes Issue (Number)
Closes #259
👨💻 Changes proposed
I have added a footer section which contains following column:
1.  About ZeroOctave Javascript project:

Add a bit of information about your website from Read Me file given on Git Hub.

2.  Developers:

Add developers name from main Git Hub Profile of ZeroOctave.
Add arrow marks for list items.
Add transition effects such as color change and slide right on hover.

3. Follow Us:

Add social media icons from font awesome.
Add hover effect such as color change.
Made social icons functional (only those whose links I could find on Git Hub).

4. Copyright Notice:

Add copyright notice in this section.

✅ Check List (Check all the applicable boxes)

[x] My code doesn't break any part of the project (Zero Octave-Javascript-Projects).
[x] This PR does not contain plagiarized content.
[x] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

I have made changes in index(HTML) and style(CSS) files.
I have added comments in hard to understand areas.
I have added link to google fonts and font awesome icons in head section.
Footer section is completely responsive.

📷 Screenshots

Instead of adding developer names, Add contributor section take help from here
Only leave social media logos of existing link: Twitter,GitHub,Website,Mail. Remove others

Instead of adding developer names, Add contributor section take help from here
Only leave social media logos of existing link: Twitter,GitHub,Website,Mail. Remove others.
Note: Please update your fork.

Thank you for the review.
I have updated the social media icons.
Also, there is very less space available in the footer section for contributors. So, I would suggest that we should add some other attributes such as organizations ZeroOctave javascript project is a part of or tech stack used to develop this website or anything else that you may suggest.
Moreover, contributors will require a separate section before footer. I can raise a new issue for that and work on it should you wish.
Kindly inform me your opinion on this and I will make the suitable changes according to your instructions as soon as possible.
Thank you

Ok You can add changes you just mentioned & work on contributor section later.

Ok You can add changes you just mentioned & work on contributor section later.

okay sir

Ok You can add changes you just mentioned & work on contributor section later.

I have updated the collaborations section with the links of open source organizations ZeroOctave-Javascript-Projects is a part of.


Need to document default language version for those that support more than one

For languages like Java, Node, and Python Functions v3 supports more than one version of the language. Yet it's possible to deploy a Function App without specifying the version. In this case, the portal will show (for Java):

and the Function(s) will execute w/o issue. However, there's no indicator as to what version of Java we're running. This should be documented and the portal should reflect it.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1df5e2bd-489d-19b2-87d3-d993ebb82021
Version Independent ID: 9e9d9ded-8f40-22be-4654-48c87f2c59e8
Content: Azure Functions runtime versions overview
Content Source: articles/azure-functions/functions-versions.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Hello @brandonh-msft,
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

Hello @brandonh-msft,
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

In such a scenario, you shouldn't be able to create a function app without explicitly declaring a language version. This might just be a portal bug. #please-close


Arbitrary waveform implementation and example.

Allows waveforms to be pumped in.

Probably want to add the example to the list in examples/CMakeLists.txt

Thanks for putting this together! I see you'd spotted the user waveform type and ran with it :D
We might tweak this slightly to add a half-complete callback or shuffle things around, but it looks like a solid start!
I'm still not totally sure that dividing the output by the number of active waveforms is even valid, but it certainly sounds good for SID emulation.


Base URL not propagated to XSD import/include

When Base URL is set for artefacts, it is not propagated to XSD import/include schema location, which remains relative.

Actually, an ideal solution would me to provide both versions - for local use (e.g. I want to download all XSDs and adjust them locally), and for publication - this is currently just an idea, needs to be thought through more maybe in another issue.


Security Plugin cannot startup due to AccessControlException: access denied

The security plugin cannot be loaded because of an issue with the bouncy castle dependancy coming from OpenSearch core.
 java.lang.IllegalStateException: failed to load plugin class [org.opensearch.security.OpenSearchSecurityPlugin]
�  Likely root cause: java.lang.InternalError: cannot create instance of org.bouncycastle.jcajce.provider.digest.GOST3411$Mappings : java.security.AccessControlException: access denied ("java.security.SecurityPermission" "putProviderProperty.BC")
�  	at org.bouncycastle.jce.provider.BouncyCastleProvider.loadServiceClass(Unknown Source)
�  	at org.bouncycastle.jce.provider.BouncyCastleProvider.loadAlgorithms(Unknown Source)
�  	at org.bouncycastle.jce.provider.BouncyCastleProvider.setup(Unknown Source)
�  	at org.bouncycastle.jce.provider.BouncyCastleProvider.access$000(Unknown Source)
�  	at org.bouncycastle.jce.provider.BouncyCastleProvider$1.run(Unknown Source)
�  	at java.base/java.security.AccessController.doPrivileged(Native Method)
�  	at org.bouncycastle.jce.provider.BouncyCastleProvider.<init>(Unknown Source)
�  	at org.opensearch.security.OpenSearchSecurityPlugin$2.run(OpenSearchSecurityPlugin.java:323)
...

Additional Context

Plugin install failure https://github.com/opensearch-project/security/actions/runs/6086574945/job/16513238110?pr=3307
BWC test startup failure https://github.com/opensearch-project/security/actions/runs/6086574929/job/16513238774?pr=3307
SecurityManager permissions issue with other plugins https://github.com/opensearch-project/security/issues/3213

Root cause change in main [1] & backport to 2.x [2]

[1] https://github.com/opensearch-project/OpenSearch/pull/9289/
[2] https://github.com/opensearch-project/OpenSearch/pull/9736

@cwperks Can you help drive this from the security plugin?
FYI - @reta @willyborankin

@cwperks let me know if you need any help

@reta all eyes are appreciated on this issue. This is release blocking for 2.10.0.

Sure, I am taking it, @cwperks!

@willyborankin opened a related issue a few days ago: https://github.com/opensearch-project/security/issues/3213
It looks like the plugin-security.policy file in this repo is being ignored.

@cwperks @reta I think we need to remove the opensearch-encryption-sdk from OpenSearch to get unblocked - I am open to other suggestions, but we need to be wary of the impact to the security posture of OpenSearch.

@peternied on the same page, I think I found the solution to unblock us, hold on please

@peternied im for reverting PR. Im for crypto-sdk but it need t be implemented differently.

I'm on the same page as well. I'm trying a few different things in the security plugin and in core, but reverting would get the release unblocked while a strategic fix is worked on


[FS] Check that wallet multisig redeem script and address match settings

Looks good. Did you try it out?

I did, functions as expected

Cool beans, would approve to go in whenever the branch is ready for it.


Is it possible to change the server's subnet by editing the openvpn.conf?

Here is my situation.

I ran this command to generate the server configurtation:

docker run --rm \
-v $OVPN_DATA_DIR_TEST_0:/etc/openvpn \
kylemanna/openvpn ovpn_genconfig \
-u udp://www.mydomain.com \
-s <IP_ADDRESS>/16 \
-n <IP_ADDRESS> \
-n <IP_ADDRESS> \
-n {myDns1} \
-n {myDns2} \
-p "route <IP_ADDRESS> <IP_ADDRESS>"

Then, I recognized that I mistyped the subnet argument -s <IP_ADDRESS>/16, which is already occupied with another existing OpenVPN server.
I should type something like -s <IP_ADDRESS>/16, instead of -s <IP_ADDRESS>/16.
Therefore I edited the openvpn.conf file, from server <IP_ADDRESS> <IP_ADDRESS> to server <IP_ADDRESS> <IP_ADDRESS> to change the server's subnet scope and restarted this container.

Client can connect to VPN server.
Client can ping to server(<IP_ADDRESS>), and server can ping to client either. (also connection log can be found via docker logs)
But the client cannot use the internet.

I scrutinized every part of the problem that could arise, like routing tables for both host and container, my custom docker network which is still working well with other OpenVPN container, DNS test, and so on.
I'm already running a several OpenVPN container in this single host for more than a year, and I think that there is no problem with setting or configuration in host OS or docker.
I strongly suspect that it is caused by a typo in the subnet when executing the ovpn_genconfig command, and that this is not reflected by modifying the openvpn.conf file.
Because when I re-entered the ovpn_genconfig command without a typo after everything was cleaned up, it all worked as expected.
If anyone knows about this, please let me know if my assumption is correct or not.

Maybe this can help

Had the same problem after trying to change the subnet on the openvpn.conf file
Rerunning the ovpn_genconfig script solved it for me aswell. Thank you :+1:


[JN-1063] Replace search facets with search expressions

DESCRIPTION (include screenshots, and mobile screenshots for participant UX)
Replaces search facets with search expressions in the participant list. Deprecates a ton of code but does not actually delete it. Future work could include showing information about the linked objects that you are searching on, or allow you to conditionally include objects even without filtering on them (for example, grabbing latest kit info).
Notes:

Filtering still has all the same features
Adds filtering on enrollee being a subject (defaults to true, but you can change that to find proxies)
Adds ability to filter using a custom expressions
Adds documentation to search expressions in zendesk and links to it on the advanced filtering menu as well as on the form options modal for eligibility rules.
Kit status is no longer a column - but it is searchable. Since the searching API will return the full objects of any objects used in the query, it would be possible to show this column when the user filters on kit status, but I figured that was out of the scope of this PR / subject to closer scrutiny on how we wanted that to work.
Changes the searchbar to be debounced instead of requiring you to hit enter to search

TO TEST:  (simple manual steps for confirming core behavior -- used for pre-release checks)

Play around with participant list - ensure no broken functionality
Create lots of complex filters - observe that they function as expected and pop up with the correct pills
Ensure that the zendesk documentation is good

also, instead of using a placeholder in the complex expression form, I would just add an "e.g. ..." label underneath.  I wanted to copy-paste the placeholder to the field, but couldn't.  Also, I missed that search expression was a link to the docs.  I'd add an info icon or something else to make it more obvious that there's a help link  there.

also, instead of using a placeholder in the complex expression form, I would just add an "e.g. ..." label underneath. I wanted to copy-paste the placeholder to the field, but couldn't. Also, I missed that search expression was a link to the docs. I'd add an info icon or something else to make it more obvious that there's a help link there.

I have a ticket to make a "Fancy search expression editor" that will rehaul all of this - if it's ok, I might incorporate this in that ticket.


chore,refactor(Egen): replaced aip with aiplatform and kfp.v2 with kfp, removed import statement of os module, refactored code according to template guidelines and performed linter test.

This PR includes the following updates:

Adds Colab Enterprise link and other structural changes from the new template.
Changes REGION variable name to LOCATION.
Replaces kfp.v2 with kfp.
Replaces aip with aiplatform.
Removes import statement of os module.
Removes IS_TESTING from the cleaning up section.
Adds comments for cells needed.
Contracts words You are etc.
Removes the usage of future tense.

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[x] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

/gcbrun

/gcbrun


Clarify meaning of group

Reword the description of "group", per a question @inductor asked on Slack.

ping to pick up my CLA

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
memo Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.
It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
* If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address.  Check your existing CLA data and verify that your [email is set on your git commits](https://help.github.com/articles/setting-your-email-in-git/).

* If you signed the CLA as a corporation, please sign in with your organization's credentials at https://identity.linuxfoundation.org/projects/cncf to be authorized.

* If you have done the above and are still having issues with the CLA being reported as unsigned, please log a ticket with the Linux Foundation Helpdesk: https://support.linuxfoundation.org/

* Should you encounter any issues with the Linux Foundation Helpdesk, send a message to the backup e-mail support address at: [login-issues<EMAIL_ADDRESS>

Ping to validate my CLA

/check-cla

Thank you!
Note: The question was on https://kubernetes.slack.com/archives/C0EN96KUY/p1595333369018500 in #sig-auth channel.

/sig auth
/lgtm

/lgtm cancel
(CLA not signed)
@tabbysable - you need to sign the CLA before we can formally review this.
/check-cla

/check-cla

Second time's a charm, the robot sees my CLA now :tada:

/lgtm
/approve


Fix URL in README.md

The URL in readme.md is not working. It seems https isn't working. This PR fixes the readme so it uses http instead.
https://clarity.design -> http://clarity.design

This isn't necessary, as the http -> https redirect is working.


fix: don't record various commands in demos

Also wanted to do sar_hud_order_{top,bottom}, sar_ihud_preset, and sar_fast_load_preset, but macro weirdness scared me off (CON_COMMAND_F_COMPLETION doesn't seem to like the autocomplete func being defined inline) (obvious now that i actually look at what that does)
Newly unrecorded commands:

sar_hud_order_reset
sar_hud_set_text
sar_hud_set_text_color
sar_hud_hide_text
sar_hud_show_text
sar_ihud_setpos / sar_lphud_setpos (CON_COMMAND_HUD_SETPOS)
sar_toast_setpos
sar_ihud_modify
sar_ihud_add_key
sar_ihud_set_background
sar_ihud_clear_background
sar_toast_tag_set_color
sar_toast_tag_set_duration
sar_toast_tag_dismiss_all
sar_toast_dismiss_all
sar_toast_create
sar_toast_net_create
sar_echo
sar_echo_nolf

Don't merge this yet, I'm going to redo it with less badness

Closing for now, I'll get back to ya
(I've been infected with mlugg's ADHD and haven't touched it since I said I was going to)


Add Together AI Demo

What does this PR do?
Adds a Together AI Template
Test Plan
Tested it works on Appwrite Cloud
Have you read the Contributing Guidelines on issues?
Yes

@christyjacob4 Resolved, ready for re-review


 These are only initial constraints, and are further refined during the solve process.
Detected godep configuration files...
  Loading /home/michael/go/src/github.com/Debian/dcs/Godeps/Godeps.json
Converting from Godeps.json ...
  Using master as initial constraint for imported dep github.com/beorn7/perks
  Trying master (4c0e845) as initial lock for imported dep github.com/beorn7/perks
  Trying * (c9c7427) as initial lock for imported dep github.com/golang/protobuf
  Using master as initial constraint for imported dep github.com/google/codesearch
  Trying master (a45d81b) as initial lock for imported dep github.com/google/codesearch
  Using >=1.0.0, <=2.0.0-gc12348c as initial constraint for imported dep github.com/matttproud/golang_protobuf_extensions
  Trying * (c12348c) as initial lock for imported dep github.com/matttproud/golang_protobuf_extensions
  Trying * (7157c0d) as initial lock for imported dep github.com/pebbe/zmq4
  Using >=0.8.0, <=60.0.0-g738ed6c as initial constraint for imported dep github.com/prometheus/client_golang
  Trying * (738ed6c) as initial lock for imported dep github.com/prometheus/client_golang
model-0.0.2-14-g6f38060 is not a valid version for the package github.com/prometheus/client_model()

What did you expect to see?
New files.
What did you see instead?
dep init aborted, not touching anything.
Note that the version actually is valid (and current):
% go get -u github.com/prometheus/client_model
% cd go/src/github.com/prometheus/client_model
% git describe
model-0.0.2-14-g6f38060

Also, I looked for a “keep going” flag (e.g. -f), but couldn’t find one. Aside from this specific issue, should we maybe add such an option, so that users can easily convert an existing (possibly broken) setup to dep?

Hi @stapelberg , thanks for trying dep.
Sorry that the importer failed. This seems to be happening due to the way we parse semver. There's an issue and a PR in Masterminds/semver to fix the same.
For now, I think if you edit Godeps.json and change model-0.0.2-14-g6f38060 to model-0.0.2 it would take that tag and continue working.
Also, we have #909 which is similar to "keep going" idea.
Hope this helps :)


change-png-color

Create a page like https://onlinepngtools.com/change-png-color

@aphexlog Will you work on this issue?


Request Onboarding to OSC Data Commons

Requesting onboarding for github user: shuangzhu-code
Request access to github team: odh-env-users, and some other teams.
The main goal is to access data on companies to be able to use the ITR tool for OS-Climate and SBTi.
View teams here: https://github.com/orgs/os-climate/teams
Onboarding resources:

Data Commons environment setup
credentials.env file

Onboarding checklist:

[x] new user invited to os-climate github org
[x] user invited to requested teams

I work for SCOR and I would like to test out the tools. Thank you very much!

Hi @shuangzhu-code, I granted you access.  If you need anything else, please let me know<EMAIL_ADDRESS>


goto

Can you please elaborate? README.md has this as missing feature.

@GitMensch Yes, goto is not supported in WebAssembly.
You can create a new issue.
But so far I can't think of a good idea to support goto in WASM architecture.
Currently, AST is used instead of IR to compile C sources to wasm binaries.
AST preserves the C syntax tree structure and matches the wasm architecture.
So basically no conversion is processed.
To support goto, I think it'll need to convert from IR to wasm or some other code conversion.
Might be able to support computed gotos outside the wasm platform
(and I think it's even harder with wasm),
So I prefer to split the problem.


various devops-kinda updates

presumably mostly related to changes in upstream packages

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
:information_source: You can also turn on project coverage checks and project coverage reporting on Pull Request comment
Thanks for integrating Codecov - We've got you covered :open_umbrella:


(re-)release ow jar as part of this repository

Release ow jar in this repo https://github.com/chetanmeh/incubator-openwhisk/releases/download/v0.10/openwhisk-standalone.jar to get a better url

fix by #40


Make API docs and API doc search easier to access

I received the following feedback from a study participant. I think this is related to the removal of the API Docs link from the top navigation we implemented for the beta website. We should revisit this decision.

At the moment, the doc search is top right here: https://docs.flutter.io/
But from the main site.. you have to follow this path:

Goto https://flutter.io/
Click Docs
Click Visit on API Docs (This moves around when the page size changes width.. very annoying!)
Click Search
Enter Search Query Text.
Click Result

I believe since Flutter is developer centric the API docs search box should be accessible from the home-page. Perhaps also with a list of suggestions underneath to draw new developers into reading some of the more important docs. I personally have learn't a lot more from reading the doc's then the tutorials on the site.
My wish.. something like:

Goto https://flutter.io/
Enter Search Query Text. (perhaps have it auto focus to the API search field)
Click Result.
Perhaps that's a bit much but at least having a search box and reading recommendations on the home-page will engage revisiting developers.

My takeaways from this feedback: 1) The entry point to the API docs is too buried now and accessing it requires many clicks. The global site search is needs to be more useful for searching API docs. Perhaps we can add filters for different kinds of content.
Cc: @filiph @Sfshaza

I agree with that. The official site needs some change.

@InMatrix, I'm not defending the design of the home page, but I want to point out that there IS a search text field on the front page. Entering, for example, MaterialWidget, kicks off our custom search engine. It looks through both the API docs and the flutter.io docs. (I'd like to categorize the output better.) So, entering the widget brings up a list with the API page, with one click.

@Sfshaza You're right, that's an option. However, the search box on the landing page works differently from the search box in the API docs. For example, it doesn't autocomplete class names. From the site analytics, only a very small fraction of users do use the search box on the landing page.

+1

Issue moved to flutter/website #2006 via ZenHub


autocmd: replace BufRead -> BufEnter

This PR replaces the BufRead autocmd with `BufEnter. Closes https://github.com/aymericbeaumet/vim-symlink/issues/14.
See my comments on that issue.
In addition to BufEnter, I also tried several other autocmd events:

BufWinEnter
BufEnter
BufNew
BufAdd
BufWinEnter

All of these other attempts failed with various incorrect behavior or errors (some of which originated from other neovim plugins that I have installed).
To install vim-symlink from my personal fork to test out this PR:
Install with packer:
use { 'jasha10/vim-symlink', branch = 'neovim0.9-autocmd-issue', requires = { 'moll/vim-bbye' } }

Install with lazy.nvim:
{ "jasha10/vim-symlink", branch = 'neovim0.9-autocmd-issue', dependencies = { "moll/vim-bbye" } }

Install with vim-plug:
Plug 'jasha10/vim-symlink', { 'branch': 'neovim0.9-autocmd-issue' }
Plug 'moll/vim-bbye' " optional dependency

Details
Here are the things I tried:

  " ORIGINAL CODE:
  " autocmd BufRead * nested call s:on_buf_read(expand('<afile>'))
    " Error detected while processing BufReadPost Autocommands for "*":
    " Error executing lua callback: ...t_nvimvYmr7k/usr/share/nvim/runtime/lua/editorconfig.lua:210: Invalid buffer id: 1
    " stack traceback:
    "         [C]: in function 'nvim_buf_get_name'
    "         ...t_nvimvYmr7k/usr/share/nvim/runtime/lua/editorconfig.lua:210: in function 'config'
    "         ...vimvYmr7k/usr/share/nvim/runtime/plugin/editorconfig.lua:11: in function <...vimvYmr7k/usr/share/nvim/runtime/plugin/editorconfig.lu
    " a:4>

  " autocmd BufWinEnter * nested call s:on_buf_read(expand('<afile>'))
  " Works for first file. Subsequent :edit ~/my_symlink gave error:
    " Error detected while processing BufWinEnter Autocommands for "*"..function <SNR>44_on_buf_read[21]..BufReadPost Autocommands for "*":
    " Error executing lua callback: /tmp/.mount_nvim4mcEfh/usr/share/nvim/runtime/filetype.lua:21: Error executing lua: /tmp/.mount_nvim4mcEfh/usr/sh
    " are/nvim/runtime/filetype.lua:22: BufWinEnter Autocommands for "*"..function <SNR>44_on_buf_read[21]..BufReadPost Autocommands for "*"..FileTyp
    " e Autocommands for "*"..function <SNR>62_filetype_changed[4]..remote#define#request, line 2: Vim(let):Error invoking '/home/homestar/.local/sha
    " re/nvim/lazy/semshi/rplugin/python3/semshi:command:Semshi' on channel 5 (python3-rplugin-host):
    " error caught in request handler '/home/homestar/.local/share/nvim/lazy/semshi/rplugin/python3/semshi:command:Semshi [['enable']]':
    " Traceback (most recent call last):
    "   File "/home/homestar/.local/share/nvim/lazy/semshi/rplugin/python3/semshi/plugin.py", line 126, in cmd_semshi
    "     func(self, *args[1:])
    "   File "/home/homestar/.local/share/nvim/lazy/semshi/rplugin/python3/semshi/plugin.py", line 32, in wrapper
    "     func(self, *args, **kwargs)
    "   File "/home/homestar/.local/share/nvim/lazy/semshi/rplugin/python3/semshi/plugin.py", line 144, in enable
    "     self._attach_listeners()
    "   File "/home/homestar/.local/share/nvim/lazy/semshi/rplugin/python3/semshi/plugin.py", line 248, in _attach_listeners
    "     self._vim.call('semshi#buffer_attach')
    "   File "/home/homestar/miniconda3/envs/neovim/lib/python3.11/site-packages/pynvim/api/nvim.py", line 299, in call
    "     return self.request('nvim_call_function', name, args, **kwargs)
    "            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    "   File "/home/homestar/miniconda3/envs/neovim/lib/python3.11/site-packages/pynvim/api/nvim.py", line 182, in request
    "     res = self._session.request(name, *args, **kwargs)
    "           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    "   File "/home/homestar/miniconda3/envs/neovim/lib/python3.11/site-packages/pynvim/msgpack_rpc/session.py", line 102, in request
    "     raise self.error_wrapper(err)
    " pynvim.api.common.NvimError: BufWinEnter Autocommands for "*"..function <SNR>44_on_buf_read[21]..BufReadPost Autocommands for "*"..FileType Aut
    " ocommands for "*"..function <SNR>62_filetype_changed[4]..remote#define#request[2]..semshi#buffer_attach[15]..SemshiBufEnter[1]..remote#define#r
    " equest, line 2: Vim(let):error caught while executing async callback:
    " stack traceback:
    "         [C]: in function 'nvim_cmd'
    "         /tmp/.mount_nvim4mcEfh/usr/share/nvim/runtime/filetype.lua:22: in function </tmp/.mount_nvim4mcEfh/usr/share/nvim/runtime/filetype.lua:
    " 21>
    "         [C]: in function 'nvim_buf_call'
    "         /tmp/.mount_nvim4mcEfh/usr/share/nvim/runtime/filetype.lua:21: in function </tmp/.mount_nvim4mcEfh/usr/share/nvim/runtime/filetype.lua:
    " 10>
    " stack traceback:
    "         [C]: in function 'nvim_buf_call'
    "         /tmp/.mount_nvim4mcEfh/usr/share/nvim/runtime/filetype.lua:21: in function </tmp/.mount_nvim4mcEfh/usr/share/nvim/runtime/filetype.lua:
    " 10>
    " Error detected while processing BufWinEnter Autocommands for "*"..function <SNR>44_on_buf_read[21]..BufEnter Autocommands for "<buffer=5>"..fun
    " ction SemshiBufEnter[1]..remote#define#request:
    " line    2:
    " python3-rplugin-host: Async request caused an error:
    " BufWinEnter Autocommands for "*"..function <SNR>44_on_buf_read[21]..BufEnter Autocommands for "<buffer=5>"..function SemshiBufEnter[1]..remote#
    " define#request, line 2: Vim(sign):E158: Invalid buffer name: 4
    " python3-rplugin-host: Async request caused an error:
    " Invalid buffer id: 4

  " autocmd BufEnter * nested call s:on_buf_read(expand('<afile>'))
  " Works for first file. Subsequent :edit ~/my_symlink gave error:
    " python3-rplugin-host: Async request caused an error:
    " Vim(sign):E158: Invalid buffer name: 4
    " python3-rplugin-host: Async request caused an error:
    " Invalid buffer id: 4

  " autocmd BufNew * nested call s:on_buf_read(expand('<afile>'))
  " No error, but doesn't resolve symlink. Also messes with calling :edit ~/my_symlink,
  " which changes *all* windows pointing to previous buffer (instead of just the current window)

  " autocmd BufAdd * nested call s:on_buf_read(expand('<afile>'))
  " No error, but doesn't resolve symlink. Also messes with calling :edit ~/my_symlink,
  " which changes *all* windows pointing to previous buffer (instead of just the current window)

  autocmd BufEnter * nested call s:on_buf_read(expand('<afile>'))
  " Works!

  " autocmd BufWinEnter * nested call s:on_buf_read(expand('<afile>'))
  " Error:
    " Error detected while processing BufWinEnter Autocommands for "*":
    " E5108: Error executing lua ...m/lazy/LuaSnip/lua/luasnip/extras/filetype_functions.lua:41: Invalid buffer id: 1
    " stack traceback:
    "         [C]: in function 'nvim_buf_get_option'
    "         ...m/lazy/LuaSnip/lua/luasnip/extras/filetype_functions.lua:41: in function 'load_ft_func'
    "         ...cal/share/nvim/lazy/LuaSnip/lua/luasnip/loaders/util.lua:195: in function 'get_load_fts'
    "         ...share/nvim/lazy/LuaSnip/lua/luasnip/loaders/from_lua.lua:122: in function '_load_lazy_loaded'
    "         [string ":lua"]:1: in main chunk
    " E5108: Error executing lua ...m/lazy/LuaSnip/lua/luasnip/extras/filetype_functions.lua:41: Invalid buffer id: 1
    " stack traceback:
    "         [C]: in function 'nvim_buf_get_option'
    "         ...m/lazy/LuaSnip/lua/luasnip/extras/filetype_functions.lua:41: in function 'load_ft_func'
    "         ...cal/share/nvim/lazy/LuaSnip/lua/luasnip/loaders/util.lua:195: in function 'get_load_fts'
    "         .../nvim/lazy/LuaSnip/lua/luasnip/loaders/from_snipmate.lua:207: in function '_load_lazy_loaded'
    "         [string ":lua"]:1: in main chunk
    " E5108: Error executing lua ...m/lazy/LuaSnip/lua/luasnip/extras/filetype_functions.lua:41: Invalid buffer id: 1
    " stack traceback:
    "         [C]: in function 'nvim_buf_get_option'
    "         ...m/lazy/LuaSnip/lua/luasnip/extras/filetype_functions.lua:41: in function 'load_ft_func'
    "         ...cal/share/nvim/lazy/LuaSnip/lua/luasnip/loaders/util.lua:195: in function 'get_load_fts'
    "         ...re/nvim/lazy/LuaSnip/lua/luasnip/loaders/from_vscode.lua:251: in function '_load_lazy_loaded'
    "         [string ":lua"]:1: in main chunk

Actually I'm still seeing some issues after changing to BufEnter
  autocmd BufEnter * nested call s:on_buf_read(expand('<afile>'))
  " Works for first file. Subsequent :edit ~/my_symlink gave error:
    " python3-rplugin-host: Async request caused an error:
    " Vim(sign):E158: Invalid buffer name: 4
    " python3-rplugin-host: Async request caused an error:
    " Invalid buffer id: 4


pyinstaller ModuleNotFoundError

I get this error when I run an exe generated from pyinstaller :
>dummy.exe
Hello World !!!
Traceback (most recent call last):
  File "dummy.py", line 4, in <module>
  File "site-packages\dynaconf\base.py", line 87, in __getattr__
  File "site-packages\dynaconf\base.py", line 113, in _setup
  File "site-packages\dynaconf\base.py", line 166, in __init__
  File "site-packages\dynaconf\base.py", line 575, in execute_loaders
  File "site-packages\dynaconf\base.py", line 550, in loaders
  File "importlib\__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'dynaconf.loaders.env_loader'
[3256] Failed to execute script dummy

Here is my source script dummy.py :
import dynaconf

print('Hello World !!!')
print(dynaconf.settings.var1)

I use the latest 64 bits anaconda on a windows 7 64 bits and :
pip.exe install pyinstaller==3.3.*
pip.exe install pyyaml==3.12.* dynaconf[yaml]==1.0.*

I try to build a folder or a single exe with pyinstaller (both give the same error) :
pyinstaller.exe dummy.py
or
pyinstaller.exe --onefile dummy.py

Hi, I never tested in windows thanks for reporting, I may need help to test it on windows and find the solution.

Found a workaround :
pyinstaller.exe --onefile --hidden-import=dynaconf.loaders.env_loader

@PhE
if you run out of pyinstaller does it work?

I want to solve it for the next release but I dont know how to reproduce and get the root cause

@victorpb  : yes it works out of pyinstaller on windows
@rochacbruno  : don't know how to solve it too. Since it works with the hidden-import workaround, I will close the issue

The correct way to fix this is by creating a hook file for Pyinstaller. Here is my proposal.


let  confirm select other than create new line

I use neovim v0.4.4
I want to use  to confirm select an item other than creating a new line.
so I add the following in my init.vim
inoremap         pumvisible() ? "<C-y>" : "<CR>
but it does not work.
But when I do not use  skywind3000/vim-auto-popmenu, use the skywind3000/vim-dict only. It works.
So how to make it work when I use both plugs above.

A new option, g:apc_cr_confirm, is introduced in https://github.com/skywind3000/vim-auto-popmenu/commit/ea64a79b23401f48e95b9bce65ba39c6c020a291 to enable this. try:
let g:apc_cr_confirm = 1


Questions about ApiV2

@bigretromike
Hi.
I am in the process of implementing the annotation system @maxpiva did in the ApiV2.
I have some basic questions about the ApiV2:

Why is there a Counter (https://github.com/japanesemediamanager/ShokoServer/blob/master/Shoko.Server/API/v2/Models/core/Counter.cs) class that basically just have an int member? why dont the methods return the int directly?
Why are some methods marked as Post and return ApiStatus/ApiMessage where others that also only return ApiStatus/ApiMessage are marked as Get? you could compare the /folder/edit => EditFolder with /folder/import => RunImport
Why do we have duplicate logic checks? You can look at https://github.com/japanesemediamanager/ShokoServer/blob/master/Shoko.Server/API/v2/Modules/Common.cs#L193 and https://github.com/japanesemediamanager/ShokoServer/blob/master/Shoko.Server/API/v1/Implementations/ShokoServiceImplementation.cs#L3092 is it save for me to remove the duplicate conditions in ApiV2?

I am just starting the work and there may be more questions poping up the longer I work on this one

Because it's a major clean up. Most of that was copy paste. Also @japanesemediamanager/API is a thing

Thank you for poinitng out code. As for counter, nancy handle thing via models and later the counter can be modyfy without breaking backcompatible. Second some methods are post when you input/create data with them or are in middle of clean up as folder/ was way before ParameterAPI exists. Third, you pointing to v1 (legacy) code. As da3dsoul point out it was mostly copy-pasted and edited to work so we could have old client working while cuting out non nancy implementation. Also jmm code tend to be edited by many and sometimes validation of variables are cut out, its better to chcek it twice than 0 times. Also some of old code dont respond with bools when there is a null object. Thats is in general the case. But in this given case (as its apiv1) its a copy-paste thing.
On February 20, 2017 6:37:58 PM GMT+01:00, Rand-Random<EMAIL_ADDRESS>wrote:

@bigretromike
Hi.
I am in the process of implementing the annotation system @maxpiva did
in the ApiV2.
I have some basic questions about the ApiV2:

Why is there a Counter
(https://github.com/japanesemediamanager/ShokoServer/blob/master/Shoko.Server/API/v2/Models/core/Counter.cs)
class that basically just have an int member? why dont the methods
return the int directly?
Why are some methods marked as Post and return ApiStatus/ApiMessage
where others that also only return ApiStatus/ApiMessage are marked as
Get? you could compare the /folder/edit => EditFolder with
/folder/import => RunImport
Why do we have duplicate logic checks? You can look at
https://github.com/japanesemediamanager/ShokoServer/blob/master/Shoko.Server/API/v2/Modules/Common.cs#L193
and
https://github.com/japanesemediamanager/ShokoServer/blob/master/Shoko.Server/API/v1/Implementations/ShokoServiceImplementation.cs#L3092
is it save for me to remove the duplicate conditions in ApiV2?

I am just starting the work and there may be more questions poping up
the longer I work on this one
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/japanesemediamanager/ShokoServer/issues/585

This has been answered and there were no additional questions. If there are please reopen it.


Automatic badge claim with a "code"

Hello,
what I'd like to do is to give a badge after a survey completion by a community member without the wait for any "human" intervention from Badger team.
To do that, I need to be able to provide a unique code (which can be used only once) for each respondent, or maybe we can start simple and provide a code for some badges.
In this cases, it's easier we could have a link like http://badger.akeneo.com/claim/<code> and if the user is logged the badge is activated.
What do you think?

We'll do a hook for this kind of stuff :)
cf. #28


New  multi-volume example

multivolume example using PET-CT medical image (might make more sense than a head and astronomy image) it could also be taken one step further to be PET+CT+Label but that is harder to view

Great example, thanks!


Package/wheels distribution via maturin

Pull Request type
Please check the type of change your PR introduces:

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[X] Build-related changes
[ ] Documentation content changes
[ ] Testing
[ ] Other (please describe):

What is the current behavior?
Currently the code base is not configured for package distribution
Issue Number: #139
What is the new behavior?
We are adding package configuration for portable maturin build and automatic distribution via CI
Does this introduce a breaking change?

[ ] Yes
[X] No

Please merge & update garaga_rs 's zk ecip hint to work with latest PyO3 version

I have merged the zk ecip code with minimal refactor, decoupling PyO3 dependency from the ecip crate . We can perform a larger refactor if necessary later on. I think the PR is ready for review.


I want the LSP Rename to support enum values

As an AaC user, I want the LSP Rename to support enum values, so that I can easily change enum values and their use.
AC:

[ ] When rename is performed on an enum value symbol, all instances of the enum value are updated
[ ] When rename is performed on a enum value symbol, enum value is updated in its parent definition

Picking this up @Coffee2Bits


PipeWire support

Is PipeWire support planned? It was developed by red hat for use in the automotive grade linux project to make audio mixing easier (i.e. turn music down when navigation instructions are playing #164 ), among other things like video handling.  With the session manager WirePlumber, audio inputs/outputs can be routed directly from one application to another, and almond could get as much control over audio mixing as it needs.

Hi @jleonardfl , thanks for the suggestion!
I'm aware of PipeWire, but the platforms that we target at the moment still use PulseAudio, and we would like to avoid multiple audio backends (especially since we also support plain ALSA for embedded devices).
By the way, in my testing on my dev machine (running Fedora with PipeWire) Genie works ok with the PulseAudio emulation layer. It's not perfect because there is no equivalent of module-role-ducking, but echo cancellation works, and that's the most complex feature we need from PulseAudio/PipeWire.


Remove JANSI dependency in 2.x

This commit:

Removes support for the outdated Jansi 1.x version in Console appender.
Rewrites JAnsiTextRenderer, use in the %m{ansi} and %ex{ansi} pattern converters to use our internal ANSI support instead of Jansi.

Fixes #1736.

Since we already discussed these changes in #2916, I am merging this.


Toolbench Key

Hi, really excellent work! For reproduce your work, I need the Toolbench Key in urgent. My email is<EMAIL_ADDRESS>hope to get the key as quickly as possible. Thank you very much!

Likewise, I was hoping to get access to the key! My mail is<EMAIL_ADDRESS>

Hi, really excellent work! For reproduce your work, I need the Toolbench Key in urgent. My email is<EMAIL_ADDRESS>hope to get the key as quickly as possible. Thank you very much!

hello, have you got aToolbench Key? the url  which given is invalid

Hello, thank you for your attention, we have sent the relevant key according to the email address on your issue. At the same time we also updated the application form of the key address, now is https://forms.gle/S4hqVLtnqeXcNTCJA, I'm sorry before scrap lead to form link information didn't reply in time.


Few (minor) potential improvements

Hi all,
I started using Talos several weeks ago and really appreciate how easy and helpful it is. However, I came across few ideas that might be interesting (and easy) to implement

As far as I know, the best model would be the one that generalizes best. Meaning the one that has the lowest error from the Evaluate() class, rather than the one with the lowest val_loss. I noticed that the Deploy() package can only save the one from the second case, so i added a model id as input to rather use the best model from Evaluate() if available (if not, take the one from best_model). Now I'm not an expert on machine learning and I'd gladly follow your advice on that.

I had a problem using the hidden_layers function from model/layer.py with the functional API of keras at first because it was not intended this way. A simple fix that I did was to do something like this :

for i in range(self.hidden_layers):
            layer = Dense(self.layer_neurons[i],
                            activation=self.activation,
                            use_bias=self.use_bias,
                            kernel_initializer=self.kernel_initializer,
                            kernel_regularizer=self.kernel_regularizer,
                            bias_initializer=self.bias_initializer,
                            bias_regularizer=self.bias_regularizer,
                            activity_regularizer=self.activity_regularizer,
                            kernel_constraint=self.kernel_constraint,
                            bias_constraint=self.bias_constraint)(layer)

layer = Dropout(self.dropout)(layer)
                                                                                return layer

Since all the parameters are the same between the sequential and functional API models, I ended up with a class for hidden_layers and two functions for both cases. I don't know if this actually something that came up in a later release but it's an easy fix.

Related to #97. Maybe it would be easier to have a recoverable mode that compares the parameters grid from the parameters that were already tested in the .csv file. This feature would be nice especially when running on a cluster and the job exceeds the running time. It might also be used to launch several instances of the same experiment on different nodes, by checking whether the current configuration has already been computed or not (probably not optimal though, given the reduction techniques in the scan).

Maybe some verbosity about the reduction techniques in the scan (few prints saying that x parameter configurations have been removed). I might not be using it correctly but I never know if it has actually been used or not ...

I hope I am not wasting your time on this, but Talos is something I really look forward to use extensively in the future and I would be happy to bring in some improvements.

Thanks a lot for the elaborate feedback :) And sorry I totally forgot to respond to you. Regarding 1, this is now handled in two ways (and will be available in 0.4.6) where you have several new related attributes in the Scan object, and also there is a new command Autom8() that takes you from start of Scan() all the way to predictions and best model.
I appreciate the fact that the hidden_layers approach could be more intuitive, I will create a new issue for this for discussion. This is in #157.
For 3, thanks for referencing it. This is a rather low priority item at this point, but probably we'll get to it later.
This is clearly a must-have, as you suggested, the user is now totally in the dark. Creating a new issue. This is in #158.
Thanks again! :)

Closing here as these are now handled/escalated elsewhere.


Add structured logging

Most of crio's logs are structured, like:
 11 23:02:45 sno.workload.bos2.lab crio[4322]: time="2023-07-11 23:02:45.552961184Z" level=info msg="Stopped pod sandbox: 35c3b3752c664d6ac80baa037503f08d359bab27627d40502b5b80f6f1b85264" id=823e2120-adbd-44d1-963a-ea68b957dea4 name=/runtime.v1.RuntimeService/StopPodSandbo

Extend the logger so that it can provide similarly structured logs

/assign


Documentation of EnvelopesApi is partially incomprehensible

The EnvelopesApi.cs is so big that github even refuses to parse it. I know it's generated from a swagger spec but I can't find the same comments there.
This is what I get to see in Visual Studio.

Hi,
My name is Sean. I am with the Developer Support team at Docusign.
I can really appreciate the situation that you are facing in relation to the EnvelopesAPI.cs  documentation. What we can do is file a document enhancement request to make sure that the comments are better in the documentation


IGN metadata not finding anything

When clicking on a specific game. Then edit. Then download metadata and choose the IGN metadata nothing shows up. It cannot find any game no matter what I type in.
If I download metadata to my whole library it cannot find anything IGN related.

Fixed in 0.3.3


Update Docs/Readme on "emmet1" to indicate deprecation and existence of emmet2

Per @sergeche in emmetio/pyv8-binaries#35 PyV8 is deprecated (and from reading it, so is emmet-sublime - e.g. "emmet1"?)
Seeing as there are many issues with this and the only "authoritative" information I found about this was @sergeche's comment mentioned previously, would it be possible to maybe update README.md to include a new section in the header indicating this? I think it would help answer a bunch of questions :)
I was thinking somewhere above the first heading "How to Install"... maybe something like:

## IMPORTANT! This version is being deprecated

This version of emmet ("emmet1") is being in favor of a newer rewritten version that is 100% pure python without the need for PyV8.

***If you are having issues with PyV8*** (e.g. unable to install on Windows 10, errors on install) please try the new version of Emmet2. The PyV8 binaries are deprecated.

See: https://github.com/emmetio/sublime-text-plugin

https://github.com/sergeche/emmet-sublime/blob/51c81af24c8078827f162ff7c0f0a28cd8d5263d/README.md#L8-L15
Note to @sergeche
I was going to respond back to your comment in the other repo, but I realized a bunch of other people were having problems installing PyV8 (just like I was just today 😜) and that it might be helpful for everyone else to open the issue here.

Yes, I’ll add deprecation notice when new plugin will be ready. For now, committing to this repo will cause updates for millions of users and will break hacks they made in order to make Emmet work as expected 🙈


feat: otel go metrics setup

Description
Set up otel go metrics reporting and add a RequestCount metric for the http handler instrumentation. This should enable metrics to be created and exported just like spans are. By default we will export to the otlp endpoint spans are exported to but this can be overridden using a metrics endpoint config.
Testing
Tested locally.
Checklist:

[ ✅ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[✅  ] Any dependent changes have been merged and published in downstream modules

Still WIP


Add a Build Stage to the DevOps Pipeline

As a Developer
I need to add a Build stage to the DevOps Pipeline
So that the Build stage will do the work to ensure the code is safe and good to deploy
Details and Assumptions
*Should add a job to checkout the code from GitHub
*Should add a job to run TDD tests with nosetests
*Should add a job to build a Docker image and push it to the IBM Cloud Container Registry
Acceptance Criteria
Given a Build stage is added in the DevOps Pipeline
When Build stage is triggered
Then it should automatically run the above 3 jobs

Added a Build Stage to the DevOps Pipeline

Added a job to checkout the code from GitHub
Added a job to run TDD tests with nosetests
Added a job to build a Docker image and push it to the IBM Cloud Container Registry

Need to add updated Project API Key

Updated project API key is added


Use std::nounitbuf for blocks.log

libraries/chain/block_log.cpp is opening blocks.log and blocks.index with default unitbuf set, so on each writing, there are two write operations on the filesystem: first the header, then  the body. This causes extra I/O load on the underlying physical media.
It makes sense to use std::nounitbuf flag for the blocks log, so that the write operations are combined. As of now, the flush() call at the end of writing has no effect because of the unitbuf flag set.
The write operations are seen very well with strace Linux command:
strace -p PID 2>&1 | grep write

also probably you don't need to call flush() and let the standard library handle the buffering efficiently. This will improve the I/O load a lot.

Here is strace for the state_history_plugin, as it appears it might be doing the same: https://gist.github.com/acoutts/40a61918a2ac7d239e0474a179d4448a
handles 10-13 are the state history files:
nodeos     1665  1672           ubuntu    6uW     REG              259,1        2896    6656005 /home/ubuntu/opt/data/state/shared_memory.meta
nodeos     1665  1672           ubuntu    7uW     REG              259,1        2896    6656009 /home/ubuntu/opt/data/blocks/reversible/shared_memory.meta
nodeos     1665  1672           ubuntu    8w      REG              259,1<PHONE_NUMBER>2    6656010 /home/ubuntu/opt/data/blocks/blocks.log
nodeos     1665  1672           ubuntu    9w      REG              259,1   143007136    6656012 /home/ubuntu/opt/data/blocks/blocks.index
nodeos     1665  1672           ubuntu   10u      REG              259,1<PHONE_NUMBER>9    6656014 /home/ubuntu/opt/data/state-history/trace_history.log
nodeos     1665  1672           ubuntu   11u      REG              259,1   143030232    6656015 /home/ubuntu/opt/data/state-history/trace_history.index
nodeos     1665  1672           ubuntu   12u      REG              259,1<PHONE_NUMBER>9    6656016 /home/ubuntu/opt/data/state-history/chain_state_history.log
nodeos     1665  1672           ubuntu   13u      REG              259,1   143030232    6656017 /home/ubuntu/opt/data/state-history/chain_state_history.index

@cc32d9 The string unitbuf occurs nowhere in the chain library, and the default for iostreams for that flag is off.  I suggest storing your blocks log on a filesystem that support noatime and trying that.  I suspect one of the writes will go away.

@jgiszczak this has nothing to do with noatime, which is actually set on my server. strace shows the write operations that the program is making for particular fiilehandles, and lsof shows the file handle numbers and how they are associated with files.
strace shows that blocks.log is written with two write() operations per block: first goes 8-byte length, then goes the content.

@cc32d9 The fact remains that the unitbuf flag is not being set on the block log stream, or any other stream.  If there are two writes happening, that is the buffered behavior in your standard library.  Only std::cerr and std::wcerr have unitbuf set by default.  No other stream, including std::cout and all fstreams, have the flag set by default.
You might try adding my->block_stream << std::nounitbuf; to void block_log::open(const fc::path& data_dir) in block_log.cpp after the stream is opened, in case your standard library has nonstandard behavior.

@jgiszczak this is a totally standard build on Ubuntu 18.04, just built from EOSIO sources. And it's showing the same picture on multiple servers. I will try to tweak the code later today.

@cc32d9 What were the results of an explicit nounitbuf flag set?

We no longer use iostream for blocklog.