TCP relay block when first packet includes payload

when I copy left buffer manually at first, it is woking.
func relay(left, right net.Conn) (int64, int64, error) {
	type res struct {
		N   int64
		Err error
	}

	ch := make(chan res)

	buf := make([]byte, 1024)
	for {
		nread, _ := left.Read(buf)
		if nread > 0 {
			right.Write(buf[0:nread])
		}
		if nread != 1024 {
			break
		}
	}

	go func() {
		n, err := io.Copy(right, left)
		right.SetDeadline(time.Now()) // wake up the other goroutine blocking on right
		left.SetDeadline(time.Now())  // wake up the other goroutine blocking on left
		ch <- res{n, err}
	}()

	n, err := io.Copy(left, right)
	right.SetDeadline(time.Now()) // wake up the other goroutine blocking on right
	left.SetDeadline(time.Now())  // wake up the other goroutine blocking on left
	rs := <-ch

	if err == nil {
		err = rs.Err
	}
	return n, rs.N, err
}

Sorry I didn't understand the problem. What happened here? And what's the step to reproduce it?

@riobard
go-shadowsocks2 client use socks5 proxy protocol, send address to server at first,
then send request header to server.
but my client use http proxy protocol, send address and request header to server.

Are you using go-shadowsocks2 as an HTTP proxy?

no, i write a shadowsocks client that provides http proxy.

Sorry I'm confused. Is this issue a bug report? What was wrong here?

@cute  Maybe you'd better read the comments about the io.Copy()

// Copy copies from src to dst until either EOF is reached
// on src or an error occurs. It returns the number of bytes
// copied and the first error encountered while copying, if any.
//
// A successful Copy returns err == nil, not err == EOF.
// Because Copy is defined to read from src until EOF, it does
// not treat an EOF from Read as an error to be reported.
//
// If src implements the WriterTo interface,
// the copy is implemented by calling src.WriteTo(dst).
// Otherwise, if dst implements the ReaderFrom interface,
// the copy is implemented by calling dst.ReadFrom(src).

@riobard
shadowsocks tcp protocol is  [target address][payload], http request through local proxy:
local socks5 proxy send data to server:

write [target address]
write [payload]
read

local http proxy send data to server:

write [target address][payload]
read

If address and payload is sent together, server can not process the data correctly.

I think I understand the problem now. Do you have a code snippet to reproduce the bug?

@riobard what's your email? I want to send you an iOS app promotion code.

me at riobard dot com

Got the code. What's the step to produce the bug?

Problem identified: this is actually caused by a bug in the implementation of AEAD stream reader. The fix has been committed into my fork here https://github.com/riobard/go-shadowsocks2/commit/de996c889eae0ad0356d654eff7b2ff7aa489096 and a new test release is created at https://github.com/riobard/go-shadowsocks2/releases/tag/v0.0.9

@riobard seem still not work with shadowrocket

fixed through https://github.com/riobard/go-shadowsocks2/pull/8

Fixed by #40


Consider using childProcess.spawn instead of childProcess.exec

I'm not sure if this is related to some problems I've been having running npm install, but it seems possible. https://github.com/shipitjs/shipit/issues/57
You're using child_process.exec for shipit.local commands. Given that those commands may be lengthy or intensive (npm install, e.g.), it seems that maybe we should be using child_process.spawn?

@timkelty yes but there is a lot of work done in child_process.exec, so there will be a lot of code to do if we want to use child_process.spawn instead.

We could do something like this in the meantime:
    options = _.defaults(options || {}, {
      maxBuffer: 1000 * 1024,
      spawn: false,
      spawnArgs: []
    });

    var stdoutWrapper = new LineWrapper({prefix: '@ '});
    var stderrWrapper = new LineWrapper({prefix: '@ '});

    var child = options.spawn ? childProcess.exec(command, options.spawnArgs, options) : childProcess.exec(command, options);

    child.on('error', function(err) {
      return reject(err);
    });

    child.on('exit', function(code) {
      return resolve({
        child: child,
        stdout: child.stdout[0],
        stderr: child.stderr[0]
      });
    });

However, I just tried that, and it still didn't fix the issues I'm having with npm install.

Maybe this should be a 2.x consideration.

There's also ssh2 if you want to avoid child processes altogether :sunglasses:

@timkelty - Had to do some research on this one, because I know Node operates a little differently. Still not terribly familiar with it, so take it with a grain of salt.
Node doesn't really have massive differences between how spawn and exec are created and operate on the system level. Unlike certain other programming languages/dialects, both and spawn and exec async commands are non-blocking and independantly operative from the parent process.
Per: https://nodejs.org/api/child_process.html#child_process_child_process

...the child_process module provides ... alternatives to child_process.spawn() ... Note that each of these alternatives are implemented on top of child_process.spawn().

The only real difference is that spawn produces a process that still has the capability to engage in assisted/shared permission IPC (Inter Process Communication) with the parent (making it great deal more integrated). Because it's more integrated, spawn is great for making child processes that are going to distribute the workload of a single task/dataset, and communicate/cooperate as they run.
Thus, migrating to using spawn would have a pretty minimal effect beyond giving someone more programming work. Because I just don't think shipit is commonly being used as a startup-sequence for SIMD compute work.
Probably can close this issue.

@travco thanks for the analyse, ssh-pool v2 will still use exec.

I recently ran into an issue with exec that was fixed by switching to spawn.  Part of my deploy runs a webpack-based compilation task (NODE_ENV=production webpack --progress) through a package.json script (yarn minify).  Running the command directly takes ~40s.    On a current project, this was taking ~13min to execute through shipit:
shipit.blTask('compile', ['yarn'], function() {
  return shipit.local('yarn minify', {
    cwd: workspace
  });
});

Switching to using spawn brought the time back down to ~40s:
shipit.blTask('compile', ['yarn'], function(cb) {
  var minify;
  minify = child_process.spawn('yarn', ['minify'], {
    cwd: workspace
  });
  minify.stdout.pipe(process.stdout);
  minify.stderr.pipe(process.stderr);
  return minify.on('close', cb);
});

Maybe shipit.localSpawn() could be added for long running, cpu heavy tasks?

@weotch interesting, we should definitely consider it if it's a game changer for webpack.


Avoid making copy of static array

If that function doesn't get inlined you've got bigger problems...


behavior.zoom: two finger drag started outside should not zoom

If a two finger drag is started outside of an element to which behavior.zoom is applied no zoom should take effect when entering and passing over the element.
When users scroll up and down in pages I have created using a two finger swipe they have troubles when that swipe traverses an element to which behavior.zoom has been applied -- the scroll action stops and the zoom action starts.
You can see as simple replication of this problem by opening http://bl.ocks.org/1182434 and starting a two-finger swipe outside the plotting area.  Extend the scrolling swipe by traversing up or down into the plotting area of the graph. The scrolling will stop and the graph will zoom.

There's a bug in your example: you are recreating the d3.behavior.zoom within the redraw() method. The zoom behavior captures some state internally, so if you recreate the behavior in the middle of dragging, bad things will happen. In earlier versions that state was captured in globals, so it may not have triggered the bug.
I'm not able to reproduce the bug you described either using the iOS simulator or on my iPhone. I tried the zoom-pan example in the repo, and if I start with two fingers down, the window scrolls or zooms and it never gets sent to the zoom area.

The reason I reset the zoom in redraw() is because I've changed the axis settings -- but the current behavior.zoom closure is holding on to the older axis values -- so after scaling the graph by dragging an axis if I pan the behavior.zoom closure resets the axis back to the settings they had when the behavior.zoom closure was created.
But even without that I think there is still a scrolling problem with behavior.zoom
Try the test on this small variation of the zoom-pan.html example:
I've added a big paragraph above and below the d3 visualization.
I'm testing this on Mac OS X 10.6.8 using the older UI direction (no iOS) for two finger swipe scrolling.
The test is using v2.8.1 of D3.
When I start to scroll the document by starting a fast two-finger swipe down in the top paragraph -- the doc scrolls until I'm over the d3 chart at which point the scroll stops a small fraction into the chart and a zoom-in starts.
FYI: the repo with the test is here: https://github.com/concord-consortium/lab

Playing with this more -- often the scrolling zoom interaction just STOPS when the swipe starts to traverse the D3 chart.

Ah, I see. Sorry, that's just scrolling, not touching. The use of fingers in that case is irrelevant, and it's also impossible to distinguish where the scroll started because all we see are "mousewheel" events. (There's even less information than touch events, which give you "touchstart" and "touchend".) The reason that scrolling stops is because the zoom behavior takes the mousewheel event and uses it to zoom rather than the default behavior, which is to scroll.
You shouldn't need to recreate a zoom behavior even if you change the axis settings (or more specifically, you mean the scale's domain or range). The behavior has a reference to the corresponding scales and will adjust automatically.

Perhaps I need to re-write how I am making my custom axes. They are implemented by composing D3 scales and my code -- I pass the scales themselves to behavior.zoom. They implement additional behavior (re-scaling by dragging). After changing a scale by dragging one of the numeric labels if a user then translates the graph by mousedown-drag the graph is reset back to the original scales.
For example this is where I add the handlers for re-scaling the xaxis:
https://github.com/concord-consortium/lab/blob/master/src/tests/simple-graphs-closures/simple-graph.js#L224-234
Here's the section of the mousedown handler that handles the x axis re-scaling:
https://github.com/concord-consortium/lab/blob/master/src/tests/simple-graphs-closures/simple-graph.js#L351-365
This ends up calling redraw() which is where I found I needed to call behavior.zoom again with the new values for the X and Y scales:
https://github.com/concord-consortium/lab/blob/master/src/tests/simple-graphs-closures/simple-graph.js#L269


Integer underflow error on article carousel

When you are using the article carousel and press previous from Page 1 you get a 500 error because it's looking for the -1th page (https://tst-stk.byteheadsoftware.com/articles?category_id=0&page=-1)

💸💸💸💸💸


new release soon?

Even a SNAPSHOT would be nice.
The latest in Central looks to be 1.1.0.Alpha1: http://search.maven.org/#search|ga|1|a%3A"wildfly-arquillian-container-remote"
Is this the version to use for now?

