Add support for HTML site search

The topic of search came up briefly in https://github.com/typelevel/Laika/issues/360#issuecomment-1399563317 and I'd like to spin it into a proper feature request.
@valencik and @samspills have been working hard on protosearch and friends which is a pure Scala search library. There are some demos, such as this http4s docs search embedded in an HTML page using a JS-exported API.
I've only been following along in awe, I'm not deeply versed in how it's all working unfortunately 😅
The high-level idea of protosearch is to:

support indexing on the JVM
support querying in the browser via JS (or one day WASM)

For Laika integration + deployment, one idea we've had is the following:

Indexing is implemented as a Laika renderer that produces an index artifact. This can be deployed as part of the site (similar to how e.g. epub / pdfs are included in the site).

protosearch publishes a JS library to NPM and is available via CDNs. This JS library can load an index file and run queries on it.

A search page is added to the site which uses a small bit of JS to glue together a search bar, the protosearch.js library, and index file.

This doesn't necessarily have to be something in the Laika core repository and there may be good reasons it shouldn't be. But it could exist as a separate project/plugin that is brought in by sbt-typelevel-site.
Discuss! 😇

Of course having a search module for Laika would be exciting news, I guess we might all agree that this functionality is Laika's most significant feature gap (by far actually in my view, it's pretty complete otherwise). So I guess we don't need to discuss whether it's desirable to have such a module and focus more on the specifics which are mostly just a) who is doing the work, b) what are the best design approaches for it and c) where is it going to live.
Regarding a) I'll be unable to do the actual coding in the near future, but I am happy to join design discussions, answer questions and do PR reviews. And regarding b) we should move the discussion to whatever we decide for c).
Therefore, I'll focus more on the question where that module should live. I think it has, in many ways, a similar characteristic as sbt-typelevel in that it is a glue module between two projects, in this case laika and protosearch. Such a module can generally live in three places: either inside one of the existing projects or completely separate. The latter has more administrative overhead, but also a few advantages: it is decoupled from the release cycles of both underlying projects and can publish new releases whenever either side does.
From those three options I really feel that for this particular scenario one should be avoided, at least in the beginning, which is making it a part of this repo right from the start. The main reason is that the two projects would be in a completely different phase of their lifecycle: while Laika is getting close to doing a 1.0 release and sealing its APIs and promise long-term binary compatibility, the search module will be initially be in a much more exploratory phase and most likely benefit from the option to make binary-breaking changes whenever necessary. As a general rule of thumb I would prefer to avoid any runtime dependency on a library in 0.x range (http4s is one unfortunate exception here).
This is also pretty much aligned with the general design idea behind Laika, where the expansive extension APIs where always meant to support 3rd party modules. The only reason that has not happened so far is that until fairly recently, Laika's core had frequent and sometimes quite disruptive changes itself. For example, there was no reason to develop the Helium theme separately and promote it later, so I simply included it in the 0.16 release. But with Laika reaching 1.x this really changes and by now I would probably develop a completely new module that needs to mature over time in a separate repo myself.
That leaves us with two options, that I am equally fine with: Either the search module lives somewhere else permanently, or it just starts its life there and gets promoted to the Laika main project much later. In the latter case my criteria for promotion would be roughly this (this applies on a general level, not just for the search functionality):
a) the module has moved beyond its 0.x lifetime and aims at binary compatibility (in this case both, the Helium theme extension and the underlying search library).
b) the module had several iterations of improvements based on user feedback and actual adoption.
c) the authors and users of the module would at some point prefer to see it integrated into the main Laika releases.
d) the authors are open to potential API adjustments in case they have unnecessary differences to Laika's own naming conventions and API patterns.
Regarding documentation we could add pointers to the search module docs in both, Laika and sbt-typelevel.
Btw. if you want to prepare for a promotion scenario straight away, you can use the laika.search package prefix, I can guarantee that I won't use it in the meantime.
If you don't mind I would convert this issue into a discussion, as issues are meant to lead to actual work in this repo.


Split off YAML configuration into its own module

This PR splits YamlConfiguration into its own module and removes Jackson from log4j-core's optional dependencies.
Changes

YamlConfigurationFactory is moved to a new log4j-config-yaml module together with YAML specific tests,
Converts the configuration of 3 log4j-core-test from YAML to XML, since the tests are not YAML specific,
Removes log4j2-2134.yaml, which was referenced in JiraLog4j2_2134Test, but in practice the DefaultConfiguration was used instead.

I rebase the PR on top of #2155, so that we can immediately remove Jackson.

This has actually been successfully merged. I just deleted the branch too soon.


Add support for fetching/waiting on container stdout/stderr. Refs #94

@bsideup thank you - that's an extremely good point.

Two things:

I note you aren't using "withSince()" or "withTail()" on the LogContainerCommand, so when you call "followOutput()", you'll get all the output since the container started. That means, if you have two tests using the same container via @ClassRule, the second test will see the output generated during the first and second tests. That may not be the expected behavior! If you want to only capture log output that happens after you start listening, "withTail(0)" appears to work.

this doesn't give a way to capture the logs from a container that failed to start up. That's one of the main times I want to have log capture!

Thanks - good catches!
Re 1, I think I shall modify it to capture logs since the container start was triggered, to cover the @ClassRule case. I'll also expand this to allow a user to tail or capture all container output since startup - both seem like valid usages.
Re 2, that sounds a little odd. I'll have to look into this with the docker-java docs in front of me and work out whether this needs a different invocation.
Thanks for your input on this- I'm grateful.

On 29 Mar 2016, at 23:55, ostacey<EMAIL_ADDRESS>wrote:
Two things:

I note you aren't using "withSince()" or "withTail()" on the LogContainerCommand, so when you call "followOutput()", you'll get all the output since the container started. That means, if you have two tests using the same container via @ClassRule, the second test will see the output generated during the first and second tests. That may not be the expected behavior! If you want to only capture log output that happens after you start listening, "withTail(0)" appears to work.

this doesn't give a way to capture the logs from a container that failed to start up. That's one of the main times I want to have log capture!

―
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub


Update archive filename for reproducible comparison job

Fixes #1072

See also: https://github.com/adoptium/temurin-build/pull/3877

Semgrep failure needs an update to https://github.com/adoptium/ci-jenkins-pipelines/blob/b908532b05a3495bedafe27a736b0b9e4e650414/.github/workflows/semgrep_diff.yml
similar to https://github.com/adoptium/temurin-build/commit/aabf7a548c924d12501930df89ee907371d237e0

Semgrep fix now available here: https://github.com/adoptium/ci-jenkins-pipelines/pull/1075


Automatically Upgrade to TLS

If the server requests a TLS connection, identified via the "tls_required" flag in the server's info struct sent to the client in the connect handshake, the client should attempt to automatically upgrade to TLS if possible.
See https://github.com/nats-io/nats.net/pull/372 or connect logic in nats.go for reference.

@ColinSullivan1 the java client has this logic:
https://github.com/nats-io/nats.java/blob/main/src/main/java/io/nats/client/impl/NatsConnection.java#L512
...are you suggesting that if the server returns tls_required=true and the client does NOT require TLS we should still connect over TLS? ...and avoid throwing that exception?


Rethrow errors in a separate tick

Fixes #357
I have tested this in Safari TP 15 and it works great. Open to any other strategy for solving it though :)

Actually, it seems like Safari isn't keep the stack trace, but instead generating a new one pointing to the throw 😞


Blazegold pickaxe broke and didn't drop upgrades

Just Dire Things version
1.4.4
Minecraft Version
1.21.1
(Neo)Forge Version
21.1.69
Modpack & Version
Direwolf20 season 14, version 1.3.0
Do you have optifine or Rubidium installed?
None
Describe the issue
Blazegold pickaxe broke and didn't drop upgrades
Steps to reproduce

create Blazegold pickaxe. (the red one)
add upgrades to it like hammer, oreminer, orescanner
add enchantments to it like efficiency-2 and fortune-1.
mine with it until it breaks.
notice it doesn't drop the upgrades. be sad. :(

Expected behaviour
pickaxe drops the upgrades it has when the pickaxe breaks.
Screenshots
No response
Log files
No response
Additional information
Earlier my ferricore pickaxe broke and gave me the upgrades back so I am assuming that same logic would apply to the other pickaxes of the same mod.

ok scratch that. The upgrades went into my backpack as it has a magnet...


'socketcluster create' fails on windows due to uws

Creating app structure...
Installing app dependencies using npm. This could take a while...
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No license field.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v4.4.5
npm ERR! npm  v2.15.5
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture<EMAIL_ADDRESS>npm ERR! notsup Valid OS:    darwin,linux
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64

@picitujeromanov If you do npm cache clean and then install again, it should fix it. Let me know if you still get issues. Make sure you get the latest https://www.npmjs.com/package/socketcluster-server dependency.

it works, thank you mate @jondubois

Hi @jondubois ,
I wonder that how did you install SocketCluster on Windows despite uws issue?
I couldn't install the newest version because of uws and windows. Then I installed v4.6.0.

@efkan Make sure you do npm cache clean before you install. You need to make sure you have the latest socketcluster-server dependency https://www.npmjs.com/package/socketcluster-server

Now it works for me too :smile:
For some reasons I had tried to clean cache manually.
Thanx!


rsync -m: say goodbye to your build host filesystem data

Hello world :-)

New to MicroPython.
Using rshell 0.0.31.
Saw rshell help rsync:

rshell help rsync

No MicroPython boards connected - use the connect command to add one

usage: rsync [-m|--mirror] [-n|--dry-run] [-q|--quiet] SRC_DIR DEST_DIR

Synchronizes a destination directory tree with a source directory tree.

positional arguments:
  SRC_DIR        Source directory
  DEST_DIR       Destination directory

optional arguments:
  -h, --help     show this help message and exit
  -a, --all      Don't ignore files starting with .
  -m, --mirror   causes files in the destination which don't exist in the source to be removed. Without --mirror only file copies occur. No deletions will
                 take place.
  -n, --dry-run  shows what would be done without actually performing any file copies. Implies --verbose.
  -q, --quiet    Doesn't show what has been done.

