Fixed saving to html and json in Python 3

Fixes https://github.com/ioam/holoviews/issues/979 which ended up throwing bugs in Renderer.save in python3 when a string type was written to file. By defining the MIME type the encoding is applied correctly.
Needs some tests before merging.

Make sure to test this change with the archive functionality. If I remember right, there is code that needs to use the mime type to figure out how to encode the data (bytes vs strings).

If I remember right, there is code that needs to use the mime type to figure out how to encode the data (bytes vs strings).

That's exactly the bit that was failing before I defined these. Will definitely test that.

Ready once tests pass.

Looks good. I'll merge now on the understanding that you did test this with hv.archive.


custom client seems working not as expected with apple silicon mac

I am trying ollama.Client to connect a remote server for chat.
server A: http://<IP_ADDRESS>:11434, ollama installed with docker, ollama-python v0.2.0
local machine: m1 max macbook pro, ollama installed with docker, ollama-python v0.2.0
when using default ollama.chat, i can connect in both environment;
then i tried to connect to server from local machine using

ollama.Client(host='http://<IP_ADDRESS>:11434')

and i received 503 error with '' message when commiting  code
_client.chat(model="svjack/qwen1_5_14b:latest",
        messages=[
            {"role": "user", "content": prompt},
        ],
    ).

At first, i thought it might has something todo with nerwork, so i did some test.
i tried same script directly on server A, and it runs ok.
then i tried ollama webui on local machine, and i changed default url to server A, and it runs ok.(local machine and server A has a different model list, and it changes properly with config change, it proves.)
then it occurs to me that maybe it has something with mac develop envs.
and i tried the same script on the 3rd machine, it also runs ok.
right now i cant say for sure that the issues has something to do with apple silicon, but it is the best guess i can make.

How did you install ollama with docker on your MacBook?
Native Ollama does support Apple Silicon, but we can’t run it on Mac with docker since docker doesn’t support Metal Performance Shaders (MPS), and the only GPU library supported by Docker and viewable as hardware to the image is the Nvidia GPU

sorry, i made some mistake here.
i installed ollama on macbook following the github mac recommendation, ie the zip installer.(i ran open-webui using docker, and i confused here)
the point is, i can run ollama.chat() on my mac properly, but when it comes to the ollama.Client():

host='http://<IP_ADDRESS>:11434', OK
host='http://localhost:11434', 502
host='http://<IP_ADDRESS>:11434', 502
meanwhile, on the server A, i can get proper result using all of the three host configurations above, requesting from server A itself.


Minor edger8r and oeedl_file tweaks.

Enable --header-only option.
Add --edl-search-dir option to oeedl_file.
Lockdown selective import of functions in an edl file in search-dir.

bors try

bors r+

bors r+


Fix action values viz plot (for adaptive mutations)

Fixed stackplot for usual line plot

Codecov Report

Merging #107 (20e23e8) into main (09bd64e) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #107      +/-   ##
==========================================
- Coverage   71.31%   71.30%   -0.02%
==========================================
  Files         120      120
  Lines        6691     6691
==========================================
- Hits         4772     4771       -1
- Misses       1919     1920       +1

see 1 file with indirect coverage changes


Query: Having multiple entry stages.

Hello there,
I have tried flowchart having multiple entry stages but I get the error saying it is not possible. But I would like to execute a set of multiple rules for given facts one after the other.
In the below example A and Y are the two sets with multiple stages.
with stage('A')
        go to B when the rules match
with stage('B')
       # do something
with stage('Y')
       go to Z when the rules match
with stage('Z')
      # do something

For given facts both entry stages are executed.
How can I do this in a single flowchart?

Hi, thanks for posting the question. The Flowchart is a deterministic directed graph, having two start states would make it non-deterministic. The best way to do this is by having two flowcharts and asserting the same fact in both of them.


Add url parameter passing for PROMPTS like Bolt has it e.g. ?prompt="build a landing page"

Bolt has a way to pull in a prompt via the url to kick off the process.
This would just need parsing the url parameter "prompt" if there, and pushing that to the textarea and hitting
Assuming the user has set an LLM as default, I don't see any issues adding this.

#669


$state.go incorrectly suppressed by reloadOnSearch

I have a state with url params:
$stateProvider.state('schedule.week', {
    url: '/:year/:week',
    controller: 'ScheduleWeekController',
    templateUrl: 'sections/schedule/week.html',
    reloadOnSearch: false
});

However, when I try to go to the same state with different url params, It's being suppressed. I think by this line: https://github.com/angular-ui/ui-router/blob/master/src/state.js#L993
$state.go($state.current, {
    year: '2015',
    week: '09'
}, {reload: true});

I don't think that reloadOnSearch: false should prevent URL param changes, and should only affect query/search params as the name suggests

Dupe #1079
Fixed in 0.2.15  commit 6ca0d7704cf7de9c6e6b7bb64df2f9c68fe081cc


helm chart deploy error

Bug description
helm apply istio error; parse the configmap error, found character \t in follow files
file path:
charts/security/templates/configmap.yaml & charts/security/templates/create-custom-resources-job.yaml
istio version: 1.1.4

Are you upgrading or a new installer? What is the error?
It doesn't seem like those files have been changed recently and we haven't seen any issues like this before

not reproducible yet.  Please provide more information in the bug.

lastest version not found this, close it!


Issue when compiling and using the library in my mod

Compiling goes fine, but when i try to launch the game, i get a ClassDefNotFound error with the class net.minecraft.gui.screen, which you use in your mod. I somehow cannot get this to work. How can i fix this?
My build script:
plugins {
	id 'fabric-loom' version '0.5-SNAPSHOT'
	id 'maven-publish'
	id "com.github.johnrengelman.shadow" version "6.1.0"
}

archivesBaseName = project.archives_base_name
version = project.mod_version
group = project.maven_group

minecraft {
}

shadowJar {
	dependencies {
		include(dependency('com.lukflug:panelstudio'))
		include(dependency('com.lukflug:panelstudio-mc16'))
		exclude(dependency("com.mojang:minecraft:${project.minecraft_version}"))
	}
}

repositories {
	maven {
		name = 'lukflug'
		url = 'https://lukflug.github.io/maven'
	}
}
dependencies {
	//to change the versions see the gradle.properties file
	minecraft "com.mojang:minecraft:${project.minecraft_version}"
	mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
	modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

	modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
	modCompile "com.lukflug:panelstudio-mc16:0.1.9"
	modCompile "com.lukflug:panelstudio:0.1.8"
	modImplementation(include("com.lukflug:panelstudio-mc16:0.1.9"))
	modImplementation(include("com.lukflug:panelstudio:0.1.8"))
}

processResources {
	inputs.property "version", project.version

	from(sourceSets.main.resources.srcDirs) {
		include "fabric.mod.json"
		expand "version": project.version
	}

	from(sourceSets.main.resources.srcDirs) {
		exclude "fabric.mod.json"
	}
}

// ensure that the encoding is set to UTF-8, no matter what the system default is
// this fixes some edge cases with special characters not displaying correctly
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
tasks.withType(JavaCompile) {
	options.encoding = "UTF-8"
}

// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
// if it is present.
// If you remove this task, sources will not be generated.
task sourcesJar(type: Jar, dependsOn: classes) {
	classifier = "sources"
	from sourceSets.main.allSource
}

jar {
	from "LICENSE"
}

// configure the maven publication
publishing {
	publications {
		mavenJava(MavenPublication) {
			// add all the jars that should be included when publishing to maven
			artifact(jar) {
				builtBy remapJar
			}
			artifact("${project.buildDir.absolutePath}/libs/${archivesBaseName}-${project.version}.jar"){
				builtBy remapJar
			}
			artifact(sourcesJar) {
				builtBy remapSourcesJar
			}
		}
	}

	// select the repositories you want to publish to
	repositories {
		// uncomment to publish to the local maven
		// mavenLocal()
	}
}

Notable to mention: Fabric places both libs in the jars dir in META-INF. This may be part of the issue, but i dont know how to compile it otherwise. The shadowjar method you list in the readme includes the mappings and the remapped classes, so that wont work.

nvm fixed

@constantinDev But how did you fix it


Add timed (day, evening, night) average noise indicators

Hi! Sorry for not letting you know I was doing this, I actually just started 2 hours ago.
This change closes #8. I think there is a need for a more descriptive tooltip; I can work on that while you review.
Thank you!

