Rollup failed to resolve import vue-email

environment:
- Operating System: Windows_NT
- Node Version:     v20.9.0
- Nuxt Version:     3.8.1
- CLI Version:      3.9.1
- Nitro Version:    2.7.2
- Package Manager<EMAIL_ADDRESS>- Builder:          -
- User Config:      devtools, typescript, modules
- Runtime Modules<EMAIL_ADDRESS>- Build Modules:    -

~/package.json
{
  "devDependencies": {
    "@nuxt/devtools": "latest",
    "@vue-email/nuxt": "0.8.0-beta.4",
    "nuxt": "^3.8.1",
    "vue": "^3.3.8",
    "vue-router": "^4.2.5"
  }
}

~/nuxt.config.ts
export default defineNuxtConfig({
  devtools: { enabled: false },
  typescript: { shim: false },
  modules: [["@vue-email/nuxt", {}]],
});

~/emails/PasswordReset.vue
<template>
  <EHtml>
    <EHead />
    <EBody>
      <ELink :href="link">Reset Password</ELink>
    </EBody>
  </EHtml>
</template>

<script setup lang="ts">
const props = defineProps<{
  link: string;
}>();
</script>

~/server/api/send.post.ts
import { useCompiler } from "#vue-email";

export default defineEventHandler(async (event) => {
  const template = await useCompiler("PasswordReset.vue", {
    props: {
      link: `${getRequestURL(event).origin}/auth/reset-password`,
    },
  });

  return { ok: true };
});

Run pnpm build

Update ~/emails/PasswordReset.vue is working fine
<template>
  <a :href="link"></a>
</template>

<script setup lang="ts">
const props = defineProps<{
  link: string;
}>();
</script>

Is this an expected error? Or am I doing something wrong? And using this package will cause the build size to be increased from 2.24MB (532KB gzip) to 47.1MB (12MB gzip), The cost is too great...
If can improve the size of the problem that would be great! Make it lighter and less burdensome to use

Thanks! This is in planning for the next release.

hi @nikolasdas u need to install vue-email too


Create logo

This is hard... I want to do it myself but I don't know how it should look like :grimacing:

Interesting: the identicon for the app looks like a diamond: https://github.com/identicons/app/app/giscussions
To follow utterances, let's use an emoji as the logo. I'm using the gem stone emoji from https://github.com/twitter/twemoji with some modifications.


Feature: SQL Injection Prevention (Flow Simulation)

Description
Support preventing sql injection attack.
For the detailed description and introduction, please read Notion link !
🔔 Notice: The PR is only to simulates the getting data source and re-parsing parameters flow and add re-parse method in the interface, the really logistic should wait data source to implement,  then could be able to replace it.
How To Test / Expected Results
For the test result, please see the below test cases that passed the unit test:
Core package

Serve package

Integration testing package

Commit Message

90b3942 - feat(core, serve): add sql injection prevention structure and flow.

add prepare parameters method in data source interface.
inject data source in route generator
refactor template engine for re-wrap data to context object.
update req tag runner to get bind paramters from context and send to executor for creating builder.
add identifier in data query builder
update test cases for data query builder and template engine.
update route generator, app, server test cases.

Rebase finished from #25.

Other part LGTM.
Just a kindly reminder: We have a tradeoff when using prepared parameters: we won’t able to take operation on parameters anymore.
select * from users where age > {{ context.params.age + 20 }}

--
age=18
select * from users where age > 38

Thanks for reminding me~, I think we could solve the case in the future with new design ?

Hi @oscar60310 besides the last NIT I would like to handle it in the new feature (need some time to refactor and test), others are fixed, thanks so much!


Test: TestFluentdCommand often fails on Windows

Describe the bug
Recently, TestFluentdCommand  often fails on Windows in CI.
Possible fixes that may have caused:

#4062
#4064

On my local, once it starts to fail, it starts to fail a lot.
It seems that sometimes it can't get the standard output of some processes correctly.
Some processes often remain not killed, and those surviving processes seem to be the cause of this problem.
After killing all surviving Ruby processes,  all the tests start to succeed again.
I think the reason the tests fail so frequently these days is because the number of tests increases in #4064.
To Reproduce
Repeat the following several times.
$ bundle exec rake test TESTOPTS='-t"TestFluentdCommand"'
Expected behavior
Tests succeed stably.
Your Environment
- Fluentd version: v1.15.3
- Operating system: Windows 10 Home
- Ruby 3.2

Your Configuration
None

Your Error Log
Failure: test: failed to start(TestFluentdCommand::configuration to load plugin which raises unrecoverable error in #start):
  fluentd failed to start, without specified regular expressions:
  2023-03-13 22:27:58 +0900 [info]: init supervisor logger path=nil rotate_age=nil rotate_size=nil
  2023-03-13 22:27:58 +0900 [info]: parsing config file is succeeded path="C:/Users/reang/Documents/work/fluentd/fluentd/test/command/../tmp/commandfluentd/e13266ed6235d47abcf9/crashing_plugin.conf"
  2023-03-13 22:27:58 +0900 [info]: gem 'fluentd' version '1.15.3'
  2023-03-13 22:27:59 +0900 [info]: using configuration file: <ROOT>
    <source>
      @type crashing
      @id dummy
      @label @dummydata
      tag dummy
      dummy {"message":"yay!"}
    </source>
    <label @dummydata>
      <match dummy>
        @type null
        @id blackhole
      </match>
    </label>
  </ROOT>
  2023-03-13 22:27:59 +0900 [info]: starting fluentd-1.15.3 pid=16044 ruby="3.2.0"
  2023-03-13 22:27:59 +0900 [info]: spawn command to main:  cmdline=["C:/Ruby32-x64/bin/ruby.exe", "-rC:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.8/lib/bundler/setup", "-Eutf-8", "C:/Users/reang/Documents/work/fluentd/fluentd/bin/fluentd", "-c", "C:/Users/reang/Documents/work/fluentd/fluentd/test/command/../tmp/commandfluentd/e13266ed6235d47abcf9/crashing_plugin.conf", "-p", "C:/Users/reang/Documents/work/fluentd/fluentd/test/command/../tmp/commandfluentd/e13266ed6235d47abcf9/plugin", "--under-supervisor"]
  .
  <false> is not true.
C:/Users/reang/Documents/work/fluentd/fluentd/test/command/test_fluentd.rb:239:in `assert_fluentd_fails_to_start'
C:/Users/reang/Documents/work/fluentd/fluentd/test/command/test_fluentd.rb:578:in `block (2 levels) in <class:TestFluentdCommand>'

Failure: test: runs successfully(TestFluentdCommand::with --conf-encoding):
  execution timeout.
  <"">
  was expected to include:
  <["fluentd worker is now running", "worker=0"]>
C:/Users/reang/Documents/work/fluentd/fluentd/test/command/test_fluentd.rb:192:in `assert_log_matches'
C:/Users/reang/Documents/work/fluentd/fluentd/test/command/test_fluentd.rb:280:in `block (2 levels) in <class:TestFluentdCommand>'
     277: </match>
     278: CONF
     279:       conf_path = create_conf_file('shift_jis.conf', conf, 'shift_jis')
  => 280:       assert_log_matches(create_cmdline(conf_path, '--conf-encoding', 'shift_jis'), "fluentd worker is now running", 'worker=0')
     281:     end
     282:
     283:     test 'failed to run by invalid encoding' do

......

Additional context
No response

I think it can be fixed by making sure the processes are killed.

I found the cause.
https://github.com/fluent/fluentd/blob/4e248666401c87a6ddf956feb1f78caf8fe7b9db/test/command/test_fluentd.rb#L12-L13
https://github.com/fluent/fluentd/blob/4e248666401c87a6ddf956feb1f78caf8fe7b9db/test/command/test_fluentd.rb#L153-L158
https://github.com/fluent/fluentd/blob/4e248666401c87a6ddf956feb1f78caf8fe7b9db/test/command/test_fluentd.rb#L102-L108
So If the test is completed before these matching logs are generated, the process cannot be killed.

https://github.com/fluent/fluentd/blob/4e248666401c87a6ddf956feb1f78caf8fe7b9db/test/command/test_fluentd.rb#L138
Testing under conditions that match at an early stage can cause this to happen.

https://github.com/fluent/fluentd/blob/4e248666401c87a6ddf956feb1f78caf8fe7b9db/test/command/test_fluentd.rb#L1188-L1201
This test will certainly cause this phenomenon.

On my Ubuntu environment, the processes are completely killed.
I don't know why this phenomenon occurs only on Windows...

I just noticed that the while-loop taking logs finishes when all the pattern_list matches.
So patterns_not_match can only test logs up to that point.
https://github.com/fluent/fluentd/blob/4e248666401c87a6ddf956feb1f78caf8fe7b9db/test/command/test_fluentd.rb#L138-L150
This means that patterns_not_match on the test like this means nothing..... 😢
https://github.com/fluent/fluentd/blob/4e248666401c87a6ddf956feb1f78caf8fe7b9db/test/command/test_fluentd.rb#L1170-L1177

Anyway, we have to fix this to ensure that @supervisor_pid can be taken correctly.
This will stable this tests!


add uiport expander

This is going to be "necessary" (we could also hard-code the ports, but
that sounds wrong) for an improved decommissioning acceptance test which
verifies the /health?ready=1 endpoint.

This change is

Will do, added to my personal TODO list.


Fragmented messages broken

There is something wrong with fragmented messages, while the here defined server and client can use them amongst each other, they seem to not be standard complient and any other client/server (like a browser) immediatly shuts down the stream when recieving fragmented messages

+1 We have the same issue. Our environement is Lzarus+NodeJS (ws client and ws server). When Lazarus send big message to server via ws there error coming:
ERROR: RangeError: Invalid WebSocket frame: invalid opcode 1.
As per web it's a generic error code. Could anyone adivise if there is any fix for the subject.

https://datatracker.ietf.org/doc/html/rfc6455#page-33 - a good explanation of mechanic I believe for those who are interested.


Convention based TypeFrame OR Attribute based TypeFrameName [Closes 58]

TypeFrame Name now per convention only uses the TypeName (instead of fullname) Or can be declared with an Attribute.

FYI: if you put Closes #58 in the PR's description it will link the PR to that issue and closes it automatically when merged.
See also https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue.

Thanks, but this is exactly what is inteded. Since it is exactly linked to this PR.


Update the Text component

Fixes https://github.com/MLH-Fellowship/react-native/issues/58
Summary
The PR is part of an effort to update the code comments to match the current documentation on the React Native website. The project is a part of MLH fellowship program and involves automatic generation of the website docs from code comments and flow types as the end result.
To learn more about the project you can visit the project wiki:

Project details
RN Docs Standards

Link to the documentation(the source of truth):

text.md

Changes

Update the title and prop description from docs.
Remove asterisks from the comments.
Add snackplayer example.
Cap comments to 80 characters.
Add platform, default and type annotations.
Involves changes to TextProps.js file.

Changelog
[Internal]
Test Plan
All changes are made to the code comments and thus there is no need for testing.

Thanks for this contribution, @ayushjainrksh, and apologies for not getting around to it until now. This MLH-Fellowship project has been abandoned so we're going to close this PR to focus on active ones. If you feel this is an error or if you'd like to pick this up again, please let me know!


Arrow Keys not working or firing events

In ie9 (probably other polyfill browsers, too) the arrow keys do not move the handle or update the value.
In firefox/chrome where they do move the handle the events for start, slide and end are not fired.
It would be great if there was a config part, where we could enter keyCodes to add to the event arrays for start/slide/end.

Hi, I have the same issue.
When I use Arrow Keys for changing slider value it doesn't trigger any callbacks.
It would be really great if this functions work. Because it is required by accessibility.


rubysrc2cpg: possible issue in parser in attr_accessor params

Describe the bug
While defining attr_accessor as follows, the method definition is populated as another argument instead of the accessor list terminating at cd due to presence of additional ,:
class Bar

  attr_accessor :ab,
    :cd,
  def self.foo
    current.foo
  end

end

This causes the following error while building the CPG:
Exception in thread "Writer" java.lang.RuntimeException: Edge with type='ARGUMENT' with direction='IN' not supported by nodeType='METHOD'
        at overflowdb.NodeDb.storeAdjacentNode(NodeDb.java:651)
        at overflowdb.NodeDb.storeAdjacentNode(NodeDb.java:630)
        at overflowdb.NodeDb.addEdgeSilentImpl(NodeDb.java:324)
        at overflowdb.Node.addEdgeSilentInternal(Node.java:37)
        at overflowdb.NodeRef.addEdgeSilentImpl(NodeRef.java:168)
        at overflowdb.Node.addEdgeSilentInternal(Node.java:37)
        at overflowdb.BatchedUpdate$DiffGraphApplier.applyChange(BatchedUpdate.java:304)
        at overflowdb.BatchedUpdate$DiffGraphApplier.run(BatchedUpdate.java:249)
        at overflowdb.BatchedUpdate.applyDiff(BatchedUpdate.java:17)
        at io.shiftleft.passes.ConcurrentWriterCpgPass$Writer.run(ParallelCpgPass.scala:151)
        at java.base/java.lang.Thread.run(Thread.java:1623)
java.lang.RuntimeException: Failure in diffgraph application
        at io.shiftleft.passes.ConcurrentWriterCpgPass.createApplySerializeAndStore(ParallelCpgPass.scala:114)
        at io.shiftleft.passes.NewStyleCpgPassBase.createAndApply(CpgPass.scala:124)

Tested the above piece of code in Ruby interpreter and it seems to be valid.
To Reproduce
Use the sample code above and generate CPG using rubysrc2cpg
Following error is observed:
Exception in thread "Writer" java.lang.RuntimeException: Edge with type='ARGUMENT' with direction='IN' not supported by nodeType='METHOD'
Expected behavior
Separate method node gets produced not added to the accessor list
Desktop (please complete the following information):

OS: Windows 11
Joern Version: master at e12978b

Additional context
Parser output for method added to argument of accessor:

PArser output when the extra , is removed from cd,

self.foo  is indeed being passed as the 3rd argument to attr_accessor, but that's the correct parse tree here. That "extra" comma after :cd makes all the difference. This is a matter of extending the AstCreator support to handle this.

@xavierpinho But attr_accessor only takes instance variables isn't it? So clearly when we encounter this, the last , token could be discarded then? Or do you suggest we handle this in AST Creator by ensuring that if a method is encountered in accessor list, it should be considered not part of the list? I am confused - is this even valid to add method in an accessor list from Ruby's perspective 🤔

@xavierpinho But attr_accessor only takes instance variables isn't it? So clearly when we encounter this, the last , token could be discarded then? Or do you suggest we handle this in AST Creator by ensuring that if a method is encountered in accessor list, it should be considered not part of the list? I am confused - is this even valid to add method in an accessor list from Ruby's perspective 🤔

It can also take strings and... apparently method definitions are ok too. For instance, running your sample
irb(main):001:1* class Bar
irb(main):002:1*
irb(main):003:1*   attr_accessor :ab,
irb(main):004:1*     :cd,
irb(main):005:2*   def self.foo
irb(main):006:2*     current.foo
irb(main):007:1*   end
irb(main):008:1*
irb(main):009:0> end
=> [:ab, :ab=, :cd, :cd=, :foo, :foo=]
irb(main):010:0>

we can see it extracted the method name and used it as a symbol.
I have yet to find where and how this idiom is used, but from a syntactical point of view, there's nothing special about attr_accessor, it's an invocation like any other.
So, I think the parser doesn't need to be changed here, but rather the AstCreator for attr_accessor calls should be able extract a symbol name from the method definition too.

@xavierpinho Yes, I just tested more on interpreter like you. You are right. We need to handle this in AstCreator. PR incoming from me 😎


Unrecognized option: --illegal-access=deny

Great work with this library!   I ran into one small snag:
dask-sql==0.1.dev13+gdf4572c
Unable to start JVM due to --illegal-access=deny.  Once I remove that option then the library seems to work fine
https://github.com/nils-braun/dask-sql/blob/main/dask_sql/java.py#L15

Thank for your bug report and thanks for trying out the package!
I assume that comes from a different java version.
Could you tell me yours via java -version and if you have installed java via conda?
The option prevents a warning in newer versions which will turn into a real exception in future versions.

java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.242-b08, mixed mode)

