handle relative paths as cli arguements

The fwtCLI.py functions should accept relative paths in the same formats as other cli based filesystem utilities, such as cp, ls, mv etc. For example worlds/adventure/images/background.png or ../characters/wizard/token.png. Unlike those filesystem utilities fwtCLI must update the foundry database in addition to preforming the filesystem operations. Foundry database updates require the file paths to be relative to the foundry user data directory.
On windows resolving a relative path based on the current working directory works as expected, but on Unix OSs when getcwd is called in a path element that descend from a symbolically linked directory the path returned is that of the linked directory not path containing the symbolically linked directory.
practically this is what happens:
if /dev/worlds/adventure is symbolically linked to /Data/worlds/adventure then calling getcwd from with a path that descends from /Data/worlds/adventure (say /Data/worlds/adventure/images)  will return a path that descends from /dev/worlds/adventure (/dev/worlds/adventure/images).
So in order to support relative paths foundry-world-tools must be able to algorithmically determine the absolute path of files and directories relative to the Foundry user data directory even if those paths don't appear to be decedents of the Foundry user data directory.

This should work now.


docker stats not showing memory info

raspberrypi3/2.0.0-beta.1, docker stats shows only CPU info, like this:
CONTAINER           CPU %               MEM USAGE / LIMIT   MEM %               NET I/O             BLOCK I/O
5818fcc14d19        0.22%               0 B / 1.02 GB       0.00%               2.324 kB / 648 B    29.65 MB / 0 B
8644ec23750c        0.00%               0 B / 1.02 GB       0.00%               1.637 kB / 648 B    11.96 MB / 0 B
97e41954eafa        0.16%               0 B / 1.02 GB       0.00%               3.499 kB / 648 B    12.57 MB / 0 B
a6a718e9d33b        0.11%               0 B / 1.02 GB       0.00%               0 B / 0 B           21.43 MB / 0 B
fe4234f1037f        0.00%               0 B / 1.02 GB       0.00%               4.382 kB / 648 B    4.538 MB / 0 B

I did not check on other platforms, but I suppose it is the same. Can this be enabled?

Are you able to reproduce this on a latest resinos managed image (from dashboard)?

Hi @cskiraly are you doing this from a container or from the host OS?

@floion I tested this on a resin.io v2.0.6 rasberry pi 3 and it seems to work, although I see 0B consistently for the NET I/O, I wonder if this has to do with all containers being host networked currently, but all other values seem to work. See below:
CONTAINER           CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O
1787c1499a7d        0.13%               73.97 MB / 1.019 GB   7.26%               0 B / 0 B           30.15 MB / 24.58 kB
4bc01ebd36ab        0.01%               23.41 MB / 1.019 GB   2.30%               0 B / 0 B           13.64 MB / 0 B

Same here. Let's wait for @cskiraly to confirm and then close this issue


Hornet node did not shutdown

Hornet V2.11
Pi4 Ubuntu ARM64 4GB
Profile: custom (as provided by default)
Upon syncing I shut down Hornet and copied the mainnetdb to a backup. I restarted Hornet and then 15 to 20 minutes later after seeing a lot of swapping I was going to change to a lighter profile. upon using systemctl stop Hornet started the shutdown process but was still processing milestones.
Log attached: HornetNotShuttingDown.txt

Should be fixed in the latest version


Create route through an iterator

Create a route group from an iterator.
So we can separate our routes into more files avoiding that they get too big:
./routes
├── api.php
├── api.posts.php
├── api.users.php
├── channels.php
├── web.php
├── web.posts.php
└── web.users.php
    protected function mapWebRoutes()
    {
        $directory = new \RecursiveDirectoryIterator(base_path('routes/'));
        $files = new \RegexIterator($directory, '/web(.*).php$/');

        Route::middleware('web')
            ->namespace($this->namespace)
            ->group($files);
    }

All the tests in the framework are passing and did not have any major modifications.

I suggest just registering the files manually. These types of file operations can be slow.

We can use the same code without the RecursiveDirectoryIterator, so we can load the routes.
This would make it easier to load more files in the same namespace...
:)
    protected function mapWebRoutes()
    {
        $routes = new ArrayIterator( [
                base_path('routes/web.php'),
                base_path('routes/web.users.php'),
                ...
        ] );

        Route::middleware('web')
            ->namespace($this->namespace)
            ->group($routes);
    }


🐛 App crash when open camera

What's happening?
App crash after open camera , I tried this solution but it not work https://github.com/mrousavy/react-native-vision-camera/issues/1776#issuecomment-1757204827
Reproduceable Code
import React, { useState } from 'react';
import { Text, View, StyleSheet, TouchableOpacity } from 'react-native';
import { Camera, runAsync, useCameraDevice, useCameraDevices, useFrameProcessor } from 'react-native-vision-camera';
import { documentRecognition } from './src/Helpers';

 const App = () => {

   const [camera, setCamera] = useState(false)
  const frameProcessor = useFrameProcessor((frame) => {
    console.log("I'm running synchronously at 60 FPS!")
    const faces = documentRecognition(frame)
    console.log("I'm running asynchronously, possibly at a lower FPS rate!")

  }, [])

  const devices = useCameraDevice('back')

  const device = devices

  if (device == null) {
    return <View />;
  }
  return (
    <View style={{flex: 1}}>
      <TouchableOpacity title={'Open Camera'} onPress={() =>setCamera(true)} style={{backgroundColor: 'red', marginTop: 100, padding: 100, zIndex: 2}}>
        <Text>Open</Text>
      </TouchableOpacity>
     {camera && <Camera
        frameProcessor={frameProcessor}
        style={StyleSheet.absoluteFill}
        isActive={camera}
        device={device}
        torch={'on'}
        pixelFormat={'yuv'}
      />}
    </View>
  )
}

export default App;

=========
native code
package  com.camerav3.frameprocessor;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.mrousavy.camera.frameprocessor.Frame;
import com.mrousavy.camera.frameprocessor.FrameProcessorPlugin;

import java.util.Map;

public class documentRecognitionFrameProcessorPlugin extends FrameProcessorPlugin {
    @Nullable
    @Override
    public Object callback(@NonNull Frame frame, @Nullable Map<String, Object> arguments) {
        // code goes here
        return "tset";
    }
}

Relevant log output
FATAL EXCEPTION: mrousavy/VisionCamera.video
Process: com.tahaluf.idify, PID: 21705
com.facebook.jni.CppException: Compiling JS failed: 1:1:invalid empty parentheses '( )' Buffer size 3 starts with: 280a29 and has protection mode(s): rw-p
at com.mrousavy.camera.frameprocessor.FrameProcessor.call(Native Method)
at com.mrousavy.camera.core.VideoPipeline.init$lambda$0(VideoPipeline.kt:105)
at com.mrousavy.camera.core.VideoPipeline.$r8$lambda$EMriwS_FKhtjTFtppM84Z5V8tiI(Unknown Source:0)
at com.mrousavy.camera.core.VideoPipeline$$ExternalSyntheticLambda0.onImageAvailable(Unknown Source:2)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:798)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:219)
at android.os.HandlerThread.run(HandlerThread.java:67)

Camera Device
"dependencies": {
    "react": "18.2.0",
    "react-native": "0.72.6",
    "react-native-reanimated": "^3.5.4",
    "react-native-vision-camera": "^3.4.0",
    "react-native-worklets-core": "^0.2.0"
  },

Device
Samsung s23
VisionCamera Version
3.4.0
Can you reproduce this issue in the VisionCamera Example app?
No, I cannot reproduce the issue in the Example app
Additional information

[ ] I am using Expo
[X] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

Same here, app just creshes when use frame processor

can you update react-native-vision-camera 3.5.1 and test again?

@celik75  still the same error
FATAL EXCEPTION: mrousavy/VisionCamera.video
Process: com.tahaluf.idify, PID: 8810
com.facebook.jni.CppException: Compiling JS failed: 1:1:invalid empty parentheses '( )' Buffer size 3 starts with: 280a29

I could fix this problem by updating react-native-worklets to the latest version (which is not published on npm yet):
"react-native-worklets-core": "https://github.com/margelo/react-native-worklets-core.git#800cf1b2cc65704cf5dfbc725aef1ac1dff32481",

I could fix this problem by updating react-native-worklets to the latest version (which is not published on npm yet):
"react-native-worklets-core": "https://github.com/margelo/react-native-worklets-core.git#800cf1b2cc65704cf5dfbc725aef1ac1dff32481",

can you please share your patch @rafaelmotta  ?

hello @rafaelmotta ,
what the version number ?

