fix: 버그 수정

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


doc: Create a start-from-zero guide to become a new contributor

What this PR does:
Create a start-from-zero guide to become a new contributor
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

@ZLBer @zhenjunMa Hi, could you please help review this guide ~


Sync with EF Core 3.0.0 preview3

Following on work done by @Brar in #833, this PR brings EFCore.PG up to date with the recently released preview3 on nuget.org.
@austindrenski @YohDeadfall a quick review would be appreciated as we should publish soon. It shouldn't be too hard.

Push-forced with @YohDeadfall suggestions, @austindrenski waiting on your sign-off.

Is there a reason this (and other pull requests) doesn't show up in the unstable MyGet feed?
From my understanding of /.build/setup_appveyor.ps1 it should?
(The part that is commented out doesn't seem necessary).
It would be helpful for testing if it did.

@austindrenski sorry to badger, but any way for you to do a quick sign-off on this (or let me know if you don't have the time)? I'd really like the release this ASAP...

@Brar I think the work on making Appveyor build PRs was never completed (in some way), and now we have an outstanding PR for switching to Azure Devops instead... Hopefully this will just get merged very soon...

@austindrenski I ended up merging this and releasing preview3, hope that's OK.


Error when trying to debug from device

After following the instructions to run my app on a device I still got an error when I shook the device and tried to enter debug mode:
[RCTWebSocketExecutor.m:108] WebSocket connection failed with error Error Domain=NSPOSIXErrorDomain Code=61 "The operation couldn’t be completed. Connection refused"
2015-04-16 16:35:58.255 [error][tid:main][RCTWebSocketExecutor.m:50] Connection to http://localhost:8081/debugger-proxy timed out. Are you running node proxy? If you are running on the device check if you have the right IP address on `RCTWebSocketExecutor.m` file.

With help from @vjeux on IRC we got it down to RCTWebSocketExecutor.m#L33 where localhost is hardcoded.
Hardcoding my current IP address in there fixed the issue for me but the actual fix will obviously involve passing through the value of jsCodeLocation.

There are two other urls that are suspiciously hardcoding localhost:
https://github.com/facebook/react-native/blob/862d9fba09046b6ca82bcc75197de69cbfb8fa41/React/React.xcodeproj/project.pbxproj#L465
https://github.com/facebook/react-native/blob/862d9fba09046b6ca82bcc75197de69cbfb8fa41/React/Base/RCTRedBox.m#L85
cc @frantic

This works, thanks..

Is there some solution to this? I've written a script that switches these by finding and replacing but it seems janky.

@jtremback - this is being tracked in #1429 now, PR welcome!

@brentvatne wasn't there another PR where someone had written objC code to switch the IP?

@jtremback - hmm, it sounds vaguely familiar but having looked through several hundred issues in the last few days I'm having a hard time remembering exactly, if you find it let me know

#6362 and #6345 both have a go at fixing this issue


[popup] Display ee Last Login and Last Password Reset from user tab

From Salesforce Inspector Reloaded when viewing a User I'd love to be able to see when the last logged in and the last password reset

Hi Tom,
I was trying to figure out how to display those information without overloading the popup with many information and I could suggest this kind of thing:

I'll may reduce the icon size and change the grey to a lighter one but this is the idea

Maybe two 'pills' next to each other would fit side by side with the hover
text for the help text ?
Not sure those icons are the best choice.
On Fri, 26 Jul 2024, 10:42 Thomas Prouvot, @.***> wrote:

Hi Tom,
I was trying to figure out how to display those information without
overloading the popup with many information and I could suggest this kind
of thing:
image.png (view on web)
https://github.com/user-attachments/assets/a6355652-3550-44b9-8d87-7466071b0a19
I'll may reduce the icon size and change the grey to a lighter one but
this is the idea
—
Reply to this email directly, view it on GitHub
https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/487#issuecomment-2252363717,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASI4EJ3PP7ECRIQ6GLT3EUDZOIKWTAVCNFSM6AAAAABKZJTGTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJSGM3DGNZRG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


vmware powerclicore error on "boot" in Docker OS X

Running Docker Community Edition
Version 17.03.0-ce-mac2 (15654)
Channel: stable
1d7d97bbbd
Just re-downloaded the image:
Loading personal and system profiles took 3482ms.
nnPS /powershell> nn
Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 0 Keys:
Exception:
System.DivideByZeroException: Attempted to divide by zero.
   at Microsoft.PowerShell.PSConsoleReadLine.Initialize(Runspace runspace, EngineIntrinsics engineIntrinsics)
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
-----------------------------------------------------------------------

Duplicate of #425.


Add gridsome-plugin-ackee to Related in README.md

Today I stumbled upon Ackee in my search for a privacy-friendly open source analytics package for my new Gridsome project, and I found out there wasn't a plugin for Gridsome yet. I whipped one up and I bet some folks visiting this repo might find it useful, so I thought I'd add it here.

Pull Request Test Coverage Report for Build 544

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

Totals

Change from base Build 543:
0.0%

Covered Lines:
448

Relevant Lines:
772

💛  - Coveralls

Awesome. Thanks for creating a Gridsome plugin! :)


viewer not working on mac osx

Using the latest install for both dm_control and mujoco via pypi, the viewer can not render a window on OSX (intel chip).
Script:
from dm_control import suite
from dm_control import viewer
import numpy as np

env = suite.load(domain_name="point_mass", task_name="easy")
action_spec = env.action_spec()

# Define a uniform random policy.
def random_policy(time_step):
  del time_step  # Unused.
  return np.random.uniform(low=action_spec.minimum,
                           high=action_spec.maximum,
                           size=action_spec.shape)

# Launch the viewer application.
viewer.launch(env, policy=random_policy)

Error output:
script_render_dm.py 51 <module>
"/Users/user/mjc/script_render_dm.py", line 51
viewer.launch(env, policy=random_policy)

__init__.py 39 launch
"/Users/user/.virtualenvs/p39/lib/python3.9/site-packages/dm_control/viewer/__init__.py", line 39
app = application.Application(title=title, width=width, height=height)

application.py 187 __init__
"/Users/user/.virtualenvs/p39/lib/python3.9/site-packages/dm_control/viewer/application.py", line 187
self._window = gui.RenderWindow(width, height, title)

__init__.py 34 ErrorRenderWindow
"/Users/user/.virtualenvs/p39/lib/python3.9/site-packages/dm_control/viewer/gui/__init__.py", line 34
raise ImportError(

ImportError:
Cannot create a window because no windowing system could be imported

If your macOS version is Big Sur, this issue might be related to the location of OpenGL libraries.
In my case, the following solved my issue.
Change the following line in ctypesloader.py:
fullName = util.find_library( name )
with:
fullName = "/System/Library/Frameworks/{}.framework/{}".format(name,name)
NOTE: ctypesloader.py is under ~/<virtual-env>/lib/python3.9/site-packages/OpenGL/platform/ctypesloader.py or something similar.
Source

Since the original post is from last week, I presume you're still working with mujoco version 2.1.3?
If that's the case could you please try upgrading to 2.1.4 to see if the issue persists? (In particular, libGLEW is no longer required).

I just upgraded to 2.1.4, same issue sadly persists


Fix for issue #1954 - not throwing on duplicate property

Fix for #1954
Switching from event based to reference based propagation of property metadata changes to allow for full traversals when adding a base type to an existing tree.
@ajcvickers @anpete

Can you describe the change a little more? In particular, the "reference based propagation" approach.

Updated based on feedback

Not sure if there is anything outstanding here...
:shipit: if not.


SDL fullscreen implementation

Implements:

Borderless and exclusive fullscreen.
Cursor confinement.
Dynamic resizing.

Notes:

Needs testing in Linux.
SDL's default implementation of cursor confinement on macOS is not perfect, and the cursor is able to temporarily exit the window until the event loop warps it back.  I believe there is a way of telling SDL to use a different method, will investigate.

SDL event loop process:

Execute any queued commands from property setters (Size, Position, etc.).
Handle all pending SDL events, which may update properties and/or queue On... callbacks.
Poll the mouse position (if the cursor is outside the window) and queue OnMouseMove callbacks.
Execute all On... callbacks.

Ran this on Linux (ubuntu 18.04 + i3wm).

Fullscreen looks to be passing the basic "smoke test" of just trying to turn it on.
Mouse confinement sort of works if I don't change resolution. Getting a weird failure case of:

change resolution to smaller (i.e. 1600x900)
change resolution back to native (but not default, which is 2560x1080 on my setup)
confinement applies for the previous windows size and not the new one; switching to default instantly fixes it

Remembering screen position doesn't really apply on my particular setup (tiling wm) so I haven't tested that; will re-log onto gnome, check and edit this.

Will also give this a quick spin on Windows (hopefully even tonight). Disclaimer - I have not read any source yet.

Windows unfortunately immediately dies with
[runtime] 2020-08-02 20:55:35 [error]: An unhandled error has occurred.
[runtime] 2020-08-02 20:55:35 [error]: osuTK.Graphics.GraphicsContextMissingException: No context is current in the calling thread (ThreadId: 1).
[runtime] 2020-08-02 20:55:35 [error]: at osuTK.Graphics.ES30.ErrorHelper..ctor(IGraphicsContext context) in D:\Open Source\osuTK\src\osuTK\Graphics\ES30\ErrorHelper.cs:line 59
[runtime] 2020-08-02 20:55:35 [error]: at osuTK.Graphics.ES30.GL.GetString(StringName name) in D:\Open Source\osuTK\src\osuTK\Graphics\ES30\ES30.cs:line 16290
[runtime] 2020-08-02 20:55:35 [error]: at osu.Framework.Platform.Sdl.PassthroughGraphicsBackend.Initialise(IWindowBackend windowBackend) in D:\Open Source\osu-framework\osu.Framework\Platform\Sdl\PassthroughGraphicsBackend.cs:line 58
[runtime] 2020-08-02 20:55:35 [error]: at osu.Framework.Platform.Window.Create() in D:\Open Source\osu-framework\osu.Framework\Platform\Window.cs:line 340
[runtime] 2020-08-02 20:55:35 [error]: at osu.Framework.Platform.GameHost.Run(Game game) in D:\Open Source\osu-framework\osu.Framework\Platform\GameHost.cs:line
 538
[runtime] 2020-08-02 20:55:35 [error]: at osu.Desktop.Program.Main(String[] args) in D:\Open Source\osu\osu.Desktop\Program.cs:line 55

which is especially weird seeing that it (a) works on master and (b) there have been no changes in or around context initialisation as far as I can see... Most likely not going to be able to investigate in detail today, however.

@swoolcock have you checked windows after my first try? if not then I will, but I think I saw you mention somewhere that it should work now (although I can't find it now...)

Yes I've tested Windows, worked fine for me.

@bdach when you have the opportunity, please test to make sure your previous issue has been resolved :)

I've tested and it doesn't crash, but I have a couple of gripes. The minor one (in the context of this PR) is that cycling modes using Alt+Enter / F11 seems to not be hooked up yet (might be coming later? not sure) which is annoying for testing.
The major gripes are two scenarios I found with my two-monitor multi-resolution setup. I have two displays (1920x1080 laptop built-in, and 2560x1080 widescreen).
If I change to full screen on the smaller monitor (with the default resolution on), then go back to windowed, move the window to the wider display and go to full screen, it will use the smaller monitor's resolution of 1920x1080, which is not terrible, but could be better.
However, if I change to full screen on the wider monitor, then go back to windowed, move window to smaller display and go to full screen, I get a crash, which is probably not good.

If I change to full screen on the smaller monitor (with the default resolution on), then go back to windowed, move the window to the wider display and go to full screen, it will use the smaller monitor's resolution of 1920x1080, which is not terrible, but could be better.
However, if I change to full screen on the wider monitor, then go back to windowed, move window to smaller display and go to full screen, I get a crash, which is probably not good.
Cursor confinement also works funky. Sometimes it doesn't stop working until an alt-tab if set to fullscreen.

Do these work as expected using the osuTK backend?

Going windowed <-> full screen back and forth on two monitors works fine on osuTK.
Here's a sketch of a potential fix:
diff --git a/osu.Framework/Platform/Sdl/Sdl2WindowBackend.cs b/osu.Framework/Platform/Sdl/Sdl2WindowBackend.cs
index f77d9a988..449c267ff 100644
--- a/osu.Framework/Platform/Sdl/Sdl2WindowBackend.cs
+++ b/osu.Framework/Platform/Sdl/Sdl2WindowBackend.cs
@@ -196,6 +196,9 @@ public override WindowState WindowState
                             break;

                         case WindowState.Fullscreen:
+                            // set window display mode again, just in case if it changed from the last time we were fullscreen.
+                            var fullscreenMode = windowDisplayMode;
+                            SDL.SDL_SetWindowDisplayMode(SdlWindowHandle, ref fullscreenMode);
+
                             SDL.SDL_SetWindowFullscreen(SdlWindowHandle, (uint)SDL.SDL_WindowFlags.SDL_WINDOW_FULLSCREEN);
                             break;

@@ -299,7 +302,12 @@ private SDL.SDL_DisplayMode windowDisplayMode
                     return default;

                 // SDL_GetWindowDisplayMode gets the resolution currently assigned to the window for *exclusive* fullscreen
-                SDL.SDL_GetWindowDisplayMode(SdlWindowHandle, out var mode);
+                if (SDL.SDL_GetWindowDisplayMode(SdlWindowHandle, out var mode) > 0)
+                    return mode;
+
+                // SDL_GetWindowDisplayMode can fail if the window was shown full-screen on a different (especially larger) window before.
+                // if that happens, fall back to first mode for the current display.
+                SDL.SDL_GetDisplayMode(CurrentDisplay.Index, 0, out mode);
                 return mode;
             }
         }

