Add WASI platform support

See PR #1483 for a previous attempt (for some reason I can't reopen that PR).

This PR includes the following significant changes:

Patching ezsat and minisat to disable resource limiting code on WASM/WASI, since the POSIX functions they use are unavailable.
Adding a new definition, YOSYS_DISABLE_SPAWN, present if platform does not support spawning subprocesses (i.e. Emscripten or WASI). This definition hides the definition of run_command().
Adding a new Makefile flag, DISABLE_SPAWN, present in the same condition. This flag disables all passes that require spawning subprocesses for their function. It replaces ad-hoc checks of $(CONFIG).

This PR cannot be merged yet. Unresolved issues:

[x] https://github.com/YosysHQ/yosys/pull/1946 required for merging PR
[x] https://github.com/YosysHQ/abc/pull/2 required for ENABLE_ABC:=1 build
[x] https://github.com/YosysHQ/abc/pull/3 required for ENABLE_ABC:=1 build
[x] https://github.com/YosysHQ/abc/pull/5 required for ENABLE_ABC:=1 build
[ ] What, if anything, do we do about C++ exceptions?

In practice, WASI Yosys works quite well. I can synthesize medium sized iCE40 designs with the linked ABC just fine, and in reasonable time as well (within an order of magnitude even without LTO). Compiling Yosys itself from WASM to native code can take quite a while in the maximal configuration, but, fortunately, the native code is easily cached.
I am using WASI SDK, wasmtime, patched abc, and the following Yosys configuration:
CONFIG := wasi

WASI_SDK := $(CURDIR)/wasi-sdk-10.0

ENABLE_TCL := 0
ENABLE_ABC := 1
ENABLE_GLOB := 0
ENABLE_PLUGINS := 0
ENABLE_READLINE := 0
ENABLE_EDITLINE := 0
ENABLE_VERIFIC := 0
ENABLE_COVER := 0
ENABLE_LIBYOSYS := 0
ENABLE_PROTOBUF := 0
ENABLE_ZLIB := 0

SMALL := 0

CXXFLAGS += -flto
LDFLAGS += -flto

ABCREV := default

@cliffordwolf There's another question, related to this PR. For nMigen I would really like to have a PyPI package with small (~low single MB at most) wasm code and equally small (~single seconds on midrange laptop at most) cold startup latency. To do this I pretty much have to remove any pass nMigen doesn't use. Currently that's not really doable in a nice way and I resort to overriding OBJS in the Makefile invocation, which is quite awful.
Do you think it would make sense to add a Makefile function for adding a pass and its dependencies so that it's possible to do something like make PASSES="read_ilang proc write_verilog" and have it work? And can you think of a way to untangle the circular dependencies between read_verilog/read_ilang and kernel/design?

This is awesome! Congrats on the work 🎉
I'd love to try running it with Wasmer and the LLVM backend, I curious to know if the speeds will be closer to native. Could be possible to share the wasm somewhere?
Note: If you want, you can also try it with:
curl https://get.wasmer.io -sSfL | sh
# Note we use a single `:` as separator, instead of `::`
wasmer --backend=llvm --mapdir=/share:share --dir=. ./yosys.wasm -- -p synth_ice40 picorv32.v

@syrusakbary yosys.zip

Thanks!!

I just tried it with wasmer (0.16.2) and comparing (just startup time) vs wasmtime (0.16):
Wasmtime: 0.387s
➜  wasmer-reborn git:(master) ✗ time wasmtime /Users/syrusakbary/Downloads/yosys.wasm -- -V
Yosys 0.9+2406 (git sha1 bfbc120a, clang 10.0.0 -Os)
wasmtime /Users/syrusakbary/Downloads/yosys.wasm -- -V  0.31s user 0.08s system 98% cpu 0.387 total

Wasmer - LLVM: 0.072s
➜  wasmer-reborn git:(master) ✗ time wasmer /Users/syrusakbary/Downloads/yosys.wasm --backend=llvm -- -V
Yosys 0.9+2406 (git sha1 bfbc120a, clang 10.0.0 -Os)
wasmer /Users/syrusakbary/Downloads/yosys.wasm --backend=llvm -- -V  0.05s user 0.02s system 97% cpu 0.072 total

Wasmer - Cranelift: 0.081s
➜  wasmer-reborn git:(master) ✗ time wasmer /Users/syrusakbary/Downloads/yosys.wasm --backend=cranelift -- -V
Yosys 0.9+2406 (git sha1 bfbc120a, clang 10.0.0 -Os)
wasmer /Users/syrusakbary/Downloads/yosys.wasm --backend=cranelift -- -V  0.05s user 0.03s system 98% cpu 0.081 total

If you provide it me with some command that I can execute to measure runtime speed, that would be great... I expect wasmer speed with LLVM backend should be very close to native.
Extra! 🎉
I just tried yosys.wasm online... it works on the WebAssembly shell!
(you will need to drag and drop the wasm)

Note: if yosys is published to WAPM, the yosys command will be automatically available for anyone (without the drag & drop hassle 😝) , I can publish it there for you if it's more convinient!

I can publish it there for you if it's more convinient!

The file I gave you is a highly limited and highly experimental development artifact. I really don't think it should be delivered to any end user without a significant amount of polishing going into it first.
In my case, Yosys (in the role of a Verilog backend) is an implementation detail of nMigen, so I can be sure it never has to deal with unexpected input or handle errors gracefully.

The file I gave you is a highly limited and highly experimental development artifact. I really don't think it should be delivered to any end user without a significant amount of polishing going into it first.

Yeah, no worries! I will not publish it anywhere... excited for the polishing phase! :)

Is there any command that you recommend to run inside yosys to assess the runtime performance of Wasm runtimes?

Try synth_ice40 on some reference design, e.g. PicoRV32.

@eddiehung Thanks for review! Yosys on WASI will still currently fail to build due to outdated abc revision checked out by the build system on master. What's the process for updating that?

@eddiehung Thanks for review! Yosys on WASI will still currently fail to build due to outdated abc revision checked out by the build system on master. What's the process for updating that?

Update this in your PR: https://github.com/YosysHQ/yosys/blob/bbde2419420a86635baf2b730ebe58ed6edca5bb/Makefile#L139

Update this in your PR

Ah, so no process is necessary beyond the actual required techical step, gotcha.

@syrusakbary I happened to rebuild Yosys with abc just now, so here you are:
yosys.zip


[Feature] Export code structures in 'Graphviz' format

The following tool is used to visualize C/C++ function calls and callers, by making use of the cscope database:
https://sourceforge.net/projects/tceetree/
As a suggestion, clink tool could directly replace tceetree functionality, by exporting Graphviz textual descriptions to generate some useful graphs.
For example:

Given a function, show a tree with callers and calls.
Given a symbol, show a tree/table with the functions where it is defined/read/written.
Graphical representation of pointer relationships (functions, structures...).

It should be quite easy to create some Graphviz textual description by elaborating your internal database, similarly to what tceetree does.
Example of code structure in Graphviz DOT format:
digraph ctree
{
	subgraph cluster_drv_cpu_c { label="drv_cpu.c"; labeljust="l"; write_src_in_ddr [color="red",fontcolor="red"]; }
	write_src_in_ddr->getpagesize [label="drv_cpu.c"];
	subgraph cluster_LIBRARY { label="LIBRARY"; labeljust="l"; getpagesize; }
	write_src_in_ddr->fopen [label="drv_cpu.c"];
	subgraph cluster_LIBRARY { label="LIBRARY"; labeljust="l"; fopen; }
	main->write_src_in_ddr [label="main.c"];
	subgraph cluster_main_c { label="main.c"; labeljust="l"; main; }
}

A good reference:
https://www.graphviz.org/pdf/dotguide.pdf

I assume this was answered by the above.


Feature/116/GitHub information

What does this PR do?

Where should the reviewer start?

How should this be manually tested?

Any background context you want to provide?

What are the relevant tickets?

Screenshots

Questions

Checklist

[ ] I added the necessary documentation, if appropriate.
[ ] I added tests to prove that my fix is effective or my feature works.
[ ] I reviewed existing Pull Requests before submitting mine.

These are some good first steps in the integration. Showing that we can connect and bring information like commits. But I think we need to also think about how we are going to store this information in our database since we don't want to be querying GH every time we show this info.
Also, I don't think we need to show a table with commits, but instead, try to show some metrics of whether the project is advancing or not, since that is the main question we want to answer.
Are projects progressing?
And also, who is participating in this progress?
For these two questions, I think GitHub can help us with:

commits made, by the project and by the individual
issues opened and closed (this can be made by non-developers too)
PRs opened and closed
releases made

And we should think on how we want to display this data. Maybe both on the project detail page and also on the project search.


Flaky assert hit in canonicalization verifier on isolate shutdown

From this log:

/=======================================================================================================\
| dartk-weak-asserts-linux-debug-x64:lib/isolate/issue_6610_test/0 broke (Pass -> Crash, expected Pass) |
\=======================================================================================================/

--- Command "vm" (took 03.000964s):
DART_CONFIGURATION=DebugX64 out/DebugX64/dart --enable_asserts --enable-isolate-groups --no-sound-null-safety --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/tests/lib/isolate/issue_6610_test.dart

exit code:
-6

stderr:
../../runtime/vm/heap/safepoint.h: 301: error: expected: !T->isolate_group()->safepoint_handler()->IsOwnedByTheThread(T)
version=2.14.0-edge.e84240355f79f8fd07e1d697500a9c4c16749867 (be) (Thu Jul 22 20:38:25 2021 +0000) on "linux_x64"
pid=22416, thread=22503, isolate_group=main(0x55737fa29800), isolate=leaf(0x55737fc89000)
isolate_instructions=55737e047d60, vm_instructions=55737e047d60
  pc 0x000055737e428e5c fp 0x00007efcf5ffe770 dart::Profiler::DumpStackTrace(void*)+0x7c
  pc 0x000055737e047f14 fp 0x00007efcf5ffe850 dart::Assert::Fail(char const*, ...)+0x84
  pc 0x000055737e314461 fp 0x00007efcf5ffe880 out/DebugX64/dart+0x2140461
  pc 0x000055737e314266 fp 0x00007efcf5ffe8d0 dart::SafepointMutexLocker::SafepointMutexLocker(dart::ThreadState*, dart::Mutex*)+0x86
  pc 0x000055737e3c38e1 fp 0x00007efcf5ffe970 dart::TypeParameter::CheckIsCanonical(dart::Thread*) const+0x81
  pc 0x000055737e540ce0 fp 0x00007efcf5ffe9b0 dart::VerifyCanonicalVisitor::VisitObject(dart::ObjectPtr)+0x80
  pc 0x000055737e528ff5 fp 0x00007efcf5ffea10 dart::OldPage::VisitObjects(dart::ObjectVisitor*) const+0xf5
  pc 0x000055737e52cc8d fp 0x00007efcf5ffea90 dart::PageSpace::VisitObjects(dart::ObjectVisitor*) const+0x5d
  pc 0x000055737e2d401a fp 0x00007efcf5ffeb30 dart::IsolateGroup::ValidateConstants()+0xfa
  pc 0x000055737e95255c fp 0x00007efcf5ffebb0 Dart_ShutdownIsolate+0x10c
  pc 0x000055737e31b5d7 fp 0x00007efcf5ffec30 dart::MessageHandler::TaskCallback()+0x607
  pc 0x000055737e4f308b fp 0x00007efcf5ffecd0 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)+0x1fb
  pc 0x000055737e4f3a27 fp 0x00007efcf5ffed20 dart::ThreadPool::Worker::Main(unsigned long)+0x147
  pc 0x000055737e420574 fp 0x00007efcf5ffee70 out/DebugX64/dart+0x224c574
