TemplateNotFound: login.html

Hi, thanks a lot for sharing this great setup, it's really good!
I got an error about some template, my setup is all defaults except domain name and auth settings, but I think I did no mistakes in those settings ... also I used the traefik 1.7 version like was suggested in another bug about new version errors.
Here is my log, did anyone encounter that?
[I 2019-12-19 07:24:20.178 JupyterHub log:174] 302 GET / -> /hub/ (@myip) 1.49ms
[I 2019-12-19 07:24:20.286 JupyterHub log:174] 302 GET /hub/ -> /hub/login (@myip) 0.92ms
[E 2019-12-19 07:24:20.394 JupyterHub web:1788] Uncaught exception GET /hub/login (myip)
    HTTPServerRequest(protocol='http', host='notebooks.mydomain.com', method='GET', uri='/hub/login', version='HTTP/1.1', remote_ip='myip')
    Traceback (most recent call last):
      File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 1699, in _execute
        result = await result
      File "/usr/local/lib/python3.6/dist-packages/jupyterhub/handlers/login.py", line 135, in get
        self.finish(self._render(username=username))
      File "/usr/local/lib/python3.6/dist-packages/jupyterhub/handlers/login.py", line 102, in _render
        {'next': self.get_argument('next', '')},
      File "/usr/local/lib/python3.6/dist-packages/jupyterhub/handlers/base.py", line 1119, in render_template
        template = self.get_template(name)
      File "/usr/local/lib/python3.6/dist-packages/jupyterhub/handlers/base.py", line 1113, in get_template
        return self.settings['jinja2_env'].get_template(name)
      File "/usr/local/lib/python3.6/dist-packages/jinja2/environment.py", line 830, in get_template
        return self._load_template(name, self.make_globals(globals))
      File "/usr/local/lib/python3.6/dist-packages/jinja2/environment.py", line 804, in _load_template
        template = self.loader.load(self, name, globals)
      File "/usr/local/lib/python3.6/dist-packages/jinja2/loaders.py", line 408, in load
        raise TemplateNotFound(name)
    jinja2.exceptions.TemplateNotFound: login.html

[E 2019-12-19 07:24:20.397 JupyterHub web:1216] Uncaught exception in write_error
    Traceback (most recent call last):
      File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 1214, in send_error
        self.write_error(status_code, **kwargs)
      File "/usr/local/lib/python3.6/dist-packages/jupyterhub/handlers/base.py", line 1203, in write_error
        html = self.render_template('error.html', **ns)
      File "/usr/local/lib/python3.6/dist-packages/jupyterhub/handlers/base.py", line 1119, in render_template
        template = self.get_template(name)
      File "/usr/local/lib/python3.6/dist-packages/jupyterhub/handlers/base.py", line 1113, in get_template
        return self.settings['jinja2_env'].get_template(name)
      File "/usr/local/lib/python3.6/dist-packages/jinja2/environment.py", line 830, in get_template
        return self._load_template(name, self.make_globals(globals))
      File "/usr/local/lib/python3.6/dist-packages/jinja2/environment.py", line 804, in _load_template
        template = self.loader.load(self, name, globals)
      File "/usr/local/lib/python3.6/dist-packages/jinja2/loaders.py", line 408, in load
        raise TemplateNotFound(name)
    jinja2.exceptions.TemplateNotFound: error.html

[E 2019-12-19 07:24:20.398 JupyterHub log:166] {
      "X-Real-Ip": "myip",
      "X-Forwarded-Server": "2d1333d53107",
      "X-Forwarded-Proto": "http,http",
      "X-Forwarded-Port": "80,80",
      "X-Forwarded-Host": "notebooks.mydomain.com",
      "X-Forwarded-For": "lol almost missed that ip to hide right here,::ffff:<IP_ADDRESS>",
      "Upgrade-Insecure-Requests": "1",
      "Cache-Control": "max-age=0",
      "Accept-Language": "en-US,en;q=0.9",
      "Accept-Encoding": "gzip, deflate",
      "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3",
      "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36",
      "Host": "notebooks.mydomain.com",
      "Connection": "close"
    }
[E 2019-12-19 07:24:20.398 JupyterHub log:174] 500 GET /hub/login (@myip) 4.73ms

Strange. Looks like JupyterHub is not properly installed in its container. Did you change the version in the Dockerfile?

Hi, something fixed it, I am not sure what. But yes I tried both 1.0 and 0.9.3, it was the same. I think it is my domain name related error, I changed the domain name in HOST variable to the correct one and it now works. Thanks @defeo ! I'll report back with any improvements I'll do in my iteration on this, and will send a PR if it'll be useful.

I found exactly what it was: the 1.0 docker image! it was the main reason. so it's just broken.


Cleanup dead envoy startup code

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
35e18ffc2db6a065a4961b5c2732a1da0e3eee47
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Added ja-JP translation

Japanese .resw added.
Main menu

Context menu

Find + Replace

Saved notification

Oh, I found the miss translation..


When can we have porcupine_flutter support for Web and Desktop

I am trying to implement porcupine_flutter in a flutter based project, as per the documents says it supports Cross Platform. But, the Flutter Plugin is only available for Android and iOS in pub dev?

Okay I got it now. It supports multiple platforms. But, the flutter SDK only supports Android and iOS, right?

But, Can we have porcupine_flutter support for Web and Desktop in future releases?

Our Flutter SDKs are for Android and iOS only. We have several SDKs for web and desktop, so it is unlikely we will add Flutter modules for desktop and web. If you are an enterprise user and this is a requirement of your project, please reach out to your account manager.


Filter with custom cell does not work properly

React Table 6.7.4
I have a custom cell in Last Name column (2nd column) which implements an ImagePreview component: if you pass your mouse over a cell in that column you see an image preview. This is fine.
Unfortunately if you try to filter this column typing some text in the filter cell it does not work properly.
If you comment the custom cell at line 44 in index.js it works fine.
https://codesandbox.io/s/5x8opmk40p
What am i missing here?
Thanks!

The short answer is that the <ImagePreview /> component does not seem to be updating its' content when the row is changing.  If you just return row.value from that Cell function then it works correctly.  So it is really outside of the scope of react-table to resolve. You may have to make the component in Cell be a little smarter and cause an update in some way so that the text for the row is rendered correctly.

Thanks for the insight.
I've added this lines to ImagePreview Component:
 componentWillReceiveProps(nextProps) {
   this.setState(nextProps)
 }

in this way the component re-renders with the new props... and now it works!
https://codesandbox.io/s/zl99mm6x1x
@gary-menzel is this what you meant?
Thanks again.