Thanks! I will create a PR to fix this

Thanks for your prompt attention!  I'll test this out later.


[TACHYON-1165] add basic argument check for yarn AM

https://tachyon.atlassian.net/browse/TACHYON-1165

+1 LGTM

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/6310/
Test PASSed.

LGTM


installation aborted

it says that it failed to copy slime vr driver

You need to have SteamVR installed and run at least once in order to install the SlimeVR Driver (or SteamVR Driver), so if you want to install it without that, you can deselect it at the start of the installer as illustrated in the attached image.


MDX code style

Would be nice to have code styling for MDX like SQL.
See also:

https://en.wikipedia.org/wiki/MultiDimensional_eXpressions
https://msdn.microsoft.com/en-us/library/ms144785.aspx

This is a nice idea for an extension.
Thus closing since this should not be handled in the vscode core but in a seperate extension


Collapsed weights are inconsistently applied

When collapsing a cube over a dimension for which the weights don't vary the result may or may not be correct (or at least what is expected) depending on the kernel used.
For example:
import numpy as np
import iris
from iris.coords import DimCoord
from iris.cube import Cube

lat = DimCoord(np.linspace(-10., 10., 5), standard_name='latitude', units='degrees', var_name='lat')
lon = DimCoord(np.linspace(-5., 5., 3), standard_name='longitude', units='degrees', var_name='lon')
alt = DimCoord(np.linspace(0., 7., 6),standard_name='altitude', units='metres', var_name='alt')

lat.guess_bounds()
lon.guess_bounds()

coord_list = [(lat, 0), (lon, 1), (alt, 2)]

data = np.reshape(np.arange(5 * 3 * 6), (5, 3, 6))

mock_cube = Cube(data, dim_coords_and_dims=coord_list, var_name='rain', standard_name='rainfall_rate',
                   long_name="TOTAL RAINFALL RATE: LS+CONV KG/M2/S", units="kg m-2 s-1")

weights = iris.analysis.cartography.area_weights(mock_cube)

# The weights don't make sense in this case because we're not collapsing over the latitude, in some cases this doesn't
# matter
mean = mock_cube.collapsed('altitude', iris.analysis.MEAN, weights=weights)

# But in some cases it does...
sum = mock_cube.collapsed('altitude', iris.analysis.SUM, weights=weights)

# Print the maximum difference between the collapsed cubes and a simple numpy collapse
print((mean.data - np.mean(mock_cube.data, axis=2)).max()) # Very small...
print((sum.data - np.sum(mock_cube.data, axis=2)).max()) # Very big...

I appreciate the weights could just be left out in this case, but I'm still a bit surprised at the difference. It appears to be the way in which the numpy.ma.mean method and iris.analysis._sum functions treat the weights. Is this to be expected?

A weighted sum is very different from a weighted mean. In the sum the values are multiplied by the weights then summed, so there is no surprise that the weighted sum is different from the unweighted sum (which is the same as a weighted sum with weights of 1). A weighted average divides through by the weights, so naturally you don't see the difference.

Ah, yes of course. Thanks Andrew :-)


PSQLException: ERROR: invalid byte sequence for encoding "UTF8": 0x00

happens for mapper tests sometimes

the zero character cannot be stored in Postgres and needs to be excluded from random unicode strings. Fixed in https://github.com/Sp2000/colplus-backend/commit/0ab4f45573ee53a7a6b894d7a2abbe225073c66a#diff-6986c3e311c14b28be6d08038de2d930R131


support custom types

we don't support all types and we need the ability for people to use one of the non-supported types and a way to configure

db
graphql
typescript

sometimes would be known postgres types (money, cidr etc) and other times will be types from extensions (vector)
related: https://github.com/lolopinto/ent/issues/1549

related: https://github.com/lolopinto/ent/issues/467


"Exiting chain with error: invalid character '<' looking for beginning of value"

Issue:
Error "Exiting chain with error: invalid character '<' looking for beginning of value"
Description:
I have installed LLocalSearch on Ubuntu 22.04 using Docker and have successfully connected it to my Ollama instance running on the same server (not in Docker). The Ollama service is configured to listen on all interfaces and responds to API requests from other systems on the LAN.
Ollama Installation:
It can successfully connect to my Ollama instance on the same server (not in Docker). I can tell it works because it successfully used the API to pull all-minilm:v2. Also, I changed the Ollama service to listen on all interfaces (ex. Environment="OLLAMA_HOST=<IP_ADDRESS>:11434" in /etc/systemd/system/ollama.service. I verified that I get a response when I run this from another system on the LAN, which makes me think Ollama is fine:
curl http://<IP_ADDRESS>:11434/api/generate -d '{
  "model": "llama2",
  "prompt":"Why is the sky blue?"
}'

Error
However, when I use the LLocalSearch interface at http://localhost:3000, any preset or longer chat prompt I choose results in the following error:
Exiting chain with error: invalid character '<' looking for beginning of value

