Fix correct usage of angular velocity in update_odometry() function

Thanks for this nice steering_controllers_library!
Using it however, we noticed issues in the odometry calculation where our steered robot would spin incredibly fast.
There seems a small math error in the calculation which this PR fixes:
The integration expects distances and angles, while the accumulators expect a velocity.
Probably also relates to https://github.com/ros-controls/ros2_controllers/issues/937

Well in all the functions that call update_odometry(linear_velocity, angular, dt), the angular input is calculated as:
tan(steer_pos_) * linear_velocity / wheelbase_ which has a velocity as outcome.
So it seems that angular is indeed a velocity here.

Well in all the functions that call update_odometry(linear_velocity, angular, dt), the angular input is calculated as:
tan(steer_pos_) * linear_velocity / wheelbase_ which has a velocity as outcome.
So it seems that angular is indeed a velocity here.

Fine! Thanks for the explanation. Do you mind adding tests for your changes?

Well in all the functions that call update_odometry(linear_velocity, angular, dt), the angular input is calculated as:
tan(steer_pos_) * linear_velocity / wheelbase_ which has a velocity as outcome.
So it seems that angular is indeed a velocity here.

Fine! Thanks for the explanation. Do you mind adding tests for your changes?

Sure thing! I added some very simple tests, please let me know if these are okay or if we want to test some more exotic situations?

Please have a look at https://github.com/ros-controls/ros2_controllers/pull/954 and review what I've written there. I realized some wrong code too, but wanted to have the theory/nomenclature approved before I start fixing/refactoring.

Please have a look at #954 and review what I've written there. I realized some wrong code too, but wanted to have the theory/nomenclature approved before I start fixing/refactoring.

Very nice! I'll review that soon!

@christophfroehlich I just reviewed your documentation effort and that looks really nice! Great work!
Do you think merging this PR in the meantime would be a small step forwards already? It might make the Jazzy release still?

I'd like to update the function documentation/docstring to make this point clear. But you deactivated the tick  Maintainers are allowed to edit this pull request. I'll open a new PR on top of that one

I'd like to update the function documentation/docstring to make this point clear. But you deactivated the tick Maintainers are allowed to edit this pull request. I'll open a new PR on top of that one

Ahh I wasn't aware of that checkbox, it seems I also can't change that anymore?

@christophfroehlich Can you list the changes you wanted to make? Or create a pull request targetting this PR?
That way this PR can keep moving forward :slightly_smiling_face:

@mergifyio backport humble iron

@Timple @MCFurry please have a look at the failing pre-commit jobs (a missing newline at the end of a file). The other failing jobs are not related. fyi, we need another review of someone with write access (@bmagyar or @destogl). In the meantime, could you maybe leave a review on #954? ;)

I'd like to update the function documentation/docstring to make this point clear. But you deactivated the tick Maintainers are allowed to edit this pull request. I'll open a new PR on top of that one

Ahh I wasn't aware of that checkbox, it seems I also can't change that anymore?

@Timple @MCFurry please have a look at the failing pre-commit jobs (a missing newline at the end of a file). The other failing jobs are not related. fyi, we need another review of someone with write access (@bmagyar or @destogl). In the meantime, could you maybe leave a review on #954? ;)

Done!


Print button

Hello, I'm sending a code that I found in the stackoverflow to print the document in pdf, if you can implement this option, thank you.
public bool PrintPDF(PdfDocument document , string printer, string paperName, string filename, int copies)
{
try
{
// Create the printer settings for our printer
var printerSettings = new PrinterSettings
{
PrinterName = printer,
Copies = (short)copies,
};
            // Create our page settings for the paper size selected
            var pageSettings = new PageSettings(printerSettings)
            {
                Margins = new Margins(0, 0, 0, 0),
            };
            foreach (PaperSize paperSize in printerSettings.PaperSizes)
            {
                if (paperSize.PaperName == paperName)
                {
                    pageSettings.PaperSize = paperSize;
                    break;
                }
            }

            // Now print the PDF document

                using (var printDocument = document.CreatePrintDocument())
                {
                    printDocument.PrinterSettings = printerSettings;
                    printDocument.DefaultPageSettings = pageSettings;
                    printDocument.PrintController = new StandardPrintController();
                    printDocument.Print();
                }
            return true;
        }
        catch (Exception)
        {
            return false;
        }
    }

var ret = PrintPDF(Renderer.Document,"Microsoft Print to PDF", "A4", dialog.FileName, 1);

Hi arsoftinformatica.
I have fixed some bug and added the print function based on the origal PdfiumViewer project.
If you want to ues it in your project, that will be help.
#20


Add an option to use stage tracking on the Quest

Using the VRAPI_TRACKING_SPACE_STAGE tracking space is needed for games like Unseen Diplomacy where the tracking space origin has to stay in one place across recenters.
This should be added as an option (default should probably be to use the stage space) which just controls a call to vrapi_SetTrackingSpace(Ovr, VRAPI_TRACKING_SPACE_STAGE) on the client.

This can now be set in ALVR Headset settings as of v13.0.0. Default is still local (headset centered) tracking space.


OwnsMany overrides HashSet's IEqualityComparer so that I can't use Contains to check that ValueObject exists in collection

I followed such recommendations for implementing ValueObjects:
https://docs.microsoft.com/en-us/dotnet/architecture/microservices/microservice-ddd-cqrs-patterns/implement-value-objects
The problem is that If I work with manually created in memory Value Object collection, it works. If Value object collection is extracted using Entity Framework, Contains does not work.
I don't have idea how can I use Contains to find that element has been added in HashSet. So I can use .All.Where and find manually, but maybe you could recommend how can I use native methods like Contains from HashSet to do the same operation?
Steps to reproduce
You can find my sample project in the following repository:
https://github.com/goncharov-do/EfCore3VOBugs/tree/hashset-behaviour
It is just console app which creates new database on local SqlServer ( "." ), removes
database "EfCoreV3Bugs", creates it, migrate, inserts test entity, and tries to find using Contains ValueObject in HashSet.
Further technical details
EF Core version: 3.0.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET Core 3.0
Operating system: Windows 10
IDE: Visual Studio 2019 16.3.3

Duplicate of #4179 since ValueObject is not mapped as (or intended to be) an entity type. Workarounds are included in that issue--notably using a value converter to serialize the collection into a column.
Also, it might be worth learning EF without using complex patterns like those suggested in various DDD-style guidance. These patterns often make it hard to see what is actually happening.

@ajcvickers   EF Core 3 allows as to create a Collection of ValueObject stored separately from parent Entity / ValueObject. If I understand your idea correctly, you propose to store the entire collection in a serialized way. Actually I can do this using JSON Convention like
.HasConversion(
                    u => JsonConvert.SerializeObject(u.ToList(),
                        new JsonSerializerSettings {NullValueHandling = NullValueHandling.Ignore}),
                    u => JsonConvert.DeserializeObject<List<GradingFormScoreMapping.ExtraMapping>>(u,
                        new JsonSerializerSettings {NullValueHandling = NullValueHandling.Ignore}))

, but it would not be flexible in a Read scenarios. I want it to be stored in separate table, which allowed by using OwnsMany feature. So it does not solve my problem.

@ajcvickers "Mapping to a table which contains the values and collapsing that mapping down to the IEnumerable/ICollection property on the entity. (See #14115)"
The second solution does not solve my problem as well, because I don't need ValueObject to be an Entity (in context of EF, don't want to use HasMany instead of OwnsMany).

@ajcvickers One of the possible solutions I have found, is using List instead of HashSet to define backing field with ValueObjects collection. In this way no exception thrown during executing the example project. Can you please comment if any reasons not to implement it in this way? I remember in EF v2.1 it was not possible to use HashSet for OwnsMany collections.
https://github.com/goncharov-do/EfCore3VOBugs/pull/1
If you approve that solution, makes sense to remove 'closed-duplicate' label and mark as having solution.

I found the comment, which clarifies why List did not work for me before:
https://github.com/aspnet/EntityFrameworkCore/issues/10800#issuecomment-487058862

btw I still wonder why HashSet's Contains does not work, but List's works. Is it by design?

@goncharov-do Thanks for the additional info. I will investigate further.

@goncharov-do Several things are going on here. First, since a HashSet cannot have duplicate entries it means that, even before EF is used, the collection only contains one entry, even though two were added, because they both test as equal. (This may be intentional, of course, although it would then not be valid to switch to a List.)
Second, EF can only track a single instance of a given entity type with a given key. This means that if it is your intention that the equality semantics of the value object are maintained (i.e. the first point above is intentional) then this will likely run into issues with EF since it does not work with this pattern. (The primary reason for this is that entity types don't work like DDD value objects. Sometimes owned types can be used to solve some of the same problems as value objects, but this requires a pretty good understanding of what is going on behind the abstraction.)
Third, because EF makes use of reference semantics, when EF creates a HashSet for you, it creates one that uses reference semantics. This is why your last check on the collection fails--it is trying to find the same object instance, rather than an instance that tests as equal.)
Using a List doesn't have some of these issues because it allows duplicates. However, fundamentally there still can't be duplicates in EF because EF uses reference semantics, as described above. It also doesn't match DDD value objects at all--hence my comment above that if removing duplicates is intentional, then using a List is probably not correct.)
In my opinion, trying to use owned entities as DDD-style value objects is a pit-of-failure. It can be made to work for some cases if you have a good understanding of the required semantics and what that means for mapping and functionality in EF, but it's hard to get right. Instead, use a value converter to do inline conversion between the database value and the value object, in which case #4179 is relevant again.


Numba conflict with vectorbt

disclaimer