-- End of DumpStackTrace

--- Re-run this test:
python3 tools/test.py -n dartk-weak-asserts-linux-debug-x64 lib/isolate/issue_6610_test/0

/cc @rmacnak-google @aam

Canonical verification code is intrisically racy as it runs under safepoint https://github.com/dart-lang/sdk/blob/master/runtime/vm/isolate.cc#L993 and attempts to grab
SafepointMutexLocker ml(thread->isolate_group()->constant_canonicalization_mutex()); at
https://github.com/dart-lang/sdk/blob/master/runtime/vm/object.cc#L19088 which leads to problems as this mutex might be held by some other thread that was forced to a safepoint already.


Not working even with regular WSA

Windows version? 10.0.19044.1886

I already enabled Virtualization (VT-x) and Virtual Machine Platform on Windows Features.

Do you have Hyper-V enabled?

Go to "Turn Windows features on and off" and disable Hyper-V, Virtual Machine Platform, Windows Hypervisor Platform, and Windows Subsystem for Linux, then restart. After reenabling these features and restarting a second time. Make sure Core Isolation is off.
Then in CMD paste:
bcdedit /set hypervisorlaunchtype auto

Do you have Hyper-V enabled? Try https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v

I have it enabled.

1. Remove WSA
2. Go to "Turn Windows features on and off" and disable Hyper-V, Virtual Machine Platform, Windows Hypervisor Platform, and Windows Subsystem for Linux, then restart.
3. Reenable these features and restart a second time.
4. Make sure Core Isolation is turned off.
5. In registry editor (regedit), go to “\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FsDepends"
Change the value of “Start” from “3” to “0”

You can change it back to 3 if it makes no difference

6. Then in CMD (Run as Adminstrator), paste:
bcdedit /set hypervisorlaunchtype auto

7. Reinstall WSA by downloading from prebuilt builds (Not self promoting but: WSABuilds) or patching it yourself using the excellent guide in this repo and running Run.bat
Hope this works for you!

Doesn't work, still having the error.


Add back artifact builder dockerfiles

Reverts removal of artifact build dockerfiles that were removed by mistake in https://github.com/grpc/grpc/pull/13145.
Should fix https://github.com/grpc/grpc/issues/13302.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

Confirmed that this fixed the artifact build on Linux.

Fixes linux artifacts, merging early.


Update @vercel/flags

Summary
To supress warning message like this:
[Error: Route "/" used `cookies().get('vercel-flag-overrides')`. `cookies()` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis]

Related Issue

https://github.com/giselles-ai/giselle/issues/12

@masutaka
I've edited giselle/config/dependency_decisions.yml.
Could you please review these license permission updates?


td-agent v3.2.1 does not close log files on rotation

Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.

fluentd or td-agent version: 3.2.1-0, installed through .deb files from https://www.fluentd.org/download
Environment information, e.g. OS: ubuntu bionic 18.04
Your configuration: irrelevant
Your problem explanation. If you have an error logs, write it together.

When logrotate rotates the logs using the configuration shipped and installed by the .deb file:
/var/log/td-agent/td-agent.log {
  daily
  rotate 30
  compress
  delaycompress
  notifempty
  create 640 td-agent td-agent
  sharedscripts
  postrotate
    pid=/var/run/td-agent/td-agent.pid
    if [ -s "$pid" ]
    then
      kill -USR1 "$(cat $pid)"
    fi
  endscript
}

$ cat /var/run/td-agent/td-agent.pid
387

I have found that the "main" fluentd process does not close the file and holds it til the process restart.
Here is the corresponding lsof.

Before rotation:

fluentd 387 td-agent    7w      REG             253,62  5296042    526173 /var/log/td-agent/td-agent.log.1
fluentd 387 td-agent    9w      REG             253,62     4381    528081 /var/log/td-agent/td-agent.log
ruby    392 td-agent    7w      REG             253,62     4381    528081 /var/log/td-agent/td-agent.log

After rotation:

fluentd 387 td-agent    7w      REG             253,62  5296042    526173 /var/log/td-agent/td-agent.log.1 (deleted)
fluentd 387 td-agent    9w      REG             253,62     4381    530471 /var/log/td-agent/td-agent.log
ruby    392 td-agent    7w      REG             253,62     4381    530471 /var/log/td-agent/td-agent.log

After yet another rotation

fluentd 387 td-agent    7w      REG             253,62  5296042    526173 /var/log/td-agent/td-agent.log.1 (deleted)
fluentd 387 td-agent    9w      REG             253,62       66    528081 /var/log/td-agent/td-agent.log
ruby    392 td-agent    7w      REG             253,62       66    528081 /var/log/td-agent/td-agent.log

I confirmed this problem happens with fluentd v1.
On my test, next rotation doesn't have this problem so initial logger setup may have a problem.

We are facing the same issue and it is not fixed after the first rotation.


Support loading out-of-context recipes via runArc in pipes-shell

