Remove blinking placeholder

Word, MathQuill, and LyX don't have blinking placeholders.

We have too many tests

Yes, obviously we should have zero tests.

Zero is too few

We shouldn't test things that aren't required for correctness

Current tests take a lot of current behavior and test for them. So the only thing they do is to make making changes slower.

Tests catch unintentional changes in behaviour, i.e. bugs. Therefore, correctness is maintained.

Change tests to ensure the new behaviour is maintained

I don't want to be Xamarin.Forms where regressions happen all the time

Tests catch unintentional changes in behaviour, i.e. bugs.

It's not possible to test for intentionality in the changes. For example tests failed here but I intended the changes. So this psychological aspect of testing is not valid.
As far as possible tests should test for correct behaviour and it should be clear why it should pass.

If it's intentional, then change tests to match the new behaviour. Any code can cause action at a distance by e.g. mutating global variables, and tests ensure that this does not happen.

The tests here was easy to adjust (partly because I know that tests tend to be deletable in this repo and shouldn't be given too much respect) but in other places they place significant obstacles to doing PRs.
Someone making a PR encouters failed tests, and then it's not clear whether the test indicate a problem in the PR's logic. And it's not clear whether it's his responsibility to get the tests to pass by changing the logic, or his responsibility to get the tests to pass by changing the tests, or @Happypig375 's responsibility to get the tests to pass by changing the tests.

Refactors which produce the same output won't need test changes.
You are asking for a change in behaviour. Any PR that ask for changes in behaviour must also change tests to match the new behaviour.

And I am under no obligation to accept any pull request that potentially introduces a regression by deleting tests.

You can make the appearance of the placholder's 2 states equal via Atom.LaTeXSettings by customizing the so called "active" and "passive" placeholder nuclues. (Assuming you use the default color black, you don't need to do anything with the color.)
Changes to the code are not needed for achieving the goal "Remove blinking placeholder".

@SymboLinker no changing PlaceholderRestingNucleus also changes how an unselected placeholder looks.

If some users like blinking placeholder let allow them to use it.
Why not add additional option to the settings to disable blinking for placeholder? Then, everyone would be happy.

Does one of us need blinking placeholders? The fact that the main latex editors out there don't have it suggest that it shouldn't be there even as a setting, but if there is strong demand from one of us here we could have a setting. If the only reason is that someone in future might possibly use it, that's too weak.

If the only reason is that someone in future might possibly use it, that's too weak.

I am a user of it. Within a month or so I will publish an update for my app that includes a math keyboard with blinking placeholder. (I won't name the app, as I think it's unappropriate to advertise it this way.)

I added a setting PlaceholderBlinks for you @SymboLinker if you can adjust the tests? The tests that are deleted here are now valid (since they now test correctness of application of settings). Not essential (since the logic being tested is trivial) but @Happypig375  will want them given the above discussion.

Codecov Report

Merging #176 into master will decrease coverage by 0.03%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #176      +/-   ##
==========================================
- Coverage   87.33%   87.29%   -0.04%
==========================================
  Files         156      156
  Lines       11312    11280      -32
==========================================
- Hits         9879     9847      -32
  Misses       1433     1433

Impacted Files
Coverage Δ

CSharpMath.Editor.Tests/CaretTests.cs
100.00% <ø> (ø)

CSharpMath/Atom/LaTeXSettings.cs
98.66% <0.00%> (-0.09%)
:arrow_down:

CSharpMath.Editor/MathKeyboard.cs
89.49% <100.00%> (+0.18%)
:arrow_up:

Continue to review full report at Codecov.

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

I've reverted the PlaceholderBlinks so that this is in an I think mergeable state.
@Happypig375 can you indicate what tests if any you would need to have a PlaceholderBlinks setting and then @SymboLinker if it's worth doing those tests to get this setting in?

Superseded by https://github.com/verybadcat/CSharpMath/pull/177


Refactor deploy process

Context
Currently, our deployment process to Hetzner involves building our application separately for each environment. This needs to be addressed. The goal is to streamline our deployment workflow so that we only need to build the application once, and then deploy it to multiple environments seamlessly.

With this change, we could also split the frontend and backend deployment files and use on:push:paths: to only deploy when relevant files have changed. E.g. the frontend does not need to compile when only the backend is changed. Of course there are some problems with shared code which would need to be handled. Also, we could integrate nx affected into the workflow.


Change Punctuated::first/last/last_mut to return T only, not Pair

Almost always the caller just wants access to the sequence element, not the punctuation. Calling .into_value() on the resulting Pair is unwieldy.
  impl<T, P> Punctuated<T, P> {
-     pub fn first(&self) -> Option<Pair<&T, &P>>;
+     pub fn first(&self) -> Option<&T>;

-     pub fn last(&self) -> Option<Pair<&T, &P>>;
+     pub fn last(&self) -> Option<&T>;

-     pub fn last_mut(&mut self) -> Option<Pair<&mut T, &mut P>>;
+     pub fn last_mut(&mut self) -> Option<&mut T>;
  }

In the case that we do need a reference to the first or last punctuation, that could still be acquired through the Punctuated::pairs iterator after this change.

Fixed in d919fb64d6c23a057976bc22b80b6fddb29862a9.


Support Velox on fedora

Description
@oerling is requests that we get Velox running on the Fedora distribution. I spent a little time to see if we could get it working out of the box, but Fedora is significantly diverged from centos/ubuntu that it will require more time investment to get it to build.

Which version? I use fedora myself and remember it worked more or less out-of-the-box. Maybe I had to dnf install a package or two but nothign beyond that. Though I suppose it would be nice to have a setup-fedora.sh script.

Fedora 38 or so is my understanding. It would be nice to have a setup-fedora.sh that does this for you.


V2 - member portal - event log does not show GitHub username of user who verified with ccla

In the member portal, the github user who verified with the ccla is not shown.

verified on prod


Discuss and do some exploration for data analysis needed by research reports

This can also involve looking at:
https://github.com/ooni/pipeline/issues/61
https://github.com/ooni/pipeline/issues/45
https://github.com/ooni/pipeline/issues/46
and is a direct requirement to completing:
https://github.com/ooni/pipeline/issues/260
& https://github.com/ooni/pipeline/issues/261

I've spent few hours experimenting with:

Importing categories from input JSON files into the database
1.1) ...same, plus extracting the historical changes to the files using git history
modify the event detector webapp to add an "olap-like" query to slice data cubes

We have created the citizenlab table which includes the category codes necessary for the creation of research reports.
This can be considered done in the previous cycle.


Fix txtPrimary & txtSecondary class positions - Added linkPrimary class

Checklist

[x] I have read the [Contributing Guidelines]
[x] I acknowledge that any submitted code will be licensed under the [ISC License]
[x] I confirm that submitted code is my own work
[x] I have tested the code, and confirm that it works

Environment

Operating System: Windows 11
Node version: v18.12.1
npm version: v8.19.2

Description
I have fixed the txtPrimary and txtSecondary classes to be on the correct text in the index view.
Along with this, since the old links used txtPrimary I have added a linkPrimary class which will represent the base link colour before any other effects take place.

Recommended
For further additions to this theming, I would suggest adding a txtTertiary class which will represent the ad text colour. or the size text colour.
I did not include this though as that is on your discretion to add.

Updated base to https://github.com/tycrek/ass/tree/0.14.0/stage


 This functionality would provide users with greater control over resource usage and the ability to halt agents that are not performing as expected or that have entered undesired states.
(Issue title is intentionally wordy for searchability)

@neelayan7 Can you elaborate on this? In the latest release (as well as in the main branch), I've been unable to suspend any agent in any way other than completely killing the superAGI instance.

When an agent is running, you'll see 3 dots on the Top-Right. Click on that, you'll see options to "Save as Template" and "Pause".

When an agent is running, you'll see 3 dots on the Top-Right. Click on that, you'll see options to "Save as Template" and "Pause".

In my builds (both the latest release and the main branch; deployed via docker, in both a GitHub Codespace and a local docker deployment), this "3 dot" menu did not populate the way you described.
I will try again today and report back.

Looking into this. Thanks for raising!

https://github.com/TransformerOptimus/SuperAGI/pull/544 Have raised a PR addressing this issue.

Thanks so much!!

https://github.com/TransformerOptimus/SuperAGI/pull/544 was merged to dev 🚀