Did use SRC_DIR=. and DEST_DIR=/.

rshell -p /dev/cuaU0 rsync -m . /

Said goodbye to a local user files :-(

This makes rshell extremely dangerous application when user provides invalid argument it will corrupt local machine without check or warning.

Situation should not be possible to take place.
Please consider preventing in any way local filesystem destruction.
Not sure if rsync should operate on a local filesystem as target at all (maybe simple board connection and board port+name check + prompt against DEST_DIR on rsync start would do the job).

This happened again, script did not provide variable to rshell rsync -m . /$VARIABLE, and rshell started deleting my all files outside project. This program and its syntax is a joke. Removing and will never come back. This tool is a threat to user files and system. Beware.

Yep - you said you wanted / which is the root of your your local computer, not located on the pyboard. i.e. very similar to rm -rf / will also remove all of the files on your machine.
I'll see what I can do about figuring out what "local" paths might be considered dangerous (/ and $HOME are obvious candidates). rsync should also probably complain if the source and destination are both local.

If you're not sure what directory you're using, you should use ls and verify that it's the directory that you think it is.

Hey @dhylands :-)
Maybe that sounds funny to create an application that will result in rm -rf / but I really lost lots of my files then lots of time to retrieve them to loose them again, first when learning rshell, second when using it in a script just to make sure that I get the board name right so then because of connectivity issues did not return the board name and it launched rshell rsync -m . / resulting in rm -rf /.
This syntax is a disaster I tell you do not use anything (i.e. /) that may even confuse local filesystem and the board filesystem.
For instance adafruit-ampy points only to local files while command tells you what to do with the board and the local file. This seems the safest approach. Another example is mpremote that clearly distinguishes between local filesystem (/) and board filesystem (:).
I hope it is not necessary for you one day to try out some new application out there that will remove all your files to understand what I mean.
Take care :-)

I agree. In this case rsync is trying to model the behaviour of the regular rsync command available in linux, and if you ran rsync -m . / if would also proceed to remove all of your files.
rshell distinguishes between local and remote resources by using the path and I can't really change that now without breaking lots of people's scripts. I think it should disallow / as a destination for some of the commands (like rm, cp, or rsync).
rshell's rsync command also has a --dry-run option (which neither copies nor removes files - just prints what it would do) which you probably should have considered using while you were testing your script.

Hi Dave, Have you tried using rshell on any ESP32-S3 boards from Adafruit?

Hi Dave, Have you tried using rshell on any ESP32-S3 boards from Adafruit?

I can't say that I have. I don't often use ESP32's

I tried rshell on a generic ESP32C3. It doesn't work as described, and in fact it sometimes doesn't work at all - it's apparently random if files on the target board appear, it's unlikely that I can do anything but cat a file contents if it appears. The likeness of folders doesn't work, etc.
Since the theory of operation or the normal behavior are not clear to a naive user, and since it's obviously not sufficiently tested, it has the potential of doing very bad things to the local file system, I now consider rshell a dangerous program that shouldn't be advertised for usage by anyone but by rshell developers.

I've been using rshell on the ESP32-S3 with no issues.
/pyboard is the default location of the ESP32 file system (as documented on the rshell page). So you should be doing things like:
cp somefile.py /pyboard

I'm searched for this issue after rsync -m some /   Blame me for docs skipping.
I propose to block rsync run when SRC or DEST is not belongs to a python device folder.


"make: *** [all] Error 2" when compiling the generate.cpp

Hello, I was trying to use CMake to compile the generate.cpp, and I execute “cmake .” and "make", it went wrong with "make", which says:
[ 50%] Building CXX object CMakeFiles/generate.dir/generate.cpp.o
/generatePOMfile/generate.cpp:67:63: error: ‘stof’ was not declared in this scope
if(!words[0].compare("HEIGHT")) height = stof(words[1]);
^
/generatePOMfile/generate.cpp:68:61: error: ‘stof’ was not declared in this scope
if(!words[0].compare("WIDTH")) width = stof(words[1]);
^
make[2]: *** [CMakeFiles/generate.dir/generate.cpp.o] Error 1
make[1]: *** [CMakeFiles/generate.dir/all] Error 2
make: *** [all] Error 2
Did I miss some installation? What's your configuration when compiling the generate.cpp?
Thanks
Zhenchang

This problem is sloved by adding the following to CMakeLists.txt:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")


Case Sensitive File Extensions

I was playing around with SimpleDirectoryReader and noticed that a Word document with a .DOCX  extension wasn't getting loaded but files with .docx extensions were loading file.  After changing the extension to lowercase, it seemed to work OK.

The issue is still there if you use the required_exts property to filter some of the files.
I have this code:
        required_exts = [
            ".pdf",
            ".png",
            ".jpg",
            ".pptx",
            ".ppt",
            ".docx",
            ".doc",
            ".xlsx",
            ".xls",
            ".csv",
            ".txt",
            ".html",
            "",
        ]
loader = SimpleDirectoryReader(
                local_folder,
                file_extractor={
                    ".pdf": UnstructuredReader(),
                    ".png": UnstructuredReader(),
                    ".jpg": UnstructuredReader(),
                    ".pptx": UnstructuredReader(),
                    ".ppt": UnstructuredReader(),
                    ".docx": UnstructuredReader(),
                    ".doc": UnstructuredReader(),
                    ".xlsx": SpreadsheetReader(),
                    ".xls": SpreadsheetReader(),
                    ".csv": SpreadsheetReader(),
                    ".txt": UnstructuredReader(),
                    ".html": HTMLReader(),
                    "": UnstructuredReader(),
                },
                required_exts=required_exts,
                recursive=True,
            )

It is ignoring the .DOCX files. When I updated only the required_exts list to include the .DOCX, it starts to work.
So, I think the same fix should apply to required_exts input be case insensitive.


XCube CCI Store throws ClientResponseErrors

It has been observed that the CciOdp sometimes crashes with an aiohttp.client_exceptions.ClientResponseError: 500 . This occurs with websites that are actually accessible. We need to prevent these errors or at least retry to access them.

Closed by https://github.com/dcs4cop/xcube-cci/pull/8


Feature Request: Wound Description Text Box

Would be very nice to have a text box within the edit window of individual wounds to allow the player to type in descriptions of the specific wound like "Goblin Arrow" or "Wolverine Bite" in order to help keep track of the sources of wounds.

This should be fairly easy to handle, and has other uses. There's presently no way to denote a crit, and while I'm not going to be mechanically implementing crit effects any time soon, it's good to have a place to mention them.
Would it be acceptable to include an optional 'Note' field in the wound dialog and in the wound edit sheet, and then have a spot where comments can be seen via mouseover? I was thinking something like this mockup:

Added. This'll be present in the next release.


Accept custom Conanfile path by env var

CONAN_CONANFILE should override cwd

Codecov Report

Merging #23 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
+ Coverage    98.7%   98.73%   +0.02%
==========================================
  Files           8        8
  Lines         155      158       +3
==========================================
+ Hits          153      156       +3
  Misses          2        2

Impacted Files
Coverage Δ

bincrafters/build_shared.py
98.29% <100%> (+0.04%)
:arrow_up:

bincrafters/__init__.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


fully usable, text content required

deployable dashboard - text content still required

Done. Let me check it out


half a gamess interface

bring your own input file. known to run and parse HF (rhf/uhf/rohf) and FCI. much regex from Nuwan de Silva

This pull request introduces 6 alerts when merging d7f083626cfa8187398c5070b2c6a8b85f724572 into ffdab9765f62bacb60ec612d622131112e14f78b - view on LGTM.com
new alerts:

3 for Unused import
1 for __eq__ not overridden when adding attributes
1 for Unused local variable
1 for Mismatch between signature and use of an overridden method

Comment posted by LGTM.com

The gamess interface is no further along, but I'm recommending this be merged because it's not hurting anything and, more importantly, I've standardized the found and get_version fns across the programs. Also added version stubs for cfour and nwchem. For those and gamess, have to run a miniature dummy file to get the header printed to scrape for version.


pqarrow/frostdb: accumulate results in Iterator

Previously, in some cases, the Table.Iterator method would push Records with a
single row one at a time to the next operator. This would happen especially in
cases where a distinct optimization is executed and a single value is written
per parquet page. This commit changes the scan process to write scan results to
a provided RecordBuilder in order to buffer results up to a specified
builderBufferSize (default=1024) and take advantage of processing these results
in tight loops downstream.
The results are especially noticeable in QueryTypes, which takes advantage of
the aforementioned distinct optimizations:
name          old time/op    new time/op    delta
QueryTypes-8     169ms ±11%      68ms ±13%  -59.43%  (p=0.000 n=10+9)
QueryMerge-8    27.0ms ±34%    23.4ms ±12%     ~     (p=0.095 n=10+9)
QueryRange-8    13.8ms ±15%    13.3ms ± 9%     ~     (p=0.356 n=9+10)

name          old alloc/op   new alloc/op   delta
QueryTypes-8     443MB ± 0%      88MB ± 0%  -80.21%  (p=0.000 n=10+9)
QueryMerge-8    39.9MB ± 0%    39.9MB ± 0%     ~     (p=0.497 n=10+9)
QueryRange-8    18.6MB ± 0%    18.6MB ± 0%   -0.05%  (p=0.000 n=10+10)

name          old allocs/op  new allocs/op  delta
QueryTypes-8     1.13M ± 0%     0.52M ± 0%  -53.55%  (p=0.000 n=10+9)
QueryMerge-8      104k ± 0%      104k ± 0%   -0.10%  (p=0.000 n=10+9)
QueryRange-8     6.61k ± 0%     6.49k ± 0%   -1.69%  (p=0.000 n=8+10)

I think I would still like to add a test or two (even if the test suite caught a bunch of things). I'll leave exploring improving the intermediate result cache on top of the record builder (to avoid having to recreate a builder if an optimization cannot be applied) to a future PR.

Cherry-picking #164 on to this PR gives us an addition 10% improvement:
name          old time/op    new time/op    delta
QueryTypes-8     169ms ±11%      50ms ±13%  -70.19%  (p=0.030 n=10+2)

