test failing on master expected 'Camel Core, Eclipse Vert.x, RESTEasy JAX-RS' to contain 'Camel Quarkus Core'

1) Project generation tests
       should display input values from previously generated project (with extensions):
     AssertionError: expected 'Camel Core, Eclipse Vert.x, RESTEasy JAX-RS' to contain 'Camel Quarkus Core'

is the modification from Camel Quarkus Core to Camel Core expected? If yes, just need to update the test

the change of name was on purpose. Just need to update the test


Added Scroll bar in personProfile Closes #126

LGTM 🔥🔥

Codecov Report
Base: 62.70% // Head: 62.70% // No change to project coverage :thumbsup:

Coverage data is based on head (58f492f) compared to base (b650095).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #128   +/-   ##
=========================================
  Coverage     62.70%   62.70%
  Complexity      552      552
=========================================
  Files           101      101
  Lines          1984     1984
  Branches        200      200
=========================================
  Hits           1244     1244
  Misses          669      669
  Partials         71       71

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Filter out kernel functions that can cause systemic instability

When using globbing with kprobes it easy extremely easy to hang the system and this is because certain kernel functions react badly to being instrumented. For example, on a 5.19 based kernel, the following invocation will hang the system:
sudo bpftrace -e 'kprobe:*' -e 'interval:s:5{exit();}'

The bpf kernel selftests specify some functions that must be explicitly filtered and also some patterns that are used to match groups of functions that must be filtered. This change uses these patterns to exclude functions when the available function list is being built.
Checklist

[ ] Language changes are updated in man/adoc/bpftrace.adoc
[ ] User-visible and non-trivial changes updated in CHANGELOG.md
[ ] The new behaviour is covered by tests

I'm not 100% sure, but isn't it better to annotate these in kernel? notrace appears to do this

There are reasons why some of these functions are not annotated as such. For example, the discussion at<EMAIL_ADDRESS>says why the "ftrace_invalid_address" functions are still effectively listed as available functions and not even in the blacklist!
The main problem with marking functions as "notrace" @danobi is that it will take forever before kernels are available for use in most people's production environments (multiple years) even if those changes were made now. Much, much safer just to cover them off here and if someone is feeling bored they can go and "notrace" them in the kernel  as they see fit.


Texel eval tuning and Tapered eval

With the latest commit https://github.com/amanjpro/zahak/pull/61/commits/2f69a25262a84f87d48e1e59a52db62c2b30e3b2, this is my current tests:
Tuned Tapered eval:
vs Zahak 2.0.0,
Score of zahak_next vs zahak-darwin-amd64-latest: 112 - 38 - 50  [0.685] 200
...      zahak_next playing White: 64 - 15 - 21  [0.745] 100
...      zahak_next playing Black: 48 - 23 - 29  [0.625] 100
...      White vs Black: 87 - 63 - 50  [0.560] 200
Elo difference: 135.0 +/- 43.9, LOS: 100.0 %, DrawRatio: 25.0 %
Finished match

vs
Achilliees, Gopher-Check, Baisclicka:
Rank Name                          Elo     +/-   Games    Wins  Losses   Draws   Points   WWins  WLoss.  WDraws   BWins  BLoss.  BDraws
   0 zahak_next                    137      26     600     347     122     131    412.5     180      64      56     167      58      75
   1 gopher_check                 -111      44     200      46     108      46     69.0      23      54      23      23      54      23
   2 Achillees                    -145      46     200      39     118      43     60.5      19      58      23      20      60      20
   3 baislicka                    -156      46     200      37     121      42     58.0      16      55      29      21      66      13

Finished match

vs Clever Girl (clever girl crashed):
Score of zahak_next vs clever-girl: 137 - 26 - 37  [0.777] 200
...      zahak_next playing White: 71 - 12 - 17  [0.795] 100
...      zahak_next playing Black: 66 - 14 - 20  [0.760] 100
...      White vs Black: 85 - 78 - 37  [0.517] 200
Elo difference: 217.3 +/- 50.1, LOS: 100.0 %, DrawRatio: 18.5 %
Finished match

Vice, Rustic
With Bayeselo
ResultSet>readpgn /Users/amanj/Documents/MyDocuments/Programming/zahak/src/github.com/zahak/zahak_games/tuned-evals-3.pgn
1000 game(s) loaded
ResultSet>elo
ResultSet-EloRating>mm
00:00:00,00
ResultSet-EloRating>exactdist
00:00:00,00
ResultSet-EloRating>ratings
Rank Name                       Rating   Δ     +    -     #     Σ    Σ%     W    L    D   W%    =%   OppR
---------------------------------------------------------------------------------------------------------
   1 zahak_next                  3227   0.0   17   17  1000  705.0  70.5  596  186  218  59.6  21.8  3075
   2 gopher_check                3115 111.9   35   36   200   69.0  34.5   46  108   46  23.0  23.0  3227
   3 zahak-darwin-amd64-latest   3095  20.4   35   36   200   63.0  31.5   38  112   50  19.0  25.0  3227
   4 Achillees                   3081  13.3   36   37   200   60.5  30.2   39  118   43  19.5  21.5  3227
   5 baislicka                   3070  11.6   36   38   200   58.0  29.0   37  121   42  18.5  21.0  3227
   6 clever-girl                 3013  56.8   38   41   200   44.5  22.2   26  137   37  13.0  18.5  3227
---------------------------------------------------------------------------------------------------------
  Δ = delta from the next higher rated opponent
  # = number of games played
  Σ = total score, 1 point for win, 1/2 point for draw

That shows an elo for Zahak around 2270-2340, which is at least 130 elo points ahead of whatever Zahak has now


What is the function of locked_by_route_ff in vc_buffer?

