Missing CI

We have some tests, but we don't run them in the CI.
A TravisCI or something new like GitHub actions must be implemented.
NOTE: some tests require third-party services to be running in the background (e.g. testing the dump of a database, requires the database running and the possibility of calling the DB utils from CLI).

After #10 CI is now present, however, some tests have been disabled because they require some external service to run (e.g. working instance of PostgreSQL and PostgreSQL CLI commands).
This issue will be closed when these tests will be re-enabled and the CI works properly


Build broken due to duplicate 'new' method generation

Hi, I tried building against the latest SDK. The build errors out with numerous errors of this kind:
error[E0201]: duplicate definitions with name `new`:
     --> src/RustKit/target/debug/build/rustkit-74ad679636d80c03/out/Foundation.rs:75054:5
      |
75042 | /     pub fn new() -> Arc<Self> {
75043 | |         unsafe {
75044 | |             let send: unsafe extern "C" fn(*mut Object, SelectorRef) -> *mut Self =
75045 | |                 mem::transmute(objc_msgSend as *const u8);
...     |
75052 | |         }
75053 | |     }
      | |_____- previous definition of `new` here
75054 | /     pub fn new() -> Arc<Self> {
75055 | |         unsafe {
75056 | |             let send: unsafe extern "C" fn(*mut Object, SelectorRef) -> *mut Self =
75057 | |                 mem::transmute(objc_msgSend as *const u8);
...     |
75064 | |         }
75065 | |     }
      | |_____^ duplicate definition

I think it is trying to generate the same method for the init and new Objective-C methods, both of which are marked deprecated, by the way.
Appreciate any assistance. Thanks!

More details:

I'm using a private build of clang 8.0.1, from the Release/8.x branch. I've verified that this contains your path:

commit 260e962402973093380843a11a7f9172b666af09
Author: Michael Wu<EMAIL_ADDRESS>Date:   Mon Nov 12 02:44:33 2018 +0000

    Support Swift in platform availability attribute

Any idea what the issue could be? Thanks!

I was able to build successfully against the Xcode 10.3 SDK.
Thus, the build is indeed broken against the Xcode 11.3 SDK.
Additionally, I had to compile a very specific branch of clang, the Releases/8.x branch, resulting in the 8.0.1 version of clang and libclang.dylib. (You can get the version via clang --version.)
Maybe people visiting this page via google will find this information useful.
Is this project still active, and any chance that it will be updated to build against the Xcode 11.3 SDK?
Thanks!


Form components and Email Subscriptions Import Create Admin UI ✨

What's this PR do?
This pull request updates the Admin UI to add an Email Subscription Create page. But more importantly, it begins the process of breaking out form fields/inputs into reusable and functional components that will be able to be used throughout the Admin UI to speed up building interfaces! ⚡

How should this be reviewed?
Here's a quick clip showcasing the new Email Subscriptions create page and its functionality:
https://user-images.githubusercontent.com/105849/134060547-8cdde98b-d687-4382-8ba9-a9a8a87afda9.mp4
Any background context you want to provide?
This create page included similar fields/inputs as other forms, so it made sense to begin considering how to componentize the form elements. Since the application is technically divided between a client app that our members see (login/profile) and an admin app that our staff sees, it made sense to consider how to componentize form elements in a way that the core functionality of the inputs could be reused on both client & admin interfaces, but the styling/visuals could be customized differently for the needs of the client or admin interface.
The solution I came up with was to break form "inputs" into components shared by both client AND admin, but form "field" components (defined for the app as input plus any labels or other elements + styling) are distinct to client OR admin. Fields always include inputs, but inputs can be used standalone.
So for example, a TextInput is a standalone input element with expected functionality for adding to a React-based form. It can be used in either the Client UI or the Admin UI since it inherently has no styling but can be styled as desired.
Then we have a TextField for the Admin UI which imports the TextInput but also contains optional label element, optional description text and will showcase errors if there is an issue with the field when the form is submitted. This is all styled specifically for the Admin UI.
Not created in this PR, we would also have a TextField for the Client UI that also imports the TextInput but will add its own additional elements and styling as necessary for that interface's design.
The hope is that this pattern will make it easier to develop pages with forms faster over time as more of these components are developed; unifying functionality while maintaining customizability.
Note: I'll be updating the Docs in an upcoming PR to describe this pattern along with providing examples, etc.
Relevant tickets
References Pivotal #179271621.
Checklist

[ ] This PR has been added to the relevant Pivotal card.

One thing to note that I would like to update is that the "input" components currently require setData and clearErrors props, which are specific to InertiaJS. I would like to potentially create a couple wrapper helper functions so that these inputs can be used in components talking to InertiaJS Form helpers or just React using setState().

@weerd love it and I really like the rename so the context is more obvious!


FR: Prettify WikiLinks

Is Your Feature Request Related to a Problem? Please Describe.
I'm using a Zettelkasten with files named UID Title
Describe the Solution You'd Like
A clear and concise description of what you want to happen.
Please include an example where applicable:
original text

expected outcome

Describe Alternatives You've Considered
A clear and concise description of any alternative solutions or features you've considered.
Additional Context
Add any other context or screenshots about the feature request here.

Accidentally pressed Submit instead of Cancel 😅


Bookshare zip files don't uncompress

Bookshare is a service that distribute books in .zip files (DAISY format). Those files aren't recognized as the proper zip archive by the current version of Sharpcompress. Interesting enough, this related project reads them properly on Windows: https://github.com/p3root/sharpcompress
I can send you a sample for testing on email, or you can get it by registering to: http://developer.bookshare.org, then find test credentials and available books for test here (after you sign in): http://developer.bookshare.org/docs/read/Bookshare_Test_Data_for_Partners, and then log in to Bookshare and download the book (this link will lead you to one that is available for download for tests: https://www.bookshare.org/search?keyword=Bookshare+Demo%3A+The+Rocket+Boys+of+NIH).

Just to note that when using System.IO.Compression I also get the exception: System.IO.InvalidDataException: End of Central Directory record could not be found.
However the file opens without the problem in the explorer and as said above that somewhat obsolete version of this project opens it without the problem. Any ideas why this is happening and if I can do something Adam?

Zip format has become a bit haphazard over the years.  The official implementation requires a valid central directory but it’s possible to extract sometimes without it.
It depends on what those files have in it.  I haven’t looked yet.

After some checking my initial report wasn't fully right, the problem is caused by different platforms behaving differently. This works properly with Windows, but on Xamarin.iOS it doesn't.

You’ll have to show me code that works on windows but not xamarin along with exceptions or whatever.

            using (Stream zipMemoryStream = await file.OpenAsync(PCLStorage.FileAccess.Read))
            {
                using (var zipArchive = SharpCompress.Archives.ArchiveFactory.Open(zipMemoryStream))
                {
                }
             }

It crashes on the second line on Xamarin with exception System.InvalidOperationException: Cannot determine compressed stream type. Supported Archive Formats: Zip, GZip, Tar, Rar, 7Zip, LZip
at SharpCompress.Archives.ArchiveFactory.Open (System.IO.Stream stream, SharpCompress.Readers.ReaderOptions readerOptions) [0x000de] in <714c60c556704f94af7b2094897f5d2b>:0

That's weird.  I would expect some error reading from the file system.
If you know the file is a zip, try using a ZipArchive from ZipArchiveFactory directly to avoid the detection issue just as a test.

Also of note, it works on Xamarin.Mac properly. I guess that there is something wrong in the Xamarin.iOS framework, not sure if you can fix this (maybe just workaround the problem), I have also submitted the problem regarding System.IO.Compression to Xamarin.
I'll check later what happens if I do like you have advised.

System.IO.Compression isn’t used in the code you showed me?
The funny part is is that Mono uses SharpCompress for their zip implementation last I checked.  Not sure what issues you’re having.

No I just pointed out that there is also issue there. Actually I have tried yesterday several more zip packages and every single of them had issues on iOS with this file. As said I believe it is a deeper problem in the framework just there might be some workaround.

Adam,
using (var archive = SharpCompress.Archives.Zip.ZipArchive.Open(fileStream))
did the trick. Thanks! I leave this open because it is a bug and you should try to fix it, but regarding my issue, it is resolved with this workaround.

It's weird the autodetection doesn't work on iOS.  Maybe something to do with improper read counting from a Stream like https://github.com/adamhathcock/sharpcompress/issues/275

After creating ZipArchive with sharpcompress, i cant open this archive with sharpcompress.

End of Central Directory record could not be found.


Update save-transaction-transact-sql.md

Changed transaction_name to savepoint_name in a description of the savepoint_name argument.

@latusekpiotr : Thanks for your contribution to the SQL documentation! The author, @BYHAM, has been notified to review your proposed change.

@edmacauley can you please review.

Thanks for catching and fixing that error!  #sign-off

Thank you @edmacauley and @latusekpiotr


Update matching.py

I wanted to inform you that I made some changes to your code to solve some problems I encountered when using it.
First, I changed the parts of the code that used np.float to np.float64 and installed numpy 1.24. This step was necessary to resolve a conflict that was causing problems with versions of numpy prior to 1.20.
In addition, I had to import the bbox_ious function into the code. This correction was necessary because, without it, the code would fail.
I hope that these changes will improve the efficiency and functionality of the code. If you have any questions or concerns regarding these changes, please do not hesitate to let me know.

Thank you very much for your PR🚀
Let me ask you one question.
Does the precision need to be float64 instead of float32?

yes, you should change np.float to np.float64 as you can see in the commit that i made (matching.py)

Thank you for your PR🦔


BHBC-1863: Minor Tweaks and Clean Up For Pipeline And Git Action Code

Overview
Links to Jira tickets
https://quartech.atlassian.net/browse/BHBC-1863
Description of relevant changes
Some minor tweaks and clean up to the openshift/pipeline code for app/api/database.
PR Checklist
A list of items that are good to consider when making any changes.
Note: this list is not exhaustive, and not all items are always applicable.
Code

[ ] New files/classes/functions have appropriately descriptive names and comment blocks to describe their use/behaviour
[ ] I have avoided duplicating code when possible, moving re-usable pieces into functions
[ ] I have avoided hard-coding values where possible and moved any re-usable constants to a constants file
[ ] My code is as flat as possible (avoids deeply nested if/else blocks, promise chains, etc)
[ ] My code changes account for null/undefined values and handle errors appropriately
[ ] My code uses types/interfaces to help describe values/parameters/etc, help ensure type safety, and improve readability

