Table of contents out of screen when using Splash Layout

[ ] This is a question about using the theme.
[ ] This is a feature request.
[x] I have updated all gems with bundle update.
[x] I have tested locally with bundle exec jekyll build.
[x] I believe this to be a bug with the theme --- not Jekyll, GitHub Pages or one of the bundled plugins.

Hi! First of all: this theme is awesome!
I've just updated to the newest unreleased version and I found the following problem:
When I use the splash layout with the table of contents and maximize the window, the table appears out of screen and I have to scroll right to find it. It looks like this:

(using the Quick-Start Guide as an example)
Though I have little understanding of your project, I believe this is relevant to the last few commits.
Is it possible to fix this problem? Thanks!

Thanks for this. You're right, it was related to the last couple of commits.
Table of contents don't typically show up on the splash layout so it wasn't something I designed for or noticed. Pushing a fix shortly.

So, in the end, did you decide to prevent toc's on splash pages?  I have the same need (the toc to show up either on the side of the text body OR inline).  Basically I don't use a sidebar for this particular website, and so it looks really silly unless I use the splash layout.

@vortexing Right side TOCs should work. I fixed this in the commits above back in November.
https://github.com/BoWuGit/bowugit.github.io/commit/d2ec18018f5bf991cd61458b20cac58cf8569414


fix typed slice range and append

Codecov Report

Merging #10 (7eb36bd) into main (81bfa6a) will increase coverage by 0.02%.
The diff coverage is 100.00%.

:exclamation: Current head 7eb36bd differs from pull request most recent head 3a9ee2e. Consider uploading reports for the commit 3a9ee2e to get more accurate results

@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
+ Coverage   90.53%   90.55%   +0.02%
==========================================
  Files          11       11
  Lines        4173     4182       +9
==========================================
+ Hits         3778     3787       +9
  Misses        298      298
  Partials       97       97

Flag
Coverage Δ

unittests
90.55% <100.00%> (+0.02%)
:arrow_up:

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

Impacted Files
Coverage Δ

stmt.go
91.01% <100.00%> (+0.08%)
:arrow_up:

template.go
72.17% <100.00%> (+0.49%)
: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 81bfa6a...3a9ee2e. Read the comment docs.


No such file or directory: 'streamlit' when strat up VectorDBBench

According to the following command execution, an error occurred.
pip3 install vectordb-bench
init_bench

2023-06-30 18:01:55,997 | INFO: all configs: [('CASE_TIMEOUT_IN_SECOND', 86400), ('DATASET_LOCAL_DIR', PosixPath('/tmp/vectordb_bench/dataset')), ('DEFAULT_DATASET_URL', 'assets.zilliz.com/benchmark/'), ('DROP_OLD', True), ('LOG_LEVEL', 'INFO'), ('NUM_PER_BATCH', 5000), ('RESULTS_LOCAL_DIR', PosixPath('/usr/local/python3/lib/python3.11/site-packages/vectordb_bench/results')), ('USE_SHUFFLED_DATA', True)] (__main__.py:11) (2367230)
2023-06-30 18:01:55,999 | WARNING: exit, err=[Errno 2] No such file or directory: 'streamlit'
stack trace=Traceback (most recent call last):
  File "/usr/local/python3/lib/python3.11/site-packages/vectordb_bench/__main__.py", line 31, in run_streamlit
    subprocess.run(cmd, check=True)
  File "/usr/local/python3/lib/python3.11/subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3/lib/python3.11/subprocess.py", line 1024, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/python3/lib/python3.11/subprocess.py", line 1901, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'streamlit'

I have solve this problem. The environment variable is not configured,  streamlit  cannot be found


Fix #493: Expose ACME structures for user-managed certificate renewal

Sorry for plowing ahead with this, but I was blocked on it in another project and wanted to make some progress.
Basically this exposes issue_cert along with the surrounding necessary structures, methods, etc. I made the following big changes:

issue_cert was made public and its responsibilities were restricted to only completing the ACME procedure.  Using the certificate is left to the caller (no serializing, no updating the resolver, etc).
A new simplified (no caching, no spawned TLS update loop) 443 listener was added
The Http01 port 80 listener was made public

The following shared state structures were also made public

AcmeClient - used by issue_cert but may be shared across invocations
ResolveServerCert - used by issue_cert, issue_cert caller, and 443 listener
http01 key map - used by issue_cert, 80 listener

And some other helper functionality was exposed, methods for avoiding transitive deps, etc.
There's an example showing the usage (just showing the parallel to the fully poem-managed ACME http01 process).  I believe it's minimal: there's not a lot of boilerplate and exposed functions and objects have clear uses, etc.
I'm happy to rename/reorg things, improve comments if things are unclear, or if there are other changes needed.

key_pair was only used by issue_cert and was already accessible via the AcmeClient so I changed issue_cert to access it that way.  Otherwise more internal structures would need to be exposed and passed through multiple layers, and I couldn't think of other ways that this would be needed.

I’m so sorry for taking so long to handle this PR because I’ve been busy with other things. 🙂

Oh wow, thanks! No worries, and I'm glad you thought it was reasonable!


Way to clear all data

Kind of a piggyback on https://github.com/nickoneill/Pantry/issues/32 , but I was thinking it might be nice to just obliterate everything saved inside.
I'll admit that mainly the reason I want this is for unit testing, so maybe it's not so high priority! I can just specify a new enableInMemoryModeWithIdentifier and get a fresh one :)
Still thought it might be a nice idea though.

agreed, clear all data makes sense.
I'll took a shot at implementing this @ https://github.com/nickoneill/Pantry/pull/34

We also have an interest in doing this for testing, see here. Perhaps just formalizing that is what we're looking for.


can we disable SSM cache through annotations or through properties file in spring boot ?

I have two queries

Is there any possibility to use memcache when I need for some period of time and disable for some period of time? If I disable memcache, every time it needs to be fetch from DB.If I enable, first it should flush cache and start caching DB data.

2.In spymemcached,  exceptions are handling internally and printing as warning messages(example is, if one of memcached server goes down). I would like to handle those exceptions in my code. is there any way to do ?
Thank you in advance.

Hi,

What kind of annotations do you use (Spring or SSM)? How many methods are cached/interrupted?
In case of connection lost you can use net.spy.memcached.ConnectionObserver that can be set in SpymemcachedConfiguration.

Hi,
Thank you for your quick response.
1.I am using SSM annotations. I need for all methods.
2.can you provide me small snippet for ConnectionObserver.

You can disable caching in SSM by creating custom bean of type com.google.code.ssm.Settings . It contains property disableCache that can be changed in runtime. To make sure that old data aren't used, before enabling cache you have to clean memcached. It can be achieved by using com.google.code.ssm.Cache.flush(). It will remove ALL data from memcached instance.
Here is source code of ConnectionObserver: https://github.com/couchbase/spymemcached/blob/master/src/main/java/net/spy/memcached/ConnectionObserver.java. Just create object of this type a set on SpymemcachedConfiguration.

Thank you for ample of information..
Solved all issues , but here ConnectionOberver is an interface..How to create an object for this.Do I need to implement methods in it?

A).How to declare annotations(ReadThroughCache, UpdateCache, Invalidate*Cache) for query methods in JPA repository or CrudRepository.
B).How to clear/ flush data for particular namespace. (if I use flush(), it is clearing all data from memcached server).

A) Take a look at https://github.com/ragnor/simple-spring-memcached/issues/80, you have to enable proper property on Settings and in case of generic interface provide additional configuration of bridge methods
B) Namespaces are some logic concept available only in SSM. Namespaces are not supported by memcached so you can only flush all data from the server. You might consider using multiple memcached servers and deploy each namespace to a different server.

Bingo!!
Thank you for valuable info.  👍  :)


Mark plugin-only dependencies in required targets as required

In tools-version 5.2 or higher, we only include dependencies which are required in the package graph. Historically, any dependencies required by a target that's included in a product was considered required, we also need to include any dependencies that vend plugins required by those targets.
fixes #4334
rdar://93982305

@swift-ci please smoke test

Test Suite 'Selected tests' started at 2022-07-11 21:37:33.135Test Suite 'PluginTests' started at 2022-07-11 21:37:33.137Test Case 'PluginTests.testTransitivePluginOnlyDependency' started at 2022-07-11 21:37:33.137/home/build-user/swiftpm/Tests/FunctionalTests/PluginTests.swift:909: error: PluginTests.testTransitivePluginOnlyDependency : XCTAssertTrue failed - stdout:
Compiling plugin MyPlugin...
Building for debugging...
[1/1] Compiling Library Library.swift
[2/2] Merging module Library
[3/3] Compiling TransitivePluginOnlyDependency TransitivePluginOnlyDependency.swift
[4/4] Merging module TransitivePluginOnlyDependency
Build complete! (1.73s)Test Case 'PluginTests.testTransitivePluginOnlyDependency'

Looks like the output of swift build looks slightly different on Linux, I'll update the test.

@swift-ci please smoke test

@neonichu do we need a 5.7 version of this PR?

@neonichu do we need a 5.7 version of this PR?

Yep, it's on my list to open one.


Default schema generation in dataset upload form

Is your feature request related to a problem? Please describe.
When uploading a dataset users should be able to define a default schema for the dataset they are uploading.
Describe the solution you'd like

Users should be asked to define a default schema for the overview graph
Users should be warned if the suggested overview schema crosses a threshold of nodes/edges by calculating the ratio between the unique values in the anchor and unique values in the link and compering it to a threshold
Users should be asked to define a default schema for the overview graph, they should be warned if they try connecting features with invalid cardinalities

Additional context
#1 should be done before

Is handled in improvements branch by generating connections based on anchor-link selection


Translate to Brazilian Portuguese

Thanks so much for working on this!
There are a couple of things I noticed after a quick look at this:

The images you updated (so awesome!) aren't being used

The style will need to be fixed on the language menu

The button on the home page doesn't take you to the translated page (if you change the language on the front page) (this is likely my bug)

The last two I will look into fixing myself but maybe you can take a look at the images one?

Sure. I'll do it

Built pr-br challenges once again and now it's ok, but one image is not translated. I've called @rian-vergara (images translator) already

Done ^^

Thank you!! 🎉

:D


boards: opta: enable ADC, RS485 and ethernet reorganization

This set of changes enables the RS485 hardware connected to usart3 and provides some overlays that allow for easily running the modbus rtu_client and rtu_server samples on Opta.
A valid device tree configuration is provided for the ADCs of the 8 input channels and the sample adc_dt works out of the box. Obviously this is not the only possible configuration but it provides a good template for further customization without the need to lookup the ADC GPIOs and connections in the schematics.
Also, the status = "okay" was removed from ethernet configuration in the device tree to avoid always committing 16KB of RAM for the network buffers. As shown in the new overlay for the telnet sample it is sufficient to add it back to get a fully working network connection.

As this PR seems to be having three components that are being changed/reorganized, I suggest separating them to three commits for easier review and maintenance.

