Change stylesheet link in the head of index.html to base.css from this repository

After changing the stylesheet link in the head, the stylesheet has broken.


Fix the darwin fwk compile

Problem
The Darwin CHIP.framework doesn't compile anymore.
Summary of Changes
Looks like #2273 (cc2423adc79698f0a55350e0d53d0e32600a650e) needed to also scope the vector usage in objc to std::vector.

@BroderickCarlin @jelderton @saurabhst ?

FYI I’m merging this in, it’s been delayed in review and the build is broken right now.


Functions keep returning missing "self" argument.

Hi there!
I couldn't find a more appropriate place to put this and I am certain that this is not an "issue" but a failure of my understanding as to how to use the code that you have put together.
Whenever I try calling the example functions that you have included, I get an error message back saying that it is missing one argument of "self." I'm not sure how to get around this as I don't know how the "self" argument would be otherwise initialised.
Apologies for what is likely a very naïve request, but thanks in advance for any help!
Kind regards,
Jon

Alternatively, I could be an absolute melon and not initialise the object as you stated...
I shall hang my head in shame.
Kind regards,
Jon


MGMT-8849: Avoid races when matching agents

To allow multiple instances of the provider to run simultaneously, we
now:

Update the Agent in one call, including a label referencing the
AgentMachine.
Update the AgentMachine in one call.
If we did step 1 but failed on step2, use the label on the Agent to
skip to step 2.

/retest-required

/hold
Let's save resources, it does not seem to pass one of the CI jobs

/test e2e-capi-provider-hypershift
/unhold

/test e2e-capi-provider-hypershift
/unhold

/hold
Let's save resources, it does not seem to pass...

/test e2e-capi-provider-hypershift

/test e2e-capi-provider-hypershift

/lgtm

/unhold


streams: Update description for stream-privacy-type.

Fixes #10524
@rishig @timabbott
Let me know if there are any changes required with wording or settings checkbox.

How about "Any stream member can post."?
I think we can use the same string for both invite_only and public.

Merged as c67403a6834a52127c25fa41356de6cdad3a9e43, after tweaking Rishi's text to address the issue of subscribed guest users being able to post (and also avoiding the use of "stream member" -- we always call them "stream subscribers").  Thanks @YJDave !
(Merged since the logic is good and we can do a follow-up fix to the test if @rishig comes up with a better solution)

fwiw, we use "stream member" or "member of the stream" in much of the rest of subscription_type.handlebars. It's pretty clunky (and I think doesn't give the right idea) to use "stream subscriber" everywhere, especially when describing private streams. So I think we should formally allow "stream member" in our strings. Thoughts?
Secondly, I think we should consider just using the descriptions that we use during stream creation here, which is also what we use in the privacy-settings-editing modal. That seems the least likely to cause confusion, the least likely to drift in translation, the easiest to maintain, etc.

I'm fine with moving to "Stream members" if we think that's better; we should just be consistent about it.  E.g. using "Your subscriptions" when it's you and "members" for other users would be fine.
I'm not sure I understand what the "just using the descriptions" part would mean concretely.  I do think we should keep in mind the different audiences -- 95%+ of people seeing this widget are not admins, and so we want it to be optimized for good readability for those folks, with a convenient way to go into an edit mode for admins (which possibly should be an edit pencil in some nice spot).
Arguably we want to redesign the page to have 3 tabs: "Permissions", "Notification settings", and "Subscribers", and everything will be a lot cleaner with that model.  Haven't thought through that in too much detail, but that's the direction I've been imagining for a while.

I'm fine with moving to "Stream members" if we think that's better; we should just be consistent about it. E.g. using "Your subscriptions" when it's you and "members" for other users would be fine.

I do think we should keep in mind the different audiences -- 95%+ of people seeing this widget are not admins, and so we want it to be optimized for good readability for those folks,

I see, ok. I still think it's good for the structure of the text to match the structure of the settings, though. What do you think of the following?
This is a **private stream** with **shared history**. Users must be added to access stream content, but any stream member can add others. New stream members can view complete message history. [Change]

All stream members can post to this stream. [Change]

As a first step, both [Change]s can do the same thing (i.e. open the current modal).

Arguably we want to redesign the page to have 3 tabs: "Permissions", "Notification settings", and "Subscribers"

yeah, I've been imagining it as "Personal settings" and "Stream settings". Splitting out "Stream settings" into "Stream settings" and "Stream members" also seems reasonable.

I have a WIP thing, that makes it look like

Thoughts?

Looks reasonable to me.


Sidebar does not load sensors for Node documentation in IE10

For the Yuidoc generated JavaScript documentation pages, the sidebar with the sensor categories and links doesn't load and display properly in IE 10, but it does work as expected with IE 11.

are you pulling the latest version of the tool? i fixed a bug for ie8 last weekend, would expect ie10 to work if ie8 does.

I thought I did but somehow I missed your latest changes. I don't have your repository set up as a sub component of UPM yet, it will be a while till I get to that. Everything is in place and works nicely now, thanks a lot!


Disable DTD Processing

Prevent XXE and other XML based attacks.
https://docs.microsoft.com/en-us/dotnet/api/system.xml.xmltextreader.dtdprocessing?view=net-6.0

I researched this and it's disabled by default for XmlReader. Closing.


Vision

We will be using vision for our first competition. Setting it up will be the hardest part, so we will work together to do that at an online meeting.

@aprettygoodprogramer After we tune our Drive PIDs next week and before we start working on the arm, we are going to quickly set this up.


turn off pull_request hook on github actions

From my discussion with GitHub support, they've let me know that removing the pull_request hook will stop new jobs being triggered by opening/closing a pull_request repeatedly

When you get a chance, please elaborate on what this change does.    I think you are saying that a single pull request behaves as before and the action is triggered; but if GitHub detects repeated open/close within some time window, then it no longer triggers the action?   Is that correct? Any sense for the length of the time window?
If there are repeated open/close  in a short time window, is the action triggered once at the start or is there a delay so that ti can catch this situation and never trigger the action?

Hi Rob,
This stops outside users from triggering GitHub Actions jobs in this repository by opening pull requests. Any that do get triggered would run in their fork of this repository instead. This means there's no incentive for anybody to spam this repository with pull requests anymore.
This change doesn't affect the operation of FNALbuild, since none of the relevant files were touched. This repository only uses GitHub actions as a convenience tool to check that nothing is broken in the python scripts and that the YAML files are properly formatted before merging changes.


Add allowed fixmes for hhvm 4.62

Running Fred's jq script
Co-authored-by: Fred Emmott<EMAIL_ADDRESS>

Required fixmes have changed in newer hhvm versions


Excracting edited rom

Im sorry but whenever i click on "save rom" nothing happens, the original file doesnt change and it only saves what did on the editor. how do i actually get the edited rom out?

The changes are made to the rom you opened, it does not create a new rom.

but the rom stayed the same, the last date of modification of the file is the same as when it was downloaded

have you tested the changes ingame?
Op di 27 aug 2024 om 18:04 schreef pissopasso @.***>:

but the rom stayed the same, the last date of modification of the file is
the same as when it was downloaded
—
Reply to this email directly, view it on GitHub
https://github.com/NielsHotweels/InazumaDSEditor/issues/1#issuecomment-2312966626,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4ODFZH6WFGXS4B4CNVBYPDZTSPQ5AVCNFSM6AAAAABNEZ4IZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJSHE3DMNRSGY
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Add support for Laravel 6.0

Is there anything that needs to be changed in the code? Are you running into issues?

@jblotus Sorry for the delay. Will test it today and will release the new version.

Added the new version to support Laravel version 6.0


UI: Hide full results by default

Request by @UnixJunkie in https://github.com/ocaml/opam-repository/pull/24327#issuecomment-1705803328

Nice, thanks!


rename module and rewrite imports for dcrlabs

Mostly copied from https://github.com/dcrlabs/neutrino-bch/pull/6
Also adds an updated testdata/blocks1-256.bz2 file so that tests will pass.

I didn't even know #1 existed. Oops.

Closing, but lemme know if you need the testdata file.


KeyError: 'repo'

When trying to create a new nbdev project with nbdev_new, following error is thrown after entering the nbdev configuration parameters:
Traceback (most recent call last):
  File "/home/fabian/.venv/venv/bin/nbdev_new", line 8, in <module>
    sys.exit(nbdev_new())
  File "/home/fabian/.venv/venv/lib/python3.9/site-packages/fastcore/script.py", line 116, in _f
    return tfunc(**merge(args, args_from_prog(func, xtra)))
  File "/home/fabian/.venv/venv/lib/python3.9/site-packages/nbdev/cli.py", line 296, in nbdev_new
    settings = settings.format(**config)
KeyError: 'repo'

I have initialized a new repository with gh repo create, so the repo should be extracted via owner,repo = repo_details(url) in the _fetch_from_git function.
I am using nbdev 2.0.7.

Fixed in master. Generally this problem occurs if you have a private repo.


Error