rosconsole: add include in console.h (resolves #433)

Compiling rosconsole failed with:
[...]/ros_comm-1.11.20/tools/rosconsole/include/ros/console.h:121:14: error: 'vector' in namespace 'std' does not name a template type
 typedef std::vector<TokenPtr> V_Token;

The console.h assumed that vector is included already by one of its dependencies. This bold assumption has been uncovered by the update of the boost library to version 1.62.0 [1, 2] in openembedded-core repository.
Coincidently, this issue was also noticed by ROS users on Gentoo and Arch Linux, which probably also use the latest boost library and gcc6, and they opened pull requests on the indigo and kinetic branches [3, 4, 5] with commits to address the issue. The patch in the kinetic branch has been merged, the others to the indigo branch have been rejected as the ros-comm maintainers intend to simply backport the patch from the kinetic branch for the next release.
This commit applies the patch merged in the kinetic branch in our recipe for the current indigo release version.
[1] http://cgit.openembedded.org/openembedded-core/commit/?id=c31030d87cd1741a4186d711325b8eab9c70b327
[2] http://cgit.openembedded.org/openembedded-core/commit/?id=42b4fa2f923244bc047874752d2e0381ff6f0a25
[3] https://github.com/ros/ros_comm/pull/911
[4] https://github.com/ros/ros_comm/pull/930
[5] https://github.com/ros/ros_comm/pull/939

@JochiPochi Thanks for reporting the issue #433. I have created a commit to address it here. Please review and try out if resolves the issue in your setup, too.

@KristofRobot Please review and merge.

I can confirm this PR solves the issue I described in #433.


How do I specify environment target?

Question
Hi first of all thank you for the project, I really appreciate your time to build this breaking through library. However I have two questions regarding of spack:

How do I define option to instruct spack to bundle in node/browser environment?
Also, is there any option to exclude node_modules which should not to be part of compilation process?

Thanks.

For 1, spack does not support it currently.
For 2, if you mean something like an external module of other bundler, it's not supported at the moment.

For no 2, yes I mean excluding certain import (commonly from node_modules) from bundle, like externals API from webpack.

@kdy1 it seems like external_modules was added to the Rust API in https://github.com/swc-project/swc/pull/1349. Is it just a matter of adding support to the JavaScript wrapper, or is it more involved that that?

@wycats I missed the email. It's easy stuff, as bundler already supports it. I'll fix it with next release.


Bug fix: handling of links and direct references

Values and links containing "/entry/" are now properly replaced such they correspond to the entry that they are in.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

7 of 8 (87.5%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.008%) to 84.818%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pynxtools_xps/reader.py
7
8
87.5%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
3000

Relevant Lines:
3537

💛  - Coveralls


question

Hi,
Is it actually sending sms from a phone connected to private BTS network (this YateBTS) ?
Doesn't starting private BTS network just for sending sms will interfere others networks ?
Thx.

Hello,
Sms are sent from the device running yateBTS to any device you want, which is connected to the network. You can already send sms between phones using yate.
The BTS network won't interfere with other networks if you set it up properly (take a look at the subscribers section in the configuration files). However you'll have to select your private network instead of the one you're currently connected to.
Hope this helps,
ark

Hi ark,
I plan to use bladeRF.
As I understand there is a PC which is installed with YateBTS connected to bladeRF:
PC --- usb cable ---- bladeRF ~~~~ MS devices
So does it mean that  the PC is sending the SMS ?
Doesn't is required a SIM card in PC or bladeRF?
Thx a lot  !

The pc sends the sms, yes.
No it doesn't require a sim card in any of theses because they provide the network.
The MS device however does need one.
And by the way I've done it with the bladerf, it works pretty well :)

This sms sender capability /app is awesome.
I wander why it is not part of official yateBTS.

Well I might make a pull request someday, but I'll need to finish it first ^^'


Max32690 SDK default PAL_NVM_SIZE defined in cordio.mk causes the code to enter in infinite loop when PalFlashEraseChip() function is called.

With the default PAL_NVM_SIZE defined as 0x2000 in cordio.mk if the PalFlashEraseChip() function is called, the below while loop never gets out of it and it also tries to erase the other memory region out of defined PAL_NVM region. The root cause is MXC_FLASH_PAGE_SIZE is 0x4000 and as after the first iteration, the size variable becomes 0x2000-0x4000 and it is never reaches to 0 and startAddr variable will keep increased by offset 0x4000.
  while(size) {
    WsfCsEnter();
    MXC_FLC_PageErase(startAddr);
    WsfCsExit();

    startAddr += MXC_FLASH_PAGE_SIZE;
    size -= MXC_FLASH_PAGE_SIZE;
  }

Suggestion:
(a) Define default PAL_NVM_SIZE which is in multiple of the MXC_FLASH_PAGE_SIZE
(b) Modify PalFlashEraseChip() function such a way, it does erase the targeted memory only.

Thanks @Ankitpatel2022
Looks like we didn't apply #726 to the MAX32690


Side navigation

Closes #941

No hover on open/close button because can figure out how to manage black/white side nav. Open to any ideas ❗ (Tried several on opacity, change the bg-color, transparent seems to be the better way) 🟢 Maybe improve the design by adding a change on color ?
Missing [key | click outside] to close a collapsible side nav due to no added Js.
Collapsible with content focused item when closed are missing 1px on the right. Could be patched but might increase the bundle size. -> .mw-100.
Can't make the scroll on the tabs part only in the scrollable with content. Open to any ideas ❗ Resolved
If #1467 is merged before this PR, please try .list-group-item instead of .side-nav-item.

Live preview
Todos

[x] Padding top and bottom whatever the number of lines: always the same
[ ] Add a minimum spacing between the text and the chevron of 10px (shouldn't be feasible until the introduction of flex gap)
[x] Spread the selected state to parent if collapsed (example)
[x] Make the open/close button 100% width + no hover

Remains to be done/fixed:

On all examples:

[ ] For each label lines, no matter the tree level, add a truncation + margin/padding right at the end of the line, the 1st one if only one line is allowed or the 2nd one if two are OK. ⚠ Check with designers was they want on this topic.
At the moment, we have this behavior:
.

[ ] Accordions titles are in bold when they should not.

[ ] Tooltips:

[ ] They don't have the correct appearance. Will be fixed in Issue #1330.
[ ] They remain visible after a clic on the element. A click somewhere else makes them disappear. This can't be changed because of Popper.

[ ] Focus:  There is a weird visual behavior when the focus rectangle appears: the vertical borders appear a bit after the horizontal ones. Will be fixed in PR #1437

In #basic:

[ ] Display category items in the same order as in the design specifications
[ ] Add an example, the variant without accordion icons

In #collapsible-with-title:

[ ] Add a margin/padding between the end of the closed side-navigation menu and the text "test".
[ ] Replace the text "test" by another text

In #collapsible-with-content:

[ ] There shouldn't have a vertical orange bar on a selected category item when the side navigation menu is open. It might required some js to do that which we want to avoid. :warning: Therefore, ask the designers to see if it would be ok to leave it as it is and change their specifications.

In mobile display:

[ ] The close button icon is not the correct one.

[ ] There are some extra vertical spaces around the examples. It would better without them supposing they can be reduced/removed

[ ] Add in the doc that the side navigation menu can be situated on the right or on the left of the screen by using a specific css class .name_of_class

If #1466 is merged before this PR, please try .list-group-item instead of .side-nav-item.

Just tracking here a need for an Orange project to discuss with designers.
Be able to open the side menu just by hovering the image (could be an option: display the title OR opening the menu entirely)

Comments from the design spec meeting:

The scrollable part on the collapsible with drawer content should be divided in two and the title should remain visible.
The 54px width buttons on the collapsible with drawer content are fine.
The border of the collapsible with drawer content could stay #ccc if there isn't any other solution.
There shouldn't be any right-sided variant unless we are asked to.

hello$,
to this side nav,
We could use Menu disclosure DP: https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-navigation/ or Menubar DP: https://www.w3.org/WAI/ARIA/apg/patterns/menubar/examples/menubar-navigation/ and https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/examples/menu-button-links/ for the toggle button in mobile screen size
Labels of the menu are buttons but could be a link also, we should add an accessibility note on that.
When something usable will be implemented, we can conduct AT users tests to confirm or not our choices...
Just let me know !

On hold until https://github.com/twbs/bootstrap/pull/38154 is better

Maybe we can split this PR by adding the with drawer content later on since this is the one bringing so much issues in here ? Any opinion on this @MewenLeHo @julien-deramond ?

Just split PR with #2180 to ease the reviews.

good to me 👍
just add a tabindex=-1 on the ul element of the coolapsible nav to avoid the FF keyboard behavior on overflow content

Level 3 Label position
Move the labels at the 3rd level, 2 pixels to the left.

Arrow size/position
Reduce the size of the horizontal arrow to: Width 12px, Height 6px
I have attached the positioning of this arrow. See attached image.
The size and position of the vertical arrow (that reduces the width of the side navigation) is ok, no need to change that one.

Scroll bar
Is it possible to include the scroll bar inside the width of the menu without increasing the width of the menu?
See the attached example. This would also mean positioning the arrow (on the right) 20px from the right edge.

Selection state
When drilling down the menu, the selection state should only remain on the label that represents the current page selection. Please see the attached example as a reference.


feat: return svg string

Hey @YYsuni Thanks for the library. For our usecase we just want an svg string. Can you consider adding this change? Thanks

I believe this parameter has the potential to affect other users. It would be more appropriate to create a new function to separate the SVG raw string.

agree @YYsuni
I've abstracted into a seperate function, let me know if it works

thankyou


Allow custom port for runtests-browser

Currently, Network.serverRoot in harness.ts is hardcoded to use port 8888. We should have a way of getting the port that webTestServer.ts is actually using.
webTestResults.html also uses hardcoded ports.

We decided not to allow a custom port. See #9985.


meson.build: fix uclibc build

Fix the following uclibc build failures raised with meson because kill and fileno are not standard functions:
../src/rc-abort/rc-abort.c: In function 'main':
../src/rc-abort/rc-abort.c:27:21: error: implicit declaration of function 'kill'; did you mean 'killpg'? [-Werror=implicit-function-declaration]
   27 |                 if (kill(pid, SIGUSR1) != 0)
      |                     ^~~~
      |                     killpg

../src/libeinfo/libeinfo.c: In function 'colour_terminal': ../src/libeinfo/libeinfo.c:319:26: error: implicit declaration of function 'fileno' [-Werror=implicit-function-declaration]
  319 |         if (f && !isatty(fileno(f)))
      |                          ^~~~~~

../src/librc/librc-misc.c: In function 'rc_getfile': ../src/librc/librc-misc.c:79:14: error: implicit declaration of function 'fileno'; did you mean 'd_fileno'? [-Werror=implicit-function-declaration]
   79 |         fd = fileno(fp);
      |              ^~~~~~
      |              d_fileno

../src/librc/librc-daemon.c: In function 'rc_service_daemons_crashed': ../src/librc/librc-daemon.c:633:37: error: implicit declaration of function 'kill'; did you mean 'killpg'? [-Werror=implicit-function-declaration]
  633 |                                 if (kill(pid, 0) == -1 && errno == ESRCH)
      |                                     ^~~~
      |                                     killpg

Fixes:

http://autobuild.buildroot.org/results/494ef392a971ddb3c5c7b01e0149c6439018dbe7

To use kill, including signal.h is not enough, _POSIX_C_SOURCE must also be defined: https://man7.org/linux/man-pages/man2/kill.2.html. Same thing for fileno: https://man7.org/linux/man-pages/man3/fileno.3.html.
_POSIX_C_SOURCE was defined in the "old" makefile-based build system: https://github.com/OpenRC/openrc/commit/f4e2142089487b7f5c99da949d7bf8d038724df7 but this get "lost" when moving to meson.
I updated the PR to replace -D_GNU_SOURCE  by -D_POSIX_C_SOURCE=200809L.
Moreover, on uclibc, getrandom is only available if _GNU_SOURCE is defined so I added this define in seedrng.c

To use kill, including signal.h is not enough, _POSIX_C_SOURCE must also be defined

that is not accurate.  those defines are a GNUism invented by glibc.  glibc has always defaulted to "recent" levels of POSIX APIs and do not force people to always define things to get them.  in particular, glibc (and opnerc) default to POSIX.1-2008 which includes kill() (see how _DEFAULT_SOURCE is checked in sys/features.h).  if your version of uClibc is attempting to replicate glibcisms by checking _DEFAULT_SOURCE but then setting _POSIX_C_SOURCE to something ancient and causing kill() prototype to not be exposed, then that's a bug in uClibc, not openrc.

_POSIX_C_SOURCE was defined in the "old" makefile-based build system: https://github.com/OpenRC/openrc/commit/f4e2142089487b7f5c99da949d7bf8d038724df7 but this get "lost" when moving to meson.

glibc defaults to _POSIX_C_SOURCE=200809L for us now which would make the setting redundant.  i don't think re-adding it is useful.  any C library that doesn't support or default to POSIX.1-2008 is probably not worth supporting at this point.
maybe we could add a check to some core code that asserts that _POSIX_C_SOURCE >= 200809 and abort the build if it is not ...

Moreover, on uclibc, getrandom is only available if _GNU_SOURCE is defined so I'll add this define in seedrng.c

this doesn't make sense ... sys/random.h is a GNUism header.  providing it, but requiring people define _GNU_SOURCE to get its definitions when including it, is ridiculous.  the header is def not in POSIX, so if you have a reference to show it's anything other than a GNUism, please link it.


Fix path to tab-completion script in developer docs

@mboersma,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

LGTM. @derekbekoe do you concur?


Support the base64 encoded credentials for OAuth2 authentication

Fixes https://github.com/apache/pulsar-client-python/issues/101
Motivation
Currently the private_key field of the JSON passed to AuthOauth2 only represents the path to the file, we need to support passing the base64 encoded JSON string.
Modifications

Add the util methods encode and decode in namespace pulsar::base64 for base64 serialization.
Support the following URL representations for private_key:

file:///path/to/key/file
data:application/json;base64,xxxx

Add Oauth2Test and set up the test environment for it independently with a Docker compose file.

Documentation

[x] doc-required
(Your PR needs to update docs and you will update later)

[ ] doc-not-needed
(Please explain why)

[ ] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

Support the following URL representations for private_key:

file:///path/to/key/file
data:application/json;base64,xxxx

Nothing to do with this PR. Do we support this format?

@shibd You're right. I think we need to support this format.

@shibd You're right. I think we need to support this format.

It seems simple, can you include it in this PR?


Add an option to always show ErrorTemplate text

Add an option to always show ErrorTemplate text, regardless of focus or mouse over.
This change extends the Validation Error Template text show options to include an 'always show' option.
The existing options of showing on focus or on mouseover did not work well for me when trying to apply the error template to a border surrounding a group of radio buttons used primarily on a touch interface. Mouseover isn't a thing on touch, and focus meant the text would only show when a radio button was selected, which removed the error entirely.
This change introduces a new attached property in ValidationHelper to enable the behavior and a new style trigger that will enable when the template has errors and the new attached property, ValidationHelper.AlwaysShowValidationError, is set to true for the element.
Unit test
I did not find existing unit testing of the ValidationHelper properties to model any new test after.

Apologies for the delay; with the holidays, it took me a bit to get confirmation
@dotnet-policy-service agree company="Aristocrat Technologies"

Apologies for the delay; holidays prevented me getting confirmation
@dotnet-policy-service agree company="Aristocrat Technologies"


⚠ Bofrost.es has degraded performance

In 48dd855, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1510 ms

Resolved: Bofrost.es performance has improved in 93019df after 6 minutes.


Handle disconnection of non-root node

When a node disconnects (non-root node), it's immediate clients need to restart the connection process to the room.

Once the connection is established, the nodes should update their immediate children with new
Media Tracks.
This should recursively update the entire affected part of the network
The tricky part here is how to update the tree in the back-end. Because, there are multiple nodes joining the tree (rejoining) in a single connection request. (The node that initiates the connection request, and its children)

Implemented in commit https://github.com/grey-software/toonin/commit/5e63b8667dc5f110226db94be9f2cbe73acb72f0 on "distributed-streaming-sys" branch


Property 'onViewportBoxUpdate' is missing in type '{ children: Element[]; }' but required in type 'Pick '.

Getting this error from Sheet.Container, Sheet.Header, Sheet.Content and Sheet.Backdrop. To my understanding the expected type comes from framer-motion library. Could you have a look into it?

That error can be resolved with this [https://exerror.com/cant-import-the-named-export-children-from-non-ecmascript-module-only-default-export-is-available/].
Something happened in the framer-motion 5.x.x version that change the way that imports work.

Do we have plans to update the library to be able to handle the last framer-motion version?


Softmax support for non one-hot targets

According to the softmax documentation , the target value 't' must be a one-hot vector of type int32 . It would be nice if it also supported a target vector type of float32 for when the target is an actual distribution (ie: the target may have more than one index with a non-zero probability).

Thank you for your suggestion. Maybe this code works well:
loss = -F.sum(F.log(F.softmax(x)) * y)

Of course, we can make a new function.


Creating ISSUE TEMPLATES and PULL REQUEST TEMPLATES !!

@sid0000007 , please assign me under this issue , I will add all the templates like frontend issue , backend issue , bug report , feature request , documentation update and also create a pull request template !!

Can you show us some of the templates Demo.

@sid0000007 ,

In this way , i will create many issue templates as i mentioned above and also pull request template


Font size of Content Header Text and -DataTable

Hi all,
Is it possible to change the font size of the HeaderText in New-HTMLContent and similarly the font size of input object of -DataTable parameter ?
any thoughts would be of great help.
Varun

I would say we need to expand New-HTMLSection (New-HTMLContent is alias). Work is needed to build it up.

Added a parameter for $HeaderTextSize and was also playing around with the text shadow, not sure if you'd like to add it.

New-HTMLSection -HeaderText "Title goes here" -HeaderTextSize 12 -HeaderTextShadowOffsetX -2 -HeaderTextShadowOffsetY 1 -HeaderTextShadowBlur 20 -Content {...}

Sure, more features and options the better ;-) We could also play with text-transform and add validateset different options. I believe this could be useful. Also if there is font size, there should be option for font name.

Text-Transform possible options:

lowercase: makes all of the letters in the selected text lowercase.
uppercase: makes all of the letters in the selected text uppercase or ALL CAPS.
capitalize: capitalizes the first letter of each word in the selected text.
none: leaves the text's case and capitalization exactly as it was entered.
inherit: gives the text the case and capitalization of its parent.
full-width: Is a keyword forcing the writing of a character (mainly ideograms and latin scripts) inside a square, allowing them to be aligned in the usual East Asian scripts.

@xlrod did you ever submit your changes?

@PrzemyslawKlys No, I didn't submit the changes as they were still not fully functional. I'll get the latest version and start working from there again.

would love to see that implemented.
BTW, new user to your module @PrzemyslawKlys - its awesome!!!! thanks for all the hard work you put into this.

@tomerikko HeaderTextSize is implemented in 0.0.133

0.0.133

[x] Library

[x] Updated DataTables ColReorder 1.5.2 -> 1.5.3
[x] Updated DataTables FixedColumns 3.3.1 -> 3.3.2
[x] Updated DataTables FixedHeader 3.1.7 -> 3.1.8
[x] Updated DataTables 1.10.22 -> 1.10.23
[x] Updated DataTables KeyTable 2.5.3 -> 2.6.0
[x] Updated DataTables Responsive 2.2.6 -> 2.2.7
[x] Added DataTables SearchBuilder 1.0.1
[x] Updated DataTables SearchPanes 1.2.1 -> 1.2.2
[x] Updated FancyTree 2.33 -> 2.38
[x] Updated JustGage 1.4.0 -> 1.4.1
[x] Updated FullCalendar 5.1.0 -> 5.5.1
[x] Added DataTables Search Alphabet 1.0.0 with personal PR
[x] Updated OrgChart from 2.2.0 to 3.1.0, 3.1.1
[x] Updated VisData from 7.1.1 to 7.1.2
[x] Updated VisNetwork from 8.5.5 to 9.0.2
[x] Updated VisTimeline from 7.4.2 to 7.4.6
[x] Updated EasyQrCode from 4.3.0 to 4.3.2
[x] Added DataTables Select -> 1.3.1

[x] Added ability OverwriteDOM in New-HTMLTable to provide granular option how options are visually positioned
[x] Added ability SearchBuilder in New-HTMLTable for multi-condition search
[x] Added ability SearchHighlight in New-HTMLTable
[x] Added ability AlphabetSearch in New-HTMLTable
[x] Fixes New-ChartLegend hex colors but most likely all other cmdlets where more than one HEX based color was used
[x] Added HeaderTextSize to New-HTMLSection
[x] Added New-TablePercentageBar for New-HTMLTable
[x] Added New-ChartEvent
[x] Fixed New-HTMLTable -DataStore JavaScript when dollar ($) is used within column name or content
[x] Improved New-HTMLTableOption added ArrayJoin,ArrayJoinString

The rest of the  settings are not, but I was thinking on totally rebuilding section with support for icons and better customization options. It's too bad @xlrod  didn't submit it back then :-)

sweet, i am on 0.0.132, so will push an upgrade and check again.
Thanks!

Its not yet out as i am fixing outstanding issues.


k8s.io repos down?

Problem:
Archishmats-MacBook-Pro-2:src archis$ go get k8s.io/client-go/1.5/kubernetes
package k8s.io/client-go/1.5/kubernetes: cannot find package "k8s.io/client-go/1.5/kubernetes" in any of:
	/usr/local/Cellar/go/1.8/libexec/src/k8s.io/client-go/1.5/kubernetes (from $GOROOT)
	/Users/archis/Polyverse/src/k8s.io/client-go/1.5/kubernetes (from $GOPATH)

This began happening today morning. The URL expands to: https://kubernetes.io/client-go/1.5/kubernetes
I get a 404 not found page.
As a note, why doesn't this client repo just reference itself without going through a 3rd party redirection service? Should I be forking and replacing k8s.io references with github.com/kubernetes/*?

Began working again.


DataModel v1.1 - Integer IDs are incremented even when no node is created

Describe the bug
I am using the new data model and noticed that ids are incremented even when there are no nodes being created.
To Reproduce
datamodel.prisma
type User {
  id: Int! @id
  username: String! @unique
}

npx prisma deploy
Now go the playground and create a user:
mutation {
  createUser(data: { username: "Test" }) {
    id
  }
}

Try to create the same user a few times. You will get errors because username is already taken.
Create another user called "Test 2". This user will not have id 2, because the users we tried to create earlier raised the id, even when they did not got created, because the username was already taken.
Expected behavior
The id should only be raised when the node is actually created.
Versions (please complete the following information):

Connector: MySQL
Prisma Server: 1.32.0-beta
prisma CLI:prisma/1.31.1
OS: OS X High Sierra

Additional context
I've got a question concerning the new datamodel, would be great if it could be answered as part of this issue.
~What does Prisma use under the hood for Int! @id fields for the mysql connector? And what's the difference when using the @sequence directive?~
I found out that Prisma uses AUTO_INCREMENT and PRIMARY KEY when only using Int! @id.
Would be great to get some info regarding @sequence.

@P4sca1
This is expected, we send the payload to MySQL and it rejects it as a unique constraint is violated and but the sequence is also incremented(that's how they work).

I found out that Prisma uses AUTO_INCREMENT and PRIMARY KEY when only using Int! @id.
Would be great to get some info regarding @sequence.

With @sequence directive, you can configure the auto-incrementing sequence size, initial value and its name.

Alright, thank you for the info!


Rework console to teleprompt args for commands

Idea by death, propper implementation of autocompletion for R2console? Enumation of arglist required for enums, lists, non-values

Making AutoCompletion better (probably slower overall) - Mockup
Hook on Console.AutoComplete.SetSearchString :
https://pastebin.com/NcG3gpS1
Example Command using the new system for arguments autocompletion
[ConCommand(commandName = "spawn_ai", flags = ConVarFlags.ExecuteOnServer, helpText = "Spawn an AI")]
[AutoCompletion(typeof(MasterCatalog), "aiMasterPrefabs")]
private static void CCSpawnAI(ConCommandArgs args)
Gathering of the AutoCompletion Attributes :
https://pastebin.com/1AvJyff3
This hook below is fired each time the user type a fresh new command in console, so the actual list of strings must be set once when the catalogs are made (so probably on Start, not Awake) (gathering of the AutoCompletion Attributes), to avoid any extra charges.
On.RoR2.Console.AutoComplete.ctor += AddCommandArgsAutoCompletion;
https://pastebin.com/1FYjwpCg


MWPW-129144 Breadcrumb home report - de

Adding breadcrumb home to german query index
(Only doing one geo first to check that it works)

Resolves: MWPW-129144
Test URLs:
N/A

Codecov Report

Merging #94 (8b62654) into main (7deb66e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #94   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          359       359
=========================================
  Hits           359       359

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Changing the key of network device to be both ipv4 + ipv6

A network device may not have ipv4 addresses at all, using ipv4 as the sole
key is not enough.

@pkliczewski @Ladas please review. This is needed for the regular (non graph) refresh.

@AlonaKaplan can you verify this doesn't break Vmware/Rhev providers specs? (you will need to run them locally)

The change looks good, please make sure that there are no regressions as @Ladas suggested.

Both vmware and ovirt specs pass. oVirt was also verified manually (web ui).

Shouldn't this be either, not both?
You can have IPv4, IPv6, or both, they are independent

@chargio we store both ipv4 and ipv6 addresses in the network record for a guest device, see https://github.com/ManageIQ/manageiq-providers-vmware/blob/master/app/models/manageiq/providers/vmware/infra_manager/refresh_parser.rb#L1131-L1147

@agrare I was concerned that the identification is for all of them. A server with an IPv4 address and a server with the IPv6 address are the same, even if one of them is not working. There are differnt endpoints for the same server.

Sorry @chargio you lost me :D  A NIC can have multiple ip addresses, can be more than one ipv4 address, a mix of ipv4 and ipv6 addresses, etc...

@miq-bot add_label gaprindashvili/yes


[BUG] Right Click Bar Icons Misplaced

I'm pretty new to theming firefox with CSS, basically I'm using the librewolf fork. so I extracted every css file in the chrome folder then the svg files in the same folder, works well but I might possibly messed something up or maybe its bug related.

More Info

Librewolf (firefox fork): 121.0-1
OS: Windows 11 22H2

Make sure that the popup.css file is being loaded, as without it there is no space to put the icons, resulting in what you see above.
I would recommend downloading the theme, then copy the entire chrome folder and paste it into your Firefox profile folder.
To fix the icon colours, make sure that svg.context-properties.content.enabled is set to true in about:config.


Added image for racket

Added image for Racket
Removed from missing icons list

Testing of image working on .rkt files

Sorry for late respond! looks great!

Sorry for late respond! looks great!

No worries! Thanks for approving!


Object file and code generation

Directly compiling into object file would be kind of cool. But how should we handle which format is generated? Should it depend on the target architecture? Because, for example, Linux (and most Unix platforms) do not use the same object file format as say Windows. So this could be architecture dependent.
I also do not have any clue on how to generate such kind of file (reading the ELF binary format organisation does not help much -- I wonder if there is a guide about that somewhere).
Hopefully, there is a quick easy way to writing object files from machine code (I believe there are some things to add like the header, some section stuff, etc). While the machine code generation in itself is not quite a problem for me (I already did some back in the days with my assembly eDSL), the relation between machine code and object files throws me off a bit.
This will most probably be looked up once the base of typechecking is implemented, and #8 is closed (which needs #12 to also be closed).

Reference for the OS X Mach-O format: https://github.com/aidansteele/osx-abi-macho-file-format-reference

Specification of the ELF file format: https://refspecs.linuxfoundation.org/elf/elf.pdf


Use GitHub Flavored Markdown table

This converts the benchmark table into one that will render appropriately on GitHub. Also made a graph using Canva's Graph Maker, but it is a bit over the top and not automatable in case the benchmarks change, so I just included it here.

Oh, and here's what the table will look like on GitHub

Merged. Thanks!


Badge remove transform text uppercase automatically.

https://github.com/iTwin/iTwinUI/blob/c68f2508dbaf301255542ae19bbae2f73d824eec/src/badge/badge.scss#L13
Text should not have a force uppercase transformation. Should be decide within the code, not by the CSS.

You can override it on your side, so I don't see the problem.

This is our standard, which is applied:

Badges are meant to have uppercased text, so we expect users to use it that way. We do not plan to change that. If you have some specific use case, there is a high chance you should not use badges there... but in case you still need it, you can override it easily as Mayank suggested by adding your class or just overriding style.
Let us know if it is not possible or not working.
I am closing this issue for now.

I talk with @FlyersPh9 and the standard will be change in 2 weeks and then he will submit a PR changing this.


src/cbor/nanocbor: bump nanocbor version

NanoCBOR return values were again changed/fixed to fix documentation, this PR bump the version and adjusts to it as well. It also changes the cmake file to use an explicit commit, this would have been an issue since two different builds would use different commits (potentially).

Seems like there is a problem with the MBEDTLS references in the code during the build. I'll have a look.


Sometimes cant delete venue

Possibly related to if cameras are created/running

Also seems related to if any client is still connected to venue


Fixed the overlapping issue

The layout before the pr:

The layout after the pr:

Solved #195

Please make a PR towards dev branch not main branch.

Changed the base to dev @Rajdip019 confirm once


fatal error: libyuv/basic_types.h file not found

I am trying to build the flutter-webrtc-demo and I m running into this error.
Build on
Mac: 10.15.4
Xcode: Version 11.4.1 (11E503a)
Build System: VSCode
Launching lib/main.dart on Maanas’s iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: **********
Xcode build done.                                            4.6s
Failed to build iOS app
Error output from Xcode build:
↳
    2020-04-26 08:42:35.177 xcodebuild[92072:3689066] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7fcb27e0d630), Maanas’s iPhone, iPhone, 13.3.1 (17D50), 3243cc23594f28ab07539d1b7b9d64ea4ecc9b67> == Underlying device preparation errors ==
    2020-04-26 08:42:35.177 xcodebuild[92072:3689066] [MT] iPhoneConnect: Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode.
    Domain: com.apple.platform.iphoneos
    Code: 5
    Failure Reason: allowsSecureServices: 1. isConnected: 0. Platform: <DVTPlatform:0x7fcb27c0c2b0:'com.apple.platform.iphoneos':<DVTFilePath:0x7fcb27c0bfd0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>. DTDKDeviceIdentifierIsIDID: 0
    User Info: {
        DVTDeviceDescription = "\Ud83d\Udcf1<DVTiOSDevice (0x7fcb27e0d630), Maanas\U2019s iPhone, iPhone, 13.3.1 (17D50), 3243cc23594f28ab07539d1b7b9d64ea4ecc9b67>";
    }
    --
    2020-04-26 08:42:35.177 xcodebuild[92072:3689066] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7fcb27e0d630), Maanas’s iPhone, iPhone, 13.3.1 (17D50), 3243cc23594f28ab07539d1b7b9d64ea4ecc9b67> == END: Underlying device preparation errors ==
    ** BUILD FAILED **