Hi!
I came across some confusion.
What is the role of locked_by_route_ff in vc_buffer.sv? It seems that it wants to prevent other packet flits from entering the buffer until a complete packet(including the head body tail flit) has completed its transmission. Let's say there are two head flits from different input modules of the same router, and the two head flits want to enter the same vc buffer of the same input module in the next same router. After the first head flit is accepted, Due to the polling mechanism, the second head flit is rejected by the lock logic. However, the second head flit actually can be  accepted after the next poll. This can cause flits in the vc channel of the next router to change router direction and cause data transmission errors.
Since two write transactions cannot be conducted simultaneously in the testbench, I am unable to verify my assumption. My idea may be a little confused, may I ask if my view is wrong?
  always_comb begin
    next_locked = locked_by_route_ff;
    flit = fdata_i;
    if (valid_i && (flit.type_f == HEAD_FLIT) && (flit.pkt_size != 'h0)) begin
      next_locked = ready_o;
    end
    else if (valid_i && flit.type_f == TAIL_FLIT) begin
      next_locked = ~ready_o;
    end
  end

  always_comb begin
    write_flit = ~full && valid_i && (flit.type_f == HEAD_FLIT ? ~locked_by_route_ff : '1);
    ready_o = ~full && (flit.type_f == HEAD_FLIT ? ~locked_by_route_ff : '1);
    valid_o = ~empty;
    read_flit = valid_o && ready_i;
    vc_id_o = vc_id_i;
    empty_o = empty;
    full_o = full;
  end

  always_ff @ (posedge clk or posedge arst) begin
    if (arst) begin
      locked_by_route_ff <= '0;
    end
    else begin
      locked_by_route_ff <= next_locked;
    end
  end

I originally thought that the output_module's rr_arbiter would alternate outputting the buffer data with the same vc_id, as shown in type 1 in the figure. However, in actuality, the output_module outputs data in the manner shown in type 2 in the figure. If we use the alternating output data method and consider the vc_buffer lock logic of the next router's input_module, the accepted buffer data format is shown in Figure 3, which would result in data routing errors due to the possibility that the routing_table value in the input_router may change at CLK5.
Using the TYPE2 data output method does not lead to routing errors as I think.
btw, H,B, and T stand for head, body, tail, and buffer data are all output to the east in the fig.
I post tb I did.test.zip

Hey @Alexander-0619,
Thanks for the diagrams, I got your point now.

Using the TYPE2 data output method does not lead to routing errors as I think. But is it fairer to alternate the output?

So, the topology implemented does not mix multiple packets because the entire idea behind was that the virtual channel would have fixed priority and within each VC you would have fair usage through the rr arbiter present at the output module of each router. I didn't think on exploring different solutions here because tbh if I am updating the design I implement something completely different by even removing the passive network interfaces.

Finally, Would it be more better to modify the lock logic to avoid other packets from getting in the buffer while one started its transmission as following example?

Unless I'm missing a specific scenario, the current logic does that because ready_o depends on the locked_by_route_ff flop. Maybe if you have the failing scenario in mind can you write a test and share w me?

In my op, the failure scenario involves continuous writing of head flits into the input module while the pkt_size is non-zero. After the initial head flit is accepted, the input module does not consistently reject subsequent head flits; instead, it accepts other head flits in alternate cycles.
The sole test conducted involved continuously transmitting head flits to the vc_buffer module to determine whether it could reject all head flits following the first one. However, it appears that the described scenario is unlikely to occur due to the func of arbiter..


docker-compose should use 0.5.1

 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.


projection is not performed for the entire image

the mask is not generated for a part of the image:

image: https://drive.google.com/file/d/1t_QgK22dNA_BE135lwwrkHxilX5kWccO/view?usp=sharing
parameters to reproduce: tcd-predict "restor/tcd-segformer-mit-b5" input.tif outputdir

Interesting... Maybe a tiling bug if we're not generating predictions the boundary? There should be a way to dump out intermediate tiles to see. It's also possible that there will be padding around the edge of the image due to the way the predictions are merged. sometimes we would discard edge predictions where the confidence is worse, but I seem to recall the default should be to leave them unless there's an overlap - in which case we'd preferentially take the center region of the adjacent tile.


Update admin-bro and typeorm, not completed

related to #572

@aminlatifi  I updated typeorm and admin-bro, all tests pass but when I opened the admin bro I saw some issues that may take too much time but are necessary before merging

The relations don't work properly and when opening project page we get error, I think our custom views need to have some changes, so you tell me whether  it worth to put more time to finish that or not
PS: @CarlosQ96  Wants to take a look to see if can find a good solution or not

Ill take a look


Angular 2 : How to include external js file E.g Canvasjs for bar graphs

In My index.html I have included Canvasjs.min.js as

And in click event of a button a function is called e.g bar()
In function:
bar(){
bar(){
var chart = new CanvasJS.Chart("chartContainer", {
  title:{
    text: "Fruits sold in First Quarter"
  },
  data: [
    {

     type: "column",
     dataPoints: [
     { label: "banana", y: 18 },
     { label: "orange", y: 29 },
     { label: "apple", y: 40 },
     { label: "mango", y: 34 },
     { label: "grape", y: 24 }
     ]
   }
   ]
 });

chart.render();

}
}
Now it says CanvasJs is not defined

should be as simple as adding

This doesn't seem to be an issue with this project, so I am closing.


How to create separate page

Currently, all the navigation menu items take you to a different section of the same landing page. What would be the best approach to create a new page that reuses navbar and footer? I was thinking about making a second call to the createPage function inside the exports.createPages function in the gatsby-node.js file. Giving it of course, the corresponding path, component, and context properties.

I was thinking about making a second call to the createPage function inside the exports.createPages

I think your solution is right. Some customizations are better than embedding everything for configurable options. It’s far more maintainable.
So my solution is passing extra customized menu to Navbar or footer as props.


disable unused schnorrkel feature

Doesn't seem to be used in polkadot or in substrate. FYI this is a semver-breaking change.
Closes #9072.

bot merge

bot merge


Performance Challenges with ordhook

Hey, I'm wondering if you've run into any speed bumps when indexing tons of Ordinal inscriptions?
Any tips on how to keep things running smoothly when there's a lot going on?

hi @suatap-alt , indexing ordinals is a very intense process. I would need to look at your specific setup to give you feedback but right out the gate I would recommend you work on a machine with a fast hard disk and extensive memory. Also, make sure that your bitcoin node is running on a high performance machine that is as close to your ordhook machine as possible in networking terms (or try to run bitcoind in the same machine) because there are a ton of RPC calls that need to be made into it.

Thank you for filing this -- for any additional questions, please check out the #ordinals channel in the Stacks Discord.


Defer common client questions with improved comments

No code change; the only code change that would defer these questions is to make an identical 'NewMuttleyClient', which doesn't seem correct. Resolving this with comments only.

Coverage remained the same at 80.903% when pulling 09d08715c7722c4b7e78e531274da51213056254 on hbClient into 1cdcfc4a204fe42013f4cf7196fab208d3b98085 on master.

Coverage remained the same at 80.903% when pulling 326ff30e7154d82ab9a7b0fc47968be3cbe2b9f1 on hbClient into 1ef6560c59eeb170f2381c02287ca44a5c50a523 on master.


Cannot run wsl --update --web-download

Windows Version
Microsoft Windows [Version 10.0.19045.2251]
WSL Version
wsl --version is not available as a command argument. I ran the wsl.<IP_ADDRESS>.x64.msi installer, but it's not clear if this worked.
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu-20.04
Other Software
Docker Desktop for Windows 4.33.1 (161083)
Repro Steps

I uninstalled Docker Desktop, all distributions and all WSL using Apps
I downloaded and ran the latest WSL release wsl.<IP_ADDRESS>.x64.msi
The installer exited without confirmation of an install so I ran in PowerShell with the installer log - log attached
Run wsl --update --web-download and just get a help message
Run wsl --status and get

Default Distribution: Ubuntu-20.04
Default Version: 2

WSL automatic updates are on.

The WSL 2 kernel file is not found. To update or restore the kernel please run 'wsl.exe --update'.

Run wsl --update and get:

Checking for updates...
Downloading updates...
Installing updates...
This change will take effect on the next full restart of WSL. To force a restart, please run 'wsl --shutdown'.

wsl --shutdown
wsl --update

Checking for updates...
No updates are available.
Kernel version: <IP_ADDRESS>

wsl --update --web-download

I just get the help message again.
If I then try to install Docker Desktop for Windows 4.33.1 (161083)
Expected Behavior
wsl --update --web-download would run and check for updates, installing any available updates.
Actual Behavior
wsl --update --web-download just returns a help message indicating that the --web-download argument isn't recognised.
I then install Docker Desktop for Windows 4.33.1 (161083). This installs fine, but then when opening I get this prompt:

I select Finish and then get an error:

This is because the underlying wsl --update --web-download command is failing...
wsl update failed: update failed: updating wsl: exit code:<PHONE_NUMBER>: running WSL command wsl.exe C:\Windows\System32\wsl.exe --update --web-download:

WSL.log
Diagnostic Logs
No response

WslLogs-2024-09-09_10-35-57.zip

Same issue here,
appears to be a SQLite related problem.
Was unable to work around the issue, nothing worked,
not even uninstalling + reinstalling WSL through Turn Windows features on or off.
Error Logs
Docker Update
wsl update failed: update failed: updating wsl: exit code:<PHONE_NUMBER>:
running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --update --web-download:

Downloading: Windows Subsystem for Linux
Installing: Windows Subsystem for Linux

SQLITE_IOERR_READ
: exit status 0xffffffff

WSL CLI Update
sudo wsl --update --web-download

Downloading: Windows Subsystem for Linux
Installing: Windows Subsystem for Linux

SQLITE_IOERR_READ

.msi Update
Tested with latest release (v2.2.4) + latest pre-release (v2.3.17)
Failed to install the MSIX package (error: Install failed. Please contact your software vendor. )

.msi CLI Update
msiexec.exe /i C:\Users\Rik\Downloads\wsl.<IP_ADDRESS>.x64.msi /L*V C:\Users\Rik\Downloads\wsl-logs.log

wsl-logs.log

@dtlhlbs: It looks like your machine is in a bad MSIX state, which prevents the execution of Store WSL. We have pushed an update that should allow you to bypass the issue.
Can you check if you have this update installed ?


Failed to clone nvm repo

I am using windows 10. Below is the error message when I try to clone the repo
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh |                                                                                bash
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 12461  100 12461    0     0  61384      0 --:--:-- --:--:-- --:--:-- 72871
=> Downloading nvm from git to '/c/Users/wu134679/.nvm'
=> Cloning into 'C:/Users/wu134679/.nvm'...
remote: Counting objects: 261, done.
remote: Compressing objects: 100% (227/227), done.
remote: Total 261 (delta 31), reused 105 (delta 25), pack-reused 0
Receiving objects: 100% (261/261), 115.23 KiB | 0 bytes/s, done.
Resolving deltas: 100% (31/31), done.
Note: checking out 'd91b6197f3f60e1e7a332acf69a9b90e83120f06'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
error: unable to create file test/fast/Aliases/"nvm alias" should not accept ali                                                                                ases with slashes: Invalid argument
error: unable to create file test/fast/Aliases/"nvm unalias" should not accept a                                                                                liases with slashes: Invalid argument
error: unable to create file test/fast/Aliases/Running "nvm alias  " again should change the target: Invalid argument
error: unable to create file test/fast/Aliases/Running "nvm alias " s                                                                                hould list but one alias.: Invalid argument
error: unable to create file test/fast/Aliases/Running "nvm alias" lists implici                                                                                t aliases when they do not exist: Invalid argument
error: unable to create file test/fast/Aliases/Running "nvm alias" lists manual                                                                                aliases instead of implicit aliases when present: Invalid argument
error: unable to create file test/fast/Aliases/Running "nvm alias" should list a                                                                                ll aliases.: Invalid argument
error: unable to create file test/fast/Aliases/lts/"nvm alias" should ensure LTS                                                                                alias dir exists: Invalid argument
error: unable to create file test/fast/Listing paths/Running "nvm which 0.0.2" s                                                                                hould display only version 0.0.2.: Invalid argument
error: unable to create file test/fast/Listing paths/Running "nvm which foo" sho                                                                                uld return a nonzero exit code when not found: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls 0.0.2" s                                                                                hould display only version 0.0.2.: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls 0.2" sho                                                                                uld display only 0.2.x versions.: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls foo" sho                                                                                uld return a nonzero exit code when not found: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls io" shou                                                                                ld return NA: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls node_" s                                                                                hould return a nonzero exit code when not found: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls stable"                                                                                and "nvm ls unstable" should return the appropriate implicit alias: Invalid argu                                                                                ment
error: unable to create file test/fast/Listing versions/Running "nvm ls system"                                                                                should include "system" when appropriate: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" should                                                                                display all installed versions.: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" should                                                                                filter out ".nvm": Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" should                                                                                filter out "versions": Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" should                                                                                include "system" when appropriate: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" should                                                                                list versions in the "versions" directory: Invalid argument
error: unable to create file test/fast/Listing versions/Running "nvm ls" with no                                                                                de-like versioning vx.x.x should only list a matched version: Invalid argument
error: unable to create file test/fast/Running "nvm alias" should create a file                                                                                in the alias directory.: Invalid argument
error: unable to create file test/fast/Running "nvm current" should display curr                                                                                ent nvm environment.: Invalid argument
error: unable to create file test/fast/Running "nvm deactivate" should unset the                                                                                nvm environment variables.: Invalid argument
error: unable to create file test/fast/Running "nvm install" with "--reinstall-p                                                                                ackages-from" requires a valid version: Invalid argument
error: unable to create file test/fast/Running "nvm install" with an invalid ver                                                                                sion fails nicely: Invalid argument
error: unable to create file test/fast/Running "nvm unalias" should remove the a                                                                                lias file.: Invalid argument
error: unable to create file test/fast/Running "nvm uninstall" should remove the                                                                                appropriate directory.: Invalid argument
error: unable to create file test/fast/Running "nvm uninstall" with incorrect fi                                                                                le permissions fails nicely: Invalid argument
error: unable to create file test/fast/Running "nvm unload" should unset all fun                                                                                ction and variables.: Invalid argument
error: unable to create file test/fast/Running "nvm use foo" where "foo" is circ                                                                                ular aborts: Invalid argument
error: unable to create file test/fast/Running "nvm use iojs" uses latest io.js                                                                                version: Invalid argument
error: unable to create file test/fast/Running "nvm use system" should work as e                                                                                xpected: Invalid argument
error: unable to create file test/fast/Running "nvm use x" should create and cha                                                                                nge the "current" symlink: Invalid argument
error: unable to create file test/fast/Running "nvm use x" should not create the                                                                                "current" symlink if $NVM_SYMLINK_CURRENT is false: Invalid argument
error: unable to create file test/slow/Running "nvm current" should display curr                                                                                ent nvm environment.: Invalid argument
error: unable to create file test/slow/nvm exec/Preamble works and respects "sil                                                                                ent" flag: Invalid argument
error: unable to create file test/slow/nvm exec/Running "nvm exec --lts" should                                                                                work: Invalid argument
error: unable to create file test/slow/nvm exec/Running "nvm exec 0.x" should wo                                                                                rk: Invalid argument
error: unable to create file test/slow/nvm exec/Running "nvm exec" should pick u                                                                                p .nvmrc version: Invalid argument
error: unable to create file test/slow/nvm reinstall-packages/Running "nvm copy-                                                                                packages $(nvm ls current)" should error out: Invalid argument
error: unable to create file test/slow/nvm run/Running "nvm run --harmony --vers                                                                                ion" should work: Invalid argument
error: unable to create file test/slow/nvm run/Running "nvm run --lts" should wo                                                                                rk: Invalid argument
error: unable to create file test/slow/nvm run/Running "nvm run 0.x" should erro                                                                                r out sensibly when 0.x is not installed: Invalid argument
error: unable to create file test/slow/nvm run/Running "nvm run 0.x" should work                                                                                : Invalid argument
error: unable to create file test/slow/nvm run/Running "nvm run" should pick up                                                                                .nvmrc version: Invalid argument
error: unable to create file test/slow/nvm uninstall/Running "nvm uninstall 0.12                                                                                .6" uninstalls v0.12.6: Invalid argument
error: unable to create file test/slow/nvm uninstall/Running "nvm uninstall" wit                                                                                h incorrect file permissions fails nicely: Invalid argument
error: unable to create file test/slow/nvm use/Running "nvm use --lts" uses late                                                                                st LTS version: Invalid argument
error: unable to create file test/slow/nvm use/Running "nvm use --lts=foo" uses                                                                                latest "foo" LTS version: Invalid argument
error: unable to create file test/slow/nvm use/Running "nvm use iojs" uses lates                                                                                t io.js version: Invalid argument
error: unable to create file test/slow/nvm use/Running "nvm use node" uses lates                                                                                t stable node version: Invalid argument
error: unable to create file test/slow/nvm use/Running "nvm use v1.0.0" uses ioj                                                                                s-v1.0.0 iojs version: Invalid argument
error: unable to create file test/slow/nvm use/Running "nvm use" calls "nvm_die_                                                                                on_prefix": Invalid argument
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

That seems like an issue with git and windows, not an issue with nvm.
Are you using BashOnWindows (the only env on windows where nvm might work)? or are you using cygwin or similar?

Did you figure this out?

This seems like a very prevalent issue (also relevant here and here). Am trying to install CNCjs as instructed here, and the first step:
git clone https://github.com/creationix/nvm.git ~/.nvm

with the exact same errors as here and the mentioned links. I tried it both on cmd and git bash (which seems to be some kind of MSYS/MSYS2 environment). I would appreciate if you could help me understand why this is happening and how I can solve it.

@Foadsf nvm only works on windows in WSL, in real bash. I’d try using that.


Clicking on an item in GUI's picks them up instead (1.14.4)

When i open any of the GUI's instead of showing information for the thing im clicking it picks the item up from the GUI [note : this happens both in op and default] !
I am using a couple of plugins which im not sure if i can mention if so please tell me .
Here is a Log error report https://paste.kroseida.dev/ozitusojeg.cs
And here is my config
https://paste.kroseida.dev/heyohosata.coffeescript
Its my first time working with plugins so i might not know much but i would appriciate any kind of help.

The issue is your running CE v<IP_ADDRESS> on a 1.14 server. v<IP_ADDRESS> does NOT support 1.13+. You need to update to the dev builds to be able to use it on 1.13+.


Adds a widget to show the list of tasks.

Adds a stateless widget that receives as constructor parameter a list of strings and an action to be executed when the user taps the list item. It also adds unit tests and test coverage + GitHub action for it.

Nice!


feat: ESM support

Currently the support is minimum Node v16 #2833 , the next step is build package as pure ESM and update all packages to deliver only pure ESM modules.
https://blog.sindresorhus.com/get-ready-for-esm-aa53530b3f77

[ ] Migrate all package to ESM
[x] ~Migrate test ⚠ jest.mock() still does not fully support ESM modules https://github.com/facebook/jest/pull/10976 and not the whole API is complete https://github.com/facebook/jest/issues/9430 🚫 https://github.com/facebook/jest/issues/9430#issuecomment-915109139~
[x] Use vitest for those packages needs mocking in ES6 (will review this library if get stable in the future)
[x] Plugin review support (probably via import()), still support no native ESM plugin
[ ] Documentation
[x] Update dependencies that support only ESM (node-fetch, get-port, etc...)
[x] Hybrid mode in v5 (#3020 ) for easy migration (future PR)
[ ] Hybrid mode on v6

I'll drop this, too much work. I'll focus in other things.


Remove unused 3rd lib github.com/olekukonko/tablewriter

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run go build go test go fmt go vet to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.07%) to 74.063% when pulling f3e025625223b25df0f22a2105e2ffc4552bff34 on little-cui:master into<PHONE_NUMBER>7b3eaf58bed475f568bcda918c6e15 on apache:master.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #297   +/-   ##
=======================================
  Coverage   70.39%   70.39%
=======================================
  Files          17       17
  Lines        3455     3455
=======================================
  Hits         2432     2432
  Misses        853      853
  Partials      170      170

Continue to review full report at Codecov.

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


cmd/go: ar default option changed on Archlinux core/binutils 2.25.1-3

When compile always show warning
ar: `u' modifier ignored since `D' is the default (see `U')
relate file:
go/src/cmd/go/build.go
func (gccgoToolchain) pack(b *builder, p *Package, objDir, afile string, ofiles []string) error {
	var absOfiles []string
	for _, f := range ofiles {
		absOfiles = append(absOfiles, mkAbs(objDir, f))
	}
	return b.run(p.Dir, p.ImportPath, nil, "ar", "cru", mkAbs(objDir, afile), absOfiles)
}

Seems like we should just drop the 'u'. We rebuilt the objects, we might as well put them in the archive. Ian?


Add Semaphore promotion for PyPI publishing

Codecov Report

Merging #108 (60b7c4a) into master (ec6eb08) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #108   +/-   ##
=======================================
  Coverage   94.84%   94.84%
=======================================
  Files          18       18
  Lines         466      466
=======================================
  Hits          442      442
  Misses         24       24

Continue to review full report at Codecov.

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

This is great!
How does it do authentication with PyPI? I didn't see anything in the Semaphore config that looked like an authentication step.

@maxdeviant, great question! The CLI can be authenticated with an implicit environment variable which is what's happening here.
Docs https://twine.readthedocs.io/en/stable/#environment-variables

@maxdeviant, great question! The CLI can be authenticated with an environment variables which is what's happening here.
Docs https://twine.readthedocs.io/en/stable/#environment-variables

Ah yes! I now see you're pulling in the python-pypi secret.


Faulty disk results in SIGBUS/SIGSEGV panics

Previously we thought that all cryptic boltdb errors were caused by low disk space. However, it appears that mmap'd files (like our consensus.db) can cause SIGBUS/SIGSEGV panics if the program accesses part of the file that resides on a faulty disk block. As such, I am reclassifying the following issues as "faulty disk" errors:
#2231
#2220
#1819
And for Sia-UI:
https://github.com/NebulousLabs/Sia-UI/issues/738
https://github.com/NebulousLabs/Sia-UI/issues/708
https://github.com/NebulousLabs/Sia-UI/issues/700
https://github.com/NebulousLabs/Sia-UI/issues/690
These issues all mention SIGBUS, but an IO error may also cause SIGSEGV (at least, according to Wikipedia). I didn't mark those issues because SIGSEGV can also be caused by bolt failing to mmap enough space. We can clean up those issues later.
We should add signal handling to catch such errors and report them in a more actionable (and less scary) way. This shouldn't require much code.

Noob terms for me please. LOL! Is there a fix?

Follow these instructions to check your disk for errors:

Windows
Mac
Linux

In most cases, you can repair the errors, but in some, you may need to replace the disk.

Sorry for the late response. I ran the Disk Utility first aid and it came back saying:
File System check exit code is 0.
Operation Successful.
Sia-UI still giving me the same errors. What next?

I should've done my research before transferring my SC to this wallet. It worked the first day then died on me. Apparently (according to thousands of posts on the internet) this is the worse wallet ever.
Can someone explain to me if and how I can move my SC from this wallet to the paper wallet?

Just write down your recovery seed on a piece of paper @joycegarcia1! That'll be your paper wallet.


Add order option for front page

or priorize the failed jobs for top positions :)

Hello,
I have a lot of group (21) and services (84) and the navigation is quite tedious.
I find it would be very handy to be able to:

Filter services by state
Have the possibility of having multiple columns
Expand/Collapse all group

Hello,
I have a lot of group (21) and services (84) and the navigation is quite tedious.
I find it would be very handy to be able to:

Filter services by state
Have the possibility of having multiple columns
Expand/Collapse all group

Yes, an Expand/Collapse all option would be really helpful.

Add a sortorder field to endpoints (and ideally to groups)
Currently groups and the endpoints within each group are printed alphabetically.  There seems to be no way to influence the sort order, other than changing the names (ie: prefixing them with A,B,C,D which is messy). Changing the names changes the endpoint (and removes its history), which is not ideal.
Adding a field 'sortorder' with an arbitrary integer to sort the UI by would allow me to customize that order. Ideally, it wouldn't need to be sequential (ie: four entries with 99,14,7,5 displays as 5,7,14,99).
This could be useful for:

showing "hops" in the order of dependency. Like "Home WiFi AP" connects to "Home Switch" connects to "Home Router" connects to "Internet Providers DNS" creating a waterfall of problems
Showing the database server or load balancers at the top of a list of web servers, or the "ping" to the server at the top of a list of services running on that server.

Ideally, an ability to sort groups would also be helpful, but that seems like it can be done through naming a bit easier (ie: 1. Upstream) whereas it's harder to do and messier on endpoints.
The result would simply be an "ORDER BY sortorder, name" clause in the displaying of data instead of 'ORDER BY name'


Does Keras have an equivalent for this style of LSTM from Tensorflow:

(Taken from https://www.tensorflow.org/versions/r0.11/tutorials/recurrent/index.html)
# Placeholder for the inputs in a given iteration.
words = tf.placeholder(tf.int32, [batch_size, num_steps])

lstm = rnn_cell.BasicLSTMCell(lstm_size)
# Initial state of the LSTM memory.
initial_state = state = tf.zeros([batch_size, lstm.state_size])

for i in range(num_steps):
    # The value of state is updated after processing each batch of words.
    output, state = lstm(words[:, i], state)

    # The rest of the code.
    # ...

final_state = state

The reason I ask is that using this style, we can take the ouput of a time step of an LSTM and feed it into the input of the next time step, like in this code :
  for step in range(num_iterations):
      with tf.device('/cpu:0'):
          patches = tf.image.extract_patches(images, tf.constant(patch_shape), inits+dx)
      patches = tf.reshape(patches, (batch_size * num_patches, patch_shape[0], patch_shape[1], num_channels))
      endpoints['patches'] = patches

      with tf.variable_scope('convnet', reuse=step>0):
          net = conv_model(patches)
          ims = net['concat']

      ims = tf.reshape(ims, (batch_size, -1))

      with tf.variable_scope('rnn', reuse=step>0) as scope:
          hidden_state = slim.ops.fc(tf.concat(1, [ims, hidden_state]), 512, activation=tf.tanh)
          prediction = slim.ops.fc(hidden_state, num_patches * 2, scope='pred', activation=None)
          endpoints['prediction'] = prediction
      prediction = tf.reshape(prediction, (batch_size, num_patches, 2))
      dx += prediction
dxs.append(dx)

(taken from https://github.com/trigeorgis/mdm/blob/master/mdm_model.py). Notice in this code that prediction, which is the output of the rnn at each timestep is added to dx, and dx is used earlier in this line
patches = tf.image.extract_patches(images, tf.constant(patch_shape), inits+dx)

You should consider the recurrentshop repo. I think it should be doable with the built in containers!

This looks very very promising. I will try this out tomorrow.


pull request for e2e test at 12/23/2016 17:26:11

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


FE-15: Recommendation Page

What's up?
As discussed in Week #7 Frontend Meeting #3 we need to design and implement a recommendation page.
To Do

[x] Carefully study the recommendation pages of art-related websites..
[x] Decide the main functionalities that should be on the page.
[x] Create a basic and useful recommendation page design and layout.
[x] Implement the basic design.
[x] Improve the design and implement the improvements.

Deadline
22.11.2022 @23.59
Additional Information
No response
Reviewers
No response

Recommendation page is created as we discussed with @kostanya on lab session. Some improvements will be needed over time in terms of design with the feedback of backend team.

Completed.


Get rid of pytz

As of Python 3.9, timezone info is included in Python, so we should be able to get rid of this dependency.

Projects using Python 3.9 or later should be using the support now included as part of the standard library, and third party packages work with it such as tzdata. pytz offers no advantages beyond backwards compatibility with code written for earlier versions of Python.

I looked into this a bit more; parsing the DST transitions directly out of zoneinfo.ZoneInfo does not look like it's possible, at least my attempts at reading its (private) ._trans_local variable for e.g. the Amsterdam timezone were unsuccessful.
I believe the above quote requires a bit of additional nuance. Indeed, tzinfo should not be used directly by most Python code, as using the native zoneinfo is cleaner. However, from the zoneinfo documentation, emphasis mine:

The zoneinfo module does not directly provide time zone data, and instead pulls time zone information from the system time zone database or the first-party PyPI package tzdata, if available. Some systems, including notably Windows systems, do not have an IANA database available, and so for projects targeting cross-platform compatibility that require time zone data, it is recommended to declare a dependency on tzdata.

Given that tzinfo, as I'm reading this, is not going the way of the dodo, I think it's fine to keep around as dependency.


How to Bulk Download Files from arXiv？

Thanks for your good work!
Are you planning releasing the datasets？Or provide the scripts to download arxiv files?

This is not a minimal code, but I hope it helps.
import boto3

# Initialize a session using Amazon S3
session = boto3.session.Session(
    aws_access_key_id='XXX',
    aws_secret_access_key='YYY',
)

# Create an S3 client
s3 = session.client('s3')

# Define the bucket name and the key of the manifest file
bucket_name = 'arxiv'

def download_arxiv_file(origin_path, target_path=None, verbose=True):
    if target_path is None:
        target_path = origin_path
    target_path = './downloaded/' + target_path
    # Ensure the directory exists
    directory = os.path.dirname(target_path)
    if not os.path.exists(directory):
        os.makedirs(directory)
    if os.path.exists(target_path):
        if verbose:
            print(f'🐤 {origin_path} already downloaded to {target_path}')
        return
    try:
        s3.download_file(bucket_name, origin_path, target_path, ExtraArgs={'RequestPayer': 'requester'})
        if verbose:
            print(f'🥳 Download ({origin_path}) successfully.')
    except Exception as e:
        print(f"❗ An error occurred: {e}")

download_arxiv_file('pdf/arXiv_pdf_manifest.xml')
download_arxiv_file('src/arXiv_src_manifest.xml')

Reference: https://info.arxiv.org/help/bulk_data_s3.html

@lilingxi01 Thank you very much for this very useful and clear code snippet !
I'm trying to find information about the price it would cost to download part or all of the bucket, but I can't find information about costs for Requester Pays buckets in the AWS documentation (https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - do you have an idea ?

@OrianeN It should be the same bandwidth cost as when you are hosting S3 bucket. You can check the S3 pricing page. There is no dedicated Requester Pays pricing page because they are the same. The only difference is who pays the fee.
Hope it helps.


Relax comma rules to allow optional extra end comma

[@FroMage] I'd like us to relax grammar rules concerning end commas and allow optional trailing commas:
class Foo<A,
                   B,
                   C,
       >(A a,
           B b,
           C c,
         ){
 value seq = {
  a,
  b,
  c,
 };
 Foo<
  Integer,
  String,
  Character,
 >(
  1,
  "a",
  `b`,
 );
}

This is a particularly terrible example, but allowing extra trailing commas is generally useful, so why not just allow it everywhere commas can be used?
[Migrated from ceylon/ceylon-spec#381]

I seem to remember a heated debate about this issue, in which I argued against it, but I guess that must have happened somewhere else…
For what it’s worth, I support this now. I’ve been working a lot with PHP over the past year and a half, and also with Python, and I’ve found trailing commas to be a nice convenience in both languages (though PHP only allows it for arrays, not for argument or parameter lists). JavaScript is also allowing them in more and more places now (see MDN).
I’m especially intrigued by the last point in @chochos’ comment:
largest(a,b,); //this should be an error because largest only expects 2 params, it's not sequenced

That’s a distinction which you can’t really make in PHP or JavaScript, since they’re much more dynamic about function parameters/arguments (extra arguments are silently thrown away; func_get_args()/arguments), but in Ceylon that’s an interesting possibility, yes. Though I’m not sure how hard that would be to implement. (I guess the parser would set a “has trailing comma” flag and the typechecker would inspect it?)

I guess you get used to it?  We tend to get used to stuff.

I seem to remember a heated debate about this issue

I don't think we ever had much in the way of debate about it. My take on it has always been a big shrug. But if Java and JS allow it, I'm happy to allow it to.

I like it for diff's sake when you keep appending stuff (to lists or hierarchial data structures) as things evolve. Less changed lines. Also when reordering items it helps when you don't have to keep shuffling the commas.
Priority-wise not very high for my part though :)


Create iot.md

Not a single heading, bro no body will read and if I merge this repo will get excluded .
Please add headings  and make your content more attractive so that it can attract readers.


Register tables

Initial draft for table registration which addresses issue #585.

This PR:

Add a table registration method to each linker.
Adds a query_sql method for each linker, which allows users to easily query their database.
Updates our tests to reflect this API change and add some new tests to check that table registration is working as intended.

Table Registration
Fairly straightforward, but this grants users the ability to simply pass either: a dictionary, record level dictionary, pandas df or pyarrow in the duckdb case/spark df in the spark case.
This is done simply by calling:
linker.register_table(<input>, <table_name>)
To note: pyarrow is significantly quicker than pandas for this. From some quick benchmarks, I was finding that registering a record level dictionary of 3 million cells into duckdb took:

7 seconds with pandas
2 seconds with pyarrow.

If we're happy to let pyarrow become a dependency, I'll adjust this PR to use pyarrow instead.
Query SQL
Not much to add - allows user to query their database as they please.
The syntax is simply: linker.query_sql(sql) and will output a pandas df.

A couple of extra notes on this work.
It might make sense to add an "accepted data types" list for each linker and check against this whenever users try to register tables.
If an invalid type is passed by the user, we error and give them an informative printout stating that that data type is not supported for that specific linker variant.
I've also not added support for pyarrow on any linker other than duckdb (where it's baked in). This is because it would require a pyarrow dependency in our poetry.lock file, which I was trying to avoid.

Previously:

The SplinkDataFrame abstraction represented a table in the underlying database

Methods were provided to turn this table into a pandas dataframe, a spark dataframe, a list-of-record-dicts etc.

The main linker.py has a '_sql_to_splink_dataframe_checking_cache' that hashed the SQL and retrieved from cache if existed

If we want to execute arbitrary SQL on top of a splink dataframe, the problem is that the existing function _execute_sql_against_backend would materialise the results in the and return a SplinkDataFrame
We want to be able to execute arbitrary SQL on top of a SplinkDataFrame and return either:

A splink dataframe, (using _execute_sql_against_backend)
A pandas dataframe, (here we don't want to use '_execute_sql_against_backend' method, because that method doesn't give you control over materalisation of table)

I think for the sake of simplicity I'd probably not bother with the new functionality you've introduced - i.e. ditch the ability to run a SQL query without the results being persisted to the DB.
I'm not sure the new query function will be used often enough to justify this extra complexity
But if you want to introduce it, possibly either we need to

Modify _execute_sql_against_backend so that optionally (using an argument) it can return a pandas or arrow dataframe
Have a separate function implemented against each backend-specific linker that does this.

Or perhaps there could be a lazy version of the SplinkDataFrame.

Another simple option could be to have the def query_sql(self, sql): delete the table if the user asks for a pandas dataframe.
I don't think I'd bother supporting lots of output types.  Just pandas and as a splink dataframe.  If the user wants to do something complex, they can always go via the splink dataframe

Just tweaking athena very quickly -> linting and then I'll merge it.
Are you happy w/ me bumping splink to v3.4.0?

Sounds good to me


cancel recording

is it possible to cancel the recording so that it is not sent to openai and I do not get charged?
atm I only see start/stop

That's a great idea; but not implemented at the moment

it would be great if one could also set an automatic limit for the audio.
To me it has happened a couple of times that I press the hotkey by accident or that I am talking and something comes up and then it keeps recording for a few minutes without me noticing...it would be cool if one can set a configurable limit to: every audio beyond X minutes will be discarded (eventually with a pop up window info)
but having the initial funcionality: a hotkey to just cancel the audio, seems much more useful and less hard to implement
Overall it is pretty amazing the plugin!

Totally not a good idea to set a time limit. i am sometimes reccording meetings or some very long speech and wouldn't like to be cut in the middle. sorry but it's far less unimportant to have a long reccord by mistake than a long one cut in the middle. thanks

Sure, that is why I meant it to be customizable. You would not have to set
one if you do not want to but the option would be nice for people that want
to and do not want to accidentally send hours of audio to openai cause they
forgot to close it
Viele Grüße / Best regards,
Jaime Raldua
On Wed, 31 Jan 2024 at 14:07, Olivier H @.***> wrote:

Totally not a good idea to set a time limit. i am sometimes reccording
meetings or some very long speech and wouldn't like to be cut in the
middle. sorry but it's far less unimportant to have a long reccord by
mistake than a long one cut in the middle. thanks
—
Reply to this email directly, view it on GitHub
https://github.com/nikdanilov/whisper-obsidian-plugin/issues/46#issuecomment-1919070888,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4VG5ZFYMND62GLMAYMIFTYRI6YZAVCNFSM6AAAAABCPRDUT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJZGA3TAOBYHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sure, that is why I meant it to be customizable. You would not have to set one if you do not want to but the option would be nice for people that want to and do not want to accidentally send hours of audio to openai cause they forgot to close it

@jralduaveuthey I found a way workaround to cancel the recording to not get charged:

Open settings
find Whisper settings,
Cut the OpenAI API Key (CTRL/CMD + X)
Go back to the main interface, try to send recording
2 Messages will come up: 1) file size and 2) an error will come up that the API key is missing
Go back to whisper settings, paste the API key
Save, quit, viola.

You're welcome.


[Xcode 8] Move TravisCI tests to run with Xcode 8 and iOS 10

TravisCI already supports Xcode 8 GM. Not sure if everything will work out of the box with TravisCI since some Xcode changes have been causing problems with xctool and xcodebuild but nothing we can't solve eventually.
cc @bestander

Yeah, it makes sense.

@facebook-github-bot label Icebox

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/xcode-8-move-travisci-tests-to-run-with-xcode-8-and-ios-10
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.

@facebook-github-bot close


Generic type parameters are not handled correctly

Generic type parameters are not handled correctly, for example, the following will keep the name Bar<X> and infer Bar.y as a scalar.
type Foo = {
  a: number,
  b: string
}

type Bar<X> = {
  x: number,
  y: X
}

export function bar(): Bar<Foo> {
  return {
    x: 1,
    y: {
      a: 2,
      b: 'hello'
    }
  }
}

Should be able to use resolvedTypeArgumenst as in the promise code:
  // PROMISE
  // TODO: https://github.com/hasura/ndc-typescript-deno/issues/32 There is no recursion that resolves inner promises.
  //       Nested promises should be resolved in the function definition.
  if (type_name == "Promise") {
    const inner_type = ty.resolvedTypeArguments[0];
    const inner_type_result = validate_type(root_file, checker, object_names, schema_response, name, inner_type, depth + 1);
    return inner_type_result;
  }

Resolved by Generic type parameters are not handled correctly


Possible issue with Xcode 8 beta and Xcode 8 GM

punic build is failing for me when using the toolchain from Xcode 8 beta 6 and Xcode 8 GM.
$ xcode-toggle -l                                                                      8:06pm
/Applications/Xcode-7.app
/Applications/Xcode-beta.app
/Applications/Xcode.app [Current]
$ punic build                                                                          8:06pm
Traceback (most recent call last):
  File "/usr/local/bin/punic", line 9, in <module>
    load_entry_point('punic==0.1.15', 'console_scripts', 'punic')()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 542, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2229, in load
    return self.resolve()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2235, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/site-packages/punic/__init__.py", line 10, in <module>
    from .checkout import Checkout
  File "/usr/local/lib/python2.7/site-packages/punic/checkout.py", line 5, in <module>
    from punic.config import config
  File "/usr/local/lib/python2.7/site-packages/punic/config.py", line 117, in <module>
    config = Config()
  File "/usr/local/lib/python2.7/site-packages/punic/config.py", line 40, in __init__
    self.xcode = Xcode.default()
  File "/usr/local/lib/python2.7/site-packages/punic/xcode.py", line 22, in default
    Xcode.find_all()
  File "/usr/local/lib/python2.7/site-packages/punic/xcode.py", line 40, in find_all
    Xcode._default_xcode = [xcode for version, xcode in Xcode._all_xcodes.items() if xcode.developer_dir_path == default_developer_dir_path][0]
IndexError: list index out of range

Same issue selecting /Application/Xcode-beta.app.
Link to the failing line in the source code

Same issue for me, it's definitely linked to Xcode 8/GM because it works when I run the following:
DEVELOPER_DIR=/Applications/Xcode-old.app punic build

So… "works for me" :-)
I'm probably unable to debug without more information... Can you reproduce this with something I can repro?

I've cleaned my laptop and I only have one Xcode installation now and it seems to be working. This is the installations I had:

Xcode-GM.app
Xcode.app
Xcode-beta.app

Let me know if I can provide more infos!

" it seems to be working" and I can't reproduce.
So I'm closing this for now. If you see more problems please re-open!


How can I find the uncaught exceptions  when loading particle?

Sometimes,I make mistakes,something like forget to install modules.So,When I start the app,it just hangs there.
If I don't use Scatter,I will see the error stacks in the console.
Why dosen't Scatter just throw the exceptions?or Can I see the errors in the console?

Try to provide a log function to the Scatter constructor, this will give you a fine grained logging of what's happening in the Scatter internals.
Scatter uses promises, so you can  catch any exception and log it:
scatter.load('your_initial_component')
.then(function(say) {
  say.doSay();
})
.catch(function(err) {
  console.log(err)
})

Thanks!


Design and develop a dashboard that translates LDAP-to-naftoken auth

The idea is to have a dashboard able to talk to a NAF-based fogbow manager without interacting with the  shibboleth federation. It would be nice to use it within a fogbow site.
That ideia is to authenticate using LDAP, then generate a NAF-token based on LDAP information.

The token generated by this dashboard shall have the both the ldap and expiration information. It should be possible to use a --saml option to include saml information into the token

LDAP Authentication developed.


Update README for 0.10.0

Fixes #1125.
Should be merged after the next release, so labeling with "PR: Not Ready".

I will do the WAR part.

Oh, we should probably address #1138 as well.

I'm not so familiar with the image ID and digest honestly. We don't have to add it in this PR, as long as we don't forget to add it soon.

LGTM for the parts not from me. Since it's me who put up the PR, this PR needs an approval from others than me.


Improved metadata validation

The major improvement in this PR is checking if each BOLD nifti file has required and recommended metadata defined.

One thing I would like someone to double check is my use of lists and dictionaries inside async loops. On a few occasions I update externally declared objects inside those loops - it seems to work, but I'm not sure if it works only accidentally (is .push() atomic?).

There's no reason you can't update an externally declared object inside a loop so long as it's accessible from that loops scope. And for grabbing items from inside loops you pretty much have to externally declare objects like you're doing. Javascript is also generally single-threaded so you shouldn't need to worry about true atomicity in the same way you might it other ecosystems. The main thing to worry about with asynchronicity is whether or not events are happening in the order they need to. The "async" library has a lot of tools for ensuring that.
Everything looks pretty good to me and I just tested it in the browser. The only thing I notice is I'm getting a lot more warnings now (but I think that's expected). I'm going to go ahead and merge.
There are a couple things I'd like to do to clean up the code organization. I'll try to get an update and a pull request up pretty soon for you to take a look.