As this PR seems to be having three components that are being changed/reorganized, I suggest separating them to three commits for easier review and maintenance.

I separated the changes in three commits but now I have a doubt: do you mean a single pull request with 3 commits or 3 different pull requests?

I separated the changes in three commits but now I have a doubt: do you mean a single pull request with 3 commits

Yes, this is what I meant. No need to have three PRs.

Done. The chnages have been split into 3 commits:

ethernet reorganization to avoid consuming RAM when not needed
RS485 support
ADC support

However, the Ethernet commit still contains unrelated DTS file changes (SDRAM, Flash, UART, USB). I think a separate commit for these with a little background on the changes would be helpful.

@pillo79 done. Note that the USB change in the first commit (ethernet) does not change anything: it's just a comment clarifying that the USB is assigned to M7 by default to have a working console in the common case.

@facchinm @pillo79 I tried running the failing test on my local machine in every possible way and it never fails. Do you have any suggestions about how to replicate the CI environment to understand what's happening?

@fogzot I was always lucky that those issues usually fixed themselves with a rebase on the latest main, but it wasn't the case here. :slightly_frowning_face:
You can download the docker image used by CI with these instructions, so you could try running the test there. More info on the actual full CI setup should be in the .github/ folder in the repo, but not sure how much can be replicated locally.


add a possibility to edit the command before executing it

Idea: when over a menu item [tab] puts the command in the command line ready for editing, [enter] executes it

This is now in: https://github.com/ricklamers/shell-ai/pull/21
I don't think InquirerPy supports tab actions unfortunately, could be mistaken.


Pick schemas up directly from repo

Per @sarahhunt's suggestion in PR #27, re-architect so that the schemas are freshly loaded from the official GitHub repo every time the compliance suite is built. This would greatly aid in automating a continuous integration workflow between all three repos.

Created matching issue https://github.com/ga4gh/server/issues/660

I think it would offer a better user experience if we automatically copy the schemas to some well-known place when they're built (or tagged, maybe), and let developers pull them when needed.
I've created havoc for myself a couple of times by copying the schema files into my local compliance or server branches, only to discover some conflict (in the test data, say) that stopped me.  If the copy could happen automatically/behind my back, I'd be even more confused, more often.
I have some thoughts about where we could push the schema files.
That said, we may want to wait to tackle until the whole Avro/Protobuf conversion is out of the way.

the well know place is github.   Ideally it would happen given a repo+ tag/branch.  That would make if far easier for developers to work in their own branches.
A 4th repo, containing the build system that pulls and build the whole system is something to consider.  There are multiple systems built on git like this, for instance, Android has one.

I'm not sure how we'd do this --- have we a rough outline of how this would work? Would this pull down the schemas fresh on mvn install or whatever?

I would have a build repo that has a mvn that does it all.
I am not sure if submodules would work, because the submodule is tied
to a particular commit.  One would probably want a branch.
I believe the Android repo facility address just this problem:
 https://source.android.com/source/developing.html

Jerome Kelleher<EMAIL_ADDRESS>writes:

I'm not sure how we'd do this --- have we a rough outline of how this would
work? Would this pull down the schemas fresh on mvn install or whatever?
—
Reply to this email directly or view it on GitHub.*

Herb and Maciek will be proposing a system for building all three repos that handles the needs of developer working on topic branches as well as building official release.

At the very least we should have a single place in the compliance suite where the version number of the schemas is sourced. As currently stands, I had to grep some 20 files to update this in PR #138


feat: Added global handling middleware

Summary
Added global handling middleware.
Details
Global handling middleware which handles all unhandled errors. Middleware is returning ProblemDetails ( according to RFC 7807 ) response which is serialized to Json format. Handler is able to be extended with new custom exceptions which MUST inherti Exception class.
References
RFC 7807

Please update PR's data: Assignees, Labels and ticket connection.

Please re-request review if work over this PR is finished.


Renaming pythonDL to be lowercase

Description
Apparently, docker image names need to be all lowercase. Adjusting pythonDL as such. We should add a check to ensure that the tool's name is all lowercase...

Minor naming change, merging without approval.


Sumeru Digital Branch

completed requirements

added media query in header

Please resolve the following merge conflicts:
package-lock.json
package.json
src/App.tsx
src/index.html
src/main.jsx
tsconfig.json
webpack.config.js

Hi I just saw you have created a different branch sumeru, and this conflict is coming from main branch, so do you want me to fix this merge conflict in the main branch itself by trying to sync the project or push in the sumeru branch.

Hi I just saw you have created a different branch sumeru, and this conflict is coming from main branch, so do you want me to fix this merge conflict in the main branch itself by trying to sync the project or push in the sumeru branch.

Yes, please push to the Sumeru branch going forward.


Make fromArray() chainable (aka return $this)

Just when I thought I was done with Propel.
In general, methods of ActiveRecods are chainable, but ->fromArray() isn't, meaning you have to write:
$book = BookQuery::create()->findPk($id); // get the object reference
$book->fromArray($data);            // call void method
$book->setChanger($userId)->save();           // finish

when you could just do:
BookQuery::create()
  ->findPk($id)
  ->fromArray($data)
  ->setChanger($userId)
  ->save();

Some people prefer the former, which is fine, and they can still use it, but lots of folks prefer the latter, lean version, and it is consistent with the other setters.
There really is no reason why the first one should be disallowed.

Codecov Report

Merging #1715 (8b92ad5) into master (d0d4214) will decrease coverage by 14.72%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             master    #1715       +/-   ##
=============================================
- Coverage     88.26%   73.54%   -14.73%
  Complexity     7707     7707
=============================================
  Files           261      261
  Lines         22084    21957      -127
=============================================
- Hits          19493    16148     -3345
- Misses         2591     5809     +3218

Flag
Coverage Δ
Complexity Δ

5-max
73.54% <100.00%> (-14.73%)
0.00 <0.00> (ø)

7.4
73.54% <100.00%> (-14.73%)
0.00 <0.00> (ø)

agnostic
73.54% <100.00%> (+<0.01%)
0.00 <0.00> (ø)

mysql
?
?

pgsql
?
?

sqlite
?
?

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

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

We need more reviewers on this one for it to be mergable.


Remove "exit" from svg animation

I am using termtosvg through Ubuntu on WSL. My animations all seem to have the "exiting" included in them, which feels kind of off-putting.
Example here - https://dhruvdh.github.io/ni/11_reactivity.html
I think it would be nice for there to be an option that makes it possible to exclude the "exit" from the final animation.
I ended the recording using Ctrl+D, in case this information is useful.

I realize I haven't been very clear in wording this issue. What I mean is at the end of each animation, there is an appearance of the word "exit" is Ctrl+D is pressed, or the user typing exit if that is how the user chose to stop the recording.
And I think it's best for this behavior to be optional.

When you start a recording, termtosvg spawns a new $SHELL process (or whatever command is specified by the -c command line argument). The recording stops when the process exits, so in the case of $SHELL it stops when you type exit or press Ctrl+D because that causes the shell session to terminate. What I'm trying to say is that "exit" is printed by the process being recorded, it's not a command of termtosvg. Excluding this from the output was already discussed in https://github.com/nbedos/termtosvg/issues/11 and I don't think it is possible to do it in a reliable way.
However, you can remove "exit" by manually the recording :

Record you animation : termtosvg record. This will create a file with the extension .cast
Open the .cast file with a text editor and remove the last few lines of the recording that show "exit" on screen. In the example below you would delete all the lines starting from time=3.458432
Render the animation : termtosvg render your_file.cast

{"version": 2, "width": 191, "height": 53}
[0.0, "o", "\u001b[0;31mnico \u001b[0;34m~\u001b[0;31m $ \u001b[0m"]
[0.375827, "o", "d"]
[0.407796, "o", "a"]
[0.656532, "o", "t"]
[0.735655, "o", "e"]
[1.27972, "o", "\r\n"]
[1.282084, "o", "Sat 26 Oct 2019 11:41:48 AM CEST\r\n"]
[1.282541, "o", "\u001b[0;31mnico \u001b[0;34m~\u001b[0;31m $ \u001b[0m"]
[1.743811, "o", "d"]
[1.823795, "o", "a"]
[2.351762, "o", "t"]
[2.407759, "o", "e"]
[3.455783, "o", "\r\n"]
[3.457858, "o", "Sat 26 Oct 2019 11:41:51 AM CEST\r\n"]
[3.458432, "o", "\u001b[0;31mnico \u001b[0;34m~\u001b[0;31m $ \u001b[0m"]
[3.775725, "o", "e"]
[3.823718, "o", "x"]
[4.215733, "o", "i"]
[4.303709, "o", "t"]
[4.631675, "o", "\r\n"]
[4.631931, "o", "exit\r\n"]

Thank you for taking the time for an detailed explanation instead of simply telling me what to do! It is very much appreciated.
Later when I have time I'll try to see if it's possible for me to implement an option for the record command that get's rid of exit from the .cast file automatically and send a PR.

I agree with @DhruvDh the last exit is distracting and "ruins" the utility of the tool. It inserts the exit command basically it makes the tool operation leak into the recording itself.
Especially in the context of using the tool to demonstrate command-line tools, it shows a command that we DO NOT want people to enter! The exit is there to stop the recording!

The exit is there to stop the recording - it has no place in the recording.
The recording stops when the process being recorded exits. If you're recording a shell session, yes, it will stop when entering "exit" or Control-D, but it's the shell that prints "exit" on screen. termtosvg shouldn't discard any information printed on screen by the process it records. And if termtosvg did discard information, it should do so reliably.

As already mentioned above I don't think there is a reliable way for termtosvg to detect which part of the recording should be discarded. The PR you just opened may work for your very own use case but it will fail when exiting a shell with another means than Control+D, or when recording a program that is not a shell, or when recording a shell that does not print "exit" on screen.

When we record a terminal the tool should not force us to record the keypresses that are not part of what we try to demonstrate.
Moreover, even though we press Ctrl-D it gets translated to the word "exit" which is actually confusing on top of everything, we did not type "exit" ourselves, yet the capture shows that.
My fix actually works surprisingly well. If one types exit then it keeps that fully since the last command is an enter that gets dropped. If one presses Ctrl-D then it cuts out the word being translated and does not mislead the viewer.

Also: I am quite convinced that the use-case that I demonstrate is what close to overwhelming majority (100%?) of the users of this library need. It really makes no sense to end every screen cap with an exit and mislead users into thinking they have to type exit to finish the demo.

When we record a terminal the tool should not force us to record the keypresses that are not part of what we try to demonstrate.

termtosvg records what's printed on the screen. It's not meant to second guess what you want recorded or not. If you want to preprocess your recording, run a three-step recording process:

termtosvg record recording.cast to record
Edit recording.cast based on your personal needs, either manually or automatically
termtosvg render recording.cast to render the animation

This is way more powerful than anything that I can offer. But yes, it puts the burden on users.

