text:
Silk extensions no longer work with 2.0

I had been using the ImGuiController included in the extensions repo, this doesn't work with 2.0 as IWindow is no longer an IView? Is there any chance this can be updated?
Also would be cool if you're planning to merge these extensions in the future to make it a little more generic as the current implementation will only work with OpenGL

IWindow implements IView. The real problem is the extensions have not been updated to 2.0. There aren't any plans to do this today, but PRs welcome.

IWindow implements IView. The real problem is the extensions have not been updated to 2.0. There aren't any plans to do this today, but PRs welcome.

I submitted a pull request. It only needed a few changes in order to work: https://github.com/Ultz/SilkExtensions/pull/3

Nice, I had been trying to get this extension working with ImGui docking with the following in the ImGuiController constructor:
private readonly Platform_CreateWindow _createWindow;
private readonly Platform_DestroyWindow _destroyWindow;
private readonly Platform_GetWindowPos _getWindowPos;
private readonly Platform_ShowWindow _showWindow;
private readonly Platform_SetWindowPos _setWindowPos;
private readonly Platform_SetWindowSize _setWindowSize;
private readonly Platform_GetWindowSize _getWindowSize;
private readonly Platform_SetWindowFocus _setWindowFocus;
private readonly Platform_GetWindowFocus _getWindowFocus;
private readonly Platform_GetWindowMinimized _getWindowMinimized;
private readonly Platform_SetWindowTitle _setWindowTitle;

public ImGuiController(GL gl, IView view, IInputContext input)
{
    Init(gl, view, input);

    var io = ImGuiNET.ImGui.GetIO();

    io.Fonts.AddFontDefault();
    io.BackendFlags |= ImGuiBackendFlags.RendererHasVtxOffset;
    io.BackendFlags |= ImGuiBackendFlags.HasMouseCursors;
    io.BackendFlags |= ImGuiBackendFlags.HasSetMousePos;
    io.BackendFlags |= ImGuiBackendFlags.PlatformHasViewports;
    io.BackendFlags |= ImGuiBackendFlags.RendererHasViewports;

    io.ConfigFlags |= ImGuiConfigFlags.ViewportsEnable;
    io.ConfigFlags |= ImGuiConfigFlags.DockingEnable;

    var platformIO = ImGuiNET.ImGui.GetPlatformIO();
    var mainViewport = platformIO.MainViewport;
    mainViewport.PlatformHandle = view.Handle;

    var handle = GCHandle.Alloc(view);

    view.Resize += (size) => mainViewport.PlatformRequestResize = true;
    //view.Moved += p => mainViewport.PlatformRequestMove = true;
    view.Closing += () => mainViewport.PlatformRequestClose = true;

    mainViewport.PlatformUserData = (IntPtr)handle;

    _createWindow = CreateWindow;
    _destroyWindow = DestroyWindow;
    _getWindowPos = GetWindowPos;
    _showWindow = ShowWindow;
    _setWindowPos = SetWindowPos;
    _setWindowSize = SetWindowSize;
    _getWindowSize = GetWindowSize;
    _setWindowFocus = SetWindowFocus;
    _getWindowFocus = GetWindowFocus;
    _getWindowMinimized = GetWindowMinimized;
    _setWindowTitle = SetWindowTitle;

    platformIO.Platform_CreateWindow = Marshal.GetFunctionPointerForDelegate(_createWindow);
    platformIO.Platform_DestroyWindow = Marshal.GetFunctionPointerForDelegate(_destroyWindow);
    platformIO.Platform_ShowWindow = Marshal.GetFunctionPointerForDelegate(_showWindow);
    platformIO.Platform_SetWindowPos = Marshal.GetFunctionPointerForDelegate(_setWindowPos);
    platformIO.Platform_SetWindowSize = Marshal.GetFunctionPointerForDelegate(_setWindowSize);
    platformIO.Platform_SetWindowFocus = Marshal.GetFunctionPointerForDelegate(_setWindowFocus);
    platformIO.Platform_GetWindowFocus = Marshal.GetFunctionPointerForDelegate(_getWindowFocus);
    platformIO.Platform_GetWindowMinimized = Marshal.GetFunctionPointerForDelegate(_getWindowMinimized);
    platformIO.Platform_SetWindowTitle = Marshal.GetFunctionPointerForDelegate(_setWindowTitle);

    ImGuiNative.ImGuiPlatformIO_Set_Platform_GetWindowPos(platformIO.NativePtr, Marshal.GetFunctionPointerForDelegate(_getWindowPos));
    ImGuiNative.ImGuiPlatformIO_Set_Platform_GetWindowSize(platformIO.NativePtr, Marshal.GetFunctionPointerForDelegate(_getWindowSize));

    CreateDeviceResources();
    SetKeyMappings();

    SetPerFrameImGuiData(1f / 60f);

    BeginFrame();
}

private void CreateWindow(ImGuiViewportPtr vp)
{
    // VeldridImGuiWindow window = new VeldridImGuiWindow(_gd, vp);
}

private void DestroyWindow(ImGuiViewportPtr vp)
{
    // if (vp.PlatformUserData != IntPtr.Zero)
    // {
    //     VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target;
    //     window.Dispose();

    //     vp.PlatformUserData = IntPtr.Zero;
    // }
}

private void ShowWindow(ImGuiViewportPtr vp)
{
    // VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target;
    // Sdl2Native.SDL_ShowWindow(window.Window.SdlWindowHandle);
}

private unsafe void GetWindowPos(ImGuiViewportPtr vp, Vector2* outPos)
{
    // VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target;
    // *outPos = new Vector2(window.Window.Bounds.X, window.Window.Bounds.Y);
}

private void SetWindowPos(ImGuiViewportPtr vp, Vector2 pos)
{
    // VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target;
    // window.Window.X = (int)pos.X;
    // window.Window.Y = (int)pos.Y;
}

private void SetWindowSize(ImGuiViewportPtr vp, Vector2 size)
{
    // VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target;
    // Sdl2Native.SDL_SetWindowSize(window.Window.SdlWindowHandle, (int)size.X, (int)size.Y);
}

private unsafe void GetWindowSize(ImGuiViewportPtr vp, Vector2* outSize)
{
    // VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target;
    // Rectangle bounds = window.Window.Bounds;
    // *outSize = new Vector2(bounds.Width, bounds.Height);
}

private void SetWindowFocus(ImGuiViewportPtr vp)
{
    // if (p_sdl_RaiseWindow == null)
    // {
    //     p_sdl_RaiseWindow = Sdl2Native.LoadFunction<SDL_RaiseWindow_t>("SDL_RaiseWindow");
    // }

    // VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target;
    // p_sdl_RaiseWindow(window.Window.SdlWindowHandle);
}

private byte GetWindowFocus(ImGuiViewportPtr vp)
{
    // VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target;
    // SDL_WindowFlags flags = Sdl2Native.SDL_GetWindowFlags(window.Window.SdlWindowHandle);
    // return (flags & SDL_WindowFlags.InputFocus) != 0 ? (byte)1 : (byte)0;
}

private byte GetWindowMinimized(ImGuiViewportPtr vp)
{
    // VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target;
    // SDL_WindowFlags flags = Sdl2Native.SDL_GetWindowFlags(window.Window.SdlWindowHandle);
    // return (flags & SDL_WindowFlags.Minimized) != 0 ? (byte)1 : (byte)0;
}

private unsafe void SetWindowTitle(ImGuiViewportPtr vp, IntPtr title)
{
    // VeldridImGuiWindow window = (VeldridImGuiWindow)GCHandle.FromIntPtr(vp.PlatformUserData).Target;
    // byte* titlePtr = (byte*)title;
    // int count = 0;
    // while (titlePtr[count] != 0)
    // {
    //     titlePtr += 1;
    // }
    // window.Window.Title = System.Text.Encoding.ASCII.GetString(titlePtr, count);
}

Based on: https://github.com/mellinoe/ImGui.NET/blob/docking/src/ImGui.NET.SampleProgram/ImGuiController.cs from the docking branch.
The problem is I don't know how I would perform all the required operations on a windows using Silk as done in Veldrid via the marshalled delegates

authors: MaikelChan Perksey ScottKane


text:
" Cannot Import name "PortScanner" from 'nmao' "

Running latest rolling version of Kali.
Updated as of today .
Followed instructions and used pip to install nmap .
Here is the full output of my issue.
( Nmap Installation )
➜  EvilURL git:(master) pip install python-nmap python-whois Requirement already satisfied: python-nmap in /usr/local/lib/python3.10/dist-packages (0.7.1) Requirement already satisfied: python-whois in /usr/local/lib/python3.10/dist-packages (0.7.3) Requirement already satisfied: future in /usr/lib/python3/dist-packages (from python-whois) (0.18.2) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
( Running EvilURL )
➜  EvilURL git:(master) python3 evilurl.py Traceback (most recent call last):   File "/pentest/phish/EvilURL/evilurl.py", line 10, in <module>     from nmap import PortScanner ImportError: cannot import name 'PortScanner' from 'nmap' (/usr/local/lib/python3.10/dist-packages/nmap/__init__.py)
Thank you for sharing this project .

python just has a wrapper. first install the tool nmap itself, if you are on kali nmap should be installed then there must be a problem with the wrapper so you can maybe use this python wrapper instead here, it is quite simple has everything that nmap offers + more tools!
https://github.com/Tech-Realm/The-Exploiter

source: gharchive/issue

authors: Majboor brandontict

repo: UndeadSec/EvilURL

license_type: permissive

license_source: github-api


text:
🛑 Client Setup is down