Well - without seeing that component - yes - that is one solution.
You could also make the <ImagePreview/> component be a "pure" component - rather than a "smart" component - and just use that prop directly (and you would not need to manage any component state.
[But, that might not be appropriate - hard to tell without knowing the long term purpose of <ImagePreview/> - if it is only for display, make it a "dumb"/pure component.]

[if you are already using state to manage the hiding and showing of the image - then you've probably got the best answer already]

So, to summarise, the Filter was working correctly, however the <ImagePreview /> component was statically rendering the initial content of the cell (and the cell content changes when the data is filtered). By re-rendering the <ImagePreview/> component you are updating the cell to the latest content.

You can have a look to the component in the codepen https://codesandbox.io/s/zl99mm6x1x
He's already smart: it has state to mange the show/hide image on mouse over as you thought.

OK - well based on looking at that - you probably don't need to store the text and the link in state as they never change - you could just use them direct from this.props (e.g. this.props.articleName - and you could also pass the link in if that changes with each record) and then you would not need componentWillReceiveProps.
The props changing on the component will automatically make it re-render.

[well - they never change internally to the component]

I've forked it and made the changes I'd recommend - including using => functions instead of bind - sort of makes it cleaner/clearer.
https://codesandbox.io/s/lyy40rwkk7
In any case, this is implementation related. The best place to get answers for things like this is the #react-table Slack channel (there is a badge at the top of the README in the doco). Thanks.

🥇 🥇 🥇


Handle terms agreement in the Discovery section of settings

Cloned from https://github.com/vector-im/riot-web/issues/10522.
It's possible that the Discovery section of settings is the first place the user interacts with their identity server, and therefore we need to show some kind of state when terms haven't been agreed yet, allow for agreeing the terms, etc.
For Riot Web, the designs are: https://zpl.io/brMdWo3

Marking needs-design for mobile.

We have a button that is displayed inline. This button opens the terms modal.


White pages blank

Describe the bug
Why am i getting white bblank pages when I try to preview or errors when I try to deploy the app
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-7cuhpi
Steps to reproduce
Go to deploy or preview
Expected behavior
Error with deployment or blank white preview screen
Screen Recording / Screenshot
No response
Platform
Macos
Additional context
No response

Hi @smartusercoder,
Appreciate the feedback here. We are tracking this issue: #1791. You can follow there for updates. If you continue to have this problem, posting the requested details on that issue page would be helpful. Thanks!


--chain does not seem to work

tried on 2.0.1 on my ledger:
hwi.exe --chain regtest --fingerprint xxxxxxxx displayaddress --path m/44h/1h/0h/0/1 --addr-type legacy
This does not show me regtest addresses. Testnet is not better. Tried on coldcard as well, no effect.

On some devices, --chain is a lie. This could be better communicated.
Coldard and Ledgers have on device chain modes. You have to be in those to get addresses for different chains. Coldcard has a setting somewhere for that. On Ledgers you need to have the Bitcoin Testnet app.

it make sense. I am surprised, could have sworn that at some point it was not a lie for ledger wallet.


how to specify "synchronous_commit=OFF" in docker-compose

I cannot start up pg_prometheus using docker-compose.
ERROR: for pg_prometheus  Cannot start service pg_prometheus: OCI runtime create failed: container_linux.go:344: starting container process caused "exec: \"-c\": executable file not found in $PATH": unknown

This line caused trouble. Any thoughts?
command: -c synchronous_commit=OFF

Can you please share your docker-compose yaml


Support IntelliJ 2020.1

Tracking bug for 2020.1 support

I tried to build it with

Tried to build it with bazel build //ijwb:ijwb_bazel_zip --define=ij_product=intellij-ue-2020.1
and got the following error
ERROR: /Users/cromwellian/intellij/ijwb/BUILD:41:1: in cmd attribute of genrule rule //ijwb:stamped_plugin_xml_api_version: label '//intellij_platform_sdk:application_info_jar' in $(location) expression expands to no files. Since this rule was created by the macro 'stamped_plugin_xml', the error might have been caused by the macro implementation
ERROR: Analysis of target '//ijwb:ijwb_bazel_zip' failed; build aborted: Analysis of target '//ijwb:stamped_plugin_xml_api_version' failed; build aborted

I saw it successfully fetch intellij-ce-2020.1 from some repo during the build.

I got it to build and install with this:
diff --git a/WORKSPACE b/WORKSPACE
index a2f1d6ab..fbba1b3b 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -56,6 +56,7 @@ http_archive(
     name = "intellij_ue_2020_1",
     build_file = "@//intellij_platform_sdk:BUILD.ue201",
     sha256 = "0944d1b15e6d8d8c13e33ed0bb43773bf7a2cd2100a679c2a668d543a7931de8",
+    strip_prefix = "idea-IU-201.4515.24",
     url = "https://download-cf.jetbrains.com/idea/ideaIU-201.4515.24.tar.gz",
 )

I've tried it a bit and it looks ok, I haven't tested it much because we're still using 2019.3.4, and the plugin built off master doesn't support that.

That worked for me, and my project synced properly, and the Bazel icons are there, Run configurations work, but the top level Bazel menubar item disappeared. :(

It appears there were quite a few breaking changes with the stable release 201.6668.121. Mainly a bunch of internal things has been removed. I managed to get it working with the following changes (with no exceptions in the logs), although this hasn't been extensively tested, or checked for backward compatibility.
https://github.com/bazelbuild/intellij/compare/v2020.04.07...dillon-giacoppo:master.
The main tradeoff is that it does not seem possible to have a conditionally rendered Bazel menu in the menubar. isBlazeProject returns False when the menu bar is rendered and it appears it does not ever get updated again. I worked around this by moving to the tools menu which is updated on every click.

It appears there were quite a few breaking changes with the stable release 201.6668.121. Mainly a bunch of internal things have been removed. I managed to get it working with the following changes (with no exceptions in the logs), although this hasn't been extensively tested, or checked for backward compatibility.
v2020.04.07...dillon-giacoppo:master.
The main tradeoff is that it does not seem possible to have a conditionally rendered Bazel menu in the menubar. isBlazeProject returns False when the menu bar is rendered and it appears it does not ever get updated again. I worked around this by moving to the tools menu which is updated on every click.
The IJWB build of the patch can be tried here  https://github.com/dillon-giacoppo/intellij/releases/download/v201/ijwb_bazel.zip. It would be great to get this tested and merged upstream, even as a prerelease branch.

@dillon-giacoppo
maybe you can give me a hint
i tried installing your build but CLion 2020.1 still complains it is missing plugin when reopening my project

@zhuker The above patch is for ijwb (IntelliJ) as a proof of concept for the changes to common/ and to unblock my work. CLion uses clwb. This looks more involved as not even the 2020.1 EAP was added for CLion. You can try to patch it. Ultimately you will need to build:
bazel build //clwb:clwb_bazel_zip --define=ij_product=clion-2020.1

I've opened a feature request to support Bazel as a first class citizen.

@dillon-giacoppo
ERROR: Analysis of target '//clwb:clwb_bazel_zip' failed; build aborted:

/home/alex.zhukov/git/intellij/third_party/python/BUILD:7:1: Configurable attribute "exports" doesn't match this configuration: define an intellij product version, e.g. --define=ij_product=intellij-latest
INFO: Elapsed time: 12.015s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (41 packages loaded, 317 targets configured)

@dillon-giacoppo Just curious how did you work on this plugin? With Gradle, there is runIde which is very handy to build and install plugin in Intellij. I'm wondering if there is a similar way to do it with Bazel?

@dillon-giacoppo Just curious how did you work on this plugin? With Gradle, there is runIde which is very handy to build and install plugin in Intellij. I'm wondering if there is a similar way to do it with Bazel?

The Bazel plugin has built-in support for developing and running IntelliJ plugins that use Bazel for building.

@jvolkman Great thanks!

@jvolkman Do you have any idea what this error might be?
Error:(41, 1) Executing genrule //ijwb:stamped_plugin_xml_api_version failed (Exit 1) bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped)

@dillon-giacoppo I applied your patches. But Clion 2020.1 didn't build successfully.
Some of the logs are
bazel build //clwb:clwb_bazel_zip --define=ij_product=clion-2020.1
$TEST_TMPDIR defined: output root default is '/run/media/tx/1ADC3E81DC3E56EB/.cache' and max_idle_secs default is '15'.
INFO: Analyzed target //clwb:clwb_bazel_zip (1 packages loaded, 305 targets configured).
INFO: Found 1 target...
ERROR: /home/tx/Downloads/intellij/sdkcompat/v201/BUILD:7:1: Compiling Java headers sdkcompat/v201/libv201-hjar.jar (24 source files) failed (Exit 1) java failed: error executing command external/remotejdk11_linux/bin/java -Xverify:none -XX:+UseParallelOldGC -XX:-CompactStrings '--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' ... (remaining 14 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
sdkcompat/v201/com/google/idea/sdkcompat/typescript/TypeScriptConfigServiceCompat.java:22: error: symbol not found com.intellij.lang.typescript.tsconfig.TypeScriptConfigService
import com.intellij.lang.typescript.tsconfig.TypeScriptConfigService;
       ^
sdkcompat/v201/com/google/idea/sdkcompat/typescript/TypeScriptConfigServiceCompat.java:35: error: could not resolve TypeScriptConfigService
public interface TypeScriptConfigServiceCompat extends TypeScriptConfigService {
                                                       ^
sdkcompat/v201/com/google/idea/sdkcompat/typescript/TypeScriptConfigServiceCompat.java:36: error: could not resolve TypeScriptConfigService

It would be great if the bazel plugin could work with Intellij 2020.1.  There is apparently a bug that prevents debugging a bazel run configuration using LLDB from CLion, and apparently it is possible that CLion 2020.1.2 will address this bug.  (Is there currently any combination of (a) version of the Bazel plugin and (b) version of CLion that permits debugging of c++ Bazel projects?)

Is there a time-frame to getting this wokring with 2020 versions of IntelliJ?

I saw a release yesterday, did it include any fixes related to this? @oleg-semenov
https://github.com/bazelbuild/intellij/releases/tag/v2020.06.15

It didn't, according to the compatibility table at https://plugins.jetbrains.com/plugin/8609-bazel/versions

Has anyone built binary for 2020.2 ?

I patched current master branch to work with IDEA 2020.2 EAP if anyone needs it
Index: WORKSPACE
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- WORKSPACE	(revision 0177f4613f309dced62cd1d08f4cbe3b1728f01a)
+++ WORKSPACE	(date<PHONE_NUMBER>843)
@@ -37,8 +37,9 @@
 http_archive(
     name = "intellij_ue_2020_1",
     build_file = "@//intellij_platform_sdk:BUILD.ue201",
-    sha256 = "ba02e8dc63114062fa4f648e65adf9318f6c0248274bac1ad757aa44eccbd5e4",
-    url = "https://www.jetbrains.com/intellij-repository/releases/com/jetbrains/intellij/idea/ideaIU/2020.1.2/ideaIU-2020.1.2.zip",
+    sha256 = "4483b9c449a679feb498d214802a7077bbbf717299b7a548a97f3223c4294b0e",
+    strip_prefix = "idea-IU-202.6109.22",
+    url = "https://download-cf.jetbrains.com/idea/ideaIU-202.6109.22.tar.gz",
 )

 # The plugin api for CLion 2019.3. This is required to build CLwB,
Index: sdkcompat/v201/com/google/idea/sdkcompat/general/BaseSdkCompat.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- sdkcompat/v201/com/google/idea/sdkcompat/general/BaseSdkCompat.java	(revision 0177f4613f309dced62cd1d08f4cbe3b1728f01a)
+++ sdkcompat/v201/com/google/idea/sdkcompat/general/BaseSdkCompat.java	(date<PHONE_NUMBER>512)
@@ -134,7 +134,7 @@
   /** #api193: project opening requirements changed in 2020.1. */
   public static void openProject(Project project, Path projectFile) {
     PlatformProjectOpenProcessor.openExistingProject(
-        /* file= */ projectFile, /* projectDir= */ projectFile, new OpenProjectTask(project));
+        /* file= */ projectFile, /* projectDir= */ projectFile, OpenProjectTask.withCreatedProject(project));
   }

   /** #api193: auto-disposed with UI component in 2020.1+ */
Index: plugin_dev/src/com/google/idea/blaze/plugin/run/BlazeIntellijPluginDeployer.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- plugin_dev/src/com/google/idea/blaze/plugin/run/BlazeIntellijPluginDeployer.java	(revision 0177f4613f309dced62cd1d08f4cbe3b1728f01a)
+++ plugin_dev/src/com/google/idea/blaze/plugin/run/BlazeIntellijPluginDeployer.java	(date<PHONE_NUMBER>750)
@@ -36,6 +36,7 @@
 import com.intellij.execution.ExecutionException;
 import com.intellij.ide.plugins.IdeaPluginDescriptor;
 import com.intellij.ide.plugins.PluginManagerCore;
+import com.intellij.ide.plugins.PluginManager;
 import com.intellij.openapi.util.BuildNumber;
 import com.intellij.openapi.util.Key;
 import java.io.BufferedInputStream;
@@ -210,7 +211,7 @@
   @Nullable
   private static String readPluginIdFromJar(String buildNumber, File jar)
       throws ExecutionException {
-    IdeaPluginDescriptor pluginDescriptor = PluginManagerCore.loadDescriptor(jar, "plugin.xml");
+    IdeaPluginDescriptor pluginDescriptor = PluginManager.loadDescriptor(jar.toPath(), PluginManagerCore.PLUGIN_XML);
     if (pluginDescriptor == null) {
       return null;
     }
Index: base/src/com/google/idea/blaze/base/query/MacroLineMarkerProvider.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- base/src/com/google/idea/blaze/base/query/MacroLineMarkerProvider.java	(revision 0177f4613f309dced62cd1d08f4cbe3b1728f01a)
+++ base/src/com/google/idea/blaze/base/query/MacroLineMarkerProvider.java	(date<PHONE_NUMBER>106)
@@ -69,7 +69,7 @@

   @Override
   @SuppressWarnings("rawtypes")
-  public void collectSlowLineMarkers(List<PsiElement> elements, Collection<LineMarkerInfo> result) {
+  public void collectSlowLineMarkers(List<? extends PsiElement> elements, Collection<? super LineMarkerInfo<?>> result) {
     if (!enabled.getValue()) {
       return;
     }
@@ -155,7 +155,7 @@
   }

   @Nullable
-  private static BuildFile getContainingFile(List<PsiElement> elements) {
+  private static BuildFile getContainingFile(List<? extends PsiElement> elements) {
     PsiFile file = elements.isEmpty() ? null : elements.get(0).getContainingFile();
     return file instanceof BuildFile ? (BuildFile) file : null;
   }

Sweet - Although I tried the binary with Android Studio 4.0
Build #AI-193.69<IP_ADDRESS>14223, built on May 20, 2020
but its not compatible, is there something I need to do or can you rebuild the plugin marked for compatibility with AS? I'm happy to test this in Studio, would be great to get this merged in!

Another release https://github.com/bazelbuild/intellij/releases/tag/v2020.07.13 wondering if it's going to support new AS/Intellij.

https://plugins.jetbrains.com/plugin/8609-bazel/versions It’s marked as supported. I will check this out ! :)

https://plugins.jetbrains.com/plugin/8609-bazel/versions It’s marked as supported for IntelliJ. I will check this out ! :)

I'm on 2020.1.3 and form a first glance it seems to work.

https://plugins.jetbrains.com/plugin/8609-bazel/versions It’s marked as supported for IntelliJ. I will check this out ! :)

Looks like AS is not explicitly listed as supported just yet. That said, they don't list the latest version of the plugin on that page

Just tested with a project on mine in Goland and have no issues to report :) 🚀

Out of curiosity: Why is the plugin compatibilty of the clion flavour still limited to 2019.3.6?

Maybe off the topic. Why no results shown in CLion's plugins search result?

Anyone knows what exactly is missing from this plugin to make Android Studio v4.0 officially supported?

Anyone knows what exactly is missing from this plugin to make Android Studio v4.0 officially supported? I can see if we can contribute the missing functionality

It is already supported: https://plugins.jetbrains.com/plugin/9185-bazel/versions - Android Studio 4.0 is still based on a 193.something. I'm using it just fine as we speak.

Infinite loading..

I get this error trying to build with this patch (on top of d294f401):
  File "/home/vps/.cache/bazel/_bazel_vps/9226f72e17f622828abd6594b7014ba4/sandbox/linux-sandbox/548/execroot/intellij_with_bazel/./bazel-out/host/bin/build_defs/api_version_txt.runfiles/intellij_with_bazel/build_defs/api_version_txt.py", line 63, in main
    data = zf.read(application_info_name)
  File "/usr/lib64/python3.7/zipfile.py", line 1464, in read
    with self.open(name, "r", pwd) as fp:
  File "/usr/lib64/python3.7/zipfile.py", line 1503, in open
    zinfo = self.getinfo(name)
  File "/usr/lib64/python3.7/zipfile.py", line 1431, in getinfo
    'There is no item named %r in the archive' % name)
KeyError: "There is no item named 'idea/IdeaApplicationInfo.xml' in the archive"

Just tested with a project on mine in Goland and have no issues to report :) 🚀

which specific GoLand version works with which specific Bazel plugin?
For me "Bazel" menu disappears with GoLand version 2020.1 and Bazel plugin version 2<IP_ADDRESS>.2

By now, the plugin supports running in 2020.1. Please reopen if there's something we missed.


Generating phone numbers with specific format

I created a en-us.yml file with this content
en-us:
  faker:
    phone_number:
      formats:
        - "(#{PhoneNumber.area_code}) #{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number}"

Then this is what I get:
[1] pry(main)> Faker::Config.locale = 'en-us'
=> "en-us"
[2] pry(main)> Faker::PhoneNumber.cell_phone
=> "(9{PhoneNumber.area_code}) 8{PhoneNumber.exchange_code}-9{PhoneNumber.subscriber_number}"

Any idea why?
Thanks,
SB

I was just struggling with a related issue, noticed that the pull request mentioned above has now been merged. See https://github.com/stympy/faker/blob/master/lib/locales/en-US.yml for example formats.
My issue was that I was specifying Faker::Config.locale = 'en-us' when it needed to be 'en-US'.

@martianinteractive Do you have a PR for this issue?

@martianinteractive I think this issue can be closed. The PR mentioned by @chellberg addresses the issue and seems to be work fine now.


feat(DTFS2-6967): add audit logs to update facility endpoint

Introduction :pencil2:
All endpoints in dtfs-central-api should add auditDetails when inserting/updating data. This PR covers the update facility endpoint
Resolution :heavy_check_mark:

Add audit details to database changes for update facility endpoint

Codecov Report
Attention: Patch coverage is 4.16667% with 23 lines in your changes are missing coverage. Please review.

Project coverage is 22.49%. Comparing base (fbe7ec4) to head (ae15f00).
Report is 122 commits behind head on main.

Files
Patch %
Lines

...ers/tfm/facility/tfm-update-facility.controller.js
0.00%
9 Missing and 3 partials :warning:

...-manager-api/src/v1/controllers/acbs.controller.js
0.00%
2 Missing :warning:

...er-api/src/v1/controllers/amend-issued-facility.js
0.00%
2 Missing :warning:

...e-manager-api/src/v1/controllers/tfm.controller.js
0.00%
2 Missing :warning:

...anager-api/src/v1/controllers/update-facilities.js
0.00%
2 Missing :warning:

...ger-api/src/v1/controllers/amendment.controller.js
0.00%
1 Missing :warning:

...r-api/src/v1/controllers/deal.submit.controller.js
0.00%
1 Missing :warning:

...ager-api/src/v1/controllers/facility.controller.js
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2932      +/-   ##
==========================================
- Coverage   22.57%   22.49%   -0.08%
==========================================
  Files        1136      755     -381
  Lines       27255    16996   -10259
  Branches     4486     2356    -2130
==========================================
- Hits         6153     3824    -2329
+ Misses      18388    11890    -6498
+ Partials     2714     1282    -1432

Flag
Coverage Δ

api-test
0.40% <ø> (-0.09%)
:arrow_down:

ui-test
?

unit-test
22.81% <4.16%> (+18.17%)
:arrow_up:

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

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


How to generate tests for RV64D and RV64F using riscv-ctg?

When I use 'riscv_ctg -v debug -d ./tests/ -r -cf ./sample_cgfs/dataset.cgf -cf ./sample_cgfs/rv64i.cgf -bi rv64i -p2,' I can generate tests for RV64I. However, I couldn't find the provided rv64d.cgf and rv64f.cgf. Now I want to generate tests for D and F extensions. How can I do that? Looking forward to your guidance. Thank you very much.

I would like to know this too, and especially whether there is an easy way to modify rv64f.cfg to produce half and quad precision tests.

@pawks can you comment on whether these configs can be made available?

All the cgfs are already present under the sample_cgfs folder in the repo(link). The cgfs are placed in the directory corresponding to the minimum ISA requirement for the instruction to be included i.e for a RV64FD configuration instructions from all 4 directories will have to be used. This follows the instruction organization in the ISA manual.

@pawks Thank you for the speedy reply and sorry I missed the subdirectory. A few more questions if you have time to support this.

It looks like riscv_ctg has changed since you generated fadd_b1-01.S June 17, 2022.  For example, now it wants a --base-isa and seems to want --flen rather than --xlen.  I'm having trouble coming up with a usage string that works with RV32F/fadd.s.cgf.  Can you either point me to a string that works, or recommend an older version of riscv_ctg that is compatible with the usage string recorded in fadd_b1-01.S?

RV32F/fadd.s.cgf uses some abstract_comb: 'ibm_b... statements. I'm not finding where these are defined in riscv_ctg.  Will riscv_ctg find these combinations somehow, or is there additional information I need outside the riscv_ctg repo?

Related to (2), the abstract_comb ibm_b... takes a parameter of 32.  I presume I'll need to change this to 16 and 128 to generate Zfh and Q tests.  If this doesn't just work out of the box, is there any documentation about finding and modifying this abstract_comb?  I'm comfortable with floating-point and willing to do work if I can find what needs adapting.

I had to search and find the IBM files also; They're in the isac repo.
On Mon, Dec 25, 2023 at 8:35 PM David Harris @.***>
wrote:

@pawks https://github.com/pawks Thank you for the speedy reply and
sorry I missed the subdirectory. A few more questions if you have time to
support this.

It looks like riscv_ctg has changed since you generated fadd_b1-01.S
June 17, 2022. For example, now it wants a --base-isa and seems to want
--flen rather than --xlen. I'm having trouble coming up with a usage string
that works with RV32F/fadd.s.cgf. Can you either point me to a string that
works, or recommend an older version of riscv_ctg that is compatible with
the usage string recorded in fadd_b1-01.S?
2.
RV32F/fadd.s.cgf uses some abstract_comb: 'ibm_b... statements. I'm
not finding where these are defined in riscv_ctg. Will riscv_ctg find these
combinations somehow, or is there additional information I need outside the
riscv_ctg repo?
3.
Related to (2), the abstract_comb ibm_b... takes a parameter of 32. I
presume I'll need to change this to 16 and 128 to generate Zfh and Q tests.
If this doesn't just work out of the box, is there any documentation about
finding and modifying this abstract_comb? I'm comfortable with
floating-point and willing to do work if I can find what needs adapting.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/400#issuecomment-1869247237,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJQOIQJZV4Y2OWVI253YLJHXTAVCNFSM6AAAAAA6DDEXZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGI2DOMRTG4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


add CI?

I can submit a PR to run some code ULP code through py-esp32-ulp and through binutils-esp32ulp, and compare the generated code, if you think this is useful.

Ah, yes, that would be very useful! For travis-ci or do you have sth else in mind?
(but note that the py-esp32-ulp assembler is not quite ready yet, but hopefully soon)

.S --> .ulp works now (the latter being the format with header expected by the loader).
Totally untested, but looking reasonable.
I made up that .ulp extension, what's the usual one?

Yes, i was thinking about adding a travis-ci script.
It's not going to fully work initially also because the binutils doesn't support SoC register addresses (like 0x3ff4-something) as arguments of reg_rd and reg_wr instructions. But that's something that's easy to add on binutils side of things, and looks like a nice feature.
The idea is to commit some simple tests first (which will pass in the current state of things) and add more tests as the features get added and compatibility improves.
Regarding file extension: IDF build process generates ulp binaries with .bin extension, which then get embedded into the firmware. The whole process is mostly invisible to the users, so i didn't put much thought into the extensions. ULP is fine although i have to say that it may not be future proof. Future chips might be using different architecture for the ULP, so perhaps it would be better to indicate that somehow (.ulp32? .esp32ulp? I don't know if extensions need to be 3 characters or not...)

Ideally it should be something the micropython filesystem can accept. Have to try that later.
CI plans sound good! :)

thanks for the PR, we have CI now! \o/
one small issue: the first 5000 lines of output are rather uninteresting (if binutils-esp32 and micropython build as usual), can we get them collapsed?

Sure, will wrap them into folds.

also please split the pure python stuff from the binutils stuff (creating 2 separate scripts to run them).
binutils-esp32 does not compile on my machine (bug reported), so I don't have that locally, so the one script does not work any more.

fixed by #23 and #24.


Ship the new syntax

[x] #837
[ ] #978, #1373 (same fix apparently)
[x] #1376
[x] #1422
[x] #1434
[x] #1435
[x] #1442
[x] #1443
[x] #1444
[x] #1446
[x] #1447
[x] #1453
[x] #1454
[x] #1457
[x] #1472
[x] #1501
[x] #1506
[ ] #1507
[x] #1508
[x] #1510
[x] #1533

Stretch goal:

[x] #1494 <- edit: seems like we do have a unifying solution. Fred is working on it.
[ ] #1514 JSX gives newcomers some of the most confusing errors

Working in #1422.

That was an amazingly smooth release! I've forwarded the remaining stuff to #1577.
Thanks everyone!


Design WebUI

Design a new webui based on googles material design guidlines.
Polymer framework seems fit for the task.

Closing due to inactivity. Feel free to reopen if this is still an issue.


[FIX] add dependency to webrick

Split-off from https://github.com/seqan/www.seqan.de/pull/85
Current version produces an error when running JEKYLL_ENV=vercel bundle exec jekyll serve
Error:
Configuration file: /home/gene/Lehre/Forschung/code/www.seqan.de/_config.yml
 Theme Config file: /home/gene/Lehre/Forschung/code/www.seqan.de/_config.yml
            Source: /home/gene/Lehre/Forschung/code/www.seqan.de
       Destination: /home/gene/Lehre/Forschung/code/www.seqan.de/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
                    done in 4.432 seconds.
 Auto-regeneration: enabled for '/home/gene/Lehre/Forschung/code/www.seqan.de'
                    ------------------------------------------------
      Jekyll 4.2.1   Please append `--trace` to the `serve` command
                     for any additional information or backtrace.
                    ------------------------------------------------
/home/gene/Lehre/Forschung/code/www.seqan.de/vendor/bundle/ruby/3.0.0/gems/jekyll-4.2.1/lib/jekyll/commands/serve/servlet.rb:3:in `require': cannot load such file -- webrick (LoadError)
....

This PR adds webrick to the gemfile

Mhm,
does this work for you (without installing webrick):
# inside repository root
gem install bundler # if not installed
bundle install
bundle exec jekyll serve

I think JEKYLL_ENV=vercel is only needed for vercel (and the README should include a better version of my snippet).

This produces the same error.

Oh, you merged...to late xD

Not sure if it really needs to be pinned, we'll see :)
If it doesn't need pinning, we do not have to remember to update the version...


Complex STFT in X-UMX loss functions (like Danna-Sep)

Also consider Norbert.

model 1: A X-UMX model [1] which is initialized with the weights of the official baseline, and is fine-tuned with a modified Combinational Multi-Domain Loss from [1]. In particular, we implement and apply a differentiable Multichannel Wiener Filter (MWF) [2] before the loss calculation, and compute the frequency-domain L2 loss with raw complex values.

https://github.com/yoyololicon/music-demixing-challenge-ismir-2021-entry/tree/5ef1e23104218d484e927b52f5b32db0af9c0e43

I don't need to try this yet, since I want to stick closer to UMX/X-UMX.


Change version to 0.19.0

I think we can cut a new release now and then another one once the currently active PRs are in..
I also think we should update to 442 once thats out.

Thank you @losipiuk .. I announced on slack.


Cannot create eks cluster in pulumicdk.Stack

What happened?
Attempted to create EKS cluster using the ecs cluster as an example
import * as eks from 'aws-cdk-lib/aws-eks';
import * as pulumi from '@pulumi/pulumi';
import * as pulumicdk from '@pulumi/cdk';
import * as ec2 from 'aws-cdk-lib/aws-ec2';
import * as pulumiaws from "@pulumi/aws-native";
import { KubernetesVersion } from "aws-cdk-lib/aws-eks";

class ECSClusterStack extends pulumicdk.Stack {
    clusterArn: pulumi.Output<string>;

    constructor(id: string, options?: pulumicdk.StackOptions) {
        super(id, options);

        const vpc = ec2.Vpc.fromLookup(this, 'MyVpc', {
            isDefault: true,
        })
        const cluster = new eks.Cluster(this, 'fargate-service-autoscaling', {version: KubernetesVersion.V1_27, vpc });

        this.clusterArn = this.asOutput(cluster.clusterArn);

        this.synth();
    }
}

export const clusterArn = pulumiaws.getAccountId().then(account => {
    const stack = new ECSClusterStack('teststack', {
        props: {
            env: {
                region: pulumiaws.config.region,
                account: account.accountId,
            }
        }
    });
    return stack.clusterArn;
});

Instead of resources being created, it failed with
Diagnostics:
  pulumi:pulumi:Stack (teststack):
    error: Running program 'kubernetes\src\index.ts' failed with an unhandled exception:
    Error: Unable to find artifact with id "teststackawscdkawseksClusterResourceProviderFE26FAD9"
        at CloudAssembly.getStackArtifact (kubernetes\node_modules\aws-cdk-lib\cx-api\lib\cloud-assembly.js:1:1946)
        at AppConverter.convert (kubernetes\node_modules\@pulumi\src\stack.ts:247:48)
        at new StackComponent (kubernetes\node_modules\@pulumi\src\stack.ts:107:24)
        at ECSClusterStack.synth (kubernetes\node_modules\@pulumi\src\stack.ts:195:31)
        at new ECSClusterStack (kubernetes\src\index.ts:21:14)
        at kubernetes\src\index.ts:26:19
        at processTicksAndRejections (node:internal/process/task_queues:95:5)

Expected Behavior
Resources are created correctly
Steps to reproduce

modify ecs cluster example for an eks cluster instead
run pulumi preview or pulumi up

Output of pulumi about
$ pulumi about
CLI
Version      3.76.1
Go Version   go1.20.6
Go Compiler  gc

Plugins
NAME        VERSION
aws         5.42.0
aws         4.38.1
aws-native  0.18.0
aws-native  0.16.1
docker      3.6.1
nodejs      v18.16.0

Host
OS       Microsoft Windows 11 Pro
Version  10.0.22621 Build 22621
Arch     x86_64

This project is written in nodejs: executable='C:\Program Files\nodejs\node.exe' version='v18.16.0'

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

I can confirm that example is not working as-is. I see the same error as reported.
I have a hunch that this could be related to which specific versions of packages are resolved. Unfortunately we don't have a lock file in that example so can't reproduce the environment which was used when it was working.
From a quick test all versions back unto v2.56.0 fails with the same error. For versions v2.55.0 and below I get the error:
TypeError: source.addDependency is not a function
        at prepareApp (node_modules/@pulumi/cdk/node_modules/aws-cdk-lib/core/lib/private/prepare-app.js:1:536)
        at synthesize (node_modules/@pulumi/cdk/node_modules/aws-cdk-lib/core/lib/private/synthesis.js:1:922)
        at App.synth (node_modules/@pulumi/cdk/node_modules/aws-cdk-lib/core/lib/stage.js:1:2052)

gist of package-lock.json

The issue here is that we don't support NestedStack resources yet in the pulumi-cdk bridge.  The eks.Cluster construct uses a NestedStack internally, which is what triggers this.
A simpler example that also doesn't work is this:
import * as core from 'aws-cdk-lib/core';
import * as pulumi from '@pulumi/pulumi';
import * as pulumicdk from '@pulumi/cdk';
import { Construct } from "constructs";
import * as s3 from 'aws-cdk-lib/aws-s3';
import * as pulumiaws from "@pulumi/aws-native";

class Nesty extends core.NestedStack {
    constructor(scope: Construct, id: string, props?: core.NestedStackProps) {
        super(scope, id, props);
        const bucket = new s3.Bucket(this, "bucket", {});
    }
}

class RootStack extends pulumicdk.Stack {
    nestedStackId: pulumi.Output<string>;
    constructor(id: string, options?: pulumicdk.StackOptions) {
        super(id, options);
        const x = new Nesty(this, "nesty", {});
        this.nestedStackId = this.asOutput(x.stackId);
        this.synth();
    }
}

export const nestedStackId = pulumiaws.getAccountId().then(account => {
    const stack = new RootStack('teststack', {
        props: {
            env: {
                region: pulumiaws.config.region,
                account: account.accountId,
            }
        }
    });
    return stack.nestedStackId;
});

I tested out a very simple change which just treats the nested stacks as independent aws.cloudformation.Stack resources, and this technically works, but isn't really what we want here - as we are trying to avoid the need to use CloudFormation for the deployment entirely.  So we'll need to do a slightly more involved implementation to ensure we are deploying the nested stacks via Pulumi as well, and rewriting cross stack references to look up the corresponding Pulumi outputs.
I'll re-title this issue to use to track adding support for NestedStacks.


Track proximal sources of functional GIFTIs

Related to #3261.
Changes proposed in this pull request

Documentation that should be reviewed

The GIFTI metadata from ds005 look good:
{
  "RepetitionTime": 2.0,
  "SliceTimingCorrected": false,
  "Sources": [
    "bids:raw:sub-01/func/sub-01_task-mixedgamblestask_run-01_bold.nii.gz",
    "bids::sub-01/func/sub-01_task-mixedgamblestask_run-01_from-orig_to-boldref_mode-image_desc-hmc_xfm.txt",
    "bids::sub-01/func/sub-01_task-mixedgamblestask_run-01_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt",
    "bids:deriv-0:sub-01/anat/sub-01_from-fsnative_to-T1w_mode-image_xfm.txt"
  ],
  "TaskName": "mixed-gambles task"
}


error: Could not load plugin ... libpdf-mupdf.so: undefined symbol: fz_page_label

Ubuntu 22.04 x86_64 GNU/Linux
zathura 0.5.6
zathura-pdf-mupdf 0.4.2
mupdf 1.24.2
I'm getting this error when trying to use this plugin with zathura.
error: Could not load plugin '/usr/local/lib/x86_64-linux-gnu/zathura/libpdf-mupdf.so' (/usr/local/lib/x86_64-linux-gnu/zathura/libpdf-mupdf.so: undefined symbol: fz_page_label).
error: Found no plugins. Please install at least one plugin.
info: Opening plain database via sqlite backend.
warning: sqlite database already exists. Set your database backend to sqlite
error: Could not determine file type.

(zathura)-install-log.txt
(zathura)-meson-log.txt
(zathura-pdf-mupdf)-install-log.txt
(zathura-pdf-mupdf)-meson-log.txt

Not sure how you managed to build it, since it should have failed with an implicit function declaration. In any case, your mupdf insallation is too old. You need 1.24 or newer.

06be8e6 will make sure that this does not happen in the future.

I face the same issue on Ubuntu.
@sebastinas, why did you mention the mupdf version is old when he has mentioned the version as mupdf 1.24.2?
I also tried by building latest mupdf 1.24.3 from source.
But my meson build failed with the same error.
meson says it cannot find libpdf-mupdf.so

I face the same issue on Ubuntu. @sebastinas, why did you mention the mupdf version is old when he has mentioned the version as mupdf 1.24.2? I also tried after building latest mupdf 1.24.3 from source. But my meson build failed with the same error. meson says it cannot find libpdf-mupdf.so

I guess I misread. If fz_page_ label is missing and the mupdf version s 1.24.3, there is something wrong with mupdf installation.

Below is the output of meson build command
The Meson build system
Version: 1.4.1
Source dir: /home/sps/ProgramFiles/pwmt/zathura-pdf-mupdf
Build dir: /home/sps/ProgramFiles/pwmt/zathura-pdf-mupdf/build
Build type: native build
Project name: zathura-pdf-mupdf
Project version: 0.4.3
C compiler for the host machine: cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C linker for the host machine: cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.0
Run-time dependency zathura found: YES 0.5.6
Run-time dependency girara-gtk3 found: YES 0.4.4
Run-time dependency glib-2.0 found: YES 2.72.4
Run-time dependency cairo found: YES 1.16.0
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency mupdf found: NO (tried pkgconfig and cmake)
Library mupdf-third found: YES
Has header "mupdf/fitz/version.h" : YES
Has header "mupdf/fitz.h" : YES
Has header "mupdf/pdf.h" : YES
Library mupdf found: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=vla: YES
Build targets in project: 1

Found ninja-1.10.1 at /usr/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

It has not found run-time dependency mupdf
Later, when I try ninja from build directory, I get the following error:
[1/11] Compiling C object libpdf-mupdf.so.p/zathura-pdf-mupdf_plugin.c.o
[2/11] Compiling C object libpdf-mupdf.so.p/zathura-pdf-mupdf_select.c.o
[3/11] Compiling C object libpdf-mupdf.so.p/zathura-pdf-mupdf_page.c.o
[4/11] Compiling C object libpdf-mupdf.so.p/zathura-pdf-mupdf_utils.c.o
[5/11] Compiling C object libpdf-mupdf.so.p/zathura-pdf-mupdf_index.c.o
[6/11] Compiling C object libpdf-mupdf.so.p/zathura-pdf-mupdf_document.c.o
[7/11] Compiling C object libpdf-mupdf.so.p/zathura-pdf-mupdf_render.c.o
[8/11] Compiling C object libpdf-mupdf.so.p/zathura-pdf-mupdf_search.c.o
[9/11] Compiling C object libpdf-mupdf.so.p/zathura-pdf-mupdf_image.c.o
[10/11] Compiling C object libpdf-mupdf.so.p/zathura-pdf-mupdf_links.c.o
[11/11] Linking target libpdf-mupdf.so
FAILED: libpdf-mupdf.so
cc  -o libpdf-mupdf.so libpdf-mupdf.so.p/zathura-pdf-mupdf_document.c.o libpdf-mupdf.so.p/zathura-pdf-mupdf_image.c.o libpdf-mupdf.so.p/zathura-pdf-mupdf_index.c.o libpdf-mupdf.so.p/zathura-pdf-mupdf_links.c.o libpdf-mupdf.so.p/zathura-pdf-mupdf_page.c.o libpdf-mupdf.so.p/zathura-pdf-mupdf_plugin.c.o libpdf-mupdf.so.p/zathura-pdf-mupdf_render.c.o libpdf-mupdf.so.p/zathura-pdf-mupdf_search.c.o libpdf-mupdf.so.p/zathura-pdf-mupdf_select.c.o libpdf-mupdf.so.p/zathura-pdf-mupdf_utils.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -Wl,-rpath,/usr/local/lib/x86_64-linux-gnu -Wl,-rpath-link,/usr/local/lib/x86_64-linux-gnu -Wl,--start-group /usr/local/lib/x86_64-linux-gnu/libgirara-gtk3.so /usr/lib/x86_64-linux-gnu/libgtk-3.so /usr/lib/x86_64-linux-gnu/libgdk-3.so /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so /usr/lib/x86_64-linux-gnu/libpango-1.0.so /usr/lib/x86_64-linux-gnu/libharfbuzz.so /usr/lib/x86_64-linux-gnu/libatk-1.0.so /usr/lib/x86_64-linux-gnu/libcairo-gobject.so /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so /usr/lib/x86_64-linux-gnu/libgio-2.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libcairo.so -lmupdf -lmupdf-third -Wl,--end-group
/usr/bin/ld: /usr/local/lib/libmupdf-third.a(parser.o): warning: relocation against `kGumboEmptySourcePosition' in read-only section `.text.handle_in_body'
/usr/bin/ld: /usr/local/lib/libmupdf.a(device.o): relocation R_X86_64_PC32 against symbol `fz_unit_rect' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

As the error is saying: rebuild mupdf with -fPIC

I cannot locate libdf-mupdf.so anywhere in the mupdf source distribution which I downloaded from the release page

Of course not, because libpdf-mupdf.so is the product of building zathura-pdf-mupdf.


feat: bring back reanimated update

This PR resolves PHIRE-483
Description
This PR brings reanimated to the same version as eigen and resolves some dependency mismatches that caused some crashes coming from react-native-pager-view react-native-collapsible-tab-view and created a ticket to prevent those from happening again.
Did a super quick sanity check and things look good need confirmation from @damassi and @brainbicycle that everything works as expected.

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Need help with something? Have a look at our docs, or get in touch with us.

Ran the latest beta and this looks perfect 👍 Sorry for all of this back and forth around this!!!


Nix and Guix is a great idea!

Just being a bit cheeky :)

Thought development around guix has been progressed... :(
Well, it is a bit of improvement at least.
Will there be supports around Guix? Or it seems more likely to be around Nix?

Thought development around guix has been progressed... :(
Well, it is a bit of improvement at least.
Will there be supports around Guix? Or it seems more likely to be around Nix?


:set helpfile does nothing

Steps to reproduce
vim

:set hf=some_directory

:help

If you set it to a directory or file that exists, it has no effect; :help opens the normal help.
Expected behaviour
Open the specified file or directory as :help
Version of Vim
8.2 Included patches: 1-3995, 4563, 4646, 4774, 4895, 4899, 4901, 4919
Environment
Ubuntu 22, Bash, xterm
Logs and stack traces
No response

The docs clearly say that the value must be the name of the main help file.  Thus it should end in "doc/help.txt".
Something else is not expected to work.


accesslog: disable builtin resource labels

Please provide a description of this PR:
Alternative for https://github.com/istio/api/pull/2872

@zirain: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test release-notes

gencheck_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test release-notes

gencheck_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test gencheck

unit-tests-arm64_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test release-notes

gencheck_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test gencheck

unit-tests-arm64_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test unit-tests-arm64

lint_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test release-notes

gencheck_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test gencheck

unit-tests-arm64_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test unit-tests-arm64

lint_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test lint

unit-tests_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test lint

unit-tests_istio
6fba54ae018afd2b00a73fa2f5bbd6a98aff19b9
link
true
/test unit-tests

gencheck_istio
70e7f5e09d5f35fec9f072a143889eec1a77f5d7
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


error: ‘class GlobalDcmDataDictionary’ has no member named ‘wrunlock’;

Hello,
When I want to make,
make -j5
I had this error.
error: ‘class GlobalDcmDataDictionary’ has no member named ‘wrunlock’; did you mean ‘wrlock’?      dcmDataDict.wrunlock();                  ^~~~~~~~                  wrlock modules/fct_read/CMakeFiles/fct_read.dir/build.make:62: recipe for target 'modules/fct_read/CMakeFiles/fct_read.dir/src/DicomDataSet.cpp.o' failed
But I don't know how fixed it.
Is this version problem? or somewhere I did wrong?`
thank you.

Hi @Tzu-Ti,
This is indeed a problem with your version of DCMTK.  Please download, build, and install the latest version of DCMTK from the Offis website (https://dicom.offis.de/download/dcmtk/dcmtk365/dcmtk-3.6.5.tar.gz) and ensure that when you build FreeCT you are linking against this version.
Another potential solution is to upgrade your OS to the latest version of Ubuntu, where the correct version of DCMTK is installed through the package manager.
Hope that helps!
John


Makefile.dimensions -> Makefile.parameters

All the configuration parameters should go in an accessible Makefile, so that we can fit within the new Linker script / Machine API

Fixed in #325


Notion2markdown crashes with notion-client 2.2.1

Stacktrace:
[2024-01-31T21:04:13.792Z] Traceback (most recent call last):
[2024-01-31T21:04:13.991Z]   File "/usr/local/lib/python3.11/site-packages/notion2markdown/__init__.py", line 14, in export_url
[2024-01-31T21:04:13.991Z]     self.downloader.download_url(url, json_dir)
[2024-01-31T21:04:13.992Z]   File "/usr/local/lib/python3.11/site-packages/notion2markdown/notion.py", line 24, in download_url
[2024-01-31T21:04:13.992Z]     self.download_page(page_id, out_dir / f"{page_id}.json")
[2024-01-31T21:04:13.992Z]   File "/usr/local/lib/python3.11/site-packages/notion2markdown/notion.py", line 32, in download_page
[2024-01-31T21:04:13.992Z]     blocks = self.notion.get_blocks(page_id)
[2024-01-31T21:04:13.992Z]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-01-31T21:04:13.992Z]   File "/usr/local/lib/python3.11/site-packages/notion2markdown/notion.py", line 107, in get_blocks
[2024-01-31T21:04:13.992Z]     list(self.get_blocks(child["id"])) if child["has_children"] else []
[2024-01-31T21:04:13.992Z]                                           ~~~~~^^^^^^^^^^^^^^^^
[2024-01-31T21:04:13.992Z] TypeError: string indices must be integers, not 'str'

Fixed this by downgrading notion-client to 2.0.0

Worked for me. I wonder what doesn't work because of the downgrade. Any updates planned for this library?


Event request: split into sections

Check https://django-floppyforms.readthedocs.io/

@gperu and @shoaibsufi Preview:


Atomistic membrane?

For some work we are currently doing, it would be extremely useful to generate both a coarse-grain and atomistic membrane. I suppose 'backward' (https://cgmartini.nl/docs/tutorials/Martini3/Backward/) could be used, but this would still require an atomistic topology.
Is there any more sensible approach?

Hello
I haven't personally used Backward before but i have previously used CG2AT (https://github.com/owenvickery/cg2at) to backmap my Martini3 systems. It might require you to create some mapping files for your lipids but from what i can remember that shouldn't be too difficult. There is a thorough explanation of the program, file layout and how to write fragment mapping files on their GitHub.
Generally i would advice people to use a different program than COBY for atomistic system creation if the system contains membranes, as COBY does not insert different lipid conformations (as CharmmGUI does). COBY just places a number of copies of the same lipid structure with a random rotation around the z-axis (with each bead having had a small random kick applied to it). I do think it would be fine to create a system in M3 with COBY and then backmap it with CG2AT as CG2AT performs its own minimizations and equilibrations, thus "correcting" some of the simplifications done by COBY.
Cheers, Mikkel

Thank you Mikkel! I'll give CG2AT a spin.
Certainly I think it's fine to use an external tool, but I imagine this is quite a common use case for CODY, so it would be good to document / smooth off the edges so it's obvious how to do it.


Stateless and Stateful Apps are not listed in sidebar

Stateless and Stateful Apps are searchable and accessible from the URL, but not listed in the sidebar.

Hey @supirman neither of those terms are completed yet. Only entries marked completed appear in the navigation bar.


Package rhumsaa/uuid is abandoned

Hi,
I just installed the Tracker and already enjoy the lots off options that you have.
But when i installed it i get the error:
Package rhumsaa/uuid is abandoned, you should avoid using it. Use ramsey/uuid instead.
Might want to change your composer.json and move it to ramsey/uuid and test.

Looks like this has been fixed in the master branch (yay!) but hasn't been released yet.
Until tracker releases what's in master, you may do the following in your project:
composer require ramsey/uuid=^2.8

Since ramsey/uuid indicates that it is a replacement for rhumsaa/uuid, when Composer installs dependencies for tracker, it will use ramsey/uuid instead, and all will be well, and you won't see the warning message again. :-)

Fixed and released.


Should we play or pause the media by clicking on the main div ?

I don't think so because it isn't ergonomic since the div is too large.
Anyway even if we hold this feature for videos we should disable it for audios ...

This overlay works like youtube. But feel free to disable it for audio, it's reasonable to me


Broken Docker image

Image
I have been using this image for months with no issues until today: mcr.microsoft.com/mssql/server:2022-latest
To replicate this error run docker pull mcr.microsoft.com/mssql/server:2022-latest and the error message is:
docker pull mcr.microsoft.com/mssql/server:2022-latest
2022-latest: Pulling from mssql/server

What's next:
    View a summary of image vulnerabilities and recommendations → docker scout quickview mcr.microsoft.com/mssql/server:2022-latest
failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://eastus.data.mcr.microsoft.com/aba285c624a04409823b708c7a50e7b9-jttfjm99vo//docker/registry/v2/blobs/sha256/b2/b2761593c69305fb6e0fe9489be43a369c7aae434178f6d516aced84c41c7136/data?se=2024-10-22T15%3A06%3A10Z&sig=mgdpToHsbWa0Zfa34nqnuW2uAiAARcDckj5UiNb0CpY%3D&sp=r&spr=https&sr=b&sv=2018-03-28&regid=aba285c624a04409823b708c7a50e7b9": EOF

Same error occur when I do docker pull mcr.microsoft.com/mssql/server:latest and so on I tried about 10 different images. from the documentation here
can someone please update the documentation and or fix the bug if any ? Please help.

I've been just pulling a newer version of 2022-latest, no issues here.
Did you try to open the URL printed out in a browser? If yes, does it show some kind of JSON object?
If not, what kind of error is shown? What is the HTTP status code?
The issue could be related to a VPN being used, a firewall intercepting, ...


SampleGen: Accept enum values as CLI flags

Example:
$ python samples/v1/sample_analyze_sentiment.py --type PLAIN_TEXT

All six languages are tested with a language example.

PTAL @googleapis/samplegen


Filter chaining doesn't appear to be working.

Ionic version:  (check one with "x")
[x] 1.x
[ ] 2.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

When applying multiple filters to an attribute of an element, the second filter results in an error...
[$parse:syntax] Syntax Error: Token 'uppercase' is an unexpected token at column 22 of the expression....
Expected behavior:

Both filters should be applied.  This works when running the application in a desktop browser, but not when running the code in the iOS emulator.
Steps to reproduce:

Apply chained filters (per https://docs.angularjs.org/guide/filter) to an attribute of an element and run the code in the iOS emulator.
Related code:
//--- This is an arbitrary example but illustrates the issue.
<div class="{{className | lowercase | uppercase}}">

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.5.0
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.7
ios-deploy version: 1.9.0
ios-sim version: 5.0.3
OS: OS X El Capitan
Node Version: v6.0.0
Xcode version: Xcode 8.2.1 Build version 8C1002

Hello! Thanks for opening an issue with us! As this seems like more of a support question i will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic!


fixed: unknown --directory flag causing script to fail

Fixes-###
What
installation script not working , after diagnosis the 'mktemp' command doesnt take --directory flag but instead a -d flag
Why
How Tested
sudo ./scripts/install-slim.sh

thanks for the fix @darklight147 !


cleaned typos

Removed typos in:

src/hardware/serialhandler/SerialHandlerProcess.py
ReadThread -> readthread
WriteThread -> writethread
main.py
CameraProcess -> cameraprocess

linked to issues #3 #2


Connecting to the screen of speaker's detail

Pull Request Test Coverage Report for Build 22

0 of 35 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/main.dart
0
1
0.0%

lib/page/time_table_page.dart
0
34
0.0%

Totals

Change from base Build 20:
0.0%

Covered Lines:
0

Relevant Lines:
363

💛  - Coveralls


Persistent offline producer cache?

This is more of a question than an issue. If the device is offline for an extended period of time, is there some strategy in ruby-kafka to store the messages locally until the connection is restored and they can be sent to the broker?
What about if the process is killed, is there any way to have a persistent store of these pending messages to be sent when the connection is restored?

@rgaufman ruby-kafka uses an internal buffer to store the messages you pass into producer. There aren't any strategy to persist those messages. When a devise is offline and the process is still alive, ruby-kafka keeps retrying until the connection is back. In that period, if the process is killed, it is unfortunate that all messages will be lost.
The message persistence could be done, but at a higher level than ruby-kafka. ruby-kafka provides instrumentations and enough interfaces for this task. This is my current solution that I am using, perhaps this could work for you. When the process is shut down, I shutdown the producer, which will disconnects all connections to Kafka, then I persists all messages Redis, using list. When the process starts a again, I read the old data from Redis with pop operator. This works well for me on production when the processes stop gracefully. If you want to support higher level of reliability, you could sync to Redis when a message is pushed into buffer, and remove it when a message is successfully delivered. The downside is that this approach increases the overhead for each message, and you must be careful about message duplication when the producer recovers from a crash. I choose redis because it is suitable for my deployment strategy, you could use any other storages, even a system file.

ruby-kafka doesn't offer anything out of the box, but as @nguyenquangminh0711 says, you can built something yourself. For local disk persistence, this could work:
require "kafka"
require "json"

class PersistentProducer
  BUFFER_FILE = "kafka-message-buffer"

  def initialize(producer:, buffer: [])
    @producer = producer
    @buffer = buffer
    @file = File.new(BUFFER_FILE, "w")

    # Cheat and reuse the encoder from ruby-kafka.
    @encoder = Kafka::Protocol::Encoder.new(@file)
  end

  def produce(key:, value:, topic:, partition_key:)
    message = { key: key, value: value, topic: topic, partition_key: partition_key }
    @buffer << message
    persist(message)
  end

  def deliver_messages
    @buffer.each do |message|
      @producer.produce(**message)
    end

    @producer.deliver_messages
  end

  def self.restore_from_disk(producer:)
    buffer = []

    File.open(BUFFER_FILE, "r") do |file|
      decoder = Kafka::Protocol::Decoder.new(file)

      until decoder.eof?
        data = decoder.bytes
        message = JSON.parse(data)

        buffer << message
      end
    end

    new(producer: producer, buffer: buffer)
  end

  private

  def persist(message)
    data = JSON.dump(message)

    @encoder.write_bytes(data)

    # Make sure the data is written to disk.
    @file.flush
  end
end

I haven't heard from you for a while and I think this problem should be handled outside of ruby-kafka gem. Therefore, I'll close this issue. Please feel free to re-open it in case you have further questions related to this.


Rename data policies navigation to disaster recovery

Issue: https://issues.redhat.com/browse/RHSTOR-5388

/approve
/lgtm


Not work with XCode 10

[17:39:14]: Unable to find any .xccoverage file.
[17:39:14]: Make sure you have enabled 'Gather code coverage' setting on your scheme settings.
[17:39:14]: Alternatively you can provide the full path to your .xccoverage file.

It works for me well on Xcode 10.

Solution for me:
    xcov(       workspace: "Sample.xcworkspace",       scheme: "Sample",       only_project_targets: true,        json_report: true,       output_directory: "./fastlane/xcov_output",       **derived_data_path: "/Users/distiller/project/ddata/"**     )
and in your test job:
fastlane scan **--derived_data_path="./ddata" --code_coverage**


Restrict request methods and add more tests.

This adds tests for the previously untested revoke view and also restricts the request methods for some views which can make changes to the models. This is in response to errors received by someone sending a HEAD request to the reset view, which has conditionals only for POST and GET, leading to the view returning None, which causes the error. This approach of restricting the request methods seems better than allowing all types, which would mean we would either be allowing HEAD requests to inadvertently delete invites and do things like that, or we'd need to add more code for some of the views to change what they do on different kinds of requests to avoid those unintended consequences.

ping @ldko, @clarktr1, this is ready for review.


[Question]: Only one document is retrieved (db has multiple docs with good similarity) from vector database while sending the query to LLM

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
This prints 5 docs
vector_store = QdrantVectorStore(client=client, collection_name="Collection1")
index = VectorStoreIndex.from_vector_store(vector_store)
retriever = index.as_retriever(
    similarity_top_k=5 # Adjust the value as needed
)

docs = retriever.retrieve("some question here")

# printing out the metadata
for i in range(len(docs)):
    print("---------------------------------------")
    print(docs[i].metadata)
    print("========")
    print(docs[i].text)
    print("---------------------------------------")

The expectation was similar
query_engine = index.as_query_engine(retriever_kwargs={"similarity_top_k": 5})
response = query_engine.query("some question here")
print(response)

for this, but I only see one docs sent to LLM.

Always answer the query using the provided context information, and not prior knowledge.
Some rules to follow:
1. Never directly reference the given context in your answer.
2. Avoid statements like 'Based on the context, ...' or 'The context information ...' or anything along those lines.
Additional Keywords:
{}
Role: user
Content:
Context information is below.
---------------------
 {A good sized context was added her}
---------------------
Given the context information and not prior knowledge, answer the query.
Query: "some question here"
Answer:
Additional Keywords:
{}
Model Dictionary:
{'system_prompt': None, 'pydantic_program_mode': <PydanticProgramMode.DEFAULT: 'default'>, 'model': 'gpt-4', 'temperature': 0.3, 'max_tokens': None, 'logprobs': None, 'top_logprobs': 0, 'additional_kwargs': {}, 'max_retries': 3, 'timeout': 60.0, 'default_headers': None, 'reuse_client': True, 'api_key': '', 'api_base': 'https://api.openai.com/v1', 'api_version': '', 'class_name': 'openai_llm'}
-----------------------

@arunjana the default response synthesizer will "compact" text chunks and try to reduce the number of LLM calls
Checking the prompt will show all the text that shoved into that prompt. The actual nodes and number of nodes used can be checked with response.source_nodes

This is my error. I didn't set similarity_top_k properly. I believe Claude or Gemini advised to set it as index_1.as_query_engine(retriever_kwargs={"similarity_top_k": 5}). Your documentation showed how to do it properly. index.as_query_engine(similarity_top_k=5). Thanks to this error, I now know how to use CallBackHandlers and EventHandlers


Set postcss deps as peerDeps?

It might be cleaner to have all the postcss deps as peerDeps? That way users of this module can set their own versions.

Aren't peerDeps deprecated in npm? I heard, they are going to remove it completely in the npm v3.0.0

well… no. They're not removed, they're changing behavior. In npm 2, peerDeps were auto-installed, and installs broke when this auto-install failed. In npm 3, peerDeps aren't auto-installed. It's up to the user to install the version they want.

Well, I lack information about the topic, so I don't to know to what possible problems that solution can lead. Let me think a little about it.
Currently, I want to fix test, so it will be possible to publish it. After that, I'll look on it closely.

You should definitely use peerDeps, they work fine and they will for even better.

I have to agree with you. Having postcss and its plugins as peerDeps is a good idea. It will be convenient both for the user and for maintainer (less updates).
I read npm documentation and made few tests with<EMAIL_ADDRESS>and presumably it works well.
Documentation:

https://docs.npmjs.com/files/package.json#peerdependencies
https://github.com/npm/npm/releases/tag/v3.0.0

pr: https://github.com/sullenor/css-modules-require-hook/pull/12

I published update, so you may try to use it :)
Version 1.0.2


When will python sdk release?

Looking forward it~

Hi @BrightXiaoHan
Thanks for reaching to our SDK, we would release it asap after internally review phase, it should be done in this month!

Hi @BrightXiaoHan b
We have released this SDK, thanks!


Repo description is always null

Repo's descriptions are always null, i.e. the selector .find('p .py-1').text() is not returning anything anymore. Need to be replaced with .find('.py-1 > p').text().

Thanks for reporting


Typeable support

Perhaps one could consider having a version of discoverInstances, that returns a witness for a product from c and Typeable as currently it's not possible to reifyInstances for Typeable. We would have to optimistically assume that for all instances of c, Typeable holds as well.

See here: https://git.sr.ht/~mangoiv/htree/tree/c68cba16051d86ab9ca6d23ebe26c21aa3f19674/item/test/Spec/HTree/TH.hs

This is a good request. I've generally been using this library with "sentinel classes" of sorts which then imply everything I actually need. So something like:
class (ToJSON a, FromJSON a, Typeable a) => ApiType a

instance ApiType Foo
instance ApiType Bar

-- ...

$$(discoverInstances @ApiType)

An API for discovering the intersectin of several classes would be very useful.

The issue is more specifically, that Typeable is special cases by the compiler in a way that makes reifyInstances not report it but it can be assumed for every concrete type. So if we skip types that are merely variables, we can just report back evidence for Typeable and the other class we were searching. It’s somewhat weird and incomplete though as e.g. instance synonyms might have a Typeable constraint in scope but they’d be filtered out. We’re also relying on a heuristic based on how the compiler works which also might not be a good idea. I think in general, reifyInstances should just report Typeable instances


Keep an edit log for all of the user-facing models

cc @hickman-santini @SylvainChevalier is this something we'll ever need? If so, can you describe some user stories around how I'd be used and we can spec it out starting from there?

This is about trust. As in, with an edit history you don't need faith in people who have edit powers, because anyone can check their work. Like open source, wikipedia, etc.


Automatically cleanup databases in listing.json

What would you like to be added:
When doing xeol db list, there is a long list of listings returned, it's overwhelming for human eyes. Our listing.json should only contain something like the last 3 months of databases, even though we will keep an archive of all database listings.
Why is this needed:
Bad UX

per this issue, should we clean the db data in local file or just set up a time constraint like (only list db with 3 months)?

Hi @nidepapa!
Some context, we have a lambda that pulls data from endoflife.date every 24 hours and then uploads a sqlitedb to S3. The listing.json contains the databases and their timestamps and is updated with each lambda run. xeol db list shows the results from this listing.json file.
So, actually this ticket is misplaced, since the work needs to be done on the database creation lambda rather than the client. Unfortunately, the repo for this is not open-sourced yet. I think i'm going to close this ticket.


Fix Android build

Do not specify the current working directory as an include path, this jacks up the android build due to our use of the "signal.h" filename.

I get the following compile error.
/home/ubuntu/Projects/autowiring/autowiring/contrib/autoboost/libs/filesystem/portability.cpp:14:20: fatal error: stdafx.h: No such file or directory
#include "stdafx.h"

@hham should be fixed now.

Actually hold on this, there is one more thing I need to fix.

Great.  I didn't mean to merge this one either.


Publish Python 3.6 wheel

Please upload a prebuilt wheel for Python 3.6 to PyPi.

+1

Just to be clear: I hear y’all and would love to give you your delicious wheels.
Sadly it’s a bit problematic to build them since two different CIs are involved (AppVeyor for Windows & Jenkins for macOS) and I’d have to make them build older revisions.  I’m sure it’s possible but I just don’t have the time to figure it out – sorry.
My hope is that upstream will tag a new version sometime soon so I can release a new version (which is fully automated).

Plot twist: I have just uploaded (hopefully) all relevant 3.6 wheels.  All thanks belongs to @reaperhulk tho.


API: Level 1 price "spread" API (by market)

REST API at the path /api/serum/market/{marketId}/spread, takes in a marketId
Returns a response with at least a bid and ask value:

{
    "bid": 38.50,
    "ask": 38,60
}

Notes:
This will make two order book requests. Other tickets will be made for a "bid" only API, and an "ask" only API, to limit it to one RPC request. A website may just want the top bid to return as an active price for an asset, and the "bid" only API would suffice, and use half the load. In the future, market caching would slightly improve these response times as well.

This ticket will just handle the combined "spread" API. Individual bid and ask APIs will require a small change to the library dependency. The updated response will look like this:
{"bidQuantity":140.0,"askPrice":31.059,"quoteMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","askQuantity":170.0,"bidPrice":30.996,"baseSymbol":"SOL","baseMint":"So11111111111111111111111111111111111111112","id":"9wFFyRfZBsuAha4YcuxcXLKwMxJR43S7fPfQLusDBzvT","baseName":"Wrapped SOL","quoteName":"USD Coin","quoteSymbol":"USDC"}

Base and Quote information is included since it's already in-memory.


Update sbt-sonatype to 3.1

Updates org.xerial.sbt:sbt-sonatype from 3.0 to 3.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.xerial.sbt", artifactId = "sbt-sonatype" } ]

Codecov Report

Merging #82 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #82   +/-   ##
=======================================
  Coverage   51.63%   51.63%
=======================================
  Files          29       29
  Lines         244      244
=======================================
  Hits          126      126
  Misses        118      118

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 b669d76...3fef0d0. Read the comment docs.


bower installing 0.13.6

bower installing 0.13.6 while im tring install latest 0.13.7

and https://github.com/balderdashy/sails.io.js/releases/tag/v0.13.7
is 0.13.6


Add serial non-RAJA support for shapers in klee.

I happened to have a non-RAJA serial Axom build I was using for debugging and ended up in it trying to run the quest_shaping_driver_ex  utility to do some shaping in klee. This program gets built but it cannot run. The IntersectionShaper for example requires RAJA to do anything useful. I was going to change the CMake logic for quest_shaping_driver_ex  to not build it unless RAJA is present. Then I recalled Kenny saying something to the effect of it should be possible to build Axom without RAJA. Most of the code reflects this (e.g. use of axom::for_all rather than RAJA). I took a look at IntersectionShaper and there are cases for using SEQ_EXEC as the execution policy but they are currently guarded with RAJA ifdefs because some RAJA reductions and atomics are used.
I made some exploratory edits to change calls like RAJA::ReduceSum to axom::ReduceSum and provided some non-RAJA definitions that produced a working quest_shaping_driver_ex  program using the IntersectionShaper (albeit really slow). Is there any value to hardening such work and migrating some additional RAJA:: constructs to axom:: constructs? I expect these definitions could live down in axom/src/axom/core/execution/internal.

Change RAJA:: calls in IntersectionShaper to axom::
Make suitable serial, (RAJA omp, cuda, hip) wrappers for things like ReduceSum, atomicAdd,...
Make sure quest_shaping_driver_ex  can operate in non-RAJA build

`
#if !defined(AXOM_USE_RAJA)
template <typename ReducePolicy, typename T>
class ReduceSum
{
public:
ReduceSum(T value) : sum(std::make_shared(value))
{
}
void operator += (T value) const
{
T *ptr = sum.get();
*ptr += value;
}
T get() const { return *sum; }
operator int() const { return static_cast(*sum); }
operator double() const { return static_cast(*sum); }
private:
std::shared_ptr sum;
};
template <typename AtomicPolicy, typename Precision>
Precision atomicAdd(Precision *acc, Precision value)
{
Precision ret = *acc;
*acc += value;
return ret;
}
#else
template <typename ReducePolicy, typename T>
using ReduceSum = RAJA::ReduceSum<ReducePolicy, T>;
template <typename AtomicPolicy, typename Precision>
Precision atomicAdd(Precision *acc, Precision value)
{
return RAJA::atomicAdd(acc, value);
}
#endif
`

@BradWhitlock I think having everything in Axom work for serial execution without RAJA enabled would be useful. However, also think that for any parallel execution, we should require RAJA and use it for that. Wrapping RAJA stuff in the Axom namespace would make code maintenance easier, I think, because it would eliminate most of the need for macro guards in the code; i.e., they could be localized.

Thanks @BradWhitlock -- I agree with @rhornung67
Adding a non-RAJA path for serial execution might also make it easier to debug the code in some cases.

Another point to consider, the internal implementations of things in RAJA, like reductions, are very complex for GPU back-ends in particular. They have been highly tuned based on compiler, back-end programming model, memory usage, and other issues. It would not be wise to try to develop and maintain Axom versions of such things, IMO.
Also, RAJA has a new reduction interface (available in v2022.10.x releases) that is more flexible and offers performance benefits that the original reduction model based on lambda capture of a reducer cannot reproduce. We should consider switching over to it in Axom in the future.

This is a good idea.
I just executed a similar exercise in Ascent mocking - a small subset of RAJA for use in serial when RAJA isn't around.

Another idea would be to disable the shaping application in configurations without RAJA


Test Sample App

Do you have any code that tests the sample app?

What do you mean with exactly? Test of the sample app? 😯

What do you mean with exactly? Test of the sample app? 😯

There is a  Sample folder included in the repo but it does not include any tests inside. Just wondering if there are any examples of how to test a project that is using ThirtyInch library

currently not, but we are working on it!

I started implementing a sample (based on googles TODO-MVP sample). So far I did only one Activity but it should give you an idea: https://github.com/passsy/thirtyinch-sample


Android build error method createAssetLoader in class JSBundleLoader cannot be applied to given types;

Hi,
Getting build error when running react-native run-android
/node_modules/react-native-threads/android/src/main/java/com/reactlibrary/RNThreadModule.java:178: error: method createAssetLoader in class JSBundleLoader cannot be applied to given types;
return JSBundleLoader.createAssetLoader(reactApplicationContext, "assets://threads/" + jsFileSlug + ".bundle");
^
required: Context,String,boolean
found: ReactApplicationContext,String
reason: actual and formal argument lists differ in length
1 error
:react-native-threads:compileReleaseJavaWithJavac FAILED
"react": "16.0.0-alpha.12",
"react-native": "0.47.2",
"react-native-threads": "0.0.6",

Thanks

Hi @mdhanju, version 0.0.6 of this library will only work with react-native 0.48 on Android.  My apologies for not setting the peerDependency version correctly!
Unfortunately every new version of react native for android introduces breaking changes in the APIs that this library uses.  I've just updated version 0.0.7 to work with changes introduced in react-native 0.49, and updated the peerDependency version to make that more clear


neovide with nvim-qt

How do I manage to run neovide with nvim-qt instead of nvim ?

I'm sorry, but I don't understand your question.
nvim-qt is a frontend for neovim. Neovide is an alternate frontend for neovim. The two solve the same purpose, so I don't understand what running neovide with nvim-qt instead of nvim means. Can you elaborate?

I'm gonna close this as the question doesn't really make sense.


Add new cloud native component logos

This adds the logos for the new components added in:

https://github.com/pulumi/registry/pull/202
https://github.com/pulumi/docs/pull/6662

@susanev @praneetloke Good to merge?


Remove docs branch

It's unnecessary. Change picture in the documentation and the description.

Done in f8ac5469c95f2023748b0225c3b151967d4fc5ce


Sorting algorithm in Dart

💥 Proposal
Merge Sort implementation in Dart language
Have you read the Contributing Guidelines on Pull Requests?
yes 👍

@HarshCasper Hello , I want to contribute in this project too.. 😄
Could you please review it?
I would like to add more algorithm in dart!


What's the Python version please?

I installed pillow-10.4.0 with Python 3.12.3, not work, "ModuleNotFoundError: No module named 'PIL'"

As mentioned in the readme, the scripts have been tested with Python 3.9. I think any Python 3 version with the pillow library installed should work.

Type "pip install pillow" to install the library manually.


test_runner: test postgres version

Problem
Ref https://neondb.slack.com/archives/C036U0GRMRB/p1688122168477729
Summary of changes

Add sha from postgres repo into postgres version string (via --with-extra-version)
Add a test that Postgres version matches expected

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

This attempt is blocked on https://github.com/neondatabase/neon/issues/2592 as it turns out; changing the version string changes the initdb ending up pageserver to resume replication from safekeepers at a wrong LSN.
Slack thread: https://neondb.slack.com/archives/C04KGFVUWUQ/p1689077525203009?thread_ts=1688655397.162369&cid=C04KGFVUWUQ

The changes look good, but I am unsure how the change in initdb lsn was overcome.

The issue with initdb_lsb was fixed within https://github.com/neondatabase/neon/issues/2592


All <code class="hls are html but some should be "js" | free video

Hello Guys
A few notes regarding page https://vuejs.org/v2/guide/components-slots.html
All <code class="hls are 'html' but some should be 'js'. As a beginner I couldn't understand the concept of slots as both JS and HTML templates are called templates and couldn't identified which code source is the HTML and which one is the JS.
Making explanation even more understandable, putting
Vue.component('whatever-id', {
template: `...
would greatly improve the understanding, I think.
In the end this free video helped me to understand the concept. I think putting a link of the vid onto the top of the page as done on other pages would also be a great help.
https://vueschool.io/lessons/component-slots
The following snippet would also make a big help:
`

This has been inserted

`
Many thanks for all your effort.
I really appreciate it.
Cheers
Rich

Thanks for opening the issue, but to be honest I'm having a hard time trying to get what you want to convey. Would you mind open one PR for each of the problems you see, and we'll start from there one by one?


Update breadcrumbs

Docs Build status updates of commit 4308eb2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TerminalDocs/breadcrumb/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 12a227a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TerminalDocs/breadcrumb/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


The curator antibody edit page has no way to edit "target species"

The only field that exists is "Target species raw".
Data entered into this field seems to be ignored.

@masonpairish done. The field can now be edited as a plain text csv too as you requested.


Login theme

If OTP authentication is enabled, there were new login pages that appear. They needed to be designed with the Haven theme.

👍


Missing covid19

@andreabattaglia Issuers are configured for all project, please approve the PR so we can merge to the master.


Jansi on ppc64le, arm64v8, and s390x

Sorry for opening this as an issue.  I tried to post it on the mailing list, but I think my message must be pending or something (plus there doesn't seem to be much activity there).
I'm trying to fix some errors I have in the Docker Groovy images on the ppc64le, arm64v8, and s390x architectures. I don't personally have any experience working with these architectures. Here are the errors I get
powerpc64le

Caused by: java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path, /tmp/libjansi-64-6177151729256195035.so: Error relocating /tmp/libjansi-64-6177151729256195035.so: unsupported relocation type 7 (Possible cause: can't load AMD 64-bit .so on a Power PC 64-bit platform)]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
at org.fusesource.jansi.internal.CLibrary.(CLibrary.java:42)
at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
at org.fusesource.jansi.AnsiConsole.(AnsiConsole.java:38)

arm64v8

Caused by: java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path, /tmp/libjansi-64-6661390371961894243.so: Error relocating /tmp/libjansi-64-6661390371961894243.so: unsupported relocation type 7 (Possible cause: can't load AMD 64-bit .so on a AARCH64-bit platform)]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
at org.fusesource.jansi.internal.CLibrary.(CLibrary.java:42)
at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
at org.fusesource.jansi.AnsiConsole.(AnsiConsole.java:38)

s390x

[0mOpenJDK 64-Bit Zero VM warning: You have loaded library /tmp/libjansi-64-7943786764210458085.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
...
Caused by: java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path, /tmp/libjansi-64-7943786764210458085.so: Error loading shared library /tmp/libjansi-64-7943786764210458085.so: Exec format error (Possible cause: endianness mismatch)]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
at org.fusesource.jansi.internal.CLibrary.(CLibrary.java:42)
at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
at org.fusesource.jansi.AnsiConsole.(AnsiConsole.java:38)

I tried installing Jansi native packages (libjansi-native-java on Debian, java-jansi-native on Alpine).  The Debian package doesn't have separate versions for different architectures, but the Alpine packages do.  But that didn't seem to help (at least for linux-ppc64le that I tested on Travis).   I know Paul-Ionut Vaduva asked about aarch64 twice on the mailing list (here and here), and @VallariTrivedi asked about aarch64 in this issue.
Does jansi-native support these architectures?  It looks like there isn't a jar published for these architectures (just linux32 and linux 64).

Per https://github.com/fusesource/jansi-native/pull/14#issuecomment-437762429 a release would seem to be sufficient.

Any idea when another release might occur?

Anything I can do to help? It would be great to see a new release with arm64 support

I got the same error on s390x platform caused by libjansi Reasons: [jansi (Not found in java.library.path), /tmp/libjansi-64-3516644237755297927.so (/tmp/libjansi-64-3516644237755297927.so: cannot open shared object file: No such file or directory)].


Nullpointer Exception in checkForRWPaths

String[] lines = mountReader(); is returning null in some devices.
Need to add a null check before for loop.

Thanks for the report, confirmed and fixed

Thanks, I will wait for it.
Regards,
Atmaram
On 11 May 2018 at 16:53, Matthew Rollings<EMAIL_ADDRESS>wrote:

I'm planning on releasing a new update later today, just going to update
the gradle scripts. If you cant wait you can always use jitpack to pull the
latest version from git.
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.scottyab:rootbeer:master-SNAPSHOT'
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scottyab/rootbeer/issues/71#issuecomment-388336616,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf6nHRIVVPRow6-obuq-Xl7pCBTqGxtks5txXSjgaJpZM4T7L0q
.

HI,
Any update on the release
the snapshot doesn't work in my case. Getting error :
Failed to resolve: com.github.scottyab:rootbeer:master-SNAPSHOT
Regards,
Atmaram
On 11 May 2018 at 17:00, Atmaram Thakur<EMAIL_ADDRESS>wrote:

Thanks, I will wait for it.
Regards,
Atmaram
On 11 May 2018 at 16:53, Matthew Rollings<EMAIL_ADDRESS>wrote:

I'm planning on releasing a new update later today, just going to update
the gradle scripts. If you cant wait you can always use jitpack to pull the
latest version from git.
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.scottyab:rootbeer:master-SNAPSHOT'
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scottyab/rootbeer/issues/71#issuecomment-388336616,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf6nHRIVVPRow6-obuq-Xl7pCBTqGxtks5txXSjgaJpZM4T7L0q
.

Hi @atmaramthakur, Sorry for the delay, I'm still waiting for my changes to be checked so we can merge the PR.
I got the branch wrong on the gradle url above. It should be:
implementation 'com.github.scottyab:rootbeer:feature~gradle-update-SNAPSHOT'

Fixed in 0.0.7 release


Better rendering for "Skip to main content" link

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
Display the "Skip to main content" link in a specific nav in Boosted.
Thoughts @Aniort? Is is interesting/useful?
Motivation and context
"Skip to main content" is displayed differently in Bootstrap and seems nicer.

Could be grouped with #138

Closing it in favor of #1694