Not sure whether that change is acceptable or not, which is why I didn't push that outright. The window mode set might be a better fit when the current display changes.
The code is a little confusing to modify - there's a lot of similar terms (CurrentDisplayMode, windowDisplayMode) and admittedly it makes my head spin a little.
Can't repro the confining brokenness. Probably was a knock-on effect from the crash that the above patch is proposing to fix.

           if (SDL.SDL_GetWindowDisplayMode(SdlWindowHandle, out var mode) > 0)

This change looks good, except according to the SDL docs, this should be >= 0

The code is a little confusing to modify - there's a lot of similar terms (CurrentDisplayMode, windowDisplayMode) and admittedly it makes my head spin a little.

CurrentDisplayMode is the framework-side DisplayMode defined in IWindowBackend.
windowDisplayMode returns an SDL_DisplayMode retrieved directly from the window handle (hence the window in the property names of windowDisplayIndex, windowDisplayBounds, windowFlags and windowDisplayMode).
I can't really test the multi-display-resolution thing on macOS as both my external monitors have the same resolutions as my primary display.

This change looks good, except according to the SDL docs, this should be >= 0

Hmmm... so this was a bug on my part, yeah, but now if the check is done properly, one of the scenario I described regresses - going fullscreen on small display -> windowed -> fullscreen on big display preserves the display mode from the small display leading to letterboxing.
What do you think about invalidating the stored display mode entirely when switching screens? As in doing the SDL_GetDisplayMode(..., 0, ...) path every time upon a screen switch, not only when the other call fails?
Tested cycling, works fine here.

Sounds good, will do in a bit.

@bdach It's already setting the best possible display mode match for the display when switching to fullscreen.
var fullscreenMode = closestDisplayMode(currentDisplayMode);
SDL.SDL_SetWindowDisplayMode(SdlWindowHandle, ref fullscreenMode);

SDL.SDL_SetWindowFullscreen(SdlWindowHandle, (uint)SDL.SDL_WindowFlags.SDL_WINDOW_FULLSCREEN);

currentDisplayMode is our own type and should only ever be set by the configuration bindable.  It should always be valid.
I'm not sure what else needs to be done in that case.


Clear caches from the runtime hook

Pull Request Description

close #10897
Important Notes

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] All code follows the
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
[x] Unit tests have been written where possible.

@hubertp it seems that clearing caches just before the execution fixes the issue. I cherry-picked your reproducer from #10898 on top of this branch and the visualization tests are passing
sbt:enso> runtime-integration-tests/testOnly *RuntimeVisualizationsTest -- -z "emit visualization update for the target of a method call (subexpression)"


Clean output directory before generation

