Improvements to renderPrompt

renderPrompt uses an IChatEndpointInfo:
export interface IChatEndpointInfo {
    /**
     * The maximum number of tokens allowed in the model prompt.
     */
    readonly modelMaxPromptTokens: number;
}

but in VS Code API when we get a model, it looks like this:
	/**
	 * Represents a language model for making chat requests.
	 *
	 * @see {@link lm.selectChatModels}
	 */
	export interface LanguageModelChat {

		// ...

		/**
		 * The maximum number of tokens that can be sent to the model in a single request.
		 */
		readonly maxInputTokens: number;

		// ...
        }

So naturally in several places I have to make this silly object:
{ modelMaxPromptTokens: model.maxInputTokens }

and also pass in model for:
renderPrompt<P extends BasePromptElementProps>(endpoint: IChatEndpointInfo, ctor: PromptElementCtor<P, any>, props: P, model: LanguageModelChat, token: CancellationToken)

so I pass in the same information twice... and I have to massage things to work but we own both APIs.
I think this should be cleaned up to take in only a LanguageModelChat.
This also applies to PromptRenderer.

@joyceerhl @roblourens I think it makes sense to tweak this to match VS Code's API (such that interfaces are just assignable in most cases) now that it's all finalized. Any reason not to?

Sounds good

SGTM


Fix not displaying toaster on windows by using utils.command() instead of utils.fileCommand()

I ran into a few scenarios where toaster.js notifier would not show the notification. All tested on Windows 10 on two devices, one running spring 2018 update, the other on latest insider build. After digging around I discovered that node-notifier uses child_process.execFile() (through utils.fileCommand()) to launchSnoreToast.exe. Using child_process.exec() (utils.command()) solves that problem.
More context:
I am in the middle of writing plugin for rollup that listens on errors and shows them as notification. If Rollup is used in the code through JS API, everything works fine. But using Rollup's CLI (the most used and also most useful way to use rollup) node-notifier doesn't work.
This is blocking me from releasing the plugin and I'll probably resort to hardcoding something like this for a while.
var cp = require('child_process')
var snorePath = './node_modules/node-notifier/vendor/snoreToast/SnoreToast.exe'
var command = '"' + [snorePath, '-t', 'title', '-m', 'message'].join('" "') + '"'
cp.exec(command)

So this PR should not be merged! Because it in turn removes support for multiline messages. I couldn't find any solution to escape \n in any way when passing it as shell argument to the snoretoast.exe.
In my module I'm currently using this ugly hack but I don't think child_process.spawnSync() is a way to go about this either.
Not sure where to go from here.

Hi! Thanks for this.
How did you do the newlines? Did you try \r\n also?


If you want to update your documentation

I just wrote your class component to a functional component. here´s the code
import React, { useState } from "react";
import LocationPicker from 'react-location-picker';

const LocationPickerComponent = () => {

  const defaultPosition = {
    lat: 27.9878,
    lng: 86.9250
  };

  const [location, setLocation] = useState({
    address: "Kala Pattar Ascent Trail, Khumjung 56000, Nepal",
      position: {
         lat: 0,
         lng: 0
    }
  })

  const handleLocationChange = ({ position, address } = location) => {
    setLocation({ position, address });
  }

  React.useEffect(() => {
    handleLocationChange();
  }, [])

  return (
    <>
      <LocationPicker
        containerElement={
 }
        mapElement={
 }
        defaultPosition={defaultPosition}
        onChange={handleLocationChange}
      />
    </>
  )
}

export default LocationPickerComponent;
;

@wicho1001 Sorry for the late attention. If you're still willing to contribute to the docs send a PR updating the docs.


First release

Things are looking a little more stable, so we should start thinking about a first release.
Things before that:

[x] #63
[x] InquirerPy #61
[x] Get chatgpt running #68

Any suggestions are welcome.

I think we're almost ready! Please report any issues found before we release.

Released!


Add unit tests

Very basic, just checking that the loader compiles resources, and that it emits warnings and errors.
Committing the expected result of the compilation (test/expected/Foo.js) is super brittle, but we have to start somewhere.
@rtfeldman @tcoopman @eeue56 please review.

Also, @rtfeldman could you please enable this project in your TravisCI account, so that it gives us feedback on PRs?

@unindented Yep! Enabled it and also removed an unnecessary step (we don't need the stuff necessary to build the Elm compiler from scratch, since we're just going to use npm to install Elm anyway)

Tests are now running correctly on both Travis and AppVeyor, although they are not yet passing. :smile: Progress!

I've put a couple of comments on there that should probably be resolved before merging :+1:

@unindented -
I've split the .gitignore changes into this PR - https://github.com/rtfeldman/elm-webpack-loader/pull/13
I'm going to merge with master, and then can you rebase this branch off that?

Ok, things are looking better. Tests are passing on OSX and Linux. Tests on Windows are failing because of an issue on node-elm-compiler (https://github.com/rtfeldman/node-elm-compiler/issues/11), for which I've submitted a PR (https://github.com/rtfeldman/node-elm-compiler/pull/12).
Once that's solved, AppVeyor will hopefully go green here.
@rtfeldman let me know what you think.

Bumped node-elm-compiler's version to 2.2.0 as per https://github.com/rtfeldman/node-elm-compiler/pull/12
Will merge once tests pass

So, it looks sadly like the tests are failing due to the long download time on Travis for elm-packages. I'm looking into it.

I had to deal with Travis timeouts on node-elm-compiler; check out
test/compile.js
On Tue, Dec 8, 2015, 12:23 AM Daniel Perez Alvarez<EMAIL_ADDRESS>wrote:

Merged #12 https://github.com/rtfeldman/elm-webpack-loader/pull/12.
—
Reply to this email directly or view it on GitHub
https://github.com/rtfeldman/elm-webpack-loader/pull/12#event-485375501.

You mean https://github.com/rtfeldman/node-elm-compiler/blob/f51ff7731479c9e3e1b3392a9ddfe487b81cb714/test/compile.js#L15-L16 ?

Yep, exactly. :smile_cat:
I tried several smaller values and 5 minutes was the first one that worked adequately...that was even after running elm-package install up front before even starting to run the tests (which is probably not necessary anymore, given that the timeout has to be ridiculously long anyway)

I think I'll open a PR to migrate the tests to mocha and chai and follow the same patterns you used for node-elm-compiler. Using different frameworks is going to make it unnecessarily difficult to transfer learnings between the two projects.

:+1: sounds awesome!

:+1:


Hidden files not showing

I am a newbie and just got to c++ like a month ago, does anyone know why the hidden files are not showing? I have fixed the // from the infect.cpp and all other stuff that I spot. The application is running and I have inserted my pen drive, I also turned on show hidden files from Windows. But still no luck.

Hey, sorry to respond that late. It's actually "super-hidden" file. You can turn it in the display option tab, option popup


Language pack files for some extensions not found

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
版本: 1.81.0-insider
提交: d568855b2a4ef75716cdaa9a52da5315f5100a5d
日期: 2023-07-12T11:13:11.418Z
浏览器: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
OS Version: Mac os 12.2.1 (21D62)

Steps to Reproduce:

Open https://insiders.vscode.dev/
Switch  Configuration Display Language to zh-cn.
Open devtools after page auto refresh

eg.  https://github.vscode-unpkg.net/GitHub/vscode-pull-request-github/0.69.2023071212/extension/dist/browser/extension/bundle.l10n.zh-CN.json does not exist, but  https://github.vscode-unpkg.net/GitHub/vscode-pull-request-github/0.69.2023071212/extension/dist/browser/extension/bundle.l10n.zh-cn.json  exists.

@yiliang114 thanks for working on this. The true fix for this issue actually needs to be in vscode.dev's source code. I've made that fix and this should work for you now.
Let me know if you still see any trouble.


Infinite zooming and panning should not be allowed

Commit: d87f9bfbb3dd5b2d5b0e936a4540e027c22b3b0d
Steps to reproduce

zoom out

Observed behavior

User can zoom out / pan until the matrix is gone

Expected behavior

Zooming / panning back can be cumbersome and sometimes one just gets lost

In terms of usability infinite zooming and panning should simple be forbidden. It doesn't add any value but can cause trouble.

Has this been addressed? This is somewhat related to #981, which describes the opposite problem.

#882 added an option to set the zoom level limit. We could add a similar option for panning as well.


Suggestion to improve cli arguments

Suggestions to reshape cli arguments

There are "advanced" options is not really useful for normal users, e.g. control-plane-host. It will be great to use clap::Arg::hide to hide these noisy options, https://docs.rs/clap/latest/clap/struct.Arg.html#method.hide.

Since we possibly do not support other viewers in future or even no such a cli user will not preview them soonly, consider hiding open-in-browser and add a no-open.

also alias static-file-host to addr, https://docs.rs/clap/latest/clap/struct.Arg.html#method.alias.

Current help:
> typst-preview-win32-x64 --help
Usage: typst-preview-win32-x64 [OPTIONS] <INPUT>

Arguments:
  <INPUT>

Options:
      --font-path <DIR>            Add additional directories to search for fonts
      --root <DIR>                 Root directory for your project
      --data-plane-host <HOST>     Data plane server will bind to this address [default: <IP_ADDRESS>:23625]
      --control-plane-host <HOST>  Control plane server will bind to this address [default: <IP_ADDRESS>:23626]
      --static-file-host <HOST>    Host to open the preview in the browser [default: <IP_ADDRESS>:23627]
      --open-in-browser            Open the preview in the browser after compilation
      --server-static-file         Serve html for preview in the browser
      --partial-rendering          Only render visible part of the document. This can improve performance but still being experimental
  -h, --help                       Print help

After improve help:
> typst-preview-win32-x64 --help
Usage: typst-preview-win32-x64 [OPTIONS] <INPUT>

Arguments:
  <INPUT>

Options:
      --root <DIR>                 Root directory for your project
      --font-path <DIR>            Add additional directories to search for fonts
      --addr <HOST>                Host to open the preview in the browser [default: <IP_ADDRESS>:23627]
      --no-open                    Don't open the preview in the browser after compilation
      --partial-rendering          Only render visible part of the document. This can improve performance but still being experimental
  -h, --help                       Print help

Usage:
typst-preview main.typ

Add a typst-cli mode
Add a watch subcommand which simulate a typst-cli so that neovim users can configure their watch command by typst-preview easily.

It is optional to add a typst-cli mode, since a much more better solution is to implement full fleged plugin for neovim users. It is so that closed with cli args improvement


PLATFORM-1194: Pass custom path in page call

Adds ability to pass custom path to page calls using the below functionality provided by mouseflow:
https://mouseflow.groovehq.com/knowledge_base/topics/single-page-websites
https://segment.atlassian.net/browse/PLATFORM-1194

Codecov Report

Merging #5 into master will decrease coverage by 4.54%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
- Coverage     100%   95.45%   -4.55%
==========================================
  Files           1        1
  Lines          22       22
==========================================
- Hits           22       21       -1
- Misses          0        1       +1

Impacted Files
Coverage Δ

lib/index.js
95.45% <75%> (-4.55%)
:arrow_down:

Continue to review full report at Codecov.

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


Run community detection now that we have tractably-sized networks

Use methods from https://github.com/jwzimmer/tv-tropes/issues/21

Run community detection on the network of tropes based on the tropes they link to
run community detection on the network of indices based on the tropes they link to
maaaybe run community detection on the combination but that may again be too large? (as in https://github.com/jwzimmer/tv-tropes/issues/22)

compare the categories we get to:

the indices (their categories)
the stanford neighborhoods

woo! finally got something to work. here's a group of 5 clusters with 100 nodes and 313 edges. each node was limited to 5 edges in adding them to the graph. more could have been added to a particular trope as edges were created for the tropes that were later added in the for-loop. but the overall size looks manageable!
https://github.com/jwzimmer/tv-tropes/commit/0f400773a32eb0aee3e57710ef130d3a5df7f84b


ensure version null safety, fix github #442

@khmarbaise possible to take look? thank you!

@khmarbaise possible to take look? thank you!


Azure keyvault non default cloud

Allows to set active directory endpoint and active directory resource in the secretstore
Closes #428

/ok-to-test

I tested it manually in china, i don't have a public cloud cluster for testing right now, but i might be able to do that within the next week.

/ok-to-test

https://github.com/external-secrets/external-secrets/runs/4099099789?check_suite_focus=true

Hi, if you rebase with main, you can now run e2e tests for specific cloud providers.
First export some of the required credentials:
export TENANT_ID=asd98934-6c5.........
export VAULT_URL="https://YOURVAULT.vault.azure.net/"
export AZURE_CLIENT_ID="asd29342893.............."
export AZURE_CLIENT_SECRET="keysecretvalue"

then you can run them locally with:
BUILD_ARGS="--build-arg TARGETARCH=amd64 --build-arg TARGETOS=linux" make test.e2e FOCUS="azure"

Hi @stefan-schweer , regarding the failing check-diff, it is related to go version 1.17. Use go 1.16, or simple remove the first line of the generated deepcopy files.

I really struggle to find time for testing that it non china, what irritates me is that the only tests (make test) that are failing for me in my branch are failing on main too.

Unit tests failing on main usually are controller tests trying to use kubebuilder's envtest, and not being able to:
export KUBEBUILDER_TOOLS_VERSION='1.20.2' # check for latest version or a version that has support to what you are testing

curl -sSLo envtest-bins.tar.gz "https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-$KUBEBUILDER_TOOLS_VERSION-linux-amd64.tar.gz"

sudo mkdir -p /usr/local/kubebuilder
sudo tar -C /usr/local/kubebuilder --strip-components=1 -zvxf envtest-bins.tar.gz

But last time the problem was e2e tests, not unit tests
Let me send another /ok-to-test, one sec

/ok-to-test sha=2f58d15

To run e2e tests you run make test.e2e instead of make test
More preciselly: BUILD_ARGS="--build-arg TARGETARCH=amd64 --build-arg TARGETOS=linux" make test.e2e FOCUS="azure"
Please have a look over above comment https://github.com/external-secrets/external-secrets/pull/430#issuecomment-975735470

@stefan-schweer do you plan to get back to this?

Hey @stefan-schweer  we are closing this PR since we got no response, but feel free to comment here and we can reopen if you have time to get back to this :)


Back button on chat view

I wonder if i'm the only one but I seem to click everytime next to the back button, giving me the feel like the app is not responsive.

thanks @spidfire, it will be fixed in next release.


Bump Kubernetes to v1.25.0

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Update vendored Kubernete to the latest release.
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

@feiskyer PTAL

/lgtm


#41: Edited test

Closes #41
This eo code shows how to use arg and applies fibonacci.

PR-Codex overview
This PR focuses on removing and replacing deprecated code in the app.eo file.
Detailed summary

Removed varargs and unused aliases.
Replaced sprintf and sscanf with seq, *, stdout, and args.at 0.
Added a new line and a print statement for Fibonacci(6).

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@maxonfjvipon please review

@c71n93 please review

@maxonfjvipon please review

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 4min)