Still facing this error after using the worklets-core from GitHub:
FATAL EXCEPTION: mrousavy/VisionCamera.video
                                                                                Process: com.visioncameradynamsoftbarcodereaderexample, PID: 10080
                                                                                com.facebook.jni.CppException: Compiling JS failed: 1:1:invalid empty parentheses '( )' Buffer size 3 starts with: 280a29
                                                                                at com.mrousavy.camera.frameprocessor.FrameProcessor.call(Native Method)
                                                                                at com.mrousavy.camera.core.VideoPipeline._init_$lambda$0(VideoPipeline.kt:113)
                                                                                at com.mrousavy.camera.core.VideoPipeline.$r8$lambda$EMriwS_FKhtjTFtppM84Z5V8tiI(Unknown Source:0)
                                                                                at com.mrousavy.camera.core.VideoPipeline$$ExternalSyntheticLambda0.onImageAvailable(Unknown Source:2)
                                                                                at android.media.ImageReader$1.run(ImageReader.java:837)
                                                                                at android.os.Handler.handleCallback(Handler.java:938)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                at android.os.Looper.loopOnce(Looper.java:233)
                                                                                at android.os.Looper.loop(Looper.java:344)
                                                                                at android.os.HandlerThread.run(HandlerThread.java:67)

Still facing this error after using the worklets-core from GitHub:
FATAL EXCEPTION: mrousavy/VisionCamera.video
                                                                                Process: com.visioncameradynamsoftbarcodereaderexample, PID: 10080
                                                                                com.facebook.jni.CppException: Compiling JS failed: 1:1:invalid empty parentheses '( )' Buffer size 3 starts with: 280a29
                                                                                at com.mrousavy.camera.frameprocessor.FrameProcessor.call(Native Method)
                                                                                at com.mrousavy.camera.core.VideoPipeline._init_$lambda$0(VideoPipeline.kt:113)
                                                                                at com.mrousavy.camera.core.VideoPipeline.$r8$lambda$EMriwS_FKhtjTFtppM84Z5V8tiI(Unknown Source:0)
                                                                                at com.mrousavy.camera.core.VideoPipeline$$ExternalSyntheticLambda0.onImageAvailable(Unknown Source:2)
                                                                                at android.media.ImageReader$1.run(ImageReader.java:837)
                                                                                at android.os.Handler.handleCallback(Handler.java:938)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                at android.os.Looper.loopOnce(Looper.java:233)
                                                                                at android.os.Looper.loop(Looper.java:344)
                                                                                at android.os.HandlerThread.run(HandlerThread.java:67)

This error goes away. I am facing a new system/frame-processors-unavailable error: https://github.com/mrousavy/react-native-vision-camera/issues/2066

Looking at your feedback and my observations after doing some debugging my theory is that react-native-worklets-core: 0.2.0 is compatible with react-native-reanimated: < 3.5 and react-native-worklets-core:  >= 0.2.1 is compatible with react-native-reanimated: >= 3.5, althought I might be wrong.
At least I can say that it works for me in these configurations.

Yup, you need the latest versions. We will try to make Worklets Core compatible with more versions of Reanimated, we'll need to talk to the Reanimated team to figure out a good solutoin.

Just experienced this issue right now. It only happens when I add frame processor. When I remove it everything works well. However I need the frame processor.
Using
"react-native-vision-camera": "3.6.6",
"react-native-worklets-core": "^0.2.4",


Add Luke Mallon to MAINTAINERS

Luke Mallon, known as @Nalum, has been contributing invaluable patches and dedicating significant time for thorough code reviews, greatly benefiting the project.
Given his substantial contributions and dedication to thorough code reviews, Luke has demonstrated the expertise and commitment that would make him an excellent project maintainer.
cc @phoban01 @tomhuang12

@Nalum would you mind give us a LGTM and merge it please?

LGTM


WIP ngx-forge ui

Initial integration of the ngx-launcher project, still needs some work on the ngx-launcher before this can work

What do I have to do to take a look at this @edewit ?

sure @quintesse have a look

I meant: "how?" :)
What url do I go to test it?
Or does it replace the existing UI?

@quintesse this removes the old UI that we had and replaces it with the one from ngx-launcher all you have to do is execute ./run.sh and go to http://localhost:8088/


bug: Approve pop-up not autofilling value field anymore

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
0.12.12
Current Behavior
When i call the approve function with a given value, the metamask pop-up appears but the "Amount" field is blank. I then have to click on either "Max." or "Use default." for the field to be filled. It only happened since the new metamask approval window UX/UI.
Expected Behavior
When i call the approve function, the value is correctly set as soon as the pop-up opens.
Steps To Reproduce
Call the approve config like this:
const { config: approveConfig }: { config: any } = usePrepareContractWrite({
    address: contractAddress,
    functionName: "approve",
    abi: [ {
        "name": "approve",
        "inputs": [{
            "internalType": "address",
            "name": "spender",
            "type": "address"
        },
        {
            "internalType": "uint256",
            "name": "amount",
            "type": "uint256"
        }],
        "outputs": [
             {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    } ],
  args: [spender, BigNumber.from(MAX_UINT256_VALUE)]
});

Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response

Thanks for reporting. This issue is temporarily closed due to lack of information. Please provide a minimal reproducible example and reopen this issue.
What contract address are you using? Having a complete example will help us help you.

This is because of an update to metamask (expected behaviour now) and not related to wagmi


Merge difference and delete stale branch

Is there a reason we keep these old branches that are long outdated?

I don't know. They aren't mine, so I don't delete them.

@Tom-Ski Do we still need this branch?


cluster installation hanging at bootstrap

journalctl.wrkr-node003.txt
Issue Report Template
Tectonic Version
1.6.2 tectonic 1
Environment
VM installation for test
What hardware/cloud provider/hypervisor is being used with Tectonic?
Using KVM hypervisor
Expected Behavior
Actual Behavior
assets_081117.zip
Reproduction Steps
My test landscape info
3 nodes - Master
4 nodes - Worker
I have configured our DNS  to have hostname and then the alias name. The alias name is what I am using for the node in the GUI installer
I have configured one alias for the Controller info ( I tried round robin for the controller nodes, but I get the same error)
I have configured a round-robin for the Worker cluster
from reading the previous posts and forums, https://github.com/coreos/tectonic-forum/issues/13
seems like api server can't be contacted, even though the api server is pingable from all nodes.
Also another weird issue, is that my docker0 is down
I am a little lost at this point as to what the issue is currently, but my install won't finish. I followed the suggestion on the other post
my results of the the curl checks
root@lvpalkvm71:/setup/matchbox-v0.6.1-linux-amd64/scripts/tls# curl http://<IP_ADDRESS>:10255/healthz                           okroot@lvpalkvm71:/setup/matchbox-v0.6.1-linux-amd64/scripts/tls# curl http://mstr-node002:10255/healthz
okroot@lvpalkvm71:/setup/matchbox-v0.6.1-linux-amd64/scripts/tls# curl http://<IP_ADDRESS>:10255/healthz
okroot@lvpalkvm71:/setup/matchbox-v0.6.1-linux-amd64/scripts/tls#
We are behind a proxy. I have configured my worker templ yaml and controller temp yaml files to have the below:

path: /etc/environment
filesystem: root
mode: 0644
contents:
inline: |
http_proxy=http://<IP_ADDRESS>:3128
https_proxy=http://<IP_ADDRESS>:3128
no_proxy=<IP_ADDRESS>,$BOOTCFGSERVER,$TECTONICCONTROLLER

name: docker.service
enable: true
dropins:
- name: 20-http-proxy.conf
contents: |
[Service]
Environment="HTTP_PROXY=http://$HTTP_PROXY:3128"
Environment="HTTPS_PROXY=http://$HTTPS_PROXY:3128"
Environment="NO_PROXY=<IP_ADDRESS>,$BOOTCFGSERVER,$TECTONICCONTROLLER"

name: early-docker.service
enable: true
dropins:

name: 10-http-proxy.conf
contents: |
[Service]
Environment="HTTP_PROXY=http://<IP_ADDRESS>:3128"
Environment="HTTPS_PROXY=http://<IP_ADDRESS>:3128"
Environment="NO_PROXY=<IP_ADDRESS>,$BOOTCFGSERVER,$TECTONICCONTROLLER"

I have attached my assets file and some journalctl output of controller and worker node.
Other Information
Feature Request
enable proxy configuration on graphical installer
journalctl.mstr-node002.txt
Environment
What hardware/cloud provider/hypervisor is being used with Tectonic?
Desired Feature
Other Information
let me know if other information is needed. Would appreciate your help in getting this cluster up and running.

@go4875 Can you try again after following this guide to add this proxy to docker.service?
https://gist.github.com/alekssaul/59a87b5be86f77cc4638083250d90568

Hello kbrwn
i did try that. if you look at my assets.zip file. the proxy to the docker service is included in the ignition files.  i also included that entry in my initial post. I have a couple of questions

do you have any sample of the boot.ipxe contents that you use that I can modify?
do you have any sample of the *.ign file that you use to boot the coreos images that I can look at?
I think what is happening, during the container linux installation piece, not all services are starting correctly. Hence my docker0 bridge is down, the etcd2 cluster is not running (have to start manually), and some other services.....

Hello
for some reason the bootstrap is not finishing. It's the same error that I am encountering in the original post
the docker0 is not starting. any help would be appreciated

@kbrwn . anyway i can get some more support on this issue? still same bootstrap hanging. seems like etcd is not starting correctly, hence the apiserver is also not available. please let me know. On another ?, is there any limitation to the free 10 node license, e.g. you can only deploy 1 master node with this free 10 node license??  Thanks.

@go4875 This is the place to get help if you are a Tectonic trial customer. TBH I think that you should perhaps abandon your installation in favor of the Tectonic Sandbox project. Baremetal/VM installation is a complex process that may not be worth going through just for a trial cluster.
The Tectonic Sandbox is a vagrant based cluster that is meant to show off the features of Tectonic/k8s. https://coreos.com/tectonic/sandbox


test: unit tests for createMethodWrapper and Service

:tada: This PR is included in version 1.1.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add Shaun Purcell's showcase highlighting his work

@mrueschman suggestions are to remove space near top, and to remove the first figure (as it shows up later on the same page)


Initial status

Thank you Ben, this is awesome rocketscience (still learning as i go).
I have managed to change the initial effect to fire instead of full-on white but struggle to find a way to change the initial state to ON instead of OFF. My goal is to have the strip light up as soon as the power is switched on and the esp8266 has booted up.
Where in the code can you change this?

you have to use trigger ? when ur esp goes online turn on the light ?

So you are implying that the strip is off when powered on just because the current state in  home assistant is off (because is goes to off when esp is pulled offline)?
I will try an automation which sets the strip state to on and use esp onlinestatus as trigger.
But, isn't this going to rely on the device_tracker monitoring the esp? I dont want this because my tracker only checks status every 30 seconds and i intend to keep it that way.
Compare this to a meelight or yeelight smartbulb: They do not depend on home assistant and device tracking. When i give them power via a regular wall  switch they light up and then report current state to home assistant.
I want the same for this led-strip: To be able to set the initial state to on, this will then report to home assistant via MQTT with the correct state.

can you leave the code so us (little rusty) to use it ?? and also can you do random effects in the loop ?? because i think will be boring same order effects non stop. i wish i can find like 100+ effects that work with this bruh automation so more choice-the better.

@encor50
Got it sorted out! One word in the code did the trick.
Look for these lines: (note that the initial state is set to false)
/******************************** GLOBALS for fade/flash *******************************/
bool stateOn = true;        //true = Strip ON when powered on. false = strip OFF when powered on
@bruhautomation: It would be awesome if you could add this comment in your code to make is easier for newcomers to find this tweak.


[Bug]:  The orders of pages is different from what is shown in the App, in the Roles UI

Is there an existing issue for this?

[X] I have searched the existing issues

Description
The orders of Pages listed in the Roles UI is different from what is seen in the Application. This should be consistent - as seen in the Application.
Steps To Reproduce
When we go to the Roles page of Admin settings, as a user I expect to see the pages in the same order as is seen in the application.

Public Sample App
No response
Issue video log
No response
Version
Instance

This isn't valid as these 2 are not related in any way


[exporter-logs-otlp-grpc] add support for logs specific env vars

Is your feature request related to a problem? Please describe.
After #3712 merges, the following environment variables will be not yet unsupported:

OTEL_EXPORTER_OTLP_LOGS_INSECURE
OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE
OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY
OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE
OTEL_EXPORTER_OTLP_LOGS_TIMEOUT

Describe the solution you'd like
Add support for the environment variables listed above.
We also need to add a description of the environment variables to the README.md

Fixing #3748 is a prerequisite for this issue.


[Dashboard] Add trial end date to personal30 account users

https://github.com/CartoDB/product/issues/262
Assumptions I made:

upgraded_at does not need to be checked because if the account is upgraded it should not be a PERSONAL30 type.
(Let me know if it is otherwise)

:heavy_check_mark: Acceptance OK!
Tested that it shows the right remaining days for PERSONAL30, MAGELLAN and others (not shown).

However, I've realized that the Add payment button shown is not working. I think we should fix it before deploying this.
@csubira can you try to fix it in this PR or should I create a new issue?

No problem, I'll check it and fix it here (as it's part of the same block) Thanks for the heads up @gonzaloriestra!

Add payment button fixed. FE part ready to be reviewed!

:heavy_check_mark: Tested again and the button is working now


Fix for #692

This fixes #692
I suggest if possible to use the same behaviour for all components with shadow markup; appending to the parent conteainer instead of appending to 'body' allow MVC frameworks like Ember, Angular or Meteor to remove the shadow markup when the template is removed from the DOM

This will mess up the placement of the tooltip for fixed elements

I see that this happens if the parent container has fixed position, but not if the element itself is fixed;
probably a separate management if the container is fixed or using an id for the tooltips, like you do for the select boxes will make easier to remove the tooltips associated elements within the template that is going to be removed...

We'll work on this in later updates.


Tsundere language formatting error for currency gen.

I can't tell you if the command is executed, because there was an error printing out the response. Key 'games_curgen_pl' is not properly formatted. Please report this.
Reporting as asked. This message appears as part of the auto plant message used in currency generation.

Already fixed in next update


Baseinstance support for all bindings

This adds support for the baseinstance argument across all 4 bindings.
It's based on the implementation here but removes any parameters that don't directly map between bindings.
It's not the prettiest implementation, so I'd love feedback on ways it could be better.
I also broke from style a bit and used double underscore so that it doesn't get added to the Qt namespace. Let me know if you'd prefer single underscore to be inline with the other 'hidden' functions.
Also I'm not sure how to write a test for this. Do you want one? I'm not sure if you want to package a dummy ui file with it and load it on to the instance.

@dgovil awesome, code looks very clean. Could you please add tests for this?

@dgovil see this test for an example of how to test without external files.
Ideally though, I'd like the loader to take a string of the full ui in addition to a file path. Maybe for another PR.

I'm not 100% sure if it's possible with the UILoader to take a string input directly. Does uic allow that? I didn't see it in the docs.
As for tests, I can definitely add some. I'm going to be away from my PC for a week though but if noone beats me to it, I'll get it done then.

I'm not 100% sure if it's possible with the UILoader to take a string input directly. Does uic allow that? I didn't see it in the docs.

It likely doesn't, it'd have to either (1) wrapped or (2) copy/pasted from source, as it's pure Python anyway.
Wrapped is likely the more suitable option, I'll post an example of current thoughts, but would stress that its implementation is likely best suited for a separate issue and PR.
# Psuedo, untested
def loadUi(source):
  if os.path.isfile(source):
    return UiLoader.loadUi(source)
  else:
    with tempfile.NamedTemporaryFile(delete=False) as f:
      f.write(source)
    try:
      return UiLoader.loadUi(f.name)
    finally:
      os.remove(f.name)

@mottosso I've added a test for baseinstance loading. It's fairly simple but it checks to see if the ui was loaded onto the instance correctly.

Thanks @dgovil, I think there is more to test for with this functionality.
Try and break it in various ways and ensure you've gotten the corner cases. We also need tests that check for differences across bindings such that we may document them properly.
Off the top of my head, we need to check:

Overwriting; if a widget, signal, property or slot already exists, is it overwritten, augmented, ignored?
Does signals created in Qt Designer work once loaded?
What happens when an invalid .ui file is passed?
What happens when a really large (2 gb) .ui file is passed?
What happens when a .ui file from an older/newer version of Qt is passed?

And finally, don't forget about PEP8. Those line lengths look beyond 80 characters wide.

Fair enough. Are you okay with me making a separate test file for these? Defining the classes needed to test those scenarios isn't easy/possible with the current tests.py script.
I'll still have the functions to call these classes in the tests.py module, but I'd need to put the classes for testing in another file.
Would you also be okay with me including a test.ui file rather than embedding the xml in the py file?
Also as to Test 4 in your list for the large UI file, I have no idea how I would even generate a ui file that large, plus I think it would be more of annoyance to anyone checking out this repo to have such a large file solely for testing.
But the others make sense.
Let me know if you're fine with the separate ui/py file and I can get started.

Sure, give it a try.
My concern with multiple files is that it invites complexity. Ideally your tests would be as small and concise as possible, and separate files per ui enables you to write arbitrarily large ui's, the same can be said for tests themselves if they are being organised into separate files.
If you can somehow avoid this trap, then I'd be fine with the splitting. Otherwise I'd prefer sticking to a single file and keeping it small.

How do you feel about taking the improvements/implementation from the qtpy project?
https://github.com/spyder-ide/qtpy/blob/master/qtpy/uic.py
Their loadUi implementation is slightly bigger (when looking at just the code, minus the license and comments) but supports more features and is also production tested since qtpy is used quite frequently. It also covers a few more edge cases.
The 3-clause BSD + MIT license covering that portion of the code would not impose anything new on top of your existing MIT license and qtpy is already MIT anyway.

I like that their implementation supports the customwidgets argument; though, they don't have tests for it.  And I'm pretty certain it doesn't match the way PyQt's loadUi handles custom widgets defined in UI files via the "Promote Widget" feature.
In PyQt, if you had a custom widget at package.module.MyWidget, you would create whatever the base of that widget was in Designer and Promote it.  The convention for PyQt was to use the Header File field to list the module, but with the old header file semantics, so you would enter it as package/module.h with a class name of MyWidget and PyQt4.uic.loadUi would convert that to package.module.MyWidget.  The qtpy implementation looks like it expects the header file field to just have the actual module (i.e. package.module) and doesn't do the header path conversion that PyQt4 does.

I just checked and PyQt4 supports both ways of specifying module path, either with the normal python syntax (package.module) or the header file syntax (package/module.h)

Thanks for the info @bpabel and looking into how PyQt handles it.
I think I'll try taking their implementation then, even if it isn't 1:1 identical to PyQts implementation. Can always build on top of it I think but this would get Qt.py to parity with qtpy atleast.

All we need now are some tests!

Yup. I should have them by this weekend. Crazy crunch has kept me from the PC much.

So I've added a few tests that I think should cover most of the ground suggested.

Overwriting; if a widget, signal, property or slot already exists, is it overwritten, augmented, ignored?
So this is a hard one. To test overwriting of anything I need to add a layout to the top level widget. When loading the ui file on, PyQT4/5 will complain there is already a layout. PySide(2) will not however. I've traced this back to a difference in PySide and PyQt, where PyQt cares when you redefine a layout for an existing object but PySide does not.

I have the test solely running for PySide and PySide2 since I figure it's still good to test the behavior, but it's a binding difference as far as my tests show.

Does signals created in Qt Designer work once loaded?

Added a test for this

What happens when an invalid .ui file is passed?

Added a test for this

What happens when a really large (2 gb) .ui file is passed?

Not sure how to do this test other than procedurally generating a ui file and  I think it might be overkill.

What kind of paths are supported? Backslash vs. forward slash, network drive (Windows, Linux, Osx) vs local path.

Is there a good way to test this? AFAIK, travis runs on linux so a windows path would be invalid anyway. That said I've tested on both Linux and Windows and it works fine. I just don't see a good way to write a meaningful test here.

What happens when an invalid path is passed?

Added a test for this

What happens when a .ui file from an older/newer version of Qt is passed?

So the ui file doesn't actually store Qt version info. There appears to be a schema version tag, but I can't find documentation or an older version. The schema appears to not have changed in a while as far back as I can tell.

Anyway I know the test coverage isn't great, but I think it covers enough to see if it's working, albeit just barely.
Another change I've made is that all bindings now call to __loadUi which then dispatches to the requisite implementation. I think this will make it easier to keep the implementations in sync if someone adds features in the future to bring more parity between bindings.

Thanks @dgovil, that's some stellar work. Having a look as soon as I'm able.

Ok, that's a little verbose, but let's give that a try.
To give you some idea of what I'm seeing, I made this.

@mottosso Okay I think that should do it. Sorry for the many commits, was jumping between computers this weekend so had to use git as my sync point.

Don't worry about it, thanks for your patience with these micro issues. I think Hound is using the flake8 linter, you could see those issues in real time if you use it locally. Having a look asap.

What are your settings for flake8? I get more warnings than what Hound is configured to report.

That's ok! I haven't configured Hound at all and am also getting more warnings than it does. I've got all linters I can get my hands on running on full blast over here.

I've removed the custom widgets feature.
Have a look at try and replicate the PyQt "bug" if loadUi and we're nearly there.

@mottosso So PyQt raises an odd exception type and behavior that I cannot match exactly. So for now I just intercept the condition at the head of the loadUi function and raise my own RuntimeError.
That should make it consistent between bindings. Let me know if you think I should implement it differently but I figure this is the most bang for the buck.

I think we are a go! Merging shortly, great work!


Add a way to control the storage size.

The current template deploys 2 1TB premium storage per instance.
Is there a way to add some control to the template of the disk size?

This is being worked on in a branch currently

This has now been merged into master in 10e02c16a1464d874fb8f8b5346fc73d83555a64.
The ARM template exposes a way to configure:

Number of disks attached to each VM (up to supported number on VM size)
Size of disks attached; 128Gb, 512Gb, 1024Gb
Whether disks use Standard or Premium Storage (if the VM size support Premium Storage).

Check out the README for more details 👍


Add up-direction estimation based on input camera poses

Based on https://github.com/jonbarron/camp_zipnerf/blob/8e6d57e3aee34235faf3ef99decca0994efe66c9/camp_zipnerf/internal/camera_utils.py#L233
Tested on Mip-NeRF360 scenes garden, bicycle, and room where bicycle is a bit weird (see below) but the other two work very nicely.
Also tested this on on the lego scene where it does not work. However, I do use this approach in my own PyTorch code where it works well for all Mip-NeRF360 and Tanks&Temples scenes.
One bug currently still needs to be fixed:
I get different behavior when loading a second scene without restarting Brush
start brush -> load bicycle -> incorrect up -> load bicycle -> correct up
start brush -> load garden ->  correct up -> load garden -> different but still correct up (wtf??)
No clue, why this happens. Maybe some internal state? Have not fully grasped this codebase yet ;)
After further investigation it seems like I need to load in every scene twice before I get the correct up direction. For garden and room the first one is already behaves correctly whereas for bicycle only the second one is the correct one.

While this does not directly address #42, it is somewhat related.

Thanks so much! Much nicer to keep just glam in there as it'll work everywhere without complicated BLAS building. Will do some tiny cleanup after this (& fix the weird 'need to load it twice' bug)


fix an issue where user defined DYLD_LIBRARY_PATH gets ignored

motivation: users should be able to set DYLD_LIBRARY_PATH
changes:

define new utility named EnvironmentVariables
add prependPath and appendPath helpers to EnvironmentVariables
update call sites that take [String:String] as environment variables to use the new EnvironmentVariables
fix the code in SwiftTestTool that stripped DYLD_LIBRARY_PATH to use EnvironmentVariables::appendPath which gives user's setting preference
add tests for EnvironmentVariables

rdar://83607631

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Not working on iOS

Hey great plugin, works well on Android. But I cant seem to get it to work on iOS. Am I missing something?
var message = 'the message';
var subject = 'the subject';
var image = 'https:image.url';
var link = 'http://www.somesite.com';

window.plugins.socialsharing.share( message, subject, image, link);

I am using iOS7, could that be it?

@EddyVerbruggen I'm checking on iOS 10 and got [CDVCommandQueue executePending] error.
any suggestions?


Global Shared Data/State

Is there a way to "hide" the globally available strawberry object? I'd like to use this for a game and I am not figuring out how to hide access to the initialized reactive data object.

You can kinda hide the reactive data object by calling sb.init inside a non global scope. But subsequent calls to sb.init returns the same object.
Will have to push an update that makes multiple calls to sb.init a no-op that returns undefined, the sb object would still be available though.


Add 'Forget Tabs' option to Fire button on Tab Switcher screen

Task/Issue URL: https://app.asana.com/0/inbox/856498667309057/1149667590460481/1149644742695411
Tech Design URL:
CC:
Description:
Forget Tabs option is missing when pressing Fire button on Tabs switcher.
Steps to test this PR:

Test fire button on Home screen.
Test fire button on Tab Switcher screen.
Check if pixels are fired as required.

Internal references:
Software Engineering Expectations
Technical Design Template

Thanks @subsymbolic!


Refactor: Logging/Reporting

Consolidate all applicable functions, classes, modules (new and old) to some new tracking subset. This could include logging and reporting, handling performance and data statistics.

As discussed today:

reporting should be able to scrape ctdcal.log and get the details of the last run, or series of runs.
Python logging should only be initialized once, and from the same place. As such, it should be initialized from the logging module, rather than __main__.

Granted I wasn't at the actual meeting where this was talked about....
Could you clarify what you mean by logging should be initialized once? The built in python logging is separated into logging emitters and handlers. Logging emitters should be done by using the a logging. getLogger(__main__) call at the top of the each file that will emit log messages. Logging handlers should be initialized by whatever script is going to do something with the log messages. For a cli, then a __main__.py might be the right place or even inside a if __name__ == "__main__" guard. In general, you don't want your library code to have any log handlers, only log emitters.


Change spam_report() to spam_reports() in documentation and examples

Issue #336

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello @mrmxs,Thanks again for the PR! We want to show our appreciation by sending                                              you some swag. Could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


SQLite - Functions broken after 0.9.2

Hey,
The following methods do not work as intended since 0.9.2: rename, addColumn, removeColumn (with foreign key constraints). There may be other issues but these are the only ones I've encountered so far.
The new AlterInstructions and query builders for SQLite treats it as a single executable.
Adding Columns
Single query for add column example query generated using:
 $this->table('table_1') 	   ->addColumn('user_id', 'integer') 	   ->create();
would create "ALTER TABLE standard_working_time ADD user_id INTEGER;"
This would work absolutely fine. However, with the AlterInstructions now executing one statement only for each type of method... SQLlite cannot handle the following for add columns:
 $this->table('table_1') 	   ->addColumn('user_id', 'integer')            ->addColumn('type', 'VARCHAR') 	   ->create();
This would generate the following SQL statement: "ALTER TABLE standard_working_time ADD user_id INTEGER, ADD type VARCHAR;
SQLite does not support this and has to be executed like so:
"ALTER TABLE standard_working_time ADD user_id INTEGER;"
"ALTER TABLE standard_working_time ADD type VARCHAR;"
Rename Table
$this 	->table('table_1') 	->rename('table_2');
Running this in SQLite will also throw RuntimeException with the following message:
In AbstractMigration.php line 362:
Migration has pending actions after execution!
This was run directly after the following migration:
$this 			->table('table_1') 			->addColumn('user_id', 'integer') 			->addColumn('weekday', 'integer', ['limit' => MysqlAdapter::INT_TINY]) 			->addColumn('start', 'time') 			->addColumn('end', 'time') 			->addForeignKey('user_id', 'users', 'id', ['delete' => 'NO_ACTION', 'update' => 'CASCADE']) 			->create();
As you can see above, there are multiple addColumn methods. I implemented my own temporary "workaround" to move on with my migrations to see if anything else was broken for SQLite
AlterInstructions was changed to have this:
/**
     * Executes the ALTER instruction and all of the post steps.
     *
     * @param string $alterTemplate The template for the alter instruction
     * @param callable $executor The function to be used to execute all instructions
     * @return void
     */
    public function execute($alterTemplate, callable $executor)
    {
    	$adapter = $executor[0];
    	$adapter_type = $adapter->getAdapterType();

        if ($this->alterParts) {
            if ($adapter_type === 'sqlite') {
				foreach ($this->alterParts as $alterPart) {
					$alter = sprintf($alterTemplate, $alterPart);
					$executor($alter);
				}
            } else {
	            $alter = sprintf($alterTemplate, implode(', ', $this->alterParts));
	            $executor($alter);
            }
        }

        $state = [];

        foreach ($this->postSteps as $instruction) {
            if (is_callable($instruction)) {
                $state = $instruction($state);
                continue;
            }

            $executor($instruction);
        }
    }

This allowed me to use addColumn multiple times. (not the most ideal fix as I'd rather change how the SQLAdapter builds the queries and look into executing multiple times by making improvements to the alterInstructions class but this was just a simple implementation to get it working).
Removing Columns (with foreign keys)
Create the following table:
$this
			->table('table_3')
			->addColumn('user_id', 'integer')
			->addColumn('start', 'datetime')
			->addColumn('end', 'datetime')
			->addColumn('description', 'string')
			->addForeignKey('user_id', 'users', 'id', ['delete' => 'CASCADE', 'update' => 'CASCADE'])
			->create();

now further in your migrations, make changes to the table like so:
                       $this
			->table('table_3')
			->dropForeignKey('in_event_id')
			->dropForeignKey('out_event_id')
			->removeIndex(['in_event_id', 'out_event_id'])
			->removeColumn('in_event_id')
			->removeColumn('out_event_id')
			->save();

The initial creation works (using the temp fix I put in place to allow chaining addColumn.
The migration after fails due to the following SQL statements being run
ALTER TABLE table_3 RENAME TO tmp_table_3;
This is fine. This however isn't when it goes to re-create the table:
CREATE TABLE table_3
(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, user_id INTEGER NULL,
start DATETIME NULL, end DATETIME NULL, description VARCHAR(255) NULL,
out_event_id INTEGER NULL,
FOREIGN KEY (user_id) REFERENCES users (id) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (in_event_id) REFERENCES door_events (id) ON DELETE NO ACTION ON UPDATE CASCADE,
FOREIGN KEY (out_event_id) REFERENCES door_events (id) ON DELETE NO ACTION ON UPDATE CASCADE
);
The foreign keys are kept in place, thus throwing an error as it's trying to add a foreign key to something that doesn't exist.

Hi, thanks for reporting. Would you like to help solving some of those issues? Seems like you have a pretty good idea of what is broken and what needs to be done

Instead of adding the hack, you just need to change the sqlite adapter to use $instructions->addPostStep() or use the second argument of AlterInstructions constructor. Here, for example https://github.com/cakephp/phinx/blob/master/src/Phinx/Db/Adapter/SQLiteAdapter.php#L343
You just need to make sure that the full statement is written, instead of just the ADD part.

Briefly used that earlier while going through the code base to get a better understanding of what's going on and checking out the changes and does look like a better way of going about it than the crappy workaround I put in to do more tests. I will look into it more soon as I get chance and ideally add in more unit tests to hopefully prevent it happening in the future

@JamesRItchie88 thanks a lot for your report and help. I'm really surprised this was not caught by tests before, so definitely we need to add more to prevent this kind of mistakes in the future

Thanks!


[BUG] Current defaults for disk and memory are not enough for Openshift

General information

OS:  Windows
Hypervisor: Hyper-V
Did you run crc setup before starting it (Yes/No)? Yes
Running CRC on: Laptop

CRC version
CRC version: 2.38.0+25b6eb
OpenShift version: 4.15.17

Host Operating System
OS Name:                   Microsoft Windows 11 Enterprise
OS Version:                10.0.22631 N/A Build 22631
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: AMD64 Family 25 Model 68 Stepping 1 AuthenticAMD ~2701 Mhz
Total Physical Memory:     32,020 MB

Steps to reproduce
After starting Openshift with default  configuration of memory {10Gi) and disk (31G) I had problems to work with cluster

Adding additional pods failed - nginx or quarkus example - Evicted because lack of memory of the node
After couple of restarts of Opeshift there were about 800 pods Evicted due Disk pressure - cluster was accessible, but a lot of services were not started - like image registry ....

Expected
Default configuration should enable to play around with Openshift - at least provide space for some new pods and should be stable -  not to break down due to lack of resources after simple experiment (nginx and quarkus exapmple) and couple of restarts.
Actual
I think default config of resource is just on the edge to run cluster itself, at least this is my impression, I did not do any fancy stuff, just tried couple of examples and this caused problems.

Defaults have always been to get the cluster operational.

Adding additional pods failed - nginx or quarkus example - Evicted because lack of memory of the node

In that case, you have to add memory. With newer versions, this might become more necessary(or you were able to get away with just the defaults), though it is always necessary to adjust the memory and CPU resources according to the payload you are running. This has always been the case...

nginx or quarkus example

can you indicate which Quarkus example you used? As I would not see why nginx or httpd would cause these issues, as they are very minimal in footprint.

For nginx I used example using Template,
For quarkus I use Basic Quarkus - DevFiles .
I started with Basic Quakus - it did not deploy  - I think it was due to memory  or maybe image problem, then deleted tried nginx - again problem with memory.  Increased memory  +2G - directly on VM.
Later after restarts all cluser went bad - with many pods not staring due to disk pressure on node.
Started completly new instance - with 13G memory, 50 G disk -  looked better, but did not played with it much.
This issue is just FYI - it was my impression that resources are on their limit - maybe only local problem.  I wanted to save some troubles to other new users.  Feel free to close at your discretion - setting up these params is easy so I know what to do.

I wanted to save some troubles to other new users.

We are trying to improve this situation, but this will mostly be around "messaging"; we will have to report to the user there is pressure on the cluster and resource need to be increased. I agree with your point and would like to determine what can be done to make this more obvious. We might increase the default a little, though this will only delay the actual problem.
It is mostly the memory; on our machines with 32G we mostly assign 16/18G of memory. On Windows/macOS people are more likely to also use the machine for other activities, like browsing and leaving tabs open. This will introduce memory pressure on lower specced machines.


fix(storage): seeking object before file creation

Addresses : https://github.com/googleapis/google-cloud-php/issues/3347
Change:
Moving object seek before file creation while downloading a storage object.
Test:
Directly edited the /vendor folder in php-docs-samples and validated that:

File is created while object is present
php src/download_public_file.php $GOOGLE_STORAGE_BUCKET sample.txt ./temp.txt

No file is created when object is not present (previously an empty file was being created)
php src/download_public_file.php $GOOGLE_STORAGE_BUCKET no_sample.txt ./temp.txt

Note:
In test case 2, with or without this change, an exception is thrown.

Raised it on wrong base by mistake.
Ref: https://github.com/googleapis/google-cloud-php/pull/5524


Free Form Term Genie submission: DNA recombinase disassembly

[Term]
id: GO:1990986
name: DNA recombinase disassembly
namespace: biological_process
def: "The disaggregation of a DNA recombinase complex into its constituent components." [GOC:pg, PMID:19540122]
subset: termgenie_unvetted
synonym: "Rad51 nucleoprotein filament disassembly" RELATED []
is_a: GO:0043624 ! cellular protein complex disassembly
created_by: pg
creation_date: 2016-11-18T13:13:56Z
@pgaudet: the TermGenie Free Form submission is not meant to be in active use (email 6/23/16) because not all inferences/parents are saved/created which could lead to loss of information and screwed up parentage. Unfortunately, there is no speedy way to deactivate this functionality otherwise we would have done so. (@cmungall) I'm moving the term request to GH for checking.
Please request all non-templatable terms through GH in the future.

Definition of 'DNA recombinase assembly': The aggregation, arrangement and bonding together of strand exchange proteins (recombinases) into higher order oligomers on single-stranded DNA.
@pgaudet:Would 'DNA recombinase disassembly' be better defined as:  'The disaggregation of a DNA recombinase complex into its constituent strand exchange proteins (recombinases).'?

Yes !!!!Sorry about the copy/paste.
Thanks, Pascale
On Wed, Nov 30, 2016 at 2:26 AM, Tanya Berardini<EMAIL_ADDRESS>wrote:

Definition of 'DNA recombinase assembly': The aggregation, arrangement and
bonding together of strand exchange proteins (recombinases) into higher
order oligomers on single-stranded DNA.
@pgaudet https://github.com/pgaudet:Would 'DNA recombinase disassembly'
be better defined as: 'The disaggregation of a DNA recombinase complex into
its constituent strand exchange proteins (recombinases).'?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/geneontology/go-ontology/issues/12809#issuecomment-263755090,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEj7UPBaihGO4GITARu57ecZqDpOHM2Xks5rDNDhgaJpZM4K2-7Q
.

Status for commit #88703: Success
ID: GO:1990986 Label: DNA recombinase disassembly
Please request all non-templatable terms through GH in the future.


Count of Smaller Numbers After Self

Solve this New question of Count of Smaller Numbers After Self Leetcode Hard Problem
WIth Time Complexity and space Complexity

LGTM


Other NSDocument apps don't recognize when VS Code changes a document

VSCode Version: 1.34.0
OS Version: macOS Mojave 10.14.5

Steps to Reproduce:

Open a document with an NSDocument-aware app such as TextEdit
(Optionally, open that document with a second NSDocument-aware window)
Open that document with VS Code
(Optionally, open that document with a second VS Code window)
(Optionally, edit and save the document in the first app, observe that all VS Code windows update)
Edit and save the document in VS Code, observe that the first app doesn't update (but all other VS Code windows update)
(Optionally, re-save the document in the first app. Observe that, prior to interacting with the warning dialog, all other NSDocument-aware windows update.)

This bug impairs working with the same file in multiple applications on macOS.
This may be related to NSFilePresenter and presentedItemDidChange of NSDocument.
Does this issue occur when all extensions are disabled?: Yes

@NilsEnevoldsen We don't go through the macOS libraries. We read and write the files directly. We have no plans to change this at this point.


check the PATH for condor_chirp command

@hufnagel, Dirk, is this what you were thinking to get the right path in Singularity container?
I am not sure whether PATH would be set correctly in Singularity. We can find all the path as well but that would take long time (might be better to look for certain paths if we knows some candidate)

@hufnagel, Dirk I updated the patch as you suggested.
@amaltaro, Alan, could you review the patch as well

Thanks Alan, I updated the patch as you suggested. I will run the test in my vm whether it breaks anything, and if it goes OK. I can patch  cmsgwms-submit6 hepcloud agent.

Thanks, Seangchan. It looks good!

Would check with Ops if this is wanted in all agents as well since it affects all sites that use singularity. I'll definitely add it to the Tier0 deployment instructions.

I create the branch patch (#8538) and updated hepcloud agent. (My vm test at least didn't break anything - I am not sure it will fix the problem though since PATH is not guaranteed to set correctly for condor_chirp) If the patch fixes the problem we can apply to that to all agent)

Hi @ticoann -
CMSSW searches $PATH for Singularity and CMSSW-based jobs have been reporting without a problem.
Brian

CMSSW searches $PATH for Singularity and CMSSW-based jobs have been reporting without a problem.

well, what's the problem then (if any)? How can we check whether a job is properly reporting from inside CMSSW? I think we can run a workflow in a singularity-based site (Nebraska e.g.), fail all jobs, look up at Kibana and check the step exit code(?)


[SPARK-7489][Spark Shell]Spark shell crashes when compiled with scala 2.11

Spark shell crashes when compiled with scala 2.11 and  SPARK_PREPEND_CLASSES=true
There is a similar Resolved JIRA issue -SPARK-7470 and a PR https://github.com/apache/spark/pull/5997 , which handled same issue only in scala 2.10

LGTM

Can one of the admins verify this patch?

@andrewor14 ,  Jenkins is  not triggering  test build. Can you please comment now to start build?

ok to test

Merged build triggered.

Merged build started.

Test build #32262 has started for   PR 6013 at commit 119061c.

Test build #32262 has finished for   PR 6013 at commit 119061c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32262/
Test PASSed.


JSQR is using too much CPU

JSQR is using a lot of CPU. When the cam is turned on, the use of cpu increases by 50%. How to solve this?

So generally scanning images is going to use CPU. We've made strides to reduce the amount of CPU (and memory) that jsQR uses, especially in the v1 refactor. That said I certainly agree it could be better. #78 for example will cut down the CPU cycles per image by ~30% (when inverting is disabled) I think.
Going to keep this issue open to track general CPU improvements but we should probably try to define some metrics etc or we'll never be able to close it. Not sure if you have any ideas around that?

Does JSQR use webworker?  This project https://thomasbilliet.com/react-qr-reader/ uses webworker with a delay so QR is decode every x (default to 500) ms.


Get-SqlDatabase: Keyword not supported: 'authentication'.

In the PowerShell script, the following line is used to create the connection string:
$connStr = "Server = " + $serverName + "; Database = " + $databaseName + "; Authentication = Active Directory Integrated"
But the following line gives an error message:
$database = Get-SqlDatabase -ConnectionString $connStr
Error message: Get-SqlDatabase: Keyword not supported: 'authentication'.

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

ID: 75078545-ecc6-24d3-1f2b-3827e60dc1a2
Version Independent ID: 4f6f6369-6c88-fb74-5229-c2ec698d11a9
Content: Configure Always Encrypted using PowerShell - SQL Server
Content Source: docs/relational-databases/security/encryption/configure-always-encrypted-using-powershell.md
Product: sql
Technology: security
GitHub Login: @jaszymas
Microsoft Alias: jaszymas

Which version of the SqlServer PowerShell module are you using? You can determine the version of the imported/installed module by running the below cmdlets:
Get-Module "SqlServer"
Get-InstalledModule "SqlServer"

21.1.18256

Hi @sartoris, could you confirm you are seeing this on PS7 and not PS5.1?
What's the output of $psVersionTable?
I do see it in PS7, so I can take a look and see what is going on there...

Name                           Value

PSVersion                      7.2.1
PSEdition                      Core
GitCommitId                    7.2.1
OS                             Darwin 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Yes, that's what I suspected.
From a conversation with the owners of System.Data.SqlClient on netcore/netstandard, it is by design that that is not supported.
You'd have to wait for the upcoming version 22.x of the module which is supposed to adopt Microsoft.Data.SqlClient: once that happen your scenario should light up automagically.

I suspected as much. .Net Core will get there eventually.

@ericfran - I hope I can push a v22-preview out in a couple of weeks. I'm in the final round of validation on waiting on some partner teams to give me the green light.

will it also support the encryption column ?

will it also support the encryption column ?

Kindly elaborate on that question :-)

seems same need on the lib with another option
Issue : for encrypted field in table in Azure SQL + Always encrypted , the POwershell Module SQlServer can't support in connectionsctring  "
Column Encryption Setting=enabled;"
SetValueInvocationException: Exception setting "ConnectionString": "Keyword not supported: 'column encryption setting'."

Yes, same thing.
This is what I have on my machine right now:

which is a lot more exciting than the old one:

That is great
Any idea when we could have this on our ‘pc’ ? 😉
Thanks ( no preview possible )
Sent from my iPhone

On 19 Apr 2022, at 13:59, Matteo Taveggia @.***> wrote:

Yes, same thing.
This is what I have on my machine right now:
which is a lot more exciting than the old one:
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

I'm pretty much locked and loaded with the "v22 super-alpha preview"...
I do not have an ETA to get out of the preview... it may be a bit (or a lot) down the road, depending on how the preview goes (I expect to make additional breaking changes to modernize the codebase a bit and bring it to a state where I could ideally push it to github.com.

also trying from Azure cloud Shell it doesn't work


Fix bug when dynamically change the loaders

If a loader tries to add another loader with :
module.exports.pitch = function() {
        loaders.unshift({....});
}

And another loader (like HTML loader) is calling this.getOptions().
Then getCurrentLoader() is called, however this.loaders is different from loaderContext. this.loaders is the initial loader list, when loaderContext contains the newly inserted loader.
What kind of change does this PR introduce?
Bugfix.
Did you add tests for your changes?
No
Does this PR introduce a breaking change?
I don't think.
What needs to be documented once your changes are merged?
Nothing.

Why you modify loaders? It is bad

@denis-migdal The most important CI builds failed. This way your PR can't be merged.
Please take a look at the CI results from azure (2 errors / 1 warnings) and appveyor (failure) and fix these issues.

I don't have time to go more in depth for this issue. But it seems there is some more complex issue in the code.
I will reply to Alexander and try to find a workaround for what I was trying to do.

Why you modify loaders? It is bad

My loader currently needs to do some action before and after file-loader if there is any.
I'm trying to find some kind of workaround.

file-loader is deprecated

file-loader is deprecated

Is it just a name change ?
I tried some Google search, I found nothing comparing file-loader and asset/resource.

Please read https://webpack.js.org/guides/asset-modules/

Please read https://webpack.js.org/guides/asset-modules/

Yeah, but I see nothing explaining why asset is the new thing and why it is better than file-loader.
From what I read, it's just a way to write the same thing differently.
But my issue still remain. I need to remove content from my file before creating the asset, and to add the removed content after creating the asset so that I can access it through the js file requiring/importing my file.

Changing loaders is supported. Make sure to also change this.loaderIndex if you modify the list.
And we keep supporting file-loader for a while anyway.

Please also add a test case

Please also add a test case

I'm just doing it because I found something strange in the code while I was using it. I can't spend too much time on it as I need to do other stuffs for my work.
And I still got errors on the CI/CD that I have no idea of how to interpret it xD.
I'm currently thinking about how to do what I wanted to do, differently without injecting loaders as it seems to be not well supported.

I have found a better way to achieve what I wanted.
I close this pull request as I do not have time to work on it, and to understand the errors pointed by the CI/CD.
You'll still have an obvious issue in your code though. But as long as it works for everybody, better not touching it xD.

@denis-migdal Let's keep open, I think we will fix it in near future

I can't reopen the pull request, but I can open an issue if you want ?

@denis-migdal Yep, let's do it


Error: Request failed with status code 404

When I run npx playwright test following the steps in the documentation. I receive multiple iterations of this error:
Error: Request failed with status code 404: {"errorCode":4040,"message":"Project 'chromium' not found. Did you use correct project name?"}
URL: http://localhost:8080/api/v1/chromium/launch
method: POST
    at /Users/temi/work/spire-web-tests-playwright/node_modules/@reportportal/client-javascript/lib/rest.js:43:15
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Failed to finish launch. Error: Request failed with status code 404: {"errorCode":4040,"message":"Project 'chromium' not found. Did you use correct project name?"}
URL: http://localhost:8080/api/v1/chromium/launch
method: POST
    at /Users/temi/work/spire-web-tests-playwright/node_modules/@reportportal/client-javascript/lib/rest.js:43:15

Failed to send log Error: Request failed with status code 404: {"errorCode":4040,"message":"Project 'chromium' not found. Did you use correct project name?"}
URL: http://localhost:8080/api/v1/chromium/launch
method: POST
    at /Users/temi/work/spire-web-tests-playwright/node_modules/@reportportal/client-javascript/lib/rest.js:43:15
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
Failed to send log Error: Request failed with status code 404: {"errorCode":4040,"message":"Project 'chromium' not found. Did you use correct project name?"}
URL: http://localhost:8080/api/v1/chromium/launch
method: POST
    at /Users/temi/work/spire-web-tests-playwright/node_modules/@reportportal/client-javascript/lib/rest.js:43:15
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
Failed to finish test. Error: Request failed with status code 404: {"errorCode":4040,"message":"Project 'chromium' not found. Did you use correct project name?"}
URL: http://localhost:8080/api/v1/chromium/launch
method: POST
    at /Users/temi/work/spire-web-tests-playwright/node_modules/@reportportal/client-javascript/lib/rest.js:43:15
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
Failed to finish suite. Error: Request failed with status code 404: {"errorCode":4040,"message":"Project 'chromium' not found. Did you use correct project name?"}
URL: http://localhost:8080/api/v1/chromium/launch
method: POST
    at /Users/temi/work/spire-web-tests-playwright/node_modules/@reportportal/client-javascript/lib/rest.js:43:15
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
Failed to finish suite. Error: Request failed with status code 404: {"errorCode":4040,"message":"Project 'chromium' not found. Did you use correct project name?"}
URL: http://localhost:8080/api/v1/chromium/launch
method: POST
    at /Users/temi/work/spire-web-tests-playwright/node_modules/@reportportal/client-javascript/lib/rest.js:43:15
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
Failed to finish suite. Error: Request failed with status code 404: {"errorCode":4040,"message":"Project 'chromium' not found. Did you use correct project name?"}
URL: http://localhost:8080/api/v1/chromium/launch
method: POST
    at /Users/temi/work/spire-web-tests-playwright/node_modules/@reportportal/client-javascript/lib/rest.js:43:15
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

When I refresh the launch dashboard all it shows is this:

If I click on the URL link provided in the terminal output log, I get this.

From what I understand the project name is arbitrary. Am I supposed to initialize the project somewhere else? Do you have documentation for thrown errors to aid in troubleshooting.

Hello @toduyemi !
The project field in rpConfig should contain a project from ReportPortal.
Thus, it looks like there is no project with this name chromium in ReportPortal.
You can use a name of the personal project, which is created for each user by default

or create a new one on the Administration page.
For ease of filling out the configuration file, it is best to use the sample configuration from the Profile page opened from a particular project

Hope this helps!

Thank you! I think the documentation should be a bit more explicit about the config api. I thought it was referring to projects key in the playwright config.

@toduyemi the documentation mentions that it should be a ReportPortal project

Anyway, we'll add more details to the configuration options to make it clearer.

Ahh I see. The way I interpreted that, was, I was naming/initializing my report portal project via that property in the config api. Thank you for explaining.


add in axios for http requests

tldr; use axios instead of native fetch for http requests

native fetch handles errors poorly

For example, if you were to hit a page that does not exist, you would expect that fetch would throw. This is not the case. You would actually get back a resolved promise with a status of 400.

native fetch requires the user to manually convert response into something usable

axios is HUGELY OMEGA MASSIVELY used by the community. Its not very large, and it provides an incredible developer experience. Its fully tested, fully documented, and does everything FS.fetch is doing for us, plus more.

p.s. i don't know much about our auth yet, but yes, axios provides an easy way to attach headers to all requests so we don't have to manually authenticate each http call. I plan to learn more about this and provide something in lib that does that out of the box.

We already have started on a fetch wrapper that does the improved error handling and auth and things like that. We've also used superagent over axios in the past. Though we expect to deprecate superagent once we have a good solid fetch wrapper.
I'm not opposed to axios, but it would be interesting to compare and see what benefits it provides. I know when I used it in the past I was frustrated with it's lack of debug and logging options, but that was a long time ago.

I think part of the appeal is not having to write/maintain a fetch wrapper.
but axios doesn't handle service workers, I wonder if that is a big deal for us.

I think we let people npm install axios as needed, and then they also can use @fs/axios-defaults in conjunction with it.


Service Pages: Header image load time

The header image on the services pages take a few seconds to load the first time and display a gray background. If there anything we can change to have them match the speed of the header images on the other pages.
Steps to recreate:
navigate to the site for fresh session
go to the services page
header image takes a few seconds to load the first time

@Wholloran i think we can speed up this header images on the services pages making some compression on those images.
The header img for app development is 3.6MB
The header img for app design is 1.4MB
The header img for consulting is 1.1MB

As fer mentioned above this ties in with open issue #184  so closing this ticket


Paid help: undefined method `sidescroll_frozen_columns' for #<RailsAdmin::Config::Sections::List

I'm trying to render rails_admin pages in a controller outside of the engine so I can do heavy customization on some of the views. I"ve gotten this working to a large degree but the index pages fail with: undefined method `sidescroll_frozen_columns' for #<RailsAdmin::Config::Sections::List
I've dug pretty deep into the code and cannot seem to figure out why this isn't getting loaded by the abstract class
Is there any chance one of the main maintainers (@bbenezech , @sferik , @mshibuya , @kaapa , @gunn ) would be interested in some hourly consulting to either help me resolve my issue or come up with a better way to do what I'm trying to do?
If so please contact me at<EMAIL_ADDRESS>

Can you paste full stack trace?
I'm afraid that you're mixing 1.x release of RailsAdmin and the latest view template.

Stale.


Data container is not running

By convention: all containers SHOULD keep running, eg. data-containers with tail -f /dev/null
Does it mean that in docker-compose.yml command /bin/bash should be replaced with tail -f /dev/null ?

Isn't this this still under discussion?
We had the setting you mentioned and ran into problems with logspout containers.
We got an error about Too many open files, since the data only container opened so many pointers - I guess.
At least that was our explanation and the error was gone after letting the container exit with status 0.
Do you use a tool which requires all containers in a stack to be running?

By the way ... we're working on a setup without any data containers at all ;)

so how about a datacontainer for elastic search e.g. because that could be integrated "easy" ;)

ATM, just fire tail -f /dev/null for this container...?
Your decision if you need to keep them up and running :)

just confused with https://github.com/phundament/app/blob/master/docs/advanced/61-coding-conventions.md
also in stacks-gen/*.yml  command: 'tail -f /dev/null' but in docker-compose.yml command: '/bin/bash'

We still need to update the docs, but I just wanted to let you know that we've removed the data-container and have a much simpler setup now, see https://github.com/phundament/app/blob/master/docker-compose.yml


Inje University

The actual email address is<EMAIL_ADDRESS>

@yun1026 lib/domains/kr/ac/inje/oasis: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@yun1026 lib/domains/kr/ac/inje/oasis: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@yun1026 I corrected a file name. Pull request merged. Thank you!

@yun1026 I corrected a file name. Pull request merged. Thank you!


[Feature request] Consolidate duplicate contributor names

Clear and concise description of the problem
It's not uncommon for enterprises to switch their internal email addresses so you will have git commits for the same name but different email addresses.
Suggested solution
The contributor names should be distinct regardless of the email address or number of commits. In the rare case it truly is actually 2 different people with the same name, having the same name twice doesn't provide any value.
Alternative
No response
Additional context
No response

This is a plugin git thing, we can consider merging contributors and assigning their email with the last one they use.
We need a new option for this, and I think we can either make this opt-in or make your description as default and make the current opt-in.
It should be not hard to open a pr for this, I am at covid with fever, so I would invite you to open a pr.
Looking for the option ideas feed back with @pengzhanbo and @meteorlxy .

I think we can merge emails similarly to commits, based on whether they have the same name, separating them with a ,. Perhaps we should rename the field to emails. Should the option be named mergeSameContributor?
@Mister-Hope @meteorlxy

having the same name twice doesn't provide any value.

@Jojoshua  In fact we also display the email when hovering on the name, so it actually has some value to display duplicate names:

IMO it could be better to provide an option to let user customize the merging strategy, maybe something like:
gitPlugin({
  contributors: true,
  contributorsMerging: (a, b) => {
    // return false to avoid merging
    if (a.name !== b.name) return false
    return {
      name: a.name,
      email<EMAIL_ADDRESS>? a.email : b.email,
      commits: a.commits + b.commits,
    }
  },
})

Or simply provide the raw contributors array directly:
gitPlugin({
  contributors: true,
  contributorsHandling: (contributors) => {
    return contributors.filter(() => { /* whatever */ })
  },
})

What about transformContribors?

https://github.com/vuepress/ecosystem/commit/d431dc460df18b386dbff9edff27374618edf150

Thanks for the new function!


English Translation for README (caver-js-examples)

English Translation for README caver-js-examples

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@minishell
Hi elena :) Please review this PR.
Thanks in advance.


Readme help for Put and param sending gotcha

After I read issue #332 I wondered why the info was not in the README. Please check this as it may not be correctly worded, and indeed does it also need to be for Patch?

Thanks for your work! I know what you mean and this is definitely a thing many run into. I would like to phrase a bit different though. I think it should be more along the way: "When using POST the content-type is set automatically to 'application/x-www-form-urlencoded'. Thats not the case for any other method like PUT, PATCH, HEAD and so on. No matter if you are using body or not." See the corresponding libcurl docs: http://curl.haxx.se/libcurl/c/CURLOPT_POST.html.
What do you think?

@i0rek, thanks for that. But given what you've said and the link, I still would not have known how to fix my problem without that example I gave. Would it be okay to leave the example 'PUT' in there? I've updated my pull request given your feedback. Let me know if it is not correct.

@ryan2johnson9 thank you very much for your work!

You're welcome - I should be the one thanking you and all contributors for Typhoeus! Unfortunately there was a typo in this merged pull request so I've submitted another pull request to fix it, as well as adjusting the example's body params to be more clear.. see #433


appgate-sdp: 6.0.3 -> 6.1.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/appgate-sdp/versions.
meta.description for appgate-sdp is: Appgate SDP (Software Defined Perimeter) desktop client
meta.homepage for appgate-sdp is: https://www.appgate.com/support/software-defined-perimeter-support
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.1.2 with grep in /nix/store/yl8k3xpmmy2dd18ysrjlzf0f6bp3ixcq-appgate-sdp-6.1.2
found 6.1.2 in filename of file in /nix/store/yl8k3xpmmy2dd18ysrjlzf0f6bp3ixcq-appgate-sdp-6.1.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
appgate-sdp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/yl8k3xpmmy2dd18ysrjlzf0f6bp3ixcq-appgate-sdp-6.1.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A appgate-sdp https://github.com/r-ryantm/nixpkgs/archive/c5bdf25a86603bb36889fbb0f2c8c1dd60dccb99.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/yl8k3xpmmy2dd18ysrjlzf0f6bp3ixcq-appgate-sdp-6.1.2
ls -la /nix/store/yl8k3xpmmy2dd18ysrjlzf0f6bp3ixcq-appgate-sdp-6.1.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

appgate-sdp

Maintainer pings
cc @ymatsiuk for testing.

Result of nixpkgs-review pr 217556 run on aarch64-linux 1

1 package built:

appgate-sdp


ACCUMULO-3959 More accurate BatchScanner javadoc

This will help clear possible confusion on when to use BatchScanners vs Scanners.

+1 from me. Will merge today.


tio: 2.6 -> 2.7

Description of changes
https://github.com/tio/tio/releases/tag/v2.7
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Adding @NickCao , who approved and merged the last version PR #239092


MacOS: Locale settings not followed. Showing decimal comma instead of period

Description
Running on MacOS. Settings as in attached picture. Note the sample displayed number: 4,567.89
Connecting to a SQLite database. Numeric values with a decimal portion are displayed as e.g. 0,1234
DBeaver Version
Version <IP_ADDRESS>307091549
Operating System
MacOS Ventura 13.3.1
Database and driver
Sqlite
Steps to reproduce
select colname from table
Additional context
No response

Hello.
Could you please verify that your Data Format settings are set to English language in  Window -> Preferences -> Editors -> Data Editor -> Data Formats as the following picture shows:

Settings as shown below. Changing the Country does the trick. Thankyou. However, not sure why dBeaver would derive a number format from en_NL differently from MacOS.

Hello @ellipticview,
Regional formatting options shown in DBeaver come from Java runtime. It's not synchronized with your system settings.


Did you miss the 'published' condition?

when I was using this library, I found strange situation..
I have only one folder in '_posts' directory, and many folders in '_drafts' directory.
like
- _drafts
    - jpa
    - spring
    - etc
- _posts
    - test

after 'hexo clean && hexo generate'
It created following categories.
- ..
- _drafts
- jpa
- spring
- etc
- test

so I checked this source, I think this library isn't use 'published' condition.
check please. Thank you

Coverage decreased (-0.02%) to 1.55% when pulling f4d407230fb8f42c43bfcab1b4dc51b1efb859a6 on joont92:master into e6f54d3d3d79a678d3ccb9dce1996d37772b24e8 on zthxxx:master.


No ports mapped when creating an environment

If I click the + on port map for an environment, and choose the private port (on the container) and check publish all ports to a random host port, when the container is started in the environment is says there are no port mappings.  This is not a problem if I do the same thing as a single container on a specific host from the hosts page.

@cglewis This looks like a duplicate of https://github.com/rancherio/rancher/issues/589 and the comments seem to indicate that this shouldnt' be available for services. I just wanted to confirm that we're talking about the same.

@will-chan it looks as if we are planning to hide the "publish all ports" for services.

@deniseschannon yes that is correct, thanks.

I'm going to close this issue in favor of #589.


Django 3.X Upgrade

Now that Django 3.0 has been officially released is there any plan to upgrade from 2.2?

There are a couple of required python modules that have not been upgraded yet, meaning that there are some incompatibilities. I tried updating to Django 3.0 but without success - until these other packages are also updated.


[Addition]: 199 hotspot in singapore

Hotspot b58 Addresses
134RdPrsTceGeHj2j6nTX23pos59Zx4d8ciL8QTkS4n1N5RjZSP
Discord Handle
No response
Reason(s)
1 of above wallet owner own 199 hotspot and assert in Singapore that is impossible own so many land / house in Singapore unless he is a government

they all popped up at the same time,  on 30th Dec 2021 11.00pm till 11.44pm

they also have a lot of invalid withness because distance too close
https://app.hotspotty.net/hotspots/112gYGRH5QnPTr8t1Nm8f72nxEJx3zJt4UNU8DMcuJ5ePdFes4kx/activity

It can be and cannot be.  Some of them such as Sour Nylon Skunk and Plain Leather Crocodile have Data Transfer.  Sadly there is no mapper in Singapore to check them.


cannot import name 'BusinessDate' from 'businessdate'

Hello . I wanted to have a look at your library and pip installed businessdate.
Trying to follow your first example I am running into the following issue  (from idle Python 3.7.2 on Windows 7) -
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license()" for more information.

from businessdate import BusinessDate, BusinessPeriod
Traceback (most recent call last):
File "<pyshell#0>", line 1, in
from businessdate import BusinessDate, BusinessPeriod
File "C:\Python37\lib\site-packages\businessdate_init_.py", line 18, in
from businessdate import BusinessDate, BusinessPeriod, BusinessSchedule, BusinessRange,
ImportError: cannot import name 'BusinessDate' from 'businessdate' (C:\Python37\lib\site-packages\businessdate_init_.py)

All the Best ***

We haven't been python3 ready as the pip version still isn't, either. Pls, try the latest GitHub master. This should work now.