Monitor total number of incoming and outgoing packets

What was wrong?
This is building up on #1569. Nothing was wrong but we want to track more metrics.
How was it fixed?
This adds metrics tracking for total number of incoming and outgoing packets.

To-Do

[ ] Clean up commit history

[x] Add entry to the release notes

Cute Animal Picture

@gsalgado I pinged you for a review. If you want access to the grafana backend I can ask Martin or Peter from the Geth team to create a login for you.


[iOS] Added looking for initOptions array

Thank you @arjanicki, just a quick question did you had a chance to test this update?

@razorRun yes I did. I needed it for my own project.


Documentation improvement

https://github.com/ritz078/embed.js#advanced-options
missing flickr switch in excludeEmbed   comment
https://github.com/ritz078/embed.js#loading-plugin-in-a-block
add an example for use it e.g. with onlick on button

done :smile:

nice!


Wrong bitmap pass to the AI algorithms

Description
Even if the selected layer has no alpha channel, the plugin will give no output if there are alpha pixels in the image.
Steps to reproduce

Open any image with GIMP.
Remove the alpha channel of the layer if it has one.
Scale down the layer 2x. (1024x1024 will be 512x512)
3.1. You will notice an alpha space around the layer.
With the scaled layer selected, apply it a GIML plugin.
4.1. MonoDepth is a quick test.