Error while connecting:
Connection closed.   at BotwTrainer.TcpConn.Read(Byte[] buffer, UInt32 nobytes, UInt32& bytesRead)
at BotwTrainer.Gecko.ReadBytes(UInt32 address, UInt32 length)
Value cannot be null.
Parameter name: array   at System.Array.Reverse(Array array)
at BotwTrainer.Gecko.GetInt(UInt32 address)
Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at BotwTrainer.TcpConn.Write(Byte[] buffer, Int32 nobytes, UInt32& bytesWritten)
at BotwTrainer.Gecko.SendCommand(Command command)
at BotwTrainer.Gecko.RequestBytes(UInt32 address, UInt32 length)
Connection closed.   at BotwTrainer.TcpConn.Read(Byte[] buffer, UInt32 nobytes, UInt32& bytesRead)
at BotwTrainer.Gecko.ReadBytes(UInt32 address, UInt32 length)
Value cannot be null.
Parameter name: array   at System.Array.Reverse(Array array)
at BotwTrainer.Gecko.GetInt(UInt32 address)
Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at BotwTrainer.TcpConn.Write(Byte[] buffer, Int32 nobytes, UInt32& bytesWritten)
at BotwTrainer.Gecko.SendCommand(Command command)
at BotwTrainer.Gecko.RequestBytes(UInt32 address, UInt32 length)
Connection closed.   at BotwTrainer.TcpConn.Read(Byte[] buffer, UInt32 nobytes, UInt32& bytesRead)
at BotwTrainer.Gecko.ReadBytes(UInt32 address, UInt32 length)
Value cannot be null.
Parameter name: array   at System.Array.Reverse(Array array)
at BotwTrainer.Gecko.GetInt(UInt32 address)
Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at BotwTrainer.TcpConn.Write(Byte[] buffer, Int32 nobytes, UInt32& bytesWritten)
at BotwTrainer.Gecko.SendCommand(Command command)
at BotwTrainer.Gecko.RequestBytes(UInt32 address, UInt32 length)
Connection closed.   at BotwTrainer.TcpConn.Read(Byte[] buffer, UInt32 nobytes, UInt32& bytesRead)
at BotwTrainer.Gecko.ReadBytes(UInt32 address, UInt32 length)
Value cannot be null.
Parameter name: array   at System.Array.Reverse(Array array)
at BotwTrainer.Gecko.GetInt(UInt32 address)
Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at BotwTrainer.TcpConn.Write(Byte[] buffer, Int32 nobytes, UInt32& bytesWritten)
at BotwTrainer.Gecko.SendCommand(Command command)
at BotwTrainer.Gecko.RequestBytes(UInt32 address, UInt32 length)
Connection closed.   at BotwTrainer.TcpConn.Read(Byte[] buffer, UInt32 nobytes, UInt32& bytesRead)
at BotwTrainer.Gecko.ReadBytes(UInt32 address, UInt32 length)
Value cannot be null.
Parameter name: array   at System.Array.Reverse(Array array)
at BotwTrainer.Gecko.GetInt(UInt32 address)
Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at BotwTrainer.TcpConn.Write(Byte[] buffer, Int32 nobytes, UInt32& bytesWritten)
at BotwTrainer.Gecko.SendCommand(Command command)
at BotwTrainer.Gecko.RequestBytes(UInt32 address, UInt32 length)
Connection closed.   at BotwTrainer.TcpConn.Read(Byte[] buffer, UInt32 nobytes, UInt32& bytesRead)
at BotwTrainer.Gecko.ReadBytes(UInt32 address, UInt32 length)
Value cannot be null.
Parameter name: array   at System.Array.Reverse(Array array)
at BotwTrainer.Gecko.GetInt(UInt32 address)
Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at BotwTrainer.TcpConn.Write(Byte[] buffer, Int32 nobytes, UInt32& bytesWritten)
at BotwTrainer.Gecko.SendCommand(Command command)
at BotwTrainer.Gecko.RequestBytes(UInt32 address, UInt32 length)
Connection closed.   at BotwTrainer.TcpConn.Read(Byte[] buffer, UInt32 nobytes, UInt32& bytesRead)
at BotwTrainer.Gecko.ReadBytes(UInt32 address, UInt32 length)
Value cannot be null.
Parameter name: array   at System.Array.Reverse(Array array)
at BotwTrainer.Gecko.GetUInt(UInt32 address)
Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at BotwTrainer.TcpConn.Write(Byte[] buffer, Int32 nobytes, UInt32& bytesWritten)
at BotwTrainer.Gecko.SendCommand(Command command)
at BotwTrainer.Gecko.RequestBytes(UInt32 address, UInt32 length)
Connection closed.   at BotwTrainer.TcpConn.Read(Byte[] buffer, UInt32 nobytes, UInt32& bytesRead)
at BotwTrainer.Gecko.ReadBytes(UInt32 address, UInt32 length)
Value cannot be null.
Parameter name: source   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at BotwTrainer.Gecko.GetString(UInt32 address)
Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at BotwTrainer.TcpConn.Write(Byte[] buffer, Int32 nobytes, UInt32& bytesWritten)
at BotwTrainer.Gecko.SendCommand(Command command)
at BotwTrainer.Gecko.RequestBytes(UInt32 address, UInt32 length)
Connection closed.   at BotwTrainer.TcpConn.Read(Byte[] buffer, UInt32 nobytes, UInt32& bytesRead)
at BotwTrainer.Gecko.ReadBytes(UInt32 address, UInt32 length)
Value cannot be null.
Parameter name: source   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at BotwTrainer.Gecko.GetString(UInt32 address)
Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at BotwTrainer.TcpConn.Write(Byte[] buffer, Int32 nobytes, UInt32& bytesWritten)
at BotwTrainer.Gecko.SendCommand(Command command)
at BotwTrainer.Gecko.RequestBytes(UInt32 address, UInt32 length)
Connection closed.   at BotwTrainer.TcpConn.Read(Byte[] buffer, UInt32 nobytes, UInt32& bytesRead)
at BotwTrainer.Gecko.ReadBytes(UInt32 address, UInt32 length)
Value cannot be null.
Parameter name: array   at System.Array.Reverse(Array array)
at BotwTrainer.Gecko.GetUInt(UInt32 address)
Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at BotwTrainer.TcpConn.Write(Byte[] buffer, Int32 nobytes, UInt32& bytesWritten)
at BotwTrainer.Gecko.SendCommand(Command command)
at BotwTrainer.Gecko.RequestBytes(UInt32 address, UInt32 length)
Connection closed.   at BotwTrainer.TcpConn.Read(Byte[] buffer, UInt32 nobytes, UInt32& bytesRead)
at BotwTrainer.Gecko.ReadBytes(UInt32 address, UInt32 length)
Value cannot be null.
Parameter name: array   at System.Array.Reverse(Array array)
at BotwTrainer.Gecko.GetFloat(UInt32 address)

I think the trainer is dead he isnt working on it anymore since may i believe

We're working on it.

@shoolzout1 your working on the trainer? I am stuck in master mode and I want to use the trainer to help me

Updated for 1.3


build-gnu.sh: adapt basenc message to clap changes

The "unexpected argument" message from clap has changed slightly. This PR updates the message for the basenc test, which should allow basenc.pl to pass.

Congrats! The gnu test tests/basenc/basenc is no longer failing!

wahou, nice :)


Create misaka_Non-Fungible-Tokens_2023-12-23.cdc

duplicated code
https://github.com/FlowFans/zealy-campaigns/blob/main/2023/q4-code-snippets/submissions/kmshmzah_Non-Fungible-Tokens_20231212.cdc


Portuguese trained data fails to recognize @

Hi,
I'm using tesseract to perform OCR in a document that contains an email address. Using the eng trained data, it recognizes the email address correctly (but naturally fails in all accented characters). When I switched to the por trained data, it picks up all portuguese characters correctly, but fails to recognize the @ in email addresses.
Is there any additional configuration needed for this special characters?
Thank you!

#54 describes a similar problem for Turkish. It's likely that the training data for the two languages didn't include any examples of email addresses.

That's correct. See por.unicharset and tur.unicharset which do not contain the @ character.  So that character was not part of the training data and will therefore never be recognized by those models.
I suggest to use -l Latin in similar cases.


unsupported locale setting

Hi  @acruzgarcia @mirelmora , congrats on this project! It looks super interesting.
I'm very excited to using it, but unfortunately it gives me an error.
I'm launching this piece of code from your examples (I changed the dates to try faster):
import datetime as dt
from OMIEData.DataImport.omie_marginalprice_importer import OMIEMarginalPriceFileImporter

dateIni = dt.datetime(2022, 3, 11)
dateEnd = dt.datetime(2022, 3, 11)

# This can take time, it is downloading the files from the website..
df = OMIEMarginalPriceFileImporter(date_ini=dateIni, date_end=dateEnd).read_to_dataframe(verbose=True)
df.sort_values(by='DATE', axis=0, inplace=True)
print(df)

But I'm afraid I get an error "unsupported locale setting".
This is the output:
Requesting https://www.omie.es/sites/default/files/dados/AGNO_2022/MES_03/TXT/INT_PBC_EV_H_1_11_03_2022_11_03_2022.TXT ...
There was error processing file: https://www.omie.es/sites/default/files/dados/AGNO_2022/MES_03/TXT/INT_PBC_EV_H_1_11_03_2022_11_03_2022.TXT
unsupported locale settinghttps://[www.omie.es/sites/default/files/dados/AGNO_2022/MES_03/TXT/INT_PBC_EV_H_1_11_03_2022_11_03_2022.TXT](http://www.omie.es/sites/default/files/dados/AGNO_2022/MES_03/TXT/INT_PBC_EV_H_1_11_03_2022_11_03_2022.TXT)
Empty DataFrame
Columns: [DATE, CONCEPT, H1, H2, H3, H4, H5, H6, H7, H8, H9, H10, H11, H12, H13, H14, H15, H16, H17, H18, H19, H20, H21, H22, H23, H24]
Index: []

I'd really appreciate if you could tell my what I'm doing wrong.
Thanks!

By the way, I'm using Google Colab Pro
Thanks!

Hi @edejuan , thanks for your comment.
The code sets locale to en_DK.UTF-8 to read the files from OMIE:
locale.setlocale(locale.LC_NUMERIC, "en_DK.UTF-8")
so you have to have it installed. i guess they come installed by default in windows systems, but you may need to figure out how to install them in other systems. For instance, in ubuntu is:
sudo apt-get update
sudo apt-get install locales
I hope this helps. Let me know how it goes.

Hi @edejuan, I hope it finally worked.
I will close this issue so it does not stay indefinitely opened.

Hello Alberto I reopen this issue because I m using pycharm in windows and I can't figure it out how to fix this issue with the format. I looked on forums but didn t found. Any idea on your side pls?

Hi tn2094, sorry i took so long for me to answer. It looks like the issue is still closed so i didnt see your comment until now...
Did you try to install locales?
Could you tell me what OS are you using to run the package? I would like to try to reproduce the issue so please provide as much information as possible.

Hola Alberto !
I just tried again but keep on having this error. Maybe do you have a moment to discuss so i can share you my screen and we see? If yes can i send you an invitation via<EMAIL_ADDRESS>Thanks for the help

Hello, I am also having the same error, using a docker container python:3.10.1-slim-buster. Any further developments on this issue?


Hydroponics doors

About the PR

Added a hydroponics door
Why / Balance

Green door
Technical details

Media

Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

add: New hydroponics doors

finally


Mention that aliases are recursive

Instead of duplicating portions of commands that are used identically across many aliases, the user can instead reuse any previously defined aliases.

What does this PR try to resolve?
Today I started working with xtask, which is a build system based on a simple cargo alias:
[alias]
xtask = "run --package xtask --"

Since the word "xtask" is rather difficult to type in my opinion (at least my left hand struggles quite a bit) I wanted to add another alias, x as a shorthand (similar to what build, run, etc. have by default). Thereby I discovered that I needn't replicate the whole alias, because aliases are recursive. I consulted the docs and couldn't find a mention of this, hence I'm adding it as part of this PR so other users can discover it.
How should we test and review this PR?
I don't think this requires a separate test, it's a minor change to the documentation only.
Additional information

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) soon.
Please see the contribution instructions for more information.