The backend logs show:
2024/04/04 06:23:04 INFO Starting the server
Server started at http://localhost:8080
2024/04/04 06:25:16 INFO Creating new session session=418c6f73-c3a6-4378-82cb-2881e48dda83
2024/04/04 06:25:16 INFO Starting agent chain session=418c6f73-c3a6-4378-82cb-2881e48dda83 userQuery="{Prompt:how much does obsidian sync cost? MaxIterations:30 ModelName:knoopx/hermes-2-pro-mistral:7b-q8_0 Session:418c6f73-c3a6-4378-82cb-2881e48dda83}" startTime=2024-04-04T06:25:16.250Z
Error parsing the JSON: invalid character '<' looking for beginning of value
Exiting chain with error: invalid character '<' looking for beginning of value

Simple test queries that don't trigger a search seem to work fine. For example, if I write "test," I get the expected response:
Test
The question "test" is not specific enough for me to provide an accurate response or determine if a tool is necessary. Could you please rephrase your question or provide more context so I can better assist you?

Logs:
2024/04/04 06:53:57 INFO Starting agent chain session=e0584807-dc7f-465b-871f-5b7162cafea3 userQuery="{Prompt:test MaxIterations:30 ModelName:knoopx/hermes-2-pro-mistral:7b-q8_0 Session:e0584807-dc7f-465b-871f-5b7162cafea3}" startTime=2024-04-04T06:53:57.390Z
2024/04/04 06:53:58 mem messages [{
    1. Fromat your answer (after AI:) in markdown.
    2. You have to use your tools to answer questions.
    3. You have to provide the sources / links you've used to answer the quesion.
    4. You may use tools more than once.
    Question: test} { # Test
The question "test" is not specific enough for me to provide an accurate response or determine if a tool is necessary. Could you please rephrase the question or provide more context so that I can better assist you?<|im_end|> <nil>}]

Docker-compose
Here is my docker-compose configuration. All I've changed is the IP for Ollama.
services:
  backend:
    image: nilsherzig/llocalsearch-backend:latest
    environment:
      # the ip / url of YOUR Ollama server
      # CHANGE THIS
      - OLLAMA_HOST=http://<IP_ADDRESS>:11434

      # the url of the chroma db
      - CHROMA_DB_URL=http://chromadb:8000

      # the url of the redis db
      - SEARXNG_DOMAIN=http://searxng:8080

      # the maximum amount of iterations the agent will run to find your answer
      - MAX_ITERATIONS=30
    networks:
      - llm_network

  frontend:
    depends_on:
      - backend
    image: nilsherzig/llocalsearch-frontend:latest
    ports:
      - '3000:4173'
    networks:
      - llm_network

  chromadb:
    image: chromadb/chroma
    networks:
      - llm_network

  redis:
    image: docker.io/library/redis:alpine
    command: redis-server --save 30 1 --loglevel warning
    networks:
      - searxng
    volumes:
      - redis-data:/data
    cap_drop:
      - ALL
    cap_add:
      - SETGID
      - SETUID
      - DAC_OVERRIDE

  searxng:
    image: docker.io/searxng/searxng:latest
    networks:
      - searxng
      - llm_network
    volumes:
      - ./searxng:/etc/searxng:rw
    environment:
      - SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/
    cap_drop:
      - ALL
    cap_add:
      - CHOWN
      - SETGID
      - SETUID
    logging:
      driver: 'json-file'
      options:
        max-size: '1m'
        max-file: '1'

networks:
  llm_network:
    driver: bridge
  searxng:
    ipam:
      driver: default

volumes:
  redis-data:

I have double-checked the configuration and connections between the components, and everything seems to be set up correctly.
Could you please help me identify the cause of this error and provide guidance on how to resolve it? Let me know if you need any additional information.
Thank you for your assistance!

I'm having the same issue, the error should came from here https://github.com/nilsherzig/LLocalSearch/blob/54bb8cdb6a96b5569d37a1b1b8e6fe46f42ddba1/backend/llm_tools/tool_websearch.go#L57
But I have also this in the logs, so it could be a searxng issue
frontend-1  |   ➜  Network: http://<IP_ADDRESS>:4173/
searxng-1   | 2024-04-04 08:10:12,197 ERROR:searx.engines.soundcloud: Fail to initialize
searxng-1   | Traceback (most recent call last):
searxng-1   |   File "/usr/local/searxng/searx/network/__init__.py", line 95, in request
searxng-1   |     return future.result(timeout)
searxng-1   |            ^^^^^^^^^^^^^^^^^^^^^^
searxng-1   |   File "/usr/lib/python3.11/concurrent/futures/_base.py", line 458, in result
searxng-1   |     raise TimeoutError()
searxng-1   | TimeoutError
searxng-1   |
searxng-1   | The above exception was the direct cause of the following exception:
searxng-1   |
searxng-1   | Traceback (most recent call last):
searxng-1   |   File "/usr/local/searxng/searx/search/processors/abstract.py", line 73, in initialize
searxng-1   |     self.engine.init(get_engine_from_settings(self.engine_name))
searxng-1   |   File "/usr/local/searxng/searx/engines/soundcloud.py", line 69, in init
searxng-1   |     guest_client_id = get_client_id()
searxng-1   |                       ^^^^^^^^^^^^^^^
searxng-1   |   File "/usr/local/searxng/searx/engines/soundcloud.py", line 57, in get_client_id

Hi could you show me your searxng settings? You need to enable json responses.
https://github.com/nilsherzig/LLocalSearch/blob/50646ebfccb05e0b3daa12ba17fc622f3810b1d7/searxng/settings.yml#L25-L27

This was in the default file (/data/compose/2/searxng/settings.yml) from the container in the compose file.
  # remove format to deny access, use lower case.
  # formats: [html, csv, json, rss]
  formats:
    - html

Manually changed to:
  # remove format to deny access, use lower case.
  # formats: [html, csv, json, rss]
  formats:
    - html
    - json

Restarted containers, and now it's good.

Ah yes, you've changed the searxng volume. This setting is the reason why i put my searxng folder in this github repo haha. I think it should be possible to change the searxng start comamnd to something, which will patch the default file and start searxng after that. This would allow us to remove the folder / requirement for a volume


y-keys with a width of 1 will now be formatted like y-keys with a wid…

…th greater than 1, i.e. with a title and category label, rather than as a single merged cell like the 'Total' column.

:+1:

:+1:


How to launch external media player to play torrent stream?

Is it possible to play the torrent file in an external media player as it is being streamed? How?
var WebTorrent = require('webtorrent')

var client = new WebTorrent()
var magnetUri = '...'

client.add(magnetUri, function (torrent) {
  torrent.files.forEach(function (file) {
       // play file with vlc or mpc-hc
  })
})

Thanks

You can use the command line version for that. https://github.com/feross/webtorrent#as-a-command-line-app

That won't do, unless it is possible to use command line args from inside a node js module?

Why not? If I may ask. And no, at least not for webtorrent.

On Nov 1, 2015, at 4:05 PM, tsoernes<EMAIL_ADDRESS>wrote:
That won't do, unless it is possible to use command line args from inside a node js module?
—
Reply to this email directly or view it on GitHub.

I get the magnet link from a web scraper written in nodejs

You can use the torrent.createServer function to create an HTTP server that serves the torrent's contents.
https://github.com/feross/webtorrent#torrentcreateserveropts

Have you looked at https://github.com/mafintosh/playback ? It has WT support

@gillesdemey Thanks, just what I needed.
@DiegoRBaquero Looks cool but it does not support the formats/codecs I need to play
Solved

Awesome – glad your issue was solved.
Thanks @gillesdemey and @DiegoRBaquero!


All logs written to watchdog.log

All logs seem to be written to watchdog.log, not separated into different files;
maybe logging.basicConfig sets the file globally,

use one logging file?

We now use one file poller.log for the poller/watchdog log,
and one file grader.log for the grader log.
See: 148b212a0f3da46609ccc5a4bdd0ba9e0dd61511


EAS Build Only Failing for profiles with developmentClient: true

Build/Submit details page URL
https://expo.dev/accounts/markcodelet/projects/codelet-app/builds/28299482-9dc1-4a7d-b669-b1c7176aaaf8
Summary
I'm having a hard time making a development client for my app using EAS. The app builds fine for internal distribution and production, there just seems to be an issue when building the development client.
Update:
I ran the build without expo-dev-client and the react-native-safe-area-contex  and the build succeeded but the dev client downloaded would just crash.
Then I re-installed each actual dependency, and now it WORKS. This makes no sense, I ran in multiple times, with the  --clear-cache flag, so I have no idea what it was that was making this broken. I'd still like to leave this open in case there's an underlying bug. Here to helo.
Managed or bare?
Managed
Environment
Expo CLI 5.0.3 environment info:
System:
OS: macOS 11.6.2
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.1/bin/yarn
npm: 8.1.2 - ~/.nvm/versions/node/v16.13.1/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
IDEs:
Android Studio: 4.2 AI-202.76<IP_ADDRESS>86908
Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
npmPackages:
@expo/webpack-config: ~0.16.2 => 0.16.15
expo: ^44.0.0 => 44.0.4
react: 17.0.1 => 17.0.1
react-dom: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
react-native-web: 0.17.1 => 0.17.1
npmGlobalPackages:
eas-cli: 0.43.0
Expo Workflow: managed
Error output
The output is best seen in context in the build URL. In short, it's happening in the "fastlane" section of the build where the app and there are a few warnings when it comes to linking expo dev client
Reproducible demo or steps to reproduce from a blank project
I cannot reproduce this, other managed projects I have been making a dev build fine and I can't reproduce it on a bare project.

The failure is not related to expo-dev-client.
The root cause can be found in the logs you provided.
Build failed: Fastlane build failed with unknown error. Please refer to the "Run fastlane" and "Xcode Logs" phases.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.

See how this message suggests that you should look at the Xcode Logs phase. I checked those logs and the actual error is really obvious. I'll leave looking for it to you (just for educational purposes).

The failure is not related to expo-dev-client.
The root cause can be found in the logs you provided.
Build failed: Fastlane build failed with unknown error. Please refer to the "Run fastlane" and "Xcode Logs" phases.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.

See how this message suggests that you should look at the Xcode Logs phase. I checked those logs and the actual error is really obvious. I'll leave looking for it to you (just for educational purposes).

 I feel so smart 🙃. I was confused, I didn't think to download that stage logs since it failed in "Fast lane", I thought it was referring to the xcode logs in that section, not the "Xcode logs" phase. I actually thought it didn't get there due to the GUI showing success or failure. Is there a better way to highlight that next time for other users?