Right now, if I generate my site, then change the name of a content file, and regenerate, the old generated HTML files stay in the output directory.  This can easily cause me to have duplicate or just plain old data in the output directory.
I read this thread on the forum: https://groups.google.com/forum/#!topic/hugo-discuss/G6LkdLX3frQ
I think that having the default be "wipe the directory before outputting to it" is the safest way to ensure you don't accidentally publish old data.
I think it's important that, by default, Hugo makes sure the output directory always looks the same after generation, regardless of what was in there before.  I need to be able to trust Hugo to make my site directory exactly correct according to the configuration I give it.
For people that want to pre-populate their directory with data outside of what Hugo knows about, then there could be a flag called something like --nowipe to keep from wiping the output directory on generation, but then it would be up to them to delete old generated files.... but I don't think that should be the default behavior, because it can cause hugo to make the directory dirty.

Trying to figure out the status of this issue because I am having similar problems...
Is @whereisaaron's bash script the only solution to this problem at this point?

I wrote this powershell function, which would need to be customized to exclude other files that hugo would not generate:
function hugo-clean-rebuild {
    if(-not (test-path 'config.yaml')) {
        write-warning "current directory does not appear to be a hugo site directory."
        return
    }
    gci -path .\public -exclude ".git", "readme.md" | %{ rm $_ -recurse }
    hugo
}

maybe that will help you (if on windows)
if I were to expand this for general purpose use, I'd probably require a .hugoignore file in public/, read from that, and ignore .git and .hugoignore + glob/regex matching using contents of .hugoignore similar to .gitignore.

I'm closing this as "won't fix" for now.
I don't want to implement/review "delete folders" code in an open source project. There are plenty of effective ways to handle this:

Do a rm -rf in a shell script
Separate dev and prod build targets

@bep - I agree, wrapping hugo tasks in a build/task engine (gulp/grunt?) would definitely take care of this.


Error - tensorflow has no attributeget_default_session()

Hi there, just installed the tensorrec package, tried to run the script, i got the error: if tf.get_default_session() is not None:
AttributeError: module 'tensorflow' has no attribute 'get_default_session' , in session_managment file, searched online, couldn't find anything, just posted here, wondering if i can please get some help.. python version: 3.7.8, tensorflow: 2.2.0, tensorrec: 0.26.2, Keras: 2.1.4 thank you so much

try this
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()

try this
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()

i fixed it as below:
https://github.com/wisonwang/tensorrec/commit/590c7f63b42bdeb9c0b5be43759ee3a10844cdf1

Was this merged already?


Not working with gatsby v1

2.1.1 is working though (with "gatsby": "^1.9.278")
Am I have to use older version of the plugin to make it work?

Yes, absolutely! See https://github.com/Creatiwity/gatsby-plugin-favicon#gatsby-v1


chore: Updated twirl description in setup.py

chore: Updated twirl description in setup.py.
N.B. @lgrcia If accepted, we should probably align the GitHub description of the same.

Thanks @michealroberts! I will update the Github description accordingly.


CURL_OPENSSL_3' not found from git on test-osuosl-ubuntu1604-ppc64le-

Please set the title to indicate the test name and machine name where known.
To make it easy for the infrastructure team to repeat and diagnose, please
answer the following questions:

test suite/name (e.g, BUILD_LIST, TARGET, CUSTOM_TARGET)? sanity.system
a link into recent Test_ job on https://ci.adoptium.net which showed the failure
Hyperlink to re-run in Grinder: Can't get it from the testList_0 but this forced to the correct machine should reprocuce it
Is there an existing issue elsewhere covering this? Unknown
Which machine(s) does it fail on? test-osuosl-ubuntu1604-ppc64le-
Which machine(s) does it work on? Presumably everything else if this hasn't been reported elsewhere

Any other details:
Here is the failure:
11:50:50  Cloning the remote Git repository
11:50:51  ERROR: Error cloning remote repo 'origin'
11:50:51  hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/adoptium/aqa-tests.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
11:50:51  stdout:
11:50:51  stderr: /usr/local/libexec/git-core/git-remote-https: /usr/lib/powerpc64le-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /usr/local/libexec/git-core/git-remote-https)

Machine was marked offline as this caused an issue during the release pipelines.

Related: https://github.com/adoptium/infrastructure/issues/3793

@smlambert to check if this happens on other machines, and if it's only happening on older LInux releases we can close this.

https://github.com/adoptium/aqa-tests/issues/5691#issuecomment-2418401810
https://github.com/adoptium/aqa-tests/issues/5689#issuecomment-2417646340
https://github.com/adoptium/aqa-tests/issues/5690#issuecomment-2417430760 -  test-osuosl-ubuntu1604-ppc64le-1