Quaternion Math

Since the Numerics modules cover complex numbers and operations, and you mentioned here (#6) that ShapedArrays are within the scope of the project, would quaternion math and possibly other algebras fall under the scope of Swift Numerics as well?
Use cases include everywhere 3D rotation is used, from games and visualization to simulation and control systems. A well-tested and well-documented implementation would be a big boon for a new math library. Some quick googling shows this is not in the C++ STL or a standard part of NumPy, but it is a standard part of MATLAB and part of Accelerate (maybe better suited as part of an update/rewrite of Accelerate?).

Hi @pashabou -- quaternions are definitely in-scope, this is a reasonable suggestion.
A couple quick notes:

a quaternion implementation should wrap the SIMD4 type from the Standard Library
we'd probably also want to add an explicit 3d vector type, since quaternions are mostly useful as an abstraction for representing rotations and dilations of 3d vector spaces.
there's an interesting discussion about whether or not it's worth having a unit-quaternion type
there's an interesting discussion about whether to talk about quaternions or rotations or both (unit quaternions are a double-cover of rotations, so the two things have different notions of equality).

Hi @pashabou and @stephentyrone,
I just raised a PR with an implementation sketch for Quaternions.
I hope it is okay for both of you that I linked the PR against this issue (altough I did not open it).
While the PR already lists all the implementation details, I would like to mention, that I am really liking the implementation of the Complex type and I tried to align Quaternion as much as I could (I even re-used a lot of the comments - sorry).
As both may have similar use cases, I found it reasonable to align them as closly as possible.
I have stripped most of the functionality from my initial implementation sketch down to simply having a PR with only the Quaternion type, relevant properties and its most  basic arithmetic. It does not define rotations or vector types. I think it will focus the discussion more on the quaternion definition itself and once we have a consent, to iterate upon it. Though, I intent to provide additional functionality (later).

@markuswntr Thanks!
As a heads-up, I'm a little bit swamped for the next few days, but I'll give your PR a quick skim, then provide more detailed feedback sometime next week.

Hi @stephentyrone!
Thanks for the heads-up. There is no hurry.
And thank you very much for the feedback you already provided.


Tag 3.0.2 release in repository

v3.0.2 has been released/uploaded to PyPI, but the repository does not have a tag for 3.0.2
Tag the repository at the respective commit from which the PyPI release was made.

Done; thanks!


Python 3 Compatibility

Allows running in both Python 2 and 3. Requires more testing.

Awesome! This is something thats come up in the past, and I would love to make this happen.
I'll try to take a look sometime soon, but I appreciate you doing this.

Have to run through testing and make sure it's still functional.

+1

Might be good to just move entirely to Python 3.

I found this pull request while updating Ice repository to python 3 using 2to3, using this repository with @RobLoach changes. For now is not working but if I get it I will tell you something.

When you change
match = re.match(ur
for
match = re.match(u
The unit test start failing.


Capitalization updates for consistency

@justinegeffen - Would these capitalization updates make sense given the recent transition from Title Case to Sentence case?


The map is very small.

I have nothing else to say, but can you please fix it? This is on 1.20.4 Fabric. Thanks again.

This is very strange, it works normally for me in Fabric 1.20.4, are you using any other mods with Legacy4J ?

It's caused by ImmediatelyFast. Try add some workaround/mixin to fix. Thanks.

Fixed in 1.3.1 version


Missing LIGHTGROUPS_NONE

Fixes a crash where the light group isn't set to 'LIGHTGROUPS_NONE' in the kernel code when there's no matching AOV and it will try to index with random numbers and crash (oops).

Also I noticed that *_NONE values here, are setup as ~0 that is binary negation. Is LIGHTGROUP_NONE set to 0 intentional, or accidental?  I am wondering since it's diverging from that rule.

Well when it's set to 0 it is considered false in parts of the code eg. https://github.com/tangent-opensource/coreBlackbird/blob/master/src/kernel/kernel_accumulate.h#L333 so it won't try to write a light group out to an AOV that's not defined.


Feature/relative resolver

Fixes #938 .
Changes proposed in this pull request:

Add RelativeResolver class to resolve add operationIds relative to the same module/path without having to specify the same x-swagger-router-controller or x-openapi-router-controller for every operation individually

Coverage decreased (-0.3%) to 96.739% when pulling e69ecbf48ae54586bcb53061adcdbbb94fc0f48e on Ruwann:feature/relative-resolver into 8c49a61156237efc3f0d652ae5614f634f164af3 on zalando:main.


cargo loco generate scaffold doesn't exist

Description
The scaffold command doesn't exist.
To Reproduce
❯ cargo loco new
...
❯ cd example
❯ cargo loco generate --help                                                                              │
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s                                   │
     Running `target/debug/asd-cli generate --help`                                                       │
code generation creates a set of files and code templates based on a predefined set of rules              │
                                                                                │
Usage: asd-cli generate [OPTIONS] <COMMAND>                                                               │
                                                                                │
Commands:                                                                                │
  controller  Generate a new controller with the given controller name, and test file                     │
  task        Generate a Task based on the given name                                                     │
  scheduler   Generate a scheduler jobs configuration template                                            │
  worker      Generate worker                                                                             │
  mailer      Generate mailer                                                                             │
  deployment  Generate a deployment infrastructure                                                        │
  help        Print this message or the help of the given subcommand(s)                                   │
                                                                                │
Options:                                                                                │
  -e, --environment <ENVIRONMENT>  Specify the environment [default: development]                         │
  -h, --help                       Print help                                                             │
  -V, --version                    Print version                                                          │

0.1.0 (dev)

Solution
Don't choose lightweight-service (minimal, only controllers and views) during loco new.


 IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/blob/main/example.justlists.ts
Checklist

[ ] I understand that this is not the place to request a token listing.
[x] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[ ] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL: https://github.com/justswaporg/justlists/issues
JustList Name:
Link to the official homepage of the JustList manager:

Please submit the correct information, invalid information will cause the issue to close


Add TopAppBar control

Documentation:
https://m3.material.io/components/top-app-bar/overview
Desirable properties:

Type (CenterAligned, Small, Medium, Large)
LeadingIcon
TrailingIcon (optional and max 3)
TitleText
TitleTextColor
TitleFontSize

Desirable animation:
When the type is Large or Medium and the user does scroll over the page, the control will move the title to the Small type position.

Released on v1.12.0


Reddit port 443 pitfall reproduction

English Only (except for bug reporting).
To reproduce the problem, you need 3 systems A, B, C and a remote https server D. Theoretically A and B could be the same system, but I was testing with them being different. They also play different roles so I'm separating them here for clarity.
The goal here is to create an udp2raw-obfuscated wireguard tunnel from A to D. A is the client. D is some random website controlled by a 3rd party. B is the udp2raw client. C is the udp2raw server. A and C are also wireguard peers. C has packet forwarding enabled.
There are multiple ethernet adapters and IP addresses of interest, here is a list for clarity:

System
Adapter
IP address
Purpose

A
eth0
IP_A_ETH
A's public-facing address for communicating with B

B
eth0
IP_B_ETH
B's public-facing address for A to connect to

C
eth0
IP_C_ETH
C's public-facing address for B to connect to

A
wg0
IP_A_WG
A's wireguard VPN address for tunneled communication with C

C
wg0
IP_C_WG
C's wireguard VPN address for tunneled communication with A

D
n/a
IP_D
D's public-facing server address which A intends to access through C

D
n/a
DOMAIN_D
D's domain name, <IP_ADDRESS> resolves it to ${IP_D} when queried from C but to a different value when queried from A

Since the IP addresses are sensitive, I won't reveal their values and would refer to them as environment variables.
The list of running services:

On A, wireguard configured with peer ${IP_B_ETH}:${WG_PORT}
On A, ip -4 route add ${IP_D}/32 via ${IP_A_WG} dev wg0 metric 10
On B, ./udp2raw_amd64 -c -l ${IP_B_ETH}:${WG_PORT} -r ${IP_C_ETH}:443 -k ${PASSWD} --raw-mode faketcp -a
On C, ./udp2raw_amd64 -s -l <IP_ADDRESS>:443 -r <IP_ADDRESS>:${WG_PORT} -k ${PASSWD} --raw-mode faketcp -a
On C, wireguard configured with listening port ${WG_PORT} and peer <IP_ADDRESS>
On C, IP forwarding enabled by echo 1 > /proc/sys/net/ipv4/ip_forward

C also has a firewall configured to block all incoming traffic except for TCP 22 / 443, so it's unlikely anything could connect by mistake. The wg0 adapaters on A and C have their MTU set to a conservative value 1000 to avoid size-related packet loss. All 3 systems have IPv6 disabled.
The symptom:
On A, wget https://${DOMAIN_D} fails in the connection stage. But ping ${DOMAIN_D} works and nslookup ${DOMAIN_D} returns ${IP_D}.
The diagnostics:
tcpdump -n -i eth0 src port 443 or dst port 443 on C. Since the actual packet log is sensitive, I'll try to sum up the important part:

src
dst
content

IP_C_ETH
IP_D
TCP SYN

IP_D
IP_C_ETH
TCP SYN-ACK

IP_A_WG
IP_D
TCP SYN-ACK-ACK

IP_A_WG
IP_D
HTTPS handshake

IP_D
IP_C_ETH
TCP SYN-ACK (retransmit)

System C is actually sending out TCP packets with source address set to IP_A_WG, putting the VPN LAN address in its IP header. Here it just breaks the TCP handshake, but a tor configuration could have been leaking A's public address, which would be much worse.
Maybe the solution is to restrict udp2raw to a particular adapter on the server side: it's very unlikely for any packet from wg0 to be intended for udp2raw.

This issue is a continuation of the below reddit thread:
https://www.reddit.com/r/WireGuard/comments/lxddyt/til_udp2raw_tunneling_pitfall/

I do have reproduced the problem.  In my environment A and B is the same machine,  tinyfecVPN is used instead of wireguard.
The problem is not caused by the iptables rule, it's caused by something else. I have done some test by mannually adding the ipables rule:
1.  (udp2raw server) listen on <IP_ADDRESS>  and iptables rule with <IP_ADDRESS>
./udp2raw_amd64 -s -l <IP_ADDRESS>:443 -r <IP_ADDRESS>:${WG_PORT} -k ${PASSWD} --raw-mode faketcp
iptables -I INPUT -d <IP_ADDRESS>/0 -p tcp -m tcp --dport 443 -j udp2rawDwrW_28e59715_C0

this one has the problem
2.  listen on ${IP_C_ETH}  and iptables rule with ${IP_C_ETH}
./udp2raw_amd64 -s -l ${IP_C_ETH}:443 -r <IP_ADDRESS>:${WG_PORT} -k ${PASSWD} --raw-mode faketcp
iptables -I INPUT -d ${IP_C_ETH} -p tcp -m tcp --dport 443 -j udp2rawDwrW_28e59715_C0

this one has no problem
3.  listen on ${IP_C_ETH}   and iptables rule with <IP_ADDRESS>
./udp2raw_amd64 -s -l ${IP_C_ETH}:443 -r <IP_ADDRESS>:${WG_PORT} -k ${PASSWD} --raw-mode faketcp
iptables -I INPUT -d <IP_ADDRESS>/0 -p tcp -m tcp --dport 443 -j udp2rawDwrW_28e59715_C0

this one has no problem
4.  listen on ${<IP_ADDRESS>}  and iptables rule with ${IP_C_ETH}
./udp2raw_amd64 -s -l ${<IP_ADDRESS>}:443 -r <IP_ADDRESS>:${WG_PORT} -k ${PASSWD} --raw-mode faketcp
iptables -I INPUT -d ${IP_C_ETH} -p tcp -m tcp --dport 443 -j udp2rawDwrW_28e59715_C0

this one has the problem
So, according to the test, the iptables rule doesn't matter. What makes a difference is the address udp2raw server is listening on.
The reason is, when you let udp2raw listen on <IP_ADDRESS>, udp2raw doesn't know the IP address of the interfaces on your machine.  In the case 1 &4,  when SYN comes from wg0 with dest ${IP_D}:443, udp2raw doesn't know the destination is another machine, udp2raw server assumes this packet is sending to him, so udp2raw server replied SYN-ACK before the really https server. In this way the TCP handshake is hijacked by udp2raw,  wget has got the wrong sequence number from udp2raw, so it's not able to talk with the real https server anymore.
(when you let udp2raw listen on ${IP_C_ETH},  you told udp2raw the IP address of the interface, then udp2raw is able to know  ${IP_D}:443 is not sending to him. Then there is no problem.)
Solutions
The short-term solution is, as the OP mentioned, when you run udp2raw on a common port (such as 443),  don't let udp2raw listen on <IP_ADDRESS>,  let udp2raw listen on the specific IP instead.
The long-term solution is, I will add codes to let udp2raw automatically get the IP address for every interface (when listening on <IP_ADDRESS>). Then udp2raw will be able to detect whether the packet is send to him, or it's a forwarding packet.

Thanks for the explanation! Learned a lot from it.
Looking forward to the solution.
On Fri, Mar 12, 2021 at 4:48 AM wangyu- @.***> wrote:

I do have reproduced the problem. In my environment A and B is the same
machine, tinyfecVPN is used instead of wireguard.
The problem is not caused by the iptables rule, it's caused by something
else. I have done some test by mannually adding the ipables rule:

(udp2raw server) listen on <IP_ADDRESS> and iptables rule with <IP_ADDRESS>

./udp2raw_amd64 -s -l <IP_ADDRESS>:443 -r <IP_ADDRESS>:${WG_PORT} -k ${PASSWD} --raw-mode faketcp
iptables -I INPUT -d <IP_ADDRESS>/0 -p tcp -m tcp --dport 443 -j udp2rawDwrW_28e59715_C0
this one has the problem
2. listen on ${IP_C_ETH} and iptables rule with ${IP_C_ETH}
./udp2raw_amd64 -s -l ${IP_C_ETH}:443 -r <IP_ADDRESS>:${WG_PORT} -k ${PASSWD} --raw-mode faketcp
iptables -I INPUT -d ${IP_C_ETH} -p tcp -m tcp --dport 443 -j udp2rawDwrW_28e59715_C0
this one has no problem
3. listen on ${IP_C_ETH} and iptables rule with <IP_ADDRESS>
./udp2raw_amd64 -s -l ${IP_C_ETH}:443 -r <IP_ADDRESS>:${WG_PORT} -k ${PASSWD} --raw-mode faketcp
iptables -I INPUT -d <IP_ADDRESS>/0 -p tcp -m tcp --dport 443 -j udp2rawDwrW_28e59715_C0
this one has no problem
4. listen on ${<IP_ADDRESS>} and iptables rule with ${IP_C_ETH}
./udp2raw_amd64 -s -l ${<IP_ADDRESS>}:443 -r <IP_ADDRESS>:${WG_PORT} -k ${PASSWD} --raw-mode faketcp
iptables -I INPUT -d ${IP_C_ETH} -p tcp -m tcp --dport 443 -j udp2rawDwrW_28e59715_C0
this one has the problem
So, according to the test, the iptables rule doesn't matter. What makes a
difference is the address udp2raw server is listening on.
The reason is, when you let udp2raw listen on <IP_ADDRESS>, udp2raw doesn't
know the IP address of the interfaces on your machine. In the case 1 &4,
when SYN comes from wg0 with dest ${IP_D}:443, udp2raw doesn't know the
destination is another machine, udp2raw server assumes this packet is
sending to him, so udp2raw server replied SYN-ACK before the really https
server. In this way the TCP handshake is hijacked by udp2raw, wget has got
the wrong sequence number from udp2raw, so it's not able to talk with the
real https server anymore.
(when you let udp2raw listen on ${IP_C_ETH}, you told udp2raw the IP
address of the interface, then udp2raw is able to know ${IP_D}:443 is not
sending to him. Then there is no problem.)
Solutions
The short-term solution is, as the OP mentioned, when you run udp2raw on a
common port (such as 443), don't let udp2raw listen on <IP_ADDRESS>, let udp2raw
listen on the specific IP instead.
The long-term solution is, I will add codes to let udp2raw automatically
get the IP address for every interface (when listening on <IP_ADDRESS>). Then
udp2raw will be able to detect whether the packet is send to him, or it's a
forwarding packet.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wangyu-/udp2raw-tunnel/issues/389#issuecomment-797038924,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB5MQFYB7WZ7VZX6ZE664J3TDENCNANCNFSM4Y7PKKYQ
.


Destructors in Claimed Chunks

Issue description:
Destructors do not destroy blocks if a chunk is claimed via FTBs claiming system.  But Constructors DO place blocks
What happens:
NoOp while chunk is claimed.  Blocks break when unclaimed.  (Video URL provided below)
What you expected to happen:
Blocks placed in front of a destructor should be broken and pulled into system regardless of chunk ownership.
Steps to reproduce:

Construct minimal RS system with a small amount of storage, built entirely within a single chunk
In the FTB map, claim the chunk as your own.  No need to chunk load
Place down any block (Cobblestone, dirt, etc)
Point the destructor at the block placed
Connect the destructor to the RS system
NOTHING HAPPENS
Unclaim the chunk
Block breaks almost immediately

Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: <IP_ADDRESS>5
Refined Storage: 1.2.12

Does this issue occur on a server? Yes
If a (crash)log is relevant for this issue, link it here:
No crash log.
Video of bug in action
https://youtu.be/iDxP_S5FO3s

enable fake players. you need to do so.

@Pontiac76 Yeah, I don't know the command by hard but there is a way to allow fake players (like the destructor) to place/break blocks in your claimed chunks.

That command seems to have worked.  Putting that on my wiki so I know what to do next time I rebuild of the world.
I would have figured that placing and breaking would have been an equal standing.  My boys couldn't do anything in any of my chunks until I became allies with them.  When I first ran into the issue with blocks not breaking, then seeing them being placed, I wasn't sure where to put the blame, be it on FTB or RS.

This is on the wiki, guys:
https://refinedstorage.raoulvdberge.com/wiki/constructor
https://refinedstorage.raoulvdberge.com/wiki/destructor

Thanks, but as my video shows, constructor and destructor should have been denied placing blocks.  But the constructor placed without issue while the chunk was owned by me.  Hence the confusion.


PyZmq with PGM on Ubuntu

Neither Ubuntu's python3-zmq nor PyPi's pyzmq seem to be built with the --with-pgm option, giving zmq.error.ZMQError: Protocol not supported on instantiating a PGM socket.
The suggested approach is to build everything from source. So I Installed OpenPGM from Ubuntu package, and installed libzmq-4.2.2 with ./configure --with-pgm --prefix SOMEPATH followed by a make install. After several tries, this seemed to work.
Next I downloaded pyzmq-14.7.0 and ran python3 setup.py build --zmq=SOMEPATH.
Even though I downloaded a release, it asked for Cygwin, which I pip install'd, only to be confronted by zmq/backend/cython/context.pyx:119:24: 'underlying' is not a constant, variable  or function identifier.
I googled around, and it seems this line was removed, so I did the same.
This caused PyZmq to build, so I finished it off with a python3 setup.py install.
However, now when I import zmq I get super weird errors:
Traceback (most recent call last):
  File "server.py", line 1, in <module>
    import zmq
  File "/home/pepijn/code/netsys/finproj/env/lib/python3.5/site-packages/zmq/__init__.py", line 36, in <module>
    from zmq import sugar
  File "/home/pepijn/code/netsys/finproj/env/lib/python3.5/site-packages/zmq/sugar/__init__.py", line 7, in <module>
    from zmq.sugar import (
  File "/home/pepijn/code/netsys/finproj/env/lib/python3.5/site-packages/zmq/sugar/constants.py", line 31, in <module>
    DRAFT_API = constants.DRAFT_API
AttributeError: module 'zmq.backend.cython.constants' has no attribute 'DRAFT_API'

And all I wanted is a PGM socket...

Good job... the "releases" tab has a version from 2015. With an actual recent version, it seems to work. Please fix your release page.


HDDS-6521. Refactor ListBlock handler

What changes were proposed in this pull request?
Refactor ListBlock handler, cleanup code and use startLocalID = 0 to indicate beginning.
  /**
   * List blocks in a container.
   *
   * @param container - Container from which blocks need to be listed.
   * @param startLocalID  - Key to start from, 0 to begin.
   * @param count    - Number of blocks to return.
   * @return List of Blocks that match the criteria.
   */

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6521
How was this patch tested?
CI

Can you provide more context for the motivation for the refactor?

Can you provide more context for the motivation for the refactor?

This check looks confusing. And startLocalID == -1 differs from the javadoc.
    Preconditions.checkState(startLocalID >= 0 || startLocalID == -1,
        "startLocal ID cannot be negative");

Seems we shouldn't use 0 to indicate start, closing this PR.


Automated testing and local dev

Fixes #62. Several frustrating hours later, this is finally done.
Automated tests are run on the following platforms;

Chrome latest and previous
Firefox latest and previous
IE9, 10, 11
Opera latest and previous
Safari latest and previous
Node JS 10

You can see the result of a Travis CI build on my own branch here, along with the output of each test from BrowserStack. README has also been updated with local dev instructions to make contributions easier.
I have done a fresh clone and test of the branch before submitting the PR to ensure it is working correctly. As mentioned in #62, I'll need 10 minutes of your time to transfer account ownership of the services etc. Github integration will have to be added by yourself too.
Any problems, let me know.

Thanks for the effort, but at the moment i'm perfectly fine with the current situation. Having all this overhead seems a bit like overkill for such a small library.


feat: [Week-9] Translation HTML Builder

Title of Pull Request
Translation HTML Builder
🤔 This is a ...

[ ] 🌟 New task
[ ] 🌐 New module
[x] ⚙ Update to an existing task
[ ] 🔧 Update to an existing module
[ ] 🔗 Update or addition of external resources or links
[ ] 🐛 Fix in a task or related content
[ ] 🛠 Fix in a module or related content
[ ] ✏ Fixed a typo or grammatical error
[ ] 🔗 Fixed a broken link
[ ] ❓ Other (specify: ****____****)

Description

[x] Prettier enabled
[x] 01-read-file task translated
[x] 02-write-file task translated
[x] 03-files-in-folder task translated
[x] 04-copy-directory task translated
[x] 05-merge-styles task translated
[x] 06-build-page task translated
[x] README.md translated
[x] links in 01-read-file revised and updated
[x] links in 02-write-file revised and updated
[x] links in 03-files-in-folder revised and updated
[x] links in 04-copy-directory revised and updated
[x] repo wiki translated

Additional Information

Board task

Checklist

[x] ✅ I have performed a self-review of my own code.
[ ] 📝 I have commented my code, particularly in hard-to-understand areas.
[ ] 🔧 I have made corresponding changes to the documentation (if applicable).
[x] 🚫 My changes generate no new warnings or errors.

@KristiBo thank you for your review, I've fixed the bracket chaos and added the proposed rules for Prettier  🙌


Add better styling to email notifications

if only I had some style / design skills!

Closed (for now, possible enhancements still in future), in next release.


[Autocomplete] Ability to add an Add button with multiple + freeSolo

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡
I would like to either

optionally include an Add or + button when multiple & freeSolo are enabled
or be able to trigger onChange & clear the input from a separate button

On a separate note, it'd be nice to optionally being able to show the up/down chevron when freeSolo is on.
Examples 🌈
I'm replacing existing autocomplete components in our app that use outdated technology

Motivation 🔦
We have users who do not understand that you can add multiple values into an <Autocomplete> by hitting enter
When entering a value not in the list of options, there's no indication that this an input that allows you to enter multiple values, as the dropdown is closed.

I was able to get this partially to work.

I can use onChange on the TextInput to get the current input value
I can call onChange on a prop with the value added (e.g. props.onChange(props.value.concat(inputValue))

However then I'm not able to clear the input value.
I might be missing something obvious that's already in place.
Thank you, love what you're doing

Would this proposal fix the issue? https://github.com/mui-org/material-ui/issues/18113#issuecomment-549358852

@andreasheim Random question, is this deployed in moz.com? We have a paid subscription to ahrefs.com, but maybe there is a chance we can get a free moz.com account and transition? 😁

@oliviertassinari Yes, that proposal would enable me to create the functionality I'm seeking.
Also yes, I'm working on using this in moz.com. I forwarded your ask.

@andreasheim Awesome, let's make the input value controllable then :) (thanks for forwarding).

Wouldn't it be so much better to use the "noOptionsText"?
Adding a Add there shows a stylable add-button when there are no options.
The only issue is that the noOptionsText closes when the button is clicked. A "keep open" prop would be awesome.


When a call to EditorFileSystem::scan() fails, queue another one

Resources imported using a custom EditorImportPlugin (with a new extension I mean) would not appear in the filesystem dock until something caused a FileSystem update. This was due to EditorPlugin::add_import_plugin() asking for a scan using EditorFileSystem::call_deferred("scan") which was automatically discarded as another scan is already running at startup.
This PR makes it so any call to EditorFileSystem::scan() which failed is rescheduled as soon as possible.  I simply duplicated the logic we use for the scan_changes() function.
Note: I could not find an issue associated with this bug.

Is this the cause of the bug when you delete the .godot folder it does not rescan on Fedora 34 Linux and Windows 11?

Is this the cause of the bug when you delete the .godot folder it does not rescan on Fedora 34 Linux and Windows 11?

Maybe, I don't know.

Similar to #54936 which I closed because it didn't solve the problem I originally made it to solve.

See issue #54864 for one of the related problems when calling scan() during an existing scan or import.
I think the fix proposed here is reasonable, since it's similar to a fix I proposed. I was concerned it doesn't solve 100% of possible edge cases.
For example, this is a case I could be concerned about:
scan() -> EditorProgress -> Main::iteration() -> GDScript -> add plugin -> scan()

See also #73214 and #73159.

Cross posting some of my comments from reduz' merged PR #73214 because I think it's relevant.

In addition to this change, in https://github.com/godotengine/godot/pull/54936 I also proposed disallowing update_script_classes, and additionally delaying calls to update_file to occur after the scan() completes.

Rerunning commands after NOTIFICATION_PROCESS may address some of the jank that persists in my MRP for #54864 (the issue is closed because it no longer crashes, but the MRP is still a bit buggy and some imports randomly fail due to update_file and scan calls getting dropped in some cases.)

Basically that MRP no longer crashes, but it seems to have to spam calls to update_file and scan presumably because they are sometimes getting lost due to another scan being in progress. If we merge this PR, we can test my edit to that issue's MRP and see if I can remove that if randf() < 0.7: EditorFileSystem.scan() hack from it.


Export/Import oauth apps

Think of the strategy to move oauth apps (user migrator). Could be tricky.

We need to think of this now. Additionally:

Migrate OauthAppUser roles
Migrate GRANTS for OAuth API Keys (we are only migrating regular ones)

Consider migrating all API Key roles and avoiding the ones created with the user???

Already done 👋


Incomplete termination of client

Describe the bug
Client does not terminate but window closes still shown in task manager
To Reproduce
Happens approx. every 10th time
Expected behavior
Client process closes
Screenshots
Responsible is the following thread
java.lang.Thread.State: WAITING (parking)
        at<EMAIL_ADDRESS>Method)
        - parking to wait for  <0x00000000e2e9db58> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at<EMAIL_ADDRESS>Source)
        at<EMAIL_ADDRESS>Source)
        at<EMAIL_ADDRESS>Source)
        at<EMAIL_ADDRESS>Source)
        at<EMAIL_ADDRESS>Source)
        at com.faforever.client.map.MapService.lambda$startDirectoryWatcher$7(MapService.java:172)
        at com.faforever.client.map.MapService$$Lambda$618/1056276267.run(Unknown Source)
        at com.github.nocatch.NoCatch.noCatch(NoCatch.java:49)
        at com.github.nocatch.NoCatch.noCatch(NoCatch.java:34)
        at com.faforever.client.map.MapService.lambda$startDirectoryWatcher$8(MapService.java:166)
        at com.faforever.client.map.MapService$$Lambda$617/1691552520.run(Unknown Source)
        at<EMAIL_ADDRESS>Source)