name          old alloc/op   new alloc/op   delta
QueryTypes-8     443MB ± 0%      81MB ± 0%  -81.80%  (p=0.030 n=10+2)

name          old allocs/op  new allocs/op  delta
QueryTypes-8     1.13M ± 0%     0.45M ± 0%  -60.34%  (p=0.000 n=10+2)

Added a test for list types and refactored the list building code while I was at it. I'll let this PR sit for a bit in case there are further comments, but planning on merging this soon.


feat(compiler-plugin): added two simple checkers on the frontend part

Started working on the frontend part of the compiler plugin.
Implemented two checkers:

NoAlignInsideALoop: catches aggregate operations inside a loop without manual alignedOn
NoAlignOrDealign: catches explicit usage of align and dealign inside aggregate functions.

@FreshMag you did not allow modifications by maintainers, hence we cannot automatically rebase or merge the mainline into your branch. You need to keep it up to date yourself. For the next PRs, I recommend allowing them.

@FreshMag make sure all conversations are solved before asking for another review round :smile:

I have two general considerations for this PR:

The provided tests are not multiplatform, but JVM only (easy fixable I guess)
From what I can understand, we test that an aggregate function inside a loop without alignOn should produce a warning. But what about listOf(1, 2, 3, 4, 5).forEach { neighboring(it) }? The same for map, filter, and so on... at the current stage, do we want to intercept also these cases?

@DanySK @angelacorte

Better fix the MP part before merging. This PR is a kickstart and should build a solid basis for the next steps.
I'd go one case at a time. Let's do the for loop first, then we will improve step by step

Alright, I have changed the requested parts. Have you got any advice on how to fix the MP part?

Does the library you're using support compilation for KMP? Otherwise I think we'll only test the JVM side of the compiler.

Taking a brief look at the dependencies used in this module, for sure
apache-commons-codec = "commons-codec:commons-codec:1.17.1"
apache-commons-text = "org.apache.commons:commons-text:1.12.0"

those two dependencies are JVM only...
If we want to support KMP we should find an alternative to those libraries.

The first library is not used, probably a typo by me. I will fix it within the next few hours (by the way, it is also present inside the compiler-embeddable project).
The second library is used just for string utilities, but it can be easily replaced by implementing a simple method for string substitution.
I'm not sure if the Kotlin compile-testing library can be a problem as well?

@nicolasfara if they're only used in the test project, and if the test library is jvm-only, then it's not a problem is it?

@nicolasfara if they're only used in the test project, and if the test library is jvm-only, then it's not a problem is it?

No, it is not a problem: since this test project is meant to test aggregate anti-pattern or problematic code, it is not mandatory to make it KMP. At the end of the day, at this layer (frontend plugin) we should not deal with platform-specific stuff.

I have removed the apache libraries that were included inside the testing project. I will leave the Kotlin compile testing library as suggested.
As a first attempt, I have implemented a possible, incomplete DSL to replace the current program template formatting methodology. You can examine it in this draft.
Let me know what do you think about it and please provide possible improvements if needed.

I have removed the apache libraries that were included inside the testing project. I will leave the Kotlin compile testing library as suggested.
As a first attempt, I have implemented a possible, incomplete DSL to replace the current program template formatting methodology. You can examine it in this draft. Let me know what do you think about it and please provide possible improvements if needed.

I'll take a look in a moment


Add types of used services to Heartbeat (to better allocate time for features)

add aggregate metadata
to know how many people are using BitBucket before I pour myself into another one

Added to ekgclient: https://github.com/czechboy0/ekgclient/pull/1


Classes not showing at the correct time

I put up a few 1:15 to 2:30 classes and they look to 12:45 pm to 2 pm. Although this may also be that having the time in the middle of the block also makes knowing what each line represents is confusing.

Thanks for the hint. I forgot to account for the table header when computing percentages.


Visual Studio crashes due to TypeScript running out of memory

