[Scope Change]  IT Localization - Codeunit 12152 SubcontractingManagement - procedure TransfSUBOrdCompToSUBTransfOrd

Hello! You have created several [Scope change] requests for this codeunit. Please clarify which problem you need to address by this change?

Hello!
I'm facing a porting of custom code from NAV2018 to BC18 SaaS.
I'm not sure if it can help, but, here is some example of my code:
[...]
TransferLine."Routing No." := PurchLine."Routing No.";
TransferLine."Routing Reference No." := PurchLine."Routing Reference No.";
TransferLine."Work Center No." := PurchLine."Work Center No.";
TransferLine."Operation No." := PurchLine."Operation No.";
TransferLine."LSA Sub. Order Item Demand" := ProdOrderItemDemand;
TransferLine.Insert();

SubcontractingMgt.TransfSUBOrdCompToSUBTransfOrd(TransferLine, ProdOrderComponent);

local procedure ProdOrderRoutingLineOnValidate(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")
var
   SubcontractingManagement: Codeunit SubcontractingManagement;
begin
   SubcontractingManagement.UpdLinkedComponents(ProdOrderRoutingLine, false);
end;

//OnValidate of the "Prod Order Routing Line"."No."
if SubcontractingManagement.FindSubcOrder(Rec, PurchLine, PurchHeader) then
    Error(Text1130001, Status, TableCaption, "Operation No.", PurchLine."Document No.");
if (xRec."No." <> "LSA No." /*Custom Field*/) and ("Routing Link Code" <> '') then
    SubcontractingManagement.UpdLinkedComponents(Rec, not HideMessages);

Actually, after some careful analysis, I was able to overcome the problem with the other functions, instead, the 2 listed above are the only remaining.
I'm sorry for the inconvenience I may have created, let me know if I have to Delete/Close the other issues myself.
I hope I have answered your question, and I'm sorry for my bad English.
Thank you in advance,
Mattia

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.


fix: table viz query mode switch not working

SUMMARY
Fix a bug introduced by #10544 where users are not able to switch query mode.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
TEST PLAN
Added a Cypress test
ADDITIONAL INFORMATION

[x] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Thank you for the quick fix!


ST7789 using array instead of numpy

This change results in a ~10x speed-up for ShowImage() calls (from ~20ms to 2ms on pi2),
...as measured by wrapping deleted-lines/inserted-lines with something like:
t0 = time.time()
and
print("elapsed: ", time.time() - t0)
The original goal was to do-away with our dependency on 'numpy', but picamera still requires it.
Still, this 'hack' gets us closer to not needing numpy and makes the interface feel a touch more 'snappy' on both pi2 and pi0.
Leaving this here because it's what I'm using from this point forward (and I'll forget about sharing it if not reminded), for others to consider.   (btw: I also found many ways to do the same thing which were 2 orders of magnitude slower than this hack).

Great PR, and we should also remove numpy from requirements.txt

... we should also remove numpy from requirements.txt

I did try this (along w/ removing an unused import from src/seedsigner/hardware/camera.py).
Since numpy would not be used in the codebase, I'd think that we don't need it specified in requirements.txt
But unless I'm doing something wrong, when I create a new virtualenv where 'numpy' is not accessible (after pip3 install -r requirements.txt) I get complaints just starting seedsigner.
File "/home/pi/seedsigner-dev/src/seedsigner/hardware/pivideostream.py", line 2, in <module>
    from picamera.array import PiRGBArray
  File "/home/pi/.envs/seedsigner-dev-env/lib/python3.10/site-packages/picamera/array.py", line 49, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'

I'm aware that picamera does need numpy, and that there are some tests in pyzbar that can use numpy too.
I don't know if we can remove numpy from requirements.txt.
I don't know if this is something that picamera (and maybe pyzbar) should be requiring so that we don't have to.
I'm not sure which direction to take from here on fully removing that requirement, but I'm open to ideas that work.
Thank you for bringing that up, since it was part of the initial goal.

ACK, tested

While this is merged/closed, leaving a note that the comment is wrong (it's not GBR), it should simply be:
# 24-bit RGB-8:8:8 becomes 16-bit RGB-5:6:5.
```.

I'll explain below.

Using PIL.Image.convert("BGR;16") is misnamed and deceiving, at least from a mode="RGB" instance.

What it really gives would be better named "GBRG;16", because it converts each RGB-8:8:8 pixel to:
3 highest bits of green + 5 highest bits of blue in the first byte and
5 highest bits of red + the next 3 highest bits of green (not yet expressed) in the second byte.

The per-pixel byte order toggle then turns it into RGB-5:6:5 for the screen.


[SPARK-37626][BUILD] Upgrade libthrift to 0.15.0

What changes were proposed in this pull request?
This PR upgrades libthrift from 0.12.0 to 0.15.0.
Why are the changes needed?
This is to avoid https://nvd.nist.gov/vuln/detail/CVE-2020-13949.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Will rely on PR testings.

Test build #146125 has started for PR 34878 at commit 1b7eb59.

Test build #146125 has finished for PR 34878 at commit 1b7eb59.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50600/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146125/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50600/

Test build #146127 has started for PR 34878 at commit c7b27d2.

Test build #146127 has finished for PR 34878 at commit c7b27d2.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146127/

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50602/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50602/

Build failed because requestTimeout is removed from TThreadPoolServer.Arg (see https://github.com/apache/thrift/commit/7ae1ec3f1eb3218f8b623232436bc986e3f1f5c8) and this will affect the corresponding Hive conf (see https://github.com/apache/spark/blob/master/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftBinaryCLIService.java#L93).

Is this compatible with whatever things like Hadoop depend on?

Oh, this is a duplicate: https://github.com/apache/spark/pull/34878


UseEffect with React-Table not displaying changes unless the page is refreshed

Describe the bug
I have this issue where I updated a table to use react-table and now, whenever I either add or delete an item from my api response, I need to refresh the whole page to see the changes take place, whereas before I had my useEffect showing these changes immediately. It seems it won't let you change your data value. (Further details can be found here
Provide an example via Codesandbox! (required)
Use a new react-table codesandbox to reproduce the issue.
Steps To Reproduce
Toggle lines 9 and 10 on the Codebox sample and click the Add random button to see the issue happening.
Expected behavior
React-table accepting data from props.
Desktop

OS: [Mac]
Browser [chrome, safari]

Thank you.

Why do you think it should work if you uncomment those lines? You are storing the initial data in useState (when you first rendered this table) and then you never update it. It works as intended.


add grpc extension to php-fpm and php-worker

Description
Add GRPC extension to php-fpm and php-worker
Motivation and Context
GPRC for firebase
Types of Changes

[] Bug fix (non-breaking change which fixes an issue).
[x] New feature (non-breaking change which adds functionality).
[] Breaking change (fix or feature that would cause existing functionality to not work as expected).

Definition of Done Checklist:

[x] I've read the Contribution Guide.
[] I've updated the documentation. (refer to this for how to do so).


Keep track of why files are in the program

Motivation
We currently have tsc --listFiles to show the list of files included in the compilation, but it doesn't tell you why a file is in there. There are other scenarios where a file is "illegally" part of the compilation, but we're not able to tell you why it's there.
This leads to some difficult debugging scenarios. For example, a customer was confused about why the ES2018 includes method was available in their ES5-targeting program:
(Customer) Here's a dumb question.  Array.prototype.includes is part of ES7.  In our tsconfig.json we target es6 and lib is just [ "es6" ].  Should I get compilation errors when trying to call includes?  If not, should the generate code have called includes?  How can I learn what the mental model I should be using is here.
(Me) You should see an error. Typescript never polyfills any APIs
(Customer) Would having "@types/node": "latest" in my package.json change the behavior here?
(Me) Yeah it's possible node dts pulls in additional stuff, but they shouldn't do anything that would bring in includes
(Me) that'd be a node dts bug imho
(Customer) So with it, it definitely builds.  But the only place they have an includes is as a method on the Buffer class.
(Me) Where does go to def take you?
(Customer) /usr/share/code/resources/app/extensions/node_modules/typescript/lib/lib.es2016.array.include.d.ts
(Customer) Which is ES7?
(Customer) Yeah - sorry - surprised that go-to def would bring me to lib.es2016.ANYTHING if I was using the es6 target and lib?
(Me) You are correctly surprised
(Me) It means something has a lib reference that's causing it to be included
(Me) Search for "reference lib=" in your project
(Customer) Aside from a bunch of hits in node_modules/typescript, there only other hits are in the @types/node module here: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/ts3.2/index.d.ts
(Me) So yeah that file is pulling in es2018

Suggestion
During program creation, the first time a file is added to the program, we should keep track of what caused this to happen - lib reference, types directive, etc., and resurface that data when needed.
Examples
--listFiles
> tsc --listFiles

node_modules/typescript/lib/lib.es5.d.ts                       Automatic for target: "es5"
node_modules/typescript/lib/lib.es2015.d.ts                    lib reference from node_modules/typescript/lib/lib.es2016.d.ts
node_modules/typescript/lib/lib.es2016.d.ts                    Included from lib: "es2016"
src/compiler/core.ts                                           Part of 'files' list in tsconfig.json
src/compiler/debug.ts                                          Matched by include pattern '*/debug.ts' in tsconfig.json
src/compiler/performance.ts                                    Included via reference from src/compiler/core.ts
<EMAIL_ADDRESS>     Imported from src/compiler/performance.ts
src/compiler/perfLogger.ts                                     Part of 'files' list in tsconfig.json
src/compiler/semver.ts                                         Part of 'files' list in tsconfig.json
src/compiler/types.ts                                          Part of 'files' list in tsconfig.json
node_modules/buffer/index.d.ts                                 Imported from<EMAIL_ADDRESS><EMAIL_ADDRESS>                        Entry point for implicit types library 'node'

rootDir violations
> tsc

Error TS1236: File "test/list.ts" is outside rootDir "src"
  The file is in the program because: Matched by default include pattern "**/*"

> tsc

Error TS1236: File "test/list.ts" is outside rootDir "src"
  The file is in the program because: Imported by "src/bad_file.ts"

We should also consider reporting module files that are redirected along with their Package id

FWIW, for the MSBuild support for tsc, we parse the listFiles output to determine the input files for a given compilation. Given that, it would be nice to separate the file path and explanation with some character that's invalid in paths, but at the very least keep in mind that we do depend on being able to read these paths.

Probably would need to be --explainListFiles (--explainFileList ?) to keep machine compatibility

@uniqueiniquity Do you want me to move the -> thing as well to 1explainListFiles1 instead?


detached dialogs in general are glitched

Recreate

open Fragements app ( this happends with any libadwaita or libhandy or gtk3 app's dialog windows)
start a torrent
click on the torrent list item to get a details dialog window

thanks


[BUG] Cannot Access Settings

Please confirm these before moving forward

[x] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions.
[X] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version
3.1.4
Windows version, edition, and architecture
Windows 11 Pro 10.0.22631 x64
Describe your issue

Enabled vkpkg
Changed root
Now locked out of settings

Steps to reproduce the issue

Installed vkpg via npm

Restart UniGetUI

vkpkg not detected as installed via %VKPKG_ROOT%

Change vkpkg root location to C:\Users<user>\node_modules\vkpkg

Restart UniGetUI

Error Message:

⊗ Something went wrong An internal error occurred. Please view the log for further details

Click Settings to attempt other root

Stays on current screen

UniGetUI Log
[12/18/2024 3:00:53 PM]    __  __      _ ______     __  __  ______
                          / / / /___  (_) ____/__  / /_/ / / /  _/
                         / / / / __ \/ / / __/ _ \/ __/ / / // /
                        / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                        \____/_/ /_/_/\____/\___/\__/\____/___/
                            Welcome to UniGetUI Version 3.1.4
[12/18/2024 3:00:53 PM]
[12/18/2024 3:00:53 PM] Build 73
[12/18/2024 3:00:53 PM] Encoding Code Page set to 437
[12/18/2024 3:00:53 PM] Using built-in UniGetUI Elevator
[12/18/2024 3:00:54 PM] Loaded language locale: en
[12/18/2024 3:00:54 PM] An error occurred while initializing the API
[12/18/2024 3:00:54 PM] Nancy.Hosting.Self.AutomaticUrlReservationCreationFailureException: The Nancy self host was unable to start, as no namespace reservation existed for the provided url(s).

                        Please either enable UrlReservations.CreateAutomatically on the HostConfiguration provided to
                        the NancyHost, or create the reservations manually with the (elevated) command(s):

                        netsh http add urlacl url="http://+:7058/" user="Everyone"

                           at Nancy.Hosting.Self.NancyHost.StartListener()
                           at Nancy.Hosting.Self.NancyHost.Start()
                           at UniGetUI.Interface.BackgroundApiRunner.Start() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Interface.BackgroundApi\BackgroundApi.cs:line 73
[12/18/2024 3:00:54 PM] Lang files were updated successfully from GitHub
[12/18/2024 3:00:54 PM] Old chocolatey path is a symbolic link, not migrating Chocolatey...
[12/18/2024 3:00:54 PM] Downloaded new icons and screenshots successfully!
[12/18/2024 3:00:55 PM] Command vcpkg was not found on the system
[12/18/2024 3:00:55 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: vcpkg
                        █ Enabled: True
                        █ Found: False
                        █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                        █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[12/18/2024 3:00:55 PM] Command cargo was not found on the system
[12/18/2024 3:00:55 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Cargo
                        █ Enabled: True
                        █ Found: False
                        █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                        █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[12/18/2024 3:00:55 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Pip
                        █ Enabled: True
                        █ Found: False
                        █ THE MANAGER WAS NOT FOUND.  All managers loaded. Proceeding to interface.
[12/18/2024 3:01:00 PM] Dependency Scoop-Search for manager Scoop is present
[12/18/2024 3:01:00 PM] Found 0 installed packages from Scoop
[12/18/2024 3:01:00 PM] Found 0 installed packages from Scoop
[12/18/2024 3:01:00 PM] Dependency Git for manager Scoop is present
[12/18/2024 3:01:00 PM] Found 0 installed packages from PowerShell7
[12/18/2024 3:01:00 PM] Dependency .NET Tools Outdated for manager .NET Tool is present
[12/18/2024 3:01:00 PM] Found 0 available updates from .NET Tool
[12/18/2024 3:01:01 PM] Found 1 installed packages from .NET Tool
[12/18/2024 3:01:01 PM] Found 0 available updates from Scoop
[12/18/2024 3:01:01 PM] Found 0 available updates from PowerShell7
[12/18/2024 3:01:01 PM] Found 5 installed packages from Chocolatey
[12/18/2024 3:01:02 PM] Found 0 available updates from Chocolatey
[12/18/2024 3:01:03 PM] Found 1 installed packages from PowerShell
[12/18/2024 3:01:03 PM] Found 0 available updates from Winget
[12/18/2024 3:01:03 PM] Found 157 installed packages from Winget
[12/18/2024 3:01:03 PM]  -
[12/18/2024 3:01:03 PM]  -
[12/18/2024 3:01:03 PM]   ⚠⚠⚠ START OF UNHANDLED ERROR TRACE ⚠⚠⚠
[12/18/2024 3:01:03 PM] Could not find a part of the path 'C:\Users\<username>\node_modules\vkpkg\triplets'.
[12/18/2024 3:01:03 PM] System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\<username>\node_modules\vkpkg\triplets'.
                           at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
                           at System.IO.Enumeration.FileSystemEnumerator`1.Init()
                           at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
                           at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
                           at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
                           at UniGetUI.PackageEngine.Managers.VcpkgManager.Vcpkg.GetSystemTriplets() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.Vcpkg\Vcpkg.cs:line 442
                           at UniGetUI.Interface.SettingsPage..ctor() in C:\SomePrograms\WingetUI-Store\src\UniGetUI\Pages\SettingsPage.xaml.cs:line 210
                           at UniGetUI.Interface.MainView.GetPageForType(PageType type) in C:\SomePrograms\WingetUI-Store\src\UniGetUI\Pages\MainView.xaml.cs:line 153
                           at UniGetUI.Interface.MainView.NavigateTo(PageType NewPage_t) in C:\SomePrograms\WingetUI-Store\src\UniGetUI\Pages\MainView.xaml.cs:line 228
                           at UniGetUI.Interface.MainView.SettingsNavButton_Click(Object sender, EventArgs e) in C:\SomePrograms\WingetUI-Store\src\UniGetUI\Pages\MainView.xaml.cs:line 201
                           at UniGetUI.Interface.Widgets.NavButton.ToggleButton_Click(Object sender, RoutedEventArgs e) in C:\SomePrograms\WingetUI-Store\src\UniGetUI\Controls\NavButton.xaml.cs:line 45
                           at WinRT._EventSource_global__Microsoft_UI_Xaml_RoutedEventHandler.EventState.<GetEventInvoke>b__1_0(Object sender, RoutedEventArgs e)
                           at ABI.Microsoft.UI.Xaml.RoutedEventHandler.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr e)
[12/18/2024 3:01:03 PM]   ⚠⚠⚠  END OF UNHANDLED ERROR TRACE  ⚠⚠⚠

Package Managers Logs
Manager WinGet with version:
System WinGet CLI Version: v1.9.25200
Using Native WinGet helper (COM Api)
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListSources
Process start time: 12/18/2024 3:00:56 PM
Process end time:   12/18/2024 3:00:56 PM
-- Task information
 ...
The task reported success
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 12/18/2024 3:00:58 PM
Process end time:   12/18/2024 3:01:03 PM
-- Task information
 ...
The task reported success
——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\ADMIN\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 12/18/2024 3:00:58 PM
Process end time:   12/18/2024 3:01:00 PM
-- Process STDOUT
 ...
Return code: SUCCESS (0)
——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 12/18/2024 3:00:58 PM
Process end time:   12/18/2024 3:01:02 PM
-- Task information
 ...
The task reported success
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListUpdates
Process start time: 12/18/2024 3:01:00 PM
Process end time:   12/18/2024 3:01:03 PM
The task reported success
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 12/18/2024 3:01:36 PM
Process end time:   12/18/2024 3:01:39 PM
-- Task information
 ...
The task reported success
——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 12/18/2024 3:01:36 PM
Process end time:   12/18/2024 3:01:37 PM
-- Task information
 ...
The task reported success
——————————————————————————————————————————

Relevant information
No response
Screenshots and videos
No response

Does this folder exist? C:\Users\<username>\node_modules\vkpkg\triplets
Perhaps you meant       C:\Users\<username>\node_modules\vcpkg\triplets (note vcpkg instead of vkpkg)
Either way, the settings UI shouldn't crash

what happens if you create the triplets subfolder?

For the time being, please try to unset the environment variable so UniGetUI Settings can load. (make sure to fully restart UniGetUI so settings UI can load again)
I will fix this issue

This might be my bad, it seems like the crash is originating from the triplet detector not checking if the triplets folder exists before enumerating over it?
Also @realAllonZ, I suspect the reason it's not locating vcpkg based on %VKPKG_ROOT% is because it's looking for %VCPKG_ROOT%, with a C.
And if you installed the `vkpkg npm module and are then trying to use it as the vcpkg package manager it's not going to work because they're two different things. You can't install vcpkg from npm; see vcpkg.io to install the vcpkg package manager.

I can confirm, this issue occurs when setting the vcpkg root to a directory not containing a triplets directory. This is why vcpkg source collection fails as well; that's both places Vcpkg.GetSystemTriplets is used, which is the problem method. I will go fix this.
@realAllonZ, a temporary fix is completely exiting UniGetUI (right click the taskbar icon and select "Quit") and deleting the %LOCALAPPDATA%\UniGetUI\CustomVcpkgRoot file. Upon startup, the settings will work again.

what happens if you create the triplets subfolder?

Already thought of that and there was no change. Settings are still inaccessible.

The reason that just creating the triplets folder failed was because it was also looking for triplets\community.

Anyways, I will introduce changes so an exception does not block accessing the Settings UI.

@marticliment - this was fixed in 3.1.5, was it not? Is there any reason to keep this open?

Yes, but the vcpkg-issue only. I want to fix an arbitrary case when settings get locked by an exception


Debugger breaks first signal run

I have a new issue with debugger. Pretty sure it was before latest updates but now I have triaged it.
 export default [
    () => { console.log('set loading') },
    [
        ...timeout(2000, () => { console.log('timeout') })
    ],
    () => { console.log('unset loading') }
]

Without debugger in incognito runs normally:
set loading
[WDS] Hot Module Replacement enabled.
timeout
unset loading

With debugger:
Waiting for update signal from WDS...
set loading
set loading
unset loading
[WDS] Hot Module Replacement enabled.
timeout
unset loading

I suppose this is working now?


dataset

do the dataset using in paper is open source?

For pre-training, we use the VGGSound dataset, which they provided youtube_id, and the start/end time with labels. However, we need to download the youtube videos on our own.
For the downstream evaluation, all the dataset used are open sourced.


Update HelloController.java

leaving a comment

something

something again!

Postman comment

Postman comment

App is staged at "launch-77.southindia.azurecontainer.io"

App is staged at "launch-78.southindia.azurecontainer.io"


Donkey Kong 64 EU with Project64 returns "unknown task type: 0x8BC43B5D" on launch

Tested with PJ64 official version 2.3 and recent nightly 2.4 builds from emuCR. A command prompt window with that error pops when starting the game. So far tested 5 other games and all ran without issues, except this one. Note that after the popup is closed, emulation begins normally.

You are probably using the pre-built binary I had uploaded to EmuTalk.
This is generally a good thing except that due to a lack of feedback sent to me I never found the time to update the binary with all changes made since then.
See for reference:  https://github.com/cxd4/rsp/commit/11176630e12593a3e11cb5e90789a9b0df8aed7b


fix: support setting decodeDatesAsIso globally

Resolves https://github.com/ftrackhq/ftrack-ts-schema-generator/issues/19

Oh, we missed adding this in the constructor? Our bad – thanks for the patch!
Please move the option to the call function, and we can merge this.

decodeDatesAsIso is defaulted to false in call, so that won't work either. Probably best to default all the different decodeDatesAsIso ( in decode() and call()) to this.decodeDatesAsISO, instead of making other changes inside call().

I tried doing this now. Let me know if I understood what you meant correctly. If not, I think I need some assistance perhaps?

Thanks for the assist! ❤
And sorry for maybe not being too thorough around testing. Things are busy these days, so I must admit I've been trying to limit my investment in this.

No worries at all. Appreciate any contributions.


npm install netjsongraph.js does not work

$ node --version
v6.10.2
$ npm -v
5.0.4
$ npm install netjsongraph.js --save

<EMAIL_ADDRESS>postinstall /Users/andrew.gadzik/Documents/git-repos/sns-network-graph/node_modules/netjsongraph.js
npm run build

<EMAIL_ADDRESS>build /Users/andrew.gadzik/Documents/git-repos/sns-network-graph/node_modules/netjsongraph.js
webpack --config webpack.config.prod.js

sh: webpack: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>build: webpack --config webpack.config.prod.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR!      /Users/andrew.gadzik/.npm/_logs/2017-06-29T13_37_53_282Z-debug.log
npm WARN<EMAIL_ADDRESS>No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: npm run build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      /Users/andrew.gadzik/.npm/_logs/2017-06-29T13_37_54_059Z-debug.log

I've solved this problem in next version. It comes soon.

@geekplux I remember it worked when I tried, what's the reason for this bug?

@nemesisdesign  may not install webpack right. I have changed webpack to ./node_modules/.bin/webpack and it works

Isn't the issue with the postinstall script in the package.json?  It seems like DevDependencies are not installed before that is executed hence that is why I'm seeing the "Cannot find module WebPack" error

yes, you are right,  I have changed it to prepublish script in dev branch.

@geekplux we could publish this small fix directly on the master branch and issue a new minor release, if you point me what to do I can try.

@geekplux how are we going with this?

@nemesisdesign  when to merge the dev branch?

we can merge once #1, #39 and #45 are resolved

@geekplux could you fix this issue on the master branch please?

Any update on this issue?  Workaround?  I'd like to use netjsongraph.js in a Meteor app.  However, I'm new to webpack & building/deploying javascript apps.

waiting for @geekplux to fix this in the master branch

Here is no problem. @tmostyn you can have a try to reinstall, with 0.1.3 version.

Thanks @geekplux.  Yes, netjsongraph.js successfully installs with 'meteor npm install netjsongraph.js --save'.  However, I'm failing to find a way to import it, (e.g. "import 'netjsongraph'").  Perhaps this is because netjsongraph.js doesn't export anything, but I'm not sure.  Is this an issue to be reported, or is Meteor simply unsupported?  Thanks!

@tmostyn yes, netjsongraph.js in current version doesn't export anything. So sorry I don't know how to import third-party lib in Meteor..maybe you should import d3.js and netjsongraph.js generally by

Thanks @geekplux, I'll note your advice.  I've had some success bringing the netjsongraph Javascript and style sheets directly into my project.  The default demo example works, but the IP's show w/o hovering, I think I'm having some styling issues.

@tmostyn sounds great. ask me if have any question.

@tmostyn, how did you manage to import or require netjsongraph into your project? I am fighting with the same problem.

@mkomu, from a Meteor app perspective, I copied netjsongraph.js directly into my project (e.g. imports/ui/netjsongraph.js).  I put the styling files, netjsongraph-theme.css and netjsongraph.css, in the client directory where main.html is and modified main.html to reference them.  This may not be the right way, but I needed to move on with development.

@geekplux, is there a way to color nodes based on custom node properties, an API and/or callback?  I don't see one, so thought I'd ask.  Many thanks.

@tmostyn  Hi, you can add a custom class name using nodeClassProperty ,  then can change the color by writing CSS style for your nodes class.

@geekplux Hi,  Thanks for your response.  To clarify, I want different color nodes representing different roles (switch, router, interface, host, ..., etc.).  I've got that working by 1) defining a CSS style for each role, adding the role to node.properties, and changing the 'node = groups.append("circle").attr("class")...'  to check node.properties to determine which styling/class to use.  I was wondering is there a better, more generic way, to do this w/o modifying netjsongraph?  Thanks.


How to use this with AWS FreeRTOS?

Hi, the library looks really handy. I would like to use it with AWS FreeRTOS which brings its own mbedtls lib. It does not work the way the README suggests for platforms like unix or windows :(
Any guide on how to make it work on AWS FreeRTOS?

Hi there,
I'm so sorry but I have zero experience with FreeRTOS :/
Does it give you any error messages or something? Where does it fail?

Hi,
I have the same problem.
The compiling error I have is related to the line for example 50 in entropy_poll.c
#error "This module only works on Unix and Windows, see MBEDTLS_NET_C in config.h".
I also tried to disable the defines in the config.h, without success.
Any suggestions?

I think adding the option to link an external mbedtls lib would work. I'm having the same issue. I already have an installed mbetls, which conflicts with this one.

@nguterresn phewwf. I knew this ticket was gonna reappear at some point in time. I guess I'm gonna have to address this soon. I'll do research as soon as I can. I'm open for pull-requests :S


downloads amd64 only binary

The binary that's being downloaded is specific to amd64, and that means that this role doesn't work for e.g. arm hosts. It would be great if borgbackup could be installed from e.g. apt.

If I'm not mistaken, you can add something like this in your playbook's vars or in your host_vars/ : (example for linux 32b version 1.1.9)
borgbackup_download_url: "https://github.com/borgbackup/borg/releases/download/{{borgbackup_version }}/borg-linux32"
borgbackup_checksum:"sha256:4d47902c89b1c0233a712296c913b8218a1890629701f4bf4dedf1127477629e"

@stroobl This issue can be closed, as setting the download_url and checksum parameters give all the freedom :+1:


miniconda --batch  still asked me confirmation

(git)smaug:~datalad/datalad-master[master]
$> pip install --upgrade datalad-installer
WARNING: Keyring is skipped due to an exception: Failed to unlock the collection!

The following packages will be DOWNGRADED:

  brotlipy                          0.7.0-py39h27cfd23_1003 --> 0.7.0-py37h27cfd23_1003
  cffi                                1.15.0-py39hd667e15_1 --> 1.15.0-py37hd667e15_1
  conda-package-han~                   1.8.1-py39h7f8727e_0 --> 1.8.1-py37h7f8727e_0
  pip                                 21.2.4-py39h06a4308_0 --> 21.2.2-py37h06a4308_0
  pycosat                              0.6.3-py39h27cfd23_0 --> 0.6.3-py37h27cfd23_0
  python                                  3.9.12-h12debd9_0 --> 3.7.13-h12debd9_0
  ruamel_yaml                       0.15.100-py39h27cfd23_0 --> 0.15.100-py37h27cfd23_0
  setuptools                          61.2.0-py39h06a4308_0 --> 61.2.0-py37h06a4308_0

Proceed ([y]/n)? y

...

where I had to enter that y although with --batch I expect no interaction to be needed.  Might be an issue with miniconda installer or conda itself, didn't check.

@yarikoptic --batch corresponds to passing -b to the miniconda install script, and it only affects the behavior of that script, not of any Conda processes invoked by it.

if we are requesting it to operate in --batch mode IMHO it should not ask questions and only then we would be true to our description of
  --batch                         Run in batch (noninteractive) mode

option.  May be it is an issue then to bring up with the miniconda installer script people in that  it should then invoke conda subprocesses with -y option.  Or is there a dedicated -y in the installer script?

@yarikoptic These are all the options of the install script:
-b           run install in batch mode (without manual intervention),
             it is expected the license terms are agreed upon
-f           no error if install prefix already exists
-h           print this help message and exit
-p PREFIX    install prefix, defaults to /Users/jwodder/miniconda3, must not contain spaces.
-s           skip running pre/post-link/install scripts
-u           update an existing installation
-t           run package tests after installation (may install conda-build)

@yarikoptic --spec is passed to conda install.

then please pass -y to conda install if there --batch option we give to once again fulfill its promise.


Issue with export

🔍 Issue Description
Hey, I’ve scaled a ydr file in Z axis, then exported as always, but in game and codewalker nothing change. But when I delete polis, or change shader config everything works.
🛠 Sollumz Version(s)
Latest
🖥 Blender Version(s)
4.0, 4.2
🔄 Reproduction steps
I didn’t find any resolution. Sometimes creating a new drawable fixes bug for first use.
🎯 Expected Result
Export scaled prop successfully
⚠ Current Result
Prop doesn’t scale
📎 Attachments
I can send you a video after going back to home

How can I do it?

But I've been modifying this way files lots of times, but suddenly it stopped working and scaling me props


Custom model with multiple input crashing at ModifyGraphWithDelegate.

I am trying to run multiple input model in mediapipe gpu pipeline. Using custom tflite model which accepts three input tensors and produces one output tensors. following is the graph I am using.
input_stream: "input_video"
output_stream: "output_video"

node {
  calculator: "FlowLimiterCalculator"
  input_stream: "input_video"
  input_stream: "FINISHED:output_video"
  input_stream_info: {
    tag_index: "FINISHED"
    back_edge: true
  }
  output_stream: "throttled_input_video"
}

node: {
  calculator: "ImageTransformationCalculator"
  input_stream: "IMAGE_GPU:throttled_input_video"
  output_stream: "IMAGE_GPU:transformed_input_video"
  node_options: {
    [type.googleapis.com/mediapipe.ImageTransformationCalculatorOptions] {
      output_width: 224
      output_height: 224
    }
  }
}

node: {
  calculator: "ImageTransformationCalculator"
  input_stream: "IMAGE_GPU:throttled_input_video"
  output_stream: "IMAGE_GPU:transformed_bg_input_video"
  node_options: {
    [type.googleapis.com/mediapipe.ImageTransformationCalculatorOptions] {
      output_width: 448
      output_height: 448
    }
  }
}

node: {
  calculator: "ImageTransformationCalculator"
  input_stream: "IMAGE_GPU:throttled_input_video"
  output_stream: "IMAGE_GPU:transformed_pl_input_video"
  node_options: {
    [type.googleapis.com/mediapipe.ImageTransformationCalculatorOptions] {
      output_width: 448
      output_height: 448
    }
  }
}

node {
  calculator: "TfLiteConverterCalculator"
  input_stream: "IMAGE_GPU:transformed_input_video"
  input_stream: "BG_GPU:transformed_bg_input_video"
  input_stream: "PL_GPU:transformed_pl_input_video"
  output_stream: "TENSORS_GPU:image_tensor"
  node_options: {
    [type.googleapis.com/mediapipe.TfLiteConverterCalculatorOptions] {
      zero_center: false
      max_num_channels: 3
    }
  }
}

node {
  calculator: "TfLiteInferenceCalculator"
  input_stream: "TENSORS_GPU:image_tensor"
  output_stream: "TENSORS_GPU:segmentation_tensor"
  #input_side_packet: "CUSTOM_OP_RESOLVER:op_resolver"
  node_options: {
    [type.googleapis.com/mediapipe.TfLiteInferenceCalculatorOptions] {
      model_path: "mediapipe/models/my_model.tflite"
      use_gpu: true
    }
  }
}
node {
  calculator: "TfLiteTensorsToCompositionCalculator"
  input_stream: "TENSORS_GPU:segmentation_tensor"
  output_stream: "IMAGE_GPU:output_video"
  node_options: {
    [type.googleapis.com/mediapipe.TfLiteTensorsToCompositionCalculatorOptions] {
      tensor_width: 448
      tensor_height: 448
      tensor_channels: 3
      combine_with_previous_ratio: 0.9
      output_layer_index: 0
    }
 }
}

I modified TfLiteConverterCalculator to suite multiple input & pipeline is running with one tflite model. TfLiteTensorsToCompositionCalculator calculator is also working fine as I validated with other graph. Here is a sample model which I am trying to run.
sample-tflite-file. Pipeline is crashing in TfLiteInferenceCalculator::open inside LoadDelegate()  at call RET_CHECK_EQ(interpreter_->ModifyGraphWithDelegate(delegate_.get()),                kTfLiteOk); I verified all input & output tensors size by printing gpu_data_in_[i]->elements, Input buffer are seems to be correctly binding. Following is the error log I am getting.
E/libc++abi: terminating with uncaught exception of type absl::lts_2020_02_25::bad_any_cast: Bad any cast
A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 25841 (mediapipe_gl_ru), pid 24342 (segmentationgpu)

Any Idea what could be the issue? Or What does it means when ModifyGraphWithDelegate throws error?

when you call interpreter->ModifyGraphWithDelegate, the GPU backend inspects your TFLite graph def and tells the TFLite framework which ops it can handle and which it can’t.
you can try adding a TfLiteCustomOpResolverCalculator node, like in https://github.com/google/mediapipe/blob/master/mediapipe/modules/palm_detection/palm_detection_gpu.pbtxt#L39  and see if that helps.
does your TfLiteConverterCalculator output a vector of tensors to match the order of your expected 3 model inputs?
id: fg_small_in:0
id: bg_in:1
id: fg_in:2

when you call interpreter->ModifyGraphWithDelegate, the GPU backend inspects your TFLite graph def and tells the TFLite framework which ops it can handle and which it can’t.
you can try adding a TfLiteCustomOpResolverCalculator node, like in https://github.com/google/mediapipe/blob/master/mediapipe/modules/palm_detection/palm_detection_gpu.pbtxt#L39  and see if that helps.
does your TfLiteConverterCalculator output a vector of tensors to match the order of your expected 3 model inputs?
id: fg_small_in:0
id: bg_in:1
id: fg_in:2

@mcclanahoochie  Thank you for response, I was able to fix it by changing to model architecture. It was some error in the model architecture when was running with GPU delegate

@mcclanahoochie  Thank you for response, I was able to fix it by changing to model architecture. It was some error in the model architecture when was running with GPU delegate


Added action to test Integration of the darling php-reflection-utilities library

Added action to test Integration of the darling php-reflection-utilities library

Related to resolving issue #418


qemu: implement Drive type

Drive type is required to provide an image as rootfs to the VM
this could be an alternative to NVDIMM and DAX
Signed-off-by: Julio Montes<EMAIL_ADDRESS>

Coverage increased (+3.7%) to 74.813% when pulling a8f9661764f6b5a36254c8a8da690163838a740b on devimc:qemu/drive into d60256118ff05e570408e24c159171cca903e362 on intel:master.

@sameo @markdryan changes applied, thanks

actually I don't need this, I can use a block device to replace NVDIMM, but the idea of having the Drive structure is good


Increment versions for monitor releases

Increment package versions for monitor releases

API change check
API changes are not detected in this pull request.


Split clean field migration in two and handle real world data

Overview
We ran into multiple, overlapping issues when trying to run the first version of
the 0075 migration in our staging environment.

Items in the UPLOADED or ERROR_PARSING status will have empty name and
address fields. We address this by excluding rows where both the name and
address are empty strings.
The clean function returns None if all characters are removed, but the
clean_* fields mush be set to an empty string, not None. We address this by
adding or '' when setting values.
The "fill" operation talks a long time to run though 300k+ rows. During this
time the application will crash because the new model fields do not exist in
the database until the migration is complete. We address this by splitting the
migration into 2, a structural change followed by the "fill" operation.
By default running a for loop over QuerySet will cache all of the records
before starting the iteration. This creates a process that is slow to start
and requires a large memory footprint. We address this by using
QueySet.iterator()
The clean operation uses the unidecode library to convert unicode characters
to ascii by replacing them with transliterations which can result in the clean
strings being longer than the original. We address this by making the clean
fields 10x longer than the originals, because we did not identify any
transliterations more than 9 characters long.

To make the debugging process easier we added print statements to show the
progress of the fill operation over time.
Connects #1549
Demo
Operations to perform:
  Apply all migrations: account, admin, api, auth, authtoken, contenttypes, sessions, sites, socialaccount, waffle
Running migrations:
  Applying api.0075_add_clean_name_and_address... OK
  Applying api.0076_fill_clean_name_and_address...


Porting to other languages

Hi! Great library. I've been using it for years.
Some time ago I needed the same logic in other non-js projects, so I ended up porting it to Python and dart.
Not sure what is your policy regarding ports to other languages, e.g. some projects mention them in their readme. Just wanted to let you know that they exist :slightly_smiling_face:

Hi,
My turn. Just to let you know that I started porting it to C++ at flubberpp

That's great! I might just create Python bindings for your implementation and drop mine altogether :smile:


State values not treating "yes" and "no" as boolean values in gotmpl files

Operating system
macOS Monterey Version 12.6
Helmfile Version
v0.147.0
Helm Version
3.10.1
Bug description
The following state value foo: no when used in an if-statement does not work.  It is treating the value as a string and because it is non-nil it is truthy, it should be false.
I can confirm that this bug does not exist in helmfile v0.146.0
Example helmfile.yaml
helmfile
missingFileHandler: Error

releases:
- name: foo
  chart: ./charts/foo
  values:
  - foo-values.yaml.gotmpl

environments:
  default:
    values:
      - flag: no

foo-values.yaml.gotmpl file specified on the release
#  foo-values.yaml.gotmpl
{{- if .Values.flag }}
ifResult: "if evaluated to TRUE with .Values.flag={{ .Values.flag }}"    <----evaluates to TRUE when flag=no
{{ else }}
ifResult: "if evaluated to FALSE with .Values.flag={{ .Values.flag }}"
{{- end }}

chart's template file
ifResult: {{ .Values.ifResult }}

Error message you've seen (if any)
There is no error message, this is a logic error:
With a state value of foo: no this is the result
$ helmfile template
Building dependency release=foo, chart=charts/foo
Templating release=foo, chart=charts/foo
---
# Source: foo/templates/test.yaml
ifResult: if evaluated to TRUE with .Values.flag=no

The correct output is should be ifResult: if evaluated to FALSE with .Values.flag=no
Steps to reproduce
https://github.com/tonygilkerson/helmfile-bug/blob/main/README.md
Working Helmfile Version
v0.146.0
Relevant discussion
No response

@tonygilkerson try to use true or false.

@tonygilkerson see: https://pkg.go.dev/gopkg.in/yaml.v3#readme-compatibility

@tonygilkerson looking forward to your feedback. Thanks very much.

@tonygilkerson I will close this issue. if you have new any issues. please free to post a new issue.


Opera Android gap property for Flexbox support

Caniuse states that opera android doesn't support gap property for flexbox. But MDN shows it's been supported since version 60. https://developer.mozilla.org/en-US/docs/Web/CSS/gap#browser_compatibility

Yeah, there was some confusion for a bit since the Opera for Android version numbers used to match that on desktop, now it seems they're out of sync (64 on Android, 77 on desktop but both using Chromium 91). Has been corrected now.


Problem in reproducing the paper results

Hello, I have read your paper and trained the transformer model with the processed dataset. However, I can't reproduce the results in the paper.
The results in the paper are showed below:

We can see that the model trained with both video and comment performs best.
I download the code and the processed dataset, train the model on a single GPU(it takes about 2.5 days for 50 epoches), and test the model on the final epoch, just like the instructions in README.md(I also test other checkpoints and the results are close). I set n_img to 0 and n_com to 0 respectively and train two another models to get the Comment_Only and Video_Only results.

The values are much higher than the results in your paper and Video_Only model shows an extremely high performance, which is counter-intuitive.
So I check the source code and find something strange(maybe a bug?). The line 155 in transformer.py is showed below.

It returns the loss rank of 100 candidate comments for each test item and the evaluation metrics are calculated accordingly. It should be a list ranked by the candidates' log-likelihood scores descendingly. However, the CrossEntropy Loss is contrary to the log-likelihood score, a lower loss means a higher log-likelihood score. So I think the loss should be ranked ascendingly. I fix the code line and run the test again.

This time, the model trained with both video and comment performs best as wished. However, the value is much lower than the results in your paper.
So I have some questions and expect your reply:

Is there really a bug in transformer.py line 155 or it is just my misunderstanding?
Why the results are so different from the paper(too high and strange on the original code, too low on my fixed code)? Is the processed dataset is what you use in the paper? Or is there something else wrong in the code?
What's your result after runing the code in the repository? I have trained two times and get close results showed above.

I am getting similar scores, any update on this?


XP-compatible version confused me for a month

because i want to add a self-define function to pdfium project ,in order that i can draw a crossline on the signature appearance, but neither the project build by PdfiumBuild or latest GOOGLE official version i build was not able to be compatible with XP, usually ended with strange errors.
so, i need the latest XP-compatible version of pdfium that you solve those problem instead of providing the release binary pdfium.dll, i have to make some changes inside it.
btw, the location i am staying is far from google, everytime i download something from google is suffering. i tried for a month, but still couldn't solve it.
oh, Pdfiumbuild project i complied and runned, but the version i made out stiil can't be used for xp.
the dbghelp.dll is not usefull for me , my xp version is sp3, i put dbghelp.dll in the same dir with pdfium, but it tell me can't find function "InitOnceExecuteOnce", as i know ,this function is not a XP-compatible one. I also disabled all the function called,but the error turn to be an overflow in "FPDF_LoadPage", as i said ,it's strange.
thanks for helping ,it's a bit urgent.

is there anybody could help me?


Skip button for Intro2

Upon reviewing your code, it seems that a large amount of code has been removed from the AppIntro class. Any particular reason why?


Borders and Shadows not displayed for images

Hi,
I just replaced Hugo Theme Learn with the theme DocDock on my website https://invincible.site
It is working great but I would like to report a minor issue related to images.
In order to display shadows and borders for my images, I used the following markdown:
![ImageTitle][page link]

[page link]: /images/Image01.JPG?classes=border,shadow

This is similar to what is described on your documentation under Shortcodes > image menu and it worked fine with the previous theme (Hugo theme Learn) as well.
However, with DocDock, the borders and shadows are not displayed.
I had tested this with the following browsers and none of them are showing the desired results:
Safari,
Firefox 53.0.3,
Google Chrome 58.0.3029.110,
Microsoft Edge 40.15063.0.0,
IE 11 and
Maxathon <IP_ADDRESS>0.
An additional issue with IE and Maxathon web browsers is that theme variants (green and gold) are not reflected, even if they are selected through the config.toml (should I open a separate issue for this?).
Note
Here is a disclaimer about the changes to your CSS that I did. I do not believe that my changes should have an effect on the issues that I reported, but I am stating them for transparency:

I used the template from your gold theme variant to create a theme that reflected the color theme of my website. The only things that I changed were the color values in the CSS variables.
I changed the border-top of the footline to "none", so that it is not displayed on the pages.

can you try to update the theme and tell me i you still have the issue ?
i think this is related to a fixed issue 4 days ago.
ref : https://github.com/vjeantet/hugo-theme-docdock/commit/1af2a78989cc17e90fe3f3494e2dda05be2937e5

Thank you.
I must have missed the fix by a whisker.
With the latest update, it is working perfectly.
(Before opening the ticket, I had somehow failed to realize that issue #17 was directly related to this one. My bad!)

May i reference your website in the docdock documentation ? I really like your website !

Sure, you can reference my website. I am glad you liked my work.
I will shortly send you the Pull Request with the theme variant.


Update training.py

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I was just testing a couple of things. I don't want to merge these changes. Sorry for the confusion.


Fix typo: repo_foward

🐛 Describe the bug
https://github.com/linkedin/Liger-Kernel/blob/8ccb2f2daeb592ee55aedcdebc296f0c812f9bbb/src/liger_kernel/ops/rope.py#L120
Change to rope_forward
Reproduce
No response
Versions
na

https://github.com/linkedin/Liger-Kernel/pull/191


feat: generic and X2M_157 models added. Model is returned as a field as well.

This adds the X2M-157 dry air cabinet model. Some refactoring was done as both F1 and X2M models that I currently have seem to use the same base "generic" model, so an additional generic model was added. Because of all of this, a model field is added to output.

Codecov Report

Merging #8 (95063e3) into master (d262d84) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         8    +2
  Lines           30        40   +10
  Branches         2         2
=========================================
+ Hits            30        40   +10

Flag
Coverage Δ

unittests
100.00% <100.00%> (ø)

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

Impacted Files
Coverage Δ

src/drstorage/models/__init__.py
100.00% <100.00%> (ø)

src/drstorage/models/base.py
100.00% <100.00%> (ø)

src/drstorage/models/f1.py
100.00% <100.00%> (ø)

src/drstorage/models/x2m.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Saving match scores

I just thought... maybe I should check score's format? (I mean if it is a string like 'int:int')

yes, it would be nice to validate that as this is prone to errors

is this a'ok? :D


Hi

Can you create a mod that changes the Inventory GUI location? Thanks!
*like on a picture

I mostly only do server-side mods and am not currently working on any new projects. If you want someone else to create this mod for you, you can try the Fabric Discord requests channel.


Disable RTTI for LevelDB Comparator

Since 1.23, LevelDB was built with RTTI disabled and no typeinfo
will be generated for the virtual base class leveldb::Comparator.
So we should build our Comparator without RTTI otherwise the linker
might complain about the missing symbols.

Ping

What if we're linking 1.22? Would this still works? If not we need version checks.

What if we're linking 1.22? Would this still works? If not we need version checks.

It will. The CI covers the 1.22 case.

But you also disabled RTTI in that case, does it make sense, w.r.t. used for current application and used as as lib?

LevelDB does not need RTTI no matter it is 1.22 or 1.23. So it is OK to disable it for both versions. I don't understand your question by the way. @xkszltl


NFAuthenticationKey doesn't work or I do something wrong, I can't generate NFAuthentication file.key

Bug report
Good Morning,
Thank you first for all your work and help in advance.
I got stuck when "Logging in with authentication key". I have tried to generate the key following the instructions, on the one hand through Windows, with the file NFAuthenticationKey_Windows.zip, I execute it, I click on "start", it opens the Chrome browser incognito, and in the Netflix website "start session" I enter my email and password "which I have previously registered in Netflix", and then the page stays in "complete subscription", I don't do anything else, but there it stays, I wait and wait and the page does not close or anything, nor it also does not download any + pin files, and I think there is something I am doing wrong or something is currently down.
The same thing happens to me on Linux, I run the NFAuthentication.py file, open Chrome and load the Netflix page, enter my username and password and log in, and it stays on "complete subscription".
Could you help me please. Tell me if there is something I am doing wrong and how is the correct way to do it.
Thanks and sorry for bothering.
Greetings.
Your Environment

Netflix add-on version: Netflix download Luar for Android TV box
Operating system version/name: Probed in Windows 10 and Imac (Linux) too.
Device model:  Netflix in YOU IN android tvbox

Used Operating system:

[ ] Android
[ ] iOS
[ x ] Linux
[ ] OSX
[ ] Raspberry-Pi
[ x ] Windows

Describe the bug
1.- After logging in and waiting a few seconds, I receive this message when the browser closes automatically.
Please can you check this problem, to try to make it possible to watch NETFLIX I thank you very much!
Expected behavior
Sorry, I couldn't give you the records as this topic is not from the kodi player!
Actual behavior
Because of this, I can't go any further to get the authentication key in Kodi Player in android tvbox
Steps to reproduce the behavior
Nothing long after logging in, I get the same error.
Due to which I can't get the pin and NFAuthentication file.key as well.
All I get is the browser's temporary data folder
Possible fix
Sorry, I'm not a developer, so I'm so sorry, but I can help make videos and other things when needed.
Debug log

The debug log can be found here:
Additional context or screenshots (if appropriate)
Other information
Screenshots

I beg you to attend my request and remove the label of "Ignored rules" because I believe I have followed the template for the report of the problem that I currently have.
Thank you.
I await your reply with a possible solution.

I attach photos of the tests carried out on Mac and when the screen does not close, I close the chrome browser, because otherwise at the time it closes itself. And on the other hand, I have also tried with Windows and once I have entered the username and password, I press start session and it does not do anything.
I'm waiting for you to tell me something, please. I've tried it about 20 times, both on Mac and Windows, and I don't get the NFAuthentication.key file!

from what i see in your screenshot of website in background
you are not logged in the netflix website in the webbrowser
or you have not activated your account
when you login to the netflix website usually appears the profiles list page

closed due to inactivity


Work with Google to document how upcoming Search ranking changes affect AMP content

This was brought up in the AC meeting today as we discussed Google Search's recent announcement.
There was clear appetite from AC members to have more clarity about the implications of these changes for AMP, in particular for a document that their constituents could share inside their own companies to help them assess the situation and inform strategy.
@nainar is apparently working on an FAQ for this. This could be a great venue to collect and list the AC's questions.
/cc @rudygalfi

Champion: @sumodas
Mentor: @tobie

@tobie and @sumodas to set expectations re: next steps:
Is the next step that the AC provides a list of questions that we should seed to start the FAQ? Or is it that someone on the Google end should start an FAQ based on the meeting notes?

My understanding from @rudygalfi was that you were working on an FAQ already, so next steps would have been to ask you to share it with the AC for input. It sounds like that might not be the case, though?

Sorry, I think I misunderstood the approach @tobie here. At the end of the day, it would be great to work out of the same doc to suggest questions. @nainar if you can see the document with the ones you already thought of, perhaps that's where we could begin.

@tobie @sumodas I have started a seed document for the questions here.
@tobie , for now you have Editor access since I didn't know what alias to share it with to give AC access. Could you share it with the appropriate alias?
The seed questions are those that I got from the meeting notes. I will let you all take the reins here since you are best suited as AMP stakeholders.
@ampproject/tsc as FYI.

Sorry for the misunderstanding, both of you, and thanks for seeding that document, @nainar. Would you want me to just invite the whole of the AC to it?

From my POV, it's great if the whole AC can contribute to it.

@tobie has this shared been with the AC?

Thanks for reminding me!

Wanted to provide some visibility on FAQs that Google has posted in its support forum: https://support.google.com/webmasters/thread/104436075/core-web-vitals-page-experience-faqs-updated-march-2021
I will defer to the folks who opened the issue to determine if it should be closed or remain open with additional feedback.

Thanks @rudygalfi. As discussed in https://github.com/ampproject/meta-ac/issues/180#issuecomment-819462969, the CWV TF felt like this FAQ answered the key questions unambiguously, and as a result decided to conclude its work. The AC agreed. Closing this issue as resolved.


updated news

👷 Deploy Preview for eesg processing.

Name
Link

🔨 Latest commit
6909d645998533e3cc40ebead643f665b8267aee

🔍 Latest deploy log
https://app.netlify.com/sites/eesg/deploys/628870101b403f00098f732a


Use PropTypes from 'prop-types' package

Fixes: Warning: Accessing PropTypes via the main React package is deprecated.
Use the prop-types package from npm instead.

@lemieux Any updates on this?

Sorry! I have been really busy in the past weeks and didn't have time to handle it. I'll try to fit that in today.

Changes were released with the v1.0.3. Sorry it took so long!


Can't use Tooltip with Tab

Provide a general summary of the issue here
We have a design that calls for a series of Tabs with icons as their content, with a Tooltip for each to label them
🤔 Expected Behavior?
To be able to use Tooltip to augment Tab label
😯 Current Behavior
See the steps to reproduce as reference

Wrapping TooltipTrigger around Tab never triggers the Tooltip
Wrapping TooltipTrigger around a plain button within the Tab never triggers the Tooltip
Wrapping TooltipTrigger around a RAC Button triggers the Tooltip, but breaks the ability to switch to the Tab/TabPanel
Creating a custom label, following this example: https://react-spectrum.adobe.com/react-aria/useTooltipTrigger.html#example never triggers the Tooltip

💁 Possible Solution
No response
🔦 Context
The design is necessary due to limited space constraints
🖥 Steps to Reproduce
https://codesandbox.io/p/sandbox/naughty-pascal-sgm27q
Version
"react-aria": "3.33.1",     "react-aria-components": "1.2.1",     "react-stately": "3.31.1",
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
Mac
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

Looked deeper into the hooks and found that usePress stops propagation by default. Was able to workaround my issue by implementing onPress={(event) => { event.continuePropagation(); } on the Button within a Tab:
https://codesandbox.io/p/sandbox/react-aria-components-template-g7wmmk?file=%2Fsrc%2FApp.js
But it doesn't feel like it should be this hard

Of note, a Button inside a Tab is actually not valid ARIA.
I haven't had the time to check, but were you able to determine why the TooltipTrigger on a Tab doesn't work? is it because we haven't exposed the hover props yet? https://github.com/adobe/react-spectrum/pull/6742 or is it something else?

I haven't had a chance to track down what the issue is. It's possible the above hover fix would help, but it doesn't appear to be released, so I can't test against it

I was able to verify in your Storybook that the addition of the hover events did not fix wrapping a Tab with a TooltipTrigger

So, I think this stems from the Tab never consuming FocusableContext the https://github.com/adobe/react-spectrum/blob/826d9d450ab075f6e7aa6b4cdcda944b19b12acb/packages/%40react-aria/focus/src/useFocusable.tsx#L35
None of the hooks call useFocusableContext or useFocusable, only ever useFocusRing

It appears that simply implementing useFocusable in Tab is not sufficient. I believe that due to complications introduced by the Collection pattern (implemented by Tabs), the trigger ref is never being set correctly onto the Tab, and the FocusableContext doesn't successfully penetrate into the Tab rendering scope.

@pgaudemerfiteco posted a solution to this in #6142.


Team integration

This PR integrates teams into merge-me bot.
Teams can be configured via merge-me.yml. An example configuration would be:
reviewTeams:
   design:
   - designer1
   - designer2
   dev:
   - dev1
   - dev2

The team-reviews mode is activated only if at least one person from each configured team is requested for a review for given PR.
3 tests coverages are added with this PR for merge-me.yml behaviors (minApprovals and teams).

Gave up? :speak_no_evil:

I'll be back with a clean branch 🐵


libresdr with plutoplayer dont work correctly

Everything works fine on HackRF, satellites appear and do not disappear, and after 3 minutes 3d fixation takes place. But for some reason, everything is bad with libreSDR. Satellites appear and disappear all the time.
https://youtu.be/OiZHZc91f5o

I redid the buffer filling. The DAC 9361 is 12-bit, it takes a 16-bit value and ignores 4 bits. Therefore, it is better to shift every 16 bits by 4 bits. After such manipulation, my GPS receiver began to find satellites and fix the position, it had not worked before.
Here's what needs to be changed:
    tx_buffer = iio_device_create_buffer(tx, NUM_SAMPLES, false);  //создаём буфер в сэмплах
    if (!tx_buffer) {
        fprintf(stderr, "Could not create TX buffer.\n");
        goto error_exit;
    }

    iio_channel_attr_write_bool(
        iio_device_find_channel(iio_context_find_device(ctx, "ad9361-phy"), "altvoltage1", true)
        , "powerdown", false); // Turn ON TX LO

    int32_t ntx = 0;
    short *ptx_buffer = (short *)iio_buffer_start(tx_buffer);    //указатель или адрес на начало буфера
	short *p_end =  (short *)iio_buffer_end(tx_buffer);          //указатель на конец буфера
	short *p_dat;

    printf("* Transmit starts...\n");
    // Keep writing samples while there is more data to send and no failures have occurred.

    while (!feof(fp) && !stop) {
        for (p_dat = ptx_buffer; p_dat < p_end; p_dat += 1) {
			fread(p_dat, sizeof(short), 1,fp);  //  загружаем 2 байта(16бит)
			*p_dat = *p_dat << 4;               //  сдвигаем содержимое на 4 бита
		}
        ntx = iio_buffer_push(tx_buffer);       //  выталкиваем буфер
        if (ntx < 0) {
            printf("Error pushing buf %d\n", (int) ntx);
            break;
        }
    }
    printf("Done.\n");


mj-hero-content component in the docs?

Describe the bug
Reported by @audio on Thu 2019-11-11, mjml.slack.com/archives/C12HESC2G/p1574395717431700, #general channel:
Anyone know anything about the mj-hero-content component mentioned
in comment in the mj-hero docs?
...
It's not mentioned anywhere else in the docs

To Reproduce
https://mjml.io/documentation/#mjml-hero > second block of MJML code > comment just before the only mj-text tag:
<!-- To add content like mj-image, mj-text, mj-button ...
use the mj-hero-content component -->

Expected behavior
Response from @cedric on Fri 2019-11-22, mjml.slack.com/archives/C12HESC2G/p1574416395436100:
Hi @audio actually the mj-hero-content component in no longer needed in mjml4,
this comment should be removed from the doc

MJML environment (please complete the following information):

not applicable

Email sending environment(for rendering issues)

not applicable

Affected email clients (for rendering issues):

not applicable

Screenshots

none included

Additional context

none included

These needs were corrected in PR #1818.


How to intercept menu choice?

Hi,
I try to intercept the clicked choice but I don't know if I made a big mistake or if something prevents it.
Can you please have a look here? http://jsfiddle.net/caBBAlainB/7n0e2cwe/
Regards,
Alain

A few issues:
That dropdown doesn't have a change event, so your fiddle is never going to alert. This has nothing to do with my plugin tho.
The reason the dropdowns aren't working on hover, is because you haven't included my plugin into the fiddle. You tried, but you failed. You linked to the GitHub page for the file, which is much more than "just the source" so it isn't being interpreted correctly.
GitHub has raw views for source, but they are blocked from loading stuff like JS. In the future, you can use a service like https://rawgit.com/ or find it on one of the existing CDNs.

Hello,
Thanks a lot, you are right and I successfully got it working with a onclick event.
Regards,
Alain


Adding test files and VASPParser

@u-gajera this is my attemp on parsing and normalizing the OUTCAR from your workflows in order to handle archives. I still need to debug a thing, because there is some weird bug when running the VASPParser().parse in line 80 of the src/nomad_batteries/main.py file.
I'll ask Alvin and come back here with the solution.

Funny, the pipeline passed, so something is off in my local.


Issue running in MAMP.

I am trying to run this project on macOS 10.12/MAMP 4.4.1, and I am running into the following issue.
When I tried: npm run dev, it failed with the following messages:

<EMAIL_ADDRESS>dev /Applications/MAMP/htdocs
webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

/Applications/MAMP/htdocs/build/webpack.base.conf.js:43
...(config.dev.useEslint ? [createLintingRule()] : []),
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/Applications/MAMP/htdocs/build/webpack.dev.conf.js:7:27)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
npm ERR! Darwin 16.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v4.2.6
npm ERR! npm  v3.6.0
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>dev: webpack-dev-server --inline --progress --config build/webpack.dev.conf.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dev script 'webpack-dev-server --inline --progress --config build/webpack.dev.conf.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @coreui/vue package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack-dev-server --inline --progress --config build/webpack.dev.conf.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs @coreui/vue
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls @coreui/vue
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Applications/MAMP/htdocs/npm-debug.log
Any idea on how to get around this?
Thanks!

Hi @hifall
You have installed node v4.2.6 and npm v3.6.0.
Please try update to node v8.x and let us know if it helps.
See also: Node 4.x is End Of Life

After upgrading to node 8.11.1, and running npm run dev, I got:

<EMAIL_ADDRESS>dev /Applications/MAMP/htdocs
webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

94% asset optimization                                                       n
ERROR  Failed to compile with 1 errors                                 19:34:24
Module build failed: Error: No ESLint configuration found.
at Config.getLocalConfigHierarchy (/Applications/MAMP/htdocs/node_modules/eslint/lib/config.js:255:39)
at Config.getConfigHierarchy (/Applications/MAMP/htdocs/node_modules/eslint/lib/config.js:179:43)
at Config.getConfigVector (/Applications/MAMP/htdocs/node_modules/eslint/lib/config.js:286:21)
at Config.getConfig (/Applications/MAMP/htdocs/node_modules/eslint/lib/config.js:329:29)
at processText (/Applications/MAMP/htdocs/node_modules/eslint/lib/cli-engine.js:163:33)
at CLIEngine.executeOnText (/Applications/MAMP/htdocs/node_modules/eslint/lib/cli-engine.js:620:17)
at lint (/Applications/MAMP/htdocs/node_modules/eslint-loader/index.js:229:17)
at Object.module.exports (/Applications/MAMP/htdocs/node_modules/eslint-loader/index.js:224:21)

run npm install in the root directory of your app, ex:

cd Vue_Full_Project
npm install

also possible that ESLint need configuration on your machine

./node_modules/.bin/eslint --init

or you can turn off linting for a while in ./config/index.js file - set:

useEslint: false,


FR: Encrypted export

Encrypt export using e.g. OpenPGP or OpenSSL library. Otherwise the file can be read and stolen as residing on the file system.
Workaround: I encrypt the file after export using Openkeychain and then upload it to a cloud provider for backup. But while the file resides on the FS unencrypted it can be read by other apps.

Take a look at andOTP. It features, among others, OpenPGP encrypted backups.

At this moment I'm using https://2fa-pwa.github.io due to the lack of a token export feature. The source code is in public domain. Might be useful

This is available in version 2 which was just released. You're prompted for a passphrase the first time you run the app. An encrypted backup can be saved to local or cloud storage.


Release 1.3.3 => Nil handling

Hello @dnesteryuk, thank you for the 1.3.3. release. Speaking of, I thought you would release a 1.4 since we made a significant change when handling nil values. I don't mind the 1.3.3 version but https://github.com/ruby-grape/grape/blob/master/UPGRADING.md shows >= 1.4 for the nils.
Thanks

@ericproulx Oh, I missed that :( We had 1.3.3 in the changelog, so I though it should be 1.3.3 :sob:
@dblock Do you think we need to release 1.4.0?

No I’m not sure its worth it. Keep on the good work :)

On May 25, 2020, at 21:51, Dmitriy Nesteryuk<EMAIL_ADDRESS>wrote:

@ericproulx Oh, I missed that :( We had 1.3.3 in the changelog, so I though it should be 1.3.3 😭
@dblock Do you think we need to release 1.4.0?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I don't think it will help because 1.3.3 is out and I don't think we should yank it. I've corrected the version in UPGRADING in https://github.com/dblock/grape/commit/d8b66d5bc7ca5446137936a9e223547116e03da9.
Let's make sure we ask to bump the version in backwards incompatible PRs before merging. This was probably my bad.


Remove time crate

This change is

Thanks for the pull request, and welcome! The MaidSafe team is excited to review your changes, and you should hear from @Fraser999 (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see CONTRIBUTOR.md for more information.

r? @dirvine

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Feature/small improvements

Minor bugfix + increased version of on-Spring dependencies +  more unit tests

Current coverage is 59.78%

Merging #2 into master will increase coverage by +12.98% as of 09778ff

@@            master      #2   diff @@
======================================
  Files           12      12
  Stmts          188     189     +1
  Branches        30      31     +1
  Methods          0       0
======================================
+ Hit             88     113    +25
+ Partial         13      12     -1
+ Missed          87      64    -23

Review entire Coverage Diff as of 09778ff

Powered by Codecov. Updated on successful CI builds.

Code coverage increased by 12%


Defined Dimension.step and used it for dynamic widgets

Implements https://github.com/ioam/holoviews/issues/742

Great!
Out of interest, could you just post an example gif here to show how it is used? I'll make sure to mention it in the updated DynamicMap tutorial

Here's a simple example:

Great!
It is useful to see as it shows that the slider end values are working properly. Merging.


VIB-PSB added

Added non-public VIB-PSB server

Awesome! Thanks - also for the merge. Internet is aweful in German trains.

at least you have internet in the train.....


Mean image for VGG-16 net

Are the weight files here as same as the original VGG-16 net?
There is a mean image file with VGG-16's Caffe Model.
Should I still apply it for the best result?

You should apply the following to your inputs: https://github.com/fchollet/deep-learning-models/blob/master/imagenet_utils.py#L11 (or equivalent)

@fchollet I've tried to test the performance of the VGG-16 and 19 pre-trained models, however the performance does not match my expectation to VGG models. I randomly sampled 50,000 samples from the training dataset (I didn't run the code on full dataset because of my own purpose).
However I got only 67.2%. Note that when I load the dataset, instead of randomly cropping the image, I resized them to (224, 224) and used your way in preprocess_input for handling preprocessing. I wonder this performance drop is from my wrong doing on the data or the pre-trained model itself. I attached my code for sampling the images and data loading function. Please take a look if you can. 😄
def sample_imagenet(origin_path, target_path, num_samples=50):
    """Randomly sample images from ImageNet Training Dataset.
    This function ramdomly samples images from each class of ImageNet Training
    Dataset for normalizing pretained ImageNet model.
    In case you don't have to permission to the data folder, make sure
    your are running this function with super user.
    Parameters
    ----------
    origin_path : string
        The path to training dataset
    target_path : string
        The path to target destination
    """
    if not os.path.isdir(origin_path):
        raise ValueError("The source folder is not existed!")
    if not os.path.isdir(target_path):
        os.makedirs(target_path)
        print ("[MESSAGE] WARNING! The target path is not existed, "
               "The path is created automatically.")

    print ("[MESSAGE] Start Copying.")
    folder_list = [f for f in os.listdir(origin_path)
                   if os.path.isdir(join(origin_path, f))]

    for folder_name in folder_list:
        if not os.path.isdir(join(target_path, folder_name)):
            os.makedirs(join(target_path, folder_name))
        folder_path = join(origin_path, folder_name)
        file_list = [f for f in os.listdir(folder_path)
                     if os.path.isfile(join(folder_path, f)) and ".JPEG" in f]

        if num_samples > len(file_list):
            file_idx = range(len(file_list))
        else:
            file_idx = random.sample(range(len(file_list)), num_samples)

        for idx in file_idx:
            shutil.copy(join(folder_path, file_list[idx]),
                        join(target_path, folder_name))
            print ("[MESSAGE] Image %s is copied to %s" %
                   (file_list[idx], join(target_path, folder_name)))

    print ("[MESSAGE] Images are sampled! Stored at %s" % (target_path))

def get_imagenet(train_path, test_path, save_path, class_idx_path,
                 filename=None):
    if not os.path.isdir(train_path):
        raise ValueError("Training dataset is not found!")
    if not os.path.isdir(test_path):
        raise ValueError("Testing dataset is not found!")
    if not os.path.isdir(save_path):
        os.makedirs(save_path)
    if not os.path.isfile(class_idx_path):
        raise ValueError("The class idx file is not existed!")

    class_idx = json.load(open(class_idx_path, "r"))

    classes = []
    for idx in xrange(len(class_idx)):
        classes.append(class_idx[str(idx)][0])

    datagen = ImageDataGenerator()
    train_dataflow = datagen.flow_from_directory(train_path,
                                                 target_size=(224, 224),
                                                 classes=classes,
                                                 batch_size=1000)
    X_train, Y_train = train_dataflow.next()

    X_train[:, 0, :, :] -= 103.939
    X_train[:, 1, :, :] -= 116.779
    X_train[:, 2, :, :] -= 123.68
    X_train = X_train[:, ::-1, :, :]
    # X_train /= 255.

    test_dataflow = datagen.flow_from_directory(test_path,
                                                target_size=(224, 224),
                                                classes=classes,
                                                batch_size=1000)

    X_test, Y_test = test_dataflow.next()

    X_test[:, 0, :, :] -= 103.939
    X_test[:, 1, :, :] -= 116.779
    X_test[:, 2, :, :] -= 123.68
    X_test = X_test[:, ::-1, :, :]
    # X_test /= 255.

    if filename is None:
        filename = ''
    filepath = os.path.join(save_path, filename)
    np.savez_compressed(filepath + 'X_norm', X_train.astype('float32'))
    np.savez_compressed(filepath + 'Y_norm', Y_train.astype('float32'))
    np.savez_compressed(filepath + 'X_test', X_test.astype('float32'))
    np.savez_compressed(filepath + 'Y_test', Y_test.astype('float32'))


Error thrown when requiring macros from Hibiscus

Hello! I was looking to use hibiscus.nvim in my config along with hotpot. However after installing it and using (require-macros :hibiscus.vim) I get an error from hotpot saying hibiscus.vim module not found. But just (require :hibiscus.vim) doesn't throw the same error.
I have the following in my init.lua:
local vim = vim
local cmd = vim.cmd
local fn = vim.fn

local packager = 'packer'
local hotpot_path = fn.stdpath('data') .. '/site/pack/' .. packager .. '/start/hotpot.nvim'
local hibiscus_path = fn.stdpath('data') .. 'site/pack/' .. packager .. '/start/hibiscus.nvim'

if fn.empty(fn.glob(hotpot_path)) > 0 then
  print('Could not find hotpot.nvim, cloning new copy to', hotpot_path)
  fn.system({ 'git', 'clone', 'https://github.com/rktjmp/hotpot.nvim', hotpot_path })
  cmd('packadd hotpot.nvim')
  cmd('helptags ' .. hotpot_path .. '/doc')
end

require('hotpot').setup({
  provide_required_fennel = true,
  compiler = {
    modules = {
      correlate = false,
    },
    macros = {
      env = '_COMPILER',
    }
  }
})

if fn.isdirectory(hibiscus_path) == 0 then
  print('Installing hibiscus...')
  fn.system({ 'git', 'clone', '--depth', '1', 'https://github.com/udayvir-singh/hibiscus.nvim', hibiscus_path })
  cmd('redraw')
  print('Hibiscus installed')
  cmd('packadd hisbiscus.nvim')
end

Any ideas as to why this might be?

Probably because hibiscus.vim is using vim internally and Fennel is blocking that because of it's default macro sandbox behaviour.
Not sure if the exact error you're getting is only hibiscus.vim module not found, probably there is an additional compile error in the output which in turn stops the require from working and then lua says it can't be found.
Anyway, we can disable Fennels macro sandbox to make this work:
    macros = {
      env = '_COMPILER',
      compilerEnv = _G, -- add this
      allowGlobals = false -- and this
    }
  }

See also https://fennel-lang.org/api and https://fennel-lang.org/reference, search for "sandbox".

Ah, that makes sense. Well, sort of.
Do you know of any particular reason for this macro sandboxing? Because in the reference it says:

Please note that the sandbox is not suitable to be used as a robust security mechanism. It has not been audited and should not be relied upon to protect you from running untrusted code.

Where as with Common Lisp and Schemes your access to systems/modules isn't restricted. Could just be weird to me coming from the Common Lisp/Emacs Lisp/Scheme world.

I think it's generally to avoid writing macros that produce side effects at compile time - while the user may expect those side effects to persist or be more dynamic at runtime. By restricting the environment to strictly side effect free code they're more reliable and predictable?
Because there's an additional level of abstraction via the fnl->lua step, it might make more sense than in other lisps?
Better asked on #fennel on matrix or their own tracker for a real answer though.
For what it's worth I believe it's quite common to disable  the compiler sandbox for Neovim configs as often people want to use vim.* things in macros. Hibiscus obviously expects you to!


The thumbnail key in response object of image_detail endpoint contains the source url

Description

The thumbnail key in the API response of the image_detail endpoint does not contain thumbnail url but the same source url which is also there in the url key (eg: https://api.creativecommons.engineering/v1/images/ad1de2c1-88c0-46d1-8490-8e1c462e80a4).
Resolution

[ ] I would be interested in resolving this bug.

@makkoncept : I see that the url's are different for thumbnail and url
url -> "https://images.metmuseum.org/CRDImages/is/original/DP343717.jpg",
"thumbnail" -> "https://images.metmuseum.org/CRDImages/is/web-large/DP343717.jpg"
also the resolution for both the images are different.  I guess it's working correctly.

Oh, Thanks for the heads up. I didn't noticed the ending of the urls.
I was mostly alarmed by the fact that the API responds with two different thumbnail values for the same image on different endpoints - eg: consider the first image in https://api.creativecommons.engineering/v1/images?q=hello

It's thumbnail is https://api.creativecommons.engineering/v1/thumbs/98b01826-d8d8-4598-a079-9330da4f0965
It's thumbnail in its detail response(https://api.creativecommons.engineering/v1/images/98b01826-d8d8-4598-a079-9330da4f0965) is https://live.staticflickr.com/2742/4356914605_644a2d7464_m.jpg

@makkoncept : oh yeah,this looks like a bug now because of different sizes of image.
as far as I understood the thumbnail from https://api.creativecommons.engineering/v1/thumbs/98b01826-d8d8-4598-a079-9330da4f0965 comes from the database and is only scaled with a different width which is there in cccatalog.settings.
Also the thumbnail in detail response which points to flickr is just of a different width.
still the point I want to make is that both images are same, the only problem is dimensions which I believe is done via the settings file.

Yes, this is a problem. The source of this issue is that the thumbnail proxying logic comes from "post processing" URLs in the search response. We don't post process detail views, so instead the thumbnail falls back to whatever is stored in the database for the thumbnail field, resulting in a discrepancy.
Instead of setting the thumbnail through postprocessing, we should generate the link to the internal thumbnail through a model property like we do with license_url. This will result in cleaner code and more predictable responses.
This doesn't impact CC Search because we don't display thumbnails for detail views, but it would be good to fix this confusing behaviour anyway.


[HUDI-1395] HoodieSnapshotCopier to work correctly on non-partitioned datasets

Made https://github.com/apache/hudi/pull/2312 to include changes in Exporter too. We may close this once that one gets merged. Thanks.

Closing this as #2312 was merged. Thanks.


Dimensional analysis and composition

Hi Rogerio,
Your library made me remember my Fluid Mechanics lectures and Buckingham π Theorem. Summarily, we may decompose any unit into a multiplication of independent base units powered each by an exponent q. The basis may be, for example, mass M, time T, length L, electric load Q, temperature θ. For example, force [F] is given by M L T^{-2}.
The idea may be a side project for your leisure time.

Hey Bruno,
Yes, it is interesting, thanks! 👍


SSN and DOB not formatted correctly on form

DOB is Dec 31st 1969 which is beginning of UNIX epoch time. is salesforce returning null?
also would be nice to format SSN if we just have 4 digits

Actually come to think of it, if we load a user like this, we can't update their info until the SSN is fixed and if we lock it we can't fix it. <--- gotta figure this out


Optimize Traditional Chinese Language Quality

Optimize Traditional Chinese Language Quality

Thanks a lot for your contribution to Wuhan2020! :tada: 🥇


[Backport 1.6.51]  add repo from koji build tag only if we have module composes

pre_resolve_compose: set has_complete_repos based on all composes
We previously didn't include the compose ids passed on the command
line when figuring out whether the compose looked "complete" or not.
This meant that we sometimes pulled in the koji plugin for the
worker builds when it should not have been included. Fix this by
waiting until we resolve the composes to figure out whether we
should set has_complete_repos.

CLOUDBLD-1033

Signed-off-by: Robert Cerven<EMAIL_ADDRESS>Maintainers will complete the following section

[ ] Commit messages are descriptive enough
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request has a link to an osbs-docs PR for user documentation updates
[ ] New feature can be disabled from a configuration file

LGTM


index error when trying to load certain pages

I'm getting an error for File Uploads on . Photo is attached.
This is from Chrome, but I also get it in Firefox.

I am able to access List Files perfectly fine, but am getting a similar error when trying to access "File Process Status"
This is using the http://<IP_ADDRESS>:8000/ server.

I will look into it.

should be fixed now. Please let me know if it is still an issue.


A Note for Windows users to set git autocrlf = false before cloning the repo to avoid issues like #518 .

Git automatically converts LF to CR LF while cloning a repository. This was leading to CR LF errors in windows such as issue https://github.com/nexB/scancode.io/issues/518.
This error can be avoided altogether by just setting git's autocrlf to false.
Signed-off-by: 35C4n0r<EMAIL_ADDRESS>

Hey Jay,
Regarding autocrlf this would still make sense to have as a note in the development docs

Added note in https://github.com/nexB/scancode.io/pull/553/commits/47f09589c2673d80727fa4c52c5208f728b94bc8


hack/e2e.go event stream busted after pflag merge

This is the script that runs to capture event output during e2e runs: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/hack/e2e-internal/e2e-watch-events.sh
It's failing after the recent pflag merge:
watchEvents output: |
  Project: kubernetes-jenkins
  Zone: us-central1-f
  current-context: "kubernetes-jenkins_e2e-test-jenkins"
  Running: /jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/cluster/../cluster/gce/../../cluster/../platforms/linux/amd64/kubectl --match-server-version --watch-only get events
  unknown flag: --watch-only

  Usage:
    kubectl [flags]
    kubectl [command]

  Available Commands:
    version       Print the client and server version information.
    apiversions   Print available API versions.
    clusterinfo   Display cluster info
    proxy         Run a proxy to the Kubernetes API server
    get           Display one or many resources
    describe      Show details of a specific resource
    create        Create a resource by filename or stdin
    update        Update a resource by filename or stdin.
    delete        Delete a resource by filename, stdin, or resource and ID.
    config        config modifies .kubeconfig files
    namespace     SUPERCEDED: Set and view the current Kubernetes namespace
    log           Print the logs for a container in a pod.
    rollingupdate Perform a rolling update of the given ReplicationController.
    resize        Set a new size for a Replication Controller.
    exec          Execute a command in a container.
    port-forward  Forward 1 or more local ports to a pod.
    run-container Run a particular image on the cluster.
    stop          Gracefully shut down a resource by id or filename.
    expose        Take a replicated application and expose it as Kubernetes Service
    label         Update the labels on a resource
    help          Help about any command

  Flags:
        --alsologtostderr=false: log to standard error as well as files
        --api-version="": The API version to use when talking to the server
    -a, --auth-path="": Path to the auth info file. If missing, prompt the user. Only used if using https.
        --certificate-authority="": Path to a cert. file for the certificate authority.
        --client-certificate="": Path to a client key file for TLS.
        --client-key="": Path to a client key file for TLS.
        --cluster="": The name of the kubeconfig cluster to use
        --context="": The name of the kubeconfig context to use
    -h, --help=false: help for kubectl
        --insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
        --kubeconfig="": Path to the kubeconfig file to use for CLI requests.
        --log_backtrace_at=:0: when logging hits line file:N, emit a stack trace
        --log_dir=: If non-empty, write log files in this directory
        --log_flush_frequency=5s: Maximum number of seconds between log flushes
        --logtostderr=true: log to standard error instead of files
        --match-server-version=false: Require server version to match client version
        --namespace="": If present, the namespace scope for this CLI request.
        --password="": Password for basic authentication to the API server.
    -s, --server="": The address and port of the Kubernetes API server
        --stderrthreshold=2: logs at or above this threshold go to stderr
        --token="": Bearer token for authentication to the API server.
        --user="": The name of the kubeconfig user to use
        --username="": Username for basic authentication to the API server.
        --v=0: log level for V logs
        --validate=false: If true, use a schema to validate the input before sending it
        --vmodule=: comma-separated list of pattern=N settings for file-filtered logging

  Use "kubectl help [command]" for more information about a command.

cc @jlowdermilk @brendanburns

Or something. I might be completely off. But something broke it recently enough, and I know @brendanburns like his event log.

That command is actually invalid. --watch-only is a flag on the get command, not the root. Fix in #5925