Xcode's output:
↳
    In file included from /Users/m/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.2.8/ios/Classes/FlutterRTCFrameCapturer.m:5:
    In file included from /Volumes/Passport/Sites/github.com/flutter-webrtc-demo/ios/Pods/Libyuv/headers/libyuv.h:15:
    /Volumes/Passport/Sites/github.com/flutter-webrtc-demo/ios/Pods/Libyuv/headers/libyuv/compare.h:14:10: fatal error: 'libyuv/basic_types.h' file not found
    #include "libyuv/basic_types.h"
             ^~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    In file included from /Users/m/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.2.8/ios/Classes/FlutterRTCVideoRenderer.m:9:
    In file included from /Volumes/Passport/Sites/github.com/flutter-webrtc-demo/ios/Pods/Libyuv/headers/libyuv.h:15:
    /Volumes/Passport/Sites/github.com/flutter-webrtc-demo/ios/Pods/Libyuv/headers/libyuv/compare.h:14:10: fatal error: 'libyuv/basic_types.h' file not found

    #include "libyuv/basic_types.h"
             ^~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.4.99. (in target 'Libyuv' from project 'Pods')
Could not build the precompiled application for the device.

Error launching application on Maanas’s iPhone.
Exited (sigterm)

I found the issue. I was building the app on case sensitive file system. When I move to a case insensitive file system it works. I hope it save someone lot of time.