This machine had a self-compiled git 2.15 in /usr/local/bin which was being used and was causing the problem. The system installed git was 2.25 and works well. I have therefore created /usr/local/bin/git-broken and moved the git* binaries from /usr/local/bin. The machine now works as tested at https://ci.adoptium.net/job/Grinder/11734/console
It is,. however, somewhat odd that the test-osuosl-ubuntu1804-ppc64le-1 machine has 2.17 installed (it does not have another git in /usr/local/bin, therefore this problem is not seen on there.


[23.05] luci-app-opkg: show disk space consistent with overview

Show Disk space graph consistent with the Status->Overview page
Brought up in https://forum.openwrt.org/t/software-space-is-going-to-full/187112
Localizable disk space progress bar title
Kudos to https://forum.openwrt.org/u/psherman for coming up with final design

Signed-off-by: Stan Grishin<EMAIL_ADDRESS>(cherry picked from commit c80ca79e05dbb19a4d97c48a90730d24f306f7f2)

It is actually a cherry-pick commit...

It is actually a cherry-pick commit...

Ah, OK. It's not stated in the commit message (as is usual for CPs)

It is actually a cherry-pick commit...

Ah, OK. It's not stated in the commit message (as is usual for CPs)

??? Are we looking at the same commit?

Signed-off-by: Stan Grishin<EMAIL_ADDRESS>(cherry picked from commit c80ca79)


refactor(mempool_test_utils): add non mut account_with_id, rename previous implementation

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2805
#2804
#2803
#2802
#2801  👈 (View in Graphite)
#2724
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

crates/mempool_test_utils/src/starknet_api_test_utils.rs line 209 at r1 (raw file):
Previously, alonh5 (Alon Haramati) wrote…
Why do you need both?

We need to hold the funding account and the account to be deployed simultaneously. It is not possible if they require a mutable ref of self


Reproduce Results

Dear Authors,
Thanks for releasing the code. I wonder to know how long your method needs to train. Do you release your code for all your used datasets?
Thanks

Hi, thanks for your interest! Both models (the graph generator and the rotatable bond scorer) take about 5-7 days to train to convergence, using 1 gpu each. All the code for training/inference is released, and our ReadMe includes links to download all the datasets we used for training.

Thanks. Could I use 4 GPUs or 8 GPUs to reproduce the results? How long does it need?


⚠ AGEG website (prod) has degraded performance

In aa0131c, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 2057 ms

Resolved: AGEG website (prod) performance has improved in 4a134f4.


Expand security doc to mention some additional potential attacks

Signed-off-by: Brian Brazil<EMAIL_ADDRESS>@SuperQ

LGTM if the typo is fixed. Feel free to discard the two maybe considerations.


import umap error

Hi there,
I'm using python==3.9.1, umap-learn==0.4.6 and numba==0.53.1
Here's errors when I'm trying to run 'import umap'.
I don't have any idea with the traceback.
Please let me know if you have any thought.
Traceback (most recent call last):
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\errors.py", line 744, in new_error_context
yield
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\lowering.py", line 230, in lower_block
self.lower_inst(inst)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\lowering.py", line 328, in lower_inst
self.storevar(val, inst.target.name)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\lowering.py", line 1278, in storevar
raise AssertionError(msg)
AssertionError: Storing i64 to ptr of i32 ('dim'). FE type int32
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in
import umap
File "C:\Users\xxx\miniconda3\lib\site-packages\umap_init_.py", line 1, in
from .umap_ import UMAP
File "C:\Users\xxx\miniconda3\lib\site-packages\umap\umap_.py", line 54, in
from umap.layouts import (
File "C:\Users\xxx\miniconda3\lib\site-packages\umap\layouts.py", line 39, in
def rdist(x, y):
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\decorators.py", line 221, in wrapper
disp.compile(sig)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\dispatcher.py", line 909, in compile
cres = self._compiler.compile(args, return_type)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\dispatcher.py", line 79, in compile
status, retval = self._compile_cached(args, return_type)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\dispatcher.py", line 93, in _compile_cached
retval = self._compile_core(args, return_type)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\dispatcher.py", line 106, in _compile_core
cres = compiler.compile_extra(self.targetdescr.typing_context,
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\compiler.py", line 606, in compile_extra
return pipeline.compile_extra(func)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\compiler.py", line 353, in compile_extra
return self._compile_bytecode()
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\compiler.py", line 415, in _compile_bytecode
return self._compile_core()
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\compiler.py", line 395, in _compile_core
raise e
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\compiler.py", line 386, in _compile_core
pm.run(self.state)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\compiler_machinery.py", line 339, in run
raise patched_exception
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\compiler_machinery.py", line 330, in run
self._runPass(idx, pass_inst, state)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\compiler_lock.py", line 35, in _acquire_compile_lock
return func(*args, **kwargs)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\compiler_machinery.py", line 289, in _runPass
mutated |= check(pss.run_pass, internal_state)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\compiler_machinery.py", line 262, in check
mangled = func(compiler_state)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\typed_passes.py", line 463, in run_pass
NativeLowering().run_pass(state)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\typed_passes.py", line 384, in run_pass
lower.lower()
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\lowering.py", line 136, in lower
self.lower_normal_function(self.fndesc)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\lowering.py", line 190, in lower_normal_function
entry_block_tail = self.lower_function_body()
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\lowering.py", line 216, in lower_function_body
self.lower_block(block)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\lowering.py", line 230, in lower_block
self.lower_inst(inst)
File "C:\Users\xxx\miniconda3\lib\contextlib.py", line 135, in exit
self.gen.throw(type, value, traceback)
File "C:\Users\xxx\miniconda3\lib\site-packages\numba\core\errors.py", line 751, in new_error_context
raise newerr.with_traceback(tb)
numba.core.errors.LoweringError: Failed in nopython mode pipeline (step: nopython mode backend)
Storing i64 to ptr of i32 ('dim'). FE type int32

File "....\Users\xxx\miniconda3\lib\site-packages\umap\layouts.py", line 52:
def rdist(x, y):

result = 0.0
    dim = x.shape[0]
    ^

During: lowering "dim = static_getitem(value=$8load_attr.2, index=0, index_var=$const10.3, fn=)" at C:\Users\xxx\miniconda3\lib\site-packages\umap\layouts.py (52)

I think the answer is that numba has gotten a bit stricter in recent releases. This shouldn't be too hard to fix.

@lmcinnes Thanks a lot. I upgraded the umap-learn to 0.5.1 and it works fine now.


assert(false === empty($host)) AssertionError

Details
Type: AssertionError
Code: 1
Message: assert(false === empty($host))
File: /var/www/vendor/neomerx/cors-psr7/src/Strategies/Settings.php
Line: 188
Trace
#0 /var/www/vendor/neomerx/cors-psr7/src/Strategies/Settings.php(188): assert(false, 'assert(false ==...')
#1 /var/www/vendor/neomerx/cors-psr7/src/Strategies/Settings.php(90): Neomerx\Cors\Strategies\Settings->setServerOrigin('https', '', 443)
#2 /var/www/vendor/tuupola/cors-middleware/src/CorsMiddleware.php(230): Neomerx\Cors\Strategies\Settings->init('https', '', 443)
#3 /var/www/vendor/tuupola/cors-middleware/src/CorsMiddleware.php(133): Tuupola\Middleware\CorsMiddleware->buildSettings(Object(GuzzleHttp\Psr7\ServerRequest), Object(GuzzleHttp\Psr7\Response))
#4 /var/www/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Tuupola\Middleware\CorsMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner))
#5 /var/www/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(107): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#6 /var/www/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\ErrorMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#7 /var/www/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#8 /var/www/vendor/slim/slim/Slim/App.php(215): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#9 /var/www/vendor/slim/slim/Slim/App.php(199): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#10 /var/www/public/index.php(88): Slim\App->run()
my code
$app = AppFactory::create();
$app->add(new CorsMiddleware());
...
$app->run();

I made a quick test with Slim 4 and cannot reproduce. Which webserver you are running?

tuupola/cors-middleware (1.4.1)
neomerx/cors-psr7 (v2.0.2)

With Nginx I am getting the same error when origin.server is not provided in options. Once origin.server  is provided the error goes away.

Ok if I read all the code correctly. At some point neomerx/cors-psr7 started to check for non empty server origin setting. However you can see the assertion failing only if you can zend.assertions = 1 in your php.ini. This is why tests did not catch it either because zend.assertions = -1 is default for Fedora (my laptop) and also for GitHub actions.

Possible fix https://github.com/tuupola/cors-middleware/pull/76

Released 1.4.2 which should fix the problem.


A button to clear/remove image

Version: 2.9.13-SNAPSHOT - PRE-RELEASE
Build: 2018-07-23 18:36
OS: Linux 4.15.0-30-generic
JDK: 1.8.0_181 amd64 Oracle Corporation
I found there is no way to clear or remove an image, like the poster and fanart, from the tMM GUI. I am aware I can just go to the folder and manually remove it. Is there an option I might be missing, or could one be added?
The reason for this is I have a movie that I put into collection, and the only image for fanart that is there is inappropriate. I speak not of pornograpthy, just an R rated movie with a scene that is not suitable for general viewing in a line up of movies. As it is the only image available, I cannot change to another, and selecting nothing and clicking ok produces error.
This is not a high priority thing, but something that maybe can be worked on if you are there making other changes sort of thing.

I'd like to request this as well for different reasons, but I've been wishing for this for a while.
Maybe deleting them to the .deletedByTMM folder on a R-click menu, or delete button while selected, or both?

we've migrated v3 to GitLab (https://gitlab.com/tinyMediaManager/tinyMediaManager) along with all issues. The issues for v2 at GitHub will be closed - we will respond to the corresponding issue in GitLab in the future
br
Manuel


CondaEnvironment decospecs ignores base environment

Looking at some of the implementation details of Metaflow last week, I discovered the undocumented(?) metaflow_custom extension mechanism.
I implemented a different default MetaflowEnvironment that adds the current project to the job package, and adds a StepDecorator via. MetaflowEnvironment.decospecs that installs this package.
The problem comes when I want to add a conda environment on top of this default environment.
An instance of CondaEnvironment does not look at self.base_env.decospecs and add those onto its own implementation...
https://github.com/Netflix/metaflow/blob/0d052e848f2a2f574d33319fed574cde0b0e4e38/metaflow/plugins/conda/conda_environment.py#L40
A change along the lines of the following allows the composition of CondaEnvironment and a custom base environment.
- return ('conda')
+ return ('conda', *self.base_env.decospecs())

Good catch. Feel free to propose a PR for this along the lines of what you suggest. I had changed some of the other functions to delegate more to the base environment (#502 and #493 for example) but missed that one. get_client_info may be another one where we need to also delegate but that one may be a little more complicated and isn't as useful.
As for the metaflow_custom mechanism, yes, it is currently not documented and we do not guarantee that the APIs will stay stable. We are determining the best way to make it something more officially supported (if there is an appetite for it) so would appreciate any indication on how you are using it and if there are things you would like it to have that it doesn't.

Thanks @romain-intel, I've submitted a PR #660 with my suggestion above.
I agree that get_client_info is more complicated and less useful, so haven't tackled that here. My suggestion would be to add a key base to returned dict containing the return value of self.base_env.get_client_info (but I'm not familiar with the details of where all this information gets used).
From my end there's definitely an appetite to make metaflow_custom something more officially supported.
I'll share code and any associated reflections when I have something a little more refined but some of the functionality I've prototyped:

A different default environment paired with a step decorator that together adds a "project"* to the job package (performed by the environment), and installs it (performed by the step decorator).
Extend the CLI to be able to parametrise run from a YAML config file.
Super simple flow decorator that raises an error if run on batch or in conda - Some flows will fail if run on batch or in an isolated env because certain files/dependencies won't be present, this ensures that a flow fails early if someone tries to run --with batch.

Other things I may try in future:

Run a flow in docker on a local machine
pipenv (or similar) alternative to the Conda environment and decorator

*Currently crudely defined as walking up from the flow directory until you find a setup.py (or doing nothing if it reaches /)


Execution failed for task ':app:processReleaseResources'.AAPT: error: resource android:attr/lStar not found.

Description
No changes were made, and suddenly it started to fail
Version
0.63.5
Output of npx react-native info
System:
OS: macOS 10.15.7
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 199.83 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.15.0 - ~/.nvm/versions/node/v14.15.0/bin/node
Yarn: 1.22.0 - /usr/local/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v14.15.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK: Not Found
Android SDK:
API Levels: 23, 24, 25, 26, 27, 28, 29, 30, 31, 32
Build Tools: 26.0.2, 26.0.3, 27.0.3, 28.0.2, 28.0.3, 29.0.0, 29.0.2, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.1.0
Android NDK: 22.1.7171670
IDEs:
Android Studio: 4.1 AI-201.87<IP_ADDRESS>99119
Xcode: /undefined - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_261 - /Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.5 => 0.63.5
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
first error " The binary version of its metadata is 1.6.1, expected version is 1.1.16"
so
buildscript {
ext {
buildToolsVersion = "29.0.2"
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 29
androidXCore = "1.6.0"
kotlinVersion = "1.6.0" // new add
}
And then started reporting errors,
“ > Android resource linking failed
/Users/revival/.gradle/caches/transforms-2/files-2.1/9c6c81038e4c01dabde31d5d71d4bfd8/core-1.7.0/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found.”
According to issues/35210，update RN version  0.63.2---->0.63.5
But it didn't work
Snack, code example, screenshot, or link to a repository
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsVersion = "29.0.2"
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 29
androidXCore = "1.6.0"
kotlinVersion = "1.6.0" // new add
}
repositories {
maven { url 'https://jitpack.io' }
    mavenCentral()
    google()
    jcenter()

    flatDir {
        dirs 'libs'
    }
}
dependencies {
    classpath("com.android.tools.build:gradle:4.0.1")
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

}
allprojects {
repositories {
maven { url 'https://jitpack.io' }
    mavenLocal()
    mavenCentral()

    maven {
        // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
        url("$rootDir/../node_modules/react-native/android")
    }
    maven {
        // Android JSC is installed from npm
        url("$rootDir/../node_modules/jsc-android/dist")
    }

    google()
    jcenter()
    maven { url 'https://www.jitpack.io' }

    maven {
        // expo-camera bundles a custom com.google.android:cameraview
        url "$rootDir/../node_modules/expo-camera/android/maven"
    }
}

}

jitpack is down https://github.com/jitpack/jitpack.io/issues/5239

Maybe you just need: ./gradlew app:assembleRelease instead of the ./gradlew assembleRelease
From: https://stackoverflow.com/a/75309297/6236633

Closing as this issue is really old and probably not relevant anymore.


Name text area doesn't auto resize if General tab isn't open

Describe the bug
If General tab on properties panel isn't already open when selecting an element, the text area for name won't properly resize to fit multiple lines of text.
https://github.com/camunda/camunda-modeler/assets/24656920/4541be1f-9c7f-4a98-b159-ef27de5ab556
Steps to reproduce

Create an element with multiline Name.
Close General tab in properties panel.
De-select the element.
Select the element and open General tab in properties panel.

Expected behavior
Name text area should always resize to fit multiple lines of text.
Environment

OS: [e.g. MacOS 10.2, Windows 10]
Camunda Modeler Version: [e.g. 2.0.0]
Execution Platform: [e.g. Camunda 7, Camunda 8]
Installed plug-ins: [...]

Additional context
No response

@jarekdanielak Is this related to https://github.com/bpmn-io/properties-panel/issues/314? If so, let's link both issues.

Fixed upstream with https://github.com/bpmn-io/properties-panel/pull/372

Unfortunately this does not seem to be fully addressed by https://github.com/camunda/camunda-modeler/pull/4429:


differential_evolution: improve callback

route internal values func_val, nfev, nit, population to callback function
These could be used to create custom terminators.

The diff is unreadable. It looks like that you completely rewrote the file. Did you change the encoding or filetype?

No, I just uploaded the altered file because I had trouble with indentation in github's (browser) editor. What's the right way to do it?

ZacDiggum a écrit :

No, I just uploaded the altered file because I had trouble with
indentation in github's (browser) editor. What's the right way to do it?

Use a git client. (The online editor is probably only worth for trivial
fixes.)


policy: Add Regal for linting Rego

This PR introduces Regal for linting the Rego files of the project. The Rego found here is generally in a good shape, so only a few rules have been either ignored or fixed. The few rules fixed include:

rule-shadows-builtin as there is already an is_null function in the standard lib
custom-has-key-construct as this is handled by object.keys and in in modern Rego
use-assignment-operator as := is preferred over = for rule assignment, and using this does not change the semantics of the code in any way.

Included is also a new job for checking/linting Rego code as part of CI.

What's being changed?

Is this PR related to an existing issue?

Check off the following:

[ ] This PR follows the CONTRIBUTION.md guidelines
[ ] I have self-reviewed my changes before submitting the PR

opened only to run e2e


test with two ydocs in sync

https://codesandbox.io/s/valtio-yjs-demo-forked-ni1fk
It doesn't work with nested value update.

[x] create tests
[x] fix with normal value
[x] fix with nested value

https://codesandbox.io/s/valtio-yjs-demo-forked-jyvor yay, fixed!


0.2.5

Hello! Please create new tag 0.2.5 (8 new commits since 0.2.4 contain some important changes)

@IAkumaI any plans when the new version will hit? Maybe after #13 gets merged in? Its a bit bothersome to currently only have this bundle as 'dev-master' dependency within a project...

No more need this bundle, I've switched to SphinxQl instead. It's much nicer to write just sql.


[fix](cluster key) mow cluster key does not support partial update now

The mow with cluster key does not support partial update now. BE will coredump if use it.


Add Promitor, an Azure Monitor exporter for Prometheus

Add Promitor, an Azure Monitor exporter for Prometheus

Thanks for sharing. We generally list the most canonical and guideline compliant exporter. As far as I can see https://github.com/RobustPerception/azure_metrics_exporter is more featureful, more used, and more compliant. Do you want to add whatever features are missing from yours to that?

We are adding more features as we speak but you mention that it is more "compliant" which is good, but compliant with what? Would love to read more about it.

https://prometheus.io/docs/instrumenting/writing_exporters/
This exporter appears to be fetching on a schedule, rather than on a scrape.

The most used argument is one I don't really agree with given if it cannot be listed it cannot get adopted more

An Azure metrics exporter should be listed, the question is which one.

This exporter appears to be fetching on a schedule, rather than on a scrape.

That is correct given we handle the scraping intervals for the consumer, Prometheus just has to scrape and base itself on the timestamp.
Push support is on the way.

An Azure metrics exporter should be listed, the question is which one.

Why not both? But I get what you are saying.

That is correct given we handle the scraping intervals for the consumer, Prometheus just has to scrape and base itself on the timestamp.

That's not in line with our guidelines, and will miss data more frequent for example.

Why not both?

To avoid ending up with N exporters for a given thing, for which users are not equipped to evaluate and which would also not encourage everyone to work together.

Will investigate as part of https://github.com/tomkerkhove/promitor/issues/467
Makes sense!

You mention that https://github.com/RobustPerception/azure_metrics_exporter is more featureful, can you please elaborate on what features it has that Promitor doesn't have?
From the looks of it it's pretty much similar at a first glance.

The RP one has far more options for how to select what's scraped from what I can see.

Feel free to have a closer look and let me know what, maybe docs are lacking

I've dug around a bit more. Both repos have similar stats in terms of stars etc., though the other is older. The other has more Docker pulls (and has had a dockerfile for about half the time).
Looking at yours I note that it has no label support, a user has to list every single resource they want scraped and give it a unique metric name. The other allows beyond that specifying entire resource groups, with multiple aggregations, filtering, and handles labels automatically.
Accordingly I think #1332 is the appropriate PR to accept, as it's easier for users and more in line with general Prometheus philosophy. Thank you for sharing yours.

For what it's worth, here are my remarks.

I've dug around a bit more. Both repos have similar stats in terms of stars etc., though the other is older. The other has more Docker pulls (and has had a dockerfile for about half the time).

That is correct, although we've only switched from tomkerkhove/promitor-scraper to tomkerkhove/promitor-agent-scraper but I don't believe pulls are that good of measurement but it's your call)

Looking at yours I note that it has no label support, a user has to list every single resource they want scraped and give it a unique metric name

That is correct, and also on purpose.

The other allows beyond that specifying entire resource groups, with multiple aggregations, filtering, and handles labels automatically.

Scraping entire RGs is bad
Filtering is WIP

That said, it's ok for me to merge yours as long one is in the list. People can still use mine if they want to, however, I'm not sure why we cannot add both of them but that's ok.


[REQUEST] Add Update/Replace HTTP,Socks4 Proxies from URL with the given time mins or hours

I don't like to use modded OpenBullet, as i don't trust any but yours so.
i do request if possible to added and support proxyscrape.com
like put URLs from the site and OpenBullet grab or fresh the proxy in the table after the given time
in mins or hours for example
https://proxyscrape.com/free-proxy-list/http goes to HTTP and replace the existing proxy there
https://proxyscrape.com/free-proxy-list/socks4 goes to socks4 and replace the existing proxy there
this is gonna be so great and make the testing/checking process at fine level since proxies getting refreshed after some times so.

You can already do this. Go to Settings -> RuriLib -> Proxies and add the proxy sources! (You need to be on the latest build). Just type the URLs from proxyscrape in there and they will automatically be pulled when you start your config and refreshed from the API when they are all banned ^_^

You can already do this. Go to Settings -> RuriLib -> Proxies and add the proxy sources! (You need to be on the latest build). Just type the URLs from proxyscrape in there and they will automatically be pulled when you start your config and refreshed from the API when they are all banned ^_^

oh i see that now thank you a lot Ruri <3


Produce dev builds regularly (daily)

Currently public builds only exist for the "release" branch. I think it would be nice to have continuous builds with a fixed dev URL so that interested people can easily test the latest unit-tests-passing dev version without actually being forced to download npm etc. and build it themselves.
The main problem is hosting -- building and uploading is very easy with Travis CI. It shouldn't be any burden to anyone, so I suggest some kind of free hosting. The easiest thing that comes to my mind is to create a separate github repo like crafty-dev-builds which exactly has two files: crafty.js and crafty-min.js. These can always be referenced via rawgit.com. Inside this repo there would be a travis config which just builds the latest crafty commit and if tests pass then it would push this to the crafty-dev-builds repo (by encrypting ssh credentials etc., have done that before as well). This could be invoked daily with a cronjob (I used http://tron-ci.herokuapp.com before). So totally self-autonomous.
Let me know if you have another idea or if you need help with that. I think it's a nice addition.

That's a pretty good idea.  It would make sense to use the Crafty-Distro repo for that -- we could have a nightly directory.

Probably better to use a new orphan branch "nightlies" in the Crafty-Distro repo. Also, it probably makes sense to only store crafty.js there, and not crafty-min.js. Otherwise this may encourage people too much to use this for non-testing purposes. Also, checking in the minified one creates probably massive git diffs every time, which is not the case for the crafty.js one.

I've had a look at this -- it's not clear to me how to have Travis commit the files when it's triggered by the cron job.

Have a look here: https://github.com/neothemachine/pixelpitch
Every week a cronjob triggers a travis rebuild and the travis config of the master branch gets run, and in that travis pushes to the gh-pages branch and thereby updating a webpage. Exactly the same concept, except that we have a single branch and no website.

@neothemachine If you want live build, you can just do npm install craftyjs/crafty which installs the latest from github repository.

@kevinsimper Please read my issue text again. This is about not needing npm etc. and just having a simple link available which points to the current dev version. This makes it very easy to let people test new features before release. Personally, I don't use nodejs for anything, so the barrier is quite high just to get the latest version.

Ok guys... proof-of-concept: https://github.com/neothemachine/crafty-nightlies
Feel free to copy it, I don't want it living under my username.

:+1: Very nice to see an example! Good job!

Thanks, I should have some time to look over your example by tomorrow.

Huh, what happened to the Crafty-Distro repo?  For some reason I thought it had some files checked in, but it seems to be empty now -- was I just confused?
Anyway, Neo's example was helpful.  Rather than use an SSH key, though, I went ahead and created what github refers to as a machine user.  That means we can just include the OAuth token for that user in the travis config, and then control access to repos with the same interface we have for a regular user.  Since we might want to have Travis push to the site repo as well, that seemed the easiest path.
I was going to open a PR, but I'm now uncertain about the status of the distro repo.

I opened PR #889 for this, but it needs testing and the repo itself might need to be setup properly.

It occurs to me that we could do something similar for releases -- have Travis update the documentation whenever we update the release branch.

Looks like #889 was successful.  I'll leave this issue open until we actually document how to use the nightly builds somewhere.

I am deleting my temporary repository now as this seems to work. Some minimal documentation:
How to use
<script src="https://rawgit.com/craftyjs/Crafty-Distro/nightlies/crafty.js"></script>

The Crafty commit hash and date from which the latest nightly was built can be checked in the nightlies branch.

Closing, since these effectively exist.  (Except that we build per merge into develop, rather than nightly.)


Evaluation on our custom detector for tracking (modified on centorpoint model).

We have no idea how to save the detection results in json form when running "dist_test.py". Thanks for your replay!

you don't need to save it as json format. There are going to be a pkl file generated in the work_dir when you run dist_test.py. You can then use this file with the tracking scripts.
You need to handle the conversion from local coordinate to global coordinate though (see https://github.com/tianweiy/CenterPoint/blob/master/tools/waymo_tracking/test.py#L92)


Rename legacy repositories to projects

In v1, repositories had another meaning than in v2 and the repositories in v1 are now called projects in v2. Therefore, we need to rename all references.

Does this PR intends to account for to-be-deleted files? If so, the keyword argument repository is still used in the module models.

After a discussion, the comment was related to an outdated version. Seems to be fixed now.


Remove Py 3.3 / twisted trunk from CI

see comments on https://github.com/crossbario/autobahn-python/pull/942

should be fixed via https://github.com/crossbario/autobahn-python/pull/946


[ReadOSM] initial port

Readosm is the library to read OpenStreetMap files (pure C). Needed it to build spatialite-tools. The package structure is analogous to https://github.com/Microsoft/vcpkg/pull/1906 , so in case of needed changes both PRs can be fixed. Had to fix one compile error of missing quoutes, very strange but necessary.

If accepted, next steps will be libspatialite  and spatialite-tools.

Thanks.
Note: does not build with whispace, added to list: https://github.com/Microsoft/vcpkg/issues/807

Thank you too. Will add more missing quotes "" into paths to fix paths with whitespaces.


[$250] Web - Settings is opened on the left with a conversation opened on the right

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

Version Number: v9.0.36-1
Reproducible in staging?: Y
Reproducible in production?: Y
Issue reported by: Applause Internal Team
Action Performed:

Login to staging.new.expensify.com
Navigate to settings
Click on status button at the top of the settings
With the status modal opening at the right, click on save more than once without setting a status

Expected Result:
The modal to edit status is closed.
Actual Result:
Settings is opened on the left and a conversation is opened on the right.
Workaround:
Unknown
Platforms:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/5b0704e6-587e-4c7d-8712-1e17d0a99703

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021836565276008929567
Upwork Job ID:<PHONE_NUMBER>008929567
Last Price Increase: 2024-09-19

Issue OwnerCurrent Issue Owner: @ahmedGaber93

@strepanier03  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Thanks all for the proposals.
@BhuvaneshPatil add a proposal using useSingleExecution(), but base on here, it was designed to native device only and not support web
@daledah add a proposal to remove runAfterInteractions, but I see it is important for this case and even if we remove it, user still can press two fast clicks
@Krishna232's alternative proposal looks good. It will return early if navigateBackToPreviousScreenTask.current is defined, that will confirm it will run once. His main proposal also good but it sends the API request two times
@Krishna232's alternative proposal LGTM!
🎀 👀 🎀 C+ reviewed.

@ahmedGaber93 Thank you for feedback. But using useSingleExecution() does solves issue on web as well.

@BhuvaneshPatil useSingleExecution() for web in useSingleExecution/index.ts just call the action directly every time is called, Unlike what useSingleExecution/index.native.ts do
https://github.com/Expensify/App/blob/2190f6279041ed8260752294d095bbdda76faebe/src/hooks/useSingleExecution/index.ts#L13-L15
https://github.com/Expensify/App/blob/2190f6279041ed8260752294d095bbdda76faebe/src/hooks/useSingleExecution/index.native.ts#L17-L20
Also, I tested it, and it not works with me on web.
https://github.com/user-attachments/assets/f2339414-ed07-48ff-b2ae-b4dba5530993

Not overdue, proposals is reviewed and waiting assignment.

Hi guys, catching up from OOO thanks for the patience here.
I will lean towards @ahmedGaber93's decision. I think the alternative solution proposed by @Krishna2323 is straightforward. The decision to remove runAfterInteractions also seems like a good one, but it would be better to discuss it more broadly with the community in the open-source channel and I would consider it out of scope for the ROI of solving this issue.
Said that I will assign @Krishna2323, even though all perspectives and efforts are appreciated 🙇🏽

Few days away from payment so holding until then.

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

[x] [@ahmedGaber93] The PR that introduced the bug has been identified. Link to the PR: https://github.com/Expensify/App/pull/24620
[x] [@ahmedGaber93] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/24620/files#r1797217641
[x] [@ahmedGaber93] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
[x] [@ahmedGaber93] Determine if we should create a regression test for this bug. Yes
[x] [@ahmedGaber93] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

Regression Test Proposal

Navigate to settings
Click on status button at the top of the settings
With the status modal opening at the right, click on save more than once without setting a status
Verify modal to edit status is closed and the app stay on the settings page

Do we agree 👍 or 👎

I created the reg test GH, paid and closed both contracts, and I'm going to close this out now.
Thanks, everyone!


[Event Request] codeunit 99000854 "Inventory Profile Offsetting", OnAfterAdjustPlanLineOnBeforeModify

local procedure MaintainPlanningLine(var SupplyInvtProfile: Record "Inventory Profile"; DemandInvtProfile: Record "Inventory Profile"; NewPhase: Option " ","Line Created","Routing Created",Exploded,Obsolete; Direction: Option Forward,Backward)
var
    PurchaseLine: Record "Purchase Line";
    ProdOrderLine: Record "Prod. Order Line";
    AsmHeader: Record "Assembly Header";
    TransLine: Record "Transfer Line";
    CurrentSupplyInvtProfile: Record "Inventory Profile";
    PlanLineNo: Integer;
    RecalculationRequired: Boolean;
begin
    if (NewPhase = NewPhase::"Line Created") or
       (SupplyInvtProfile."Planning Line Phase" < SupplyInvtProfile."Planning Line Phase"::"Line Created")
    then
        if SupplyInvtProfile."Planning Line No." = 0 then
            with ReqLine do begin
                BlockDynamicTracking(true);
                if FindLast then
                    PlanLineNo := "Line No." + 10000
                else
                    PlanLineNo := 10000;

                Init();
                "Worksheet Template Name" := CurrTemplateName;
                "Journal Batch Name" := CurrWorksheetName;
                "Line No." := PlanLineNo;
                Type := Type::Item;
                "No." := SupplyInvtProfile."Item No.";
                "Variant Code" := SupplyInvtProfile."Variant Code";
                "Location Code" := SupplyInvtProfile."Location Code";
                "Bin Code" := SupplyInvtProfile."Bin Code";
                "Planning Line Origin" := "Planning Line Origin"::Planning;
                OnMaintainPlanningLineOnAfterPopulateReqLineFields(ReqLine, SupplyInvtProfile, DemandInvtProfile, NewPhase, Direction, TempSKU);
                if SupplyInvtProfile."Action Message" = SupplyInvtProfile."Action Message"::New then begin
                    "Order Date" := SupplyInvtProfile."Due Date";
                    "Planning Level" := SupplyInvtProfile."Planning Level Code";
                    case TempSKU."Replenishment System" of
                        TempSKU."Replenishment System"::Purchase:
                            "Ref. Order Type" := "Ref. Order Type"::Purchase;
                        TempSKU."Replenishment System"::"Prod. Order":
                            begin
                                "Ref. Order Type" := "Ref. Order Type"::"Prod. Order";
                                if "Planning Level" > 0 then begin
                                    "Ref. Order Status" := SupplyInvtProfile."Primary Order Status";
                                    "Ref. Order No." := SupplyInvtProfile."Primary Order No.";
                                end;
                            end;
                        TempSKU."Replenishment System"::Assembly:
                            "Ref. Order Type" := "Ref. Order Type"::Assembly;
                        TempSKU."Replenishment System"::Transfer:
                            "Ref. Order Type" := "Ref. Order Type"::Transfer;
                    end;
                    OnMaintainPlanningLineOnBeforeValidateNo(ReqLine, SupplyInvtProfile, TempSKU);
                    Validate("No.");
                    Validate("Unit of Measure Code", SupplyInvtProfile."Unit of Measure Code");
                    "Starting Time" := ManufacturingSetup."Normal Starting Time";
                    "Ending Time" := ManufacturingSetup."Normal Ending Time";
                end else
                    case SupplyInvtProfile."Source Type" of
                        DATABASE::"Purchase Line":
                            SetPurchase(PurchaseLine, SupplyInvtProfile);
                        DATABASE::"Prod. Order Line":
                            SetProdOrder(ProdOrderLine, SupplyInvtProfile);
                        DATABASE::"Assembly Header":
                            SetAssembly(AsmHeader, SupplyInvtProfile);
                        DATABASE::"Transfer Line":
                            SetTransfer(TransLine, SupplyInvtProfile);
                    end;

                OnMaintainPlanningLineOnBeforeAdjustPlanLine(ReqLine, SupplyInvtProfile, TempSKU);
                AdjustPlanLine(SupplyInvtProfile);
                "Accept Action Message" := true;
                "Routing Reference No." := "Line No.";
                UpdateDatetime;
                "MPS Order" := SupplyInvtProfile."MPS Order";
                OnMaintainPlanningLineOnBeforeReqLineInsert(
                  ReqLine, SupplyInvtProfile, PlanToDate, CurrForecast, NewPhase, Direction, DemandInvtProfile, ExcludeForecastBefore);
                Insert;
                OnMaintainPlanningLineOnAfterReqLineInsert(ReqLine);
                SupplyInvtProfile."Planning Line No." := "Line No.";
                if NewPhase = NewPhase::"Line Created" then
                    SupplyInvtProfile."Planning Line Phase" := SupplyInvtProfile."Planning Line Phase"::"Line Created";
            end else begin
            if SupplyInvtProfile."Planning Line No." <> ReqLine."Line No." then
                ReqLine.Get(CurrTemplateName, CurrWorksheetName, SupplyInvtProfile."Planning Line No.");
            ReqLine.BlockDynamicTracking(true);
            AdjustPlanLine(SupplyInvtProfile);

OnAfterAdjustPlanLineOnBeforeModify(TempSKU,ReqLine,SupplyInvtProfile,PlanToDate,CurrForecast,NewPhase,Direction,DemandInvtProfile)

            if NewPhase = NewPhase::"Line Created" then
                ReqLine.Modify();
        end;

[IntegrationEvent(false, false)]
local procedure OnAfterAdjustPlanLineOnBeforeModify(var TempSKU: Record "Stockkeeping Unit" temporary; var RequisitionLine: Record "Requisition Line"; var SupplyInvtProfile: Record "Inventory Profile"; PlanToDate: Date; CurrentForecast: Code[10]; NewPhase: Option " ","Line Created","Routing Created",Exploded,Obsolete; Direction: Option Forward,Backward; DemandInvtProfile: Record "Inventory Profile")
begin
end;

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


feat!: support<EMAIL_ADDRESS>

I'll release it soon.

8.0.0 https://www.npmjs.com/package/angular-estree-parser


SSO consent screen next button is not working

Steps to reproduce:

Open the tonomy demo in mobile browser and click on login with tonomy button.
It redirects to the consent screen when i click on next button.

Actual output:

it hang the app and go to tonomy logo screen and also not logged in to demo website

Expected output:

it logged in to the demo website website and show the user menu and pages

https://github.com/Tonomy-Foundation/Tonomy-ID/blob/ad5f063f710691af82228a9dfa35b805ba1b18fc/src/containers/SSOLoginContainer.tsx#L100

this has been fixed in the latest PRs (not sure which)


Invocation should provide factory constructors

There are times where you need to synthesize an Invocation object.  When this need arises, the current solution is to manually define a class that implements Invocation and returns the data you wish to synthesize.  For example:
class _MethodInvocationProxy extends Invocation {
  _MethodInvocationProxy(
    this.memberName,
    this.positionalArguments,
    this.namedArguments,
  );

  @override
  final Symbol memberName;

  @override
  final List<dynamic> positionalArguments;

  @override
  final Map<Symbol, dynamic> namedArguments;

  @override
  final bool isMethod = true;

  @override
  final bool isGetter = false;

  @override
  final bool isSetter = false;
}

@abarth says he's seen this pattern repeated in various projects.  If it's a fairly common pattern, it'd be nice to just provide the functionality in the SDK itself, via various factory constructors.
Proposal:
Invocation.method(
  Symbol memberName, {
  List<dynamic> positionalArguments,
  Map<Symbol, dynamic> namedArguments,
});

Invocation.getter(Symbol memberName);

Invocation.setter(Symbol memberName, dynamic value);

I see no issue implementing this on the VM.
@rakudrama Thoughts on dart2js?

I see no problem for dart2js.
If you make them external patched factory constructors with dummy (throwing) dart2js implementations, we can fix them later.
Specify whether the symbol for Invocation.setter includes the '=' (probably should).
FWIW we try to avoid noSuchMethod in dart2js apps.

+1 for the symbol for Invocation.setter including the '='

The Invocation gained a handful of new constructors around Dart 2.1. https://api.dart.dev/stable/2.8.0/dart-core/Invocation-class.html


Release notes <IP_ADDRESS>

Signed-off-by: vamsi-amazon<EMAIL_ADDRESS>Description
Release notes <IP_ADDRESS>
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #83 (f9d28a8) into main (bf81e74) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #83   +/-   ##
=======================================
  Coverage   94.73%   94.73%
=======================================
  Files           5        5
  Lines         152      152
  Branches       45       45
=======================================
  Hits          144      144
  Misses          8        8

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 bf81e74...f9d28a8. Read the comment docs.


Refactor createFacultyDataCollection.js

Wrote it in a rush to complete Sean Smulker's request. Calculating average by dept and faculty is useful, so will need to refactor into functions

Created new file for Sean's request


feature: extend cri apis for remove volume

Signed-off-by: Starnop<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
extend cri apis for remove volume

PouchContainer CRI Manager provides an interface for removing volume.
PouchContainer CRI Manager supports querying the name of volume by containerstatus.

Ⅱ. Does this pull request fix one issue?

None.
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
use cri-tools that has been modified：starnop/cri-tools
# pouch volume ls
DRIVER   VOLUME NAME
local    687a243f9aafb0264b491dc1128b2c842b45f420894d36671332d30862c76bc7
local    c2ad62ff78afc55efe1d43649b9e77a780875bb348f2def8903ffefa3709f5b1
local    d8d84f8709e4e0093feb72c78eb6921f7dc1c02d92e121b520fb697add44a6af

# crictl rmv 687a243f9aafb0264b491dc1128b2c842b45f420894d36671332d30862c76bc7
DEBU[0000] RemoveVolumeRequest: &RemoveVolumeRequest{VolumeName:687a243f9aafb0264b491dc1128b2c842b45f420894d36671332d30862c76bc7,}
DEBU[0000] RemoveVolumeResponse: &RemoveVolumeResponse{}

# pouch volume ls
DRIVER   VOLUME NAME
local    d8d84f8709e4e0093feb72c78eb6921f7dc1c02d92e121b520fb697add44a6af
local    c2ad62ff78afc55efe1d43649b9e77a780875bb348f2def8903ffefa3709f5b1

Ⅴ. Special notes for reviews

Codecov Report

Merging #2124 into master will increase coverage by 0.1%.
The diff coverage is 40.9%.

@@            Coverage Diff            @@
##           master    #2124     +/-   ##
=========================================
+ Coverage   65.07%   65.18%   +0.1%
=========================================
  Files         208      208
  Lines       16417    16433     +16
=========================================
+ Hits        10684    10712     +28
  Misses       4396     4396
+ Partials     1337     1325     -12

Flag
Coverage Δ

#criv1alpha1test
33.35% <9.09%> (+0.19%)
:arrow_up:

#criv1alpha2test
33.93% <40.9%> (+0.1%)
:arrow_up:

#integrationtest
39.82% <9.09%> (-0.04%)
:arrow_down:

#unittest
23.98% <0%> (-0.03%)
:arrow_down:

Impacted Files
Coverage Δ

cri/v1alpha2/cri_wrapper.go
52.08% <0%> (-1.8%)
:arrow_down:

cri/criservice.go
64.7% <100%> (ø)
:arrow_up:

cri/v1alpha2/service/cri.go
85.71% <100%> (+1.09%)
:arrow_up:

daemon/daemon.go
57.69% <100%> (ø)
:arrow_up:

cri/v1alpha2/cri.go
64.21% <37.5%> (-0.09%)
:arrow_down:

ctrd/image.go
77.19% <0%> (-1.76%)
:arrow_down:

cri/v1alpha1/cri.go
64.13% <0%> (+0.68%)
:arrow_up:

ctrd/container.go
43.5% <0%> (+0.96%)
:arrow_up:

daemon/mgr/container.go
56.25% <0%> (+1.02%)
:arrow_up:

... and 4 more

Can you add test for CRI remove volume?

@rudyfly It's not necessary for function of RemoveVolume, as for functional testing, I've given the steps for validation.

LGTM


Empty / blank responses when portfolio has empty currency or asset

This is mostly just a ping (Kind of a feature request, really)
I've been trying to decide if I want to try and squash this bug on my end or if I wanted it patched upstream so other projects can benefit from the fix as well:
https://github.com/kuzetsa/gekko/issues/4
I don't have time to fix the bug at this time...
It'd really be nice if there were placeholder "zero" responses whenever cex.io's API response was empty or blank due to an empty currency or asset.

I've got the same error. I want to fix it.
I'm recently using CEX.IO. Which fields should I initialize if not available in API response.
data.GHS should be an object with available: Integer.
Same for data.BTC.


Is there a clerical error in paper  《ZeRO-Offload: Democratizing Billion-Scale Model Training》?

In Paper 《ZeRO-Offload: Democratizing Billion-Scale Model Training》, I saw that Figure 3: ZeRO-Offload training process on a single GPU has two GPU->CPU. should the p swap‘s GPU->CPU be CPU->GPU?

Hi zhiyongLiu1114,
Thank you for point it out! Yes, the second "GPU->CPU" for p swap should be "CPU->GPU" instead. The figure was labeled correctly when we first published the ZeRO-Offload figure here "https://www.microsoft.com/en-us/research/blog/deepspeed-extreme-scale-model-training-for-everyone/", but we might accidentally put the wrong label when formatting the figure for the technical report.  We will fix it in a later version.
Best,
Minjia

Hi zhiyongLiu1114,
Thank you for point it out! Yes, the second "GPU->CPU" for p swap should be "CPU->GPU" instead. The figure was labeled correctly when we first published the ZeRO-Offload figure here "https://www.microsoft.com/en-us/research/blog/deepspeed-extreme-scale-model-training-for-everyone/", but we might accidentally put the wrong label when formatting the figure for the technical report.  We will fix it in a later version.
Best,
Minjia

Hi zhiyongLiu1114,
Thank you for point it out! Yes, the second "GPU->CPU" for p swap should be "CPU->GPU" instead. The updated parameters are swapped back from CPU to GPU for the next round of fw/bw computation. The figure was labeled correctly when we first published the ZeRO-Offload figure here "https://www.microsoft.com/en-us/research/blog/deepspeed-extreme-scale-model-training-for-everyone/", but we might accidentally put the wrong label when formatting the figure for the technical report. We will fix it in a later version.
Best,
Minjia

Hi zhiyongLiu1114,
Thank you for point it out! Yes, the second "GPU->CPU" for p swap should be "CPU->GPU" instead. The updated parameters are swapped back from CPU to GPU for the next round of fw/bw computation. The figure was labeled correctly when we first published the ZeRO-Offload figure here "https://www.microsoft.com/en-us/research/blog/deepspeed-extreme-scale-model-training-for-everyone/", but we might accidentally put the wrong label when formatting the figure for the technical report. We will fix it in a later version.
Best,
Minjia

Thanks for the great work! To follow up, is there a typo in Table 1 as well? Notably, the last row's memory is supposed to be 2M instead of 4M? Thanks!


Colab does not support tensor flow version 1, but using pip install s…

…till works

should work now