Modifies runArc to accept a recipe of the form <path-to-manifest>|<name-of-recipe> (in addition to original <name-of-recipe> format.
Example (from smoke.js):
send({message: 'runArc', arcId: 'smoke-test-run-arc-path',
  recipe: `https://$particles/Notification/Notification.arcs|Notification`});

@mmandlis if you aren't comfortable with this PR, that's ok, we can just use this for discussion. I just wanted to concretize my assertions that this behavior is supportable.

Used for discussion, no longer relevant.


Hardware wiring - TX/RX not clear

Hi,
You wrote: "Then connect Arduino/ESP(you need a power converter from 5V to 3.3V for ESP) and Display to power and ground.
Then connect serial line to RX pin of Arduino/ESP and using a resistor (for best work a diode) to TX."
So I connect the RX directly to the TR bus, but it's not clear to me how is the wiring to the TX of the Arduino.
Tnx.

See https://circuits4you.com/2016/12/16/esp8266-serial-communication/ or search for "ESP8266 to 5V Arduino serial".


Visualization of intermediate representation: HTML page

Embed the image of the workflow in an HTML page

Closing since it doesn't seem that we'll have time to implement it any time soon.


Define new elements (relief valves...)

Description
Hello,
We currently use a transient simulation software (Allievi) to model some complex networks with a lot of scenarii that can cause water hammers. With a python package like TSNET we could automate the computation of the scenarii. However, some objects present in Allievi are not yet included in TSNET:

Relief valves
Air valves
Flow/pressure control valves (control valves are defined in the INP file, but not how they react to brutal pressure changes)
Pumps with inertia (#5)

Is it possible to program in python new elements like those above, if we know their equations? If so, we will try TSNET next time we have to do transient simulations.
Thanks for your answer,
Antoine

Hi Antonio,
You are right that TSNet does not support all the objects that are supported by other commercial software. However, it is possible to write your customized methods and functions to deal with specific elements of interest.
The boundary conditions, i.e., valves, pumps, surge tanks, reservoirs, and dead ends, are defined in the source code ./simulation/solver.py , i.e., valve_node() for valves. These boundary conditions are then called in ./simulation/single.py.
Thus, you can write your own methods to define the elements you mentioned if the equations for the boundary conditions are known. Please let me know if you have any further questions.
Best,
Lu

Hi Antonio,
You are right that TSNet does not support all the objects that are supported by other commercial software. However, it is possible to write your customized methods and functions to deal with specific elements of interest.
The boundary conditions, i.e., valves, pumps, surge tanks, reservoirs, and dead ends, are defined in the source code ./simulation/solver.py , i.e., valve_node() for valves. These boundary conditions are then called in ./simulation/single.py.
Thus, you can write your own methods to define the elements you mentioned if the equations for the boundary conditions are known. Please let me know if you have any further questions.
Best,
Lu

@AntoineGEAUX did you manage to introduce air valves elements similar to available products? I have seen the element type valve_node in the docs, but have not make it work so far.
Ifso would you mind sharing?
Best
Sebastian

I did not attempt it, I used another software (Allievi) instead

Thx for the quick response. I'll try the suggested way.
Concerning TS I would like to attempt tackling a design as sketched below.

I have noted down that parts 0, 2-3, 6-8 should be treated as per example 1. Part 1 would be treated as in example 2. If somebody could pinpoint me into the direction as how to approach parts 4-5.
Best
Sebastian

@glorialulu:
I would like to add a commercially available element to use with TSNET. The curve characteristics are as per attached screenshot. Values may be digitized as xy-pairs (differential pressure, m3/h). Other characteristics would be

operating range 0-16bar
venting capacity 700m3/h
outlet cross-section 1500m2
operating vent cross-section 200m2

Ideally one could attach the behaviour directly to an existing Epanet node. My question to you is

How would one add this as a boundary condition against atmospheric pressure with tabulated data?
Could one use above for parameters as well to achieve similar?

A code sample is highly appreciated.
Best regards
Seb


Enable react hooks linting and fix issues

fix #3745

:x: There is undocummented changes. Run chronus add to add a changeset or click here.
The following packages have changes but are not documented.

:x:@typespec/html-program-viewer
:x:@typespec/playground

Show changes

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/3761/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/3761/


[Bug]: Long delayed FlagTask may cause memory leak

Is there an existing issue for this?

[X] I have searched the existing issues

Have you tried to reproduce this without OP?

[X] I have tested without OP

Current Behavior
No response
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- Server Software:CatServer 1.12.2
- ProSkillAPI Version:
- ProMCCore Version:
- Plugins:

latest.log
No response
Anything else?
The leaks happens if the task is delayed for a really long time, for example, Integer.MAX_VALUE, and craft scheduler will keep this task until the delay has passed , even if the task has been cancelled.
The FlagTask is a non-static class, so it will reference to the FlagData, then reference to Craft player, finally a nms Player instance.

Why would you need such a long delay in the first place? Additionally, the plugin should clean up tasks and things like this when the user logs out. Are you seeing some memory issues?

Sure the main listener will clean up things when the player logs out, but cancel the FlagTask can not remove the task from scheduler (at least happens on 1.12.2).
The issue was found on a server which I'm not the owner, so I can not control how long should the task delay.

There's probably some optimizations I can do here for sure. How did you track it down to this specific flag issue?

Use the MemoryAnalyzeTool developed by eclipse to see which class causing players leak, then check codes to figure out why it makes players leak.

I want to apologize for my wrong conclusion.
I checked this issue again and found that the task can not be removed from scheduler is a wrong conclusion.
The real reason why the task is still there is that sometimes entity dies without EntityDeathEvent, so the task is not be cancelled actually.
Then this is not a bug in this project.


Attempt extraction of build vars from zips when adding

Not sure if this is too messy for you or not properly cross-platform, but would be great to make a best effort to extract possible arg values from the zips when adding
unzip -p cm-11-grouper.snapshot-M12.zip system/build.prop | grep ro.build

Thinking we can get these:

incrementalid ro.build.version.incremental
device ro.product.device
timestamp ro.build.date.utc
sdk ver ro.build.version.sdk
channel? ro.cm.releasetype (cm-only?)
md5sum (generate)

(flags would still override)
But maybe it's not worth it. I'll see if I feel like it when I get using it :)

Right now the build-cm script (https://github.com/xdarklight/build-cm-script/blob/master/build-cm.sh#L172) is doing this.
But I guess instead of relying on the system to provide "unzip" we should do it from within NodeJS. Seems to be quite easy with https://www.npmjs.com/package/adm-zip
Please note that incrementals cannot be parsed (that easy) on the NodeJS side because they only have a "system/build.prop.p" (not a plaintext file).

Ah gotcha. Actually, I hadn't looked at that repo yet, so thanks

I know this is old, but this is what I do for the time being:
http://pastebin.com/QE7evDjP

I am not maintaining this project anymore so I'm closing this.


docs: updated README with the basic vision of the project

closes #4
Changes proposed

[x]: Update README with the basic vision of this project

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

@all-contributors please add @AnishDe12020  for code, docs

@all-contributors please add @AnishDe12020 for code, doc


Do not purge clone caches between frames?

Currently the static caches for clones are purged between frames, which I'm not certain is the expected behaviour and would probably improve performance if that wasn't the case. Worth looking into.

Closing as invalid. This actually isn't how the caches work any more, and I've left comments in the code base to this effect.
The display object conversion and scene processor caches are actually only purged when assets are loaded or re-loaded to account for things like texture atlas changes.


bump/1.165.0

Release 1.165.0

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: b093c52fc2131408636605ea55b5c563e9e71c3c
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


SMD-40 Dropdown validation fix and additional test cases

https://dluhcdigital.atlassian.net/jira/software/c/projects/SMD/boards/140?selectedIssue=SMD-40
Change description

Adds support for additional dropdown failure scenarios

Refactors dropdown test cases to test the conversion of failure -> uc components in isolation

[X] Unit tests and other appropriate tests added or updated

[X] README and other documentation has been updated / added (if needed)

[X] Commit messages are meaningful and follow good commit message guidelines (e.g. "FS-XXXX: Add margin to nav items preventing overlapping of logo")

How to test
If manual testing is needed, give suggested testing steps
Screenshots of UI changes (if applicable)

Looks good, there will probably be some minor conflicts with SMD-38 but should be easy to sort out


Use the Rust project's existing formatter

Rust already has built-in support for creating and enabling a "Rust" category with LLDB, see rust-lldb.
I think it'd make sense for CodeLLDB to defer to that in some way, both reduce the maintenance burden on your project, and to increase the quality of both rust-lldb and CodeLLDB. I can think of two ways to do so:

Run rustc --print sysroot and find the LLDB files, like rust-lldb is doing now
Link to the files from the Rust repo (a git SHA and a download script would be enough), and update them periodically

Option 1 would tie the debugging symbols to the current Rust version that the user is using, which is kinda nice since we'd automatically support all Rust versions, but also a bit troublesome since it's not ensured that makes the fact that python files are present is a part of Rust's stability promise. Also might be difficult to actually determine the Rust version that the user's binary was compiled with, not sure it's worth it.
Option 2 would be the easiest.

Note: I'll admit that Rust's builtin formatter is a bit lacking compared to your formatter, I'd volunteer to do the work of consolidating them if you would be on board with this?

Yeah, I've considered doing this...  However, up until this got merged, vanilla lldb was lacking support for Rust enums, so I had to carry Rust-specific patches in my fork of lldb, and this was not compatible with rust-lldb formatters.

I'd volunteer to do the work of consolidating them if you would be on board with this?

I gotta warn you that I'm rather fond of my own implementation, so if by consolidating you mean basing implementation on rust-lldb formatters, I'll probably decline that patch.
Going in the other direction might also be met with pushback: the rust-lldb formatters do not handle peculiarities of the -windows-msvc debug info, since Rust devs expect those users to be using a debugger based on WinDbg.

Vadim: I was speaking with Vladimir Makaev (the person who landed Rust enum support in lldb) and some folks who work on LLDB (Greg Clayton) about upstreaming your formatters into either lldb itself or rust-lldb. Two questions:

Would you be receptive to making your rust-lldb formatters be the official rust-lldb formatters? I'd be happy to try and resolve any issues with windows-msvc and drive landing that functionality (with appropriate credit, of course!)
Am I correct in thinking that you no longer need to carry a fork of lldb?

@davidbarsky I'm happy to help implementing decoding for enums
@vadimcn I was wondering is there any special Rust handling in your DAP server that is not provided by lldb-vscode?

@VladimirMakaev  At the moment, CodeLLDB ships a custom version of liblldb, which includes Tom Tromey's implementation of TypeSystem for Rust.   This allows LLDB to understand DWARF discriminated unions natively.
However, in the face of constant TypeSystem API changes, porting this patch forward has proven quite time-consuming, so I am considering dropping it in favor of just using your patch (with appropriate synthetic provider), even though this causes some regressions compared to the previous implementation (e.g. i32 type appearing in Rust code as "int", etc).
BTW, I had a thought in the process of implementing the new enum formatter: it'd be nice if Rust enum types were tagged with a specific keyword - this would allow matching them with a regex, instead of attaching a "wildcard" synth provider to all types and determining whether it's one of the enum types dynamically.  Rustc does this for msvc ABI by changing type names to enum$<OriginalTypeName>.  What do you think?
@davidbarsky
I am not opposed in principle, but I am afraid you will find that my formatters use infrastructure that is quite different from the official one.  This is in part due to the desire to share implementation with msvc formatters, as well as an attempt to reduce the overhead of Python code.

@vadimcn

At the moment, CodeLLDB ships a custom version of liblldb, which includes Tom Tromey's implementation of TypeSystem for Rust.

Am I correct in thinking that this is where the bulk of the TypeSystem for Rust that you mentioned lives? If so, I recall @clayborg being pretty receptive to (and was, in fact, asking!) for a Rust TypeSystem implementation to live in-tree with LLDB. If you don't want to do it, I'm pretty sure that I (or @VladimirMakaev, if he'd like to!) would be happy to try porting over the TypeSystemRust.cpp to live in LLDB itself, which might reduce how much stuff you'd need to maintain and reduce the cost of API evolution, if refactors can be made inside of LLDB itself. Same offer is extended for the expression parser.

I am not opposed in principle, but I am afraid you will find that my formatters use infrastructure that is quite different from the official one.

Ah, gotcha. I didn't realize the scope of the changes, since I was able to successfully load of some of your synthetic formatters (e.g., for Path) into stock LLDB. On an aside, I didn't realize that a TypeSystem for Rust existed, which is really cool!

Am I correct in thinking that this is where the bulk of the TypeSystem for Rust that you mentioned lives?

Yeah, that's the one.

f so, I recall @clayborg being pretty receptive to (and was, in fact, asking!) for a Rust TypeSystem implementation to live in-tree with LLDB.

IIRC, he also wanted a firm promise to maintain and improve it afterwards.  Personally, I don't have the bandwidth to take upon such a commitment, but if you feel like it, you're welcome to have a go.


Issue with isBetween in AWS Lambda function

Describe the bug
Working with a lambda function, everything works fine locally, but my isBetween method in the lambda function is not returning the same results I am getting locally, even though logging shows the values are the same
To Reproduce
Here is my code:
import * as moment from 'moment'
import 'moment-timezone'
import 'moment-immutable'

      let overlaps = this._overlaps(
        '2020-04-23T16:31:00.000+0000', // this is a moment object, this is what moment.format shows
       '2020-04-23T19:00:00.000+0000', // this is a moment object, this is what moment.format shows
        moment.utc('2020-04-23T12:00:00Z').tz('America/New_York'),
        moment
          .utc('2020-04-23T12:00:00Z')
          .tz('America/New_York')
          .add(120, 'minutes'),
        'America/New_York'
      )

_overlaps(proposedStart, proposedEnd, existingStart, existingEnd, timezone) {
    let existingStartBetween = proposedStart
      .local(timezone)
      .isBetween(existingStart.format(), existingEnd.format(), null, '()')
    let existingEndBetween = proposedEnd
      .local(timezone)
      .isBetween(existingStart.format(), existingEnd.format(), null, '()')
    console.log(
      `proposedStart: ${proposedStart.format()} isBetween existingStart ${existingStart.format()} and existingEnd ${existingEnd.format()}`,
      existingStartBetween
    )
    console.log(
      `proposedEnd: ${proposedEnd.format()} isBetween existingStart ${existingStart.format()} and existingEnd ${existingEnd.format()}`,
      existingEndBetween
    )
    return existingStartBetween || existingEndBetween
  }

locally i get
proposedStart: 2020-04-23T09:30:00-07:00 isBetween existingStart 2020-04-23T08:00:00-04:00 and existingEnd 2020-04-23T10:00:00-04:00 true
proposedEnd: 2020-04-23T12:00:00-07:00 isBetween existingStart 2020-04-23T08:00:00-04:00 and existingEnd 2020-04-23T10:00:00-04:00 false

lambda returns
proposedStart: 2020-04-23T09:30:00-07:00 isBetween existingStart 2020-04-23T08:00:00-04:00 and existingEnd 2020-04-23T10:00:00-04:00 false
proposedEnd: 2020-04-23T12:00:00-07:00 isBetween existingStart 2020-04-23T08:00:00-04:00 and existingEnd 2020-04-23T10:00:00-04:00 false

Expected behavior
I would expect that regardless of where the code is running isBetween would return the same value for the same values provided.
No where in my code am I using the current time all is coming from third party apis, not that it should matter considering the values (timestamps) are the same.
Desktop (please complete the following information):
Locally:

node v12.13.1
AWS:
nodejs12.x

Moment-specific environment

The time zone setting of the machine the code is running on
The time and date at which the code was run
Other libraries in use (TypeScript, Immutable.js, etc)

Please run the following code in your environment and include the output:
locally:
Wed Jan 22 2020 11:04:33 GMT-0500 (Eastern Standard Time)
1/22/2020, 11:04:33 AM
300
2.24.0

aws:
Wed Jan 22 2020 17:01:26 GMT+0000 (Coordinated Universal Time)
1/22/2020, 5:01:26 PM
0
2.24.0

I should add that the times locally vs lambda shouldn't matter considering...

Perhaps use
isBetween(existingStart, existingEnd, ...) and so on, instead of formatting it. If you send a string in, moment will convert it back into a moment object, which may be different on the AWS machine vs your machine.
Sorry this was not answered earlier. Because of the other technologies involved, I would recommend Stack Overflow for future assistance.


vesti yet not distinguish beween the real integer and the literals

For example, one might write 000000 meaning that the number 0.
On the other hand, one might write 000000 meaning that the string 000000.
However, vesti understands both as 0, the number.

Fixed on v0.0.10-alpha


freeglut is in both core and xorg

This wasn't a problem when Homebrew's freeglut was in the x11 tap, but now core's freeglut will shadow xorg's.

darn! We have to test that the freeglut bottle that was built corresponds to our freeglut...

should we just remove it? I'd prefer to keep it but... it's hard to complete with homebrew/core

My preference: migrate any necessary patches from your work on the xorg version over to core, delete the xorg version, and then add a tap migration from xorg->core.
This way, we can let upstream handle new versions.

I agree. I don't want to have 2 gluts even if they are free. I'll see what was necessary to build a bottle -- I think "nothing" but, perhaps, will have to do something so that formula does exactly that.

I removed freeglut from xorg. Please add tap migration if you wish.


setup mindfull preview web ad route

Utilize the advertisingCreativeInterfaceById endpoint to retrieve and diplay previews of mindful web ads
This will be utilize in the orgs repors in a similar way.

 Add new global preview route for mindful native website ads


Securing Virtual Hub with Basic SKU Azure Firewall

Describe the bug
When securing an existing virtual hub with Azure Firewall, it is possible to select the Basic SKU unit from the configurator, accepting basic policies, still in the same configurator. However, once created the firewall is showed and billed as a standard one.
Reproduce
Steps to reproduce the behavior:
From the Azure portal

Create a Basic tier Firewall policy form the Firewall manager (i.e. DenyAll)
Create a Virtual Wan and an unsecured Virtual HUB
In the Virtual HUB, under the Security menu, select Azure Firewall and Firewall Manager
Jump to the second tab Azure Firewall
Select Basic (preview) tier and select the policy created at step 1.
Jump to the Review + Confirm step and validate that the Basic tier has well being selected
Click Create and wait...
Go on the freshly provisioned firewall resource and notice that it is of "Standard" tier

Expected behavior

In accordance with the billing documentation, it should not be possible to select "Basic" firewall tier to secure a Virtual HUB (Adapt Portal UI configurator mask + validation process).
OR
If the configurator / validation process that is correct, a Basic firewall should be provisioned instead of a Standard one, and the pricing should appear as well in the pricing documentation

Screenshots

Environment- if applicable
Azure Portal UI "Version: <IP_ADDRESS> (v<IP_ADDRESS>#9717ae6517.230204-0143) Signed"
Desktop (please complete the following information if applicable):
Logs- if applicable
Additional context

@geckodesalpes Thank you for the feedback. This issue is currently being reviewed by the Azure firewall team. An update will be provided once its available.

adding @gumoden for tracking


AIP download is not currently working

Yields a 500 error for smaller files, and a gateway timeout for larger ones (these may well be two separate issues)

Gateway timeout happens after 60 seconds and appears to be nginx timing out while dashboard fetches the AIP from storage service (which in turn is fetching it from s3)

May be related to https://github.com/archivematica/Issues/issues/552

The high timeout value didn't seem to work, I am not sure why. Adding more logging. It's not the S3 download that's the problem as that complete fairly quickly (at least in this instance) but may be the tarball creation, as mentioned in the linked ticket.

Note that it also happens when downloading directly from storage service (rather than streaming the file through to dashboard) - this provides a slightly more direct way to test it

Looking at this again after a bit of a break:
nginx logs show a 499 error /api/v2/file//download/ after a minute. This means that the client closed the connection. The request comes from an IP which corresponds to the load balancer. So it looks like the load balancer is timing out on waiting for nginx to return a response.

The maximum timeout for the load balancer is 3600 seconds. Setting it to this value, the download works eventually.
This probably still isn't ideal. It takes around 15 minutes to download a ~600MB AIP, most of this being compression / tarball creation time. We'll likely run into the 3600 second limit quite easily.

When the Archivematica storage service is asked for the download of an AIP, it invokes the move_to_storage_service method on the relevant storage service plugin, which will fetch the AIP contents from wherever they are stored. Archivematica will then send the AIP, in tarball form, to the client.
This means that (with the constraint of the current Archivematica framework for downloads) the AIP must be:
(a) downloaded
(b) tarred up
before the storage service starts sending a response. This is why there are timeout issues with the various layers in between the storage service and the client.
It's the tar creation that takes most of the time here. Unfortunately, AWS doesn't help us out here - individual files must be downloaded and the tarball built up Archivematica-side. This is slow.
It'd be nice if the S3 gets / tarball creation could be streamlined so we're not waiting for each step to be fully created before the next one can begin. That's something that goes a little beyond the pure scope of the Wellcome plugin so is probably best discussed in https://github.com/archivematica/Issues/issues/552


Need global mechanism to set TCL_LIBRARY & TCL_HEADER

Hi,
I've been having trouble building on macOS require a couple of work arounds. Each time I need to manually hack main build script to add -D TCL_LIBRARY=/opt/local/lib -D TCL_INCLUDE_PATH=/opt/local/include arguments to cmake
Additionally, for OpenSTA some linking commands that are incomplete missing -ltcl:
/Library/Developer/CommandLineTools/usr/bin/c++  -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/sta.dir/app/Main.cc.o  -o app/sta  app/libOpenSTA.a sta_swig.a /usr/lib/libz.dylib /usr/local/lib/libcudd.a app/libOpenSTA.a
fixed by appending to CMakeFiles/sta.dir/link.txt

This other one is also missing libcudd.a:
cd /Users/ronaldv/Projects/repositories/msaligane/OpenROAD-flow/tools/build/OpenROAD/src && /usr/local/Cellar/cmake/3.17.3/bin/cmake -E cmake_link_script CMakeFiles/openroad.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++  -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/openroad.dir/OpenRoad.cc.o CMakeFiles/openroad.dir/Error.cc.o CMakeFiles/openroad.dir/OpenRoadTclInitVar.cc.o CMakeFiles/openroad.dir/Main.cc.o  -o openroad  init_fp/src/libinit_fp.a openroad_swig.a replace/libreplace.a opendp/libopendp.a resizer/src/libresizer.a ../libioPlacer.a flute3/libflute.a dbSta/src/libdbSta.a /Users/ronaldv/Projects/repositories/msaligane/OpenROAD-flow/tools/OpenROAD/src/OpenSTA/app/libOpenSTA.a OpenDB/src/db/libopendb.a opendb_swig.a OpenRCX/src/libOpenRCX.a TritonCTS/libTritonCTS.a FastRoute/libFastRoute.a tapcell/src/libtapcell.a TritonMacroPlace/libTritonMacroPlace.a TritonMacroPlace/module/ParquetFP/libParquetFP.a TritonMacroPlace/module/ABKCommon/libABKCommon.a PDNSim/src/libpdnsim.a OpenDB/src/zlib/libzlib.a OpenDB/src/tm/libtm.a OpenDB/src/defin/libdefin.a OpenDB/src/defout/libdefout.a OpenDB/src/lefin/liblefin.a OpenDB/src/lefout/liblefout.a antennachecker/src/libantennachecker.a OpenDB/src/zutil/libzutil.a OpenPhySyn/libOpenPhySyn.a /usr/lib/libz.dylib ../libMunkres.a OpenRCX/src/openrcx-swig.a OpenDB/src/db/libopendb.a OpenDB/src/zlib/libzlib.a OpenDB/src/tm/libtm.a OpenDB/src/defin/libdefin.a /Users/ronaldv/Projects/repositories/msaligane/OpenROAD-flow/tools/OpenROAD/src/OpenDB/src/def/lib/libdef.a OpenDB/src/defout/libdefout.a OpenDB/src/lefout/liblefout.a -ltcl OpenDB/src/lefin/liblefin.a OpenDB/src/zutil/libzutil.a /Users/ronaldv/Projects/repositories/msaligane/OpenROAD-flow/tools/OpenROAD/src/OpenDB/src/lef/lib/liblef.a FastRoute/third_party/fastroute/libFastRoute4.1.a flute3/libflute.a FastRoute/third_party/pdrev/libpdrev.a -ldl OpenPhySyn/src/StandardTransforms/BufferFanoutTransform/libbuffer_fanout.a OpenPhySyn/src/StandardTransforms/GateCloningTransform/libgate_clone.a OpenPhySyn/src/StandardTransforms/PinSwapTransform/libpin_swap.a OpenPhySyn/src/StandardTransforms/ConstantPropagationTransform/libconstant_propagation.a /Users/ronaldv/Projects/repositories/msaligane/OpenROAD-flow/tools/OpenROAD/src/OpenSTA/app/libOpenSTA.a

I develop openroad on macos. I don't use the tcl in macos because it is lacking beyond supporting tclsh. Use homebrew to install tcl-tk and it should work without any command line options.
As for CUDD, see src/OpenSTA/README.md. It is optional and if you are having problems, don't use it.

Hi James,
I'm also able to build on macOS, the request is to have an option on the build script to properly pass the variables  to the CMAKE scripts, currently I'm  forced to do that manually. Right now it seems just easier to skip the build script altogether and build manually.
Bests,
Ronald

@20Mhz If your issue is with OpenROAD-flow, please file the issue under that repository.

Ah! True, didn't realize it's the wrong repository. Thanks


Make browse list status lists inherit colour

Before
After

This is so that:

the visual grouping is stronger
the lists aren’t easily confused with the hints
it matches what the prototype does with ‘You’ve completed…’

Also tweaks the spacing to make it look more balanced

Can’t speak for the code, but :+1: +1 with the design change.


dev: Updated packages organization

Closes: #NA
Added

pragma-consumer placeholder new crate

Updated

Moved every dependency versions to the main Cargo.toml (so we never have versions mismatch + easier to update)
Updated rust to 1.80
Updated Dockerfiles

@hel-kame Can you quickly check the new Dockerfiles, see if everything's correct? They work locally. 🙏

LGTM 😎


Making a customized scroll bar [SSOC]

I would like to make a designed scroll bar rather than the default scroll bar
Screenshot

please assign it to me

@ShivanshAr97 Go ahead


SetSimulatePhysics(true) results in some strange behavior for vehicle.carlamotors.carlacola

The first time I found this problem was when I spawned a vehicle.carlamotors.carlacola and then called  SetSimulatePhysics(True) on it. Two of its four wheels dropped off immediately after the vehicle appeared in the scene. After I deleted the call to SetSimulatePhysics, everything goes well.
Then I tested it in manual_control.py.

Add a line in World.__init__(), after the self.world.spawn_actor() like the following:

self.vehicle = self.world.spawn_actor(blueprint, spawn_point)
self.vehicle.set_simulate_physics(True)

Choose "vehicle.carlamotors.carlacola" blueprint for vehicle in _get_random_blueprint:

def _get_random_blueprint(self):
       #bp = random.choice(self.world.get_blueprint_library().filter('vehicle'))
       bp = self.world.get_blueprint_library().find("vehicle.carlamotors.carlacola")
       if bp.has_attribute('color'):
           color = random.choice(bp.get_attribute('color').recommended_values)
           bp.set_attribute('color', color)
       return bp

Run manual_control.py. Then control the vehicle to move, and strange thing happens: all wheels won't move together with the vehicle body, and only the body are under control.

The carla version I'm using is release 0.9.1，and the unreal version is 4.19.

Hi @tanglrHello,
Thanks for the report! it is indeed a bug that happens only with some of the vehicles.

Fixed on latest update of the assets.


chore(player): export vanilla vue app

This allows applications to import the Player App Component

// cc @christophwolff


Add option to include files in type checking, but not compiling

Suggestion

🔍 Search Terms
rootDir exclude
✅ Viability Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
I would love to have an option to include files for type checking, but not compiling.
One solution would be to add an option (checkOutsideRootDir?) to support type checking files outside the rootDir. An alternative way could be to provide separate glob patterns for type checking and compiling.
📃 Motivating Example
Let’s say you are testing you project with Vitest. You probably have a file structure that looks something like this:
├── package.json
├── src
│   └── index.ts
├── tests
│   └── index.test.ts
├── tsconfig.json
└── vitest.config.ts

Previously you needed two TypeScript configuration files, one for type checking everything, and one for compiling your source code. With this new option enabled, TypeScript will type check all TypeScript files, but it will only compile the files from the rootDir directory.
{
  "compilerOptions": {
    "checkOutsideRootDir": true,
    "rootDir": "src",
    "outDir": "dist"
  }
}

💻 Use Cases
Currently I feel like there is no proper way to configure TypeScript for both type checking and compiling. Some special configuration is needed to compile source code, and type check tests / config files, but exclude those from the build.
Often repos end up with tsconfig.json and something along the way of tsconfig.build.json, tsconfig-prod.json, dev.tsconfig.json, or something along those lines. It’s not consistent across the ecosystem. This file then uses a mix of extends / include / exclude to create complex configurations. Alternatively people just exclude certain files, not being aware they are being excluded from type checking as well. Or they use an alternative tool for building.
Regardless of what people come up with, it often leads to awkward configurations.

The intended configuration solution for this is project references, but I can appreciate how this is a simple approach to the same problem.

I have a feeling this is exactly the problem I am hitting... I would love to be able to "Find All References", but I believe it is excluded.
With the following:
tsconfig.json
{
  "files": [],
  "include": [],
  "references": [
    {
      "path": "./tsconfig.app.json"
    },
    {
      "path": "./tsconfig.spec.json"
    }
  ]
}

tsconfig.app.json
{
  "compilerOptions": {
    "outDir": "./dist/out-tsc",
    "module": "commonjs"
  },
  "exclude": ["**/*.spec.ts"],
  "include": ["**/*.ts"]
}

tsconfig.spec.json
{
  "compilerOptions": {
    "outDir": "./dist/out-tsc",
    "module": "commonjs"
  },
  "include": ["**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"]
}

Doing a "Find all references" in a .ts file will NOT include references found in .spec.ts files.
If I open the spec file, now all references of that file are found.
It seems there is no way to support this scenario properly. Maybe this type checking proposed in this bug would help?


Need some answers regarding placing bulk order of depth camera

Hello Team,
I need to place a bulk order of depth camera and would like to discuss it further with relevant team. If you could kindly direct me to the person or team, so that I can get few of my queries sorted out.

Hi @kafan1986   You can set a large order quantity on listings on the RealSense Store if you keep clicking the '+' button beside Quantity repeatedly (e.g up to 100, though you can go beyond that).
If you are looking to place a very large order (somewhere between 100+ and a million camera units) then a member of the RealSense sales team may be an appropriate contact for you.

@MartyG-RealSense There is a bulk purchase option at your partner store like "Mouser" having lot size of 30 pcs. I also don't need the stand or the cable provided by intel realsense. So the bulk quantity set looks better from my end. Also, maybe I can get better pricing for the product.

Okay, if you leave your email address and a real-life name then I can arrange for the details to be sent to a sales representative.  If you would rather keep the details private, you are welcome to use the edit button to remove them once I confirm I have the details.

Debasish Mitra
<EMAIL_ADDRESS>

Okay I got it, I am arranging for the details to be passed on now.   You can remove the contacs now if you wish.  Thanks!

Hi @kafan1986
Thank you for your interest in RealSense
I don't think GitHub is the right platform to have this discussion
Store support is probably the more appropriate channel - https://www.intel.com/content/www/us/en/forms/support/intel-realsense-store-inquiry.html


Online Documentation is offline

The link to the online docs results in a Connection Refused error.

Shibbo took his website down a while ago, he needs to relocate the docs to somewhere else.

Thx for the info! Do u have a discord or something? This project is interesting 🙃

I don't think so? He does quite regularly talk about it in the #decompilation channel of Luma's Workshop if you're interested:
https://discord.gg/k7ZKzSDsVq

https://github.com/shibbo/Petari/blob/master/docs/DOCUMENTATION.md this what you're looking for?

https://github.com/shibbo/Petari/blob/master/docs/DOCUMENTATION.md this what you're looking for?

Yep, thanks 😊

It was right at the time, but now that external documentation has been taken offline since for improvements.


Material Design Lite

Version 0.0.1

Insert template of Material Design Lite to Github that points to iayronservices.com


Add names to threads to make debugging a slight bit easier.

Add names to threads to make debugging a slight bit easier.
PR Checklist

[x] Closes personal todo item.
[x] I work here.
[x] Tested manually.

Detailed Description of the Pull Request / Additional comments
Thread descriptions show up as names in both the Visual Studio debugger, WinDBG debugger, and Windows Performance Analyzer. This makes it faster and easier to identify threads of interest in our processes.
Validation Steps Performed

[x] Checked threads were named in OpenConsole.exe running in classic conhost window mode under VS debug
[x] Checked threads were named in OpenConsole.exe running in conpty mode under VS debug
[x] Checked threads were named in WindowsTerminal.exe (for a few of the threads around connections)
[x] Checked that we could also see it in WinDBG

Visual Studio:

WinDBG:


Multiple-table

In this pull request, Implement multiple tables in the vet_clinic database following these steps:

[ ] Create a table named owners with the following columns:
[ ] id: integer (set it as autoincremented PRIMARY KEY)
[ ] full_name: string
[ ] age: integer
[ ] Create a table named species with the following columns:
[ ] id: integer (set it as autoincremented PRIMARY KEY)
[ ] name: string
[ ] Modify animals table:
[ ] Make sure that id is set as autoincremented PRIMARY KEY
[ ] Remove column species
[ ] Add column species_id which is a foreign key referencing species table
[ ] Add column owner_id which is a foreign key referencing the owners' table
[ ] Remember all this goes in schema.sql file.
[ ] Insert the following data into the owners table:
[ ] Sam Smith 34 years old.
[ ] Jennifer Orwell 19 years old.
[ ] Bob 45 years old.
[ ] Melody Pond 77 years old.
[ ] Dean Winchester 14 years old.
[ ] Jodie Whittaker 38 years old.
[ ] Insert the following data into the species table:
[ ] Pokemon
[ ] Digimon
[ ] Modify your inserted animals so it includes the species_id value:
[ ] If the name ends in "mon" it will be Digimon
[ ] All other animals are Pokemon
[ ] Modify your inserted animals to include owner information (owner_id):
[ ] Sam Smith owns Agumon.
[ ] Jennifer Orwell owns Gabumon and Pikachu.
[ ] Bob owns Devimon and Plantmon.
[ ] Melody Pond owns Charmander, Squirtle, and Blossom.
[ ] Dean Winchester owns Angemon and Boarmon.
[ ] Remember these insertions and modifications happen in data.sql file.
[ ] Write queries (using JOIN) to answer the following questions:
[ ] What animals belong to Melody Pond?
[ ] List of all animals that are pokemon (their type is Pokemon).
[ ] List all owners and their animals, remember to include those that don't own any animal.
[ ] How many animals are there per species?
[ ] List all Digimon owned by Jennifer Orwell.
[ ] List all animals owned by Dean Winchester that haven't tried to escape.
[ ] Who owns the most animals?
[ ] Remember all these should be written in queries.sql file.

Take a screenshot of the results of your queries.

Thanks @Ibizugbe for reviewing my project, I will ensure all the required changes are implemented

Thanks, @Prolajumokeoni for reviewing my project


Error number 13

When running
./__main__.py -i https://www.crunchyroll.com/konosuba-gods-blessing-on-this-wonderful-world -u "login" -p "password" -r 1080p
I get the following:

Trying to login...
Logged in successfully...
Total Episodes to download : 20
Seems like this video isn't available...
[Errno 13] Permission denied: 'Output'
Seems like this video isn't available...
[Errno 13] Permission denied: 'Output'

And download fails for all episodes from the series.
This is not related to geo-locking cause I can watch the series with no VPN, and with the VPN on I get the same errors.  Had to run it with superuser permissions I.e.
'sudo ./main.py -i https://www.crunchyroll.com/konosuba-gods-blessing-on-this-wonderful-world -u "login" -p "password" -r 1080p'


Consider removing "Location Services" screen

This was added purely because it was in the legacy SetupWizard to avoid any potential loss in functionality.
That said, it is unclear if this screen is that useful consider that anybody can enable location services right after setup via the dedicated quite tile, and that when an app tries to access location services, if that toggle is off, it asks you to enable it.
Especially because there are plans to add more screens to SetupWizard2, it makes sense to carefully think about useless/redundant screens to minimize setup time and ensure all screens have a real use.

makes sense to remove the screen if location services are already disabled by default.


Unable to reproduce

Hi, thanks for your work. I try to train the Kitti Cyclist model with your code using the default training setting (160 epochs with batch size 64), but the performance of the last epoch (58.0/78.9) is largely behind the result in your paper (65.1 / 90.5). So I wonder if there are any tricks or common practices to picking the model (e.g. finding the model with the best performance rather than the model of the last epoch)?

Hi, thanks for your interest. I reran the training and testing, but it seems that I do not encounter the issue you mentioned. There might be some fluctuations in performance, but the gap you mentioned is not common from my experience. I have attached the train/test log and the checkpoint for your reference at link.


New ADAL Library also needs the following redirect URI for Microsoft.AAD.BrokerPlugIn

When using newer versions of Microsoft Skype for Business you might see errors in the AAD operational log similar to denies as the URI in https://azure.microsoft.com/en-us/resources/samples/active-directory-dotnet-native-uwp-wam/

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

ID: bcc8ce50-2000-041a-9489-0acea7b2e24a
Version Independent ID: 0839378b-1455-b5b5-f315-29e55c25cee8
Content: How to use Modern Authentication (ADAL) with Skype for Business
Content Source: Skype/SfbServer/manage/authentication/use-adal.md
Product: skype-for-business-itpro
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@bwilsonms Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@officedocsbot assign @scanum

@bwilsonms Thank you for your feedback, I'm looking into it.

The original link in the issue above is no longer there?

@bwilsonms I can't see exactly what you're referring to, is there anything you could suggest?

Sure, if you look above it shows the following:
Content: How to use Modern Authentication (ADAL) with Skype for Business
Content Source: Skype/SfbServer/manage/authentication/use-adal.md
The first hyperlink now longer goes to that page, it goes to: https://docs.microsoft.com/en-us/office365/enterprise/hybrid-modern-auth-overview#feedback
The second link (content source) is missing.
The whole point of this was because the scripts customers were downloading to configuring their ADFS servers for office, were not including the new URIs required for programs using the Windows 10 WEB (Web Account Manager).

I see the following at the top level of the documentation:

@MSFTTracyP
MSFTTracyP Delete use-adal.md  …
Delete
Latest commit 54f926c  13 days ago

@bwilsonms thanks for letting me know.  It looks like the author has removed the link from the article.  Let me know if there are any other changes/additions that you recommend for the article.

@bwilsonms
Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

@officedocsbot close


Having trouble using correct architecture with yarn

Possible install-time or require-time problem
I'm trying to install sharp with yarn as part of a dockerfile. Here's the file:
FROM node:alpine as builder
RUN apk update && apk add curl yarn python3 build-base gcc wget git --no-cache

WORKDIR /usr/src/app

ENV npm_config_target_arch=x64
ENV npm_config_target_platform=linux
ENV npm_config_target_libc=musl

# Cache deps
COPY package.json yarn.lock ./
RUN yarn install --ignore-scripts --prefer-offline --pure-lockfile

# Build
COPY generate_translations.js \
  tsconfig.json \
  webpack.config.js \
  .babelrc \
  ./

COPY lemmy-translations lemmy-translations
COPY src src

# Set UI version
RUN echo "export const VERSION = 'dev';" > "src/shared/version.ts"

RUN yarn install --ignore-scripts --prefer-offline
RUN yarn build:dev

FROM node:alpine as runner
COPY --from=builder /usr/src/app/dist /app/dist
COPY --from=builder /usr/src/app/node_modules /app/node_modules

EXPOSE 1234
WORKDIR /app
CMD node dist/js/server.js

yarn doesn't have the --platform, --arch, or --libc options for installation like npm does, so I'm trying to do it by setting the environment variables. Here is the error I get when trying to use the container:
docker-lemmy-ui-1  | Inferno is in development mode.
docker-lemmy-ui-1  | /app/node_modules/sharp/lib/sharp.js:37
docker-lemmy-ui-1  |   throw new Error(help.join('\n'));
docker-lemmy-ui-1  |   ^
docker-lemmy-ui-1  |
docker-lemmy-ui-1  | Error:
docker-lemmy-ui-1  | Something went wrong installing the "sharp" module
docker-lemmy-ui-1  |
docker-lemmy-ui-1  | Cannot find module '../build/Release/sharp-linuxmusl-x64.node'
docker-lemmy-ui-1  | Require stack:
docker-lemmy-ui-1  | - /app/node_modules/sharp/lib/sharp.js
docker-lemmy-ui-1  | - /app/node_modules/sharp/lib/constructor.js
docker-lemmy-ui-1  | - /app/node_modules/sharp/lib/index.js
docker-lemmy-ui-1  | - /app/dist/js/server.js
docker-lemmy-ui-1  |
docker-lemmy-ui-1  | Possible solutions:
docker-lemmy-ui-1  | - Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
docker-lemmy-ui-1  | - Install for the current linuxmusl-x64 runtime: "npm install --platform=linuxmusl --arch=x64 sharp"
docker-lemmy-ui-1  | - Consult the installation documentation: https://sharp.pixelplumbing.com/install
docker-lemmy-ui-1  |     at Object.<anonymous> (/app/node_modules/sharp/lib/sharp.js:37:9)
docker-lemmy-ui-1  |     at Module._compile (node:internal/modules/cjs/loader:1267:14)
docker-lemmy-ui-1  |     at Module._extensions..js (node:internal/modules/cjs/loader:1321:10)
docker-lemmy-ui-1  |     at Module.load (node:internal/modules/cjs/loader:1125:32)
docker-lemmy-ui-1  |     at Module._load (node:internal/modules/cjs/loader:965:12)
docker-lemmy-ui-1  |     at Module.require (node:internal/modules/cjs/loader:1149:19)
docker-lemmy-ui-1  |     at require (node:internal/modules/helpers:121:18)
docker-lemmy-ui-1  |     at Object.<anonymous> (/app/node_modules/sharp/lib/constructor.js:11:1)
docker-lemmy-ui-1  |     at Module._compile (node:internal/modules/cjs/loader:1267:14)
docker-lemmy-ui-1  |     at Module._extensions..js (node:internal/modules/cjs/loader:1321:10)
docker-lemmy-ui-1  |
docker-lemmy-ui-1  | Node.js v20.1.0

[x] I have read the documentation relating to installation.
[x] I have ensured that the architecture and platform of Node.js used for npm install is the same as the architecture and platform of Node.js used at runtime.

Are you using the latest version of sharp?

[x] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
Is this a problem with filesystem permissions?
I'm using yarn, so I'm not sure how to answer the questions in this section with respect to that.
If you are using npm v6 or earlier and installing as a root or sudo user, have you tried with the npm install --unsafe-perm flag?
n/a
If you are using npm v7 or later, does the user running npm install own the directory it is run in?
n/a
If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag?
n/a
What is the complete output of running npm install --verbose --foreground-scripts sharp in an empty directory?
Instead of running the suggested command, I instead ran npm_config_target_arch=x64 npm_config_target_platform=linux npm_config_target_libc=musl yarn install --verbose --foreground-scripts sharp. The output is as follows:

yarn install v1.22.19
verbose 0.131432163 Checking for configuration file "/home/insomnia/projects/foo/.npmrc".
verbose 0.13162628 Checking for configuration file "/home/insomnia/.npmrc".
verbose 0.13183877 Checking for configuration file "/home/insomnia/.local/share/nvm/v18.16.0/etc/npmrc".
verbose 0.131967988 Checking for configuration file "/home/insomnia/projects/foo/.npmrc".
verbose 0.132119542 Checking for configuration file "/home/insomnia/projects/.npmrc".
verbose 0.132261913 Checking for configuration file "/home/insomnia/.npmrc".
verbose 0.132417493 Checking for configuration file "/home/.npmrc".
verbose 0.132858238 Checking for configuration file "/home/insomnia/projects/foo/.yarnrc".
verbose 0.13302322 Checking for configuration file "/home/insomnia/.yarnrc".
verbose 0.133125418 Found configuration file "/home/insomnia/.yarnrc".
verbose 0.13377118 Checking for configuration file "/home/insomnia/.local/share/nvm/v18.16.0/etc/yarnrc".
verbose 0.133902639 Checking for configuration file "/home/insomnia/projects/foo/.yarnrc".
verbose 0.134040913 Checking for configuration file "/home/insomnia/projects/.yarnrc".
verbose 0.134152323 Checking for configuration file "/home/insomnia/.yarnrc".
verbose 0.134263355 Found configuration file "/home/insomnia/.yarnrc".
verbose 0.134517107 Checking for configuration file "/home/.yarnrc".
verbose 0.136380372 current time: 2023-05-07T11:28:47.606Z
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?
  System:
    OS: Linux 6.2 RebornOS Linux
    CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
    Memory: 19.12 GB / 31.17 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.16.0 - ~/.local/share/nvm/v18.16.0/bin/node
    Yarn: 1.22.19 - ~/.local/share/nvm/v18.16.0/bin/yarn
    npm: 5.10.0 - ~/projects/lemmy-ui/node_modules/.bin/npm
  npmPackages:
    sharp: ^0.32.1 => 0.32.1

RUN yarn install --ignore-scripts --prefer-offline

Please remove the --ignore-scripts flag.

Thank worked. Thanks!


Discrimination Checkpoints?

I want to run the discrimination function for inferencing on some news articles.
I do not want to train the model.
Is it possible to use the model this way?

See https://github.com/rowanz/grover/commit/2a2c4b9a4a128aaa99015f6f95e6595434f77ce6 :)


frozendict is unable to be instantiated with an iterator or generator

https://github.com/diegojromerolopez/gelidum/blob/850c061395ea2d2a04193b236fd3862092faa7df/gelidum/collections/frozendict.py#L26
The __init__ method of frozendict assumes that the class will only ever be called with a parameter of subtype collections.abc.Mapping (has an items() method).
An iteratable/iterator or generator type parameter should be handled as well.
Something along the lines of:
if isinstance(mapping, Mapping):
    super().__init__(
        {key: freeze_func(value) for key, value in mapping.items()}
    )
else:
    super().__init__(
        {key: freeze_func(value) for key, value in mapping}
    )

I'm not up on typing yet, so am hesitant to make a pull request.

Additionally, the init method signature could be changed to handle dict creation by kwargs much like the builtin dict class.
def __init__(self, mapping=None, /, freeze_func=None, **kwargs):
There could be another case for this:
if isinstance(mapping, Mapping):
    ...
elif mapping is None and kwargs:
    super().__init__(
        {key: freeze_func(value) for key, value in kwargs.items()}
    )
else:
    ...

Hello @nolsto
Thank you for your comment. I'm going to take a look and prepare a PR.
Cheers.

Please, @nolsto could you take a look at https://github.com/diegojromerolopez/gelidum/pull/30 and see if that is good for you?

Version 0.5.8 in pypi includes this change.
Thank you @nolsto for your help. Any other issue, don't hesitate to contact me.
Cheers.


[apptools-android] Update tests to test 'xwalk' prefix in the manifest for apptools android

Impacted tests(approved): new 0, update 8, delete 0
Unit test platform: [Android]
Unit test result summary: pass 8, fail 0, block 0
https://crosswalk-project.org/jira/browse/XWALK-4736

LGTM


Fix xliff-tasks entry in Version.Details.xml

xliff-tasks was merged into arcade in 9.0
Microsoft Reviewers: Open in CodeFlow

@joperezr we need this for the VMR. Can you please approve and merge? Is dependency flow automatically running?

Thanks @akoeplinger!


⚠ Bofrost.lu has degraded performance

In 3cabc85, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1869 ms

Resolved: Bofrost.lu performance has improved in 94ae87f after 6 minutes.


Introduce "wrapCommand" builder

Motivation for this change
"wrapCommand" is an abstraction of somethings fairly common in Nixpkgs where single binary is produced from a single source file. This happens frequently when using something like .jar or .phar files as well as in some of the Ruby things.
This should lead to less code & maintenance.
wrapCommand needs to use makeWrapper to work, so I had to move it from all-packages.nix into a new setup-hooks/default.nix file that will be used pulled in from stage.nix.

Failure on x86_64-linux (full log)
Attempted: apktool, emv, grepm, nix-generate-from-cpan, nixpkgs-lint
Partial log (click to expand)
cannot build derivation '/nix/store/85hw40bccmapnz4zxac76rwb5h7llzaj-gtk+-2.24.32.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/s48mnd96gzblqvv5i0h78rgw79gj9h6g-gnome-vfs-2.24.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/hv4nz6d66406zi0dpybkl10k4pivxm7a-pinentry-1.1.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/dgm4a3yf14wnwm2z0bf9cfigybmj6b9c-gnupg-2.2.8.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/f9f8shnzwlkm5mk8b0ihl5hi7acd8k58-openjdk-8u172b11.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/9pvacih768gq2sfrkw6055khk44vg2f5-apktool-2.3.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/98scrsv6v8wbclkr7rbcqgrg5ka3p3c9-gpgme-1.11.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9w94d35mmxrp3fabmj08ca6jr22aangq-mutt-1.10.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/si3f7k388jlp12y7zws4psxmdq7v9kxr-grepm-0.6.drv': 1 dependencies couldn't be built
error: build of '/nix/store/9pvacih768gq2sfrkw6055khk44vg2f5-apktool-2.3.3.drv', '/nix/store/si3f7k388jlp12y7zws4psxmdq7v9kxr-grepm-0.6.drv' failed

Success on aarch64-linux (full log)
Attempted: emv, grepm, nix-generate-from-cpan, nixpkgs-lint
The following builds were skipped because they don't evaluate on aarch64-linux: apktool
Partial log (click to expand)
patching script interpreter paths in /nix/store/9431s8yli55irp69lx09i9r8mxwvik9w-mutt-1.10.0
/nix/store/9431s8yli55irp69lx09i9r8mxwvik9w-mutt-1.10.0/bin/smime_keys: interpreter directive changed from " /usr/bin/perl -w" to "/nix/store/9g5v9c8dkwm6w9jjc89xabxsmsya9hx2-perl-5.24.3/bin/perl -w"
/nix/store/9431s8yli55irp69lx09i9r8mxwvik9w-mutt-1.10.0/bin/flea: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
/nix/store/9431s8yli55irp69lx09i9r8mxwvik9w-mutt-1.10.0/bin/muttbug: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/9431s8yli55irp69lx09i9r8mxwvik9w-mutt-1.10.0...
building '/nix/store/49gn3kr2fmcw1zgwcl764l50r7gng6l0-grepm-0.6.drv'...
/nix/store/ljh9l72rh4b2s12hqj40f0s0srmddpim-emv-1.95
/nix/store/vindq3m4917yw33chbfmcq90dq16pyvc-grepm-0.6
/nix/store/bnsqvdgx5ic4s5k2b5dfkdd0wy93hcd9-nix-generate-from-cpan-3
/nix/store/1pbqhvgmscsy6rjfjwahcpikqf7dv1p7-nixpkgs-lint-1

Instead of being able to wrap a single command, I think it would be nice to have instead a mapping
executables = {
  "/bin/a" = ["--add-flags ${phar}"];
  "bin/* = ["--add-flags ${phar}"];
  };
}

and with the possibility of using glob to apply wrapper arguments to a selection of executables.


COMPLETE THE CSS AND THE QUIZ QUESTIONS

THE CSS OF LEFT OVER HTML PAGES IS LEFT SO PLEASE COMPLETE IT  AND THE QUIZ  QUESTIONS ARE ALSO LEFT
@JaGPR @laughingclouds @PrateekSarna-24 @Shreya220 @MadhaviGupta18

I'm working on the styling on this branch.


grammar sore sight

"You don't need to directly initialize COM, work with COM pointers."
consider using one of these conjunctions after the comma: "or", "nor"

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

ID: 7ae018a1-a3ab-037a-2df7-354677971ff9
Version Independent ID: 95ff0a4f-48c7-4962-93b3-538ab5ec458f
Content: Get started with C++/WinRT - Windows UWP applications
Content Source: windows-apps-src/cpp-and-winrt-apis/get-started.md
Product: uwp
Technology: platform
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Thanks for spotting that, @krunch3r76! I've published the fix. ~Steve


Way to decrease the font size?

The font size slider in the settings doesn't seem to work nor ctrl+scroll.
Is there a way to decrease the size of the fonts?

Command + Minus should do the job, Command + 0 to get back to normal again.

I can make it bigger, I can reset it, but I can't make it smaller. I'm on windows. ctrl + minus doesn't do anything for me nor can I find it in the hotkeys. I tried every key on my keyboard asfaik right now. Is ctrl + 0 the minimum size? I can't seem to go under that.
But to me everything looks pretty damn big

in Windows 10 I haven’t found a way to zoom-in / zoom-out like it’s possible in Mac OS. I think this is more of an Obsidian issue than a theme issue.


Cannot run pyresttest because of pycurl/libcurl incompatibility

Hello! I'm running on Mac and I'm getting this error when I try to run tests through pyresttest:
ImportError: pycurl: libcurl link-time version (7.43.0) is older than compile-time version (7.51.0)
I tried to install pycurl-7.51.0 instead, but that version isn't available (I think because it doesn't exist?). So I'm not sure where this is coming from.. is there a way I can get around this? Thank you!

I have the same problem. Any news?

Actually, here's a fix: https://github.com/binux/pyspider/issues/472
I followed it and it worked fine.


Error using lua plugin lpeg.so with trafficserver.

I build trafficserver version 9.0.2 from the source code and since luajit (LuaJIT 2.1.0-beta3) was installed, it was able to generate tslua.so plugin and then i installed lpeg using luarocks, but when i ran trafficserver it is showing this error :
[Aug  9 10:37:54.289] [ET_NET 2] NOTE: hosting.config loading ...
[Aug  9 10:37:54.289] [ET_NET 2] NOTE: hosting.config finished loading
[Aug  9 10:37:54.289] [ET_NET 2] NOTE: cache enabled
[Aug  9 10:37:54.331] traffic_server ERROR: [ReverseProxy] failed to add remap rule at /usr/local/etc/trafficserver/remap.config line 203: failed to create instance for plugin /usr/local/libexec/trafficserver/tslua.so: [ts_lua_add_module] lua_pcall /usr/local/etc/trafficserver/script/bidexchange/rewrite.lua failed: error loading module 'lpeg' from file '/usr/local/lib/lua/5.1/lpeg.so':
	/usr/local/lib/lua/5.1/lpeg.so: undefined symbol: lua_gettop
[Aug  9 10:37:54.332] traffic_server WARNING: something failed during BuildTable() -- check your remap plugins!
[Aug  9 10:37:54.332] traffic_server FATAL: remap.config failed to load

Dont know what went wrong.can anyone help with this.

That should be because the lpeg.so is compiled to expect the lua related symbols in the executing context. In a normal lua program, those should be expected to be present. In ATS, they are not and you will need to compile your shared object to require a dynamic link to the luajit library.
You can check out a similar problem here - https://github.com/apache/trafficserver/issues/5158

actually you do have https://github.com/luvit/lpeg/blob/master/makefile
you can try out changing
"DLLFLAGS = -shared -fPIC"
and add " -lluajit-5.1" to the end and then use "make linux" to compile and see.


Idea: Decouple from redux

I like redux-logger a lot and rely on it daily when I use redux. However, now I'm working with another framework (raj) which is basically the same as redux in that it has the State -> Action -> New State paradigm. One thought I had was that if the part of redux-logger that handles the formatting, printing, timing etc. could be broken out to a separate package it could be re-used to create loggers for any framework/library/state-container that follows the State -> Action -> New State paradigm.
So the idea would be that the redux-logger package could have the middleware for redux while the rest it broken out to another package like state-action-logger. Anyway this was just a thought I had while forking the code to make my own logger, feel free to close if it is not in line with what you want for redux-logger :-).

