ptrace+waitpid for Linux memory scan can lead to stopped services

During the same investigation for #860, we found a more serious problem. There are cases where _yr_process_attach can succeed at ptrace but fail waitpid. The waitpid failure goes through some best effort cleanup, which includes a call to ptrace with PTRACE_DETACH. Our findings, however, show that the SIGSTOP from the attach call is causing the target process to stop but the best-effort cleanup is not always causing the SIGCONT to either be sent or recevied or perhaps just handled. Our speculation is that since waitpid did not complete, the timing is not reliable for the sending of the SIGCONT (if it's being sent) so the target process can be left in a STOPPED state.
The repro for this is very tricky and not well understood. It seems to be related to having, for example an sftp session open and the closing it at some point during the scan of many processes. In the case we were investigating, the sshd process was often in a STOPPED state after _yr_process_attach returned ERROR_COULD_NOT_ATTACH_TO_PROCESS through the waitpid error/cleanup path (we verified it was always going through this block in the failure scenario). It may have also be related to a highly oversubscribed virtual environment with high contention and low allocations per guest. Uncertain what the real sequence of events is, but we were able to get one guest to do it quite reliably. This guest was a Centos7.3 64-bit OS.
Related point of info is we put an explicit kill( pid, SIGCONT ) after the detach call just to see if it would help. This is probably very unreliable since waitpid failed and the detach call may have already sent its own SIGCONT (we did not verify the signal was being sent or not) but in our experiments this always alleviated the problem. Again, I fear this as a real fix would be a hack, but perhaps since it's best-effort maybe it's ok?
The severity of this problem is actually pretty high as the target can be left in a STOPPED. In one case we saw pid 1 in this state, but most of the time it was sshd that manifested with the problem. Possible other processes were too and we didn't notice during our investigation.

There is an interesting related discussion in #622 about how SIGSTOP is undesirable. No conclusion derived in the discussion, but it was once brought up.

Maybe #989 now solves this?

Yes, I think this issue can be closed.


@prop is not provided as a valid JSDoc tag in autocompletion

/**
 * @typedef Foo
 * @pr$
 */

Request completions at $.
Both prop and property are valid ways to declare a property on a @typedef tag - the former is supposed to be a synonym of the latter. @prop is shorter, maybe we should provide it as an option?

Thanks @a-tarasyuk!


[feature] Project - Checkpoint 1

Description
This PR introduces a series of backend and migration updates that include refactoring models, adding new features, and resolving specific issues. The changes aim to improve the structure and performance of the application by refining database models, updating migration logic, and adding necessary dependencies.
Related Issues
Closes AGE-662
Sibling PRs

Cloud
Commons

Changes

Backend Enhancements:

Created ProjectDB model to manage projects within the application.

Migrations:

Generated an Alembic migration script to create the projects table with necessary indexes.
Added a data_migrations folder for custom Alembic migration logic.
Modified migrations to allow each migration to run in its own transaction.

Refactoring:

Renamed UserOrganizationDB model to OrganizationMemberDB to reflect its role more accurately.

What to QA

Run the migration upgrade and ensure it runs as expected.

Acceptance Tests

[x] Validate that the new migrations apply cleanly without errors.
[x] Confirm that the new migrations and projects creation does not affect the current state of the application.
[x] Confirm that you can view your workspace (along with the members exists)
[x] Confirm that the following tables exists in the database:

project_invitations
projects
project_members
organization_members

Additional Note
This PR contains migrations, and thus needs to be applied before QA starts.

QA Report: https://github.com/Agenta-AI/agenta-commons/pull/102/#issuecomment-2346829889

QA
Included:

[x] Sending and accepting invitation, and removing members to projects
[x] Creating testsets (incl. running an envaluation on it)
[x] Running applications in the playground, across accounts
[x] Running evaluations (a few automated, one manual A/B)
[x] Checking traces in the observability

@aybruhm -- lgtm, thank you !


Docs: Style rules for columns of icons in tables of rules

See https://github.com/eslint/eslint.github.io/issues/186#issuecomment-196460629

Added th selectors for cell padding rules, in case any tables need headings.

Added baseline alignment because table cells can wrap to multiple lines on narrow screens.

Thinking ahead to the next step, how about a separate Replaced by column under Removed?
1280px wide on laptop:

768px wide in portrait orientation on iPad 2:

600px wide in portrait orientation on Nexus 7:

320px wide in portrait orientation on iPhone 5:

Do we need the description for the removed rules? It would clean things up a lot if not.

For sure. And it makes that table look very different from the others. A little bit different is dangerous for clear technical communication.
Even if the index page omits descriptions, it looks like removed rules would appear in search results (with heading text from their doc).
While we’re at it, omit the columns for check mark and wrench, too?
600px wide in portrait orientation on Nexus 7:

320px wide in portrait orientation on iPhone 5:


Include caption with code blocks

When external content is included as a code block, it should be possible to easily include a caption.
Proposal
New argument caption: bool | str = False
Open Points

is there a valid use case for caption independent of code blocks? If not, captions should only be added when lang is given.

For now, captions will only be included with code blocks.

Added in v0.0.2


Update Random Numbers link in the JAX quickstart notebook

This PR fixes the link in the JAX quickstart notebook in:

"We’ll be generating random data in the following examples. One big difference between NumPy and JAX is how you generate random numbers. For more details, see the README."

Issue: The README link originally took you to https://jax.readthedocs.io/en/README.md, which does not exist:

If you click on it in Colab, it also doesn't work (because of its form: ../../README.md).
Solution: Perhaps a better way is to add a new link takes you to an explanation of how JAX random works (the Mersenne Twister PRNG) and its issues:

For more details, see the Common gotchas in JAX."