I I have this problem, but I don't know how to solve it

...../flutter_webrtc/ios/flutter_webrtc.podspec
change
s.dependency 'Libyuv', '1703'
to
s.dependency 'libyuv-iOS'

Macos m1 notebook must have this modification


RangeInfo: Rework the criterion for valid selection of multiple statements, i.e. they should have a common brace statement as parent.

Suggested by @jrose-apple .

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Macro Generate_Source is not working as expected for the generation of columns from BQ

Describe the bug
We are using the dbt-codegen Macros to help us in our work. Unfortunately, the "generate_source.sql" Macro is partially not working for some reason. The name of the source and the name of the table are retrieved normally, but the columns are not retrieved. We tried multiple way to take them, but it seems not possible. We are trying to fetch data from BQ and we put the parameters "generate_columns=True" and "include_descriptions=True".
Steps to reproduce
We are using the following command to trigger the launch of the Macro and then the output is given without columns :
dbt run-operation generate_source --args '{schema_name: tiktok_ads}'
Expected results
We were expecting to receive the list of columns that are provided in BQ
Actual results
The list of columns is empty ; no columns names are listed
Screenshots and log output

System information
packages:

package: dbt-labs/codegen
version: 0.4.0

Which database are you using dbt with?

[ ] postgres
[ ] redshift
[X] bigquery
[ ] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
installed version: 0.21.0
latest version: 1.0.0
Your version of dbt is out of date! You can find instructions for upgrading here:
https://docs.getdbt.com/docs/installation
Plugins:

