text:
Need fix all gtest failure things.

Currently, we have 7 issues on SKL, we need to fix them.
CompatibleX11
CreateX11
Format_Change/0
Format_Change/1
ReadAsUnits
ReadAsWhole
guessResolutionOverflow

For the X11 based tests, we should allow those to be disabled/enabled at runtime since not all test environments will have an X server running (e.g. servers).  We could do that by prefixing the test names with DISABLED_ (i.e. gtest framework skips DISABLED_ prefixed tests by default, but can be enabled with command line)... or we can check an environment variable set by the user (e.g. YAMI_ENABLE_X11_TESTS=[0|1]).
The ReadAsUnits, ReadAsWhole and guessResolutionOverflow test cases are already fixed by #730... it just needs final review and merged.

Thanks for suggestion, we will look it.
after #730 merge.
We have 4 issue left
CompatibleX11
CreateX11
Format_Change/0
Format_Change/1

On SKL and BSW, we also have these failures in decode unittest:
Flush/3
Format_Change/3
...which aren't supported on these platforms and should be skipped at runtime.  This means we need a runtime support check feature.  Currently, those tests segfault on these platforms.

@uartie , it's still need more work to add run time check in yami. Let use add some check in gtest first. I will send a pull request this week.

with #754, all issue fixed

source: gharchive/issue

authors: uartie xuguangxin

license_type: permissive

license_source: bigquery


text:
we find XMM8-16 registers will be modified by MKL-DNN after mkldnn_excute()

only on win64 system. And the Intel manual says XMM 8-16 should be protected by callee

I think we have a fix for in c23f8c495a74da5c22c18f15f35bd88dc131c4c3. Can you please provide a testcase?

thanks @rsdubtso, i see the commit date is  13 Jul, i use the mkl lib from the parallel studio. maybe this commit is not merge into the lib which i used. i will try the latest release v0.10 first :).
if i have any question， i will ask you， thanks a lot

The mkl that comes with the studio is a separate product and is not API compatible. And it may have this bug depending on which version you use.

The issue does not affect Intel MKL-DNN, so I will close it on Github. In Intel MKL 2018 at least LRN implementation does not restore xmm8-16 on Windows, I created an internal defect to track this.

authors: a3213105 rsdubtso vpirogov

license_source: github-api


text:
Customizable Vertical FOV and Color Adjustments

Greetings!
First of all I'd like to thank you for creating such an awesome tool, SH3 is my favourite video game and playing it on pc with high resolutions and great performance is really nice. Thank you so much!
I've started using this cool wrapper some months ago, despite from the other tools I managed to get everything I needed thanks to the various customizable options inside the .ini file. I think this is what makes this tool the best out there.
Now, there are only two more settings that I would really appreciate. These are just ideas, but as I think they could be useful also for other players so I'm gonna post them here:

Customizable Vertical FOV : I read from an old post that vertical fov gets automatically set now, it works good enough but unfortunately I noticed that it is not 100% perfect... horizontal fov works really fine but I think that the vertical one is missing some degrees and in my case I can't get the perfect 16:9 fov combination on a full-hd resolution.
Besides, I think that customizable vertical fov could be useful to set the perfect fov in each situation, another issue that I think it could be fixed by adding a customizable vertical fov is that at the moment it is possible to see "unwanted stuff" in the cutsscenes (an example, the beginning of the cutscene in which Heather walks away from happy burger you can actually see her suddenly getting stopped after passing the street lamp (when her animation ends she gets stuck), which is something that you are not supposed to see.
Colors Management : in my opinion, in SH3 it is really important to get the perfect colors and in my case I'm experiencing some problems just because I have an optimus laptop and I can't properly set saturation and contrast from my nvidia card panel (as you know, in optimus laptops you can only configure 3d settings in nvidia panel).
I would be really happy if it could be possible to configure colors saturation and contrast inside the .ini file, other d3d8 wrappers like dgvoodoo does have this kind of settings and I think that it would be awesome to have this configurations inside the .ini file, in this way everyone could get the perfect colors in each different situation (for me, SH3 looks even better when the colors are a bit too saturated).

What do you think about implementing this two new features?
Please let me know your opinion and ideas.
Again, thank you so much for your work and attention.

Hi,

horizontal fov works really fine but I think that the vertical one is missing some degrees and in my case I can't get the perfect 16:9 fov combination on a full-hd resolution.

Yes, the vertical FOV might be off by a few degrees. The main reason is that the coefficients I am patching in game do not directly go to the projection matrix, but rather are used as an input to a function that performs some arithmetics with them first. Unfortunately, I was not able to understand the logic behind these calculations, and while I managed to derive a formula for horizontal FOV based on the observed values, I'm still not certain about vertical FOV. The obvious solution would be to patch the projection matrix directly, but then the transformation is happening too late, and light sources are located at a wrong angle to the camera. So while it is possible to pass an arbitrary vertical FOV to the game, unless a proper formula is used, the resulting angle will still be wrong.

Colors Management

So what happens when you try to adjust colour coefficients in game?

Maybe you already checked it, but if this can help you I noticed that the Widescreen Fix by Aero always finds the correct horizontal and vertical fov formula.

Widescreen Fix uses a different method of tweaking FOV. Furthermore, it just passes correct width to height rate to the engine, and lets it figure out both angles on their own. This works fine, but does not let user tweak the angle at all.

My issue is that there's no option for colors saturation/chroma

This is a bit out of sh3proxy scope, and it would require me to hook the drawing routines of the game to access the pixel buffer. Since there are existing solutions for applying these effects, I suggest you instead patch sh3.exe PE header (e.g. using LordPE) to load sh3proxy dll (you can rename d3d8.dll to e.g. sh3proxy.dll). Then you can use any d3d8 wrapper you like, as sh3proxy itself does not actually touch Direct3D calls, so it should be compatible with these wrappers.

Widescreen Fix uses a different method of tweaking FOV. Furthermore, it just passes correct width to height rate to the engine, and lets it figure out both angles on their own. This works fine, but does not let user tweak the angle at all.

Everything clear, thank you.
I got curious and decided to make some tests in the last hours, fortunately I managed to make a really simple app that will help me get the correct 16:9 aspect that I needed. Just made some tests and everything seems perfect, all right then :)

I suggest you instead patch sh3.exe PE header (e.g. using LordPE) to load sh3proxy dll (you can rename d3d8.dll to e.g. sh3proxy.dll). Then you can use any d3d8 wrapper you like.

Thanks for the advice.
Yes I already tried to make sh3.exe load a renamed d3d8.dll and then tried adding dgvoodoo to manage the saturation, but unfortunately it seems that dgvoodoo wrapper always adds some default configuration which mess up sh3 graphics and fps.... also made some tests with SweetFX and others but I got no luck...
I'll see if I can find some other ways to do this, nothing really important it was just to improve the gaming experience.

Yes I already tried to make sh3.exe load a renamed d3d8.dll and then tried adding dgvoodoo to manage the saturation, but unfortunately it seems that dgvoodoo wrapper always adds some default configuration which mess up sh3 graphics and fps.... also made some tests with SweetFX and others but I got no luck...

Does the problem occur even if sh3proxy is disabled? If it does, then the issue is really out of sh3proxy scope.

Does the problem occur even if sh3proxy is disabled? If it does, then the issue is really out of sh3proxy scope.

Yes you're right, sh3proxy works absolutely great. The problem is dgvoodoo that just seems not to work fine with sh3.
Just closed this issue a few hours ago, thanks for clarifying my doubts.


text:
🛑 SRD is down