TypeScript Version:  <IP_ADDRESS>
Since I updated my Visual Studio 2015 to Update 3 this morning, it has started to crash very often. Basically at least once an hour. It's quite random, and unfortunately I cannot share any code (it happens when working on our commercial product). But I can share a stack trace that I get out of Event Viewer:
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OutOfMemoryException
   at Newtonsoft.Json.JsonTextReader.ReadData(Boolean, Int32)
   at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char)
   at Newtonsoft.Json.JsonTextReader.ParseString(Char)
   at Newtonsoft.Json.JsonTextReader.ParseValue()
   at Newtonsoft.Json.JsonTextReader.ReadInternal()
   at Newtonsoft.Json.JsonTextReader.Read()
   at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(Newtonsoft.Json.JsonReader)
   at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(Newtonsoft.Json.JsonReader)
   at Newtonsoft.Json.Linq.JObject.Load(Newtonsoft.Json.JsonReader)
   at Newtonsoft.Json.Linq.JToken.ReadFrom(Newtonsoft.Json.JsonReader)
   at Newtonsoft.Json.Linq.JToken.Parse(System.String)
   at Microsoft.CodeAnalysis.Editor.TypeScript.ScriptServices.JsonHelpers.TryGetResult[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String, System.__Canon ByRef)
   at Microsoft.CodeAnalysis.Editor.TypeScript.ScriptServices.JsonHelpers.ParseEmitOutput(System.String)
   at Microsoft.CodeAnalysis.Editor.TypeScript.ScriptServices.Proxies.LanguageServiceProxy.GetEmitOutput(Microsoft.CodeAnalysis.Editor.TypeScript.Features.ProjectDataCache, Microsoft.CodeAnalysis.Editor.TypeScript.ScriptContexts.ScriptContext, Microsoft.CodeAnalysis.Document, Boolean, System.Threading.CancellationToken)
   at Microsoft.CodeAnalysis.Editor.TypeScript.Features.CompileOnSave.CompileOnSaveHandler+<>c__DisplayClass18_0.<TryEmitAsync>b__0(Microsoft.CodeAnalysis.Editor.TypeScript.ScriptServices.Proxies.LanguageServiceProxy, Microsoft.CodeAnalysis.Editor.TypeScript.Features.ProjectDataCache, Microsoft.CodeAnalysis.Editor.TypeScript.ScriptContexts.ScriptContext)
   at Microsoft.CodeAnalysis.Editor.TypeScript.Features.TaskHandler.ComputeValue[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String, Microsoft.CodeAnalysis.Editor.TypeScript.ScriptContexts.ScriptContext, Microsoft.CodeAnalysis.Editor.TypeScript.Features.ProjectDataCache, Microsoft.CodeAnalysis.Editor.TypeScript.LanguageServiceOperation`1<System.__Canon>)
   at Microsoft.CodeAnalysis.Editor.TypeScript.Features.TaskHandler+<>c__DisplayClass11_0`1[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<PerformOperation>b__0()
   at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at Microsoft.CodeAnalysis.Editor.TypeScript.Features.TaskHandler+<PerformSemanticFeatureOperationAsync>d__15`1[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at Microsoft.CodeAnalysis.Editor.TypeScript.Features.CompileOnSave.CompileOnSaveHandler+<TryEmitAsync>d__18.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at Microsoft.CodeAnalysis.Editor.TypeScript.Features.CompileOnSave.CompileOnSaveHandler+<TryEmitAndSaveOtherDocumentsAsync>d__17.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at Microsoft.CodeAnalysis.Editor.TypeScript.Features.CompileOnSave.CompileOnSaveHandler+<ProcessFiles>d__14.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at Microsoft.CodeAnalysis.Editor.TypeScript.Features.CompileOnSave.CompileOnSaveHandler+<HandleFileSave>d__13.MoveNext()
   at Microsoft.CodeAnalysis.Editor.TypeScript.Features.CompileOnSave.CompileOnSaveHandler+<HandleFileSave>d__13.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_0(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

From this it is visible that it crashes when doing a Compile-On-Save and that it runs out of address space. I have plenty of physical memory free (several GB), but since Visual Studio is a 32-bit process, it isn't hard to exhaust the address space.
The project is fairly large, but this hasn't happened before, and we haven't added any significant amount of new code lately.

Thanks. we would love to look at the project if possible. we would be happy to sing any NDA to get access to your code.
The stack trace does not tell really where the memory is gone before this call. other than compile on save, do you notice increase in the VS process private working set?

//cc @vladima

No, I didn't pay attention to overall memory usage of VS (though it's a pretty big memory hog by default anyway).
Another hint that just came to my mind was that what I was doing this morning was some refactoring. While not a big thing in and of itself, it did introduce quite a bit of compilation errors for a while. Perhaps that is related? I'll check out if I can force it to crash this way.
I'll ask my boss about the NDA tomorrow (it's late evening here right now).

If you can share a heap dump we can also see what is using up your memroy

Gladly! But how do I make one? When VS crashes, it just shows the regular "Windows is checking for a solution..." and then "Restarting Visual Studio...". There isn't even a JIT debugger prompt for some reason. :/
I checked it out some more. It seems that the errors don't have much to do with it. The project compiles fine right now, but the problem is still there. I enter a new blank line, save the file, and off it goes. VS hogs around one and a half CPU cores, and the memory usage keeps steadily climbing on all counters there are (including private working set), until a few minutes later it crashes.
If I manage to hit "Save" again before that happens, the memory usage drops (somewhat) and the process stops. There is a message "The project contained errors. Output generation skipped." When I save again, the process starts again. Etc. Since I save often, the actual crashes happened more rarely to me yesterday.
I tried deleting the .ntvs_analysis.dat file, but that didn't help. Is there any other file where the Compile-On-Save feature saves it's partially compiled result? Perhaps that is outdated.
Anyway, I'll ask about that NDA soon.

Can you watt until memory/CPU usage spikes, make a full heap dump using 'procexp' or 'procdump' and share it?

I just found how I can do it with Visual Studio itself (attach another VS as a debugger, wait to crash, then Debug->Save Dump). Will that do?

Also, is there some private way how I could send you a link to the dump file? I don't mind sharing it with you, but I wouldn't want to make it publicly available.

feel free to email it to me mhegazy at microsoft dot com

Sent it.

For the benefit of others coming across this issue, adding info from an email by @mhegazy.
The problem is caused by the combination of "compile on save" and "combine javascript output into file". The output from the operation is very large and causes large object heap fragmentation. The workaround is to avoid "compile on save" and use tsc --watch instead, or just compile manually. The fix for the issue is already on the roadmap, but it's a large change and won't be available soon.

@Vilx2 we should have a fix for this in the next release. so stay tuned.


[SDS-982] deleting projects added

added a clean up step to the pipelines to clean up the projects using the same token as the ci/cd pipeline does to create them

Coverage: 100.0%. Remained the same when pulling 31fd09841ff4a9c2e08b68ffc3a3e14eee43ceb0 on feature/SDS-982/add_example_delete_projects into 81df36207e25f707c4f0ffbfeae56cea3b1ef486 on dev.


Flatten Tool: Expose --preserve-fields

https://flatten-tool.readthedocs.io/en/latest/flatten/#preserve-fields
The most basic implementation would be upload JSON file(s), and then check/uncheck which fields to include in the flattened files.
A better, advanced version would be to allow the user to check boxes for use cases. On the backend, we will have already organized the fields into use cases.

@juanpane suggested to add a way to search for fields. Personally I think something like a tree selector may be useful.

We can also consider https://select2.org It doesn't have multiple levels of hierarchy (though, if we put the full path, the hierarchy will be evident), but it does have a lot of nice features.

Closed by #108


Feature Request: Export one Template for better merging stuff local vs productive server thing

Hello it would be nice if we can build the feature to just export one template and import one Template =)

Hey yo! Currently, you can import a single template. If you create/edit a template/design, there is an import button next to the save button. The import takes the json object exported by Unlayer.
I definitely can add a button that downloads a single design's HTML or Design Object.

@begservice This was implemented in the last release.
Try it out and let me know how it goes.

and now this plugin is better than the v4 version thank you !


web_archive_snapshot_url not showing up in REST API

I enable Internet Archive integration in my Settings and have access to the archived URLs by hovering the timestamp in the Dashboard, but am not sure why web_archive_snapshot_url is empty for all my links. The Django admin also doesn't show the snapshot URLs.
Did I overlook anything? Thanks.
(I'm running 1.36.0 on railway)

Since 1.31.1 the UI will dynamically generate a "fallback" link to the web archive if no specific snapshot URL is stored in the bookmark. But that is not the case for the API currently. I guess it should.
For some background: In general, new snapshots on the IA are only created when you add a single bookmark, either via the UI or the API. It doesn't create snapshots for bookmarks that you have imported though. I removed that functionality as that created a large number of background tasks which then consistently failed due to rate limiting with the web archive API. It also didn't make sense to generate, and then link to, a snapshot from a website in it's current form if the bookmark was added two years ago. So instead it just generates a dynamic link to a snapshot from the time the bookmark was created, and then the IA will usually show you the nearest one. Worst case no snapshot exists but that should be rare.
I guess your issue is with bookmark that were imported then? Otherwise something would be wrong with background tasks, then you could check background_tasks.log for errors.

Makes sense. Indeed I imported loads of links into Linkding for a test drive.


example/widgets.rs: Executable size jump from 2MB to 17MB

I noticed that the executable size for cargo build --example widgets --release jumps

from ~2MB for 0.3.1-alpha1 with rustc 1.37
to ~17MB for 5cb3649 (latest commit 20 days ago) with rustc 1.41

Not sure if this means anything, but I thought I'd bring it up anyway just in case it's important.

I've noticed the same. But it's not a matter of the Rust version and the increase seemed to happen much earlier.

.rodata section of the release executable jumps from 500Kb to 12Mb in a9653954fed7275328bc8e893c3465506154571e (this commit embeds ~12Mb font file OpenMoji-Color.ttf into theme crate)

Thank you for your research. OpenMoji is not yet used in OrbTk, I will remove it.

Remove openmoij font.


Putting an accent in a prompt causes Ollama EOF error

Bug Report
Description
Bug Summary:
Accents causing EOF issue. Pay attention to the logs where I've asked the same thing (in french) with and without accents. I've tested this directly with Ollama in terminal and with another UI client (Enchanted LLM) and it works.
Steps to Reproduce:
Type a prompt containing any accent like é.
Actual Behavior:
Internal error 500 returned by Ollama server.
Environment

Operating System: Mac OS Sonoma 14.4
Browser (if applicable): Arc 1.33.0 (not sure if relevant)

Reproduction Details
Confirmation:

[X] I have read and followed all the instructions provided in the README.md.
[X] I am on the latest version of both Open WebUI and Ollama.
[ ] I have included the browser console logs.
[X] I have included the Docker container logs.

Logs and Screenshots
Browser Console Logs:
N/A
Docker Container Logs:
2024-03-10 10:14:26 INFO:     <IP_ADDRESS>:20270 - "POST /api/v1/chats/new HTTP/1.1" 200 OK
2024-03-10 10:14:26 INFO:     <IP_ADDRESS>:20270 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
2024-03-10 10:14:26 http://host.docker.internal:11434
2024-03-10 10:14:26 {"model":"mixtral:latest","messages":[{"role":"user","content":"Rédige moi un email pour expliquer à mon patron que je souhaite quitter son entreprise. Tu es un avocat. Soit concis et formel."},{"role":"assistant","content":""}],"options":{},"stream":true}
2024-03-10 10:14:26 INFO:     <IP_ADDRESS>:20270 - "POST /ollama/api/chat HTTP/1.1" 500 Internal Server Error
2024-03-10 10:14:26 http://host.docker.internal:11434
2024-03-10 10:14:26 INFO:     <IP_ADDRESS>:20270 - "POST /ollama/api/generate HTTP/1.1" 500 Internal Server Error
2024-03-10 10:14:43 INFO:     <IP_ADDRESS>:20271 - "POST /api/v1/chats/new HTTP/1.1" 200 OK
2024-03-10 10:14:43 INFO:     <IP_ADDRESS>:20271 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
2024-03-10 10:14:45 http://host.docker.internal:11434
2024-03-10 10:14:45 {"model":"mixtral:latest","messages":[{"role":"user","content":"Redige moi un email pour expliquer a mon patron que je souhaite quitter son entreprise. Tu es un avocat. Soit concis et formel."},{"role":"assistant","content":""}],"options":{},"stream":true}
2024-03-10 10:14:45 INFO:     <IP_ADDRESS>:20271 - "POST /ollama/api/chat HTTP/1.1" 200 OK
2024-03-10 10:14:53 INFO:     <IP_ADDRESS>:20271 - "POST /api/v1/chats/3a480ba3-b2b2-45f5-aa76-386fbe70db46 HTTP/1.1" 200 OK
2024-03-10 10:14:53 INFO:     <IP_ADDRESS>:20271 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
2024-03-10 10:14:55 http://host.docker.internal:11434
2024-03-10 10:14:55 INFO:     <IP_ADDRESS>:20271 - "POST /ollama/api/generate HTTP/1.1" 200 OK
2024-03-10 10:14:55 INFO:     <IP_ADDRESS>:20271 - "POST /api/v1/chats/3a480ba3-b2b2-45f5-aa76-386fbe70db46 HTTP/1.1" 200 OK
2024-03-10 10:14:55 INFO:     <IP_ADDRESS>:20271 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
2024-03-10 10:14:55 INFO:     <IP_ADDRESS>:20271 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
Screenshots (if applicable):

Installation Method
Docker desktop + Ollama desktop app
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Cannot reproduce the issue, seems to be working fine with the latest version. Could you make sure you're on the latest version?

Hi @tjbck thanks a lot for your swift answer ! I just deleted everything and reinstalled a fresh image image through docker and it works as expected.
I think I did a mistake during the latest update, all good now !
Have a great day !


【vscode.dev】 TS file or JS file the  IntelliSense is always loading.

1,In the latest version of Chrome open https://vscode.dev/github/microsoft/vscode-vsce
2,Open any TS file or JS file
3,You will find that IntelliSense is always loading.
It's been 1 hour and it's still loading See the screenshot.

Duplicate of #221299


Installation on a Laravel 4.2 project

I tried to install laravel-mongodb with composer this way:
composer require jenssegers/mongodb
But it failed, I got following at console:
Using version ~2.1 for jenssegers/mongodb
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove laravel/framework v4.2.17
    - jenssegers/mongodb v2.1.0 requires illuminate/events 5.0.* -> satisfiable by illuminate/events[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.4].
    - jenssegers/mongodb v2.1.1 requires illuminate/events 5.0.* -> satisfiable by illuminate/events[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.4].
    - jenssegers/mongodb v2.1.2 requires illuminate/events 5.0.* -> satisfiable by illuminate/events[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.4].
    - jenssegers/mongodb v2.1.3 requires illuminate/events 5.0.* -> satisfiable by illuminate/events[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.4].
    - jenssegers/mongodb v2.1.4 requires illuminate/events 5.0.* -> satisfiable by illuminate/events[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.4].
    - don't install illuminate/events v5.0.0|don't install laravel/framework v4.2.17
    - don't install illuminate/events v5.0.22|don't install laravel/framework v4.2.17
    - don't install illuminate/events v5.0.25|don't install laravel/framework v4.2.17
    - don't install illuminate/events v5.0.26|don't install laravel/framework v4.2.17
    - don't install illuminate/events v5.0.4|don't install laravel/framework v4.2.17
    - Installation request for laravel/framework == <IP_ADDRESS> -> satisfiable by laravel/framework[v4.2.17].
    - Installation request for jenssegers/mongodb ~2.1 -> satisfiable by jenssegers/mongodb[v2.1.0, v2.1.1, v2.1.2, v2.1.3, v2.1.4].

Installation failed, reverting ./composer.json to its original content.

How am I supposed to fix this?

Use ~2.0.

That gives total compatibility to L4?

I have the same issue what should I do? (please write the command that I should run, I'm not a composer expert)
 composer require jenssegers/mongodb
Using version ~2.1 for jenssegers/mongodb
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laravel/framework v5.0.27 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
    - laravel/framework v5.0.27 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
    - Installation request for laravel/framework == <IP_ADDRESS> -> satisfiable by laravel/framework[v5.0.27].

You should try:
 composer require jenssegers/mongodb ~2.0

Still doesn't work :(
→ composer require jenssegers/mongodb ~2.0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20121212/newrelic.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20121212/newrelic.so, 9): image not found in Unknown on line 0
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laravel/framework v5.0.27 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
    - laravel/framework v5.0.27 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
    - Installation request for laravel/framework == <IP_ADDRESS> -> satisfiable by laravel/framework[v5.0.27].

Why don't you ask the community at SO ?
Since this is not a bug, it should be closed.

http://laravel.io/forum/02-08-2014-difficulty-installing-laravel-getting-error-mcrypt-php-extension-required

And it is trying to install laravel/framework v5.0.27 instead of Laravel 4 like you asked in the title of this issue.

@askmatey I took this here cause I didn't knew if it's an issue with this repo or with laravel or any other thing. but thanks for mentioning Stack Overflow.
@gidomanders I am using laravel 5, does laravel-mongodb work with laravel 5?


[Question]: how the heck do i link discord to the game?

Question
it says in discord use your code from the server but i cant figure out how to get the code, please help i'm stuck

Have you been able to figure out this issue? I have the same problem.

No I have not unfortunately
On Tue, 12 Nov 2024, 3:37 am s1nhronn, @.***> wrote:

Have you been able to figure out this issue? I have the same problem.
—
Reply to this email directly, view it on GitHub
https://github.com/ErdbeerbaerLP/DiscordIntegration-Forge/issues/589#issuecomment-2468655019,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A24EK7YBYVP55YMCNINAKO32ADP6PAVCNFSM6AAAAABP2IWFC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRYGY2TKMBRHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

See here https://wiki.erdbeerbaerlp.de/dcintegration:linking
Please let me know if this fixes your issue


NTR: Meconium ileus

Parent: MP_0011082 abnormal gastrointestinal motility
def: Obstruction of the intestine due to abnormally thick meconium.
def xref: orcid.org/0000-0001-5208-3432, HPO:probinson
has_related_synonym: Distal intestinal obstruction syndrome
has_related_synonym: Meconium ileus on ultrasonography
(note- this the same as the HPO term, HP_0004401)

New term added:
meconium ileus	MP_0014036


Blacklist doesn't work

I tried to add 2 commands in the ~/.hstr_blacklist:
hstr --
abv
$ hstr -b

Command blacklist (2):
  ' hstr -- '
  'abv'

However this doesn't hide/exclude those entries from the history.
Here's my ~/.bashrc config related to hstr:
export HSTR_CONFIG=hicolor,raw-history-view,keywords-matching,blacklist    # get more colors and etc.
export PROMPT_COMMAND="history -a; history -n; ${PROMPT_COMMAND}"   # mem/file sync

if [[ $- =~ .*i.* ]]; then bind '"\C-r": "\C-a hstr -- \C-j"'; fi

I just would like "hstr --" not to be included in the history, but I do not what HISTCONTROL=ignorespace to be active.
VERSIONS:
hstr version "2.0.0" (2018-08-28T13:30:00)
Linunx 4.19.15-300.fc29.x86_64 #1 SMP Mon Jan 14 16:32:35 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Fedora 29 (Workstation Edition)

Reproducible on fc81bbd4c6ad87dad7b1a8261b88172e8d977399 @ zsh.

I finally found where is the problem - raw-history-view is not intentionally filtered.

So there's no way to have both raw-history-view and blacklist active?

@xidiot unfortunately it's not possible now, but I went through source code once more and I think that it's actually bug whose fix should not be difficult - reopenning.
Hint:

filter blacklisted entries in void add_to_selection(char* line, unsigned int* index)


Add Python Data Science, check_urls=free-programming-books.md

What does this PR do?

Add resource |  Improve repo

For resources
Description

Fix #4280

Add correct link of free Python Data Science book

#4280's link was not free

Also fixed up the github link above this resource to show the free Jupyter Notebooks version!

Why is this valuable (or not)?

Adds correct, free resource link; Cleans PR

How do we know it's really free?

On author's personal website!

For book lists, is it a book?

Yes

Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists  in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Followup

Check the output of Travis-CI for linter errors!

we want one link for this, not two.

Okay, I will update this PR to use the main website instead of the GitHub repository


sourcemaps not working with rc0

I originally posted this as a comment (https://github.com/driftyco/ionic-gulp-tasks/issues/22#issuecomment-250328376) in an ionic-gulp-tasks issue before realizing this is probably a more appropriate repo - oops...
Source maps appear broken with the new rc0 setup (I'm using the tabs starter with Crosswalk 2.1.0).
First of all, no form of sourcemaps are enabled by default in the starter project tsconfig.json, but that's not strictly an ionic-app-scripts issue. If you set "sourceMap": true, there will be ultimately two layers of indirection in the source map file references: main.js.map will point to ../../node_modules/ files (which work), as well as ../../.tmp/ intermediate .js files. The side-by-side intermediate .js.map files do point back to the original ../../src source files and you can see the sourceMappingURL=data:... comments in the Chrome debugger, but Chrome just ignores those references and only shows the intermediate .js file sources.
Then, if you try to inline the sourcemaps instead via inlineSourceMap and inlineSources in tsconfig as an attempt to bypass any path issues, the inlined source does make it to the intermediate js files (and the same options are mirrored in the generated tsconfig.tmp.json file), but the inlined source doesn't make it through to the www/build output. There's still only a regular www/build/main.js.map file generated without any inlined source :-(

We are definitely aware of this. We are going to be pushing out updates to @ionic/app-scripts fast and furiously taking advantage of semver and the ^.
Thanks,
Dan

Can't debug,I will not use ionic2.rc0

Any news on this issue?
I cannot use rc0 because of this bug, at now I'm using beta11 to be able to debug.

Can confirm. Already running on rc0 and it's a pain :-/

Are you saying you're not getting source maps on device?

No. The maps are wrong, they are not pointing to the source files. Read first comment.
Are you able to debug?

debug is very import ,can you debug from ts files.

is there any update on this? the problem is exactly as @rob3c described it on the top. It is possible to enable the generation of sourcemaps for ts->js and for scss->css but both of them are broken!
please fix or tell if we can assist in any way, but the current situation is really bad =/

srcmaps for ts -> js seem to be fixed thx to #556d2e3 please update version so this is installable via npm =)

@flobacher this patch works for you? updated app-script, same result but much faster 😄

That fix is not ready to go yet. We're working on this as I type this, though.
Thanks,
Dan

JS sourcemaps have been updated in the latest release. Please pull down the latest and let us know if it fixes your issues, thanks.

It is not working for me.
My steps:
Create a simple project with a button and set the click event to a function which have a console.log.
Add breakpoint to that function.
Run in android device with:
ionic run android -l
In VS Code (using Cordova Tools extension) debug with attach to running android on device.
The breakpoint is not working.
The same test with beta11 works perfect.
I have checked the generated map file and the is no reference to the source files.

not all ts files are available inside the sourcemap #101
but definitely fast forward, thank you for your good work

CSS still doesn't work, all I get is the main.css file.

@ovitrif you can generate srcmaps for sass with a custom sass-conig where you set sourceMap to true.
This will generate a srcmap file, the only problem is, that for some reason it looks to be broken.. =/

We made some additional fixes here, please test:
npm install @ionic/app-scripts@latest

Thanks for the fix.
I am to see the src folder and all my .ts files and able debug in chrome debugger.

Huge THX! Works for me as well!

I am going to close this issue since it is resolved now.
Thanks,
Dan

Pulling app-scripts@latest is not working for me.
Using "ionic emulate ios", which does a production build rather than the dev build of "ionic serve". Looking at www/build/main.js.map, it appears broken. The "sources" field should be the list of source files, however it is just the absolute filesystem path to the www/build/main.js file. There's no "sourceContents" field. The map is useless. Oh, and the app fails to load.
Can't do an "ionic serve" run to compare, because in dev builds I get a rollup problem, but that's a separate issue - I think. I'm suspicious, because everything worked this morning before pulling app-scripts.

@TiVoMaker, it might be best to blow away your node_modules and your www directory and just start with a fresh build.  Run npm run build to do a local prod build without deploying to the device.
Thanks,
Dan

Installing app-scripts@latest isn't working for me too.
The breakpoints works at first sight but goes crazy after one or two steps.

See #8292 now.

SourceMaps are not working fine,  @danbucholtz why has been closed?
There are some problems.
First:
When you run then command:
ionic run android -l
or   ionic build android
the generated bundle is prod instead dev so you cannot attach to the device to debug.
(I have done a hack in config.js to create dev builds always)
Second:
The sourcemaps are not well generated when you are debugging a ts sometimes you jump into the js file, as @cleever has commented
Third:
The breakpoint lines are not always accurate (I guess because of second).
Why the team is not testing the changes executing a test and trying to debug in a device?
It is very easy to do it with vscode and cordova tools plugin
In beta 11 everything works flawlessly.

concerning broken scss/css sourcemaps see: #46

I would like to confirm the issues that @jmesa-sistel is pointing are still occurring (upgraded to  the latest<EMAIL_ADDRESS>)
The dev setup I am using:

visual studio code, (using Cordova Tools extension)
emulated iOS over Mac OS X (Xcode 7.3.1)
that means that the sourcemaps issue is occurring with Safari as well.

Again, with ionic framework beta breakpoints were working flawlessly using the same setup.
What is the right thread to follow this issue?
I see this thread is closed, while https://github.com/driftyco/ionic/issues/8292 seems to be little off topic.

I have tested pull request 126 and now I can debug properly.
Please merge it for the next version

To be able to debug on device we need that

Merge pull request 126
"ionic run android -l" generate a dev build , start the live reload server and start the watch process.

Thnks

in package.json in scripts section you may have following
"scripts": {
.....
"ionic:serve": "onic-app-scripts serve"
}
Change as follows to force generating source map. Strangely production build forces the source-map but dev build (in serve) doesn't use.
"ionic:serve": "IONIC_SOURCE_MAP=source-map ionic-app-scripts serve"

You can set a config setting in package.json too. That is cleaner IMO.
...
"config" : {
   "ionic_source_map" : "source-map"
}

Thanks,
Dan

For me the problem was that when you're remote debugging on an android device, Chrome debugger cannot access the source map file on the device. The solution/fix is to include the source map inline - see details at https://github.com/driftyco/ionic-app-scripts/issues/610

For me the problem was that when you're remote debugging on an android device, Chrome debugger cannot access the source map file on the device. The solution/fix is to include the source map inline - see details at https://github.com/driftyco/ionic-app-scripts/issues/610


User should be able to browse aepps store

For an MVP could be hardcoded (or predefined)
In future could come from aepps.com
Long term vision: A potential aepp, called aepps-store
Requires clarification

is this any different from the current version of the browser (which has not been released yet)?

Yes its different the idea is to have some aepp store outside the base aepp possibly as its own independent aepp. Initially it could just have hard coded values but eventually this evolves to a place where ae-dapps are submitted, reviewed and approved like apple's app store


import data with input definition

Description
We need an api endpoint to ingest raw csv/json data described by an existing import definition.  This endpoint will need the definition name and raw data as a payload.
I think we need to make a decision on whether to create a new /input to handle ingesting raw data tied to a definition or could we instead extend the existing /import API to support this functionality
Implementation
/input API description
Send data as a json object:
POST /input/taxi-ride -d "<json>"
Content-Type: application/json

Send data as a csv record:
POST /input/taxi-ride -d "<csv>"
Content-Type: text/csv

The following two endpoints are optional and really just meant to be available
to help a user construct their payload objects in the correct format.
Retrieve an example input data payload:
GET /input/taxi-ride
Content-Type: text/csv

Return: <csv>

GET /input/taxi-ride
Content-Type: application/json

Return: {json}

Compatibility
To reduce confusion we may consider combining the existing /import endpoint and cmd with the /input functionality.  There will be significant overlap in functionality and this could reduce user confusion with one method to ingest data.
The existing /import API ImportRequest Protobuf described a specific data structure with rows, columns and timestamps per index, frame, slice.
I am proposing that this existing format could represent a default import definition.
There will be overlap with the existing import command and ingesting raw data.

Both will need to be chunked into appropriate sizes before being sent to the api
Once the mapping is decoded we may want to sort the data by slice and by row for faster ingestion.

I understand the urge to combine input with the existing import, but I would personally like to keep them separate for now. To me it will be more confusing if we try to make import do too many things at this stage. I can see us eventually adding support to the import that will be able to handle bulk data based on input definitions, but I would like to prove out a very strict version of input and learn from that first before we try to add complexity to import.

duplicate


WIP: Add support for OpenAPI in MP

Support OpenAPI in Helidon MP according to the MP OpenAPI spec.

Opened this PR against the fork; needs to be against oracle/helidon instead.


Access denied?

the script works great but it broke after few minutes and got this debug.txt file
[0601/103131.202:ERROR:process_reader_win.cc(123)] NtOpenThread: {Access Denied} A process has requested access to an object, but has not been granted those access rights. (0xc0000022)
[0601/103131.218:ERROR:exception_snapshot_win.cc(98)] thread ID 8732 not found in process
any clue what is the problem?

@cyberahm4d please share a screenshot of your execution and error. :)

As new version of the software is released, This issue is solved :)


[Questions] Any idea where to start searching to get or buy a valid certificate?

I tried some gamer forums, but it looks like every certificate is already banned.

Here are some methods to obtain expired EV certificates that can be used for driving signatures.
These methods come from the Internet and have not been fully verified and evaluated. Please use them with caution.

I do not assume any legal, data, or security related responsibilities or risks arising from the use of the following methods, nor do I encourage anyone to use the following methods for commercial purposes:

Please note: Prior to July 19, 2015, most EV certificates had cross signed CAs for signing kernel drivers, and at this time, keys were distributed through files rather than hardware
But after that, there are still some EV certificates that meet this condition. You can identify them by checking whether the signing certificate policy (CSP) and the corresponding CA certificate enable cross root

You can obtain certificates through forums by searching for free certificates or purchasing them on the black market (cautious, easily deceived). In addition, some companies sell these certificates, and even some individuals have been able to apply for cross root EV certificates for many years, such as Certum (around 2012-2016). Some personal certificates (even free, CN=Certum Level III CA) can be signed and driven. You can consider collecting or purchasing them
According to this article: [Finding and Utilizing Leaked Code Marking Certificates]（ https://tij.me/blog/finding-and-utilising-leaked-code-signing-certificates/ ）You can search for specific fields through specific search engines. I have tried and can obtain some certificates PFX, but cracking the keys of these certificates is very difficult, and you cannot know if the certificate you are preparing to crack is an EV driver cross certificate, or even if it is a code signing certificate
According to this post [Finding Your Own Leaked Driver Certificates]（ https://www.unknowncheats.me/forum/anti-cheat-bypass/460417-finding-own-leaked-driver-certificates.html ）You can try to obtain the certificate file by scanning Amazon AWS or other cloud providers, but I have not tested it, which poses legal risks

The above are some methods that I am aware of, and I would like to remind you again: they are for research and reference only, and the related risks need to be borne by yourself
However, I think we should consider other directions, such as disabling mandatory signature verification by modifying CKS or other methods:
https://github.com/HyperSine/Windows10-CustomKernelSigners/
https://bbs.kanxue.com/thread-273316.htm
Of course, the most important thing to change is Microsoft, and Windows should allow developers to test drivers themselves (with or without a signature) by enabling Secure Boot
And users should be allowed to trust the signature drivers from where they come, or at least allow EV signature holders to freely or test the drivers on custom/small-scale devices

@PIKACHUIM It might be worth looking into an option to configure Windows so that Windows always boots in F7 mode (without signature verification). After all, this mode works even if Secure Boot is enabled

Yes, it works. However, you need to enable it every time when you boot. π_π

@PIKACHUIM So maybe it's better to automate this method? So that the system always boots in this mode without having to turn it on. I'll try to find a solution.

Good luck! I think it's hard.
I found it's already done by EfiGuard.

And EfiGuard also need install DB or KEK on your bios setup.
For personal use, this is possible. However, if you need to distribute your driver to other users, it will be difficult. Although you can write to the ESP partition, if secure boot is enabled, users still need to manually install the key in BIOS setup


Hover child

How can I style a child based on hovering over the parent?
I've tried the following but it doesn't work
const styles = {
  root: style({
    backgroundColor: '#fff',
    ':hover': {
      backgroundColor: '#000',
    },
  }),
  child: merge(
    {
      color: '#000',
    },
    parent(':hover', {color: '#fff'})
  ),
}

function HoverComponent() {
  return (

Hover me

  )
}

That's now what the (admittedly badly named) parent function does. It prepends the selector to the target element (as opposed to appending). There's no real parent selector in css, so what you're asking for isn't possible, however, you could work around it.
const styles = {
  root: style({
    backgroundColor: '#fff',
    ':hover': {
      backgroundColor: '#000',
    },
  }),
  child: merge(
    {
      color: '#000',
    },
    parent('.myParent:hover >', {color: '#fff'})
  ),
}

function HoverComponent() {
  return (

Hover me

  )
}

You need a trailing space in ':hover', however be warned that it applies for all ancestors, not just the direct parent. I'd recommend you use a direct selector to be cleaner.
const styles = {
  root: style({
    backgroundColor: '#fff',
    ':hover': {
      backgroundColor: '#000',
    },
  }),
  child: merge(
    {
      color: '#000',
    },
    parent(':hover ', {color: '#fff'}) // note the trailing space, or use ':hover >'
  ),
}

function HoverComponent() {
  return (

Hover me

  )
}

You could also use a contextual selector
select(':hover > &', {...})

Cool, thank you very much for the explanation.
Really liking glamor, keep up the good work.
👍


Creating a new file in the project

Why is it necessary to specify an absolute path for the file?

Why is it necessary to specify an absolute path for the file?

This is done in order to add flexibility in managing the location of the created files.

Why is it necessary to specify an absolute path for the file?

This is done in order to add flexibility in managing the location of the created files.

Why is it necessary to specify an absolute path for the file?

This is done in order to add flexibility in managing the location of the created files.

I have not seen such functionality in other IDEs because, logically, all files are in the project folder

Why is it necessary to specify an absolute path for the file?

This is done in order to add flexibility in managing the location of the created files.

I have not seen such functionality in other IDEs because, logically, all files are in the project folder

Fixed. Now only file name is prompted.

Fixed. Now only file name is prompted.


generate missing Shortcut* objects

They are necessary to build a Gtk.ShortcutsWindow

Rebased, should be ready I guess:)

Looks good to me otherwise

Rebased & generated Gtk.ShortcutType enum

@GuillaumeGomez Green

Thanks!


Create a cluster, run a few tests and shut it down

The first step is to be able to bootstrap the whole platform using Dagger. This is almost done with this PR.
I'm indeed facing an issue with Tailscale in userspace networking mode which doesn't handle Split DNS.

Next steps is to work on the Destroy function

Destroy is OK!


SVG to PNG in different sizes

Converting SVG file to different sizes of PNG files is not working as expected
What are you trying to achieve?
I have a SVG file. I want to convert it into 3 different sized PNG file.
Ex:
SVG File:
sample.svg => height : 100 width:100
PNG Files:
small.png => height : 100 width:100
medium.png => height : 200 width:200
large.png => height : 300 width:300
medium & large PNGs look pixelated.
When you searched for similar issues, what did you find that might be related?
I have tried the same in svg2png npm. That produces the PNGs with good quality. But Phantomjs makes more problem in ARM64 processors.
<
svg2png(sourceBuffer, { width, height })
.then((buffer) => {
fs.writeFileSync(./${pngPath}/${name}.png, buffer);
return resolve(pngPath);
})

Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question
<
Method:1
export async function svgToPng(sourceBuffer, width, height, pngPath) {
const smallPNGLocation = ./${pngPath}/small.png;
const mediumPNGLocation = ./${pngPath}/medium.png;
const largePNGLocation = ./${pngPath}/large.png;
await sharp(sourceBuffer).png().toFile(smallPNGLocation);
await sharp(smallPNGLocation).resize(2 * width, 2 * height).toFile(mediumPNGLocation);
await sharp(smallPNGLocation).resize(3 * width, 3 * height).toFile(largePNGLocation);
return pngPath;
}
Method:2, Calling this method 3 times using promise.all with different dimensions.
#Tried with fill, cover, contain
export async function svgToPng(sourceBuffer, width, height, name, pngPath) {
const pngLocation = ./${pngPath}/${name}.png;
await sharp(sourceBuffer).png().resize(width, height, { fit: 'fill' }).toFile(pngLocation);
return pngPath;
}

What am I missing?

Please provide sample image(s) that help explain this question

Are you sure you're using the latest version of sharp? All versions from v0.30.0 onwards should automatically calculate the correct DPI to render at when resize/output dimensions are provided, to avoid pixelation.

Great. That worked with the latest version v0.31.0 Thanks Lovell.
Btw, A Hi from Ex-Science Direct colleague.

Ha ha, I didn't realise it was you Ajay, great to hear from you!


STAT-80 ⁃ Computational Rate Limiting

Over a configured "per-code-account-transaction-msg-rate-limit-time-frame-sec" time frame, each account will be allowed "per-code-account-transaction-msg-rate-limit" transaction messages. For every message on a transaction, its code account will be tracked.  If a message exceeds this rate limit, it will be rejected with a tx_msgs_code_exceeded exception.
Acceptance tests:

In the config file, set an appropriate per-code-account-transaction-msg-rate-limit-time-frame-sec and per-code-account-transaction-msg-rate-limit to allow for easier testing (setting the time frame longer will give more time to observe its effect and setting rate limit lower will allow you to more quickly hit the limit)
Construct many transfer transaction messages, using one code account, with the different messages having different authorized accounts. Also construct another transfer transaction message with a different code account.
Send the many transfer transaction messages with the same code account, until the per-code-account-transaction-msg-rate-limit is hit and verify no more are accepted for that code account.  Then send the transfer transaction message with the other code account and verify it is accepted.
Keep doing this over time to observe the time frame's affects:

Once limit is reached, waiting a second will allow (per-code-account-transaction-msg-rate-limit / per-code-account-transaction-msg-rate-limit-time-frame-sec) transaction messages to be accepted
If you wait per-code-account-transaction-msg-rate-limit-time-frame-sec, then per-code-account-transaction-msg-rate-limit-time transaction messages can be sent in a second

➤ Kevin Heifner commented:
[~admin] We understand this to be the same algorithm as STAT-81, applied to account contract code instead of scoped accounts.

➤ Brian Johnson commented:
Did peer review of production code with Kevin.  Now working on component tests.

➤ David Moss commented:
[~kevin.heifner] Yes.

➤ Joshua Lavin commented:
[~brian.johnson] Can you please add the details of the rate limiting algo to the ticket so we can properly review and QA? Thanks!

Resolved by #615


Remove: Google.AndroidStudio version 2<IP_ADDRESS> for 2<IP_ADDRESS>

Checklist for Pull Requests

[X] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[X] Have you checked that there aren't other open pull requests for the same manifest update/change?
[X] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Removing for:

#157321

Microsoft Reviewers: Open in CodeFlow

URL: https://redirector.gvt1.com/edgedl/android/studio/install/2<IP_ADDRESS>/android-studio-2<IP_ADDRESS>-windows.exe
OK
(Automated message - build 907)

Hi @aisgbnok,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 884.)


dockerize application

https://github.com/akyagmur/SWE573/commit/da8b2b4ceaf2098d70d42c5d3ad798bf56f82dab
with above commit, app dockerization completed


Updates for dvc.org integration

These are changes that made integration with dvc.org and the new version better/easier/possible.
Companion to https://github.com/iterative/dvc.org/pull/4118, which depends on this being merged and shipped.

Looks good to me. Since we are working on the nav section with a separate data file, should we also update the Hamburger menu to use the data?

Good idea! We absolutely need a better nav system, but I decided to deliberately hold myself back from bloating this PR with a big nav overhaul that would make it take longer. We can discuss more during the planning meeting.


Runtime(v1.0.6) + Tooling(v1.0.4) version bump

Issue #, if available:
126
Description of changes:
Bump version to release changes for supporting nodejs20 runtime and fix class transformer version incompatibility.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The hypervisor framework required for Docker is not supported on the ARM-based macOS runners provided by
GitHub. This issue was causing failures when attempting to run Colima with QEMU, which is unsupported on these runners - the mitigation for this is to switch to Intel-based macOS runners (macos-12)


USB connection example

Can you help me with an example of a USB connection for the QL-800 to Android. I can't identify the API reference. Thanks.

Hi @ebapp-dev ,
Thanks for reaching out about this. To print using USB the setup will follow the same approach as WIFI and BLUETOOTH but you'll instead use USB as the port. https://github.com/CodeMinion/Demo-Another-Brother/blob/main/lib/main.dart#L386
Because you can only have one printer connected there is no need to search so you can print right after the configuraiton.
Hope this helps but don't hesitate to reach out if there is anything else we can help with,


Unable to import dataset in Coco format

version:2.3.0
dataset directory structure:
├── annotations
│   └── test_abc.json
└── images
error info:cvat-app.tsx:357 Error: Request failed with status code 500. "datumaro.components.errors.AnnotationImportError: Failed to import item (4588, 'default') annotation: object of type 'float' has no len()\n"..

because,id 4588 annotations is:
{
"segmentation": [
123.16,
336.84,
625.2,
326.0,
632.41,
640.95,
95.92,
638.22
],
"iscrowd": 0,
"image_id": 1,
"area":<PHONE_NUMBER>0000002,
"bbox": [
95.92,
326.0,
536.49,
314.95
],
"category_id": 12,
"id": 1439
},
area is float

Hi, please check this example. The "segmentation" field should be one of: [ ], [ [x1,y1, x2,y2, ... ], ... ], or {"counts": [...], "size": [...]}. Probably, you'll need to add a pair of square brackets around the segmentation value list to fix the problem.

Hi, please check this example. The "segmentation" field should be one of: [ ], [ [x1,y1, x2,y2, ... ], ... ], or {"counts": [...], "size": [...]}. Probably, you'll need to add a pair of square brackets around the segmentation value list to fix the problem.

oh! thank you very much,it's my problem,But I think it would be better to include the format that doesn't meet the requirements in the exception message. You see, I saw an error and I don't know which field has the problem

it would be better to include the format that doesn't meet the requirements in the exception message.

It's a good idea, but it's very hard to implement for all supported formats. This request will be tracked in #1529


micro:bit v2

Hola Antonio,
Any chance your firmware works with the micro:bit v2? If so how?
Thanks,
Anthony

Since microbit v2 are nRF52 based it should work. However I couldn’t test it since I don’t have any.
Just grab the bin file and flash it accordingly to test it.

Thanks, I'll try


Missing many of the reports

Howdy,
I was trying to pull a report to show total minutes used per person but I found that I'm missing many of the reports listed on this page.  The only ones I see are:
Teams user activity, Teams device usage, Teams usage, Teams live event usage, PSTN usages, and PSTN blocked users.
I seem to be missing the Calling Plans and Minute Pools reports and maybe some others.  Any idea why?  We use Teams as our phone system so that's what I wanted to report on.

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

ID: 78ade1a4-092c-1132-44df-ee2c683fdd33
Version Independent ID: 396b1aee-2f40-9895-9b00-07e38d11d31b
Content: Microsoft Teams analytics and reporting
Content Source: Teams/teams-analytics-and-reports/teams-reporting-reference.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

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

@kelemvor33 Thank you for reaching out. Please let me know if these links help. - https://docs.microsoft.com/graph/reportroot-concept-overview. The reports in the Microsoft Teams admin center are separate from the activity reports for Teams that are part of the Office 365 reports in the Microsoft 365 admin center. For more information about the activity reports in the Microsoft 365 admin center, see https://docs.microsoft.com/microsoftteams/teams-activity-reports.

@kelemvor33 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.


Design and Build KPT: Text Page

[x]  Design in Figma
[x]  Build in Codepen
[ ]  Review

ready for review @pglevy @bnaolu

codepen review needed from @pglevy

Nice work! A few tweaks below we can do to make it even better:

Need to close (and open) separate paragraphs here to get the right spacing between them.

The last item here should be part of the same, first-level list, not a new list.

Let's add the usa-class link to all links in the content area. (Otherwise, by default, there is no hover or focus state.)

For the secondary nav, instead of dead links, we can actually make these functional since they are just jump links. For the href, add "#credit" for example. Then add an id parameter to the actual heading to match, but without the hashtag. (id="credit")

Credits and Version should be marked up as h2s.
Add Source link similar to other page templates.

needs to be put into repo


[FEATURE] Replace SASRec TF with PyTorch version

Description

SASRec tests are disabled: https://github.com/recommenders-team/recommenders/blob/main/tests/ci/azureml_tests/test_groups.py#L410
We could replace the TF algo with  https://github.com/microsoft/UniRec/blob/main/unirec/model/sequential/sasrec.py
Expected behavior with the suggested feature

Branch: https://github.com/recommenders-team/recommenders/tree/miguel/sasrec_unirec
Tasks:

[x] Create unit tests of the classes
[ ] Make sure the original script runs
[ ] Create a functional test with the minimal parts of the code training movielens

Other Comments

pytest -s tests/unit/recommenders/models/test_unirec_model.py::test_sasrec_train --disable-warnings

import cvxpy as cp
E   ModuleNotFoundError: No module named 'cvxpy'

solved with pip install cvxpy

Next step is to create a unit test called test_sasrec_train which should train sasrec with the minimum set of options on a dummy dataset.
The steps should follow the structure of https://github.com/recommenders-team/recommenders/blob/main/examples/00_quick_start/sar_movielens.ipynb:

Data loading
split train and test iterators
instantiate the model
train the model

if we want, we can also do:

evaluate
get metrics

After this, we will create a notebook explaining an end 2 end case with a real dataset, and we will replace the TF notebook.


Build failure: wrangler

Steps To Reproduce
Wrangler package has been broken since PR https://github.com/NixOS/nixpkgs/pull/322573
This application should work just fine on all systems and did before the change.
There seem to be multiple issues with it:

it's not a gui application, but currently depends on x11
musl is in the dependencies, but is not normally necessary for the build
patchelf fails on darwin (likely detects some library/binary as elf even though it isn't)

Also, some packages are removed even thought they seem necessary for workers deployment (like typescript).
In general it's a bit of a mess, even for linux-x86.
Notify maintainers
@seanrmurphy @dezren39 @ryand56

Add a :+1: reaction to issues you find important.

Removing musl and making autoPatchelfHook conditional:
lib.optionals (stdenv.isLinux) [ autoPatchelfHook ];

restores basic darwin functionality.
Checking X11 now.

The only dependency for it seems to be:
<EMAIL_ADDRESS>
which can also get yeeted from non-linux builds.

The platform comment is confusing, hope some maintainer can clarify:
cpp is required for building workerd

cpp is available on all platforms...
non-linux platforms may experience errors
on certain subcommands due to this issue.

What errors? Which subcommands?

Confirmed that worker deploy works even with all the currently removed packages.

thank you for doing this. i agree that this package could have been handled better. I had initially wanted to just update the hash downloads because of the complexity of this build, but instead we went with the full build approach.

What errors? Which subcommands?

My concern at the time was that building had a few issues on darwin, I didn't have any darwin devices at the time to explore more fully. I was able to get darwin to build but it was unclear if it would have been fully functional. It was suggested to just disallow darwin instead and so I went with that.

I'm guessing at some point we need to put workerd into it's own package.

This got auto closed from the PR, but I'll leave it open for:

musl removal (maybe changing the affected node module from precompiled into a standard one)
wranglerd separation/fix


How to change OrbStack linux machine's kernel version

Describe the bug
I want to change the Linux kernel version to 5.10.0, but after installing the kernel RPM and modifying the GRUB configuration, I restarted the machine and found that the kernel version is still 6.5.10-orbstack. Does orbstack support changing the kernel version? If it does, how can I make the modification?
To Reproduce
No response
Expected behavior
No response
Diagnostic report (REQUIRED)
No response
Screenshots and additional context (optional)
No response

Sorry, no plans to support this. Why do you want to change the kernel version?

This isn't something we plan to support. Please use a normal VM if you need to use a custom kernel.


Docstr coverage tests using Interrogate

Hello @noahsprent , this tries to fix #86

I have used Interrogate, which is much better than, and based on docstr-coverage
The tests/test_docstr_coverage.py is an added test which uses a configuration defined at pyproject.toml and can be easily edited from there.
There are a few further options:

Run Interrogate on every commit using pre-commit hooks
Create a github actions workflow

Awesome, thanks @mohitdmak! Tested running interrogate locally in a fresh venv with just interrogate installed and looks like it's working for me, and looks like from Github actions the interrogate dependency is being added and the .toml file is being 'prepared' fine.

I'll take your word on Interrogate over docstr-coverage, I just did a quick Google to see what was out there. How did you select the options in the .toml file? Are they just the defaults?
I'm not massively au-fait with item 3, but looks to me based on the .git/hooks directory in the repo that we aren't currently using pre-commit hooks anywhere, so might be better just include this as part of the actions. Given that currently we're failing the test it might be good to have this as more of warning for now while we decide which files to ignore and which ones need improvement.
Let's see what @jakebeal thinks.

I'll take your word on Interrogate over docstr-coverage, I just did a quick Google to see what was out there. How did you select the options in the .toml file? Are they just the defaults?
Yep, Interrogate has a lot more features, users and its repo looks more active too. The options in .toml are currently the defaults except the verbosity. I dropped them all in so that we get all configurable options in one place.
I'm not massively au-fait with item 3, but looks to me based on the .git/hooks directory in the repo that we aren't currently using pre-commit hooks anywhere, so might be better just include this as part of the actions. Given that currently we're failing the test it might be good to have this as more of warning for now while we decide which files to ignore and which ones need improvement.

Yeah sure, pre-commit hooks are not being used currently in this repo, so even I guess it should be left as another test in actions.

Yep, Interrogate has a lot more features, users and its repo looks more active too. The options in .toml are currently the defaults except the verbosity. I dropped them all in so that we get all configurable options in one place.

Cool, seems like a good strategy.

Yeah sure, pre-commit hooks are not being used currently in this repo, so even I guess it should be left as another test in actions.

You ok to add that then when it looks like it's working we can merge?

I'll endorse this approach. Please also open an issue for addressing the errors so that we can change back to strict once it's complete.


added external GCP DB support for CredHub

This PR adds proper CredHub configuration for external DB on GCP
Without it deploy-ert job failed and you should manually configure PAS tile configuration.
It also adds logic to configure jobs according to version, some jobs exist in 2.1 and 2.2, but not in 2.3 and 2.4.

Expected result after the change:
pcf-pipelines on GCP completes without failure

Current result before the change:
deploy-ert job on GCP fails

[x] I have viewed signed and have submitted the Contributor License Agreement

[x] I have made this pull request to the master branch

[x] I have run all the unit tests

Hi @kcboyle @jtarchie @nbconklin, is it any luck to merge PR this year? Or maybe it requires some improvements? Thanks, Konstantin.


Consolidate redundant PowerShell linting workflows

🗣 Description
After adding the MegaLinter (ML) PowerShell linter, we had two linters for PowerShell, both of which used PS Script Analyzer (PSA).  The original workflow was not working; that is, it never returned any linting issues.  The newer one that used ML was working fine.  The original was based upon code created by an individual and has not been updated for a couple years.  I tested with both the GitHub Action and Docker versions, but neither worked.  In the end, I removed the old workflow and kept the new one.   Using ML allows us to add as many different linters as we want using the same tool and nearly the same workflows.
💭 Motivation and context
There is no reason to have two workflows that use the same linter for PS.
🧪 Testing
I tested by pushing code and viewing the results in Actions.
✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All relevant type-of-change labels have been added.

✅ Pre-merge checklist

[ ] Revert dependencies to default branches.
[ ] Finalize version.

✅ Post-merge checklist

[ ] Create a release.

To @crutchfield and @dagarwal-mitre : This action is currently failing because some of the code has PS linting issues.  These should be resolved by the owners of the code, as we agreed when we added the ML linter workflows for the first time.

Can you stop redundant runs?

Removed pull request trigger, per our conversation.

@nanda-katikaneni , I think this is ready to merge into flipper.  Thank you!


deerma.humidifier.jsq2w missing property: current_humidity

Device model / 设备型号
deerma.humidifier.jsq2w
Component version / 插件版本
0.7.13
HA core version / HA版本
2023.11.3
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
The "environment.relative_humidity" attribute should be presented as "current_humidity" so the official humidity card would display the value as intended.
Now:

Would look like this if the attribute "current_humidity" were provided:

Entity attributes / 实体属性
min_humidity: 40
max_humidity: 80
available_modes: Off, Level1, Level2, Level3, Humidity
device_class: humidifier
friendly_name: Xiaomi Smart Humidifier 2
supported_features: 1
humidity: 60
mode: Humidity
model: deerma.humidifier.jsq2w
lan_ip: 192.168.x.x
mac_address: 64:xx:xx:xx:x:8A
entity_class: MiotHumidifierEntity
home_room: Home Living room
miot_type: urn:miot-spec-v2:device:humidifier:0000A00E:deerma-jsq5:1
humidifier.on: true
humidifier.fault: 0
humidifier.fan_level: 4
humidifier.target_humidity: 60
custom.water_shortage_fault: false
custom.the_tank_filed: false
indicator_light.on: true
alarm: true
environment.relative_humidity: 55
environment.temperature: 23
state_updater: lan
sub_entities: humidifier-2.fault-2, custom-7.water_shortage_fault-1, custom-7.the_tank_filed-2, alarm-5.alarm-1, environment-3.relative_humidity-1, environment-3.temperature-7, indicator_light-6

Home Assistant Logs / 系统日志
No response

hello. i'm facing the same issue with my dehumidifier dmaker.derh.22l by dmaker
is there a way to rename environment.relative_humidity and environment.temperature?
thanks

Try master branch.

Try master branch.

nice. solved! thank you

Cool, thanks, it works as supposed


TiCDC OOM due to lack of process level memory quota control

What did you do?
Currently, there is no process-level memory quota control in TiCDC, memory usage is proportional to table count. TiCDC (cluster) may OOM when there are many tables being captured.
Also, it may cause an avalanche effect of TiCDC OOM, suppose there are 3 TiCDC nodes running at 80% memory consumption, if one node fails accidentally, then remains TiCDC nodes will OOM after taking over its tables because of exceeds their memory limit (120% > 100%).
In k8s, the situation is even worse, because of the randomness in CrashLoopBackOff, it is impossible to restart TiCDC pods simultaneously. TiCDC pods end in OOM continually.
What did you expect to see?
TiCDC can downgrade services, but should not OOM.
What did you see instead?
OOM.
Versions of the cluster
Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):
TiCDC version (execute cdc version):
v6.4.0

/assign @hi-rustin

After v6.5.0, TiCDC has already supported changefeed level memory control.

The changefeed level memory control is not the process level memory control. A process means linux process, not the "processor" in TiCDC.


fix: MacOS arm64 Puppeteer workaround

Fixes and documents the issue related to Puppeteer not being shipped with a valid Chromium for MacOS arm64.
Closes #216
Relevant Puppeteer Issue:
https://github.com/puppeteer/puppeteer/issues/7740

Looks good! Can you adjust your wording on the Readme to state its a macos arm64 issue and not all arm64 issue?

@all-contributors add @bcanfield for code