My fix actually works surprisingly well. If one types exit then it keeps that fully since the last command is an enter that gets dropped. If one presses Ctrl-D then it cuts out the word being translated and does not mislead the viewer.

It works for your own use case but currently breaks concurrency and all recordings for which you don't want the last frame dropped (e.g. most recording of something else than a shell session such as termtosvg -c python)

It really makes no sense to end every screen cap with the word exit and mislead users into thinking they have to type exit to finish the commands themselves.

Well, your shell prints "exit" on exit. If you don't like it, use a shell that doesn't.

You are too hung up in the specifics of "but shouldn't the library fulfill its promise of capturing everything" instead of what is this thing used for?

Yes, I do believe that a "terminal recorder" should record as faithfully as possible and I won't bake a pre-processing step into termtosvg to clean up the output of some programs.


Marketplace url doesnt  lead to item

Something is broken and the iframe url doesnt include the item url
https://ewallet.gooddollar.org/AppNavigation/Dashboard/Marketplace/item/E659BA4EB93143A090179D4A92616256

Checked on eWallet environment
Work as per requirements
https://www.screencast.com/t/sXmq38rSWG


Getting error on Wrangler config

By updating my wrangler version of 1.1.0 I am having problems with the configuration of my credentials.
When giving wrangler config <email> <api_key>  I always get the following error:

Note: When trying with real data it also throws the same error

I think from reading the code, you are supposed to do just wrangler config and it interactively asks you for this info.

I think from reading the code, you are supposed to do just wrangler config and it interactively asks you for this info.

In version 1.0.0 I did it as I showed in the previous example. What is the way to configure wrangler that is not interactively for continuous integration environments?

hey @juancampuzano , along with the interactive command for config, you can now use environment variables for email and auth key!
Previously, Wrangler required a global configuration file to be able to run. As many users may use Wrangler in situations where they don't have an interactive terminal, meaning they can't instantiate a config file using wrangler config, this PR allows Wrangler to run even if the config file doesn't exist. This change means that users can also configure Wrangler exclusively with environment variables, using $CF_API_KEY for your Cloudflare API key, and $CF_EMAIL for your Cloudflare account email.
However your comment has alerted me to the fact that we need to update this information in our README, so thank you for bringing that to our attention!

closing in favor of #378 Thanks for the report @juancampuzano!


Error running "npm run deploy-and-upload" on api-dashboard

Hello: I am trying to test the api-dashboard card project and not able to run the command. I get the following error:
PS C:\Development-Ish\experience-ethos-examples-main> npm run deploy-and-upload
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Development-Ish\experience-ethos-examples-main/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Development-Ish\experience-ethos-examples-main\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

turns out package.json file is not in C:\Development-Ish\experience-ethos-examples-main which makes sense. But I ran the command from within API-Dashboard and still ran into this issue:
PS C:\Development-Ish\experience-ethos-examples-main\api-dashboard> npm run watch-and-upload
npm ERR! Missing script: "watch-and-upload"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR!   npm run


Do profiling

Use perf or flamegraph or any other profiling methods such as the ones here to find what needs optimisation.

Lexer takes ~4/5 of the time, where ~1/3 of the total time is spent in str::parse.
Parser takes only ~1/5 of the time.


Adding Completion Items

This implements the CompletionItem provider discussed in #68
It adds snippets and documentation for all BrightScript interface methods except for a few more obscure ones such as ifFunction as well as any interfaces/methods listed as being deprecated.
It also adds a basic language wide snippets file to provide easy completion of all available BrightScript interfaces.

I'm not sure I understand why this check fails, I notice it will also fail with the constructor for vscode.SnippetString. Just let me know what I need to change and I will do so.

Thanks for this. I'll give this a look through in the next few days.

Hey. I did a quick scan through this (there's a lot!) and everything looks good to me. There was a merge conflict that I tried to resolve, but the build is still failing. Can you get it compiling again and push another change, and I'll merge it as soon as you do that?
Thanks for all of this work!

I forgot to mention, the issue is that I renamed the BrightScriptConfigurationProvider class to remove the word BrightScript. So I think you just need to remove that import from extension.ts

Lol, yeah there's a lot... I had already done a about half of the work for a previous sublime text plugin though so that helped. I'll get master merged in and fix the conflicts.

Added a line comment - I was concerned that this would get rid of the default completions; but it seems like it doesn't when it returns undefined. saying that though - can we get some info on how this works ? I pulled the branch, and don't see how to get these completions.
My concerns are:

That these will be prioritized over default completions, which will stop me getting completions to my own code when there are collisions, instead of letting me choose the correct one
The casing : will this observe camelCase or enforce PascalCase
Many people use vscode for it's excellent default completions and definition support : I think fundamental changes to these should be thoroughly documented, tested and made available in beta, before being merged down.

@georgejecook take a look at the github issue associated with this PR (#68). For the completions in this effort, they only appear when you have typed the exact name of the interface after the variable name, like so:
a = CreateObject("roAppManager")
a.ifAppManager.

In this case, the only valid completions that should be showing are the ones that @Romans-I-XVI now provides in this PR.


add tic.py for single-object crossmatching

went with urllib since the code was already working ;-)

Looks good, thanks! Once I have time, I may try to rewrite mast_query() with python-requests and put in timeouts and retrying like the other services modules.


Follow GitHub Action recommandation on versionning

If we follow https://github.com/actions/toolkit/blob/master/docs/action-versioning.md#versioning, this action needs to have a v2 tag that follows the latest release on the v2.x branch and so on.
See rlespinasse/release-that#17

Done since v2.1.0

Done since v2.1.0


Font size in rem instead of px

Describe the issue
Currently the default font-size is set to 16px and it will scale up to 20px if the responsive media queries are enabled. It would be better to use rem instead of px to support people that are zooming the font sizes. I did it on my own project with Pico and I can provide a Pull Request if you would like to have these change.
Current Behavior
The font - sizes are in px.
Expected Behavior
The font - sizes should be in rem.
Reproduction URL
Documentation Typography
Environment
All browsers
Additional Links

WCAG 2.1 - Resize text - Level AA
Josh W Comeau - The Surprising Truth About Pixels and Accessibility

Hi @kulturbande,
We set the root element's font size in pixels (px) and then define all the other font sizes in REMs. This way, we can easily scale all elements (padding, font size, containers, etc.) based on the base REM size.
I have a concern that the responsive scaling might not work if we use REMs for the root font size instead of pixels.
For version 2, which is currently in progress, I've been considering setting the root font size as a percentage. However, I need to do more research and testing before making a final decision.
@abernh,  I saw you had a similar comment in the What about the Version 2? discussion. What do you think would be the best solution?

I'm a web designer and I've had recently a good experience using vw as a the root element font size.
E.g.:

html {
    font-size: 1.1vw;
}

I don't remember where I've picked it up but it works surprisingly well, solving a lot of issues for me.

font-size: 100% because a11y
I'd leave the root font size alone. There is no reason to fiddle with it.
Even worse. IF you set a base-font-size on HTML you override the users set browser preferences.
This is all about accessibility. The important part is how it "scales" aka "zooms" when you have different default font-sizes set for the browser.
If you left your base font-size as-is and have your layout and font-sizes based on REM your layout will scale properly and you'll always have this nice ratio between layout and font-sizes that was initially planned.

 Advice. Ever. (for desktop)
@Nuc1eoN I have no idea how this ever worked for you. Not only resets this setting the default 16px for normal paragraphs to an insanely small barely readable font-size as soon as you're not in fullscreen (on desktop), but at the same time it is a ridiculous setting if you consider mobile.
Then again if you use this setting wisely on mobile you might have a winner because now, which ever the width of the users device, those paragraphs and especially titles all look exactly the same, break at the same word, etc.
BUT again, you leave everybody who decided to have a larger default font-size "in the cold".
If you want to scale font-sizes on mobile using vw you might want to use a @media query for that along
@media screen and (max-width: 768){
  h1{ font-size: calc(3vw * 3.6rem); }
}

not REM but EM for more flexibility
If you are courageous you don't use REM for your font-sizes but EM.
Yes, this will mean that everything starts scaling as soon as something changes the font-size but then again maybe simply be mindful not to change your font-sizes around.
This will also allow to easily apply something like vw-based font-sizes on mobile on body level.

@abernh Thank you for pointing that out!
For me it worked well, I have an auto scaling UI. On mobile I double the font-size vw factor using breakpoints. Yeah sounds ludicrous but also worth a shot for some projects.
I think we are missing the main point though. If you set root font size or not - everyone should decide for him-/herself.
However I would support the notion of using rem for everything else. Like sizing, paddings, and font-sizes.
This way the UI will scale with the users root font setting.
EM can be nice yes, but in practice I use it rarely. Mainly because often it leada to more confusion. REM has a certain clarity about it's behaviour, and that worka well.

Out of curiosity, what is the difference between 100% and 1rem for the default font size? As far as I understand the spec this should be the same and more common.

Setting 1rem as root font size does not make sense to me. The rem value is calculated from the root element font size, so it cannot be defined in rem.
Or rather you can probably do that, but then you can just leave it out entirely.

I think we are missing the main point though. If you set root font size or not - everyone should decide for him-/herself.

That's true @Nuc1eoN - everyone should decide for themselves. But who are you counting here as "everyone"?
For me it sounds more as if you are voting for "every website owner / developer / creator".
But I am talking about everyone as "every user". We are building for the users and they have to be able to use our creations. And if a user can help themself by having a larger default font-size set then I'm a happy creator if I know my setup supports that.
And if you set the root font-size you dismiss the users decision.

I would say 100% is a good fit.
@kulturbande just dont set anything. I'm sorry if my sub-title implied that but not specifying the root font size will leave it at those 100% or 1rem or simply the default the user has set in their browser and you're fine.


Problem on drawing circle RNA

If you draw a cyclic structure it generates an incorrect HELM string.  You can verify this by drawing a cyclic structure with CHEM links

It will generate a helm string:
CHEM1{[sPi]}|CHEM2{[sPi]}|RNA1{r(A)p.r(C)p.r(T)p.r(G)}$CHEM1,CHEM2,1:R1-1:R2|CHEM2,RNA1,1:R2-1:R1|CHEM1,RNA1,1:R1-10:R2$$$
This is incorrect.
Hit the apply button on the HELM panel.  The structure will flatten out.

Fixed in 2016-11-12 update

Tested - looks OK to me. Tianhong, please can you verify?

This one is originally reported by Jeff.

Confirmed fixed.


Add tax section

Section now calculates taxes based on the tax year added. It uses an average method to calculate allowable cost and it takes the tax rate and allowance as flexible parameters.
In the future we can add more tax calculation methodologies.


use getQualified where function ident is available

Codecov Report

Merging #5348 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #5348      +/-   ##
============================================
+ Coverage     82.21%   82.26%   +0.04%
- Complexity    10977    10985       +8
============================================
  Files          1330     1330
  Lines         43426    43421       -5
  Branches       5481     5479       -2
============================================
+ Hits          35702    35719      +17
+ Misses         5151     5135      -16
+ Partials       2573     2567       -6

Impacted Files
Coverage Δ
Complexity Δ

...in/java/io/crate/analyze/EvaluatingNormalizer.java
91.56% <100%> (+4.2%)
16 <0> (ø)
:arrow_down:

...ort/task/elasticsearch/SymbolToFieldExtractor.java
88.46% <100%> (-0.43%)
3 <0> (ø)

...ration/reference/doc/lucene/IpColumnReference.java
72.72% <0%> (-13.64%)
5% <0%> (ø)

...ration/collect/collectors/OrderedDocCollector.java
90% <0%> (-10%)
5% <0%> (-1%)

...io/crate/protocols/postgres/types/VarCharType.java
91.66% <0%> (-8.34%)
10% <0%> (-1%)

.../java/io/crate/blob/TransportDeleteBlobAction.java
75% <0%> (-5%)
4% <0%> (-1%)

.../collect/collectors/LuceneOrderedDocCollector.java
90.12% <0%> (-3.71%)
25% <0%> (-1%)

...o/crate/planner/node/dql/join/NestedLoopPhase.java
74.69% <0%> (-3.62%)
20% <0%> (-2%)

...rc/main/java/io/crate/blob/BlobTransferTarget.java
81.09% <0%> (-3.05%)
25% <0%> (-1%)

...crate/executor/transport/TransportShardAction.java
86.48% <0%> (-2.71%)
9% <0%> (ø)

... and 24 more

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 2cfaef7...f62ef2a. Read the comment docs.


Request: add config option or keybind for kleeslabs-like functionality in creative mode

Hi, so I found this mod recently, and I am a big fan of what you have done! I think it is the best slab mod I have found! As the title suggests, I'd like to request a keybind or config option for kleeslabs-like functionality in creative mode. I know that functionality is already in survival mode, but speaking as someone who primarily uses creative mode, I would love to have that feature added to it in some sort of way. With a keybind, I could quickly switch between editing half slabs and whole blocks. If for whatever reason a keybind can't happen, a config option would also be great! Anyways, that's my request, I hope you will consider it! Thanks for making this awesome mod!

For some reason, the curseforge comment section skipped my mind when I was commenting this, sorry if this was the wrong place to put this!

Hi! Thanks for the report. This is the correct place to put it :). Do you reckon it would be okay to simply have it so that if you are sneaking it doesn't break both or do you think it'd be better to make it so if you aren't sneaking it breaks both by default? (Maybe an option to choose which preference). Please let me know your thoughts :)