You can already decouple redux itself by providing the same middleware interface. We don't actually check if you're using redux.


Freezing Issue

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[ ] My answer given in the checkbox above is a lie.

What problem did you encounter?
When I use the bloxstrap launcher only then my game will freeze I have uninstalled and reinstalled both roblox  and bloxstrap and no matter what I do it wont stop and no matter what game I play https://medal.tv/games/roblox/clips/ihyBTHumsZaJ5e2YS/d1337Rk5TiU8?invite=cr-MSxSbHQsMjUwMzk3NjMxLA

Can you send your Fast flags? (Windows Key + R: %localappdata%\Bloxstrap\Modifications\ClientSettings | Send the file named ClientAppSettings.json)

Issue has been awaiting clarification for over a month, closing as stale. If you have anything further to add, just respond and I'll reopen


When searching for applications, no context is given around authenticity or authorship

See example when searching for "GitHub":

Gets even funkier when you try to disambiguate between different results with the same name - which of these is the legit one?

@localden, information about the publisher is visible when a newer version of winget is installed. You can get the latest winget version by updating your App Installer application then restarting Dev Home.
Here's an example of the search result with newer version of winget installed:

This is a result of not having the latest version of App Installer. If this issue persists when updated, please re-open and let us know.


PLT-8148 Upgrade to Plutus <IP_ADDRESS>