In 2ce0e62, SRD (https://srd.unej.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SRD is back up in e9f8f30 after 28 minutes.

license: MIT


text:
🛑 Lavoro is down

In dba4a86, Lavoro (https://lavoro.unej.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Lavoro is back up in 4827ec3 after 1 hour, 39 minutes.


text:
🛑 LMS PPG is down

In 641086b, LMS PPG (https://lmsppg.unej.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: LMS PPG is back up in 00b34e0 after 25 days, 4 hours, 24 minutes.


text:
i18n: Language can only be changed once

Repro

Click language dropdown
Change language
Attempt to change language again
Stuck on first language change

Works on my side

I fixed in #144.

authors: ctjlewis moritzebeling


text:
Build reasonable testing for the playground

At the moment, the playground is tested poorly. We need to test the Typescript Frontend and the WASM backend.
The correctness of the examples will be tested in a separate issue. #56

[x] Test the frontend using https://reactjs.org/docs/testing.html
[x] Test the WASM part using unit tests and one integration test

Closed by #66


text:
Add end-to-end testing workflow

In this PR I add end-to-end tests for the Miden node.
closes: #222

Should we merge this?

Should we merge this?

I just want to go over, cleanup and should be ready for review & merge.

Thank you! Looks great! I did a very quick review and left a couple of nits/questions inline. I defer a more detailed review to @Dominik1999 or @hackaugusto.
One note for the future: these end-to-end tests will work only when node and client versions are in sync. But we won't be able to use them when the node has some breaking changes which haven't been propagated to the client yet. To address this, we'll need to create a separate "test runner" which will not rely on miden-client. Let's create an issue for this.

Created here: https://github.com/0xPolygonMiden/miden-node/issues/291

This PR does not encompass what we need for end-to-end testing on the Miden node. Some of these tests are already covered by the Miden client. We will implement more robust end-to-end testing when the Miden node and general Miden crates are ready.

source: gharchive/pull-request


text:
fixed  the Hello World bug

I tried to fix #6 by disabling the slideIn and slideOut animations in the main.js

Unfortunately, the PR does not fix Issue #6 .
Let me explain to you about the issue;
1- when you will open the template you find that there is no header (We want Hello world here).
2- when you will switch to other tabs you will find the name and tags in place of header.
3 - when you will switch back to about me you will find Hello world at the header.
So, we want that 'Hello world' coming at 3rd step should come also at 1st step. I mean Hello world should appear whenever you will open the template.
Hope you are Clear

It's not a Bug, It's an undocumented feature. :D


text:
Created rpc module in types + Result renamed to DevnetResult

Usage related changes

#136 #134
Development related changes
Created rpc module in types + Result renamed to DevnetResult

Checklist:

[x] Applied formatting - ./scripts/format.sh
[x] No linter errors - ./scripts/clippy_check.sh
[x] Performed code self-review
[x] Rebased to the last commit of the target branch (or merged it into my branch)
[ ] Documented the changes
[x] Linked the issues which this PR resolves
[x] Updated the tests
[x] All tests are passing - cargo test

just resolve conflicts

authors: mikiw taco-paco


text:
🛑 Website is down

In 2f53c2c, Website (http://scathach.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in 6da48ab.


text:
What determines XDebug's path?

I notices my installation couldn't find xdebug, and seeing at #86 it's happened before, but I seem to have an older version, is this based on what's on my computer?

@emeaguiar the path is automatically chosen by pecl when xdebug is installed. Afaik, the timestamp identifies which PHP build is being used. We can't change this on our images, but I've created a workaround so we don't need to keep updating that reference to work with it.

Closing. Fixed in https://github.com/10up/wp-local-docker-images/pull/9 and #111

authors: cmmarslender emeaguiar moraleida


text:
Add Kata Biás website, #77

Signed-off-by: Istvan Csaki steven.csaki@gmail.com

Thanks!

authors: csakiistvan zachleat


text:
Tapable.plugin is deprecated

WebpackShellPlugin is causing a warning with Webpack 4. When I run node --trace-deprecation ./node_modules/.bin/webpackI get this:
(node:83992) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
    at WebpackShellPlugin.apply (/projectDir/node_modules/webpack-shell-plugin/lib/index.js:236:16)

I would have submitted a PR, but looks like I can't build the project without errors and it doesn't pass linting. In addition, there hasn't been much activity in a year so in case someone else is encountering the same issue, you can fix it locally.
Just replace all compiler.plugin('hookName', ...) calls with compiler.hook.[hookName].tap or compiler.hook.[hookName].tapAsync if it's asynchronous and gets a callback as an argument.

Yes, it happens coz of changes in Webpack 4 plugin API.

How to fix?

This should work, in src/webpack-shell-plugin.js

@tlaak
Thanks!

@iSynth you can also try patching it with https://github.com/ds300/patch-package/ while waiting for a proper fix

I fixed this by ditching the plugin and using the new Webpack Plugin API directly from my webpack config:
const exec = require('child_process').exec;
module.exports = {

  // ... other config here ...

  plugins: [

    // ... other plugins here ...

    {
      apply: (compiler) => {
        compiler.hooks.afterEmit.tap('AfterEmitPlugin', (compilation) => {
          exec('<path to your post-build script here>', (err, stdout, stderr) => {
            if (stdout) process.stdout.write(stdout);
            if (stderr) process.stderr.write(stderr);
          });
        });
      }
    }
  ]
};

@tlaak if you fixed it, why not submit a PR? :-)

I was planning to do it, but when I forked the repo, I noticed that it doesn't build without errors etc.
If this repo hasn't had any activity during the last year, I'd say the chances of it getting approved are quite slim.

@tlaak alright, thanks for the reply - went with the solution by @jchook which worked 👍

yarn add https://github.com/cdeutsch/webpack-shell-plugin.git#81d285e

compiler.hook.[hookName]

FYI Should be compiler.hooks.[hookName] for anyone copy & pasting

instred of usinf WebpackShellPlugin you can use hooks
const exec = require('child_process').exec;
module.exports = {
// ... other config here ...
plugins: [
// ... other plugins here ...

{
  apply: (compiler) => {
    compiler.hooks.afterEmit.tap('AfterEmitPlugin', (compilation) => {
      exec('<path to your post-build script here>', (err, stdout, stderr) => {
        if (stdout) process.stdout.write(stdout);
        if (stderr) process.stderr.write(stderr);
      });
    });
  }
}

]
};

I've tried the above solution anyone had any difficulty calling nodemon even on a simple script that just calls console. When I do this it just hangs, I try running all the NODE_DEBUG flags and it's like it never gets to even starts looking for modules to execute.
I've tried this from within:
exec('nodemon dist/index.js', () => {});

I even created a bash script to launch it:
exec('./scripts/nodemon.sh', () => {});

If I use just node to launch the script, it's fine but nodemon it just hangs. Even more weirdly, if I again use node with a more complex script (this is TypeScript but is compiled to JS before it runs):
import express from 'express';
import { Request, Response } from 'express';

const app = express();

const { port = 3000 } = process.env;
app.get('/', (req: Request, res: Response) => {
  res.send('hello world');
});

// app.listen(port, () => {
//   console.log(`server started on ${port}`);
// });

It will work until I remove the comments to start the actual server then it just hangs again.
Tried this on multiple node versions, same issue, any ideas?

@thearegee you should not call long-running processes like nodemon or app.listen() via webpack hooks. If you must, perhaps add & to the end of the command to send it to the background, e.g.
exec('nodemon dist/index.js &', () => {});
Quoting the bash manual:

If  a  command is terminated by the control operator &, the shell executes the command in the background in a subshell.  The shell does not wait for the command  to  finish,  and  the return status is 0.  Commands separated by a ; are executed sequentially; the shell waits for each command to terminate in  turn. The return status is the exit status of the last command executed.

@jchook but is that not the point of webpack-shell-plugin?
Giving an example, you want to run webpack on your dev server, then when you make a code change to a file, you want to not only be able to trigger webpack transpiling of your files but also a restart of the server so you can see the changes.
However I can understand what you are saying, but the other issue was, if we ignore this part about nodemon. If you run a node script to start a webserver using express as soon as you add this snipit:
app.listen(port, () => {
   console.log(`server started on ${port}`);
 });

It just hangs and never starts

@thearegee no. For that case, use webpack-dev-server, which supports hotloading changes, etc. Usually I think folks run this on their local dev machine or VM.
webpack-shell-plugin lets you run helper scripts during your build process (for example, if you want a notification every time a build fails or succeeds, or if you want external tools to run during your build). It does not work well as a daemon or server process manager.
If you want to automatically update servers in a remote environment such as staging or production, look into CI/CD (continuous integration / continuous delivery) tools or platforms. You have a lot of options there. Personally I enjoyed using Semaphore CI and GitLab (both have a free tier). You can also roll you own CI with tools like dsh, rsync and xargs.

It just hangs and never starts

I would bet you $10 that it did start. Have you checked to see whether it listened on port?

@jchook it would be hard for me to cash that in but yeah, I would look to see what process would be listening to that port and not see anything ¯_(ツ)_/¯
CI/CD pipelines are not a concern for this project at the moment but thanks for the suggestion.
I will have a play with webpack-dev-server and see if that solves my problem. I was just looking at how people had used webpack-shell-plugin and I saw lots of uses with nodemon and as hooks was suggested as a replacement for the deprecated Tapable.plugin I tried to do the same thing. Guess that was the wrong approach.
When I come up with a solution I will post it here and might help people who have had same issue.
Thank you

Will there be a release that would fix this soon?

Seeing as it is stop not fixed and last response almost a year ago, I wouldn’t think a fix is imminent. I did have the same issue with one of my webpack plugins which I fixed over two years ago.  In fact, I recall that I also fixed it in this plugin but only locally?  I could fork and fix this one as I am not sure the maintainer of this plugin is fixing issues

Last commits were over 3 years ago so I'd consider this repo very much abandoned.

I found this that seems to be recently updated. https://github.com/s00d/webpack-shell-plugin-next

Looks viable to me.  I would just go with that version and call it a day. I have looked back on my edits and I did in fact just edit the source locally for the projects I am using.

authors: 6etacat cdeutsch dev-esakki iSynth jchook mikeerickson mindplay-dk rvillanueva thearegee thetutlage tlaak

license: mit


text:
Make a make file

I had been using go build: env GOOS=windows GOARCH=amd64 go build $GOPATH/src/github.com/1dustindavis/gorilla/cmd/gorilla
Recently started using ago to make a package in a "clean" environment: xgo --targets=windows/amd64 $GOPATH/src/github.com/1dustindavis/gorilla/cmd/gorilla

Resolved with #22


text:
ResponseInterface should implement \ArrayAccess

Bug Report

Q
A

BC Break
no

Version
3.0

Summary

According to the documentation, you can process uploaded files using custom logic and pass update the Response using array access to pass extra data through:
// ...

class UploadListener
{
    // ...

    public function onUpload(PostPersistEvent $event)
    {
        //...

        //if everything went fine
        $response = $event->getResponse();
        $response['success'] = true;
        return $response;
    }
}

The issue here is:

$event->getResponse() returns ResponseInterface
ResponseInterface does not implement \ArrayAccess
So at "compile time" (eg. static analysis with phpstan/psalm/your IDE), we receive an error with this approach.
It works at runtime, but only because all implementations of ResponseInterface extend AbstractResponse, which implements \ArrayAccess

How to reproduce

Create an UploadListener as described in the documentation
Use some form of static analysis, eg. psalm, phpstan, or you IDE of choice.
Notice the reported error

PhpStan:

Psalm:

PhpStorm with EA Extended plugin:

Suggested fix
Move the implements \ArrayAccess declaration from AbstractResponse to ResponseInterface.
Happy to send through a PR for this, just want to validate that there isn't something I'm missing.

Hey @ndench
Thanks for the issue! Seems totally legit and reasonable to me.
IMHO is altering an interface a BC break though, isn't it?

@bytehead that's a good point about BC. We should be able to use @implements in phpdoc to be compatible. Then switch it to a proper implements in the next major version.

Unfortunately, @implements and @extends didn't work. But I have created a PR for the next major version.

Closing this in favor of #392 and #391.

authors: bytehead ndench


text:
register buttons hover

will add a hover effect to the buttons of register form
please assign it to me

/assign

can I add hover effect to buttons?

I have already added it and added made a pr for it

can I add hover effect to buttons?

Stop commenting on each and every issue, which is already assigned. @4bhishek10  It's on FCFS basis


text:
OSX 10.12 + UE 4.18 - "SpawnActor failed because no class was specified"

We have a setup with a pawn in the default scene. This pawn is of type "UnrealEnginePython.PyPawn". This actor / pawn has a python module in the Scripts directory inside a file called foo.py with class name MyPawn.
However, when playing the scene - I get the error "SpawnActor failed because no class was specified" which is an error thrown by UnrealEngine proper (LevelActor.cpp : AActor* UWorld::SpawnActor(...)). The only place where the UEPy plugin invokes the level actor spawn is in UEPyActor.cpp which seems to call world->SpawnActor(...) where it passes the (UClass *) of the py_obj->ue_object which apparently is NULL.
What would cause this to happen? The strangest thing is that this does not occur with the exact same build on my linux ubuntu dev box also running 4.18 and the same version of the UnrealEnginePython plugin. Any ideas?

This only seems to happen on my OSX 10.12 laptop, on my home machine running OSX 10.12, things are fine! The rather strange thing, is that I have a custom HUD which MyPawn spawns using:
hud = self.uobject.actor_spawn(PyHUD, PythonModule="components.my_hud", PythonClass="MyHUD")

Any my HUD spawns correctly, but the Pawn's tick / interface functions are never called.

This might or might be a benign side effect of something else. I will later instrument the plugin and figure out a call-stack of why this is going on. For the time being, I am noticing that calls to "print" do not flush to the ue python console, but calls to ue.log show up as expected.


text:
Redirect to dashboard when no referer is set

#1029

Wonderful, thanks @krishandley!

authors: andrew krishandley


text:
API now accessible only from localhost

api now only accessible on localhost:8080/** means that it accessible only from programm running server

Gj

Great.👍


text:
不启用分布式事务时控制台日志待优化

因不启用分布式事务时没有实际的应用名，导致日志显示【】空扩符，不太友好。

v1.3.1 处理了


text:
Ethernet cable in guide not clear

The ethernet cable in the guide for anyone without sensor box does display a cross cable.
But must it be cross, or just a normal cable?

Hi @ChemicalNRG
Sorry, I wanted to update the cabling section of guide for a while but was quite busy lately.
No, it does not have to be a cross-over cable, it was just the first decent image of an T-568 B wiring I could find. I used this rhinocables patch cable, cut it in half and then connected one half and a power connector to the M12 connector. The pin-out of the sensor-side can be found here. You have to make the mirrored image of it resulting in the pin-out below:

Pin number
Wire
Signal

1
Ethernet T-568B green
Ethernet RX-

2
Ethernet T-568B light-green
Ethernet RX+

3
Ethernet T-568B orange
Ethernet TX-

4
Ethernet T-568B light-orange
Ethernet TX+

5
-
-

6
-
-

7
Power cable white
+12V

8
Power cable black
Ground

Here is a picture of what the final result looks like:

Let me know if that answers your question!

Thank you for the feedback. I will try to improve the sections that you have pointed out over the course of the following weekend.
If you follow my guide you will not have GPS time sync. That would be using pins 5 and 6 which I am not wiring in my guide but in case you need them it should be quite straight forward to wire them in: GPS_RXD_CNT should go to pin 5 while GPS_PULSE_CNT to pin 6 according to the schematics in the manual (The way they number the pins and colour code them is sadly a bit confusing ) while you will have to provide the sensor with 5V and ground. The sensor itself has neither over-voltage nor reverse voltage protection as stated here. From what I understand you have to provide 12V DC as the power regulation is only done by the interface box. So if you need GPS sync or you can't provide a steady 12V DC voltage, either buy the interface box or make your own one starting from the schematics in the manual. Clearly when running this in production I would always add at least a regulator to it but I guess most people using this guide are just like me and are playing around with these sensors in their free time as they are fairly cheap on Ebay at the moment.
That cable looks indeed better than mine!

I have looked extensively into the M12 female connector. It seems like there are two reputable brands that carry an array of those products: TE Connectivity and Pheonix Contact. I'd recommend purchasing this specific connector for its relatively low price and its high build quality.
There are many methods to purchase high-quality products at low costs, but, unfortunately, procurement at AliExpress has been a disappointing experience. The site itself is unorderly, the shipping takes weeks, and the quality of products is unpredictable at best, and shockingly low at worst.
All that said, I can vouch for the wiring diagram.


text:
Move each hub to it's own nodegroup(s) on Openscapes

fixes #4482

Thanks @GeorgianaElena


text:
Ref #97: Replace built-in shadowed str with input_string

Description
Addresses #97
This isn't a full fix for issue 97, but a first stab at it. The issue has more details, but the quick synopsis is that several of the string examples were shadowing the Python built-in function str. That being said, it is also related to Pull Request #127 where just a couple days ago one of the snippets was re-written this way.
What does your PR belong to?

[ ] Website
[x] Snippets
[ ] General / Things regarding the repository (like CI Integration)

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (non-breaking improvement of a snippet)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have checked that the changes are working properly
[x] I have checked that there isn't any PR doing the same
[x] I have read the CONTRIBUTING document.

Hopefully that looks better than input_string!


text:
ProtectSheet's parameter FormatSheetProtection will not take effect

Description

Steps to reproduce the issue:

lock some cell
protect the sheet with or without *FormatSheetProtection pointer
no matter what kind of FormatSheetProtection, the locked cell cannot be selected anyway.

Describe the results you received:
the locked cell cannot be selected
Describe the results you expected:
act as FormatSheetProtection settings
Output of go version:
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/yubohe 1/Library/Caches/go-build"
GOENV="/Users/yubohe 1/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/yubohe 1/go"
GOPRIVATE=""
GOPROXY="direct"
GOROOT="/usr/local/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/y4/z855mpsx2bqb5n091wrg0zh00000gq/T/go-build257732728=/tmp/go-build -gno-record-gcc-switches -fno-common"```

**Excelize version or commit ID:**

```text
v2.3.1

Environment details (OS, Microsoft Excel™ version, physical, etc.):

You can protect the sheet and deny users to select locked cells like this:
package main

import (
	"fmt"

	"github.com/360EntSecGroup-Skylar/excelize/v2"
)

func main() {
	f := excelize.NewFile()
	if err := f.ProtectSheet("Sheet1", &excelize.FormatSheetProtection{
		EditScenarios:     false,
		SelectLockedCells: true,
	}); err != nil {
		fmt.Println(err)
		return
	}
	if err := f.SaveAs("Book1.xlsx"); err != nil {
		fmt.Println(err)
	}
}

also reference the Protect Sheet section in the document.

authors: hybnew xuri


text:
[FEATURE] Nuker slient switch and speed mine not blocking

i know shulker is used to break, but it's a nice module when playing pvp, but when eating gap, it takes a pickaxe in his hand and breaks it.
and speed mine invalidates it, picks up a pickaxe and breaks it just slient switch doesn't break it somehow

If I am not lazy, I will enter the game and post a video.


text:
Use partial indexes for property value columns

This PR proposes to use partial indexes on all val_* columns of the property table.
At the moment, the initial import of a dataset takes on average 2X longer if all indexes are enabled, compared to when the indexes have been dropped before importing using the citydb-tool. Note that the citydb-tool does not drop all indexes in the database but focuses on the spatial indexes, the indexes on the val_* columns of the property table and on some columns of the feature table.
Especially the  val_* columns of the property table are sparsely populated and typically contain a lof ot NULL values. The idea of this PR is therefore to exclude NULL values from the index. This keeps the index much smaller and updating the index becomes much faster. PostgreSQL supports partial indexes by simply adding a condition, for example:
CREATE INDEX property_val_int_inx ON property  ( val_int ) WHERE val_int IS NOT NULL;

With partial indexes, the initial import only takes ~1.2X times longer with all indexes enabled in my tests. I think this looks like a good compromise because users don't have to be careful whether or not to drop indexes before an import (and users often forget to drop indexes or, even worse, to re-create them afterwards...).
The impact of using partial indexes is, of course, that a query checking for NULL values like select * from property where val_int is null would not be able to use the index and thus require a full table scan. But my feeling is that most all-day queries are tests against specific values (e.g., = 5, < 20, >= 100). And if there are really tests for NULL values, typical queries would at least involve the attribute name, eg. select * from property where name='myAttribute' and val_int is null. And such queries would benefit from the index on the name value.
I would like to initiate a discussion whether we should switch to partial indexes for the val_* columns. @thomashkolbe, @yaozhihang, your input and tests are highly welcome. In my tests, I used the untextured Berlin dataset (~550k buildings) on a local computer. I always compared the intial import times. I expect subsequent imports to get slower over time because the index grows. But this is also true for full indexes, of course.
Here are the setup scripts with partial indexes for your convenience:
3dcitydb-5.0.0-partial-indexes.zip. After setting up a 3DCityDB with these scripts, use version 0.9.0-beta of the citydb-tool for testing.

Thanks for testing. Yes, the predicate used in this PR is always column is not null. This means that all queries checking column for non-null values should benefit from the index. Only a query for column is null could not use the index. You can test and confirmn this using explain analyze. Have you tried this?
As written above, I think it shouldn't be a big issue that a query for column is null cannot use the index because in most cases the query will also contain additional predicates on the name and namespace columns - and those columns still have full indexes.

@clausnagel, your suggestion makes pretty much sense to me. Unfortunately, I currently cannot test it by myself. I can only sit in front of a computer for 30mins or so before my shoulder starts aching and typing takes 3 times more time than normal (I can only type with my left hand, which is my weaker one).

Thanks for your feedback @thomashkolbe. We are not in a hurry with this PR, so there is enough time for testing. If we would agree that partial indexes make sense, I would also add an option to the citydb-tool so that users would still be able to create full indexes if they want.

In the meantime I was able to run a larger number of tests with the 3dcitydb V5 including the proposed PR and I can confirm that it allows to import even very large city models without much time difference compared to have indexing disabled. The largest CityGML dataset I tried was entire state of Bavaria with 9.7 million buildings in LOD2 leading to a FEATURE table with 109 million tuples, a PROPERTY table with >900 million tuples, and a GEOMETRY table with > 100 million tuples. I have also tried Hamburg LOD3, Munich LOD2, New York City LOD2, Tokyo LODs 0-2. All of them are working well - and in general perform significantly better than with the old 3dcitydb V4 schema.
From my perspective, the PR should be merged.

Implemented with a9010157083f86c6eb233cb4f68f6ca253800749 to avoid merge conflicts.

authors: clausnagel thomashkolbe


text:
Add scripts for migrating v2 or v3 to v4

This PR adds an extra folder MIGRATION in the SQLScripts directory which contains scripts to migrate a 3DCityDB of v2 or v3 to v4. MIGRATE_DB.sql is the essential file that start the migration. I've added shell scripts that prompt for the version number in order to switch to the V2_to_V4 or V3_to_V4 folder.
The V2_to_V4 migration scripts are mostly based on previous work for v3 + the changes for v4. The file names have slightly changed, but the general idea is the same: In Postgres the db content is copied from the public to the citydb schema (Pg9.3+). In Oracle a v4 user selects and inserts data from a v2 user.
The V3_to_V4 migration is a lot simpler. Some tables need to be altered (objectclass_id column), NULL constraints need to be added and removed, delete rules need to be changed for some foreign keys (mostly for one side in n:m tables) and some indexes are dropped (objectclass_id, 2nd column in n:m table primary key).

looks good. let's merge it.

Nice work 😀

authors: FxKu clausnagel yaozhihang


text:
nauthorized: access to the requested docker:ci

I am trying to setup 3Scale API Management portal on my local machine. When I tried to build the docker image from the following source :
https://github.com/3scale/porta
Looks like docker:ci-2.3.1-3 image needs credentials.
I got below error:
/Library/Developer/CommandLineTools/usr/bin/make test-run tmp-export --keep-going
/Users/vermap/hackathon/porta/.bin/docker-compose up --remove-orphans -d cache || /Library/Developer/CommandLineTools/usr/bin/make clean-cache cache
Building cache
Step 1/16 : FROM quay.io/3scale/docker:ci-2.3.1-3
ERROR: Service 'cache' failed to build: unauthorized: access to the requested resource is not authorized
/Library/Developer/CommandLineTools/usr/bin/make clean

Hi @sarikav1986,
The issue is already reported here https://issues.jboss.org/browse/THREESCALE-2609. You can monitor the progress by subscribing to the updates.


text:
[milestone] Account data storage

Every single data needs to be stored on a MySQL type DBMS. This should be a milestone for 3.0 final.

Both should be supported but easily changed from GTWcore/data/settings.xml. Good point otherwise

MySQL is now fully functional, as of v4.0-beta even account data will be stored in the connected MySQL database


text:
Login fails when using gitlab-mattermost that requires SSO via gitlab

Hey Wim,
In our setup we have a self-hosted gitlab, which has an integrated mattermost setup.
See:

http://doc.gitlab.com/omnibus/gitlab-mattermost/
https://gitlab.com/gitlab-org/gitlab-mattermost

When logging in to mattermost via the browser, you get the option to use gitlab as authentication source (which we enforce as only option, because we use AD in the background for our users).

After clicking the button, if you are not already logged in to gitlab, an extra window opens and lets you enter your credentials. After authenticating, you get logged in into mattermost.
matterbridge-plus fails here because it doesn't know about this authentication mechanism:
$ ./matterbridge-plus -conf="matterbridge-plus.conf"
2016/01/27 19:27:03 retrying login <teamname> <email> mattermost.localdomain.local
2016/01/27 19:27:03 can not connectPlease sign in using gitlab

Would it be possible to add support for this SSO mechanism? I'm not at home in this kind of web programming.
It would be nice to make the bridge between our externally available irc server and our internal mattermost machine.
It works very well with the normal matterbridge setup using webhooks, but having it working like this seemed a bit cleaner and more straightforward than configuring the webhooks on a user.
I'd be happy to help in providing further info and testing if needed.
Thanks in advance!

Yes, this would be nice but it's not possible at the moment. See also https://github.com/42wim/matterircd/issues/29
I'll close this ticket now, when it gets into matterircd, matterbridge-plus will also get it.

this is still broken. any news?

@andynd It's nothing that I can fix (I think) see https://github.com/mattermost/platform/pull/1938 and 42wim/matterircd#29
Note that matterbridge-plus is deprecated, you should move to https://github.com/42wim/matterbridge

authors: 42wim andynd daysofwineandroses


text:
Bridge between multiple rocketchat servers only receives messages from the first one

Describe the bug
When configuring multiple rocketchat servers, only the first one added to a gateways inout section is able to receive messages. All can send messages but only the frist can receive them.
To Reproduce

Use the following config:

[rocketchat]
[rocketchat.a]
Server="https://<domain A>:443"
Nick="<nick>"
Login="<user>"
Password="<password>"
PrefixMessagesWithNick=false
RemoteNickFormat="[{PROTOCOL} {LABEL}] {NICK}"
Label="a"

[rocketchat.b]
Server="https://<domain B>:443"
Nick="<nick>"
Login="<user>"
Password="<password>"
PrefixMessagesWithNick=false
RemoteNickFormat="[{PROTOCOL} {LABEL}] {NICK}"
Label="b"

[[gateway]]
name="test-gateway"
enable=true
[[gateway.inout]]
account="rocketchat.a"
channel="#test1"
[[gateway.inout]]
account="rocketchat.b"
channel="#test1"

write something on rocketchat b in the channel #test1

Expected behavior
I see the message on rocketchat a in channel #test1
Screenshots/debug logs
No Logs or anything is produced for writing in rocketchat b after startup, even with -debug.
Startup looks like that:
Dec 03 14:35:24 misc-01 systemd[1]: Started Matterbridge bridge.
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=info msg="Enabling debug logging." func=setupLogger file="matterbridge.go:104" prefix=main
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=info msg="Running version 1.23.2 73ec02ab" func=main file="matterbridge.go:44" prefix=main
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=debug msg="enabling rocketchat" func=New file="bridge/rocketchat/rocketchat.go:49" prefix=rocketchat
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=debug msg="enabling rocketchat" func=New file="bridge/rocketchat/rocketchat.go:49" prefix=rocketchat
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=info msg="Parsing gateway test-gateway" func=Start file="gateway/router.go:66" prefix=router
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=info msg="Starting bridge: rocketchat.a " func=Start file="gateway/router.go:75" prefix=router
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=info msg="Connecting using login/password (sending and receiving)" func=Connect file="bridge/rocketchat/rocketchat.go:73" prefix=rocketchat
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=debug msg="handling apiLogin()" func=apiLogin file="bridge/rocketchat/helpers.go:59" prefix=rocketchat
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=info msg="Connection succeeded" func=apiLogin file="bridge/rocketchat/helpers.go:84" prefix=rocketchat
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=info msg="rocketchat.a: joining #test1 (ID: #test1rocketchat.a)" func=joinChannels file="bridge/bridge.go:77" prefix=rocketchat
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=debug msg="Choosing login/password based receiving" func=handleRocket file="bridge/rocketchat/handlers.go:17" prefix=rocketchat
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=info msg="Starting bridge: rocketchat.b " func=Start file="gateway/router.go:75" prefix=router
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=info msg="Connecting using login/password (sending and receiving)" func=Connect file="bridge/rocketchat/rocketchat.go:73" prefix=rocketchat
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=debug msg="handling apiLogin()" func=apiLogin file="bridge/rocketchat/helpers.go:59" prefix=rocketchat
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=info msg="Connection succeeded" func=apiLogin file="bridge/rocketchat/helpers.go:84" prefix=rocketchat
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=info msg="rocketchat.b: joining #test1 (ID: #test1rocketchat.b)" func=joinChannels file="bridge/bridge.go:77" prefix=rocketchat
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=debug msg="Choosing login/password based receiving" func=handleRocket file="bridge/rocketchat/handlers.go:17" prefix=rocketchat
Dec 03 14:35:24 misc-01 matterbridge[86704]: time="2021-12-03T14:35:24Z" level=info msg="Gateway(s) started succesfully. Now relaying messages" func=main file="matterbridge.go:68" prefix=main

Environment (please complete the following information):

OS: Debian Bullseye
Matterbridge version: version: 1.23.2 73ec02ab

Additional context

This also happens if samechannelgateway is used instead:
[[samechannelgateway]]
name="samechannel1"
enable = true
accounts = [ "rocketchat.a","rocketchat.b" ]
channels = [ "#test1"]

I just tested switching the rocketchat server b to using webhooks for send and receive.
This seems to work and results in the following log output:
Dec 03 15:34:24 misc-01 systemd[1]: Started Matterbridge bridge.
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=info msg="Enabling debug logging." func=setupLogger file="matterbridge.go:104" prefix=main
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=info msg="Running version 1.23.2 73ec02ab" func=main file="matterbridge.go:44" prefix=main
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=debug msg="enabling rocketchat" func=New file="bridge/rocketchat/rocketchat.go:49" prefix=rocketchat
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=debug msg="enabling rocketchat" func=New file="bridge/rocketchat/rocketchat.go:49" prefix=rocketchat
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=info msg="Parsing gateway test-gateway1" func=Start file="gateway/router.go:66" prefix=router
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=info msg="Starting bridge: rocketchat.b " func=Start file="gateway/router.go:75" prefix=router
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=info msg="Connecting using webhookurl (sending) and webhookbindaddress (receiving)" func=doConnectWebhookBind file="bridge/rocketchat/helpers.go:25" prefix=rocketchat
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=info msg="rocketchat.b: joining #test1 (ID: #test1rocketchat.b)" func=joinChannels file="bridge/bridge.go:77" prefix=rocketchat
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=info msg="Starting bridge: rocketchat.a " func=Start file="gateway/router.go:75" prefix=router
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=info msg="Connecting using login/password (sending and receiving)" func=Connect file="bridge/rocketchat/rocketchat.go:73" prefix=rocketchat
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=debug msg="handling apiLogin()" func=apiLogin file="bridge/rocketchat/helpers.go:59" prefix=rocketchat
Dec 03 15:34:24 misc-01 matterbridge[87036]: 2021/12/03 15:34:24 Listening on http://0.0.0.0:19999...
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=debug msg="Choosing webhooks based receiving" func=handleRocket file="bridge/rocketchat/handlers.go:14" prefix=rocketchat
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=info msg="Connection succeeded" func=apiLogin file="bridge/rocketchat/helpers.go:84" prefix=rocketchat
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=info msg="rocketchat.a: joining #test1 (ID: #test1rocketchat.a)" func=joinChannels file="bridge/bridge.go:77" prefix=rocketchat
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=debug msg="Choosing login/password based receiving" func=handleRocket file="bridge/rocketchat/handlers.go:17" prefix=rocketchat
Dec 03 15:34:24 misc-01 matterbridge[87036]: time="2021-12-03T15:34:24Z" level=info msg="Gateway(s) started succesfully. Now relaying messages" func=main file="matterbridge.go:68" prefix=main

So you can use webhooks for one of the servers as a workaround.

I think I found the root cause:
https://github.com/42wim/matterbridge/blob/80d303345669d96b40de1d4998ec9928cb67b27d/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/messages.go#L20
The Rocket.chat client has this global bool flag that checks if the subscriber has already been added. The problem is that two different clients will of course use the same bool flag and the second client also uses the same bool flag and will therefore not add a subscriber, and doesn't get notified of any messages.
I would like to provide a fix, but I don't know where exactly - the original rocketchat repo, the forked one in matterbridge/Rocket.Chat.Go.SDK or the vendored code? All these three places seem to have different code from each other.

@patrick246 the right place in this case would be to submit a PR in https://github.com/matterbridge/Rocket.Chat.Go.SDK and in addition in the upstream repo. the matterbridge fork is quite old, so i don't know if it would be some effort to upgrade it to the latest version.
i'll have a look today an see how much effort this is :)

That's the interesting part: The Matterbridge fork of the Rocketchat go sdk is too old to contain this bug, it's only present in the vendored code and in the upstream sdk.

hm, not keeping the vendored code and the fork specific to the project in sync is an unorthodox choice... but that just means upstreaming the fix is the best option.

i submitted a PR in upstream rocketchat sdk (https://github.com/RocketChat/Rocket.Chat.Go.SDK/pull/46) and here's my fork with the changes integrated: https://github.com/tachiniererin/matterbridge i'll create a PR for that too as soon as the upstream stuff gets merged.

authors: andynd patrick246 psy tachiniererin


text:
Login to a local instance of mattermost  fails

In my configuration I use mattermost on custom port and seems it runs without https
/msg mattermost login 192.168.59.103:8065 testing <login> <pass>
We encountered an error while connecting to the server

Also, log lack any messages according to login attempts

I added support for this in master.
Could you do a go get -u and try running matterircd with the -mminsecure flag.
This allows http connections and should work with your setup

Yes, I try

Works


text:
Support favicon

Currently generated microsites do not support favicons. We need to enable this functionality based on the default naming convention along with an override via sbt setting

Additionally we may be able to actually generate one automatically downsizing the file associated with the existing lib image

@anamariamv can we bump this on priority for the upcoming sprint?


text:
How to run examples? cimplot cannot be accessed

Hi,
I tried running the examples but cannot compile.
rustc 1.66.0 (69f9c33d7 2022-12-12)
I cloned your repo, cd in implot-examples, and at first clance, line_plot is not present.
error: no example target named "line_plots". so I guess the readme might be up little outdated,
ls the dir and i see
d-----        18/02/2023     13:09                examples-shared
d-----        18/02/2023     13:13                implot-glium-demo
d-----        18/02/2023     13:08                implot-wgpu-demo
-a----        18/02/2023     13:08            762 README.md

So i try cargo run --example implot-glium-demo, but again error: no example target named "implot-glium-demo".
might be me not knowing how to use the --example flag. So I cd in implot-glium-demo and run cargo run.
It compiles until
error: failed to run custom build command for `implot-sys v0.6.0  [REDACTED]\implot-rs\implot-sys)`

Caused by:
  process didn't exit successfully: ` [REDACTED]\implot-rs\implot-examples\implot-glium-demo\target\debug\build\implot-sys-669e58a21423fafe\build-script-build` (exit code: 101)
  --- stderr
  thread 'main' panicked at 'Can't access third-party/cimplot/cimplot.cpp. Did you forget to fetch git submodules?', [REDACTED]\implot-rs\implot-sys\build.rs:21:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

what am i missing?

hum... implot-sys\third-party\cimplot is empty, maybe i just need to install this

Ok I got it to work,
You need to clone cimplot and imgui (ithin cimplot) with the correct commit. maybe it should be mentionned in the readme. I'll give the library a try to see if it fits my need, in which case i'll try and do a PR. Maybe there's a git command to follow links and clone related repos, i'm not sure

Ok I got it to work, You need to clone cimplot and imgui (ithin cimplot) with the correct commit. maybe it should be mentionned in the readme. I'll give the library a try to see if it fits my need, in which case i'll try and do a PR. Maybe there's a git command to follow links and clone related repos, i'm not sure

Hey, Will. Do you mind giving more details on how you managed to make it work? I'm struggling in here

Basically, in GitHub, when you go to the dir for cimplot and within it for imgui you see a link to the exact commit that was used.
So clone implot the on your local machine go to the cimplot directory and clone cimplot (make sur NOT to have cimplot/cimplot) you have to checkout to the exact commit using the hash (look online for that) you repeat the same thing for the nested implot folder

This repo uses Git submodules. I.e. it references another repository at the specific commit.
You can run git submodule update --init after cloning the repo and it will automatically clone required version at the correct location.
$ git submodule update --init
Submodule 'implot-sys/third-party/cimplot' (https://github.com/cimgui/cimplot) registered for path 'implot-sys/third-party/cimplot'
Submodule path 'implot-sys/third-party/cimplot': checked out '374317a84121a01868aa5274dbcf1c5a5df96e8c'

Or like this, step-by-step:
$ git submodule status
-374317a84121a01868aa5274dbcf1c5a5df96e8c implot-sys/third-party/cimplot

$ git submodule init
Submodule 'implot-sys/third-party/cimplot' (https://github.com/cimgui/cimplot) registered for path 'implot-sys/third-party/cimplot'

$ git submodule update
Cloning into '/home/user/t/implot-rs/implot-sys/third-party/cimplot'...
Submodule path 'implot-sys/third-party/cimplot': checked out '374317a84121a01868aa5274dbcf1c5a5df96e8c'

$ git submodule status
 374317a84121a01868aa5274dbcf1c5a5df96e8c implot-sys/third-party/cimplot

authors: jorpic miguelggcc willmendil


text:
Configurable variable used to check for production

I see the script is only loaded in production and determined by process.env.NODE_ENV. I believe when hosting on Vercel and using their preview deployments, NODE_ENV is production but they provide system variables such as VERCEL_ENV  which can be used to determine production vs preview environments.
Maybe a prop can be provided to customise this?

Fixed by https://github.com/4lejandrito/next-plausible/commit/b214b206ffb0cfc3724e9a4f5050674b9ac1368f.
I just published 1.5.0 with an extra enabled attribute that you can pass to override the process.env.NODE_ENV === 'production' condition.
npm i next-plausible@1.5.0

Thanks @safinn!


text:
Differentiating between draging over the first drop slot and dragging over a node

Hello there
I need to differentiate between dragging a node over the first drop slot in a parent and dragging it directly over a parent. The usecase is, that I want dropped nodes as the last child within their parent.
The drop logic is already doable using the dropOnNode flag in the drop event.
What I need is additional info already in allowDrop, so I can prevent dragging a last child onto its parent.
So basically I'd like to have a dropOnNode parameter in allowDrop

Hi,
I recently opened a slack channel for the library's users community.
I think it will be a good place for the community to discuss different ways of implementation, to ask for feature requests, collaborate on PRs, and hear about bugfixes and releases.
I invite you to join:
https://angular-tree-component.herokuapp.com/

authors: Gragx adamkleingit


text:
How to deinitialize the player?

Question Checklist
How to de-initialize player?

Right now there is no function to de-initialize the player. Is this needed for your project?

There is no need to de-initialize player in my project but because of a bug i have raised #280 i need to stop its functionality after player stop.

I am closing this issue since we are focusing on #280

authors: danpastori rhldani


text:
It does work with 2 factor using a cookie

Just to mention I have this working with 2 factor set on my account using a cookie.
However as I didn't believe it would work, I removed 2 factor to obtain a cookie and once I got it working and my testing was done, I re-enabled 2 factor and to my surprise it still works.
Thank you for your work.

Wierd. Thanks!


text:
Add support for e10s

In the latest versions of firefox, mozilla is adding support for multithreading. Pentadactyl should work to being compatable with this eventually, right now it is completely unusable. So far ex commands seem to work fine, but any movement (among other things) is broken. I've attached a paste of me using it for a few seconds. Pentadactyl works fine w/o e10s enabled!
This page seems relevant. This seems like a long term goal, but I'm just putting it out there, because this will eventually be default in firefox, and it would be great if pentadactyl could support it before then!
paste data
my pentadactylrc, it seems to be breaking up on map commands...

Hm, back when this was hosted on google code, there was a feature request thread about this, but I guess it wasn't transfered here.
This is known problem, firefox had some experimental code for this for long time, but it looks like it's gonna go enabled by default really soon (3-6 months).
It doesn't break just pentadactyl tho, it breaks many common extensions.

At this point, all ~20 of the extensions I use work with e10s, except pentadactyl.

http://arewee10syet.com/

Seeing as e10s is default very soon, a fix for this would be appreciated. If no-one has time, where should I get started looking to try and fix myself?

@triclops200
<3

Any chance devs can make this milestone for next stable version?

Pentadactyl works 41 Developer Edition if multi-process is turned off. It if is turned on pentadactyl url line is often red and searching through the page doesn't work.


text:
Display

Outouts only after ctr+c

kind of works now XD cheated a bit


text:
请问一下，模型跑出来的结果，只有准确率 丢失率等等这些吗？具体的每个句子的用bert进行分类的标签，在哪里可以看到呀？

如果最后的结果只有总体的准确率，F1分数等等，那我训练他进行具体文本分类的意义在哪里？

同问

如果最后的结果只有总体的准确率，F1分数等等，那我训练他进行具体文本分类的意义在哪里？

需要写推理代码来使用模型对你需要预测的文本进行预测

如果最后的结果只有总体的准确率，F1分数等等，那我训练他进行具体文本分类的意义在哪里？

具体可以看issues72和70

如果最后的结果只有总体的准确率，F1分数等等，那我训练他进行具体文本分类的意义在哪里？

需要写推理代码来使用模型对你需要预测的文本进行预测

好的 非常感谢！！！

如果最后的结果只有总体的准确率，F1分数等等，那我训练他进行具体文本分类的意义在哪里？

需要写推理代码来使用模型对你需要预测的文本进行预测

好的 非常感谢！！！

举手之劳

如果最后的结果只有总体的准确率，F1分数等等，那我训练他进行具体文本分类的意义在哪里？

其实你自己写一下就行了，在train_eval.py文件的evaluate函数里面，那个叫predict_all的list实际上就是在测试集上预测的分类标签。你训练完了之后把run.py最后一行train(config, model, train_iter, dev_iter, test_iter)注释掉，换成test函数去对你需要做预测的数据进行推理就可以

同问

issue 72和70有人给了，不过看起来不太能做大规模的推理。在train_eval.py文件的evaluate函数里面，那个叫predict_all的list实际上就是在测试集上预测的分类标签，自己根据需求去使用就好。


text:
How to override the existing evaluators?

Hi there,
Thank you for the nice code.
I wanted to override some existing evaluators via addEvaluator() function, but failed to. I tried both function and arrow function implementations. I also tried to inherit from class ExpressionEval but I do not know how properly handle static properties in the inherited class.
I do not know how to get access to context, isAsync or evalSyncAsync. Context and isAsync are marked as protected in ExpressionEval class and method evalSyncAsync is private. Moreover keyword this is undefined in the evaluator function in scrict mode. According to readme such the properties and methods should be visible in evaluator function in addEvaluator method.
Here is the sample code.
jseEval.addEvaluator('Identifier', (node: unknown) => {   const self = this;   return 100; });
Here are the variables in debugger.

Could you please provide a sample code for overriding the existing evaluators?

@6utt3rfly
I have a service which utilizes jsep_eval. It has tsconfig which defines strict mode.
The sample above does not pass the test.

It works though if strict mode is set to false. It seems JavaScript has no knowledge about private and protected modifiers in run-time. Typescript does not allow to use 'this.context' in strict mode and it ignores that when strict mode is false.

@Zvenigora - I can get further by adding this to the evaluatorCallback (i.e. directly editing the node_modules/jse-eval/dest/index.d.ts file), and making context public:
declare type evaluatorCallback = (this: ExpressionEval, node: AnyExpression, context: Context) => unknown;
context: Context;

However, trying to write:
JseEval.addEvaluator('Identifier', function(node: Identifier) {
  return this.context[node.name];
});

gives an error about name being in jsep.Identifier, but not in jsep.Expression. It then works if I change node type to any.
Jsep defines:
export type baseTypes = string | number | boolean | RegExp | null | undefined;
export interface Expression {
	type: string;
	[key: string]: baseTypes | Expression | Array<baseTypes | Expression>;
}

export interface Identifier extends Expression {
	type: 'Identifier';
	name: string;
}

Do you know a better way for JSEP (and Jse-Eval) to define these varying types?

@Zvenigora - I've also created PR #64 , but it might still require an update from my last comment?

@6utt3rfly
Thank you for the updates.
From my understanding we need to pass reference to instance of ExpressionEval as parameter of evaluatorCallback. You mentioned that context was made public, so the last argument (context) is redundant.
Instead of
declare type evaluatorCallback = (this: ExpressionEval, node: AnyExpression, context: Context) => unknown;
It should be
declare type evaluatorCallback = (thisArg: ExpressionEval, node: AnyExpression) => unknown;
The method addEvaluator might be written based on Discriminated unions. https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes-func.html#discriminated-unions
Instead of
 JseEval.addEvaluator('Identifier', function(node: Identifier) {     return this.context[node.name];   });
It should be something like
    JseEval.addEvaluator('Identifier', function (thisArg: ExpressionEval, expr: AnyExpression) {         if (node.type === 'Identifier') {           const node = expr as Identifier;           return thisArg.context[node.name];         }          new Error(``Unknown node type { node.type } was provided``);       });

It seems that Typescript isn't smart enough to understand that the union is already discriminated at the callback ... unless using generics!
Now this actually works:
export declare type evaluatorCallback<T extends AnyExpression> = (this: ExpressionEval, node: T) => unknown;
static addEvaluator<T extends AnyExpression>(nodeType: string, evaluator: evaluatorCallback<T>): void;

JseEval.addEvaluator('Identifier', function(node: Identifier) {
  return this.context?.[node.name];
});

Hopefully that works for you @Zvenigora ? (see PR #64  update)

@6utt3rfly ,
Oh, great! Yes, generics should work. It is really nice.
The only thing is missing. I am still not clear how the callback function gets the reference to value of this (instance of ExpressionEval). According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode#securing_javascript keyword this is restricted to undefined in strict mode. Does it get the reference to the instance of ExpressionEval implicitly based on the addEvaluator signature?
Thank you for the update.

Thanks for reporting @Zvenigora and thank you for help with resolving it!
The call to the evaulator binds this to the class's instance (see L214: evaluator.bind(this)(node, this.context)). In strict mode, it was expecting this to be defined on the type, otherwise it didn't trust that it was set to be the class instance.
I also updated the code so it actually passes the context as the second argument, so that you could choose to use that over this if prefered (simplifies things so you can use arrow functions). Should be all included in 1.5.1, so please let me know if you still have troubles!


text:
大概过5-6个小时就会出现500 error

DESC
错误日志
Android-Update-5 (err):     at Object.think.await (/home/web/Android-Update/node_modules/thinkjs/lib/core/think.js:1021:25)
Android-Update-5 (err):     at _class._callee$ (/home/web/Android-Update/node_modules/thinkjs/lib/adapter/socket/mysql.js:142:54)
Android-Update-5 (err):     at tryCatch (/home/web/Android-Update/node_modules/thinkjs/node_modules/babel-runtime/regenerator/runtime.js:88:40)
Android-Update-5 (err):     at GeneratorFunctionPrototype.invoke [as _invoke] (/home/web/Android-Update/node_modules/thinkjs/node_modules/babel-runtime/regenerator/runtime.js:341:22)
Android-Update-5 (err):     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/home/web/Android-Update/node_modules/thinkjs/node_modules/babel-runtime/regenerator/runtime.js:121:21)
Android-Update-5 (err):     at step (/home/web/Android-Update/node_modules/thinkjs/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
Android-Update-5 (err):     at /home/web/Android-Update/node_modules/thinkjs/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:20
Android-Update-5 (err):     at tryCatcher (/home/web/Android-Update/node_modules/bluebird/js/release/util.js:16:23)
Android-Update-5 (err):     at Promise._settlePromiseFromHandler (/home/web/Android-Update/node_modules/bluebird/js/release/promise.js:502:31)
Android-Update-5 (err):     at Promise._settlePromise (/home/web/Android-Update/node_modules/bluebird/js/release/promise.js:559:18)
Android-Update-5 (err):     at Promise._settlePromiseCtx (/home/web/Android-Update/node_modules/bluebird/js/release/promise.js:596:10)
Android-Update-5 (err):     at Async._drainQueue (/home/web/Android-Update/node_modules/bluebird/js/release/async.js:143:12)
Android-Update-5 (err):     at Async._drainQueues (/home/web/Android-Update/node_modules/bluebird/js/release/async.js:148:10)
Android-Update-5 (err):     at Immediate.Async.drainQueues [as _onImmediate] (/home/web/Android-Update/node_modules/bluebird/js/release/async.js:17:14)
Android-Update-5 (err): [2016-08-10 05:48:19] [Error] Error: Connection reset. http://www.thinkjs.org/doc/error_message.html#econnreset
Android-Update-5 (err):     at exports._errnoException (util.js:860:11)
Android-Update-5 (err):     at TCP.onread (net.js:544:26)
Android-Update-5 (err): [2016-08-11 05:16:37] [Error] Error: Connection reset. http://www.thinkjs.org/doc/error_message.html#econnreset
Android-Update-5 (err):     at exports._errnoException (util.js:860:11)
Android-Update-5 (err):     at TCP.onread (net.js:544:26)

重启pm2后又好了，但是会重复规律的出现上面的问题。
ENV
Platform: centos 65
Node.js Version: 5.0.0
ThinkJS Version: 3.3.6

问答社区也有同样的问题：http://wenda.thinkjs.org/?/question/132

5～6小时！你比我们这个精确多了，兄弟。
我们这两天发现是一晚上过后就 Down 掉了，我们以为是 mysql 数据库的问题，应该是改了配置了，但是还是有这个现象。不知道是不是和你一样。

@llqgit 是这样的

测试下 这位同学的解决方案 pull#425

貌似更新了新版好了很多。 在观察下 如果还是正常就关闭了。


text:
🛑 Mailsystem Internal is down

In 233f40c, Mailsystem Internal ($MAIL_INT) was down:

HTTP code: 502
Response time: 3623 ms

Resolved: Mailsystem Internal is back up in 2203e51.


text:
🛑 threads is down

In 6a384ca, threads (https://www.threads.net/@9renpoto) was down:

HTTP code: 429
Response time: 369 ms

Resolved: threads is back up in b4a5b7c after 20 minutes.


text:
error in launching docker container

At README, on this step : https://github.com/9seconds/mtg#run-a-proxy
docker run -d -v $PWD/config.toml:/config.toml -p 443:3128 --name mtg-proxy --restart=unless-stopped nineseconds/mtg:2

missing /

yes the missing slash fixes this step.

Thanks. You can send PR if you want. I'll fix it later. Sorry, busy time for me

@bishiping
issue fixed in the latest pull request, now can be closed.

Thanks a lot!


text:
pincode opnieuw randomizen na validatie

Nu blijft de pincode dezelfde, we willen die veranderen als je iemand gevalideerd hebt.

done. telkens je terug naar pussybase state gaat krijg je een nieuwe pincode.

is niet goed opgelost, will do that better

NU: als je iemand hebt gevalideerd en terug naar startscherm gaat wordt de pincode opnieuw gerandomized

repo: A-StadLabs/poezenclub


text:
可以实现重叠柱状图吗

可以实现重叠柱状图吗

下面这几种图能实现吗

堆叠柱状图是支持的, 参考 OC 版本的相关问题:

https://github.com/AAChartModel/AAChartKit/issues/842
https://github.com/AAChartModel/AAChartKit/issues/685

其他几种图形化的柱状图无法支持.

我想要实现叠和echart 中   barGap: '-100%'的效果，

echart 中 barGap: '-100%'的效果

不太明白这是什么效果

柱状图是重叠在一起，不是累加

柱状图是重叠在一起，不是累加

参考:

https://github.com/AAChartModel/AAChartKit/issues/1269

https://github.com/AAChartModel/AAChartKit/issues/1271

参考 JS 在线示例:

https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/column-grouping-false/

Java版本的支持吗

柱状图是重叠在一起，不是累加

参考:

AAChartTypeColumn 柱状图如何设置使得数据都从y轴原点开始 AAChartKit#1269

对应的 Java 版本代码如下:
    //https://github.com/AAChartModel/AAChartKit/issues/1269
    public static AAChartModel noMoreGroupingAndOverlapEachOtherColumnChart() {
        return new AAChartModel()
                .chartType(AAChartType.Column)
                .categories(new String[]{"11/23", "11/24", "11/25", "11/26", "11/27", "11/28", "11/29"})
                .yAxisMax(50)
                .yAxisMin(0)
                .borderRadius(5)
                .series(new AAColumn[]{
                        new AAColumn()
                                .name("总做题")
                                .color("#D8D8D8")
                                .data(new Object[]{30, 20, 28, 40, 42, 48, 50})
                                .grouping(false)
                        ,
                        new AAColumn()
                                .name("正确做题")
                                .color("#00D9CD")
                                .data(new Object[]{28, 18, 26, 40, 40, 46, 39})
                });
    }

    //https://github.com/AAChartModel/AAChartKit/issues/1271
    public static AAChartModel noMoreGroupingAndNestedColumnChart() {
        return new AAChartModel()
                .chartType(AAChartType.Column)
                .categories(new String[]{"11/23","11/24", "11/25","11/26","11/27","11/28","11/29"})
                .yAxisMax(50)
                .yAxisMin(0)
                .borderRadius(5)
                .series(new Object[]{
                        new AAColumn()
                                .name("总目标")
                                .color("DeepSkyBlue")
                                .data(new Object[]{30, 20, 28, 40, 42, 48, 50})
                                .grouping(false)
                                .pointPadding(0.05f)
                        ,
                        new AAColumn()
                                .name("完成度")
                                .color("#FF3030") //Firebrick1 color
                                .data(new Object[]{28, 18, 26, 40, 40, 46, 39})
                                .grouping(false)
                                .pointPadding(0.2f)
                });
    }

以上 Java 版本的示例代码, 你都可以在 AAChartCore 的 demo 中找到.

可以了，谢谢

怎么配置这样XY轴的name

 怎么配置这样XY轴的name

参考:

https://github.com/AAChartModel/AAChartCore/issues/196

authors: AAChartModel qizhengzheng

repo: AAChartModel/AAChartCore


text:
Update project-26-baybes.md

Updating the project page to link to the associated github repo.
We've completed the content of our repo with the investigation results. We see quite a few interesting trends which we plan to study further and could even test transfer learning on real world data.

Awesome! Looking forward to checking it out. Can you also include the video ID for a YouTube video and a link to a social media post on LinkedIn or X?

sure I will make a Linkedin and X post on monday and update here. Where would the link go in the project file?

@Scienfitz awesome, thanks! The LinkedIn or X post goes before the reference section, something like Check out our submission post on LinkedIn!

The duplicated PR has been closed; however, we should maybe take over the format corrections from https://github.com/AC-BO-Hackathon/ac-bo-hackathon.github.io/pull/154/commits/5a6cdc5fa14b1a8d9285ed0763846b29cae09c2d.

@sgbaird done, we wont produce a video tho, hope thats fine

@Scienfitz thanks! Is the issue with YouTube as a platform? It doesn't have to be on YouTube specifically, but for the manuscript, a 2-minute or less video is required. This could be posted on LinkedIn, X, or somewhere else. It just needs to be publicly accessible. This doesn't preclude you or Alex from the manuscript, but it's needed for the other members to contribute. In the simplest form, this could be a short voiceover of the poster. Is this feasible?

@sgbaird Got it. In this case, we will contribute a video on our findings that we can publish on Youtube (the platform is not an issue for us).

Thank you! 🙏

Would it be fine for you if we submit a voice-over video about our GitHub README.md (AC-BO-Hackathon/project-26-multiple-context-bo@main/README.md) and all related figures with some quick explanations, until Thursday?

Yes, that sounds great.

authors: Scienfitz marcelmuellergdi sgbaird


text:
🛑 Development is down

In cbd7575, Development (https://development.aced-idp.org) was down:

HTTP code: 404
Response time: 404 ms

Resolved: Development is back up in 49a0c8b.

repo: ACED-IDP/status-monitor


text:
Can't start processflow

directory /export/mccoy20/pRen/test_2017-09-14-Qi
bash-4.1$ conda install -c acme/label/nightly processflow
Fetching package metadata ...........
Solving package specifications: .
All requested packages already installed.
packages in environment at /export/mccoy20/anaconda2/envs/workflow:

processflow               0.3.17                    devel    acme/label/nightly
--
bash-4.1$ processflow.py -c run.cfg
Traceback (most recent call last):
File "/export/mccoy20/anaconda2/envs/workflow/bin/processflow.py", line 4, in
import('pkg_resources').run_script('acme-processflow==0.3.17', 'processflow.py')
File "/export/mccoy20/anaconda2/envs/workflow/lib/python2.7/site-packages/pkg_resources/init.py", line 742, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/export/mccoy20/anaconda2/envs/workflow/lib/python2.7/site-packages/pkg_resources/init.py", line 1510, in run_script
exec(script_code, namespace, namespace)
File "/export/mccoy20/anaconda2/envs/workflow/lib/python2.7/site-packages/acme_processflow-0.3.17-py2.7.egg/EGG-INFO/scripts/processflow.py", line 1043, in
File "build/bdist.linux-x86_64/egg/lib/setup.py", line 199, in setup
File "build/bdist.linux-x86_64/egg/lib/util.py", line 608, in check_for_inplace_data
KeyError: '46-4'

The lowest number year of that simulation is 20170628.POP_MG2.A_WCYCL1850.ne30_g16.edison.cam.h0.0041-01.nc, but your config is asking for year 0001. That said, there's obviously a bug in how the file table is being setup. Im going to have to completely refactor how I manage files for the short term archiving, so this issue should hopefully be resolved by that. In the mean time, try setting simulation_start_year to 41.


text:
Performance checker 频繁误触发 isOpen

Windows, MacOS, iPhone 设备皆有

看似触发的阈值有点问题？
https://user-images.githubusercontent.com/5229368/176423138-55f87965-90ef-46b8-9478-753da91a00df.MOV

后面是怎么解决的？我也是遇到这个类似的问题了 #48

authors: ltinerary partyspy

repo: AEPKILL/devtools-detector


text:
Request failed: forbidden (403) while using putObjectWithFile

AFAmazonS3Manager *s3Manager = [[AFAmazonS3Manager alloc] initWithAccessKeyID:@"123" secret:@"123"];
s3Manager.requestSerializer.region = AFAmazonS3USStandardRegion;
s3Manager.requestSerializer.bucket = @"test-bucket";

// 2
NSString *filePath = [[NSBundle mainBundle] pathForResource:@"imagetest" ofType:@"jpg"];
NSLog(@"filePath %@",filePath);
// 3
NSString *destinationPath = @"dummy.jpg";

[s3Manager putObjectWithFile:filePath destinationPath:@"destinationPath" parameters:nil progress:^(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite) {

} success:^(id responseObject) {
    //   NSURL *resultURL = [self.requestSerializer.endpointURL URLByAppendingPathComponent:destinationPath];

    NSLog(@"Upload complete : %@", responseObject);
} failure:^(NSError *error) {
    NSLog(@"Error uploading photo : %@", error);
}];

I have the same issue when I upload to S3 buckets. 403 forbidden.
Even though I used "postObject...", I have same issue.
AFAmazonS3Manager *s3Manager = [[AFAmazonS3Manager alloc] initWithAccessKeyID:@"XXX" secret:@"XXX"];
s3Manager.requestSerializer.region = AFAmazonS3APNortheast2Region;
s3Manager.requestSerializer.bucket = @"XXXXX";
[s3Manager.requestSerializer setValue:@"application/octet-stream" forHTTPHeaderField:@"Content-Type"];
NSString *destinationPath = @"movie.mov";

[s3Manager putObjectWithFile:self.session.outputURL.path destinationPath:destinationPath parameters:nil progress:^(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite) {
    NSLog(@"%f%% Uploaded", (totalBytesWritten / (totalBytesExpectedToWrite * 1.0f) * 100));
}success:^(AFAmazonS3ResponseObject *responseObject) {
    NSLog(@"Upload Complete: %@", responseObject.URL);
}failure:^(NSError *error) {
    NSLog(@"Error: %@", error);
}];

@masuhara @bobongski Were you able to resolve this issue?

authors: bobongski masuhara msanders


text:
Bayes parallel samples not different.

I run bayes with kappa=1.2
The problem is that I get the same suggestion 2 times.
Experiment 6 and 8 is the same.
I ask for 8 before 6 was run.
And 11 and 12 is also the same.
id   NClusters  NParents  R_cut  _loss
0           6         4    9.7  -0.50
1          12         2    6.1  -0.04
2           3         1    6.2  -0.01
3           6         1    7.4  -0.28
4           9         1   11.9  -0.11
5           5         2   11.9  -0.59
6           3         3   11.9  -0.01
7           5         3   11.9  -0.65
8           3         3   11.9  -0.01
9          12         4    2.0   0.00
10         12         4    2.8   0.00
11          5         4   11.9    NaN
12          5         4   11.9    NaN

I things that a solution could be that instead of using the GP estimate for pending items
just use the maximum. So if the GP estimate for item 11 is around 0.7 then it will keep suggestion it.
but if you set it to the maximum 0.0 then the next suggestion will be something completely different.

repo: AIworx-Labs/chocolate


text:
Please write a guide on how to do this on windows

Please write a guide how to get this work on windows. Tia

Okay sure i will make a video or picture guide on this.
AJ Kumar
(Founder & CEO)
Mobile : +91 9862542983
Email : techsoul4@gmail.com techsoul4@gmail.comWebsite : www.techsoul.in
http://www.techsoul.in/
On Sun, Sep 15, 2019 at 5:59 AM Mustak Ahmed notifications@github.com
wrote:

Please write a guide how to get this work on windows. Tia
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AJ-TechSoul/ELECTRON-4-PHP/issues/17?email_source=notifications&email_token=AGP4QIBZFAEDY4W7KVHHG3DQJV6WVA5CNFSM4IWYU7C2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLM6Z3Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGP4QIGBSFTB6AZACY5ETRTQJV6WVANCNFSM4IWYU7CQ
.

hello I need help in the configuration on windows OS I install dependencies and start it but nothing happens

Are you using the Windows Version of Electron-4-PHP ?
if yes then it should working fine. I think there is problem in
installation. Please use this method.
Clone this repository
git clone https://github.com/AJ-TechSoul/ELECTRON-4-PHP# Go into the
repositorycd ELECTRON-4-PHP# Install dependenciesnpm install# Run
the appnpm start
AJ Kumar
(Founder & CEO)
Mobile : +91 9862542983
Email : techsoul4@gmail.com techsoul4@gmail.comWebsite : www.techsoul.in
http://www.techsoul.in/
On Mon, Sep 16, 2019 at 5:06 PM Gshira1211 notifications@github.com wrote:

hello I need help in the configuration on windows OS I install
dependencies and start it but nothing happens
[image: Capturenpm]
https://user-images.githubusercontent.com/41670129/64954828-f9d1bc00-d886-11e9-961c-92f9fcadedf1.JPG
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/AJ-TechSoul/ELECTRON-4-PHP/issues/17?email_source=notifications&email_token=AGP4QIBFYQI7552TZM5F743QJ5VURA5CNFSM4IWYU7C2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6Y3OIY#issuecomment-531740451,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGP4QIG2VJ263TX4YBWJ733QJ5VURANCNFSM4IWYU7CQ
.

Are you using the Windows Version of Electron-4-PHP ?
if yes then it should working fine. I think there is problem in
installation. Please use this method.
Clone this repository
git clone https://github.com/AJ-TechSoul/ELECTRON-4-PHP
Go into the repository
cd ELECTRON-4-PHP
Install dependencies
npm install
Run the app
npm start

If you are using windows branch then please try using master.
https://github.com/AJ-TechSoul/ELECTRON-4-PHP/tree/master

this want I get after cloning, installing and run the master one on windows OS

If you are using windows branch then please try using master.
https://github.com/AJ-TechSoul/ELECTRON-4-PHP/tree/master
and Please make sure you
use npm install command before npm start
I tried again now and it works.

Please run setenv.bat file in the project folder. Then again run using npm
start.
AJ Kumar
(Founder & CEO)
Mobile : +91 9862542983
Email : techsoul4@gmail.com techsoul4@gmail.comWebsite : www.techsoul.in
http://www.techsoul.in/
On Tue, Sep 17, 2019 at 6:22 PM Gshira1211 notifications@github.com wrote:

this want I get after cloning, installing and run the master one on
windows OS
[image: 2019-09-17]
https://user-images.githubusercontent.com/41670129/65043124-987b1d00-d95a-11e9-8ee7-c79e51e5f4f7.png
If you are using windows branch then please try using master.
https://github.com/AJ-TechSoul/ELECTRON-4-PHP/tree/master
and Please make sure you
use npm install command before npm start
I tried again now and it works.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/AJ-TechSoul/ELECTRON-4-PHP/issues/17?email_source=notifications&email_token=AGP4QIECR3I2BS3CU26BIILQKDHHBA5CNFSM4IWYU7C2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD64NHWY#issuecomment-532206555,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGP4QIEX6BCEYOO62RWVTRDQKDHHBANCNFSM4IWYU7CQ
.

thx it works now I have added
 php: "php\\php.exe", in line 66 on the  main.js for the ELECTRON-4-PHP-master

That's Great News.
AJ Kumar
(Founder & CEO)
Mobile : +91 9862542983
Email : techsoul4@gmail.com techsoul4@gmail.comWebsite : www.techsoul.in
http://www.techsoul.in/
On Tue, Sep 17, 2019 at 10:27 PM Gshira1211 notifications@github.com
wrote:

thx it works now I have added
php: "php\php.exe", in line 66 on the main.js for the
ELECTRON-4-PHP-master
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/AJ-TechSoul/ELECTRON-4-PHP/issues/17?email_source=notifications&email_token=AGP4QIEGGUJZ2QALUZP5S63QKEEANA5CNFSM4IWYU7C2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD65GDQI#issuecomment-532308417,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGP4QIGKL26WA2SFCZ3QQ63QKEEANANCNFSM4IWYU7CQ
.


text:
fix issue #303,contact form validation and send form data to firebase.js

Issue #303

Closes: #303
Description of Changes

Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[x] I have included comments in areas that may be difficult to understand.
[x] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.

Screenshots
|      Original       |
|       Updated        |

Please provide any necessary screenshots to illustrate the changes made.

Resolve Conflicts, tag on discord with pr link.

No response, closing the pr.


text:
Remove repo references

Replaced the wget commands which referenced the repository with cp commands which copy from the local directories instead.
Didn't replace the commands in the old_scripts folder since this folder will likely be removed soon, and also didn't change the wget commands in the file for the 210 local install.

Seem to be getting srst2 errors in some of the inclusivity tests. @afishman is this similar to the error you were referring to a couple of weeks back?

yeah I think so. The error message is very unhelpful -- and this hard to track! We can try rerunning the test via TeamCity to see if the error is happening consistently. Would be great as well if we can reproduce the error in docker within the SCE.

repo: APHA-BAC/NextflowSerotypingPipeline


text:
Rework EAS acceptance tests to inherit from LisaTest  v2

This is a successor to https://github.com/ARM-software/lisa/pull/197
Differences from v1:

Numerous minor changes and cleanups I won't list
Split the changes into more commits
In Executor, the experiments dict was changed to be a NamedTuple-
Removed test_first_cpu from EasTest and replaced it with a helper method, subclasses must explicitly call it
experiment_test decorator moved to utils.test (where LisaTest is)
Added missing is_big_little logic to EasTest
Fixed the logic EasTest that attaches trace file locations to test failure messages

Refactor/enhance the Executor class; most importantly enable the "experiments" to be saved so that test objects can refer back to them in test_ methods
Add an EasTest class abstracting the common operations for all EAS acceptance tests. It's likely that some of this functionality (+ documentation which is not written) could go directly into LisaTest at a later date
Rework each of the acceptance test classes to inherit from EasTest

Also some miscellaneous cleanups that seem to me to be related to this.

@JaviMerino  Re --nologcapture and os.makedirs: I'll submit separate PRs for those (I know I already put the "fix typo" and "use min" commit in here, but now it feels like going to far!).

OK the lisa-test change felt like it should go in with the trace file location change so I thought "since @derkling has hinted that he enjoys large PRs, let's put the makedirs thing in here too". No v3 because the changes are minor.

Pushed a new version with @derkling's comments addressed and without the lisa-test changes.

🙌

repo: ARM-software/lisa


text:
Support Python 3.12

Distutils module has now been removed from Python 3.12 (to be released in 2023), so wa needs to stop using it.
We also need to remove uses of "imp" module that has also been removed.
https://peps.python.org/pep-0632/#migration-advice

While direct dependencies to imp seem to be gone since https://github.com/ARM-software/workload-automation/commit/77ebefba088af4e6ff0fd4061439bba18ebb7816, there still seem to be indirect dependencies through future:
  File "/home/ablu/projects/lisa/lisa/wa/__init__.py", line 30, in <module>
    from wa import discover_wa_outputs, Status
  File "/home/ablu/projects/lisa/external/workload-automation/wa/__init__.py", line 27, in <module>
    from wa.framework.output import RunOutput, discover_wa_outputs
  File "/home/ablu/projects/lisa/external/workload-automation/wa/framework/output.py", line 36, in <module>
    from wa.framework.configuration.execution import CombinedConfig
  File "/home/ablu/projects/lisa/external/workload-automation/wa/framework/configuration/execution.py", line 19, in <module>
    from future.moves.itertools import zip_longest
  File "/home/ablu/projects/lisa/.lisa-venv-3.12/lib64/python3.12/site-packages/future/moves/__init__.py", line 5, in <module>
    from future.standard_library import import_top_level_modules
  File "/home/ablu/projects/lisa/.lisa-venv-3.12/lib64/python3.12/site-packages/future/standard_library/__init__.py", line 65, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'

Patches are posted in various PRs: https://github.com/PythonCharmers/python-future/pulls. However it looks like future is unmaintained.

@marcbonnici Looks like we will need to remove dependency on "future" as well then (I think it provides the "past" module we use)

Ubuntu 24.04 LTS will have Python 3.12 shipped by default: https://packages.ubuntu.com/noble/python3

"future" seems to now support Python 3.12, and wa --help runs fine on Python 3.12. Once users confirmed that 3.12 is properly supported, we can close that ticket. It would still be a good idea to stop depending on "future" though, as we can surely do without and so it does not hold us back at each Python release.

authors: Ablu douglas-raillard-arm

repo: ARM-software/workload-automation


text:
Add all-clusters-app example support to mbed platform.

The all-clusters-app works in very similiar way to mbed lock-app and
lighting-app examples. The only difference here is that all-clusters-app supports
all ZCL clusters by defining general stubs in all-clusters-common directory.
Because this example will be used mainly for testing ZCL clusters messages
support, there is no need for handling user buttons in the same way how
it is done in lock/lighting app examples (at least for now).
However, status led functionality has been left unchanged - just for
easy indication about BLE advertising/pairing and WIFI connection status.
Change set:

Adding all-clusters-app example sources for mbed
Update task/launch.json with new entry
Update mbed_examples.yml github workflow with new entry

Can you rebase the branch @lukgni, the CI and build helper files have been updated.

Can you rebase the branch @lukgni, the CI and build helper files have been updated.

Done.

authors: lukgni pan-

repo: ARMmbed/connectedhomeip


text:
Broken link

The link "Get started with Mbed OS" in "Usage" section is broken.
(https://os.mbed.com/docs/latest/tutorials/your-first-program.html)

ARM Internal Ref: MBOTRIAGE-1593

Thanks for the catch! On it.

authors: atomichan ciarmcom kegilbert

repo: ARMmbed/mbed-os-example-filesystem


text:
Clear pk context and other minor changes in *_free() procedures

Description
These changes were made after closer look into existing context freeing and zeroing functions.
pk.c: ctx->pk_info could remain non-zeroed
pem.c: minor optimization
rsa.c and dhm.c : As in coding standards requirements, every code statement should be on its own line
Status
READY
Requires Backporting
Yes
Which branch?
development
Migrations
NO

retest

@RonEld - This looks quick to review. Can you take a look?

Jenkins is failing on the FreeBSD timing test which is a known issue, and as good as a pass.

authors: irwir sbutcher-arm

repo: ARMmbed/mbedtls


text:
Reorder structure fields to maximize usage of immediate offset access

Description
According to #4747 description, we should expect output files size decrease when mentioned rules in #4747 will be applied to structures from ssl.h file. The mbedtls_ssl_context and mbedtls_ssl_config has been proposed as a good start point for the initial evaluation.
As a first step I tried to reorder structure fields (smallest first) to maximize usage of immediate offset access.
Here are results after reordering some of structure fields:

filename
old size
new size
difference (old - new)

library/cipher.o
3516
3496
20

library/gcm.o
6403
6351
52

library/md5.o
3830
3826
4

library/poly1305.o
2290
2270
20

library/ssl_cli.o
19768
19572
196

library/ssl_msg.o
25283
25171
112

library/ssl_srv.o
20867
20711
156

library/ssl_tls.o
20957
20797
160

library/x509_crl.o
2328
2324
4

library/x509_crt.o
10159
10127
32

library/x509_csr.o
1275
1271
4

Based on tests/scripts/all.sh build_arm_none_eabi_gcc_m0plus.
Fix
#4747
Status
Needs review
Requires Backporting
Yes - 2.x only (ABI change): #4880
Migrations
NO

Somewhat related but perhaps out of scope: I don't think we need major_ver in ssl_context at all. Its value will always be 3, so we could probably remove it from the structure.

Labeling "do not merge" as this is a draft. This is mainly to that the list of unlabeled PRs remains empty. Please remove that label (and add others as appropriate) when this is no longer a draft.

Please add the last commit to the 2.x backport once you've fixed the comments, and re-request a review from me on both PRs after that.

Labeling "needs: work" as we want to turn this into a forward-port of #5189, plus the crypto parts.

authors: lukgni mpg


text:
Yotta shouldn't build all xcode targets by default, perhaps not tests

In the context below, 'target' is an xcode target, not a yotta architecture
As it stands, building ios apps requires signing (unless building for a simulator).
If an Xcode build is undertaken using yotta (yt -G Xcode), the signing is automatic as long as every target has a valid BundleIdentifier.
Yotta seems to build for all targets by default, including all test targets in any dependency modules, many of which don't have Info.plist files to house a valid BundleIdentifier (eris, yttimer, etc.), so errors of this form are generated:
Code Sign error: Automatic provisioning profile selection unavailable: A bundle identifier is required for automatic provisioning profile selection. Either enter a bundle identifier in the Info.plist...
Opening the Xcode project and building from there works, though.
Options:
-Make yotta not build test targets (preferable)
-Allow yotta to only build a specified target (perhaps a -target <target-name> flag)
-Change yotta just to generate Xcode project files without running a build requiring developers to build in Xcode (eww)
-Ensure any targets have Info.plist files and suitable BundleIdentifiers (unnecessary work IMO)

Is there a way to do this using yotta build -- <build-tool-options>?

Yes:
yotta build -G Xcode -- --target <target-name>

authors: autopulated thegecko

repo: ARMmbed/yotta


text:
Duplicate YAML keys

Our last deployment from develop failed due to duplicate YAML keys:
 while constructing a mapping
  in "<unicode string>", line 62, column 24:
                Condition: !Or
                           ^ (line: 62)
found duplicate key "ArnEquals" with value "OrderedDict([('aws:SourceArn', {'Ref': 'Sentinel2TopicArn'})])" (original value: "OrderedDict([('aws:SourceArn', {'Ref': 'LandsatTopicArn'})])")
  in "<unicode string>", line 65, column 15:
                  ArnEquals:
                  ^ (line: 65)

To suppress this check see:
    http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys

https://github.com/ASFHyP3/its-live-monitoring/actions/runs/8928243403/job/24523366399
which is due to these lines:
https://github.com/ASFHyP3/its-live-monitoring/blob/develop/cloudformation.yml#L62-L66
Likely the condition syntax just needs to be updated

The template change in #70 resulted in a different error:
An error occurred (ValidationError) when calling the CreateChangeSet operation: Template error: Fn::Equals cannot be partially collapsed

https://github.com/ASFHyP3/its-live-monitoring/actions/runs/8955093260/job/24595443565
I suspect we actually want to use an ArnLike IAM condition operator here:
https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN

Fixed in #73 :tada:


text:
🛑 Weather App API is down

In a68ab3a, Weather App API (https://weather-app-backend-y96o.onrender.com/api/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Weather App API is back up in 8c0cb05 after 9 minutes.

repo: ASJordi/website-activity-status


text:
🛑 Weather App API is down

In 323811d, Weather App API (https://weather-app-backend-y96o.onrender.com/api/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Weather App API is back up in d5480f2 after 12 minutes.


text:
[Roadmap] UI design/mockups

Need to start to decide on UI design and possibly get some mockups.

This should be accomplished after styleguide during the development phase as the UI is not necessarily needed right away as tooling is created.

The way I see this occuring is to have a base design paid for once simple things such as colour schemes and logo and stuff sorted out and then tweak it from there based on feedback on github

repo: ATLauncher/ATLauncher-NEXT


text:
Change label for OpsLog UI for Recorded At

Recorded At in the UI doesn't quite align with user expectations with what the field is intended to be.
Thinking it should be renamed to Performed At, but am open to suggestions.

occurred_at

Not advocating changing schema or API - just the label, Occurred At works for me.

I'd advocate changing it everywhere, I think it's more accurate and it's sensible to have a shared language between the front and backend. But, changing the frontend is easy.

I'm open to adding the field, and removing recorded_at from the UI and making it automated.

Ah, that's even better

Also while doing this, please make occurred at auto-populate in the UI with the current timestamp.

@gmr & @in-op  -- I'm going to pick this one up shortly. We have completed_at and recorded_at today. I think that the user expectation is that we have a field that is the occurrence (start?) time that is required where completed_at is optional and assumed to be used for longer running operations. I want to keep recorded_at along side of recorded_by since it is a common audit field throughout the application. It shouldn't be something that the user sees at all.
I completely agree that we should add a field here to represent the time that the event started at and have it default to "now" in the UI. The only paint that remains is what should it be named?  I'm good with occurred_at but I wanted to ask before I start changing code since started_at aligns slightly better with completed_at.
Is everyone cool with:

adding occurred_at to the schema
adding it to the ES index
copying the values from recorded_at to occured_at during table creation

Another option that we can consider is throwing away completed_at altogether though I was sorta surprised when I scanned some data and found that 37% of our rows have a completed_at set with durations ranging from a few seconds to up to 99d.

authors: dave-shawley gmr in-op

repo: AWeber-Imbi/imbi


text:
As a busy university student taking many modules simultaneously, I can make use of the todo list.

To prevent myself from missing important deadlines.

Removed feature.


text:
Minor changes to PPP, added Notes paragraph on UG

as stated

Looks good!


text:
Change behavior of tc/ for edit command

Current behavior involves deleting all tags, possibly change tc/ to only delete all child tags

Current behaviour now detailed in the User Guide