OS
Windows
Wanna have the bug fixed quickly?
Visit Issue hunt...

In theory the thread should be interrupted from what i read in the code. But it looks like that is not always the case in some edge case, instead of investigating this further and potentially using a lot of time i suggest just make the thread a daemon thread.... There is no reason the client termination should wait for the given file watcher!


Problem installing with Python 3.4

i'm trying to install with pip in Ubuntu (Trusty 64) with Python 3.4.3, but the installation fails because of PDF Miner:
Downloading/unpacking pdfminer==20140328 (from textract)
  Downloading pdfminer-20140328.tar.gz (4.1MB): 4.1MB downloaded
  Running setup.py (path:/tmp/pip_build_root/pdfminer/setup.py) egg_info for package pdfminer
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip_build_root/pdfminer/setup.py", line 3, in <module>
        from pdfminer import __version__
      File "/tmp/pip_build_root/pdfminer/pdfminer/__init__.py", line 5
        print __version__
                        ^
    SyntaxError: Missing parentheses in call to 'print'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip_build_root/pdfminer/setup.py", line 3, in <module>

    from pdfminer import __version__

  File "/tmp/pip_build_root/pdfminer/pdfminer/__init__.py", line 5

    print __version__

                    ^

This blog entry suggests some workarounds - mainly, editing and exception line and installing pdfminer3k, instead of version 20140328, but that would make automated installs cumbersome.
Are there any other suggestions, or plans to update this in a newer release?