@epage I changed the example a bit:
[alias]
rr = "run --release"
recursive_example = "rr --example recursions"

And modified the config.toml further up on that page from this:
rr = "run --release"
space_example = ["run", "--release", "--", "\"command list\""]

to that:
rr = "run --release"
recursive_example = "rr --example recursions"
space_example = ["run", "--release", "--", "\"command list\""]

I preferred adding it as new example so we don't lose the one with the array notation. I also decided not to do the recursion in the array example so people don't get confused when skimming it. Is that alright?

@bors r+

:pushpin: Commit e8cd6f4bcfad96b1a81259f4d55584b6fa989610 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit e8cd6f4bcfad96b1a81259f4d55584b6fa989610 with merge 5ac9be2eeac607c66a4f7f962ad5934d2bfa54de...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing 5ac9be2eeac607c66a4f7f962ad5934d2bfa54de to master...


Is there a way to re-create decrypted asset bundles (clean asset bundles, without encryption)?

I just want pure assetBundle ,Is there a way to re-create decrypted asset bundles (clean asset bundles, without encryption)?

I have another question, is there a way to re-create decrypted asset bundles (clean asset bundles, without encryption)?

Or convert encrypted asset bundles into unencrypted ones?


iOS: DOM Exception 25 while invoking getMap() with 2 arguments

Hi everyone!
So I got my map working pretty sweet when using only 1 param with DOM element. However, when I attempt to pass a second param, an object (taken from ur sample), then an error is thrown.
Using IONIC + ES6 here
ionic.Platform.ready(() => {
       const GORYOKAKU_JAPAN = new plugin.google.maps.LatLng(41.796875,140.757007);

       let div = document.getElementById("map_canvas");
       vm.map = plugin.google.maps.Map.getMap(div, {
          'mapType': plugin.google.maps.MapTypeId.ROADMAP,
          'controls': {
            'compass': true,
            'myLocationButton': true,
            'indoorPicker': true,
            'zoom': true
          },
          'gestures': {
            'scroll': true,
            'tilt': true,
            'rotate': true,
            'zoom': true
          },
          'camera': {
            'latLng': GORYOKAKU_JAPAN,
            'tilt': 30,
            'zoom': 15,
            'bearing': 50
          }
        });

       vm.map.setClickable(vm.isMapClickAble);
    });

Error snippet:
Error: DataCloneError: DOM Exception 25
postMessage@[native code]
iOSExec@http://localhost:12344/cordova.js:979:58
getMap@http://localhost:12344/plugins/plugin.google.maps/www/googlemaps-cdv-plugin.js:359:17
(...)

Also, since am already opening a thread am gonna mention one more bug.
When I load map using only 1 param (DOM element), then it adds itself correctly, yet few bugs appear in the console:
Error: undefined is not an object (evaluating 'O.searchInput.value')
and
undefined is not an object (evaluating 'callback.apply') - this seems to be cause by addEventListener
Test device: iPhone 5c

Could you make a complete example project, and share it with your open repository?
I'm not familier with ionic.
And if you use this plugin with cordova-ios latest version, you have to use the master branch

Hey @wf9a5m75
I have integrated your plugin into my project, it would be quite troublesome to separate this chunk of code.
However, when I read through your docs, I've noticed something, namely when you create a const with location coordinates, using new plugin.google.maps.LatLng it actually constructs a whole object with various properties.
This doesn't get recognized as a param for both markers and initial position of the camera. If you simply pass an object with only lat/lng.
small sample from me:
let map = plugin.google.maps.Map.getMap(mapDOMHandler, { 'camera': { 'latLng': { lat: 35.13, lng: 137.33 }}});

*mapDOMHandler is just a function callback that fetches my DOM element.

getMap@http://localhost:12344/plugins/plugin.google.maps/www/googlemaps-cdv-plugin.js:359:17

Error occurred at line 358 (JS always report with next line).
https://github.com/mapsplugin/cordova-plugin-googlemaps/blob/master/www/googlemaps-cdv-plugin.js#L358
It says the getDivRect() expects a DOM element, not function.


SSL_connect: error:14007086:SSL routines:CONNECT_CR_CERT:certificate verify failed (OpenSSL::SSL::Error)

when I run ./feron-0.3.0-linux-amd64 -z "2cxxxxxxx4398xxxxxxxx07ef" -e<EMAIL_ADDRESS>-k "0753aab544d6xxxxxxxxxxxx" in shell ,I get this error Unhandled exception: SSL_connect: error:14007086:SSL routines:CONNECT_CR_CERT:certificate verify failed (OpenSSL::SSL::Error)  , why???

try checking if your system has a problem validating Cloudflare's cert with curl -v https://api.cloudflare.com/client/v4

if curl does not have any issues connecting / validating Cloudflare cert, please reopen in Feron: https://github.com/anapsix/feron/issues


Infinite scroll on lists/grids

Summary
Would be great to be able to scroll through lists with it re-populating when you get to the end. Currently you can only view like 30 items.
Please confirm the following

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.

Ok awesome :D, thanks!

This would be a great improvement!

Available on Release 1.4.0

Hey man, everything else seems to be working great, but infinite scroll doesn't work on the home screen :o. is that possible?

Hey man, everything else seems to be working great, but infinite scroll doesn't work on the home screen :o. is that possible?

No, that's not possible.
If you look for example at the home page of the SFlix website, you will see that it is not possible to load more pages from the home page, same for other providers. So it is impossible for me to implement this.

Hey man, everything else seems to be working great, but infinite scroll doesn't work on the home screen :o. is that possible?

No, that's not possible. If you look for example at the home page of the SFlix website, you will see that it is not possible to load more pages from the home page, same for other providers. So it is impossible for me to implement this.

Ok thank you for explaining that, makes sense ☺

This feature is bomb! 👍


[Feature] Add min_nprobe to get_optimal_hyperparameters function

Some IVF KNN indices built by autofaiss have bad recall scores due to the unreachable speed constraints given in the requirements.
A way to guarantee decent recall scores is to force a minimal value to nprobe for IVF-like indices (it was already the case for IVF_HNSW indices with a min_ef_search parameter).
This commit makes it possible to set a custom value for min_nprobe

There is a merge conflict here


feat: add pacmod3 depends

Related Issue(required)
#1
Description(required)
add pacmod3 msgs
Review Procedure(required)
see ci result
Related PR(optional)
https://github.com/autowarefoundation/autoware.universe/pull/103
Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[x] Read commit-guidelines
[x] Assign PR to reviewer

If you are adding new package following items are required:

[ ] Documentation with description of the package is available
[ ] A sample launch file and parameter file are available if the package contains executable nodes

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets

CI Checks

Build and test for PR / build-and-test-pr: Required to pass before the merge.
Build and test for PR / clang-tidy-pr: NOT required to pass before the merge. It is up to the reviewer(s). Found false positives? See the [guidelines][clang-tidy-guidelines].
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

I think this is a syntax error.
@KeisukeShima is trying to reusable workflows with composite.
Or one more solution is to use the docker image that has Autoware dependencies.

close this via #104


Prefix function async support

I added this because despite there being providers in akairo, not everyone want's to use that and I would prefer to have this over using a package like deasync to sync an async function

Implemented in 506d275c50a852cfdaa53ea6a4c3a6be9f09f54a


🔴 Ecosystem Project Idea: RetroPGF Dashboard

What is an Ecosystem Project Idea?
An Ecosystem Project Idea is an idea for a project that someone could build within the Optimism ecosystem. As opposed to an Ecosystem Concept or an Ecosystem Idea, an Ecosystem Project is generally more fleshed out and corresponds to a relatively clear product to be built.

Summary
RetroPGF needs your help! It'd be great if information about RetroPGF were much more accessible. This includes things like statistics about previous rounds, articles that have been written, and special-purpose content just for the RetroPGF dashboard. Ideally this would help the ecosystem see the impact that RetroPGF is having. It could also help potential contributors see what sort of rewards they might be able to get if they work on RetroPGF-worthy projects.
Possible Features

Display information about RetroPGF rounds and distributions in an accessible way.
Link users to information about how RetroPGF works, previous rounds, articles, etc.
Link users to opportunities for projects that might receive RetroPGF (like this very project board!).

Sound interesting ... :)

I'm down for this!, just some quick questions

Where I can get the post round data for visualization?
Where I can create the repo for this project?

I have seen a page about RetroPGF which already suited your feature lists. the question is that does the project already been done? or do we need any improvement apart from the page mentioned?

@smartcontracts Please mark this idea as "In progress", Thanks!

Hi @smartcontracts, I'm Shogun on Dune (https://dune.com/shogun) our team at https://twitter.com/Castle__Cap, would be more than happy to cover the RetroPGF Dashboard.
Background
Just a little background on Castle we're a community of researchers, analysts, on-chain sleuths, and have a free weekly newsletters covering the entire crypto ecosystem (https://castle-chronicle.beehiiv.com/).
In our latest research report, we covered the allocation of the Arbitrum DAO Ecosystem as a public report https://castle-chronicle.beehiiv.com/p/daos-arb-airdrop (thread here: https://twitter.com/Castle__Cap/status/1672286797236441088), which comprises of charts including a heatmap and sankey to help showcase the DAO Ecosystem airdrop further, as well as several analysis into usage of DAO projects in their usage of the ARB allocation in to the Arbitrum Ecosystem.
As for some personal background, I built a dashboard to showcase how the ARB was dispersed here: https://dune.com/shogun/arbitrum-dao-ecosystem-airdrop
The Project
We're currently undergoing preliminary research for RetroPGF recipients, created several spreadsheets to note all present Ecosystem projects, respective allocations, and we plan on making several reports in comparing the various ecosystems present on Optimism.
Alongside this we'll be very rigorous in our research in connecting with Optimism Ecosystem Projects, to outline the distributions in the most accurate way possible.
We all excited in helping to elevate the research for Optimism's RetroPGF rounds, to help the Optimism Collective, share awareness into OP Mainnet, and the wider community gain a comprehrensive understanding into the ecosystem!
Kind Regards,
Shogun & Castle.

Very excited to see this, since I run my own internal ideas board using Airtable. I believe ideas boards just on their own to be hugely helpful to DAOs in general.
And then connecting this to Retrospective Payment for Public Goods plays so well into the idea of the Commons, that value can be rewarded downstream at some point.
I'm a committed ideator, process designer, tester and project manager, I hope some of that could be useful to any build team. I'll happily join any working group or Discord needed.