What happened?

No output for any of the available GIML plugins.
If there is an output, will be a duplicate of the selected layer.

What should happen?
There should be a new layer output of the plugin with the desired effects.
Workaround

Select the layer.
File > Create > From Clipboard
Apply the plugin.

Versioning
 - OS Version: MX Linux 19.2 amd64
 - GIMP Version: 2.10.20

check now

Open GIMP
Layer > GIML-ML > update...
Follow the Steps To Reproduce

KMeans
Traceback (most recent call last):
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 740, in response
    dialog.res = run_script(params)
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 361, in run_script
    return apply(function, params)
  File "/home/jeanfar/git-clones/GIMP-ML/gimp-plugins/monodepth.py", line 54, in MonoDepth
    createResultLayer(img, 'new_output', cpy)
  File "/home/jeanfar/git-clones/GIMP-ML/gimp-plugins/monodepth.py", line 40, in createResultLayer
    region[:, :] = rlBytes
TypeError: string is wrong length

MonoDepth
Traceback (most recent call last):
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 740, in response
    dialog.res = run_script(params)
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 361, in run_script
    return apply(function, params)
  File "/home/jeanfar/git-clones/GIMP-ML/gimp-plugins/monodepth.py", line 54, in MonoDepth
    createResultLayer(img, 'new_output', cpy)
  File "/home/jeanfar/git-clones/GIMP-ML/gimp-plugins/monodepth.py", line 40, in createResultLayer
    region[:, :] = rlBytes