This upgrades Plutus to version <IP_ADDRESS> so that Marlowe can take advantage of the new compiler optimizations.
The Marlowe-Cardano test suite was run with --qc-max-success 100000 with no failures.

@bwbush it is a bit hard to review the changes because this PR contains also rearrangement of the code and there are no diffs over these pieces. Should I assume that validators and semantics  where not really changed?


Internal IP address can't match policy route rules

I have a MutilWAN environment use opnsense 17.7.7, pureNAT is enabled.
WAN1==IP1 WAN2==IP2   default gateway is WAN2 GW。
I want setup pptpvpn, but pptp server only can listening on an lan IP address.
I creating a forwarding rule in NAT section, that sends incoming IP1 pptp traffic (gre and tcp1723) to the lan ip.
but it's not work well.
I capture package in wan port,  gre out package NAT to the wrong IP address: IP2.
I creating policy route rule(SIP=IanIP protocol=GRE  forword to WAN1 GW), but  it can't match internal IP address .
This looks like a bug？

timeout (https://github.com/opnsense/core/commit/7338549ba5f295f5420e45ba74112af10d20c713)


Fix typo ("ISNERT")

Typo in documentation.
Fixes https://github.com/github/orchestrator/issues/30

thank you!


Add latency metric for batch export

The new metric improves our ability to understand whether the max-inflight-bytes is set correctly.
TODO: Document the component batch processor, including its metrics. Depends on #94 and when/how we try to push this code upstream.
Part of #110.

(I did manual testing of an otelarrowcol binary.)


Failed to create the certificate

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az keyvault certificate create
Errors:
Error occurred in request., HTTPError: 400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az keyvault certificate create --vault-name {} --name {} --policy {}

Expected Behavior
Environment Summary
Linux-4.15.0-1077-azure-x86_64-with-debian-stretch-sid
Python 3.6.5
Installer: DEB

azure-cli 2.4.0 *

Additional Context

Below is command
keyvault_name=mykeyvault
az keyvault create --resource-group myResourceGroupAutomate --name $keyvault_name --enabled-for-deployment

@bim-msft please take a look

hi @ramganesh19  did you see the error in Cloudshell? If yes, this is a known Cloudshell issue. Cloudshell team is looking at it. To workaround, pls use local Azure CLI on local machine.

duplicate with https://github.com/Azure/azure-cli/issues/13425

Hi @ramganesh19 which environment are you in? Are you running this in CloudShell?
Based on my knowledge, one possible reason for this is your keyvault name is too long, I'm not sure if this would be suitable with your case.

Closing it due to longtime inactivity, feel free to reopen it anytime if you need additional help.

Closing it due to longtime inactivity, feel free to reopen it anytime if you need additional help.


Add note events stream

Hello ^^
Here is a pull request to add these improvments :

[X] Provide possibility to stream events on a single note

Events managed are : reacted, unreacted and deleted

[X] Provide api to unsubscribe from streams (timelines AND single notes streams)
[X] Some refacto

[BREAKING CHANGE] I renamed NoteCallback to TimelineCallback for timeline events (new note created etc)
NoteCallback is now used for note events

I couldn't do unit tests as I saw that we need a live connection to misshub.io to launch tests.
I tested my code in the application where I use your library and it seems to work
Do not hesitate to review and ask for improvments ;)