Style

[ ] My code follows the established style conventions
[ ] My code uses native material-ui components/icons/conventions when possible

Documentation

[ ] I have commented my code sufficiently, such that an unfamiliar developer could understand my code
[ ] I have added/updated README's and related documentation, as needed

Tests

[ ] I have added/updated unit tests for any code I've added/updated
[ ] I have added/updated the Postman requests/tests to account for any API endpoints I've added/updated

Linting/Formatting

[ ] I have run the linter and fixed any issues, as needed
See the lint commands in package.json
[ ] I have run the formatter and fixed any issues, as needed
See the format commands in package.json

SonarCloud

[ ] I have addressed all SonarCloud Bugs, Vulnerabilities, Security Hotspots, and Code Smells

Will re-open to test a fresh PR


Start addon status update in addon's own manager

if addon lifecycle annotation is not set or the value is self, addon's own status update controller should process

/assign @haoqing0110


⚠ Bofrost.lu has degraded performance

In 515f7b7, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1707 ms

Resolved: Bofrost.lu performance has improved in c38acd7 after 12 minutes.


Object.entries is not a function

OctoLinker cannot work already.

Object.entries is not a function

Browser name:
QQBrowser
Browser version:
v9.5.3
Chromium 53.0.2785.104
OctoLinker version:
4.8.0
URL and line number where issue occurs:
storage.js:39Uncaught (in promise) TypeError: Object.entries is not a function(…)
Expected behavior:
Actual behavior:

Hi @xovel, thanks for reporting the issue! I suspect this is related to the recent removal of babel-polyfill in https://github.com/OctoLinker/browser-extension/pull/258#issuecomment-275813737.
Are you able to update your browser to a more recent version? It looks like your current browser is a fork of an outdated version of Chromium, which may not support Object.entries. Furthermore, privacy and security issues have been discovered in QQ Browser, so I'd recommend switching to Chromium or Chrome if you can. See here for more info: https://citizenlab.org/2016/03/privacy-security-issues-qq-browser/
Whether or not you update your browser, it might be possible to fix this by reintroducing an Object.entries polyfill without causing errors about Promise. I'll leave this link here for reference: https://stackoverflow.com/questions/35090153/babel-support-for-object-entries

Thanks for your reply in this issue @josephfrazier . The version of my QQBrowser is currently newest.
Object.entries is a new ES7 features and Chromium 53 does not support it. Unfortunally, I've get used to use this browser in my work, change it to another maybe result in a series of problems. Anyway, I also use Chrome 55.0.2883.75 in my computer, and OctoLinker 4.8.0 work very well in this browser.
I try to roll the OctoLinker's version to 4.6.0 in QQBrowser, and it worked again.


rebar3 tree error displaying ‘latin1’

Hello
i have a small problem displaying the output of command rebar3 tree.

I have submitted a PR #865 suggesting a fix for this

@jonathn
Tested the PR #865 this is the result, all symbols now gone.
Dose not make for an easy to read listing


Error in train.py

I'm trying to train according to notebook using google colab
!python train.py
--dataset ./data/voc_train.tfrecord
--val_dataset ./data/voc_val.tfrecord
--classes ./data/voc2012.names
--num_classes 20
--mode fit --transfer darknet
--batch_size 16
--epochs 3
--weights ./checkpoints/yolov3.tf
--weights_num_classes 80
The code above give those errors:
Epoch 00001: saving model to checkpoints/yolov3_train_1.tf
1/Unknown - 10s 10s/step2020-04-30 20:36:24.867570: I tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1378] CUPTI activity buffer flushed
2020-04-30 20:36:24.867615: I tensorflow/core/profiler/internal/gpu/device_tracer.cc:88]  GpuTracer has collected 509 callback api events and 509 activity events.
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/engine/training_v2.py", line 128, in run_one_epoch
batch_outs = execution_function(iterator)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/engine/training_v2_utils.py", line 98, in execution_function
distributed_function(input_fn))
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/eager/def_function.py", line 568, in call
result = self._call(*args, **kwds)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/eager/def_function.py", line 632, in _call
return self._stateless_fn(*args, **kwds)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/eager/function.py", line 2363, in call
return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/eager/function.py", line 1611, in _filtered_call
self.captured_inputs)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/eager/function.py", line 1692, in _call_flat
ctx, args, cancellation_manager=cancellation_manager))
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/eager/function.py", line 545, in call
ctx=ctx)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/eager/execute.py", line 67, in quick_execute
six.raise_from(core._status_to_exception(e.code, message), None)
File "", line 3, in raise_from
tensorflow.python.framework.errors_impl.OutOfRangeError:  End of sequence
[[node IteratorGetNext (defined at train.py:188) ]] [Op:__inference_distributed_function_47406]
Function call stack:
distributed_function
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 193, in
app.run(main)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 299, in run
_run_main(main, args)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 250, in _run_main
sys.exit(main(argv))
File "train.py", line 188, in main
validation_data=val_dataset)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/engine/training.py", line 819, in fit
use_multiprocessing=use_multiprocessing)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/engine/training_v2.py", line 342, in fit
total_epochs=epochs)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/engine/training_v2.py", line 152, in run_one_epoch
total_epochs * steps_per_epoch))
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
WARNING:tensorflow:Unresolved object in checkpoint: (root).layer-8
W0430 20:36:25.520595<PHONE_NUMBER>92576 util.py:144] Unresolved object in checkpoint: (root).layer-8
WARNING:tensorflow:Unresolved object in checkpoint: (root).layer-9
W0430 20:36:25.520823<PHONE_NUMBER>92576 util.py:144] Unresolved object in checkpoint: (root).layer-9
WARNING:tensorflow:Unresolved object in checkpoint: (root).layer-10
W0430 20:36:25.520904<PHONE_NUMBER>92576 util.py:144] Unresolved object in checkpoint: (root).layer-10
WARNING:tensorflow:Unresolved object in checkpoint: (root).layer-11
W0430 20:36:25.520972<PHONE_NUMBER>92576 util.py:144] Unresolved object in checkpoint: (root).layer-11
WARNING:tensorflow:A checkpoint was restored (e.g. tf.train.Checkpoint.restore or tf.keras.Model.load_weights) but not all checkpointed values were used. See above for specific issues. Use expect_partial() on the load status object, e.g. tf.train.Checkpoint.restore(...).expect_partial(), to silence these warnings, or use assert_consumed() to make the check explicit. See https://www.tensorflow.org/guide/checkpoint#loading_mechanics for details.
W0430 20:36:25.521096<PHONE_NUMBER>92576 util.py:152] A checkpoint was restored (e.g. tf.train.Checkpoint.restore or tf.keras.Model.load_weights) but not all checkpointed values were used. See above for specific issues. Use expect_partial() on the load status object, e.g. tf.train.Checkpoint.restore(...).expect_partial(), to silence these warnings, or use assert_consumed() to make the check explicit. See https://www.tensorflow.org/guide/checkpoint#loading_mechanics for details.

Did you add '\' in Colab?
I didn't change a single line of code of that notebook and it simply doesn't work for me.

I have the same problem no matter where I run it, tried locally with GPU and I though had something to do with using cuda 10.2 when tensorflow was build with cuda 10.1, I tried using cuda 10.1 and I have the same error, tried in docker and I have the same error.

I was also getting the same problem. But I solved this one. The same problem is in the preparation of the dataset. If you prepare yore dataset properly then training will run correctly.


[Feature request] Render traffic lights in envision

Motivation
Traffic lights are currently not represented in the envision visualization which can make it difficult to understand why traffic is behaving in the way it is.
Proposal
I could suggest that traffic lights be represented similarly to how they are represented in sumo-gui. See: SUMO signal state definitions.
Alternatives
No response
Additional context
No response


Update MD file on new branch 2017-22-19_09-11-16

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add subscript accessor to Headers

Add a more ergonomic way to access header values stored by Headers. This is for both iOS and Android.
The Swift implementation could look like:
subscript(name: String) -> [String]? {
  get {
    return self.container.value(forName: name)
  }
}

Confirmed that the implementation of transcript accessor is possible in Kotlin too:
operator fun get(i: SomeType) : SomeOtherType { /* */ }

Documentation https://kotlinlang.org/docs/operator-overloading.html#indexed-access-operator


Link

please add link to live demo: http://js13kgames.com/games/a-day-in-the-life/index.html

Thanks for the suggestion!
I've added it to the readme file.
I've also added a link to the Facebook Instant Games porting.
http://m.me/377390292667907?game=216916535757588


NULL values and empty strings in cells

For example:
We have a columns: id,title,postid,text
And our rows are:
1,,2,ololo =>  Then field "title" should be parsed as null.
1,"",2,ololo => Then field "title" should be parsed as "" (empty string).
1,NULL,2,ololo and nulValue config option is NULL => Then field "title" should be parsed as null
1,,2,ololo and nulValue config option is NULL => Then field "title" should be parsed as "" (empty string)

Here I created some unit test to cover this cases. But cases:
1,"",2,ololo
1,,2,ololo
Are failed (testQuotedEmptyString and testNullValueInCellEmptyString)

Where are such test cases?

1,,2,ololo => field "title" should be parsed as null. - OCSVTransformerTest.java:239
1,"",2,ololo => field "title" should be parsed as "" (empty string). - OCSVTransformerTest.java:261
1,NULL,2,ololo and nulValue config option is NULL =>  field "title" should be parsed as null - OCSVTransformerTest.java:250

@profeg do you have such test cases?

Hi, I'm confused. Why you do not like the tests on this issue located in the file OCSVTransformerTest.java. Please explain your question in detail.
 On Tuesday, May 12, 2015 7:52 PM, Luca Garulli<EMAIL_ADDRESS>wrote:

@profeg do you have such test cases?—
Reply to this email directly or view it on GitHub.

@profeg Sorry I just recognized they are on master branch, while I was on develop.

Ok, I've merged "develop" (2.1-SNAPSHOT) from master (2.0.9-SNAPSHOT). Thanks, test cases are here.

All test cases seems to pass. So is this issue closed?

Yes , I think it is closed.
 On Thursday, May 14, 2015 7:17 PM, Luca Garulli<EMAIL_ADDRESS>wrote:

All test cases seems to pass. So is this issue closed?—
Reply to this email directly or view it on GitHub.


View variant jump does not work