In 4fa75d9, Client Setup (https://setup.unirev.xyz/) was down:

HTTP code: 403
Response time: 563 ms

Resolved: Client Setup is back up in 447bf82 after 2 days, 2 hours, 9 minutes.

repo: UniExperiment/status

license: Unlicense


text:
Can't generate config/fileapi.php

It seems cant generate this file (config/fileapi.php) after triggered this command, php artisan vendor:publish --tag=fileapi_config.

Before running the command, edit config/app.php  and set service provider by adding this line:
 Unisharp\FileApi\FileApiServiceProvider::class,

authors: datomnurdin shubham-y

repo: UniSharp/laravel-fileapi

license: mit

license_source: bigquery


text:
change to proleptic_gregorian defaults (has_year_zero=True)

to conform with upcoming CF v1.9 (https://github.com/cf-convention/cf-conventions/pull/315)
Also enables warning if calendar requested does not conform with CF v1.9

The CF calendar conventions were updated for version 1.9 (see https://github.com/cf-convention/cf-conventions/pull/331/files)

the relevant updates to CF are copied below:
The values currently defined for **`calendar`** are listed below. In all calendars except **`360_day`** and **`none`**, the lengths of the months are the same as in the Gregorian calendar for leap years and non-leap years. In the **`julian`** and the default **`standard`** mixed Gregorian/Julian calendar, dates in years before year 0 (i.e. before 0-1-1 0:0:0) are not allowed, and the year in the reference date/time of the units must not be negative. In these calendars, year zero has a special use to indicate a climatology (see <<climatological-statistics>>), but this use of year zero is deprecated. In other calendars, years before year 1 are allowed.

**`proleptic_gregorian`**:: A calendar with the Gregorian rules for leap-years extended to dates before 1582-10-15. All dates consistent with these rules are allowed, both before and after 1582-10-15 0:0:0.

To summarize, dates before year 0 are no longer allowed for julian or standard calendars, and the use of year zero is deprecated.  year zero and negative years are allowed for proleptic_gregorian.  In addition the gregorian calendar name is deprecated (currently a synonym for standard.

CF version 1 is released

source: gharchive/pull-request

repo: Unidata/cftime


text:
[posm]: extra data encoded in params should not be allowed

Component
Position Manager
Describe the suggested feature and problem it solves.
there is no error thrown if there is more data encoded into params ie (Actions.DECREASE, abi.encode(tokenId, poolPos, 10_000 ether, ZERO_BYTES, false) still runs and passes tests
Describe the desired implementation.
No response
Describe alternatives.
No response
Additional context.
No response

fine behavior, closing

license: MIT


text:
UTBot fails on generation tests for copy-pasted class - 'Module for source classes not found'

Description
When copy paste class right into Project toolwindow UTBot fails to generate tests at first invocation.
To Reproduce

Copy code below

public class Calc {
    int sum(int a, int b) {
        return a + b;
    }
}

In IDEA, right click on some java package and paste code - it will create a new class in that package with copied code
Try to generate tests for that method

Expected behavior
Tests are generated
Actual behavior
Exception thrown and no tests are generated.
If generation is invoked for the second time, then it works fine
java.lang.IllegalStateException: Module for source classes not found
	at org.utbot.intellij.plugin.generator.UtTestsDialogProcessor.findSrcModule(UtTestsDialogProcessor.kt:365)
	at org.utbot.intellij.plugin.generator.UtTestsDialogProcessor.findPaths(UtTestsDialogProcessor.kt:372)
	at org.utbot.intellij.plugin.generator.UtTestsDialogProcessor.access$findPaths(UtTestsDialogProcessor.kt:67)
	at org.utbot.intellij.plugin.generator.UtTestsDialogProcessor$createTests$2$1$run$buildPaths$1.call(UtTestsDialogProcessor.kt:142)
	at org.utbot.intellij.plugin.generator.UtTestsDialogProcessor$createTests$2$1$run$buildPaths$1.call(UtTestsDialogProcessor.kt:142)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.insideReadAction(NonBlockingReadActionImpl.java:536)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$attemptComputation$3(NonBlockingReadActionImpl.java:501)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1152)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:75)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:158)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:115)
	at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:58)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:189)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:176)
	at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:58)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:112)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:75)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.attemptComputation(NonBlockingReadActionImpl.java:501)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.executeSynchronously(NonBlockingReadActionImpl.java:428)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl.executeSynchronously(NonBlockingReadActionImpl.java:186)
	at org.utbot.intellij.plugin.generator.UtTestsDialogProcessor$createTests$2$1.run(UtTestsDialogProcessor.kt:143)
	at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:442)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:114)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$5(CoreProgressManager.java:493)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:244)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:189)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:176)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:244)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
	at java.base/java.lang.Thread.run(Thread.java:829)

That seems IDEA version dependent, reproducible in 2022.1.4, but not in 2022.3.3. As it's not blocking and we're not supporting "old" version of IDEA in latest version of UtBot, we probably can close it as 'Won't fix'.

repo: UnitTestBot/UTBotJava


text:
UTbot cannot build Android Studio project

Description
When UTBot tries to generate tests in Android Studio for typical project it fails due inability to 'understand' Android specific, e.g. resolve R.java file.
To Reproduce
Steps to reproduce the behavior:

Install latest Android Studio with default settings. I've checked with 2021.3.1, copy could be downloaded from Onebox
Start new Project wizard
Select 'Phone and Tablet' template and 'Basic Activity'
On next step select 'Java' as language, everything else leave default.

Finish wizard and wait Gradle and IDEA sync and update the project
Try to generate tests for com.example.myapplication.MainActivity with default UTBot settings

Expected behavior
Tests are generated
Actual behavior
Build error happens with reported problems like:
package com.example.myapplication.databinding does not exist
package R does not exist
Visual proofs (screenshots, logs, images)

Additional context
Gradle is able to build and run the app.

Problem is not reproducible with latest available version of the plugin - 2022.10.1.

Tested with Android Studio Chipmunk | 2021.2.1 Patch 2 and UTBot 2022.10.471.


text:
The Material Appears Green

I imported your project,and it's configured with HDRP Asset's Material Diffusion Profile List.But the Fabric and Suede appears green,I spent a long time trying to solve this problem,But I have no idea to solve it,can you give me some advice? Unity is 2020.1.14,HDRP is 8.20.

Also have this problem. MeasuredMaterialLibraryHDRP sample scene fine. Export package - import custom package into other HDRP project - up close they're green, but zoomed out a distance they jump to looking their normal colours.

@Orion-edge
I found what you need to do while adding sub surface profile setting for another imported asset.
Edit > Project settings > Add to default diffusion profile assets list --> Fabric (Diffusion Profile Settings)

authors: Orion-edge markstraw


text:
update guide to use ucp hosted login service

The required components  ucp-login ucp-analytics and unifield-search  are now hosted in UCP account and sophtron hard dependency is now removed from universal vcs.
This readme change points credentials process to the new-but-temporary hosted ucp-login page, currently using sophtron-prod.com dns while waiting for access to UCP dns.
The last merged PR reverted the default config method and added DotEnv  as this is the more common way how js handles local config, also is deployment-friendly

I think we should add the .env files to .gitignore, so we don't accidentally check-in the file with sensitive information. See this comment from the Dotenv repo: https://github.com/motdotla/dotenv/issues/74#issuecomment-273929197

it is in .gitignore :
https://github.com/Universal-Connect-Project/universal-connect-widget/blob/b8182b18dff33b9c89a31de70ad78fc4f6de7d6e/.gitignore#L4

it is in .gitignore :
https://github.com/Universal-Connect-Project/universal-connect-widget/blob/b8182b18dff33b9c89a31de70ad78fc4f6de7d6e/.gitignore#L4

Ah, my bad...I looked, but missed it. Thank you!

authors: sophtron-jishun tphalp


text:
Change color of confirm connecting new device

Summary
Change color of confirm connecting new device

repo: UniversalLogin/UniversalLoginSDK


text:
build: updates dependencies for mac

Description of the change
New version of UnlockEd wasn't working on Mac, updated dependencies and build.

Will merge these changes when the other PR is ready, for now just keep them applied to whatever local branch you are working on :+1:


text:
Added Linux Mint support to scripts

I added the 'linuxmint' /etc/os-release ID attribute to the scripts so that the installation/building scripts work on Linux Mint too.
Tested on Mint 21.2

Hey, I've also created a GitHub Workflow to automatically build and check the package from the source. Totally OK if you just want to merge the script things for Mint. I saw a fork that intended to do this and thought it would be a nice addition.

repo: UnnoTed/wireguird


text:
mongo documents with ObjectId

Explanation about retrieving documents that are stored with object Ids

Cool, can you add a code example?

Thanks @Tallyb !

authors: Tallyb Urigo

repo: Urigo/angular-meteor


text:
same context menu as normal explorer

For me, the only thing that prevents me from using this extension is not having the same context menu (right-click menu) that the normal file explorer. Apart from that this extension is great! Congratulations!

The Scope to this extension provide support for a similar context menu similar to the default one (edit, new, rename, delete etc).

Nice suggestions Trystan-SA, thanks. I've tested it, but it has some problems for my usage:

It only works for users with permissions to create a file .vscode/settings.json, which is not always my case.
It only lets you scope one directory at the same time. I would like to have quick access to a few completely different directories, but also have the normal explorer around.

Anyway thank you for the suggestion, I might use it in other cases :)

repo: UrosVuj/Explorer-Bookmark


text:
Handle documentation changes

Describe the bug
Handle documentation changes
To Reproduce
Steps to reproduce the behavior:

Go to github actions
Click on logs
Scroll down to failure
See error

Expected behavior
Documentation needs to have painfulness methods.

Completed.


text:
NTR: chlorthion

Not sure how this escaped the mass CHEBIfication of the insecticides, but it remains (with just two data points from 1976 using it...)
MIRO:10000211 | chlorthion
Doesn't appear to be in CHEBI.  Could we have a EUPATH term please?  No need to submit to CHEBI as we don't expect more data.
More info here
https://pubchem.ncbi.nlm.nih.gov/compound/Chlorthion
Looks like nasty stuff (though probably all insecticides are)

I can make a new term under 'organophosphate insecticide' using the pubchem info.

As with the new organism terms I added, I didn't give this term a definition, but I made a note that I added the term to VEuPath because it is not in ChEBI. However, it inherits the insecticide role from its parent.

Let's submit to ChEBI.

Let's submit to ChEBI.

I have made the submission to ChEBi. They have automatically assigned ChEBI identifier CHEBI:167184 for chlorthion. ChEBI curator will now review the submission and make final decision.

I have made the submission to ChEBi. They have automatically assigned ChEBI identifier CHEBI:167184 for chlorthion. ChEBI curator will now review the submission and make final decision.

This ChEBI term has now been curated: https://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:167184

This ChEBI term has now been curated: https://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:167184

Chris, I have now assigned this issue back to you as the new term is now available in ChEBI.

Chris, I have now assigned this issue back to you as the new term is now available in ChEBI.

John please import in next release.

authors: Achchuthan bobular cstoeckert johnwjudkins

repo: VEuPathDB-ontology/VEuPathDB-ontology


text:
Update Y-axis labels for line plots

For mean and median modes, add "Mean: " or "Median: "
For example, the label should look like "Mean: Age (years)"
For proportion mode, label should just be "Proportion"
Y-axis for line plots in proportion mode is confusing. Currently users will have to be careful about interpretation. Here I chose to plot the "No" proportion for Undernutrition, but the Y axis title is just Undernutrition, and the user has to be remember that in fact they plotted the proportion of kids that don't have undernutrition.