Hello everyone!, my name is Billy and I am one of the Support-NERDs and an Ambassador for the Optimism Collective. You may have seen me on Twitter or Discord. I am currently working with @wit03 on the RetroPGF Dashboard. This platform will display the archive/history of all previous rounds, stats allocation, and project data of RetroPGF.
We are thrilled to announce the upcoming launch of the RetroPFG Hub. This platform will allow users and the community to discover more about RetroPGF of Optimism. You can find the repository for our dashboard/project at here and demo site here (http://retro-pgf-hub.vercel.app)
Please note that our website is still in development, but it will be completed by the end of this month. We will share the proper link (domain) as soon as it is publicly launched.

@smartcontracts can this issue be closed? I think RetroPGF Hub displays a bunch of useful information about RetroPGF

Thank you, @Maxservais! I believe we can mark this issue as done now.

CC @JSeiferth


IntelliJ 2024.2 compatibility

Compatibility problems shown by the infra:

Fixed by the IntelliJ Platform, I suppose.


CO - Warrior Diagnostics - Server Error When Submitting Report

File not uploading
User cannot submit report due to server issue

Good morning,
I am trying to submit a report and am getting the following error:
Error: File not accepted
There was a server error. Your file has not been accepted.
Please let me know how I need to proceed.
Thank you,
Katie
Katie Rhyner, General Supervisor

@sliu1000 Please follow up with the submitter for this issue and see if it still persists.  I am trying to rule out if this is related to the issue that occurred earlier last week for SimpleReport users that we fixed already.

Hey team! Please add your planning poker estimate with ZenHub @oslynn @jbiskie @MauriceReeves-usds @TomNUSDS @sarahnw @brick-green

@Adrian-Brewster Kattie from Warrior is still getting the same message as before.

Megan Doss<EMAIL_ADDRESS>7/7 1:27pm
We are still having issues loading our CSV.  We get an a message saying there is a server error.  Can you please assist us in getting our files uploaded?
@sarahnw @Adrian-Brewster Can you please provide a status update on this ticket. The user is still receiving an error.

@sarahnw Can we close this?


Can't connect to ZNC - no way to send server passwords

So I'm trying to connect pydle to a ZNC server, but there doesn't seem to be a way to send server passwords. Unfortunately TLS cert auth also won't work because ZNC still requires a password to be sent, even if it's just a random string or blank.

Unknown command: [irc.znc.in] 464 ['username/servername:password', 'Password required']

Strange, that should work. Have you tried passing password='' to the client.connect() call?

I did now and it works, thanks! :) I couldn't find this in the documentation.


@types for http-proxy-middleware

Are there any @types declartions for http-proxy-middleware out there?
Thx.

Not aware of types declarations out there. Only seen some generated ones.
I'll put it on the todo list. Thx.

@katagaStyle Is this what your looking for:
https://www.npmjs.com/package/@types/http-proxy-middleware

Looks like this issue is resolved.
Closing issue. Feel free to re-open.


How is the proxy for docker pull configured in the dind container?

How is the proxy for docker pull configured in the dind container?
I have tried setting HTTP_PROXY, HTTPS_PROXY and NO_PROXY (and their lowercase equivalents, but they do not seem to be picked up by the daemon).

From what I can find (for example, https://docs.docker.com/config/daemon/systemd/#httphttps-proxy), the environment variables you've listed should be correct. :confused:
There is likely something to https://docs.docker.com/network/proxy/ too -- perhaps the client needs the variables set appropriately as well?

Thanks for your reply Tianon.
Turns out our proxy was blocking certain host names, causing a timeout when pulling. But it worked when using different host names.
So HTTP_PROXY and HTTPS_PROXY (and their lowercase equivalents) correctly configure a docker pull/push proxy on the docker-in-docker container.


[SPARK-46478][SQL][3.5] Revert SPARK-43049 to use oracle varchar(255) for string

What changes were proposed in this pull request?
Revert SPARK-43049 to use Oracle Varchar (255) for string for performance consideration
Why are the changes needed?
for performance consideration
Does this PR introduce any user-facing change?
yes, storing strings in Oracle table, which is defined by spark DDL with string columns. Users will get an error if string values exceed 255
org.apache.spark.SparkRuntimeException: [EXCEED_LIMIT_LENGTH] Exceeds char/varchar type length limitation: 255. SQLSTATE: 54006
[info]   at org.apache.spark.sql.errors.QueryExecutionErrors$.exceedMaxLimit(QueryExecutionErrors.scala:2512)

How was this patch tested?
revised unit tests
Was this patch authored or co-authored using generative AI tooling?
no

Hi @dongjoon-hyun
Except for the linter error, which seems to be a common issue on branch-3.5, all lights are green.
ERROR:  Error installing bundler:
	The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.4.22. Try installing it with `gem install bundler -v 2.4.22`
	bundler requires Ruby version >= 3.0.0. The current ruby version is <IP_ADDRESS>.

Merged to branch-3.5.

To @yaooqinn , FYI, branch-3.5 linter error is recovered by backporting SPARK-46425 today.

Except for the linter error, which seems to be a common issue on branch-3.5, all lights are green.

https://github.com/apache/spark/actions/runs/7388180677/job/20098502832

Thank you for the info @dongjoon-hyun


Addition of 'RefangURL' that does the opposite of defanging a URL

This module takes a Defanged URL and 'Refangs' it. Taking a URL that is no longer clickable through charachter escapes, and removes the escapes, allowing a user to once again click a link.

 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.

I have been waiting for my PR to get merged on this for 4 years lol #654

Took the regular expression from this PR, combined it with @breakersall and we got a working implementation!  Thanks for the contribution ❤ .


Expose max stack size setting in Config

Hello, thanks for wastime-go. I appreciate everyone's hard work and I'm enjoying building things with it.
This PR adds support for configuring the max wasm stack size. For the godoc comment, I borrowed the language from wasmtime/config.h, which I found to be very helpful in clarifying the behavior of recursive calls. I made the size parameter an int to match with the len(x) builtin. I figure that's the closest thing Go has to size_t.
Please feel free to suggest any changes!

Thanks!


Fix zlib missing handling of buffer error

Fixes #6575
The first commit fixes #6575: translating the code that reproduces the bug to ruby raises "buffer error", and we were missing handling that error. I additionally added a check for other potential errors too.
The next commits refactor and improve zilb, fixing a few bugs too, where a function would return Int and it was expected to return an Error (an enum). This was easily detected by using the question methods of enums instead of comparing them with enum values.
Finally, peeking some Ruby code that deals with zlib, I found out about the zError function to get a nice error message in case zlib's stream doesn't provide one.
It might be nice to include this fix in 0.26.1 /cc @bcardiff

Probably fixes #4650 too...

@asterite do you want do a rebase and squash that last commit or you prefer me to squash all together?

I ment that the last commit (typo) could be squashed into one of the previous ones.
It's fine, I will merge directly this.

I like this fix, it at allows fibers to at least not hang now, sweet!  I had some question marks about if it should retry on Z_BUF_ERROR if there's more input to be had but it can be addressed later, if it's even a problem, thanks! ref: http://zlib.net/zlib_how.html


findWorkouts doesn't return bundleIdentifier or workoutActivity

When I query findWorkouts I'm just getting back duration, startDate and endDate.
It appears bundleIdentifier and workoutActivity are not being returned.
Here's the code:
NSMutableDictionary *entry = [[NSMutableDictionary alloc] initWithObjectsAndKeys:
[NSNumber numberWithDouble:workout.duration], @"duration",
[df stringFromDate:workout.startDate], HKPluginKeyStartDate,
[df stringFromDate:workout.endDate], HKPluginKeyEndDate,
workout.source.bundleIdentifier, HKPluginKeySourceBundleId,
workoutActivity, @"activityType",
nil
];

Also it would seem that the UUID, SourceName and IsUserEntered properties should be available too, as well as metadata.
Would be great to return these.

Do you have a documentation reference for the isUserEntered property? I can't seem to find it.
I now have added the UUID and sourceName properties. Please reopen if you can find isUserEntered.

isUserEntered isn't a property, but read this post, it notes how to see if the data came from the Watch or in the App itself.
http://stackoverflow.com/questions/31542921/objective-c-healthkit-identify-if-source-is-from-apple-iphone-or-apple-watch


Project Page added

Fixes #8
I have made the HTML form of the design (which is on the XD file).
Next:- I will add the navbar.
Screenshot:

@Adyasha8105
Certain changes:

Increase the size of the picture in the card so that we can have gifs in it (like an AI agent playing a game).
Some Transition to show more details
For the GitHub repo just use Feather icons
For the background try to experiment with another shade of white. This one looks a bit dull

@Adyasha8105
Certain changes:

Increase the size of the picture in the card so that we can have gifs in it (like an AI agent playing a game).
Some Transition to show more details
For the GitHub repo just use Feather icons
For the background try to experiment with another shade of white. This one looks a bit dull

Okay sir👍🏻


[Bug]: When stats sending fails it sends a warning

What happened?
What actually happened, including error codes if applies.
Steps to Reproduce:

Run lakectl in an environment that cannot send statistics.

Receive a scary warning message, e.g.
$ lakectl repo list
Warning: failed sending statistics: http: read on closed response body

This confuses me and other users.   The warning is confusing and has nothing to do with the success or failure of the actual command.

Expected behavior
Don't receive an error or a warning message when stats fails
lakeFS version
1.38.0
How lakeFS is installed
n/a
Affected clients
No response
Relevant log output
lakectl:

Warning: failed sending statistics: http: read on closed response body

### Contact details

_No response_

Proposed resolution (discussed with several people around here):  lakectl should complain about stats at level DEBUG, as should lakeFSFS and any other client.  And go over lakeFS again to ensure that it doesn't complain about failing to send stats.


Menu Button on HASSIO Beta

Describe the issue:

Config YAML:

HA and/or Browser Error:

Versions and Browser:

Issue text disappeared.


Actions not parsed correctly

To reproduce run main.py from main branch:
Logs:
"Supported actions for node Eve having permissions * "
However from data/aws_example_wildcards we have that
users.json
"UserName": "Eve",
"UserArn": "arn:aws:iam::123456789012:user/Eve",
"CreateDate": "2023-01-01T12:00:00Z",
"AttachedPolicies": [
{
"PolicyName": "BasicUserAccess",
"PolicyArn": "arn:aws:iam::123456789012:policy/BasicUserAccess"
}
]
identities_policies.json
"PolicyName": "BasicUserAccess",
"PolicyArn": "arn:aws:iam::123456789012:policy/BasicUserAccess",
"PolicyDocument": {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:List*",
"s3:Put*"
],
"Resource": "*"
}
]
}
  so Eve should have

   "s3:GetObject",
          "s3:List*",
          "s3:Put*"

          as permissions (i.e. "SpecifiedActions")