postgres: 0.21.0
redshift: 0.21.0
bigquery: 0.21.0
snowflake: 0.21.0

The operating system you're using:
Windows 10
The output of python --version:
Python 3.8.11
Additional context
Our hypothesis is that the problem comes from this part of the code, but we are unsure, could you please assist us in the resolution, please ?

Are you interested in contributing the fix?
We are at your disposal for any further information or help in order to achieve the resolution of this problem on our side.

Have you tried using the dbt Cloud IDE scratchpad?
I just used it now for one schema of mine and I don't get the same result, the columns come back just fine:
{{ codegen.generate_source('streamkap', generate_columns=True, include_descriptions=True) }}


running "npm i" causes "missing ) after argument list" error

OS: Windows 10
Commit: Latest master (25e4c566afb9d79685ba065e0a99ff4a00195d7a)
Node version: 8.9.4
npm version: 5.6.0

><EMAIL_ADDRESS>lint C:\dev\Daedalus\lib\dash-renderer
> eslint --quiet --fix .

npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info ok
npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info ok
npm info it worked if it ends with ok
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm info ok
npm info it worked if it ends with ok
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>
><EMAIL_ADDRESS>build-prod C:\dev\Daedalus\lib\dash-renderer
> cross-env NODE_ENV=production node node_modules/.bin/webpack --config=config/webpack.config.prod.js

C:\dev\Daedalus\lib\dash-renderer\node_modules\.bin\webpack:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
          ^^^^^^^