It would be better if the Y-axis label just said "Proportion" for line plots in proportion mode.
In the future, we can offer users the ability to edit labels (see placeholder ticket VEuPathDB/web-eda#1053)

I will take a look at this

looks great, thanks DK!

My pleasure 😃 Happy Easter!

authors: danicahelb moontrip

repo: VEuPathDB/web-eda


text:
map improvement - add scale

This resolves #313
Relies on #315 at web-components
This shows how to use showScale prop. Branched off from add-pieplot-to-map

map mouse tool (mouseover popup) is added in this PR, which resolves #948. Details can be found at https://github.com/VEuPathDB/web-components/pull/315#issuecomment-1062522926

map mouse tool (mouseover popup) is added in this PR, which resolves #948. Details can be found at VEuPathDB/web-components#315 (comment)

Hi @moontrip - looks nice but I see that the pop-left/down/right when a marker is near the edge is not working. That is CSS-driven IIRC.  I'm in a call now, but we have a way to get CSS into the npm module...

Update: seems that the pop-down behaviour does work but only when my browser window is small and the map is scrolled up to the top of the window.  Therefore it seems that the measurement of "distance from edge" is using the browser window edge rather than the container div edge?

One issue I just discovered...
If there is no Categorical overlay variable, then the enlarged versions of the simple white donuts look a bit odd.
I'm not sure what the best UX solution is here though...  I don't think we want to add a thin black outline to the donut, do we? That would interfere with tiny slices. Though we could add a black outline if the number of segments == 1?
Or disable the mouse-over enlargement mode when no strat var is selected? (I don't like this very much)

Update: seems that the pop-down behaviour does work but only when my browser window is small and the map is scrolled up to the top of the window. Therefore it seems that the measurement of "distance from edge" is using the browser window edge rather than the container div edge?

@bobular I think that @chowington can answer this question as he implemented such a nice functionality 😃

I thought I might be able to reproduce this in storybook, by putting the storybook controls/console panel on the right, but it still seems to work correctly. Anyway, at least it's not a CSS issue...

If assuming it depends on browser window then perhaps this is because the map at storybook is full-screen mode ? (100% width and height)

authors: bobular moontrip


text:
use useDeferredValue to improve responsiveness of filter checkboxes

Interestingly this works pretty much as expected - the filter checkboxes update way before the table is rerendered. Unclicking them is the same.
All in all it's a better UX... except... when the organism filter is filtered using the text search, e.g. for 'gam'.  Then when you click on the Anopheles gambiae Pest checkbox, the behaviour is OK, but when unchecking the same box the checkbox doesn't update until the tree-table has updated. If the text search is cleared and the same checkbox is unchecked, it unchecks fairly quickly, as intended. I wonder what's going on?
Note, we could encapsulate the useState and useDeferredValue with something like this:
import { useState, useDeferredValue } from 'react';

function useDeferredState<T>(initialValue : T) : [T, T, Dispatch<SetStateAction<T>>] {
  const [state, setState] = useState(initialValue);
  const deferredState = useDeferredValue(state);

  return [state, deferredState, setState];
}

If so, where would we put it?

This is super cool! I'm at a loss regarding the organism tree filter. I'll poke around tomorrow.
About where to put the custom hook... coreui or components might make the most sense, since I could see either of those wanting to use the hook.

Still probably needs the custom hook but I'll do that later.

I just pushed a commit that sets fixed dimensions for the organism filter. This prevents it jumping around the page and nodes expand/collapse.

authors: bobular dmfalke

repo: VEuPathDB/web-monorepo


text:
How to scale ReproServer?

Originally opened 2019-11-14 22:36 EST by @remram44
Not a problem for now, but worth thinking about.
Running multiple web pods wouldn't work because specific ones would know about specific builds/runs.
Changing VM states to not trigger multiple builds might be good but still cause issues. Plus container restart would have all reproservers watching all running pods.
I think the best option is probably to keep one reproserver per cluster, and just run multiple clusters. This is also an opportunity for federation, e.g. there could be "nyu reproserver" and "umass reproserver" and links would point to one specific server and everything would work. It could also be used to have institutional instances providing better quotas to their own employees.

Originally posted by @nust
Have you considered building ReproServer on top of Binder? I guess you're much more flexible now in what infrastructure you can provide, but the federation aspect would come with the BinderHubs.

Originally posted by @remram44
I think running Binder on top of ReproServer might make more sense? But really they are very similar systems.

repo: VIDA-NYU/reproserver


text:
FinFET Technologies Simulation

Will you add any FinFET 15nm PDK technology support for the tool?
Thank you.

Yes, we will be working on that, but I can't give you a very good time estimate right now.

repo: VLSIDA/OpenRAM


text:
[v3.1.0] Streamlining an installation command utility for packages

Here you go, sir! @GoodM4ven
(￣^￣ )ゞ

#24  👈
main

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

Join @Haaabeeel and the rest of your teammates on  Graphite

lmao

repo: VPremiss/Crafty


text:
Does the current approach truly respect the session?

"Consider adding additional checks, such as associating the nonce with a specific session or user."
In case somebody acquired the nonce by listening to the event dispatching it, shouldn't they be able to just use it, unless there is a check for the same "unique identifier" in the backend?
So I guess we need a method in the interface to return a boolean by checking against that provided unqiue-identifer.

#37

repo: VPremiss/Livewire-Nonceable


text:
Unable to include navigation properties when using EFCachedDbSet

Summary of the issue
Calling Include on an EFCachedDbSet does not include the property as expected.
Environment
.NET Core SDK version: 3.1.1 (latest stable)
Microsoft.EntityFrameworkCore version: 3.1.1 (latest stable)
EFSecondLevelCache.Core version: 2.9.1 (latest stable)

Example code/Steps to reproduce:
I'm using the following entity extracted from my MSSQL DB.
public class Category : Entity<string>
{
	public string Name { get; private set; }
	public string ParentCategoryId { get; private set; }
	public ICollection<Category> SubCategories { get; private set; }

	protected Category() { }
}

In EF Core, the binding is created as followed:
builder.Entity<Category>(m =>
{
	#region Mappings
	m.ToTable("Category", "social");

	m.Property(x => x.Id)
		.HasColumnName("CategoryId");

	m.HasKey(x => x.Id);

	m.HasMany(x => x.SubCategories)
		.WithOne()
		.HasForeignKey(x => x.ParentCategoryId);
	#endregion
});

Outputs
When I call the following code, SubCategories are all NULL.
db
.Set<Category>()
**.Cacheable(CacheExpirationMode.Absolute, TimeSpan.FromDays(7))**
**.Include(x => x.SubCategories)**
.ToListAsync(token);

If I move the include before the Cacheable(), then it works fine.
db
.Set<Category>()
**.Include(x => x.SubCategories)**
**.Cacheable(CacheExpirationMode.Absolute, TimeSpan.FromDays(7))**
.ToListAsync(token);

I assume it's related to #39. It would convenient if we could call the include on the EFCachedDbSet. This way we can keep the Cache mgt code within one class (the DbContext)

Announcing a better Second Level Caching Library!

authors: VahidN seroche


text:
🛑 b2b MarketingServices is down

In 04d8db5, b2b MarketingServices (https://b2b-marketingservices.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: b2b MarketingServices is back up in e4ed0cc after 31 minutes.


text:
🛑 b2b MarketingServices is down

In 9a32e7b, b2b MarketingServices (https://b2b-marketingservices.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: b2b MarketingServices is back up in 35d48e1 after 8 minutes.


text:
🛑 b2b MarketingServices is down

In abb03bd, b2b MarketingServices (https://b2b-marketingservices.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: b2b MarketingServices is back up in 2664e7a after 17 minutes.


text:
🛑 b2b MarketingServices is down

In 2ec3798, b2b MarketingServices (https://b2b-marketingservices.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: b2b MarketingServices is back up in e1c073e after 8 minutes.


text:
🛑 Test_W520 is down

In 7158b6d, Test_W520 (bkp-w520.duckdns.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Test_W520 is back up in 9e14c4f after 8 minutes.


text:
🛑 Node2 und/oder Tomatenkuchen is down

In a2b026a, Node2 und/oder Tomatenkuchen (https://api.tomatenkuchen.eu/api/stats) was down:

HTTP code: 502
Response time: 377 ms

Resolved: Node2 und/oder Tomatenkuchen is back up in b238497.

repo: Vanilla-Minigames/Status


text:
在MVC 4 下面注册方法与 Autofac 冲突

在MVC 4 下面使用Autofac ，并注册ICanPay后 ，使用Autofac 的地方全都失效

这个怎么解决的？我的代码也出现同样的情况

authors: ayzhanglei fengxichou

repo: Varorbc/ICanPay


text:
After saving a *.nim file it opens a blank tab with "nimlime" title

thats it :)

+1 I am also facing this issue

Is this with the most recent stable (downloaded via Package Control) or the current master branch?

@Varriount, most recent stable

@Varriount my system details are:

OSX Yosemite
Nim 0.11
Nimlime - Latest via Package Control

@the-shank @HaCk3Dq What happens when setting the setting value on this line to 'false'?

@Varriount yes that does it ! Sorry for wasting your time :(

It shouldn't do that though, and it shouldn't be set to true by default, so I'm going to leave the issue open.

@Varriount, yeah, thnx for the fix :D
pls update the default settings)

Hm, ive updated all packages in sublime: the issue is still here ;(

@HaCk3Dq If you update all packages, and you've made changes to the default NimLime.sublime-settings file, the changed settings will be overriden. Use the user settings files.

@Varriount
Nimble.sublime-settings:
"check.on_save.output.show": false
So it shouldn`t show this tab, ive added this line to my user settings file too. Same shit

I'm having this problem as well. Pretty sure I'm using the current code from the repository. I don't want it checking every time I save and I certainly don't want empty 'nimlime' files. But I can't stop either. This is my User settings (garbage exe names to try to stop checking):
{
"nim.executable": "gjr mvg",
"nimble.executable": "rtgtgvt",
"nimsuggest.executable": "tgrtgvtrg",
"error_handler.enabled": false,
"check.on_save.enabled": false,
"check.current_file.enabled": false,
}

When did you last update the plugin?

Thanks for prompt reply. It was this week.
I've now uninstalled Sublime and installed the portable version (on Windows 7). Reduced User settings to
{
"check.on_save.enabled": false,
}
Fingers crossed! :)

I forgot to ask - which version of Sublime Text are you using, and when did this behavior first start?

It was ST3, not sure what build as it's gone now. I've only been using Nim for a week or two and fault started with normal install of NimLime (not from repository) as soon as nim appeared on PATH. (My PATH was too long at first so nim wasn't there at first.) I also had a bunch of other packages installed.
Current fresh install of ST3 portable and NimLime seem to be working fine! I'll let you know if it does anything weird again. Sorry I couldn't supply more detailed info. Thanks for your help.
Martin

It has done it again. It was all right on Sunday and Monday but after starting ST3 just now it is checking on save again and opening an empty nimlime file on each save. My user preferences haven't changed. I didn't even close down Windows over night. ST3 had NOT been running over night.
I have found a workaround though -- delete the NimLime directory in Data/Cache.
Portable ST3 build is 3103 and NimLime was from GitHub on Sunday (via Package Control). Other packages installed are Package Control and Side Bar Enhancement.
Martin

Sigh... I haven't found anything yet (but then again, I can't reproduce it on my system).
There's a fix I need to push anyway, so I'll release a minor update today with some debugging calls added around the output functions. You'll need to add the "debug_mode": true key to your settings to enable debug output to the dev console.

OK, I'll look out for that.

Ok, release pushed. It sometimes takes up to 30 minutes for Package Control to actually 'see' the new release. Remember to set the 'debug_mode' setting to True.

OK, today's NimLime installed and debug mode enabled. Behaving properly so far.

Is the dev console the one shown using ctrl-`? Should I be seeing anything in there when I save a Nim file?

Yes, the dev console is the one brought up by ctrl+`.
The debug function calls I've added should output data whenever a command writes it's output to a view.

Hmm. I've removed the NimLime directory in Data/Cache again and Re-enabled check on save. My settings are:
{
"check.on_save.enabled": true,
"debug_mode": true
}
I saved a Nim file that contains an error and NimLime has highlighted the error without opening a nimlime file and reported in the status bar that Nim check has finished. All good but I'm not seeing any extra messages in the console.

Well, that's expected. Debug information will only be printed when those extra output tabs are being created.

Ah, right. I'll see what happens over next few days.
All the best,
Martin

authors: HaCk3Dq Varriount mhstp the-shank

repo: Varriount/NimLime


text:
command-key in hex view passes raw key through

As described in the second comment on  #117

Fixed in dev


text:
Copy As does not copies multiple bytes in any view but hex editor

Version and Platform (required):

Binary Ninja Version: 3.1.3469
OS: Windows
OS Version: 10
CPU Architecture: x64

Bug Description:
Copy As is not working on Linear view if I select multiple line, characters or bytes.
Steps To Reproduce:

Open a file that have string for example
Go to a string definition on Linear view
Select the whole string or bytes that you want to copy as
Use Copy As from right click menu (You will saw in this step your selection will be lost)
It will only copy 2 bytes although it should be more than that

Expected Behavior:
I expect it to copy whole bytes that I selected.
Additional Information:
I think this is also ruling issue in other views except hex editor. I can not Copy As multiple bytes in HLIL view etc.

It seems to me that it only malfunctions when the selection involves a string in linear view. For selections include nothing, or data variables, it works fine.

The selection being lost in step 4 was fixed some time before 3.1.3570-dev, but the bug in step 5 still exists. The Copy As for both Escaped String (which copies 2 characters) and C Array (which copies the first 2 characters as bytes) exhibit this problem.
If you select more than just the string you're trying to copy and use those options, it will have the correct behavior. Not sure what's going on, but this is definitely a bug.


text:
API Cursor Object

A cursor object, or a way to highlight certain lines in a disassembly, and force the UI to "snap" to a spot would be pretty cool - it would be nice to be able to have binary ninja following along WinDBG/OllyDBG/GDB/OMGWTFBBQ breakpoints/single steps.

This was completed with the addition of here property in the console as well as the highlighting API.

authors: gynophage psifertex


text:
NPE after removing mods/blocks

After removing a worldgen mod from a existing world, I get this spammed in the client console. I assume thats related to the blocks that don't exist anymore.
http://hastebin.com/rupebidusu.avrasm
Running on forge-1.9-12.16.0.1865 with MW 2.4.15

could you update to a later version and see what the console spams then? (it should spittout a more meaningfull error.)

authors: IdleGandalf Vectron

repo: Vectron/mapwriter


text:
Logout problems

Logout still doesn't work in team management. When I check team member in my previous account, logout, and login with my new account, it still shows my old account's team members.

Should be fixed now. See commit 02f3f2b

repo: VeloCloud/website-ui


text:
Update documentation to cover Cats useage

It looks like the latest version of this project now supports Cats.  It would be great to have some documentation/examples of how to use this with Cats.

Is https://verizon.github.io/knobs/ the correct docs? The API seems to have moved on a fair bit from what's there no?

The CI that used to publish was taken down at Verizon.  You should be able to get the latest version of the docs locally by running makeSite on a local checkout.
We're still looking for a replacement CI for automated releases and site publication.

authors: keirlawson rossabaker tobyweston

repo: Verizon/knobs


text:
fix(dart_frog_cli): report daemon missing parameters

Status
READY
Description
Fix #913
dart_frog_cli Daemon wil now report missing parameters for dev_server and route_configuration domains
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[x] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

Thanks for the review @renancaraujo
I just pushed the suggested modification with some bonus tests for the getParam method ✨
Feel free to ask for any new change


text:
Proposal: add static analyzer to aro

GCC and Clang have static analyzers. It would be great if aro will had its own. However, I'm not sure if this meets the goals of the project. If not, it might be worth trying to create a separate static analysis tool written in zig.

It's not strictly a non-goal but I'm also not personally going to work on it any time soon.

I have zero experience doing anything like this and also probably won't work on it any time soon. However if I were going to do it, my first attempt would probably entail trying to dump the parsed AST into something Frama-C can use.

authors: Vexu ehaas wrongnull

repo: Vexu/arocc


text:
Fix wrong plugin download urls

It looks like the README contains incorrect URLs for downloading the plugin from the release assets. I discovered this when I got a 404 when installing.
Here is the change that broke URLs: https://github.com/VictoriaMetrics/victorialogs-datasource/pull/161
I don't know what the plans are, maybe the file name will be updated in the next release, but it's not like that now 🤔

@risen228 plugin url was changed intentionally, please take a look at a changelog

Ah, sorry, I forgot about branches 🥲 Also it would be great if there was a warning in the readme with a link to the latest release's readme version, but no problem

repo: VictoriaMetrics/victorialogs-datasource


text:
🛑 ASIP is down

In 7ea1dbd, ASIP (https://asip10.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ASIP is back up in 079112d.

repo: Vikingfr/upptime


text:
UpsertGraph api clarification

Hey all having an issue with the GraphUpsert method, It is inserting the card correctly and inserting one user relation, however it doesnt give that relation an Id and thus it cannot insert subsequent or multiple user relations. I think I will have to use the '#ref' feature but the documentation isn't entirely clear on how that works. Additionally, my models automatically generate timestamps and uuids before the insert, so that's why you don't see an id in the insert method. Wonder if we could specify models for map tables in the graph insert/upsert methods. Any thoughts welcome.
const users = args.users.map(cardUser => ({ id: cardUser }))
users array looks like [...userId]
const newProjectCard = await ProjectEvidenceCard.query().upsertGraphAndFetch({ cardAction: args.cardAction, users }, { relate: true, insertMissing: true })

Sorry, but I don't know what you mean by "not giving an id" and" or "inserting subsequent or multiple user relations". You need to provide a working example that I can  run if you want me to help you with this one. upsertGraph is super complex, and without knowing exactly what you mean, I'll just end up giving wrong advice.
Do you really need to use upsertGraph at all though? If you end up giving the same amount of options as data, it may not be the right tool for the job :smile:

Sure thing. It may very well be the case that graphUpsert isnt the right option, I also looked at graphInsert.
These are the arguments:
{ projectId: '685985b0-f3f7-11e8-8eb2-f2801f1b9fd1',   schoolId: '64c695de-f3f5-11e8-8eb2-f2801f1b9fd1',   cardAction: 'asdfsafdasdf',   timeBox: 'asdfsdf',   cardColor: '#795548',   users:    [ 'f0aaa72e-f3f6-11e8-8eb2-f2801f1b9fd1',      'f0aaa49a-f3f6-11e8-8eb2-f2801f1b9fd1',      'f0aaa878-f3f6-11e8-8eb2-f2801f1b9fd1' ] }
The method creates a row in the ProjectEvidenceCard Table, this is correct,
id: '3fa3c960-3474-11e9-853b-ef3b7db5e80f', created_at: '2019-02-19 18:29:10', updated_at: NULL, project_id: '685985b0-f3f7-11e8-8eb2-f2801f1b9fd1', school_id: '64c695de-f3f5-11e8-8eb2-f2801f1b9fd1', card_action: 'asdfsafdasdf', timebox: 'asdfsdf', card_color: '#795548', position_vertical: NULL, position_horizontal: '0', notes: NULL, archive: '0'
Then creates a single row in the ProjectEvidenceCardUserMap table, notice the id is an empty string,
id: '', created_at: NULL, updated_at: NULL, card_id: '3fa3c960-3474-11e9-853b-ef3b7db5e80f', user_id: 'f0aaa72e-f3f6-11e8-8eb2-f2801f1b9fd1'
When I pass multiple userIds it will throw a duplicate primary key error, as the id on the first row inserted is an empty string. I think it is functioning properly, the only problem being it doesn't generate an Id for the id column on the map table.
Full graphql resolver file:
const isAuthenticatedResolver = require('../../../core/authenticationResolver')
const { createError } = require('apollo-errors')
const ProjectEvidenceCard = require('../../../../../models/ProjectEvidenceCard')

const BlankName = createError('BlankName', {
  message: 'A new card has to have a name. Cmon shawn you know this.'
})

const createProjectCard = isAuthenticatedResolver.createResolver(
  async (root, args, { user }, info) => {
    // TODO calculate how many cards in in the list and add this card accordingly
    if (args.cardName === '') throw new BlankName()
    const users = await args.users.map(cardUser => ({ id: cardUser }))
    const newProjectCard = await ProjectEvidenceCard.query().upsertGraphAndFetch({ cardAction: args.cardAction, timeBox: args.timeBox, projectId: args.projectId, schoolId: args.schoolId, notes: args.notes, positionHorizontal: 0, positionVertical: args.positionVertical, cardColor: args.cardColor, archive: false, users }, { relate: true, insertMissing: true })
    return newProjectCard
  }
)

module.exports = createProjectCard

BaseModel:
const { Model, snakeCaseMappers } = require('objection')
const uuidv1 = require('uuid/v1')

class BaseModel extends Model {
  static get columnNameMappers () {
    return snakeCaseMappers()
  }

  $beforeInsert () {
    this.created_at = new Date().toISOString().slice(0, 19).replace('T', ' ')
    this.id = uuidv1()
  }

  $beforeUpdate () {
    this.updated_at = new Date().toISOString().slice(0, 19).replace('T', ' ')
  }
}

module.exports = { BaseModel }

ProjectEvidenceCard model:
const { BaseModel } = require('./BaseModel')

class ProjectEvidenceCard extends BaseModel {
  static get tableName () {
    return 'project_evidence_cards'
  }

  static get relationMappings () {
    const School = require('./School')
    const Project = require('./Project')
    const User = require('./User')
    return {
      school: {
        relation: BaseModel.BelongsToOneRelation,
        modelClass: School,
        join: {
          from: 'project_evidence_cards.school_id',
          to: 'schools.id'
        }
      },
      project: {
        relation: BaseModel.BelongsToOneRelation,
        modelClass: Project,
        join: {
          from: 'project_evidence_cards.project_id',
          to: 'projects.id'
        }
      },
      users: {
        relation: BaseModel.ManyToManyRelation,
        modelClass: User,
        join: {
          from: 'project_evidence_cards.id',
          through: {
            from: 'project_evidence_cards_users_map.card_id',
            to: 'project_evidence_cards_users_map.user_id'
          },
          to: 'users.id'
        }
      }
    }
  }
}

module.exports = ProjectEvidenceCard

I cannot run that :wink:

Alrighty, lets try this again haha. Data structure has been simplified for brevity.
Assuming this db structure:
exports.up = async function (knex, Promise) {
  await knex.schema.createTable('users', function (table) {
    table.uuid('id').notNullable().primary()
    table.timestamps()
    table.string('name').notNullable()
  })
  await knex.schema.createTable('project_evidence_cards', function (table) {
    table.uuid('id').notNullable().primary()
    table.timestamps()
    table.string('card_action')
    table.string('time_box')
  })
  await knex.schema.createTable('project_evidence_cards_users_map', function (table) { // map table to hold which users are on which cards. users can be on multiple cards, cards can have multiple users
    table.uuid('id').notNullable().primary()
    table.timestamps()
    table.uuid('card_id').notNullable()
    table.foreign('card_id').references('id').inTable('project_evidence_cards')
    table.uuid('user_id').notNullable()
    table.foreign('user_id').references('id').inTable('users')
  })
}

exports.down = async function (knex, Promise) {
  await knex.schema.dropTableIfExists('users')
  await knex.schema.dropTableIfExists('project_evidence_cards')
  await knex.schema.dropTableIfExists('project_evidence_cards_users_map')
}

These users already exist:
  users: [{
    id: 'f8b375ac-35f2-11e9-b210-d663bd873d93',
    name: 'Someone'
  }, {
    id: '69cd3ec4-35f0-11e9-b210-d663bd873d93',
    name: 'Someone Else'
  }]

I want to insert a new card and relate the existing users to that card:
ProjectEvidenceCard
.query()
.upsertGraphAndFetch({
id: 'f8b37a20-35f2-11e9-b210-d663bd873d93',
cardAction: 'Do the thing',
timeBox: '40 minutes',
archive: false,
users: [ { id: 'f8b375ac-35f2-11e9-b210-d663bd873d93' }, { id: 'f8b378a4-35f2-11e9-b210-d663bd873d93' } ]
}, { relate: true, insertMissing: true })

When I run the above upsertGraph, it first inserts the card, second inserts one user-card relation in the map table, and finally throws a duplicate Primary Key error on the map table. This is due to the inserted row on the map table not having a Primary Key. E.g:
id: '', created_at: NULL, updated_at: NULL, card_id: 'f8b37a20-35f2-11e9-b210-d663bd873d93', user_id: 'f8b375ac-35f2-11e9-b210-d663bd873d93'

If I pass in a single userId the insert doesn't throw a duplicate Primary key error on the map table because it only inserts one row, even though that row is missing a Primary key id.
My end goal and the problem I am facing, is to have a proper primary key generated when a row is inserted into the map table via upsertGraph. Hopefully I explained the problem a bit better, I am probably using the wrong method to begin with haha, if so hopefully you can point me in the write direction.

I'm sorry, I should have been more clear. I need to be able to run your code using a command like node your-reproduction.js
I started to write such a file based the stuff you posted, and after spending 15 minutes on this, I noticed that you haven't provided most of the models needed to create the reproduction.
I'm not trying to be rude or nitpicky. This is my spare time I'm using to help you and I'm not ready to spend hours of it. So please provide an example I can actually debug. You can use the reproduction-template.js file in objection repo root as a starting point.

Since I already wrote most of it, it would be enough if you provide the missing models (Project, User, School (maybe)) and other missing things that are referenced.

No worries, this is my first issue ever so I am not terribly experienced, and I appreciate your patience. You might put a reference to the reproduction-template on the docs in the issues section, because I did not know it existed. I wrote up a quick gist; https://gist.github.com/joziahg/153d7c08ff0ab8054095e4a204fa23c7

Thanks for the gist!
It fails because you have added an uuid primary key for projectEvidenceCardsUsersMap and that is not generated anywhere. Do you really need a primary key for the pivot table? If so, could you just use an autoincrementing integer as a primary key? You could also make the database generate an unique uuid in the database.

I see, I wonder if upsertGraph could use the id column specified in the model M2M relation.
For instance, I defined that users relates to cards with the userId column through projectEvidenceCardsUserMap table.
class ProjectEvidenceCard extends Model {
  static get tableName () {
    return 'projectEvidenceCards'
  }

  static get relationMappings () {
    return {
      users: {
        relation: Model.ManyToManyRelation,
        modelClass: User,
        join: {
          from: 'projectEvidenceCards.id',
          through: {
            from: 'projectEvidenceCardsUsersMap.cardId',
            to: 'projectEvidenceCardsUsersMap.userId' // upsertGraph could use this instead of 'id'
          },
          to: 'users.id'
        }
      }
    }
  }
}

Maybe I should be able to graph insert it like this:
  await ProjectEvidenceCard.query().upsertGraph({
    id: '4c992c32-36b8-11e9-b210-d663bd873d93',
    cardAction: 'Do a thing',
    users: [
      {
        id: '09610ff0-36bf-11e9-b210-d663bd873d93', // this becomes the actual map table Primary key
        userId: '2b25fb2c-3e90-11e9-b210-d663bd873d93', // this becomes the relation id
        name: 'A Person'
      }
    ]
  }, { relate: true, insertMissing: true })

Thoughts?

It's not about upsertGraph using things or not. There's just a column that never gets a value from anywhere. This has nothing to do with upsertGraph or even objection. Your reproduction was just broken.

Remove the id altogether from the database and things should work.

Or replace it with an autoincrementing one

Just to make sure you understand what I mean, I'm talking about this
    .createTable('projectEvidenceCardsUsersMap', table => {
      table.uuid('id').notNullable().primary() // <--- THIS! This is never given a value since it isn't generated automatically
      table.uuid('cardId').notNullable()
      table.foreign('cardId').references('id').inTable('projectEvidenceCards')
      table.uuid('userId').notNullable()
      table.foreign('userId').references('id').inTable('users')
    })

Or instruct the database to generate the id using defaultTo(knex.raw('some_function_to_generate_uuid()'))

Yes you are right, and I have replaced it with an auto increment PK. However I still think the docs for upsertGraph is confusing when dealing with M2M relations. I guess my thinking process is this:
  await ProjectEvidenceCard.query().upsertGraph({ // Parent object to be inserted.
    id: '4c992c32-36b8-11e9-b210-d663bd873d93', // I specify the PK id here
    cardAction: 'Do a thing', // and all the other fields
    users: [
      {  // So when it comes to this object I guess I am looking at it as a map table object rather than a User object.
        id: '09610ff0-36bf-11e9-b210-d663bd873d93', // In my mind this should the PK for the map table.
        userId: '2b25fb2c-3e90-11e9-b210-d663bd873d93', // And this should be PK of the user object I want to relate.
        name: 'A Person'
      }
    ]
  }, { relate: true, insertMissing: true })

I guess I was looking at it as if the objects supplied to the array of objects to be related, in this example users, were rows to be inserted into a map table rather than user objects to be related. I appreciate the help and clarification, you can close this issue now.

authors: joziahg koskimas


text:
Request: Add a Content tag to Resource instead of Uri

When I use Lability I use a custom resource to copy entire folders of modules over to the created VMs and this works pretty well.
But in some other places I want put single scripts somewhere on the filesystem. In my specific case it's a startup script that will be scheduled for ONSTART during CustomBootStrap - but is not available for download and writing it out myself in CustomBootStrap becomes really long (and a PITA escaping `"@$). I could put it somewhere on the local filesystem but then not bundling it with the DSC is irritating!
It would be cool to be able to use a Content tag on the Resource type instead of a Uri. If this exists it writes out Content to the Filename on the VM in UTF8 (no BOM) instead of trying to download the file or use one locally.
What do you think?

Hi @codykonior
I think I see the value in this, however... You can inject local files (from the host) without a Uri (it might not even be documented?) like this:
@{
    NonNodeData = @{
        Lability = @{
            Resources = @(
                @{
                     ## Copies the (relative) .\Lab\Scripts folder to the C:\Scripts folder in the VM
                     Id = 'Scripts';               ## Id is used as the destination folder name
                     FileName = '.\Lab\Scripts\';  ## This could be a full or relative file path
                     IsLocal = $true;              ## The source file(s) are local to the host
                     DestinationPath = '\';        ## Destination path in the VM
                }
            )
        }
    }
}

Does this functionality meet your needs (and supports whatever encoding the source file is in) without having to extend any existing functionality?

Yeah I said I do that already  :)
But because this is DSC, specifying relative paths to the source files rarely works as intended. Whenever I distribute my module (which has the DSC, and now, the scripts) I pre-parse the configuration when building the lab and re-output it with the full location to the resources before passing it to Lability.
If I didn't have to specify a path at all and just had a content section then I could bundle the script into the DSC which would save that step. But it's okay if this is too troublesome and you don't want to do this.

Would you still expect the content to be of type string[] or string? Would having it a base64 encoded string be beneficial (although it would be somewhat obfuscated)?
I do see some benefits to adding this, I just want to make sure we've explored all alternatives first 😉.

@codykonior Any further thoughts on this?

authors: codykonior iainbrighton

repo: VirtualEngine/Lability


text:
Feature Request: Support installing additional plugins

I see that you can override basePlugins in the CR yaml by specifying spec.master.plugins with something like this:
apiVersion: virtuslab.com/v1alpha1
kind: Jenkins
metadata:
  name: example
spec:
  master:
   image: jenkins/jenkins:lts
   plugins:
     configuration-as-code:1.4:
     - configuration-as-code-support:1.4
...

However, this either uses the default plugins OR the ones specified:
https://github.com/VirtusLab/jenkins-operator/blob/a275ed62d5a3e01ef5ed5e333ce6860b84a8f05f/pkg/controller/jenkins/jenkins_controller.go#L221-L224
As far as I understand, we have two options if we want to install additional plugins or update plugins:

Override spec.master.plugins with a complete list of plugins and dependencies.  This makes it difficult to maintain if jenkins-operator has a new release that uses a new set of base plugins.
Write custom .groovy scripts that install the needed plugins.  I believe this is the current recommendation in the README.

Let me know if there is another option I'm missing.
My feature request is to add a new option spec.master.additionalPlugins that would just be merged into the default set of plugins.  This would make managing plugins a little bit simpler compared to either option I listed, since only the updated or new plugins would need to be specified.

@justyns Thanks for the feedback.
Any change to CR  under spec.maser causes restart of Jenkins master pod. Plugins installed by groovy script will have the latest version and Jenkins will restart inside a pod.
Plugins required by jenkins-operator should be separated from user plugins. I'm adding this to my TODO list.

@justyns Could you submit this issue in new repo https://github.com/jenkinsci/kubernetes-operator?

@justyns Could you submit this issue in new repo https://github.com/jenkinsci/kubernetes-operator?

Sure!  I just copied this to https://github.com/jenkinsci/kubernetes-operator/issues/1 if you want to re-add your comment as well.
I'll close this one for now, congrats on the new home for the project!

authors: justyns tomaszsek

repo: VirtusLab/jenkins-operator


text:
Implement rol modifier

My classmates and I have implemented an rol modifier, which allows searches for every one byte rol modification to a string. This rol modifier also works for ror because they are inverse operations ( ROR(x) = ROL(8-x)). It is currently only implemented for strings but we plan on extending it to hex strings. For example
/*This will match on \xa8\xca\xe6\xe8\xca\xc8\x40\x86\xde\xc8\xca\x40\x90\xca\xe4\xca which is the given string shifted left 1 bit*/

rule test {
      strings:
        $a = "Tested Code Here" rol
      condition:
        $a
    }

@googlebot I signed it!

@googlebot I signed it!

@googlebot I fixed it.

@googlebot I consent.

@googlebot I consent.

The other modifiers that I added made sense because 1) they were annoying to write otherwise (xor eliminated the need for 256 strings in a single rule) or 2) buggy to get correct (I saw buggy implementations of the base64 string generation code out there). In your case you're saving at most 8 strings in a rule and it isn't that hard to get right.
What are the implications of this combined with other modifiers? How does it work when combined with xor or base64 or wide, for example?
I am starting to think that if we are going to continue to support these modifiers we need a good way to express the composition of them in the language.

@wxsBSD That is a good point. A group of seniors and I at our university have been working on a couple of keyword in different branches for a capstone project. Our project sponsor uses Yara extensively and mentioned to use that he would have great use of a few keywords: a 0-255 bit add, a 0-7 bit ROL/ROR and also a base64 keyword (which you  happened to write and merge in at the same time that we were working on one).
I see where you are coming from with the fact that the rol keyword only saves the user from writing 7 other strings. As far as integrating it with the other keywords, we hoped to attempt to do that after seeing how the initial keywords were accepted before going too far down a potential rabbit hole. Do you think there is a specific keyword that we could try to integrate the rol with to make it more useful for the framework? or perhaps a way we could improve it to give it a better place within Yara?
I also am going to submit another PR today with the add keyword which definitely saves the user more time in brute forcing 0-255 add keys to eliminate the need for 255 extra strings, we would love your feedback on that potential feature as well.
Thanks for your help & feedback!

I've got some notes jotted down on this and will post an issue for discussion in the next day or so. I'll link this pull request to it when I post it. Generally speaking, I think getting the language in a better spot to support more modifiers without having to rely on implicit interactions and documentation is the next step, and adding new modifiers should probably wait until that discussion has happened and any implementation is done (if any, this is not my project to say what does or does not make it into the language). :)

I've hopefully started discussion around ways to make modifiers better in #1249

As I commented on #1249, I agree with @wxsBSD that we either rethink the way in which modifiers are expressed (his proposal in #1249 is good and addresses the issues regarding to how to apply multiple modifiers at the same time), or we stop adding new modifiers. My impression so far is that both "rol" and "add" modifiers can be useful for some people, but not that many. Also, writing YARA rules that do the same thing without these modifiers is a bit harder but bearable.
The backward compatibility issues that such a change will bring are very important, and the benefits of adding these modifiers are out-weighted by the drawbacks in my opinion.

authors: acloward jkj728 plusvic sskousen wxsBSD

repo: VirusTotal/yara


text:
Redesign the U.S. Counties stats page for easier filtering by state

Currently it's sorted by cases, but also we could probably add a Search bar somewhere on here, or a dropdown to filter by state?

dropdown now shows at the top

repo: VirusTrack/COVIDvu


text:
[FAQ] How to generate a simplified mini line chart?

I would like to create an extremely simplified line chart that minimizes space usage while efficiently conveying the trends and variations in the data.
Therefore, I expect this line chart to exclude components such as axes, labels, and legends, focusing solely on the line segments.

解决方案 Solution
VChart的各个图表组件提供了丰富的样式配置，在组件中配置visible:false就能够让组件隐藏，以绘制更加精简的图表。
The various chart components in VChart provide rich style configurations.
By setting visible:false in the component configuration, you can hide the component and create a more simplified line chart.
代码示例 Code Example
import { useEffect, useRef } from "react";
import VChart from "@visactor/vchart";

export const Chart = () => {
  const containerRef = useRef(null);

  useEffect(() => {
    const spec = {
      type: "line",
      // type: 'area',
      data: {
        values: [
          {
            time: "2:00",
            value: 8
          },
          {
            time: "4:00",
            value: 9
          },
          {
            time: "6:00",
            value: 11
          },
          {
            time: "8:00",
            value: 14
          },
          {
            time: "10:00",
            value: 16
          },
          {
            time: "12:00",
            value: 17
          },
          {
            time: "14:00",
            value: 17
          },
          {
            time: "16:00",
            value: 16
          },
          {
            time: "18:00",
            value: 15
          }
        ]
      },
      xField: "time",
      yField: "value",
      padding: 0,
      margin: 0,
      point: {
        visible: false
      },
      line: {
        style: {
          curveType: "monotone"
        }
      },
      axes: [
        {
          type: "linear",
          orient: "left",
          nice: true,
          zero: true,
          visible: false
        },
        {
          type: "band",
          paddingOuter: 0,
          paddingInner: 0,
          orient: "bottom",
          visible: false
        }
      ],
      legends: [
        {
          visible: false
        }
      ]
    };

    const vchart = new VChart(spec, {
      dom: containerRef.current
    });

    vchart.renderSync();

    return () => vchart.release();
  }, []);

  return (
    <div
      ref={containerRef}
      style={{
        width: 520,
        height: 520,
        border: "1px solid #ccc"
      }}
    />
  );
};

结果展示 Results
在线示例：https://codesandbox.io/s/mini-line-chart-xlrxhd?file=/src/App.jsx
Online Demo: https://codesandbox.io/s/mini-line-chart-xlrxhd?file=/src/App.jsx

相关文档 Documents
VChart Github
VChart Axes Guide
VChart Line Chart Guide
VChart Github
VChart 坐标轴教程
VChart 折线图教程

authors: xuanhun youngwinds

repo: VisActor/VChart


text:
Question about PSI ID data type

Hello professor!
I found the PSI only accept id which data type is unsigned int 64(uint64_t), If the ID type is string (e.g sha256 hash value of phone number). How can i convert it to u64 ? Do algorithms need to be modified?
Thanks very much!
@ladnir

It take block as input. Not u64. block is 128 bit. For Semi-honest that should be big enough. For malicious, you can choose a random seed/salt and rehash to 128 bit block.

It take block as input. Not u64. block is 128 bit. For Semi-honest that should be big enough. For malicious, you can choose a random seed/salt and rehash to 128 bit block.

OK, thanks professor

authors: jsuper ladnir

repo: Visa-Research/volepsi


text:
Formatting

Webpage lost formatting

Issue resolved

repo: Viscerae/optimaldnd


text:
ImageNet pretrainning configurations

Hi, can you provide ImageNet pretraining configs (e.g. resolution, epochs, training tricks)? They are important for a fair comparison.

Hi, SegNeXt follows VAN for ImageNet pretrain.
Please refer to this repo.

Hi, SegNeXt follows VAN for ImageNet pretrain.
Please refer to this repo.

This is still vague. For example, VAN has both 224 resolution pretraining and 386 resolution pretraining. I think the best way is to provide training scripts as done by HRViT

For VAN, it only uses 224 resolution for pretraining, which is same with MSCAN.

authors: MenghaoGuo rayleizhu

repo: Visual-Attention-Network/SegNeXt


text:
made some changes in the index.css file

#167 issue solved , could you merge my pr?

please could you merge my PR as jwoc is about to end and points do matter ?

repo: Vita-App/Vita


text:
Danganronpa 2: Goodbye Despair [PCSB00514]

Game summary

Game name: Danganronpa 2: Goodbye Despair
Game serial: PCSB00514
Game version: 01.00

Vita3K summary

Version: v0.1
Build number: 1236
Commit hash: https://github.com/vita3k/vita3k/commit/28b6ac3

Test environment summary

Tested by: pent0
OS: Windows 10 Pro
CPU: Intel Core i5-7300HQ
GPU: NVIDIA GeForce GTX 1050ti
RAM: 8 GB

Issues
Glitched graphic when 3d billboards and scenes are being rendered.
Screenshots

Log
vita3k.log
Recommended labels

In latest Vita3K build, game work perfectly with constant FPS, no graphical glitches and much more.

vita3k.zip

Vita3K summary

Version: v0.2.0
Build number: 3690
Commit hash: https://github.com/vita3k/vita3k/commit/f0285143
CPU backend: Dynarmic
GPU backend: Vulkan

Test environment summary

Tested by: Slade
OS: Microsoft Windows 10 Professional (build 19045)
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
GPU: NVIDIA GeForce GTX 1060 6GB
RAM: 16 GB

Issues

The game plays fine up until you start the game properly and end up on the beach. Prior to this is just intro text.
Inputs work to skip the intro text.
At the beach the game does not completely respond to inputs. Movement works properly, as does Start, however attempting to select an item via X does nothing, and using the mouse as the touch screen does not select items either (the cross hair does move when you click the left mouse button).
This does not seem to be a regression issue and neither previous tester appears to have played the game until it is beyond the intro.

Screenshots

Log
vita3k.log
Recommended labels

Ingame -
input bug


text:
Cross Ange: Rondo of Angels and Dragons tr. [PCSG00597]

App summary

App name: Cross Ange: Rondo of Angels and Dragons tr.
App serial: PCSG00597
App version: 1.0

Vita3K summary

Version: v0.1.5
Build number: 2635
Commit hash: https://github.com/vita3k/vita3k/commit/cdbd461a
CPU backend: Dynamic

Test environment summary

Tested by: othmanead
OS: Windows 11
CPU: Intel i5-10300H
GPU: RTX 3060 mobile
RAM: 16 GB

Issue:

Game goes ingame but has sound issues in voices and crashes in gameplay

Screenshots:

Log
vita3k.log
Recommended labels

Ingame -
Crash
Audio issues

Download pls give


text:
REQ: add midjourney model v4

possible to add midjourney model v4?
https://huggingface.co/prompthero/midjourney-v4-diffusion/tree/main

It doesn't require access to use this model. You can highlight the model_id
text and replace it with *prompthero/midjourney-v4-diffusion *to download
the model and use it. :) I'll add it to the list ASAP
On Sat, Nov 12, 2022 at 6:22 AM GK @.***> wrote:

possible to add midjourney model v4?
—
Reply to this email directly, view it on GitHub
https://github.com/WASasquatch/easydiffusion/issues/9, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIZEZJZGERXFKKANEIO2DDWH6R2ZANCNFSM6AAAAAAR6K7BA4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Sincerely,
*Jordan S. C. Thompson *

implemented in update 18-11-2022

authors: WASasquatch gjakuipers

repo: WASasquatch/easydiffusion


text:
Add bus node.  This is going to be very popular.

This greatly reduces connectors.   I think it's going to be very popular.  I will probably eventually submit it to core ComfyUI, but right now he has so many outstanding PRs I don't think he'll notice mine.
I stuck an example workflow on your wiki page:
https://github.com/WASasquatch/was-node-suite-comfyui/wiki/Workflow-Examples#bus-download
I designed this in my head over a few days, and it was actually trivial to implement :)

One thing I can't work out - how to do the javascript so the suggestion when you drag from the "bus" output, is another bus node.  I can see that 'reroute' does this via javascript.  Would be great if you could help me add this.

One thing I can't work out - how to do the javascript so the suggestion when you drag from the "bus" output, is another bus node. I can see that 'reroute' does this via javascript. Would be great if you could help me add this.

I am very bad with the front end. I still can't fathom how that's supposed to be an API to build from. Unmapped arrays, constants everywhere,  it's really confusing to me.

authors: WASasquatch willsmithorg

repo: WASasquatch/was-node-suite-comfyui


text:
New mask nodes for rectangular areas with preview

Added 2 mask nodes for simple rectangular areas with preview.
Mask Rect Area
Creates a mask with defined size and position in percentages, with optional blur. Contrary to smilar nodes from other packs, this outputs a MASK directly and features a preview canvas.
Mask Rect Area (Advanced)
Creates a mask with defined size and position in pixels, with optional blur, shown in preview canvas. Also outputs MASK and includes preview canvas.
Side notes
Because the canvas requires Comfy hooks, a js folder has been created to store them, and I've created a single JS file for each node, otherwise mantaining the code would be even more complex.

Removed the canvas and JS files. Now they are regular Python-created nodes.


text:
Hide hidden text.

if the npc/creature had dm only text hide it from the players.  IE

The above SS shows the players view when the Ability with constrict is show to the players.  The DC 19 should be hidden from the players and only the Basic Fortitude potion shown.  This is how it works when displayed in chat messages when used.
Note the HTML for the element is
DC 19
So hide those gm only elements.
Thanks otherwise so far I'm loving the idea of the mod and am looking forward to using it in my games.

I was doing htmlEnrichment in the wrong place, so everyone was getting the GM view, so to speak.
This should be fixed in v0.8.6 version that I just released. :grin:

authors: WBHarry bsleys


text:
GeForce Now Support

With Warframe being supported on GeForce Now for a while now, would it be possible to add support for the GFN version?
Detection of the window/game is fairly simple and i'd love to make use of this while streaming the game (:

Sadly it's not a detection problem, but the picture noise that affects color palette. It ends up failing to detect correct theme that you're using and as result applies inefficient monochrome conversion algo that belongs to another theme.

Would it be possible to manually select the used theme, in case GFN is detected?

Since noise/artifacts affect the source, knowing theme is not enough. Cleaning all this noise isn't something we're very good at.

Once or twice in the past, we've had people using GFN test versions of WFInfo with the theme hardcoded. It didn't work due to the streaming compression affecting the colours too much.
If user-tunable custom colour filters are ever implemented, that may work for GFN under good/stable conditions, but the noise level and colours could change very quickly in response to connection quality.

repo: WFCD/WFinfo


text:
Allow users to get stats by admin boundaries

Questions @wadhwamatic

should the admin boundary option be at the top of the baseline layer selector?

@ericboucher - this is great! A very handy feature that will get a lot of use.
Future nice to have: allow for customization of the resulting 'stops' / 'breaks'

@wadhwamatic I like the idea of adding customization of the resulting 'stops' / 'breaks', maybe you could open an issue?
The trick would be to handle the different stats as mean and max might need different stops? What type of customization did you have in mind? I think if we can come up with a customization at the hazard layer level then it could be relatively easy to implement code-wise

@wadhwamatic I like the idea of adding customization of the resulting 'stops' / 'breaks', maybe you could open an issue? The trick would be to handle the different stats as mean and max might need different stops? What type of customization did you have in mind? I think if we can come up with a customization at the hazard layer level then it could be relatively easy to implement code-wise

@ericboucher - yeah customizing breaks at the hazard layer level makes good sense. but before we dive into this, I'd like to get a set of common configurations working otherwise setting this up across deployments is going to be overly time consuming. https://github.com/WFP-VAM/prism-app/issues/358

authors: ericboucher wadhwamatic

repo: WFP-VAM/prism-app


text:
Automated deployments from the master branch

This PR adds a CD for master.
It creates 3 deployments on push to master:

Cambodia https://prism-master-cambodia.surge.sh/
Mozambique https://prism-master-mozambique.surge.sh/
RBD https://prism-master-rbd.surge.sh/

Those deployments are not triggered by a pull request:

We could also look into creating composite actions for our common tasks
See https://docs.github.com/en/actions/creating-actions/creating-a-composite-action
Again, not a priority but could be interesting to explore

authors: ericboucher sifelix


text:
Missing examples?

It would be nice if there were an example or two in the intro (or elsewhere) that showed how a user might use this:
Something like the //# eagerCompilation=all comment in the explainer (presumably all is the only currently supported value today?)

I added an example here: https://github.com/WICG/explicit-javascript-compile-hints-file-based/blob/main/README.md#introduction ; does that answer your question?

That's helpful! If you put that in the draft spec that would also be cool. 😸

authors: marjakh miketaylr


text:
Permissions example

navigator.permissions.queryLocalFonts({ name: "local-fonts" }) seems wrong? I guess this was meant to be just query?

Just addressed this in #86.

Ah, sorry, I addressed this as part of resolving #84 in 529ba1b12a7114c1fa0a37b172a106b0145c4835 - I hadn't looked through all the bugs/PRs yet.

authors: annevk inexorabletash tomayac

repo: WICG/local-font-access


text:
DISM exited with code 1392

When I run the WOA Deployer v2.1.1 on a 16GB(14.9GB) SD Card to install the Windows 10 Home build 18362, I got the error code 1392. Does anybody know what this means?

Can you try with a bigger card? DISM errors aren't handled by the Deployer and often indicate problems with the WIM file or the microSD card.

Yes it worked with a bigger card

authors: LeanderJak SuperJMN

repo: WOA-Project/WOA-Deployer-Rpi


text:
add PHP extension SQLSRV

todo

research and testing needed to get this extension working out of the box

The releases are really odd. The extension zip has a non standard name and its hard to find the matching PHP version for the files.

[x] license check

MIT

[x] add version crawler for SQLSRV extension

https://github.com/Azure/msphpsql

[x] add to registry
[x] integrate into installers (only PHP7)

Note: files to copy php_sqlsrv_7_nts.dll & php_pdo_sqlsrv_7_nts.dll
[x] full
[x] standard
[x] web

[x] inform the user who asked for it over the forum (https://forum.wpn-xm.org/viewtopic.php?f=6&t=362)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

On hold until the Azure guys fix issue 88 - https://github.com/Azure/msphpsql/issues/88

added to registry

https://github.com/WPN-XM/registry/commit/40bf2b186e1d73a42987dcbc2a1044717bd6fe1a
https://github.com/WPN-XM/registry/commit/097ebe6a4c9133e18cd355b3b30c1f75cd2f30ef

http://pecl.php.net/package/pdo_sqlsrv/4.1.6/windows

Issue at sqlsrv is resolved by Microsoft, see https://github.com/Microsoft/msphpsql/issues/ 88

[ ] update crawlers to fetch extension from pecl
[ ] update installers and remove old rename code (from the crappy old releases)

repo: WPN-XM/WPN-XM


text:
phpext_phalcon: fix crawler and registry entries

What's the problem?

downloads for phpext_phalcon are broken
crawler is broken, because dl location changed

Do you have an idea for a solution?

[ ] adjust crawler and get versions from https://github.com/phalcon/cphalcon/releases
[ ] update registry

updated registry: https://github.com/WPN-XM/registry/commit/42e6e8a9c6179764fc22ee55c05f28826b598de4


text:
🛑 App is down

In 4e29c30, App (https://app.wpsevac.com/health-check) was down:

HTTP code: 502
Response time: 167 ms

Resolved: App is back up in e0ee5a4 after 8 minutes.

repo: WPSDisaster/upptime


text:
HUBDEV-1728

Bug fix in operator rate service and rate service.

SonarQube analysis reported 2 issues

 2 major

Watch the comments in this conversation to review them.

authors: TelcoGitHubBot shawijayasekera


text:
Future work: create heatmaps showing the intensity of permitted volume or flow

Problem
With this massive data in WestDAAT, it's hard to get an insight into where the big water rights exist in the West or even within a single state.
Idea1
Heatmaps can be really cool and practical and show the intensity and distribution of something of interest
https://docs.mapbox.com/mapbox-gl-js/example/heatmap-layer/
Idea2
The current "scale" or "range" underlying toggle point size might need to be adjusted to be more effective. Right now, it does require some user experience to use filters to narrow down the effective range for this point size to work better (e.g., use state filter and zoom in to an area to get a better sense of where big water rights exist
https://westdaat.westernstateswater.org/?state=N4Ig7gTiBcoA4HsA2BPJBLAdgUxgbQF0AaETJAE3QDF0kAXbCAEQEM6WZQk306BXcrmiY%2BSJCSQJMAc14ChIsSUoRsAYzropAZxgBmZWxYAFBFjq7oAdgC%2BNkgFsWcTiABeCBA4Ay2AG7YSDAALAB0AGwADABMAKx6egCMsQAc0QkpkSmxEjz8giGJoVkJ0cHhVpFVicFWwRJSsvlCALSJkeGhwYmJ4Snh4bEAnLWJQ3r24BDkrojmAMrobkIgfiCOzgDiEAh8cFjSMCAARnwgdkA

@Rhipeus wrote in Slack

As for the heatmap idea...I don't have an exact number but it is very massive.  The problem is that the vector tiles don't have enough data to accurately render the heatmap.  Thus, we'd have to use something closer to the raw data and the last time I tried anything similar to that, it was DOA due to performance problems in the browser (I wish we were able to use the raw data because it would make a lot of things significantly easier).  I don't know what would happen trying to generate a heatmap from all of the data but mapbox's example uses ~6000 datapoints, you have 2.8 million that would need to be accounted for.
It is possible something could be done with summarizing the data in some way but then you'd lose most or all ability to filter.
Then you still have problems about how to aggregate the data when you have a single water right with a specific amount, spread across a large area in multiple sites.  You can't say all of the water is used at all of the spots and you can't be certain how that water right is divided up.
Plus, without consistent types of data (flow vs volume) you cannot render a map that makes since for the entire region and can really only work state by state.
And these are just the immediate issues that come to mind.  It may be doable with a fair number of compromises.  We would probably need to work together to figure out what those compromises would be.  I could eventually get you an exact figure but it is several weeks worth of work and will likely carry a price tag in the 10s of thousands.

Adel wrote
One other idea I thought of is that we generate separate Maptile that aggregates say volume of PODs into pixels of 30 feet by 30 feet. So this is a prepared raster maptiler layer. See how OpenET does it
https://explore.etdata.org/
Nathan wrote
I thought about that.  That is the losing any ability to filter and refine.
Adel wrote
Can the pixel have pre-generated intensity values (permitted volume for each beneficial use and water source type)? I can imagine they'll be a lot of combinations
Nathan wrote
I don't think so but I'm not certain

repo: WSWCWaterDataExchange/WestDAAT


text:
About drawing the figure

Hi, may I ask which drawing tool do you use for clear illustrated figures like Figure 3? I am looking for drawing some graph like yours but do not have any clue..

Hi Terry, the figures are drawn in PowerPoint:)

repo: WXinlong/ASIS


text:
New App Submission：Bycoin Wallet

App Logo (Required)

App Details (Required)
Type: Wallet
Name: Bycoin
Description: Professional digital assets management platform
Homepage Url: https://bycoin.im
Chains supported: BTC ETH LTC DOT BTM
App Url (Required - at least one)
Browser Url:
iOS Url: https://itunes.apple.com/us/app/bycoin/id1442183969?l=zh&ls=1&mt=8
Android Url: https://cdn.bystack.com/bycoin/apk/Bycoin.apk
Mac Url:
Windows Url:
Linux Url:
Mobile Linking (Optional)
Deep Link:
Universal Link:
Desktop Linking (Optional)
Deep Link:
Universal Link:
Metadata (Optional)
Short Name:
Primary Color:
Secondary Color:

Added to the cloud registry

authors: MartinBTM chadyj

repo: WalletConnect/walletconnect-registry


text:
Monster Spawning Stuffs

This is a pretty simple Feature, it should allow Monster spawning on ALL maps, regardless of if the monster is in the enemies array on start, or not, fixing the issue of Inconsistent Spawns. It does so in the following Way.

Search All enemy arrays on indoor enemies, to see if enemy is indoors or not.
If enemy is found, does another check to see if the enemy exists in the current level.
If enemy not found in current level, we add it with a spawn rarity of 0 (Disable natural spawns), and add the enemy to the array.
Code continues as normal.

This is for indoor enemies only, please do not merge yet, as more pushes will come to ensure outdoor enemies work as intended

Should be ready to merge, all tested with #9 build, as MetaData seems to be causing an issue. Works perfect in testing with old code, however.
MetaDelegates before joining a game spams a check, which results in a constant Object reference not set. To test with the new committed code, I updated the port back to 51338, and commented out the MetaDelegates data in ControlClient, and returned it to pre-rewrite form. No more error before running a lobby, and all checks respond normally. I'd assume im probably just lacking a little info on ConnectorLib for this, so will update in time.

Rebased onto https://github.com/TheUnknownCod3r/CCPack-PC-LethalCompany/tree/Latest-Push-old-Soure as Discussed, revert Fix by Maya for a more reliable monster addition check in the spawn func (Fix LLL / Lethal Quantities Incompat), Add isplayerDead check to timed funcs, as they fire even when a player is dead.

Closing due to needing to rebase and restart this one. As discussed in discord, will be porting all changes from my second Branch, and its all tested there, may need tested this side. Hopefully will have MetaData figured out for then too.

repo: WarpWorld/CCPack-PC-LethalCompany


text:
Message owner if banned in a sub

If the bot tries to post in a sub and can't, message the owner to set the sub to message only.

Or possibly if the comment it's replying to is deleted


text:
Update ta

fix typo

Thanks @TheJoeSchr

authors: TheJoeSchr WaylonWalker

repo: WaylonWalker/devtainer


text:
Update mkdocs.yml

这个插件配置不用改，我在插件的最底下写好了，有个指定路径的配置必须有不能删 @Wcowin

没事了，看错行了

我这边跑了测试了几遍 基本了解了报错原因，正如你所说的那样，我今天白天尝试对此错误看看如何修复

repo: Wcowin/Mkdocs-Wcowin


text:
failed test restyle

http://webreflection.github.io/

I've seen that. Which problem are you having, specifically?

authors: WebReflection splincode

repo: WebReflection/restyle


text:
nextLine() hangs (infinite loop)

Describe the bug
When i try to search all folders using $client->getFolders() method the script just gets into infinite loop. I tried to debug it by myself and find out that when reading next char of the stream always returning an empty string.
This happens right after i received ' BYE Connection closed.' After closing connection i expect to receive 'logout' or something like that, but instead the script just hangs infinitely.
Used config
$cm = new ClientManager(['options' => [
            'debug' => true,
        ]]);

        $client = $cm->make([
            'host'           => 'outlook.office365.com',
            'port'           => 993,
            'encryption'     => 'ssl',
            'validate_cert'  => true,
            'protocol'       => 'imap',
            'username'       => $username,
            'password'       => $token,
            'authentication' => 'oauth',
        ]);

Code to Reproduce
The troubling code section which produces the reported bug.
\Webklex\PHPIMAP\Connection\Protocols\ImapProtocol::nextLine()

    public function nextLine(): string {
        $line = "";
        while (($next_char = fread($this->stream, 1)) !== false && $next_char !== "\n") {
           dump($next_char); // i added this by myself to debug - always return empty string (screenshot below)
            $line .= $next_char; // always return empty string ''
        }
        if ($line === "") {
            throw new RuntimeException('empty response');
        }
        if ($this->debug) echo "<< ".$line."\n";
        return $line . "\n";
    }

Expected behavior
Hard to say what is expected result, but i assume this should be handled somehow.
Screenshots

Desktop / Server (please complete the following information):

OS: [Ubuntu]
PHP: [8.0.23] (cli)
Version [v4.0.2]
Provider [Outlook]

I would personally use stream_get_line() as it will be more efficient and just check the resulting $line===false for an empty response as a $line="" indicates an empty line (stream_get_line doesn't include the cr)

I have the same issue, but only from time to time. I pinpointed the infitnite loop to the while loop in the ImapProtocol::nextLine() method as @sergiy-petrov  described. I'm provisionally doing an overkill check till this is solved:
    public function nextLine(): string {
        $line = "";
        $beginningTime = time();
        while (($next_char = fread($this->stream, 1)) !== false && $next_char !== "\n" && $next_char !== "" && !feof($this->stream)) {
            $line .= $next_char;
            if (time() > $beginningTime + 30) {
                throw new RuntimeException('reading line for longer than 30s (last char was "'.$next_char.'"): '.$line);
                break;
            }
        }
        if ($line === "") {
            throw new RuntimeException('empty response');
        }
        if ($this->debug) echo "<< ".$line."\n";
        return $line . "\n";
    }

@thin-k-design yeah for me it also happens from time to time

I have the same issue, our script sometimes timeouts while reading next line.
Since this occurs quite randomly for us, we added a && !feof($this->stream) to the while condition, and we'll see if that makes the trick.

changing
while (($next_char = fread($this->stream, 1)) !== false && $next_char !== "\n") {
to
while (($next_char = fread($this->stream, 1)) !== false && !in_array($next_char, ["","\n"])) {
has worked for me. Since then I haven't had any more issues.
See my pull request

@thin-k-design  thx, I'll see if feof does change anything in the next days and if not I'll test your solution

I got the next problem, I got again an endless loop, but this time over 500.000 times a PHP Warning  was written to the logs: "fread(): SSL: An existing connection was forcibly closed by the remote host.".
I am wondering, wouldn't it be easier just to use fgets? Are there any downsides I am not aware of?
    public function nextLine(): string {
        $line = fgets($this->stream);
        if ($line === false) {
            throw new RuntimeException('no response');
        }
        if ($this->debug) echo "<< ".$line;
        return $line;
    }

@thin-k-design I went for the following which partially resolves the issue:
    public function nextLine(): string {
        $line = "";
        while (($next_char = fread($this->stream, 1)) !== false && $next_char !== "\n" && !feof($this->stream)) {
            $line .= $next_char;
        }
        if (
            $line === "" &&
            ($next_char === false || feof($this->stream))
        ) {
            throw new RuntimeException('empty response');
        }
        if ($this->debug) echo "<< ".$line."\n";
        return $line . "\n";
    }

I said partially since we now from time to time get the following error:
Warning: fwrite(): SSL operation failed with code 1. OpenSSL Error messages: error:1420C0CF:SSL routines:ssl_write_internal:protocol is shutdown
For us this seems to always happen after a ImapProtocol::logout() I need to dig deeper in our code, but I wonder if we don't try to re-connect after an not properly closed pre-existing connection.

Concerning fgets that was the case a few versions before

Concerning fgets that was the case a few versions before

Do you know what the problem was? I have changed my code to use fgets and seems to work pretty fine (in my case mostly Microsoft and Gmail mailboxes).

I have no clue
Blame (https://github.com/Webklex/php-imap/blame/master/src/Connection/Protocols/ImapProtocol.php) gives the following commit: https://github.com/Webklex/php-imap/commit/f0fcdb728ed8285789e7a3d0cca96f7f93a30ec5
Which doesn't gives more information than "IMAP Connection debugging improved"

If the change was really only for debugging purposes, we should revert to fgets(). There is no advantage (as I understand it) in reading character after character for debugging. fgets() is much simpler and the while loop is buggy. @Webklex?

authors: AzzaAzza69 laurent-rizer sergiy-petrov thin-k-design

repo: Webklex/php-imap


text:
Add podAnnotations and secretAnnotations

Proposed changes

Checklist

[x] Lint and unit tests pass locally with my changes.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have added documentation to describe my feature.
[x] I have squashed my commits into logic units.
[x] I have described the changes in the commit messages.

Other information

Merged, thanks for your contribution!

authors: jidckii nijel

repo: WeblateOrg/helm


text:
Update and release chatgpt plugin

Needs openapi spec

complete.

repo: Weldawadyathink/Audiobook-Covers


text:
Is there a way to retrieve all past WhatsApp messages?

I want to ask this,
Is there a way to retrieve all past WhatsApp messages ?

There's a hard limit at around 100k messages coming from a single chat

How could that be done in a running client? is there a socket function to retrieve all messages and contacts from the network? is it necessary to logout and read the qr again??

Yes, you need to read the qr again, I have not found a method to query all chats and/or messages once you have already logged in and not stored or received everything correctly.

Yes, you need to read the qr again, I have not found a method to query all chats and/or messages once you have already logged in and not stored or received everything correctly.

what is the method ?

Have some way to reload connection and get messaging-history event again? without read a new QRCode? Because some messages do not arrive.

I'm looking for this solution.. a way to get all messages from a chat, even before its first connection.
@BoboiAzumi (or anyone else) did you find out how to do it?

repo: WhiskeySockets/Baileys


text:
Docker

Create the cloudbuild.yaml.

I add cloud build.yaml. Cool!


text:
Does this work if you're not using the header element?

For example, I want to use a div and not a header element.   This does not appear to work or I've not done something right (most likely 2 but wanted to check).
I'm using Pure JS approach.  Thanks for any help.

Yes, it does. Implementation problem on my end.  Sorry!


text:
console error

Same ser

repo: Widiskel/vana-data-hero-bot