I created my first maintenance view variant today. It seems to be supported and it gets serialized by abapGit as a TOBJ object and as a VIEW object. (I haven't tested pulling these objects.)
JUMP does not work though, you get some batch input popups.
TOBJ:

VIEW:

Created abapGit-tests/FUGR_maintenance_view_variant

Uninstall and install worked fine so I assume it is really just JUMP not working.
TOBJ assumes it is always called [base table/view]V. View variants can be named by the developer (with a surprisingly long name actually).
https://github.com/larshp/abapGit/blob/76c91e0cc59cc9db7ba1d9ec614df7d8cede538b/src/objects/zcl_abapgit_object_tobj.clas.abap#L252-L253
This should get the view variant name, but:
VIEW just assumes it can be opened in SE11, which is not the case here.

RS_TOOL_ACCESS works fine for view variants (VIEW), TOBJ does not and needs the redirect just like for normal maintenance views.

Fixed in #2678


[Feature Suggestion] Active Fusion Reactor Turbines.  Sorry if this is the wrong format; new to github.

Title pretty much says it all.  I suggest that turbines should be added that use the steam from an actively-cooled fusion reactor to generate power.  The advantage of using such a turbine is the increased efficiency of doing so instead of directly harnessing the energy via "magic" (AKA thermocouples).  The turbine would be constructed using "Turbine Housing", "Turbine Blades", and "Turbine Shafts".  The design would be similar to that of Big Reactors turbines.  The turbine shell would be a 5x5x8 with the rotor in the center and the blades in the middle.  The steam would be pumped in via a "High Pressure Steam Input" and low pressure steam would be removed via a "Low pressure steam Output".  The turbine housing only extends 6 blocks because induction coils must be places to generate power.  These cover everything over except the rotor where a power emitter would be placed.  strengthened glass view ports could replace housing except for the frame.  I also suggest that steam be made a gas.  The turbine also does not output water.  It outputs "Low-Pressure Steam" which can be run through a second turbine for extracting the most energy.  Turbines running on low pressure steam would output water vapor which could be condensed in the rotary condensentrator for water recovery.  Turbines consume as much steam as can be pumped in and output more energy when more steam is pumped in.  The steam turbine is not without risk; the turbine will explode if you break one of its blocks while it is in operation, Cut off the steam supply without shutting it down, or it is throttled down too quickly.  The turbine can be throttled down by sliding the Power lever until it stops.  If it is done too quickly the turbine will explode.  Once the turbine is in operation it is mostly maintenance free  A special upgrade can be installed to automatically shut down the turbine properly if steam is cut off.  This upgrade will consume an expensive item called the "Turbine Brake".  The upgrade may reduce the chance of explosion, but will not eliminate it.  I also suggest making steam a gas.
:)

As far as I know, turbines (And probably other ways to use that much steam) are already planned.

True.  I just wanted to suggest my idea for how it would be implemented.  My reasoning for making steam a gas is because steam is a gas in real life and it would prevent people from using the turbine with other mods steam.  perhaps steam could heat a evaporator instead of solar panels for faster fuel production.  That way; once the reactor is started it can run itself at a higher rate without using a million solar evaporation towers.  I also suggest Lithium neutron bombardment in the reactor.  Lithium could also be extracted from clay.  Also He3 can be an alternate fusion fuel for aneutronic reactions which should not require shielding over the reactor.  (Something I would like added).  I hope you guys like my ideas :)

Turbines are completed for the coming release of v9.


fix: fix github action to check untracked files

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Fix github action to check untracked files.
The git diff --exit-code cannot found difference of those untracked files. So I used git status instead.

@zyy17 Done! PTAL


Grafana dashboards v2

Is it possible to share Grafana dashboards for V2? It seems that labeling for Prometheus is a lot different than v1.

Absolutely! I'll try to upload the Dashboard JSONs today or tomorrow. Sorry for teasing them in the readme without linking them, I didn't expect anyone to notice it so quickly.

Uploaded and linked in the Readme :-)


Multiple translation packages

I do translation for an application. That application can run plugins provided by independent authors which should also do translation. I guess the plugins need to have their own packages for translations. Is this supported or is it a good idea to do so?

Hi,
I'm sorry, but that particular use-case was not considered in the design,
and it is not supported. The system is build around the idea that there
will be one vendor in control of the entire application, and one
translation file for the entire source base.
That said, your plugin provider could provide translations that could be
merged into the software system, but this would require all of the plugin
vendors to pre-supply translations, and would therefore be difficult to
manage.
Tony
On Sat, Feb 7, 2015 at 2:21 PM, LA7ECA, Øyvind Hanssen <
<EMAIL_ADDRESS>wrote:

I do translation for an application. That application can run plugins
provided by independent authors which should also do translation. I guess
the plugins need to have their own packages for translations. Is this
supported or is it a good idea to do so?
—
Reply to this email directly or view it on GitHub
https://github.com/awkay/easy-i18n/issues/3.


Make the cities and countries start from a capital letter

Is this a feature or is this a bug? "madrid, spain", "moscow, russia"... My internal grammar nazi goes mad.

One design concept we are exploring. Will be reviewed when the design gets reviewed.


Partner Experience: revamp ingestion docs and guidelines

Revamp the ingestion filtering doc to align with partner experience goal of presenting less doc/config and more opinionated  single best practice. Focus on ingestion strategy, monitoring, filtering operation, rules config, Include example of Asset and Account filter rules and how outcomes affect data stored in history.
To review, these are the changed pages:
https://developers-pr168.previews.kube001.services.stellar-ops.com/docs/run-platform-server/ingestion
https://developers-pr168.previews.kube001.services.stellar-ops.com/docs/run-platform-server/ingestion-filtering
https://developers-pr168.previews.kube001.services.stellar-ops.com/docs/run-platform-server/monitoring
Closes #147

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr168.previews.kube001.services.stellar-ops.com


Old App in AppData after Update

If i download the newest version (setup.exe) and install it, the old version is still in AppData.
Also its very unusual that the installed app is installed in AppData.
the Path is of the exe file is:

C:\Users\MYNAME\AppData\Local\Apps\2.0\38R88MX3.K67\KAQ0Y1YY.BCK\casu..tion_20d6e3ba73542d2e_0001.0000_cdcb69db19a444bc

As exemple, the old app is still their in path:

C:\Users\MYNAME\AppData\Local\Apps\2.0\38R88MX3.K67\KAQ0Y1YY.BCK\casu..tion_20d6e3ba73542d2e_0001.0000_dc93863583781e7c

Their are also just empty folders in here:

C:\Users\MYNAME\AppData\Local\Apps\2.0\Data

Windows10 64bit

Ask Microsoft why they do that.

It did never update alone for me.

Microsoft said, u r not building the app correctly.


refactor: defines the base structure of dfget(GoLang)

#43

Codecov Report

Merging #89 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #89   +/-   ##
=======================================
  Coverage   56.75%   56.75%
=======================================
  Files           4        4
  Lines          74       74
=======================================
  Hits           42       42
  Misses         27       27
  Partials        5        5

Continue to review full report at Codecov.

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


add helper to debug_assert that current span has a TenantId

We already have debug_assert_current_span_has_tenant_and_timeline_id.
Have the same for just TenantId.

An error occured while performing auto-merge.

That is interesting, also I see the page is misbehaving, doing full redraws after my each written character.

Still, I'll ping you on this.


test new jest job for typescript 5+ projects

ts-node is not working properly in CircleCI with typescript 5+ projects
I want to test to use node instead of ts-node for this job in order to make the pipeline of orders-spa work !

please rename orb to start with js_, so it would be js_custom_jest_runner_job.yml


Form schema allows undocumented required field on checkbox options

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
GitHub Form Syntax
What part(s) of the article would you like to see updated?
The description of the options array for the checkboxes element only lists "label" as a valid key in the map.  But the example shows that the "required" key can also be provided:
- type: checkboxes
  attributes:
    label: Code of Conduct
    description: The Code of Conduct helps create a safe space for everyone. We require
      that everyone agrees to it.
    options:
      - label: I agree to follow this project's [Code of Conduct](link/to/coc)
        required: true

The table should be updated to list the "required" key.
Additional information
No response

Nice lucrative ideas my dear

@rnowling-memphis I'll get this triaged for review! :zap:

Hi @rnowling-memphis, thanks for opening this! ✨ It would definitely be helpful for folks if we documented the required key on "Syntax for GitHub's form schema".
You (or anyone else!) is very welcome to open a PR to address this.

Hi @stevecat , @cmwilson21 ,
I have raised a PR which adds the required key to the description of the options array.
Could you guys please take a look whenever you get chance?
Also big thanks to @rnowling-memphis  for addressing this issue.
Thanks!


rangeBar x-axis tooltips don't display with v3.36.0

X-axis tooltips are not displayed for rangeBar with apexcharts v3.36.0 but work correctly with v 3.35.5.
Steps to Reproduce
Please have a look at codepen https://codepen.io/andrussuitsu/pen/wvXBoBr
I have configured it to use v3.35.5 library and it works
The same code is used here: https://codepen.io/andrussuitsu/pen/qBKEqzr
It has been configured to use v3.36.0 and the tooltips are not displayed
Expected Behavior
Display tooltips when I hover over the range.
Actual Behavior
Tooltips are no longer displayed when I use the latest apexcharts version (v3.36.0 as of now).
Reproduction Link
https://codepen.io/andrussuitsu/pen/wvXBoBr -- all is good
https://codepen.io/andrussuitsu/pen/qBKEqzr -- tooltips not displayed

Fixed in v.3.36.1

I'm still facing this issue even on 3.36.1. The Timeline example page available on the ApexCharts website still shows no tooltip and throws the "opts.ctx.rangeBar.getTooltipValues is not a function" error to the console.


Activating use_texture_padding disables mipmaps (Atlas)

Godot version
v4.0.2.stable.official [7a0977ce2] v4.0.3.stable.official [5222a99f5]
System information
Ubuntu 20.04.6 LTS
Issue description
Activating property use_texture_padding for an Atlas disables mipmaps for this atlas.
Activating the property use_texture_padding should not disable mipmaps because it makes impossible the creation of clean HD-2D maps with zoom/unzoom.

Steps to reproduce

Create a Tilemap Node
Add a new Tileset to the Tilemap.
Import a new texture from an HD image with the property mipmaps/generate activated.
In the Tileset Pannel, add a new Atlas using the previously imported texture.
Add some tiles to the map.
Try activating/disabling the property use_texture_padding of the atlas and zoom/unzoom to check if the map looks pixelated (= mipmaps not used)

Minimal reproduction project
Test use_texture_padding and mipmaps.zip

cc @groud
I discussed this with OP; we should probably generate mipmaps automatically after creating padding if the source texture also has mipmaps enabled.

I discussed this on Discord with OP. To resolve the issue, we should probably generate mipmaps automatically after creating padding if the source texture also has mipmaps enabled.

Hmm, if you take a TileSet texture and generate mipmaps for it, then pixels will end up blurred, and texture bleeding is bound to happen anyway. So I am not sure that texture padding is very useful when mipmaps are enabled (it might help, but the problem will be visible anyway).
I see several solutions:

Disable or display a warning when you use texture padding with mipmaps.
Allow texture padding to add more padding pixels for higher mipmaps levels. That's not optimal, but it might mitigate the texture bleeding on higher levels too.
Generate the mipmaps in a smarter way, by blurring each tile individually, not as a whole image. This is the best solution but it might not be easy to implement.


Remove counter from collection signing UI

Issue: AAH-1852
Connected to https://issues.redhat.com/browse/AAH-1794
I have changed wording and removed phrases that only apply when signing multiple versions of the same collection, which is no longer possible.
These are the steps for signing collections:

Feed your local system with some collections
Add to your .compose.env the settings:
ENABLE_SIGNING=1
PULP_GALAXY_COLLECTION_SIGNING_SERVICE='ansible-default'
PULP_GALAXY_REQUIRE_CONTENT_APPROVAL=true
PULP_GALAXY_AUTO_SIGN_COLLECTIONS=true
Run: ./compose exec api ./entrypoint.sh manage create-test-collections --strategy=faux --ns=1 --cols=10 --prefix=signing
Then you can go to approval dashboard and approve & sign some collections
browse http://<IP_ADDRESS>:8002/ui/repo/published and http://<IP_ADDRESS>:8002/ui/repo/staging and check if the badges are showing ok

Before:

After:

/retest

/retest


Audit.log doesn't include cluster name

In reviewing the Splunk Otel logs flowing through Splunk, I've noticed the cluster name "k8s.cluster.name" doesn't ever show up. Splunk Connect for Kubernetes does show cluster_name field for all audit.log

Thanks for your report! Please make sure to open a support case to follow up. We are slowly moving away from github issues at this time.


Include update/upgrade guidelines in Readme

I just saw that v0.0.4 was released and tried to install it.
A fresh install went through fine,
but trying to install os-crowdsec-0.0.4.txz over v0.0.3 failed with
# pkg add os-crowdsec-0.0.4.txz  Installing os-crowdsec-0.0.4... the most recent version of os-crowdsec-0.0.3 is already installed

I had the same situation occur, with the same error message.  As I'm not as familiar with FreeBSD as I am with Linux, a quick search showed that changing 'add' to 'upgrade' is required for a package update.
# pkg upgrade os-crowdsec-0.0.4.txz
After restarting CrowdSec, all appears ok, except for the red cross under Validated?  I did get a success message (machine '--MACHINE-NUMBER--' validated successfully) in the console, but the GUI still has a red cross.  The command that I used was -
# cscli machines validate --MACHINE-NUMBER--

Thanks. The readme now mentions pkg upgrade.


Can not install kivy on macOS - SDL2 error

Versions
Python: 3.6.5
OS: macOS Sierra 10.12.6
Kivy: latest stable
Kivy installation method: homebrew with pip
Description
Even though I tried all the steps in #5653  I have the same problem still.
I can not install kivy
Code and Logs
The error (-end, as there are many)
In file included from /private/var/folders/85/ndbqsh5n5s79pz0564vvbvcr0000gn/T/pip-D5TGyb-build/kivy/core/text/_text_sdl2.c:485:
In file included from /Library/Frameworks/SDL2_image.framework/Headers/SDL_image.h:27: In file included from /usr/local/include/SDL2/SDL.h:36:
In file included from /usr/local/include/SDL2/SDL_audio.h:32: /usr/local/include/SDL2/SDL_error.h:59:5: error:
redefinition of enumerator 'SDL_EFWRITE' SDL_EFWRITE, ^ /Library/Frameworks/SDL2.framework/Headers/SDL_error.h:59:5: note: previous definition is here SDL_EFWRITE, ^
fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. error: command 'clang' failed with exit status 1

Duplicate of #5653

Sorry, the #5623 reference it, but it is a new one.


Duplicate type OptionsCheckbox

https://github.com/aakashns/react-native-dialogs/blob/master/DialogAndroid.js#L16 and https://github.com/aakashns/react-native-dialogs/blob/master/DialogAndroid.js#L49 is duplicated.
@aakashns @Noitidart Should they be different?

Thank you for catching and pointing this out. These should definitely be different. The first "OptionsCheckbox" is to add a single checkbox as seen in screenshots here - https://github.com/aakashns/react-native-dialogs/pull/86#issuecomment-393408317
The second "OptionsCheckbox" is key/value pairs accepted if the listType is set to DialogAndroid.listCheckbox.
I think I'll rename the second one to OptionsCheckboxList. I will also rename OptionsRadio to OptionsRadioList. What do you think?

Perfect!


Pip installing nightly does not work anymore

Description
A pip install --no-cache-dir --pre mxnet -f https://dist.mxnet.io/python/all does not install a nightly version like mxnet==2.0.0b20210709 but mxnet==2.0.0. The reason is that 2.0.0 is "later" than the nightly versions, e.g. 2.0.0b20210709 or 2.0.0b20210710.
Either the 2.0.0 package in https://dist.mxnet.io/python/all is wrong or the nightlies should be 2.1.x.

I've deleted the problematic wheels from the nightly file index and invalidated CDN cache.

This has unleashed the nightly version, thanks!

The Linux builds now seem up to date (latest is 20210715), but the osx builds have stopped working (last nightly 2.0 release is 20210707).

@bartekkuncer I'm seeing timeouts (3hr time limit) after onednn 2.3 upgrade. Any suggestion on how to improve onednn compilation speed?

@bartekkuncer I'm seeing timeouts (3hr time limit) after onednn 2.3 upgrade. Any suggestion on how to improve onednn compilation speed?