You're welcome ^^


Extract beam instead of best query

Hi again,
Is it possible to extract a beam with N queries, instead of the top one?

It seems the variable "out" in the image above always has size 2.
I have been checking allennlp/models/model.py which contains the class Predictor (which has the method forward_on_instances(...), but after grepping it I cannot find any mention of a beam on that file.
Thanks a lot,

Hi again,
I just wanted to point out another thing I found. While using the pre-trained model I noticed that 14 of the queries differ when comparing the results of eval.py and beam.py (using the top query from the beam). As a result, this causes the top 1 query from the beam to be wrong (this results in a 1.5% error in Execution Accuracy). Shouldn't the queries from eval.py match the last queries of the beam ?
Thanks a lot
Here follow the instances where the queries differ (query obtained from eval.py and beam[-1] from beam.py)
84 eval.py: has_pet , pets
84 beam.py: student
104 eval.py: SELECT DISTINCT car_names.model FROM cars_data JOIN car_names ON cars_data.id = car_names.makeid WHERE cars_data.year > 1980
104 beam.py: SELECT DISTINCT model_list.model FROM cars_data JOIN car_names ON cars_data.id = car_names.makeid WHERE cars_data.year > 1980
116 eval.py: car_makers , model_list
116 beam.py: model_list , countries , countries
172 eval.py: car_makers , car_names
172 beam.py: DISTINCT model_list.model
177 eval.py: car_makers.id = car_makers.country
177 beam.py: countries.countryid = car_makers.country AND model_list.maker = car_makers.id
178 eval.py: car_makers.id = car_makers.country
178 beam.py: countries.countryid , countries.countryname
240 eval.py: airlines , airports
240 beam.py: flights.destairport = airports.airportcode
552 eval.py: semesters , courses
552 beam.py: semesters.semester_name , semesters.semester_id
563 eval.py: SELECT AVG( transcripts.other_details ) FROM transcripts WHERE transcripts.other_details > (SELECT AVG( transcripts.other_details ) FROM transcripts)
563 beam.py: SELECT AVG( transcripts.other_details ) FROM transcripts WHERE transcripts.transcript_date > (SELECT AVG( transcripts.transcript_date ) FROM transcripts)
705 eval.py: SELECT COUNT( * ) FROM country WHERE country.governmentform = 'republic'
705 beam.py: SELECT COUNT( * ) FROM country WHERE country.governmentform = 'republics'
776 eval.py: city , country
776 beam.py: country.continent = 'Africa' AND country.population > (SELECT MAX( country.population ) FROM country WHERE country.continent = 'Africa') AND country.continent = 'Africa' AND country.population > (SELECT MAX( country.population ) FROM country WHERE country.region = 'Africa')
777 eval.py: city , country
777 beam.py: country.continent = 'Africa' AND country.population > (SELECT MAX( country.population ) FROM country WHERE country.continent = 'Africa') AND country.continent = 'Africa' AND country.population > (SELECT MAX( country.population ) FROM country WHERE country.region = 'Africa')
924 eval.py: charges , dogs
924 beam.py: dogs.name
984 eval.py: SELECT dogs.name , dogs.age , dogs.weight FROM dogs WHERE dogs.abandoned_yn = '1'
984 beam.py: SELECT dogs.name , dogs.age , dogs.weight FROM dogs WHERE dogs.abandoned_yn = 'no'

I think this may occur because the top beam scores are equal for some of the examples posted above.  In beam.py, taking the -1 element from argsort() returns something different than the argmax() used in eval.py, but in reality the top results all have the same beam score (i.e., they are all tied).  For example, example 84 has top 3 scores [-3.4028e+38, -3.4028e+38, -3.4028e+38]. I am wondering, is it expected behavior for the top 3 results to have equal scores in these cases?

That is really weird... They should be the same, maybe the masking is incorrect?.

Ok, I see, in the case of example 84, all the items in the final beams are not valid, so they are maked, it makes sense to return any result.
I am more interested in the cases of 984 where beam.py returned a valid item eval.py didn't.
And 705 where both are valid.


AWS RedisCluster not working / get master node failed

We trying to use aredis with a ElasticCache Redis Cluster, but getting the following error.
[2018-01-08 10:21:28 +0000] [9] [ERROR] Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/sanic/app.py", line 556, in handle_request
    response = await response
  File "/usr/local/lib/python3.6/site-packages/prometheus_async/aio/_decorators.py", line 42, in decorator
    rv = yield from wrapped(*args, **kw)
  File "/menu_service/menu_response.py", line 75, in get_menu_endpoint
    menu = await get_menu_cache(id)
  File "/menu_service/cache.py", line 21, in get_menu_cache
    result = await redis.get(_cache_key(id))
  File "/usr/local/lib/python3.6/site-packages/aredis/commands/strings.py", line 147, in get
    return await self.execute_command('GET', name)
  File "/usr/local/lib/python3.6/site-packages/aredis/utils.py", line 167, in inner
    return await func(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/aredis/client.py", line 405, in execute_command
    node = self.connection_pool.get_node_by_slot(slot)
  File "/usr/local/lib/python3.6/site-packages/aredis/pool.py", line 480, in get_node_by_slot
    return self.get_master_node_by_slot(slot)
  File "/usr/local/lib/python3.6/site-packages/aredis/pool.py", line 475, in get_master_node_by_slot
    return self.nodes.slots[slot][0]
KeyError: 232

Our redis client creation is the following:
startup_nodes = [{"host": REDIS_HOST, "port": REDIS_PORT }]
redis = StrictRedisCluster(startup_nodes=startup_nodes, decode_responses=False, skip_full_coverage_check=True)

We using python 3.6 with sanic 0.7.0.
The setup is working with using the redis-py-cluster==1.3.4.

I tried that out! It worked!

@vineetgoel
Thanks a lot sincerely, that really helps!
@kstrempel
If you don't mind, this issue will be closed, thank you again for you bug report~
If there are still problems, please reopen the issue.


fix; Fix error: ImportError

While attempting to work with the project with Conda, the following error ImportError: attempted relative import with no known parent package when working with conda was shown, I've made a fix for it.
It seems to be working fine now.

these fixes worked get the script running for me! also needed to pip install readmeai after making them

Hi @mooujarrar,
Firstly, thanks for taking the time to contribute to the readme-ai project. The effort is much appreciated.
After reviewing your pull request aimed at solving issue #37, there are a couple of points that prevent merging to main:

Relative Imports: As the readmeai package is designed for distribution via PyPI, we follow a convention of utilizing relative imports for intra-package modules. Your pull request currently employs absolute imports, which may lead to issues for end-users after package installation.
Issue #37: This is a great catch and start to correcting this bug, however, there was an underlying issue in the preprocess.py script causing the error.

I am closing pull request, but recognized your efforts in the latest version release notes and CHANGELOG.md.
Thanks again for this contribution, and hope you can contribute to readme-ai in the future!
Best,
Eli


[RESTEASY-1240] TestSecureProcessing tests fail if system language is…

… not English

Thanks, Alessio. This can be merged.

You're looking kinda pixilated, by the way. From Mr. Smith Goes to Washington (https://www.youtube.com/watch?v=NZNX9Q1XPnY&index=195&list=PLN4TWYf28Nx_ruVcvviyQaF7PlMb4wV-E):
John Cedar: Suppose you just answer, Miss Jane. Now, will you tell the court what everybody at home thinks of Longfellow Deeds?
[pause; then Jane whispers to Amy; Amy whispers back]
Jane Faulkner: They think he’s pixilated.
Amy Faulkner: Oh, yes, pixilated.
Judge May: He’s what?
John Cedar: What was that you said he was?
Jane Faulkner: Pixilated.
Amy Faulkner: Mm-hmm.
John Cedar: Now that’s rather a strange word to us, Miss Jane. Can you tell the court exactly what it means?
Board member: Perhaps I can explain, Your Honor. The word “pixilated” is an early American expression derived from the word “pixies,” meaning elves. They would say the pixies had got him. As we nowadays would say, a man is “barmy.”
Judge May: Oh. Is that correct?
Jane Faulkner: Mm-hmm.
Amy Faulkner: Mm-hmm.

@ronsigal Nice video :-)


Add tautomer generation to RDKit

Description:

Hackathon idea, extend rdchem.ResonanceMolSupplier to accept user supplied chemical rules for tautomer generation.
One can currently get RDKit to produce tautomers by crude force, see e.g.:
https://github.com/kemaeleon/tautomers/blob/master/make_and_throw.py

I wonder whether it would make sense to change the way ResonanceMolSupplier  to accept flags more specific than:
rdchem.ResonanceFlags.ALLOW_CHARGE_SEPARATION,  rdchem.ResonanceFlags.ALLOW_INCOMPLETE_OCTETS ,
rdchem.ResonanceFlags.UNCONSTRAINED_CATIONS,
rdchem.ResonanceFlags.UNCONSTRAINED_ANIONS

or find any other practical way of allowing an approximate enumeration of tautomers for a given project.

more or less duplicate of issue 590.


Restyle and rename "Reset scenario" button and popup

Recently, the pop-up displayed when clicking the "reset" and "uncouple" button has been visually improved. Minor improvement could be that the size of the pop-up should depend on the text size. It seems to me that the pop-up currently is a fixed element that is used for both "reset" and "uncouple". This however means that there is some whitespace for "reset", since it has less text than "uncouple". See screenshot below:

The larger suggested enhancement is to trace all old style pop-ups in the model and replace them with the new style. I think it looks much more professional and therefore adds a lot of value for the ETM! For example when reverting a curve, I still get:

There may be more old style pop-ups throughout the model. Let me know what you think @noracato !

Nice suggestions. For me the "Revert unsaved changes" is clear!
The text in the current pop-up is also not clear to me (what are 'default' settings? etc.), I think it should also be along the lines of "are you sure you want to revert all unsaved changes? You will lose any unsaved changes."


Package build failing

I'm using a forked build. I have changed the cosign keys and assigned a finegrain token to the repo with ALL groups set to Read/Write.
The Release builds, the Package build fails with the following error:
"Error: writing blob: initiating layer upload to /v2/dvogeldev/boxkit/blobs/uploads/ in ghcr.io: denied: permission_denied: write_package"
No other changes were made to the codebase other than a change to the repo name.
What am I missing? Thank you

Double check the permissions in your github repo settings -> Actions -> General. Here's what mine looks like:

I believe my problem was related to my github settings. I went ahead and created a new GitHub account from scratch and was able to create a customized package.
One problem was I forgot to rename the image in .github/workflows/build-boxkit.yml
Thank you for taking the time to help.


Integration test organizational cleanups

I started working on making the tests more robust and immediately became annoyed with our approach to organization as well a the semi-non-deterministic execution of the test due to our use of a map.
This may be a bit overkill but I hope it makes things more maintainable and less prone to becoming a jumble if parts are copy-n-pasted in the future.
The new TestGroup type allows a much more consistent and deterministic way of grouping test suites and other (child) test groups. Beyond this PR the hope is that one only needs to think about the test group very rarely and can mostly copy the structure of the initfunctions in the other files that have test suites to execute.
Because determinism could possibly lead to implicit dependencies between tests I also amused myself by adding a Shuffle method that can be invoked through an environment variable. This causes the tests to be run in a randomized order. It is not enabled by default. I have not committed to the idea, but I am considering enabling it for the scheduled runs of the CI (but not PRs). Either way, its there in case we (I) want it.
This is part one of many(?) organizational changes of the integration tests as I hack my way through the weeds that have grown in the test code.

/test centos-ci/sink-clustered/mini-k8s-1.23

/test centos-ci/sink-clustered/mini-k8s-1.23

Thanks for looking at this PR so quickly!


Add CI pipeline that enables IsPackable=true in source projects

In https://github.com/dotnet/maintenance-packages/pull/52#issuecomment-1922817942 we noticed that APICompat or any packaging specific logic doesn't run by default in CI because all projects are currently set to IsPackable=false. To guard against APICompat or project packaging related issues we should add a CI leg that enables packaging for all source projects.
cc @carlossanlop @ericstj

Seems reasonable, any additional testing we'd want to do in such a CI job?

Nothing else that I could think of.


Account for non-default port number in image name (backported from master)

Previously, if an image was tagged with the format
$REGISTRY:$PORT/$REPO:$TAG,
then podman images would display $PORT/$REPO:$TAG under the "TAG"
field.
This commit correctly displays $REGISTRY:$PORT/$REPO under the
"REPOSITORY" field while the "TAG" field only displays $TAG.
Signed-off-by: Lokesh Mandvekar<EMAIL_ADDRESS>Fixes: gh#6665
(cherry picked from commit 71f6dd47ddce82545865739cb3382c0beb3f65a4)
@mheon @baude @rhatdan @jwhonce

Could have sworn I already backported this, but it doesn't seem like I did.
/approve
LGTM

/lgtm


Is it possible to disable ability to insert links. Is it possible?

I would like to disable the ability to disable links so users can't spam the system.
Is it possible? And if so how?

You can remove the icon from the toolbar, but people can just insert the required markdown manually.
If you want to entirely disable links in the markdown and resulting HTML then you'll have to edit the markdown renderer.
Maybe this helps you further: https://github.com/markedjs/marked/issues/882