Also having this issue. It makes it very difficult to install textract in pip-dependent environments like Heroku, even with the workarounds.

Alternately, could we patch to PDFMiner.six, which should be compatible with all pythons?

Also having this issue

(See pull 116, which is currently dying during the CI but tries to address this.)

@ pmlandwehr ,
Thank you for referencing that PR.
I just attempted to install from the py3 branch (using sudo pip3 install git+https://github.com/jaraco/textract.git@py3), but it won't compile on my system.

Hi!
Refs: https://github.com/deanmalmgren/textract/issues/102 and https://github.com/aerkalov/ebooklib/issues/104
If that can help, I've a working install steps on Linux using python 3.5:
apt update
apt dist-upgrade
apt install python3-pip python3-dev libxml2-dev libxslt1-dev antiword unrtf poppler-utils pstotext tesseract-ocr flac ffmpeg lame libmad0 libsox-fmt-mp3 sox
apt install zlib1g-dev
apt install git
pip3 install git+https://github.com/aerkalov/ebooklib.git
pip3 install git+https://github.com/jaraco/textract.git@py3

I am facing the same issue. Any suggestion?

I am all ears on this one as well.

I'm delighted to call this issue closed, thanks to the hard work in #104, an excellent contribution in #116, and some final tweaks to get tests to pass in #126. textract 1.5.0 will be released later today which should hopefully resolve this issue going forward.
Please reopen if there was something else causing an issue here.

Thank you so much Dean.
I'm going to run this in a few minutes and see how it goes.


MeiliSearch Tasks Parity

Closes #363
Closes #366
Closes #368
Closes #254
User/Client Facing

Introduces Cancel Tasks API
Introduces Delete Tasks API
Provides compiler-safe access to task types

Utilising a future-proof solution avoiding errors should new task types be added without Swift support

Provides compiler-safe access to task result details

Utilising a future-proof solution avoiding errors should new details be added without Swift support

Grouped task related models into own directory
Uses Date objects instead of String for dates within task models
Added missing fields to existing task models
Fixed error caused by global tasks
Uses compiler-safe types in task query to improve safety
Adds total to task results response (replacing https://github.com/meilisearch/meilisearch-swift/pull/412)
Removed all instances of try! (force try) to prevent crashes in test runner

Breaking Changes
⚠  This is a breaking change. Even with something as simple as moving to a enum for TaskType requires changes to clients. This PR looks to bring all task changes together meaning that clients can upgrade to this new and safe API design in one go.

Task.Status has a new value .canceled (handle in any switch cases)
TaskType replaces a previous String based API (use .description to access String)
TasksQuery uses compiled types instead of String APIs (example: "indexUpdate" is now .indexUpdate)
enqueuedAt now uses Date instead of ISO-8601 String

Parity
Reviewing documentation available on MeiliSearch's website, this PR brings the Tasks API up to 100% parity with existing features. It resolves many errors caused by the previous design (both architecturally but also instability in the current release), and provides future-proofness against further scope within the tasks API.
Personal
As I am developing my own Swift based application for monitoring MeiliSearch (and it's tasks), this branch has been extremely helpful for me in exploring jobs and being able to cancel them and performing my own housekeeping.
The type safety has been delightful and actually detected a bug in my original implementation which had a typo in a task name.

bors try


Timout On Activation

Describe the bug
Happens occasionally.
Error: waiting for selector `#new_conversations_create_session_form #conversations_create_session_form_password` failed: timeout 2000ms exceeded

fixed by https://github.com/mob-sakai/unity-activate/pull/12

🎉 This issue has been resolved in version 1.4.0 🎉


Allow navigation inside MEHDIE through match links

For example:

Here in the left side under Links-> added appears a place from Yaqut dataset. Pressing on this link should lead to the corresponding place page on the Yaqut dataset in a new tab:

Done. Good work!


🚀 Feature: Backend client for Scaffolder

🔖 Feature description
A Scaffolder backend client, similar to catalog-client, that can be imported and used on the backend.
🎤 Context
We're looking to trigger (and possibly expose via APIs) scaffolding jobs on the backend, and would like to be able to do that using a Scaffolder backend client. Another useful purpose for this is being able to trigger automated tests to test software template changes.
✌ Possible Implementation
This can possibly be approached in a way similar to catalog-client and start by creating an OpenAPI spec for Scaffolder APIs.
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Hey :wave: thanks for this!
Yep I think that this would be a good idea, wondering if we should also take some steps to move the scaffolder API into Open API at some point to which could make generating the client for both Backstage and other uses easier @aramissennyeydd :eyes:
This would would also be pretty interesting for a Scaffolder CLI which has also been thrown around, in order to trigger dry-runs of templates from a Template Authors machine without Backstage and the Scaffolder running locally.

I think this is a great candidate for an OpenAPI client, @solimant do you want to take a stab at writing the spec? Happy to give any tips.

@aramissennyeydd - thank you! Yes, I'd be open to giving it a try 👍🏼

Hey @solimant :wave:
Did you manage to make any progress with this :pray:

Hey @benjdlambert, apologies for the delayed response. I haven't made much progress on this yet. It's still on my radar though, and I was planning to attend to it. Can I share an update again a little later this week?

@solimant ofcourse! No stress! :pray:

Still working on this.

This is in progress, and I'm currently putting the openapi.yaml file together. Will open a draft PR shortly.

About half-way through with the APIs.

@benjdlambert, @aramissennyeydd - I'd like to sincerely apologize for the huge delay in following up on this, but I've managed to put together something as a start in #27771.
Please have a look and let me know in the PR how you'd like to proceed. Thank you very much 🙏🏼


finish buttons for toolbar

finishes #149
added record button, need to make image widget toolbar

what about this for flip: https://fontawesome.com/icons/arrows-up-down?f=sharp&s=light

got rid of redundant code, iw.show() method might need some work but everything is functional


Add EndpointAPI.wait_until_connected_to

builds on #85

What was wrong?
Needed a non-polling mechanism to wait for a connection.
How was it fixed?
Additive changes to our connections are now guarded with an asyncio.Condition.  This allows implementation of wait_until_connected_to in a non-polling manner.  After the initial connection check, the API waits for an update to the connection before checking again.
Cute Animal Picture

I've got some PR stacking going on here.  This contains the diff from 3 PRs, only latest commit is relevant.

Don't know whether you intentionally didn't use this, but if you push the first two commits to this repo under a branch you can then set the base branch of this PR so that the diff only shows the last commit. Just have to remember to set the base back to master once the preceding PRs have been merged!

@lithp since this stretches across forks, that results in the PR being only open in my fork which lacks visibility.  Maybe I should just open these as drafts so that there's less confusion and they can be reviewed sequentially as they get merged and rebased.

@lithp I had to make some structural changes to fix a race condition where subscription updates could end up not transmitting if they occured at a specific timing during the connection.  Would like one more pass if you will.

I've been futzing with this code for days so it's a bit muddled in my head but one thing that makes me prefer this approach is that it I'd "correct" in the sense that it properly maintains the necessary resource locks. The alternative one of double sending is likely also adequate in fixing the bug but it does so through some insurrection which I think means more mental overhead since it's no longer trivial to do things like grep the code for all of the places the resource is modified by looking for the places it gets locked.
Sent from ProtonMail mobile
-------- Original Message --------
On May 28, 2019, 6:49 PM, Brian Cloutier wrote:

@lithp commented on this pull request.

In lahja/asyncio/endpoint.py:

     self._server_tasks.add(task)

   # the Endpoint on the other end blocks until it receives this message

   await remote.notify_subscriptions_updated(self.subscribed_events)

   await remote.wait_started()

   # we **must** ensure that the subscription updates are locked between

   # the time that we manually update this individual connection and that

   # we place it within the set of tracked connections, otherwise, a

   # subscription update from elsewhere can occur between the time these

   # two statements execute resulting in the remote missing a new

   # subscription update.  Note that inverting these statements should

   # also mitigate this, but it has the downside of the manual update

   # potentially being redundant.

   async with self._subscription_updates_condition:

       await remote.notify_subscriptions_updated(self.subscribed_events)

       await self._add_half_connection(remote)

Ahh, okay, I see the problem now, _add_half_connection blocks when it tries to acquire connections_changed so there's a period in time where the remote isn't receiving subscription updates. Double-sending the same set of subscriptions has a very small cost though! And I think that trying not to send it introduced greater inefficiencies elsewhere, serializing all updates isn't cheap!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@lithp lets do a call later today when we're both online and see if we can find something that works for both of us.

We need something that can work from synchronous methods as both Subscription.remove and EndpointAPI.subscribe_nowait need to be able to trigger subscription updates.
I don't like using asyncio.ensure_future(...) as the mechanism for handling the synchronous context problem.
I am pretty sure that a Condition based approach is justified as I've spent some serious time debugging race conditions over the last week around subscriptions not being properly updated and while I know we can achieve working code without the locks, I'm not excited about such solutions.

replaced by #110 and #108


Add ingestion of Kubernetes Events stream by default

https://community.influxdata.com/t/ingest-kubernetes-logs-and-alert-based-off-them-in-kapacitor/1072

Sounds interesting, but it is obsolete. The requirement could be updated, @jackzampolin ?


Improve minting

Description
So the first problem is that it seems that for some of the attendees the minting button was not clear enough. They could not figure out that the button there mints tokens.
The second problem I can see is that currently minting is only tied to channel opening. But what if I want to mint tokens and deposit to an already open channel.
Acceptance criteria

Tasks

[ ]

@sashseurat has also mentioned that the minting button isn't very clear


[PE-D][Tester B] Filtering does not work.

filtercust did nothing to the list. It would be good to recheck all the functionalities of your features again.

Labels: severity.High type.FunctionalityBug
original: itssisi/ped#8

This issue is linked with #140, #156, and #157.
Thank you for pointing that out! I will be working on that.


Identify the first update when entering the aircraft

Some panels may want to know when the player is entering a new aircraft, for example to send the state of (some of) their physical switches to DCS so the virtual cockpit gets synchronized to the physical one.
In multiplayer, this is already possible by watching the _ACFT_NAME string change from "NONE" to something else. In singleplayer mode, there is currently no easy way to do it because the very first update is already sent with the player sitting in the cockpit.
Solving this problem has two parts:

We need a mechanism to signal the event to the panel (see #19)
We need to reliably detect the "entering a new plane" event in singleplayer mode (what happens if you switch to another aircraft of the same type?)
We need to reliably detect the "entering a new plane" event in multiplayer (possibly use the same logic we come up with for SP, otherwise verify that there is no edge case where the _ACFT_NAME does not temporarily switch to "NONE" (more precisely: LoGetSelfData() returns nil) when switching aircraft.

Hate to necro but did anything ever come of this?


Deprecate Wallaby

This PR deprecates Wallaby.js. We'd like to extend our warm thanks to @ArtemGovorov for providing us with license all these years.

@JimiC Thanks for tagging me! Is there any specific reason Wallaby is being deprecated?

@ArtemGovorov The project is almost feature complete. Maintenance is at a minimum, mostly new icons added and depends updating. We haven't used the tool for some time now as the code is covered 100%.

@JimiC Got it, thanks, it makes sense.


Swiper Don't Work in Modal at Android

if I press Android HardwareHomeKey let the app back Backstage  then open my app, swiper lost sliding effect。
My code：
'use strict';
import React, {
Component
} from 'react';
import {
View,
Text,
Dimensions,
Image,
TouchableOpacity,
Modal,
StyleSheet,
} from 'react-native';
const {
width,
height
} = Dimensions.get('window');
const imageSource = [
require('../images/guide_page1.png'),
require('../images/guide_page2.png'),
require('../images/guide_page3.png'),
require('../images/guide_page4.png'),
];
import { RatiocalWidth, RatiocalHeight, RatiocalFontSize } from '../style';
import { toastShort } from './ToastUtil';
import Swiper from 'react-native-swiper';
export default class WelcomePage extends Component {
constructor(props) {
super(props);
this.state = {
isShowCircleDot: true,
}
this._renderImg = this._renderImg.bind(this);
}
_renderImg() {
    const { _click } = this.props
    let imageSource = [
        require('../images/guide_page1.png'),
        require('../images/guide_page2.png'),
        require('../images/guide_page3.png'),
        require('../images/guide_page4.png'),
    ];
    var imageViews = [];
    for (var i = 0; i < imageSource.length; i++) {
        if (i == imageSource.length - 1) {
            imageViews.push(
                <Image
                    key={i}
                    style={styles.swiperImage}
                    source={imageSource[i]} >
                    <TouchableOpacity style={styles.btnEsperience} onPress={() => _click()} >
                        <Text style={styles.btnText}>
                            马上体验
                        </Text>
                    </TouchableOpacity>
                </Image>
            );
        }
        else {
            imageViews.push(
                <Image
                    key={i}
                    style={styles.swiperImage}
                    source={imageSource[i]}
                    />
            );
        }
    }
    return imageViews
}

_renderImage(val, i) {
    const { _click } = this.props
    return (
        <View key={i} style={{ flex: 1, flexDirection: 'column' }}>
            <Image
                style={styles.swiperImage}
                source={imageSource[i]} >
                {
                    i === imageSource.length - 1 ?
                        <TouchableOpacity style={styles.btnEsperience} onPress={() => _click()} >
                            <Text style={styles.btnText}>
                                马上体验
                        </Text>
                        </TouchableOpacity>
                        :
                        null
                }
            </Image>
        </View>
    );

}

_onMomentumScrollEnd(e, state, context) {
    if (state.index == 3) {
        this.setState({
            isShowCircleDot: false,
        })
    }else {
        this.setState({
            isShowCircleDot: true,
        })
    }
}

render() {
    const { visible } = this.props
    return (
        <Modal
            animationType={'fade'}
            visible={visible}
            transparent
            onRequestClose={(state) => { } } >
            <View style={styles.backgroudView}>
                <Swiper
                    loop={false}
                    autoplay={false}
                    showsButtons={false}
                    showsPagination={false}
                    width={width}
                    height={height}
                    index={0}
                    onMomentumScrollEnd={(e, state, context) => this._onMomentumScrollEnd(e, state, context)}>
                    {
                        imageSource.map((val, i) => this._renderImage(val, i))
                    }
                </Swiper>
            </View>
        </Modal >
    );
}

}
const styles = StyleSheet.create({
backgroudView: {
flexGrow: 1,
backgroundColor: '#ffffff',
},
swiperImage: {
width: width,
height: height,
/**
*  contain 根据图片本身的宽高比
* 	cover,
* 	stretch
*/
resizeMode: Image.resizeMode.stretch,
justifyContent: 'flex-end',
},
btnEsperience: {
marginBottom: RatiocalHeight(160),
width: width / 2,
height: RatiocalHeight(100),
borderColor: '#1D9FF9',
borderRadius: 7,
borderWidth: 1,
alignSelf: 'center',
alignItems: 'center',
justifyContent: 'center',
},
btnText: {
fontSize: RatiocalFontSize(36),
textAlign: 'center',
color: '#1D9FF9',
},
});

I had the same problem, and do:
1.Set a state param like this.state = { loadSwiper = false }
2.When componentDidMount, put this.setState({loadSwiper = true})
3.At the render method, {loadSwiper? <Swiper ...> : null}
In summary, you just re-render the  after componentDidMount

@WhiteClouds2009 works for me, thanks

you can call Swiper after Modal is shown

I had to add a delay to get mine to work, but yes @WhiteClouds2009 it works!
  constructor(props) {
    super(props);
    this.state = {
      showSwiper: false
    };
  }

  componentDidMount() {
    // Must use this 100-ms delayed swiper workaround to render on Android properly
    setTimeout(() => {
      this.setState({showSwiper: true});
    }, 100);
  }

  render() {
    var exampleSwiper = (
      <Swiper
        activeDotColor={'white'}
        loop={false}
      >
        <View style={{width: 100, height: 100, backgroundColor: 'white'}} />
        <View style={{width: 100, height: 100, backgroundColor: 'white'}} />
        <View style={{width: 100, height: 100, backgroundColor: 'white'}} />
      </Swiper>
    );
    return (
      <Modal
        presentationStyle={'overFullScreen'}
      >
        {this.state.showSwiper ? exampleSwiper : null}
      </Modal>
    );
  }

Even with this workaround, the issue is still happening. Even tried large delay like 2 seconds.
Does this still have no solution?

+1
someone please have a look at this

+1

I have this problem when changing the underlying data and popping back to a screen (using react-native-navigator) which contains the Swiper. On the first load if works as expected, but later it doesn't.

Does anyone happen to know what is then root cause , so we can figure out a solution other than workarounds for this problem ?

I think I may have solved this particular problem. I stared with the above 'setTimeOut' solution, then saw that Modal has an event called onShow that is called when the modal has finished it's animation, as such the following seems to work or me:
setSwiperVisible(visible){
    this.setState({showSwiper: visible});
  }
render(){
  return(
  <Modal
    visible={this.state.modalVisible}
    onShow={() => {
      this.setSwiperVisible(true)
    }}
  >
    {this.state.showSwiper &&
      <Swiper>
          ...
      </Swiper>
    }
  </Modal>
  )
}

Now there's no dependence on timers being right! Let me know if it works for you to.

As suggested by @alangumer, this PR solved the problem for me: #761

Hi, is there any update regarding this issue?
Is there any idea why it needs some time delay to show the swiper again? I mean, is it like the rendering part that took so slow or anything else?

any updates on this issue?


ochttp Handler and Transport StartOptions support

Users might need to configure the StartOptions used to create spans
by the instrumentation.

@rakyll I don't get that? If we had functional options, we could just as easily have added a func WithStartOptions(startOptions []StartOption) ochttp.Option.  Sure, it's a little more boilerplate for the ochttp library, but not really any more public surface area.

If we had functional options, we could just as easily have added a func WithStartOptions(startOptions []StartOption) ochttp.Option

That's what we are not advocating because it adds duplicated code and exposes different API surface to the end user.


OCPBUGS-8301: Use correct CAs in kubeconfig files

Which issue(s) this PR addresses:

Closes #

/jira refresh

/lgtm

/cherry-pick release-4.13


MNT: rerender

Hi! This is the friendly automated conda-forge-webservice.
I've rerendered the recipe as instructed in #40.
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

Fixes #40

@conda-forge-admin rerender


New channel #monero-hardware missing from page footers

Please add #monero-hardware to the page footers, where other channels are found like #monero-community and #monero-translations. Thanks!

Are you sure it's necessary to be in the footer and not just the
community/hangouts page?
On 10/11/17 19:47, michaesc wrote:

Please add #monero-hardware to the page footers, where other channels
are found like #monero-community and #monero-translations. Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/monero-project/monero-site/issues/474, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcREKnK7cedUZXSggc7C8x52xic9UdVXks5s1Kg7gaJpZM4QaBgg.

Actually, I'm not sure why the IRC channels in the footer are different
to the ones on the hangouts page. I must've missed that.
On 10/11/17 19:47, michaesc wrote:

Please add #monero-hardware to the page footers, where other channels
are found like #monero-community and #monero-translations. Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/monero-project/monero-site/issues/474, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcREKnK7cedUZXSggc7C8x52xic9UdVXks5s1Kg7gaJpZM4QaBgg.


xformer attention does not work

Describe the bug
I compiled the xformer using pip install git+https://github.com/facebookresearch/xformers@1d31a3a#egg=xformers
However, I have not seen any improvement with memory (did not check the speed). It is stated that xformer + gradient checkpointing give 16GB training but I only got ~19-20GB.
How can I check if xformer is enabled? (I received message about xformer not enabled before building it, but message disappeared afterwards). And what is actual improvement it gives?
Reproduction
No response
Logs
No response
System Info

diffusers version: 0.7.0.dev0
Platform: Linux-5.4.0-126-generic-x86_64-with-glibc2.17
Python version: 3.8.10
PyTorch version (GPU?): 1.12.0+cu113 (True)
Huggingface_hub version: 0.10.1
Transformers version: 4.23.1
Using GPU in script?: 3090
Using distributed or parallel set-up in script?: NO

How did u install diffusers ?


Constraints should be able to be applied at aggregate levels

e.g.
provider.evaluate('user', measures='count', where='transaction/count > 100')

Currently, transaction/count is applied at the transaction level, leaving us with no results as transaction/count has value 1 at the transaction level.
Instead we need a mechanism for enforcing constraints at the unit level to answer questions like ... "how many users are there with more than 100 transactions"

Perhaps add a "having" clause with the same constraint data structures


doc(lifecycle): Create before delete

Description of Changes
Added documentation and examples of the lifecycle option "create_before_delete", which resolves an order of operations issue when removing a resource (such as a destination) from a config and deleting it in the same operation. We need Terraform to update the configuration before deleting the resource.
Please check that the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] CI passes

@shazlehu 👀


Create rule

Currently, tables created with medium editor doesnt convert to working markdown tables, its just putting spaces everywhere in the markdown instead of using pipes and dashes
Thats is because there is no rule defined in me-markdown.standalone.min.js to handle tables.
I would like to know how I can create a rule to achieve this WYSIWYG to markdown conversion
I already tried @jerrywham solution from issue #31 but it's definetly not working properly.

My solution is for me-mardown.standalone.js, not for min version which is minified from me-mardown.standalone.js without my code.

My solution is for me-mardown.standalone.js, not for min version which is minified from me-mardown.standalone.js without my code.

The problem is exactly the same with me-markdown.standalone.js
This javascript isn't made to handle medium editor tables
-> in me-markdown.standalone.js, there is no mention of "table", "td" , "tr" or pipes


Error executing tensorflow resnet50

I'm trying to executed this benchmark: https://github.com/mlcommons/inference_results_v1.0/tree/master/closed/Intel/code/resnet50/tensorflow but when running it I have an error like:
2022-02-01 02:43:47.633895: E tensorflow/core/grappler/optimizers/meta_optimizer.cc:581] model_pruner failed: Invalid argument: Graph does not contain terminal node ArgMax.
2022-02-01 02:43:47.634168: E tensorflow/core/grappler/optimizers/meta_optimizer.cc:581] model_pruner failed: Invalid argument: Graph does not contain terminal node ArgMax.
2022-02-01 02:43:47.652754: E tensorflow/core/grappler/optimizers/meta_optimizer.cc:581] model_pruner failed: Invalid argument: Graph does not contain terminal node ArgMax.
Running inference failedInvalid argument: Tensor ArgMax:0, specified in either feed_devices or fetch_devices was not found in the GraphRunning inference failed

I thought it is something related with the calibration process since the process was looking for a "conf.yaml" (https://github.com/mlcommons/inference_results_v1.0/blob/master/closed/Intel/calibration/TensorFlow/mlperf.patch#L148) which is not specified, so I looked a bit in the calibration tool repo and found a possible example which I used: https://github.com/intel/neural-compressor/blob/mlperf_v0.7/examples/tensorflow/image_recognition/resnet50_v1_5.yaml
The configuration is using ArgMax:0 as output node (https://github.com/mlcommons/inference_results_v1.0/blob/master/closed/Intel/code/resnet50/tensorflow/backend/net_config.h#L64) but it seems it doesn't find it in the model.
Does anyone have an idea what the error can be?

The patch file changed from version v0.7 to v1.0. The error I was getting was in the old version. In this one the "conf.yaml" file is actually generated as part of the patch code. So this issue can be closed (but maybe makes sense to update the v0.7 to fix the issue you have there).


What is wrong with this library? Did you update the source wrong?

The source is behaving COMPLETELY different from what you have in the demo at Demo
I cloned downloaded the repo and ran the index file and changed index.html ["Redesign website", [-63, 7]] so that December would show up on the chart. And this is what I get Link.
Next, I added gantt_chart.change_view_mode('Week') at the end of the script and this is what the result looked like this Link. Furthermore, once the view_mode is changed you can no longer drag the elements.
I don't understand how the demo works perfectly and what you have here is completely messed up.

@Raptor2277 It's working fine for me after downloading the Demo and running it in chrome on macos.

+1... seeing the same behavior when using change_view_mode. Also, the custom html in the popup isn't working for me either (someone else mentioned this earlier, but no reply)

@Raptor2277 i made a fix for the change_view_mode bug in case you still need it, it is in #75 .

@Raptor2277 Version 0.1.0 was a major refactor, now this library is not dependent on Moment or Snap. But it was supposed to keep the API backward compatible. The demo website still uses the old version, so the new version is having some bugs as you pointed out. Have fixed the drag issue you mentioned. Will fix the Month name issue. Thanks for reporting.

@Raptor2277 I hope the issues to mentioned were resolved in the latest version, closing.

The version at Demo works fine in Firefox, while recent version here has multiple problems. Is project still active?


Example fails: type object 'NamedObject' has no attribute '_elaborate_stack'

I'm trying the example from this lecture.
Code from Figure 8 and Figure 9 there.
The code fails:
$ ./sim.py
Traceback (most recent call last):
  File "./sim.py", line 8, in <module>
    from RegIncr import RegIncr
  File "/disk-samsung/freebsd-ports/cad/py-pymtl/RegIncr.py", line 35, in <module>
    def block2():
  File "/usr/local/lib/python3.8/site-packages/pymtl3/dsl/ComponentLevel1.py", line 28, in update
    NamedObject._elaborate_stack[-1]._update( blk )
AttributeError: type object 'NamedObject' has no attribute '_elaborate_stack'

example.zip

Thanks for your interest in using PyMTL3! I took a look at your example code. This is what your registered incrementer looks like:
#=========================================================================
# RegIncr
#=========================================================================
# This is a simple model for a registered incrementer. An eight-bit value
# is read from the input port, registered, incremented by one, and
# finally written to the output port.

from pymtl3 import *

class RegIncr( Component ):

  # Constructor

  def construct( s ):

    # Port-based interface

    s.in_ = InPort ( Bits8 )
    s.out = OutPort ( Bits8 )

    # update_ff block modeling register

    s.reg_out = Wire( 8 ) # 8 is the same as Bits8 for Wire/InPort/OutPort

    @update_ff
    def block1():
      if s.reset:
        s.reg_out <<= 0
      else:
        s.reg_out <<= s.in_

# update block modeling incrementer

@update
def block2():
  s.out @= s.reg_out + 1

Notice how block2 is not indented correctly ... this is confusing the PyMTL3 framework since block2 is using an update decorator but is not in a construct method ... if you indent block2 as in Figure 8 it works:
#=========================================================================
# RegIncr
#=========================================================================
# This is a simple model for a registered incrementer. An eight-bit value
# is read from the input port, registered, incremented by one, and
# finally written to the output port.

from pymtl3 import *

class RegIncr( Component ):

  # Constructor

  def construct( s ):

    # Port-based interface

    s.in_ = InPort ( Bits8 )
    s.out = OutPort ( Bits8 )

    # update_ff block modeling register

    s.reg_out = Wire( 8 ) # 8 is the same as Bits8 for Wire/InPort/OutPort

    @update_ff
    def block1():
      if s.reset:
        s.reg_out <<= 0
      else:
        s.reg_out <<= s.in_

    # update block modeling incrementer

    @update
    def block2():
      s.out @= s.reg_out + 1


Large file uploading issue

I'm using multer to upload files to a server. Everything was fine before I started using docker for deployment. After applying docker - when uploading big files - I got an issue, where a file is starting to be uploaded, and after some time restarts again. I've added logging on multer: there is no error, it just starts to upload the file again, and in some period of time ( > 3 minutes) the connection is dropped. Maybe there is some timeout in docker?

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Please keep in mind that the GitHub issue tracker is for reporting bugs and feature requests,not a general support forum for using docker; can you use either one of;

forums.docker.com
the docker-user Google group
the #docker IRC channel on freenode
StackOverflow

I'll close this issue for the reasons above, but feel free to comment here after I've closed


Board and game actualizado

Hacer pull request de esto

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

100 of 100 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
100

Relevant Lines:
100

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

100 of 100 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
100

Relevant Lines:
100

💛  - Coveralls


feat: adding karpenter_state_nodes_total metric and karpenter_state_synced

Fixes #276
Description
Adding gauge metrics of the cluster state node total that are updated on each UpdateNode, and DeleteNode request, alongside a is_synced metric that is updated in each Synced call.
How was this change tested?

Unit tests
Validated metrics work on AKS + KWOK Cluster
make presubmit

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 80.289%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
7715

Relevant Lines:
9609

💛  - Coveralls

Tested scale up and scale down with the kwok provider, looks like metrics are updating as expected
~/dev/karpenter-core (bsoghigian/cluster-state-metrics*) » k get nodes                                                                                sillygoose@Bryces-MacBook-Pro
NAME                                STATUS   ROLES   AGE   VERSION
aks-nodepool1-58612678-vmss000000   Ready    agent   9h    v1.27.7
aks-nodepool1-58612678-vmss000001   Ready    agent   9h    v1.27.7
aks-nodepool1-58612678-vmss000002   Ready    agent   9h    v1.27.7
focused-dirac-3972393166            Ready    agent   78s   kwok-v0.3.0
relaxed-hodgkin-233176189           Ready    agent   8s    kwok-v0.3.0
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~/dev/karpenter-core (bsoghigian/cluster-state-metrics*) » curl http://localhost:8000/metrics | grep cluster_state                                                # HELP karpenter_cluster_state_is_synced Whether the cluster state is synced
# TYPE karpenter_cluster_state_is_synced gauge
karpenter_cluster_state_is_synced 1
# HELP karpenter_cluster_state_nodes_total Number of nodes in karpenter's cluster state
# TYPE karpenter_cluster_state_nodes_total gauge
karpenter_cluster_state_nodes_total 5
---
~/dev/karpenter-core (bsoghigian/cluster-state-metrics*) » curl http://localhost:8000/metrics | grep cluster_state                                            1 ↵ sillygoose@Bryces-MacBook-Pro
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0# HELP karpenter_cluster_state_is_synced Whether the cluster state is synced
# TYPE karpenter_cluster_state_is_synced gauge
karpenter_cluster_state_is_synced 1
# HELP karpenter_cluster_state_nodes_total Number of nodes in karpenter's cluster state
# TYPE karpenter_cluster_state_nodes_total gauge
karpenter_cluster_state_nodes_total 3
100  185k    0  185k    0     0   431k      0 --:--:-- --:--:-- --:--:--  432k
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~/dev/karpenter-core (bsoghigian/cluster-state-metrics*) » k get nodes                                                                                sillygoose@Bryces-MacBook-Pro
NAME                                STATUS   ROLES   AGE   VERSION
aks-nodepool1-58612678-vmss000000   Ready    agent   9h    v1.27.7
aks-nodepool1-58612678-vmss000001   Ready    agent   9h    v1.27.7
aks-nodepool1-58612678-vmss000002   Ready    agent   9h    v1.27.7

Another round of review @Bryce-Soghigian! Nice work!

/hold Wait for a review and sign-off from @njtran

/remove-hold


US1_Task1: Create frontend Sign Up page

Main Goal
The main goal of this pull request is to implement a frontend Sign Up page that allows new users to register for an account.
ChangeSet

Limited Size: Specified minimum dimensions in frontend/src/App.vue for the component.

Created Sign Up Page: Implemented a view page using Bootstrap classes for signing up, called SignUp.vue.

Added real-time validation for the fields: name, last name, password, and confirm password.
Displayed error messages below each input field using the invalid-feedback class from Bootstrap, following the checks outlined in the issue:

Name and Last Name:

Must not contain special characters, numbers, or spaces.
Must be between 2 and 50 characters.

Email:

Must follow a valid email format.

Password:

Must be 8-20 characters long.
Must contain letters and numbers.
Must not contain spaces or special characters.

Password Confirmation:

Must match the password field.

When the HTTP request fails, a red box appears above the signup button informing the user of the corresponding message (see Fig. 5).
Designed an icon for the web as an SVG using the Figma editor. Three versions have been added in black, white, and blue, respectively, in the frontend/src/assets folder: bookhub-black.svg, bookhub-blue.svg, and bookhub-white.svg.

Connected Pages: Connected MainPage.vue, LogIn.vue, and SignUp.vue using router-link. For this purpose, the routes were added in the router/index.js file.

The HomePage component uses a watcher on the URL and calls initializeFromRoute to set isLogged and `username.

AuthServices Class: Implemented an AuthServices class that handles user registration and login functionality using HTTP requests to the backend endpoints.

A new file, frontend/src/http-common.js, was created to export a pre-configured Axios instance with a base URL from the environment variable API_URL.

Code Refactoring: Changed the variable USER to USERDB in the .env file due to naming conflicts on macOS. The name USER is reserved for the current system user.

Screenshots

Fig 1: Screenshot of the Sign Up page fields.

Fig 2: Error message display when validation fails or fields are empty.

Fig 3: Validation error message for the password field.

Fig 4: Case where the user already exists.

Fig 5: User feedback display after an error occurs with the POST user endpoint.

Hey Eloi,
Thanks for submitting this PR! I reviewed the changes, and everything looks great. The implementation is clean and straightforward, and I appreciate the effort you've put into this. Great job on frontend!
Looking forward to seeing this merged.


Autodoc doesn't work for variables in MIT-Scheme

I'm using Emacs 26, the latest version of Geiser, and MIT-Scheme 9.2, under macOS Sierra.
The problem is that geiser-autodoc-mode isn't working for user-defined variables:

I got nothing even if I call geiser-autodoc-show explicitly. However, for user-defined functions it works as expected:

BTW: Geiser is AWESOME!!!

@ecraven is this something that should work?

we are moving the project to gitlab. so please, follow-up there as needed. sorry for the inconvenience!
http://gitlab.com/jaor/geiser/issues/205


Add EIP-4844 fields to EthTransactionRequest and introduce EIP4844TransactionRequest

Component
Anvil
Describe the feature you would like
Right now anvil cannot accept blob transactions in eth_sendTransaction. To be compatible, EthTransactionRequest needs three extra fields:

max_fee_per_blob_gas
blob_versioned_hashes
sidecar

ref reth: https://github.com/paradigmxyz/reth/blob/6b99292f8fd8ad7d7849a93de0627f64804337c3/crates/rpc/rpc-types/src/eth/transaction/request.rs#L40-L45
EIP4844TransactionRequest would also need to be introduced
Additional context
No response

ideally done after #6219

ideally done after #6219

yep, then I guess this is more of an alloy feature request rather than foundry - will add an issue there

Assuming this will be integrated in #6219: https://github.com/alloy-rs/alloy/pull/89
this issue will then be solved

Marking as resolved by https://github.com/foundry-rs/foundry/pull/7242


fix: Identity at item is shown twice

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[x] Bugfix
[ ] Feature
[ ] Refactoring

What's new?

[x] PR closes #3367
[ ] Requires deployment <rubick/magick_issue>
[ ] <brief_description_of_what_I've_added>

related to https://github.com/kodadot/nft-gallery/pull/3357
Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

pay 50 usd


listitem should not be able to be disabled

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
this page: https://getbootstrap.com/docs/5.3/components/list-group/#disabled-items
it has a ul with li being `aria-disabled="true"

A disabled item

A second item

A third item

A fourth item

And a fifth one

however, in https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled#associated_roles
mozilla does not have aria-disabled to the 'li' which role is listitem..
Reduced test cases

A disabled item
A second item
A third item
A fourth item
And a fifth one

What operating system(s) are you seeing the problem on?
Windows, macOS
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5

It looks like aria-disabled are more suited for buttons than a list item, just a class should suffice.
Can I please be assigned to this ticket?


Add Kirac Quest line

Possibly use api to get map regions and include a watchstone guide

Possibly use api to get map regions and include a watchstone guide


"dnvm upgrade" does not work on OS X Yosemite 10.10.2

When I execute dnvm upgrade I get the following:
sh-3.2# dnvm upgrade
Determining latest version
Error: Could not find latest version from feed https://nuget.org/api/v2
Debug or Extra information:
$DNX_ACTIVE_FEED="https://nuget.org/api/v2"
$_DNVM_RUNTIME_PACKAGE_NAME="dnx"
$platform="mono"
local url="$DNX_ACTIVE_FEED/GetUpdates()?packageIds=%27$_DNVM_RUNTIME_PACKAGE_NAME-$platform%27&versions=%270.0%27&includePrerelease=true&includeAllVersions=false"
The following URL gives me the following result:
https://www.nuget.org/api/v2/GetUpdates()?packageIds='dnx-mono'&versions='0.0'&includePrerelease=true&includeAllVersions=false
<?xml version="1.0" encoding="utf-8"?><feed xml:base="https://www.nuget.org/api/v2/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>https://www.nuget.org/api/v2/GetUpdates</id><title type="text">GetUpdates</title><updated>2015-04-25T19:56:37Z</updated><link rel="self" title="GetUpdates" href="GetUpdates" /><author><name /></author></feed>

Use MyGet for getting dnx

How would I do that? Could you give command or do we need to add another source?

dnvm upgrade -u

Still had some issues installing it but I could solve them:
dnvm upgrade -u I got errors running this and couldn't run it again without errors (Unfortunately I don't have the errors anymore).
When I entered dnvm list I had one DNX installed but it wasn't active and I couldn't activate it. I had to reinstall it by running: dnvm install -f -u 1.0.0-beta5-11611

Dnvm upgrade -u worked for me

Closing this one, since it seems to be resolved. @jensg if you get a reproduction of those errors let us know :).


adapt call sites to use Marcel's improved tracking_vector

start with Marcel's skeleton. Adapt. Use in Hash join.

Unfortunately we couldn't manage to implement the tracking_vector getting the Purpose as a template parameter, so we used the Delegation pattern as a temporary solution:
"template
PolymorphicAllocator alloc(Purpose P = Purpose::None) {
return PolymorphicAllocator{
&(*Hyrise::get().memory_resource_manager.get_memory_resource(static_caststd::string(magic_enum::enum_name(P))))};
}"
auto build_side_pos_lists = pmr_vector<RowIDPosList>(alloc<RowIDPosList>());     auto probe_side_pos_lists = pmr_vector<RowIDPosList>(alloc<RowIDPosList>(Purpose::HashStuffTest));
On MacOS it worked with LLVM, on Ubuntu it did't work with GCC and LLVM.


Libace

enables building of libACE on linux.

I've renamed to ACE instead libACE as per Gadgetron's convention.
I copied FindACE.cmake from Gadgetron in SIRF-SuperBuild. Whithout this the build would always fail when USE_SYSTEM_ACE=ON.

@casperdcl is it possible to add -DUSE_SYSTEM_ACE=OFF on travis builds, on linux at least?

you'd want it on for one of the linux builds, and one of the OSX ones I guess

Sure, but whiche ones? https://github.com/CCPPETMR/SIRF-SuperBuild/blob/2820d8de9a2c693072cd606c57b2e39b8430ea81/.travis.yml#L19-L60

I guess this could be merged.

I tested this PR on ubuntu and on CentOS (with and without GPU support)
See https://github.com/CCPPETMR/SIRF-SuperBuild/issues/127