@szha I looked at oneDNN Build Options (https://oneapi-src.github.io/oneDNN/dev_guide_build_options.html) and there are two flags which improve compilation speed: DNNL_BUILD_EXAMPLES=OFF and DNNL_BUILD_TESTS=OFF, but these are already included in CMakeList.txt file.

It seems like for OS X the latest build is still from 20210707.

There is no macOS package for the latest release of mxnet (1.9.0), is macOS not supported by mxnet any more? @leezu
https://pypi.org/project/mxnet/1.9.0/#files


mesh is culled based on original geometry

Bevy version
0.13.0
If your bug is rendering-related, copy the adapter info that appears when you run Bevy.
`AdapterInfo { name: "Intel(R) UHD Graphics 630", vendor: 32902, device: 16018, device_type: IntegratedGpu, driver: "Intel Corporation", driver_info: "Intel driver", backend: Vulkan }`

What you did
I created a simple mesh using with_inserted_attribute
let mesh = meshes.add(
    Mesh::new(
        PrimitiveTopology::LineList,
        RenderAssetUsages::RENDER_WORLD | RenderAssetUsages::MAIN_WORLD,
    )
    .with_inserted_attribute(
        Mesh::ATTRIBUTE_POSITION,
        vec![
            Vec3::from(origin),
            Vec3::from(origin),
        ],
    ),
);

which I later mutate using insert_attribute
wire.insert_attribute(
    Mesh::ATTRIBUTE_POSITION,
    vec![
        Vec3::from(origin),
        Vec3::from(cursor_position),
    ],
);

What went wrong
The new mesh renders only if the origin point is in view/clip space. i.e. the entire line disappears as soon as one end of it goes out of view.
Additional information
I tried adding NoFrustumCulling with no effect. It seems like the geometry is being culled with the original data it was created with.

Did you update the bounding box of your mesh after modifying the vertices?
From the docs:

[The bounding box] won’t be updated automatically if the space occupied by the entity changes, for example if the vertex positions of a Mesh inside a Handle are updated.

Sounds like that could be the problem since culling uses the bounding box. You can update it by inserting a new Aabb component to the entity with the handle:
if let Some(aabb) = wire.compute_aabb() {
  entity.insert(aabb);
}

This fixed the issue.
Although, I think it would be helpful to have this mentioned under functions such as insert_attribute

Agreed. It would be nice to rename the issue to something along the lines of "Document the need to recompute AABBs on methods that could change mesh geometry"

I can give it a try if no one else is working on it.

If there are no open PRs (including drafts) for this then that means nobody called dibs, you can go ahead and do it yourself!

I created a PR for this with updated docstrings in two functions (with_)insert_attribute. Are there others which should reference Aabbs?

@ua-kxie I believe merge, transform(ed)_by, translate(d)_by, rotate(d)_by, and scale(d)_by all modify the Mesh::ATTRIBUTE_POSITION

Just realized there's the  query filter; was there a deliberate decision not to use it for updating AABB or is it something that needs to be done?


Error on reading/passing audio file

Hi
I was trying to execute the code snippet  in https://docs.deepaffects.com/docs/speaker-diairization-api.html but for some reason I cannot get in working. Could you please help me figure out if I missed any steps ? Please find the attached error screenshot

The error occurs at line body = deepaffects.DiarizeAudio.from_file("/path/to/file")

Hi @sithara
You need to install MediaInfo from here

Hi @sushant-hiray  I have already installed MediaInfo but still see the issue

What is the extension of your file?

.wav

Just to be sure, if you've installed the mediainfo dlls and installed pymediainfo? pymediainfo is just a wrapper on the software on the link above

Yes, I have pymediainfo also installed

Sorry, I had the MedioInfo stored at the incorrect path . The code seems to be working fine now 👍

hi, sithara, i meet same problem.where are you store the MedioInfo .


Improved implementation of KafkaError and KafkaAcknowledgedMessageError

Closes issues:
#25, #29
Motivation:
The general idea is to have a single error type (namely KafkaError) that is used for all errors in the program.
However, I still kept the KafkaAcknowledgedMessageError as we somehow need to provide our users with a convenient way to access the messageID of a failed message acknowledgement.
The challenge I faced in this PR is that the C library comes with its error types that shall not be exposed publicly. My solution is to wrap the C library's errors inside a dedicated case of the KafkaError type.

Hey @FranzBusch ,
Thank you for your review of this PR! I have implemented your suggestion accordingly. Please have a look 😄
Regarding our static error types: can we omit the reason: and wrapper: labels?


Update mops and call mops sources with --no-install flag

Sometimes errors may occur when a user runsmops install because ext calls mops sources which starts with mops install, so we get two concurrent install processes. With --no-install flag this problem should go away.

Thanks for the fix! How recently was the --no-install flag added to Mops? Since the extension uses an externally installed Mops version (rather than the version bundled with the extension), we could adjust the error message to encourage updating Mops if the command is unsuccessful.

Here is what I'm imagining (updating the error message slightly below the original code change):
throw new Error(
    `Error while finding Mops packages.\nMake sure the latest version of Mops is installed locally or globally (https://mops.one/docs/install).\n${err?.message || err}`,
);

How recently was the --no-install flag added to Mops? Since the extension uses an externally installed Mops version (rather than the version bundled with the extension), we could adjust the error message to encourage updating Mops if the command is unsuccessful.

In 0.45.0 a week ago. Maybe we should give it a time so fewer users encounter errors...

Here is what I'm imagining (updating the error message slightly below the original code change):

The CI error should be fixable by running npm install in case that saves you a bit of time.

Done

Added mops version check

I just got a chance to check back on this. Thanks for the update! The PR is set to auto-merge after fixing the conflicts in package-lock.json.


infrastructure v3: Decide the compatibility layer

To ease the transition between nri-kubernetes v2 and v3 we will add a set of helpers that translate or validate values form the old to the new chart. So far we have two approaches, both of which I think acceptable:

Rename the chart and not add a compatibility helper
Keep the old name for the chart and add a compatibility helper

Option 1
Rename and avoid helper:
We would add the new chart with a new name. In the bundle chart, a helper would perform very basic sanity checks:

Fail if both old and new are enabled (unlikely to happen)
Fail if the old chart has any kind of config that does not have an equivalent in the new one.

This makes the upgrade process safe: We will fail and point the user to a simple migration guide if they have complex config. For simple things, like the privileged flag, we check they are equal and go ahead. If more complex options are set, we just fail and point to the migration guide.
Here we assume that most customers will not have custom values. If this is the case, the migration does not need intervention in the happy path. (edited)
Option 2
Keep name and add helper:

We add the new chart, newrelic-infrastructure-beta aliased as newrelic-infrastructure.
We add a helper that translates the values and emits a deprecation warning.
In the future, we rename newrelic-infrastructure-beta with newrelic-infrastructure, making the change breaking after some time.
This will make us stick with the old name.

Option 2 has been chosen, in particular:

regarding the compatibility layer we decided to timebox it and if needed we can simply error at upgrading time pointing to docs showing how to translate values


HPKP deprecated in favor of Certificate Transparency

I expect
To mention that https://developer.mozilla.org/en-US/docs/Web/HTTP/Public_Key_Pinning is deprecated.
Add suitable references to Certificate Transparency.

note: the change is here
https://github.com/d3fend/d3fend-ontology/commit/c91dbaa7b364f6695e164372bca3e8b3b163ec63#diff-c9e7a3b5c8509ab3baab259fd3b54f3b3c82fb12d6858868d1f253d0aad105e7R19452
Protege is introducing spurious changes in the ttl file if there multiple predicates, it non-deterministically sorts their values. @hack-sentinel and I are looking for a solution to that problem.

@netfl0 that was quick! Thanks anyway.
For the sorting issue, probably a code formatting/linting tool can take care of it.
If you are interest in a pre-merge review, feel free to file a pull request and tag me.


Engine V2 display builds has bad links for led tasks

Using https://chromium-swarm.appspot.com/task?id=5e32e83d4b703f10 as example the links in the display section always return 404.

The reason for this failure is the led commands use swarming directly but it creates the links using the buildbucket urls. E.g. https://cr-buildbucket.appspot.com/build/5e32e92997dbd210 which should be https://chromium-swarm.appspot.com/task?id=5e32e92997dbd210

Fix has landed https://flutter-review.googlesource.com/c/recipes/+/35161


Implement the viewporter protocol

[x] Apply viewport transforms to damage
[x] Error out when src_width or src_height are not integers and destination size is not set
[x] Compositor implementation

Test plan:

[x] weston-scaler -s
[x] weston-scaler -d
[x] weston-scaler -b

Closes: https://github.com/swaywm/wlroots/issues/633

This is now ready for review.

On a first pass, this LGTM. Would like @ascent12's thoughts and pending some discussions in IRC.

Removed the "breaking" label, this isn't a breaking change.
Update to use wlr_fbox.

Ah, this is a breaking change for custom renderers. My bad.

Ping @ascent12

Thanks!


Same cells used in bidirectional

the OrthoGRUCell within SentenceEncoder (and possible also elsewhere) uses the same cell in both directions. There should be different cell for both directions.
We could also do benchmark of what is better if same cell or different cells.

.. viz mails. no bug.


Sentinel challenge PR

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes

0 out of 2 committers have signed the CLA.

[ ] root
[ ] Anttoni-Pykalisto

root seems not to be a GitHub user.
You need a GitHub account to be able to sign the CLA. If you already have a GitHub account, please add the email address used for this commit to your account.
Have you signed the CLA already but the status is still pending? Recheck it.


Adding config file validator

Summary
The config  file is now checked for errors by validating it against the new config schema
New behavior
When there are one or more errors in the config file, the client will fail and tell the user what is wrong with their config file
Code changes

configValidator.js contains the new validateConfig() function that performs validation
checkInputAndConfig() in app.js now calls the new validateConfig() function instead of manually checking for patientIdsCsvPath
Adjusted tests in app.test.js to work with the new validator
Added new tests for the config validator in configValidator.test.js

Testing guidance

Ensure that when the config has no errors, the client still runs as expected
Mess up the config file in more than one way (remove a required field, use a wrong type, use a wrong format) and make sure the error message alerts you of all errors in your config
Make sure all tests still pass and new tests make sense

Made a tiny comment but everything about the functionality/tests looks good to me


Let there be write

Makes it easier to setup odb for testing instead of doing fs.pipe_file + odb.add(). I think it is convenient to have this function instead of using two APIs.

Codecov Report

Merging #67 (6ad61a2) into main (aab0da7) will increase coverage by 5.71%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #67      +/-   ##
==========================================
+ Coverage   45.41%   51.12%   +5.71%
==========================================
  Files          34       35       +1
  Lines        2008     2038      +30
  Branches      238      239       +1
==========================================
+ Hits          912     1042     +130
+ Misses       1078      977     -101
- Partials       18       19       +1

Impacted Files
Coverage Δ

src/dvc_objects/db.py
30.26% <100.00%> (+30.26%)
:arrow_up:

src/dvc_objects/fs/base.py
51.10% <100.00%> (+6.12%)
:arrow_up:

tests/conftest.py
44.30% <100.00%> (+6.27%)
:arrow_up:

tests/test_odb.py
100.00% <100.00%> (ø)

src/dvc_objects/fs/implementations/memory.py
92.85% <0.00%> (+14.28%)
:arrow_up:

src/dvc_objects/fs/path.py
36.26% <0.00%> (+36.26%)
:arrow_up:

src/dvc_objects/obj.py
47.36% <0.00%> (+47.36%)
:arrow_up:

src/dvc_objects/errors.py
100.00% <0.00%> (+100.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Unit test & ToString localization

Unit tests fail because the ToString returns en-US localization on build server, but cz-CS localization on my development machine.

Made the Point2 ToString culture invariant


[Circularity KIT] Release Checks

This issue tracks all relevant release checks for your KIT.

[!IMPORTANT]
Follow the guidance on how to use the templates.

Release Info
[1.1.0] - 15.05.2024
Added

add references to PCF Content

Changed

change glossary to unified version

Removed

remove duplicate content from PCF KIT

Version to be included in Eclipse Tractus-X release:24.05 v1.1.0

KIT semantic version of change log.
Date of KIT publication must be aligned with overall release date.

If changes to your KIT are not yet live on our website, link the open PR introducing the changes for this release.
If changes are already live, also point out the PRs witch included the changes for this version if possible.

860

General

[x] CHANGELOG available and maintained
[x] Tractus-X Release Guidelines fulfilled

Adoption View

[x] Vision and Mission statement present
[ ] Business Value statement present
[x] Semantic Models linked and described
[x] Logic / Schema available and described
[ ] Business Process documentation available
[ ] Access and Usage Policies documented
[x] Standards submitted / published via the Catena-X e.V. process and linked with current version (e.g., semantic models)
[ ] Tutorials available
[ ] White Paper available
[x] Notice CC BY 4.0 licence statement available

Development View

[ ] API Specification published on SwaggerHub
[ ] Protocols available (e.g., dataspace protocol)
[ ] Sample Data available
[ ] Architecture integration into the overall Catena-X architecture and / or product architecture (e.g., Arc42) available.
[ ] Reference Implementation available

Operation View

[ ] Setup Guide available (e.g., installation guides)
[ ] Deployment Script available (e.g., helm charts)

Helpful Links

Catena-X standard library

Review done. Please address requested changes latest by Friday 24.05.

Ready to merge.

Merged!


PEP 621-style license field shows the entire license text

Describe the bug
When using PEP 621-style project metadata with a license file (see https://peps.python.org/pep-0621/#license), the entire license text is shown in the Meta -> License section of a package on pypi. For an example see https://pypi.org/project/pytest-logikal/ and the relevant pyproject.toml file https://github.com/logikal-io/pytest-logikal/blob/main/pyproject.toml#L10. Showing the entire license text makes the Meta section almost useless by pushing the rest of the metadata quite far to the bottom.
Expected behavior
The license text should be hidden by default and perhaps shown with a modal upon clicking "see full text". Note that the issue is similar to https://github.com/pypi/warehouse/issues/1354, however, it is a little different due to the PEP 621 standard causing this behavior. With more and more projects adopting PEP 621 I would expect this to be a bigger issue over time.

Some related discussion is here: https://github.com/FFY00/meson-python/issues/129

Thanks for the context! I think that the current UX needs to be improved regardless of how PEP 639 goes, the "Meta" section is really messed up for anyone who follows PEP 621 right now (which is the accepted standard at the moment). I think showing the (short) license name from the trove classifier there is more than enough (when available) with a fallback to the first line of the license text or so. PEP 639 would use different fields anyways, so even if that gets accepted you need to be able to deal with all the "legacy" approaches like PEP 639 or anything from before.
It seems to me that that area in the PyPI UI is not meant for displaying anything more than a short-ish line anyhow, so at the very least the excess text should be truncated/hidden.

I must add that currently setuptools just copies the contents of the referenced license file into the "License" field in PKG-INFO, so it can be interpreted that the contents of the field are the actual license text of the package. I can imagine that displaying the entire license on PyPI would be potentially useful, just not in the way it is done at the moment.

Lastly, I see what you mean by https://packaging.python.org/en/latest/specifications/core-metadata/#license and so I believe setuptools does the right thing, we should probably just not use the license field together with the trove classifiers (in light of the core metadata specification). Nonetheless, even if someone used the license field according to the PyPA specification and added a longer custom license text there, the Meta section on PyPI would be still messed up, so I think this is indeed a valid bug, regardless of the slightly confusing specifications surrounding license information.

What would you like PyPI to do here that isn't already covered by #1354? We unfortunately have no way to distinguish that contents of the License field are due to PEP 621, just that it's a very long string that breaks our UI.

It kinda works for me, even though the current implementation with just the truncation is a bit rough. I guess having a preference to just show the license as parsed from the trove classifier when there's one would be more elegant. Is there anything against doing just that?

Yes. Here's what I wrote in https://github.com/mesonbuild/meson-python/issues/129#issuecomment-1220973833:

Because, historically, when someone specifies the License field, they wanted to see that value displayed on PyPI. Per the core metadata spec, License is supposed to be used instead of classifiers:

Text indicating the license covering the distribution where the license is not a selection from the “License” Trove classifiers.

But in practice, people tend to specify both. Generally, providing multiple lines for License is a configuration mistake, so instead of dropping an entire file in the sidebar, PyPI just displays the first line, which is usually the name of the license (but isn't guaranteed to be).

So if you don't want to see the truncated bit, the solution is to not specify it as License and just use the classifiers instead.

I understand, it's just that this approach seems to be very counter-intuitive in light of PEP 621. What you are saying essentially means we must not use the license field as recommended there whenever we use a standard license. That is really confusing.
Perhaps what was proposed in #1354 would indeed be the most elegant solution after all. Having a link saying "see full license text" instead of the current truncated sentence seems like the most user- and package author-friendly approach.

I noticed that this is now working much better. I don't know if it was fixed on purpose, and if so, by whom and how. But thank you either way:)
This issue can probably be closed now? Here is what it now looks like for SciPy (pytest-logikal and other packages I checked look good too):


iOS build: Module 'google_mobile_ads' not found

Plugin Version
google_mobile_ads: ^0.13.4
CocoaPods 1.11.2
Latest XCode
iOS Deployment Target: 13.0

Steps to Reproduce

Run flutter ios build (works fine)
Go to XCode
Set in menu: Product -> Destination -> Any iOS Device (arm64)
And then archive it: Product -> Archive

Expected results:
App is archived successfully and then could be uploaded to the App Store.
Actual results:
An error occurs: Module 'google_mobile_ads' not found

Logs

[✓] Flutter (Channel beta, 2.3.0-24.1.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale ru-RU)
    • Flutter version 2.3.0-24.1.pre at /Users/Bob/Documents/Projects/Flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 615957513e (3 months ago), 2021-06-25 09:24:44 -0700
    • Engine revision 9d517f475b
    • Dart version 2.14.0 (build 2.14.0-188.5.beta)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 51.0.2
    • Dart plugin version 201.9245
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.60.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.26.0

[✓] Connected device (2 available)
    • iPhone 8 Plus (mobile) • 83438SDSD-DS34-8923-88DS-DSDASD87ASD • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 93.0.4577.63

! Doctor found issues in 1 category.

@lumenier1 did you resolve the issue?


CALLSP/CALLBG/CALL aren't highlighted.

Pretty self-explanatory title.
Picture of CALL in use but not highlighted.

Yet another issue of font-lock regexp differing slightly from other expectations of valid regex in Emacs, I think.  I fiddled with it a bit but couldn't stumble on the easy answer so I'll have to look at it more later.
To be fair, SmileBASIC'S parser has to handle CALL (SPRITE|BG) specially too.

resolved in https://github.com/PatheticFish/smilebasic-mode/commit/d3b20c92051e3cfae5137d1e4ce2ba8126494794


Parse license object(s)

As well as licenses, license has allowed an albeit now deprecated object per https://docs.npmjs.com/files/package.json#license
{ "license" :
  { "type" : "ISC"
  , "url" : "https://opensource.org/licenses/ISC"
  }
}

(While a comment states, "Not valid metadata", it goes on to say "Those styles are now deprecated", i.e., they are not entirely rejected yet.)
Some packages still use this format, so weren't being found for approval. I think this format, and the array format, should be supported.
Thanks!

@brettz9 I wrote that package.json doc. If it's unclear, we should fix it. Don't use an object. Use a string.
A number of old packages with license objects have corrections in npm-license-corrections.

I think the npm docs are clear that one should not use objects, but the term "deprecated" suggests to me that it is still technically permitted, at least until such time as a later version of npm prohibits its use, at which time it will no longer be "deprecated" but "obsolete". This is at least the way I have seen browser specs using the term and though new items are encouraged from using it, the current system will still support them.
Re: npm-license-corrections, I see--good to know; perhaps I'll file the ones I discover there, at least if the project owners do not respond to update. Thanks!

@brettz9 npm will not reject npm publish commands or tarballs with arbitrary data in package.json's license property. But only one kind of data are valid, SPDX expressions or SEE LICENSE IN $place magic strings.

Closing since corrections satisfies.


Saving a file takes too long.

When editing a file, saving sometimes takes about 2sec (not actually measured, just a feeling). This leads to workflow problems for me, because doing the following commands sometimes takes less than the time that atom needs for saving the file:

Edit a source file
Save it
Switch to terminal
Run something that uses the file
BOOM!

I don't know too much about the internals of atom, but it looks like the document needs to be stripped of all its html markup before being saved, which takes time of course. Maybe, a plain text copy of the content could be stored in memory, which is used for quickly saving the content.

Does the editor freeze up for a sec? Did you try in safe mode? atom --safe . Check out the debugging document

@benogle I too experienced this when saving xml files with lot of nodes; the editor will freeze for far more than a sec... sometimes it will even crash; probably it will be dealt with when support for large files is completed?
It doesn’t happen when using safe mode by the way.
A sample document: http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng
Just delete a large chunk of text and try to save, atom should freeze if not in safe mode

It doesn’t happen when using safe mode by the way.

Then this is caused by a community package, not Atom core. What's your list of installed packages? (apm list --installed)

@mnquintana
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>I’ll try to disable everything to find the culprit

Found! It’s tabs-to-spaces when set to "untabify on save"

Yep, thanks @andya9, I can confirm it is tabs-to-spaces. The freezing doesn't happen in safe mode, and also not with this package disabled.
Oh, just saw your update now. Thanks also for forwarding to the package issue thread. I think this issue can be closed now, as it is not atom internal.

@lczech I’m glad we could find why it was happening
Thanks @mnquintana for pointing towards the solution!


Add thourough code docs

Personally, I would jump onto this project if it had the necessary documentation, I don't want to go and spend entire days of my life trying to figure out what the code means or what it does. Write some docs, make a list of goals, and wait for people to open pull requests. Obviously a suggestion for the dev, they don't have to this, I personally think it just would be better. Great job so far.

I agree, this would help many people, including me, for example, at the moment I want to understand which attach method is used

just, just die

I agree, this would help many people, including me, for example, at the moment I want to understand which attach method is used

maybe use ur brain and see which one

just, just die

obviously since youre saying this on a coding platform youre not mature enough to be here.

i also agree with this, it would help us understand how we can modify it and use it. ofc following licence.


Fix warnings

This commit will fix these warnings:
MiniTest::Unit::TestCase is now Minitest::Test.

thanks!


Robots exclusion standard missing

Error 404 returned for robots.txt file

I added some plugins to generate robots.txt :)
It works on 1.1.4
https://github.com/wonism/gatsby-advanced-blog/commit/e48b4ecf61b5992ebd2c0b7a25ef330936927233#diff-b9e136416b90437fa1dac910280b45fc

Nice!


Anchor serialization debugging for IDL

Manual serde implementations
Add idl feature
type annnotations

This branch is pretty stable at this point, so we can merge it and move on.


Export name attrs

Adjust code to cope with the existence on name attributes in names, which needs to be exported when exporting contexts and credentials
@kvv81 unfortunately the requirement to be able to export/import data forced me to allocate attribute names. Please checkout the first commit.
@frozencemetery PTAL

Note that the code to export data had quite nasty bugs on reallocation, so I had to change the code in some key area in order to make name attribute export work, as they triggered a lot the reallocation code.

@frozencemetery @kvv81 I hopefully addressed all issues as commented.

Thanks


Agent mode PromQL engine shutdown ends in crash due to nil pointer dereference

What did you do?
Ran Prometheus (built from main) in agent mode and then shut it down.
What did you expect to see?
An orderly shutdown.
What did you see instead? Under which circumstances?
A crash:
ts=2024-09-07T19:41:50.112Z caller=main.go:1041 level=warn msg="Received an OS signal, exiting gracefully..." signal=interrupt
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x2f2865d]

goroutine 20 [running]:
github.com/prometheus/prometheus/promql.(*Engine).Close(...)
	/home/julius/gosrc/src/github.com/prometheus/prometheus/promql/engine.go:438
main.main.func10()
	/home/julius/gosrc/src/github.com/prometheus/prometheus/cmd/prometheus/main.go:1048 +0x33d
github.com/oklog/run.(*Group).Run.func1({0xc000898000?, 0xc0008a4000?})
	/home/julius/gosrc/pkg/mod/github.com/oklog/run@v1.1.0/group.go:38 +0x29
created by github.com/oklog/run.(*Group).Run in goroutine 1
	/home/julius/gosrc/pkg/mod/github.com/oklog/run@v1.1.0/group.go:37 +0x5a

I did a git bisect and this bug seems to have gotten introduced in commit 0cc99e677ad3da2cf00599cb0e6c272ab58688f1 of https://github.com/prometheus/prometheus/pull/14064

@aknuds1

Thanks for the heads up, looking into it.

@juliusv please check my fix #14861.


Clarify guidelines for adding shield support for new countries

There's been a wave of contributions lately, adding route shield support for non-US countries. We should make it more obvious what the prerequisites are for supporting route=road tagging schemes in OSM-Americana.
Some guidelines off the top of my head:

Values of network=* must begin with the country's ISO 3166-1 alpha-2 code, followed by a colon :. The country's alpha-2 code alone may also be used as a value of network=*.

Or, if this is a route network assigned by an international organization (to which country codes would not apply), the value of network=* must be globally unique, avoiding conflict with existing values of network=*. It must be at least 3 characters long to avoid collision with country codes.

Each value of network=* must correspond to only one shield design. We must be able to use network=* to determine which route shield design is ~used on the ground~ intended to be displayed.
The tagging scheme of network=* should be free of unnecessary complexities. It should be easy for other software projects to work with.

For example, Interstate Highways in the US are tagged network=US:I without specifying which state they are in. In real life, many Interstate Highway shields have the name of the state on them, and some routes have numbers duplicated in other states (with no plans to ever connect routes with the same numbers). One might assume this implies that an Interstate Highway in California should be tagged network=US:I:CA, but fundamentally, the route numbers themselves (even the duplicate ones) are assigned by a federal agency and not the states. These are clearly a national network, and the presence of the state name is functionally just a decoration. So all US Interstates belong to a single network, and are not split up by state.

The value of ref=* must not contain extra text (prefixes or suffixes) that needs to be removed before displaying. Likewise, it must not require a hardcoded prefix or suffix to be added. We must be able to show ref=* directly as the route number on the shield, without preprocessing.
The tagging scheme must enjoy local consensus. The rest of the mapping community in the country affected must agree with this tagging scheme.

If this is a small country where there may only be one or two active mappers, the route tagging scheme is likely to be uncomplicated. "Consensus" may not be necessary in this case, but as long as the mapping community is notified, it's probably okay.

Each value of network=* must be documented on the OSM Wiki. When a mapper finds a value of network=* in an OSM tool like iD, JOSM or Taginfo, they should be able to click on the Wiki link next to it to find details on what the value of network=* represents, and where to use it.

Example: Tag:network=US:VA:Secondary

Some route relations for each value of network=* must be mapped on OSM in order for us to test them.

The value of ref=* must not contain extra text (prefixes or suffixes) that needs to be removed before displaying. Likewise, it must not require a hardcoded prefix or suffix to be added. We must be able to show ref=* directly as the route number on the shield, without preprocessing.

This has come up as a problem enough times that I wonder if we should formally propose it as a standard on the wiki. The “without preprocessing” part is critical: there may be some resistance to the idea of tailoring ref tags to Americana’s needs, but it’s possible to express the same requirement in more basic terms. In principle, ref should only include a prefix that’s an integral part of the route number, not just for the purpose of disambiguation in certain OSM contexts.

Should we resolve #141 as won't fix?

This has come up as a problem enough times that I wonder if we should formally propose it as a standard on the wiki. The “without preprocessing” part is critical

Somehow I thought the wiki already stated that ref on a route relation should be the value most commonly used on signage (no extra prefixes or suffixes).  I just looked around and couldn't find such a statement though.  We certainly should add this somewhere on the wiki, though I'm not sure where would be most appropriate.

I added a brief mention in the examples section of the ref documentation back in 2014, but it’s easy to overlook.


I cannot find a GRU in your implementation?

@Nrgeup Your paper mentions the use of a GRU to more effectively incorporate the word-level sequential context. However, I don't see any GRU blocks in your model. Is there any reason why this is the case?

You can find the implementation in model2.py.

I somehow seemed to have overlooked that. Thanks :+1:


Linux and windows Problem to build Simple project using "./drogon_ctl create project"  getting : Unknown CMake command "drogon_create_views".

in linux using :
vagrant@vagrant:~/cpp/test_web/build$ g++ --version
g++ (Ubuntu 10.3.0-1ubuntu1~18.04~1) 10.3.0
Copyright (C) 2020 Free Software Foundation, Inc.

OS :
vagrant@vagrant:~/cpp/test_web/build$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu

this is looks like broken both in windows and linux after compiling the framework in linux ( easy ) and windows VSC++ ( not strath forward alot of manual work )
im come to the point of creating the project and compile but in both windows and linux im getting problems .
i added the drogon dir inside the third_party vased on this issue : https://github.com/drogonframework/drogon/issues/627
also removed from the CMakeLists.txt the 2 linles
But i like first to fix it in linux but notice that i verified it and  in windows its the same prblem with the same error
See content :
cmake_minimum_required(VERSION 3.5)
project(/home/vagrant/cpp/drogon/test_web CXX)

include(CheckIncludeFileCXX)

check_include_file_cxx(any HAS_ANY)
check_include_file_cxx(string_view HAS_STRING_VIEW)
check_include_file_cxx(coroutine HAS_COROUTINE)
if (NOT "${CMAKE_CXX_STANDARD}" STREQUAL "")
    # Do nothing
elseif (HAS_ANY AND HAS_STRING_VIEW AND HAS_COROUTINE)
    set(CMAKE_CXX_STANDARD 20)
elseif (HAS_ANY AND HAS_STRING_VIEW)
    set(CMAKE_CXX_STANDARD 17)
else ()
    set(CMAKE_CXX_STANDARD 14)
endif ()

set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

add_executable(${PROJECT_NAME} main.cc)

# ##############################################################################
# If you include the drogon source code locally in your project, use this method
# to add drogon
# add_subdirectory(drogon)
# target_link_libraries(${PROJECT_NAME} PRIVATE drogon)
#
# and comment out the following lines
#find_package(Drogon CONFIG REQUIRED)
#target_link_libraries(${PROJECT_NAME} PRIVATE Drogon::Drogon)

# ##############################################################################

if (CMAKE_CXX_STANDARD LESS 17)
    # With C++14, use boost to support any, string_view and filesystem
    message(STATUS "use c++14")
    find_package(Boost 1.61.0 REQUIRED)
    target_link_libraries(${PROJECT_NAME} PUBLIC Boost::boost)
elseif (CMAKE_CXX_STANDARD LESS 20)
    message(STATUS "use c++17")
else ()
    message(STATUS "use c++20")
endif ()

aux_source_directory(controllers CTL_SRC)
aux_source_directory(filters FILTER_SRC)
aux_source_directory(plugins PLUGIN_SRC)
aux_source_directory(models MODEL_SRC)

drogon_create_views(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/views
                    ${CMAKE_CURRENT_BINARY_DIR})
# use the following line to create views with namespaces.
# drogon_create_views(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/views
#                     ${CMAKE_CURRENT_BINARY_DIR} TRUE)

target_include_directories(${PROJECT_NAME}
                           PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
                                   ${CMAKE_CURRENT_SOURCE_DIR}/models)
target_sources(${PROJECT_NAME}
               PRIVATE
               ${SRC_DIR}
               ${CTL_SRC}
               ${FILTER_SRC}
               ${PLUGIN_SRC}
               ${MODEL_SRC})
# ##############################################################################
# uncomment the following line for dynamically loading views
# set_property(TARGET ${PROJECT_NAME} PROPERTY ENABLE_EXPORTS ON)

# ##############################################################################

add_subdirectory(test)

├── CMakeLists.txt
├── config.json
├── controllers
├── filters
├── main.cc
├── models
│   └── model.json
├── plugins
├── test
│   ├── CMakeLists.txt
│   └── test_main.cc
├── third_party
│   └── drogon
│       ├── build
│       ├── build_debug
│       ├── build.sh
│       ├── ChangeLog.md
│       ├── cmake
│       ├── CMakeLists.txt
│       ├── cmake_modules
│       ├── conanfile.txt
│       ├── config.example.json
│       ├── _config.yml
│       ├── CONTRIBUTING.md
│       ├── docker
│       ├── drogon_ctl
│       ├── drogon.jpg
│       ├── examples
│       ├── format.sh
│       ├── lib
│       ├── LICENSE
│       ├── nosql_lib
│       ├── orm_lib
│       ├── README.md
│       ├── README.zh-CN.md
│       ├── README.zh-TW.md
│       ├── test
│       ├── test.sh
│       ├── test_web
│       ├── third_party
│       └── trantor
└── views

Im getting the error :
vagrant@vagrant:~/cpp/test_web/build$ cmake ..
CMake Error at CMakeLists.txt:22 (add_executable):
  The target name "/home/vagrant/cpp/drogon/test_web" is reserved or not
  valid for certain CMake features, such as generator expressions, and may
  result in undefined behavior.

-- use c++17
CMake Error at CMakeLists.txt:52 (drogon_create_views):
  Unknown CMake command "drogon_create_views".

-- Configuring incomplete, errors occurred!
See also "/home/vagrant/cpp/test_web/build/CMakeFiles/CMakeOutput.log".
See also "/home/vagrant/cpp/test_web/build/CMakeFiles/CMakeError.log".

you should add drogon subdirectory to your project
add_subdirectory(third_party/drogon)
target_link_libraries(${PROJECT_NAME} PRIVATE drogon)

it gives me new error:
i changed to :
#                                                                                │vagrant@vagrant:~/cpp/test_web2/build$ ls -l
# and comment out the following lines                                                                   │total 0
#find_package(Drogon CONFIG REQUIRED)                                                                   │vagrant@vagrant:~/cpp/test_web2/build$ ls -l
find_package(/home/vagrant/cpp/drogon CONFIG REQUIRED)                                                  │total 0
target_link_libraries(${PROJECT_NAME} PRIVATE Drogon::Drogon)                                           │vagrant@vagrant:~/cpp/test_web2/build$ cd ..

gives me this  error:
-- Looking for C++ include any - found
-- Looking for C++ include string_view
-- Looking for C++ include string_view - found
-- Looking for C++ include coroutine
-- Looking for C++ include coroutine - not found
CMake Error at CMakeLists.txt:32 (find_package):
  Could not find a package configuration file provided by
  "/home/vagrant/cpp/drogon" with any of the following names:

    /home/vagrant/cpp/drogonConfig.cmake
    /home/vagrant/cpp/drogon-config.cmake

  Add the installation prefix of "/home/vagrant/cpp/drogon" to
  CMAKE_PREFIX_PATH or set "/home/vagrant/cpp/drogon_DIR" to a directory
  containing one of the above files.  If "/home/vagrant/cpp/drogon" provides
  a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!
See also "/home/vagrant/cpp/test_web/build/CMakeFiles/CMakeOutput.log".
See also "/home/vagrant/cpp/test_web/build/CMakeFiles/CMakeError.log".

those files i can't find
/home/vagrant/cpp/drogonConfig.cmake
/home/vagrant/cpp/drogon-config.cmake

In windows i had to add those lines to the cmakefile :
if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++20")
set(CMAKE_CXX_STANDARD 20)
endif(MSVC)

and comment this line
#add_subdirectory(test)

and this line :
#drogon_create_views(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/views
#                    ${CMAKE_CURRENT_BINARY_DIR})

but the sln file created without any include directories in the project files

If you have drogon installed in your OS, use the find_package command
find_package(Drogon CONFIG REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE Drogon::Drogon)

Or if you want to compile the drogon source code with your application, use the add_subdirectory command.

this is what i did i have compiled dorgon located in : /home/vagrant/cpp/drogon
vagrant@vagrant:~/cpp$ pwd
**/home/vagrant/cpp**
vagrant@vagrant:~/cpp$ tree -L 1 drogon/
drogon/
├── build
├── build_debug
├── build.sh
├── ChangeLog.md
├── cmake
├── CMakeLists.txt
├── cmake_modules
├── conanfile.txt
├── config.example.json
├── _config.yml
├── CONTRIBUTING.md
├── docker
├── drogon_ctl
├── drogon.jpg
├── examples
├── format.sh
├── lib
├── LICENSE
├── nosql_lib
├── orm_lib
├── README.md
├── README.zh-CN.md
├── README.zh-TW.md
├── test
├── test.sh
├── test_web
├── third_party
└── trantor

this is what i did i have compiled dorgon located in : /home/vagrant/cpp/drogon
vagrant@vagrant:~/cpp$ pwd
**/home/vagrant/cpp**
vagrant@vagrant:~/cpp$ tree -L 1 drogon/
drogon/
├── build
├── build_debug
├── build.sh
├── ChangeLog.md
├── cmake
├── CMakeLists.txt
├── cmake_modules
├── conanfile.txt
├── config.example.json
├── _config.yml
├── CONTRIBUTING.md
├── docker
├── drogon_ctl
├── drogon.jpg
├── examples
├── format.sh
├── lib
├── LICENSE
├── nosql_lib
├── orm_lib
├── README.md
├── README.zh-CN.md
├── README.zh-TW.md
├── test
├── test.sh
├── test_web
├── third_party
└── trantor

Did you run make install?

no i did not , i have the drogon in the development dir
why should i do install ?

@an-tao
i did what you suggest and run make install
but now when i run the make in my test project im getting :
make                                                              │-- Installing: /usr/local/include/trantor/utils/LogStream.h
[ 50%] Building CXX object CMakeFiles/test_web.dir/main.cc.o                                            │-- Installing: /usr/local/include/trantor/utils/Logger.h
In file included from /usr/local/include/drogon/HttpBinder.h:25,                                        │-- Installing: /usr/local/include/trantor/utils/MsgBuffer.h
                 from /usr/local/include/drogon/HttpAppFramework.h:21,                                  │-- Installing: /usr/local/include/trantor/utils/NonCopyable.h
                 from /usr/local/include/drogon/drogon.h:23,                                            │-- Installing: /usr/local/include/trantor/utils/ObjectPool.h
                 from /home/vagrant/cpp/test_web/main.cc:1:                                             │-- Installing: /usr/local/include/trantor/utils/SerialTaskQueue.h
/usr/local/include/drogon/HttpRequest.h:26:10: fatal error: json/json.h: No such file or directory      │-- Installing: /usr/local/include/trantor/utils/TaskQueue.h
   26 | #include <json/json.h>                                                                          │-- Installing: /usr/local/include/trantor/utils/TimingWheel.h
      |          ^~~~~~~~~~~~~                                                                          │-- Installing: /usr/local/include/trantor/utils/Utilities.h
compilation terminated.                                                                                │-- Installing: /usr/local/lib/cmake/Trantor/TrantorConfig.cmake
CMakeFiles/test_web.dir/build.make:75: recipe for target 'CMakeFiles/test_web.dir/main.cc.o' failed     │-- Installing: /usr/local/lib/cmake/Trantor/TrantorConfigVersion.cmake
make[2]: *** [CMakeFiles/test_web.dir/main.cc.o] Error 1                                                │-- Installing: /usr/local/lib/cmake/Trantor/Findc-ares.cmake
CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/test_web.dir/all' failed                         │-- Installing: /usr/local/lib/cmake/Trantor/TrantorTargets.cmake
make[1]: *** [CMakeFiles/test_web.dir/all] Error 2                                                      │-- Installing: /usr/local/lib/cmake/Trantor/TrantorTargets-noconfig.cmake
Makefile:90: recipe for target 'all' failed                                                             │-- Installing: /usr/local/bin/drogon_ctl
make: *** [all] Error 2

looks like it is looking for the jsoncpp header file , isnt included in the cmake ? or am i doing something wrong here ?
Thanks

If you add drogon by:
find_package(Drogon CONFIG REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE Drogon::Drogon)

The dependencies of drogon will be configured automatically.

now it is working , thanks!


fix model server stop process

PR to fix https://github.com/katanemo/arch/issues/207
Solution:
Increase timeout to 20s
Kill all children of the process
Kill all pids on port 51000

We don't support windows, I check the windows solution, totally a different function.


Command issue on domain pc

Basically, I built .exe with startup off put it on a domain pc via local admin account, i made a task to run the .exe as admin on login including domain users, with nt authority/system as the user the task to run on, when i login on a domain user, most things work, but things like screenshot and screenrecorder, screen recorder gets error about  not being able to record, and screenshot doesn't get sent, and so doesn't webcam, the webcam light goes off but doesn't get sent, block input doesn't work, keylogger doesn't work, the mic recorder and task killer works for what i know, im not sure what is going on

Might be because of your python version, use 3.11.x and add it to to path

Might be because of your python version, use 3.11.x and add it to to path

I did, it has the latest supported python and path, im not talking about the builder, im talking about the program I built not executing properly

This is a simply a design issue on our end. We will be fixing it for the next release but for now you cannot do anything. I'm assuming it's caused by the getuser() function of the getpass python package. Basically, it tries to find the pysilon directory on C:/Users/getuser()/software_directory_name but is failing since that folder only exist on one user (which is typically the administrator account). This means that any other user except the user PySilon was originally run on, will be experiencing problems with any command that tries to send a file. This could include .webcam, .ss, .grab cookies, etc.

Do you think its because I didn't put in a registry name when I built it, because I thought it was only used for startup or there was a default name already


Platform independence

The software should be able to run on all platforms and have no dependency on OS or J2EE environment.

Are we talking about the cloudopting-manager?

Agree with ciprian, the hackathon users might have MAC OSX to test it and WON'T Work, work around?

As stated yesterday in the meeting, in the hackathon a stable production environment should be used in order to developers struggle with TOSCA files, puppet, docker and thats it. They do not have to play installing the cloudopting-manager.

The platform does not need to be platform independent it has been dockerized. It can be found here: https://github.com/CloudOpting/deploy-cloudopting
For the hackathon a new common environment will be provided.


Add support for cc source files

Hey! We are currently adding a new dependency to our app that contains cc files. Currently they are added as copying resource files phase instead of in the compiling source phase. After this diff it should be added to the right build phase. Cheers!

Great, thanks @maicki!


[HUDI-5506] StreamWriteOperatorCoordinator may not recommit with partial uncommitted write metadata event

AbstractStreamWriteFunction may get the different pending instant for checkpoint among the subtasks because the StreamWriteOperatorCoordinator may be committing the instant of the last completed checkpoint when AbstractStreamWriteFunction invokes snapshotState. StreamWriteOperatorCoordinator may not recommit with partial uncommitted write metadata event when handling the last boostrap event which is empty boostrap event.
Change Logs
StreamWriteOperatorCoordinator#handleBootstrapEvent gets the inflight instant to initialize for recommit.
Impact
StreamWriteOperatorCoordinator recommits the last pending instant for handling boostrap events.
Risk level (write none, low medium or high below)
If medium or high, explain what verification was done to mitigate the risks.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[x] Read through contributor's guide
[x] Change Logs and Impact were stated clearly
[x] Adequate tests were added if applicable
[x] CI passed

@danny0405, @leesf, thanks for detailed review. I have reomoved the changes of the CkpMetadata and will create another pull request for the CkpMetadata. This pull request is mainly solved the recommit problem. PTAL.

Merging as Flink IT passed.


BarChart erros when empty array passed in for data

Description
Code
<BarChart data={[]}/>
Error
 ERROR  Invariant Violation: [1165,"RCTView",711,{"position":"absolute","height":"<<NaN>>","bottom":60,"paddingLeft":20,"width":40,"flexDirection":"row"}] is not usable as a native method argument

Steps to reproduce
<BarChart data={[]}/>
Snack or a link to a repository
No response
version of react-native-gifted-charts
1.4.41
React Native version
0.74.5
Platforms
iOS
Workflow
None

Hi @aminosman
Thanks for reporting this issue. It has been fixed from versions 1.4.42 onwards. 🎉
Please use the latest version of the library.


Electron-445 (Added a new API to keep electron in sync with client app user meeting status)

Description
Added a new API to keep electron in sync with client app user presence status ELECTRON-445
Approach
How does this change address the problem?
Problem with the code:

The application was auto reloaded even when the user was in a meeting

Fix:

Added an API that keeps the Electron in sync with the client app user presence status
If the user presence status is AWAY the application will not be refreshed

Related PRs
List related PRs against other branches:

branch
PR

SFE-Client-App
link

SFE-Client-App(r52)
link

Open Questions if any and Todos

[X] Unit-Tests
[X] Documentation
[X] Automation-Tests
When solved, check the box and explain the answer.

@KiranNiranjan I am not sure if this approach is the right one. What if the user manually sets his/her presence status to "Away"? We can't really rely on this approach then.
I agree with @lneir. We'll need to rely on WebRTC to tell us if the user is active.

@lneir @VikasShashidhar @VishwasShashidhar Updated the logic. Please review. Thanks 😃