TypeError: string is wrong length

Deblur
Traceback (most recent call last):
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 740, in response
    dialog.res = run_script(params)
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 361, in run_script
    return apply(function, params)
  File "/home/jeanfar/git-clones/GIMP-ML/gimp-plugins/deblur.py", line 44, in deblur
    createResultLayer(img,'deblur_'+layer.name,pred)
  File "/home/jeanfar/git-clones/GIMP-ML/gimp-plugins/deblur.py", line 25, in createResultLayer
    region[:,:]=rlBytes
TypeError: string is wrong length

Image > Fit Canvas to Layers

All works as expected.

@datalot-369  how about now?

Unexpected fix, but it works.

Thank you Krity!

@kritiksoman There's no need for that error message, though. You can just pass layer.width and layer.height to createResultLayer() and use them instead of img.width and img.height here https://github.com/kritiksoman/GIMP-ML/blob/master/gimp-plugins/monodepth.py#L38
Also, have you considered moving the common GIMP<->PyTorch translation functionality into a shared Python module, so it's easier to fix bugs like this? Something like https://github.com/valgur/GIMP-ML-Hub/blob/master/plugins/_plugin_base.py. Feel free to ignore the XMLRPC functionality as that's only relevant if you want to run models in a separate Python 3 process.
Using such a module from a plugin script only requires the addition of
import sys
from os.path import dirname, realpath
sys.path.append(realpath(dirname(__file__)))