The new link directs you straight to: #🔪-Random-Numbers.
Let me know what you think. Cheers!
(I'm working on adding pmap for the Quickstart, as discussed in https://github.com/google/jax/issues/3458.)

Closing this as it should become part of the Quickstart with pmap https://github.com/google/jax/issues/3458.
Fyi, proposing to expand that section to something like:

Note that one big difference between NumPy and JAX is how you generate random numbers with JAX's pseudo-random number generator (PRNG). JAX PRNG = threefry counter PRNG + a functional array-oriented splitting model. (Also see the Common Gotchas in JAX.)

Digging out https://github.com/google/jax/blob/master/design_notes/prng.md into the open, it's a cool document.


Disable token for sending if zero balance instead of later validation errors

If I try to select "Send max" for STX (and presumably others) when I have a zero balance, it gives me a "Cannot determine decimal precision" error and a separate "Zero balance" one at the bottom of the screen.
It seems preferably that we simply disable its selection on the previous screen during token selection.

Could I have a power user button to overwrite that? I like to be able to chain claim-stx-reward and send stx transaction

Hmm not sure I understand the use case. How would that work?

I sent a sponsored tx that sends tx to my account with nonce 1, then I send a tx with nonce 2 that sends stx to another account.
I would like to keep the wallet more flexible for users that know what they are doing.


UnboundLocalError: local variable 'vid' referenced before assignment

Heres the output, i couldnt figure it out
(shorts-gen) D:\YouTube-shorts-generator-main>python main.py
Logging into Reddit...
Log in success! Retrieving post info...
Scraping reddit success! Returning list of info back to main.
Error occured on 1:
 Traceback (most recent call last):
  File "D:\YouTube-shorts-generator-main\main.py", line 68, in <module>
    success = main()
  File "D:\YouTube-shorts-generator-main\main.py", line 36, in main
    if not vid:
UnboundLocalError: local variable 'vid' referenced before assignment

Retrying...
Logging into Reddit...
Log in success! Retrieving post info...
Scraping reddit success! Returning list of info back to main.
Error occured on 2:
 Traceback (most recent call last):
  File "D:\YouTube-shorts-generator-main\main.py", line 68, in <module>
    success = main()
  File "D:\YouTube-shorts-generator-main\main.py", line 36, in main
    if not vid:
UnboundLocalError: local variable 'vid' referenced before assignment

Retrying...
Logging into Reddit...
Log in success! Retrieving post info...
Scraping reddit success! Returning list of info back to main.
Error occured on 3:
 Traceback (most recent call last):
  File "D:\YouTube-shorts-generator-main\main.py", line 68, in <module>
    success = main()
  File "D:\YouTube-shorts-generator-main\main.py", line 36, in main
    if not vid:
UnboundLocalError: local variable 'vid' referenced before assignment

Retrying...
Logging into Reddit...
Log in success! Retrieving post info...
Scraping reddit success! Returning list of info back to main.
Error occured on 4:
 Traceback (most recent call last):
  File "D:\YouTube-shorts-generator-main\main.py", line 68, in <module>
    success = main()
  File "D:\YouTube-shorts-generator-main\main.py", line 36, in main
    if not vid:
UnboundLocalError: local variable 'vid' referenced before assignment

Retrying...
Logging into Reddit...
Log in success! Retrieving post info...
Scraping reddit success! Returning list of info back to main.
Error occured on 5:
 Traceback (most recent call last):
  File "D:\YouTube-shorts-generator-main\main.py", line 68, in <module>
    success = main()
  File "D:\YouTube-shorts-generator-main\main.py", line 36, in main
    if not vid:
UnboundLocalError: local variable 'vid' referenced before assignment

Retrying...
Logging into Reddit...
Log in success! Retrieving post info...
Scraping reddit success! Returning list of info back to main.
Error occured on 6:
 Traceback (most recent call last):
  File "D:\YouTube-shorts-generator-main\main.py", line 68, in <module>
    success = main()
  File "D:\YouTube-shorts-generator-main\main.py", line 36, in main
    if not vid:
UnboundLocalError: local variable 'vid' referenced before assignment

Retrying...
Logging into Reddit...
Log in success! Retrieving post info...
Scraping reddit success! Returning list of info back to main.
Error occured on 7:
 Traceback (most recent call last):
  File "D:\YouTube-shorts-generator-main\main.py", line 68, in <module>
    success = main()
  File "D:\YouTube-shorts-generator-main\main.py", line 36, in main
    if not vid:
UnboundLocalError: local variable 'vid' referenced before assignment

Retrying...
Logging into Reddit...
Log in success! Retrieving post info...
Scraping reddit success! Returning list of info back to main.
Error occured on 8:
 Traceback (most recent call last):
  File "D:\YouTube-shorts-generator-main\main.py", line 68, in <module>
    success = main()
  File "D:\YouTube-shorts-generator-main\main.py", line 36, in main
    if not vid:
UnboundLocalError: local variable 'vid' referenced before assignment

Retrying...
Logging into Reddit...
Log in success! Retrieving post info...
Scraping reddit success! Returning list of info back to main.
Error occured on 9:
 Traceback (most recent call last):
  File "D:\YouTube-shorts-generator-main\main.py", line 68, in <module>
    success = main()
  File "D:\YouTube-shorts-generator-main\main.py", line 36, in main
    if not vid:
UnboundLocalError: local variable 'vid' referenced before assignment

Retrying...
Logging into Reddit...
Log in success! Retrieving post info...
Scraping reddit success! Returning list of info back to main.
Error occured on 10:
 Traceback (most recent call last):
  File "D:\YouTube-shorts-generator-main\main.py", line 68, in <module>
    success = main()
  File "D:\YouTube-shorts-generator-main\main.py", line 36, in main
    if not vid:
UnboundLocalError: local variable 'vid' referenced before assignment

Retrying...

(shorts-gen) D:\YouTube-shorts-generator-main>

I have the same issue. It only occurs when I change the subreddit though.


Add method for Vm to get 'My Company'  tags

'My Company' tags  - there is used name writable_classification_tags for this method - it is inherited from names of used relations and scopes but maybe there is better name
in UI:
(for example)

How it looks in DB ?
Vm (for example) -> Taggings -> Tags -> Classification -> parent of Classification is read_only
it was derived from code in UI screen
Usage:
irb(main):001:0> Vm.find(10000000000151).writable_classification_tags
PostgreSQLAdapter#log_after_checkout, connection_pool: size: 50, connections: 1, in use: 1, waiting_in_queue: 0
  Vm Load (1.5ms)  SELECT  "vms".* FROM "vms" WHERE "vms"."type" IN ('Vm', 'VmServer', 'ManageIQ::Providers::InfraManager::Vm', 'ManageIQ::Providers::CloudManager::Vm', 'VmXen', 'ManageIQ::Providers::Redhat::InfraManager::Vm', 'ManageIQ::Providers::Microsoft::InfraManager::Vm', 'ManageIQ::Providers::Vmware::InfraManager::Vm', 'ManageIQ::Providers::Amazon::CloudManager::Vm', 'ManageIQ::Providers::Azure::CloudManager::Vm', 'ManageIQ::Providers::Google::CloudManager::Vm', 'ManageIQ::Providers::Openstack::CloudManager::Vm', 'ManageIQ::Providers::Vmware::CloudManager::Vm') AND "vms"."template" = $1 AND "vms"."id" = $2 LIMIT $3  [["template", "f"], ["id",<PHONE_NUMBER>0151], ["LIMIT", 1]]
  Vm Inst Including Associations (709.8ms - 1rows)
   (1.5ms)  SELECT DISTINCT COUNT(DISTINCT "tags"."id") FROM "tags" LEFT OUTER JOIN "classifications" ON "classifications"."tag_id" = "tags"."id" LEFT OUTER JOIN "classifications" "parents_classifications" ON "parents_classifications"."id" = "classifications"."parent_id" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = $1 AND "taggings"."taggable_type" = $2 AND "parents_classifications"."read_only" = $3  [["taggable_id",<PHONE_NUMBER>0151], ["taggable_type", "VmOrTemplate"], ["read_only", "f"]]
  Query Trace > lib/extensions/ar_virtual.rb:741:in `calculate'
     from lib/extensions/ar_virtual.rb:741:in `calculate'
  SQL (1.1ms)  SELECT "tags"."id" AS t0_r0, "tags"."name" AS t0_r1, "classifications"."id" AS t1_r0, "classifications"."description" AS t1_r1, "classifications"."icon" AS t1_r2, "classifications"."read_only" AS t1_r3, "classifications"."syntax" AS t1_r4, "classifications"."single_value" AS t1_r5, "classifications"."example_text" AS t1_r6, "classifications"."tag_id" AS t1_r7, "classifications"."parent_id" AS t1_r8, "classifications"."show" AS t1_r9, "classifications"."default" AS t1_r10, "classifications"."perf_by_tag" AS t1_r11, "parents_classifications"."id" AS t2_r0, "parents_classifications"."description" AS t2_r1, "parents_classifications"."icon" AS t2_r2, "parents_classifications"."read_only" AS t2_r3, "parents_classifications"."syntax" AS t2_r4, "parents_classifications"."single_value" AS t2_r5, "parents_classifications"."example_text" AS t2_r6, "parents_classifications"."tag_id" AS t2_r7, "parents_classifications"."parent_id" AS t2_r8, "parents_classifications"."show" AS t2_r9, "parents_classifications"."default" AS t2_r10, "parents_classifications"."perf_by_tag" AS t2_r11 FROM "tags" LEFT OUTER JOIN "classifications" ON "classifications"."tag_id" = "tags"."id" LEFT OUTER JOIN "classifications" "parents_classifications" ON "parents_classifications"."id" = "classifications"."parent_id" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = $1 AND "taggings"."taggable_type" = $2 AND "parents_classifications"."read_only" = $3  [["taggable_id",<PHONE_NUMBER>0151], ["taggable_type", "VmOrTemplate"], ["read_only", "f"]]
  Query Trace > lib/extensions/ar_virtual.rb:704:in `find_with_associations'
  Tag Inst Including Associations (22.1ms - 1rows)
[
    [0] #<Tag:0x00007f9152d767f8> {
          :id =><PHONE_NUMBER>0167,
        :name => "/managed/turbonomic/candidate"
    }

🎁 for  @skateman
Links
https://bugzilla.redhat.com/show_bug.cgi?id=1519457
https://bugzilla.redhat.com/show_bug.cgi?id=1467805

@miq-bot assign @gtanzillo
@miq-bot add_label gaprindashvili/yes

@skateman

Travis issue seems irrelevant...

@lpichler please rebase to make the tests green.

@gtanzillo can we get this in?

Gaprindashvili backport details:
$ git log -1
commit 2bdf92189b98cf23366334176bb4693f73902b9f
Author: Gregg Tanzillo<EMAIL_ADDRESS>Date:   Wed Dec 13 18:09:01 2017 -0500

    Merge pull request #16607 from lpichler/get_writeable_clasification_tags

    Add method for Vm to get 'My Company'  tags
    (cherry picked from commit dd073f43e717688faa671d62454cf7207edec8e7)

    https://bugzilla.redhat.com/show_bug.cgi?id=1526049


.NET Core 3.0 preview 6, unreferenced System error.

I am using .NET Core 3.0 and it seems that I keep getting Predefined type 'System.Object' is not defined or imported when I define class, Predefined type 'System.{Some type name here}' is not defined or imported when using any predefined type(void, string, int, etc.) and The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?) when I use using directive with System namespace in it. It seems to be only omnisharp problem, since I can compile project and run it quite easily, without errors. It's probably caused by System no longer being in project.assets.json or something else.

Can you please provide your omnisharp log and a repro project? thanks!

About project. It happens to any .NET Core 3.0 project. Even if you create new .NET Core 3.0 prev 6 project, it says same thing.
Here's the log:
Starting OmniSharp server at 04/07/2019, 7:45:49 pm
    Target: {Path to Project}\SomethingSomething

OmniSharp server started.
    Path: {Path to user folder}\.vscode\extensions\ms-vscode.csharp-1.20.0\.omnisharp\1.32.20\OmniSharp.exe
    PID: 11952

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on Windows 6.2.9200.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 3 MSBuild instance(s)
            1: Visual Studio Build Tools 2017 15.9.28307.718 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
            2: Visual Studio Community 2017 15.9.28307.718 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin"
            3: StandAlone 15.0 - "{Path to user folder}\.vscode\extensions\ms-vscode.csharp-1.20.0\.omnisharp\1.32.20\.msbuild\Current\Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: Visual Studio Build Tools 2017 15.9.28307.718 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '{Path to Project}\SomethingSomething'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.WorkspaceInitializer
        Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.
[info]: OmniSharp.MSBuild.ProjectSystem
        No solution files found in '{Path to project}\SomethingSomething'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '{Path to Project}\SomethingSomething\SomethingSomething.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '{Path to Project}\SomethingSomething'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: {Path to Project}\SomethingSomething\SomethingSomething.csproj
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '{Path to Project}\SomethingSomething' on host 2876.
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '{Path to Project}\SomethingSomething\SomethingSomething.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project 'c:\Users\Vilius\Desktop\Projects\SomethingSomething\SomethingSomething.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: SomethingSomething
[warn]: OmniSharp.MSBuild.PackageDependencyChecker
        SomethingSomething: Did not find 'Microsoft.NETCore.App' in lock file.

About project. It happens to any .NET Core 3.0 project. Even if you create new .NET Core 3.0 prev 6 project, it says same thing.
Here's the log:
Starting OmniSharp server at 04/07/2019, 7:45:49 pm
    Target: {Path to Project}\SomethingSomething

OmniSharp server started.
    Path: {Path to user folder}\.vscode\extensions\ms-vscode.csharp-1.20.0\.omnisharp\1.32.20\OmniSharp.exe
    PID: 11952

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on Windows 6.2.9200.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 3 MSBuild instance(s)
            1: Visual Studio Build Tools 2017 15.9.28307.718 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
            2: Visual Studio Community 2017 15.9.28307.718 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin"
            3: StandAlone 15.0 - "{Path to user folder}\.vscode\extensions\ms-vscode.csharp-1.20.0\.omnisharp\1.32.20\.msbuild\Current\Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: Visual Studio Build Tools 2017 15.9.28307.718 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '{Path to Project}\SomethingSomething'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.WorkspaceInitializer
        Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.
[info]: OmniSharp.MSBuild.ProjectSystem
        No solution files found in '{Path to project}\SomethingSomething'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '{Path to Project}\SomethingSomething\SomethingSomething.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '{Path to Project}\SomethingSomething'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: {Path to Project}\SomethingSomething\SomethingSomething.csproj
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '{Path to Project}\SomethingSomething' on host 2876.
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '{Path to Project}\SomethingSomething\SomethingSomething.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '{Path to Project}\SomethingSomething\SomethingSomething.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: SomethingSomething
[warn]: OmniSharp.MSBuild.PackageDependencyChecker
        SomethingSomething: Did not find 'Microsoft.NETCore.App' in lock file.

@filipw could this be related somehow?
https://github.com/dotnet/cli/issues/11504#issuecomment-499998664

yep that's that. The new .NET Core 3.0 preview6+ project.assets.json files do not contain compile time dependencies for Microsoft.NETCore.App and other "framework-like" packages anymore. Instead they are being handled by targeting packs.
At the moment there is no workaround for this in OmniSharp.

actually I had a quick look at this, and the real bug is that OminSharp prefers the VS 2017 msbuild instance over the stand alone embedded one in this case.
The quickest workaround would be to install the latest Visual Studio 2019 on the same machine (or uninstall VS 2017) - that will allow OmniSharp to use its msbuild over the one from VS 2017.


Working with cypress in Nodejs

Proposed title of article
Working with cypress in Nodejs
Introduction paragraph (2-3 paragraphs):
End to End or simply E2E testing is one of the commonly used testing methods. In web applications, this comes in handy to allow the developer to maintain a strict TDD development pattern.
Cypress is an end-to-end testing framework that helps developers test their web applications easily and provides an interface for them to easily analyze their test progress and results. It also offers features like test snapshots and dashboard services.
This article aims to help readers understand how cypress works and how to write end-to-end tests.
Key takeaways:

What end-to-end tests are
How to install cypress
Writing tests with cypress
Using the cypress to check your tests

References:
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

cool topic - approved @LinusMuema


Please add a version method

A lot of modules have a version method that reports the version of the module itself.  Could you add something that?

`import fake_useragent
print(fake_useragent.VERSION)`

Thanks.


Icon request: terminal

Love the breadth of icons in this library -- especially for browsers and desktop OSes. Adding a terminal icon like this: http://fortawesome.github.io/Font-Awesome/icon/terminal/ would be awesome.

Thank you. I'm about to add a couple of others, will include a terminal icon as well.

Added a couple more Icons, including a Terminal Icon.
http://studiojunkyard.github.io/LibreICONS/icons.html


get_checked_descendants throws an exception

Uncaught TypeError: $(...).jstree(...).get_checked_descendants is not a function
I've tried using node.id and just node - i get an error with both.
$('#ajax').jstree(true).get_checked_descendants(data.node.id); // data parameter of select_node.jstree event

You need to use v3.3.5 (as that function was added in December last year - there is only one release since then). Here is a demo using 3.3.5:
http://jsfiddle.net/DGAF4/2741/

Ok thanks!
On 1 February 2018 at 16:02, Ivan Bozhanov<EMAIL_ADDRESS>wrote:

Closed #1941 https://github.com/vakata/jstree/issues/1941.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vakata/jstree/issues/1941#event-1453292681, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACZvZIHTk9Ei_GbxPSxwuxQlrPk_CZwXks5tQeAJgaJpZM4R1sXo
.

--
TransferWise: https://transferwise.com/u/seanr6


Recruiting participants

We need an active SONA page, that Linda is going to sort out, and information materials, posters etc, for recruitment.
Participants can choose between £5 Amazon Vouchers (I'm sorting them out) or 3 research credits (1 per 10 mins participation, I think, as we don't give 2 extra credits for lab based studies at the moment).
I'll add below a spreadsheet with the participant ids we need by study (number that needs to go into the pop-up box).

As promised the list with participants ids we still need:
participants_needed.csv
It looks like this:
# A tibble: 42 × 4
   `ppt id` Experiment1 Experiment2 Experiment3
      <dbl> <lgl>       <lgl>       <lgl>
 1        1 TRUE        TRUE        TRUE
 2        2 TRUE        TRUE        TRUE
 3        3 TRUE        TRUE        TRUE
 4        4 TRUE        TRUE        TRUE
 5        5 TRUE        TRUE        TRUE
 6        6 TRUE        TRUE        TRUE
 7        7 TRUE        TRUE        TRUE
 8        8 TRUE        TRUE        TRUE
 9        9 TRUE        TRUE        TRUE
10       10 TRUE        TRUE        TRUE
# … with 32 more rows

ppt id is the number you need to give to the experiment programme. TRUE indicates that we have already got the data for this participant and FALSE indicates that we still need this particular participant. I've added ppt id from 1 to 42. I think 42 per experiment is a good goal for this and leaves some room for errors. Have have 20 (exp 1), 26 (exp 2), 27 (exp 3) participants already, so this is achievable too. We can still add more, if we feel there is a need. I'd actually think that adding a fourth experiment would be even better than getting more participants for exp 1-3 but again, this is something we can think about later on down the line.

I have a few questions for setting up the SONA study.

Any suggestions for what to call the study that won't give away what we're looking for? Something like "Learning in young adults using eye tracking"?
Does it matter who out of yourself, Linda, or Mark that I put as the principle investigator?
What do I do about the time slots? The FAQ said I should book out the slots prior to setting up the SONA study, but that doesn't seem possible.

Any suggestions for what to call the study that won't give away what we're looking for? Something like "Learning in young adults using eye tracking"?

The name should be something that gets the attention of possible participants and, as you said, doesn't give away what the study is about. So having "eye tracking" in the title is a good idea if this is something people are interested in. Other than that you could say "follow the dot" or something with "learning".
How about: "Follow the dot: an eye tracking study on your ability to learning"

Does it matter who out of yourself, Linda, or Mark that I put as the principle investigator?

I doubt it, and even if we could have this. Just make me PI because I think the PI needs to approve it before the psych admin is approving it.

What do I do about the time slots? The FAQ said I should book out the slots prior to setting up the SONA study, but that doesn't seem possible.

Not sure what you mean: I think you only need to make some time slots available before the study is being approved. Add some time slots that are in principle possible for you so people can sign up. I'd create timeslots that are 1-2 weeks in the future so you can organise your testing schedule around this. You only need to create some timeslots I think and this can be changed retrospectively.

I have set up the SONA study. Can you have a look to make sure everything is in order?

Looks good. I've asked Linda for the ethics code. That's optional information but good to include.
I made some minor changes and added studies that are similar to ours as exclusion criterion.

@Lai-Sang and @Mark-Torrance. There used to be a paid participants panel (email list) or something like that. Does that still exist? Can we make use of this?

I've asked Linda for the ethics code.

@karlnicholls no need to wait for this though.

We have already used the panel before. If we intend to use it again, we need to be able to identify those who have not participated before.

Ah of course. That's a shame.

@jensroes I did think about the exclusion criteria, but when I looked up "eye tracking" it showed a lot of hazard perception studies and figured I would leave it for now.

Yes that was not obvious at all. I found those studies by searching for dots but even then you would need to know how is doing the dots studies (Ben, Sofia). I think I've covered all of them though.

Any idea how long it'll take to get the study approved on SONA?

I got the following message back. We need to fill out a form and copy it into the message to ask for approval. I need to ask for approval apparently.

we’ve changed the process in January (Updated the FAQ and the approval Form) and you still needs to do this (Filling in the Form) but using the old approval method (From within SONA on the study), where a Supervisor (PI) clicks on the approval request from within the study and pastes the form in there (the message box). Only if this has been done, will we approve. All SONA rules still apply.
Approval requests will not be granted without the form and the request coming from within SONA.
Please see the updated FAQ on SONA and the new form on SharePoint, as the email to contact has also changed, It is now<EMAIL_ADDRESS>As a reminder,
NO TIMESLOTS = No Approval.
ONLY Supervisors can ask for approval (NOT students).

The approval form is the following:

The name of your study as it appears on SONA:
Your name (and student number):
You are... teaching staff / research staff / PhD student / other student (delete as appropriate)
You supervisor’s name (masters and undergraduate students only):
About your study - credits
How long will it take for a participant to complete your study?
How many credits will you award to each participant?
How many participants do you anticipate giving credits to?
What is the maximum number of credits that you will therefore award, in total?
Please describe briefly how you will know that someone who has signed up for your study has actually
completed it (see note below).
About your study – other
Please confirm that you have specified timeslots. (This to applies to all studies. See note.) Y / N
Please confirm that you have NTU ethical approval for your study. Y / N
Please confirm that the description of your study on the SONA system gives potential participants a
clear understanding of what they will be asked to do it they participate. Y / N
About your other SONA studies (if any)
How many credit-granting studies have you initiated on SONA in the current academic year? You can
ignore studies where you were the PI (supervisor) for another researcher.
When all of these studies are complete, what is the maximum total number of credits that you will
have awarded?
Supervisor approval (masters and undergraduate students only)
I have checked the details of this study on SONA and can confirm that the responses to the previous
questions are correct. I am therefore requesting approval for this study. Y / N

@karlnicholls could you please fill this out for me, so I can copy it into the approval email?

The name of your study as it appears on SONA: Follow the dot: an eye tracking study on your ability to learn
Your name (and student number): Karl Nicholls - N0965126
You are...  other student
You supervisor’s name (masters and undergraduate students only): Jens Roeser
About your study - credits
How long will it take for a participant to complete your study? 30 minutes
How many credits will you award to each participant? 3 credits
How many participants do you anticipate giving credits to? 60
What is the maximum number of credits that you will therefore award, in total? 180 credits
Please describe briefly how you will know that someone who has signed up for your study has actually
completed it (see note below). The research is conducted in person and administered by the researcher
About your study – other
Please confirm that you have specified timeslots. (This to applies to all studies. See note.) Y
Please confirm that you have NTU ethical approval for your study. Y
Please confirm that the description of your study on the SONA system gives potential participants a
clear understanding of what they will be asked to do it they participate. Y
About your other SONA studies (if any)
How many credit-granting studies have you initiated on SONA in the current academic year? You can
ignore studies where you were the PI (supervisor) for another researcher. Just this one.
When all of these studies are complete, what is the maximum total number of credits that you will
have awarded? 180
Supervisor approval (masters and undergraduate students only)
I have checked the details of this study on SONA and can confirm that the responses to the previous
questions are correct. I am therefore requesting approval for this study. Y / N

Nice one.

Just wondering if there is any update on the Amazon vouchers, are they ready to distribute when participants take part? I took part in someone else's study today and they sent me a voucher within the hour. Just wondering if I'm able to do that.

Yes, ready to go. I sent you an email.


Fixes for issues #821 and #1305

New Pull Request Checklist

[x] I have read and understood the CONTRIBUTING guide
[x] I have read the Documentation
[ ] I have searched for a similar pull request in the project and found none
[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)
[x] I have added the required tests to prove the fix/feature I am adding
[x] I have updated the documentation (if necesarry)
[x] I have run the tests and they pass
[ ] I have run the lint and it passes (pod lib lint)

This merge request fixes / reffers to the following issues: ...
Pull Request Description
...
Resolved the image Cache issues by comparing the modified date.

Resolved the image Cache issues #821 and #1305.

Resolved the image Cache issues #821 and #1305.

@iosnatarajan looks very interesting. We will need a thorough review, but this is promising.

@bpoplauschi How long will it take to merge this pull request?
Thanks!

@iosnatarajan not sure, there are a bunch of items pilled up for 4.0, I'm moving through them.

I tried this fork, as I needed a cache aware way to fetch large images, that may change behind a static URL.
I am using the sd_setImageWithURL method on UIImageView with the RefreshCached option.
Fetches fine the first time after app restart and monitoring the network it looks like it downloads the full image only if it is changed, otherwise uses the cache.
But on follow up calls to sd_setImageWithURL within  the same app run it sets an empty image? If I restart the app it sets the correct image the first time, then again empty.
This affects any UIImageView that I try to set the image on with an URL that has already been fetched.
I am severely time pressed, so I can't dive into this right now and will just force reload the image every time I fetch it, but will try to get back to this in a few days.

Any news for this PR?

Codecov Report

Merging #1597 into master will increase coverage by 0.05%.
The diff coverage is 83%.

@@            Coverage Diff             @@
##           master    #1597      +/-   ##
==========================================
+ Coverage      76%   76.06%   +0.05%
==========================================
  Files          27       27
  Lines        2513     2586      +73
==========================================
+ Hits         1910     1967      +57
- Misses        603      619      +16

Impacted Files
Coverage Δ

SDWebImage/SDImageCache.m
70.63% <ø> (ø)
:arrow_up:

SDWebImage/SDWebImageDownloader.m
81.92% <100%> (ø)
:arrow_up:

SDWebImage/SDWebImageDownloaderOperation.m
79.42% <79.62%> (-1.26%)
:arrow_down:

SDWebImage/SDWebImageManager.m
72.26% <86.66%> (+3.19%)
:arrow_up:

Continue to review full report at Codecov.

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

Looks like #2197 has fixed #821 and #1305. Do we still need this PR or we can close it? @dreampiggy @iosnatarajan

@bpoplauschi Now we relay on NSURLSession to use NSURLCache and handle all this 304 not modify response. If this happen, NSURLSession will callback you a valid NSData from NSURLCache. So we can correctly handle that SDWebImageRefreshCached options from 4.2.x
So maybe this PR can be closed.

Anyway, thanks for your idea about the implementation of this feature. This can be reference by people who don't use NSURLSession (Such as build something from the CFNetwork level).
So we just close now. ;)


make borgs obey AI

About the PR

gives borgs a law 0 that makes them obey the AI's orders
moves emag to law -1
makes emag law overrule other "you must obey x" laws

Why / Balance
as far as i am aware, this has been a planned change for a while
might want to wait until AI has better options to deal with intruders into law upload
definitely needs a balance discussion
emag being law -1 might seem weird but i believe it's fitting for the emag being a machine-glitching device
Media

after sus

Requirements

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

Changelog

:cl:

add: Borgs' default lawset now makes them obey the AI above all else.

drafting this because freeze, to be undrafted when it's known whether we want this

Needs a design doc according to the freeze list #8524

If the AI has any laws that remove the prevention of causing harm (which happens often) the AI can just casually designate Borgs to hurt and kill organics under Law 0. It overrides all other laws.
To make this better the law should probably be moved down and add a clarifier "unless violating the (no harm/obey orders) laws" a design doc would be nice to see the argument as to how this would be better.

One could argue there is a design doc already related to this, the Moony's Better AI, that makes AI more of a head of borgs than just a door opener.
However that doc has existed for half a year by now i've no clue why it's still marked as a draft.

Please request for this PR to be opened after the freeze is over or remake it after. Thank you


Uncaught TypeError: Cannot read property 'animatableElement' of undefined

Hi,
while removing elements from a repeater I got the error reported in the subject. It happen also that after adding the second item an empty row is added.
The code is fairly simple:

        ${file.FileName}
        <button click.delegate="removeFile(file)">delete</button>

and in my vm:
import { autoinject } from 'aurelia-framework';
import { DocumentService } from './document-service';

@autoinject
export class DocumentBox {

    constructor(private documentService: DocumentService) {    }

    files: Array<any> = [];

    removeFile(file) {
        this.documentService.acquireToken(() => {
            this.documentService.deleteDocument(file.Id, () => {
                this.files.splice(this.files.indexOf(file), 1);
            });
        });
    }

}

Does anyone have the same issue?
Thanks,
Enrico

Please follow the issue template. We cannot accept issues that don't follow that.


[Windows] save TSNEEmbedding to binary, Directory error

I'm reopening a previously closed issue (https://github.com/pavlin-policar/openTSNE/issues/210)
In version 1.0.0, the problem still occurs. I tried running my code as administrator and the issue persists.
There seems to be a problem where the ann file is used by two processes simultaneously
Expected behaviour
On Windows OS, when trying to save the TSNEEmbedding object, or affinities, tried to save it with
pickle.dump(embeddings,open(os.path.join(self.models_path,"tsne_global_embeddings.sav"),"wb"))
or also tried to save as array to reconstruct the object later using numpy.save("file.npy",affinities)
These lines both work just fine under linux distributions what I tried.
But loading them back on Windows breaks with the same error as on the save methods, both scenario.
Actual behaviour
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\tobia\\AppData\\Local\\Temp\\tmpvvo0p0t8\\tmp.ann'
Steps to reproduce the behavior
opentsne >= 0.6.2
import pickle
import openTSNE
from openTSNE import TSNE
from sklearn import datasets
print(openTSNE.__version__)

iris = datasets.load_iris()
x, y = iris["data"], iris["target"]

embedding = TSNE().fit(x)

with open('iris.pkl', 'wb') as f:
    pickle.dump(embedding, f)

with open('iris.pkl', 'rb') as f:
    embedding = pickle.load(f)

embedding.transform(x)

Just as a sanity check, does the unpickling fail if you run pickle.load(f) in a separate Python session from pickle.dump(embedding, f)? So first do pickle dump, then exit Python, then start it again, and then do pickle load?

Tried the above code on Windows 10 and it works without issue.
import pickle
import openTSNE
from openTSNE import TSNE
from sklearn import datasets
print(openTSNE.__version__)

iris = datasets.load_iris()
x, y = iris["data"], iris["target"]

embedding = TSNE().fit(x)

with open('iris.pkl', 'wb') as f:
    pickle.dump(embedding, f)

with open('iris.pkl', 'rb') as f:
    embedding = pickle.load(f)

y = embedding.transform(x)
print('y.shape:', y.shape)

And it shows:
1.0.1
y.shape: (150, 2)

My environment is as follows:
Python 3.11.5 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:26:23) [MSC v.1916 64 bit (AMD64)] on win32

joblib==1.3.2
numpy==1.26.2
openTSNE==1.0.1
scikit-learn==1.3.2
scipy==1.11.4
threadpoolctl==3.2.0

Maybe it is fixed or caused by other factors?

I have the same issue: it seems to happen when the dataset is large.
I think it is due to nearest_neighbors.py > setstate where AnnoyIndex needs to load from a file 'tmp.ann' but the file will then be deleted by the with block in the temp folder.
with tempfile.TemporaryDirectory() as dirname:
                with open(path.join(dirname, "tmp.ann"), "wb") as f:
                    f.write(base64.b64decode(b64_index))
                self.index.load(path.join(dirname, "tmp.ann"))

I wonder if self.index.load can load from memory or disable memory mapping to free/close the file after loading.

For now, a temporary fix is to keep the data in the temp folder to be used by AnnoyIndex. Replace these four lines to
with tempfile.NamedTemporaryFile(suffix=".ann", delete=False) as tmp_file:
    with open(tmp_file.name, "wb") as f:
         f.write(base64.b64decode(b64_index))
    self.index.load(tmp_file.name)

Note the delete=False. Can you try @Aurelien-Pelissier?

I'm experiencing a similar issue when working on Ubuntu with NFS as the openTSNE file system.
What we see is that nearest_neighbors is trying to delete a file located on the NFS, a file that is still in use by the process it self.
My assumption is that the code "works" without issues on standard unix/linux based systems due to the delete on last close practice-
A practice in Unix/Linux, where an application has a file open but issues a delete (unlink) on that file anyway.
In a native Linux file system (as opposed to NFS and of course, Windows OS), this will result in the file becoming invisible to other processes, even though it still exists and is still open.
Perhaps I'm wrong but this makes sense to me, espacallly after reading this comment in issue #210

Moved discussion to #210.


Added Nepali Language

I added Nepali language. Added CONTRIBUTING.np.md and README.np.md. Please check it..

@kmova and @ItsJulian , please can I get any review on this PR ??

This changes not required, please pick the issue having Hacktoberfest label on it  and make a valid contribution. thanks

As we decided to consider the translation PR , re-opening the pull request. @AshishMhrzn10  thank you for this PR.

@prateekpandey14  Thank u brother, much more appreciated. Please can I get the review of my PR and get some reply. That would help a lot.

Hi @AshishMhrzn10 - we modified the links to the translated files a bit in the REAMDE.md for better experience. As part of this PR, can you update and resolve conflicts the README.md, add links in the ./translations/readme.md and also update the hindi translated file to have the link to translations on the top. Please check the gujrati translation file for reference.

@kmova Please have a look now. If there is any more update required, then I would be happy to take it.

@AshishMhrzn10 - Can you make sure the only changes in the PR are to add CONTRIBUTING.np.md and README.np.md.
This PR deletes an existing file, which should not be the case.

@kmova  does this solve the issue? README.de.md keeps on showing the change, so I tried to keep it same as in the openebs directory.  Any solution to this I can make??

@kmova please can u review ?? If this doesn't work than I can create a new PR with only CONTRIBUTING.np.md and README.np.md .

@AshishMhrzn10 can you possibly raise a new PR with just the changes to the nepali translation?

ok sure.
On Sat, Oct 31, 2020, 7:14 AM Kiran Mova<EMAIL_ADDRESS>wrote:

@AshishMhrzn10 https://github.com/AshishMhrzn10 can you possibly raise
a new PR with just the changes to the nepali translation?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openebs/openebs/pull/3185#issuecomment-719864806, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMEYZ5HBPTAEWXUK53VW66DSNNSA3ANCNFSM4SBKOWNQ
.

Please check the PR #3290


Revert "Refactor: Merge client and server Request"

Reverts dream11/zio-http#894

Need to think this further.


Bug in data class prevents modules from finding newly saved embeddings

Will fix.
Problem can be circumvented by reloading the UI

Issue has been solved :) !


Test test order data in the UP

These are test ORDER messages for Flexion testing:
OML-test-FHIR-message-from-flexion-etor-service-sender-to-laphl-(etor-nbs-orders)-json.txt
Screenshot of Postman send message from etor-service-sender to la-phl:
Private Zenhub Image
Docker log:
Private Zenhub Image

Sending ORDER message from LA-PHL to Flexion.etor-service-receiver:ORM-order-test-message-send-from-la-phl-(etor-nbs-results)-to-etor-service-receiver-hl7.txt
Postman screenshot:
[Private Zenhub Image]
(https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBOHAwQVE9PSIsImV4cCI6bnVsbCwi
cHVyIjoiYmxvYl9pZCJ9fQ==--05f97c662f15abb0504030b812fa2bd921933ba3/image.png)
Docker log:

Completed.


Ambisonics support and example

@polarch how would I go about testing this PR?

Ok, @polarch is going to meet up with us Patches peeps at the office eventually, but before that, he'll be committing some extra ingredients into the mix. Sounds good!


WIP. Cache sqla engine.

Sorry this never made it in, I'm cleaning up older PRs with merge conflicts at the moment. Please resubmit the PR if you want this feature to make it in.


[v1] worker-threads: change and version API

I think for this amount of callbacks, it is indeed better to use the struct. Added some minor comments about the patch itself.

A struct will also help implement this trick:
struct func_params {
    int x;
    in y;
};

void func(struct func_params params);
#define func(params)    func((struct func_params) { .x = 42, params })

Which can be used like so:
func();   /* x = 42, y = 0 */
func(.x = -1, .y = 42); /* x = -1, y = 42 */
func(.x = 0); /* x = 0, y = 0 */

Check new PR #244.


Post legacy removal cleanup

This issue tracks items we can clean up after removing the legacy modules end of 2024.

Remove `disableIntrospectionContextContributor` from `DgsAutoconfiguration`. It's also registered from `DgsSpringGraphQLAutoConfiguration`.

Done


[CPU] Skip CPU support unimplemented error

This PR aims to add CPU inference UT support. We skip CPU support unimplemented errors and update cpu inference workflow.
Skip logic:

Builder name does not exist or is not implemented, then skip.
Add an API to get the supported data types by accelerator, which can help us skip GPU fp16 UT.

I found that if no tests were collected, pytest will return exit code 5 (the correct exit code should be 0). I updated the cmd of running ut to ensure that pytest can exit correctly.

@Yejing-Lai, is this PR ready for review? Thanks!

@Yejing-Lai, is this PR ready for review? Thanks!

It's ready. The ut can work correctly on my local env. Please review. Thanks~

@Yejing-Lai, PR looks good. Please resolve conflict to enable merge. Thanks.

@Yejing-Lai, PR looks good. Please resolve conflict to enable merge. Thanks.

Hi @tjruwase , can I run the CI again? I think the reason for the failure of both checks is a network issue.

Hi @tjruwase, Could you please help review/merge this PR? Thanks!

Hi @tjruwase, I am sorry to revert the commit about fusedadam. Our fusedadam needs to be further modified, and we will submit another PR about fusedadam after this PR merge. Thanks for your review/merge~

@Yejing-Lai, no worries. Thanks for the update. Please ping me when you are ready to move forward with this PR. Thanks!


Why does downloading ".NET Core 1.1 SDK - Installer" give me version "1.0.0-preview2-1-003177" of the installer?

I am downloading .NET Core from https://www.microsoft.com/net/download/core#/current

Why aren't the version numbers in sync?
Why is there a preview suffix in the installer? Isn't .NET core RTM yet?

The SDK isn't RTM yet. It is tough to message through the brand name, if you click the runtime tab to go here, you will see RTM bits. https://www.microsoft.com/net/download/core#/current/runtime
This confusion should be over in the next month or two once the SDK tooling is RTM.


dev: in the next release of reth, replace our util implementation of RPC transactions to Reth Primitives transaction to reth's TryFrom new trait

Describe the enhancement request

in the next release of reth, replace our util implementation of RPC transactions to Reth Primitives transaction to reth's TryFrom new trait
The PR: https://github.com/paradigmxyz/reth/pull/7551
Describe Preferred Solution

first check that the PR https://github.com/paradigmxyz/reth/pull/7551 solves our problem
then, if so, delete the associated code in rpc_transaction_to_primitive and replace

Note that this is blocked until https://github.com/paradigmxyz/reth/pull/7551 is incorporated in a release

For your information https://github.com/kkrt-labs/kakarot-rpc/pull/1004 merge should unlock the situation here.

Hello, can I take this one?

Hello, can I take this one?

Assigned


XING / DoYouBuzz - Claims and Data

New update with

new Claims add in Identity
new fields in Context
complete user profile in JSON Format in Context

for the two providers

@tparnell8 Do you think include this pull request into your massive change ?

@D4rkTiger if you update your PR to the new project format, I will make sure it lands in nuget

I have fork again the repo due to massive conflicts that I can't solve.


Regarding duplicated queries in the Square Attack

Is your feature request related to a problem? Please describe.
I was benchmarking the performance of some black-box attacks and noticed that the Square Attack issued about 50% duplicated queries. This occurs because most queries are sent twice in a subtle way; see the code below.
Describe the solution you'd like
Update the implementation to reuse the last prediction outputs.
I am happy to send a PR if you find this performance improvement useful.
Describe alternatives you've considered
N/A
Additional context
For example, x_adv is passed to self.estimator.predict at L347, and its subset x_robust = x_adv[sample_is_robust] is immediately passed to self.loss, which boils down to a duplicated call of self.estimator.predict on the same inputs.
https://github.com/Trusted-AI/adversarial-robustness-toolbox/blob/337a15f9db8e447426aa9cbe1f090d14e3f1d3a4/art/attacks/evasion/square_attack.py#L346-L357

Hi @Lodour Thank you for using ART! How does you proposed solution with the same functionality look like?

My workaround is passing y_pred to self.loss, but this only handles the default loss function self._get_logits_diff
https://github.com/Trusted-AI/adversarial-robustness-toolbox/blob/337a15f9db8e447426aa9cbe1f090d14e3f1d3a4/art/attacks/evasion/square_attack.py#L118-L126
The method would become something like
def _get_logits_diff(self, x: np.ndarray, y: np.ndarray, y_pred: Optional[np.ndarray] = None):
    if y_pred is None:
        y_pred = self.estimator.predict(x, batch_size=self.batch_size)
    ...

I haven't come up with a general solution for custom loss functions.


docs: Describe differences between DEV and REV

I'm offering this documentation update to newcomers who may wonder what the differences are between the two versions. I missed that this question was already asked in a github issue, so it's a small way of giving back.
Resolves: https://github.com/lo-th/Oimo.js/issues/30
See also: https://github.com/lo-th/Oimo.js/issues/24

@lo-th: Does this work for you?

no need now dev is main version


update support list

What this PR does / why we need it:
update support list
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b32fb16) 28.74% compared to head (7eba4e4) 28.74%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1374   +/-   ##
=======================================
  Coverage   28.74%   28.74%
=======================================
  Files          34       34
  Lines        3079     3079
=======================================
  Hits          885      885
  Misses       2077     2077
  Partials      117      117

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


dmdtask: Storing wrong metadata into Swift.

We are trying to diagnose an issue where the wrong metadata is being stored in Swift during large bulk updates.

I ran a tool that looked at the array, and saw what I believe was the correct metadata.
3374d92f3e55b10348c3c13c26a105fd has 23512 items
3374d92f3e55b10348c3c13c26a105fd has 23512 dmd entries
3374d92f3e55b10348c3c13c26a105fd has 23512 flattenentries
Found qmma.10001 at 10000
$VAR1 = {
          'message' => '',
          'shouldStore' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
          'id' => 'qmma.10001',
          'stored' => $VAR1->{'shouldStore'},
          'label' => 'Esnagami Lake, Ontario',
          'found' => $VAR1->{'shouldStore'},
          'output' => 'issueinfo',
          'parsed' => $VAR1->{'shouldStore'}
        };
$VAR2 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<issueinfo xmlns=\"http://canadiana.ca/schema/2012/xsd/issueinfo\"><series>NTSSNRC</series><title>Esnagami Lake, Ontario</title><sequence>10001</sequence><language>eng</language><language>fra</language><published>1974</published><pubstatement>Ottawa: Dept. of Energy, Mines and Resources, Surveys and Mapping Branch, 1974</pubstatement><source>McGill University Library and Archives</source><identifier>Maps of the National Topographic System of Canada, 1:50,000\x{a0} ; x042L07</identifier><note>Edition: 1 MCE</note><note>Year Valid: 1962</note><note>Scale: 1:50,000</note><note>Style: Multicoloured</note><note>Universal Transverse Mercator [UTM] grid Zone 16</note><note>https://doi.org/10.5683/SP3/I5L5CL</note><note>http://geo.scholarsportal.info/#r/details/_uri\@=NTS50K042L07_1974ed1mceTIFF&_add:true</note></issueinfo>
";
$VAR3 = {
          'pubmax' => '1974-12-31T23:59:59.999Z',
          'no' => [
                    'Edition: 1 MCE',
                    'Year Valid: 1962',
                    'Scale: 1:50,000',
                    'Style: Multicoloured',
                    'Universal Transverse Mercator [UTM] grid Zone 16',
                    'https://doi.org/10.5683/SP3/I5L5CL',
                    'http://geo.scholarsportal.info/#r/details/_uri@=NTS50K042L07_1974ed1mceTIFF&_add:true'
                  ],
          'pu' => [
                    'Ottawa: Dept. of Energy, Mines and Resources, Surveys and Mapping Branch, 1974'
                  ],
          'identifier' => [
                            'Maps of the National Topographic System of Canada, 1:50,000 ; x042L07'
                          ],
          'lang' => [
                      'eng',
                      'fra'
                    ],
          'ti' => [
                    'Esnagami Lake, Ontario'
                  ],
          'pubmin' => '1974-01-01T00:00:00.000Z',
          'no_source' => [
                           'McGill University Library and Archives'
                         ]
        };

Looked it up: https://access.canadiana.ca/object/edit/69429/m0s756d5v22b
Looked into Swift:
Object: 69429/m0s756d5v22b/dmdISSUEINFO.xml
 875 bytes  |    Type:  xml  |    Etag: c213eea940b0773e9a6f0616a367d286
 Last modified (in object store): Tue Aug 16 2022 13:53:22 GMT-0400 (EDT)

Downloaded, and it is the wrong XML.
 <?xml version="1.0" encoding="UTF-8"?>
<issueinfo xmlns="http://canadiana.ca/schema/2012/xsd/issueinfo"><series>NTSSNRC</series><title>Toronto Lake, Ontario</title><sequence>9996</sequence><language>eng</language><language>fra</language><published>1970</published><pubstatement>Ottawa: Dept. of Energy, Mines and Resources, Surveys and Mapping Branch, 1970</pubstatement><source>McGill University Library and Archives</source><identifier>Maps of the National Topographic System of Canada, 1:50,000  ; x042L05</identifier><note>Edition: 1 MCE, Provisional</note><note>Year Valid: 1960</note><note>Scale: 1:50,000</note><note>Style: Multicoloured</note><note>Universal Transverse Mercator [UTM] grid Zone 16</note><note>https://doi.org/10.5683/SP3/1N1KZV</note><note>http://geo.scholarsportal.info/#r/details/_uri@=NTS50K042L05_1970ed1mceTIFF&_add:true</note></issueinfo>


Broken link to documentation on payments.rs

Describe the bug
The Documentation link on payments.rs links to version 0.28.0, which I think is the latest release but the latest docs on docs.rs is for 0.26.0.
I think the website is correct in linking to 0.28.0 but those docs haven't been uploaded to docs.rs yet.
To Reproduce

Visit payments.rs
Click on the Documentation link
Be redirected to a page that says "The requested version does not exist"

Expected behavior
The Documentation link should redirect to the docs for the latest release.
Code snippets
No response
OS
n/a
Rust version
n/a
Library version
n/a
API version
n/a
Additional context
No response

Yeah looks like you're right. The deploy process on this crate keeps breaking :( I will sort it out TY


Fix handling g_dbus_proxy_call_sync

This patch frees values returned by this function, what should be done
manually according to documentation
https://developer.gnome.org/gio/stable/GDBusProxy.html#g-dbus-proxy-call-sync

LGTM, merging.


Split deploy app wizard service into smaller chunks

 (1) Re-work deploy app to support more sources


fixed issue 38: updated engines in packages.json to use || instead of ,

This is to fix the issue with npm/yarn install when using node 6.x.x.

@kaxelson Thanks! I believe this will hopefully fix an issue I was having as well.


created first django blog post about Getting Started with Django and its Installation

`

Django

DJANGO

BLOG 1
Getting Started with Django: Installation and Your First Project

                Introduction:
                Django is a popular web framework for building web applications rapidly and efficiently. In this blog, we will walk you through the process of installing Django and creating your first project. We'll provide explanations, definitions, examples, and highlight what happens when you use Django for web development.
            Step 1:
Installation

            To start your Django journey, you first need to install it on your system. Django is a Python web framework, so make sure you have Python installed (preferably Python 3.6 or later). Here are the steps to install Django using Python's package manager, pip:

            Explanation:
            Pip is a package manager for Python that simplifies the process of installing, updating, and managing Python packages, including Django.
            Step 2:
Creating a Virtual Environment

            Before creating your first Django project, it's a good practice to set up a virtual environment. A virtual environment is an isolated Python environment that allows you to manage project-specific dependencies.
            Explanation:
            A virtual environment helps prevent conflicts between packages in different projects, ensuring that your project has its own isolated set of dependencies.

            Step 3:
Creating Your First Django Project

            Now that you have Django installed and a virtual environment set up, you can create your first Django project. To create a new project, use the following command:

"django-admin startproject myproject"

Explanation:

            •	django-admin is a command-line utility that comes with Django and allows you to perform various tasks, including starting new projects.
               •	startproject is a subcommand that tells Django to create a new project with the specified name (in this case, "myproject").
            Example:
            Suppose you run the above command. You will now have a directory called myproject containing the initial project structure and configuration files.
            What Happens When You Use Django:
            1.	Project Structure: Django sets up a directory structure for your project, with important files and directories for various components of your web application.
            2.	Settings: Inside the project directory, you'll find a settings.py file. This is where you configure your project settings, such as database connection, installed apps, and middleware.
            3.	Development Server: You can start a development server with the following command:

python manage.py runserver

            This command will launch a local development server, and you can access your project at http://localhost:8000/ in your web browser.
            4.	Admin Interface: Django comes with a built-in admin interface that you can use to manage your application's data. You can access it at http://localhost:8000/admin/.
            Conclusion:
            Congratulations! You've successfully installed Django, created your first project, and seen what happens when you start working with Django. In upcoming blogs, we'll delve deeper into Django's features, create models, views, and templates, and build a functional web application. Stay tuned for more Django tutorials!

Thankyou

`

Definitely


'Uncaught Error' with WebGL Renderer

I tried to use webgl renderer with vector tile, but I couldn't initialize map engine at all.
Is it not supported spec?

The WebGL renderer does not support vector tile rendering.  Pull requests to update the documentation would be appreciated.


Cookbook recipe for demos with Gradio.

What does this PR do?
Recipe to create demos with Gradio for the HF Enterprise Cookbook.
Who can review?
@stevhliu

cc/ @MoritzLaurer

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Update models README and add link in documentation

Following the release of version 4, the models were updated on their respective repos:
https://github.com/axondeepseg/default-SEM-model
https://github.com/axondeepseg/default-TEM-model
https://github.com/axondeepseg/default-BF-model
As discussed in meeting, we would like to update the README files with more information about training and usage of the models.
Example of another ivadomed model: https://github.com/ivadomed/model_seg_ms_mp2rage
When updated, we will also add the links to the repos in our documentation here: https://axondeepseg.readthedocs.io/en/latest/documentation.html#existing-models

Also, a good starting point for this issue would be to update the template here: https://github.com/neuropoly/axondeepseg/wiki/Template-for-Readme-of-new-models

I noticed the BF model lack a license file (other models have a MIT license). Is that intended?

Good catch, I don't think that is intended, @mathieuboudreau?

Now that the SEM model readme is merged, I updated both the TEM and BF ones. Also, the template is updated.

I added the version files in both the TEM model repo and the BF model repo.
Also opened #621 to quickly add the repository links in the doc. Everything is ready for review/merge and then we can close this issue.


Streamer update

Description
async def _connect update
'CHANNEL_OPENED' used the  literal instead of the EVENT_TYPE, which caused def _channel_request to time out.
Related issue(s)
#101
Pre-merge checklist

[ ] Passing tests
[ ] New tests added (if applicable)

Hi, please checkout the master branch and make your changes from there.


[SPARK-23986][SQL] freshName can generate non-unique names

What changes were proposed in this pull request?
We are using CodegenContext.freshName to get a unique name for any new variable we are adding. Unfortunately, this method currently fails to create a unique name when we request more than one instance of variables with starting name name1 and an instance with starting name name11.
The PR changes the way a new name is generated by CodegenContext.freshName so that we generate unique names in this scenario too.
How was this patch tested?
added UT

cc @cloud-fan @kiszk @viirya

Test build #89398 has started for PR 21080 at commit 8623918.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2346/
Test PASSed.

Test build #89398 has finished for PR 21080 at commit 8623918.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

Hmmm... why is this failing? The change LGTM.

Test build #89441 has started for PR 21080 at commit 58f72ae.

LGTM

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2382/
Test FAILed.

Test build #89448 has started for PR 21080 at commit 0993827.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2387/
Test PASSed.

Test build #89455 has started for PR 21080 at commit 0993827.

LGTM

Merged build finished. Test PASSed.

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

thanks, merging to master/2.3!

Please ignore the error report, it was a mess in the machine configuration with some v2.3.0 leftovers. Works as expected after cleanup. Sorry!


Unicode characters do not render/transform

Im currently using iTerm2 and after switching to zsh, and enabling powerline fonts I have the ability to see powerline characters, but the tmux status bar does not render them and instead prints the unicode characters.
What I see:
I have confirmed:

$TERM outside of tmux is xterm-256color
$TERM inside of tmux is screen-256color
Powerline symbols render inside and outside of tmux

$ cut -c3- ~/.tmux.conf | sh -s _decode_unicode_escapes '\ue0b0\ue0b1\ue0b2\ue0b3'
%  <-- renders appropriately

$ tmux -V
tmux 2.8

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.14.6

Note: if I manually replace the unicode strings here with the rendered character everything works as expected

Hello @steven10172 👋
Works for me. Can you please paste the part of your ~/.tmux.conf.local that uses the powerline symbols?
Here's mine
tmux_conf_theme_left_separator_main="\uE0B0"  # /!\ you don't need to install Powerline
tmux_conf_theme_left_separator_sub="\uE0B1"   #   you only need fonts patched with
tmux_conf_theme_right_separator_main="\uE0B2" #   Powerline symbols or the standalone
tmux_conf_theme_right_separator_sub="\uE0B3"  #   PowerlineSymbols.otf font, see README.md

Also do you have any TPM plugin enabled?

I do not, I simply followed the install instructions and only uncommented those 4 lines to enable powerline characters.
# status left/right sections separators
#tmux_conf_theme_left_separator_main=""
#tmux_conf_theme_left_separator_sub="|"
#tmux_conf_theme_right_separator_main=""
#tmux_conf_theme_right_separator_sub="|"
tmux_conf_theme_left_separator_main="\uE0B0"  # /!\ you don't need to install Powerline
tmux_conf_theme_left_separator_sub="\uE0B1"   #   you only need fonts patched with
tmux_conf_theme_right_separator_main="\uE0B2" #   Powerline symbols or the standalone
tmux_conf_theme_right_separator_sub="\uE0B3"  #   PowerlineSymbols.otf font, see README.md

Can you please try 2 things separately?

either use single quotes, e.g. `='\uE0B0'
either double the backslash. e.g. = "\uE0B0"

Both of those cause the symbols to render as expected, thanks!

I'm still curious why "\uE0B0" works for me though 🤔


[download] Original file name is lost when downloading from browser

Currently, when users download a file uploaded via LFS the original file name is not suggested when the "Save as" dialogue appears; Instead, the OID is used.
This is because we redirect the user to the storage URL which ends in the file's OID (SHA256).

LFS itself does not define a way to set the file name, or add extra parameters that allow the backend to set the file names (LFS's design assumes the client knows what the file name should be).
I see a few ways to approach this, and we should do some thinking about the best approach:
Client-based approach
Follow the LFS approach that the "client knows", and use the relatively new download="filename.bar" HTML attribute in download links; This will require doing some extra work to override the HTML of template blocks that contain links, and the link displayed in the HTML will need to be a direct link to the storage backend, because download="..." behavior is not preserved following a redirect (I checked...). This in itself has some advantages (we will not need to override the resource download route / blueprint, thus allowing better fallback behavior), but also the downside that pre-signed download URLs may expire if the HTML page stays open.
This can also be worked around by checking, and refreshing, the pre-signed URL when the link is clicked.
Note that download="..." works in all modern browsers, but not in IE.
LFS Protocol Extension
Extend the LFS protocol with some custom attributes, at upload or at download, that allow setting a "content-disposition" header in pre-signed URLs for storage vendors that support it (Azure and S3 do).
Pros: less client-side trickery, behavior is consistent across clients.
Cons: Non-standard LFS features (Also not likely to be a part of the stasndard in the future). Will not be supported by all storage back-ends (e.g. local).

/cc @rufuspollock any thoughts on this?

@shevron good analysis. Options as i understand it:

set a header / meta field in e.g. Azure or S3 storage that determines the download file name. This sets it in one place ... however it is has problem of somewhat violating content based addressing.
download attribute - mostly supported now https://caniuse.com/#feat=download - but does mean you have to set this in places in the frontend

My slight preference is for 2nd option i think but i might need to think a bit more. (I feel that most others clients can take care of renaming e.g. via datapackage.json)

It is true that this is mostly a browser problem. The LFS assumption that the client should know the file name is generally correct, and even with a browser this can be done via the download attribute or some JS hacking.
My inclination is also towards the 2nd option - there aren't that many places in the CKAN frontend to handle and it can be done via a JS module that will "hijack" clicks on <a href> tags with a custom handler. This will gracefully degrade to fetching the right file but with the wrong name, which I think is pretty OK. This approach can be done with minimal template overrides.

BTW, both Azure and S3 support setting the content-disposition header (header that specifies the file name when downloaded) when the file is fetched - not just when it is saved. This means that if we wanted to, we can customize download URLs on the LFS server level or on ckanext-external-storage without violating content based addressing. However, it will mean either extending the LFS protocol in a non-standard way (CKAN will have to send the filename when requesting a download URL), or alternatively it can be set by CKAN after the URL was generated (at least for Azure this is possible), but this means that ckanext-extenral-storage will have to be storage backend aware which kind of kills the whole abstraction that is Git LFS.

Unfortunately, it seems that at least Firefox will no longer respect the value of the download="..." attribute if it violates the same origin policy (which it usually does in our case). So looks like relying on download attribute functionality will not work (I've tested this and indeed it does not work).
We are left with:

LFS protocol extension as suggested above
What I'd call a server side "leaky abstraction" approach to adding vendor-specific content-disposition parameters to generated download URLs; I will describe this option soon.

Suggested solution:
CKAN Server Side URL mangling approach
In this approach, we do not modify Giftless or extend the LFS protocol, but add a feature in ckanext-external-storage that adds a vendor-specific query parameter to generated URLs to set the content-disposition header before redirecting the client to that URL.
This can only work if vendors allow to set that query parameter without signing it (if it requires signing, we will have no choice but to do it in Giftless, which will require LFS protocol changes).
This can be in the form of a config option, for example:
ckanext.external_storage.append_resource_download_query_params = 'ResponseContentDisposition=attachment; filename="{url}"'

This is somewhat of a leaky abstraction, as it requires the person configuring CKAN to be aware of the specifics of the storage backend vendor; The mere existence of this option is a bit of a hack and feels like a violation of proper encapsulation best practices - however, at least there is no vendor specific code anywhere, and no changes to LFS / Giftless that violate the protocol.
Again, not sure if this can work - I need to further test this solution.

Ok, no dice; My last suggestion will not work for S3, which means we shouldn't do it.


a lot of bugfixes

Please take a look at the mime test fixed by the last commit (rev 2ffc3a9).
That might be a liblink bug, but I can't reproduce by writing the instruction
in assembly source.
To reproduce that bug, revert rev 2ffc3a9, and then rebuild everything,
go test -c mime,
./mime.test -test.run=TestConsumeMediaParam
it should crash with split stack overflow. Disassemble that function,
you will see that the ADD $-2048, SP, R2 instruction is not correctly
assembled.

This PR achieved make.bash and go test strings milestones.

Yes, this looks like a liblink bug.

Merged.


Question: What could be the args to get same output as `yq' ?

@noorul Did you find a solution to this, I'm trying to find the same format

I did not find any solution for this.


"Rebuild node" not accesible in landscape mode

Hi. I've been struggling with the Android app on my tablet (I'm a newbie) and couldn't get the nodes to show its devices. Later, on the phone (portrait mode, android too), I found the menu entry "Rebuild node". I double check on my phone and my tablet and yes: this option only appears in portrait mode. I think this may be an issue for people with wall-mounted tablets or just beginners like me.
I'm using the last version on playstore, 1.6.1. I've tested the 1.8.1 version too (on an Android emulator with the "demo configuration") and the problem is still there.

consider that the "rebuild node" is an emergency solution someone asked.
The "correct" way to do it is asking for model update, in Options/Model
Anyway, this is a bug
Alesandro
2016-04-20 21:16 GMT+02:00 maoterodapena<EMAIL_ADDRESS>
Hi. I've been struggling with the Android app on my tablet (I'm a newbie)
and couldn't get the nodes to show its devices. Later, on the phone
(portrait mode, android too), I found the menu entry "Rebuild node". I
double check on my phone and my tablet and yes: this option only appears in
portrait mode. I think this may be an issue for people with wall-mounted
tablets or just beginners like me.
I'm using the last version on playstore, 1.6.1. I've tested the 1.8.1
version too (on an Android emulator with the "demo configuration") and the
problem is still there.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/127

I use rebuild node many times when I update a node from Web configuration,
for me it's an useful option :)
I tested too and yes, the option isnt appears on portrait mode.
Regards
El 20/4/2016 23:46, "Alessandro Del Pex"<EMAIL_ADDRESS>escribió:
consider that the "rebuild node" is an emergency solution someone asked.
The "correct" way to do it is asking for model update, in Options/Model
Anyway, this is a bug
Alesandro
2016-04-20 21:16 GMT+02:00 maoterodapena<EMAIL_ADDRESS>
Hi. I've been struggling with the Android app on my tablet (I'm a newbie)
and couldn't get the nodes to show its devices. Later, on the phone
(portrait mode, android too), I found the menu entry "Rebuild node". I
double check on my phone and my tablet and yes: this option only appears
in
portrait mode. I think this may be an issue for people with wall-mounted
tablets or just beginners like me.
I'm using the last version on playstore, 1.6.1. I've tested the 1.8.1
version too (on an Android emulator with the "demo configuration") and the
problem is still there.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/127

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/127#issuecomment-212621494


sticky DHCP

I notice my 192.168.64.x address changes every few days or weeks on the default networking in my MacOS UTM setup. It would be nice if these address were more sticky in that the served DHCP address wouldn't change over time unless there was a reason for it (lots of devices).

Try using "Emulated VLAN' instead of 'Shared network'.
The host always has <IP_ADDRESS> and guest <IP_ADDRESS> as seen from the guest.
This works for me with both Linux and Windows guests.

I'm only seeing "Shared Network" and "Bridged" in my network settings.

I also see only shared and bridged, but even bridged is not working, which would allow me to setup it at my physical network dhcp level.


Unable to send user/password credentials to the broker?

Unless I completely missed  it, there seems to be no way to  send username and password to the MQTT broker.

That's right. I'm planning to add support for secure connection in the near future

+1 for this!

New version is published now with user/password options.
Example config:
{
    "name": "client with password",
    "host": "localhost",
    "port": 1884,
    "username": "user01",
    "password": "securepassword"
}


AJAX METHOD SORT AND FILTER PROBLEM

It would be glad to know if after ajax method why filter and sort option is not working?
or needs tweaks??
`
methods: {
  getData: function(params, setRowData){
      axios.get('https://api.spacexdata.com/v2/launches').then(function(response){
       var start_index = (params.page_number - 1) * params.page_length;
       var end_index = start_index + params.page_length;
  setRowData(
  response.data.slice(start_index, end_index),
  response.data.length
  );
  }.bind(this));
  }
  }
`

Closing because of inactivity.


Run NFS servers in-cluster

We currently run a separate, hand-rolled VM for NFS. I do not like
this. A single point of failure, not repeatably built, and a bit icky.
It also runs a VM fulltime, without a lot of resource utilization.
I'd like to run an in-cluster NFS server instead - one per cluster
most likely (for overprovisioning reasons). This makes it easier
to set up a cluster and go, and makes our whole set up a lot more
repeatable.
I'm slightly concerned here, since the NFS server node going down
means all the hubs are out. But that's also true for the proxy,
nginx-ingress & other pods, so probably something I should be ok
with.
This will also let us add features we wanted for a while:

Per-user storage quotas, probably with XFS quotas
Automated snapshots, with VolumeSnapshots

We should watch out for accidental deletion though - maybe make sure
the PV isn't deleted when the PVC is?
I'd like to use nfs-ganesha
for this, so I don't have to run a privileged container for nfs-kernel-server.
Seems to get wide enough use.

I started mucking around with this and it seems to work. I'm using nfs-ganesha-server-and-external-provisioner and the only issue I ran into was their image is wrong or misconfigured (403). nfs-ganesha-server-and-external-provisioner#6 suggests reverting to the previous image and that seems to work, it lets me make PVCs.
I have it deployed on AWS in a storageClass with fstype: xfs on a 10G PVC.

For AWS, we should just use EFS. It's managed, performance is acceptable, doesn't cost if we don't use it, and is well supported. It doesn't support per-user quotas, but that's ok for now.
Google File store has a minimum disk commitment of 1TB, which is unfortunately pretty expensive.

I have one of these running with EFS for a little while with efs-provisioner. If it is useful I have some terraform terraform to add the EFS mountpoints etc.

I think on AWS, EFS is the way to go and is a solved problem for the most part.
On GCP, currently we do the following:

Make a tiny VM (Often even f1 - we aren't heavy NFS users)
Attach a disk to it, often starting at 50GB or so. Just been using standard disks - pretty low performance, but seems ok enough for us.
Mount it on the VM, and format it as XFS - with prjquota set. Theoretically this will help us do per-user quotas in the future, although we have not used that at all so far.
Make sure there's an entry in /etc/fstab so it automatically mounts in the future. We should mount by UUID but we currently do not. We mount it under /exports/home-01, and create a directory homes under it to contain the home directories.
Install appropriate apt packages - nfs-kernel-server, nfs-common and xfsprogs
Add appropriate entry to /etc/exports to expose the disk.  You can find the options we use here. Most important is anonuid and anongid - so all external reads / writes to the share are counted as from uid 1000. That's the uid we use in our containers, so this simplifies our setup a lot. We can't do this on EFS tho. So perhaps we should unify and not specify this here too? idk
Run exportfs -ra to make the contents of /etc/exports take effect.

We currently have something like this running on all our GCP clusters. They're all brittle, and hand maintained, and subtly different I'm sure. On our Azure cluster, we have this ansible playbook to use - but attempts to use that with gcloud compute ssh have failed.

We have a few options on how to do this.

Use this dynamic NFS Server provisioner, creating NFS shares on-demand. Right now, we create a static PVC that points to the manually setup NFS server. Instead, we'll just point to a PVC dynamically provisioned by this.
Run nfs-ganesha ourselves, as a statefulset with 1 replica. This is what (1) uses internally, but we can choose to forgoe the complexity and run this overselves.
Run nfs-kernel-server ourselves, as a statefulset with 1 replica. This is what we do right now, and can port directly. However, this requires running the pod as privileged, which is a bit of a security risk.

My current intent is to go with (1)

My current intent is to go with (1)

After reading a little bit about the 3 options, that seems a sensible choice, IMHO.


cannot read property 'client_id' of undefined

Hi, just tried to run this today. It works for app store, however for the play store I get this (see screenshot). Do you know why? Cheers

Are you sure that the googleapikey.json file exists, and the path is correct?

Yep you are right! Add to modify the file path in the config file to ../filename instead of ~/filename ☺ Cheers


Ask user for the ATBD title before creating an ATBD

We need to prompt the user for a title before creating the ATBD. At present, the backend attempts to enforce this requirement, but the frontend sends "Untitled ATBD" as the default title.
Using "Untitled ATBD" as the default title causes issues when dispatching notifications. For more information, see https://github.com/NASA-IMPACT/nasa-apt/issues/609#issuecomment-1536018469.
To implement this, we'll need to modify the UI as well. After the user clicks the "Create ATBD" button, we can display a modal to request the text input for the title.

@sunu do you know what the status of this is? Should we work on this next sprint?

@wrynearson Don't think we have worked on this. As @frozenhelium is already working on modifying the ATBD creation flow for the PDF upload workflow, this issue might fit nicely into that work as well.


dynamic html generation problem with webpack 3

really appreciate your efforts and the information given within course. love it.
i followed course and wanted to use it in my react app whereas I used all latest perhaps except webpack, currently I am using webpack 3.  did some minor changes in webpack config you mentioned earlier.
however strange thing is going on with injecting the <script tag src="bundle.js" dynamically when I am trying different routes except "/" i.e. public path.
for instance if i have
  "/"  => it injects the <script src="bundle.js"/>
 "/seasons" => nothing is injected
not sure what is the reason, i thought maybe React-Router 4.0 is failing but I think it is actually from configuration things to do with HtmlWebpackPlugin.  Since bundle.js not being injected.
Earlier I used in my old application two separate template files( dev, prod) so in production one i can do code splitting
please can you give me hand to identify my problem. for now I get back to my old configuration.
the video only shows generic configuration without putting React maybe i am doing something wrong.

Thanks! I suggest using the updated environment here as your foundation.


More cabbages and bananas

I would like to give more cabbages and bananas by slight improvements in the UI and UX, and adding support for dear Namey McNameface (Nougat), if that's cool with the mighty goat!

Just to give an overview of what I have in mind

Bump up the gradle plugin, sdk and build tools versions to support N (API 24)
Change the text a little bit to make it more readable. Add github icon on toolbar. Add a visual indicator for moat or gokey, goat, monkey or nothing
Change all ACTION_VIEW intents to chrome custom tabs to open the urls inside the app iteself, thus more cabbage time :stuck_out_tongue:

Sounds good. I can do the first two if you want, but I've never used chrome custom tabs before :P
it's probably ridiculously easy I just don't feel like googling it

I have my banana's ready!
I've already done the first two, except for the visual indicator!
I can send a PR in a few hours along with with the chrome tabs.

I just looked up the chrome custom tabs and it's ridiculously easy...
I'll add them once you make the PR

So you'll do the the custom tabs? I'll send the a PR right away if that's the case.

Yep

4 commits in #2, have a lool please!

Do you plan to update this on the PlayStore?

Fixed with 0a77165. I'll update the play store version in a bit :P
For the 'visual indicator', I might ask if someone can make a few illustrations (or just make them myself) to set as a background to the collapsing toolbar.


Enable AD users in local groups

As of  Ivanchuk 2, AD (Active Directory) users may be added to local groups. But upon login of the AD users, the user is removed from the local groups he was previously assigned.
RFE is to have AD users usable with local (MIQ) groups.
Once an AD user is added to some local (MIQ) groups, he should not be removed when logging in.
User groups are better managed locally in MIQ than in AD which should stay application agnostic.
More over, AD servers may have a limited number of groups which may be used up quickly.

@abellotti Can you take a look?


🚸 Improve assertion error message if a group is not a valid subclass

With the latest typer release my CI (which runs a typer based script) started failing with:
Traceback (most recent call last):
  File "/builds/cburr/DIRAC/./integration_tests.py", line 750, in <module>
    app()
AssertionError

The cause turned out to be:
https://github.com/tiangolo/typer/blob/fac64ca03e9fda619710702c3364e233e0e644ac/typer/main.py#L505
which was triggered by my script contianing:
class NaturalOrderGroup(click.Group):
    """Group for showing subcommands in the correct order"""

    def list_commands(self, ctx):
        return self.commands.keys()

The fix is easy and just requires replacing click.Group with typer.core.TyperGroup however I think the assertion error should be made this clearer.

Nice, thank you @chrisburr! :rocket:


building for v0.7.2

{package} {version} {:snowflake:}
Destination channel: {Snowflake | defaults}
Links

{ticket_number}
Upstream repository
Upstream changelog/diff
Relevant dependency PRs:

...

Explanation of changes:

...

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_006bxmkjnx/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:38: missing_description: The recipe is missing a description

===== ERRORS =====

clone/recipe/meta.yaml:30: missing_pip_check: For pypi packages, pip check should be present in the test commands
clone/recipe/meta.yaml:22: missing_wheel: For pypi packages, wheel should be present in the host section
clone/recipe/meta.yaml:38: missing_documentation: The recipe is missing a doc_url or doc_source_url
===== Final Report: =====
3 Errors and 1 Warning were found


Automatic tuning transaction & query timeout

Hi,
We are observing CREATE index operation in our Azure SQL database by the Automatic tuning which are causing deadlocks and bring the database to a halt for long periods (over one hour).

What is the transaction timeout when creating index?
What is the query timeout to create the index?
What is the LOCK_TIMEOUT for create index operation?
Where is the audit log for Automatic tuning operations?

Cheers,
Fabian

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

ID: ea14cd16-0e66-d9ea-6ad3-3246cb380e87
Version Independent ID: 0767f70f-62f7-c74c-3af2-7bba6dc651d4
Content: Azure SQL Database - automatic tuning
Content Source: articles/sql-database/sql-database-automatic-tuning.md
Service: sql-database
Sub-service: performance
GitHub Login: @danimir
Microsoft Alias: danil

@Fabian-Schmidt - The parameters you ask for are proprietary information and are cannot be shared at this time. If you believe that automatic tuning is causing issues on your database, you can turn it off and test if the blocking is or is not related to it. So far we haven't had a case such is yours, therefore I would advise this test. There could be many reasons as why blocking occurs, which might or might not be related to create index functionality of automatic tuning. If you continue encountering further issues, please submit a support ticket through Azure portal for engineering to have a look at as commenting section in documentation cannot be used for troubleshooting. Thank you.

@Fabian-Schmidt Please do check as recommended by @danimir . For now we are going ahead and closing this thread. Please do get back to us of you have any other question and we will continue the dialogue.


REL: prepping for release

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.001%) to 91.547%

Files with Coverage Reduction
New Missed Lines
%

.nox/test-3-10/lib/python3.10/site-packages/cogent3/core/alignment.py
1
93.78%

.nox/test-3-12/Lib/site-packages/cogent3/maths/scipy_optimize.py
3
84.92%

Totals

Change from base Build<PHONE_NUMBER>:
-0.001%

Covered Lines:
236288

Relevant Lines:
258106

💛  - Coveralls


Outdated documentation.

This page is not aligned with the latest Omnichannel Workstream setup. I cannot see SMS Setting and other sections mentioned in this document

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

ID: 8da893c0-e804-3482-c542-86e6889fd341
Version Independent ID: e8768492-1fbb-53b4-a5dc-09dc73cfbb68
Content: Configure SMS channel for Twilio
Content Source: ce/customer-service/Configure-sms-channel-twilio.md
Service: dynamics-365-customerservice
GitHub Login: @neeranelli
Microsoft Alias: nenellim

@interfacemirror,
Thank you for bringing to our notice about the discrepancy in information. The topic will be updated to address the clarity-related issues. Meanwhile, please see if the following information helps.
The topic covers steps that can be performed in two different apps. The section titled Create a work stream in Omnichannel Administration is not applicable to the Omnichannel admin center app. Please see the steps in Create workstreams for unified routing.
Thank you.
Neeraja

Hello @interfacemirror,
The topic  has been updated for clarity and comprehensibility. Can you please let me know if your problem has been addressed?
Best regards,
Neeraja


Minor Code Correction

Formula correction in "def expo_pawd"

I can't evaluate the correctness of the formula but otherwise approved.
(Some minor details in the process that should be followed in future changes - discussing this separately with the maintainers)