SyntaxError: missing ) after argument list
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:607:28)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)
    at Function.Module.runMain (module.js:684:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: spawn node ENOENT
    at notFoundError (C:\dev\Daedalus\lib\dash-renderer\node_modules\cross-spawn\lib\enoent.js:11:11)
    at verifyENOENT (C:\dev\Daedalus\lib\dash-renderer\node_modules\cross-spawn\lib\enoent.js:46:16)
    at ChildProcess.cp.emit (C:\dev\Daedalus\lib\dash-renderer\node_modules\cross-spawn\lib\enoent.js:33:19)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
npm info lifecycle<EMAIL_ADDRESS>Failed to exec build-prod script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build-prod: `cross-env NODE_ENV=production node node_modules/.bin/webpack --config=config/webpack.config.prod.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build-prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Admin\AppData\Roaming\npm-cache\_logs\2018-07-26T18_57_34_933Z-debug.log
npm info lifecycle<EMAIL_ADDRESS>Failed to exec prepublish script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>prepublish: `npm test && npm run build-prod`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Admin\AppData\Roaming\npm-cache\_logs\2018-07-26T18_57_34_971Z-debug.log

@Mnuzz apologies that nobody responded to this issue! On first glance it looks like it's happening outside of our code... hopefully that (and the fact that we haven't heard any more about this since your post) means it's been solved elsewhere? Anyway we're merging dash-renderer into the dash repo, so if you (or any other Windows users) hit this issue again, please open a new issue over there.


Release v1.2.2

ci: updated to shared configs

added CONTRIBUTORS.md

dep: eslint-plugin-haraka -> @haraka/eslint-config

consistent naming of "special" files like CHANGELOG.md.

populate [files] in package.json. Delete .npmignore.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 65.391%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
348

Relevant Lines:
515

💛  - Coveralls


Adding Language Feature

I will be adding Language Feature for this program.
It will accept -l or --language as parameter.
It will change the  in the template.

Closed by https://github.com/GMOTGIT/GMOT-SSG/commit/250fad9bebf848bcf848ca2dd170efc9ce114813


Add workflow

Add basic github actions workflow file

Looks great, did you mean to commit the web implementation as well?

No, I did not. Let me remove it.


Need to manually define a Position variable, can't find documentation on the format?

Hello!
I'm trying to manually define a Position variable before using geolocator to redefine it later. But I have no idea what the format of the variable is, and I can't find documentation on it either.
If I were to do:
Position _currentPosition = X;
where X is the manually defined lat/long, what is the format necessary?

You can use the fromMap function like so:
Position _currentPosition = Position.fromMap({'latitude': 37.4, 'longitude': -122.0});

Hi @jmote,
The example shown by @weihenglim is correct, you can use the fromMap method to create a new position if you want to. Alternatively (and that would be my recommendation) you could create your own Position class on which you have full control and create a special constructor that accepts the Geolocator's Position class to construct it self.
Something a long the lines of:
class MyPosition {
  MyPosition(this.latitude, this.longitude);

  MyPosition.fromPosition(Position position)
    : this.latitude = position.latitude,
      this.longitude = position.longitude;

  final double latitude;
  final double longitude;
}

Now you can use the MyPosition class in the rest of your application which makes the coupling between your code and the geolocator a bit more loosely (which is a good thing).
If you are looking for the definition of the Position class, you can find it here: https://github.com/Baseflow/flutter-geolocator/blob/9ff1f1b7712fc7c2b210d21408884258689cb389/geolocator_platform_interface/lib/src/models/position.dart
I am going to close this issue now, however feel free to leave a comment if you have additional questions.


ci: unpin react-scripts

This reverts commit ce2c57c40f01785f90bb4d954069d35e791f230a.
I also needed to make changes to the integration test webpack config.

Webpack < 5 automatically contained some polyfills (such as for os and path). These need to be added manually now.
Webpack 5 is giving warnings for bundling typescript. We don't have control over changing this so I have suppressed warnings from node_modules.

To Do:

test on windows

Codecov Report

Merging #314 (fce8faf) into develop (0cd6087) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #314   +/-   ##
========================================
  Coverage    89.63%   89.63%
========================================
  Files           36       36
  Lines         1244     1244
  Branches       278      278
========================================
  Hits          1115     1115
  Misses         126      126
  Partials         3        3

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 0cd6087...fce8faf. Read the comment docs.

It looks like webpack 5 has some issues with including codegen ui for code generation in browser. We will need to resolve that before merging these changes.
ERROR in ../codegen-ui-react/dist/lib/react-theme-studio-template-renderer.js 25:13-26
Module not found: Error: Can't resolve 'os' in '/home/runner/work/amplify-codegen-ui/amplify-codegen-ui/packages/codegen-ui-react/dist/lib'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
	- add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }'
	- install 'os-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
	resolve.fallback: { "os": false }
 @ ../codegen-ui-react/dist/lib/index.js 49:13-62
 @ ../codegen-ui-react/dist/index.js 41:13-35
 @ ../test-generator/dist/generators/NodeTestGenerator.js 38:27-67
 @ ../test-generator/dist/generators/index.js 41:13-43
 @ ../test-generator/dist/index.js 43:13-36
 @ ./src/GenerateTests.tsx 24:0-78 28:29-49 52:31-51
 @ ./src/App.tsx 23:0-44 152:38-51
 @ ./src/index.tsx 7:0-24 11:33-36

Changes to webpack config have resolved the errors. I still need to verify that the integ setup works on windows.

Windows script is fixed now.


bug: SafeConnector doesn't connect, gets stuck on "connecting".

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
1.4.1
Current Behavior
SafeConnect connector button when clicked doesn't connect with Safe.
Expected Behavior
It should connect with Safe.
Steps To Reproduce
I have a simple frontend page, and I intend to add a wallet connect feature using Safe. Below is the necessary code to setup a SafeConnector in Wagmi.
// Import all packages necessary.
import { SafeConnector } from 'wagmi/connectors/safe';

const { chains, publicClient, webSocketPublicClient } = configureChains(
  [goerli],
  [publicProvider()]
)

// Set up wagmi config
const config = createConfig({
  autoConnect: false,
  connectors: [
    new SafeConnector({ chains: [goerli] })
  ],
  publicClient,
  webSocketPublicClient
})

Over here, is the code to allow the connection.
const { connect, connectors, error, pendingConnector } = useConnect();
{
  connectors
  .map((x) => (
      <button key={x.id} onClick={() => { console.log(x); connect({ connector: x }) }}>
          {x.name}
          {isConnecting && x.id === pendingConnector?.id && ' (connecting)'}
      </button>
  ))
}

This doesn't work, rather, it gets the button stuck in this state.

What can be done to fix this?
Recreatable code @ https://github.com/0xfps/safe-demo.
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
https://github.com/0xfps/safe-demo
Anything else?

The Safe connector only works on app.safe.global. Are you using that?


Add/update SMTP auth providers via cli

Allow adding/updating SMTP authentication source via CLI using:

gitea admin  auth add-smtp
gitea admin  auth update-smtp

Generally LGTM, but there are some flaws, for example, auth-type was checked in add but not in update, it may lead to inconsistency.
Agree.

If we can introduce a common function like prepareCommonSmtpConfig to parse the common arguments, it could be more consistent.
I will push new version shortly with common parse function.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@3a0dee0). Click here to learn what that means.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main   #18197   +/-   ##
=======================================
  Coverage        ?   45.58%
=======================================
  Files           ?      830
  Lines           ?    92092
  Branches        ?        0
=======================================
  Hits            ?    41981
  Misses          ?    43366
  Partials        ?     6745

Impacted Files
Coverage Δ

cmd/admin.go
0.00% <0.00%> (ø)

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 3a0dee0...100aa96. Read the comment docs.

make lgtm work


Can't write on channel config file

It looks like the json file remains open, as I'm not able to overwrite it while the kernel is active

Hmmm... I can't reproduce this.  Maybe it's a Windows thing? I can open a Julia prompt
julia> using QGL

julia> q1 = Qubit("q1")
q1

julia> q1.shape_params
Dict{Symbol,Any} with 7 entries:
  :length         => 2.0e-8
  :sigma          => 5.0e-9
  :cutoff         => 2
  :drag_scaling   => 0
  :piAmp          => 1.0
  :pi2Amp         => 0.5
  :shape_function => QGL.PulseShapes.gaussian

Then open ExpSettingsGui from PyQlab and change q1's length save the channel config file then back in the same Julia REPL:
julia> q1 = Qubit("q1")
q1

julia> q1.shape_params
Dict{Symbol,Any} with 7 entries:
  :length         => 3.0e-8
  :sigma          => 5.0e-9
  :cutoff         => 2
  :drag_scaling   => 0
  :piAmp          => 1.0
  :pi2Amp         => 0.5
  :shape_function => QGL.PulseShapes.gaussian

julia>

No json file anymore. Not encountered yet with yaml. But see https://github.com/BBN-Q/QGL.jl/issues/30


Update dependencies and gradle wrapper, add jitpack.yml

Care to describe why/what this PR is for? I am confused considering it came out of nowhere in the middle of our development

These changes were needed in order to get the PolyFactory mod to work with Alloy  Forgery in 1.20.4 + this branch didn't build cause of the owo-lib dependency used a missing version 0.12.0-pre.5.1

Such was due to owo's development within Endec needing to be tested thru a local version. The rest of the changes for commented-out dependency, updating various aspects of gradle, and bumping the mod version are not strictly needed.
It will be needed on release to bump the dependency with the FMJ but it is not needed to put AF on jitpack due to the fact you can use modrinth as maven and there is a open PR for adding proper dependency within the future on release.

I'm closing this PR, with the changes being already planned for release. Jitpack support is not planned for the future and suggest using modrinth as a maven target within the future.


Adapt Driver Dependencies Test Suite to Private Dependencies

@swift-ci smoke test

The swiftdeps file includes a version at the top. How about incrementing that?

You have my sympathy! There are a lot of tests to fix.

We don't need to bump the version number just for private dependencies since the written format is independent of these changes. That is, unless you meant that it should have been incremented a-priori. In which case, I can do the grunt work for that in a follow-up just to make sure I get all the tests in one pass.

Hm, this is the second time I've seen SourceKit/CodeComplete/complete_checkdeps_bridged.swift fail spuriously...
@swift-ci clean smoke test Linux platform

Good point about the format being compatible. I'm thinking, though, that even though we don't need to bump it, it could be useful to bump it. Might it offer an easy way to see which authoring strategy is being used in the frontend? For instance when we have to go in and look at a compiler that we didn't build?

@swift-ci smoke test Linux

⛵


[BUG] Queries with string and keyword fields returning incorrect results

We have enabled opensearch-sql plugin in the Opensearch so that we can run SQL like queries on opensearch data .
When we run following command which is very basic, we get following error:
curl -XPOST _plugins/_sql  -d '{"query": "SELECT bundleName FROM log-30-08-2024 WHERE (requestType=\"TERMINATION_REQUEST\") group by  bundleName order by bundleName"}'
{
  "error":

{     "reason": "Error occurred in OpenSearch engine: all shards failed",     "details": "Shard[0]: java.lang.IllegalArgumentException: Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [bundleName] in order to load field data by uninverting the inverted index. Note that this can use significant memory.\nShard[1]: java.lang.IllegalArgumentException: Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [bundleName] in order to load field data by uninverting the inverted index. Note that this can use significant memory.\nShard[2]: java.lang.IllegalArgumentException: Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [bundleName] in order to load field data by uninverting the inverted index. Note that this can use significant memory.\n\nFor more details, please send request for Json format to see the raw response from OpenSearch engine.",     "type": "SearchPhaseExecutionException"   }

,
  "status": 400
}

How to decide what should be the data type of the field, because after changing to keyword also some queries are not running and fetching relevent fields and its value, e.g.
curl -XPOST _plugins/_sql -d '{"query": "SELECT  sessionId FROM log-30-08-2024"}'
{
  "schema": [
{       "name": "sessionId",       "type": "keyword"     }
  ],
  "datarows": [],
  "total": 0,
  "size": 0,
  "status": 200
}

Note that for the above query, there are records with sessionId field.
curl -XPOST _plugins/_sql  -d '{"query": "SELECT  sessionId,  bundleName FROM log-30-08-2024 WHERE (bundleName=\"test_001\") group by  bundleName order by  bundleName"}'

{
  "schema": [
{       "name": "sessionId",       "type": "keyword"     }
,
{       "name": "bundleName",       "type": "keyword"     }
  ],
  "datarows": [
    [
      null,
      "test_001"
    ]
  ],
  "total": 1,
  "size": 1,
  "status": 200
}

Ideally this plugin should be able to excute queries with text type field also.
Is there any limitations to execute queries from this opensearch-sql plugin?

Please follow the bug template to help prevent churn -- specifically of interest here are the cluster environment and the index configuration.

@skumarp7 text fields are not optimized for search.  Please see https://opensearch.org/docs/latest/field-types/supported-field-types/string/ for a description of the different mapping string types.
SELECT  sessionId FROM log-30-08-2024

If sessionId is a keyword field, this query will return all records/documents with sessionId in the index log-30-08-2024.  Is it possible there's a problem with your index mapping?


Configuring recording per paths

Describe the feature
Description
It will be convenient if make the recording configuration more flexible by pointing the recording settings to specific paths
(recordPath recordFormat recordPartDuration recordSegmentDuration recordDeleteAfter).
I haven't studied Golang yet (I don't know this programming language), but if I can, I'll try to commit it myself and send a PR.

added in v1.2.0


Build error when linking gem5.opt

Hi,
I encountered an error when building gem5, saying "error adding symbols: DSO missing from command line".
How to solve this?

[    LINK]  -> RISCV/gem5.opt
/home/kinseng/chipyard/.conda-env/bin/../lib/gcc/x86_64-conda-linux-gnu/12.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: build/RISCV/proto/inst_dep_record.pb.o: undefined reference to symbol '_ZN4absl12lts_2023012512log_internal17MakeCheckOpStringIllEEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_T0_PKc'
/home/kinseng/chipyard/.conda-env/bin/../lib/gcc/x86_64-conda-linux-gnu/12.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/kinseng/chipyard/.conda-env/lib/libabsl_log_internal_check_op.so.2301.0.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
scons: *** [build/RISCV/gem5.opt] Error 1
scons: building terminated because of errors.

It looks like you don't have the protobuf development environment installed correctly. On Ubuntu you can use apt install libprotobuf-dev protobuf-compiler libprotoc-dev libgoogle-perftools-dev.
I have personally never used a conda environment to build gem5. I would suggest using a docker container if you still have problems.
See https://www.gem5.org/documentation/general_docs/building#docker for more information.

@GeneralKinseng : Did this fix the issue for you?

The build seems to have conflicts with conda environment. I have disabled the environment and rebuild gem5. It works perfectly. Thank you for your help.

I encountered a similar error on arch linux. However, I'm not using an conda environment and I have protobuf installed.
Here is the full build log
scons -j12 build/RISCV/gem5.opt
scons: Reading SConscript files ...

You're missing the pre-commit/commit-msg hooks.  This script will now install these hooks in
your .git/hooks/ directory.
Press enter to continue, or ctrl-c to abort:
 Cannot find 'pre-commit'. Please ensure all Python requirements are
installed. This can be done via 'pip install -r requirements.txt'.
It is strongly recommended you install the pre-commit hooks before working with gem5. Do you want to continue compilation (y/n)?
y
Mkdir("/home/scratcher/Workspace/wasm-task3.5/gem5/build/RISCV/gem5.build")
Checking for linker -Wl,--as-needed support... (cached) yes
Checking for compiler -gz support... (cached) yes
Checking for linker -gz support... (cached) yes
Info: Using Python config: python3-config
Checking for C header file Python.h... (cached) yes
Checking Python version... (cached) 3.11.3
Checking for accept(0,0,0) in C++ library None... (cached) yes
Checking for zlibVersion() in C++ library z... (cached) yes
Checking for C library tcmalloc_minimal... (cached) yes
Building in /home/scratcher/Workspace/wasm-task3.5/gem5/build/RISCV
Using saved variables file(s) /home/scratcher/Workspace/wasm-task3.5/gem5/build/RISCV/gem5.build/variables
Checking size of struct kvm_xsave ... (cached) yes
Checking for C header file fenv.h... (cached) yes
Checking for C header file png.h... (cached) yes
Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... (cached) yes
Checking for C header file valgrind/valgrind.h... (cached) no
Checking for pkg-config package hdf5-serial... (cached) no
Checking for pkg-config package hdf5... (cached) yes
Checking for H5Fcreate("", 0, 0, 0) in C library hdf5... (cached) yes
Checking for H5::H5File("", 0) in C++ library hdf5_cpp... (cached) yes
Checking for C header file linux/kvm.h... (cached) yes
Checking for timer_create(CLOCK_MONOTONIC, NULL, NULL) in C library None... (cached) yes
Checking for member exclude_host in struct perf_event_attr...(cached) yes
Checking for C header file linux/if_tun.h... (cached) yes
Checking for shm_open("/test", 0, 0) in C library None... (cached) yes
Checking for pkg-config package protobuf... (cached) yes
Checking for GOOGLE_PROTOBUF_VERIFY_VERSION in C++ library protobuf... (cached) yes
Checking for backtrace_symbols_fd((void *)1, 0, 0) in C library None... (cached) yes
Checking whether __i386__ is declared... (cached) no
Checking whether __x86_64__ is declared... (cached) yes
Checking for compiler -Wno-self-assign-overloaded support... (cached) yes
Checking for linker -Wno-free-nonheap-object support... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
 [VER TAGS]  -> RISCV/sim/tags.cc
 [    LINK]  -> RISCV/gem5.opt
/usr/bin/ld: build/RISCV/cpu/o3/probe/elastic_trace.o: undefined reference to symbol '_ZN4absl12lts_2023012512log_internal17MakeCheckOpStringIllEEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_T0_PKc'
/usr/bin/ld: /usr/lib/libabsl_log_internal_check_op.so.2301.0.0: error adding symbols: DSO missing from command line
collect2: error：ld returned 1
scons: *** [build/RISCV/gem5.opt] Error 1
scons: building terminated because of errors.

Just for helping anyone with this issue (like @scratch-er ):
Downgrading protobuf and python-protobuf to version 23.4 on archlinux fixes the issue.
Here is the command for downgrading them using the ArchLinux Archive Repository
sudo pacman -U https://archive.archlinux.org/packages/p/protobuf/protobuf-23.4-1-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/p/python-protobuf/python-protobuf-23.4-1-x86_64.pkg.tar.zst

Remember that every update will revert it.
Also, take into account that other software that depends on protobuf could be affected.

只是为了帮助任何人解决这个问题（例如@scratch-er）：
在 archlinux 上将 protobuf 和 python-protobuf 降级到版本 23.4 可以修复该问题。 这是使用 ArchLinux 存档存储库降级它们的命令
sudo pacman -U https://archive.archlinux.org/packages/p/protobuf/protobuf-23.4-1-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/p/python-protobuf/python-protobuf-23.4-1-x86_64.pkg.tar.zst

请记住，每次更新都会恢复它。
另外，请考虑依赖于 protobuf 的其他软件可能会受到影响。

我在manjaro上尝试了这个方法，但是并不能解决问题。但我发现，从最新protobuf降级到23.4，protobuf的依赖库abseil并不会自动降级到对应的版本，这会导致protobuf complier(protoc)不能正常工作，这样的话gem5编译时会直接跳过tracing support，然后编译出一个可用的版本，只是不支持tracing support。

A similar error occurs to me.
I don't know how to do it.
Can I get some help?
 [VER TAGS]  -> RISCV/sim/tags.cc
 [    LINK]  -> RISCV/gem5.opt
/usr/bin/ld: build/RISCV/proto/inst_dep_record.pb.o: in function `google::protobuf::MessageLite::~MessageLite()':
/home/jongsang/src/protobuf/include/google/protobuf/message_lite.h:171: undefined reference to `google::protobuf::internal::InternalMetadata::~InternalMetadata()'
/usr/bin/ld: /home/jongsang/src/protobuf/include/google/protobuf/message_lite.h:171: undefined reference to `google::protobuf::internal::InternalMetadata::~InternalMetadata()'
/usr/bin/ld: /home/jongsang/src/protobuf/include/google/protobuf/message_lite.h:171: undefined reference to `google::protobuf::internal::InternalMetadata::~InternalMetadata()'
/usr/bin/ld: /home/jongsang/src/protobuf/include/google/protobuf/message_lite.h:171: undefined reference to `google::protobuf::internal::InternalMetadata::~InternalMetadata()'
/usr/bin/ld: /home/jongsang/src/protobuf/include/google/protobuf/message_lite.h:171: undefined reference to `google::protobuf::internal::InternalMetadata::~InternalMetadata()'
/usr/bin/ld: build/RISCV/proto/inst_dep_record.pb.o:/home/jongsang/src/protobuf/include/google/protobuf/message_lite.h:171: more undefined references to `google::protobuf::internal::InternalMetadata::~InternalMetadata()' follow
collect2: error: ld returned 1 exit status
scons: *** [build/RISCV/gem5.opt] Error 1
scons: building terminated because of errors.


feat: #SA-8 adds rule for reviewers

So this needs to be in the repo, it is not a Dependabot configuration?


D-Kit: Fixed a typo in the replaying part of Start_Waypoint_Following_cn.md

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Feature/hhoppdev 898 language server

This PR creates the language server (for use in future features), and adds the functionality for document links. Any normal imports with a path (with or without shorthand prefix) should become a link.

@emielb I think I resolved all your comments.

Reminder to update the README.md, README-DEVELOP.md, and CHANGELOG.md files


New default branch?

Description
I have a fork of the repo and the default branch used to be called master. Am I correct that the branch was renamed to main? I'm not sure how to pull in changes with renamed branches. How do I correctly update my fork and local repo?

I figured it out:

fetch all remotes
Go to the github forked repo and click on settings.
Click on branches.
Select "main" as the default branch.
Ignore the scary warning and click OK.
pull main.
delete local master.
delete fork master.

For the record, I think someone should have paid more attention to the scary warning. Changing existing branch names makes work for downstream users outside the average user's comfort zone...


SwipeableView inside SwipeableView auto height

Thank for this component.
It might be similar to #339 and #159 I use one swipeViewInner inside another swipeViewOutside. I use this configuration to show transition animations for element is opened from list.
This configuration works badly. I see that height isn't properly updated when switching between slides in swipeViewInner.
I tried to investigate the problem and found that the new height is set with setState(height) and assume the outer swipe view handle changes before new height is applied (inner view is renedered actually).
What do you suggest on this?

Maybe we can make argument to provide custom updateHeight() function?
Maybe we should run updateHeight() if child.offsetHeight is changed after each onDidUpdate?
Maybe we can use props for active slide height?

I see the complexity of the problem in that the real height is set after executing "render" function. This makes cascade updating of the height more complex in case of nesting "swipeView".

I'm going to close the issue for #339. This is a limitation of the component. I don't want to add any more logic to handle it. Thanks for raising it.


Generate feature descriptors with BRIEF

We want the descriptors to take orientation into account -> rBRIEF.
We want to generate a unique string characterising each keypoint. For BRIEF, it consists of a 256 bits string. The bits are the result of the intensity comparison of two pixels within the window around the keypoint. To make the features rotation invariant, the window should first be rotated, and then the comparisons can be made.
The ORB article, in which the computation of the descriptors can be found: http://www.gwylab.com/download/ORB_2012.pdf
A video basically explaining the same thing in a more understandable way (from 37:05 to the end): https://www.youtube.com/watch?v=CMolhcwtGAU

Now I have the following issue, which I don't know how to solve: we want to find the best 256 comparisons between two pixels of the patch around the keypoint that will result in descriptors as different as possible.
Apparently, this is commonly done using machine learning, and is depending on the type of images used, so a training set is necessary.

Based on the BRIEF article, we can see that the points chosen are not that important as long as we use systematically the same ones. We decide to use points with a gaussian distribution around the center of the image.
BRIEF article: https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf
DOI: https://doi.org/10.1007/978-3-642-15561-1_56


Access JS variable on template

Hello, I'm trying to create an A/B testing feature for my website. I'm setting the version I want the user to see to a variable on a JS file where I store/retrieve the user's cookie.
I'm able to access the variable on any JS file, but I can't use the value on the template to choose what partial to render.

@Gabiras12 Can you share some code or give some samples of how you're trying to accomplish this?

@tdreyno Sure! Here's how i'm trying do accomplish this:

On application launch i run the following JS code:

class @CookieManager
 constructor: () ->
   @setIndexPage()

 setIndexPage: () =>
   # check if cookie already defined
   if Cookies.get('index') is undefined
     Cookies.set('index', @generateRandomIndex())

 generateRandomIndex: () =>
   randomNumber = Math.floor(Math.random() * 2)
   if randomNumber is 1
     return 'default_index'
   else
     return 'new_index'

 getIndexPage: () =>
   Cookies.get('index')

Now i'm able to retrieve the page that the user should see like this:
cookieManager = new CookieManager()
ab_index = @cookieManager.getIndexPage()

The problem that i'm facing is how to use the ab_index var to render the right template.
- if ab_index == "default_index"
  = partial 'shared/default_index'
- else
  = partial 'shared/new_index'

I know that the render process is server running and the CookieManager run on client side. I tried to send the the ab_index var via AJAX but with no success - I don't know where to send.
I hope that explains how i'm trying to do this. If you've a new solution to this, please share with us.
Thank you.

Ah, so it sounds like you're selecting a file client side. You should make 2 pages (maybe without layouts) for default_index and new_index. something like:
source/partial_pages/default_index.html.erb
Where that file is prefixed with:
---
layout: false
---

Now, in your client side code, simply AJAX the /partial_pages/default_index.html (or new_index, depending on your ab test variable) and insert the resulting HTML somewhere in your page.
Make sense?

This totally make sense! It's working now! Thanks @tdreyno.


mime typing should be string | -1 instead of string

Can't use Jimp.AUTO on typescript as mime type since it's typed as a string argument -

The buggy line -
https://github.com/oliver-moran/jimp/blob/8eb2e9b8dbb2f1cf7c4a4d0da5d2a3436eb83543/packages/jimp/types/index.d.ts#L133
Should be instead:
 getBase64(mime: string | Jimp.AUTO, cb: GenericCallback<string, any, this>): this;

// or
 getBase64(mime: string | -1, cb: GenericCallback<string, any, this>): this;

// or
 getBase64(mime: string | number, cb: GenericCallback<string, any, this>): this;

This was fixed


[Feature] Change to nginx-unprivileged image for better kubernetes support

Solves https://github.com/gchq/CyberChef/issues/1880
Not sure which image-repo you prefer to use, it's using Docker Hub in the pull-request (should be fine since its from a "Verified Publisher" and thus does not count towards the rate limit).
Alternative sources can be found here
Amazon ECR - https://gallery.ecr.aws/nginx/nginx-unprivileged
Docker Hub - https://hub.docker.com/r/nginxinc/nginx-unprivileged
GitHub Container Registry - https://github.com/nginxinc/docker-nginx-unprivileged/pkgs/container/nginx-unprivileged
Quay - https://quay.io/repository/nginx/nginx-unprivileged

UI Test fails with error. Seems a lot of pull-requests are facing the same issue.
>> - Starting ChromeDriver on port 9515...
>> Error
>>      Response 500 POST /session (28155ms)
   {
     value: {
       error: 'session not created',
       message: 'session not created: This version of ChromeDriver only supports Chrome version 127\n' +
         'Current browser version is 129.0.6668.58 with binary path /opt/google/chrome/chrome',
       stacktrace: ''
     }
  }
>> Error

Have these tests been fixed?

Have these tests been fixed?

Seem to work now after rebasing. Looks like this commit addressed the issue -> https://github.com/gchq/CyberChef/commit/d3adfc7c3e5719279524356bce5261bd8350c0f8

You might want to change the docker commandline in the readme so it shows forwarding to the new default ports of 8080 instead of the previous 80:
docker run -it -p 8080:8080 cyberchef

and
docker run -it -p 8080:8080 ghcr.io/gchq/cyberchef:latest


Added in namespace field for ansible deploy script

This PR added in the "namespace" field for alcor services on k8s.
Originally we don't need the  "namespace" field when we deploy with shell script, since they are all in the default namespace.
Now we want to switch use ansible deployment script, it need the "namespace" field in yaml. Since we can actually switch our "default" to other namespaces.

Now we want to switch use ansible deployment script, it need the "namespace" field in yaml. Since we can actually switch our "default" to other namespaces.

Good and detailed context.


Reroute_to_grpc_interface support for Python

Resolves #430 for Python.

Current coverage is 82.35% (diff: 97.36%)

Merging #470 into master will increase coverage by 0.05%

@@             master       #470   diff @@
==========================================
  Files           206        206
  Lines          7663       7691    +28
  Methods           0          0
  Messages          0          0
  Branches       1010       1014     +4
==========================================
+ Hits           6307       6334    +27
  Misses         1053       1053
- Partials        303        304     +1

Powered by Codecov. Last update 83d9ff1...b829a84

@geigerj This is ready for another pass!


Errors from icu

Hello! Im trying to build boost for android.
But Ive got some errors with icu:
gcc.compile.c++ bin.v2/libs/locale/build/gcc-androidR8e/release/link-static/threading-multi/encoding/codepage.o
In file included from libs/locale/src/encoding/uconv_codepage.ipp:12:0,
                 from libs/locale/src/encoding/codepage.cpp:19:
libs/locale/src/encoding/../icu/icu_util.hpp:10:28: fatal error: unicode/utypes.h: No such file or directory
compilation terminated.

My OS is Linux Mint 17.1 Cinnamon 64 bit. I use ndk_r10(July 2014) Linux 64-bit (x86).
I installed package libicu-dev and ia32-libs.
Can you help me with my problem?
Maybe does anyone have compiled binaries of boost for android?
Thank you!

I can confirm this bug. Building on windows against ndk r10c.


preserving whitespaces

Clear and concise description of the problem
I would like to have the option to preserve whitespaces through vite.config.js in order to be able to keep whitespaces in contents coming from a slot and displayed in a pre for instance. See https://github.com/vuejs/vue-next/pull/1600#issuecomment-700428649
Suggested solution
It would be great to have the SFC compiler compilerOptions exposed in the Vite config, for instance:
export default defineConfig({
  plugins: [vue()],
  compilerOptions: {
    whitespace: 'preserve'
  }
}

I am also using Pug, and this comment makes me think it should already be possible from Vue 3 SFC compiler: https://github.com/vitejs/vite/issues/17#issuecomment-639060956 🤔
If I missed something, my apologies.
Other than that, amazing work on Vite, lightning speed all the way! ⚡
esbuild & rollup: brilliant.

The option is exposed via @vitejs/plugin-vue. See https://github.com/vitejs/vite/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-dom

Thanks for that @sodatea, great to see it's exposed. 👍
That being said, I would really appreciate if you could give me a hand on my persistent whitespace issue - I know you've worked on vue-loader and other related core features and it's probably a piece of cake for you!
Filed on Vue 3 whitespace handling issue: https://github.com/vuejs/vue-next/pull/1600#issuecomment-849259242
Codesandbox: https://codesandbox.io/s/interesting-cookies-dy7wn?file=/src/App.vue
thanks!


Difference between io_uring_prep_timeout_remove and io_uring_prep_cancel64?

I found that these two functions are the same for canceling io_uring_prep_timeout, there's no difference, even the arguments are almost exactly the same

Both timeout and poll remove predate the generic cancel infrastructure, since then they are merely a subset of cancelation ops that cover all opcodes.


Multi-route navigation

Please describe the feature that you want to propose
In camel, it's common to link one (to) direct endpoint to its counterpart (from). i.e.
from(rest:topLevel)
// some processing
to(direct:lowerLevel)
And another route would be defined in the same context, as follows:
from(direct:lowerLevel)
//some steps
It would be nice if users could navigate between the to(direct:lowerLevel) and from(direct:lowerLevel) by clicking on some sort of "link" icon (attached) and then he would be redirected to the corresponding lowerLevel route. And from lowerLower route it would be possible to be redirected with ease to the parent route..

Hi @agiertli, thanks for reporting it, would this issue be similar to this one? https://github.com/KaotoIO/kaoto/issues/908

Yes! Feel free to close mine in favour of the existing one.
On Mon, Nov 11, 2024 at 1:28 PM Ricardo M. @.***> wrote:

Hi @agiertli https://github.com/agiertli, thanks for reporting it,
would this issue be similar to this one? #908
https://github.com/KaotoIO/kaoto/issues/908
—
Reply to this email directly, view it on GitHub
https://github.com/KaotoIO/kaoto/issues/1613#issuecomment-2468062449,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA6KI2HK47CKUHJNZ33N67D2ACPHJAVCNFSM6AAAAABRRRT3J2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRYGA3DENBUHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Anton Giertli
Senior Solution Architect
Czech & Slovakia
Red Hat Czech s.r.o. https://www.redhat.com/
M: +420735519914
https://www.redhat.com/

From the previous issue https://github.com/KaotoIO/kaoto/issues/908:
Please describe the feature that you want to propose
In the case of a Direct component, we could offer the user a way to navigate to the pointed route.
In the following example, we can see the Direct component pointing to the ADifferentRoute route, in this case, if the route is found, we could offer the user a way to navigate to that route directly, without interacting with the flow list.

As proposed by @brunoNetId
https://github.com/designer-for-camel/camel-designer/blob/master/docs/images/readme/vs-extension.gif


Drawer with anchor="right" and type="permanent" not working

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

The drawer should stick to the right side of the screen when set with anchor="right" and type="permanent".
Current Behavior

The drawer sticks to the left.

Steps to Reproduce (for bugs)

<Drawer anchor="right" type="permanent">
Hello, world!
</Drawer>
Your Environment

Tech
Version

Material-UI
beta12

React
15.6.2

browser
Chrome

etc
MacOS

It's related to #8339. But closing as the template is empty.

@oliviertassinari sorry. I just hit enter too quickly. Can you open it again?
Can you reproduce the error?

Oh, it's an order issue. You need to have the body before the second drawer.

Is this the right way? It used to work like this before. It seems more flexible.
On 30 Sep 2017, 13:00 +0200, Olivier Tassinari<EMAIL_ADDRESS>wrote:

Oh, it's an order issue. You need to have the body before the second drawer.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@PolGuixe I guess it's. I can't see a better solution.

@oliviertassinari the position of the body or content doesn't affect the drawer position.
Could you have a look a the line I commented on the PR? https://github.com/callemall/material-ui/pull/8361
I believe there is an issue.

@PolGuixe Do you have a reproduction example?


Enable the use of Postgres SSL

We need to be able to use an existing PostgreSQL instance which requires SSL.

I can take this on

If you name the env-var TRUSTD_DB_SSLMODE, it should be covered by the helm charts.


Pechkin turns to Dashamail

Hello, sorry for late response and thank you for PR. But it seems there is some issue with requiring version.rb, you "DashaMailRb/version", while version.rb seats in "dashamailrb" dir, details available here: https://travis-ci.org/crsde/PechkinRb/builds/559165352#L261, or just bundle console inside project directory.


Doc: Need use case and example for adding metadata to a contruct

In the constructs () section we state:
You can attach metadata to a construct using the aws-cdk.Construct.node.addMetadata operation. Metadata entries automatically include the stack trace from which the metadata entry was added to allow tracing back to your code, even if the entry was defined by a lower-level library that you don't own.
Why would you attach metadata to a construct? What's the advantage of adding a stack trace? Do we have an example (in a README)? How does it differ from tags?

Unlike Tags, metadata is a CDK-level annotation. It does not reflect into the deployed resources.
It's an extension mechanism, in the future you'll be able store and load arbitrary things from there.
At the moment though, most useful ones are this.node.addWarning() and this.node.addError(), which show up when you do synthesis (and addError() even prevents deployment of stacks that have errors in them).

Thanks. I'll try to create a draft soon.

Here's what I have so far:
Construct Metadata
Attach metadata to a construct using the addMetadata method. Metadata is an AWS CDK-level annotation, and as such, does not appear in the deployed resources. Metadata entries automatically include the stack trace from which the metadata entry was added to allow tracing back to your code, even if the entry was defined by a lower-level library that you don't own.
Use the addWarning method to emit a message when you you synthesis a stack; use the addError method to not only emit a message when you you synthesis a stack, but to also block the deployment of a stack.
The following example blocks the deployment of myStack if it is not in us-west-2:
if (myStack.region != 'us-west-2') {
    myStack.node.addError('myStack is not in us-west-2');
}

That sounds fine. Be sure to always use === and !== when comparing things for equality in JavaScript/TypeScript.

 I guess I was hoping the linter would remind me.

See https://docs.aws.amazon.com/CDK/latest/userguide/constructs.html#constructs_metadata


Add Newsletter Section to Footer

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The current footer does not include a newsletter subscription section. The feature request is to add a dedicated section in the footer for users to subscribe to the newsletter.
Use Case
I want to add a newsletter subscription form in the footer, allowing users to enter their email addresses and subscribe to updates. This section should be visually integrated with the existing footer design.
Benefits
What benefits would this feature bring to the project or community?
Increased User Engagement: Regular updates keep users connected with the project.
Better Communication: Easier dissemination of important news and updates.
Growth of Subscriber Base: Helps in building a community of engaged users.
Enhanced User Experience: Provides a convenient way for users to stay informed.
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@HimanshuNarware
I want to work on this issue. Also, please add the label GSSOC and the level that you find appropriate for this issue. thank you!


"imports" field support

Feature request
In addition to the "exports" field, Node.js also defines the "imports" field to permit private internal resolutions to simplify backtracking and local conditional resolution cases. As far as I can tell this field isn't yet supported in Webpack.
What is the expected behavior?
When writing a package.json with an "imports" field, the #private specifier resolutions should resolve through these rules analogously to the exports field.
What is motivation or use case for adding/changing the behavior?
Node.js resolver support parity.
How should this be implemented in your opinion?
It's a similar extension to the exports field and exports package "own name" resolution.
Are you willing to work on this yourself?
Possibly!

We already support it

https://github.com/webpack/enhanced-resolve/blob/master/lib/ImportsFieldPlugin.js

I've posted a failing test here in https://github.com/webpack/webpack/pull/12929.

How to make it works?
I got error
Module not found: Error: Can't resolve '#internal'


Image as a service

Add a service at forked common_msgs/sensor_msgs repo https://github.com/beta-robots/common_msgs/tree/kinetic-devel/sensor_msgs/srv , implementing a service replying with an Image.msg and a CameraInfo.msg

See commit 7e1e864d6b650b3dcc051bd1873606763735e72a


Include deno.land/std in current-versions plugin

std regularly has breaking changes which is why we initially omitted it from the plugin. Are we sure that updates to std cannot break our examples? How will this be tested?

There's no breaking changes in the std, nor the Deno API, unless the module is using an unstable API.
Source: https://twitter.com/biwanczuk/status/1565305775743983624

Great! Then this makes sense, thanks for the link


[Feature] Angular 12 support

PR Checklist
Please check if your PR fulfills the following requirements:

[ X ] The commit message follows our guidelines: https://github.com/CirclonGroup/angular-tree-component/blob/master/CONTRIBUTING.md#commit-message-guidelines
[ ] Tests for the changes have been added (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ X ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Angular 12 support
Closes #915
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

Hi, npm returned error 12 which after quick Googling turned out to be a "out of memory" scenario. I ran the test:ci:local command on my machine and it worked.
@authors please advice.

Any news? It's time already for 13.

@tobiasengelhardt Are you able to take a look/get this merged? Currently this component can't be used on Angular 12,13+

Any updates so far? Angular 11 gets out of support in May

@raharrison It pains me to see that there is no new development here - but I am not able to help because I don't have the permission to merge. I left the Circlon Group last year. Try reaching someone via<EMAIL_ADDRESS>

hi @shanmukhateja @amelnikoff @raharrison @Mord-Syth @tobiasengelhardt BugSplat has forked this project and added support for Angular 13. We have published a version of this package to npm. The PR can be seen here.
Hope this helps!

Bump... what's the story here, is this repo maintained at all?


fix: Wasm compilation for wasm32-wasi target

After forcing wasmer-wasix to use the js feature when the circom-compat/js feature is enabled. As well as forcing wasmer/js and otherwise, wasmer/default. The crate can now successfully compile to wasm.
Resolves: #73

There is some weird issue with clippy it seems, the fix it suggests is incorrect.