for the local import to work reliably in GIMP.


Istio generic service registry based on Etcd

@andraxylia commented on Thu Jun 01 2017

@rshriram commented on Tue Jun 27 2017
For VM/CF environments with no service registry solution in place, it would be beneficial to provide a simple service registry implementation based on Etcd backend. The idea is not to provide a full fledged service registry implementation, until requested for by end users. Instead, the focus should be enabling VMs, CF apps and other non-k8s environments to get bootstrapped quickly. Towards this goal,
the first cut (for 0.2 release) would focus on providing a simple service registration agent (perhaps as part of the proxy agent itself), that does the following:

Reads registration information from a user provided configuration file. The configuration file would describe details such as the ports exposed by the VM/CF app, the names for the ports (http|https|gRPC|http2|tcp), the name of the service with which the VM instance is associated with, tags associated with the VM instance if any, and the service registry with which this VM is associated with (scope).
Obtains the local IP address (through the interface/obtained from config file) and registers the VM instance with the Istio service registry service (whose schema closely follows the Istio service model).
The question of who provides periodic heartbeats/health checks to the service registry is still open. If Envoy's HDS API lands on time, this can be re-used(?).

The simple file configuration based approach allows folks to easily distribute the (static) service registration information (except endpoint IP) via things like Git, and/or embed them into their VM/CF images.
Per offline discussions with @louiscryan the registry API would be a very simple hierarchy of 3 resources: registry -> service->endpoint, where each resource has a name, metadata and standard CRUD semantics. (the registry level resource allows for named registries with ACLs - not part of 0.2).
Docs to follow.
cc @kyessenov @ldemailly @zitroij @louiscryan @andraxylia @ijsnellf

@ldemailly commented on Mon Jul 24 2017
hopefully we go for option A and we're done. otherwise this will be for 0.3+

@rshriram commented on Mon Jul 24 2017
Its not that simple. K8S does not have a good API for registering endpoints. The one that is currently present is limited (no tags, etc.) as per Saurabh in the istio-environments list.

@kyessenov commented on Mon Jul 24 2017
Lack of tags on endpoints can be worked-around by attaching labels to NetworkEndpoint object, but it's not pretty.

@rshriram do we still need this?

Nope. Thats why I closed this.

I believe this can be closed because we now support ServiceEntrys.

This will be solved in Pilot by Pilot Decomposition. There is no concrete use case for etcd registry other than a quick bootstrap, for which the file base registry used by the testing framework might be preferable.


Add dialog role to editor find widget

This addresses adding semantic labels to the non-modal "Find" dialog. See issue #172861 The biggest issue this addresses is that the "Close" button had no programmatic relationship with the dialog and therefore it was unclear that the control was associated with the dialog from a screen reader perspective. Adding the dialog role provides grouping for all controls within the dialog. Additionally, this moves the close button out of the find find-part element. The reason for this is that find-part represents a semantic group of controls which are associated with the find input. The close button relates to the dialog, but not to the associated form group, therefore needs to be outside of this element.  For issues related to programmatic grouping of input controls see #167885.

This uses absolute positioning of the close control to be consistent with other cases where the controls are positioned outside of the usual flow. Not using flex hurts me just a little bit, but this maintains pixel perfect layout when compared to the previous version. Tab order of the control is also unchanged. This changes the screen reader output as tested in the following screen readers:
VoiceOver
this change

Find slash replace find, dialog, with 8 items, Find, edit text

<tab to close button>

Close escape, button, group

<tab to exit dialog, shift tab into dialog>

Find slash replace, dialog, with 8 items, close escape, button, group, main

orig

Find, edit text

<tab to close button>

Close escape, button, group

<tab to exit dialog, shift tab into dialog>

Close escape, button, group, main

NVDA
this change

Find slash replace dialog, Find edit multiline blank

<tab to close button>

Close, escape, button

<tab to exit dialog, shift tab into dialog>

Main landmark, Find slash replace dialog, close, escape, button

orig

Find edit multiline, find, blank

<tab to close button>

Close, escape, button

<tab to exit dialog, shift tab into dialog>

Main landmark, close, escape, button

JAWS
this change

Find slash Replace dialog, Find edit Contains text, type in text

<tab to close button>

Close left paren escape right paren button, to activate press enter

<tab to exit dialog, shift tab into dialog>

Main region, large dot ts, Find slash replace dialog, Close left paren escape right paren button, to activate press enter

orig

Find edit Contains text, type in text

<tab to close button>

Close left paren escape right paren button, to activate press enter

<tab to exit dialog, shift tab into dialog>

Main region, large dot ts, Close left paren escape right paren button, to activate press enter

Thanks for the contribution, it looks great to me. @meganrogge is now driving our accessibility story in editor along with @isidorn , let's put together a plan item for March, in case I don't get a chance to review and test this PR.

Thanks for the contribution, it looks great to me. @meganrogge is now driving our accessibility story in editor along with @isidorn , let's put together a plan item for March, in case I don't get a chance to review and test this PR.

Hi @meganrogge and @rebornix, it's been a while so I merged and verified that this PR is still producing the same behavior shown above. There did not appear to be any conflicts. Thanks!

Tested locally and this is working great. Thank you @jjaeggli


Remove annoying message in checkConditions when model assumptions for…

… checks to be valid are not met.
Fixes #319

@pkofod can you write a release note for this?  The title of the PR is not quite clear enough for me to understand what this does.

"Make checkConditions() less verbose when the checks are not actually performed by converting a print statement to an inline comment."


Add pipe and Lukkit to APIs