I think sneaking should make it break half! I think that is a good idea! My only concern is that often I am flying in creative mode, and while it is possible to sneak while flying, it's a little more annoying. But that's a minor inconvenience, and I do think the sneak functionality is a good idea!

Yeah I get your point regarding flying as I have experience this myself but hopefully the sneak check should be sufficient. This should be available as soon as I release the next version :)

Awesome! Thanks dude!


Unable to login with not signed up user in OAuth provider

Hello! I added custom OAuth provider into casdoor and users could login with it successfully, my provider could sign up the users, who were not logined yet. Then I setup some roles and permissions, and it's become unable to login with users, who were not logined and signed up in casdoor yet, because casdoor sign up them, but don't set any role. Is there any way to configure provider so it could register new user with any role?

When you add some permisions, it enters Allow-only mode, anything not explicitly permitted will be denied.
When I include new user into sub users to any role by hands, login is successful. I'd like, that it would be done automatically

What roles and permissions have you set?

There are my setup:
Model (default rbac model):

Role:

Permission:

Users:

On the picture with users you can see 2 users. Both of them were created, when I signed in with my custom provider. On the picture with roles I set one of users to "Sub users" by hands, and now I can login to my application with this user. But when I try to login to this app with second user (test2), I see this:

If I will add "test2" user to "Sub users" in my Role, I could sign in with this user too, but I want that my provider could do it automatically, when it sign up the user

@theburyat plz use Casdoor latest version
From the latest code, you can see, login will only be denied when the permission effect is deny
https://github.com/casdoor/casdoor/blob/b633ecdcf29fec5a828fb4180cf95392b2dad583/object/check.go#L353-L390

@theburyat fixed by: https://github.com/casdoor/casdoor/commit/616629ef99bcf49922aa42bc74f40223b1b25664


Update importPathToDir() to use x/tools/go/packages

Example was not working when using go modules, got
"Unable to find Go Package in your GOPATH, it's needed to load assets: cannot find package "github.com/go-gl/example/gl41core-cube" in any of:
  C:\Go\src\github.com\go-gl\example\gl41core-cube (from $GOROOT)
  C:\Users\agreen\go\src\github.com\go-gl\example\gl41core-cube (from $GOPATH)

See https://github.com/golang/go/issues/29952#issuecomment-457914790

I do think a fix is needed. GOPATH is definitely going away. I appreciate you looking into this.
Apologies for the long message, I don't have time to write a shorter one :). This is all just a suggestion - everything is up for negotiation if you can see a good alternative route forward.
I'm unsure if this is really the right thing to do anymore. Or really, if it what we had was the "right thing to do".
The problem which is trying to be solved is to find the asset. The issue is that "where the asset is" is just "in the clone of the repo". So we're already assuming that you built this from source and have a copy of the repo lying around.
$GOPATH was used in the past, which seemed like a reasonable thing to do since conventionally all Go code was cloned into $GOPATH. This worked because we assumed you cloned the repository and built it for yourself - implying that you would have $GOPATH set.
In the new world order though, there is potentially no $GOPATH. There is just a checkout of a repository somewhere. The result returned by x/tools/go/packages locating the source directory is actually a function of your current working directory, and the go.mod.
It doesn't seem right to me to introduce x/tools/go/packages to make a function packageToDir(package name) => package directory where the function f depends on your $PWD. Since it is really a function of your current working directory anyway.
The only benefit I can see of introducing this dependency is that it would mean that the example would work in any subdirectory below the go.mod. I think if anything, I would prefer to simply just look at a fixed relative path (relative to $PWD) and demand that the user runs from a specific place.
A downside of using x/tools/go/packages in an example is that it is teaching newcomers to use this package even though it only has this very limited benefit, I think. It could be confusing if a newcomer is expecting importPathToDir to locate assets regardless of what $PWD is, when that is not actually what is happening. I note also that x/tools/go/packages is a fairly large dependency and it doesn't make a lot of sense to me to pull in a large dependency for such a small amount of functionality.
My suggested course of action: remove importPathToDir and just look for the asset in ./path/to/asset. If this is not found, print an error message which makes it clear where the user should run from.