I'm still confused why my issue was fixed when I just removed some packages and added them back. I already had the env variables defined. Generally, when they were not defined it showed the error in the "Fastlane" phase with the error that now I'm only seeing it in the phase below, that I assumed didn't run and have output.
Thanks for pointing this out.

For some reason I totally missed the Xcode logs section, since it was below the message, and also didn't have a red :x: on it. Perhaps this could be more obvious?

Yep, Xcode Logs containing errors, having no status symbol, and being after the Fail build step definitely was a clear signal that there was nothing to see there. Just that red X would have made all the difference.

For some reason I totally missed the Xcode logs section, since it was below the message, and also didn't have a red ❌ on it. Perhaps this could be more obvious?

Hey Jamon, good to see you around (huge RNR podcast fan :) Glad this issue was not one that just stumped me.
Can we get an issue to update the Xcode Logs error to be more obvious? This easily ate up many hours of my day digging into logs.

Agreed, tripped me up too

Agreed, tripped me up too

Glad others are finding this. @dsokal Can we get an update if this can be communicated better? Thanks!

@Maker-Mark Where did you go to see that portal in your screenshot with all the steps and logs?

@Maker-Mark Where did you go to see that portal in your screenshot with all the steps and logs?

@CorinneKelly It's a bit unintuitive but it's the last pane on the page which stays collapsed by default

@Maker-Mark Where did you go to see that portal in your screenshot with all the steps and logs?

@CorinneKelly It's a bit unintuitive but on a given app build, it's the last pane on the page which stays collapsed by default

@paul-ridgway I'm not sure I understand your response. To clarify, I was asking where is the page with the "panes" you're referring to? Is it somewhere in the expo dashboard? Is there a web url that prints out that I'm not seeing? When I run an eas build I don't see those sections in the build details on my expo dashboard. I've tried running both eas build -p ios both with and without the --local flag.

@CorinneKelly EAS build should give you a link to monitor progress - it's that page eg:

I tried finding the probem in the logs file, couldn't. Any help will be welcomed


Fix 302 redirects

Somehow help.commcarehq.org was resulting in constant 302 redirects with the previous configuration.  I think it has to do with the response from confluence but haven't fully looked into it.

is this the permanent solution? was apache pointing at the internal dns or the external one?

This is the fix I did last night. Apache was pointing at the internal DNS. Mostly I wanted to revisit this with fresh eyes, and know that this is a stable configuration.

(no strong feelings from me on this. if it works and you and @dannyroberts think it's a fine change then I'm signed off)

I'm going to merge this, but still want to understand


Check if binary files are identical before checking "readable" line by line

When you had non UTF-8 (defaultCharset) characters in the files, you ended with a "Non readable file" caused by a  MalformedUrlException.
Now the assertSameContentAs method first check if the files have no differences "bit-wise" before trying to compare "readable line" by "readable line".
What Could be improved:

the unMockedFiles I created

It seems strange to have mocked Files under test, I had to change 2 tests (should_pass_if_files_have_equal_content and should_throw_error_wrapping_catched_IOException) because the internal method changed, whereas the behavior of the tested method didn't (it seems to me that these tests are testing the internal implementation)
This PR is part of https://github.com/joel-costigliola/assertj-core/issues/504 but seems independent enough to have its own PR.

I'm not sure what you mean, Files is not mocked, its dependencies are, the rationale being to isolate it, I tend to think it's a good thing it one wants to write a true unit test. (btw, test was written in Fest 2.x that AssertJ is a fork of).