I added my pipe API and Lukkit (https://github.com/lukkit/Lukkit) to the API file^^

Thank you for your contribution!


Internal Rust cleanup

JsRouteSnapper vs RouteSnapperMap  responsibilities are unclear. Waypoint and PathEntry should maybe be the same.
... and other cleanups. The current code is a total mess, basically.

I tried to describe the current behavior as a finite state machine, in the hopes that it'd be easier to understand or visualize. Here are notes, incomplete:

how do we characterize current state?

list of waypoints (snapped node or free pt)

freehand vs snap mode

holding shift, or it could be onscreen control

area or route mode (and then should we extend or not?)

mode

neutral
hovering on waypt
dragging (orig index, current waypt)
freehand at a pt

try again with states, higher level

route mode, extend off

0 points, hovering shows a possible point
1 point, hovering shows a possible route
2 points, hovering only works on existing points

area mode

< 3 points, hovering shows a possible point
at least 3, hovering only works on existing

what're the events that happen?

mouse moves

what do we wind up hovering on?
is this a drag or not? (rewrite it)

click

might mean add a point, or might mean delete existing point

dblclick
dragstart
mouseup (aka dragend)
enter key to finish
keydown shift
keyup shift

whats the action and possibly state transition?
can we express pairs better?

click a free pt, a new waypt, an existing waypt, an intermediate pt


[WIP] pr for ui debugging

DO NOT MERGE

Codecov Report

Merging #6933 (d075f81) into master (5dac15b) will decrease coverage by 30.45%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #6933       +/-   ##
=============================================
- Coverage     73.44%   42.99%   -30.46%
+ Complexity       12        7        -5
=============================================
  Files          1431     1431
  Lines         70616    70616
  Branches      10220    10220
=============================================
- Hits          51863    30360    -21503
- Misses        15313    37632    +22319
+ Partials       3440     2624      -816

Flag
Coverage Δ
Complexity Δ

integration
42.99% <ø> (-0.06%)
7.00 <ø> (ø)

unittests
?
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Add parent to the service manual topic example.

We are going to use the links->parent array to generate the breadcrumb for a topic in government-frontend for the service manual.
The content_id is made up. The /service-manual page doesn't exist in the real world yet. The right thing to do?

I'd say that the right thing to do is to publish a service-manual page. There is a "special route publisher" method in gds-api-adapters which you can use to register a route with a content_id at deploy time - see for example how it's done in publisher.

@danielroseman Thanks.
The thing is, we're going to actually avoid publishing the root page until later. For now we're going live (as in publishing, not production (we're already in production)) with topic pages.
Maybe we could use the old /service-manual/ page, but that doesn't seem consistent to me?

I wonder if perhaps we should just remove the content_id from the example. We won't be sending one from the publisher for quite some time.

That wouldn't be valid - the content_id is required

This is a content_id in links->parent. Which looks like it's also required :) Blast.

I've updated the content_id from the special_route as per https://www.gov.uk/api/content/service-manual.
Thank you all for the tips :bow:

Change of plan. We're going to create a service manual specific topic instead so this file will get moved/deleted.


Fix Incorrect docstring in mrc.core.coro

Description

Include MRC libs with quotes not <>
Add MRC version string to coro module (all the other Python modules have this)
Fix spelling mistake in a comment in python/mrc/core/executor.cpp

Closes #492
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.

/merge


CLI Use/Documentation

I'm trying to use the Instance Scheduler CLI per the AWS documentation.  https://docs.aws.amazon.com/solutions/latest/instance-scheduler/appendix-a.html
Upon downloading the zip from here, https://s3.amazonaws.com/solutions-reference/aws-instance-scheduler/latest/scheduler-cli.zip, and unzipping it does not contain the setup.py file.  Digging into the source code here on GitHub I found the setup.py file separate from the scheduler_cli folder.
Can you clarify what steps are needed to get the CLI working?  Also, updated documentation and/or including the setup.py file in with the zip is necessary for this to work.

I'll open a support ticket on this to get a faster response.

Disregard me opening this issue.  Looking back at this again, and the setup.py file is indeed in the zip.


ASC auto renew

Please clarify what is the meaning of the following note
"Beginning September 23 2021, App Service certificates require domain verification during renew or rekey if you haven't verified domain in the last 395 days. The new certificate order remains in "pending issuance" during renew or rekey until you complete the domain verification."
my ssl certifiate requires a yearly domain verification, and there is no such 395 days requirement on GoDaddy, GoDaddy simply mention you are required to complete domain verification when you renew the SSL cert.

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

ID: cc2ee874-df45-1de2-1b30-1fd75c7fd709
Version Independent ID: ee181722-8386-9842-407f-d0549012d2e9
Content: Add and manage TLS/SSL certificates - Azure App Service
Content Source: articles/app-service/configure-ssl-certificate.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

If you are going to renew/rekey your certificate, and it's been > 395 days since you last verified domain ownership, you would be required do verify domain ownership again in order to have the new certificate be issued to you. If it's been < 395 days, your certificate will be automatically issued again without additional action needed from you.
Let's say your cert renews 10/01/2022 and you did your verification on that day as well, so your cert gets issued that same day on 10/01/2022. If you're renewing again on 10/01/2023, no action is required from your end since 395 days from the last verification date (10/01/2022) won't be until 10/31/2023 (estimated). However, if you are renewing on 10/01/2024, you then would need to verify domain ownership for that since it's been more than 395 days since last verification.
The other example is, let's say from that renewal on 10/01/2023 that didn't require domain verification, you needed to rekey the certificate later on 12/01/2023. For that rekey, you would need to do domain verification because it's been more than 395 days since last verification.

elvischau, We'd a discussion on this internally. Hope the detailed insights from yutanglin16 (our App Service PG) was helpful. We will now close this thread. If you have any questions please just let us know. Thanks!


[core] move core-cryto code into core-util

The core-crypto only contains two helper methods.  It may be better to consolidate it into core-util so we don't have to maintain two separate packages.

I don't find any usage of core-crypto package in current repo though.
I didn't move the web worker tests over as they require custom test rollup configuration.  I don't feel the tests valuable enough to do that.

API change check for @azure/core-util
API changes have been detected in @azure/core-util. You can review API changes here
API changes
+ export declare function computeSha256Hash(content: string, encoding: "base64" | "hex"): Promise<string>;
+ export declare function computeSha256Hmac(key: string, stringToSign: string, encoding: "base64" | "hex"): Promise<string>;


Minified script doesn't include Source Map comment

Great plugin, we're using this a lot here. The only issue we have is that the output doesn't include the link to the source-map.
Without this, the map file is never loaded. We're currently doing this manually, but it would be great if you could add this in. If you'd like, we could do it and you could merge the change?
//# sourceMappingURL=script.min.js.map

Will appear on the next release, but it may take some time as I'm in the middle of 2.0 release. I hope you can make a local fix meanwhile, and thank you for the data!

Amazing. Do you have a new icon for the next release? I have something in mind if you're open to it?

New icon? Currently the extension has no icon, and I have not consider it to have one... What do you have in mind?

Found a way to release a pending feature without making incompatible the next release with previous versions, therefore v2.0.0 can wait for later, and this bug has been fixed in v1.9.3.


Threaded downloading using too much RAM

 Issue by CameronSima
Fri Dec 20 12:50:43 2019
Originally opened as https://github.com/codelucas/newspaper/issues/758

When using threaded downloading of Sources, even with 1-2 threads and 1 source at a time, RAM usage steadily increases from around 200m all the way up to 5GB or more, eventually crashing.

new threading model implemented in v 0.9.2


Create Wiki page for documentation

What's the Problem?
Documentation for repo's missing.
Solution/Idea
Should we create Wiki page for this repository for create documentation for final user, developers and translators.
Alternatives
Link for documentation on devtoys.app/docs or whatever.
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

DevToys Version
No response
Comments
No response

Hi,
This is now resolved with DevToys 2.0: https://devtoys.app/
Thanks!


No changelog?

As far as I can tell, this crate doesn't appear to have a changelog, and the Git tags visible on GitHub are all for very old versions (and apparently from the ogham/ansi-term repo). Is there a changelog available for this crate, and if not, would the maintainers consider adding one?

Sorry that we didn't tag the new versions. The changelog will probably take some archeology work. This fork lived for a while inside the main nushell tree as a crate inside the workspace. So a series of version bumps was actually meaningless and only due to regular nushell releases. @fdncred we should probably get around and document our changes properly, for other projects to use the crate in lieu of updates to the source repository.

Ugh, documentation. LOL.  Agreed, it will take digging throught the commit log to generate a change log. I originally added this crate to have an easier way to access "Bright" ansi colors, but there have been a few more changes since then.

Should we close this issue? Now this PR has been merged? Or is there any other pending tasks to be done?

Good idea.


[Bugs] N3IWUE fails to run twice or reconnect

Describe the bug
After connecting the N3IWUE once, if it's killed trying to reconnect fails. AFAIK this happens because a XFRM interface isn't released on N3IWUE device exit and trying to recreate it results in a "file exists" error in free5GC
To Reproduce
Steps to reproduce the behavior:

Install free5GC v3.4.2

Configure free5GC and N3IWF

Install n3iwue v1.0.1

Configure N3IWUE

Start free5GC with -n3iwf parameter

Start the N3IWUE

Wait until N3IWUE finishes the initial setup and ping test

Kill N3IWUE

Start the N3IWUE once again

N3IWF gives errors
[ERRO][N3IWF][IKE] Set XFRM rules failed: file exists
[ERRO][N3IWF][IKE] Applying XFRM rules failed: Set XFRM state rule failed

N3IWUE crashes with error
[FATA][N3UE][IKE] panic: runtime error: invalid memory address or nil pointer dereference

Expected behavior
The N3IWUE could be able to reconnect
Screenshots
N/A
Environment (please complete the following information):

free5GC Version: v3.4.2
OS: Ubuntu Server 20.04.6
Kernel version: 5.4.0-189-generic
go version: go1.21.6 linux/amd64
c compiler version (Option): 9.4.0

Trace File
Configuration File
free5gc-config.zip
n3ue.yaml.txt
PCAP File
n3ue.pcap.txt
If really required, I can capture it on free5GC later on
Log File
free5gc-logs-n3iwf-error.txt
n3iwue-crash-logs.txt
System architecture (Option)
free5GC from scratch on VM (IP: <IP_ADDRESS>)
N3IWUE on a separate VM (IP: <IP_ADDRESS>)
Use case: Simulating a connection loss or temporary interference on N3IWUE
Walkthrough (Option)
N/A
Additional context
This issue happened in free5GC v3.4.1 and N3IWUE v1.0.0 too but I didn't have time to test and report it yet
Perhaps some signaling message could be sent to the N3IWF to release any interfaces connected to the N3IWUE on its exit. Or another measure could be taken such as in UERANSIM that doesn't have the same issue.
If free5GC/N3IWF and N3IWUE are both restarted, then N3IWUE can connect successfully again

So, I did some tests and found a temporary workaround for the error on N3IWF
Considering the following state of the environment:

free5GC + N3IWF is running
N3IWUE is installed on another VM
N3IWUE is correctly added to free5GC's subscriber DB

Execute this:

Run N3IWUE run.sh
Wait until the message [INFO][N3UE][APP] Keep connection with N3IWF until receive SIGINT or SIGTERM appears
Kill the N3IWUE script
On free5GC's VM issue the command sudo ip xfrm state deleteall
Run N3IWUE run.sh again
Now it will run successfully

I get this message on the second run [WARN][N3UE][IKE] Unimplemented infromational message but didn't have time to investigate it yet
Perhaps the signaling I suggested on my previous message could implement a trigger for the command from step 4 (or some variation of it that don't affect other N3UEs running, because this one drops everything). However, I'm not sure if doing this would violate some 3GPP specification.

Hi, @oliveiraleo,
We will trace this issue, thanks !
Best Regard,
James

Hi, @oliveiraleo
We fixed this issue, please update udr, n3iwf, n3ue to the latest commit
BRs,
James

Hello @a3828162
I can confirm the bug was fixed, thanks a lot for that.
I'm gonna leave below the instructions I've followed to test the fix just in case someone else needs it:

Install free5GC nightly (I tested with commit a39de62)
Update UDR and N3IWF to nightly:

cd free5gc/NFs/udr/
git checkout ee6e0c8
cd ../n3iwf/
git checkout 9fe155e
cd ../../
make n3iwf udr # rebuild those NFs with the new code pulled

Clone N3IWUE nightly on another machine

git clone https://github.com/free5gc/n3iwue.git
make

Note: Commit with the fixes referenced on this issue is c2662c7
4. Add N3IWUE to free5GC if not already done
5. Start free5GC + N3IWF and wait for it to load (e.g. Received PFCP Association Setup Accepted Response from UPF[<IP_ADDRESS>])
6. Start N3IWUE and wait for it to load (i.e. [INFO][N3UE][APP] Keep connection with N3IWF until receive SIGINT or SIGTERM)
7. Kill N3IWUE with SIGTERM
Example output on free5GC's side:
2024-08-29T11:06:17.393956126Z [INFO][AMF][Ngap][ran_addr:X.X.X.10/<IP_ADDRESS>:59197] Handle UEContextReleaseComplete
2024-08-29T11:06:17.394013856Z [INFO][AMF][Ngap][amf_ue_ngap_id:RU:0,AU:1(Non3GPP)][ran_addr:X.X.X.10/<IP_ADDRESS>:59197] Handle UEContextReleaseComplete (RAN UE NGAP ID: 0)
2024-08-29T11:06:17.394085465Z [INFO][AMF][Ngap][ran_addr:X.X.X.10/<IP_ADDRESS>:59197] Release UE[imsi-208930000001234] Context : Release Ue Context
2024-08-29T11:06:17.394112355Z [INFO][AMF][CTX] AmfUe[imsi-208930000001234] is removed

Example output on N3IWUE's side:
2024-08-29T11:18:36Z [INFO][N3UE][Init] Terminating N3UE...
2024-08-29T11:18:36Z [INFO][N3UE][Init] Deleting interfaces created by N3UE
2024-08-29T11:18:36Z [INFO][N3UE][APP] Delete interface: ipsec-1
2024-08-29T11:18:36Z [INFO][N3UE][APP] Delete interface: ipsec-2
2024-08-29T11:18:36.499274588Z [INFO][N3IWF][IKE] Decoding IKE message
2024-08-29T11:18:36.499316587Z [INFO][N3IWF][IKE] Decoding IKE payloads
2024-08-29T11:18:36.499322747Z [INFO][N3IWF][IKE] [Encrypted] unmarshal(): Start unmarshalling received bytes
2024-08-29T11:18:36Z [INFO][N3UE][IKE] Handle Informational
2024-08-29T11:18:36Z [WARN][N3UE][IKE] Unimplemented infromational message
2024-08-29T11:18:36Z [INFO][N3UE][APP] Delete interface: gretun-id-2-1
2024-08-29T11:18:36Z [INFO][N3UE][APP] Delete interface: gretun-id-2-3
2024-08-29T11:18:36Z [INFO][N3UE][Init] N3UE terminated
[Info] Remove all GRE interfaces
del gre0
[Info] Remove all XFRM interfaces

Run N3IWUE again

Best regards,
Leo.


12567 Fixed Notebooks not adding to recent connections

Changed tryAddActiveConnection to always add recent connection

This PR fixes # https://github.com/microsoft/azuredatastudio/issues/12567

Pull Request Test Coverage Report for Build 334190959

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.003%) to 39.636%

Files with Coverage Reduction
New Missed Lines
%

src/sql/workbench/services/connection/browser/connectionManagementService.ts
1
76.38%

Totals

Change from base Build 333993046:
-0.003%

Covered Lines:
20569

Relevant Lines:
47670

💛  - Coveralls

Why are we trying to push this through without anyone on the notebooks team being on the PR?

For additional context for people looking at this - the change to not add connections to the MRU was done by me here : https://github.com/microsoft/azuredatastudio/pull/6254
It seems reasonable to me to add the connections to the MRU - the original issue seemed mostly to be centered around the connection creating a new saved connection by default. So I think the fix here is to make it so that the connections are added to the MRU but make sure we keep the behavior of it not being added as a saved connection.

@Charles-Gagnon what's the current behavior for the query editor? Does it not add to MRU?
Just want to make sure we have consistent behavior here with these two scenarios.

Query editor will add it to the MRU but not save it by default when connecting through connect/change connection

(you can have it save the connection by selecting the "Save Connection checkbox though)
I agree we should have a consistent experience here - I'm not sure why I did it this way to begin with but currently this doesn't seem to me to be what I would consider the expected behavior.


Adding support to transfer LP tokens

Potentially for multi token standard, we want the "id" to be a string. So it's more generic.


router: Increase the maximum direct response body size to 1MiB

Commit Message: Increase the maximum direct response body size to 1MiB
Risk Level: Low
Testing: Unit test
Docs Changes: Update maximum body size in bytes
Release Notes: docs/root/version_history/current.rst

There is an issue and a PR open to make this value configurable:
https://github.com/envoyproxy/envoy/issues/12431
https://github.com/envoyproxy/envoy/pull/13487/files
However, the PR has been inactive for >1 month and for my purposes a larger hard-coded value would work. I would be happy for this change to be merged or, even better, inspire the PR to make this value configurable to become active again :)

There is an issue and a PR open to make this value configurable:
https://github.com/envoyproxy/envoy/issues/12431
https://github.com/envoyproxy/envoy/pull/13487/files
However, the PR has been inactive for >1 month and for my purposes a larger hard-coded value would work. I would be happy for this change to be merged or, even better, inspire the PR to make this value configurable to become active again :)

@dio @zuercher  Can you take a look please? The linked PR looks stale but looked in good shape.

@dio @zuercher  Can you take a look please? The linked PR looks stale but looked in good shape.

@dio @zuercher  Can you take a look please?
Supplying this value through a config value seems like the right way to me, the PR is stale but looks in good shape.

@dio @zuercher  Can you take a look please?
Supplying this value through a config value seems like the right way to me, the PR is stale but looks in good shape.

+1 I'm not sure why the other PR is stalled but let's just finish it out, so I'm going to close this one.

+1 I'm not sure why the other PR is stalled but let's just finish it out, so I'm going to close this one.


Use of undefined constant MT_RAND_PHP

Hi, I'm trying to run a test using the Faker with PHP7 and I'm getting the following message, it looks like that constant is not defined? Where should it be?
Use of undefined constant MT_RAND_PHP - assumed 'MT_RAND_PHP'

/Users/mburak/Dev/facebook-instant-articles-sdk-php/vendor/fzaninotto/faker/src/Faker/Generator.php:215

Which is your precise PHP version?

I'm actually using HHVM with PHP7 compatibility... is there anything you think might work?

It seems HHVM isn't really compatible with PHP7... And I don't want to try and support it. So, closing this issue.


Removing extra checks for logging memory in recipes

@SalmanMohammadi  Can you explain this one?

@joecummings it relates to this comment https://github.com/pytorch/torchtune/pull/1872#discussion_r1812854706


How do I use this?

How can I plug this into my existing docs? I pip installed this then tried adding it to the extensions in my conf.py:
$ make html
Running Sphinx v1.8.4

Extension error:
Could not import extension sphinx-notfound-page (exception: No module named 'sphinx-notfound-page')
make: *** [html] Error 2

Actually, figured it out by looking for the setup function in the source:
Add 'notfound.extension' to the extensions in your conf.py

Hi! Thanks for posting that you figured it out and the solution.
I'm pending on writing the docs #1
Feel free to open another issue if you need more help.


Leader table setting

Changing table password and table name

closed because #72 is merged to master successfully
current pw display will be put into enhancememt list


Error occurred when executing DownloadAndLoadMimicMotionModel:  Cannot load from D:\ComfyUI_windows_portable\ComfyUI\models\diffusers\stable-video-diffusion-img2vid-xt-1-1 because the following keys are missing:

Error occurred when executing DownloadAndLoadMimicMotionModel:
Cannot load from D:\ComfyUI_windows_portable\ComfyUI\models\diffusers\stable-video-diffusion-img2vid-xt-1-1 because the following keys are missing:

the same


Cannot update firmware (AEGHB-154)

I just received ESPBox today, at the begining following user guide it says to open "network" settings , but i had no network settings no matter where i clicked on the screen. So i thought to update firmware, i followed guide to update to v0.30 by using ESPLaunchpad, Launchpad stuck on 7% ... i rebooted and tried again Launchpad stuck at 1%
esptool.js
Serial port WebSerial VendorID 0x303a ProductID 0x1001
Connecting....
Detecting chip type... ESP32-S3
Chip is ESP32-S3
Features: Wi-Fi,BLE
Crystal is 40MHz
MAC: 7c:df:a1:e7:9b:c0
Uploading stub...
Running stub...
Stub running...
Changing baudrate to 921600
Changed
Not changing the image
Compressed 14876672 bytes to 8457110...
Writing at 0x0... (0%)
Writing at 0x2062d... (0%)
Writing at 0x2a3da... (0%)
Writing at 0x38b74... (0%)
Writing at 0x4373e... (0%)
Writing at 0x4d001... (1%)

Then i tried windows Flash tools and it did not work, as soon as i click on START button changes to FINISHED, ESP BOX is now on black screen.
I also tried boot mode by holding BOOT button while plugging USB cable,still black screen,
Can somone help setting the device?

我与你遇到了相同的问题。请问你解决了吗？

我与你遇到了相同的问题。请问你解决了吗？

I used esptool-v3.3.3-win64 to flash

I also solved this problem by using the third-party library esptools in Python and successfully flashed the firmware in CMD

Hi, if you don't have any questions, please close this issue. Thank you!


2 Missing items on route 128 (Ocean)

Hi!
There's 2 hidden items in the ocean of route 128 missing from the map. I marked the exact spots with X's. I'll add more zoomed in images below.

1 in the corner of a rock just north of the fisherman.

1 on the right side of the walkable patch in front of a rock.

Thanks for making such an amazing map, Kelsey! The Emerald Ironmon streamers send their massive thanks!

Fixed and deployed