Hopefully this week. I'm not sure if we'll do a 1.1.0.Alpha2 and a 2.0.0.Alpha1 or just the 2.0.0.Alpha1. Note we're doing a new major to work with some changes in WildFly 10.
What version of WildFly are you running?

Wow, thanks for the quick reply. :)
WF 9.0.2.Final, soon we'll upgrade to 10.0.Final.

Okay cool. That makes me think we should do one of each. Maybe even just move 1.1.x to Beta since there probably won't be a lot of changes going into it.

Even current 1.0.x.Final versions of wildfly-arquillian adapters works fine with WildFly 10.
So no need to wait for new release.

Well embedded won't, but the others should.

1.1.0.Beta1 has been released. I'm having some issues I need to figure out with the 2.0.0.Alpha1 release.

@jamezp : thanks, you're awesome!  Let me know if there's something I can test.


Add lemmy extension

Description

Official description: Lemmy is a selfhosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top.
This extension interfaces with Lemmy's API to create a "Lite" browsing client for timelines, search and notifications.
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hey, for the instance URL, did you prepend the protocol? It should be https://lemm.ee, not lemm.ee. This will help me identify the issue.

Yes, I did :) Just copy-pasted from Chrome.

Sorry, I just saw that there was a 's' missing. It works now. But still, it would be nice to have a error handler, as user input can always cause error.

For sure. I will add more error handling

@mil3na Are you available to test out this fix?

Hey @httpjamesm! Sorry for the delay on answering you, I was off yesterday. I will continue the review during the day and hopefully we will be able to merge this 💪

Well, it does look good to me!
Any more changes you want to make or are you ready to publish?

I think I'm ready :)


Update View the docs link

The View the docs link was pointing back to the Github page.
This changes it to point to http://flexgridlite.elliotdahl.com/ instead.

Wanted to give this a little bump ;)


[turborepo] with-docker: Discarding source files following build

Which project is this feature idea for?
Turborepo
Describe the feature you'd like to request
Upon reviewing the with-docker example (in line with my own project), I have got a question regarding best practice for the final production image.
Here's a brief overview of my build process (in the form of a multi-stage Dockerfile):
Stage 1:

Copy all source files into image
Prune files to only include app and its dependencies (turbo prune --scope=api --docker)

Stage 2:

Copy pruned package.json files from stage 1 (from /app/out/json)
Install all dependencies (yarn install)
Copy rest of pruned source files from stage 2 (from /app/out/full)
Build project (turbo build --filter=api)

Stage 3:

Copy all files from stage 2 which includes the built artifacts and source files (from /app)
Run application

My question lies beyond step 1 in stage 3. I don't want to include the source files in the final production image.
The build output of step 4 in stage 2 produces a dist folder in the main application's directory, as well as in each of it's dependencies (remember, this is a monorepo).
What's the most efficient way to only end up with the built application files (and its built dependencies) - without having to manually copy the dist folders from each directory into the stage 3 image (since that requires explicitly defining each dependency the app depends on, which I want to avoid)?
Describe the solution you'd like
Perhaps the likes of a turbo prune --production-source flag that can be executed after the build to remove the original source .ts files, while keeping what's necessary to run the application (dist, package.json, etc).
Describe alternatives you've considered
As part of the Dockerfile in the final image, deleting all matches of *.ts after copying the build + source from the previous image (following step 1 in stage 3).

Hi @5E7EN, thanks for the issue. I'll bring this up with the team. One temporary option you could explore is using the --dry-run=json output to traverse the graph and move the dist folders manually.

@NicholasLYang thanks for the suggestion.
I can't seem to have turborepo build --scope=api --dry-run=json list my common package as a dependency...
How does turborepo determine the dependencies when building?

Could you expand on your use case here? Are you producing an application like a front-end app or a server?
For the first option, you could use a bundler to combine all of the artifacts and ship a bundled application. For the second option, I think it's perfectly fine to ship the source files in the production code.

My workaround is:
I store all my source code in the src/ directory and include a step in the Dockerfile to remove all src/ directories.
...

# after build step
RUN find . -type d -name 'node_modules' -prune -o -type d -name 'src' -print | xargs rm -rf

...


Print styling

I have no idea how notes look when printed. Might be nice to add basic print styling to save ink/make it possible to print notes.

Done with a75785edc44398bdf8bb7b075824bb444a6682ed


No such file or directory: 'D:\...ComfyUI-3D-Pack\Configs/system.conf'

Installed the latest 3d pack manually, and comfy can't find it.
Traceback (most recent call last):
  File "D:\Stablediff\Comfyuimanual\ComfyUI\nodes.py", line 1994, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack-main\__init__.py", line 36, in <module>
    f = open(conf_path)
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\Stablediff\\Comfyuimanual\\ComfyUI\\custom_nodes\\ComfyUI-3D-Pack\\Configs/system.conf'

Then attempted through comfyui manager, and this is the bootup error from that version.
#######################################################################
[ComfyUI-Manager] Starting dependency installation/(de)activation for the extension

## ComfyUI-Manager: EXECUTE => ['D:\\Stablediff\\Comfyuimanual\\ComfyUI\\venv\\Scripts\\python.exe', '-m', 'pip', 'install', 'PyGithub']

## Execute install/(de)activation script for 'D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack'

## ComfyUI-Manager: EXECUTE => ['D:\\Stablediff\\Comfyuimanual\\ComfyUI\\venv\\Scripts\\python.exe', '-m', 'pip', 'install', 'open_clip_torch']

## Execute install/(de)activation script for 'D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack'

## ComfyUI-Manager: EXECUTE => ['D:\\Stablediff\\Comfyuimanual\\ComfyUI\\venv\\Scripts\\python.exe', '-m', 'pip', 'install', 'pytorch_msssim']

## Execute install/(de)activation script for 'D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack'

## ComfyUI-Manager: EXECUTE => ['D:\\Stablediff\\Comfyuimanual\\ComfyUI\\venv\\Scripts\\python.exe', '-m', 'pip', 'install', 'PyMCubes']

## Execute install/(de)activation script for 'D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack'

## ComfyUI-Manager: EXECUTE => ['D:\\Stablediff\\Comfyuimanual\\ComfyUI\\venv\\Scripts\\python.exe', 'install.py']