Fixed my allowing multiple edges between a given pair of nodes using nx.MultiDiGraph (https://github.com/pierg/cloud-guardian/commit/d558cc4d8abb0de1aebde35340e61b380f3b0ff7)


Drag to select

I've got a draggable with drag-not-allowed set to true when the draggable is in edit mode. The issue I'm running into is the dndrop-no-user-select class is applied to the doc body when I try to drag select text.  I can select all the text by double clicking so it looks like its just the dragging that is the issue.  I've tried non-drag-area-selector on the container but it doesn't seem to do what I would expect it to do.

Nevermind. I figured it out.  Closing


Maps do not work

Create a file with the following:
$my_map: (
    a: 1,
    b: 2
);
```

The error reported is:
```
While building the application:
test.scss: Scss compiler error: undefined
/path/to/test.scss:2: error: error reading values after a
```

@fourseven are source maps working yet?

hi @keyvanfatehi - no they're not, libsass still has issues generating them, which look to be improved in v3.2. node-sass is using v3.1 of libsass in their 2.0.0 beta, so it might be a while yet unfortunately.

too bad. i wanted to ask this as well.
although it seems to be fixed in libsass 3.1.0-beta
http://sassmeister.com/gist/511dee5bbd1a40054d92
btw, a bit OOT, but i tried switching to grigio:ruby-sass. but i'm getting this error even though i already removed your package.
While building the application:
error: conflict: two packages included in the app, grigio:ruby-sass and
fourseven:scss, are both trying to handle .scss
error: conflict: two packages included in the app, grigio:ruby-sass and
fourseven:scss, are both trying to handle .sass


Support tulip indicators (windows TA library)

Gekko supports TA-lib, a well known technical analysis library that supports a lot of different indicators. However it is very hard to compile this library on Windows (which Gekko supports).
Tulip indicators is a relative new library that supports roughly the same indicators. The node wrapper just added precompiled windows binaries which makes installing on windows a breeze.
Please +1 this if you want this implemented, will work on this regardless but might prioritise if a huge number of people want this.

Impressive looking at the benchmarks and well documented too... +1!

So I agree with doing this but....from my testing on windows, just run gekko in bash on windows 10 then talib is fine.
If you use SQLite then go to the file gekko/plugins/sqlite and change the line 53 from:

+1

+1

I would love to have this implemented! In the mean time, I have installed gekko in bash on Windows 10.  Thank you @thegamecat for the instuctions to get that working... I was pulling my hair out trying to figure it out, but once I made the necessary change to handle.js, everything started working flawlessly (I think... at the very least, it stopped throwing errors)

+1

I need awesome oscillator but Ta-Lib doesn't have one.
Tulip is in need...

All thanks to @cmroche this is now available in the develop version of Gekko! (download here: https://github.com/askmike/gekko/tree/develop - using that link you can also browse the docs folder to find updated documentation on how to implement this in your strategies).
It will be available in the next release of gekko! As such I am closing this issue already :)

+1

@dyeghikoo tulip has been available for a while now, see here: https://gekko.wizb.it/docs/strategies/tulip_indicators.html

If it is implemented now, can please the installation guides be updated?

Hi,
I don't really understand what is going on in the actual stage. Since that on https://gekko.wizb.it/docs/installation/installing_gekko_on_windows.html we are told to install Tulip Indicators.
Is there any difference (as of today) between the Tulip and TA-lib librairies, regarding the overall compatibilities of existing open source strategies ?
In other words, are existing strategies (with common indicators) compatible regardless of the library you use ?
My question can sound dumb but I just got into the Gekko environment

+1


Customizable WebcamUpdater; issue #307

Here is the first pull request regarding the issue #307
I imported the format.xml to the eclipse, so i hope the formatting is ok.

Changes Unknown when pulling d4645fef054d5cd1604a4a9e431c1d5d444fc22f on krok32:master into ** on sarxos:master**.

Hi @krok32,
Thank you for this pull request :) The formatting is correct and I see no issues within the code. I had only one low priority comment in regards to DelayCalculator visibility.
I'm merging it into the master.

Thanks!
I'll change it.


Fix lints

Fixes some clippy lints.

The cargo fmt version changed due to staleness so I had to make a new commit. :( PTAL again.

Ping


support for not having B button

switch access boxes typically support 5 inputs, arrows + enter. Can we by keyboard navigatable without B?

One possible solution: interpret Up on top-most element as back

yes, that makes sense and is easy to do

https://github.com/microsoft/microcode/commit/210f99fccb953a168de9e9885503d4ee75850a63


Instantly render if the diff is small. Add forceRender option to override delay

This is two features. Separating out forceRender to a separate issue (#25)

This is how I implemented this in my own app:
     var oldLowerBound = this._lowerBound;
     var oldUpperBound = this._upperBound;
     this._lowerBound = lowerBound;
     this._upperBound = upperBound;

     var smallRender = this.isSmallRender({
       oldLowerBound, oldUpperBound,
       lowerBound, upperBound
     });


remove stray comma from cfg-attr allow()

#![cfg_attr(feature = "cargo-clippy", allow(clippy::inline_always,)]
could be formatted to #![cfg_attr(feature = "cargo-clippy", allow(clippy::inline_always)].
Note that this already works for just #![allow(nline_always,)]
rustfmt 1.0.0-nightly (43206f4 2018-11-30)

Confirming I can reproduce with rustfmt 1.5.1-nightly (b22884f7 2022-07-19)
input
#![cfg_attr(feature = "cargo-clippy", allow(clippy::inline_always,))]
#![allow(nline_always,)]

output
#![cfg_attr(feature = "cargo-clippy", allow(clippy::inline_always,))]
#![allow(nline_always)]

I understand that this isn't the intended result from this issue, but we don't want to remove trailing commas if they are present in the source text. The current behavior in the #![allow(nline_always,)] case is a bug. I just checked and #5394 resolves removing the trailing comma in the #![allow(nline_always,)]


[Newbie Question] How does peer punchhole happen?

I was looking into IPFS and Hypercore/Hyperswarm. Haven't used either. My use-case is to be able to connect peers directly, without a master server. I was surprised Hyperswarm has this
My use-case question:
Assume I have one Hyperswarm, and there are 3 peers in total, all online, all connected.
If I turn offline 1 peer, then reboot that peer, can it connect to the other 2 peers without connecting to a "master server" (pre-known static server)?

If you know the other servers then you can use them as bootstrap servers to discover them directly.

Hyperswarm is heavily focused on holepunching, ie connecting peers directly, so yes that servers. It does this through the DHT for discovery and distributed holepunching (so never relying on one single node etc).

How the holepunching works, by itself, is pretty complex. I recently did a talk describing some of the techniques, and will share once that's online.

But IIRC, at least one of those three peers has to have a public IP address.  Hole-punching is a pretty well know technique (perhaps with a few implementation twists) - there's even a Wikipedia page for it.
IPFS has a similar hole-punching process encompassed in one of the libp2p libraries.  There's a reasonably digestible article on the IPFS blog describing how this - https://blog.ipfs.io/2022-01-20-libp2p-hole-punching/.

in practice it's pretty complex due to different nats. a lot more to it these days (unfortunately) than in the past. you need a third party yes, but you also want to be able to survive that third party lying about nat data, in a peer to peer system, so in pracitce you want tons of peers to help you, each only providing partial information.

I apologize for not having noticed these posts earlier, I am surprised at the many answers, expected just a "yes" after so much time had passed

But IIRC, at least one of those three peers has to have a public IP address.

So, the servers must have a static IP? To translate this question in my use-case above (the 3 peers example):
For the re-activating peer who has cached the IP (or whatever identification token) of the other 2 peers it had last connected, the cached IP must be a static IP?

When you holepunch you just need a peer between you and the one you want to connect to that can relay info between you. This node does NOT need a static ip, you just need to be able to talk to them. It could for example be a node both of you holepunched to in the past. Now to bootstrap this process, it’s obvs easier if the first node you use to help you holepunch, does indeed have a static ip. Like I said above, in practice it’s more complex as you want to use many nodes instead of just one as well for security reasons (trust as few nodes as possible)

Perfect. I thank you for the clear answer.
I didn't expect hyperswarm to really be this powerful, it sounds like magic - that it's able to accomplish this, I can't imagine the complexity of the code in order to have achieved this, all exposed neatly for me on an API to learn/use :+1:


Import JSON Streaming

There are two versions of this:

Line delimited JSON
Concatenated JSON

See http://en.wikipedia.org/wiki/JSON_Streaming
If our underlying parsers don't handle this directly, we could probably transform the sequence of JSON objects into an array.  ie
[{a},{b}] instead of {a}{b} or
{a}
{b}

Closing as a duplicate of #1135.


Difference in screenshots: Github Actions run vs. Local run

Hello! 👋
I came across the difference in screenshots which I cannot explain. Maybe someone could land a hand or could help debug the issue?
I have created a fake change to trigger the build (change in the README file, does not impact the functionality, at all.)
When percy exec runs on Github Actions, it shows that the newly taken screenshots are different from the baseline. Build Link.
When I run percy exec locally, there is no difference. Build Link.
I have compared the environment, head & base commit and browser version - they are all the same.
In both cases, the same command is used yarn percy exec yarn test:visual; yarn test:visual is a shortcut for ember test --filter='visual acceptance'.
The only thing that is different is the $PERCY_BRANCH variable which I do not set in Github Actions. If I read the documentation correctly, I do not need to set it, it defaults to the current git branch.

I believe the variable is set at https://github.com/percy/exec-action/blob/be2fc13289392ce70a89314173ae2a5632271189/src/index.js#L10 ?

Hey @twokul! This doesn't appear to have anything to do with the env vars or the action. FWIW, if you're using @percy/cli the GH action isn't needed anymore. You can see an example of how to move away from the action here
Looking at the two builds, it looks like the inline attrs on the SVGs for the graph is changing.

vs

Notice the width attr changes from width="89.31522369384766" to width="79.57142639160156"
This could be "normal" (not known until now) flexing of the graphs between test runs or it could be a test browser width/viewport difference between your local & CI. It appears the graphs are responsive so they'll change according to the browsers width, so that would have to be exactly the same across test runs

@Robdel12 thanks for the response! A few follow up questions.

Looking at the two builds, it looks like the inline attrs on the SVGs for the graph is changing.

I wish I could do this sort of debugging locally 😄

This could be "normal" (not known until now) flexing of the graphs between test runs

How does one go about stabilising the screenshots in this case?

it could be a test browser width/viewport difference between your local & CI.

This is a bit confusing to me. Given that the same commands are used to run Percy tests & all the settings are the same, why would there be a difference in width/viewport? 🤔 My understanding was that they should be the same.
Thanks again!

I wish I could do this sort of debugging locally

I'm hoping we introduce debugging tools this year -- it's been coming up a bunch in planning (I've been pushing hard for it). You could use the download HTML option, but admittedly it's not very useful (it's just HTML, no assets)

why would there be a difference in width/viewport?

I'm not sure, Percy doesn't have any insight into that. That's the Ember test runner / application / test setup -- we're just capturing the exact state of the DOM when percySnapshot is called. Sometimes it's something like scrollbars present locally vs not in CI (or vice versa). That could cause a 10px diff.

@Robdel12 I re-ran GH action using a different OS (macOS this time.) and all the differences in SVG text width & positioning are gone. The only difference that I see is font rendering which I guess makes sense? Build Link.
Is there a difference between how SVG is rendered by Chrome on Linux vs. Mac?

@Robdel12 and team is there a follow-up possible on the mac vs. Linux environments?


[Feature Request] Quick Save

Hello!
First of all, thank you for your excellent product!
Creating GIF motion pictures may be more for sharing on the network, but the current Save As process is a bit tedious. Therefore, I would like to add a "Quick Save" button that can do the following

Save the file to a specified directory with one click, and that directory can be customized

Copy the image to the clipboard while saving it for easy sending

Ability to customize the configuration of the save

Thanks!

I agree, and in addition it would also be nice for Quick save to include template/formatting of filenames (#282, #837) to expedite saving (and assure filenames don't overlap)


Memory model with only one bank group for DDR3 and earlier

SystemVerilog does not allow a vector of bit width 0 (i.e. not existing) so for memories with no bank groups it should be implemented still with bg bit width 1 but an additional parameter single_bankgroup should be set and used to generate the logic accordingly
#26

Fixed with #26


Multiple Initial Guess Modes for InverseKinematics

Current Behavior:
The default behavior of the InverseKinematics class aims to compute initial guesses for joint angles using marker data. The approach relies on a function defined by the model_creator from the c3d module.
This function is invoked internally using the method model.Q_from_markers, which approximates joint angles Q based on the marker positions. An optimization process further refines these initial guesses to ensure that they adhere to specified constraints.
self.model.Q_from_markers(self.experimental_markers[:, :, :])

For users, the interface is kept simple and does not require any manual initialization for the initial guesses:
ik_solver = InverseKinematics(
        model, markers, solve_frame_per_frame=True,
        active_direct_frame_constraints=False, use_sx=True, Q_init=None
    )
Qopt_ipopt = ik_solver.solve(method="ipopt")

Proposed Enhancement:
To provide more flexibility, we can introduce multiple modes for initial guesses. I propose the following initial guess modes:

Experimental:
Usage: InverseKinematics(..., initial_guess_mode=InitialGuessMode.FROM_CURRENT_MARKERS)
Description: This is the default behavior. It uses the experimental marker data to form initial guesses. No Q_init input is needed.
Experimental First Frame:
Usage: InverseKinematics(..., initial_guess_mode=InitialGuessMode.FROM_FIRST_FRAME_MARKERS)
Description: This mode takes the experimental data from the first frame as the initial guess. This guess is then used as a starting point or "warm start" for subsequent frame optimizations. This approach is iterative, refining the guess with each frame until the entire sequence is processed. No Q_init is required here either.
Custom:
Usage: InverseKinematics(..., initial_guess_mode=InitialGuessMode.USER_PROVIDED)
Description: In this mode, users can provide their custom initial guesses for joint angles with the Q_init argument.

Here is the Enum to implement:
class InitialGuessMode(Enum):
    FROM_CURRENT_MARKERS = "From Current Markers"
    FROM_FIRST_FRAME_MARKERS = "From First Frame Markers"
    USER_PROVIDED = "User Provided"

Referring to the email discussion we had this summer @anmuller :)

To be sure I understand correctly: in Experimental First Frame mode, the experimental first frame is used as initial guess for all frames, or just for the first one? If it's just for the first one, how would the initial guesses for all the other frames be computed?

The first initial guess is experimental, the next initial guess is the result of the first optimization. The third initial guess is the result of the second optimization etc...

To precise my thoughts, here how the interface should look like after the PR:
ik_solver = InverseKinematics(
        model,
        markers,
        solve_frame_per_frame=True,
        active_direct_frame_constraints=True,
        use_sx=True,
        #Q_init=None # this should be displaced in `solve` method !!
    )

First case, Q_init is not needed, not possible yet with heatmaps:
Qopt_ipopt = ik_solver.solve(
        method="ipopt",
        initial_guess_mode=InitialGuessMode.FROM_CURRENT_MARKERS,
)

Second case, Q_init is provided for every frames:
Qopt_ipopt = ik_solver.solve(
        method="ipopt",
        initial_guess_mode=InitialGuessMode.USER_PROVIDED,
        Q_init=Q_init, #  [nb_q x nb_segment x nb_frames]
)

Third case, Q_init is provided for the first frame only:
Qopt_ipopt = ik_solver.solve(
        method="ipopt",
        initial_guess_mode=InitialGuessMode.USER_PROVIDED_FIRST_FRAME_ONLY,
        Q_init=Q_init,   # it means that nb_frame = 1 in this case its a [nb_q x nb_segment]
)

Fourth case, Q_init is estimated from markers from the first frame only, not possible yet with heatmaps:
Qopt_ipopt = ik_solver.solve(
        method="ipopt",
        initial_guess_mode=InitialGuessMode.FROM_FIRST_FRAME_MARKERS,
)

Just to be sure I get it correctly, should InitialGuessMode be a class? Or what kind of object should it be? From what I gather it does not look like a if...elif loop is the kind of structure you're expecting when coding the initial guess mode type

Yes, it's a class, to be more precise it's an Enum class, see up there my previous post.
Yes, we have no choice here we will end with a "if else somewhere", but we need to be sure it will append only appear. If you start writing "if else" everywhere because of these changes, then, it might not be the right spot.

Hey, we were thinking with @ANaaim of something like this :

import numpy as np
from enum import Enum

class InitialGuessModeBase(ABC):

    def __init__(self,var1:str,var2,var3):
        self.var1 = var1
        self.toto = var2*var3

    @abstractmethod
    def method1(self, alpha:int,beta:int,gamma:int):

    @abstractmethod
    def method2(self, titi, toto, tutu):

class InitialGuessMode:

    class FromCurrentMarkers(InitialGuessModeBase):

    class UserProvided(InitialGuessModeBase):

    class UserProvidedFirstFrameOnly(InitialGuessModeBase):

    class FromFirstFrameMarkers(InitialGuessModeBase):

class InitialGuessModeType(Enum):
    FROM_CURRENT_MARKERS = InitialGuessMode.FromCurrentMarkers,
    USER_PROVIDED = InitialGuessMode.UserProvided,
    USER_PROVIDED_FIRST_FRAME_ONLY = InitialGuessMode.UserProvidedFirstFrameOnly,
    FROM_FIRST_FRAME_MARKERS = InitialGuessMode.FromFirstFrameMarkers

And in enums.py adding something like :
class InitialGuessModeType(Enum):

    TOTO = 1
    TITI = 2
    TUTU = 3

What do you think of this architecture?

I don't understand why so much complexity is required here. My advice would be implement something that works, and we will see what's going through the PR review. Maybe I pushed you in the wrong direction by giving you too much implementation details, while I seemed very clear to me the simplicity.
Sometimes, just don't be afraid of doing something that works first and iterate yourself the second day. This should be very easy to make it work at first.


Declare transitive no_std deps

Hi - i was trying to use this from no-std code and it seems like dependency features need to be explicitly spelled out to avoid pulling in transitive std deps in no-std build. Please have a look

Thanks for quick merge !


viewer: an on/off switch to show/hide visible annotations

This issue has been addressed in PR #496, which is now under review.


How can i open rear camera by default

How can i open rear camera by default instead of front camera?
Or how can i select front or rear camera when required?
Got only flip option is code:
const flip = true; // whether to flip the webcam
webcam = new tmImage.Webcam(200, 200, flip); // width, height, flip
Thanks

you can specify front camera by adding following line
await webcam.setup({facingMode: "user"});


⚠ Bofrost.fr has degraded performance

In dd72662, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1758 ms

Resolved: Bofrost.fr performance has improved in 06b01d3.


Deadline on https://getbootstrap.com/  button to "View on Github"

Deadline  on "View on GitHub"
View on GitHub

<a class="btn btn-sm btn-bd-light my-2 my-md-0"  href="https://github.com/twbs/bootstrap/blob/v4-dev/site/docs/4.5/getting-started/introduction.md" title="View and edit this file on GitHub" target="_blank" rel="noopener">View on GitHub

It's already fixed in thev4-dev branch after the Switch to Hugo PR
Preview: https://v4-dev--twbs-bootstrap.netlify.app/docs/4.5/about/team/


TODO: Functions are empty

Description
Sometimes, functions are left empty. Mostly happens with pure functions.

dropped support for legacy heimdall.
https://jbecker.dev/r/heimdall-rs is the current version.


Set value in UICircularProgressRingView as well.

Hello!
I noticed that the value for UICircularProgressRingView would never get updated. A use case for the value might be in a completion block like this:
// declaration
@IBOutlet var progressBar: UICircularProgressRingView!

// later inside a function
progressBar.setProgress(value: 10, animationDuration: 10) {
  let completedValue = self.progressBar.value
  // completedValue is still 0?
}

Seems like progressBar.value was always the default value (0 in my case). We don't seem to have access to the private ringLayer so I thought of also setting the value in the parent view. Let me know if this sounds OK. I'm fairly new to swift so I could have missed another accessible way to grab the value.
Thanks!

Huh, good catch!
Thanks for this, its in release 1.1.5

Awesome! 👍


REPL initialization does not happen immediately

When the REPL is opened, we don't immediately start the background Python process. As a result, changes to sys.ps1 or importing modules is not reflected in the first input.
Always starting the Python process is a possibility here, and apart from the performance implications would be the best. Alternatively, we could display a message like "Press Enter to start interactive". Potentially the best approach would be to have an option so that users can choose.
(It would be useful to know how often people open an interactive window and then switch to another environment.)

At the very least, resetting the prompts when the evaluator is reset would avoid confusion when switching between evaluators with different prompts.


Add title & example to meta

Hacky

There are a number of issues and discussions in the Zod repo. I suggest looking for and contributing to those before trying to solve it on this level.

@StefanTerdell Thanks.
I saw the feature proposal you have participated in 2548
I don't think it will added soon. Meanwhile I had to implement this hacky solution on my project:
declare module 'zod' {
  interface ZodTypeDef {
    title?: string;
    description?: string;
    example?: unknown;
  }

  interface ZodType {
    title(title: string): this;
    describe(description: string): this;
    example(example: unknown): this;
  }
}

// Extend Zod to add describe, title, and example methods
z.ZodType.prototype.describe = function (description?: string | undefined) {
  this._def.description = description;
  return this;
};

z.ZodType.prototype.title = function (title?: string | undefined) {
  this._def.title = title;
  return this;
};

z.ZodType.prototype.example = function (example?: unknown | undefined) {
  this._def.example = example;
  return this;
};

I've actually been considering doing something similar for v4! I think we'll leave v3 as it is for now though.

I've actually been considering doing something similar for v4! I think we'll leave v3 as it is for now though.

Good Luck ;)


Exposed the latest printing id of each card

This lets you get a link for a card (not printing) without running a separate api call on printings. I don't know if this would be better as a relationship.

i'll leave it to you to merge.


add chamama

@BongoBingbong First stage of verification passed, official domain is chamama.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

Yes that is the correct website of the school
On Tue, Jan 23, 2024, 6:33 AM Philip Torchinsky @.***>
wrote:

@BongoBingbong https://github.com/BongoBingbong First stage of
verification passed, official domain is chamama.org as far as I verified.
This is just an informational note. Pull request is still in the review. I
appreciate your patience while waiting for the final decision.
—
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/19884#issuecomment-1905277164,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4KP42AGYKCS6U2RIJC3V7DYP44S5AVCNFSM6AAAAABCE5TNUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBVGI3TOMJWGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hello @BongoBingbong, Please provide us with the URL of a page on the official website where the school offers an IT-related long-term (>1 year) course. Thank you.

im pretty sure they dont give that is that fine?

Message ID: @.***>

@BongoBingbong Thank you for the clarification. No, if a school does not provide any IT-related courses, it is not eligible for this repository.
If you need the free educational license for your own educational needs, please apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
I have to close the request without merging.
Thank you for your understanding!


Incorrect Height and Weight Data

Reported from the upstream: https://github.com/Fireblend/squirdle/issues/29

The Height and Weight data for Mega Gardevoir, Origin Forme Dialga, and Origin Forme Palkia seem to be wrong.
Mega Gardevoir is listed as 3.3m/325kg and should be 1.6m/48.4kg, just like regular Gardevoir. Those values seem to be copied from Black Kyurem for some reason.
Dialga and Palkia Origin Formes are listed as the same as their base forms. According to the official Website of the game:
Dialga is 7.0m/850.0kg
Palkia is 6.3m/660.0kg

Not sure exactly which one should be fixed?

name,generation,type_1,type_2,height_m,weight_kg,name_ja,name_ko
...
Gardevoir,3,Psychic,Fairy,1.6,48.4,サーナイト,가디안
Mega Gardevoir,6,Psychic,Fairy~~,3.3,325~~,1.6,48.4,メガサーナイト,메가가디안
...
Dialga,4,Steel,Dragon~~,5.4,683.0~~,7.0,850.0,ディアルガ,디아루가
Dialga Origin Forme,8,Steel,Dragon~~,5.4,683.0~~,7.0,850.0,ディアルガ オリジンフォルム,디아루가 오리진폼
Palkia,4,Water,Dragon~~,4.2,336.0~~,6.3,660.0,パルキア,펄기아
Palkia Origin Forme,8,Water,Dragon~~,4.2,336.0~~,6.3,660.0,パルキア オリジンフォルム,펄기아 오리진폼
...

This should now be fixed as well (at 53476ac).

I am not sure if there is a Pokemon API I can use for this, not only for weight and height, but also names, so that I can keep up with the official stats. (So that I don't have to maintain pokedex.csv)
https://pokeapi.co is a good one, but at least, it doesn't have Japanese Pokemon names.

Dialga and Palkia Origin Formes are listed as the same as their base forms. According to the official Website of the game:
Dialga is 7.0m/850.0kg
Palkia is 6.3m/660.0kg

Actually, the URL of en-gb link is misleading. パルキア vs パルキアオリジンフォルム. I have overfixed. Will revert.


Make list_files deterministic (Closes #1141)

rustfmt is recommended to be used in a CI server, but it is non-deterministic.
Closes #1141.

@nrc ready for another review

Great, thanks for the changes!


[MsTeams] horizontalAlignment: right inconsistent from designer to Teams

Using .NET:
AdaptiveCards.Templating Version=1.0.0
AdaptiveCards Version=1.2.4
I have an adaptive card in the designer with this schema for the top of the card (did not paste the whole card, just the section impacted by the bug):
{
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.2",
  "type": "AdaptiveCard",
  "body": [
    {
      "type": "ColumnSet",
      "columns": [
        {
          "type": "Column",
          "items": [
            {
              "type": "Image",
              "url": "https://cdn.macrumors.com/article/2011/05/06/233939-nuance_logo.jpg",
              "size": "small"
            }
          ],
          "width": "auto"
        },
        {
          "type": "Column",
          "items": [
            {
              "type": "TextBlock",
              "weight": "bolder",
              "size": "large",
              "text": "Nuance DAX",
              "wrap": true
            }
          ],
          "width": "auto"
        },
        {
          "type": "Column",
          "width": "stretch",
          "items": [
            {
              "type": "ActionSet",
              "horizontalAlignment": "right",
              "actions": [
                {
                  "type": "Action.Submit",
                  "title": "x",
                  "data": {
                    "encounter": "${encounter}",
                    "delete": "true"
                  }
                }
              ]
            }
          ]
        }
      ]
    },

In the designer it appears how I would expect with the delete button aligned to the right:

In Microsoft Teams, however, it is not aligned to the right. It is also a purple color, which it should not be:

This issue has been copied over to Microsoft Teams repo here: https://github.com/MicrosoftDocs/msteams-docs/issues/4130


DevTools hangs with high CPU usage when a breakpoint is hit while debugging my company's React code.

Steps to reproduce:

Run my company's React project for debugging: npm run dev
The service will run, and you can access it at http://localhost:80.

Modify the hosts file to map <IP_ADDRESS> to xxx.yyy.com.
You can then access the above service by opening xxx.yyy.com.

In DevTools, locate the code and add any breakpoint that might be triggered. Then, trigger this breakpoint through an operation.
You will see that the breakpoint is effective.

For the first 1-2 seconds, DevTools is still responsive, but after that, it becomes unresponsive. You can't switch tabs or inspect variables in the call stack. Additionally, you can see that its CPU usage spikes, consuming an entire CPU core. If you resize the DevTools window, the newly exposed part of the window isn't rendered.

If you choose to close DevTools, the program resumes normal operation.

About the Edge version:
This issue did not exist in the initial version 122 of Edge. The problem appeared after I upgraded WebView2 from version 122 to 127.
I consulted with some friends at Microsoft, and they asked if the same issue occurred in Edge. At that time, my Edge version was 122, and I couldn't reproduce the issue. So, I upgraded Edge to version 127, and the problem appeared, just as it did with WebView2 version 127.
About the reproduction rate:
In my code environment, the issue has a high reproduction rate, around 90%.
I tried to reproduce the issue in a simple React project, but I couldn't.
It may require a more complex React project, and it should be running in a React debug service environment.
Unfortunately, I cannot provide my company's code, as it's not allowed to be shared.
Screen from edge devtools:
AB#53420578

Thank you for filing. I will make sure this shows up on our dev team's backlog.

Hi @gzx-miller , I'm Rob Paveza, an Engineering Manager on the DevTools team.
Without knowing a lot about your project, I wanted to ask about one case in which we've often seen this. Is your build system configured to use something like eval-source-map or cheap-eval-source-map as the source map configuration?
Some background: some build systems like Webpack provide this as a mechanism to support Hot Module Replacement. In short, suppose you have a single TypeScript file like this:
export function add(a: number, b: number): number {
  return a + b;
}

A conventional way to bundle and minify this might look like this:
export const add=(a,b)=>a+b;

Setting aside the issue of minification, what ends up happening to support HMR with eval is something like this:
eval(`function add(a, b) { return a + b; }
  return { add };
`);

That is approximately semantically equivalent modulo ES modules behavior, and it allows the module to be swapped at runtime by changing the object representing the module.
But this produces a terrible debugging experience. So the folks who did that added source maps to it:
eval(`function add(a, b) { return a + b; }
  return { add };
// #sourceMappingURL=data:text/json;base64,ej...
`);
// #sourceMappingURL=data:text/json;base64,ej...

So now you see that the source map is base-64 encoded JSON text encoded inline twice: once within the module itself, and another time within the eval. (I have quite literally seen this.) The source maps are actually germane, as well, because they represent two different scripts: the script containing the eval, in which the interior script is just a string; and the eval'd script itself. But the net result is that for each bundle (and each time the modules are hot-reloaded), you have 4 copies of the source code being handled within the script engine.
I'm not saying that this is causing your issue -- however, I have seen from an internal team that this can cause quite a bit of CPU thrashing and performance degradation. (I also saw OOM crashes from this). It is a severe problem with the HMR mechanism for large projects, so if possible, I'd like to eliminate this as a cause.

Hi, @robpaveza ,
Thank you for your response!
It might indeed be the cause, as I have found code related to evalSourceMap in the project:
//webpackDevServer.config.js
const evalSourceMapMiddleware = require('react-dev-utils/evalSourceMapMiddleware');
devServer.app.use(evalSourceMapMiddleware(devServer));

However, what methods can I use to bypass or fix this issue? Currently, this problem is somewhat hindering common debugging work. Many issues that could usually be inspected by setting breakpoints now require investigation through added logging.

I recently found that a necessary operation to trigger this phenomenon is to hover the mouse over the variable to observe its value. @robpaveza

I have the same issue since some time.
I'm currently on Version 132.0.2926.0 (Offizielles Build) canary (64-Bit)

My browser hangs on breakpoint too.
This issue has been around for a couple of months.
I have tested on 3 different computers (one of them is a high-end PC).
My code is an angular application.
On the other browsers there is no problem. (Chrome, Firefox).

Thank you all for the details about this issue. I'll bring this back to the engineering team to help investigate.

Same issue here, also with an Angular application, also noticed it for several months.
Running in incognito without any plugins enabled doesn't help.
I did notice that disabling sourcemaps also removes the hang (mostly, it then needs to highlight a huge file but that's way faster still), but disabling sourcemaps alltogether isn't really an option.

@gzx-miller @wertzui @HesamKashefi @nvdweem
Hi all,
Can you please provide the following details to assist the engineering team's investigation:

Environment: OS, Edge browser version (can be found at edge://settings/help)
Steps to reproduce the behavior
Any additional context that's relevant

Windows
Edition	Windows 11 Pro Insider Preview
Version	Dev
Build	27744.1000
Funktionspaket	Windows Feature Experience Pack 1000.26100.32.0
Edge
Version 132.0.2941.0 (Offizielles Build) canary (64-Bit)
How to reproduce:

Open developer tools
Add a breakpoint that will be hit
Hit the brakpoint
Try to interact with the dev tools and see that they froze for a minute or so

I think I fixed it!
I just removed all the extensions and tested again.
Everything looks fine now!
Then I installed Angular DevTools and Redux DevTools again.  It became slow again but hangs just a about five seconds not like before which was about 1 minute!
Here's a list of my extensions before I removed them.

My Edge version is : Version 130.0.2849.80 (Official build) (64-bit)
My Windows version: Windows 11 23h2 22631.4460
In the past even when I disabled all the extension nothing was different but now that I removed all and just install Angular and Redux DevTools when I disable them, everything is superfast.
It was really annoying to have such hang duration (1 Minute) on an Intel Core I7 14700K - 32G RAM DDR5 - SAMSUNG 990Pro M2 - ....

Can you please provide the following details to assist the engineering team's investigation:

Environment: OS, Edge browser version (can be found at edge://settings/help)

Edition	Windows 11 Pro
Version	23H2
OS build	22631.4460
Experience	Windows Feature Experience Pack 1000.22700.1047.0

Steps to reproduce the behavior

Seems to be project size dependant, my work project can hang for tens of seconds, a new project hangs for up to 10s
See steps below

Any additional context that's relevant (not sure how to tell what's relevant)

My work project uses the old webpack builder, a new project should be using the esbuild builder, both seem to trigger the issue
It has been happening for months
Also happens in incognito (perhaps even more deterministic)

I don't have the Angular Devtools extension installed, so that one isn't the cause for me

It seems to be worse the first time it hits a breakpoint, after waiting once, the rest of the hits are usually quick

Steps to reproduce

Install Angular (I'm running 18.2.12 myself)
ng new SlowApp
Not sure if it matters, but I tend to pick scss and disable ssr
ng s
Change src/app.component.ts, add ngOnInit() { debugger; } in the class
Open an Incognito tab
Open Dev Tools (F12)
Navigate to http://localhost:4200 (this will hit the breakpoint immediately)
Notice that it takes up to 10s before you are able to select text in the sources tab

@HesamKashefi glad to see that you found a fix and it's working again!
@wertzui are you also seeing this with Angular or just in general?
@nvdweem can you try the same fix @HesamKashefi mentioned above and report back if it worked for you too?

@nvdweem can you try the same fix @HesamKashefi mentioned above and report back if it worked for you too?

I had seen that workaround, that's why I included

I don't have the Angular Devtools extension installed, so that one isn't the cause for me

And

Also happens in incognito (perhaps even more deterministic)

In incognito, no plugins are enabled.

@nvdweem apologies for missing that. A new version of Edge Stable recently shipped to v131. I noticed that you're seeing this bug on v130. Have you tried updating to the most recent version?

I think my Edge updated right after posting the version (Version 131.0.2903.51 (Official build) (64-bit)) and I think I've seen the issue pop up afterwards, but I'm not entirely sure. It doesn't always trigger, but just tried a few breakpoints in and outside of InPrivate and those seemed to be interactive quite quickly.
I'll try to pay attention to whether it triggers again in the coming days.

@nvdweem I removed all of the extensions, they were already disabled when I had the issue. maybe you could try this too.
I'm guessing that maybe it's from installing extensions 'from other sources'

@nvdweem I removed all of the extensions, they were already disabled when I had the issue. maybe you could try this too.

Also tried it with a new profile, not a single extension installed (other than a disabled Offline Google Docs extension that was already there). The first breakpoint I hit took about 10s to become responsive, the next one was instantly responsive. A breakpoint a few moments later took ~5s to become responsive. Triggering the same breakpoint in my regular profile also takes about 5s.
It's way faster for these two occurrences as compared to my actual profile in the 130 version, 5s is still a long time to wait on nothing, but more of a nuisance than flow-breaking like the 30s+ delays that I've seen before.
Having following breakpoints trigger quickly feels like a cache miss on the slow triggers. I'll have to pay some more attention, but it could be that breakpoints after code-changes are slower because something (map files?) need to be reparsed or something.
If disabled plugins do anything then that sounds like a way bigger problem than just unresponsive breakpoints.


Isofit version and release version do not match

The version number in release v2.9.8 is not up to date in the repository (<IP_ADDRESS>).
Example:
git clone -b v2.9.8 https://github.com/isofit/isofit.git

Installation
Successfully built isofit
Installing collected packages: isofit
  Attempting uninstall: isofit
    Found existing installation: isofit 2.9.3
    Uninstalling isofit-2.9.3:
      Successfully uninstalled isofit-2.9.3
Successfully installed isofit-<IP_ADDRESS>

Fixed by PR #358.
$ git clone -b v<IP_ADDRESS> https://github.com/isofit/isofit.git
$ pip install isofit
Installing collected packages: isofit
  Attempting uninstall: isofit
    Found existing installation: isofit <IP_ADDRESS>
    Uninstalling isofit-<IP_ADDRESS>:
      Successfully uninstalled isofit-<IP_ADDRESS>
Successfully installed isofit-<IP_ADDRESS>
$ isofit --version
<IP_ADDRESS>


[Question] Getting error information?

Is there a way to extract more meaningful information from XSD validation? Perhaps the schema issue or the node that occured using XPath?

@blakeembrey , looks like you didn't see this at the wiki:
assert.equal(xmlDocInvalid.validationErrors.length, 2);
console.log(xmlDocInvalid.validationErrors);

it prints something like this:
[ { [Error: Element 'comment': Character content other than whitespace is not allowed because the content type is 'element-only'.
  ] domain: 17, code: 1843, level: 2, column: 0, line: 2 },
  { [Error: Element 'comment': Missing child element(s). Expected is one of ( author, content ).
  ] domain: 17, code: 1871, level: 2, column: 0, line: 2 } ]

@scaryguy I did and I'm using what I can from that. But it doesn't give me the property that failed, for instance. Just the text position and other meta information. Are you saying there's a way to pull something out of that?

That should be related to your XSD schema. For it to give proper errors, your XSD should force it to do.
For example here is an example from my app:
1) VAST generator should create ad block:
     Error: Error: Element 'AdTtle': This element is not expected. Expected is ( AdTitle ).

      at test/vast/vast_unit.js:47:11

This error is produced because my XSD schema includes this line:
 <xs:element type="xs:string" name="AdTitle"/>

I hope it helps.

I understand that (I'll admit I haven't played with XSD too much), but then the only way to get the information from this is to parse the error string itself. What about nested elements in the XSD validation? I didn't recall seeing the XPath to the error location, which is the information I really want to parse from the message. Of course, this could all be a limitation of the libxml which is why I'm asking.

I don't know enough about libxml itself to answer this unfortunately. If you do learn more please feel free (and obliged ;)) to update the wiki with your learnings!
I am closing this out since this support issue seems to have some assistance and there is no particular code issue here yet.


[package] allow to choose when build/packaging step occurs in the lifecycle

[x] Make sure you've installed the latest version using instructions in the wiki

Output from azd version
azd version
azd version 1.4.1 (commit 1cbed85cf47ed235b5ed31868eda79619525bfcc)

Describe the issue
In microservices architectures where the frontend is deployed as a separate component, you need to get the backend/API location after the provisioning as the backend URL need to be provided at build time for static web apps.
We have the case for example in https://github.com/Azure-Samples/contoso-real-estate and https://github.com/Azure-Samples/azure-search-openai-javascript.
In the first sample, azd up cannot be used because of this, and it needs to run azd provision then azd deploy as a workaround.
In the second sample, we used a different workaround so that azd up could be used: we added a "predeploy" script to build the app just before deployment, but that effectively cause the app to be built twice.
This is a very common use case and it feels hacky to have to make twists like these to make it work.
Would it be possible to consider a step property under a build or package settings to define when the command should be ran? For example:
services:
  webapp:
    project: ./packages/webapp
    dist: dist
    language: ts
    host: staticwebapp
    package:
      step: predeploy

We would like this for the Python OpenAI sample as well.

@ellismg We talked about this briefly this morning but I could imagine a world where azure.yaml allows you to specify what happens in azd up

@rajeshkamal5050 based on the convo we had about extensibility a couple weeks ago, I've moved this to January.

POC in development #2927


Return 404 when put attachment with nonexistent rev

Overview

Currently we return a 500 and something like
{"error":"{not_found,missing}","reason":"{1,<<\"000\">>}"}
when an attempt is made to put an attachment document with a
non-existent revision.
This changes the behavior to return a 404 and
{"error":"not_found","reason":"missing_rev"}"
Testing recommendations

Test is included with PR
GitHub issue number

Related Pull Requests

Checklist

[x] Code is written and works correctly;
[x] Changes are covered by tests;
[x] Documentation reflects the changes;

The tests are fine locally and 404 is better than 500, so the change itself looks good to me.
The only thing is that I'm not 100% sure that we should return 404 and not 409 here. I understand we are crashing with not_found, but update of attachment is doc's update and we are throwing 409 on attempt to update doc with non-existing revision. So from consistency perspective we might want to do this here as well.
I'm tentatively +1, but get a second opinion before merging, please.
Local tests:
make eunit apps=chttpd
...
=======================================================
  All 150 tests passed.

make javascript
...
=======================================================
JavaScript tests complete.
  Failed: 0.  Skipped or passed: 86.

@eiri thanks for the review. I chose 404 since it seemed like that was consistent with other "not_found" errors, but I understand your concern. I agree we should have at least a second opinion.

I think I lean more toward @eiri's idea of making it a 409.
The document itself is there it's just that the revision doesn't match. This is similar to updating a regular document (not an attachment) with an revision which doesn't match where we get a 409.
Now if database is altogether missing then we do get a 404. But I think this is closer to the former than the later.

@eiri and @nickva I've updated this PR to return 409 instead of 404. If you are ok with this, can one of you merge this for me?