You have any preferences on the PR lifeCycle ?
I know some like to have only one commit to merge (so I push force my branch until it is correct) but other prefer multiple commits (which can be more cumbersome to merge with the 2.x branch

I assume the travis error is not related to my PR, right ? https://travis-ci.org/joel-costigliola/assertj-core/builds/100338477

for the PR lifecyle, the best would be a 2.x PR but a master is also ok, I usually never merge PR from github but rebase the branch and squash everything to one logical commit, I find it makes the history cleaner.
the error is not related to your PR, I had similar issues depending on the JDK 8 version (I will check if I can set a specific JDK 8 version on Travis), as long as it can be built on my machine, I'm ok with that.

Ok, I will make a "one commit" PR for the 2.x branch, so I can do it for this PR too.
Let me know if you think that this PR is complete and I'll do it.

Integrated in 2.x, thanks.

Sorry for the being late,
but I'm not sure this change is for the best.
Before assertSameContentAs was basically assertSameTextContentsAs. Now the assertion succeeds if the files are binary equal, but files using  different encodings can be binary equal but have still different text content. I do not know how likely that is, but I thought it worth mentioning.
If this new behavior is kept, I think there should be some mention in the javadoc (examples) that the file contents are binary compared first. Also the change should also be done for AbstractPathAssert.hasSameContentAs.

I think it's highly improbable but I agree it's not correct

I'll change the behaviour and only do the binary diff when a MalformedInputException occurs

Good idea!

pushed force to get rid of the previous commit message now irrelevant.

Thanks!


How can I turn off the PBR ？

the gpu of my Android device has poor performence. So I want to improve ths fps

https://github.com/google/filament/files/7704288/fps15.html.zip
this is the systrace file

You can't turn off PBR. Please use a discussion instead of an issue.

@romainguy Thank you very much !

@romainguy Could you please help see the systrace file? whitch step  cost much time?


qt5{12,14,15}: use default stdenv on darwin

Motivation for this change

as pointed out in https://github.com/NixOS/nixpkgs/issues/151874 - depending on llvmPackages_5 is probably not what we want/need and this blocks further works on bringing Qt5 to aarch64-darwin
also mark Qt5 broken on aarch64-darwin for the time being until we address the underlying build issue

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I was able to build qt512.full and qt515.full (modulo qt515.webengine which is broken) without any issues.
I also built gmic-qt against libsForQt512, libsForQt514 and libsForQt515 and it worked nicely.

cc @NixOS/darwin-maintainers

Diff looks good to me too, but the x86_64-darwin build timed out, let me test it locally.

Rebased on top of current master after staging-next merge.

Is it intended for #151874 to still be open?


Support for laravel 9

I saw that the composer.json was updated in master to support Laravel 9 but there are a couple of other changes necessary to support L9 since the Swift Mailer was replaced with the Symfony Mailer.
The Log driver and InboundEmail files needed updates.
I implemented to be backward compatible by checking the app()->version() in each instance.
I also added a run-tests action to test against L6-9 on php 7.3, 8 and 8.1
I confirmed that all tests failed prior to my changes and they all pass on all supported php/laravel combinations.

@samtlewis @mpociot it will be really helpful if we can merge this asap.

^ Ditto.  I would love to use this on a Laravel 9 app.

@samtlewis have you got this working in production or staging or even local yet? I've pulled it in and all my app does is attempt to forward any email that arrives but it throws this error:
 Symfony\Component\Mime\Message::setBody(): Argument #1 ($body) must be of type ?Symfony\Component\Mime\Part\AbstractPart, string given
The stacktrace ends with this:
#0 ...snip.../vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Symfony\\Component\\Mime\\Message->setBody()
#1 ...snip.../vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(52): Illuminate\\Mail\\Message->forwardCallTo()
#2 ...snip.../vendor/laravel/framework/src/Illuminate/Mail/Message.php(368): Illuminate\\Mail\\Message->forwardDecoratedCallTo()
#3 ...snip.../vendor/beyondcode/laravel-mailbox/src/InboundEmail.php(171): Illuminate\\Mail\\Message->__call()
#4 ...snip.../vendor/laravel/framework/src/Illuminate/Mail/Mailer.php(267): BeyondCode\\Mailbox\\InboundEmail->BeyondCode\\Mailbox\\{closure}()
#5 ...snip.../vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(505): Illuminate\\Mail\\Mailer->send()
#6 ...snip.../vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(337): Illuminate\\Mail\\MailManager->__call()
#7 ...snip.../vendor/beyondcode/laravel-mailbox/src/InboundEmail.php(172): Illuminate\\Support\\Facades\\Facade::__callStatic()
#8 ...snip.../app/Providers/AppServiceProvider.php(119): BeyondCode\\Mailbox\\InboundEmail->forward()

so it still seems to be calling Symfony. Scratching my head at the moment!

@samtlewis  - I've looked again at the changes you've made and they don't seem quite right. Apologies if I'm missing something obvious.
            if (app()->version() >= 9) {
                $mailable->withSwiftMessage(function (\Swift_Message $message) {
                    $message->getHeaders()->addIdHeader('In-Reply-To', $this->id());
                });
            } else {
                $mailable->withSymfonyMessage(function (\Swift_Message $message) {
                    $message->getHeaders()->addIdHeader('In-Reply-To', $this->id());
                });
            }

Shouldn't the conditional be the other way round? For Laravel 9+ it should be Symfony not Swift?
When calling withSymfonyMessage it won't be a Swift_Message that is passed?

It still doesn't explain my issue with forwarding. At the moment I think we're going to have to wait until @sschlein or @mpociot have time to give the package a Laravel 9 facelift

@colinmackinlay i believe you are correct. That code is backwards. I am using the ingestion functionality but not reply/forwarding. Probably should have added some tests for that.

@samtlewis  implemented in my fork: joelharkes/laravel-mailbox version 3.0.0

Thank you, and sorry that it took so long


aws-device-farm-runner (exit code: 255)

We are facing and issue while configuring the aws device farm with the trigger in the bitrise.
following is the log from the bitrise.
`
+------------------------------------------------------------------------------+
| (4) aws-device-farm-runner                                                   |
+------------------------------------------------------------------------------+
| id: aws-device-farm-runner                                                   |
| version: 0.0.7                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: bash                                                                |
| time: 2019-02-04T14:22:37Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
INFO[14:22:37]  * [OK] Step dependency (aws) installed, available.

[OK] jq installed
INFO[14:22:46]  * [OK] Step dependency (jq) installed, available.
Configs:
access_key_id: ***
secret_access_key: ***
device_farm_project: [REDACTED]
test_package_name: [REDACTED]-development-debug-androidTest.apk
test_type: INSTRUMENTATION
filter:
billing_method: METERED
locale: en_US
platform: android
ipa_path:
ios_pool:
apk_path: /bitrise/deploy/[REDACTED]-development-debug-androidTest.apk

run_name_prefix:

build_version: 6128
aws_region: [REDACTED]
run_wait_for_results: true
run_fail_on_warning: false
AWS region ([REDACTED]) specified!
Setting up device farm run for platform 'android'.
run_platform: android

app_package_path: /bitrise/deploy/[REDACTED]-development-debug-androidTest.apk

upload_type: ANDROID_APP
Initialized upload of package '[REDACTED]-development-debug-androidTest.apk' for app ARN 'ARN'
Beginning upload
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed

0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2024k    0     0  100 2024k      0  2442k --:--:-- --:--:-- --:--:-- 2444k
Upload finished. Polling for status.
Upload status: SUCCEEDED
Upload successful! Starting run...
An error occurred (NotFoundException) when calling the ScheduleRun operation: One or more of the resources for this request are not available.
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | aws-device-farm-runner (exit code: 255)                       | 14 sec   |
+---+---------------------------------------------------------------+----------+
| Issue tracker: ...com/peartherapeutics/bitrise-aws-device-farm-runner/issues |
| Source: https://github.com/peartherapeutics/bitrise-aws-device-farm-runner   |
+---+---------------------------------------------------------------+----------+
`

test_package_name should be the name of the test uploaded by the file deploy step as explained in the docs. This should be different from the actual app bundle as specified in apk_path. Please read the wiki and inline step input documentation thoroughly. If you ar still having issues after that you can re-open.


Add CLI options for feature version filter

This PR adds CLI options to the export, export-vis and delete commands that allow to control the feature version filter.
One breaking change:

The glTF export option --remove-collada had a shortcut option  -r before. Since -r is now used by the feature version filter, the new shortcurt option for removing collada files is -m.

@BWibo This MR changes a CLI shortcut option of glTF export. You may need to check if it affects your docker-based test environment.


atx handler should raise pubsub.ErrValidationReject on validation failures

if this is not true in all cases it will lead to stuck sync if peers somehow repeatedly feed invalid atxs.
ErrValidationReject will disconnect such peer and report to sync that it should ignore such atx.

related https://github.com/spacemeshos/go-spacemesh/issues/5614


cannot build android after migration from<EMAIL_ADDRESS>

Android production builds are failing with the following now that we've migrated to this version of the plugin.
* What went wrong:
Could not determine the dependencies of task ':app:collectReleaseDependencies'.
> Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
   > Could not resolve project :capacitor-community-fcm.
     Required by:
         project :app
      > Unable to find a matching configuration of project :capacitor-community-fcm:
          - None of the consumable configurations have attributes.

To clarify, we upgrade to<EMAIL_ADDRESS>

I had the same problem, try editing the capacitor.settings.gradle and add 'capacitor-fcm' to the src.
from:
include ':capacitor-community-fcm'
project(':capacitor-community-fcm').projectDir = new File('../node_modules/@capacitor-community/fcm/android')
to:
include ':capacitor-community-fcm'
project(':capacitor-community-fcm').projectDir = new File('../node_modules/@capacitor-community/fcm/android/capacitor-fcm')

fixed in 1.0.5
please check out the android breaking change on changelog


PolyCutOffComposite error for full isolation

Description
If a user sets a too-high value for cutoff so all variables are isolated, one random variable should be submitted to the child sampler. But I get a KeyError on FrozenSet.
This part of the code:
if isolated and len(new) == 0:
            # in this case all variables are isolated, so we just put one back
            # to serve as the basis
            term = isolated.pop(),
            new[term] = original[term]

doesn't execute new[term] = original[term] because
>>>original
Out[39]: BinaryPolynomial({frozenset(['a', 'c', 'b']): 4, frozenset(['a', 'c']): 0.2, frozenset(['a']): 3}, 'SPIN')

To Reproduce
>>> poly = dimod.BinaryPolynomial({'a': 3, 'abc': 4, 'ac': 0.2}, dimod.SPIN)
>>> sampler_exact = dimod.HigherOrderComposite(dimod.ExactSolver())
>>> PolyCutOffComposite(sampler_exact, 4.1).sample_poly(poly).first.sample
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-23-fb78f1a2ace0> in <module>()
----> 1 PolyCutOffComposite(sampler_exact, 4.1).sample_poly(poly).first.sample

c:\users\jpasvolsky\!git_docsos\env\lib\site-packages\dwave\system\composites\cutoffcomposite.pyc in sample_poly(self, poly, **kwargs)
    277             # to serve as the basis
    278             term = isolated.pop(),
--> 279             new[term] = original[term]
    280
    281         # get the samples from the child sampler and put them into the original vartype

c:\users\jpasvolsky\!git_docsos\env\lib\site-packages\dimod\higherorder\polynomial.pyc in __getitem__(self, term)
    149
    150     def __getitem__(self, term):
--> 151         return self._terms[asfrozenset(term)]
    152
    153     def __iter__(self):

KeyError: frozenset(['b'])

Expected behavior
Should extract a variable from the original poly
Environment:

OS: Win
Python version: 3.something

Additional context
Add any other context about the problem here.

Hmm, this is easy enough to fix, but now I don't remember why we still sent one variable to the child sampler rather than just sending an empty binary polynomial? @conta877 do you remember?

Nevermind, I see why. It's because the other variables are added back in relative to the problem sent to the system, so we need one to start that process.


Share() doesn't prevent the source from executing multiple times

Bug Report
Current Behavior
Subscribing to a source created with from executes it multiple times, even when using share
Reproduction
https://stackblitz.com/edit/rxjs-ijuwzu?devtoolsheight=60
import { from, partition, merge } from 'rxjs';
import { tap, share } from 'rxjs/operators';

const source = from([1,2,3]).pipe(
  tap(console.log),
  share()
);

const [odd, even] = partition(source, x => !!(x % 2))

merge(odd,even).subscribe(x => console.log(x));

Expected behavior
The output should be 1,2,3 in any order, but without repeats
Environment

Runtime: Node 14.1
RxJS version: 6.5.5

Additional context/Screenshots
Using publish followed by refCount works
Possibly similar to this https://github.com/ReactiveX/rxjs/issues/4981

I think this is dupe of https://github.com/ReactiveX/rxjs/issues/5386.

I think this is dupe of #5386.

I think so too. And I think @cartant explains it perfectly:

This is the expected behaviour because subscription to a synchronous source that completes will see all notifications from that source received and an unsubscription occur before subscribe returns.

If you become your observable to asynchronous, it'll work as you expected:
const source = from([1,2,3], asapScheduler /* or asyncScheduler */).pipe(...
....

Thank you guys! This explains my issue entirely, and why I don't necessarily see it in other places.


[feat] sfpegCardCmp - Add description or help text for each section

Is your feature request related to a problem? Please describe.
The sfpegCardCmp may be split into multiple sections and it would be great to include contextual help text right within each section above the set of fields.
Describe the solution you'd like
Add description or help properties in the sfpegCard configuration  to provide textual information.
Describe alternatives you've considered
Currently, it is possible to use richtext or sfpegMessageCmp to provide messages above the form.
Additional context
N/A

Solution implemented, including the ability to reserve white spaces in the form.


Can't access settings for extensions that don't specify a title for their settings in package.json

Found on versions:
code-server: v3.4.1
VS Code: v1.45.1
Commit: 48f7c2724827e526eeaa6c2c151c520f48a61259
Date: 2020-06-04T10:39:14Z
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36

and
MacOS 10.15.5:
Version: 1.47.3
Commit: 91899dcef7b8110878ea59626991a18c8a6a1b3e
Date: 2020-07-23T13:08:29.692Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.5.0

Steps to Reproduce:

Install an extension that doesn't have a "title" for its settings specified in its package.json.  Example: https://github.com/actboy168/vscode-tasks

Hit the cog on the extension and select "Extension Settings..."

Note that the Settings window comes up with the proper search terms, but no settings are found.

Manually add a title for the settings in package.json like this:
 "configuration": {
     "title": "vscode-tasks",
     "properties": {
         "tasks.statusbar.default.hide": {
             "type": "boolean",

Repackage with vsce package, install the resulting .vsix

Note that the settings search is successful and settings can be viewed and changed.

Discussed with developer of that extension and suspect issue in upstream since this used to work in a previous VSCode version (unclear when it broke).  See https://github.com/actboy168/vscode-tasks/issues/22.
Uninstallling and reinstalling the extension from the Marketplace doesn't appear to refresh the package.json in .vscode/extensions/<extension_name>, so once the settings have been given a title, the settings will continue to work properly even when reinstalling.  Deleting the extension directory and reinstalling from the Marketplace will cause the issue to reappear.

@roblourens Seems the search is in Settings UI. So assigning this to you.

@sandy081 i assigned to you because I don't think this has anything to do with search, rather the settings model, since I don't read the 'title' property or prevent settings from showing up when it's missing.

I think this is in the settings UI, nvm.

Actually this is interesting. @rccoleman since your extension has the display name Tasks, and no title, we end up folding your extension settings into the builtin "Tasks" category and so they are not associated with your extension. You can work around this by adding a title like you've discovered, but it's not usually necessary.

doesn't appear to refresh the package.json in .vscode/extensions/<extension_name>

Make sure you quit vscode and restart so the old version is fully uninstalled, if you want to verify by looking at the disk like this.
@sandy081 I don't understand this code in parseConfig in preferencesModels.ts that well, do you think this is expected? The displayname of the extension is used rather than extension id or something else, that comes from here: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/api/common/configurationExtensionPoint.ts#L170 it seems to easy to lose your extension settings group into another group with the same title.

I think this makes sense in the old editor that displaying settings grouped by title. Not sure how settings are grouped in new editor based on that it has to be changed.

Ok. That grouping condition can probably be changed

Thanks very much for the quick turnaround on this!


NotImplementedError: forward_dummy is not implemented in SOLOv2

Hello, can't solov2 test the calculation quantity and parameter quantity now? thank you！

Yes.  Currently no support.


Try to fix CI

Add CI
Added a test_helpers folder to the path, where we can factor out common code from the tests.
Added a Docker container so we can test on linux locally.


⚠ ClamAV has degraded performance

In cf764ab, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in 2ba55ff.


Troubleshoot docs should remove references to profiles

This adds additional confusion and may not be recommended due to config resolution iffy ness

Which sections do mean specifically?

I don't find this anymore, I suspect has already been removed. It was related to parameters being defined in profiles in this page: https://nf-co.re/docs/usage/troubleshooting


Update troubleshooting.md

Fought with rollbacks where convox logs didn't give a reason for hours.
Release Playbook

[ ] Rebase against master
[ ] Code review
[ ] Merge into master
[ ] Verify changes at http://site-staging.convox.com
[ ] Promote release on site-production in the convox/production Rack

@eljo Any way you could open a support ticket and provide the exact cron you were running so we can try to reproduce this and improve the error reporting?


Incorrect reference to VisibleOnScreenEnabler3D/2D in VisibleOnScreenNotifier3D/2D documentation.

Thanks! And congrats for your first merged Godot contribution :tada:


installation fails

getting this error while trying to install.
npm ERR! Darwin 16.4.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/sinan/.atom/.apm/.apmrc" "--userconfig" "/Users/sinan/.atom/.apmrc" "install" "/private/var/folders/cf/_ppctr6n16n5j20tqbk7wh0w0000gp/T/d-117222-76938-o8h459/package.tgz" "--runtime=electron" "--target=1.3.13" "--arch=x64" "--global-style"
npm ERR! node v4.4.5
npm ERR! npm  v3.10.5

npm ERR! Cannot convert undefined or null to object
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/cf/_ppctr6n16n5j20tqbk7wh0w0000gp/T/apm-install-dir-117222-76938-1ncq0f1/npm-debug.log

can you provide the log noted in the last line?

I was going to but apm doesn't seem to create that file.
However, I took a look at your code and it seems like it's neither apms nor npms fault. You are treating an atom package (tool-bar) as an npm package here. And I think you're doing it because of the font-awesome here.
I think, what you should be doing instead is, to install font-awesome as an npm dependency i.e. npm i font-awesome --save and use the font from there.
But, if your package depends on tool-bar for other reasons, I'd say take a look at atom-package-deps package. I recently used it, you can take a look for a sample implementation.
hope this helps. cheers.


add doc to deploy postgresql operator on IBM Z and Power

What type of PR is this?
/kind documentation

Feel free to use other labels as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well.

What does this PR do / why we need it:
https://odo.dev/docs/tutorials/deploying-java-app-with-database is not support IBM Z and Power, we new a doc to say how to deploy operator on IBM Z and Power, and then give the link in https://odo.dev/docs/tutorials/deploying-java-app-with-database
Which issue(s) this PR fixes:
Fixes #?
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[x] Documentation

[ ] I have read the test guidelines

How to test changes / Special notes to the reviewer:

/ok-to-test

@valaparthvi Thanks for your advice, I will start to do it now.

@valaparthvi hi, I hava one question when doing the change, how can user got the yaml when use oc apply -f .yaml, if need we have some words to say here? if need, do you have some specific advice and example for this? thank you.

@valaparthvi hi, I hava one question when doing the change, how can user got the yaml when use oc apply -f .yaml, if need we have some words to say here? if need, do you have some specific advice and example for this? thank you.

You can directly put the link I think, something like oc apply -f https://somesite/someyaml.yaml.

hi, do you know how to put https://somesite/someyaml.yaml as the format which can be used directly? now if only put in websides it is only a page in odo repo, it's not like https://operatorhub.io/install/postgresql-operator-dev4devs-com.yaml, I want to know how to create the yaml file like https://operatorhub.io/install/postgresql-operator-dev4devs-com.yaml?


moved markov progress reporting

Moved markov progress reporting so that the graph will be less linear.
Any statistical information requires access to whole processed dataset. Dataset processing takes much more time than calculating probabilities, so it makes most sense to stick with rporting dataset processing progress.

@szgorski bump, I wanna merge this since i plan to do some work in this area


Fix for v1.2.1 - avoid endless loop when re-authenticating (login_required)

I just realized that the change in v1.2.1 will lead to an endless loop and finally crash the adapter when it comes to re-authentication(login_required):

If we call openIdInit() only if this.openIdClient in not yet set, the endless loop will not happen.

Thanks for the fix.
Please DO NOT encrease version numbers and DO NOT add news to io-package.json into PRs. Simply add the changes code and a changelog using the Tag  "WORK IN PROGRESS".
package.json, io-package.json etc will be updated during the release process.
I'll merge and release a new version now.

Thanks for the fix.
Please DO NOT encrease version numbers and DO NOT add news to io-package.json into PRs. Simply add the changes code and a changelog using the Tag "WORK IN PROGRESS".
package.json, io-package.json etc will be updated during the release process.
I'll merge and release a new version now.

OK, got it! Thanks for merging!


installed rock-dkms package post-installation script subprocess returned error exit status 10

Removing old amdgpu-4.0-23 DKMS files...

Deleting module version: 4.0-23
completely from the DKMS tree.
Done.
Loading new amdgpu-4.0-23 DKMS files...
Building for 5.8.0-43-generic
Building for architecture x86_64
Building initial module for 5.8.0-43-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rock-dkms-firmw
are.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-43-generic (x86_64)
Consult /var/lib/dkms/amdgpu/4.0-23/build/make.log for more information.
dpkg: error processing package rock-dkms (--configure):
installed rock-dkms package post-installation script subprocess returned error
exit status 10
dpkg: dependency problems prevent configuration of rocm-dkms:
rocm-dkms depends on rock-dkms; however:
Package rock-dkms is not configured yet.
dpkg: error processing package rocm-dkms (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro
r from a previous failure.
Errors were encountered while processing:
rock-dkms
rocm-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is a kernel-5.8 issue. ROCm-4.0 cannot support kernel-5.8.
#1367
RadeonOpenCompute/ROCK-Kernel-Driver#107
ROCm-4.1 maybe support linux-5.8.
Recently, we should install linux-5.4 and remove linux-5.8, before installing ROCm-4.0

Hi @zena1
This is the duplicate of #1367 and request you to wait till ROCm 4.1 which is going to support it.
Thank you.


Support for eventual consistency for ancestor queries [datastore]

In the documentation for Data Consistency under Consistency guarantees and Datastore read policy respectively (https://cloud.google.com/datastore/docs/concepts/structuring_for_strong_consistency#datastore_read_policy) it says:

Ancestor queries (those that execute against an entity group) are strongly consistent by default, but can be made eventually consistent by setting the Datastore read policy (discussed below).

To improve performance, you can set a query's read policy so that the results are eventually consistent.

However, in the Node.js tab it says:
// Read consistency cannot be specified in google-cloud-node.

I have a use-case in where a particular query to an entity group doesn't require strong consistency. Setting eventual consistency for ancestor queries is currently supported by the C#, Go, Java, PHP and Ruby libraries. Is there any future plans on incorporating this option in Node.js?

Thanks for asking! I'm wondering if that doc is out of date. Our runQuery method allows you to switch consistency to "eventual" (https://googlecloudplatform.github.io/google-cloud-node/#/docs/datastore/1.1.0/datastore/query?method=run):
query.run({ consistency: 'eventual' })

Let me know if that's not what you're looking for.

Thanks! That was exactly what I was looking for!


[Datasource Type: MongoDB]Mark the mandatory fields

Description:
Since it has quite a set of values to be filled, it would be better if we can mark the mandotory parameters in the UI.

Mandatory fields are marked in Red, in the latest distribution.


How can configure  WAF ( web app firewall )

Hello ,
i try to install  AWSSDK - AWS WAF <IP_ADDRESS>  from nuget in visual studio 2013 and it install completely.
now how can start or configure WAF to protect my website from injection or xss or common attack.
please guide me.

Hi @sun2sun, it does not seem like you are facing any issues with the SDK. If you are looking for resources to use the service, here is the Getting Started developer guide. You can also ask questions on WAF Discussion Forum.
Closing the issue, feel free to reopen.


3rd image not showing up?

I'm assuming because of the default, items: 3, this is causing it to not show up?

Is there a way to load all images that are showing in the view?

post a link towards the page or a jsfiddle


Possible conflicts when using custom templates with probes

When using custom templates like:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: app
spec:
  replicas: 1
  selector:
    matchLabels:
      name: app
  template:
    metadata:
      labels:
        name: app
    spec:
      containers:
        - image: app-image
          readinessProbe:
            httpGet:
              path: /health/ready
              port: 8080
              scheme: HTTP

It will fail when processing Helm because the readiness path is /health/ready, and the path from Quarkus is by default /q/health/ready. The problem is that the extension should filter by the metadata name instead of trying to map all the probes. It needs fixing in Dekorate: https://github.com/dekorateio/dekorate/issues/1065

Will be fixed in https://github.com/quarkusio/quarkus/pull/28438


Examples: Pharo support

Make an example app with a SmallJS browser front-end and a Pharo back-end.
Communication will be done through regular web API calls,
so no framework expansions will be needed on either side.
And the Pharo side, something like Seaside will have to be preloaded.
.
It will just be a showcase that gives existing Pharo developers a quick start option,
if they want to consider using SmallJS as a native front-end,
as an alternative to using bridgeing functionality, e.g. PharoJS.

Awesome idea.  Just what I'm looking for.
I'm working on a Pharo model of a Study Bible and want to front end it with web apps written by my budding web programmers.     I want to prototype the front end in ST to interact with the actual data model back end in Pharo.  Then have the students write various frontends using their usual HTML, CSS, JS tools and knowledge.

Great to hear, Michael, it would indeed be ideal for (starting) web developers
get starting expericience with Smalltalk.
Cheers, Richard

It's done :-)


Typo in main.js prevent correct use

addSecondsThroughEvent(checkAndConsiderHappyHour(amount * fields.tipsIncrease, ['tip', 'dono', 'dontation']) , name); in line 157:main.js
dontation instead of donation

Thanks Sir Nik :3 Good catch


Not display error

PHP Version
7.3
CodeIgniter4 Version
4.1.4
Which operating systems have you tested for this bug?
Windows, Linux
Which server did you use?
cli
Database
MariaDB 10.4.10
What happened?
I'm using codeigniter as api server and using postman to test.
If error occurrence in backend, it make log file in logs directory on the server but not return error to the frontend like postman. So I must check log files at each time. How to implement error reporting in http response?
Steps to Reproduce

Expected Output
If error occurrence in backend, I want to return error to the frontend.
Anything else?
No response

Can't reproduce it.

No feedback received. Closing..


Missing TimeStatsAsync for MergeRequests

Hi everyone and thank you for this awesome library!
Currently it is possible to access time stats on issues:
var timestats = await _gitLabClient.Issues.TimeStatsAsync(
  issue.ProjectId,
  issue.IssueId,
  CancellationToken.None);

The same does not work with merge requests as the TimeStatsAsync is missing:
var timestats = await _gitLabClient.MergeRequests.TimeStatsAsync(
  mergeRequest.ProjectId,
  mergeRequest.Id,
  CancellationToken.None);

This API does not seem to exist. According to GitLab documentation the time stats are provided along with merge requests themselves.
Can the merge request model be extended with a TimeStats property or the client be extended with TimeStatsAsync method?

Feel free to write a pull request to add the missing feature! (the change seems pretty simple)


Image Classification Data Preview UI fixes

[x]  Bold header text
[x] Change header background color (Sync with design)
[x] Make folder less long
[x] Add scrollbar

Does scrollbar refer to scrolling capabilities for this dropdown? If not, I think a scrollbar here would be highly appreciated.


Disruptive boxes in the middle of the website

There seems to be a conflict within CSS classes of wikispeedruns and the wikipedia page itself when playing in German language.
In the following GIF you can see that a small box in the center of the screen is constantly blocking the view:

Issue on the Wikipedia Speedrun Page
You can try yourself here https://wikispeedruns.com/play/quick_play?prompt_start=Deutschland&prompt_end=Niederlande&lang=de

As I understand it, the CSS class "centered" of the Wikipedia page collides with the class "centered" of the Wikipedia Speedruns page, because the class is used on the Wikipedia content seen in the following image. At the same time, the class with the same name is used on Wikipedia Speedruns to probably display such a centered box.

Wikipedia Page

Wikipedia Speedrun Page

@Phiwatec thanks again for the fix!


Laravel 10.13.2 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v10.13.2 branch.
Before merging, you need to:

Checkout the shift-ci-v10.13.2 branch
Review all pull request comments for additional changes
Run composer update
Thoroughly test your application (no tests?, no CI?)

:warning: The Shift build servers run PHP 8.1. If you are running a different version of PHP you should run composer update locally to ensure you have the proper versions of your dependencies to reflect your PHP environment.


rpm package ??!!

what about .rpm ???

You can build an RPM package using gulp pack:linux{32|64}:rpm, however it doesn't look like one is being officially distributed.

I will build them on my fork. Please check tomorrow.

The only problem I see will be when you will want to update, since I cant know which package manager you use it automatically download the .deb
However, I found this updater: https://github.com/edjafarov/node-webkit-updater
I will try to implement it in messenger for desktop for easier updates.

https://sytten.github.io/Facebook-Messenger-Desktop/

@Sytten thanks!

No problem, tell me if you have any problem with it ;)

The new beta release have rpm.
Please see https://github.com/Aluxian/Facebook-Messenger-Desktop/issues/458


Fixes #3503. Improves "View Editing" for Scenarios (e.g. AdornmentsEditor)

Fixes

Fixes #3503

Proposed Changes/Todos

[x] Fix #3503 - Dim.Auto not working correctly, causing AdornmentsEditor to be sized incorrectly.
[x] Updates Border to have an explicit Border.ShowTitle property. And adjusts line rendering.
[x] Refactor AdornmentEditor and AdornmentsEditor to be more flexible.
[x] Add prototype expand/collapse functionality (ExpanderButton) - See #2814
[x] Add AdornmentsEditor to AllViewsTester

For a future PR
(I don't want to do these now as I'd like to get what's here merged because it fixes #3503).

[ ] Extract the "Position Editor" ("Settings") from AllViewsTester into re-usable class like AdornmentEditor
[ ] Move diagnostic flags settings out of AdornmentsEditor into a separate "editor"
[ ] Add ColorSchemeEditor

Pull Request checklist:

[x] I've named my PR in the form of "Fixes #issue. Terse description."
[x] My code follows the style guidelines of Terminal.Gui - if you use Visual Studio, hit CTRL-K-D to automatically reformat your files before committing.
[x] My code follows the Terminal.Gui library design guidelines
[x] I ran dotnet test before commit
[x] I have made corresponding changes to the API documentation (using /// style comments)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any poor grammar or misspellings
[x] I conducted basic QA to assure all features are working

An illustration:


Probably rewrite workflow example for better understanding

Describe the proposal
I am reading the workflow example and find it a little bit messy due to combining all APIs in a single workflow example. I was wondering should we separate the single huge workflow into several examples, each giving a more concrete example of a set of APIs. This may help user to better understand it.
Also continueAsNew API has a break change with the release here https://github.com/microsoft/durabletask-java/releases/tag/1.2.0. It will not continue executing logic after it (an exception is thrown out in the durabletask SDK to force yield control back to the sidecar). So example here https://github.com/dapr/java-sdk/blob/0d0d59946f81a20cb17d8f7d3d794969878e9e45/examples/src/main/java/io/dapr/examples/workflows/DemoWorkflow.java#L109-L121 will never be triggered once upgrade durabletask-java to v1.2.0.

Related Issue: https://github.com/dapr/java-sdk/issues/911

I think that would be a valuable change - breaking up and making each example more explicit and complete. Is this something you would be able to and want to work on?

Yeah, definitely. I can work on improving the workflow example.


Only hide NEXT clozes

Since using the built-in overlaping clozes my workflow has been drastically altered. How can I configure the hide all function to only hide the next clozes?

Hi, I am not sure I understand what you mean, do you mean you want pressing the top bar/shortcut k to only toggle the active clozes (the cloze(s) with the ordinal being reviewed) or something else? If so, at the moment there is no such configuration option, but it wouldn't be too hard to create.
Could you give an example of a simple note, something like the following, and what you expect to happen?
Non-nested: {{c1::cloze}}
A: {{c2::nested {{c3::cloze}} here}}

Non-nested: {{c1::cloze}} {{c2::cloze}} {{c3::cloze}}
When it's cloze 1's turn; hide clozes 2 and 3.
When it's cloze 2's turn; hide cloze 3
A: {{c4::nested {{c5::cloze}} {{c6::cloze}}  here}}
When it's close 5 turn, dont hide close 4, or any clozes it is nested in. However, rules for next non-nested clozes should still apply; so hide cloze 6.

Ok, there is no such functionality at the moment, when you write "next cloze" are you referring to cloze ordinal or document order? I.e. which clozes will be hidden when reviewing c2 in first {{c3::this}}, then a {{c2::cloze}} and {{c1::another}}?

I believe document order is the most practical implementation; In the example given above, when reviewing c2, c1 should be hidden.

Check if this is what you're looking for (for the min template): fc2m-front.html and fc2m-back.html

This works fine!

Configuration option 'preceding' implemented.


Java redirect documentation

Fixes #4511
Changes proposed in this pull request:

Changed URL that Launch4j opens when the user starts OpenRefine without Java to go to https://docs.openrefine.org/manual/installing#java
Updated documentation at https://docs.openrefine.org/manual/installing#java

The redirect to the docs is because users might not know that Adoptium Temerium is Java. Another reason is that the user will get confirmation that they don't have Java installed if they read the docs.


more examples 🚀

Lock and Mint
https://cardanoscan.io/transaction/46c25f993d40752be3c1b6f7efe95b3b88cc377758a253299cdf90b758a6c785
Unlock and Burn
https://cardanoscan.io/transaction/c11e74b7e3ae85147479368e1c2b2df0395700a93301e057c0f9c550a50f06d0

@KtorZ yes definitely

it works end to end as desired so I merged and later I can cook up a corresponding tutorial for the website


[BUG]: Why is my computer so stuck after using this exe file?

Which tool
It will also get stuck after deleting, who knows how to solve it?
Version
new
Platform
w11
Describe the bug
computer becomes jerky
Relevant log output
No response
Add screenshots
No response

I cannot run the application at all. It appears in the Task Bar for 1 second and disappears. I think Defender is blocking it because of the malware.


Multiple fixes on category edit parent selection

Now you can't select the current category as parent category of the category you are currently editing (Inception loop)
You can't either select a non parent category as parent (Simple level categories heritage)
Fixed a bug while genereting the url to "see on store" for new categories

Ping @elcodi/owners

Hey @elcodi/owners could you take a look at this? :)

:+1:

Changes done :)

What's the status on this one?

Code rebased.
Also some changes done:

Position has already been removed from the form
Parent is now required. It makes sense because we have a "is root" selector. If it's enabled we already ignore the parent field but we don't know the user to select an empty option if this selector is used.

Blocked by https://github.com/elcodi/elcodi/pull/531


[CARBONDATA-3677] Fixed performance issue for drop table

Why is this PR needed?
Drop table is very slow because of unnecessary jobs being fired to clear cache from executors.
What changes were proposed in this PR?

Clear the datamaps for embedded mode when the reader is closed to avoid firing a 2nd job.
While drop only fire the job to clear from executors if either the table has a CG datamap or index server is enabled.

Does this PR introduce any user interface change?

No

Is any new testcase added?

No
Yes

Build Failed  with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/136/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1840/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/142/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1846/

Build Failed  with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/164/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1867/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/192/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1894/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/198/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1900/

@jackylk Please review..Fixed the comments

LGTM


RuntimeError when initialising the OpenAI class.

The bug
Getting a RuntimeError: There is no current event loop in thread 'ScriptRunner.scriptThread'. when trying to initialise the guidance.llm.
To Reproduce
Just initialise the guidance.llms.OpenAI like in the documentation.
guidance.llm = guidance.llms.OpenAI(
    model = MODEL,
    api_key=API_KEY,
    api_version=API_VERSION,
    api_type=API_TYPE,
    api_base=API_BASE,
    deployment_id = deployment_name,
)

System info:

Ubuntu 20.04, Intel
Guidance Version: 0.0.64

Hi @d1pankar, we've made significant upgrades to the library in v0.1 and now recommend using the guidance.models.OpenAI class instead of guidance.llms (and may need to update some docs). See https://github.com/guidance-ai/guidance#openai for details. Feel free to re-open if this is still an issue :)


Add ARM build

Describe the bug
When I run  this container on an ARM system I see the following error:
standard_init_linux.go:207: exec user process caused "exec format error"
I think it may be related to the system being ARM based, and your image was not compiled in ARM based systems.
Is it possible to add an ARM build? For example using the tag arm and arm64 for each system.
Tested on Kubernetes 1.17

Just a quick question, how much memory does the whole kettle of fish use?

the arm64 build seems to work just fine (installed using helm). however, this document https://github.com/ContainerSolutions/trow/blob/master/docs/USER_GUIDE.md still mentions that there is only support for amd64...

@munntjlx sorry, I never noticed this question. Honestly, I don't know the answer. It shouldn't be a lot as it's largely stateless. I'm in the middle of doing some refactorings that may have an impact, once things are more stable, I'd like to do some profiling.
@kervel thanks, that's good to know. I'll update the guide. It might be old or it might be more just that I'll find it hard to explicitly provide support for those plateforms.

@kervel the User Guide was just out-of-date. I've updated the text, thanks a lot for pointing it out.


feat(playht): add Play3.0-mini engine support

Introduce "Play3.0-mini" to the TTSEngines literal for expanded voice engine options.
Handle "wav" format in _encoding_from_format function for better output format support.
Update default voice engine to "Play3.0-mini" for the DEFAULT_VOICE configuration.

Thanks, lgtm!


Your Demo's/Demo site are broken and unavailable.

Been this way for a while now. It would appear this repo has been abandoned.

Looks like it's working now


[AutoTVM] x86 fp32 and int8 support

This is to track the progress to support x86 AutoTVM support.

[x] x86 fp32 AutoTVM support: https://github.com/dmlc/tvm/pull/1586

[ ] x86 int8 AutoTVM support: https://github.com/dmlc/tvm/pull/1680

Yes. I'll do this first.

now that #1680 is merged, @anijain2305 can you please followup with autotvm support?

done by #1993


system: make reset reason init public

Zephyr won't init constructor functions if CPP is disabled. By default, it is disabled.
This makes reset_reason_init public so Zephyr calls this during SoC startup.

Nice, that explains why it didn't work for me when I tested it a few months ago briefly, but then I did some more testing recently and it work fine.  Inbetween the two tests, I had enabled C++ support.

Nice, that explains why it didn't work for me when I tested it a few months ago briefly, but then I did some more testing recently and it work fine. Inbetween the two tests, I had enabled C++ support.

Yes, I'd rather not enable CPP by default just because of it. So make it public. Will add the init call indo SoCs properly to initalize that.


Discord webhook for updates

It should work for Chrome, Edge and Firefox stores. Related to #3

It seems it can only be performed in firefox with RSS. I'm not interested anymore


ENH: Metis and Scotch on Windows

Comment:
Both the Metis and libscotch packages are available through conda-forge on windows. Is there any interest in getting the windows mumps distribution built against these?
I might have a little bit of time to play with getting them added to the cmake scripts, but I'm sure other's might be able to do this faster as I'm still fairly novice at creating cmake scripts.

If it is useful, there is also https://github.com/scivision/mumps that could be either used directly or a source of inspiration. An important thing to notice is that currently mumps on Windows is being built with a really old and unmantained fortran compiler (classic flang 5), I am not sure if trying to compile more on mumps with that compile could create problems. I tried to get it to compile with flang 18 in https://github.com/conda-forge/mumps-feedstock/pull/111, but without a lot of luck.

I believe that could be really useful for us over at the code-aster feedstock as well. My limited experience with compiling Fortran has so far only been with intel Fortran or gfortran. But I plan on moving to flang (seeing as intel fortran support on conda-forge might take a while)
FYI: I know conda-forge has asked Intel about adding support for the intel ifx compiler, but it seems like that might take a while (see https://github.com/conda-forge/intel-compiler-repack-feedstock/issues/15).


ADC support on the stm32u5 serie

This PR enables ADC peripheral to the stm32U5 soc for the b_u585i_iot02a board
STM32 adc  driver is updated for U5 support, ADC1 and ADC4 are available on this serie.
They are different ADC in terms of configuration and resolution.
The ADC requires the power VDDA to be enabled to calibrate.
ADC1 is enabled on the target board.
Signed-off-by: Francois Ramu<EMAIL_ADDRESS>

@FRASTM some more rebase resquired?

rebase on 9bea59a8c4b70ebd6da5fe2cd1566eb93ebbbdcf


Learnings is not a word

Learnings isn't a word, usually when people use it they mean to use 'lessons' or similar.
cc/ @mhussain

 "Learnings"

:+1:


Tweaking overload settings in gateway api?

Description:
Since overload manager config is not part of Envoy gateway api and cannot be patched via Envoy patch policy, how could one tweak values for global max downstream connections (except of having to provide custom bootstrap config)?
[optional Relevant Links:]

Any extra documentation required to understand the issue.

its currently set to 50K https://github.com/envoyproxy/gateway/pull/3082, any alternate values in mind ?
hoping the make sure we pick a sane default here, and we can provide an API field in https://gateway.envoyproxy.io/v1.0.1/api/extension_types/#envoyproxy to support modifying it

@arkodg 50k is good default value, but the actual value very much depends on prod features enabled in the proxy. E.g. at my previous workplace Envoy instance could not handle more than 14k connections due to custom Java sidecar for ext authz.

+1 to making overload manager more configurable.

community meeting notes:

bootstrap config can be modified with https://github.com/envoyproxy/gateway/blob/0926b38a5abff4d19546bbe780136db5cba2a80a/api/v1alpha1/envoyproxy_types.go#L361
The current merge capabilities are limited when it comes to lists: https://github.com/kubernetes/kubernetes/issues/96564.
Since overload manager config is essentially a list of resourceMonitors, the current implementation would not work.
We probably need to support something like jsonpatch here

@nezdolik Now that #4116 has been merged, is it possible to modify the overload manager configuration as you need it via a JSONPatch?

@liorokman thanks for heads up, I will check tomorrow and report back.

@liorokman tried patching overload setting sin bootstrap this week and it worked well.


feat(error): handle 504 timeout error with snackbar (DEV-751)

resolves DEV-751

@mdelez in DEV-751 you'll find an instruction to reproduce a "slow" api to  enforce a timeout error; if you want to test this PR.


Frontend - Level information outputted multiple times upon level

When increasing multiple levels at once, the level up information is display for each level and not for the start and end values as it should be.

Fixed as of commit 2ac38a3.


List command requests user to accept source agreements

Describe the bug
Calling the 'list' command in winget prompts the user to accept the source agreements. The 'list' command currently does not include the '--accept-source-agreements' flag.
To Reproduce
Steps to reproduce the behavior:

Go to WinGetPackageManager.cs.
Go to lines: 20, 22, or 24.
Observe that these lines do not include bypassing the source agreements.

Expected behavior
In order to bypass the source agreements when calling the 'list' command, I'd expect the command to include the ''--accept-source-agreements" flag.
Screenshots
N/A
Package Version
4.1.0
Additional context
I believe that only recently the 'list' command prompts for the source agreements, but I'm unable to verify when this has been added/changed.

Microsoft docs containing: '--accept-source-agreement' as flag for winget list: https://learn.microsoft.com/en-us/windows/package-manager/winget/list

I would appreciate it if you could add this flag as well, because today I noticed that Winget behaves oddly and does not return any apps without it.

I will release a patch that should fix this and other current issues as soon as possible.

I released a patch (Version 4.1.1) containing a fix for this issue.
https://github.com/basicx-StrgV/WGet.NET/releases/tag/4.1.1


Notebook computers battery ac power

Realization of laptop battery AC power automatic switching power plan

Realization of laptop battery AC power automatic switching power plan
Please review
Based on “CTRL +F1” version
Documentation based on feature additions modifications
Code should be better to observe separation
Thanks for your hard work!


Allele Frequency Spectrum always 50%

On vcf.iobio.io the allele frequency spectrum chart shows every file's variants at 50%, rather than some distribution of their actual frequencies, from a source such as gnomAD. As a result, there is always just one bar at 50%, no matter what vcf file is inputted, unlike the sort of distribution the app itself says is expected (when clicking the information icon).

The allele frequency spectrum is based on the distribution of alleles in the vcf file you provide it. If the vcf that you provide only has variants for a single sample, then you will get a very simplistic spectrum as the only possible values will be 50% or 100%. In order to see an actual spectrum, you need to provide a multisample vcf. If you use the example url, you will see an AF spectrum that is not a single bar.

I was expecting that for a given vcf, representing the variants of one single person, it would depict the distribution of allele frequency of their variants, relative to the general population, using allele frequency databases like gnomAD. For example, if ALL of the person's variants had a 60% allele frequency, then you would see one single column at 60%. Or, suppose a person had 15 variants, 5 of which had an allele frequency of 20%, and 10 of which had an allele frequency of 60%, I would expect two columns, one at 20% which is half the size of another at 60%. Is that not the intention of this chart? I am not sure the usefulness of the chart otherwise, unless your target audience is more researchers with many samples and not an individual's analysis of their own.

The allele frequency chart in this application is geared towards a vcf file with many samples. It is sampling across the vcf file and giving the AF distribution across the for the samples in the file across those samples sites. I agree that this not a useful chart for single sample vcf files.

Gotchya. Thanks for the explanation. I do think it would be cool if there were an additional widget on there depicting it in the way I described. Not sure it'd be particularly actionable in any way, but fun stats nevertheless.

It isn't a bad idea and we've long known that the current setup has limited value for vcf with small numbers of samples. It is something we can try and look into (although time is a commodity we don't have too much of), but we'd have to see how quickly such a calculation would converge. In order to work as a web app, we can only sample data from the vcf file, so we would have to be sure to sample sites that ensure we sample across variants with a range of allele frequencies, variants that segregate across different ancestries etc. It probably wouldn't be quite as simple as it might first appear!

Makes sense. Thanks for your work on these iobio tools.

Pleasure, and thanks for your comments. It's helpful for us to know what people are trying to do with the tools. This helps us direct where we should do more work!


Feat/date fields

Similarly to https://github.com/citizensadvice/design-system/pull/3115 we need a way of changing the names/ids of the date input fields. This will help us when we create more Rails forms where the name has a different format: e.g date_of_birth[day]. To make this possible, I've added slots (date_fields) for the dates. I then thought that the behaviour of the fields is close to checkboxes (i.e part of a form group) and have tried to have DateInput inherit from FormGroup and DateField inherit from Input. There were a few problems with this approach (would require too much modification) so I decided to go with the initial date field slots.
This is a breaking change, but wouldn't necessarily require a major release. The date fields were released fairly recently but to my knowledge, there is not product which currently uses them.

Given that this repo is public, there's a (albeit tiny) chance that someone is using this component externally, so I'm wondering if we should avoid introducing breaking changes?
Could with_date_fields default to provide behaviour that's backward-compatible with any existing usage..?
Also, I'm wondering if with_date_fields can take three parameters, one each for the day, month and year parameters? Presumably all three need to exist once - i.e. if I wanted to select a month and year only, would this work correctly if I omitted the day option?

Thanks @leeky!

Given that this repo is public, there's a (albeit tiny) chance that someone is using this component externally, so I'm wondering if we should avoid introducing breaking changes?
Could it default to providing behaviour that's backward-compatible with any existing usage..?

Yeah, I think I started off with this intention and then things got tangled and I felt like I was adding a lot of complexity for it.  I can give it a go again, or we can release it as 6.0.0 to make it obvious for users that they need to follow the new syntax.

Also, I'm wondering if with_date_fields could be changed to take three separate parameters, one each for the day, month and year? Presumably all three need to exist once - i.e. if I wanted to select a month and year only, would this work correctly if I omitted the day option?

I originally was "inspired" by gov.uk design system passing items to the date input: https://design-system.service.gov.uk/components/date-input/ but there is nothing stopping us from changing the current set up. I have a few ideas (one of them is non-breaking change) and want to understand more about how we'll pass the arguments so maybe best to have a chat to go though those?

Closing for now, so that the PR doesn't go stale. Leeky and I have been discussing an alternative approach - the plan is for him to implement the changes required in the form builder gem first, and then we can apply the learnings to the design system component.