## Execute install/(de)activation script for 'D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack'
[!] Traceback (most recent call last):
[!]   File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack\install.py", line 19, in <module>
[!]     from build_utils import (
[!]   File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds/_Build_Scripts\build_utils.py", line 54, in <module>
[!]     CUDA_VERSION = get_cuda_version()
[!]   File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds/_Build_Scripts\build_utils.py", line 43, in get_cuda_version
[!]     result = subprocess.run(["nvcc", "--version"], text=True, capture_output=True)
[!]   File "C:\Users\DuckersMcQuack\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 503, in run
[!]     with Popen(*popenargs, **kwargs) as process:
[!]   File "C:\Users\DuckersMcQuack\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 971, in __init__
[!]     self._execute_child(args, executable, preexec_fn, close_fds,
[!]   File "C:\Users\DuckersMcQuack\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1440, in _execute_child
[!]     hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
[!] FileNotFoundError: [WinError 2] The system cannot find the file specified
[!] Traceback (most recent call last):
[!]   File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack\install.py", line 19, in <module>
[!]     from build_utils import (
[!]   File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds/_Build_Scripts\build_utils.py", line 54, in <module>
[!]     CUDA_VERSION = get_cuda_version()
[!]   File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack\_Pre_Builds/_Build_Scripts\build_utils.py", line 43, in get_cuda_version
[!]     result = subprocess.run(["nvcc", "--version"], text=True, capture_output=True)
[!]   File "C:\Users\DuckersMcQuack\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 503, in run
[!]     with Popen(*popenargs, **kwargs) as process:
[!]   File "C:\Users\DuckersMcQuack\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 971, in __init__
[!]     self._execute_child(args, executable, preexec_fn, close_fds,
[!]   File "C:\Users\DuckersMcQuack\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1440, in _execute_child
[!]     hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
[!] FileNotFoundError: [WinError 2] The system cannot find the file specified
[!]
[!] During handling of the above exception, another exception occurred:
[!]
[!] Traceback (most recent call last):
[!]   File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack\install.py", line 84, in <module>
[!]     cstr("Comfy3D install failed: Dependency installation has failed. Please install manually: https://github.com/MrForExample/ComfyUI-3D-Pack/tree/main/_Pre_Builds/README.md.").error.print()
[!] NameError: name 'cstr' is not defined. Did you mean: 'str'?
install/(de)activation script failed: D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack

[ComfyUI-Manager] Startup script completed.
#######################################################################

The error file is in: D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-3D-Pack-main\__init__.py
Yet the path it trying to find is: D:\\Stablediff\\Comfyuimanual\\ComfyUI\\custom_nodes\\ComfyUI-3D-Pack\\Configs/system.conf'
rename ComfyUI-3D-Pack-main to ComfyUI-3D-Pack should solve the issue

Oh, that it should indeed.
So, the last error didn't appear today with the manager installed one, but i got a module missing being kiui, which i installed manually, so, might need it in it's initial install script.
As well as nvdiffrast was missing. But it couldn't install.
pip install nvdiffrast
ERROR: Could not find a version that satisfies the requirement nvdiffrast (from versions: none)
ERROR: No matching distribution found for nvdiffrast

git clone https://github.com/NVlabs/nvdiffrast.git cd nvdiffrast/ pip install .


ImportError: cannot import name send_email

While trying to run manage db upgrade, go the error ImportError: cannot import name send_email.
Stack trace below.
Traceback (most recent call last):
  File "manage.py", line 16, in <module>
    from security_monkey import app, db
  File "/opt/secmonkey/security_monkey/__init__.py", line 96, in <module>
    from security_monkey.common.utils import send_email as common_send_email
ImportError: cannot import name send_email

Not sure if I'm missing anything.
Thanks.

I had this same problem yesterday. The solution was to follow the instuctions outlined here: https://github.com/Netflix/security_monkey/issues/205
AFAIK the key is to start with a fresh git clone and then just copy over your env-config/config-deploy.py file. Make sure you keep a backup of the entire directory until you get it working :)

I also experienced this issue the other day as well.
As @brian-olson mentioned, I resolved it by doing a fresh git clone (actually did a fresh fork and clone).

If any python folks can explain to me how I caused this, I'd love to learn what I did wrong and avoid the issue in the future.
The only thing I can think of is that when I refactored securitymonkey.common.utils.utils into securitymonkey.common.utils, maybe the .pyc files remained and confused the interpreter.  I never ran into the issue on my development box, nor in production, and neither did another colleague, but @mikegrima did see it.  I suspect we didn't have an issue in production because of our immutable instance deployment.

When I originally attempted to fix the existing installation I did a diff
on this file and saw that chance. So I changed securitymonkey.common.utils back
to securitymonkey.common.utils.utils, but that just caused more errors. I
didn't want to get started down that road so I just made a fresh clone. So
you may be correct that something was lingering.
On Thu, Oct 15, 2015 at 12:42 PM, Patrick Kelley<EMAIL_ADDRESS>wrote:

If any python folks can explain to me how I caused this, I'd love to learn
what I did wrong and avoid the issue in the future.
The only thing I can think of is that when I refactored
securitymonkey.common.utils.utils into securitymonkey.common.utils, maybe
the .pyc files remained and confused the interpreter. I never ran into the
issue on my development box, nor in production, and neither did another
colleague, but @mikegrima https://github.com/mikegrima did see it. I
suspect we didn't have an issue in production because of our immutable
instance deployment.
—
Reply to this email directly or view it on GitHub
https://github.com/Netflix/security_monkey/issues/232#issuecomment-148450072
.


2.3.0 not compatible with gal_linux

Did you check the documentation and it did not help?

[X] I have read the README
[X] I have searched the existing documentation
[X] I have searched the existing answer
[X] I have read the contribution guide

Overview
pub-cache/hosted/pub.dev/gal_linux-0.0.1/lib/src/gal_linux.dart:25:16: Error: The method 'GalPluginLinux.putImageBytes' has fewer named arguments than those of overridden method 'GalPlatform.putImageBytes'.
Future putImageBytes(Uint8List bytes, {String? album}) =>
pub-cache/hosted/pub.dev/gal-2.3.0/lib/src/gal_platform_interface.dart:23:16: Context: This is the overridden method ('putImageBytes').
Future putImageBytes(Uint8List bytes,
Steps to reproduce
when i upgrade to gal 2.3.0
Code sample
Code sample
flutter_quill

Environment
Logs
nothing

Logs
Logs
nothing

This is a gal_linux issue, so please submit an issue to that repository.
updating to gal 2.3.0 was not a destructive change for users. However, it was a destructive change for gal_linux as a non-endorsed federated plugin.


Fix #42: secret words obey their directional constraints

Additionally,

Adds a short pre-built list of secret words for testing
Better clarity to pre-configured levels

This looks great! I'll try and get it merged this evening. Nice work 👍
And, just an FYI, I've got a TUI (Text User Interface) built with Textual that allows you to play a WordSearch right in your terminal (see below). I have it setup as an optional install at the moment (e.g. pip install word-search-generator[play])... If installed it can be accessed through the CLI using the --play flag. It is something I hacked together in a few hours trying to learn Textual but it works pretty well.

…hacking around to make a front end is also how I discovered this bug.  I was working on a web front end and discovered that no matter how hard I tried, I could NOT get the secret words to stop going East.    It's a simple Flask application with no database.  It supports pretty much everything I'd want—I now need to make it look pretty (and add a way to output PDF once you see a generation you like in the preview).  Not looking forward to remembering how to deploy a new app to my server (mostly because I do it infrequently enough that best practices have changed from the last time).
I keep wanting to try Textual but never find a good reason to use it. There was a Pokémon Go map admin project from long ago, but I've long ago lost steam at wanting to maintain it.

In semi-related news, I had to scratch my own itch at adding injected words this evening.
https://github.com/duck57/word-search-generator/tree/forced-words
Currently, I have two commits:

Laying the foundations for the ForcedWord class followed by a large and probably unnecessary refactoring caused by chasing down circular import errors when running the tests.
A small commit that actually adds the forced words to the generation algorithm

If I do revisit that branch, I need to remember to edit one of the word placement functions in generate.py to add the forced words first.  They currently function like normal words (either hidden or secret) but with custom directions.

Give Render a try for hosting. It's free (if you don't need SQL) and easy to setup. I moved a few things over to it after Heroku started charging for everything. Here's an example of a basic Flask app I have running there.


Blur lost on iOS 10

Still ok on 9.3

This may be a bug of the ios 10.0. Effect view won't work if setting a mask layer to the effect view on 10.0 but normal blow 10.0.

@alexandre-g This may be a bug of the ios 10.0. Effect view won't work if setting a mask layer to the effect view on 10.0 but normal blow 10.0.


Make schema validator step and have prime-cli call it.

[ ] Check that each element has a Type
[ ] Check that inherited elements do not change type

@carlosfelix2 I was thinking that this might be another good thing you could work on. Currently we validate a schema by adding it to the quick-test.sh file and then running data through it, but it would be good to actually try to automate that and allow us to call validate as an option of the prime executable.
Schema Validation
I was thinking something like:
./prime validate --all-schemas

and that would load the metadata catalog as a first step (since schemas are loaded as part of the metadata) and then would attempt to run fake data through all the schemas in both the CSV and HL7_BATCH formats. The thing to keep in mind here is that some schemas don't have CSV fields defined, so it's possible to run data through the CSV format and have it return a zero-length document. That shouldn't necessarily be a failure.
I would also add an option to let us validate a single schema like:
./prime validate --schema <SCHEMA_NAME>

And in addition to say :
./prime validate --schema <SCHEMA_NAME> --output-format CSV

And have it provide warnings if an element in the schema doesn't have a csvFields value defined. This is only a warning because we include some fields into schemas so they can be consumed by mappers. When serializing elements we actually take two passes through the document to allow some fields to be loaded and THEN consumed by mappers on pass two. For example, you might want to do a
- name: local_patient_name
   type: TEXT
   csvFields:
     - name: patient_name
   mapper: concat(patient_first_name, patient_last_name)

# standard fields consumed by mapper
- name: patient_first_name

- name: patient_last_name

Admittedly, this is a contrived example, but examples like this do exist. But it would be good to have it say something like:
WARNINGS:
- "patient_first_name" doesn't have a csvFields value defined. Is this on purpose?
- "patient_last_name" doesn't have a csvFields value defined. Is this on purpose?

Another area that we want this to help validate is the creation of altValues for a schema. We want to make sure that the codes an altValue maps to are actual codes defined for the value set.
Organization and Receiver Validation
While the original ticket calls for just schema validation, I was also thinking it would be good to have this check organization and receiver files as well. The biggest areas where @jimduff-usds and I (mostly me) have tripped ourselves up are:

Leaving the frequency for merging batches at 1440 per day for the prod file (where we would not want to batch every minute)
Referencing jurisdictional filters that don't exist. I always write or when I mean orEquals.
Not including a transport for a prod file (though this should be a warning, since it's okay to omit this since it will then just show up in the download site)

Being able to say:
./prime validate --organization-file <ORGANIZATION_FILE> --env prod

It might also be good to be able to compare files and make sure that everything matches up for the same organization in two different files. This should only ever kick out warnings since we obviously expect differences in terms of merging and transport.
@RickHawesUSDS @jimduff-usds are there other kinds of validation it would be good to wrap into this?

Yes, I could go on all day with more QA ideas, but the above is more than enough to get a good start!
But...sorry....I just can't resist:   The one I'm thinking about is transforming data from our major senders (simple_report, strac and soon, waters) into all receivers.   I've done that manually as follows:
./prime data --input-fake 1000 --input-schema waters/waters-covid-19 --output ./junk/from-waters-to-all-states.csv
./prime data --input-fake 1000 --input-schema primedatainput/pdi-covid-19 --output ./junk/from-sr-to-all-states.csv
./prime data --input-fake 1000 --input-schema strac/strac-covid-19 --output ./junk/from-strac-to-all-states.csv

curl -X POST -H "client:strac"  -H "content-type:text/csv" --data-binary<EMAIL_ADDRESS>"http://localhost:7071/api/reports"
curl -X POST -H "client:waters"  -H "content-type:text/csv" --data-binary<EMAIL_ADDRESS>"http://localhost:7071/api/reports"
curl -X POST -H "client:simple_report"  -H "content-type:text/csv" --data-binary<EMAIL_ADDRESS>"http://localhost:7071/api/reports"

I'm about to put in a PR that makes the above actually work sans errors to all states and territories.

I had another thought about a feature that should be added to this. The validator should give you the ability to compare orgs and receivers between environments, and optionally skip checking some sections.
Some examples
Compare All Organizations In a File Against Prod
./prime validation compare --input organizations.yml --env prod --ignore MERGE,TRANSPORT

Compare a Single Receiver in a File Against Prod
./prime validation compare --input organizations.yml --env prod --ignore MERGE,TRANSPORT --names tx-doh.elr

Compare a Single Receiver in a File Against Prod Ignoring Case
./prime validation compare --input organizations.yml --env prod --ignore MERGE,TRANSPORT --names tx-doh.elr --ignore-case

The validation compare should load objects into memory and doing a simple comparison, listing any differences between the two sets of organization data. Also, any organizations/receivers in the local input that aren't in the -env provided should be listed as a difference, and vice versa.
In the ideal case, putting aside differences in merge, transport, and meta, what's in the organizations-prod.yml folder should  match 100%. This would help us catch any differences.


License headers

/kind user-story
To follow the discussion initiated during Devtools Week, do we want to include license headers in source files?
@kadel @rm3l

/kind user-story
To follow the discussion initiated during Devtools Week, do we want to include license headers in source files?

Seems like this is something recommended by Red Hat Legal team. I just searched and found an article title Copyright Notices for Open Source Projects on The Source:
"We now recommend that all original source files in Red Hat-maintained open source projects have a header comment containing a copyright notice followed by a license notice."
So yes, to me, we should include those headers; and I guess a way to enforce their presence in CI.
Also, I guess we will need to ignore generated code.

Not needed, per the Legal team.


Update to Recent version of ddms

Converter was not working when newer ddms library was present.
Error I got was:
java.lang.AbstractMethodError: Method de/preusslerpark/android/tools/Converter$1.testIgnored(Lcom/android/ddmlib/testrunner/TestIdentifier;)V is abstract
So updated ddms to newer version (primarily to updated method signatures of overridden/abstract method)
@dpreussler Can you review this PR?

thanks for fixing this

I'll try to create release later... normally takes at least 24h before visible on mavencentral

@dpreussler Thanks for merging this PR
Can you let me know the new version of the jar.

https://search.maven.org/artifact/de.jodamob.android/automator-log-converter/1.6.0-1-g46e78e3/jar


Inline Query Analyzer page not showing the content

Hi,
I tried implementing this app but on Inline Query Analyser page there's nothing. I have no errors in browser console.

You need to write query and then execute to get results
On Fri, Apr 16, 2021 at 1:04 PM igaper @.***> wrote:

Hi,
I tried implementing this app but on Inline Query Analyser page there's
nothing. I have no errors in browser console.
[image: image]
https://user-images.githubusercontent.com/55911229/114988661-dde53080-9e96-11eb-967f-42ddf9894b28.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/msnraju/inline-query/issues/15, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEHV3QZXJ4TYW67U7CG2RALTI7SABANCNFSM43A7PTZQ
.

--
Regards,
MSN Raju

The issue is that the box in which I'm supposed to write a query is not showing up.


BigInt Seed for a RNG?

This is a question (or a feature request, if it doesn't exist).
Is it possible to use a BigInt as a seed for a PRNG, and if so are there any examples of that? If not, is this something that could feasibly be added?
Thanks in advance.

That depends on the RNG -- you can get raw bytes from a BigInt or BigUint, but then for rand you have to match your chosen RNG's SeedableRng::Seed type.


Migrate CI from Travis CI to GitHub Actions

Since June 15th, 2021, the building on travis-ci.org is ceased.
This PR migrates CI from Travis CI to GitHub Actions.
Here are the details:

Add Ruby 2.6, 2.7, 3.0, 3.1 and head to the CI matrix
Pass the keyword argument instead of the hash parameter in test_helper.rb

For Ruby 3.0+ compatibility

Ah, I didn't notice that there were already similar issues, sorry :bow:

#172
#176


Using vae-ft-mse-840000-ema-pruned.ckpt as cusom VAE?

Hi there!
Most custom models I've come across seem to recommend using vae-ft-mse-840000-ema-pruned.ckpt as the VAE.
However I can't seem to find a way to load .ckpt files using the --pretrained_vae_name_or_path arg.
Dreambooth only seems to work with ".bin" files or am I mistaken? Do I need to convert ckpt files to .bin?
Thank you so much!

Pretty sure you need to convert it into 'diffusers' format, so assuming you have a terminal open in the diffusers/examples/dreambooth/ directory, you should be able to do:
python ../../scripts/convert_original_stable_diffusion_to_diffusers.py --checkpoint_path vae-ft-mse-840000-ema-pruned.ckpt --dump_path sd-v15-vae/
and then set --pretrained_vae_name_or_path=sd-v15-vae/

@futurevessel thank you for your response. Unfortunately
I'm trying to get the script to run but running into some errors:
!python ./convert_original_stable_diffusion_to_diffusers.py --checkpoint_path ./sd-vae-ft-mse-original/vae-ft-mse-840000-ema-pruned.ckpt --dump_path sd-v15-vae/
2023-01-29 14:22:40 (39.0 MB/s) - ‘v1-inference.yaml’ saved [1873/1873]
Traceback (most recent call last):
  File "./convert_original_stable_diffusion_to_diffusers.py", line 716, in <module>
    converted_unet_checkpoint = convert_ldm_unet_checkpoint(
  File "./convert_original_stable_diffusion_to_diffusers.py", line 326, in convert_ldm_unet_checkpoint
    new_checkpoint["time_embedding.linear_1.weight"] = unet_state_dict["time_embed.0.weight"]
KeyError: 'time_embed.0.weight'

I'm guessing it's not finding the unet keys because I am passing in a checkpoint of a VAE without the UNET stuff?

I might be able to comment out the code not related to the VAE in the ./convert_original_stable_diffusion_to_diffusers.py script 🤔

Hmm, pretty sure this is how I did it, but I get the same error now, so perhaps something has changed or I misremembered.
Have you tried having it download the vae from HuggingFace instead, by setting:
--pretrained_vae_name_or_path="stabilityai/sd-vae-ft-mse"

@futurevessel Yes, downloading the default VAE from stabilityai/sd-vae-ft-mse works as that repo has the VAE in ".bin" format. However in the stabilityai/sd-vae-ft-mse-original repo the VAE is stored as vae-ft-mse-840000-ema-pruned.ckpt and so it throws an error when I try to run training :/

Here is the error:
Entry Not Found for url: https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/diffusion_pytorch_model.bin.

Ok, but if you just leave the --pretrained_vae_name_or_path="stabilityai/sd-vae-ft-mse" as is, it should load the VAE from the place where the download ended up, on my Linux system that is .cache/huggingface/diffusers/models--stabilityai--sd-vae-ft-mse/
I don't get an error when using --pretrained_vae_name_or_path="stabilityai/sd-vae-ft-mse" when I train. On the other hand, does this even affect training at all ? Because when I remove these VAE files and make it download them again, that download is only triggered when it starts generating preview samples, not when it starts training, meaning that the training done up until the first preview samples are generated, certainly doesn't make use of this VAE file.


(#Watch Video#) Jaden Newman L𝚎aked-Video on Twitter

(#Watch Video#) Jaden Newman L𝚎aked-Video on Twitter
Jaden Newman Leaked Video on Twitter. Jaden Newman Leaked Video New collections of  Jaden Newman Leaked Video now being a creator on Fanfix uploading adult contents. Social media star  Jaden Newman Leaked Video been posting short Videoos and naughty pics on Tiktok platform for a while now.
Watch 🟢 ➤ ➤ ➤ 🌐 Click Here To link (Full Viral Video Link)
🔴 ➤►DOWNLOAD👉👉 (Full Viral Video Link)
Jaden Newman Leaked Video New collections of  Jaden Newman Leaked Video now being a creator on Fanfix uploading adult contents. Social media star  Jaden Newman Leaked Video been posting short Videoos and naughty pics on Tiktok platform for a while now.
The purported leak has stirred a maelanage of reactions, from disbelief to morbid curiosity, marking yet another chapter in the saga of celebrity scandals that have dotted the landscape of pop culture. However, this isn't the first rodeo for  Jaden Newman Leaked Videowhen it comes to rumors of a sex tape. In March 2024, similar whispers emerged, only to be debunked as baseless. The rapper, known for hits like In Ha Mood vehemently denied the rumors, critiquing the eagerness of some to believe in such falsehoods.
On Monday March 18, formerly known as Twitter, became abuzz with speculation that a leaked sex tape featuring  Jaden Newman Leaked Videowas readily available online. However, instead of the, there are dozens of pages promising to release the Videoo in exchange for interaction with their post.
The recurrent theme of leaked tapes and the subsequent fallout serves as a reminder of the fragility of reputation in the digital era. As the lines between private and public life continue to blur, celebrities like  Jaden Newman Leaked Videofind themselves at the mercy of internet chatter, where a rumor can ignite a firestorm of speculation and judgment.
In the ever evolving landscape of celebrity culture, the Ishowspeedscandal underscores the relentless pursuit of sensationalism, a pursuit that often comes at the expense of truth and dignity. As we navigate the complexities of the digital age, the line between entertainment and exploitation remains perilously thin.
As the situation unfolds, the truth remains shrouded in mystery, leaving the public to ponder the authenticity of the rumors. In a world where fame and infamy are two sides of the same coin, the saga of Ishowspeedis a testament to the power of social media to shape narratives and challenge the boundaries of privacy and consent.


Flow Graph: glTF parsing v1

I'm opening the PR early on so I can collect some feedback on it.
The main method of parsing is to first convert from the glTF format to a serialized Flow Graph format, then, parse that serialized graph.
Some additional changes are:

Many node sockets had their names changed so they match better the glTF names, such as "onStart" -> "in", "onDone" -> "out", "leftInput" -> "a", "rightInput" -> b.
Most math nodes were deleted and new math nodes are being added that are polymorphic, so the type of the operation inputs doesn't need to be known in advance. The rest of the math nodes will be added later.
The Play/Pause/Stop Animation and Play/Stop Sound nodes were deleted, and will be reinstated once the corresponding glTF nodes are more clearly known. Also, an AnimateTo node was added, since it was on the spec examples.
A GetProperty node was added.
Some nodes had input values moved to configuration values, such as the GetVariable node.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Reviewer - this PR has made changes to one or more package.json files.

cc @bghgary for the changes in loader and the KHR extension

cc @bghgary for the changes in loader and the KHR extension

Elaborating a bit on why the changes in the loader were made: in the interactivity extension, there are some nodes whose JSON paths are only resolved at runtime. For example, the SetProperty node might have a path of /nodes/{nodeIndex}/translation, where {nodeIndex} is a value that is only known at runtime. Because of this, I needed to save all references in form of /nodes/0, /nodes/1, /nodes/2 as variables in the flow graph, so they are accessible at runtime.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Reviewer - this PR has made changes to one or more package.json files.

Snapshot stored with reference name:
refs/pull/14500/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14500/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14500/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14500/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14500/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14500/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14500/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14500/merge#BCU1XR#0

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

Reviewer - this PR has made changes to one or more package.json files.

I'm good with this for now from the glTF perspective. As we discussed offline, there is a refactor that needs to happen to support the conversion of the glTF's object model to Babylon's object model and vice versa. The KHR_animation_pointer has a different implementation that is redundant with the KHR_interactivity. This will cause maintenance issues as well as making it harder to implement the exporters for these extensions. It would be good to file an issue to track this and also add a comment to the code pointing to this issue.

@carolhmj - want to track that?

Reviewer - this PR has made changes to one or more package.json files.

FYI - This will be merged after a meeting we have later today.


split_with_window_picker

Hello, I m curious if this feature would be possible (or is already?).
Basically w (default bind) allows us to select where the window opens, but if I want it to appear in split, I have to create split, then close neo-tree, open it again (because that way the last split that had focus is that new split ...or simply make sure that I get to neo-tree from that new split) and then use w to place new file there.
Those are many steps I do quite often. Is there a better way? I would even suggest to take approach that nvim-tree took, and basically defaulting to pick destination every time when destination is not 100% determined, when you have more than one split opened.
The same thing should apply to vsplit.
Subjective opinion:
I understand that it has some advantages to have this picker as a optional dependency, but imho this should be default because the way it "chooses" where to open is something I have to keep in mind every time I open split. I even made open_with_window_picker my default opener, because that does exactly what I m proposing here with splits.

I think it would actually be a simple change to create a "split from chosen window" command. I'll put it on the list. There's probably enough information in the wiki to build one in your config as well if you want to take a shot at it.


Is there any possibility to put arguments in the builder pattern.

I mean, I can show an example actually, for example, I made that design for any Java project actually but it would be good if we can implement it into Bukkit;
(example from commands )
// For the bukkit projects.
final class BukkitCmdTest {

    @NotNull
    final JavaPlugin plugin;

    BukkitCmdTest(@NotNull final JavaPlugin plugin) {
        this.plugin = plugin;
    }

    void creation() {
        final BukkitCmdRegistry registry = new BukkitCmdRegistry(this.plugin);
        final BukkitCmdBasic command = new BukkitCmdBasic("test-command", "test-aliases")
            .permission("plugin.test-command.main")
            .guard(context ->
                true)
            .execute(context -> {
                // executes /test-command
            })
            .createSub("help", subCmd -> subCmd
                .permission("plugin.test-command.help")
                .executePrevious(true))
            .createSub("giveseed", seedsub -> seedsub
                .permission("plugin.test-command.giveseed")
                .executePrevious(true)
                .createSub("seeds", seedssub -> seedssub
                    .type(ArgType.text("<seed-name>"))
                    .executePrevious(true)
                    .createSub("player-argument", playersub -> playersub
                        .type(BukkitArgType.players())
                        .execute(context -> {
                            // executes /test-command giveseed <seed-name> <player> [amount]
                            final int size = context.args().size();
                            final int amount;
                            final Player player;
                            if (size == 4) {
                                amount = context.arg().asNumber(Integer.class, "[Prefix] > Input a number!");
//                                player = context.previous().asPlayer("[Prefix] > Player not found!");
                            } else {
                                amount = 1;
//                                player = context.arg().asPlayer("[Prefix] > Player not found!");
                            }

                        })
                        .createSub("amount-argument", amountsub -> amountsub
                            .type(ArgType.integer("[amount]"))
                            .executePrevious(true)))))
            .createSub("reload", reloadsub -> reloadsub
                .permission("plugin.test-command.reload")
                .execute(context -> {
                    // executes /test-command reload
                }))
            .createSub("list", subCmd -> subCmd
                .executePrevious(true)
                .createSub("page-argument", pagesub -> pagesub
                    .type(ArgType.integer("[page]"))

                    .execute(context -> {
                        // executes /test-command list [page]
                    })))
            .createSub("perm", subCmd -> subCmd
                .permission("plugin.test-command.perm")
                .executePrevious(true)
                .createSub("list", listsub -> listsub
                    .permission("plugin.test-command.perm.list")
                    .executePrevious(true)
                    .createSub("page-argument", pagesub -> pagesub
                        .type(ArgType.integer("[page]"))
                        .execute(context -> {
                            // executes test-command perm list [page]
                        })))
                .createSub("add", addsub -> addsub
                    .permission("plugin.test-command.perm.add")
                    .executePrevious(true)
                    .createSub("player-argument", playersub -> playersub
                        .type(BukkitArgType.players())
                        .execute(context -> {
                            // executes test-command perm add <player>
                        })))
                .createSub("remove", removesub -> removesub
                    .permission("plugin.test-command.perm.remove")
                    .executePrevious(true)
                    .createSub("player-argument", playersub -> playersub
                        .type(BukkitArgType.players())
                        .execute(context -> {
                            // executes test-command perm remove <player>
                        }))));
        registry.register(command);
    }

}

I know it's possible with some tricky ways but, is there any simple way to do that?

Hi,
So I see where you're coming from - why the builder pattern is suitable for this sort of thing. Since it's late at the moment, I'll try and keep this brief.
There are multiple different ways to approach command registration patterns. A few of the most common ones are:

A builder pattern, such as Mojang's brigadier
An annotation-based approach, such as ACF
Whatever pattern Bukkit uses where you just override some onCommand() method.

The CommandAPI was originally designed to mimic Bukkit's format - a simple declarative approach for arguments, followed by a "simple" builder-like approach for commands where the main "command execute" is the main part of the code. This design was chosen since it makes it somewhat simpler to switch to for developers that are already comfortable with the standard Bukkit system.
I personally found that the builder pattern quickly becomes very complicated. For example, Mojang's brigadier's builder system tends to be very verbose and hard to understand when looking at it from a glance. The CommandAPI's design where arguments are declared first, then commands are defined later is a little more intuitive and it allows developers to easily comment their code and segment it into the two main parts: arguments (type checking) and commands (execution).

As you can see from your example, it's very verbose. It's one giant expression to register one very complex command.
command
  subcommand
    subcommand
      subcommand
  subcommand
  subcommand
  ...

Without indentation, it's near-impossible to comprehend. The CommandAPI's design lets you easily identify parts of the command since code generally follows this structure:
arguments
command

arguments
subcommand

arguments
command

...

For these main reasons, I don't plan to change the pattern for command and argument declaration in the CommandAPI. If you want to write a separate wrapper that adds the builder pattern for arguments, by all means feel free, but this is not a suggestion that I ever plan to consider due to it failing to meet one of the the basic specifications of the project (Being somewhat similar to the Bukkit API's command declaration).

Today is your lucky day.

Implemented subcommands in commits 23ba9938213a3b41dbb33b6ca70e135f855fbac3 .. d21da5bb0b3b2ac738613dcc82914fc07e991535, which can be used with a builder-pattern style of programming. This has been scheduled for v5.0 release. Extra kudos go to Minenash and Blocky Borzan for helping to make this feature a reality!


Fix #62 - Follow specs for CharsetData un/escape

This MR does the following:

it keeps parsing of entities decoded
it escapes only <, >, and & in text and comments, plus 160 char as

This MR should close https://github.com/WebReflection/linkedom/pull/64 too.

This MR should close https://github.com/WebReflection/linkedom/pull/64 too.
One thing I am trying to wrap my head around, is that the text escaper rightly parses only <, >, and &, as specs suggest, but I'm not sure what <div>&amp;</div> would do ... likely it'd be converted into & but then it should go back to &amp; if that was the original input, so I need to improve somehow "something" ... either flipping the logic around or something else.

OK, latest change should address that specific & use case.

I'm sorry this took me so long, it appears this works for us up to version 0.9.3 and then something breaks again. This is fine for us right now but we will eventually try to upgrade, i'll be in touch and thanks again!


Distribute as JS and HTML?

Just wondering, since this is a pure JS lib, would it make sense to distribute as both a .min.js and a .html file, like simpla-paths?

Yup I'm pro this 👍

Only thing is I don't know if script tags dedupe... do they?

After all that's the whole point of a shared behavior (unlike simpla-paths)

Nah, they don't dedupe. It's much of a muchness - we probably won't use it, so maybe just leave it off until either we have a need, or someone else uses this and asks for it? Its just if someone else wants to be able to take this and bake it into whatever they're doing, then they'd want a UMD module to consume I'd say.

Hmm I'd say let's just leave it as HTML for now, can always re look when native ES6 modules roll around and can properly dedupe JS


Can this library support Android 10 and other questions?

I assign the sim no '2 'in the makePhoneCall api and  make a phone call.
The device still use the sim 1 to start a call. (Android 10)
However, I use the same app in another phone (Android 12), It doesn't.
Does this lib support Android 10?
Can you tell me your Android env and flutter version for this lib?
Thank you!!!

Hello there that is a known bug that i'm unable to solve. I'm using android 11 (Poco F1) and android 12 (Samsung) I also found the issue in the samsung device a  default sim doesnot work i have to choose a sim in the samsung device by myself.
Thank you


chore: test bundler module resolution

This is a 'canary' pull request. It aims to ensure that the ecosystem is ready for a shift in the default Nuxt TypeScript module resolution from 'Legacy' to 'Bundler': https://github.com/nuxt/nuxt/pull/24837. You'll need to run your build + type checking tests to verify that things still work; I'm hoping that CI will do that for us so we get an immediate indication of whether there's anything to investigate further here.
'Bundler' module resolution is recommended by Vue and by Vite, but unfortunately there are still many packages that do not have the correct entries in their package.json.
This might include this module or packages that are used by this module. You can see, for example: https://arethetypeswrong.github.io/?p=nuxt-graphql-server. The initial red X for node10 needs to be fixed in https://github.com/nuxt/module-builder; you can ignore that for now.
If there are any errors reported in CI for this PR, it would be good to fix them for the sake of any users of this module who enable the Bundler module resolution. Feel free to ping me or others on the Nuxt Discord if you need any help resolving any issues discovered by this PR - and feel free to check out https://github.com/nuxt/nuxt/pull/24837 for any feedback or comments from others affected.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.72%. Comparing base (5e88764) to head (67a330e).
Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##            main      #82       +/-   ##
==========================================
+ Coverage   4.03%   78.72%   +74.69%
==========================================
  Files          7        7
  Lines        248      188       -60
  Branches       8       13        +5
==========================================
+ Hits          10      148      +138
+ Misses       232       37      -195
+ Partials       6        3        -3

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

Sorry for the late response. Now that 3.10 is already out (and used in the playground) and sets the bundler module resolution as default, this PR is no longer needed, right?


Add interpreter.Engine to SPV Client, and use in payment validation

blocked until we sort out the genesis flags stuff to handle pre-genesis txs/utxos being spent that need to be validated


Question about BalancedClickhouseDataSource

Old Driver [ru.yandex.clickhouse] has class BalancedClickhouseDataSource， which can be used for assigning multiple hosts，
New Driver [com.clickhouse.jdbc.ClickHouseDriver]， if plan to support BalancedClickhouseDataSource?

Hi @zcw5116, sorry the feature is still under testing. It will be part of 0.3.2-patch10 which hopefully can be released by this weekend.
Basically, there's no BalancedClickhouseDataSource. You just need to specify multiple endpoints in connection string. For examples:

load balancing among 3 endpoints
jdbc:ch://(http://localhost),(grpc://localhost),(tcp://localhost)/mydb?load_balancing_policy=random&health_check_interval=10000
load balancing for specific cluster with node discovery
jdbc:ch:http://node1,(grpc://node2?auto_discovery),{node3?!auto_discovery}/mydb?cluster=cluster1&load_balancing_policy=roundRobin&health_check_interval=5000&discovery_interval=30000
custom load balancing policy
jdbc:ch:http://node1,node2,node3/test?load_balancing_policy=com.my company.integration.clickhouse.DcAwarePolicy&health_check_interval=5000

I noticed quite some connection refused errors during stress testing against master nodes(the ones running clickhouse-keeper), so I'm going to add naive failover tonight to address that.


add es token

官方公告：
暂无
团队背景：
整个交易团队来至于全球知名金融产品交易团队。拥有多年的交易经验。
项目基本情况：
Every Day Trading System 正是要打造这样一个全民共建，全名共享的 100%币股同权的未来分布式的自动量化交易软件，未来分布式的超级金融 市场、未来数字资产时代的金融基础设施
媒体报道：
暂无
收录的交易所：
暂无
转账所需 Gas Limit（对 ERC-20 项目方）：60000

Official announcement:
no
Project team background:
The whole trading team comes from the world-renowned financial products trading team. Years of trading experience.
Project basic information:
Every Day Trading System is to create such a future distributed automatic quantitative Trading software jointly built by the whole people and Shared by 100% currency and shares with the same rights, as well as the financial infrastructure in the future distributed super financial market and the future digital asset era
Media publications:
no
Tradeable exchanges:
no
Recommended Gas Limit (For ERC-20 project teams) for transaction: 60000

请提交更完整的PR信息


crouton can no longer be run while mounted in /tmp/

Please paste the output of the following command here: sudo edit-chroot -all

name: delta
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/delta...
crouton: version 1-20200428114634~master:67dc8d77
release: buster/bullseye (distro upgrade work in progress.)
architecture: arm64
xmethod: xiwi
targets: audio,xfce,extension,xiwi
host: version 13020.67.0 (Official Build) stable-channel kevin
kernel: Linux localhost 4.4.217-17433-gafff2d852d1f #1 SMP PREEMPT Tue Jun 2 00:50:29 PDT 2020 aarch64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/delta...
Please describe your issue:
crouton -n delta -u fails because /tmp is no longer a directory scripts can be executed if they are mounted there.
sh: 0: Refusing to exec /tmp/crouton-installer-cache/crouton from noexec mount; see https://chromium.googlesource.com/chromiumos/docs/+/master/security/noexec_shell_scripts.md
If known, describe the steps to reproduce the issue:
run crouton -n $CHROOT_NAME -u on the latest version of ChromeOS, it will fail, enter-chroot will continue to work though.

@Asternitix,
I just installed a bullseye chroot using the identical targets and then updated the chroot and could not repro this issue. I'm using an x86_64 CPU not ARM but I don't think that matters here.
Have you downloaded a fresh version of crouton and installed it using the new method?
Hope this helps,
-DennisLfromGA

Are you using the latest version of ChromeOS?

@DennisLfromGA Yes, I have. it now works, thank you

I had this same issue today. Downloading a fresh version of crouton fixed it for me too. Thank you both.


Unable to use bash.exe after installing centos:6

Using WSL on Windows build 10.0.14393 centos:6 installs without and warnings/errors. However, when trying to run bash.exe it silently exists with a non-zero exit code.
C:\WSL-Distribution-Switcher-master>python.exe install.py centos:6
[*] Probing the Linux subsystem...
[*] Default user is root at /root.
[*] Reading /etc/{passwd,shadow,group,gshadow} entries for root...
[*] Beginning extraction...
[*] Backing up current rootfs to rootfs_ubuntu_trusty...
[*] Switching to new rootfs...
[*] Writing entries of root to /etc/{passwd,shadow,group,gshadow}...

C:\WSL-Distribution-Switcher-master>bash.exe

C:\>echo %ERRORLEVEL%
139

C:\>

The same fault.but I switch back default subsystem bash is work.


settings: Fix play button not playing selected sound.

Fixes: #26598

This PR fixes the issue of play button not playing the selected sound in the dropdown in default user settings.
Fixes: https://github.com/zulip/zulip/issues/26598

Screenshots and screen captures:
https://github.com/zulip/zulip/assets/119798962/629458e6-dd02-4b8e-88d7-7391dea12f83

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

@karlstolley Can you please review this PR?

@Vector73 you would need to squash your commits into one. You can take a look at https://zulip.readthedocs.io/en/latest/contributing/commit-discipline.html for details.
Have you thought about calling update_notification_sound_source when the dropdown value is changed instead of calling it everytime the play button is clicked?


[WinUI 3 Gallery] Visual update bugs

Describe the bug
Congratulation on the visual update! I have found several visual bugs in WinUI 3 Gallery, they are all too minor to be a standalone issue and there are too many of them so I have grouped all of them here.

The window has weird shadow when content is extended into title bar

You can see the shadow is dark than usual.

Link banner width isn't adaptive

Some part of "Template Studio" is clipped. It happens at basically all breakpoints.

Top banner not respecting image aspect ratio

I believe we should use UniformToFill instead.

Home's title is going out of the banner image

Notice how the bottom part of "p" is getting out of the banner. The text should stay within the image. Best to have some bottom padding for the text.

Navigation back from control detail page to list page still has the awkward connected animation where the title is animated back into list item, and then the list title would abruptly show up.
Clicking back in a control detail page, see title is being animated as list item

Settled down, notice how the title is missing

And then the title just abruptly shows up

Expected behavior
The title and list view item doesn't animated, use drill-in's reverse animation as navigating into control detail page is now using drill-in animation. Just like WinUI 2 control gallery.

Newly created window doesn't extend content into titlebar, showing 2 app title at once.

After creating new window in window -> Create Multiple Windows page, the first window's title bar isn't draggable. All caption button visually react but don't actually do anything upon click either.

The design of caption button of the default titlebar when extend into title bar is set to true is different than the system one. The rendering is also bad, notice the 1-pixel "dirt" on the maximize button. System's maximize button also has anti-aliasing "artifact" in the form of extra grey pixels but at least those are at the corner.

Version Info

Gallery version (found on Settings page):
<IP_ADDRESS>
Windows 10 version:

[x] Insider Build (22621.1)
[ ] November 2019 Update (18363)
[ ] May 2019 Update (18362)
[ ] October 2018 Update (17763)
[ ] April 2018 Update (17134)
[ ] Fall Creators Update (16299)
[ ] Creators Update (15063)
[ ] Anniversary Update (14393)

Device form factor:

[x] Desktop
[ ] Mobile
[ ] Xbox
[ ] Surface Hub
[ ] IoT

Thank you very much @roxk for taking the time to file this issue and for the kind words. We hope that you like the visual update! Regarding the bugs you mentioned, we are aware of some of them and are actively working to fix them. To give you insights as to why we didn't wait to fix those bugs before updating the apps in the Store: The community had been requesting a Store update for a long time so we wanted to get an update in the Store before the May Community call (May 18th). We didn’t feel like those bugs should block the Store release. This is not to say that those bugs are not important: we want the WinUI Gallery to be the best reflection of the Microsoft Design principles. So as soon as the fixes for those bugs are in, we will push out another Store update. Thanks again for filing this issue and let us know if you find any other bugs :)

I can add one (possibly related to number 6?)
When clicking the button Reset to system title bar the colored title bar is added

When I set navigation style from left to top, I can’t select any menu items. I’ve tried on Windows 10 and Windows 11, same issue. Thanks

What I also noticed is that the coloured top border is missing and when moving the window there are errors that it drags and the theme background is just visible.

Is this still an issue with the latest version?

Closing since all of the issues seem to be resolved. If you noticed one of them not being fixed, feel free to reopen @roxk!


Level Up

XP and level is now being tracked.  What happens when a character levels up?
Needs more research before implementation.

You will receive more HP + sparkly particles.


[Create news] The system allows to add PNG image more than 10 Mb in "Picture" field

Environment: Windows 10; Google Chrome - v.104.0.5112.102
Reproducible: always.
Build found: 17.09.2022
Steps to reproduce

Go to https://www.testgreencity.ga/GreenCityClient/#/
Sing in as a user
Go to "Eco news" page
Click on "Create news" button
Click on "browse" link in "Picture" field
Add image PNG format, more than 10 Mb

Actual result
We can add PNG image more than 10 Mb
Expected result
System doesn’t allow to add PNG image more than 10 Mb
User story and test case links
E.g.: "User story #537
Test case"

Duplicate #4609


LFO

Loving the westlicht but I'm missing some quick LFO functionality.
A way to implement this would be to introduce "LFO" as a track mode. Then, under "steps" there's a menu simular to the MIDI/CV mode menu with the following options "waveshape", free running / tempo synced" and "sync multiplier / divider". The CV out for the selected track than outputs the LFO.
Future updates can be the inclusion of single cycle waveforms, linking LFO tracks to combine waveshapes, drawing of LFO's like the functionality under curve.
or...
this could be a generator under the Curve mode. The LFO generator would than co-exist with the Euclidean and the random.

You can already create a tempo-synced LFO using segments in a Curve track.
That said, there is a limit on how slow a segment can play back, relative to the project tempo.
One of the proposed enhancements is the ability to allow curve segments to span multiple steps, though, so with that in place, creating a wide variety of repeating LFO shapes would be easy.

I also think you can achieve most of that using the curve track. Just make a 1 or 2 step sequence and play with the divisor. What I might add in a future update is even larger divisors to have even slower sequences :) the "curve tie" feature is also in development, although I haven't found a sweet spot just yet.

What I might add in a future update is even larger divisors to have even slower sequences

Yes, great!

I just experimented with the proposed setup in a curve track and that's working perfectly. Slower sequences are even better so looking forward towards the larger divisors.

@sinneb in the (current) absence of larger divisors and extended curve segments, you can set a low tempo (say, half the intended tempo), then set smaller divisors (ie 0.5x the normal size you'd use) for your non-LFO tracks. That way, you can get even slower LFOs.


Using alias for imports broke storybook 😂

As the title suggest, storybook can't find the components when using aliases. This is fixable by tweaking the configuration file for storybook. This issue was just to let everyone know about it.

Noted

L storybook


ci-status seem broken – always returns 'no status'

No matter what I try it seems, I can't get hub ci-status to give me something other than 'no status' – not even for this repository:
$ git remote -v
origin	git://github.com/github/hub.git (fetch)
origin	git://github.com/github/hub.git (push)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
$ hub ci-status
no status

The latest commit to master in this repository has [ci skip] for Travis, meaning that "no status" is expected here since this commit has never been tested: 4777bd363058213605ebb292b35ef1a6edb3663c
However if you specify any other commit, it should work: hub ci-status origin/2.2-stable
Do you have the latest version of hub?

Ah, forgot about [ci skip] – my apologies 😄
2.28 works as expected.


Can't build react-native project for ios 11

Is this a bug report?
yes
Have you read the Contributing Guidelines?
yes
Environment

react-native -v: react-native: 0.47.1
node -v: v6.11.2
npm -v: 3.10.10
yarn --version:  0.27.5

Target Platform: ios 11
Development Operating System: macOS 10.12.6
Build tools: xCode Version 9.0 beta 6 (9M214v)

Steps to Reproduce
I created an expo app with create-react-native-app
and ejected it to use expokit: yarn eject. Goal was to use arkit in this project (IOS).
In xcode i run it on a real device.
Expected Behavior
It should build
Actual Behavior
Build in xcode fails with
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_RCTSRWebSocket", referenced from:
      objc-class-ref in libReact.a(RCTInspectorPackagerConnection.o)
  "_OBJC_CLASS_$_RCTReconnectingWebSocket", referenced from:
      objc-class-ref in libReact.a(RCTPackagerConnection.o)
ld: symbol(s) not found for architecture arm64

I managed to fix it.
I forgot to mention that I needed to do this step here:
https://stackoverflow.com/a/41488258/1463534
but i had to react-versions there, one from pods and one that i added manually to libraries. moving to the pods version fixed the issue here.

i was too early. My coworker checked it out and could not build it. I know did a clean and can't build it again with the same error. Very weird.

0.48 is the newest version, can you try with the latest release and update your issue accordingly if it repros?

Having the same issue, after upgraded xcode 9, my project won't work again.

@djalmaaraujo @macrozone It's a strange question but I just fix it. In Xcode 9,Select your project target -> Build Settings -> Other Linker Flags . Add -ObjC complication arguments in debug mode.It is worked for me.

Thanks all for your replys.
I could fix it. As mentioned, expo uses cocoapods for react dependencies.
(DISCLAIMER: i am very new to react-native and ios development and could be totally wrong)
third party react-native libraries might reference react header files in their "Header Search Paths" by looking into "$(SRCROOT)/../../react-native/React/**",
This seems to fail on cocoapods project. They need to search for the header files in "../../../ios/Pods/Headers/Public/**", which is the relative path from the libraries folder inside node_modules to the Pods directry inside your project.
If i add this folder to external libraries, it just builds fine. Do NOT do anything like this: https://stackoverflow.com/a/41488258/1463534 (link from above) as this might lead to other build errors like the one mentioned above.

I'm getting the same errors after upgrading existing project to 0.48.3.
I'm using a Podfile with only 'Core' and 'DevSupport' subspecs of react native. The other libraries are included via Xcode. I've tried removing CocoaPods entirly, but it keeps giving me the same error as above.

I'm getting the same errors after upgrading existing project to 0.48.3.
I'm using a Podfile with only 'Core' and 'DevSupport' subspecs of react native. The other libraries are included via Xcode. I've tried removing CocoaPods entirely, but it keeps giving me the same error as above.

I fixed by upgrading react-native to new versions.

Closing as original author was able to resolve their issue. Please open a new issue with new details if you run into a similar problem.

I'm experiencing this @macrozone error. It is true that his answer in stackoverflow fixes the compilation issue.
However, when I start the app I see Native module cannot be null. If I dismiss the error then I get.
No component found for view with name "RCTText". All these errors are clearly produced by bad linking that is not triggered in compilation phase.
My setup is:

XCode 8.2.1
IPhone 5s iOS 10.3.2

I'm using Cocoapods for react-native with subspecs like this:
  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'BatchedBridge',
    'DevSupport',
    'RCTText',
    'RCTImage',
    'RCTNetwork',
    'Core',
    'RCTWebSocket',
  ]

My feeling is that something is not correct with cocoapods, and this is causing the problems. But not sure what. The funniest thing for me is that buddybuild compiles my project without issues at all.
Maybe this helps someone shed some light on this. I wouldn't say this issue is closed.

Ok, I've just updated to:

Xcode 8.3.3
node 6.11.1
mac OSX High Sierra

My application is using RN 0.48.3 (lastest available today)
It hasn't worked, still the same linker error

Ok, I got it to work adding all my podspecs dependencies as .xcodeproj to Libraries and linking them in binaries, the old fashioned way. I had to add RCTText,  RCTNetwork, RCTWebSocket, RCTImage...
When I do this it compiles perfect in my local machine, but now it fails in buddybuild with duplicate symbols:
ld: 295 duplicate symbols for architecture arm64

Errors like this one:
duplicate symbol _OBJC_IVAR_$_RCTWebSocketModule._sockets in

It is obvious to me, that something is wrong with my local cocoapods, not sure what. Buddybuild states to use the same version as in my Podfile.lock and iOS project settings are the same. So it has to be a bad local cache or some magic they do.

Same here with High Sierra, 0.48.4 and XCode 11.

Today I found out, that it archives correctly using xcodebuild. So If I do:
xcodebuild archive -scheme Debug -workspace MYPROJECT.xcworkspace -configuration Debug BITCODE_GENERATION_MODE=bitcode ONLY_ARCHIVE_ARCH=NO -jobs 2 DEBUG_INFORMATION_FORMAT=dwarf-with-dsym

However if I remove archive, it fails with:
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_RCTReconnectingWebSocket", referenced from:
      objc-class-ref in libReact.a(RCTPackagerConnection.o)
  "_OBJC_CLASS_$_RCTSRWebSocket", referenced from:
      objc-class-ref in libReact.a(RCTInspectorPackagerConnection.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@dotansimha I believe latest XCode is version 9, I've tried that too.
I'm quite confident this is not related to XCode, mac os version or node. It's some XCode build setting or something like that.

I believe I managed to find a solution for this, the final issue is either 2 libReact.a during linkage, or 0.
My Podfile contains this now:
  pod 'DoubleConversion', :podspec => react_native_path + '/third-party-podspecs/DoubleConversion.podspec'
  pod 'GLog', :podspec => react_native_path + '/third-party-podspecs/GLog.podspec'
  pod 'Folly', :podspec => react_native_path + '/third-party-podspecs/Folly.podspec'

  pod "Yoga", :path => "#{react_native_path}/ReactCommon/yoga"
  pod 'React', :path => '../node_modules/react-native'

  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'DevSupport',
    'CxxBridge',
  ]

Also, with this in the end, to avoid libReact.a compiled in the Pod project:
post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.name == "React"
      target.remove_from_project
    end
  end
end

Then, my XCode project is using libReact.a and libRTCWebSocket.a:

This way, I managed to finally be able to both run in Simulator and Archive for the store...
Using XCode 9, RN 0.48.4, compiling the xcodeworkspace.
@maraujop

Thanks @dotansimha You are right! there is a combination of libraries in cocoapods and libraries manually linked in Libraries in XCode, that gets both the simulator and archive working in all schemes. I'm finally out of the hole!
Thank you so much!

An alternative solution where the "target.remove_from_project" part can be skipped, is to have two targets, one for cocoapods, where the react modules aren't manually linked, allowing for release build and archive, and another for debugging where they are manually linked. Release build / archive might still require issuing the command using the CLI, but at least it can be manually installed to the simulator, and shows up in the organizer.


Using credit card, PKOIN buyer never received code

Challenge
Hi there Bastyon and Indacoin enthousiats :)
I'm trying to buy PKOIN using the link on the Bastyon website. But it always failed. As I never received the email with the validation code.
I'm new to Bastyon, I searched the GitHub repositories owned by pocketnetteam but found none about the website at https://bastyon.com So feel free to move this ticket/issue to another repository
Steps to reproduce

Go to https://bastyon.com/index

Click on the PKOIN balance link. Which is located at the top right side of this page. This link goes to https://bastyon.com/userpage?id=wallet

On this page, click on the "Buy with credit card" button. This link goes to https://buy.pkoin.indacoin.io/index?address=<MASKED WALLET ID>

Fill the form

At steps 2, it reads "Verify your contact information" "We have sent the code to your contact. Please enter this code below."

Wait more than 30 minutes or more than 48 hours. No email is received.

After 15 minutes. Click the "Get new code" link also failed. As no email is received.

What I tried that failed

Check the spam folder
Firefox 102
Chromium 106
Deactivate Proxy/VPN
Deactivate all browser plug-in
I tried<EMAIL_ADDRESS>email address. But this also failed. Same steps to reproduce above.
I tried<EMAIL_ADDRESS>email address. But this also failed. Same steps to reproduce above.
I tried<EMAIL_ADDRESS>email address. I really do NOT like Gmail. Because they have a very long history of weak privacy, weak security, and censoring people how have lawful feelings or thought different than theirs. I used Gmail just for testing this.

Speculation about the cause
Clouflare blocks emails
Maybe somehow cloudfare blocks some email
I noticed that Indacoin uses both Gmail and Cloudflare. Indacoin are really welcome to choose any suppliers to their liking. The risk with Gmail and Cloudflare is that they have a very long history of weak privacy, weak security, censorship, and blocking their user's accounts. For example, but not limited to, they increasingly censor and block people who have lawful feelings Gmail or Cloudflare disagree with. Are they afraid of personal growth? Afraid of diversity of feelings or thoughts?
To resolve this challenge, our favourite email suppliers are https://mailbox.org and https://posteo.de We tried email addresses hosted with both. In both cases, buying with Indacoin failed.
Indacoin clients, such as PKOIN and Bastyon.com are interested in strong privacy. By choosing email and cloud suppliers who protect privacy, Indacoin's services would be much more attractive. In turn, increase their income.
Cheers,
Francewhoa

Reply from Indacoin
Indacoin Support
Fri, 10/07/22 3:28 pm

Hello! Thank you for the update. We forwarded information to our team and will get back to you as soon as there is an update from them.

Reply from Indacoin

Subject: 	Re: Ticket #
Date: 	Mon, 10 Oct 2022 15:05:13 +0000
From: 	Indacoin Support
Reply-To: 	Indacoin Support
To:
Message ID<EMAIL_ADDRESS>Hello! Our developers investigated and fixed the problem. Please try again and feel free to contact us if you have any other questions!

We also observe problems on the part of IndaCoin and stay in touch with them to solve the problem.

https://github.com/pocketnetteam/pocketnet.core/issues/431

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble check this fix, i see it in another issue,
https://github.com/Jostino/RimWorld-it/releases/tag/fix
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx


Update dependencies

We still have to wait for algebra to be ported to cats 1.0: https://github.com/typelevel/algebra/pull/207

Codecov Report

Merging #7 into master will decrease coverage by 97.86%.
The diff coverage is 0%.

@@           Coverage Diff            @@
##           master    #7       +/-   ##
========================================
- Coverage   97.86%    0%   -97.87%
========================================
  Files          19    14        -5
  Lines         892   788      -104
  Branches       68    69        +1
========================================
- Hits          873     0      -873
- Misses         19   788      +769

Impacted Files
Coverage Δ

core/src/main/scala/com/rklaehn/abc/ArraySet.scala
0% <0%> (-100%)
:arrow_down:

...e/src/main/scala/com/rklaehn/abc/BinaryMerge.scala
0% <0%> (-100%)
:arrow_down:

core/src/main/scala/com/rklaehn/abc/Hash.scala
0% <0%> (-100%)
:arrow_down:

core/src/main/scala/com/rklaehn/abc/package.scala
0% <0%> (-100%)
:arrow_down:

...ore/src/main/scala/com/rklaehn/abc/ArrayUtil.scala
0% <0%> (-100%)
:arrow_down:

...ore/src/main/scala/com/rklaehn/abc/Universal.scala
0% <0%> (-100%)
:arrow_down:

core/src/main/scala/com/rklaehn/abc/SetUtils.scala
0% <0%> (-100%)
:arrow_down:

core/src/main/scala/com/rklaehn/abc/Sorting.scala
0% <0%> (-100%)
:arrow_down:

...main/scala/com/rklaehn/abc/NegatableArraySet.scala
0% <0%> (-100%)
:arrow_down:

...ore/src/main/scala/com/rklaehn/abc/Searching.scala
0% <0%> (-100%)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

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

A new version of algebra has been released. So I updated the dependencies again. I'm not sure how to solve the remaining compile error though:
[error] /home/travis/build/rklaehn/abc/core/src/main/scala/com/rklaehn/abc/Hash.scala:17: method on overrides nothing
[error]   override def on[@sp B](f: B => A): Hash[B] =
[error]                ^

Any ideas?


Any Suggestions for better system prompt

Sometime we do get output of proper gif but sometime it does this :-) idk what to say . Should we improve the prompt ? Did you test with another system message which would use gif irrespective of if we will use /gif command or not ? Like whatever talk is happening it can express its own feeling through gif ?

@Greatz08 Um, I think I can add an input filter so that there's an answer every time.
In the meantime I think the best way to get a gif every time in the meantime is to modify your model and explicitly ask it to punctuate each of its messages with a gif.
For the moment the function is perfectible, I've adapted it from a script I made for my Mattermost bot (hence the use of the command /gif ‘....’).
I'm going to improve it soon. Thanks for the feedback


Fix slow project applicant validation

When a new application is created, the applicants are validated to make sure the same person (same date of birth and SSN suffix) hasn't already applied to the same project. This validation was painfully slow before, it took over a minute in production, because Postgres ended up decrypting all applicants in the database.
The new implementation fetches the project's all DOBs and SSN suffixes first than checks those in Python to make sure only the project's applicants are decrypted. This makes the validation a lot faster when there is a lot of data in the db.

Codecov Report

Merging #383 (515fb3a) into main (a9a5e2b) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #383      +/-   ##
==========================================
- Coverage   90.13%   90.12%   -0.01%
==========================================
  Files         336      336
  Lines       11978    11979       +1
  Branches      854      854
==========================================
  Hits        10796    10796
  Misses       1047     1047
- Partials      135      136       +1

Files
Coverage Δ

application_form/validators.py
91.37% <100.00%> (+0.15%)
:arrow_up:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Correction for raw affiliation Independent Scholar, Beaufort, USA

Correction needed for raw affiliation Independent Scholar, Beaufort, USA
raw_affiliation_name: Independent Scholar, Beaufort, USA
new_rors:
previous_rors: 03w6f4808
works_examples: W4389265500;W4389265435;W4389265437;W4389265485;W4389276366;W4389265461;W4389276404;W4389276506;W4389276408
contact: a27a6dea5193503774e1dc13fed71332:7bf6c5e74e0822abba3b61cd6fa4c1 @ recherche.gouv.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Blazor UserManager not supported Architecture conumdrum

I'm well aware of the reasoning behind SignInManager and UserManager not having official support, even though they mostly work.  And also the guidance to indirectly use AuthenticationStateProvider and directly use AuthorizeView component, and Task<AuthenticationState>.  However, this now creates an architecture conundrum, that unauthenticated users can't be worked with--except using UserManager which isn't supported.
The use case is a simple registration flow, where email confirmation is required prior to SignIn.
A User can be in a registered state  where they have Signed Up (lets say state 1), and confirmation email has been sent (state 2).  Once confirmed, (state 3) Authentication is possible.  While EmailConfirmed tracks that status in the Identity database, a RegistrationState Claim tracks overall progress (states 1-6).
A User in state 1 or 2 cannot be authenticated, and therefore is not accessible to AuthenticationStateProvider (because there is no current user).  Only via UserManager, can the unauthenticated User information be retrieved (e.g. UserManager.IsEmailConfirmedAsync(), or RegistrationState claim [UserManager.GetClaimsAsync() etc.]), which is not a supported approach, hence the conundrum.
Please tell me I've missed something, like
var authState = await AuthenticationStateProvider.GetAuthenticationStateAsync(TUser);

?
Cheers

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

ID: c9942b0a-a7fb-0d34-9201-af0963affa9e
Version Independent ID: 19770710-5225-a1ea-e082-65da6ba4a49a
Content: ASP.NET Core Blazor authentication and authorization
Content Source: aspnetcore/security/blazor/index.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @bdnts ... This falls more into the product feedback bucket. Best bet is to ask about it on the engineering repo. They might have a long-range plan (for Blazor WASM anyway) for the framework to provide some features that would ease setting up that type of flow, but I'm not aware of it if they do. Right now, it's every-dev-for-themselves! ⚔
Ask them directly ....
https://github.com/dotnet/aspnetcore/issues

I am able to use SignInManager and UserManager in server side C# code in my Blazor WASM applications. See the Register.cshtml.cs page in the following Blog post:
http://blazorhelpwebsite.com/Blog/tabid/61/EntryId/4376/Implementing-Roles-In-Blazor-WebAssembly.aspx

The linked Issue in dotnet/aspnetcore: #21199.


docs: remove check switcher

Description
Removing unnecessary flag
Issue linked
No issue
Checklist

[X] I have tested my changes locally.
[X] I have added necessary documentation or updated existing documentation.
[X] I have followed the coding style guidelines of this project.
[X] I have added appropriate unit tests.
[X] I have reviewed my changes before submitting this pull request.
[X] I have linked the issue or issues that are solved to the PR if any.
[X] I have assigned this PR to myself.
[X] I have added the minimum version decorator to any new backend method implemented.
[X] I have made sure that the title of my PR follows Conventional commits style (e.g. feat: extrude circle to cylinder)

@pyansys-ci-bot LGTM.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.94%. Comparing base (21a2090) to head (72ff5a5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1050   +/-   ##
=======================================
  Coverage   89.94%   89.94%
=======================================
  Files          93       93
  Lines        6780     6780
=======================================
  Hits         6098     6098
  Misses        682      682

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


[Event Request] codeunit 410 "Update Analysis View" - OnUpdateOneOnBeforeUpdateAnalysisView

Reference to the old issues marked as complete:
https://github.com/microsoft/ALAppExtensions/issues/19838
https://github.com/microsoft/ALAppExtensions/issues/21354
Not included in the insider Build 22.0.53818.0
Please add parameter ShowProgressWindow to the event.
[IntegrationEvent(true, false)]
local procedure OnUpdateOneOnBeforeUpdateAnalysisView(var AnalysisView: Record "Analysis View"; var TempAnalysisViewEntry: Record "Analysis View Entry" temporary; var Updated: Boolean; ShowProgressWindow: Boolean)
begin
end;

OnUpdateOneOnBeforeUpdateAnalysisView(AnalysisView, TempAnalysisViewEntry, Updated, ShowProgressWindow);

Could we somehow include it in the April release?

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10832.


ensure using 64bit emulator for 64bit binaries

want to use Amd64WorkspaceEmulator:
https://github.com/vivisect/vivisect/blob/master/vivisect/impemu/platarch/amd64.py
need to confirm the emulator is detected and created correctly

It's using the correct emulator

Issues were related to bug in vivisect (see https://github.com/vivisect/vivisect/pull/128)

need to merge this into williballenthin/vivisect

i've merged vivisect 128 into my fork of vivisect