Awesome, thank you Maanas! Would you mind resubmitting the pull request to the development branch instead (you will need to merge with the new updates there, it's ahead of main). That is where we collect new updates - main is reserved for deployment.

Thanks for the review @danieltsoukup! Sorry for missing that the indicators were device-level. I can open a new PR for that too.
Here's some bullet points for how my implementation was done:

A new function to get timed system data (as you noticed) was created; this uses SQL groupby on a new column that uses IF functions to get the 'time of day' (day, evening, night).
There is a new subclass of AbstractIndicatorPlotter called TimedMinAverageIndicatorPlotter' that is identical to MinAverageIndicatorPlotter` except:

It uses the timed system stats dataframe instead of the general system stats dataframe
It has an extra attribute it is initialized with called time_of_day, which is a string, and filters by time_of_day when it is getting the average in _get_min_avg.

I implemented three instances of the above class, and referenced each in the Dash output.

I tried to adhere to the design principles of the application as much as possible, but as you noticed, there is a lot of additional processing. I conceptualize the issue we are having as a blurry line between the responsibilities of the (lower) SQL processing and the (higher) Pandas processing. For example, we are querying the WebCOMAND server multiple times for data that comes from the same source of truth.
If internet usage is the concern, note how the minimum amount of data we have to get from the server is bounded by the size of the hourly data query, so I would recommend we establish a hourly query as the source of all our data and do Pandas operations on top, which removes the need for redundant processing. Then we can also make our architecture much simpler.
Would you be interested in pursuing this? I can open a PR if you would like. Thanks a lot!


Print tool versions in CI

Add commands to (verbosely) print out versions of Rust, Clippy, Cargo... before each run in CI. This will help with reporting bugs like I did in https://github.com/rust-bitcoin/rust-bitcoin/pull/1120#issuecomment-1192294554 - it would've been nicer if I could report our version too.

Maybe add it in #1099?

Orthogonal but yes, #1099 should have it (eventually).

Add commands to (verbosely) print out versions of Rust, Clippy, Cargo... before each run in CI. This will help with reporting bugs like I did in #1120 (comment) - it would've been nicer if I could report our version too.

Please point me to the relevant files. I went through https://github.com/rust-bitcoin/rust-bitcoin/pull/1099/files#diff-f5534f0b6fb07c7e1bfedf7bdad375ddd70b29143fbbfa4502cb2e47cef197b7. Should I modify workflows/rust.yml for this change?

What I propose is:

Move the cargo --version and rustc --version lines out of bitcoin/contrib/test.sh etc., and into contrib/test.sh.
Add more lines for cargo clippy and cargo fmt -- though these will need to be gated somehow to not kill CI during the runs where those commands aren't available.

Also all this with --verbose flags and for each version we use (stable, nightly...).

We do this already.


Fix assert for layouts.

Currently we assume that the layout must have been set for a subresource.
While this is true it may be set globally instead of on that specific
subresource directly causing the old assert to throw.

cherry-picked and pushed to master


Add game "Subway Surfers"

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
What problem is this feature trying to solve?
How do we know when the feature is complete?

You should mentioned about the project descriptions for the above templates.
Only the name is not sufficient. @arunimaChintu

How many points you earned from my repo? @arunimaChintu

No pull request received are you still working on this. And tell me the score you've received from my repo? @arunimaChintu

Closing this now. Thanks


better config for 10G interfaces

Just something to investegate
https://pastebin.com/embed_iframe/kUHdWPMn

[ ] all branches?

Bringing in some eyeballs. @JCallicoat @Apsu @busterswt @BjoernT

ya, this is something I want to look at too, just noting it so I don't forget

# connection limits, some for connection count, some for connection speed
net.core.somaxconn = 64000
net.core.netdev_max_backlog = 524288
net.netfilter.nf_conntrack_max = 1048576
net.ipv4.tcp_max_syn_backlog = 48960
net.ipv4.tcp_max_tw_buckets = 1440000
net.ipv4.tcp_max_orphans = 456000
# conntrack changes, mainly for handling a ton of connections at a time
net.netfilter.nf_conntrack_tcp_timeout_established = 30
net.netfilter.nf_conntrack_tcp_timeout_unacknowledged = 10
net.netfilter.nf_conntrack_tcp_timeout_syn_recv = 10
net.netfilter.nf_conntrack_tcp_timeout_syn_sent = 10
net.netfilter.nf_conntrack_tcp_timeout_fin_wait = 4
net.netfilter.nf_conntrack_tcp_timeout_close_wait = 4
net.netfilter.nf_conntrack_tcp_timeout_last_ack = 10
net.netfilter.nf_conntrack_tcp_timeout_time_wait = 10
net.netfilter.nf_conntrack_tcp_timeout_max_retrans = 15
net.netfilter.nf_conntrack_tcp_timeout_unacknowledged = 10
net.netfilter.nf_conntrack_tcp_timeout_close = 10
net.netfilter.nf_conntrack_udp_timeout = 15
net.netfilter.nf_conntrack_udp_timeout_stream = 15
net.netfilter.nf_conntrack_tcp_loose = 0
    # may change above to 1 which would cause it to track less stuff
net.netfilter.nf_conntrack_tcp_max_retrans = 3
# buffers, useful for speed
net.core.rmem_default = 31457280
net.core.rmem_max = 12582912
net.core.wmem_default = 31457280
net.core.wmem_max = 12582912
net.core.optmem_max = 25165824
net.ipv4.tcp_mem =<PHONE_NUMBER>576 1441792
net.ipv4.tcp_rmem = 8192 87380 16777216
net.ipv4.tcp_wmem = 8192 65536 16777216
net.ipv4.udp_mem = 65536<PHONE_NUMBER>44
net.ipv4.udp_rmem_min = 16384
net.ipv4.udp_wmem_min = 16384
# timeouts, conn count mainly, but the defaults are a bit high for most usage
net.ipv4.tcp_fin_timeout = 10
net.ipv4.tcp_keepalive_time = 300
net.ipv4.tcp_keepalive_probes = 5
net.ipv4.tcp_keepalive_intvl = 10
net.ipv4.tcp_synack_retries = 2
# settings
net.ipv4.tcp_rfc1337 = 1
net.ipv4.tcp_tw_recycle = 1  # high connection counts, and new connections per second, enable if reuse isn't good enough only
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_slow_start_after_idle = 0 # useful to not renegotiate window size too often
net.ipv4.conf.all.log_martians = 1

Nice list but I would say many values are way too high. What do you want with a syn backlog of 48k connection for example ? The more is usually not the better...
Currently we use net.ipv4.tcp_tw_reuse  for swift, and the tcp/udp rmem/wmem, net.netfilter.nf_conntrack_max   for all other hosts.
net.ipv4.conf.all.log_martians is usually 1 already
net.ipv4.tcp_rfc1337 why enabling when the kernel has it disabled by default, not sure if we want risk arbitrary stack behavior.
In short do not touch any other parameter, especially timeouts, unless needed.
Those have no effect if the NIC speed is 1 or 10G,  tcp/udp rmem/wmem are much more important along with txqueue len on the NIC and jumbo frames
I personally would OK only net.ipv4.tcp_tw_reuse, tcp/udp rmem/wmem and net.netfilter.nf_conntrack_max.
max_syn_backlog can be changed when needed but if you have to enable it then there's something wrong with your application anyway, not fast enough processing the requests

these are mostly for extremely high connection counts, the issue is here for discussion.
the main ones I see us using are these and the rmem.
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_slow_start_after_idle = 0

lowering the nf_conntrack_tcp_timeout_established time to something more sane then the default of 432000.  Many of the nf_conntrack stuff should probably be lower than defaults.

We use the OSA defaults which are generally ok, some customer specific tuning is done but generalized pre-emptive tuning is a bad idea @prometheanfire.


The post-command-hook will fail if the .envrc file isn't allowed

When I open a file in a project whose .envrc wasn't whitelisted before, the direnv--export will error causing the post-command-hook to be removed.  I believe post-command-hooks that fail/error are removed.  This causes subsequent buffer switches not to trigger direnv hook.
I am not sure what's the best way to achieve this, but I applied the attached patch that replaces error with message locally and it seems to be working fine.
From 96e8c7a70f37167864a410bacad52950b31115b7 Mon Sep 17 00:00:00 2001
From: John Shahid<EMAIL_ADDRESS>Date: Fri, 15 Feb 2019 12:28:27 -0500
Subject: [PATCH] Replace error with message

Otherwise, direnv's post-command-hook could fail causing it to be removed from
the list.
---
 direnv.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/direnv.el b/direnv.el
index 7d6c135..6bd824f 100644
--- a/direnv.el
+++ b/direnv.el
@@ -97,8 +97,8 @@ In these modes, direnv will use `default-directory' instead of
              (exit-code (call-process "direnv" nil '(t t) nil "export" "json")))
         (unless (zerop exit-code)
           (display-buffer (current-buffer))
-          (error "Error running direnv: exit code %s; output is in buffer '%s'"
-                 exit-code direnv--output-buffer-name))
+          (message "Error running direnv: exit code %s; output is in buffer '%s'"
+                   exit-code direnv--output-buffer-name))
         (unless (zerop (buffer-size))
           (goto-char (point-max))
           (re-search-backward "^{")
--
2.20.1

yes, your analysis is right. but i'm not convinced ignoring errors is the right thing to do. you will end up with an environment that does not match the expectations...

Sorry, I missed your reply earlier.  I agree, this isn't the best solution but it is better than remove the post command hook.  This leads to the same result, i.e. an environment that doesn't match the expectations on the next buffer change.  At least with this patch, emacs-direnv has a chance to run again.  I'm open to other suggestions on how to fix this issue.

I have opened an upstream request to add this information to the json message: https://github.com/direnv/direnv/issues/467
Disabling the auto-switch it for every buffer when just one buffer is not allowed means it also breaks for every buffer where the .envrc works just fine. Once direnv returns a non-malformed json reply in that case, we can display an error in the user prompt when the user switches to the broken buffer, and keep the post-command-hook working enabled.

I'm not sure why the exit-code isn't sufficient in this case to let the user know that they need to run direnv allow ?


Builds fail on macOS with XCode 10

Node Version: Node v10.3.0, npm v6.1.0
Platform: Darwin R2D2 17.6.0 Darwin Kernel Version 17.6.0: Tue May  8 15:22:16 PDT 2018; root:xnu-4570.61.1~1/RELEASE_X86_64 x86_64 i386 MacBookAir5,2 Darwin
Compiler:

Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin17.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Module: https://github.com/resin-io-modules/mountutils
(but happens with anything with native bindings)

Verbose output (from local npm install):
~/W/mountutils (master|ø) $ npm i

><EMAIL_ADDRESS>install /Users/Jonas/Work/mountutils
> prebuild-install || node-gyp rebuild

prebuild-install info begin Prebuild-install version 2.5.1
prebuild-install info install installing standalone, skipping download.
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Traceback (most recent call last):
  File "/usr/local/n/versions/node/10.3.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 16, in <module>
    sys.exit(gyp.script_main())
  File "/usr/local/n/versions/node/10.3.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 545, in script_main
    return main(sys.argv[1:])
  File "/usr/local/n/versions/node/10.3.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 538, in main
    return gyp_main(args)
  File "/usr/local/n/versions/node/10.3.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main
    generator.GenerateOutput(flat_list, targets, data, params)
  File "/usr/local/n/versions/node/10.3.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2170, in GenerateOutput
    part_of_all=qualified_target in needed_targets)
  File "/usr/local/n/versions/node/10.3.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 795, in Write
    self.Pchify))
  File "/usr/local/n/versions/node/10.3.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1190, in WriteSources
    cflags = self.xcode_settings.GetCflags(configname)
  File "/usr/local/n/versions/node/10.3.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 551, in GetCflags
    archs = self.GetActiveArchs(self.configname)
  File "/usr/local/n/versions/node/10.3.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 420, in GetActiveArchs
    xcode_archs_default = GetXcodeArchsDefault()
  File "/usr/local/n/versions/node/10.3.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 118, in GetXcodeArchsDefault
    xcode_version, _ = XcodeVersion()
  File "/usr/local/n/versions/node/10.3.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1265, in XcodeVersion
    version = re.match(r'(\d\.\d\.?\d*)', version).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/n/versions/node/10.3.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Darwin 17.6.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/n/versions/node/10.3.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/Jonas/Work/mountutils
gyp ERR! node -v v10.3.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 3442ms

npm ERR!      /Users/Jonas/.npm/_logs/2018-06-05T12_24_37_170Z-debug.log

Output of /usr/sbin/pkgutil --pkg-info "com.apple.pkg.CLTools_Executables":
$ /usr/sbin/pkgutil --pkg-info com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: <IP_ADDRESS>.1.1527767617
volume: /
location: /
install-time:<PHONE_NUMBER>
groups: com.apple.FindSystemFiles.pkg-group

Did you accept the EULA when installing xcode/xcode CLT?  Running xcode-select or xcodebuild manually should prompt you.

Yup, made sure that wasn't the cause – turned out it's due to the version number matching regex, PRed a fix in https://github.com/nodejs/node-gyp/pull/1455

Seeing same issues running:
Node: v10.4.0
NPM: v6.1.0
Compiler:
Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin17.6.0
Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin


[Idea] Validate config and --strict mode

This issue is just to share an idea for a feature for the WebMangler CI: add a subcommand to validate a configuration file (find missing fields that are required; find present fields that are unknown; find fields with invalid values; etc.) and/or add a --strict flag that only runs WebMangler if the configuration file is completely valid.

In #271 an new field will be added to the WebMangler CLI configuration, named reporters, that should(?) be given one (1) or more reporters. It may make sense to validate that there is at least on reporter provided (if configured).


Latest esp-idf (VFS V2?) cannot be mounted after reboot

Noticed that esp-idf has made some updates to VFS, or at least this component now behaves differently with the latest esp-idf master.
The filesystem seems to work (all files read as expected) after a fresh erase_flash and then flashing the fatfs image to the partition offset. But it does not persist a reboot (e.g. it cannot be mounted after reset button is toggled, or after a software triggered reboot)
There is some new logging here on the first boot here:
I (105) wl_flash: updateV1_V2 Update from V1 to V2, crc=0x69c05153,
I (107) wl_flash: updateV1_V2 max_pos=29, pos=25, state.ver=1, state2.ver=1

Upon reboot I get the following error when mounting:
W (521) vfs_fat_spiflash: f_mount failed (13)

This makes me think esp-idf has changed upstream, and this repo should update the esp-idf components to be generating images in this new "V2" format? At least, in my case I do not need to support both formats -- preferably only the latest one.

I'm running into this issue, too. There seems to be a v2 (https://github.com/espressif/esp-idf/commit/a6d6c58ecadb9759a0bacf35cd7332ac641e598d#diff-56bcb985916387b5e0fcebb24c6b0c7c) of the wear leveling algorithm which is incompatible with the v1 wear leveling storage format. Although there is code to transition v1 wear leveling storage to v2 wear leveling storage it fails to update fat filesystems created via ESP32_mkfatfs to the new wear leveling format.

@paulreimer On closer inspection the tool provided in this repo does not seem to support wear levelling at all. I've created a new tool with a much cleaner code base at https://github.com/TobleMiner/mk_esp32fat . It works great with the latest esp-idf master branch. Please feel free to check it out.
The only donwside is that my tool does currently not support 512 byte sector size.

I'll note that this recent esp-idf commit:
https://github.com/espressif/esp-idf/commit/cd38970ef9bb501d1f20c5ccf76b0b86416a499b
Appears to have partially addressed this issue. Reboots on a valid V1->V2 filesystem are no longer an issue. If the filesystem boots the first time, it seems to upgrade and work on subsequent V2 reboots. Great!
But, now it seems a little flaky when flashing the FATFS the first time. I've had a couple times where it didn't flash successfully, and no initial mount happened (so before the V1->V2 conversion, I think). Re-flashing it seems to work, but I can't explain why it wouldn't work 100%.


Merge stateful component and mount instances

Right now stateful components keep a reference to the mounted instance in the reconciler called "handle." Because both have the same lifetime and both codebases touch the same information (the Component module is deeply involved in the reconciliation process for stateful components), I recommend we merge them. This prevents an additional table from being created for every stateful element and prevents some overhead for the reference. If in the future #125 is implemented, this change becomes even more natural because all the stateful element reconciliation is done inside of the Component module.
As a side note, the division of reconciliation duties feels fuzzy to me between the Reconciler and Component source code. I'd look into it more, but the problem has already been fixed in my version due to the changes suggested in #125.

This used to actually be the case, but @LPGhatguy mentioned once that it was removed to prevent access to setState and other component methods from outside the component instance itself, e.g.
local handle = mount(element)
-- evil: setState is supposed to be internal
handle:setState({
    -- ...
})

(@AmaranthineCodices beat me to responding, but I'll still have this write-up)
This was actually intentional! It tries to serve two purposes:

Limit the number of extra values put into the component instance, since that namespace belongs to the creator of the component, not Roact.
Stop users of Roact from calling component methods on the object returned by Roact.mount/Roact.reify. There's another approach for this, and that would be to make a special object only for the direct result of mount.


Fix issues in tutorial Vanilla Javascript SPA

Fix small issues found in the Content: Tutorial - Handle authentication flows in a Vanilla JavaScript single-page app - Microsoft Entra External ID
Related with:
https://github.com/MicrosoftDocs/entra-docs/issues/449

@microsoft-github-policy-service agree company="Avolta"

@OwenRichards1

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Without my fix, when you run the application locally, you get 2 errors.

loginRequest doesn't exist.
msalObj not inizialized, and then the application crash.

@OwenRichards1

Closing the PR as the issue was already resoled in the :main branch on MicrosoftDocs.  MicrosoftDocs:main


Export the buffer and buffer content

In the case of writing an own shader, there is now the possibility to access the buffer / buffer content from the render component

Thanks for the contribution!


<EMAIL_ADDRESS>decompress error

I want to install hexo, but error ,  logs :
PS C:\Users\zuoyu> scoop install hexo-client
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing 'hexo-client' (1.3.6) [64bit] from extras bucket
proxy: https://github.com/gaoyoubo/hexo-client/releases/download/v1.3.6/HexoClient-Setup-1.3.6.exe#/dl.7z
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: da199c|OK  |   838KiB/s|D:/Program Files For Code/Scoop/cache/hexo-client#1.3.6#https_github.com_gaoyoubo_hexo-client_releases_download_v1.3.6_HexoClient-Setup-1.3.6.exe_dl.7z
Download: Status Legend:
Download: (OK):download completed.
Checking hash of HexoClient-Setup-1.3.6.exe ... ok.
Extracting dl.7z ... done.
Running installer script...
ERROR Exit code was 2!
Failed to extract files from D:\Program Files For Code\Scoop\apps\hexo-client\1.3.6$PLUGINSDIR\app-32.7z.
Log file:
D:\Program Files For Code\Scoop\apps\hexo-client\1.3.6$PLUGINSDIR\7zip.log
Please try again or create a new issue by using the following link and paste your console output:

7-Zip 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
Scanning the drive for archives:
ERROR: 系统找不到指定的文件。
D:\Program Files For Code\Scoop\apps\hexo-client\1.3.6$PLUGINSDIR\app-32.7z
------------------------------not have app-32.7z, but have app-64.7z ---------------------------
PS D:\Program Files For Code\Scoop\apps\hexo-client\1.3.6$PLUGINSDIR> ls
目录: D:\Program Files For Code\Scoop\apps\hexo-client\1.3.6\$PLUGINSDIR

Mode                LastWriteTime         Length Name

-a----         2024/2/2     22:45            286 7zip.log
-a----       2020/11/14     13:39       46869927 app-64.7z
-a----         2024/2/2     22:45           6656 nsExec.dll
-a----         2024/2/2     22:45         434176 nsis7z.dll
-a----         2024/2/2     22:45           4608 nsProcess.dll
-a----         2024/2/2     22:45           9216 SpiderBanner.dll
-a----         2024/2/2     22:45         102400 StdUtils.dll
-a----         2024/2/2     22:45          11776 System.dll
-a----         2024/2/2     22:45           3072 WinShell.dll

Same as #4986, looks like it wasn't fixed since closed by stale bot.
Thank you for raising PR.


Allow statefulsets to be scaled up and down based on each other

Allow statefulsets within a rollout group to declare a "leader" and set their number of replicas based on the number of replicas in the leader statefulset. Scaling up is allowed immediately while scaling down must respect the minimum amount of time between scale downs. For example at minimum, 12 hours needs to pass between scale downs of Mimir ingester zones.

Very clean work! Agree with Marco's comments, especially about changing replicas when reconciling each statefulset group.


What variable is EEG data in Python code?

I use Emotiv epoc+. Emotiv epoc+ is a 16 channel EEG signal. But sample len is 19 in ReceiveData.py. so where is 16ch EEG data in sample variable?

19 channels contains 14 EEG channel already, they are: {"Timestamp", "Counter", "Interpolate", 14 EEG channels  , "HardwareMarker", "Markers" }
You can see more information from: https://github.com/Emotiv/labstreaminglayer

Thank you.


ESLint failed: Cannot parse checkstyle XML in Webstorm

Trying to run .eslintrc.json with extends: "google" just like the readme says and I get the above error. When right clicking and trying to run eslint.

Got it working "extends" needs to be outside of "rules"

I had this error and it turned out to be missing babel-eslint. A npm install -g babel-eslint sorted it.


bump gradle version

bump gradle version so that the project can be imported by android studi...

Can you make a release with this change included? I would like to use the newest version, but I am currently unable to.

Released as version 0.4.4.  Should be propagated to Maven Central in a few hours.


DoAsync Operator Similar to the Async Overloads of SelectMany

It wouldn't enable any new scenarios. It's just about the semantics.
Example:
http://stackoverflow.com/questions/26716527/cancel-rx-net-observers-ongoing-onnext-methods/26727853#26727853

This is some area we'll consider when introducing async Rx constructs, based on what we built for distributed event processing in Bing. Closing this item for now, given it doesn't apply to the current Rx, where we'll keep async signatures in conversions only.
As @bman654 points out, there's quite some use for SubscribeAsync and various async operators. Stay tuned for more on that in the not-so-distant future.


Billing flow

Design pages for billing flow

[ ] Billing page in Organization dashboard (Tab)
[ ] Billing information in user profile

Discussed billing flow with team ()7/09/2023).

Approved by Ajay sir.


Git Reports Issue

Submitter: Justin
Email<EMAIL_ADDRESS>I can't get either version to work with windows 8

Not reproduced


Helm bugbash changes  + Public key env var

Signed-off-by: jonahjon<EMAIL_ADDRESS>Issue #, if available:
Description of changes:
Using Dev Gallery Address for Bug Bash, and local testing since the dev image is now live.  https://gallery.ecr.aws/l0g8r8j6/eks-anywhere-packages
Also added in the Public Key from Dev account, and the ENV Var to values.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold

/unhold

/lgtm


Avoid notification for whitelist matches

I like the notification when a duplicate tab has been blocked. but I find it annoying getting a notification when a whitelist match is recognized.
I am active in Wikimedia universe and therefore have a quite general whitelist entry
.+\.(mediawiki|wikimedia|wikipedia|wikidata)\.org.*

(in fact, it’s even longer).
But then I get a notification for every new page. It does not matter, whether the exact same page is already opened. For now, I disabled this addon feature, but as said above I actually like it.

I'll see what i can do.

Option added to version 1.6.4


Set up TypeScript by default

What happened
Set up TypeScript (TS) via Webpacker. I also updated the library i18n-js as it was preventing the TS set up to work properly.
Insight
As part of the engineering roadmap for 2021, TypeScript is made default for Web projects. Learn more about the decisio on Notion) and in this retrospective presentation.
Proof Of Work
TypeScript is installed when using the template:

When using the default pack tag:

@ankitkalia1195 With 3 approvals, this PR is ready to be merged 🚀 Also having a release soon would be great so that it's added by default moving forward 💪

@olivierobert Planning release sometime next week, after this PR https://github.com/nimblehq/rails-templates/pull/283 is updated by @longnd.


Demonstrate test failures with Haskell backend

This PR just changes the proof-tests/deposit/spec test case to run with the Haskell backend, as a demo for #2154. Not for merging.

When you make a new PR, you have the option to make it as a draft. It's not going to be announced to the #k channel and it's going to be greyed out so people know it's work in progress. You can still convert it after the fact (see top right).
When it's ready to be reviewed, you can mark it as ready, reviewers get notified and we get a message in #k.

Missed the option on the dropdown - thanks Radu!


Addressing default search engine privacy

One of the biggest privacy exposures users face on the web is definitely the history of their searches.  Yahoo is Firefox's default search engine (Google was default until 2014). We all know about Yahoo's security and privacy history in recent years. In a word: deplorable.
What do you guys think of replacing Yahoo with a privacy friendly option such as DuckDuckGo which fetches Yahoo results behind the scenes?  A javascript-free version is even available on AMO.
Alternatively, if you think users would rather see Google results, Startpage proxies the searches and stores no logs so Google can't track users or even know who is performing those searches.
If the default search engine cannot be set via user.js file, one possibility is to add a reference to private alternatives the way you make reference to addons that should be used to supplement the configs.

I remove the search bar and use a local home page with links to search engines.

This. IMO, falls outside the scope of the project (via the user.js). For starters, setting the default engine requires it to be present, and different builds will have different default engines. It's also problematic from a language perspective. We have no right to impose/change someone's search engine.
That said, if someone wants to add to the wiki with alternative search engines and tips and tricks, go for it. But it opens up a slippery slope of expanding beyond our mandate - what next, alternatives to gmail? A list of web email services? A list of hsts blocklists?
Will we then be expected to provide more and more OpSec info eg how to daisy chain VPNs, or use TOR over VPN vs VPN over TOR, or how to use tails, or how to buy a burner phone and avoid camera surveillance... or how to stick tiny pebbles in your shoes to hide your gait from biometric sensors
Look, I totally get that the search engine is a part of Firefox, and has controls. But who the hell are we to tell people what service(s) they can and can't use. I WILL not do this in the user.js (no arguments - at the very least it would be commented out, but I am totally against it period), but am open to a wiki page.
I am also open to listing these search engines from AMO (never used any myself, I used Add To Search Bar, which can be done manually anyway, so I actually have zero "installed" or default engines)

But who the hell are we to tell people what service(s) they can and can't use

Im perplexed by this. I may be mistaken but didn't you disable the Pocket service at some point? Or Adobe's Encrypted Media DRM service?

This...falls outside the scope of the project. I WILL not do this in the user.js

OK.  It just occurred to me that using the default search bar is one way a lot of privacy gets exposed in FF's default configuration and I understood your objective to be to harden FF settings for privacy and security so I thought I should bring it up here. Thanks for reading and considering.

There's a slight difference between removing services entirely (DRM) and dictating what service to use

Hi, I agree with OP that search engines are a major problem. But I also agree with Pants that nowadays everyone should know about that. Heck, even my mother knows not to trust Google.
But since we also recommend Addons I think we can recommend some search engines, or even host some opensearch.xml files directly. DDG is one of the built-in search engines and we could add a pref (commented out maybe) that sets that engine as the default.
user_pref("browser.search.defaultenginename", "DuckDuckGo");
BUT the builtin engine also has some tracking parameters and a link for suggestions. So it's not ideal but still better than using the builtin in yahoo engine (which also has those parameters)
  <Url type="text/html" method="get" template="https://duckduckgo.com/" rel="searchform">
    <Param name="q" value="{searchTerms}"/>
    <MozParam name="t" condition="purpose" purpose="contextmenu" value="ffcm"/>
    <MozParam name="t" condition="purpose" purpose="keyword"     value="ffab"/>
    <MozParam name="t" condition="purpose" purpose="searchbar"   value="ffsb"/>
    <MozParam name="t" condition="purpose" purpose="homepage"    value="ffhp"/>
    <MozParam name="t" condition="purpose" purpose="newtab"      value="ffnt"/>
  </Url>
  <Url type="application/x-suggestions+json" template="https://ac.duckduckgo.com/ac/">
    <Param name="q" value="{searchTerms}"/>
    <Param name="type" value="list"/>
  </Url>

We could sanitize that file and host it here, but it's not possible to overwrite an engine with the same name as the default ones, so we would also need to change the engine name.

Lets not get too involved with this. As I already said it's problematic in the user.js, and as I already said I am fine with some sort of wiki page (eg explain how to manually add sanitized engines, and/or point at some on AMO)
There is not only browser.search.defaultenginename there is also browser.search.defaultenginename.US, as well as browser.search.isUS. And then, how do we handle all the other locales/language builds? Has anyone looked at those? Do they need to be considered?
Disabling a service/feature/protocol (hello, webgl, DRM) is not the same as changing someone's choice of a service (which can't be disabled, at least not via the user.js) - so please don't compare them. IMO it is pointless adding anything to the user.js itself.
-slightly OT
As for the search box, I am currently using CTR to force the searchbox dropdown to itemize with an icon + text of the engine. With a default FF, it instead displays buttons only - I find this is terrible from a few angles (but I have until 57 to work it out) - when you select a button, it auto-searches, with CTR or old behaviour it does not. Nothing happens until I hit the enter key or the search icon. (I may have to do some more testing, its been a while)
example:

google engine: type in sans quotes "dwarf tossing", hit enter
change to wiki engine and blam! it auto searches wiki
what I wanted to do was simply change engines as I was about to search wiki for SOMETHING ELSE
even if the search field is empty, it still loads a search (eg google home search page)
I do not want to auto-clear the search field after searching, as I often need to search the same term on several sites

How do you make the default searchbar controls NOT DO ANYTHING unless you hit enter or click the search icon?

And then, how do we handle all the other locales/language builds?

Yes, that does seem to be a problem. The searchplugins in the omni.ja are in a "en-US" subfolder so they are likely localized and DuckDuckGo is maybe called PooPooHoo in Thailand or something ;)

How do you make the default searchbar controls NOT DO ANYTHING unless you hit enter or click the search icon?

good question - no idea. I basically only use the searchbar for the indicator when an opensearch.xml is detected. Otherwise I copy and paste the search term and search with "s dwarf tossing" for startpage and then "x dwarf tossing" for ixquick etc. Definitely not ideal but I never bothered to search for a better way to do it.

good question - no idea

We have until 57, and from some early mockups it looks like the list MAY be back (there are some definite u-turns on UIX)

I added this to the sticky wiki as an item to keep track of. When or if someone drafts up a wiki article (it's just github markup you can use in here), and we finalize it, then I can add the pref to the user.js with a note about the engine name having to exist, etc, AND link to the wiki article
wiki ideas:

list of search engines
list of AMO search engines
list of sanitized code
how to manually add these engines
make sure we build in keywords
maybe provide a zip bundle for zip profile\searchplugins

re:

list of sanitized code
how to manually add these engines

i use the XML Search Engines Exporter/Importer add-on to export the engines, both default and those i add, and then sanitize them and dump them in /searchplugins folder (you also have to delete the search.json.mozlz4 file and restart the browser to get them to register)
btw, one of the best privacy-centric meta-search engines i've found is searx - it uses, or can use, a whopping pile of 3rd party engines and is very customizable - rather than overloading searx.me however, please consider using one of the many other privately hosted sear instances
unfortunately, other than the big boys, there seem to be very few alternative indexes that actually crawl the www looking for content - DDG, Startpage, searx, etc., all pull their results from Google, Bing, Yahoo, etc., which means their results are also open to censorship
YaCe is a notable exception in that it is an indexer and also a distributed P2P search engine, but it's index is still very small - you can find a demo here

I added this to the sticky wiki as an item to keep track of. When or if someone drafts up a wiki article (it's just github markup you can use in here), and we finalize it, then I can add the pref to the user.js with a note about the engine name having to exist, etc, AND link to the wiki article
wiki ideas:

list of search engines
list of AMO search engines
list of sanitized code
how to manually add these engines
make sure we build in keywords
maybe provide a zip bundle for profile\searchplugins

i'd like to contribute to this if you want but i don't know how - is the wiki done through pull requests or do i just comment here?
i can lay out the basics regarding how to add and sanitize search engines and list some engines i think are good as far as results and respecting privacy

You could create a wiki page in your repo - or paste a draft in here. Or you could do an article on your 12bytes blog, and we'll reproduce it here, and credit you and link back to 12bytes - or we can all collaborate together to come up with a three/four page search wiki section (and you could repost em at 12bytes as a joint author). All a wiki is, is basic markup. I forgot to add to that itemized list that we need to make sure we have unique base64 icons (eg google vs google images etc - yes I still think we should provide sanitized google ones).
Collaborators with "write" access I think can edit the wiki. Otherwise users can fork the repo, and do a mockup in their fork.
eg sample draft
### Search Engines

1. AMO
- [DuckDuckGo](https://blahblah.com/) - **h**ttps://blahblah.com

I think we should decide the structure. I would like to store all the sanitzied xml files unzipped in a folder, but list them in the wiki. So we could have something like
:small_orange_diamond:  Search Engines

4.1 Into (written by @RoxKilly), list of engines (make a new topic and list all engines), their AMO, and a sanitized XML (stored in searchplugins root folder here in repo)
4.2 How to maintain/edit (eg rename them, change the base64 icon, change keyword, how to not clash with existing installed engine names)
4.3 How to use the search bar without unintentionally leaking/searching (note, I use CTR which restores the "list" rather than just icons - without CTR I cannot properly control searching when changing engines - any touch of the icon to change engines makes a new search, even if the field is null), eg tips on key word searching etc

We could easily get page 4.1's list of engines done, then decide on keywords, then create sanitized XMLs and upload them all, and then do a 4.2 on how to add/edit/maintain them.

Step 1: see #118 for the initial page 4.1 list of search engines, info on them, page link
Step 2: write a wee intro on page 4.1
Step 3: add in links to AMO
Step 4: decide keywords, build sanitized XUL versions for all of them (upload to root subfolder on repo)
Step 5: write 4.2 - how to remove all your installed engines, add all our sanitized ones, then pick and choose what to keep and change the order
Step 6. write 4.3 - how to edit/create xml engines (eg site specific) and how to make a base64 icon etc
Step 7. have a beer

I would volunteer to do step 7 please

^^ My take is we provide a zip or individually ALL the xml files (base64 icons inside). Instructions on say wiki page 4.2

Open FF, delete ALL your search engines
Close FF, stick in ALL the search engine XML files you want in the dir
Open FF, go to search options, change the order to hearts content
^^ might need to also assign keywords

Wiki page 4.3 would be how to make your own - eg site specific ones. Site Specific search engines should be the first choice, but we ain't gonna list all of those.

I don't think it works that way. Once the search.json.mozlz4 exists, the searchplugins folder is ignored.

I'll have to play. I migrated all my engines that way before.

yes, it used to work but not anymore.

afaik it doesn't work that way. Once the search.json.mozlz4 exists, the searchplugins folder is ignored.

and ...

yes, it used to work but not anymore. Also if you change/edit an xml file in searchplugins it won't update it.

my understanding is that the searchplugins folder isn't ignored entirely - if you add an engine and delete search.json.mozlz4, the new engine becomes available in your search drop-down - i think what's happening is the new engine is imported into search.json.mozlz4, but i'm not entirely sure - for example, i added the Trove engine and the Searx engine, but only Trove shows up in search.json.mozlz4 - why this is, i don't know, but both are available from the search bar
as far as having to delete search.json.mozlz4, i believe this was the case before the move to this file (i forget the file name of the old one ... searchengines.json or something?) - even with the old file, you still had to delete it to refresh the available engines in the search bar
... and i think you're going to need some help with step 7 - luckily i'm available to collaborate regarding this issue :)

@atomGit can you remove the image shenanigans in your article, please?
We link to it from our Readme and it's not great that I can't even see the images without enabling JS and allow the redirect on sync.1dmp.io, or use a custom userscript to fix it in-place. Ideally host the images on your own domain and use the img src path instead of data-src, so it works without Javascript. IMHO it's a bit paradoxical to write an article about blocking/controlling 3rd party resources and JS while using those exact same practices. I'm only asking to change it for that one article. If you keep doing it that way on all your other articles I don't care.

i thought that lazy-load plugin i was using worked when JS was disabled - it didn't, so i just switched to another one
as for self-hosting the images, that's something i intended to do and then forgot about it - i don't have a lot of time to fool around, but i'll get that done at some point

edit: holy shit man ...

lol - yeah, that's something i've been studying for a pretty long while now - try the quiz if you didn't already

Thanks mate. 100% in the quiz, but I had to take a wild guess on the forgeries. I knew 3, 5 + 6 were definitely forgeries but had not seen the originals for the other ones. And I wasn't sure about Q8.

The images are still redirected via 1dmp.io to postimg.org. Do you get money from that or do the plugin devs get money from that? It would be great if you could host them directly or at least use the postimg urls until you have the time to upload them to your own domain.

if you want to talk further you can comment on my site or send me your email from my contact form - i'd be very interested in hearing your POV
sorry for going astray :)

AH HA! you edited your comment i see LOL
100% eh? i got your original comment in my reply notification email :)
good for you, but keep in mind that "they" are victims too
sorry to all others here as i am now way out of bounds and an order of magnitude off topic

WTF r u two talking about? Where's this quiz?  Unfortunately I also live in country where we don't have free speech and instead "the right to remain silent" so to speak. Well at least the emails you all undoubtedly received are not public, but now I have even more incentive to keep my real identity hidden because you guys could have me arrested. Please don't ;)
So how does that work with the email notifications? Do you get emails for every change made or only new posts? Could I write a "bump" comment and then edit it to say illegal things and subscribers wouldn't see that?

Since the jig is up, I guess I can admit it now - yes, I got 100% correct in the quiz because I'm a naughty boy and have researched all kinds of things.
But make no mistake, I'm not a racist - I hate everyone equally :)

So how does that work with the email notifications? Do you get emails for every change made or only new posts?

i assume notification mails are sent immediately after you publish a comment, so if you publish, then edit and re-publish, it seems 2 mails would be sent

I didn't know how Pants felt about it

I don't care. I'm not the internet PC police. I'm with Wonko the Sane on this one.

Unfortunately I also live in country where we don't have free speech

Have you considered impeaching him yet? Or an uprising? Maybe a trek north and seeking asylum in Canada.

OK gals, I have just cleaned up and removed the last 8 or so comments from 4-5 days ago which were OT, just to keep things clean. Am now afraid earthlng has been captured by the acronyms, it's so quiet in here (sing out if you can earthlng, just not like a canary!)... this comment will self destruct in 5 seconds

#118 can handle the task for doing the wiki pages - closing this


[Bug] Docker PROXY_URL参数问题

Describe the bug
A clear and concise description of what the bug is.
开启docker实例的时候，代理地址按教程给的PROXY_URL参数进行设置的话，docker实例会无法正常启动。
改成BASE_URL解决，所以这个教程是不是有问题。
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Deployment

[x] Docker
[ ] Vercel
[ ] Server

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional Logs
Add any logs about the problem here.

是这样的 这是一个bug.  应该使用 BASE_URL


Note todesking/vint-syntastic

Coverage increased (+0.0%) when pulling 092d74f13cd3655e5fb3a6c7a0da0fd55d28c7e8 on link-todesking-syntastic into 7c9efd939f0ee706e8562c9ed6531cfe27b55f1f on master.


Glcd not working.....

First of all Great Project and work.... Thanks a lot for such good job and sharing.
I'm using Devkit V1 !   I'm using ST7902, tried both HW-SPI and SW-SPI but no luck...
LCD is driven by 5V also the LCD-IO pins are connect directly without any extra components.
Only LCD is connected to board, SD, POT and BTN are not connected.
No Change in Code. Except "platform =<EMAIL_ADDRESS>and for SW-SPI "U8G2_ST7920_128X64_F_SW_SPI u8g2{U8G2_R3, 16,  2, 15,  22}; "_
Checked the LCD and board with both SW-SPI and HW SPI example code which worked fine....

Hi. I can provide limited advice only, since I do not have access to your hardware.

Add debug UART output to the code and see what it does and what is does not. Maybe it hangs somewhere at the start.
Gradually transform example code that works into project code and see where it stops working. Or the other way around.

Off the top of my head I can suggest looking at display bus speed (it's set to 600000 in main.cpp)

Wooww! Not expected such quick replay!
Actually, this is my first time with VS code.
Did UART output.... everything seems ok!
Bus speed is already set to 600000 in original code. with Rest pin delay of 100.
Yep! I think the only way is to gradually transform the code.
I do understand that nothing you can do without looking at my HW setup.... But you can Imagin my desperation.....
Thanks again for such good work and your positive, well-timed reply.... Much obliged.  👍

I can print Hello Word! with HW and SW SPI.......
u8g2_.begin();
   //u8g2_.setBusClock(600000);
   u8g2_.setFont(u8g2_font_5x8_tr);
   u8g2_.setFontPosTop();
   u8g2_.setFontMode(1);

   u8g2_.drawStr(0,10,"Hello World!");	// write something to the internal memory
   u8g2_.sendBuffer();					// transfer internal memory to the display
   delay(10000);

   //digitalWrite(PIN_RST_LCD, LOW);
   //delay(100);
   //digitalWrite(PIN_RST_LCD, HIGH);

OK.... Problem solved :)  The issue is in the<EMAIL_ADDRESS>library esp32-hal-spi.c file where there is an incompatible pointer.
<EMAIL_ADDRESS>The ‘result’ and ‘last_data’ are initialized as uint32_t.
The original code:
uint8_t * last_out8 = &result[c_longs-1];
uint8_t * last_data8 = &last_data;
To this:
uint32_t * last_out8 = &result[c_longs-1];
uint32_t * last_data8 = &last_data;
I made this change and it worked for me. Hope it help someone else..... Cheers and many many thanks for such a good project....

I'm very glad that you've fixed it! On a side note, I probably need to pin the version of ESP SDK to one that worked for me.


Doors

Working on doors - to boss, to shop.
Sprite is here, just need to work some magic

Doors working, probably need a bit of tweaking but its mostly here.
Chest room ?

Closing for now - doors done.


Change thumbnail Content type video/mp4 to image/png

HI,
When i upload a mp4 video, video and video thumbnail both content types are storing as video/mp4. how can i set vide content type to video/mp4 and thumbnail content type image/png.
Uploder.rb:
version :thumb do
    process thumbnail: [{format: 'png', quality: 10, size: 260, workaround: true, strip: true, logger: Rails.logger}]

    def full_filename for_file
      png_name for_file, version_name
    end
end

def png_name for_file, version_name
    %Q{#{version_name}_#{for_file.chomp(File.extname(for_file))}.png}
end

Just run into the same issue and @ttseng fix worked for me, are planning to fix this anytime soon or accepting PRs for this?

@rakesh050791 @00dav00 thnx for the report ❤ . Will decide ASAP.

HI argent-smith , Actually i am facing with video thumbnail issue.
my issue)  when i uploading a video , the thumbnail image is stretching.FOr youtube videos ,it's fine but if it's system videos,the thumbnails is stretching.  I am using carrier wave gaem.Following is the my code base.
` include CarrierWave::Video  # for your video processing
include CarrierWave::Video::Thumbnailer
version :medium, if: :image? do
process :remove_animation, if: :gif?
process :resize_to_limit => [500, 500]
end
version :thumb, :if => :image? do
# process :resize_to_fill => [100, 100]
process :convert => :png
end
version :thumb, if: :video? do
process thumbnail: [{format: 'png', quality: 10, size: "500%", seek: "00:00:03", logger: Rails.logger}]
def full_filename for_file
png_name for_file, version_name
end
def png_name for_file, version_name
  %Q{#{version_name}_#{for_file.chomp(File.extname(for_file))}.png}
end

end
`
CAn you please suggest me on this?
Thank you un advance

The Mime Types feature was removed from carrierwave. As of now it seems impossible to set the mime type correctly using this gem, resulting in thumbnails not displaying from S3 or on iOS.

Thnx for notice. I'll see what could be done with this.

Helped me https://github.com/evrone/carrierwave-video-thumbnailer/issues/15#issuecomment-60081856


Eslint 0.22 support

Package limits eslint version to 0.21.
Would be great to see that updated.
Thanks

Closed by 92b7a42c1792278604834cc2444596a5135de86d


Fix extra end paren

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

#sign-off


False positive with RUF100 and E501

ruff --version
⊙  ruff --version                                                                                julian@Airm ●
ruff 0.0.280

The following code:
def f():
    """
    A really really really really really really really really really really really really really long docstring line.
    """  # noqa: E501

Produces:
⊙  ruff check --select RUF --select E --isolated foo.py                                                                                julian@Airm ●
foo.py:4:10: RUF100 [*] Unused `noqa` directive (non-enabled: `E501`)

but indeed the noqa: E501 is needed, with removing it giving:
foo.py:3:89: E501 Line too long (117 > 88 characters)
Found 1 error.

Trying to figure out what's going on here, but oddly I don't get foo.py:4:10: RUF100 [*] Unused noqa directive (non-enabled: E501) when running that command over that snippet.
What's the output of ruff check --select RUF --select E --isolated foo.py --show-settings?

Bizarre, apologies for the noise, I have no idea what I did previously, but now I too don't see an error neither in the reduced example above nor in my original codebase. No idea whether I just didn't save properly previously or what...
Sorry for wasting your time.

Don’t sweat it, you wrote up a very nice + clear issue. Took me two seconds to test it out!


AMPI cleanup: move MPI_Waitall implementation into ampiParent::waitall()

Original date: 2019-05-03 19:18:19
Original PR: https://charm.cs.illinois.edu/gerrit/4143

Change-Id: I520a6d8598a0ec6e0dc553ebaeb7b1a481d52c95

Needs a force-push

Ready for review

Should ampiParent::waitall return a parent pointer for refreshing purposes? I don't see where it currently returns anything other than MPI_SUCCESS.

Should ampiParent::waitall return a parent pointer for refreshing purposes? I don't see where it currently returns anything other than MPI_SUCCESS.

Yes, done


Add Arnaud's data

See: https://github.com/sct-pipeline/epi-ap-pa-registration/issues/1#issue-1976925734
you need to add to this open access fMRI dataset Arnaud's data, with our manual segmentation

Hello @MerveKaptan this dataset also needs to be added in the dataset that we are uploading to OpenNeuro

Hello @jcohenadad!
@rohanbanerjee  brought this to my attention during our meeting today.
Is the dataset here?
From everyone else, we got (and will be uploading)

mean of motion-corrected 20 EPI volumes
segmentation based on this
.json file after dcm2niix (if applicable)

Could you please point out the corresponding files to me?
Also, could you please tell me what the following were, so I can fill in the information?

the motion-correction procedure
what the scanner was
who the contact person for this dataset is
institution
coauthors
acknowledgments

Thank you very much!

@4rnaudB can advise for https://github.com/sct-pipeline/fmri-segmentation/issues/26#issuecomment-2078252367

So there were 3 total datasets shared on this on the epi-ap-pa-registration repo:

acdc_226 (the data you pointed here here)
acdc_223 and 224 which were shared directly with Rohan and were then uploaded in this comment

For additional information,

the motion-correction procedure: Nothing outside the standard sequence was done
what the scanner was: Siemens 3T Prisma fit
who the contact person for this dataset is: Julien
institution: UNF
coauthors: Alexandre D'Astous, Arnaud Breheret
acknowledgments


Only hassio_supervisor container is deployed

On Raspberrypi3 with this command :
curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s -- -m raspberrypi3 -d /home/homeassistant/
I only got this :
-> docker ps CONTAINER ID        IMAGE                                   COMMAND                  CREATED             STATUS                       PORTS               NAMES ccf94eb94ed9        homeassistant/armv7-hassio-supervisor   "/bin/entry.sh pytho…"   2 minutes ago       Up 2 minutes                                     hassio_supervisor
Nothing listen on 8123 and I can't understand in the shell script when home-assistant docker image sould be set up.
Could you explain what's i'm doing wrong ?

DNS resolution was KO in hassio container .. I close this issue !

After you enable the hassio supervisor service, you should also start it (or reboot your device).


Fix travis syntax error

Build is finally running correctly. That it's failing is a good thing, there are some issues with docs being out of date.


Feature: docs/docx file support adding

Is your feature request related to a problem? Please describe.
Adding Doc/Docx  file support for audiobooks.
Describe the solution you'd like
I will use the docs2txt library to read docs files in python.
Describe alternatives you've considered
Have to find any other library if there is one.
Additional context
Add any other context or screenshots about the feature request here.

Happy to be assigned there, PR in review now.


Update benzodiazepine_cathinone.mdx

We need to change the labelling of cathinone to cathinones. Cathinone (like amphetamine) is an individual drug, but we are talking about the group of drugs cathinones (which includes cathinone but also 4-MMC etc.)

Cool, will do


How long it cost for training stark baseline using a 1080Ti?

I use the command from readme -- python tracking/train.py --script stark_s --config baseline --save_dir . --mode single
It maybe cost more than 20 days to finished the training. Is it right?

Hi, we don't suggest training STARK with one GPU because it will take an extremely long time.
We suggest that you use at least two GPUs and set the batch size as large as possible for saving time. For example, on two RTX TITAN GPUs (24G Memory / GPU), you can set the batch size to about 4x larger than the original setting on 8 GPUs. In this way, you can get similar results as we provided.
Besides, you can also try training fewer epochs for saving time. For example, you can try training 250 epochs and decrease the learning rate at the 200th epoch. From my experience, the result won't drop too much.
Thanks,
Bin

How long will the training take? @MasterBin-IIAU


pulseeffects: fix functionality for non-GNOME environments

Motivation for this change
Until now pkgs.pulseeffects only worked on GNOME-like environments and didn't work in different desktop environments (in my case i3wm as window manager and a simple X session init script).
Icons now work and settings can be persisted.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Is this PR still relevant?

I guess not, if the addition can be that simple :)


Fix element selection on page builder

https://github.com/BeaconCMS/beacon_live_admin/issues/111#issuecomment-2052654302

https://github.com/BeaconCMS/beacon_live_admin/assets/265339/944e3040-f65f-443c-9e79-a00814ae0235
I think this may have been fixed already. At least it does look easy to use IMO

Cynthia confirmed the fix. Closing this one.


[Crash] Incompatibility with Amendments

It crashes if Scribble present in the same pack with Puzzles lib that is dependency of Better Tridents, Easy Anvils, Easy Magic and such, idk why it does that.
https://mclo.gs/mm7o2eT

It looks like this is actually an issue with the Amendments mod, rather than any of Fuzs' mods. It seems like their changes to the lectern book 'n quill breaks the mod. I'll see what I can do about it, thanks for the report!

It looks like this is actually an issue with the Amendments mod, rather than any of Fuzs' mods. It seems like their changes to the lectern book 'n quill breaks the mod. I'll see what I can do about it, thanks for the report!

This can be disabled via Amendments config and not a problem at all, in the first place i can't even launch my game due to crash with Fuzs Lib

I can still recreate the crash with only Amendments mod installed, and the option disabled, as the reason for the error is still there. I can't recreate the crash with any of Fuzs' mods, so I'm 99% sure it's Amendments. The crash log looks to be slightly misleading in this case.

I can still recreate the crash with only Amendments mod installed, and the option disabled, as the reason for the error is still there. I can't recreate the crash with any of Fuzs' mods, so I'm 99% sure it's Amendments. The crash log looks to be slightly misleading in this case.

Removing all Fuzs's mods are solving the issue for me.

Huh, thats weird. Does it still happen with only Fuzs's mods and Scribble?

Huh, thats weird. Does it still happen with only Fuzs's mods and Scribble?

No, tho it happens this way in my modpack.
I use this version https://modrinth.com/modpack/elysium-days/version/6.0.0

Huh, thats weird. Does it still happen with only Fuzs's mods and Scribble?

No, tho it happens this way in my modpack.
I use this version https://modrinth.com/modpack/elysium-days/version/6.0.0

But in my modpack also removing Amendments helps fixing the crash with keeping Fuzs's mods...

Hmm, I can't recreate it with your modpack. In any case it shouldn't be a huge problem though, as the issue stays the same. It should be a pretty quick fix! Thank you for your help :)

Hmm, I can't recreate it with your modpack. In any case it shouldn't be a huge problem though, as the issue stays the same. It should be a pretty quick fix! Thank you for your help :)

You're welcome, i use a dev version of the modpack which i just slap every single mod to test it before adding it first, it might be one of them honestly.

Thanks ❤


mustAdd/mustSub shouldn't be used outside of tests

https://github.com/bosagora/agora/pull/1768#discussion_r600179596
we use it in too many places currently

The other possibility is to just bite it and expose opBinary for + and - that throws on {over,under}flow.


doc/manual/stdenv: improve cmake documentation

Motivation for this change
closes: #102104
Changes:

list attrs which affects cmake builds
add anchor E.g. manual#cmake (although there's probably a better way)
add some examples

modeled it after the meson section
since stable manual is the default one on the website, this should also be backported.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@jtojnar just a reminder, I'm just trying to improve the documentation, not necessarily making it perfect :)

if someone with more docbook knowledge than I would like to take up this PR then please do so. but to be honest, I don't want to put in the time to learn docbook (nixpkgs is the only ecosystem I contribute to which uses it, and it's significantly different).
I really want to improve documentation, but I really don't want to touch nixpkg's documentation.

If someone wants to adopt this, we also have a visual DocBook editor packaged: https://github.com/NixOS/nixpkgs/pull/95593

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/gnu-guix-1-2-0-released-2020-blog-gnu-guix/10167/5


Misleading scrollbars

Misleading scrollbars in luci-theme-bootstrap @ OpenWrt snapshot:

LuCI > Network > Interfaces > WAN > Edit > Firewall Settings > Create / Assign firewall-zone:

LuCI > Network > Routing > Static IPv4/IPv6 Routes > Add > General Settings > Interface:

Chromium 94.0.4606.71 (Official Build) (64-bit) @ Fedora Linux 34

This should have been solved as part of 8055acc9be


Fixes #3614 - Don't allow persistent container paths containing slashes

Disallow persistent volumes if containerPath:

Contains slashes.
Is either "." or "..".

what's driving this PR?

nevermind, just reviewed #3614 -- appears to be a limitation that ONLY applies to local persistent volumes as per some Mesos impl detail

Thanks @gkleiman
minor comments here – open for discussion.

@meichstedt thanks for the feedback! Addressed your comments in a new commit.

Awesome @gkleiman, please squash!

Squashed and ready =).

Thanks @gkleiman!
 )__                     (__   ____)
  _ )_                      (____)
__    )__            |>>>
   ______)          /|             ___
_____)             / |\        ___(   )__
                  /  | \      (_       __)
                 /   |  \       (_  ___)
                /    |   \       (___)
               /     |    \
              /______|_____\
                  ___|__
          _______/ooo__\\______/~
          \                   |]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ~~~~         ~~~~~~ ~~~  ///  ~~~~~
  ~~~~~  ~~~   ~~~   ___  \_/ ~~~~~   ~~~~
   ~~~     (()))    ///\\ \ \   ~~~~~~~~
          )))((((  (///\\)/ /
 ~~~~  ~~ ((())))  _\___// / ~~~~~~~ ~~~
 ~~~~~~  /)))((((\/ _   _ /  ~~~~~   ~~~~
 ~~     / |\\_//| \~~ ~~~~~~~~ ~~
     ~~~~~~~~ ~~~~~~~~~ ~~~~~~ jro~~~~~~
~~~~~ ~~~~~ ~~~~~~ ~~~~~   ~~~~~ ~~~~


This is some bug with the method of punsubscribe.

This is my code:
const redis = require('redis');
let sub =  redis.createClient(opts);
let pub = redis.createClient(opts);
sub.on("message",(channel, message)=>{
      console.log('channel',channel);//channel0
      console.log('message',message);//  This is my message
 })

sub.subscribe("channel0");
sub.subscribe("channel1");
sub.subscribe("channel2");

sub.punsubscribe(["channel2"],function(channel,count){
    console.log(channel);// null
    console.log(count);// channel2
});
pub.publish("channel0","This is my message");

The message event is also be emitted,and the punsubscribe  callback function parameters value  are   null and channel2.

The correct callback format is (err, reply[, reply...]) so the first argument (defined by you as channel is the actual error argument being null.
Why wouldn't the message be emitted? JS is async so the publish is called immediately after all blocking events.

This doesn't seem to be a bug to me, closing this issue for now.


How do i temporarily get mouse scroll to scroll a window

hi Timmy.
i have a div that in some circumstances,sits over top of the panzoom image, when the mouse is in the div i want the mouse wheel action to scroll the div up and down rather than zoom the image in and out.
when the mouse leaves the div i want it it go back to zooming the image on mouse wheel.
i know how to detect if the mouse enters or leaves the div, i just don't know how to 'reset the mouse wheel function back to default and then vice-versa

Thanks for your question. This can all be done in user code.
So, as you know, the README gives example code for binding to the mousewheel.
elem.parentElement.addEventListener('wheel', panzoom.zoomWithWheel)

but you can wrap this is in your own listener.
elem.parentElement.addEventListener('wheel', (e) => {
  // This only zooms with wheel if the target is not the mentioned div or one of the div's children
  if (!e.target.closest('#id-of-div').length) {
    panzoom.zoomWithWheel(e)
  }
})

Let me know if that gets on you the right path.

Thank you so much! I have been looking for this solution! This works especially when I am using something like React-Select inside the panzoom element and want to scroll over the menu-list options.


Weights for million song dataset?

Hi,
Thanks for releasing this nice repository!
Do you plan on releasing the weights for the linear classifier trained on the million song dataset too? I would be very happy to use it in my work because I would care about these more abstract "happy" or "sad" classes.
On another note: I might be too stupid to see it, but I could not find an easy way to assign the predictions of the linear classifier trained on the magnatagatune dataset to their corresponding labels. In the paper, you say that you choose the top 50 most common labels. Is there a list somewhere here in the repository for it or can I look it up on the dataset site? I do not want to mess up the order of the labels for obvious reasons...
Thanks again and kind regards,
Anton

I found the tags for magnatagatune myself, here they are:
['guitar', 'classical', 'slow', 'techno', 'strings', 'drums',        'electronic', 'rock', 'fast', 'piano', 'ambient', 'beat', 'violin',        'vocal', 'synth', 'female', 'indian', 'opera', 'male', 'singing',        'vocals', 'no vocals', 'harpsichord', 'loud', 'quiet', 'flute',        'woman', 'male vocal', 'no vocal', 'pop', 'soft', 'sitar', 'solo',        'man', 'classic', 'choir', 'voice', 'new age', 'dance',        'male voice', 'female vocal', 'beats', 'harp', 'cello', 'no voice',        'weird', 'country', 'metal', 'female voice', 'choral']
I got them from https://github.com/minzwon/sota-music-tagging-models/raw/master/split/mtat/tags.npy, which was listed in the Magnatagatune dataset class.
I'd still be happy to hear your thoughts on releasing the MSD trained classifier!


fix: timeout from config during late inject

Resolves Issue

@vobu : could you please generate the package-lock file for the rest of the test to be executed. At my end it will add internal library dependency like last time..

sure, will do.
but before: could you also please add a test for verifying the caching of the wdi5 config?
I'd suggest to add a dedicated cache-config.test.ts (or similar name) to /test and test for late wdi5 injection containing the cached config

@vobu : could you please generate the package-lock file for the rest of the test to be executed. At my end it will add internal library dependency like last time..

sure, will do. but before: could you also please add a test for verifying the caching of the wdi5 config? I'd suggest to add a dedicated cache-config.test.ts (or similar name) to /test and test for late wdi5 injection containing the cached config

Done. let me know if this works.

@vobu : could you please generate the package-lock file for the rest of the test to be executed. At my end it will add internal library dependency like last time..

sure, will do. but before: could you also please add a test for verifying the caching of the wdi5 config? I'd suggest to add a dedicated cache-config.test.ts (or similar name) to /test and test for late wdi5 injection containing the cached config

Done. let me know if this works.

cool, thanks for adding the test → this safeguards the caching feature!
could you now please look into the failing tests? ignore the auth tests for now, but please peek into the failing JS- and TS-tests.
thx again!

feature!

Actually I am not able to execute the test. I will try again at weekend.
I installed the dependency using the script in package.json.
However, during test execution, I get the error that ui5 service module is not found.
It worked last time, but not sure what's went wrong now.

feature!

Actually I am not able to execute the test. I will try again at weekend. I installed the dependency using the script in package.json. However, during test execution, I get the error that ui5 service module is not found. It worked last time, but not sure what's went wrong now.

don't forget to npm run build before working on any tests 😉
(or npm run build:watch)
the JS tests seem to be fixed now - good job!
however, there's still the TS test for late injecting UI5 failing - could you please have a look again! thx!

feature!

Actually I am not able to execute the test. I will try again at weekend. I installed the dependency using the script in package.json. However, during test execution, I get the error that ui5 service module is not found. It worked last time, but not sure what's went wrong now.

don't forget to npm run build before working on any tests 😉 (or npm run build:watch)
the JS tests seem to be fixed now - good job! however, there's still the TS test for late injecting UI5 failing - could you please have a look again! thx!

working on it. I am new to TS.
The test are complaining about missing waitForUI5Options in my new test at the execution of
await browser.url("http://localhost:8888")

Will need some more time to fix it.

should work now

This PR is fine for now from my side. Thanks @nair-sumesh for the input!
But we should generally check again were we declare all our different wdi5 specific properties. These are currently set in different places. A uniform location would be better here

so we're good to go it seems!
(i'll take a look at the failing auth test due to (again) package-lock issues)


Add support for PARTITION BY and non-concurrent indices

I made a choice to do list = ["id"] instead of list = "id" even though Postgres only allows single column LIST partitions (as opposed to multi-column hash and range partitions.) The Postgres syntax in this case is ('id') and the expr is (column [, ...]) anyway so I felt this was the least confusing thing to do.

Hey! Thanks a ton for opening a PR and extending the features of Reshape.
Adding support for partition by is great, although I think I would prefer a slightly different syntax like this:
[actions.partition_by]
type = "hash" # or "list" or "range"
columns = ["id"]

Regarding the non-concurrent index, one principle I've tried to apply when it comes to the different actions support by Reshape is that they should all be zero-downtime. So based on that, I would actually prefer to not support non-concurrent index creation. Instead, I think such things should be handled by the "custom" action, which is sort of an escape hatch which explicitly does not guarantee zero-downtime. Does that make sense?

Well the main problem is that PG wouldn't let me create non concurrent indices when standing up a new empty partitioned table.

I would like to support it but it doesn't seem like just enabling it without concurrently is safe. According to the Postgres docs, the right procedure would be:

Create index non-concurrently on partitioned table with the ONLY keyword, which won't recursively apply to the partition tables
Create index concurrently on each partition table
Attach each partition's index to the parent index

That seems reasonable but I'm also thinking if perhaps the create table action could be extended to also include indices to add. These indices could be added from the start non-concurrently (as it's a new table) and would automatically extend to any partitions. I'm not sure if this is actually safe though, for example when attaching and removing partitions. If you know more about that, I'd love to know!

It sounds like you know more than me at this point, but yeah your idea to add indices to create table is probably a good middleground approach.
For my use case I am managing the parent table from Reahape but creating and dropping children without it. I'm also only querying into children after I know they've been fully populated, and safety isn't really a concern though it's nice. As far as what to do here, it sounds like your priority is (very reasonably) safety over features. It may make the most sense to just close this PR and I can just keep doing whatever in my fork. I do appreciate your thoughtfulness and care here, thank you

Your use case seems like the most common one for partitioned tables so adding support for index creation when creating a table would make most sense! Thanks for opening the PR. If you need a workaround in the meantime (to avoid having to use a fork), you can use a custom action and write some raw index creation SQL. Since you know your use case to be safe, I don't see anything wrong with that!


Revisit benchmark comparators

arrow::read_csv_arrow
duckdb supports hive partitioned Parquet datasets
duckdb works perfectly well on its own and should not be represented as if it can only be used in combination with arrow.

Also, my understanding is that Polars does not support hive partitioned datasets (pola-rs/polars#4347).
During benchmarking it seems to be reading a single Parquet file, not a dataset.
I have only worked on the R code blocks for now, so if you would like to take over writing the text, that would be appreciated.

@eitsupi I've started to add a bit of text.
I've put back the proposal that uses the arrow package, but I'm putting it in third position to make a query with the duckdb engine.
I need to take a step back and see if what I've written is correct so don't hesitate to correct if necessary.
Thanks again for your PR, which taught me a lot!


fix: Edge Function deployment for windows bug

Normalize handler path to posix for all environments to correct path issue when deploying from Windows.
Resolve #3455

Thanks!


Remove reference to pds-gamma in source

🗒 Summary
Minor update. Will require deploy of doi-search.

@anilnatha @eddiesarevalo can I get a quick review of this?
Also, any idea why the GitHub actions are failing? Is there something different we should be doing in the branch_cicd?


Use an icon font for all non-custom icons?

The icons for add/remove/up/down are aligned oddly; the up/down look like unicode characters typeset with a system font, whereas the add/remove look like icons rendered from vector artwork.
I suggest using a comprehensive UI icon set packaged as a font, like the Material Design set on https://fonts.google.com/icons, so that you can get the best of both worlds

This issue will be closed by #99.

For @MatthewBlanchard, I'm pasting here the charmap.

I didn't add the UTF-8 for every new icon this time, so when you want to use a new icon, select it from here. I'll do the same. :-)


Return created_at along with hash in the submit transaction endpoint

Pending transactions are keyed off of the created_at field rather than hash in order to capture repeat submitted transactions (in case an earlier one failed for reasons unrelated to the construction of the transaction). However the submit txn endpoint only returns the hash field at the time of submission. It would be great to also return the created_at field so that we can identify a specific instance of a pending transaction in the API

@allenan would you then not also want a specific lookup based on created_at? or is this all we need here

either way. as long as i know the created_at timestamp at creation time i can search for it in the list of pending txns matching the hash. or it could be added as a lookup option. but would it then be a combination of hash + created_at? or is it assumed that created_at is unique?

either way. as long as i know the created_at timestamp at creation time i can search for it in the list of pending txns matching the hash. or it could be added as a lookup option. but would it then be a combination of hash + created_at? or is it assumed that created_at is unique?

created_at is the primary key so guaranteed to be unique... now whether iso8601 is as precise as SQL timestamps is another question so maybe we leave it like this for now

i know the probability of it happening would be infinitesimally small, but any concern with two pending transactions being created at exactly the same time? I guess one would succeed and one would fail


React exception: Warning: Encountered two children with the same key, 0. Keys should be unique

When applyPureReactInVue has two or more Vue component children, there is exception in browser
console. This can be reproduced by copying VueCom1 under AAWithPure in dev-project-vue3/src/pages/pureReactInVue/index.vue (diff attached).  I am not sure if it is causing any problems, however in my bigger application, there are many exceptions happening and it is not always clear where they are coming from. Workaround is to wrap VueCom1 in div, however it is not always feasible.
react-dom.development.js:86 Warning: Encountered two children with the same key, 0. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
at div
at AA (webpack-internal:///./src/pages/pureReactInVue/react_app/AA.js:26:12)
at r (webpack-internal:///./node_modules/veaury/dist/veaury.esm.js:29:8395)
at l (webpack-internal:///./node_modules/veaury/dist/veaury.esm.js:29:8853)
diff.txt

@nhaustov try 2.3.17-beta.2


Significant challenges trying to use Node 16 due to nexe dependency

What happened?
When using Node 16 and running through the example immediately after cloning the template, the following error is thrown trying to run pulumi up.
❯ pulumi up
Previewing update (test)

View Live: https://app.pulumi.com/contrarianchris/simple/test/previews/d80785c8-a1a4-4de3-8d8a-e87c7e94e9b5

     Type                     Name           Plan       Info
 +   pulumi:pulumi:Stack      simple-test    create     11 messages
     └─ pulumi:providers:xyz  default_0_0_1             1 error

Diagnostics:
  pulumi:pulumi:Stack (simple-test):
    TypeError: Cannot read property '1' of undefined
        at isFileType (fs.js:193:19)
        at Object.readFileSync (fs.js:380:16)
        at readFileSync (/home/chris/laybuy/pulumi-laybuy-aws/bin/pulumi-resource-xyz:233:55)
        at main (/home/chris/laybuy/pulumi-laybuy-aws/bin/build/index.js:384097:49)
        at /home/chris/laybuy/pulumi-laybuy-aws/bin/build/index.js:384106:1
        at /home/chris/laybuy/pulumi-laybuy-aws/bin/build/index.js:384108:3
        at Object.<anonymous> (/home/chris/laybuy/pulumi-laybuy-aws/bin/build/index.js:384111:12)
        at Module._compile (internal/modules/cjs/loader.js:1063:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
        at Module.load (internal/modules/cjs/loader.js:928:32)

  pulumi:providers:xyz (default_0_0_1):
    error: could not read plugin [/home/chris/laybuy/pulumi-laybuy-aws/bin/pulumi-resource-xyz] stdout: EOF

Steps to reproduce

Clone the template repo.
Follow the steps in the "Build and Test" section of the README...

# Build and install the provider
make install_provider

# Regenerate SDKs
make generate

# Ensure the pulumi-provider-xyz script is on PATH
$ export PATH=$PATH:$PWD/bin

# Test Node.js SDK
$ make install_nodejs_sdk
$ cd examples/simple
$ yarn install
$ yarn link @pulumi/xyz
$ pulumi stack init test
$ pulumi config set aws:region us-east-1
$ pulumi up

Expected Behavior
Running pulumi up should complete successfully, with a working provider binary.
Actual Behavior
The provider fails during pulumi update with the following error...
pulumi:providers:xyz (default_0_0_1):
    error: could not read plugin [/home/chris/laybuy/pulumi-laybuy-aws/bin/pulumi-resource-xyz] stdout: EOF

Further investigation found Node 14.15.3 hardcoded in the included Makefile, while our target is Node 16.13.0.
Looking through various issues filed in the nexe project it appears using the --build flag enables using newer Node versions.
Updating the Makefile with the following changes...
override target := "16.13.0"

...

build_provider:: ensure
	cp ${SCHEMA_PATH} provider/cmd/${PROVIDER}/
	pushd provider/cmd/${PROVIDER}/ && \
		yarn install && \
	popd && \
	rm -rf build && npx --package @vercel/ncc ncc build provider/cmd/${PROVIDER}/index.ts -o build && \
	sed -i.bak -e "s/\$${VERSION}/$(VERSION)/g" ./build/index.js && \
	rm ./build/index.js.bak && \
	rm -rf ./bin && mkdir bin && \
	npx nexe build/index.js -r build/schema.json -t $(target) -o bin/${PROVIDER} --build

and running make install_provider then fails with the following error...
ℹ nexe 4.0.0-beta.19
✔ Included 0 file(s)
✔ Already downloaded...
✔ Configuring node build: --dest-cpu=x64
✔ Finished in 1.088s
Error: spawn python ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
make: *** [Makefile:31: build_provider] Error 1

More research reveals the need to use the --python flag to provide nexe the location of Python as Node 16 dropped support for Python 2.
ℹ nexe 4.0.0-beta.19
✔ Included 0 file(s)
✔ Already downloaded...
⠼ Compiling Node...

However, it then became clear that nexe is compiling Node 16.13.0 from source and building it in the local environment. After over 30 minutes I cancelled the process. Some reading suggests average Node build times are easily over an hour, which is just not desirable for local development.
Versions used
CLI
Version      3.29.1
Go Version   go1.17.8
Go Compiler  gc

Plugins
NAME    VERSION
nodejs  unknown
xyz     0.0.1

Host
OS       ubuntu
Version  20.04
Arch     x86_64

This project is written in nodejs (/home/chris/.nvm/versions/node/v16.13.0/bin/node v16.13.0)

Current Stack: test

Found no resources associated with test

Found no pending operations associated with test

Backend
Name           pulumi.com
URL            https://app.pulumi.com/contrarianchris
User           contrarianchris
Organizations  contrarianchris, laybuy

NAME            VERSION
@pulumi/pulumi  3.30.0
@types/node     10.17.60

Additional context
I also needed to specify the SHELL := /bin/bash variable in the Makefile, as per https://github.com/pulumi/pulumi-component-provider-ts-boilerplate/issues/16
Additionally, nexe doesn't seem to be very active as a project anymore. The more recent beta versions do support newer Node versions through the compile option, but the last stable release that doesn't support newer Node versions was nearly 2 years ago.
https://www.npmjs.com/package/nexe
There has been talk of publishing missing binaries and even a v5 rewrite for over a year without much progress.
https://github.com/nexe/nexe/issues/754
https://github.com/nexe/nexe/issues/843
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Is there any reason why not using vercel/pkg
It seems to be used for the same kind of tool, and looks updated more regular, with support for newest node versions

@alexanderniebuhr There is some history in https://github.com/pulumi/pulumi/issues/7009. It looks like pkg struggled with some of what was being done inside the package, at least back then.

Folks we are in the process of moving to pkg as we all speak :)

Another small update here - we believe we have sorted out what we need to do here and will migrate this boiler plate to use the new way this week

pkg is now implemented and working correctly on awsx 1.0.0-beta.7 release, along with a change which will be release in the next @pulumi/pulumi release.