I just encountered this while trying to get the demos working on 1.13 with Go Modules. What about using the path returned by runtime.Caller(...) instead?
diff --git a/gl41core-cube/cube.go b/gl41core-cube/cube.go
index 4537576..bcf4b86 100644
--- a/gl41core-cube/cube.go
+++ b/gl41core-cube/cube.go
@@ -7,12 +7,12 @@ package main // import "github.com/go-gl/example/gl41core-cube"

 import (
        "fmt"
-       "go/build"
        "image"
        "image/draw"
        _ "image/png"
        "log"
        "os"
+       "path/filepath"
        "runtime"
        "strings"

@@ -334,9 +334,9 @@ func init() {
 // There doesn't need to be a valid Go package inside that import path,
 // but the directory must exist.
 func importPathToDir(importPath string) (string, error) {
-       p, err := build.Import(importPath, "", build.FindOnly)
-       if err != nil {
-               return "", err
+       _, f, _, ok := runtime.Caller(1)
+       if !ok {
+               return "", fmt.Errorf("failed to get caller")
        }
-       return p.Dir, nil
+       return filepath.Dir(f), nil
 }

Since there were some thumbs up to my comment above, I'm going to close this PR. Patches welcome to implement my suggestion!


Add support for WiFi7 802.11be modes

80/160/240/320Mhz - EHT80,EHT160,EHT240,EHT320
Hostapd must be updated as well to provide those values

[x] This PR is not from my main or master branch :poop:, but a separate branch :white_check_mark:
[x] Each commit has a valid :black_nib: Signed-off-by<EMAIL_ADDRESS>row (via git commit --signoff)
[x] Each commit and PR title has a valid :memo: <package name>: title first line subject for packages
[x] Incremented :up: any PKG_VERSION in the Makefile
[x] Tested on: (architecture, openwrt version, browser) :white_check_mark:
[x] ( Preferred ) Mention: @ the original code author for feedback
[x] ( Preferred ) Screenshot or mp4 of changes:
[x] ( Optional ) Closes: e.g. openwrt/luci#issue-number
[x] ( Optional ) Depends on: e.g. openwrt/packages#pr-number in sister repo
[x] Description: (describe the changes proposed in this PR)

Have you tested this?
(as it seems to have syntax errors, missing commas, I doubt that you have...)

I think there is a mistake at line 461:

so I tested this as I have a wifi7 device (banana pi4 be14) ... it doesn't show BE in the mode list
this is a snippet of my board.json
               "phy2": {                         "path": "soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0+2",                         "info": {                                 "antenna_rx": 7,                                 "antenna_tx": 7,                                 "bands": {                                         "6G": {                                                 "he": true,                                                 "eht": true,                                                 "max_width": 320,                                                 "modes": [                                                         "NOHT",                                                         "HE20",                                                         "EHT20",                                                         "HE80",                                                         "EHT80",                                                         "HE160",                                                         "EHT160",                                                         "EHT320"                                                 ],                                                 "default_channel": 1

it doesn't work I found a few more typos
also modules/luci-base/root/usr/share/rpcd/ucode/luci & modules/luci-base/htdocs/luci-static/resources/network.js will need to change and I guess also iwinfo

`--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
@@ -338,7 +338,8 @@ var CBIWifiFrequencyValue = form.Value.extend({
'', 'Legacy', hwmodelist.a || hwmodelist.b || hwmodelist.g,
'n', 'N', hwmodelist.n,
'ac', 'AC', L.hasSystemFeature('hostapd', '11ac') && hwmodelist.ac,

                          'ax', 'AX', L.hasSystemFeature('hostapd', '11ax') && hwmodelist.ax

                          'ax', 'AX', L.hasSystemFeature('hostapd', '11ax') && hwmodelist.ax,

                          'be', 'BE', L.hasSystemFeature('hostapd', '11be') && hwmodelist.be
                  ];

                  var htmodelist = L.toArray(data[0] ? data[0].getHTModes() : null)

@@ -361,7 +362,13 @@ var CBIWifiFrequencyValue = form.Value.extend({
'HE40', '40 MHz', htmodelist.HE40,
'HE80', '80 MHz', htmodelist.HE80,
'HE160', '160 MHz', htmodelist.HE160

                          ]

                          ],

                          'be': [

                                  'EHT80', '80 MHz', htmodelist.EHT80,

                                  'EHT160', '160 MHz', htmodelist.EHT160,

                                  'EHT240', '240 MHz', htmodelist.EHT240,

                                  'EHT320', '320 MHz', htmodelist.EHT320

           ]
                  };

                  this.bands = {

`
`--- a/modules/luci-base/root/usr/share/rpcd/ucode/luci
+++ b/modules/luci-base/root/usr/share/rpcd/ucode/luci
@@ -208,7 +208,7 @@ const methods = {
relayd:     access('/usr/sbin/relayd') == true,
};

                  const wifi_features = [ 'eap', '11ac', '11ax', '11r', 'acs', 'sae', 'owe', 'suiteb192', 'wep', 'wps', 'ocv' ];

                  const wifi_features = [ 'eap', '11ac', '11ax', '11be', '11r', 'acs', 'sae', 'owe', 'suiteb192', 'wep', 'wps', 'ocv' ];

                  if (access('/usr/sbin/hostapd')) {
                          result.hostapd = { cli: access('/usr/sbin/hostapd_cli') == true };

`
--- a/modules/luci-base/htdocs/luci-static/resources/network.js
+++ b/modules/luci-base/htdocs/luci-static/resources/network.js
@@ -3374,7 +3374,7 @@ WifiDevice = baseclass.extend(/** @lends LuCI.network.WifiDevice.prototype */ {
*/
getHWModes: function() {
var hwmodes = this.ubus('dev', 'iwinfo', 'hwmodes');

          return Array.isArray(hwmodes) ? hwmodes : [ 'b', 'g' ];

          return Array.isArray(hwmodes) ? hwmodes : [ 'b', 'g', 'a' ];
  },

  /**

i closed the pull - https://github.com/openwrt/luci/pull/7277

Closing in favour of other PR which works and has been tested.


Resolve Issue #37

Better handling of columns so osu doesn't fuse columns together.

With your code I have the following x-coordinates for each key ; 0, 102, 204, 307, 409, while the game generate 51,153,256,358,460
Btw I found this formula on the osu! wiki floor(x * columnCount / 512)
https://osu.ppy.sh/wiki/en/Client/File_formats/osu_(file_format)#holds-(osu!mania-only)

potentially better solution. The first one worked for me for both maps though.

I think it should work.
Thanks.


Editor tab context menus are broken on PWA

    On web (PWA), right clicking on the manage gear does not work. The context menu flashes up and immediately closes

Similarly, right clicking the account menu has the flash, but then the account menu instead of the ordinary context menu appears:

Sometimes these flashes are so fast as to be invisible, but other times you can see them, as in the recordings.
Originally posted by @connor4312 in https://github.com/microsoft/vscode/issues/163247#issuecomment-1332534197
This is also the case for editor tab context menus, which is probably the more important case.

@connor4312 what browser/OS are you using? This is not reproducible on Windows + Edge for me.

The PWA on macOS. Note that this does not reproduce in the browser version, only after installing the PWA

I am facing a similar issue on Ubuntu 22.04.1. It happens if I open a new window and context menu does not work. I have to close and open a new window again to try my luck.

Hey @sbatten, this issue might need further attention.
@connor4312, you can help us out by closing this issue if the problem no longer exists, or adding more information.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Unable to load Analyzer

I am getting this error
Unable to load Analyzer assembly c:\Users\userName.vscode\extensions\ms-dynamics-smb.al-9.3.646020\bin\Analyzers\BusinessCentral.LinterCop.dll : File c:\Users\userName.vscode\extensions\ms-dynamics-smb.al-9.3.646020\bin\Analyzers\BusinessCentral.LinterCop.dll was not found.
I have uninstalled/reinstalled the extension a number of times.  I cannot find the DLL in the .vscode\extensions folder anywhere.
What am I missing?
Full content of "problem"
[{
	"resource": "/c:/Users/userName/Documents/AL/AdvancedSampleExtension/app.json",
	"owner": "_generated_diagnostic_collection_name_#0",
	"code": {
		"value": "AL1005",
		"target": {
			"$mid": 1,
			"external": "https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/diagnostics/diagnostic-al1005",
			"path": "/en-us/dynamics365/business-central/dev-itpro/developer/diagnostics/diagnostic-al1005",
			"scheme": "https",
			"authority": "docs.microsoft.com"
		}
	},
	"severity": 4,
	"message": "Unable to load Analyzer assembly c:\\Users\\userName\\.vscode\\extensions\\ms-dynamics-smb.al-9.3.646020\\bin\\Analyzers\\BusinessCentral.LinterCop.dll : File c:\\Users\\userName\\.vscode\\extensions\\ms-dynamics-smb.al-9.3.646020\\bin\\Analyzers\\BusinessCentral.LinterCop.dll was not found.",
	"source": "AL",
	"startLineNumber": 1,
	"startColumn": 1,
	"endLineNumber": 1,
	"endColumn": 1
}]

The download is done via powershell, I have seen this problem when the execution policy is setup to be too restrictive.
/Stefan

Von: tscottjendev @.>
Gesendet: Tuesday, July 5, 2022 5:11:22 PM
An: StefanMaron/BusinessCentral.LinterCop @.>
Cc: Subscribed @.***>
Betreff: [StefanMaron/BusinessCentral.LinterCop] Unable to load Analyzer (Issue #200)
I am getting this error
Full content of "problem"
Unable to load Analyzer assembly c:\Users.vscode\extensions\ms-dynamics-smb.al-9.3.646020\bin\Analyzers\BusinessCentral.LinterCop.dll : File c:\Users.vscode\extensions\ms-dynamics-smb.al-9.3.646020\bin\Analyzers\BusinessCentral.LinterCop.dll was not found.
I have uninstalled/reinstalled the extension a number of times. I cannot find the DLL in the .vscode\extensions folder anywhere.
What am I missing?
[{
"resource": "/c:/Users/tscott/Documents/AL/AdvancedSampleExtension/app.json",
"owner": "generated_diagnostic_collection_name#0",
"code": {
"value": "AL1005",
"target": {
"$mid": 1,
"external": "https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/diagnostics/diagnostic-al1005",
"path": "/en-us/dynamics365/business-central/dev-itpro/developer/diagnostics/diagnostic-al1005",
"scheme": "https",
"authority": "docs.microsoft.com"
}
},
"severity": 4,
"message": "Unable to load Analyzer assembly c:\Users\tscott\.vscode\extensions\ms-dynamics-smb.al-9.3.646020\bin\Analyzers\BusinessCentral.LinterCop.dll : File c:\Users\tscott\.vscode\extensions\ms-dynamics-smb.al-9.3.646020\bin\Analyzers\BusinessCentral.LinterCop.dll was not found.",
"source": "AL",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 1
}]
—
Reply to this email directly, view it on GitHubhttps://github.com/StefanMaron/BusinessCentral.LinterCop/issues/200, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF5QBJZPXE6AJHWJS2LFZR3VSRGBVANCNFSM52WR76KA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

That may be so in my case.  I did run VSC as administrator and ran the "Install from VSIX" after downloading it.  Still the same issue.  Where does PowerShell come in?  Can I run it manually somehow?

This is my current Execution-Policy state:

So I am not sure what the problem is but I will try the new release and see what happens.  Thank you for the effort.

If it is set to unrestricted, I dont think my "fix" will change anything
Could you have a look at the console insight the developer tools from VS Code while trying to download?

Maybe clear the console until you do not see any entries coming in:

Then trigger the download manually:

Maybe we can see from the console whats going on

I don't see anything that shows anything special.  See attached video
https://user-images.githubusercontent.com/102963427/177550932-575beff8-9cfc-46ec-b57a-d98e82963140.mp4

Please also run that action to trigger the download.
Did you turn off autodownload in some of the settings by any chance?
"linterCop.autoDownload": true,

I added that.  Still no luck.
https://user-images.githubusercontent.com/102963427/177705326-c7f41988-4cc0-4bae-9076-7a2a66aea20a.mp4
Here are the settings from my workspace file.
	"settings": {
		"al.codeAnalyzers": [
			"${CodeCop}",
			"${UICop}",
			"${PerTenantExtensionCop}",
			"${AppSourceCop}",
			"${analyzerFolder}BusinessCentral.LinterCop.dll"
		],
		"al.enableCodeAnalysis": true,
		"al.backgroundCodeAnalysis": true,
		"al.ruleSetPath": "ruleset.json",
		"CRS.FileNamePattern": "<ObjectNameShort>.<ObjectType>.al",
		"CRS.ObjectNamePrefix": "ASE ",
		"CRS.FileNamePatternExtensions": "<ObjectNameShort>.<ObjectTypeShortPascalCase>.al",
		"linterCop.autoDownload": true
	}

Just remembered one thing.  We have a proxy firewall and that has caused some issues in the past.  I am working at a government regulated utility and have little control over that infrastructure.  Is there maybe VS Code setting I need to add/update to handle the proxy?

I have no idea.
But you also do not need the vs code extension to auto download.
You can download the dll manually from the releases here https://github.com/StefanMaron/BusinessCentral.LinterCop/releases/tag/v0.25.5
and then place it either in the folder you already posted here, or place it some where and use the full path in the code analyzer setting.
Make sure to verify in properties of the dll that it is allowed to execute. Downloaded dlls sometimes have a lock on them for security reasons


Assertion of response body

The response body should be checked to equal the expected body. The following criteria should be met:

List item order should be ignored
Fuzzy matching: check the value type instead of the value

No methods were added for checking body with added assertion methods.


General fix for MSPI drivers and Apollo3p mspi feature update

Updates for the common files

Standarlized transfer priority and add a medium level.
Improve the mspi_async example.
Moved ambiq specific macro to mspi_ambiq header from shared drivers.
Add the CONFIG_MSPI_* macro for optional features in shared drivers
Add atxp032 driver to jesd216 example.

Ambiq specific update:
Introduce the am_hal_mspi_cq_scatter_xfer api with three modes(STREAM, NORMAL, LOOP) that can dynamically set transfer related settings in command queue.
Tests:
\zephyr\tests\drivers\mspi\api
\zephyr\tests\drivers\mspi\flash
\zephyr\samples\drivers\jesd216
\zephyr\samples\drivers\memc
\zephyr\samples\drivers\mspi\mspi_async
\zephyr\samples\drivers\mspi\mspi_flash

Further improve the mspi_async example.

The timeout parameter was missing from xfer1 and xfer2.
Better log print.

Please create a PR of HAL to update the correct SHA. Overall it looks good to me.


Need a way to unsafely assume the card is already initialised

I have a use-case where I can't leave the result of acquire() lying around, because I'd need to store both it, and the parent object it holds a reference to, in the same structure and that's not allowed in Rust because the structure might move.
I'd like an unsafe API to make a BlockSpi object (e.g. unsafe pub fn acquire_without_init(&mut self) , without actually doing any card initialisation. It will then be on me to spot when the card is inserted and ejected, and perform actual initialisation with the acquire() method on insertion.

If such an API requires arguments (like, the CSD, or the card type), the BlockSpi object should have a function to destroy itself and return such data in a stateless format, such that that state can be supplied to the new acquire_without_init function.

Closed by #80


Bump deps

This PR bumps dependencies

bumps to latest cert-manager version
bump kube library deps and other deps to match cert-manager imports
fixes a couple cert-manager import paths that changed in cert-manager v1.12
bump Go to 1.20 because kube 1.27 uses some functionality that was added in Go 1.20

Thx!
/approve
/lgtm

@irbekrm Shall we cut a new release that includes this PR?


Compiling with java 1.8

Android studio 3.0 is needed
https://developer.android.com/studio/write/java8-support.html
If you have a lower version of android studio you need to have jack enabled(deprecated)
You can enable jack compiler by adding following line in build.gradle file.
defaultConfig {
    ...
    jackOptions {
        enabled true
    }
}

The compiling with java 1.8 is also needed to fix a compatibility with phonegap-plugin-push plugin :
https://github.com/phonegap/phonegap-plugin-push/issues/1800
The phonegap-plugin-push plugin is one of the most used plugins (35,391 downloads in the last month)

Thanks! I don't think this is a breaking change, but at least I'll bump the minor version (so 1.5.0). If anyone has issues compiling with Java 1.8 then stick to plugin version 1.4.7.


Kirky's Realistic Pistol

everytime i try to add it to Kirky's Realistic Pistol script it its just giving me error
_btrs is not a vaild member of RunService
[Script 1], line 15 - index _btrs
[Script 1], line 15
[Script 1], line 1007
please help me

Can you DM me the script on Discord so I can debug?
WaverlyCole#4843


Simple JavaBot

Java kit for LuxAi2022

Got around to looking at this @MountainOrc i'm having trouble opening JavaBot.jar with java -jar JavaBot.jar
I get Error: Could not find or load main class com.luxai.Bot

excellent!


Fix handling of data in "nearest" trajectory interpolate

Closes #4463
As raised in #4463 when regridding with iris.analysis.UnstructuredNearest the dtype wasn't being preserved and the mask was being thrown away. These issues turned out to be linked.
Regarding the dtype, previous changes to the underlying trajectory code chose to preserve the behaviour from the initial Iris commit (10 years ago!) that created a resulting new_cube with an empty data array, then filled it.
https://github.com/SciTools/iris/blob/61ac271d425eb6037a8e9d3be2458f02f7de111d/lib/iris/analysis/trajectory.py#L240
But by doing so, it used the data type of the empty array with is (usually) float64.
I don't think it was necessary to preserve this behaviour. All other regrid/interpolation operations AFAIK use the data type from the input cube (e.g. linear trajectory interpolation, or nearest neighbour regrid). So it would be better to be consistent across our operations.
The other issue was the mask not being preserved. This seemed to be a consequence of filling the empty array, which currently looks like:
https://github.com/SciTools/iris/blob/10f517b93a25aed76a1afb34eb2f4703de3e7a4a/lib/iris/analysis/trajectory.py#L456
that can cause some problems with missing data, which I believe is what this comment is referring to
https://github.com/SciTools/iris/blob/10f517b93a25aed76a1afb34eb2f4703de3e7a4a/lib/iris/analysis/trajectory.py#L448-L450
As shown in the example below, if I try to fill any empty array with a masked array, the mask is simply thrown away. This is why I suspect we were first filling  with the mdi value
>>> source_data = np.ma.array([1, 4], mask=[0,1], dtype=np.float32)
>>> new_data = np.empty((1,2))
>>> new_data
array([[6.94805265e-310, 6.94805265e-310]])
>>> new_data[:] = source_data
>>> new_data
array([[1., 4.]])

But this won't happen if we just assign cube data to our new data array.
In this PR, in the first commit I have first added a couple unit tests to check the dtype and mask are preserved. The second commit include the fix which makes the tests pass.

Thanks for reviewing @trexfeathers ! I believe I have now addressed your comments


[WFRP4e System] Can't find any way to apply an effect manually

Enemy in Shadows, i'll try to avoid spoilers:
... all Characters must succeed at an Average (+20) Endurance Test or suffer the effects of the Nausea Symptom (see WFRP, page 189) until they leave...
The Nausea symptom seems to be implemented, but i cant find it anywhere in the Compendium part of Foundry. Nor anywhere else. I can see it the Galloping Trots for instance. In Details and then at Symptoms. But how do you apply just Nausea to a character?From<EMAIL_ADDRESS>3.4.1wfrp4e-core: 1.3.1wfrp4e-eis: 1.2.1

@moo-man The above is mine ;-) I'm on Github too.


Strings broken in PF2 1.13.0

Today's PF2 release 1.13.0 has changed strings for languages, so Polyglot populates with translation ids.

Pushed a fix quickly, but the keys for Alghollthu and Mi-Go languages don't follow the string patterns, but I got a fix for them.


fsgroup is not applied correctly to already existing content in PVCs

Hello 👋,
I'm using the local-path-provisioner as part of k3d, to test and validate our development and I discovered something strange with the local-path-provisioner and its conformance to the fsGroup parameter
First, all the code used in this issue is available here
With EKS cluster
First, I deploy an app, this just writes on a PVC some files. The important settings are:

fsgroup: 4000
runAsGroup: 4000
runAs: 1000

$ kubectl apply -k eks/01-write/
namespace/kdavin-test-fsgroup created
configmap/fsgroup-test-9446dm7hth created
persistentvolumeclaim/fsgroup-test created
deployment.apps/fsgroup-test created
$ kubectl logs fsgroup-test-dd796cfdd-87fbm -f
total 20
drwxrwsr-x    3 root     4000          4096 Jun  1 14:28 .
drwxr-xr-x    1 root     root            43 Jun  1 14:28 ..
drwxrws---    2 root     4000         16384 Jun  1 14:28 lost+found
Hello from fsgroup-test
total 24
drwxrwsr-x    3 root     4000          4096 Jun  1 14:28 .
drwxr-xr-x    1 root     root            43 Jun  1 14:28 ..
-rw-r--r--    1 1000     4000             0 Jun  1 14:28 foo
drwxrws---    2 root     4000         16384 Jun  1 14:28 lost+found
-r-xr-xr-x    1 1000     4000            18 Jun  1 14:28 test.txt
-rw-r--r--    1 1000     4000             0 Jun  1 14:28 /test/a/b/c/subfile.txt

So, files are owned by 1000 and group is 4000.

With K3d, presumably k3s
I repeat the same thing with k3d now, with the same settings. First with:
$ kubectl apply -k k3s/01-write/
namespace/kdavin-test-fsgroup created
configmap/fsgroup-test-9446dm7hth created
persistentvolumeclaim/fsgroup-test created
deployment.apps/fsgroup-test created
$ kubectl logs fsgroup-test-79b59c9988-9jmrl
total 8
drwxrwxrwx    2 root     root          4096 Jun  1 14:33 .
drwxr-xr-x    1 root     root          4096 Jun  1 14:34 ..
Hello from fsgroup-test
total 12
drwxrwxrwx    2 root     root          4096 Jun  1 14:34 .
drwxr-xr-x    1 root     root          4096 Jun  1 14:34 ..
-rw-r--r--    1 1000     4000             0 Jun  1 14:34 foo
-r-xr-xr-x    1 1000     4000            18 Jun  1 14:34 test.txt
-rw-r--r--    1 1000     4000             0 Jun  1 14:34 /test/a/b/c/subfile.txt

All is ok, with the same value as eks. But if I apply the same change, with following settings:

fsgroup: 6000
runAsGroup: 6000
runAs: 1000

$ kubectl apply -k k3s/02-read/
namespace/kdavin-test-fsgroup unchanged
configmap/fsgroup-test-789h6hh8dd created
persistentvolumeclaim/fsgroup-test unchanged
deployment.apps/fsgroup-test configured
$ kubectl logs fsgroup-test-85b478c545-l7znn
total 16
drwxrwxrwx    3 root     root          4096 Jun  1 14:34 .
drwxr-xr-x    1 root     root          4096 Jun  1 14:35 ..
drwxr-xr-x    3 1000     4000          4096 Jun  1 14:34 a
-rw-r--r--    1 1000     4000             0 Jun  1 14:34 foo
-r-xr-xr-x    1 1000     4000            18 Jun  1 14:34 test.txt
-rw-r--r--    1 1000     4000             0 Jun  1 14:34 /test/a/b/c/subfile.txt

Files are still owned by 4000 at group level, where it should be owned by 6000 now.
Conclusion
Is it a bug or an intended limitation of the local-path-provisionner?
If yes, could we state it in the readme?
At implementation level, could we, for example, provide the fsGroup parameter to the setup script as an env variable to make this setup phase compatible?
As user of it, can we do something to bypass this limitation?
Additional details:

local-path-provisioner version: v0.0.24
k3d version: k3d version v5.5.1
k3s version v1.26.4-k3s1 (default)

If you need some extra details, don't hesitate to ask
/cc @tomdcc @mfredenhagen @pio-kol @gurbuzali @athkalia @skurtzemann @deepy @robmoore-i

still up

Still relevant

Never been so relevant. With some help, we could implement a fix

Issue is still relevant. The securityContext.fsGroup field is not respected. Is this a limitation of the underlying local or hostPath PV?

👋 and open to contribute if some guidance is provided 😇

👋 and open to contribute if some guidance is provided 😇

Hello @davinkevin
Feel free to contribute PR. We will review it. Thank you.

Please, can you provide some guidance? I would like to discuss before coding instead of rushing 😉
If you have an idea of a plan, it could be enought 😇


Support for discussion_comment

The event discussion_comment is not supported yet. See https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion_comment for more information

Thanl you, @lionelvillard . Would you like to create a PR to address this or would you like me to open this up to other contributors of this repo?

Hi, if no body else is working on this. May I take a look at this issue?

thanks @qascade !!

I would like to take this up. I've already started working on it. Let me know if that should be okay.

I would like to take this up. I've already started working on it. Let me know if that should be okay. @gmlewis Could you please assign it to me?

@qascade - are you OK with this?

Sure, should not keep blocked for long time. I suddenly got health emergency back when this was assigned to me. Couldn't pick it up again.

Sure, should not keep blocked for long time. I suddenly got health emergency back when this was assigned to me. Couldn't pick it up again.

Thank you, @qascade !
OK, @apurwaj2 - the issue is yours.  Thank you!

Oh, and I hope you feel better fast, @qascade !


added dict migration guide

original issue: #1223

Codecov Report

Merging #3109 (995e225) into main (380fef6) will decrease coverage by 0.02%.
The diff coverage is n/a.

:exclamation: Current head 995e225 differs from pull request most recent head da431e4. Consider uploading reports for the commit da431e4 to get more accurate results

@@            Coverage Diff             @@
##             main    #3109      +/-   ##
==========================================
- Coverage   81.92%   81.91%   -0.02%
==========================================
  Files          55       55
  Lines        6032     6032
==========================================
- Hits         4942     4941       -1
- Misses       1090     1091       +1

see 1 file with indirect coverage changes


bitfield elements

Create an enum-like class for bitfields, and handle pack/unpack for bitfield elements.

You can probably close this? :)

ah good point.
bitfield support added by https://github.com/sprout42/StarStruct/commit/772520ed628899063df37b55d102392b64857fe6


Add Adorable Avatars (avatars.adorable.io)

Not sure if this qualifies as an "API" per-se but it's essentially a cartoon-y version of UI Faces.

:+1:

Let's rock it, I think it'd be useful for those generating images. Thanks!

I have been using them for my anonymous websocket chat for a while! They
are cool!
Anik Das
Student
National Institute of Technology, Warangal, India
anikdas.com
Code is poetry
On Tue, Mar 22, 2016 at 3:42 PM, Todd Motto<EMAIL_ADDRESS>wrote:

Let's rock it, I think it'd be useful for those generating images. Thanks!
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/toddmotto/public-apis/pull/19#issuecomment-199720099


Suggestion

Would it be possible to make this global with a hotkey?
For example, holding shift will disable walk here for all tiles?

So like if you are holding a key then you can't walk to any tile?

So like if you are holding a key then you can't walk to any tile?

Exactly!


Update setup.md

Removed Auth doc from Setup page, as it has been moved to a separate Auth Page

@nitinjms,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Windows Kubernetes with custom vnet not deploying - wrong variable name

Is this a request for help?: No

Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
What version of acs-engine?:
v0.14.5

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes
What happened:
When deploying a Windows Kubernetes cluster with custom VNET, the generated template fails to create the worker VMs. This is due to a wrong variable in the section "customData" of the "osProfile" of the worker VM deployment. The wrong variable is named: variables('subnet'); but the variable 'subnet' is not defined. It is fixable by renaming this variable 'vnetSubnetID'.

What you expected to happen:
Deployment to Azure to work without issues.
How to reproduce it (as minimally and precisely as possible):
Reproduce error
I am using the following ACS-engine template file:
{
    "apiVersion": "vlabs",
    "properties": {
      "orchestratorProfile": {
        "orchestratorType": "Kubernetes"
      },
      "masterProfile": {
        "count": 1,
        "dnsPrefix": "nfacseissue",
        "vmSize": "Standard_D2s_v3",
        "vnetSubnetId": "/subscriptions/**xxx**/resourceGroups/acs-engine-issue/providers/Microsoft.Network/virtualNetworks/k8s-issue/subnets/Master",
        "firstConsecutiveStaticIP": "<IP_ADDRESS>",
        "vnetCidr": "<IP_ADDRESS>/8"
      },
      "agentPoolProfiles": [
        {
          "name": "windowspool",
          "count": 2,
          "vmSize": "Standard_D2s_v3",
          "availabilityProfile": "AvailabilitySet",
          "osType": "Windows",
          "vnetSubnetId": "/subscriptions/**xxx**/resourceGroups/acs-engine-issue/providers/Microsoft.Network/virtualNetworks/k8s-issue/subnets/Workers"        }
      ],
      "windowsProfile": {
        "adminUsername": "**xxx**",
        "adminPassword": "**xxx**"
      },
      "linuxProfile": {
        "adminUsername": "azureuser",
        "ssh": {
          "publicKeys": [
            {
                "keyData": "ssh-rsa **xxx**"
            }
          ]
        }
      },
      "servicePrincipalProfile": {
        "clientId": "**xxx**",
        "secret": "**xxx**"
      }
    }
  }

This generates the wrong template, highlighting the part where it goes wrong:
 {
      "apiVersion": "[variables('apiVersionDefault')]",
      "copy": {
        "count": "[sub(variables('windowspoolCount'), variables('windowspoolOffset'))]",
        "name": "vmLoopNode"
      },
      "dependsOn": [
        ...
      ],
      "location": "[variables('location')]",
      "name": "[concat(variables('windowspoolVMNamePrefix'), copyIndex(variables('windowspoolOffset')))]",
      "properties": {
       ...
        "osProfile": {
 ...
          "customData": ... variables('vnetSubnetID') ...
 },

How to fix it
Change variables('subnet') to variables('')
Anything else we need to know:

Closing because this is a duplicate of #1767


typo: asscoaited -> assocaited

@Dansimp @AndreaBarr - PR is ready for final review. This is just a typo issue. Thanks.


"Native Module cannot be null"

Hey everybody!
I'm relatively new to React Native, so bear with me if there's things I'm not aware of when it comes to this stuff.
Recently I've been wanting to use react-native-ble-plx in my React Native project, but when I run the app in the iOS simulator (to see if the app runs), it returns:
Native module cannot be null
This is caused when I use new BleManager from this package. I'm unsure as to why, but is part of the reason that it's doing this is because I'm using create-react-native-app? Or is it something else?
Any ideas? Thanks very much in advance.

Please make sure you complete whole setup instructions from README.md file: react-natve link + manual steps from point 7.

I had the same issue when I created my app with >create-react-native-app
and I couldn't find a solution.
Thats why I tried to start with

react-native-init

to try with Xcode (not with expo)
But then I had the issue described here:
https://github.com/Polidea/react-native-ble-plx/issues/149
I hope we can find a solution.

I've now closed the issue as I've gone with the react-native init route instead, and I've followed the steps to the point it's trying to build, so this isn't so much an issue any more.
create-react-native-app is best avoided for this I think.


Relaxing the validation on Mongo DB pods in Px-Backup namespace

What this PR does / why we need it:
We were seeing on occasions that only 2/3 mongo pods are coming up after restart and becoming healthy. It was decided that we can pass the validation if 2/3 mongo pods are up because it is a known intermittent issue which needs to be resolved by the dev team. For now we are good with this.
Which issue(s) this PR fixes (optional)
Closes #
Special notes for your reviewer:
Jenkins run

@lsrinivas-pure Thank you. I have added the TODO and the JIRA ID to track it


can't loading webui on localhost:3000

it's like this

no change on docker.yaml
my config.toml,only add openai api key

[GENERAL]
PORT = 3001 # Port to run the server on
SIMILARITY_MEASURE = "cosine" # "cosine" or "dot"
CHAT_MODEL_PROVIDER = "openai" # "openai" or "ollama"
CHAT_MODEL = "gpt-3.5-turbo" # Name of the model to use

[API_KEYS]
OPENAI = "sk-Sxxxx" # OpenAI API key - sk-1234567890abcdef1234567890abcdef

[API_ENDPOINTS]
SEARXNG = "http://localhost:32768" # SearxNG API URL
OLLAMA = "" # Ollama API URL - http://host.docker.internal:11434

logs

docker logs perplexica-perplexica-frontend-1 --tail 100
yarn run v1.22.19
$ next start
   ▲ Next.js 14.1.4
   - Local:        http://localhost:3000

 ✓ Ready in 551ms

docker logs perplexica-searxng-1 --tail 100
SearXNG version 2024.4.30+c8d0b6529
Create /etc/searxng/uwsgi.ini
Use existing /etc/searxng/settings.yml
Listen on <IP_ADDRESS>:8080
[uWSGI] getting INI configuration from /etc/searxng/uwsgi.ini
[uwsgi-static] added mapping for /static => /usr/local/searxng/searx/static
*** Starting uWSGI 2.0.23 (64bit) on [Tue Apr 30 15:26:49 2024] ***
compiled with version: 13.2.1 20231014 on 30 November 2023 14:34:33
os: Linux-5.15.60-1.el7.x86_64 #1 SMP Thu Aug 11 12:39:22 UTC 2022
nodename: e6616a6858ce
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 2
current working directory: /usr/local/searxng
detected binary path: /usr/sbin/uwsgi
chdir() to /usr/local/searxng/searx/
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
building mime-types dictionary from file /etc/mime.types...1390 entry found
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address <IP_ADDRESS>:8080 fd 3
Python version: 3.11.9 (main, Apr 14 2024, 13:40:00) [GCC 13.2.1 20231014]
Python main interpreter initialized at 0x7f91e68d8718
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 362016 bytes (353 KB) for 8 cores
*** Operational MODE: preforking+threaded ***
added /usr/local/searxng/ to pythonpath.
spawned uWSGI master process (pid: 7)
spawned uWSGI worker 1 (pid: 12, cores: 4)
spawned uWSGI worker 2 (pid: 13, cores: 4)
spawned 4 offload threads for uWSGI worker 1
spawned 4 offload threads for uWSGI worker 2
2024-04-30 15:26:51,334 WARNING:searx.botdetection.config: missing config file: /etc/searxng/limiter.toml
WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7f91e68d8718 pid: 12 (default app)
2024-04-30 15:26:51,352 WARNING:searx.botdetection.config: missing config file: /etc/searxng/limiter.toml
WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7f91e68d8718 pid: 13 (default app)
[root@GreenCloud Perplexica]# docker logs perplexica-perplexica-backend-1 --tail 100
yarn run v1.22.19
$ node dist/app.js
info: WebSocket server started on port 3001
(node:28) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
info: Server is running on port 3001

docker logs perplexica-perplexica-backend-1 --tail 100
yarn run v1.22.19
$ node dist/app.js
info: WebSocket server started on port 3001
(node:28) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
info: Server is running on port 3001

Can you show the logs from the browser console.

Can you show the logs from the browser console.

Request URL:
http://<IP_ADDRESS>:3000/library?_rsc=acgkz
Request Method:
GET
Status Code:
404 Not Found
Remote Address:
<IP_ADDRESS>:3000
Referrer Policy:
strict-origin-when-cross-origin

same here. There is currently no way to get the app up and running

Hi, please provide the logs from the console of the browser and not the network tab. We also have a Discord server set-up where we can communicate in a much better way and help you solve your issues:- https://discord.gg/CfFWtVsn

我也有一样的问题，无法使用websocket连接到3001

I'm experiencing the same issue; unable to establish WebSocket connection to port 3001.

I'm also the error about WebSocket connection

I think we should change the docker-compose.yml settings in perplexica-frontend
works for me
'''
<IP_ADDRESS> to {your real ip},such as <IP_ADDRESS>
'''

I'm experiencing the same issue; unable to establish WebSocket connection to port 3001.

same.

exacte same

If anyone tries to access Perplexica via their private IP, it won't work because the WS and API URL as set for local usage. We only provide support regarding installing Perplexica, If you wish to expose it to your network you must have the knowledge to do it, we cannot help you with that.

Set public ip like this if use a vm


most visited   layer under "message" and "search"

As  you can see in my config, I've enabled "most" visited. (1)
When I open the most visited popup (2)
The box   is under the search menu (3)
so

(minor) it's not  very  funny to read
(major)  items aren't clickable.

currently spotted on

Firefox 91.3.0esr
Chrome 94.0.4606.71
Edge 95.0.1020.44

Thank you for the report!

Looking into this today, this is a bigger problem than I thought it would be due to how CSS works and how I structured the app. Unfortunately I won't be able to promise a quick fix on this one (and yes I'm aware it's been a year since this was reported 😞). I think this is going to take a major rebuild of how the widgets display in the app. Something I've been wanting to do anyway as it will improve a lot of customization, but it is going to have to wait till I have more time. Thank you very much for your patience with this issue!

Well I was wrong, I managed to get this working after all. It should be in the next update, releasing hopefully within a week.

Version 3.6.4 has been published to the Chrome Web Store. Keep a look out for it within a couple days.


[V2] Add node APIs and clean up packaging

Add node.py with properties, property_values and triples API.
Add key.py with API KEY util functions.
Deprecate Python 2 support.
Re-organize pip packing files .

For my own understanding, is the intention for property(), property_values(), and triples() to supercede the current get_property_labels(), get_property_values(), and get_triples() while maintaining the same specs?

LGTM, leaving approval for @beets or @pradh who may have more detailed comments.

For my own understanding, is the intention for property(), property_values(), and triples() to supercede the current get_property_labels(), get_property_values(), and get_triples() while maintaining the same specs?

They will supercede the current APIs but the specs won't necessarily be maintained, especially for observation APIs coming later.


Writeup på Keyboard Warrior

Splendid writeup! 🦾 💯
Just added some comments to improve the layout on the actual CTF blog.
If you want to render it for yourself, whilst writing, you can clone the CTF blog and checkout your local branch in the git submodule.
In general it was just a question of ensuring some specific text block annotation! 🙂


Feature/allow author select license

This PR gives PCs the option to select a multiple submission licenses. Doing so will allow authors to choose their license upon submission. Otherwise, selecting 1 license will apply it to all submissions, which is the current functionality.

@melisabok this PR is ready but there were some changes since you approved it in case you would like to take a look

Looks good! Thanks.


Implement file watching in jest-haste-map.

Summary
This implements file watching in jest-haste-map. This is going to be useful for two things:

replacing node-haste with jest-haste-map in RNP.
rewriting Jest's watch command to listen for haste map changes instead of filesystem changes. This is going to significantly speed up the watch command on larger repos because we won't need to rebuild the entire time something changes.

It does so by using sane and listening to change events. On every change it deletes the entry in the file map, module map and mocks map (if they are defined) and then runs through the processing code to add it back to all three of these maps. Every X "frames" it emits a change event with the updated HasteFS and ModuleMap instances as well as an event queue of all the recently changed files.
I explored a bunch of solutions and this one seems like it's the best trade-off for now:

We aren't reading/persisting the cache in watch mode at all. This is a lot faster but means we'll do a bit more work on the next startup. Since this additional work is at most ~1s on large repos and makes sure we never get into an inconsistent sate, it will work well.
Instead of rebuilding the entire map, we are doing updates in-place. This is more brittle but there is enough code reuse to make this not a big deal.

@matryoshcow @davidaurelio
Test plan
jest

Current coverage is 88.16% (diff: 94.73%)

Merging #2058 into master will increase coverage by 0.16%

@@             master      #2058   diff @@
==========================================
  Files            38         38
  Lines          1258       1318    +60
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1107       1162    +55
- Misses          151        156     +5
  Partials          0          0

Powered by Codecov. Last update 70cfb76...87d9d4d

About collisions:
Changed it so that we switch to warn in watch mode. The behavior change is to take the last haste module rather than the first like we did previously. This is a breaking change but also behavior that is non-deterministic in the first place (depends on the order of files we get from the fs).

Regarding data-structure consistency:
I have to copy the data structure instead of updating them in-place because otherwise we swap them out in between a window and it would cause awkward reliability issues. I decided to still re-use the original ModuleMap and HasteFS instances and update them instead of providing new instances. I'll see how that feels on RN – right now we also mutate the fastfs instances and module map. If I can make it work to never cache the instances on another class, I'll make them immutable and create new copies every time, as there is no overhead to this.
I profiled the copying the entire haste map on RN and it takes 10ms on average which is awesome. I thought it'd take much longer (100-200ms). I changed the emitter to emit a change event every 30ms and made it so that we copy the haste map only once per window. This gives us 20ms per set of file changes to process changes, which should be plenty for a small number of files (common case).
This PR is now ready to be shipped.


Materialize menu and Wordpress

I'm trying to populate the menu with a Wordpress walker where there's a possibility that multiple menu items has a dropdown menu. Anything got this working or is it a Materialize "bottleneck"?
Thanks.

I've build a few WordPress themes that use Materialize and had to make a piece of code to get dropdowns working on the navigation. I still think it's a bit ugly but it works for me.
Maybe this will help you: http://pastebin.com/6A1VVkgD

@Vaalyn Hi and thanks for your reply and solution. I will check this out.
By the way: have you (or anyone else reading this post) managed to "componentify" Materialize by choosing to use the dropdown functionality only? Tried to include only the dropdown.js, but it didn't trigger.

The dropdown for my nav bar not work :(
I use the follow code in the header:

', '',
str_replace(
'',
'',
wp_nav_menu( array(
'echo' => false,
'menu_class' => 'right hide-on-med-and-down menu',
'theme_location' => 'header_menu',
'container' => '',
) )
)
);
for ($i=0; $i <= substr_count($main_menu, 'id="dropdownxxx"'); $i++) {
$main_menu = preg_replace('/xxx/', $i, $main_menu, 2);
}
echo $main_menu;
// Header Menu navigation menu mobile.
$mobile_menu = str_replace('', '',
str_replace(
'',
'',
wp_nav_menu( array(
'echo' => false,
'menu_class' => 'side-nav',
'menu_id' => 'mobile-demo',
'theme_location' => 'header_menu',
'container' => '',
) )
)
);
for ($i=0; $i <= substr_count($mobile_menu, 'id="dropdownxxx"'); $i++) {
$mobile_menu = preg_replace('/xxx/', $i.'m', $mobile_menu, 2);
}
echo $mobile_menu;
?>

Demo: http://grosca1a.bget.ru
Please help me to fix that error :(

The hover seems to be working for me, however the mobile view does not.
I think that this is due to the link of the dropdown button.
I've only built it to work with a drop down button that doesn't link to another page and just triggers the dropdown to show.
Don't realy know how to get it working with a button that links to something I didn't need that yet.

I see the css code, need to change the display:none and position: absolute for hover.
Give me you url, I want to see your menu.
You have a skype ? Maybe we can to fix the dropdown menu faster togheter.

Here is a site I've recently built that has 2 dropdowns: http://www.weitmar-genclerbirligi.de
Hope that will help you but I don't have the time atm to help you on skype, sorry.

You can to sent your menu code with js and php arrays on my e-mail<EMAIL_ADDRESS>and  when I finis my nav bar I will send you my code. =)

Use a custom walker. This is very basic, but better than preg_replacing and works with single hierarchy drop downs.
In your theme:
<?php wp_nav_menu( array(
    'theme_location' => 'top-bar',
    'walker' => new Materialize_Walker_Desktop_Nav_Menu(),
    'menu_class' => 'left hide-on-med-and-down'
) ); ?>
```

In your functions.php or somewhere else:
```
<?php

if( ! class_exists( 'Materialize_Walker_Desktop_Nav_Menu' ) ) :

    class Materialize_Walker_Desktop_Nav_Menu extends Walker_Nav_Menu {

        private $curItem;

        /**
         * Starts the list before the elements are added.
         *
         * Adds classes to the unordered list sub-menus.
         *
         * @param string $output Passed by reference. Used to append additional content.
         * @param int    $depth  Depth of menu item. Used for padding.
         * @param array  $args   An array of arguments. @see wp_nav_menu()
         */
        function start_lvl( &$output, $depth = 0, $args = array() ) {

            // Depth-dependent classes.
            $indent = ( $depth > 0  ? str_repeat( "\t", $depth ) : '' ); // code indent
            $display_depth = ( $depth + 1); // because it counts the first submenu as 0
            $classes = array(
                'sub-menu',
                ( $display_depth % 2  ? 'menu-odd' : 'menu-even' ),
                ( $display_depth >=2 ? 'sub-sub-menu' : '' ),
                'menu-depth-' . $display_depth
            );
            $class_names = implode( ' ', $classes );

            // Build HTML for output.
            $output .= "\n" . $indent . '
curItem->post_name . '" class="' . $class_names . ' dropdown-content">' . "\n";
        }

        /**
         * Start the element output.
         *
         * Adds main/sub-classes to the list items and links.
         *
         * @param string $output Passed by reference. Used to append additional content.
         * @param object $item   Menu item data object.
         * @param int    $depth  Depth of menu item. Used for padding.
         * @param array  $args   An array of arguments. @see wp_nav_menu()
         * @param int    $id     Current item ID.
         */
        function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
            global $wp_query;
            $this->curItem = $item;
            $indent = ( $depth > 0 ? str_repeat( "\t", $depth ) : '' ); // code indent

            // Depth-dependent classes.
            $depth_classes = array(
                ( $depth == 0 ? 'main-menu-item' : 'sub-menu-item' ),
                ( $depth >=2 ? 'sub-sub-menu-item' : '' ),
                ( $depth % 2 ? 'menu-item-odd' : 'menu-item-even' ),
                'menu-item-depth-' . $depth
            );

            $depth_class_names = esc_attr( implode( ' ', $depth_classes ) );

            // Passed classes.
            $classes = empty( $item->classes ) ? array() : (array) $item->classes;
            $class_names = esc_attr( implode( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item ) ) );

            // Build HTML.
            $output .= $indent . '
ID . '" class="' . $depth_class_names . ' ' . $class_names . '">';

            // Link attributes.
            $attributes  = ! empty( $item->attr_title ) ? ' title="'  . esc_attr( $item->attr_title ) .'"' : '';
            $attributes .= ! empty( $item->target )     ? ' target="' . esc_attr( $item->target     ) .'"' : '';
            $attributes .= ! empty( $item->xfn )        ? ' rel="'    . esc_attr( $item->xfn        ) .'"' : '';
            $attributes .= ! empty( $item->url )        ? ' href="'   . esc_attr( $item->url        ) .'"' : '';
            $attributes .= ' class="menu-link ' . ( $depth > 0 ? 'sub-menu-link' : 'main-menu-link' ) . '"';

            if( in_array( 'menu-item-has-children', $item->classes ) )
                $attributes .= ' data-activates="' . $item->post_name . '"';

            // Build HTML output and pass through the proper filter.
            $item_output = sprintf( '%1$s%3$s%4$s%5$s%6$s',
                $args->before,
                $attributes,
                $args->link_before,
                apply_filters( 'the_title', $item->title, $item->ID ),
                $args->link_after,
                $args->after
            );
            $output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args );
        }
    }

endif;
?>
```

Anyone here got it working? I am still looking for the answer....

@rabisnaqvi I recently saw a tutorial over at 34sp.com that explains how to achieve this.