[x] I have tried using the latest released version of Numba (most recent is
visible in the release notes
(https://numba.readthedocs.io/en/stable/release-notes-overview.html).
[x] I have included a self contained code sample to reproduce the problem.
i.e. it's possible to run as 'python bug.py'.

##Reporting a bug
Hello everyone, Im really sorry for kinda clickbait title, but I really cant find similar issues and dont know what to do. Hope on your kindness guys
Im using vectorbt like this (the simplest example of usage)
import vectorbt as vbt

price = vbt.YFData.download('BTC-USD').get('Close')

pf = vbt.Portfolio.from_holding(price, init_cash=100)
pf.total_profit()

and getting the "unsupported error" when its going to nb.simulate_from_signal_func_nb and to numba\core after.
I tried already everything but resuls are the same. Nothing works to me. Please explain what Im doing wrong
P.S ofc I checked versions of packages and tried to reinstall them again. Still nothing... Current versions
Python 3.11.0b4, vectorbt 0.26.1, numba 0.59.1, numpy 1.26.4

THE FULL ERROR MESSAGE

THE FULL ERROR MESSAGE

UnsupportedError                          Traceback (most recent call last)
Cell In[55], line 5
1 import vectorbt as vbt
3 price = vbt.YFData.download('BTC-USD').get('Close')
----> 5 pf = vbt.Portfolio.from_holding(price, init_cash=100)
6 pf.total_profit()
File ~.pyenv\pyenv-win\versions\3.11.0b4\Lib\site-packages\vectorbt\portfolio\base.py:3035, in Portfolio.from_holding(cls, close, **kwargs)
3023 @classmethod
3024 def from_holding(cls: tp.Type[PortfolioT], close: tp.ArrayLike, **kwargs) -> PortfolioT:
3025     """Simulate portfolio from holding.
3026
3027     Based on Portfolio.from_signals.
(...)
3033     500.0
3034     ```"""
-> 3035     return cls.from_signals(close, entries=True, exits=False, **kwargs)
File ~.pyenv\pyenv-win\versions\3.11.0b4\Lib\site-packages\vectorbt\portfolio\base.py:2960, in Portfolio.from_signals(cls, close, entries, exits, short_entries, short_exits, signal_func_nb, signal_args, size, size_type, price, fees, fixed_fees, slippage, min_size, max_size, size_granularity, reject_prob, lock_cash, allow_partial, raise_reject, log, accumulate, upon_long_conflict, upon_short_conflict, upon_dir_conflict, upon_opposite_entry, direction, val_price, open, high, low, sl_stop, sl_trail, tp_stop, stop_entry_price, stop_exit_price, upon_stop_exit, upon_stop_update, adjust_sl_func_nb, adjust_sl_args, adjust_tp_func_nb, adjust_tp_args, use_stops, init_cash, cash_sharing, call_seq, ffill_val_price, update_value, max_orders, max_logs, seed, group_by, broadcast_named_args, broadcast_kwargs, template_mapping, wrapper_kwargs, freq, attach_call_seq, **kwargs)
2957 checks.assert_numba_func(adjust_tp_func_nb)
2959 # Perform the simulation
-> 2960 order_records, log_records = nb.simulate_from_signal_func_nb(
2961     target_shape_2d,
2962     cs_group_lens,  # group only if cash sharing is enabled to speed up
2963     init_cash,
2964     call_seq,
2965     signal_func_nb=signal_func_nb,
2966     signal_args=signal_args,
2967     size=broadcasted_args['size'],
2968     price=broadcasted_args['price'],
2969     size_type=broadcasted_args['size_type'],
2970     fees=broadcasted_args['fees'],
2971     fixed_fees=broadcasted_args['fixed_fees'],
2972     slippage=broadcasted_args['slippage'],
2973     min_size=broadcasted_args['min_size'],
2974     max_size=broadcasted_args['max_size'],
2975     size_granularity=broadcasted_args['size_granularity'],
2976     reject_prob=broadcasted_args['reject_prob'],
2977     lock_cash=broadcasted_args['lock_cash'],
2978     allow_partial=broadcasted_args['allow_partial'],
2979     raise_reject=broadcasted_args['raise_reject'],
2980     log=broadcasted_args['log'],
2981     accumulate=broadcasted_args['accumulate'],
2982     upon_long_conflict=broadcasted_args['upon_long_conflict'],
2983     upon_short_conflict=broadcasted_args['upon_short_conflict'],
2984     upon_dir_conflict=broadcasted_args['upon_dir_conflict'],
2985     upon_opposite_entry=broadcasted_args['upon_opposite_entry'],
2986     val_price=broadcasted_args['val_price'],
2987     open=broadcasted_args['open'],
2988     high=broadcasted_args['high'],
2989     low=broadcasted_args['low'],
2990     close=broadcasted_args['close'],
2991     sl_stop=broadcasted_args['sl_stop'],
2992     sl_trail=broadcasted_args['sl_trail'],
2993     tp_stop=broadcasted_args['tp_stop'],
2994     stop_entry_price=broadcasted_args['stop_entry_price'],
2995     stop_exit_price=broadcasted_args['stop_exit_price'],
2996     upon_stop_exit=broadcasted_args['upon_stop_exit'],
2997     upon_stop_update=broadcasted_args['upon_stop_update'],
2998     adjust_sl_func_nb=adjust_sl_func_nb,
2999     adjust_sl_args=adjust_sl_args,
3000     adjust_tp_func_nb=adjust_tp_func_nb,
3001     adjust_tp_args=adjust_tp_args,
3002     use_stops=use_stops,
3003     auto_call_seq=auto_call_seq,
3004     ffill_val_price=ffill_val_price,
3005     update_value=update_value,
3006     max_orders=max_orders,
3007     max_logs=max_logs,
3008     flex_2d=close.ndim == 2
3009 )
3011 # Create an instance
3012 return cls(
3013     wrapper,
3014     close,
(...)
3020     **kwargs
3021 )
File ~.pyenv\pyenv-win\versions\3.11.0b4\Lib\site-packages\numba\core\dispatcher.py:471, in _DispatcherBase._compile_for_args(self, *args, **kws)
468     error_rewrite(e, 'typing')
469 except errors.UnsupportedError as e:
470     # Something unsupported is present in the user code, add help info
--> 471     error_rewrite(e, 'unsupported_error')
472 except (errors.NotDefinedError, errors.RedefinedError,
473         errors.VerificationError) as e:
474     # These errors are probably from an issue with either the code
475     # supplied being syntactically or otherwise invalid
476     error_rewrite(e, 'interpreter')
File ~.pyenv\pyenv-win\versions\3.11.0b4\Lib\site-packages\numba\core\dispatcher.py:409, in _DispatcherBase._compile_for_args..error_rewrite(e, issue_type)
407     raise e
408 else:
--> 409     raise e.with_traceback(None)
UnsupportedError: Failed in nopython mode pipeline (step: analyzing bytecode)
Use of unsupported opcode (<34>) found
File ".......pyenv\pyenv-win\versions\3.11.0b4\Lib\site-packages\vectorbt\portfolio\nb.py", line 1956:
def simulate_from_signal_func_nb(target_shape: tp.Shape,

last_val_price = np.full(target_shape[1], np.nan, dtype=np.float_)
if use_stops:
^

THE FULL ERROR MESSAGE

THE FULL ERROR MESSAGE

Hi, I just tried your reproducer locally and it works:
$ python
Python 3.10.13 | packaged by conda-forge | (main, Dec 23 2023, 15:35:25) [Clang 16.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import vectorbt as vbt
>>> price = vbt.YFData.download('BTC-USD').get('Close')
>>> pf = vbt.Portfolio.from_holding(price, init_cash=100)
>>> pf.total_profit()
13328.508424674066

Python 3.11.9 | packaged by conda-forge | (main, Apr 19 2024, 18:34:54) [Clang 16.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import vectorbt as vbt
>>> price = vbt.YFData.download('BTC-USD').get('Close')
>>> pf = vbt.Portfolio.from_holding(price, init_cash=100)
>>> pf.total_profit()
13336.803784031692

Anyway, this doesn't seem to be fully related to Numba as the error is coming from other package (vectorbt) that uses Numba under the hood. You may get better answers on their own issue tracker. Meanwhile, you can try to recreate your environment from scratch or try to use your program with NUMBA_DISABLE_JIT=1.
Oh, I just notice you are using this package from Windows. I'll try to reproduce this later on a Windows machine.

Hi and thank you for your interest and quick response
Guess you are right, I added issue on their tracker. Unfortunately, recreating the environment did not solve the problem,  NUMBA_DISABLE_JIT=1 too. I also tried adding .py_func to function and numba.config.DISABLE_JIT = True and no results
And yea, forgot to say Im using Windows 10 x64. Maybe you will find the solution
anyway, biggest thanks in advance!


Use fixed thread pool for deployments

We have seen 30 deployments running at the same time, which is more than the config servers can handle.

Wait, I want to look into deploying another way

It's not important any more that it happens every 30 minutes, and we know when each application last deployed. We could just use a single thread which picks the oldest deployment and redeploys that.

Thanks for the suggestion, I'll look into it


Result

Epoch：【100】      train  accuracy：0.9999          test accuracy：0.9487

What's the dataset and baseline,please?


Unable to run android app with flutter run due to AppsflyerSdkPlugin.java errors

Describe the bug
A clear and concise description of what the bug is.
After upgrading to  appsflyer_sdk: ^6.15.1 I can no longer run my flutter app.
To Reproduce
Steps to reproduce the behavior:
Upgrade appsflyer_sdk to 6.15.1
Do flutter run in your terminal
Expected behavior
A clear and concise description of what you expected to happen.
I get a multitude of errors , Will post the first few here
bad class file: /Users/yonko/.gradle/caches/transforms-3/9dd547163521c1703fdc82b55e52e7bc/transformed/jetified-af-android-sdk-6.15.1-api.jar(/com/appsflyer/AFAdRevenueData.class)
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/yonko/.pub-cache/hosted/pub.dev/appsflyer_sdk-6.15.1/android/src/main/java/com/appsflyer/appsflyersdk/AppsflyerSdkPlugin.java:13: error: cannot access AFLogger
import com.appsflyer.AFLogger;

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: macOS Sonoma 14.5
Browser [e.g. chrome, safari] N/A
Version [e.g. 22]

Smartphone (please complete the following information):

Device: Pixel 5 API 31
OS: Android
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
output of flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.5, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.92.2)
[✓] VS Code (version 1.74.1)
[✓] VS Code (version 1.93.0)
[✓] Connected device (4 available)
[✓] Network resources

Hi @Yonkokilasi,
Your Java version is 11 when the minimum required version starts 6.15.1 is Java 17

It seems that upgrading to Java17 is an irrational behavior and does not consider development compatibility.

same issue here, did someone solve this error?

download java 17
run this command :
flutter config --jdk-dir C:\Program Files\Java\jdk-17


1password copy/paste stopped to work in 0.41.

Bug or Regression?
Regression
System Info and Version
 Arch, Hyprland 0.41
Please note, I downgraded to 0.40.
❯ hyprctl systeminfo
Hyprland, built from branch  at commit cba1ade848feac44b2eda677503900639581c3f4  (props: bump version to 0.40.0).
Date: Sat May 4 15:42:32 2024
Tag: v0.40.0, commits: 4606

flags: (if any)

System Information:
System name: Linux
Node name: nano
Release: 6.9.3-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-P [Iris Xe Graphics] [8086:a7a0] (rev 04) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Description
The problem is, in 0.41 copy-paste from xwayland 1password stopped to work. If I downgrade to 0.40 everything works as expected.
1password can't start as native wayland.
How to reproduce

Open 1password
Copy any password
Nothing in the wl-paste

Crash reports, logs, images, videos
No response

#6247


bodyBytes comparison against RawFileBody always fails

When "Save & check response bodies?" is turned on in Recorder, the generated code uses bodyBytes to check against RawFileBody, e.g:
.check(bodyBytes.is(RawFileBody("test_0028_response.txt"))))

This check always fails with the following error:
bodyBytes.find.is([B@2f6a5e1), found [B@3286f99b

I've tried 3.0.3 and several older versions. The furthest I went back is 2.2.0 but this version generates code that doesn't compile (uses bodyString against RawFileBody).
If I change the code to following:
.check(bodyString.is(ElFileBody("test_0029_response.txt")))

Then it works for non-binary files but of course fails for binary files like images.

Duplicate of #3631

Sorry for the duplicate, I did look for existing issues, but was searching for RawFileBody.

No pro, it was far from obvious :)
Next release will be out beginning of next week.


Hashscan number of pages on account assets

Problem
Why does hashscan only display up to 4 pages of account assets instead of everything? Can't see the full list of assets
Solution
Allow viewing of entire list of assets
Alternatives
No response

Hi @hbarusdt
Could you give us the account where you are observing the pb ?

https://hashscan.io/mainnet/accountbalances/0.0.935559
Here's a sample. There are many more. Can only view the latest 50 token id tokens. Anything beyond that cannot be seen.

HashScan uses the following mirror node call for retrieving balances:
https://mainnet-public.mirrornode.hedera.com/api/v1/balances?account.id=0.0.935559
and 50 balances are returned and displayed.
However the other call:
https://mainnet-public.mirrornode.hedera.com/api/v1/accounts/0.0.935559
reports 99 balances.
Strange…
Let us discuss with mirror node folks and come back.

Hi @ericleponner
Is 99 the maximum retrievable?

After investigation, it turns out that api/v1/balances and api/v1/accounts both intentionally return a limited number of balances (50 and 99).
This way to retrieve balances is not now deprecated and should implemented using new API calls.
So we have some work on HashScan side.
Thanks for reporting.

Hello @svienot
I am still only seeing 50 items on hashscan.

@svienot I was wondering if hashscan can be updated to reflect the same?
To update hashscan as @ericleponner pointed out.


Secure MQTT (8883)

Is anything extra required to access an MQTT server using SSL on port 8883, or just proceed as per the MQTT example?

It can be as soon as I support it. I have to add some extra calls in the lib to allow ssl connection.


Standalone Server Notes - Dead Network

While I was running through the steps for, Standalone Server Notes I got down to right before Copy TRE Files.  After executing "sync;sync;sudo init 6" and the system reboots my network was dead.  It seemed to have deleted the ETH0 info from the file /etc/network/interfaces.  I'm not real familiar with the settings in this file, but a quick search found this page.  https://wiki.debian.org/NetworkConfiguration#Using_DHCP_to_automatically_configure_the_interface
My router assigns the ip to my server according to it's mac address so I just used the DHCP configuration, but that page outlines hot to do a manual setup as well.
This was the ONLY issue I had with the standalone setup.  Once I got the network back up, everything else ran just as it does in the VM setup.  Also, I used Debian 8.7.1 instead of the 8.3 listed.
System Specs:
HP Workstation Z420
XEON E5-1650V2 / 3.5 GHz 6 Cores
24GB ECC DDR3 1866Mhz
250 GB SSD / + 2TB RAID 0 /home

Yup it's designed to be ran later via vagrant.  Network and other things are something that you have to figure out if you want to run standalone.
Thanks for the note, hope everything else works well for you.


[Beta]Move all possible style to tailwind classes

Nothing much. Just moved all possible style to tailwind classes.
Before:

After:

@gaearon  Friendly ping for re-review.

Let's remove all config changes (and keep those styles inline). The rest is ok.

Yea was going through the changes and comparing with main site. Personally verified all the changes once. Everything seems to work fine.

feel free to merge then


Remove version: libjpeg-turbo.libjpeg-turbo.VC version 2.1.1

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/libjpeg-turbo/files/2.1.1/libjpeg-turbo-2.1.1-vc64.exe/download
Status Code: 200
(Automated message - build 897)


Add OnBeforeTestStatus(Rec,IsHandled) event to Production Bom Line Table (99000772)

The "Production BOM Line" table has a "TestStatus" procedure. Can we please add an event (and the related IsHandled code) at the beginning of this procedure to allow for escaping this procedure?
    procedure TestStatus()
    var
        ProdBOMVersion: Record "Production BOM Version";
    begin
        OnBeforeTestStatus(Rec, IsHandled);
        if IsHandled then
            exit;
        .........
    end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeTestStatus(Rec: Record "Production BOM Line"; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Release azure-cli-storage 2.0.7

Reviewers, please verify the following for this PR:

[ ] The PR title has format Release <component-name> <version>.
[ ] setup.py has been modified with the same version as in the PR title.
[ ] HISTORY.rst has been modified with appropriate release notes.
[ ] If releasing azure-cli or azure-cli-core, __version__ defined in __init__.py should also be modified to match.

Started releasing azure-cli-storage 2.0.7...

Release of 'azure-cli-storage' with version '2.0.7' successful. View at https://pypi.python.org/pypi/azure-cli-storage/2.0.7.

GitHub release created. https://github.com/Azure/azure-cli/releases.


[PE-D][Tester B] weight: Specifying zero weight deletes the latest weight.

Steps to recreate:

Person at index 1 with weight values.
Run weight 1 0.0

Result: latest weight is deleted.
Not a documented feature in the UG so I think this is a bug.
Your browser does not support the video tag.video:https://raw.githubusercontent.com/chiaryan/ped/main/files/18783f18-ceed-4c10-a912-52df4ee88dce.mp4

Labels: type.FunctionalityBug severity.Medium
original: chiaryan/ped#7

mention that using weight with 0 will remove the latest weight
editing height/weight to be 0 will also remove the latest height/weight
mention in UG that height and weight must be > 0


Remove version: Wesnoth.BattleForWesnoth version 1.16.9

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


Removal of restrictions within the /cves/ 2.0 API schema

I received the following email from NVD:

Removal of restrictions within the /cves/ 2.0 API schema
To enable more flexibility within our API output we need to remove certain restrictions from the existing 2.0 API schemas.
Why does this matter?
All existing API users will need to update to the 2.1.0 /cves/ schema or later.
Many systems reference a cached or local version of a schema when performing validation. Since the /cves/ schema prior to 2.1.0 is overly restrictive, any system that references an older version of the schema that contains additionalProperties: false in the locations changed may no longer validate against future 2.0 API output.
We plan to begin including new data types within the 2.0 API output in the near future. We advise updating any schema references within the next 30 days.
What changes were made?
Removed additionalProperties: false from the following objects:
"cve_item":
"reference":
"metrics":

Similar information is available at our news page.
For questions and concerns, you may contact<EMAIL_ADDRESS>
How will this change in the NVD API affect DependencyCheck? And do I need to open a feature request for any changes that need to be done?

Will require update of the open-vulnerability-clients library once that is updated. See also https://github.com/jeremylong/Open-Vulnerability-Project/issues/154

Note that while we created https://github.com/jeremylong/Open-Vulnerability-Project/pull/158 - there are no impactful changes due to the schema change.


Make it a taskbar app (as originally thought)

Talking with @bjornwgnr about it.
We ditched the idea to make Fether a task bar/tray app at some point because it wasn't looking good on linux and windows (can't find the issue). I think we should spend some time on it again. It would potentially allow a much higher adoption because it can be launched on startup and sync comfortably while always be at hand (synced) to be used when needed... The inherent problems of using a light client are invisible because regularly synced in background.

The relevant library: https://github.com/maxogden/menubar
Unforunately it doesn't seem so active anymore

@amaurymartiny @Tbaut I had a go at this in branch https://github.com/paritytech/fether/compare/luke-312-taskbar-app?expand=1

If I click the icon to show the taskbar app, and then go to View > Toggle Developer Tools, it displays:

I think this is because previously in the fether-electron package's package.json the electron binary was called with "electron": "cross-env SKIP_PREFLIGHT_CHECK=true electron dist/main/main.js",, but now i it's called with "electron": "cross-env SKIP_PREFLIGHT_CHECK=true electron mb.js", and mb.js doesn't start a parity-ethereum node to expose that WebSocket port.
So I started a parity-ethereum node with the following, but it doesn't trust the origin from file://:
scon @ ~/code/src/paritytech/parity-ethereum - [stable] $ ./target/release/parity --chain kovan --light
2019-01-04 13:47:59  Starting Parity-Ethereum/v2.1.9-stable-af1169d2f-20181205/x86_64-macos/rustc1.30.1
2019-01-04 13:47:59  Keys path /Users/scon/Library/Application Support/io.parity.ethereum/keys/kovan
2019-01-04 13:47:59  DB path /Users/scon/Library/Application Support/io.parity.ethereum/chains_light/kovan/db/9bf388941c25ea98
2019-01-04 13:47:59  Running in experimental Light Client mode.
2019-01-04 13:48:00  Debug API is not available in light client mode.
2019-01-04 13:48:00  Debug API is not available in light client mode.
2019-01-04 13:48:04  Public node URL: enode://25d97eab21b251a819a21cf914ded0493786fa4bc12c5906c455b2a7060d4d00a03c669286ce504438bdecb39942f2dc6e431231d0b53fc9655cc776b12f69cd@<IP_ADDRESS>:30303
2019-01-04 13:48:05  Syncing #9938926 0xbcff…74c9     0.0 hdr/s      0+    0 Qed  12/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2019-01-04 13:48:08  Imported #9941183 0x8082…b4ff (0.47 Mgas) + another 154 header(s)
2019-01-04 13:48:08  Blocked connection to WebSockets server from untrusted origin: Some("file://")

Oh I just had to pass the option to trust that origin:
./target/release/parity --chain kovan --light --ws-origins=file://*

Closed by #332


Display Phase 2 vote current status

Overview
To indicate to community members the progress of the vote towards Phase 2, we can visualize the current status of the vote in a progress bar.
The progress can be represented as a % of the vote needed to enable Phase 2.
Example

Total stake = 600M
Total votes = 200M (1/3 of total stake)
Amount needed to enable Phase 2 (2/3 of total stake) = 400M

Current Status of the Vote to Enable Phase 2 (2/3 of Total Stake is Needed)

|---------->                      |
        200M Voted           400M Needed (2/3)

Technical Implementation
Two functionCalls to the voting contract

Total stake = get_total_voted_stake()
Total votes = get_votes()

Calculations

Total votes needed = total_stake * (2/3)
% of total stake currently voted = (total_votes / total_stake) * 100

Acceptance Criteria

[ ] Total stake (in NEAR) is displayed
[ ] Total votes (in NEAR) is displayed
[ ] Total votes needed (in NEAR) is displayed (2/3 of total stake)
[ ] % of the votes needed to launch Phase 2 is visualized in the progress bar
[ ] Mobile ok
[ ] Tested

@kcole16 we should use the data from the contract or we should write our own in the explorer and make voting as refer?

Account is https://explorer.near.org/accounts/transfer-vote.near

thanks

it is empty now.

Yes. No one voted on mainnet yet. You can use vote.f863973.m0 on testnet for testing.

I finish the backend query and need to wait for design and where to display for this

@corwinharrell

As long as the vote takes + 3 days or so. @bowenwang1996 @jimmy3dita What do you think?
Agreed, updated the issue to reflect this

As long as the vote takes + 3 days or so. @bowenwang1996 @jimmy3dita What do you think?

It's hard to say right now but that sounds more or less reasonable. Even if it ended earlier we can still persists it for a bit longer.

we should indicate that the required vote is 2/3 of the total stake, or a specific amount

We should use percentage rather than the amount because total staked amount can change between epochs.

I have a suggestion: we show total amount as whole bar and give complete amount(2/3) to have a line there. Like this:
|---------->                                                             |                                                       |
200M Voted                                        400M Needed (2/3)                               600M total


Are prompts included in the perturbation / likelihood computation?

Hi @eric-mitchell,
Thanks for setting up this clean implementation! I had a quick question about the method.
Do you include the prompts as a prefix to the samples while you perform perturbations / calculate likelihood?
From here and here it seems like prompts are included.
I was wondering if very long prompts (relative to the generation length) increase the false-positive rate?
Thank you!

Thanks for checking out the code!
Yes, we include prompts in perturbations/likelihood calculation, but we don't assume we know which tokens are prompt tokens and which are generated tokens. With this setup, I'd expect you're right that if most tokens are prompt tokens, rather than model-generated tokens, detection quality will suffer. It's possible this is one reason why pubmed performance is lower (though I don't know this to be true), since the questions in pubmedqa may be longer than the shorter prefixes we use to generate data for the other datasets.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Kalpesh Krishna @.>
Sent: Tuesday, February 14, 2023 12:31:08 PM
To: eric-mitchell/detect-gpt @.>
Cc: Eric Anthony Mitchell @.>; Mention @.>
Subject: [eric-mitchell/detect-gpt] Are prompts used in the passage? (Issue #1)
Hi @eric-mitchellhttps://github.com/eric-mitchell,
Thanks for setting up this clean implementation! I had a quick question about the method.
Do you include the prompts as a prefix to the samples while you perform perturbations / calculate likelihood?
From herehttps://github.com/eric-mitchell/detect-gpt/blob/main/run.py#L204 and herehttps://github.com/eric-mitchell/detect-gpt/blob/main/run.py#L240 it seems like prompts are included.
I was wondering if very long prompts (relative to the generation length) increase the false-positive rate?
Thank you!
—
Reply to this email directly, view it on GitHubhttps://github.com/eric-mitchell/detect-gpt/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANOLWBZLG7GKYXDNLQUGJ5TWXO6NZANCNFSM6AAAAAAU33BW5U.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @eric-mitchell,
Thank you for the quick reply! I'll close this issue for now.


fix uninitialised variable usage

m_freq_corr was being used uninitialised. On some machines, this can
cause the ppm error value to be incorrect (in some cases wildly so).

Will merge, thanks, but you probably want to push this to the upstream repository - I'm not really maintaining this one.


Update Docker usage with interactive mode

What is the purpose of your issue?

[ ] Bug
[x] Feature Request
[ ] Question
[ ] Other

Description
Docker example usage in the README needs to be updated. Running Docker image without passing -it argument may give an EOFError when expecting user input. Plus the colored logging looks neat. :smile:

closed with f5587d69b5779ca143b376a0815f4733764a07c9.


compilation v1.4 fails on Linux

see my terminal log below.
[ i'm on Xubuntu 22.04 ]
(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled$ git clone https://github.com/DimitrijeDobrota/stellar.git
Cloning into 'stellar'...
remote: Enumerating objects: 1510, done.
remote: Counting objects: 100% (1510/1510), done.
remote: Compressing objects: 100% (700/700), done.
remote: Total 1510 (delta 901), reused 1395 (delta 787), pack-reused 0
Receiving objects: 100% (1510/1510), 365.01 KiB | 6.40 MiB/s, done.
Resolving deltas: 100% (901/901), done.

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled$ cd stellar

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar$ mkdir build

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar$ cd build/

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar/build$ cmake --version
cmake version 3.26.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar/build$ cmake -DCMAKE_BUILD_TYPE=Release /home/roelof/Compiled/stellar/
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found target arena
-- Found target attack
-- Found target bitboard
-- Found target board
-- Found target engine
-- Found target move
-- Found target perft
-- Found target piece
-- Found target random
-- Found target utils
-- IPO / LTO enabled
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: /home/roelof/Compiled/stellar/build

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar/build$ make
[  5%] Building CXX object src/CMakeFiles/Stellar_version.dir/stellar_version.cpp.o
[ 10%] Linking CXX static library libStellar_version.a
[ 10%] Built target Stellar_version
[ 15%] Building CXX object src/attack/CMakeFiles/attack.dir/attack.cpp.o
[ 20%] Building CXX object src/attack/CMakeFiles/attack.dir/bishop.cpp.o
[ 25%] Building CXX object src/attack/CMakeFiles/attack.dir/rook.cpp.o
[ 30%] Linking CXX static library libattack.a
[ 30%] Built target attack
[ 35%] Building CXX object src/board/CMakeFiles/board.dir/board.cpp.o
In file included from /home/roelof/Compiled/stellar/src/board/board.hpp:8,
                 from /home/roelof/Compiled/stellar/src/board/board.cpp:6:
/home/roelof/Compiled/stellar/src/board/zobrist.hpp: In function ‘constexpr U64 zobrist::key_castle(int)’:
/home/roelof/Compiled/stellar/src/board/zobrist.hpp:52:69: error: the value of ‘zobrist::keys_castle’ is not usable in a constant expression
   52 | inline constexpr U64 key_castle(int exp) { return keys_castle[exp]; }
      |                                                                     ^
/home/roelof/Compiled/stellar/src/board/zobrist.hpp:17:12: note: ‘zobrist::keys_castle’ was not declared ‘constexpr’
   17 | extern U64 keys_castle[16];
      |            ^~~~~~~~~~~
/home/roelof/Compiled/stellar/src/board/zobrist.hpp: In function ‘constexpr U64 zobrist::key_enpassant(Square)’:
/home/roelof/Compiled/stellar/src/board/zobrist.hpp:53:84: error: the value of ‘zobrist::keys_enpassant’ is not usable in a constant expression
   53 | inline constexpr U64 key_enpassant(Square square) { return keys_enpassant[square]; }
      |                                                                                ^
/home/roelof/Compiled/stellar/src/board/zobrist.hpp:16:12: note: ‘zobrist::keys_enpassant’ was not declared ‘constexpr’
   16 | extern U64 keys_enpassant[64];
      |            ^~~~~~~~~~~~~~
/home/roelof/Compiled/stellar/src/board/zobrist.hpp: In function ‘constexpr U64 zobrist::key_pawn(Color, Square)’:
/home/roelof/Compiled/stellar/src/board/zobrist.hpp:54:94: error: the value of ‘zobrist::keys_pawn’ is not usable in a constant expression
   54 | inline constexpr U64 key_pawn(Color color, Square square) { return keys_pawn[color][square]; }
      |                                                                                ^
/home/roelof/Compiled/stellar/src/board/zobrist.hpp:14:12: note: ‘zobrist::keys_pawn’ was not declared ‘constexpr’
   14 | extern U32 keys_pawn[2][64];
      |            ^~~~~~~~~
/home/roelof/Compiled/stellar/src/board/zobrist.hpp: In function ‘constexpr U64 zobrist::key_piece(Type, Color, Square)’:
/home/roelof/Compiled/stellar/src/board/zobrist.hpp:57:1: error: the value of ‘zobrist::keys_piece’ is not usable in a constant expression
   57 | }
      | ^
/home/roelof/Compiled/stellar/src/board/zobrist.hpp:15:12: note: ‘zobrist::keys_piece’ was not declared ‘constexpr’
   15 | extern U64 keys_piece[2][12][64];
      |            ^~~~~~~~~~
In file included from /home/roelof/Compiled/stellar/src/board/board.cpp:9:
/home/roelof/Compiled/stellar/src/utils/./utils_ui.hpp: In function ‘constexpr const string to_string(Color)’:
/home/roelof/Compiled/stellar/src/utils/./utils_ui.hpp:10:29: error: invalid return type ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} of ‘constexpr’ function ‘constexpr const string to_string(Color)’
   10 | constexpr const std::string to_string(const Color color) {
      |                             ^~~~~~~~~
In file included from /usr/include/c++/11/string:55,
                 from /usr/include/c++/11/bits/locale_classes.h:40,
                 from /usr/include/c++/11/bits/ios_base.h:41,
                 from /usr/include/c++/11/streambuf:41,
                 from /usr/include/c++/11/bits/streambuf_iterator.h:35,
                 from /usr/include/c++/11/iterator:66,
                 from /usr/include/c++/11/bits/ranges_algobase.h:36,
                 from /usr/include/c++/11/bits/ranges_algo.h:35,
                 from /usr/include/c++/11/algorithm:64,
                 from /home/roelof/Compiled/stellar/src/board/zobrist.hpp:7,
                 from /home/roelof/Compiled/stellar/src/board/board.hpp:8,
                 from /home/roelof/Compiled/stellar/src/board/board.cpp:6:
/usr/include/c++/11/bits/basic_string.h:85:11: note: ‘std::__cxx11::basic_string<char>’ is not literal because:
   85 |     class basic_string
      |           ^~~~~~~~~~~~
/usr/include/c++/11/bits/basic_string.h:85:11: note:   ‘std::__cxx11::basic_string<char>’ does not have ‘constexpr’ destructor
In file included from /home/roelof/Compiled/stellar/src/board/board.cpp:9:
/home/roelof/Compiled/stellar/src/utils/./utils_ui.hpp: In function ‘constexpr const string to_coordinates(Square)’:
/home/roelof/Compiled/stellar/src/utils/./utils_ui.hpp:29:29: error: invalid return type ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} of ‘constexpr’ function ‘constexpr const string to_coordinates(Square)’
   29 | constexpr const std::string to_coordinates(const Square square) { return coordinates_array[square]; }
      |                             ^~~~~~~~~~~~~~
/home/roelof/Compiled/stellar/src/utils/./utils_ui.hpp: In function ‘constexpr Square from_coordinates(const string&)’:
/home/roelof/Compiled/stellar/src/utils/./utils_ui.hpp:32:39: error: call to non-‘constexpr’ function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference = const char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
   32 |     return static_cast<Square>((cord[1] - '1') * 8 + (cord[0] - 'a'));
      |                                       ^
In file included from /usr/include/c++/11/string:55,
                 from /usr/include/c++/11/bits/locale_classes.h:40,
                 from /usr/include/c++/11/bits/ios_base.h:41,
                 from /usr/include/c++/11/streambuf:41,
                 from /usr/include/c++/11/bits/streambuf_iterator.h:35,
                 from /usr/include/c++/11/iterator:66,
                 from /usr/include/c++/11/bits/ranges_algobase.h:36,
                 from /usr/include/c++/11/bits/ranges_algo.h:35,
                 from /usr/include/c++/11/algorithm:64,
                 from /home/roelof/Compiled/stellar/src/board/zobrist.hpp:7,
                 from /home/roelof/Compiled/stellar/src/board/board.hpp:8,
                 from /home/roelof/Compiled/stellar/src/board/board.cpp:6:
/usr/include/c++/11/bits/basic_string.h:1038:7: note: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference = const char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ declared here
 1038 |       operator[] (size_type __pos) const _GLIBCXX_NOEXCEPT
      |       ^~~~~~~~
make[2]: *** [src/board/CMakeFiles/board.dir/build.make:76: src/board/CMakeFiles/board.dir/board.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:358: src/board/CMakeFiles/board.dir/all] Error 2
make: *** [Makefile:101: all] Error 2

It seems like these issues are due to you having an older complier, as I only get a few warnings with gcc 13.2.0. Please check out the latest commit, and report any furthers errors here.

i can use these versions : see below.
your compilation is based on cmake so i'd rather not touch it : can we supply parameters to set compilers and versions ?  I have cmake version 3.26.3
(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar$ gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar$ gcc-13 --version
gcc-13 (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar$ clang --version
Ubuntu clang version 14.0.0-1ubuntu1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar$ clang-17 --version
Ubuntu clang version 17.0.6 (++20231209124227+6009708b4367-1~exp1~20231209124336.77)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Just to confirm, does the version 1.4.1 work for you with gcc 11.4.0?
Also you can try removing build folder, and making it again. Before running cmake -DCMAKE_BUILD_TYPE=Release .. you should add export CXX=g++-13 or whoever else is the 13.1.0 version called. You can also try with clang++-17. They should work as expected.

perfect : see log below.
the engine binary is 98.2 Kb and runs fine in CuteChess !
it looses a first (7m 3s) game to a 2850 .. nevermind, no crash, just a decent ending.
but it uses max 3 sec per move !?
[Event "engine vs engine"]
[Site "Holland"]
[Date "2024.05.20"]
[Round "?"]
[White "Stellar v1.4.1"]
[Black "Integral v1"]
[Result "0-1"]
[ECO "C55"]
[GameDuration "00:08:28"]
[Opening "Two knights defense"]
[PlyCount "122"]
[TimeControl "420+3"]

1. e4 {+0.26/11 2.2s} e5 {-0.11/26 9.0s} 2. Nf3 {+0.27/11 2.3s}
Nc6 {-0.14/25 10.0s} 3. Bc4 {+0.14/11 2.3s} Nf6 {-0.16/26 9.7s}
4. O-O {+0.14/11 2.3s} Nxe4 {+0.13/26 9.4s} 5. d3 {+0.07/11 2.3s}
Nf6 {+0.25/26 7.1s} 6. Re1 {-0.07/11 2.3s} Be7 {+0.33/27 11s}
7. Nxe5 {-0.21/11 2.4s} Nxe5 {+0.29/27 7.7s} 8. Rxe5 {-0.36/12 2.4s}
d5 {+0.26/26 16s} 9. Bb3 {-0.36/12 2.0s} Bg4 {+0.25/25 13s}
10. Qe1 {+0.09/11 2.4s} Be6 {+0.26/25 7.1s} 11. Nc3 {+0.01/11 2.4s}
c6 {+0.31/26 8.7s} 12. Bf4 {-0.16/10 2.4s} O-O {+0.38/23 8.9s}
13. Rd1 {-0.20/10 2.5s} Bd6 {+0.41/27 13s} 14. Rxe6 {-0.35/13 2.0s}
Bxf4 {+0.42/26 6.3s} 15. Re2 {-0.33/12 2.2s} Bd6 {+0.42/26 7.1s}
16. Ne4 {-0.01/11 2.5s} dxe4 {+0.58/30 7.5s} 17. dxe4 {-0.85/12 1.6s}
Ng4 {+0.47/30 8.0s} 18. e5 {-1.09/12 2.6s} Nxe5 {+0.48/30 9.0s}
19. Rxe5 {-0.93/13 2.5s} Bxe5 {+0.50/31 7.9s} 20. Rxd8 {-1.05/12 2.6s}
Raxd8 {+0.53/30 6.5s} 21. g3 {-0.93/13 2.4s} Bxb2 {+0.59/28 5.1s}
22. Qe7 {-0.77/14 1.9s} Rd2 {+0.54/28 6.7s} 23. Qxb7 {-0.70/13 2.6s}
Bd4 {+0.67/28 5.5s} 24. Qxc6 {-0.71/12 2.6s} Rxf2 {+0.62/25 4.6s}
25. Kh1 {-0.68/13 2.5s} Rd8 {+0.77/25 7.6s} 26. c4 {-0.73/11 2.7s}
h6 {+1.54/26 7.2s} 27. c5 {-0.88/13 2.7s} Be3 {+1.59/26 4.9s}
28. h4 {-1.21/12 2.7s} Rdd2 {+2.25/32 6.0s} 29. Qe8+ {-1.61/14 2.2s}
Kh7 {+2.43/32 4.5s} 30. Qxe3 {-1.19/15 2.7s} Rf1+ {+2.68/35 4.9s}
31. Qg1 {-0.81/15 2.7s} Rxg1+ {+2.86/33 4.2s} 32. Kxg1 {-1.60/15 2.7s}
Kg6 {+2.94/34 5.5s} 33. c6 {-1.47/15 2.7s} Rd6 {+3.01/34 7.5s}
34. Ba4 {-1.82/15 2.7s} Rd5 {+3.07/32 5.8s} 35. Kf2 {-1.87/14 2.4s}
Kf6 {+3.15/31 6.7s} 36. Ke3 {-1.99/13 2.8s} Ra5 {+3.18/30 4.6s}
37. Bc2 {-2.23/14 2.8s} Ke7 {+3.24/29 4.2s} 38. Be4 {-2.42/14 2.8s}
Kd6 {+4.04/27 4.8s} 39. a4 {-2.80/15 1.8s} Rxa4 {+4.48/28 4.0s}
40. Kf4 {-3.26/14 2.8s} a5 {+5.30/28 4.0s} 41. Ke3 {-3.85/13 2.8s}
Ra3+ {+5.63/27 4.2s} 42. Ke2 {-5.02/12 2.8s} Rxg3 {+6.64/30 6.3s}
43. Kd2 {-6.36/14 2.8s} a4 {+7.28/30 4.1s} 44. Kc2 {-7.08/14 2.8s}
Rg4 {+8.42/35 4.0s} 45. c7 {-7.89/15 2.3s} Kxc7 {+9.09/37 4.2s}
46. Bd5 {-8.30/15 2.8s} Rxh4 {+9.30/37 3.8s} 47. Bxf7 {-8.75/15 2.5s}
Rh2+ {+11.39/38 4.0s} 48. Kd3 {-8.91/15 2.9s} a3 {+16.87/38 3.9s}
49. Ke3 {-9.44/16 2.9s} a2 {0.00/35 14s} 50. Bxa2 {-10.37/17 2.9s}
Rxa2 {+16.60/27 5.5s} 51. Ke4 {-13.04/20 2.9s} Ra4+ {+M33/27 4.7s}
52. Kd3 {-13.04/16 2.9s} h5 {+M29/22 3.9s} 53. Ke3 {-14.71/15 2.9s}
h4 {+M21/47 3.8s} 54. Kf2 {-17.75/17 2.9s} Ra2+ {+M15/73 4.1s}
55. Ke3 {-M22/13 0.76s} h3 {+M13/76 3.8s} 56. Kf3 {-M18/11 0.28s}
h2 {+M11/97 4.1s} 57. Kf4 {-M16/9 0.084s} Ra3 {+M9/100 2.3s}
58. Ke4 {-M12/8 0.064s} h1=Q+ {+M7/100 0.10s} 59. Kf4 {-M10/5 0.013s}
Qf3+ {+M5/100 0.062s} 60. Kg5 {-M6/3 0.001s} Qe4 {+M3/100 0.031s}
61. Kh5 {-M4/2 0s} Ra5# {+M1/100 0.006s, Black mates} 0-1

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled$ git clone https://github.com/DimitrijeDobrota/stellar.git
Cloning into 'stellar'...
remote: Enumerating objects: 1519, done.
remote: Counting objects: 100% (1519/1519), done.
remote: Compressing objects: 100% (704/704), done.
remote: Total 1519 (delta 908), reused 1402 (delta 792), pack-reused 0
Receiving objects: 100% (1519/1519), 366.31 KiB | 1.22 MiB/s, done.
Resolving deltas: 100% (908/908), done.

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled$ cd stellar/

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar$ mkdir build

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar$ cd build

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar/build$ export CXX=g++-13

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar/build$ cmake -DCMAKE_BUILD_TYPE=Release ..
-- The CXX compiler identification is GNU 13.1.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-13 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found target arena
-- Found target attack
-- Found target bitboard
-- Found target board
-- Found target engine
-- Found target move
-- Found target perft
-- Found target piece
-- Found target random
-- Found target utils
-- IPO / LTO enabled
-- Configuring done (0.7s)
-- Generating done (0.0s)
-- Build files have been written to: /home/roelof/Compiled/stellar/build

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/stellar/build$ make
[  5%] Building CXX object src/CMakeFiles/Stellar_version.dir/stellar_version.cpp.o
[ 10%] Linking CXX static library libStellar_version.a
[ 10%] Built target Stellar_version
[ 15%] Building CXX object src/attack/CMakeFiles/attack.dir/attack.cpp.o
[ 20%] Building CXX object src/attack/CMakeFiles/attack.dir/bishop.cpp.o
[ 25%] Building CXX object src/attack/CMakeFiles/attack.dir/rook.cpp.o
[ 30%] Linking CXX static library libattack.a
[ 30%] Built target attack
[ 35%] Building CXX object src/board/CMakeFiles/board.dir/board.cpp.o
[ 35%] Built target board
[ 40%] Building CXX object src/move/CMakeFiles/moves.dir/move.cpp.o
[ 45%] Building CXX object src/move/CMakeFiles/moves.dir/movelist.cpp.o
[ 45%] Built target moves
[ 50%] Building CXX object src/arena/CMakeFiles/arena.dir/arena.cpp.o
[ 55%] Building CXX object src/arena/CMakeFiles/arena.dir/engine.cpp.o
[ 60%] Building CXX object src/arena/CMakeFiles/arena.dir/game.cpp.o
[ 65%] Building CXX object src/arena/CMakeFiles/arena.dir/match.cpp.o
[ 70%] Linking CXX executable ../../bin/arena
[ 70%] Built target arena
[ 75%] Building CXX object src/engine/CMakeFiles/engine.dir/engine.cpp.o
[ 80%] Building CXX object src/engine/CMakeFiles/engine.dir/evaluate.cpp.o
[ 85%] Building CXX object src/engine/CMakeFiles/engine.dir/uci.cpp.o
[ 90%] Linking CXX executable ../../bin/engine
[ 90%] Built target engine
[ 95%] Building CXX object src/perft/CMakeFiles/perft.dir/perft.cpp.o
[100%] Linking CXX executable ../../bin/perft
[100%] Built target perft

I'm really glad that it works. Thanks a lot for taking an interest in the project.
Time control seems fine in terms of the algorithm that I've implemented, which isn't that good which is evident.
I will mark this issue as closed. If you have any further problems feel free to reach out, or open another issue.

OK
i might add some text to a 'closed issue' when it suits .. do you mind ?

..Time control seems fine in terms of the algorithm that I've implemented, which isn't that good which is evident..

i think time management is important in practical play : think efficient and to-the-max .. even spend more in positions which 'deserve' it ..

Makes sense, it's definitely something I need to take a look at in the future. I'm not entirely sure how to go about detecting worthy positions. Right now the engines cuts the search short, even before allocated time for the move has passed, if it detects it will take to long, as not to waste time on something that won't be completed and used. I see that the other engine is quite strong, even if Stellar was to think for 7sec let's say, it wouldn't be able to get close to that depth.

Integral v1 is a new kid on the block .. no NN, only HCE .. rating by author .. not listed anywhere yet.
well, 'worthy positions' was my description .. i know it's hard to decide which nodes are searched and why .. i guess that's about your own HCE .. simple formulas exist to determine a max time for each / a move, regarding time-left, moves-left / amount-of-pieces .. you get the idea :)
let this sink in ..

i just stumbled upon Parrot, an old (XBoard) simple (?) HCE engine .. i found a Linux (32-bit!?) asset called '07-07-22' which plays plays nicely in CuteChess - this is code from 2007 and mainly 32-bit !?
read about the author at https://www.chessprogramming.org/Parrot : this text may inspire you :
Parrot,
a Chess Engine Communication Protocol (XBoard) compatible open source engine by Johanes Suhardjo, written in C. Parrot started in about 1994 from GNU Chess 4.0, and was completely rewritten in 2002. Parrot evolved to a bitboard engine applying rotated bitboards for sliding piece attacks, first with an rudimentary evaluation with primitive king safety and piece-square tables, consistently adding new features and improving. In 2006, Johanes implemented to recognize expected node types based on Valavan Manohararajah's Masters thesis. By predicting those node types, he managed to improve pruning and shaved the search tree significantly.
[ links see the article ]
so : expected node types !?
ZIPped source : parrot-corrected-JA-32-bit-source-now-for-64-bit-linux.zip

i also just found :
Implement advanced time management #205
https://github.com/kirillbobyrev/pabi/issues/205
HTH


How to exclude sources in Public Resolver list or any list

I read the documentation on configuring static and sources, but nothing mentions how to exclude certain sources from being used, apart from filters but it doesn't help much in my case.

I think this is a duplicate of https://github.com/jedisct1/dnscrypt-proxy/issues/735 and you use e.g. disabled_server_names = ['cloudflare-ipv6', 'cloudflare']  which seems to have been introduced in 2.0.20 (Debian Testing&Unstable are on 2.0.19).

If you are actually talking about sources, in order to disable one, just delete or comment it.

I think this is a duplicate of #735 and you use e.g. disabled_server_names = ['cloudflare-ipv6', 'cloudflare'] which seems to have been introduced in 2.0.20 (Debian Testing&Unstable are on 2.0.19).

I believe this only works if you're using the 'static' setting. I'm using the public source list.

If you are actually talking about sources, in order to disable one, just delete or comment it.

I'm using the public-resolvers and like to remove Cloudflare, I commented out Cloudflare yet it throws out this error: [2019-04-09 13:02:29] [CRITICAL] Unable to use source [public-resolvers]: [Invalid signature] [2019-04-09 13:02:29] [FATAL] No servers configured after a restart. I'm aware it states there are no configured servers to use, though not sure how that's possible as there are plenty of servers uncommented and available for use.

Use disabled_server_names = ['cloudflare-ipv6', 'cloudflare'].


Preload resources before trying to convert resource to existing atom.

Preloading resources will create the necessary atoms needed for Kaffy to work with.
This should fix #250

@ghenry I think this simple fix will do the trick

LGTM!


Suggestion - hide the key at login for new users

For new users the system generates the private key and it is displayed fully on the screen.

I suggest that a symbol of a key instead and with the instruction of copy/pasting it somewhere.  No option of Move on yet.


using vins fusion slam

@matlabbe
Hello, I am trying to use vio with vins fusion and mapping with rtabmap using this good code.
I downloaded the rtabmap source and set vinsFusion=On to complete the installation. But can you tell me the launch file to use this vins fusion as odom?

I made settings related to vins and odometry in arg, but it doesn't work

You can look at this example:
https://github.com/introlab/rtabmap_ros/blob/c1d1c01d5d732784ceb6b225ebf6eebdb700ceb0/rtabmap_examples/launch/euroc_datasets.launch#L26-L32
Odom/Strategy 9 OdomVINS/ConfigPath ~/catkin_ws/src/VINS-Fusion/config/euroc/euroc_stereo_imu_config.yaml

To make sure if rtabmap did build with VINS, you can do rtabmap --version. If you see With VINS-Fusion:        true, the parameters in the example above should work.

@matlabbe T
here is no problem with Vins and Rtabmap working normally.
The problem is that tf related errors occur.

Which tf errors?

@matlabbe
I am testing the above algorithm on a real drone. I am currently using orangepi5, and at first it outputs 30hz odom and then gradually goes down. Are there options available for less powerful computers?
I also tried Vins fusion, but it takes a lot of resources

For VIO, you may try msckf_vio (see Table 7 of this paper), which is made to use less computation power (i.e., higher framerate on less powerful computer) and accuracy is still relatively good. If you want to use it inside rtabmap, you may have to follow this:
https://github.com/introlab/rtabmap/blob/64f79813cd2c3a7e3f916a7ef2637e93f1f13a5f/docker/jfr2018/latest/Dockerfile#L140-L141
to build msckf in a catkin workspace, then do this:
cd rtabmap/build
cmake -DWITH_MSCKF_VIO=ON ..

@matlabbe Thanks matlabbe
Right now I'm trying to use the existing rtabmap slam and I'm testing it, but I've noticed something strange.

camera : d435i
imu : /mavros/imu/data
I am using it as described above, and the tf of the base frame are all showing different directions.
my launch file

<arg     if="$(arg localization)" name="pre_args" default=""/>
<arg unless="$(arg localization)" name="pre_args" default="-d"/>

<node pkg="nodelet" type="nodelet" name="imu_to_tf" args="standalone rtabmap_util/imu_to_tf">
  <remap from="imu/data" to="/mavros/imu/data"/>
  <param name="fixed_frame_id" value="base_link_stabilized"/>
  <param name="base_frame_id" value="base_link"/>
</node>

<!-- To connect rtabmap planning stuff with move_base below -->
<param name="/rtabmap/rtabmap/use_action_for_goal" value="true"/>
<remap from="/rtabmap/move_base" to="/move_base"/>

<!-- VSLAM -->
<param name="/rtabmap/rtabmap/latch" value="false"/> <!-- For some reason, if we latch grid_map, the global costmap inflation layer will create holes on robot path. To avoid hol>
<include file="$(find rtabmap_launch)/launch/rtabmap.launch">
  <arg name="localization"      value="$(arg localization)"/>
  <arg name="args"              value="$(arg pre_args)  --delete_db_on_start --Odom/Strategy 1 --Vis/MaxFeatures 600 --OdomF2M/MaxSize 1000 --Optimizer/GravitySigma 0.1 --Vis/Fe>
  <arg name="rtabmap_viz"        value="$(arg rtabmap_viz)" />
  <arg name="frame_id"          value="base_link" />
  <arg name="odom_guess_frame_id" value="base_link_stabilized" />
  <arg name="rgb_topic"         value="/camera/color/image_raw" />
  <arg name="depth_topic"       value="/camera/depth/image_rect_raw" />
  <arg name="camera_info_topic" value="/camera/color/camera_info" />
  <arg name="imu_topic"         value="/mavros/imu/data"/>
  <arg name="wait_imu_to_init"  value="true"/>
  <arg name="approx_sync"       value="true"/>

  <arg if="$(arg ground_truth)" name="ground_truth_frame_id" value="world"/>
  <arg if="$(arg ground_truth)" name="ground_truth_base_frame_id" value="base_link_gt"/>
</include>

<!-- Costmap -->
  <node pkg="nodelet" type="nodelet" name="camera_points_xyz" args="standalone rtabmap_util/point_cloud_xyz">
  <remap from="depth/image"       to="/camera/depth/image_rect_raw"/>
  <remap from="depth/camera_info" to="/camera/depth/camera_info"/>
  <remap from="cloud"             to="camera_cloud" />

  <param name="decimation"  type="double" value="4"/>
  <param name="voxel_size"  type="double" value="0.1"/>
  <param name="approx_sync" type="bool"   value="true"/>
</node>

<!-- navigation -->
<node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
   <remap from="map" to="/rtabmap/grid_map"/>
   <remap from="odom" to="/rtabmap/odom"/>
   <param name="base_local_planner" value="dwa_local_planner/DWAPlannerROS" />
   <rosparam file="$(find rtabmap_drone_example)/param/costmap_common_params.yaml" command="load" ns="global_costmap" />
   <rosparam file="$(find rtabmap_drone_example)/param/costmap_common_params.yaml" command="load" ns="local_costmap" />
   <rosparam file="$(find rtabmap_drone_example)/param/global_costmap_params.yaml" command="load" />
   <rosparam file="$(find rtabmap_drone_example)/param/local_costmap_params.yaml" command="load" />
   <rosparam file="$(find rtabmap_drone_example)/param/base_local_planner_params.yaml" command="load" />
</node>

Can you tell me what's wrong? thank you

@matlabbe
my tf tree

What is the frame_id in /mavros/imu/data? If different than base_link, the 18- deg may come from base_link to imu_link, see imu_to_tf code here: https://github.com/introlab/rtabmap_ros/blob/master/rtabmap_util/src/nodelets/imu_to_tf.cpp

@matlabbe thanks matlabbe I am using the px4.config file provided by rtabmap_drone_example and imu is written as base_link
And as recommended by matlabbe, I am using it after changing it to MSCKF_VIO. When base_link TF rotates on the map, base_link_stabilized TF is fixed instead of rotating along with it.

Grid/MaxGroundHeight is based on map frame (Grid/MapFrameProjection), assuming the drone is taking off from the floor. Did you compare the odometry values between both visual odometry approaches?
Well, for how much it will affect VIO you would need to ask on MSCKF repo.

@matlabbe
When testing all three of orb-slam , vins and msckf_vio , msckf_vio performed the best as recommended.
As with vins, I thought it would be a good way to achieve a more accurate vio to set each cam, imu, gyro, and acc using a config file.
Due to lack of CPU power, Z is using altitude lidar. Is there any way to integrate a separate lidar sensor?
Thank you for your help. When the code is complete, we will publish the code with a thank you note

Is there any way to integrate a separate lidar sensor?

Not sure where you want to integrate it. rtabmap node can subscribe to a lidar or Pointcloud2 topic.

@matlabbe thanks


Use operator.tekton.dev/release label to detect Tekton version

Changes
https://issues.redhat.com/browse/BUILD-430
https://github.com/shipwright-io/operator/issues/61

Submitter Checklist

[ ] Includes tests if functionality changed/was added
[ ] Includes docs if changes are user-facing
[ ] Set a kind label on this PR
[ ] Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.
Release Notes

shipwright operator is not able to get the version from 0.49.0 tekton config object
we have an error
1.6656573949880953e+09	ERROR	controller.shipwrightbuild	Reconciler error	{"reconciler group": "operator.shipwright.io", "reconciler kind": "ShipwrightBuild", "name": "shipwright", "namespace": "", "error": "failed to determine Tekton Operator version: could not parse \"devel\" as version"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227

the tekon config crd is not advertising the version in the label operator.tekton.dev/release
 generation: 1   labels:     operator.tekton.dev/release: devel     operators.coreos.com/tektoncd-operator.shipwright-operator: ""     version: v0.49.0

As we reyling on label operator.tekton.dev/release on tektonconfigs crd to detect tekton operator version which has been added on 0.50.0 of tekton operator https://github.com/tektoncd/operator/releases/tag/v0.50.0
I am also updating minimal tekton operator version required to 0.50.0

/assign @coreydaley
/assign @adambkaplan
Can you please review

I think that we should make the needed values constants so that they can be updated in one place instead of having to hunt through the code or do a global search/replace for them.
Thoughts?

yes I agreen, done

/lgtm

@jkhelil I do not have permissions to add the approved label.

@coreydaley you seem to be in the approvers list https://github.com/shipwright-io/operator/blob/main/OWNERS


Add orange-opensource/hurl 4.1.0

[x] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Executable-Error


Host File Editor - "Additional lines" is moving with "Bottom" and "Top" setting

Microsoft PowerToys version
0.64.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
Hi,
First please note I selected "General" in "Aera(s) with issue" because "Host File Editor" was not in the list.
When you add or remove a line the host file format is completely "messed up" cause the "Additional lines" are moving with the "Bottom" or "Top" setting.
✔ Expected Behavior
When I add a line, I want this line only to be put in "Bottom" or "Top" according to the setting. And "Additional  lines" to stays where they initialy was.
The Expected behavior looks like: (let's assume I set "Bottom")
# Copyright (c) 1993-2009 Microsoft Copr.
#
# This is a sample HOST file used by Microsoft TCP/IP for Windows.
[...]
<IP_ADDRESS> test
<IP_ADDRESS> test2
<IP_ADDRESS> new_line_test
EOF
❌ Actual Behavior
The line is put on "Bottom" (or "Top") and then the "Additional lines" (the lines Microsoft is creating by default for example) are put just after the line.
This behavior cause the following outputed file: (let's assume I set "Bottom")
[...]
<IP_ADDRESS> test
<IP_ADDRESS> test2
<IP_ADDRESS> new_line_test
# Copyright (c) 1993-2009 Microsoft Copr.
#
# This is a sample HOST file used by Microsoft TCP/IP for Windows.
[...]
EOF
Other Software
No response

@Lord-ZuzurNC
Do you expect that only your new entry is is added at the bottom?

Hi @htcfreek,
Yes that is what I meant, sorry if it was unclear.

@Lord-ZuzurNC
First I have to say you that this isn't a bug. "Additional lines" means exactly this additional content with the copyright and all the description. If you add new lines/entries they were always added at the bottom. But you can sort the lines by opening the context menu of the entry and clicking the up/down commands in the Hosts Editor app.
Because we have an unclear translation for German language in the settings ui, I will open an issue for improving the settings name and add a description. I will reference to this one here as misunderstanding example.
@davidegiacometti
I suggest to rename the app and settings to "Additional content/Placement of additional content" and add a settings description like "Position of additional content like copyright and examples in the hosts file".

I understand.
But I didn't added lines in these copyright field.
When I add an entry on the host file the copyright is moved to the end (cause I have "Bottom" setting).
If it is what you expected I will have to disable that feature and continue with a text editor.
I don't want all the commented part of the file (copyright part) to be moved at the bottom when I add an entry at the bottom, I want it to stay where it is: at the top of the file.
Thank you for your time.
Best Regards.

@Lord-ZuzurNC
The only thing you have to do is changing the setting from bottom back to top and change an entry once.


Add input requester input validator

What is done in this PR?
In this PR I created two classes called InputRequester and InputValidator.
InputRequester is a class that is supposed to handle the inputs.
InputValidator is a class that is supposed to validate the inputs.

Thank you for your review @CaptainBawa


[$1000] Disabled cursor is being shown instead of default cursor

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the app and keep the screen size below 800px
Navigate to Settings > Payments > Have Paypal as a payment method
Click on the Paypal account
Hover over Paypal.me and username
You'll notice cursor is disabled

Expected Result:
Default cursor should be shown
Actual Result:
Disabled cursor is being shown
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.16-3
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/6f2f3bf2-ddc8-47aa-b711-df4c233f5fbf
https://github.com/Expensify/App/assets/43996225/1ff38bd0-d3a0-4e58-97b7-2187d824227f
Expensify/Expensify Issue URL:
Issue reported by: @daraksha-dk
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684248402352109
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01e327fcf150738b2d
Upwork Job ID:<PHONE_NUMBER>988689408
Last Price Increase: 2023-05-18

Proposal
Please re-state the problem that we are trying to solve in this issue.
Wrong cursor styling for read-only MenuItem
What is the root cause of that problem?
The root cause of this issue is that we are using disabled={true} with interactive={false} to make a read-only MenuItem. Which adds the extra disabled styles to the component.
What changes do you think we should make in order to solve the problem?

To fix this, we first need to decide what type of styling is needed when:

disabled and interactive are true
disabled is true and interactive is false
disabled is undefined/false and interactive is false

My suggestion:
(keeping interactive true by default)

When interactive is true & disabled is false/undefined => default state with cursor pointer
When both disabled & interactive are true => apply disabled styles like cursor disabled (normal scenario for disabled state)
When both disabled & interactive are false => Use the default cursor styling. (when data is read-only like Title)
When interactive is false & disabled is true => Add a different type of disabled styling like an opacity change (optional)
These changes will be needed to be done in src/components/MenuItem.js and after making these changes other places where it's being used will need to be updated accordingly.
by @daraksha-dk

Proposal
Please re-state the problem that we are trying to solve in this issue.
Disabled cursor is being shown instead of default cursor
What is the root cause of that problem?
Its happening because We are using MenuItem here with disabled=true. its adding cursor disabled.
What changes do you think we should make in order to solve the problem?
https://github.com/Expensify/App/blob/7d7fa72d83a9c34aeff83eea200297bc2dd10a2c/src/pages/settings/Payments/PaymentsPage/BasePaymentsPage.js#L438-L445
we can set disabled= false. it will make cursor pointer. then we can ovveride it by
adding styles.cursorDefault to wrapperStyle array

What alternative solutions did you explore? (Optional)
None
Result:
https://github.com/Expensify/App/assets/31707153/d70e607c-21e8-4df3-87c6-ffa877765e24

Please re-state the problem that we are trying to solve in this issue.
A disabled cursor is being shown instead of the default cursor
What is the root cause of that problem?
This is causing a problem because here in MenuItem using disabled which is making the cursor disabled.
What changes do you think we should make in order to solve the problem?
We need to update or remove the disabled prop from the menuItem.
 <MenuItem       title={this.state.formattedSelectedPaymentMethod.title || ''}       icon={this.state.formattedSelectedPaymentMethod.icon}       description={this.state.formattedSelectedPaymentMethod.description}       wrapperStyle={[styles.pv0, styles.ph0, styles.mb4]}       disabled       interactive={false}   />
When the disabled prop is removed or updated to disabled={false}, it will change that cursor to the pointer.
Then we can change the styles to make it the default cursor.

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~016adf33c4f0ca2e1c/

Proposal
Under /settings/payments path for paypal.me MenuItem the not-allowed cursor is being shown instead of default cursor.
Root cause of this problem is that disabled props has been passed to MenuItem component.
To solve this issue we should remove the disabled props this way the cusor will changed to pointer and to show default cursor we should add styles.cursorDefault into wrapperStyle props array. By adding styles.cursorDefault will solve the issue.

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/akshayb17

sorry for the delay, assigned out.

Apologies for not catching this while I was at EC3. Removing my assignment as I'm OOO - will reapply the label

Reassigning, OOO tomorrow/Monday

PR merged and deployed to staging


Provide a sample file using Import Scheduler

Can you provide an example file that uses the Scheduler import rahter than one that uses the src code?

@t-hughes did you solve it?

no @ajAnshul

Closing in favor of #27.


fix: Use jsoniter instead of encoding/json

@nitisht I think always declaring json as global variable is better. It is more consistent and will prevent an accidental use of both json libraries at the same time

@vadmeste the purpose to avoid that was goimports - it is not easy to do that and keep it sane. So it is used at the right place on purpose.


Test Failure test_01_get_project_events_since

test failure
Traceback (most recent call last):
File "/home/circleci/project/tests/test_events.py", line 44, in test_01_get_project_events_since
out = self.a.Events._get_all_project_events(iterable=True, since_datetime=test_datetime)
File "/home/circleci/project/atlasapi/atlas.py", line 926, in _get_all_project_events
obj_list.append(atlas_event_factory(item))
File "/home/circleci/project/atlasapi/events.py", line 154, in atlas_event_factory
return AtlasEvent(value_dict=value_dict)
File "/home/circleci/project/atlasapi/events.py", line 71, in init
super().init(value_dict)
File "/home/circleci/project/atlasapi/events.py", line 35, in init
self.event_type = AtlasEventTypes[value_dict.get('eventTypeName', 'UNKNOWN')]  # type: AtlasEventTypes
File "/home/circleci/.pyenv/versions/3.8.16/lib/python3.8/enum.py", line 387, in getitem
return cls.member_map[name]
KeyError: 'MAINTENANCE_WINDOW_MODIFIED'

Strange that this appears now...
It seams there is an ATLAS_ prefixed version of this event type, as well as a bare one.
So far only the ATLAS_ prefixed ones were there.
Adding the bare ones (MAINTENANCE_WINDOW_MODIFIED ) to events_event_types.py as quick fix


App ID & Password should be passed to spawn()

I was passing the App ID & Password to the controllers constructor and should have been passing it into spawn().

This is just an error in the sample & docs so no rush.


Feature Request: Rate Limiting

I understand that technically rate limiting is possible via cloud code, but it would be great to have it built-in to parse-server. For instance, the setting could be described as: "If a user (or IP address) is submitting more than 1 request per __ seconds, then return an error."
Please look into this. Thanks.

Hacker could potentially lock out all your users then. The denial of service would be 100% achieved with that kind of feature.

You Can easily achieve this with haproxy as a load balancer.

@flovilmart Thanks, that is great to know!
I am actually using Google App Engine but it looks like it does not currently support rate limiting. Azure does . Not sure about AWS Elastic Beanstalk.
I found out that for my particular scenario (a user creating tons of accounts), what I actually needed were dynamic IP address restrictions. Both Azure and AWS support this.


Make type of typeName polymorphic over return type

Currently typeName function from Relude.Extra.Type has the following type:
typeName :: forall a. Typeable a => Text

But maybe it's more convenient to make return type polymorphic? Because some API still use String type and some might use ByteString...
typeName :: forall a s . (Typeable a, IsString s) => s

Shouldn't affect performance because we can add SPECIALIZE pragma and expose unfoldings.

It was decided to not implement this.


Add notion of registered packages

Probably needs to get touched on JuliaPackages.jl side too...

resolved by: https://github.com/djsegal/julia_packages/commit/29752345f95cae85c175ee1834ef9d4971de59ec and https://github.com/djsegal/julia_packages/commit/6f619d2e032ece8e54fb1a3a0f071b800dbbff9c


can we make /atsea be / ?

That way when we want to visit the site we'd just go to atseashop.com
cc @ManoMarks @spara

yes, but check with @jessvalarezo on how it will impact the client

@nathanleclaire sure! I'll just change the base URL.

er, i guess it might be meant to be / is the index.html and the javascript calls /atsea?

just want to hit the front page when we go to /


[Bug] Use Segmentation tools with Stack Viewport

Describe the Bug
This documentation link is broken:
https://www.cornerstonejs.org/docs/tutorials/basic-segmentation-tools/#read-more

https://www.cornerstonejs.org/live-examples/segmentationRendering.html

Steps to Reproduce
Checkout above link
The current behavior
The segmentation rendering example is broken, can't find any example of using segmentation tool for stack viewport.
The expected behavior
Please give an example of using segmentation tool for stack viewport. In my case, I render single dicom file from my local filesystem (using stack viewport like this example). But I can't figure out how to add segmentation tool then
OS
macOS 13.3
Node version
16.17.1
Browser
Chrome 115.0.5790.114

sorry about that it is wrong. I will edit it
Stack Viewport segmentation is not ready yet unfortunately but we are working on it

@sedghi So currently we can only use segmentation in volume viewport?
If that's the case, may I ask another question (sorry I'm not familiar with cornerstone...)
Can I create a volume viewport to display just a single dicom file from my local filesystem?

yes currently only in volume viewports. I haven't tried it it might work

May I know if it is possible to load a single local dicom file such as this example: https://www.cornerstonejs.org/live-examples/local.html, but use volume viewport instead of stack viewport?

You can look into our dicomImageLoader package for more infor on how to load.
Nifti -> still in progress PR #696
DICOM ->

Using WADO-RS and dicomweb standard https://www.dicomstandard.org/using/dicomweb and using open source pacs such as orthanc or dcm4chee. Most examples in the repo are this type which is our server in cloudfront (but you can achieve the same with other pacs)

see for instance example here
 const imageIds = await createImageIdsAndCacheMetaData({
    StudyInstanceUID:
      '<IP_ADDRESS>.4.1.145<IP_ADDRESS>.7009.2403.334240657131972136850343327463',
    SeriesInstanceUID:
      '<IP_ADDRESS>.4.1.145<IP_ADDRESS>.7009.2403.226151125820845824875394858561',
    wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
  });

Then imageIds are the path to the data that is created by cornerstone3D. Read more about imageIds here

Using WADO-URI, example here
Using dicomfile itself either hosted or as a drag and drop

May I know if it is possible to load a single local dicom file such as this example: cornerstonejs.org/live-examples/local.html, but use volume viewport instead of stack viewport?

You can convert stack to volumes and vice versa if you need, look at this example

Thanks for you answers! It takes time to dive into them. Let me try.

Now I've used the orthanc server to retrieve metadata and successfully created the volume viewport to render some dicoms
But I found that even if the dicomweb server is used, cornerstone's volume viewport still cannot render some dicoms (such as US dicom files) which missing below tags:

0020,0037 - ImageOrientationPatient
0020,0032 - ImagePositionPatient
etc...

when those tags metadata is missing, creating volume viewport causes below error:

I think the error is raised because imagePlaneModule metadata is missing some required value:

So does that mean the volume viewport cannot be used for such dicom files or do you have any other solutions?  @sedghi
Btw, may we know when Stack Viewport segmentation would be ready? Thanks

No you are correct, if that metadata is missing you can't reconstruct a volume.
We are pushing on making the stack segmentation work soon  #666

https://github.com/cornerstonejs/cornerstone3D/pull/670


description on package.json could be updated

"description": "Git Push to your devices",

Maybe something like The official Resin CLI tool like we have on the project homepage would be a better option.

Agreed! Good point, done: #621


Add getting started guide

Signed-off-by: Michael Crosby<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1294   +/-   ##
=======================================
  Coverage   23.36%   23.36%
=======================================
  Files          40       40
  Lines        4579     4579
=======================================
  Hits         1070     1070
  Misses       3307     3307
  Partials      202      202

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 6c1a04f...3219bb1. Read the comment docs.

LGTM

Updated

One other typo then LGTM

Updated again


Minio routes

I hope I'm not annoying you with my requests 🥴

No everything fine 😊 I usually program in other languages and it's great that you can give me advises

Please also make sure to use prettier for code formatting. Your formatting is all over the place right now 👀. If you have any questions regarding express or mongoose just ask me. Good work so far

IntelliJ dosn't show me a reformat with prettier option (Yes the plugin in installed)

IntelliJ dosn't show me a reformat with prettier option (Yes the plugin in installed)

Make sure you have it set up like me. Then it should work by just pressing Strg + Alt + L


[stable/grafana] Fix sidecar label defaults in README.

What this PR does / why we need it:
the default values listed in the README's values table were not correct for sidecar.dashboards.label and sidecar.datasources.label. I copied the correct values from the values.yaml and pasted it into the corresponding cell in the table.
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Variables are documented in the README.md

Is a version bump really needed for a documentation fix?

Hey,
Yes, it is ;)

I see, thanks @maorfr. Bumped the patch version.


Graphics Revamp

MsHack,
Some guys from the Facebook VCVRack resurfaced your graphics for your plugins. They wondered if it will be okay and I told them that I will let you know. I don't care for this design resurface, but wanted to make you aware of it. See attachement.

Yeah sure that's fine.  I pushed my colours as a bit of an experiment.  I personally don't like everything black and white but if that's what they prefer I have no issues with it.

I like them the way there are. They truly stand out and you can't mistake them for some other modules.

By any chance are you thinking of entering the sample playback field. There are others modules available but they all have their quirks. I think that you sequencers can use sampler companion. Yiu can also charge based on the features you put in it.
Here is a youtube playlist of tracks that I have done using your modules thus far at https://www.youtube.com/watch?v=6qhACsRPpHg&list=PLKq_Gnn6tV4qxAcLmio5-v7xY1PKQZocm.

Well thanks!  Looking at them now they seem to lack inspiration...

Cool Breeze


GrpcFieldExtraction: Supports extracting fields of type map<string, string> in addition to string

Commit Message: GrpcFieldExtraction: Supports extracting fields of type map<string, string> in addition to string
Additional Description:
Risk Level: Low
Testing: Unit test
Docs Changes: Inline with the filter API proto.
Release Notes: This change is backward compatible and no behavior change is expected for existing users.
Platform Specific Features:

/retest

LGTM. Please add a release note, thanks.
/wait

Thanks for reviewing the change! The release notes are already part of the description as "Release Notes: This change is backward compatible and no behavior change is expected for existing users.", can you please let me know if anything else is missing or if I need to add it to an additional place?

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

Sorry please merge main.
/wait


add il schemas to fraud db

https://github.com/edenlabllc/ehealth.api/issues/1260

Changes Unknown when pulling eb8a644bf60570a24815109f51607a736c181ced on fraud_db#1260 into ** on master**.

Changes Unknown when pulling eb8a644bf60570a24815109f51607a736c181ced on fraud_db#1260 into ** on master**.

Changes Unknown when pulling 4c169c61a99f85a1773d1eb1c3d363e5a3b655f0 on fraud_db#1260 into ** on master**.


Report instantlock: true for transactions locked via ChainLocks

Also introduce instantlock_internal to show the actual lock state ~(in debug mode only)~.

What's the point of this field? Since chainlocks being enabled are (basically) dependent on llmq IS being enabled, it seems that instantlock will always be equal to instantlock_internal


Bug 55

Coverage remained the same at 92.965% when pulling 5a985e98e4b90ee4673991092faf8a2da6f4df07 on bug-55 into c1fed20bf732cbc5d9829377705c378e700aafd2 on master.


fix(DTFS-6458): remove current-page aria

Introduction
DAC Accessibility assessment found multiple issues, one is wrong/static aria-current="page"
Resolution
Removed wrong aria attribute.

Codecov Report

Merging #2264 (c399f07) into main (2390d16) will decrease coverage by 17.85%.
Report is 88 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #2264       +/-   ##
==========================================
- Coverage   21.01%   3.17%   -17.85%
==========================================
  Files        1030     576      -454
  Lines       25229   14383    -10846
  Branches     4081    2146     -1935
==========================================
- Hits         5303     457     -4846
+ Misses      17370   12188     -5182
+ Partials     2556    1738      -818

Flag
Coverage Δ

ui-test
?

unit-test
3.17% <ø> (+2.45%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 738 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix: reintroduce-support-for-proxy

v4 of the operator had support for proxy config through env variables, which got lost when we introduced a custom transport.
This PR should bring it back by reusing the default http transport while preserving the customized settings.
NOTE: the proxy setting affects not only dashboard controller, but Grafana API as well, which might be useful when a Grafana instance cannot be reached directly, though makes configuration more complex as users will have to specify service/pod IP range in NO_PROXY.
Fixes: #1274

I tried this patch just now and it seemed to work fine on my restricted network environment. 👍

@weisdd should we add some docs around this to make it easy for people to find.
As mentioned in https://github.com/grafana-operator/grafana-operator/issues/1274#issuecomment-1776680132 it's currently not possible to add env variable to the grafana-operator helm chart.
Could you also add this feature?

@NissesSenap sorry for the delay, I've just added support for envs.


Bot connects and crashes

hi
ive installed the bot after the manuel and the install worked. but now ive got a problem...
after the bot joines the server and switch to the channel he leaves the server...
on start script comes a error message with some smb stuff:
botmaster@osmc:~/logs$ ~/src/mumble-ruby-pluginbot/scripts/start.sh
Updating youtube-dl...
youtube-dl is up-to-date (2016.04.13)
Killing running ruby scripts of user botmaster
Killing running mpd instances of user botmaster
params.c:OpenConfFile() - Unable to open configuration file "/home/botmaster/.smb/smb.conf.append":
No such file or directory
Using /home/botmaster/.rvm/gems/ruby-2.3.0 with gemset bots
Your bot(s) should now be connected to the configured Mumble server.
LOGGING/DEBUGGING
If something doesn't work, start this script with the additional parameter debug:
~/src/mumble-ruby-pluginbot/scripts/start.sh debug
Then take a look into the logfile within /home/botmaster/logs/.
START AS APPROPRIATE USER
Make sure to run this script as user botmaster if you used the official
installation documentation and DO NOT RUN THIS SCRIPT AS root.
The official documentation can be found at https://wiki.natenom.com/w/Mumble-Ruby-Pluginbot
UPDATE THE BOT (AND ITS DEPENDENCIES)
If you want to update the Mumble-Ruby-Pluginbot (and its dependencies) please
run ~/src/mumble-ruby-pluginbot/scripts/updater.sh
OFFICIAL DOCUMENTATION
Also please reread the official documentation at https://wiki.natenom.com/w/Mumble-Ruby-Pluginbot
if you have further problems :)
BUGS/WISHES/IDEAS
If you think you found a bug, have a wish for the bot or some ideas please don't
hesitate to create an issue at https://github.com/dafoxia/mumble-ruby-pluginbot/issues
Have fun with the Mumble-Ruby-Pluginbot :)
and the log file meanes:
Config loaded!
parse extra config
Own Config loading and overwriting default settings!
pluginbot is starting...
start
<EMAIL_ADDRESS>from<EMAIL_ADDRESS>from<EMAIL_ADDRESS>from<EMAIL_ADDRESS>from<EMAIL_ADDRESS>from<EMAIL_ADDRESS>from /home/botmaster/src/mumble-ruby-pluginbot/pluginbot.rb:185:in `blo$
Connecting to the server is still ongoing.
Connecting to the server is still ongoing.
connected
[killduckthread] can't kill because wrong argument type nil (expected VM/thread)
have somebody any idea how i get this to work?!?

Are parts of botmasters home mounted by samba?
Is samba configuration working?
...params.c:OpenConfFile() - Unable to open configuration file "/home/botmaster/.smb/smb.conf.append":
No such file or directory


No, sadly. https://jenkins.linuxcontainers.org/job/lxd-github-pull-test/5121/arch=arm64,backend=dir,compiler=golang-1.13/console#console-section-3

Looks good. But why's the btrfs change in this PR?

https://github.com/lxc/lxd/issues/9418


Improve categories, subcategories and keywords list in order to avoid inactive items to be listed.

This was added here: https://github.com/belatrix/BackendAllStars/commit/3928b69391234d7cff06176b206902a256cf262f
Retest is needed (regression testing)

Done


fix: call on-update hook correctly

This fixes a regression introduced with the update to glimmer.

:tada: This PR is included in version 4.1.0 :tada:
The release is available on:

npm package (@main dist-tag)
GitHub release

Your semantic-release bot :package::rocket: