Update change note form text

This PR updates the text on change note radio buttons, and removes the placeholder text from the text box.
It uses JS to append some text between a form label and text box, as there is not currently a straightforward way of implementing this using our custom FormBuilder.
Before:

After:

Trello

What's the plausibility of us pulling in the Form Textarea component from the design system? It's got native support for the hint text.

What's the plausibility of us pulling in the Form Textarea component from the design system? It's got native support for the hint text.

I think this is probably (definitely) the way to go in the long term but I'm not sure how simple it would be to introduce as part of this change. We're not making much use of govuk-publishing-components in Whitehall in general and I think it might be quite tricky to introduce to the forms as a one-off.


[Popover] Disable focus management when opened via hover

[x] I have followed (at least) the PR section of the contributing guide.

It feels wrong that the popover closes on mouseout after an input inside it has been focused. Clicking on anything inside the popover should make it sticky

@michaldudak that's a separate discussion as the previous focus management also worked like this


"R" and "B" values switch when using two strips (on two pins)

[I'm using the Pololu 1.2 LED library (PololuLedStrip.h)]
I have an Arduino Uno and am able to get the LED library to work with one LED strip.  I want to add a second, with both strips responding to the same color.  Using the example "LedStripColorTester", I simply added an extra definition and line to send to two strips.  However, when the RGB color I enter gets sent to my new, second strip, the RGB colors are reversed.
i.e. I will send "255,0,0!" and the first correctly lights up RED but the second lights up as if I sent "0,0,255!"
Here's the code:
/* LedStripColorTester: Example Arduino sketch that lets you
 * type in a color on a PC and see it on the LED strip.
 */

#include <PololuLedStrip.h>

// Create an ledStrip object on pin 12.
  Takes 180 bytes.
#define LED_COUNT 30
rgb_color colors[LED_COUNT];

void setup()
{
  // Start up the serial port, for communication with the PC.
  Serial.begin(115200);
  Serial.println("Ready to receive colors.");
}

void loop()
{
  // If any digit is received, we will go into integer parsing mode
  // until all three calls to parseInt return an interger or time out.
  if (Serial.available())
  {
    char c = Serial.peek();
    if (!(c >= '0' && c <= '9'))
    {
      Serial.read(); // Discard non-digit character
    }
    else
    {
      // Read the color from the computer.
      rgb_color color;
      color.red = Serial.parseInt();
      color.green = Serial.parseInt();
      color.blue = Serial.parseInt();

      // Update the colors buffer.
      for(byte i = 0; i < LED_COUNT; i++)
      {
        colors[i] = color;
      }

      // Write to the LED strip.
      ledStrip.write(colors, LED_COUNT);
      ledStrip2.write(colors, LED_COUNT);  // THIS IS THE SECOND WRITE LINE, but for some
                        // reason, it reverses the RGB numbers that ledStrip gets.

      Serial.print("Showing color: ");
      Serial.print(color.red);
      Serial.print(",");
      Serial.print(color.green);
      Serial.print(",");
      Serial.println(color.blue);
    }
  }
}

I hope that explains it, basically it works fine EXCEPT for the reversing of the RGB on the second strip.
Thanks so much for any ideas or help!
edit: I tried using the 'regular' Pololu library, but it doesn't seem to work - I found the 1.2 version does so am using that.

Hello.  Your code looks fine to me, and I don't see how the library would switch red and blue for one of your strips when it doesn't do it for the other.  The most likely explanation is that your second strip is a different type of LED strip, and its red and blue channels are swapped.  You could try swapping the two LED strips and see if the problem follows the LED strip or stays on pin 11.  Where did you get your LED strips from?  All of the Pololu LED strips use GRB or RGB order.
Either way, this is unlikely to be an issue with the library, so I will close it.  You can still add comments to it though.


Eliminating divisions in the cel routine

[x]  Right now the recursive computation of elliptic integrals involves a square root and two divisions at each step in the iteration.  I think that the divisions can be eliminated, which should further speed up cel and will help make the computation of the low-order limb-darkening faster.

I was able to implement this in cel_bulirsch_nodiv, which does seem to work, and is faster than the prior version of cel_bulirsch.   However, it appears to be numerically unstable, and causes NaN in some cases, so I'm scrapping this idea.

Ah, too bad!


Separate responses not working

For a separate response to work there needs to be a token. The HelperClient only has a token for the Post method (not that it works because other code needs it to be lower case).
I have attached a patch with changes to helperclient.py with the tokens added. The patch has also got changes to allow a timeout to be set through the helper methods.
CoAPthonHelper.zip

Hi, thanks for your work, I will add your part concerning the timeout ASAP. Regarding the token I would like to point out that an empty token is still a token. In other words, if you don't put explicitly a token it means that you are using the default null token. Thus there isn't any needs to explicitly add a token. At least that is my understanding from the CoAP RFC.

I have just added your contribution.


5.3.1 tag missing

pypi has a 5.3.1 release, but the github repo lacks the 5.3.1 tag.

The changelog also claims that 5.3.1 is unreleased.

Any updates on this? Is a bit strange, would be nice for clarity to those that depend on the project.


Add mytru.ca for TRU student email domain

Add hs-koblenz.txt

Create College Montmorency.
the domain is : cmontmorency.qc.ca

Not sure what happened with this pull request -- please clean up and resubmit.


run ./simulate on the ubuntu 18.04, there is the error:

MuJoCo Pro version 2.10
Segmentation fault (core dumped)

Hi @13253591602 . Could you provide some more info (perhaps the call-stack after running gdb to check in which function it crashed). Just to double check: are you running the already compiled simulate binary that comes with the tar.gz file?, or are you building it yourself using the provided Makefile in the samples folder?

Hi @13253591602 . Could you provide some more info? (perhaps the call-stack after running gdb to check in which function it crashed). Just to double check: are you running the already compiled simulate binary that comes with the tar.gz file?, or are you building it yourself using the provided Makefile in the samples folder?

thanks for your reply, maybe it is os's fault, this is the error message:
Starting program: /home/yh/.mujoco/mujoco210/bin/simulate
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
MuJoCo Pro version 2.10
[New Thread 0x7fffe8a2a700 (LWP 29081)]
[New Thread 0x7fffe8229700 (LWP 29082)]
[New Thread 0x7fffe7a28700 (LWP 29083)]
[New Thread 0x7fffe7227700 (LWP 29084)]
[New Thread 0x7fffe6a26700 (LWP 29085)]
[New Thread 0x7fffe6225700 (LWP 29086)]
[New Thread 0x7fffe5a24700 (LWP 29087)]
[New Thread 0x7fffe5223700 (LWP 29088)]
[New Thread 0x7fffe4a22700 (LWP 29089)]
[New Thread 0x7fffbffff700 (LWP 29090)]
[New Thread 0x7fffb7fff700 (LWP 29091)]
[New Thread 0x7fffbf7fe700 (LWP 29092)]
[New Thread 0x7fffbeffd700 (LWP 29093)]
[New Thread 0x7fffbe7fc700 (LWP 29094)]
[New Thread 0x7fffbdffb700 (LWP 29095)]
[New Thread 0x7fffbd7fa700 (LWP 29096)]
Thread 1 "simulate" received signal SIGSEGV, Segmentation fault.
__strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:31
31      ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: No such file or directory.
But I don't know what is strcmp-sse2-unaligned.S and how to install it（please forgiving my poor English)

mmm, I think it's support for SSE2. Could you provide the specs of your CPU?. Perhaps it doesn't support SIMD (MuJoCo currently requires AVX, but SSE should be available in most modern processors)

mmm, I think it's support for SSE2. Could you provide the specs of your CPU?. Perhaps it doesn't support SIMD (MuJoCo currently requires AVX, but SSE should be available in most modern processors)

*-cpu:0
product: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
vendor: Intel Corp.
physical id: 6
bus info: cpu@0
size: 1236MHz
capacity: 2900MHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti intel_ppin ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap intel_pt xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts md_clear flush_l1d cpufreq
*-cpu:1
product: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
vendor: Intel Corp.
physical id: 7
bus info: cpu@1
size: 1203MHz
capacity: 2900MHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti intel_ppin ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap intel_pt xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts md_clear flush_l1d cpufreq

mmm, that's expected. Your CPU supports SIMD (even AVX2). Can you recompile the binaries using the provided makefile? (it's on the samples folder I think)

mmm, that's interesting. Your CPU does supports SIMD (even AVX2). Can you recompile the binaries using the provided makefile? (it's on the samples folder I think). Perhaps you used the provided binaries right out of the box, but your CPU is a tad different (has the same intruction set, but perhaps it complains for some instructions 🤔 ?)
Also, by any chance are you running it on a server? (I've never seen a Xeon on a Desktop computer unless you really like that many cores on Intel 😅)

Actually，I ran it on the server😅

Oh, that might be the error then xD. The provided simulate binary is compiled to use glfw as windowing library (creates a windows, e.g. in linux it might use X11 or wayland), so if you have no window session started (in Ubuntu it would be something like an Xorg session) then you can't use anything that tries to do graphics, unless you use the EGL version of it (which doesn't require to have an X11 session)

Oh, that might be the error then xD. The provided simulate binary is compiled to use glfw as windowing library (creates a windows, e.g. in linux it might use X11 or wayland), so if you have no window session started (in Ubuntu it would be something like an Xorg session) then you can't use anything that tries to do graphics, unless you use the EGL version of it (which doesn't require to have an X11 session)

mmm,how to solve it?I'm sure that I have X11

We've changed the GL linkage on simulate in our 2.1.1 release. Could you please try again with the new version and let us know if the issue persists? (Also, make sure you enable X forwarding on your SSH session -- ssh -X)

Marking as resolved. Feel free to re-open if you are still encoutering any issues.


changed the user field in sipReq

Modified the sipTo and sipFrom for some example cases where it was failing

I have written some tests, and resolved some weaker areas, also added the x-gamma custom header

ok


When will [React TreeSelect] be introduced

When will [React TreeSelect] be introduced?This component is badly needed, Including the tree

duplicated #132
you can use other open source component like angular-tree-component as a temp solution.


Webpack imported module 0 is not defined

Hi, I'm creating a chrome extension and I got this error when I tried to import the library
Uncaught ReferenceError: js_file_downloader__WEBPACK_IMPORTED_MODULE_0__ is not defined

I'm tried to import using jsFileDownloader, JsFileDownloader and with curly braces but it didn't worked. How can I fix this?

Hi @hugorplobo ,
could you share your code?
Thanks

Sure. Actually I'm just importing the module like this:
popup.js
import JsFileDownloader from 'js-file-downloader';

function downloadVideo(video, callback) {
    new JsFileDownloader({
      url: video,
      filename: `${Date.now()}.mp4`,
    })
      .then(() => {
        console.log("downloading...")
        setTimeout(() => {
          callback(`${video}.mp4 downloaded`);
        }, 1000);
      })
      .catch(() => {
        setTimeout(() => {
          callback(`${video}.mp4 failed, skipping...`);
        }, 1000);
      });
  }

As I said, I'm getting the Uncaught ReferenceError: js_file_downloader__WEBPACK_IMPORTED_MODULE_0__ is not defined when I run the webpack build.
This is my webpack config, actually, it's a boilerplate for a chrome extension
paths.js
'use strict';

const path = require('path');

const PATHS = {
  src: path.resolve(__dirname, '../src'),
  build: path.resolve(__dirname, '../build'),
};

module.exports = PATHS;

webpack.common.js
'use strict';

const SizePlugin = require('size-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');

const PATHS = require('./paths');

// To re-use webpack configuration across templates,
// CLI maintains a common webpack configuration file - `webpack.common.js`.
// Whenever user creates an extension, CLI adds `webpack.common.js` file
// in template's `config` folder
const common = {
  output: {
    // the build folder to output bundles and assets in.
    path: PATHS.build,
    // the filename template for entry chunks
    filename: '[name].js',
  },
  devtool: 'source-map',
  stats: {
    all: false,
    errors: true,
    builtAt: true,
  },
  module: {
    rules: [
      // Help webpack in understanding CSS files imported in .js files
      {
        test: /\.css$/,
        use: [MiniCssExtractPlugin.loader, 'css-loader'],
      },
      // Check for images imported in .js files and
      {
        test: /\.(png|jpe?g|gif)$/i,
        use: [
          {
            loader: 'file-loader',
            options: {
              outputPath: 'images',
              name: '[name].[ext]',
            },
          },
        ],
      },
    ],
  },
  plugins: [
    // Print file sizes
    new SizePlugin(),
    // Copy static assets from `public` folder to `build` folder
    new CopyWebpackPlugin({
      patterns: [
        {
          from: '**/*',
          context: 'public',
        },
      ]
    }),
    // Extract CSS into separate files
    new MiniCssExtractPlugin({
      filename: '[name].css',
    }),
  ],
};

module.exports = common;

webpack.config.js
'use strict';

const { merge } = require('webpack-merge');

const common = require('./webpack.common.js');
const PATHS = require('./paths');

// Merge webpack configuration files
const config = merge(common, {
  entry: {
    popup: PATHS.src + '/popup.js',
  },
});

module.exports = config;

I also tried to use Parcel as my bundler, but the code always returned an error when importing the module.

You are using ES6 modules to import the lib.
I think you are missing some configuration in your webpack.common.js.. you can try adding babel-loader.
Or you can try to import the lib in this way: cont JsFileDownloader = require('js-file-downloader')
Let me know :)

I'm learning how to configure webpack by myself, and it's working now! Thank you for the help, and sorry for the unnecessary issue.

Hello @hugorplobo can you share your webpack-babel config, im having the same issue as you but with firebase, can´t seem to find a solution.

Sorry @rbngza-bimset, I don't have the files anymore, but I learned how to setup the webpack from scratch reading its docs and this article https://dev.to/antonmelnyk/how-to-configure-webpack-from-scratch-for-a-basic-website-46a5. Hope this help you :)


Running the phenotype database code locally

I am exploring the possibilities of using the phenotype database code base for project and study metadata registration. I am currently looking a bit into the code base and was trying to build it. I noticed that some excel packages have disappeared from the grails repository? Probably since they moved on to version 3+ and this system as it seems does not allow this.
It is related to the matrix-importer which seems to handle the excel file import settings. There are other packages available but this probably would require a significant amount of rewriting.
Is there another way to get the dependencies?
/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/bin/java -Dgrails.home=/Users/jasperkoehorst/.sdkman/candidates/grails/2.5.6 -Dtools.jar=/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/lib/tools.jar -Dgroovy.starter.conf=/Users/jasperkoehorst/.sdkman/candidates/grails/2.5.6/conf/groovy-starter.conf -Dbase.dir=/Users/jasperkoehorst/GitLab/PhenotypeDatabase -Dfile.encoding=UTF-8 -classpath /Users/jasperkoehorst/.sdkman/candidates/grails/2.5.6/lib/org.codehaus.groovy/groovy-all/jars/groovy-all-2.4.10.jar:/Users/jasperkoehorst/.sdkman/candidates/grails/2.5.6/dist/grails-bootstrap-2.5.6.jar org.codehaus.groovy.grails.cli.support.GrailsStarter --main org.codehaus.groovy.grails.cli.GrailsScriptRunner --conf /Users/jasperkoehorst/.sdkman/candidates/grails/2.5.6/conf/groovy-starter.conf "idea-print-project-settings -plain-output"
|Loading Grails 2.5.6
|Configuring classpath
Error |
Resolve error obtaining dependencies: The following artifacts could not be resolved: org.grails.plugins:matrix-importer:zip:<IP_ADDRESS>, org.grails.plugins:dbxp-module-base:zip:<IP_ADDRESS>: Could not find artifact org.grails.plugins:matrix-importer:zip:<IP_ADDRESS> in grailsCentral (https://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
Error |
Resolve error obtaining dependencies: The following artifacts could not be resolved: org.grails.plugins:matrix-importer:zip:<IP_ADDRESS>, org.grails.plugins:dbxp-module-base:zip:<IP_ADDRESS>: Could not find artifact org.grails.plugins:matrix-importer:zip:<IP_ADDRESS> in grailsCentral (https://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
Error |
Resolve error obtaining dependencies: The following artifacts could not be resolved: org.grails.plugins:matrix-importer:zip:<IP_ADDRESS>, org.grails.plugins:dbxp-module-base:zip:<IP_ADDRESS>: Could not find artifact org.grails.plugins:matrix-importer:zip:<IP_ADDRESS> in grailsCentral (https://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
Error |
The following artifacts could not be resolved: org.grails.plugins:matrix-importer:zip:<IP_ADDRESS>, org.grails.plugins:dbxp-module-base:zip:<IP_ADDRESS>: Could not find artifact org.grails.plugins:matrix-importer:zip:<IP_ADDRESS> in grailsCentral (https://repo.grails.org/grails/plugins)
|Run 'grails dependency-report' for further information.```

I forgot to merge my latest commits to this repo (PR#196: github.com/PhenotypeFoundation/PhenotypeDatabase/pull/196), 'matrix-importer' is a local-plugin from now on.
Please pull it into your local repo or download the updated production and ci build.
I'm sorry for the inconvenience, hope it did not take a lot of your time.

Thanks, indeed I already cloned the repo's locally but this seems to bring it a bit further. Now running into
		::::::::::::::::::::::::::::::::::::::::::::::
		::          UNRESOLVED DEPENDENCIES         ::
		::::::::::::::::::::::::::::::::::::::::::::::
		:: org.grails#grails-datastore-rest-client;3.1.4.RELEASE: not found
		::::::::::::::::::::::::::::::::::::::::::::::

I'm unable to reproduce this problem (even after deleting all my grails-related cache):

Downloading: org/grails/grails-datastore-rest-client/3.1.4.RELEASE/grails-datastore-rest-client-3.1.4.RELEASE.pom

Could you please try again? Perhaps the repo was just down for a brief moment..


cannot select escalation policy for service

Glad to see that this project is gaining some traction again! I tried to set it up and create a basic config.

create an Escalation Policy
create a service
expect to be able to select policy created earlier, but the list is empty

This seems to be due to there being two SchedulePolicy models: policies.SchedulePolicy and schedules.SchedulePolicy. The code looks pretty much identical to me, so I guess this is in the middle of some restructuring? It is not quite clear to be which one is the current one.

@luto
Thanks for the heads up .
Yes, you are correct the project is currently under a refactoring process.
I will look into it and try to reproduce it.

The FIX for this is included into #21 , and is already merged.
can be closed

works now. Thanks!


Update installation pages

Finished part of the issue #1200
Some of the points are converted to issues in the docs repo: https://github.com/PelicanPlatform/docs/issues/17 https://github.com/PelicanPlatform/docs/issues/18

@jhiemstrawisc and @aowen-uwmad I've updated the docs addressing all the feedback. I've also included new page for installing Pelican on Windows so you might be interested in taking a look at it.

@aowen-uwmad Could you take another look at the changes? I've addressed the PATH issue and tested on my Windows machine

That I can tell, all requested changes have been made. Merging so this doesn't get blocked.


Spyder won't launch

Description of your problem
Spyder won't launch (it'll appear, saying "initializing" at the bottom, but then the box will disappear)
What steps will reproduce the problem?

Clicking on "Spyder" or typing spyder into cmd

What is the expected output? What do you see instead?
Please provide any additional information below
Versions and main components

Spyder Version:
Python Version:
Qt Version:
PyQt Version:
Operating system:

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:

How did you install Spyder?

Thanks for replying, but I just fixed it - turns out the folder into which I was installing Anaconda had a space. Thanks for the prompt response, though.


Enhancement: syncthing w/ CAP_CHOWN and CAP_FOWNER

syncthing as a service is already quite useful but a problem that exists is the permission to update permissions on files by syncing ownership and such.
syncthing sometimes requires setcap CAP_CHOWN,CAP_FOWNER=pe
https://docs.syncthing.net/advanced/folder-sync-ownership
Would be useful to have a second syncthing binary with setcap permissions set. (or alternatively set them on the main package, im not sure of the downsides in doing this)

Nix does not permit setcap, so that's not possible.
What is possible is, if you use NixOS, use security.wrappers options accordingly.
This could potentially be done in the main module but I'd want reviewers/maintainers to look into the security risks with that.
If you're not on NixOS, this is would not be handled by nixpkgs at all.

I did a bit of digging and it may be possible with a systemd option ambientCapabilities and might be more suited to the service module.
I agree with the security implications which is why I figured a non-default pkg would be better suited, likely with a warning about the security issues of setting those capabilities.
Im not sure what other things might be affected though. Im pretty new to nixos and learning a bunch of things.

I did a bit of digging and it may be possible with a systemd option ambientCapabilities and might be more suited to the service module.

This is the proper way to go, especially considering syncthing has a NixOS module and virtually everyone runs it as a systemd service.


fix(integrations): log_params is not working in lightgbm's wandb_callback()

Description

fix #8942

[x] I updated CHANGELOG.md, or it's not applicable

Testing
On my local machine, I have confirmed that wandb_callback(log_param=False) will suppress wandb from changing the original settings.

@kptkin @morganmcg1 thank you for your review. I updated "CHANGELOG.unreleased.md" file.


SplashBuddy crashes at launch on 10.11.6

Since WKWebView introduction in RC5, SplashBuddy crashes at launch on 10.11.6
reported by Emily, howardgmac and Rudy.
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000439
Exception Note:        EXC_CORPSE_NOTIFY
VM Regions Near 0x439:
-->
    __TEXT<PHONE_NUMBER>db0000-0000000107dca000 [  104K] r-x/rwx SM=COW  /Users/USER/Downloads/SplashBuddy.app/Contents/MacOS/SplashBuddy
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebKit                0x00007fff9601a3e9 WebKit::WebPageProxy::close() + 9```

Created radar 33659364
sysdiagnose_2017.08.01_21-03-18+0200.tar.gz
Crash_Log_from_10_11_6.txt

I'm not sure we had an impact. but since latest release of Xcode, WKWebView is clearly indicated as not compatible with <10.12:
SplashBuddy/SplashBuddy/Base.lproj/SplashBuddy.storyboard:9lx-PG-aVf: error: WKWebView before macOS 10.12 (NSCoding support was broken in previous versions)
→ Won't fix. Dropped support of 10.11 in fa7f9f6a50ffbeaaea6a71826ffae7b1d8b26418 (use RC4 if needed)


Missing response_type "code"

Hi !
The last release broke my project :
https://github.com/nicklaw5/helix/commit/197ab0745aae57735f53fafa06ddd9445838b93e
I use  url := AuthBaseURL + "/authorize?response_type=code" because it return an access_token and a refresh_token
with the response_type=token, it doesn't return an refresh_token
Did i miss something ?
I think it would be better to pass this as a param of the function

Sorry about that. Please pin to the previous release until I can take a closer look.

@Scorfly this issue should now be resolved. Please see the latest release: https://github.com/nicklaw5/helix/releases/tag/v0.7.0.

Thx it's perfect for me ;)


fix(#9914) Add upload file max size limit

SUMMARY
CSV Upload - add max filesize limit.
To slove https://github.com/apache/incubator-superset/issues/9914
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN
CI.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #9923 into master will decrease coverage by 0.14%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master    #9923      +/-   ##
==========================================
- Coverage   71.14%   71.00%   -0.15%
==========================================
  Files         585      184     -401
  Lines       30741    18008   -12733
  Branches     3239        0    -3239
==========================================
- Hits        21870    12786    -9084
+ Misses       8762     5222    -3540
+ Partials      109        0     -109

Flag
Coverage Δ

#cypress
?

#javascript
?

#python
71.00% <87.50%> (-0.25%)
:arrow_down:

Impacted Files
Coverage Δ

superset/views/database/views.py
86.44% <80.00%> (-3.04%)
:arrow_down:

superset/config.py
89.71% <100.00%> (+0.04%)
:arrow_up:

superset/exceptions.py
100.00% <100.00%> (ø)

superset/views/database/mixins.py
58.92% <0.00%> (-21.43%)
:arrow_down:

superset/utils/cache.py
48.00% <0.00%> (-20.00%)
:arrow_down:

superset/db_engine_specs/mysql.py
78.26% <0.00%> (-13.05%)
:arrow_down:

superset/views/database/validators.py
77.77% <0.00%> (-5.56%)
:arrow_down:

superset/views/database/api.py
83.90% <0.00%> (-3.45%)
:arrow_down:

superset/models/core.py
83.96% <0.00%> (-2.34%)
:arrow_down:

... and 406 more

Continue to review full report at Codecov.

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


Eliminate React version mismatch pitfall

Let's say that I'm using React 0.14 in my app. Since this component specifies 0.13 in its package.json it will be built with a different version/instance of React than its parent. This will lead to puzzling errors, like #7.
This PR moves React to peerDependencies, and makes it compatible with every version of 0.13 and 0.14.

Test plan:

npm run build && npm run examples
Visit http://localhost:8000

Looks great.

Great, thanks @steveluscher!


Quick add "bug" not easily clickable

If you click on lower half of the bug div, it takes two clicks. If you click on upper part, it takes one.

Tracking via https://openshift.io/openshiftio/openshiftio/plan/detail/1543


Garbage at end of output

This file:
----
name="New blog!"
----
So, the blog engine that I've been working on, [nu](https://github.com/nu-dev/nu),
has gotten stable enough to use now.

That means I can start up my new blog!

No longer do I have to rely on some free PHP webhost to do something with
[easyblog](https://github.com/ohnx-archive/easyblog) (My old blog engine, written in PHP) or
WordPress. Now, I can use GitHub Pages to host a static site automatically generated
whenever I push to [this repository](https://github.com/ohnx/blog). (Thanks to CircleCI for running nu every time I push code)

Maybe you're wondering - Why reinvent the wheel?

Why not? I have learned a lot (debugging with gdb, the usefulness of stress balls when programming,
how to kind of manage large projects in C, and more). As an added bonus, I also have a working blog.

Although I'm short a few hairs on my head now, I feel like the experience was worth it.

seems to produce the output:

So, the blog engine that I've been working on, nu,
has gotten stable enough to use now.

That means I can start up my new blog!

No longer do I have to rely on some free PHP webhost to do something with
easyblog (My old blog engine, written in PHP) or
WordPress. Now, I can use GitHub Pages to host a static site automatically generated
whenever I push to this repository. (Thanks to CircleCI for running nu every time I push code)

Maybe you're wondering - Why reinvent the wheel?

Why not? I have learned a lot (debugging with gdb, the usefulness of stress balls when programming,
how to kind of manage large projects in C, and more). As an added bonus, I also have a working blog.

Although I'm short a few hairs on my head now, I feel like the experience was worth it.

ą

Likely a leak. The leak is in the post contents, as it appears in pagination and in the specific view.
Tested with latest version of nu (a11d763daa42b2156e36a511b5f907c972ee2f03).

Adding letters seems to fix this.


How to get the "oldest" message

I am struggling to see how to instruct the IMAP server to get me the oldest message,
ie. sort by SORTDATE/SORTARRIVAL (like imap_sort())
and ideally limit results to 1 as I only want the date of the oldest message in a folder that contains thousands of emails..
...any ideas anyone?

HI @AzzaAzza69 ,
unfortunately the IMAP protocol doesn't support much in terms of sorting. You can only sort by message id / uid. However you could sort by uid and only fetch the last 20 messages with the lowest uids and sort them by date or what ever afterwards.
If you find a better way, please let me know :)
Best regards & happy coding,


python310Packages.inquirer: 3.1.2 -> 3.1.3

Diff: https://github.com/magmax/python-inquirer/compare/refs/tags/v3.1.2...v3.1.3
Changelog: https://github.com/magmax/python-inquirer/releases/tag/v3.1.3
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 229359 run on x86_64-linux 1

4 packages failed to build:

python310Packages.chalice
python310Packages.strawberry-graphql
python311Packages.chalice
python311Packages.strawberry-graphql

6 packages built:

python310Packages.inquirer
python310Packages.toggl-cli
translatepy (python310Packages.translatepy)
python311Packages.inquirer
python311Packages.toggl-cli
python311Packages.translatepy

Result of nixpkgs-review pr 229359 run on x86_64-linux 1

2 packages failed to build:

python311Packages.strawberry-graphql
python311Packages.strawberry-graphql.dist

22 packages built:

python310Packages.chalice
python310Packages.chalice.dist
python310Packages.inquirer
python310Packages.inquirer.dist
python310Packages.pytest-emoji
python310Packages.pytest-emoji.dist
python310Packages.strawberry-graphql
python310Packages.strawberry-graphql.dist
python310Packages.toggl-cli
python310Packages.toggl-cli.dist
translatepy (python310Packages.translatepy)
translatepy.dist (python310Packages.translatepy.dist)
python311Packages.chalice
python311Packages.chalice.dist
python311Packages.inquirer
python311Packages.inquirer.dist
python311Packages.pytest-emoji
python311Packages.pytest-emoji.dist
python311Packages.toggl-cli
python311Packages.toggl-cli.dist
python311Packages.translatepy
python311Packages.translatepy.dist


Add wizard for new provider setup

Today, the administration panel UI lacks some documentation.
To ease initial setup, it would be convenient to have a wizard-like UI when setuping new providers.

Yeah! https://docs.facette.io/latest/architecture/ links "providers" to https://docs.facette.io/latest/configuration/ which doesn't say anything about them, and doesn't explain how I might add some with the config file. If I'm supposed to do it through UI, the UI at /admin/sources/ doesn't use the word "Providers" anywhere, and it also doesn't seem to have an enabled Add button. What do?

I don't know how I feel about having a wizard, but having any way to actually use Facette would be good.


Microsoft Visual C++ Runtime Error when starting Anki

I received this message after install Imagem occlusion:

Mmh, that's a strange error message. First time I'm seeing something like that.
Ok, let's first confirm that this actually because of the add-on:

Go to C:\Users<username>\Documents\Anki\addons
Remove the image_occlusion_enhanced folder and Image Occlusion Enanced.py
(Re)start Anki

If the error message still appears it's likely an error with Anki rather than the add-on. If it's gone it might have actually been an issue with Image Occlusion.

Yes, this message disappear after uninstall your add-on. I tried start Anki in an other local, where not there others add-ons, then it worked. So probably there are an conflict with other add-on.
Sorry, but my english not is very good. :(

Your English is fine, don't worry!
Do you know which other add-ons you had installed? For instance, was this the first time you installed Image Occlusion or did you possibly have an earlier version installed?

I have the old version "image_occlusion_2", but I removed before I install the atual version. The old version is working without conflict.
My add-ons:

Ok, thanks for the screenshot. I can't really see anything that could cause this.
Sorry, I would like to help you with this, but I have no clue what's wrong. The only thing I can suggest would be to start from a clean slate, without any add-ons installed, then install IO and add each other add-on one by one while restarting Anki again and again. At some point the error should reappear and that should tell you where the conflict lies. This a very tedious process, but it's the only way I can think of to troubleshoot this because the error message is way too general to identify the cause.

" When you say you've managed to install it successfully in another "local", do you mean another Windows user account or another PC?"
In same windows user account, but in other folder.
I'll try your suggestion.
Thank you.

Hey @Uitalo,
I think I've identified the issue and found a possible workaround (apparently this is a longstanding bug with some Python distributions on Windows).
Could you do me a favor and give this release a try? You will have to install it manually, but it should hopefully fix the bug permanently.

This seems to be fixed with the latest stable release, so I'll mark this as solved. However, please feel free to comment here if you ever run into this issue again.


Feature request: make accessKey and secretKey optional

If you have an active AWS profile, then you can omit accessKey and secretKey from the aws options.
Is there anyway we could make these fields optional? We could make another .env variable that says whether you are using an AWS  profile?

Fixed in https://github.com/fox1t/turborepo-remote-cache/pull/22


Google contacts don't have URLs unless they are signed in

Sign-in to Google
Observe non-signed in contacts, even when you click on them, don't have a anti-spoofing link

Same as https://github.com/uProxy/uproxy/issues/1267


Integrate PSI with workers

Question
The current PyVertical process requires a user to collect ids from the data holders to compute the set intersection. The data holders must then sort the remaining IDs they hold in the same format. We should integrate the PSI process more closely into vertically partitioned datasets. How we do this is an open question. We must consider:

data holders to agree on a process for sorting IDs
method for data holders to communicate IDs to a third-party for set intersection to be computed
method to confirm that data holder IDs are/can become strings

PSi requires strings

Additional context
Part of #28

This functionality will be developed in an experimental notebook in the PySyft repo, as we need to make use of syft 0.3.0 features

workers not included in syft 0.3


south australia adelaide has been entered as just Adelaide.

Please move search records to South Australia Adelaide and remove Adelaide. There are Adelaides elsewhere in the world.
Also move Adelaide Australia search records to South Australia Adelaide and remove entry that does not follow greater to smaller rule.
Geoff

Done


Failed to parse chinese gbk coded file in ubuntu

I wrote some notes in Chinese with org-mode in windows, and I could read and edit it well with default emacs in ubuntu. However, when enabling oh-my-emacs, this note file turns unreadable codes in emacs.
I used the "describe-coding-system" function in both configurations in the note's buffer.
| The origin emacs shows                                                | The oh-my-emacs shows                                                 |
|-----------------------------------------------------------------------+-----------------------------------------------------------------------|
| Coding system for saving this buffer:                                 | Coding system for saving this buffer:                                 |
| c -- chinese-gbk-dos (alias: gbk-dos cp936-dos windows-936-dos)       | 1 -- iso-latin-1-dos (alias: iso-8859-1-dos latin-1-dos)              |
|                                                                       |                                                                       |
| Default coding system (for new files):                                | Default coding system (for new files):                                |
| U -- utf-8-unix (alias: mule-utf-8-unix)                              | U -- utf-8-unix (alias: mule-utf-8-unix)                              |
|                                                                       |                                                                       |
| Priority order for recognizing coding systems when reading files:     | Priority order for recognizing coding systems when reading files:     |
| 1. utf-8 (alias: mule-utf-8)                                          | 1. utf-8 (alias: mule-utf-8)                                          |
| 2. chinese-gbk (alias: gbk cp936 windows-936)                         | 2. iso-2022-7bit                                                      |
| 3. iso-2022-cn (alias: chinese-iso-7bit)                              | 3. iso-latin-1 (alias: iso-8859-1 latin-1)                            |
| 4. chinese-big5 (alias: big5 cn-big5 cp950)                           | 4. iso-2022-7bit-lock (alias: iso-2022-int-1)                         |
| 5. chinese-iso-8bit (alias: cn-gb-2312 euc-china euc-cn cn-gb gb2312) | 5. iso-2022-8bit-ss2                                                  |
| 6. iso-2022-7bit                                                      | 6. emacs-mule                                                         |
| 7. iso-2022-8bit-ss2                                                  | 7. raw-text                                                           |
| 8. emacs-mule                                                         | 8. chinese-big5 (alias: big5 cn-big5 cp950)                           |
| 9. raw-text                                                           | 9. chinese-iso-8bit (alias: cn-gb-2312 euc-china euc-cn cn-gb gb2312) |

It seems like some encoding priority order should be customized but I don't know how.

Hey, sorry for my late response. Could you please show me you linux's locale?
You can type locale in your terminal to get this.
Maybe this is a problem of the file. The encoding of your file is not UTF-8 in Linux. you can check this by file filename in terminal to get the file encoding.

Thank you for telling me about locale and file command. I'm not good enough at Linux.
locale result:

LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=

file result:

hadoop.org: ISO-8859 text, with CRLF line terminators

Yes, I know it's not in UTF-8. But I have many files of which the encoding is not UTF-8 and may be gbk or iso-8859. Since I have to handle many files from other people it's too hard to ensure all the files to be in UTF-8. Would it be good to configure the Emacs to auto recognize the encoding of a file?

Hey,
After an hour of investigation work, finally I got a workaround for your issue, just add
(set-coding-system-priority 'utf-8 'chinese-gb18030)

to your .emacs file and then your coding priority with changes:
Priority order for recognizing coding systems when reading files:
  1. utf-8 (alias: mule-utf-8)
  2. chinese-gb18030 (alias: gb18030)
  3. iso-2022-7bit
  4. iso-2022-7bit-lock (alias: iso-2022-int-1)
  5. iso-2022-8bit-ss2
  6. emacs-mule
  7. raw-text
  8. iso-2022-jp (alias: junet)
  9. in-is13194-devanagari (alias: devanagari)
  10. chinese-iso-8bit (alias: cn-gb-2312 euc-china euc-cn cn-gb gb2312)
  11. utf-8-auto
  12. utf-8-with-signature
  13. utf-16
  14. utf-16be-with-signature (alias: utf-16-be)
  15. utf-16le-with-signature (alias: utf-16-le)
  16. utf-16be
  17. utf-16le
  18. japanese-shift-jis (alias: shift_jis sjis)
  19. chinese-big5 (alias: big5 cn-big5 cp950)
  20. undecided

However, I can't put this into oh-my-emacs since oh-my-emacs is not only for chinese users. You can put this in custom.el or your_username.el under .emacs.d directory.
I'll document this.
Encoding is really a complex topic, check https://www.gnu.org/software/emacs/manual/html_node/emacs/International.html#International for technical internal details.

Tips:

you can always switch encoding by M-x revert-buffer-with-coding-system.
you can always set file-local or directory-local variables to change encoding settings for a file or files in a directory, https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html

Thanks a lot! It did solve the problem. Sorry for cost your time but thanks!


Does this TimeMixer support multiple input single output prediction?

Thank you for providing such great work. Does this TimeMixer support multiple input single output prediction? MISO is more practical since we were trying to use many covariate (Exogenous) time series to predict the target time series.
I am also looking forward to seeing the code for TimeXer: Empowering Transformers for Time Series Forecasting with Exogenous Variables.

Hi, without a doubt, MISO is indeed a very important issue. Currently, TimeMixer does not support MISO, but we are working hard to develop a new version to address this problem. Once we achieve results, we will release them as soon as possible and share them with the community. In the meantime, you can refer to our TimeXer work for this issue. Once again, thank you for your attention to our work.

Hi, it is necessary to explain that channel_independence=1 means channel independence is enabled, where different channels' time series are treated independently. channel_independence=0 means channel independence is disabled. Using the method you mentioned can partially achieve the MISO effect, but due to the channel independence strategy, it does not actually use information from other channels for prediction.


Add a Dockerfile for containerized use

I felt that this program would work nice containerized with Docker or Podman so I wrote a simple Dockerfile. It can be built with docker built . -t [name]:[tag] once a .env file has been created and should work like running it normally. Users should also be able to specify environment variables with the Docker CLI. If wanted or needed, I'd also be happy to write a GitHub workflow that automatically pushes to DockerHub on push or tag so people can pull from there easily. If this PR is unwanted or unneeded then I would be happy to close and delete it.

Thanks! We incorporated these changes.


Accessing @visibleForTesting outside my library, but in tests. How to proceed?

For example flutter_tools's Artifact class:
factory Artifacts.test({String? localEngine, FileSystem? fileSystem})

... is also used by IMobileDevice:
factory IMobileDevice.test({ required ProcessManager processManager }) {
  return IMobileDevice(
    artifacts: Artifacts.test(),
    cache: Cache.test(processManager: processManager),
    processManager: processManager,
    logger: BufferLogger.test(),
  );
}

At first glance, it seems like Artifacts.test is the perfect candidate for @visibleForTesting, but doing so triggers a violation in IMobileDevice.test. They are in separate libraries (src/artifacts.dart versus src/ios/mac.dart), but appear to be used as functionally intended.

Proposal

The "easiest" fix, albeit not necessarily correct, is to allow @visibleForTesting to access @visibleForTesting
One downside here is that I think @visibleForTesting is intended to mean @visibleForMyOwnTests, where "my own"
is narrowly defined as "my package's test/ folder". I can't remember if there was extra allowances for folders named
testing or not (if there is, then maybe there is an out).

The next would be to introduce a variant, i.e.
@VisibleForTesting.withinPackage()

/cc @christopherfujino @srawlins

The "easiest" fix, albeit not necessarily correct, is to allow @visibleForTesting to access @visibleForTesting

I think this was proposed years ago, but I don't think it panned out. If a constructor declared in one library is to be accessed by a constructor declared in another library, then the first must be public.
I don't really follow what "allow @visibleForTesting to access @visibleForTesting" means. "This constructor is essentially private, but is public for other code which itself should be private but is actually public so that it can be accessed from tests." Why does the privacy/publicity of the code which contains a reference to Artifacts.test change whether it can access Artifacts.test?

One downside here is that I think @visibleForTesting is intended to mean @visibleForMyOwnTests

I don't think that's true. This interpretation has never been enforced. I think the accessor literally just needs /test/ or /testing/ in its path.

The next would be to introduce a variant, i.e. @VisibleForTesting.withinPackage()

What would this do? Or what would be enforced on elements annotated with this?

I don't think that's true. This interpretation has never been enforced. I think the accessor literally just needs /test/ or /testing/ in its path.

Interesting! Maybe that means there is room for uh, more flexibility.
How do you imagine that working for IMobileDevice.test, though?

What would this do? Or what would be enforced on elements annotated with this?

Allow @visibleForTesting elements in the same package to access it (i.e. sort of an explicit workaround to proposal 1)

The issue is that @visibleForTesting doesn't mean, "I am test code but I have to live in this impl library." It means "I wish I could be private, but it is required that I be accessible from within tests." So back to my "I don't really follow" comment above.
If there is a private-but-accessible-to-tests constructor which must be accessible in another library, then it's just a public constructor. A public constructor which must be accessible from other libraries. I think it's pretty orthogonal that the other code, IMobileDevice.test happens to also be @visibleForTesting.
Judging by the names, IMobileDevice.test and Artifacts.test, it sounds like @visibleForTesting isn't being used so that they can be used privately and in tests; rather, the intent sounds like it is that these constructors "only" be visible in tests.
(I always hate answers like "Instead of answering the question you asked, why don't we do something else entirely", but, anyhow) I see that Artifacts.test instantiates a _TestArtifacts and uses a _TestLocalEngine which all sounds like code that should not just be private to this impl (non-test) library, but should actually live outside of lib/. WDYT? I think all of that code can be moved to test/ (near wherever it is needed, perhaps), and instead of a factory method, Artifacts.test is just a top-level function, gimmeATestArtifactsObject(). This is aside from the visibleForTesting question; it just seems like this code really shouldn't live in lib/...

That's totally fair!
I guess also a follow-up fair question is, if someone marks a class as sealed or final (not in this case, but imagine), the "just put it in test/" no longer works, right?

Yeah that's true.

Cool. Let me follow-up with the flutter_tools owners and see if I am misunderstanding intent here.
Maybe we need "friend" libraries after all :)

Maybe we need "friend" libraries after all :)

Haha yeah I almost went to the same place.
It's actually interesting that we don't have an annotation like @visibleONLYToTesting. Like you could imagine Artifacts is like:
class Artifacts {
  _PrivateType _privateField;
  Artifacts() : _privateField = _PrivateType();
  Artifacts.forTest() : _privateFIeld = _PrivateType(fileSystem: false);
}

In this case, you maybe _never want to make _privateField public (even @visibleForTesting), nor the _PrivateType. So then you could not just move this constructor to test/. And it remains to be seen whether my suggestion will work.
In that case, Artifacts.forTest could be annotated with something like visibleONLYToTesting. You could imagine the same for field setters or "reset state" methods that should never be called by impl code (within the library or without), and is only available to touch private fields from a test.
A case could maybe be made for such an annotation.

FWIW, in code that's exposed to other users (e.g. the Flutter framework itself), code annotated @visibleForTesting is basically considered to just be public API.

Is that true of other "visibility" annotations like protected, or is visibleForTesting unique because of its implementation?

Well @protected is not even trying to not be a public API, so that's definitely considered a public API surface, sure. I'm not sure what other visibility protections exist. Leading underscore is considered private, that's not public. That's also enforced. Not exporting something that could be imported by directly giving the path to the file is one way some people try to make private APIs, but those are also public in practice, so we export everything. @deprecated is also considered public.
To clarify, by "public API" here I mean "must be fully documented and is not exempt from the breaking change policy".

(I always hate answers like "Instead of answering the question you asked, why don't we do something else entirely", but, anyhow) I see that Artifacts.test instantiates a _TestArtifacts and uses a _TestLocalEngine which all sounds like code that should not just be private to this impl (non-test) library, but should actually live outside of lib/.

No, I agree with this :).

At least in the flutter_tool, nothing is a public API, so it doesn't really matter if something is private, visiblefortesting, or public. There are pratical reasons to leave test code public, so that we can actually unit test it. Adding the visible for testing was mostly just for documentation. I would just as soon as // visible for testing as a comment to the constructor and move on.

I'm closing this as I think, in so-far that @visibleForTesting is supported, it appears to "do the right thing".
Thanks all!


update question groups to surveys

I was reviewing the project and I found that you were looking rename question groups to surveys so I did it :)

@chukitow thanks for the PR. please take a look at ci failures?

All the build needs to be green ? cuz it only fails on 2.0.0. 2.1.10 & 2.3.1 @iffyuva

@chukitow for now we require all builds to be green, since builds are already green on master

ok, I'll research why it is failing in those builds.

@iffyuva done, all the builds are green now :)

thanks @chukitow will review this after office hours today 👍

@chukitow merged :). Thanks. i was also thinking of renaming answer_groups to attempts. would you like to take it up?

Perfect, if I can I'll spend part of my free time renaming answer_groups :)


Skipping all Annotations

I want to publish the JUnit formatted CVE scan results with this plugin. But I do not want to create annotations on my summary, I only want to see the errors on my check. As far as I understand setting the annotations_limit to zero would also skip my errors on the check details.

Good day.
Setting annotations_limit to zero would actually result in no annotations being collected at all, and I suppose you still want them to show up in the summary.
If I understand you want the summary only, but no annotations whatsoever? (Basically skipping this: https://github.com/mikepenz/action-junit-report/blob/main/src/main.ts#L110-L119 ?)

Please feel free to try out this branch to see if it matches what you were looking for: https://github.com/mikepenz/action-junit-report/pull/1022

Wow that was a super fast response. Very impressive!! I will test it and let you know.

The summary_only skips the annotations as desired, but unfortunately it also skips the check report.
I would like to still see the check report but not the annotations.
Maybe a better option could be annotate_èrror which is true by default, but can be set to false to mute the error annotations.

Thank you for testing it.
So you would like to have:

checks
summary
but not annotations
(if I understand correctly?)

yes, I want to show all the details, but not as an annotation error on top level of my workflow. I'm using it to show CVE issues from used dependencies, so there could be a lot of them. I want the users to be able to see the full list but I don't want to highlight them all in the annotations.

Thank you for your feedback. Based on this I decided to go a different route. This should be what you are looking for:

https://github.com/mikepenz/action-junit-report/pull/1024

New setting to disable the annotations for checks (does not affect. if annotate_only is used)

Annotations are gone as desired. But my Check report is empty now as well. This is not desired, as I would still like to see the failed tests on the check report.
Now:

Previous and desired output on the check would be:

Maybe it is not possible to skip the annotations on the check summary...
I just want to get avoid the Annotations on the build summary

@janbernhardt unfortunately this is not possible as far as I am aware.
The annotations section is filled by GitHub automatically with the annotations created.

The summary could serve as alternative, however not being the same.

Yes, you are right. Good point.

So from my point of view, you can merge this change back into master :-)

Summary details look like this


Tester Report - Papyrus errors and broken blackjack.

Tested by E

And now I just got busted out without my card being shown to me, I have 5, 4, 3 on the table, drew another card, told I was busted but no fourth card is shown
There is a log of it...
https://pastebin.com/4V9MeVPj
^ truncated
Now after that hand it's not dealing cards
Log section when dealing next hand after aboves missing fourth card:
https://pastebin.com/dTfhaGc9
(No cards actually dealt, no player controls, no exit from blackjack, had to exit the game)

We need more testing and refining for sure, if I can help with working this out let me know, my testing computer won't be ready for a few days.

from our voice discussion: we need more testing once UI stuff is done

This is solved on master.


Create front end web app

Create a front end web app that allows users to make use of the dimensional reduction code in the backend(see issue #1).
The code should follow the functionality in the Andromeda_IMG.ipynb notebook.
Since getting the notebook to run has been troublesome a video of the notebook working is at https://www.youtube.com/watch?v=x9Ex6BHy1-c.

Screenshot of images arranged in 2D from the notebook

Images that have been moved have a circle behind them.
Screenshot of sliders from the notebook:


[wxwidgets] Update to 3.2.4

Fixes #35938, update wxwidgets to 3.2.4.
Add the patch fix-glegl.patch to fix the following issues, related issue in the upstream: https://github.com/wxWidgets/wxWidgets/issues/24076.
FAILED: libs/gl/CMakeFiles/wxgl.dir/__/__/__/__/src/unix/glegl.cpp.o
/usr/bin/c++ -DWXBUILDING -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxUSE_BASE=0 -DwxUSE_GUI=1 -I/mnt/vcpkg-ci/b/wxwidgets/x64-linux-dbg/lib/wx/include/gtk3-unicode-static-3.2 -I/mnt/vcpkg-ci/b/wxwidgets/src/v3.2.4-9b80bee8c3.clean/include -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/gtk-3.0 -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/pango-1.0 -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/cairo -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/gdk-pixbuf-2.0 -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/at-spi2-atk/2.0 -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/at-spi-2.0 -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/dbus-1.0 -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/dbus-1.0/include -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/atk-1.0 -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/fribidi -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/harfbuzz -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/libpng16 -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/pixman-1 -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/gio-unix-2.0 -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/mnt/vcpkg-ci/installed/x64-linux/include/gtk-3.0/unix-print -I/usr/include/xkbcommon -isystem /mnt/vcpkg-ci/installed/x64-linux/include -isystem /mnt/vcpkg-ci/installed/x64-linux/include/SDL2 -fPIC -g -fPIC -Wall -Wundef -Wunused-parameter -Wno-deprecated-declarations -Wno-ctor-dtor-privacy -Woverloaded-virtual -pthread -Winvalid-pch -include /mnt/vcpkg-ci/b/wxwidgets/x64-linux-dbg/libs/gl/CMakeFiles/wxgl.dir/cmake_pch.hxx -MD -MT libs/gl/CMakeFiles/wxgl.dir/__/__/__/__/src/unix/glegl.cpp.o -MF libs/gl/CMakeFiles/wxgl.dir/__/__/__/__/src/unix/glegl.cpp.o.d -o libs/gl/CMakeFiles/wxgl.dir/__/__/__/__/src/unix/glegl.cpp.o -c /mnt/vcpkg-ci/b/wxwidgets/src/v3.2.4-9b80bee8c3.clean/src/unix/glegl.cpp
/mnt/vcpkg-ci/b/wxwidgets/src/v3.2.4-9b80bee8c3.clean/src/unix/glegl.cpp: In member function ‘virtual bool wxGLCanvasEGL::SwapBuffers()’:
/mnt/vcpkg-ci/b/wxwidgets/src/v3.2.4-9b80bee8c3.clean/src/unix/glegl.cpp:813:11: error: ‘gs_alreadySetSwapInterval’ was not declared in this scope
  813 |     if ( !gs_alreadySetSwapInterval.count(this) )
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~

All features are tested successfully in the following triplet:
x86-windows
x64-windows
x64-windows-static

The usage test passed on x64-windows (header files found):
The package wxwidgets provides CMake targets:

    find_package(wxWidgets CONFIG REQUIRED)
    target_link_libraries(main PRIVATE wx::core wx::base)

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[ ] ~The "supports" clause reflects platforms that may be fixed by this new version~
[ ] ~Any fixed CI baseline entries are removed from that file.~
[ ] ~Any patches that are no longer applied are deleted from the port's directory.~
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Thanks for the update!


Python install fails

The instructions python setup.py install currently fails for Python2.7, 3.6 and 3.7 under Ubuntu 18.04. When trying pip install . instead, a message Failed building wheel for PyCEGO pops up as part of the output.
Full error output from python setup.py install (3.7):
sjvrijn:/src/CEGO$ python setup.py install
running install
running bdist_egg
running egg_info
writing PyCEGO.egg-info/PKG-INFO
writing dependency_links to PyCEGO.egg-info/dependency_links.txt
writing top-level names to PyCEGO.egg-info/top_level.txt
reading manifest file 'PyCEGO.egg-info/SOURCES.txt'
writing manifest file 'PyCEGO.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /src/CEGO/venv/bin/python (found version "3.7.2")
-- Found PythonLibs: /home/sander/local/lib/libpython3.7m.a
-- pybind11 v2.2.dev0
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- Performing Test HAS_CPP11_FLAG
-- Performing Test HAS_CPP11_FLAG - Success
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- LTO enabled
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at CMakeLists.txt:21 (target_link_libraries):
  The keyword signature for target_link_libraries has already been used with
  the target "PyCEGO".  All uses of target_link_libraries with a target must
  be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   * externals/pybind11/tools/pybind11Tools.cmake:107 (target_link_libraries)

Call Stack (most recent call first):
  CMakeLists.txt:32 (add_nix_libraries)
  CMakeLists.txt:40 (attach_includes)

-- Configuring incomplete, errors occurred!
See also "/src/CEGO/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also "/src/CEGO/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
  File "setup.py", line 70, in <module>
    zip_safe=False,
  File "/src/CEGO/venv/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/home/sander/local/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/home/sander/local/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/home/sander/local/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/src/CEGO/venv/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/src/CEGO/venv/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install
    self.run_command('bdist_egg')
  File "/home/sander/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/sander/local/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/src/CEGO/venv/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 172, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "/src/CEGO/venv/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 158, in call_command
    self.run_command(cmdname)
  File "/home/sander/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/sander/local/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/src/CEGO/venv/lib/python3.7/site-packages/setuptools/command/install_lib.py", line 11, in run
    self.build()
  File "/home/sander/local/lib/python3.7/distutils/command/install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "/home/sander/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/sander/local/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 34, in run
    self.build_extension(ext)
  File "setup.py", line 58, in build_extension
    subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env)
  File "/home/sander/local/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/src/CEGO', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/src/CEGO/build/lib.linux-x86_64-3.7', '-DPYTHON_EXECUTABLE=/src/CEGO/venv/bin/python', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.

This seems to extend to installs through the binder badge link too:
[...]
Command "/srv/conda/bin/python -u -c "import setuptools, tokenize;__file__='/tmp
/pip-req-build-h7la7icm/setup.py';f=getattr(tokenize, 'open', open)(__file__);co
de=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec')
)" install --record /tmp/pip-record-5otxyiy3/install-record.txt --single-version
-externally-managed --compile" failed with error code 1 in /tmp/pip-req-build-h7
la7icm/

CondaValueError: pip returned an error

Removing intermediate container e0dd8f91272f
The command '/bin/sh -c conda env update -n root -f "environment.yml" && conda c
lean -tipsy && conda list -n root' returned a non-zero code: 1

Thanks for the report.  I "fixed" some issues, but I guess I don't have the most up-to-date cmake on my windows box, as I didn't run into this problem.  I now force Travis to run the python setup.py build to ensure the python builds are ok, and I'm working through another Travis issue that only now is biting me.

Phew I think I have binder and TravisCI builds running again.


FINOS OSSF NY 2020 - DevOps Mutualization SIG Meeting Report

Date
Wednesday 10 NOV 2021
Day 2 of the Open Source Strategy Forum
New World Stages, 340 West 50th St, NY
https://events.linuxfoundation.org/open-source-strategy-forum/
Untracked attendees

Name
Firm
Comment

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[x] Convene, welcome
[x] Review of Nov 9th OSSF Day 1 agenda and SIG members meeting
[x] Lean Coffee discussion of SIG related topics
[x] Invitation to attendees to join the SIG
[x] Adjourn

Decisions Made
None
Action Items

[ ] Contact new members

WebEx info
None, this meeting was held in person
Dial-in
None, this meeting was held in person
Github Repo: https://github.com/finos/devops-mutualization/
Mailing List: Email<EMAIL_ADDRESS>to subscribe to our mailing list

Review of Nov 9th OSSF Day 1 agenda and SIG members meeting
Robb Keayes provided a brief summary of the highlights of the OSSF Day (Nov 9th), relevant to the SIG, for those who could not attend

Keynote - New FINOS members welcomed, discussion of Linux Foundation membership
Talks - many topic of interest to the SIG
** DataBricks joins FINOS, provide Lakehouse product
** TuxCare - joins FINOS, provides live security patching product
** Symphony Open Source announces new 'BDK' Bot Framework
** Regulatory - discussion of FINOS open regulation work, aim to standardize, reduce work duplicated by member firms, with aim to attract regulators to contribute directly to the standards, rather than engaging each back separately
** HyperLedger - discussion of Blockchain at JPM, with Christine Moy (JPM) and Joseph Lubin (co-founder of Ethereum)

Legend - Data Modelling tool from GS
Morphir - Logic Modelling tool from MS, newly contributed
Open Source Readiness - accelerator for OSS projects

Lean Coffee
We held a lean coffee - https://agilecoffee.com/leancoffee/
The aim of the lean coffee format it to engage members to propose topics of most interest to the SIG, and to discuss them freely, with no agenda, and no one leading the discussion. This usually results a lively discussion with many ideas and opinions contributed, that often goes in unexpected and interesting directions. It usually results in participants feeling engaged, heard and inspired. And they are a lot of fun, with a lot of new learning.
The format we took

solicitation of topics
brief review of each topic
voting and prioritization
discussion of most popular topics in turn

Topics Discussed
"Reference Archicture for DevOps Audit/Compliance" and "What does good (DevOps) look like?"
Discussion around what a "good" DevOps toolchain that can Audit and Compliance checks

A "DevXOps" approach would work well, along the lines of DevSecOps, which standardizes Security checks.

Automated Audit and Compliance checks can act as gates, to ensure each change passes the checks, and is in compliance * without each change needing to be specifically (often manually) tested.

It was noted that automation of these steps can also enable "fast tracking" of changes, due to the reduced risk of the change, which can allow changes to be quickly or automatically passed through the CAB\

The group agreed that the SIG proposing a Reference Architecture would be useful to most member firms

Tools Integration"  and "(Tools) Selection, Support and EOL"*

How to choose an appropriate toolchain (set of tools), and preferred techniques for integrating them

Each firm tends to have it's own toolchain, though there are some "best of breed" tools used widely

The reference architecture discussed previous could be helpful in framing the problem

It was noted that an open integration standard might be helpful here as well, something the SIG may wish to look into

"How to change culture?"

The age old question of how to move Waterfall/ITIL based thinking to adopt Agile/DevOps principles
It was agreed that is a hard problem, that challenged most firms' DevOps initiatives
Success often requires grassroots (bottom up) enthusiasm, and management (top down) support, with funding and resourcing. Asking teams to adopt DevOps "in their spare time" rarely succeeds at large firms.
Evangelization and Coaching can be very helpful here, to adopt the "train the trainers" approach required to grow the culture organically

Dojo's can be a good option here - See https://itrevolution.com/book/getting-started-with-dojos/


proxy by socket5

as the title Suggest

I guess you're talking about socks5? If so, there are lots of ideas in #402.


qutebrowser - Failed to load module "canberra-gtk-module"

Describe the bug
Can't run qutebrowser on Ubuntu 22.04 using Wayland
Steps To Reproduce
Steps to reproduce the behavior:
nix-shell qutebrowser
qutebrowser

Expected behavior
Expect quterbwoser to run correctly
Notify maintainers
@dotlambda
@rnhmjoj
@timd
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.0-28-generic, Ubuntu, 22.04.4 LTS (Jammy Jellyfish), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.20.4`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

Does it start with nix-shell --pure -p qutebrowser --run qutebrowser?

@rnhmjoj it doens't give any errors but I got no GUI running.

Tried with nixGL and it works fine.

Tried with nixGL and it works fine.

With or without nix-shell --pure?
On a non-NixOS system I'm afraid you need to use nixGL, unless you disable hardware acceleration entirely.
The canberrak-gtk-module error, though, is probably due to an impurity in your environment, given it disappears when running in nix-shell --pure.

I'm running it without using
nix --extra-experimental-features "nix-command flakes" run --impure github:nix-community/nixGL -- qutebrowser
Indeed I'm still getting
Gtk-Message: 20:16:54.042: Failed to load module "canberra-gtk-module"
but everything seems to work fine.
I don't know how to run the same thing using --pure

Gtk-Message: 20:16:54.042: Failed to load module "canberra-gtk-module"

Ok, it's not a fatal error, then.
Since the problem is openGL, I'm closing as duplicate of https://github.com/NixOS/nixpkgs/issues/9415.


Add tuple type to shape

One question: for example, the "if" operator has 3 outputs, then there is an "add" operator uses the second output of "if" as its input, how should we represent this in a migraphx program?

We will need a tuple_get operator to select the second or third output.


pushMiddleware changed order

How can I add middleware to the end of the full stack from a service provider in Laravel 5.3?
In Laravel 5.1 all of my "packages" pushed their own middleware in their service providers boot() method like so $kernel->pushMiddleware('Mrcore\Wiki\Http\Middleware\AnalyzeRoute');
This would push middleware to the END of the FULL stack, including the stack listed in the main app/Http/Kernel.php.  So dump($kernel) would reveal the proper order
0 => "Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode"
1 => "App\Http\Middleware\EncryptCookies"
2 => "Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse"
3 => "Illuminate\Session\Middleware\StartSession"
4 => "Illuminate\View\Middleware\ShareErrorsFromSession"
5 => "Mrcore\Wiki\Http\Middleware\AnalyzeRoute"

This was ideal because at the custom middleware level Auth:: and Session:: are already fired up.
But now in Laravel 5.2 and above, when I ->pushMiddleware it adds it BEFORE it appends any app/Http/Kernel.php so a dump($kernel) at the provider level looks like so
0 => "Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode"
1 => "Mrcore\Wiki\Http\Middleware\AnalyzeRoute"

This means that any custom middleware you want to define from the service provider has no concept of Session or Auth yet.
Is there a particular reason for this change?
And I must continue defining the "packages" middleware from the provider as the main laravel app cannot be modified by the users.  This is a CMS, so all must be defined in the package.
This is somewhat related to https://github.com/laravel/framework/issues/15072 in how Auth has moved around but is NOT the same issue, so please don't disregard as "closed".

@mreschke
The thing is this has been the case since 5.2, if we try to fix the order now it might break other applications that depend on the new sort of order.
What if you use Router::pushMiddlewareToGroup and push your middlware to the web and api groups, would that solve your issue?

@themsaid wow thank you so much.  That is exactly what was need to get the middleware back in the same order.
So from any "apps" provider boot() I can now $router->pushMiddlewareToGroup('web', \Mrcore\Wiki\Http\Middleware\AnalyzeRoute::class); which will indeed push back to end of web group as it used too in laravel 5.1.
dump($router)
  #middlewareGroups: array:2 [▼
    "web" => array:6 [▼
      0 => "App\Http\Middleware\EncryptCookies"
      1 => "Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse"
      2 => "Illuminate\Session\Middleware\StartSession"
      3 => "Illuminate\View\Middleware\ShareErrorsFromSession"
      4 => "Illuminate\Routing\Middleware\SubstituteBindings"
      5 => "Mrcore\Wiki\Http\Middleware\AnalyzeRoute"
    ]
    "api" => array:2 [▶]
  ]

@mreschke Glad I could help :)


cargo build graph-node

Which OS do you use? Is postgresql already installed?

Hello! :wave:
It seems that there is more text on that error message.
Could you share the full text so we can better inspect it?

I have solved this problem, because gcc id occupies too much memory and was killed directly. I added virtual memory to my server and it was ok.

you may want to take a look of this research.
https://www.reddit.com/r/rust/comments/ez34iu/trying_to_compile_the_migrations_macro_dependency/


Stop booting at LGW Firmwareupdate

Hallo,
i have installed the newest build and it worked fine. I have tested basics and I was able to connect devices. Than I have restored settings from CC2 same build version as RasberryMatic. The System is now hanging at LGWF Firmwareupdate.

Please provide more information. Please press ALT+F2 to show the bootup console and see if it outputs any errors there.

Hallo, thanks for the fast answer.
modprobe: FATAL: module ehci_hcd not found in Directory /lib/modules/4.4.36-v7

This is not an error message related to this issue. Please have a look at the point where the LGWFirmwareUpdate is applied. Is there written "OK" after it or not.

Hello,
I've the same issue, two days ago I converted my ccu2 to the RaspberryMatic.
Yesterday I did some changes on a script and by saving this the RaspberryMatic did not respond, after plug off the power and plug it in again the RaspberryMatic hangs on booting at "LGW Firmewareupdate" (see Screenshot below)

If I disconnect the LAN cable the "LGW Firmwareupdate" continues to "Firmwareupdate" (than I connect the LAN cable again and the RaspberryMatic comes up completly).
Please tell me how I can fix this problem.

Before we can fix this we have to identify the root cause of the issue. So are you able to login to RaspberryMatic via SSH when this problem happens? If so, please have a look at /var/log/messages if there are any problems reported regarding the LAN gateway firmware update.

And also please show the content of your /etc/config/rfd.conf file so that I can try to reproduce this issue.

Thanks for your quick response, here are the desired files:
files.zip

@PhilipHanebeck Sorry, but are these files really taken AFTER RaspberryMatic got stuck or did you download these files after you booted it with a disconnected LAN cable? I really need the /var/log/messages file right after RaspberryMatic got stuck and NOT after you fixed/worked around it.
In addition, please note the following observations:

Do you really have a LAN Gateway running? And is it reachable? Your /var/log/messages file is full of Could not connect to HomeMatic Lan Gateway with IP Address <IP_ADDRESS> messages.
You unfortunately attached the /etc/config/hs485d.conf file with the encryption key visible in there. So you would need to change it at some point now that anyone knows it.

ok, now I've attached the actual lines from messages while RaspberryMatic is connected to LAN and didn't booted completly.
I've a LAN Gateway, but I just realized that the IP <IP_ADDRESS> is not correct, so I changed the IP to the actual IP (<IP_ADDRESS>) and I rebootet the RaspberryMatic, but the issue is still the same.
Messages.txt

Have you already tried to remove the LAN Gateway completely using the WebUI and readied it again?

Now it works, after I changed the IP address of my LAN Gateway the first reboot failed, but after this I rebootet again with disconnected LAN (and connect the LAN cable after reboot was completed) the RaspberryMatic shoes that the LAN Gateway was now connected. Than I rebootet the system with LAN connection again and everything works fine.
Thanks a lot for you quick helping hands.
Now I'am looking forward to your next Firmware update of RaspberryMatic so I can use my Homematic IP devices with my raspberry pi 3.

Thanks for double checking. I guess I will add some checks/output on the LAN Gateway IP addresses so that users can more easily identify an incorrect setup.
@FraatRamski Have you also checked your /etc/config/hs485.conf file and double checked that the IP address of your LAN Gateway is setup correctly?

@jens-maus: is RaspberryMatic also avaiable for banana PI ?

@PhilipHanebeck Sorry, but this is not only off-topic in here but also clearly stated on the main page and documentation: only RaspberryPi2 and RaspberryPi3.

Now that this issue seems to be solved, I am going to close this issue.

Sorry to come back to this, same issue here with a HomeMatic RS485 Gateway.
Double checked IP settings, reachabilty, disabled IPV6, removed the device via Webinterface and reinstalled it.
Only killing '{S58LGWFirmwareU} /bin/sh /etc/init.d/S58LGWFirmwareUpdate start' allows the system to start up.
Environment: Pi3, Beta3, Restore from Backup (2.25.15)

I am reopening that issue for the time being, however, I still feel that this is actually a user problem where the LAN gateway seems to be unreachable at the time when the firmware update is about to be applied. As I don't have a LAN Gateway myself I wonder what other users might have to contribute here?
@wowi1968 Do you have any idea what might stop the LAN Gateway firmware update? And how to actually debug this situation?

@StephanTexxpro Can you please try the following command executions to actually debug the problem:
/bin/eq3configcmd update-coprocessor -lgw -u -rfdconf /etc/config/rfd.conf -l 0 -c

/bin/eq3configcmd update-lgw-firmware -m /firmware/fwmap -c /etc/config/rfd.conf -l 0 -console

/bin/eq3configcmd update-lgw-firmware -m /firmware/fwmap -c /etc/config/hs485d.conf -l 0 -console

And please see which of the executions actually start to hang and please report the output here.

Hi Jens,
here we go:
# /bin/eq3configcmd update-coprocessor -lgw -u -rfdconf /etc/config/rfd.conf -l 0 -c 2017/01/13 13:33:25.359 <Debug> firmware filename is: coprocessor_update_hm_only.eq3
# /bin/eq3configcmd update-lgw-firmware -m /firmware/fwmap -c /etc/config/rfd.conf -l 0 -console 2017/01/13 13:33:40.790 <Info> No gateway found in config file /etc/config/rfd.conf
# /bin/eq3configcmd update-lgw-firmware -m /firmware/fwmap -c /etc/config/hs485d.conf -l 0 -console 2017/01/13 13:33:50.700 <Info> LAN Gateway Firmware Update...
2017/01/13 13:33:50.700 <Info> Gateway MEQ0673117
2017/01/13 13:33:52.705 <Info> Gateway type is eQ3-HMW-LGW-App cryptEnabled true2017/01/13 13:33:52.707 <Info> Available Firmware Version:   1.0.5
2017/01/13 13:33:52.707 <Info> Lan Gateway Firmware Version: 1.0.5
2017/01/13 13:33:52.707 <Info> Firmware is up to date
Best,
Stephan

@StephanTexxpro And which one of these command actually start to freeze/hang? You also have to make sure that you execute these commands right when your System hangs and you login in parallel via SSH.

@StephanTexxpro Please also check if the file /var/status/hasIP exists when then freeze during bootup happens.

OK, system is stuck in reboot, output as follows:
/bin/eq3configcmd update-coprocessor -lgw -u -rfdconf /etc/config/rfd.conf -l 0 -c
2017/01/13 13:50:18.612  firmware filename is: coprocessor_update_hm_only.eq3
/bin/eq3configcmd update-lgw-firmware -m /firmware/fwmap -c /etc/config/rfd.conf -l 0 -console
2017/01/13 13:50:27.268  No gateway found in config file /etc/config/rfd.conf
/bin/eq3configcmd update-lgw-firmware -m /firmware/fwmap -c /etc/config/hs485d.conf -l 0 -console
2017/01/13 13:50:33.554  LAN Gateway Firmware Update...
2017/01/13 13:50:33.554  Gateway MEQ0673117
2017/01/13 13:50:35.560  Gateway type is eQ3-HMW-LGW-App
cryptEnabled true2017/01/13 13:50:35.561  Available Firmware Version:   1.0.5
2017/01/13 13:50:35.561  Lan Gateway Firmware Version: 1.0.5
2017/01/13 13:50:35.561  Firmware is up to date
cat /var/status/hasIP
=> emtpy (-rw-r--r--    1 root     root             0 Jan  1  1970 /var/status/hasIP)
Best,
Stephan

@StephanTexxpro Hmm. strange. So I guess no command I told you gets stuck, right? Can you then please execute the following command if the system is stuck, so that we can see which process actually stops:
ps aux | grep eq3configcmd

Right, nothing got stuck.
ps aux | grep eq3configcmd   330 root     /bin/eq3configcmd update-lgw-firmware -m /firmware/fwmap -c /etc/config/hs485d.conf -l 1   800 root     grep eq3configcmd

@StephanTexxpro Can you please try to add a "sleep 5" at the very top of the start()function in the/etc/init.d/S58LGWFirmwareUpdate` file and then reboot the system to see if the problem is solved?

Up & running :)
Thank you very much!
What was the root cause?

I think this is a runtime problem that the network might not be fully up at the time when this command is executed. Please reduce it to 4, then 3, then 2, then 1 and report back at which point it started to fail again.

sleep 1 is enough.

ok, thanks. I will see what I can do for the next beta to work around this problem.

Reopening this issue since there are recent reports (see http://homematic-forum.de/forum/viewtopic.php?f=65&t=34497&p=335033#p335073) that the issue isn't solved yet.

I would like to confirm that I am still seeing this issue with Beta 4.  Sometimes the box will boot, but generally I have to kill:
{S58LGWFirmwareU} /bin/sh /etc/init.d/S58LGWFirmwareUpdate start
/bin/eq3configcmd update-coprocessor -lgw -u -rfdconf /etc/config/rfd.conf -l 1
to get the Raspberry Pi to boot.

Wait until beta5, this version should fix these issues.

Ok, thanks for the update.


Incompatibility with Clothesline

This issue was reported to Clothesline, pointing to Immersive Portals as a potential cause for an incompatibility. I haven't attempted to reproduce this myself, but I found a potential cause.
I dove into your code and found this Overwrite https://github.com/qouteall/ImmersivePortalsMod/blob/ef4be7b26179af049c458d9c23d7cf11c5eba5fe/src/main/java/com/qouteall/immersive_portals/mixin/chunk_sync/MixinThreadedAnvilChunkStorage_C.java#L116-L126
Which is incompatible with these Injects https://github.com/JamiesWhiteShirt/clothesline-fabric/blob/c0c637ee5d51fe3073e4e4150825e58deb821a97/src/main/java/com/jamieswhiteshirt/clothesline/mixin/server/world/ThreadedAnvilChunkStorageMixin.java#L29-L47
Surprisingly, the conflict did not cause anything to crash so it must have conflicted silently.
This is not the first time Clothesline has had conflicts because of ThreadedAnvilChunkStorage. ThreadedAnvilChunkStorage has become a major mixin target. I have proposed that Fabric API should provide an API for ThreadedAnvilChunkStorage related events that can be implemented by mods who modify it such as Lithium and Immersive Portals. JellySquid was positive to the idea.

I don't know whether mixin allows injecting to an overwritten method. If I make my mixin priority higher then the conflict may be solved.

Probably fixed

Tested it, and it does indeed appear to be fixed.


Erroneous dropped datagrams

Resolved issues:
resolves #2213
Description of changes:
Refactors datagram::Sender::on_transmit to properly handle when datagrams do not fit into a packet. Additionally adds a test for the new implementation, and renames an old test since the name no longer makes sense, given the new implementation.
Call-outs:
None
Testing:
New unit test poll_send_datagram_large
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

What happens when you enqueue a 5000 byte datagram in a 1500 byte MTU?

Datagrams would block sending until:

the MTU increases such that a Packet can contain the given datagram (unlikely), or
the user removes the datagram from the MTU with retain_datagrams

I had toyed with making the on_transmit implementation smarter, such that it will add whatever datagrams to the packet that it can, even going out-of-order if necessary. For example, if the queue is datagrams of the size [5000, 150, 150, 5000] and an MTU of 1500, datagrams 2 and 3 would eventually be sent, while datagrams 1 and 4 will not until the MTU changes. However I wanted this MR to retain as much of the original behavior of on_transmit as possible, while also correcting the behavior

Datagrams would block sending until the user removes the datagram from the MTU with retain_datagrams

This is a pretty significant change in behavior. Blocking queues is going to cause all sorts of issues and is why the default implementation is the way it is currently. If the head of the queue isn't able to be transmitted with the current MTU then it's unlikely to ever be transmitted.
If you're wanting different behavior you're free to implement your own datagram provider. That's exactly why this functionality is a provider: the default semantics won't make everyone happy.

If you'd like, I can modify #2213 to better capture a warning/error as a proposed solution, plus a fix to the waker behavior.

Yes let's do that. Thanks!


as in Plone, hide controlpanel for users that are no 'Manager' or 'Si…

…te Administrator'

i think that we should start thinking about how to check user permissions and not roles with restapi, because we are missing a lot of Plone's power like this.


Add coverage to sub-second average block time

Suggestion -> change risk param [14] AverageBlockTime to be on miliseconds instead of seconds.

https://github.com/overlay-market/v1-core/blob/main/contracts/OverlayV1Market.sol#L619-L648
This is the only part of the code that uses the average block time. Do Chainlink feeds uses the hasReserve return value?

@TomasCImach seeing Arbiscan there are at least 4 blocks per second but the timestamp is the same for each of them. What I mean is that the timestamp change at most once per second.

https://github.com/overlay-market/v1-core/pull/171


Fix for broken link on Command Line Reference

What's changed, or what was fixed?
-Removed broken link on chrome-devtools/console/command-line-reference
Fixes: #6328
Target Live Date: 2018-06-09

[ ] This has been reviewed and approved by (@kaycebasques)
[x] I have run npm test locally and all tests pass.
[ ] I have added the appropriate type-something label.
[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele

Label should be type-Content.

@kaycebasques - can you take a look at this? And can you also check the images as well? There seem to be a lot of images that are significantly larger...

Any updates on this?


Implement skipping to a given key in BTI ValueIterator

Implemented as skipTo(key, admitPrefixes) which makes sure the next thing produced by getNextPayloadedNode is at (for ADMIT_EXACT) or after (for GREATER) the given key. This requires the iterator to be collecting bytes.
Also changed the admitPrefixes flag to offer three possibilities:

GREATER where exact left bound match is skipped (existing behaviour for admitPrefixes = false)
ADMIT_EXACT where exact left bound match is accepted (new)
ADMIT_PREFIXES where prefixes of the left bound are also accepted (existing for admitPrefixes = true)

Not implemented for reverse iteration, but copies over reverse iterator fixes from the OSS branch.

Added some code to use it.
I'm not sure if the call to nextAfter in V2VectorIndexSearcher.java is okay -- it would be if this is called for the keys in order and tests should fail if it is not.

... Ugh, I was looking at the wrong measurement.  I will follow up on the ticket.


People affected

To me the term "affected" is not clear. Are we referring to total or new connections? People connected or just People sound better.

This is a problem on both the summary charts on the right-side and when querying individual settlements - without know total populations, we cannot infer  much about these areas. Both need total population information included

This issue now seems to be a duplicate of https://github.com/developmentseed/gep-explorer/issues/134, closing.

As the issue #134 is not only regarding this label change, I'll keep this open for follow up independently.

The label was changed to the suggested terminology, I'll close this.
@bpstewar, I've created another issue to address baseline information (https://github.com/global-electrification-platform/explorer/issues/188).


Add gitleaks workflow

Description
The gitleaks Prow job was removed and needs to be replaced.
Changes proposed in this pull request:

Add gitleaks workflow

Related issue(s)

/kind enhancement


Fix too big environment variable paths in symLinkJoin

When there are too many crate dependencies the crates.io derivation will fail with:
while setting up the build environment: executing '/nix/store/rm1hz1lybxangc8sdl7xvzs5dcvigvf7-bash-4.4-p23/bin/bash': Argument list too long
builder for '/nix/store/pbbnw6y6zggqddy244ix5nyysamcgm0j-crates-io.drv' failed with exit code 1

This is caused by the paths environment variable of symlinkJoin exceeding the limit.
This is fixed by having our own version of symlinkJoin called symlinkJoinPassViaFile which passes paths via a file instead of via an environment variable.
I think this should be fixed in the upstream symlinkJoin so I'll provide a PR for that in nixpkgs. But until that lands we should have this fix here.

Also proposed this upstream: https://github.com/NixOS/nixpkgs/pull/80348


Can't retrieve arguments

I need to create a post-checkout hook to compare the old HEAD to the new one.
I've installed lefthook through brew install Arkweid/lefthook/lefthook (v0.7.2) and created this configuration:
post-checkout:
  commands:
    test:
        run: echo $1 $2 $3

I expect the positional arguments to contain the values provided by the hook:

The hook is given three parameters: the ref of the previous HEAD, the ref of the new HEAD (which may or may not have changed), and a flag indicating whether the checkout was a branch checkout (changing branches, flag=1) or a file checkout (retrieving a file from the index, flag=0).

However, when running lefthook run post-checkout val1 val2 val3, the output is empty.
I'm not sure if this is a bug or if I'm doing something wrong?

The positional arguments are only passed down to scripts aparently.
Take a look here https://github.com/Arkweid/lefthook/blob/master/docs/full_guide.md#bash-script-example


adds go and singularity for mwa_sles12sp4

Thanks for the comments.
I'll need to confirm what FS we're providing access to other than /pawsey and /astro.

following my comment above, I have commented this :
Marco - TO BE FIXED: need to locate interconnect libraries in MWA cluster
#MAALI_MODULE_SET_SINGULARITYENV_LD_LIBRARY_PATH='/usr/lib64:/pawsey/intel/19.0.5/compilers_and_libraries/linux/mpi/intel64/lib'
.. until we have the location of the interconnect libraries on the cluster.