Particular directory name causes crash

for some reason the particular directory name 'unconf' causes atom to throw up with a pathwatcher error:
Error: /Users/mark/github/unconf is a directory
  at new File (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/file.js:30:15)
  at TextBuffer.module.exports.TextBuffer.setPath (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:614:21)
  at new TextBuffer (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:82:14)
  at Function.module.exports.Serializable.deserialize (/Applications/Atom.app/Contents/Resources/app/node_modules/serializable/lib/serializable.js:72:22)
  at DeserializerManager.module.exports.DeserializerManager.deserialize (/Applications/Atom.app/Contents/Resources/app/src/deserializer-manager.js:42:29)
  at /Applications/Atom.app/Contents/Resources/app/src/project.js:84:35
  at Array.map (native)
  at Project.module.exports.Project.deserializeParams (/Applications/Atom.app/Contents/Resources/app/src/project.js:83:39)
  at Function.module.exports.Serializable.deserialize (/Applications/Atom.app/Contents/Resources/app/node_modules/serializable/lib/serializable.js:58:25)
  at DeserializerManager.module.exports.DeserializerManager.deserialize (/Applications/Atom.app/Contents/Resources/app/src/deserializer-manager.js:42:29)
  at Atom.module.exports.Atom.deserializeProject (/Applications/Atom.app/Contents/Resources/app/src/atom.js:300:94)
  at Atom.module.exports.Atom.deserializeEditorWindow (/Applications/Atom.app/Contents/Resources/app/src/atom.js:323:12)
  at Atom.module.exports.Atom.startEditorWindow (/Applications/Atom.app/Contents/Resources/app/src/atom.js:348:12)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-bootstrap.js:14:8)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-bootstrap.js:20:4)
  at Module._compile (module.js:455:26)
  at Object.Module._extensions..js (module.js:473:10)
  at Module.load (/Applications/Atom.app/Contents/Resources/app/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
  at Function.Module._load (module.js:311:12)
  at Module.require (module.js:363:17)
  at require (module.js:379:17)
  at window.onload (file:///Applications/Atom.app/Contents/Resources/app/static/index.js:20:5)

I deleted and recreated the directory multiple times, ensured permissions were right etc. No dice. If I opened atom inside the directory (via the terminal) using the 'atom' command it barfed. I also tried the directory with and without a git repo in it and it made no difference. It's always that EXACT error too, not different for various files inside the directory, regardless of if I open the directory itself or a file inside it.
Any other directory name is fine, anywhere else I create 'unconf' so far seems to be fine too. Very odd :\

+1 just had this problem.

Error: /home/samuel/Documents/Programming/trenni is a directory
  at new File (/usr/share/atom/resources/app/node_modules/pathwatcher/lib/file.js:50:17)
  at TextBuffer.module.exports.TextBuffer.setPath (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:279:21)
  at new TextBuffer (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:100:14)
  at Function.module.exports.Serializable.deserialize (/usr/share/atom/resources/app/node_modules/serializable/lib/serializable.js:72:22)
  at DeserializerManager.module.exports.DeserializerManager.deserialize (/usr/share/atom/resources/app/src/deserializer-manager.js:56:29)
  at /usr/share/atom/resources/app/src/project.js:128:35
  at Array.map (native)
  at Project.module.exports.Project.deserializeParams (/usr/share/atom/resources/app/src/project.js:127:39)
  at Function.module.exports.Serializable.deserialize (/usr/share/atom/resources/app/node_modules/serializable/lib/serializable.js:58:25)
  at DeserializerManager.module.exports.DeserializerManager.deserialize (/usr/share/atom/resources/app/src/deserializer-manager.js:56:29)
  at Atom.module.exports.Atom.deserializeProject (/usr/share/atom/resources/app/src/atom.js:725:52)
  at Atom.module.exports.Atom.deserializeEditorWindow (/usr/share/atom/resources/app/src/atom.js:753:12)
  at Atom.module.exports.Atom.startEditorWindow (/usr/share/atom/resources/app/src/atom.js:603:12)
  at Object.<anonymous> (/usr/share/atom/resources/app/src/window-bootstrap.js:12:8)
  at Object.<anonymous> (/usr/share/atom/resources/app/src/window-bootstrap.js:23:4)
  at Module._compile (module.js:468:26)
  at Object.Module._extensions..js (module.js:486:10)
  at Module.load (/usr/share/atom/resources/app/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
  at Function.Module._load (module.js:318:12)
  at Module.require (module.js:373:17)
  at require (module.js:392:17)
  at window.onload (file:///usr/share/atom/resources/app/static/index.js:66:25)

I updated my instructions for reproducing the issue to be more accurate. It also seems like deleting the directory allows atom to be opened again.

You can also have this issue propogate over to other folders with the following steps:

Use @paulyoung 's steps in your home directory
Open a folder that doesnt exist

@Stephen304 @paulyoung are you able to reproduce this on the latest version of Atom? I tried to use your steps and didn't get an error.
@benogle should https://github.com/atom/atom/pull/5114 have fixed this?

Still an issue for me in Version 0.176.0 (0.176.0).

@paulyoung Can you try upgrading to 0.186 ?

No longer an issue in Version 0.186.0 (0.186.0).
Thanks! :gem:

Great to hear, thanks for the update :+1:


control flow with instanceof not works properly

TypeScript Version:
nightly (1.9.0-dev.20160429)
Code
class AAA {
    fieldA: string;
}

class BBB {
    fieldB: string;
}

class AA {
    data: AAA;
}

class BB {
    data: BBB;
}

class A {
    d: AA;
}

class B {
    d: BB;
}

function main(x: A | B) {
    for (let i of [1, 1]) {
        if (x instanceof A) {
            x.d.data.fieldA;
        } else if (x instanceof B) {
            x.d.data.fieldB; // Not compiles here.
        }
    }
}

Expected behavior:
To access to the fieldB field of BBB class inside of block } else if (x instanceof B) {
Actual behavior:
The compiler raises the follow error: TS2339: Property 'fieldB' does not exist on type 'AAA'..
The behavior in the version 1.8.10 is correct.

I tried to reduce the example to the simplest one possible, that still errored:
class A {
    prop: { a: string };
}

class B {
    prop: { b: string; }
}

declare let x: A | B;

while (true) {
	if (x instanceof A) {
		x.prop.a;
	} else if (x instanceof B) {
		x.prop.b; // property 'b' doesn't exist on type { a: string }
	}
}

If the while enclosure is removed the error doesn't occur (same with for, I only used while for simplicity).

@malibuzios thanks!

Apparently, only it occurs within iterators..

Interestingly, the type inferred within the guard is for x is B and the type inferred for x.prop is also correct:
    } else if (x instanceof B) {
        x; // has type B
        x.prop; // has type { b: string }
        x.prop.b; // property 'b' doesn't exist on type { a: string }
    }


service/header/core_listener: Fix bug where old block headers are spammed to headersub by bridge nodes

Resolves #499.
TODO:

[ ] ensure swamp tests pass
[ ] create swamp test for ensuring no old block headers
[ ] implement subscription for status

If there are still TODOs, can we convert this to draft?

How do you turn it back to draft mode @adlerjohn ?

TestSyncStartStopLightWithBridge is flakey on main branch as well.

Core_listener should still listen for new blocks while bridge node syncing and erasure code them but should not broadcast them yet.

We found an issue with the approach there and after discussing plenty of solutions decided to change the solution here. Specifically, we decided to contribute to the PubSub for a specific feature that would allow us to solve the problem: https://github.com/libp2p/go-libp2p-pubsub/pull/481
We won't wait for it to be accepted as we maintain our own PubSub fork due to #306, so I am cherry-picking the solution now and making an alternative PR. If something is change on main pubsub branch, I will do changes here acrrodingly.

Closed in favour of #549


prevent driver pod from being deleted before its status is processed by the operator (#2054)

🛑 Important:
Please open an issue to discuss significant work before you start. We appreciate your contributions and don't want your efforts to go to waste!
For guidelines on how to contribute, please review the CONTRIBUTING.md document.
Purpose of this PR
The backgroud of this pr is discribed in #2054, driver pod is deleted before it should be use in operator, now the sparkapp state transformation is trigger by list-watch.
For example, if a new sparkapp submit successfully and driver pod has deleted after compeleted status but before operator start handling sparkapp state transformation to SubmittedState, the code is in here getAndUpdateAppState, the function getAndUpdateAppState need to get driver pod but it was deleted, and sparkapp become failed and error message show 'driver pod not found'.
So to add finalier to driver pod to prevent it
Proposed changes:

Add finalizer to driver pod and remove it in suitable time

Change Category
Indicate the type of change by marking the applicable boxes:

[ ] Bugfix (non-breaking change which fixes an issue)
[x] Feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that could affect existing functionality)
[ ] Documentation update

Rationale

Checklist
Before submitting your PR, please review the following:

[x] I have conducted a self-review of my own code.
[x] I have updated documentation accordingly.
[x] I have added tests that prove my changes are effective or that my feature works.
[x] Existing unit tests pass locally with my changes.

Additional Notes

Hi team, I have fix some previous review problem and this code is running fine in local cluster, please help code review again, thanks!


[wrt] Add compatibility test for 64bit support

BUG=https://crosswalk-project.org/jira/browse/XWALK-6235

@Honry @zhuyongyong @qiuzhong  I have no 64bit device, who can help to unit test them.

@haoxli
The dynamicswitch_32bit-arm_embedded_in_64bit-ia_no_runtime case can't pass,
The 32bit-arm app will report "Mismatch of CPU Architecture" in the 64bit IA device with No runtime lib installed.
So the UT result is as follows:
Unit test platform: Crosswalk Project for android 19.48.503.0
Unit test result summary: pass 3, fail 1, block 0

thanks,  @zhuyongyong
Maybe because the 64-bit support feature is not ready.

Abandon this， using https://github.com/crosswalk-project/crosswalk-test-suite/pull/3669 instead


Sails.lower(options, cb) not respecting options.delay

Sails version: 0.12.13
Node version: 6.9.3
NPM version: 3.10.10
Operating system: macOS Sierra

Sails does not respect the options.delay variable.
curl "http://localhost:1337/largeStreamedData"
node app.js then ctl-c

verbose: Lowering sails...
verbose: Shutting down HTTP server...
verbose: Destroying http server...
verbose: HTTP server shut down successfully.
verbose: Lowering sails...

When no request is being made during shutdown, "Destroying http server..." is not printed.
app.js
process.chdir(__dirname);

var sails;
try {
  sails = require('sails');
} catch (e) {
  console.error('Missing sails dependency.');
  return;
}

process.on('SIGINT', function() {
  sails.lower({
    delay: 60000
  }, function (err) {
    console.log('exit');
    process.exit(err ? 1 : 0);
  });
});

sails.lift({
  hooks: {
    grunt: false
  }
});

Update, sails.lower() is getting called twice. The first time it has the options variable, the second time it does not.

Update 2:
lib/app/private/initialize.js
var listeners = {
    sigusr2: function() {
      sails.lower(function() {
        process.kill(process.pid, 'SIGUSR2');
      });
    },
    sigint: function() {
      sails.lower(function (){
        process.exit();
      });
    },
    sigterm: function() {
      sails.lower(function (){
        process.exit();
      });
    },
    exit: function() {
      if (!sails._exiting) {
        sails.lower();
      }
    }
  };

  // Add "beforeShutdown" events
  process.once('SIGUSR2', listeners.sigusr2);

  process.on('SIGINT', listeners.sigint);
  process.on('SIGTERM', listeners.sigterm);
  process.on('exit', listeners.exit);

We need a way to pass a lower delay into the initializer. Unless I am missing something, this design prevents zero downtime deployments of sails. Thoughts on how best to implement this? I am happy to help.

Proposed solution: Allow listeners to be overridden entirely.
lib/app/private/initialize.js
module.exports = function initialize(cb) {

  var sails = this;

  // Callback is optional
  cb = cb || function(err) {
    if (err) { sails.log.error(err); }
  };

  // Indicate that server is starting
  sails.log.verbose('Starting app at ' + sails.config.appPath + '...');

  sails.config.process = sails.config.process || {};

  var listeners = {
    sigusr2: sails.config.process.sigusr2 || function() {
      sails.lower(function() {
        process.kill(process.pid, 'SIGUSR2');
      });
    },
    sigint: sails.config.process.sigint || function() {
      sails.lower(function (){
        process.exit();
      });
    },
    sigterm: sails.config.process.sigterm || function() {
      sails.lower(function (){
        process.exit();
      });
    },
    exit: sails.config.process.exit || function() {
      if (!sails._exiting) {
        sails.lower();
      }
    }
  };

  // Add "beforeShutdown" events
  process.once('SIGUSR2', listeners.sigusr2);

  process.on('SIGINT', listeners.sigint);
  process.on('SIGTERM', listeners.sigterm);
  process.on('exit', listeners.exit);

  sails._processListeners = listeners;

  // Run the app bootstrap
  sails.runBootstrap(function afterBootstrap(err) {
    >>>> Unchanged
  });
};

@fenichelar Thanks for the detailed post.  It makes sense that .lower() is being called twice in your situation, since two separate SIGINT handlers are being bound, both of which call sails.lower(). Your proposed solution makes sense to me, and we'd welcome a PR to the master (v1.0) branch of Sails with a link to this issue and a description of your use case (looks like you want to wait for some long-running requests to finish before quitting Sails?).
I don't think this would make it into v0.12.x -- the delay option isn't even documented in that version -- but a workaround in the meantime would be to just remove and replace all of those listeners in your config/bootstrap.js, e.g.:
process.removeAllListners('SIGINT');
process.on('SIGINT', yourListener);

@sgress454's workaround should also provide some more flexibility re https://github.com/balderdashy/sails/issues/3693  (cc @benbuckman)


Worker landing page

Description of changes
Fixed inline styling and listing issues with worker landing page

just some merge conflicts, but once you have dealt with those lgtm


Sonarr Calendar page:  Unaired and 3 other categories are not showing correctly in dark theme

Using the theme.park with Sonarr via docker_mods (DOCKER_MODS=ghcr.io/gilbn/theme.park:sonarr).  A couple of weeks (months?) ago the Calendar page has been messed up with Unaired episodes showing bright vertical pinstripes.  See screengrab below.  This also seems to happen for 3 other calendar categories:  "unmonitored", "currently airing", and "aired but missing from disk".  Categories "downloading" and "downloaded" appear to work OK.
Expected behavior:  Episodes in those categories are shown normally like they appear as Downloaded or Downloading.

Disable colored impared mode


The cropper don't work on mobile and tablet web

I have used the cropper for my web application but when i open it with mobile and try to crop and image it will show a white image,
i'm using the latest version crop_image: ^1.0.11 at the moment.
i'm using this code:
final bitmap = await controller.croppedBitmap();
await bitmap.toByteData()

Flutter Doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.9, on macOS 11.7.10 20G1427 darwin-x64, locale en)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 13.0)
    ✗ Flutter requires Xcode 14 or higher.
      Download the latest version or update via the Mac App Store.
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.83.1)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 2 categories.

Facing Same issue

Any chance you use the old HTML renderer instead of the newer CanvasKit?


[Feature]: Wow Classic or all Versions - Option to Hide Gold in bags

Describe the feature
I play GDKP in old Classic Era
( kinda works cos everyone 10 th alt OR dad gamers )
Be nice to hide gold because I stream in discord. And saving for End game items.
Describe the implementation
A button to hide it easily or mouse ova or something.

Would be awesome, i didn't want to show gold in bags, and i could disable it on adibags, here i can't, can't even hide silver or bronze coin. Took so much space for nothing.


Exception when cleaning up ThreadLocalStore learner when using Cuda

Using VS 17.5.3 and the C API with branch release_2.0.0
Creating a "worker thread" to fit a model using XGBoosterUpdateOneIter() and using the option XGBoosterSetParam(booster, "device", "cuda");.  When worker thread exits, I get a dmlc::Error exception with this call stack:
 	xgboost.dll!dmlc::LogMessageFatal::~LogMessageFatal() Line 428	C++
 	xgboost.dll!dh::ThrowOnCudaError(enum cudaError,char const *,int)	C++
 	xgboost.dll!xgboost::HostDeviceVectorImpl<float>::SetDevice(void)	C++
 	xgboost.dll!xgboost::HostDeviceVectorImpl<float>::`scalar deleting destructor'(unsigned int)	C++
 	xgboost.dll!xgboost::HostDeviceVector<float>::~HostDeviceVector<float>(void)	C++
 	xgboost.dll!xgboost::XGBAPIThreadLocalEntry::~XGBAPIThreadLocalEntry()	C++
 	xgboost.dll!std::_Tree_val<std::_Tree_simple_types<std::pair<xgboost::Learner const * const,xgboost::XGBAPIThreadLocalEntry>>>::_Erase_tree<std::allocator<std::_Tree_node<std::pair<xgboost::Learner const * const,xgboost::XGBAPIThreadLocalEntry>,void *>>>(std::allocator<std::_Tree_node<std::pair<xgboost::Learner const * const,xgboost::XGBAPIThreadLocalEntry>,void *>> & _Al, std::_Tree_node<std::pair<xgboost::Learner const * const,xgboost::XGBAPIThreadLocalEntry>,void *> * _Rootnode) Line 747	C++
 	[Inline Frame] xgboost.dll!std::_Tree_val<std::_Tree_simple_types<std::pair<xgboost::Learner const * const,xgboost::XGBAPIThreadLocalEntry>>>::_Erase_head(std::allocator<std::_Tree_node<std::pair<xgboost::Learner const * const,xgboost::XGBAPIThreadLocalEntry>,void *>> &) Line 754	C++
 	[Inline Frame] xgboost.dll!std::_Tree<std::_Tmap_traits<xgboost::Learner const *,xgboost::XGBAPIThreadLocalEntry,std::less<xgboost::Learner const *>,std::allocator<std::pair<xgboost::Learner const * const,xgboost::XGBAPIThreadLocalEntry>>,0>>::{dtor}() Line 1081	C++
 	xgboost.dll!`dmlc::ThreadLocalStore<std::map<xgboost::Learner const *,xgboost::XGBAPIThreadLocalEntry,std::less<xgboost::Learner const *>,std::allocator<std::pair<xgboost::Learner const * const,xgboost::XGBAPIThreadLocalEntry>>>>::Get'::`2'::`dynamic atexit destructor for 'inst''()	C++
 	xgboost.dll!__dyn_tls_dtor(void * __formal, const unsigned long dwReason, void * __formal) Line 119	C++

I do not get this exception when I use the cpu device version.

Could you please share the error message? Also, how does the worker thread exit, is the OS reclaiming the thread or are you joining the thread yourself?

[09:06:21] C:\eclwork\Source\3rdParty\xgboost\xgboost\src\common\common.h:45: C:\eclwork\Source\3rdParty\xgboost\xgboost\src\common\host_device_vector.cu: 264: cudaErrorInitializationError: initialization error

It looks like that calling XGBoosterPredictFromDMatrix() is what is triggering this condition.
The worker thread is a normal std::thread and join() is being called by the main thread after the thread is signaled to return.
Functions are called in this order:
XGDMatrixCreateFromCallback() //training data Xy
XGDMatrixCreateFromCallback() //test data XyTest

callbacks are using:
XGProxyDMatrixSetDataDense()
XGDMatrixSetDenseInfo() // setting "label"

The rest of the calls
XGBoosterCreate() // cache of Xy and XyTest
XGBoosterSetParam() //multiple calls
for () {
   XGBoosterUpdateOneIter() // Xy
   XGBoosterEvalOneIter()
}
XGDMatrixFree(Xy)
XGBoosterPredictFromDMatrix() //XyTest
XGDMatrixGetFloatInfo(XyTest, "label"...)
XGDMatrixFree(XyTest)

Thread returns and main thread takes ownership of the BoosterHandle

Unfortunately, I don't quite understand the cause of this at the moment. I don't use Windows myself. Based on the error message, my guess is that during the destruction of the thread's local memory, the cuda runtime context is destroyed by the system before XGBoost can free up its device memory.
If my guess is correct, then we will have to invent a new predict function that returns a memory handle and ask the users to manage the returned prediction buffer.


fix affected rows conversoin bug when the number of row is large

related issue
https://github.com/40t/go-sniffer/issues/29
https://github.com/40t/go-sniffer/issues/16 ?
how to reproduce error
execute query which affected rows is over 2 byte-integer
<EMAIL_ADDRESS>[sbtest] > desc sbtest1;
+-------+-----------+------+-----+---------+----------------+
| Field | Type      | Null | Key | Default | Extra          |
+-------+-----------+------+-----+---------+----------------+
| id    | int(11)   | NO   | PRI | NULL    | auto_increment |
| c     | char(120) | NO   |     |         |                |
+-------+-----------+------+-----+---------+----------------+
4 rows in set (0.00 sec)

<EMAIL_ADDRESS>[sbtest] > update sbtest1 set c='fuga' where id<100000;
Query OK, 99999 rows affected (0.24 sec)
Rows matched: 99999  Changed: 99999  Warnings: 0

Note
the type of 'affected rows' is packet-Protocol::LengthEncodedInteger, LengthEncodedInt is appropriate
refs.
https://dev.mysql.com/doc/internals/en/integer.html#packet-Protocol::LengthEncodedInteger
https://dev.mysql.com/doc/internals/en/packet-OK_Packet.html

@40t I'm glad if you take a look! thanks.

thx ^_^


Update vis-inventwo to 2.5.11

RE-CHECK!

Automated adapter checker
ioBroker.vis-inventwo

[ ] :heavy_exclamation_mark: [E112] extIcon must be the same as an icon but with github path

Add comment "RE-CHECK!" to start check anew


chore(share_plus): Workaround for failing integration tests

Description
This is the workaround that I mentioned during one of discussions. Found it here: https://github.com/flutter/flutter/issues/105913#issuecomment-1451585766
As build happens for integration tests anyway I think it makes no sense to build the app in a separate job, I believe, as ше ші just a waste of resources. Also, the drawback of this is that we won't be able to use M1 machine for this job till the issue with emulators which I mentioned in one of comments there is resolved.
In case it works I will open a similar PR for other plugins.

No, this is wrong. But un fact I found an error already. I will apply some changes later.


False positive of no-import-module-exports on module property imported from package

Similar to #2181, I'm seeing a false positive when using qunit with ember.
qunit exports a module property that allows tests to be grouped under a module. It also has module.only(), module.skip(), and module.todo() methods that apply behaviour to all tests in that module.
import { module, test } from 'qunit'

module.skip('A module to test', function () {
  test('A test', function () {
    ...
  })
})

The no-import-modules-exports is reporting these methods as errors.

Fixed by #2315.


Plugin doesn't receive any events when third party library is bundled into jar

Hi there,
I can't find it in the docs and I haven't found an issue in here, so I am filing one here. I am rebuilding an sponge plugin with an external library. So I build a jarFile with the gradle plugin named shadowJar, which worked great with bukkit, but sponge doesn't like that as it seems.
I subscribed to the PreInitializationEvent, but the StatusPlugin class doesn't receive anything. Whenever I remove the dependency and disable the shadowJar plugin the plugin will be loaded and all events are received.
As you can see in the log file the plugin is loaded, and the events are sent, but as you can see in the log file too, there is no trace of my custom log statements. You can look at the plugins code here: http://github.com/bukkiteers/status.
I am happy to receive anything that would lead me into the right direction. :smile:

As you can see in the log file

Can you please include the relevant log.

Sorry, I forgot to paste the link to the gist. I couldn't paste it in here
cause it was to large. Here it is:
https://gist.github.com/gr4y/5860496116a17e5fc168
Sent with AquaMail for Android
http://www.aqua-mail.com
On June 22, 2015 12:04:16 Mumfrey<EMAIL_ADDRESS>wrote:

As you can see in the log file

Can you please include the relevant log.

Reply to this email directly or view it on GitHub:
https://github.com/SpongePowered/Sponge/issues/297#issuecomment-114056551

You've imported the wrong @Subscribe annotation. See StatusPlugin:7

import com.google.common.eventbus.Subscribe;

It should be org.spongepowered.api.event.Subscribe

I just have a glowing desire to run head first into a brick wall. Thank you @modwizcode!

I just closed the issue, @simon816 is the one who found the problem, thank him.

Thanks @simon816, a thousand times. I just added an checkstyle rule to prevent that error in the future. https://github.com/bukkiteers/status/commit/8129746926540b7fdc932fd6ee60b4f298684109


Python3.8 wheels not currently available?

I've been trying to install Kivy on Windows10 via the command prompt with Python 3.8 and after a bunch of trouble shooting it seems the wheels are not available for Python 3.8. Any chance these can be made available?

Until appveyor makes them available, we cannot make 3.8 wheels (https://www.appveyor.com/docs/windows-images-software/#python). Also, python 3.8 is still in alpha.

Hi.
Did I read that it is now supported ?

Yes, it's resolved now.


Could not install from npm

It seems like 'cerebral-view-angular2' is not in the npm registry yet?
https://www.npmjs.com/search?q=cerebral-view-angular2

Its being worked on :-)

Will patiently be waiting... :grin:

Package is published on npm. Enjoy!

Thanks for the effort, guys! :beers:


[stable/redis] Fix README password typo

What this PR does / why we need it:
Just a small typo fix on stable/redis README. We have --set redisPassword=.. instead of --set password=..

Thanks for the contribution, before continue, you need to sign the CLA, also you should increment the chart version in the Chart.yml according to semver:

Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards-compatible manner, and
PATCH version when you make backwards-compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

Thanks for the prompt response @carrodher. done

/ok-to-test

/lgtm


winafl_cmin.py stuck at [*] Testing the target binary

Hi team!
I'm having an issue trying to minify my corpus with winafl_cmin.py (WinAfl compiled with DRIO 9.0.1).
The script just stuck at: [*] Testing the target binary
This can be seen in the following image:

Any ideas of why this could be happening?

Hi, in order to have some idea what's going on, could you

share your debug log (from running in -debug mode, as described in the documentation), together with the command line you used to run it.
post the command line you are using for afl-fuzz.exe.

I have that problem too
my cmd line:
C:\Users\alexk\OneDrive\Desktop\fuzzing\my_own\winafl\winafl-cmin.py -v -i C:\Users\alexk\OneDrive\Desktop\fuzzing\testcases -o out -D C:\Users\alexk\OneDrive\Desktop\fuzzing\DynamoRIO\bin32 -covtype bb -coverage_module php7ts.dll -coverage_module php.exe -target_module php.exe -t 1000 -target_offset 0x1060 -nargs 2 -- C:\Users\alexk\OneDrive\Desktop\fuzzing\php\php.exe @@

check application bit depth:
cd C:\Program Files (x86)\7-Zip
7z.exe l [target application] | findstr CPU
If you did everything right, try to recompile WinAFL and DinamoRIO on computer where you are doing the minimization


Add BabylonJS animation controls

Similar to #86 for ThreeJS.
I've found a number of Babylon tutorials that demonstrate how to programmatically create and control scene-level animations.  But for this issue, I need to get the list of animations defined in a glTF that has been loaded into the Babylon scene, and be able to start, stop/reset, and re-start those animations.
@bghgary is there documentation for this that I've overlooked?

I need to update the documentation. The glTF animations correspond to animationGroups in Babylon. I recently added a callback for animationGroups to the loader (onAnimationGroupLoaded). Let me know if you need help hooking it up. You should set animation start mode to none so that you can start the animation group that you want.

Look at the playgrounds in https://doc.babylonjs.com/how_to/group for animationGroup usage.


Visualizing e-graphs with graphviz

At some point in the development process there was a backend that allowed an e-graph to be rendered as a graphviz graph.
This was imensely useful until I started bumping into some bugs with the original implementation, which made it less useful.
Unfortunately it fell out of date during the evolution of the project, so it no longer compiles (Data.Equality.Graph.Dot, that is conditionally compiled when using -f+vizdot)
I think we should rewrite this backend, as it can be imensely useful for users debugging their e-graphs and representations.

I tried cabal build -f vizdot and currently run into the problem documented here https://github.com/ivan-m/graphviz/issues/54 (with GHC 9.4.5) Maybe graphviz needs to first be fixed upstream?

Ok, I'll pick this up and get it working again, since I also find it super useful for debugging :)

Thanks David, I'm happy to hear so. It might be useful to look at the egg rust implementation of graphviz implementation, as they have already figured some of it out.
(I'm also curious about what you're working on, but we'll get the chance to talk about it at the end of the week, hopefully 😉)


Add JustList: {LGF}

Checklist

[x] I understand that this is not the place to request a token listing.
[x] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[x] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL: https://github.com/Legdndaryfinance/legendary-finance-list/blob/main/LGF.list
JustList Name:LGF-Just list
Link to the official homepage of the JustList manager:https://legendaryfinance.org

Thanks for reaching out.
We are currently very tight on development resources and adding new lists on a case-by-case basis.
If timing is a key issue for you, we recommend you join the existing community SUNSWAP list, for example: Tron Alliance List: https://github.com/listtronalliance/tronalliance.
Thanks.

@jz2120100058
It's a little confusing. Please tell me the right way.

Hello, Legdndaryfinance,I hope you have a good day.
There are two caveats：1. The format of token list is wrong.2.You can submit new issue at Tron Alliance List: https://github.com/listtronalliance/tronalliance.
Finally, thank you again for your application.

Thank you,I requart new issue .
On Wed, Mar 23, 2022, 9:21 AM jerry @.***> wrote:

Hello, Legdndaryfinance,I hope you have a good day.
There are two caveats：1. The format of token list is wrong.2.You can
submit new issue at Tron Alliance List:
https://github.com/listtronalliance/tronalliance.
Finally, thank you again for your application.
—
Reply to this email directly, view it on GitHub
https://github.com/justswaporg/justlists/issues/2649#issuecomment-1075860991,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXQTOKYPOMVIDYZO5MP4YZLVBKBLHANCNFSM5RHSRBJA
.
You are receiving this because you commented.Message ID:
@.***>


Aggregation schema design for period and buckets

Pulse Version
Latest
Laravel Version
Latest
PHP Version
Latest
Livewire Version
Latest
Database Driver & Version
No response
Description
Hi, I’m hoping that @jessarcher might be able to assist with this given that the behind the scenes for Pulse has been released on YouTube.
I’m trying to aggregate data in my application by day, hour and minute. I have three tables, one for daily aggregates, one for hourly and one for minutely.
The schema in each table is identical where there’s a unique index across several foreign id columns that link to other models, followed by an integer stat column, for example, “total_leads” and a date time column, where in each table this date time column would look like:

Daily table: 2024-01-01
Hourly table: 2024-01-01 13:00:00
Minutely table: 2024-01-01 13:01:00

The idea is that there would be one for for the day table, up to 24 rows for the hour table, and 1440 rows for the minute table.
each table is using ‘firstOrCreate’ to get the unique row and increment the data.
But found the problem that when filtering a complex UI that has a datetime picker “from” and “to” that it wouldn’t be able to sum rows across tables, for instance when going slightly over a window, like 13:00:00 to 14:05:00
Steps To Reproduce
I’m trying to fully understand then whether, in Pulse’s case, is this why everything is stored in the aggregates table, and the period column grabs all periods whereby the current datetime matches N, and how the timestamp is used with this and why not just a datetime used?
any advice / guidance?

Hi there,
Thanks for reporting the problem you are encountering, but it looks like this is a question which may be better suited for a support channel. We only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repository you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.


How to suspend casperjs's execution

How to suspend casperjs's execution, and then let the user input someting, and then continue the execution.
Such as the login process:
1、www.bar.com
2、www.bar.com/login
3、download the captcha and send it to the user
4、suspend  and wait for the user inputs
5、 continue the process with user inputs  (how to)
Just like Selenium, keep a WebDriver instance .
In fact, the question is how to keep a same casper instance in two or more different files.

Since it's based on phantomjs, which is headless, you will never see a ui to manually insert something..

I know that phantomjs is headless.Sorry for my poor engilsh.
I mean that if I can keep a same casperjs instance or not.
I  have two js file, bar.js and foo.js . I init the caseper in bar.js and then visit some website, my problem is that whether I can use the caseper in foo.js and continue the visiting , because I have to fill the captcha, before I can fill it, I have to download the captcha image.

You might want to look at #1513
As part of a cleanup effort:
Looks to be a stale help request. Assuming you've moved on to better and cooler things.  Please feel free to re-open if this is still an active issue for you and we'll try our best to help out.


strip_magic.py --> 3.0

Should this be updated to MagIC 3.0?

Can't upgrade the data file to get a comparison with 2.5:
https://github.com/earthref/MagIC/issues/342


Fix parsing local storage, fixes #96

@ernado-x i couldn't reproduce this error, but this should fix it, test it out

Problem gone for me. Thank you!


[BUG] contributor page

Description
in contributor page join us here button text inside the button is not aligned in center
Expected behaviour
we can align it in center
Screenshots/Video

Additional context
.
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I will work on this issue (optional)
[X] I am a GSSoC'23 contributor

please assign me this issue @AshutoshDash1999

please assign me this issue @AshutoshDash1999


pythonPackages.greenlet: 2.0.2 -> 3.0.0

Description of changes
https://github.com/python-greenlet/greenlet/blob/3.0.0/CHANGES.rst
https://github.com/python-greenlet/greenlet/compare/2.0.2...3.0.0
I switched over to fetchFromGitHub, as there are no source archives on PyPI as of now.
See https://github.com/python-greenlet/greenlet/issues/371
This release fixes compatibility with Python 3.12
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

@ofborg eval

https://github.com/NixOS/nixpkgs/pull/264037


Bug Report: Notes can't be placed correctly on Change BPM sections

Please check for duplicates or similar issues, as well performing simple troubleshooting steps (such as deleting the YoshiCrafter29 folder from AppData) before submitting an issue.
If you're using an older version of the engine, check if the bug haven't been already fixed
PS : the "everything goes black while changing state in developer mode bug" is not a bug, it's been designed this way to refresh all bitmaps between states to allow easier modding.
Which target are you using?
I am using Windows.
What version of the engine are you using (Bottom left of the screen in main menu) ?
2.0.2
Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.
Make a section change BPM and try to place notes
Please describe your issue. Provide extensive detail and images if possible.
I am currently trying to chart a song but i am unable to finish the chart correctly because a bug happens where if you try to place notes on a change bpm section, they all become really long sustains with just a single click (I don't think you can change the length of them either)
https://user-images.githubusercontent.com/49110074/180519474-99e5fde0-78a9-49b2-b78d-f199cacc9d53.mp4

Fixed

Fixed

well you see
https://user-images.githubusercontent.com/49110074/180849770-5d3fd1c7-ce33-4934-a2b2-3797dec85357.mp4


Swarm DFP with multiple ports (443 & 5601)

I'm running within docker swarm the DFP with SSL configured via port 443 and trying to then also add it to be a reverse proxy for Kibana and serve on port 5601 using SSL. The sites work fine with HTTPS on port 443 but Kibana gives an SSL error but works fine using HTTP on port 5601. Can you see my configuration below what I might be missing? It would be preferable to make this work so Kibana is also served over SSL.
Docker Flow Proxy Configuration:
docker service create
--name proxy
-p 443:443
-p 5601:5601
--network proxy
--detach=true
--constraint 'node.role==manager'
-e MODE=swarm
-e LISTENER_ADDRESS=swarm-listener
-e BIND_PORTS=443,5601
-e DEBUG=true
vfarcic/docker-flow-proxy
docker service update --secret-add my-ssl-cert.pem proxy
Service configuration:
kibana:
image: docker.elastic.co/kibana/kibana:6.2.3
networks:
- logging_nw
- proxy
environment:
- xpack.security.enabled=false
- ELASTICSEARCH_URL=http://elasticsearch:9200
volumes:
- ./Kibana/kibana.yml:/etc/kibana/kibana.yml
deploy:
labels:
- com.df.aclName=proxyPriority
- com.df.notify=true
- com.df.distribute=true
- com.df.servicePath=/,/api
- com.df.port=5601
- com.df.srcPort=5601
- com.df.serviceDomainAlgo=hdr_beg(host)
- com.df.serviceDomain=mysite.com
When trying to access: https://mysite.com:5601 this is the error:

This is the error shown in the DFP container log:
proxy.1.tra4znro1bib@myserver    | 2018/04/01 09:52:38 HAPRoxy: <IP_ADDRESS>:53603 [01/Apr/2018:09:52:38.689] services services/ -1/-1/-1/-1/0 400 658 - - PR-- 2/2/0/0/0 0/0 ""
proxy.1.tra4znro1bib@myserver    | 2018/04/01 09:52:38 HAPRoxy: <IP_ADDRESS>:53602 [01/Apr/2018:09:52:38.689] services services/ -1/-1/-1/-1/0 400 658 - - PR-- 1/1/0/0/0 0/0 ""
When accessing http://mysite.com:5601 the site works fine
Ideally in the long run I want kibana to be served on /kibana along with the other sites but it doesn't seem to work properly within Kabana as even using the server.basePath="/kibana" and setting up the mappings in the service labels which I've logged a separate ticket for: https://discuss.elastic.co/t/kibana-6-2-3-behind-reverse-proxy-with-sub-folder/126294
Thanks in advance!
Br, Mason

Can you please post the full stack (with ES). That way I can reproduce is as-is in my cluster.

Hi Viktor,
Here is the contents of the ELK stack compose file:
version: "3.3"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.2.3
environment:
- cluster.name=docker-es-cluster
- xpack.security.enabled=false
- ES_JAVA_OPTS=-Xms512m -Xmx512m
- TZ=Europe/Helsinki
networks:
- logging_nw
deploy:
resources:
reservations:
memory: 1000M
limits:
memory: 1500M
elasticsearch2:
image: docker.elastic.co/elasticsearch/elasticsearch:6.2.3
environment:
- cluster.name=docker-es-cluster
- xpack.security.enabled=false
- ES_JAVA_OPTS=-Xms512m -Xmx512m
- TZ=Europe/Helsinki
- discovery.zen.ping.unicast.hosts=elasticsearch
deploy:
resources:
reservations:
memory: 1000M
limits:
memory: 1500M
networks:
- logging_nw
logstash:
image: docker.elastic.co/logstash/logstash-oss:6.2.3
volumes:
- ./LogstashConfigFiles:/usr/share/logstash/pipeline:ro
- /etc/localtime:/etc/localtime
environment:
LS_JAVA_OPTS: "-Xmx256m -Xms256m"
networks:
- logging_nw
depends_on:
- elasticsearch
vnext-backend-beats-logfilereader:
image: docker.elastic.co/beats/filebeat:6.2.3
volumes:
- ./FileBeatConfigFiles/app-backend.yml:/usr/share/filebeat/filebeat.yml:ro
- backend-kestrel-logs-vol:/var/log/app-backend
- /etc/localtime:/etc/localtime
networks:
- logging_nw
depends_on:
- logstash
- elasticsearch
kibana:
image: docker.elastic.co/kibana/kibana:6.2.3
networks:
- logging_nw
- proxy
environment:
- xpack.security.enabled=false
- ELASTICSEARCH_URL=http://elasticsearch:9200
volumes:
- ./Kibana/kibana.yml:/etc/kibana/kibana.yml
deploy:
labels:
- com.df.aclName=proxyPriority
- com.df.notify=true
- com.df.distribute=true
- com.df.servicePath=/,/api
- com.df.port=5601
- com.df.srcPort=5601
- com.df.serviceDomainAlgo=hdr_beg(host)
- com.df.serviceDomain=mysite.com
networks:
proxy:
external: true
logging_nw:
volumes:
backend-kestrel-logs-vol:
external: true
The docker service definition for our web application (below) that we have running already accessible on :443 is an internal angular app hosted on nginx. (I've only replaced confidential internal names/values/IP).
The app is served ok with SSL with no errors, just having problems to get Kibana from the ELK stack working on :5601 using SSL or (preferably) to get it running under a virtual folder like /kibana. I'm using the server.basePath="/kibana" value from their documentation but the content is still being served such that various components using the URL /bundles/.. etc when they should be from /kibana/bundles/... to work through the reverse proxy.
docker service create
--name myapp-admin-test
--network proxy
--label com.df.aclName='proxyPriorityB'
--label com.df.notify=true
--label com.df.distribute=true
--label com.df.serviceDomain=mysite.com
--label com.df.servicePath=/admin
--label com.df.reqPathSearch=/admin
--label com.df.reqPathReplace=/
--label com.df.port=80
<IP_ADDRESS>:8098/myapp-admin:208

Can you post your kibana.yml file as well?

kibana.yml content:
server.port: 5601
server.host: "<IP_ADDRESS>"
#server.basePath: "/kibana"
elasticsearch.url: http://elasticsearch:9200

Logstash configuration file content. Designed to process logs from kestral with serilog
input {
beats {
port => 5044
}
}
filter {
grok {
match => { "message" => "%{TIMESTAMP_ISO8601:event_timestamp} (+-:[0-5][0-9]) [%{LOGLEVEL:loglevel}] %{GREEDYDATA:message}" }
overwrite => ["message"]
}
}
output {
elasticsearch {
hosts => "elasticsearch:9200"
index => "%{[fields][appsource]}-%{+dd.MM.YYYY}"
manage_template => false
}
stdout {
codec => rubydebug
}
}

The project moved to https://github.com/docker-flow/docker-flow-proxy. Please recreate the issue there if it's still valid.


Multiprocessing process based parallelization fails on 2nd generation of NSGA-II -> pymoo 0.6.0

I am trying to execute the following moo using an NSGA-II algorithm and parallelized using the multiprocessing starmap. This problem previously worked with the 0.5.0 implementation of parallelization.

pool = multiprocessing.Pool(n_proccess)
runner = StarmapParallelization(pool.starmap)

 problem = myproblem.(
    elementwise_runner=runner,
)

algorithm = NSGA2(
    pop_size= 10
    n_offsprings=2
    sampling=MixedVariableSampling(),
    mating=MixedVariableMating(
        eliminate_duplicates=MixedVariableDuplicateElimination()
    ),
    eliminate_duplicates=MixedVariableDuplicateElimination(),
)

results = minimize(
    problem,
    algorithm,
    termination=("n_gen", 10),
    seed=1,
    save_history=True,
    verbose=True,
)

I receive the following error:
Traceback (most recent call last):
  File "c:/Users/first.last/Documents/mypkg/src/my_module/__main__.py", line 128, in optimizer
    results = minimize(
  File "C:\Users\first.last\Documents\mypkg\.venv\lib\site-packages\pymoo\optimize.py", line 67, in minimize
    res = algorithm.run()
  File "C:\Users\first.last\Documents\mypkg Gears\.venv\lib\site-packages\pymoo\core\algorithm.py", line 141, in run
    self.next()
  File "C:\Users\first.last\Documents\mypkg\.venv\lib\site-packages\pymoo\core\algorithm.py", line 161, in next
    self.evaluator.eval(self.problem, infills, algorithm=self)
  File "C:\Users\first.last\Documents\mypkg\.venv\lib\site-packages\pymoo\core\evaluator.py", line 84, in eval
    self._eval(problem, pop[I], evaluate_values_of, **kwargs)
  File "C:\Users\first.last\Documents\mypkg\.venv\lib\site-packages\pymoo\core\evaluator.py", line 105, in _eval
    out = problem.evaluate(
  File "C:\Users\first.last\Documents\mypkg\.venv\lib\site-packages\pymoo\core\problem.py", line 190, in evaluate
    _out = self.do(X, return_values_of, *args, **kwargs)
  File "C:\Users\first.last\Documents\mypkg\.venv\lib\site-packages\pymoo\core\problem.py", line 230, in do
    self._evaluate_elementwise(X, out, *args, **kwargs)
  File "C:\Users\first.last\Documents\mypkg\.venv\lib\site-packages\pymoo\core\problem.py", line 248, in _evaluate_elementwise
    elems = self.elementwise_runner(f, X)
  File "C:\Users\first.last\Documents\mypkg\.venv\lib\site-packages\pymoo\core\problem.py", line 34, in __call__
    return list(self.starmap(f, [[x] for x in X]))
  File "C:\Users\first.last\AppData\Local\Programs\Python\Python38\lib\multiprocessing\pool.py", line 372, in starmap
    return self._map_async(func, iterable, starmapstar, chunksize).get()
  File "C:\Users\first.last\AppData\Local\Programs\Python\Python38\lib\multiprocessing\pool.py", line 771, in get
    raise self._value
  File "C:\Users\first.last\AppData\Local\Programs\Python\Python38\lib\multiprocessing\pool.py", line 537, in _handle_tasks
    put(task)
  File "C:\Users\first.last\AppData\Local\Programs\Python\Python38\lib\multiprocessing\connection.py", line 206, in send
    self._send_bytes(_ForkingPickler.dumps(obj))
  File "C:\Users\first.last\AppData\Local\Programs\Python\Python38\lib\multiprocessing\reduction.py", line 51, in dumps
    cls(buf, protocol).dump(obj)
  File "C:\Users\first.last\Documents\mypkg\.venv\lib\site-packages\pymoo\core\problem.py", line 38, in __getstate__
    state.pop("starmap")
KeyError: 'starmap'

The error can be cleared by modifying this code in the pymoo/core/problem.py file
from:
class StarmapParallelization:
    def __init__(self, starmap) -> None:
        super().__init__()
        self.starmap = starmap

    def __call__(self, f, X):
        return list(self.starmap(f, [[x] for x in X]))

    def __getstate__(self):
        state = self.__dict__.copy()
        state.pop("starmap")
        return state

to:
class StarmapParallelization:
    def __init__(self, starmap) -> None:
        super().__init__()
        self.starmap = starmap

    def __call__(self, f, X):
        return list(self.starmap(f, [[x] for x in X]))

    def __getstate__(self):
        state = self.__dict__.copy()
        state.pop("starmap",None)
        return state

This provides a default value fro the state.pop() call in the getstate method

I have met the same error. Is this error going to be fixed in future versions?

It will be fixed in the next version: <IP_ADDRESS>

I have released the new version. Please let me know if it is fixed now.

I can confirm that version <IP_ADDRESS> solves the issue.


Update Pipfile

Future versions of bitarray don't have the .length method, so the code breaks.

Instead of pinning the bitarray dependency to an older version, I pushed a commit that instead stops using the length method altogether and simply switches to len so newer versions work (and I also pinned the working version now). Thank you for bringing this up!

No problem. Just an issue I came across when trying to use the library.
That’s for being so responsive.
On Fri, May 14, 2021 at 6:03 PM Tim van der Meij @.***>
wrote:

Instead of pinning the bitarray dependency to an older version, I pushed
a commit that instead stops using the length method altogether and simply
switches to len so newer versions work (and I also pinned the working
version now). Thank you for bringing this up!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/timvandermeij/md5.py/pull/1#issuecomment-841524963,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEZL4XYBFOYJXRCWLOWWU4LTNWM47ANCNFSM443TM4KQ
.

--
-- Curtis Lamp


Laravel 9 support

Add Laravel 9 support

@sileence please review. I will wait for your response.

@sileence when are we getting Laravel 9 support?

ernestoliberio Trust you're doing great. @stephenjude Had some cool PR fix for Laravel 9 support. We can't wait to get enlightened.

thanks @stephenjude


Error of rlscheduler when tuning pytorch model

Hi,
I've successfully tuned pytorch model on MNIST just as the tutorial does. However, when I want to change the scheduler from basic ones to RLscheduler, I have the key error of 'choice'.
Here is my code, by the way, I have changed the space into Categorical.
searcher = RLSearcher(ag_train_mnist.kwspaces)
myscheduler = ag.scheduler.RLScheduler(
ag_train_mnist,
searcher = searcher,
resource={'num_cpus': 1, 'num_gpus': 1},
num_trials=300,
reward_attr='accuracy',
controller_batch_size=4,
controller_lr=5e-3)
myscheduler.run()
myscheduler.join_jobs()
And this is the error traceback:
Traceback (most recent call last):
File "/home/rl253/anaconda3/envs/autogluon/lib/python3.7/site-packages/autogluon/core/utils/custom_process.py", line 16, in run
mp.Process.run(self)
File "/home/rl253/anaconda3/envs/autogluon/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "/home/rl253/anaconda3/envs/autogluon/lib/python3.7/site-packages/autogluon/core/scheduler/jobs.py", line 60, in _worker
ret = fn(**args)
File "/home/rl253/anaconda3/envs/autogluon/lib/python3.7/site-packages/autogluon/core/decorator.py", line 54, in call
args = sample_config(args, new_config)
File "/home/rl253/anaconda3/envs/autogluon/lib/python3.7/site-packages/autogluon/core/decorator.py", line 34, in sample_config
args_dict[k] = v.sample(**sub_config)
File "/home/rl253/anaconda3/envs/autogluon/lib/python3.7/site-packages/autogluon/core/decorator.py", line 279, in sample
kwargs[k] = kwspaces[k].sample(**sub_config)
File "/home/rl253/anaconda3/envs/autogluon/lib/python3.7/site-packages/autogluon/core/space.py", line 377, in sample
choice = config.pop('choice')
KeyError: 'choice'
NoneType: None
May I ask whether there exists a bug or I use the API wrong? Thank you for your help!

@mseeger Perhaps you could answer this?

Closing as we are removing RLScheduler in v0.4 as part of an HPO overhaul.


"Run at startup" option/setting

I like that Brancato doesn't run at startup by default, but I think it'd be a great idea to allow someone to opt-in to startup behavior.

Pretty sure this involves setting some WiX fragments manually, so going to wait for a little community feedback.

https://crates.io/crates/auto-launch

For reference: https://github.com/zzzgydi/clash-verge/blob/b2a24c7abd82f4650ec3ec873b742219169310de/src-tauri/src/core/verge.rs#L73


Fix sbt command for namerd-main

The command should use a slash to indicate a task within a project.

Good catch!  I think we can remove this command altogether since it doesn't bundle up the namerd plugins and therefore isn't very useful.

:star:


Add a comparaision with n4381

n4381- Suggested Design for Customization Points [1] uses two layers and overload instead of Tags.
It will be great if we can find a comparison on the rationale.
See #144
[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4381.html

You are right that this would be the correct thing to do, but it's slightly out of scope for Hana and it would be better handled by a separate paper/blog post. But I really don't have time for that.

No problem. It was just an idea to improve the understanding of the Hana design. You can close it.

I'll close this, but please let me know if you ever write something about that (paper/blog). A comprehensive survey of the different techniques for providing customization points would be nice to have for the C++ community as a whole.

He, he. My intention was that you do the job ;-)

lol


Class 'FFMpeg\FFMpeg\FFMpeg' not found

Dear Lakshmaji,
I got this problem and I hope you can help me solve it:
After uploading the video to get the thumbnail I got this error:
FatalThrowableError in Thumbnail.php line 55: Class 'FFMpeg\FFMpeg\FFMpeg' not found

My configuration in .env is:
`##thumbnail video
#Thumbnail image dimensions
THUMBNAIL_IMAGE_WIDTH  = 320
THUMBNAIL_IMAGE_HEIGHT = 240
#Custom FFMPEG binaries path
FFMPEG_BINARIES=true
FFMPEG_PATH=C:\ffmpeg\bin\ffmpeg
FFPROBE_PATH=C:\ffmpeg\bin\ffprobe
FFMPEG_TIMEOUT=3600
FFMPEG_THREADS=12`
Thank you so much!

Hi @namnguyenvn ,
Could you provide me the following details

Regarding  development environment

[ ] OS  (I think it might be windows)
[ ] PHP version
[ ] Laravel Version

Regarding Installation

[ ] Have you done with FFMpeg installation. (Install FFMpeg from  this or this  )
[ ] Have you done composer update

Hi @lakshmaji
Thank you for your response.
I would like to send you the following details:

Development Environment: I use Laragon for developing this project.
a. OS: Windows 8.1
b. PHP version: PHP 7.1.1 (cli) (built: Jan 18 2017 18:51:14) ( ZTS MSVC14 (Visual C++ 2015) x86 )
c. Laravel version: 5.4
Installation
a. FFMpeg: I already follow the instruction in http://www.wikihow.com/Install-FFmpeg-on-Windows

b. Composer already updated the dependencies:
All my packages are:

C:\laragon\www\kmate.laravel (nam-dev)
λ composer show
alchemy/binary-driver                 1.6.0   A set of tools to build binary drivers
bkwld/croppa                          4.5.1   Image thumbnail creation through specially formatted URLs for Laravel
consoletvs/charts                     4.5.1   Create charts for laravel using diferent charts libraries
dnoegel/php-xdg-base-dir              0.1     implementation of xdg base directory specification for php
doctrine/cache                        v1.6.1  Caching library offering an object-oriented API for many cache backends
doctrine/inflector                    v1.1.0  Common String Manipulations with regard to casing and singular/plural rules.
doctrine/instantiator                 1.0.5   A small, lightweight utility to instantiate objects in PHP without invoking their const...
erusev/parsedown                      1.6.2   Parser for Markdown.
evenement/evenement                   v2.0.0  Événement is a very simple event dispatching library for PHP
fzaninotto/faker                      v1.6.0  Faker is a PHP library that generates fake data for you.
guzzlehttp/guzzle                     6.2.3   Guzzle is a PHP HTTP client library
guzzlehttp/promises                   v1.3.1  Guzzle promises library
guzzlehttp/psr7                       1.4.2   PSR-7 message implementation that also provides common utility methods
hamcrest/hamcrest-php                 v1.2.2  This is the PHP port of Hamcrest Matchers
intervention/image                    2.3.13  Image handling and manipulation library with support for Laravel integration
jakub-onderka/php-console-color       0.1
jakub-onderka/php-console-highlighter v0.3.2
jlawrence/eos                         v3.2.2  Parse and solve math equations without using 'eval()'.
kkszymanowski/traitor                 0.2.3   Add a trait use statement to existing PHP class
lakshmaji/thumbnail                   v1.4.4  Thumbnails for videos
laravel/framework                     v5.4.23 The Laravel Framework.
laravel/tinker                        v1.0.0  Powerful REPL for the Laravel framework.
league/flysystem                      1.0.40  Filesystem abstraction: Many filesystems, one API.
maddhatter/laravel-fullcalendar       v1.2.4  Laravel helper for FullCalendar.io
mockery/mockery                       0.9.9   Mockery is a simple yet flexible PHP mock object framework for use in unit testing with...
monolog/monolog                       1.22.1  Sends your logs to files, sockets, inboxes, databases and various web services
mtdowling/cron-expression             v1.2.0  CRON for PHP: Calculate the next or previous run date and determine if a CRON expressio...
myclabs/deep-copy                     1.6.1   Create deep copies (clones) of your objects
nesbot/carbon                         1.22.1  A simple API extension for DateTime.
neutron/temporary-filesystem          2.2.0   Symfony filesystem extension to handle temporary files
nikic/php-parser                      v3.0.5  A PHP parser written in PHP
paragonie/random_compat               v2.0.10 PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
pbmedia/laravel-ffmpeg                1.1.8   FFMpeg for Laravel 5.1 and higher
php-ffmpeg/php-ffmpeg                 0.9.3   FFMpeg PHP, an Object Oriented library to communicate with AVconv / ffmpeg
phpdocumentor/reflection-common       1.0     Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock     3.1.1   With this component, a library can provide support for annotations via DocBlocks or oth...
phpdocumentor/type-resolver           0.2.1
phpspec/prophecy                      v1.7.0  Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage             4.0.8   Library that provides collection, processing, and rendering functionality for PHP code ...
phpunit/php-file-iterator             1.4.2   FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-text-template             1.2.1   Simple template engine.
phpunit/php-timer                     1.0.9   Utility class for timing
phpunit/php-token-stream              1.4.11  Wrapper around PHP's tokenizer extension.
phpunit/phpunit                       5.7.20  The PHP Unit Testing framework.
phpunit/phpunit-mock-objects          3.4.3   Mock Object library for PHPUnit
psr/http-message                      1.0.1   Common interface for HTTP messages
psr/log                               1.0.2   Common interface for logging libraries
psy/psysh                             v0.8.5  An interactive shell for modern PHP.
ramsey/uuid                           3.6.1   Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and ...
santigarcor/laratrust                 3.2.3   This package provides a flexible way to add Role-based Permissions to Laravel
sebastian/code-unit-reverse-lookup    1.0.1   Looks up which function or method a line of code belongs to
sebastian/comparator                  1.2.4   Provides the functionality to compare PHP values for equality
sebastian/diff                        1.4.3   Diff implementation
sebastian/environment                 2.0.0   Provides functionality to handle HHVM/PHP environments
sebastian/exporter                    2.0.0   Provides the functionality to export PHP variables for visualization
sebastian/global-state                1.1.1   Snapshotting of global state
sebastian/object-enumerator           2.0.1   Traverses array structures and object graphs to enumerate all referenced objects
sebastian/recursion-context           2.0.0   Provides functionality to recursively process PHP variables
sebastian/resource-operations         1.0.0   Provides a list of PHP built-in functions that operate on resources
sebastian/version                     2.0.1   Library that helps with managing the version number of Git-hosted PHP projects
swiftmailer/swiftmailer               v5.4.8  Swiftmailer, free feature-rich PHP mailer
symfony/console                       v3.2.8  Symfony Console Component
symfony/css-selector                  v3.2.8  Symfony CssSelector Component
symfony/debug                         v3.2.8  Symfony Debug Component
symfony/event-dispatcher              v3.2.8  Symfony EventDispatcher Component
symfony/filesystem                    v3.2.8  Symfony Filesystem Component
symfony/finder                        v3.2.8  Symfony Finder Component
symfony/http-foundation               v3.2.8  Symfony HttpFoundation Component
symfony/http-kernel                   v3.2.8  Symfony HttpKernel Component
symfony/polyfill-mbstring             v1.3.0  Symfony polyfill for the Mbstring extension
symfony/process                       v3.2.8  Symfony Process Component
symfony/routing                       v3.2.8  Symfony Routing Component
symfony/translation                   v3.2.8  Symfony Translation Component
symfony/var-dumper                    v3.2.8  Symfony mechanism for exploring and dumping PHP variables
symfony/yaml                          v3.2.8  Symfony Yaml Component
tijsverkoyen/css-to-inline-styles     2.2.0   CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pag...
vlucas/phpdotenv                      v2.4.0  Loads environment variables from .env to getenv(), $_ENV and $_SERVER automagic...
watson/active                         2.0.4   Laravel helper for recognising the current route, controller and action
webmozart/assert                      1.2.0   Assertions to validate method input/output with nice error messages.
webpatser/laravel-uuid                2.0.1   Class to generate a UUID according to the RFC 4122 standard. Support for version 1, 3, ...
weotch/phpthumb                       1.0.5   Fork of PHPThumb that adds auto-image rotation based on EXIF data and composer support

Hi @lakshmaji,
I found the solution, just don't add any configuration to .env file.
Thanks!

I also have this problem

OS: windows 7
PHP: 5.6
Laravel: 5.4.24
FFMpeg is installed via linked tutorial
Composer is updated.
I have placed in my .ENV the following
FFMPEG_BINARIES=true
FFMPEG_PATH=C:\FFMPEG\bin\ffmpeg.exe
FFPROBE_PATH=C:\FFMPEG\bin\ffprobe.exe
Without these it was throwing an earlier error for not finding ffprobe.


Target-specific Z-scores in XHMM (germline) model

XHMM takes as input tangent-normalized coverage converted to Z-scores.  The Z scores are computed as: coverage -> (coverage - mean) / standard deviation, where the global mean and standard deviation over all targets is used.  The pitfall of this approach is that some targets are inherently much noisier than others (the range over targets that seems otherwise reasonable is a factor of 5 or so, easily enough for false positives) and will exhibit many more false positives when normalized by the global coverage.  It would be better to get Z scores with respect to each target's mean and standard deviation over all samples.
If we're worried about sampling error, we could always do empirical Bayes on the target variances with a common global prior in order to share statistical strength.  This is easy.  Furthermore, we wouldn't have to change existing code.  Instead, we could add a tool called CalculateTargetZScores that takes in a coverage file and a target stats files and pass its output to DiscoverCopyNumberTriStateSegments with the the inputAsZScores flag set to true.

Closed by PR #389.

Closed by PR #389.


⚠ Bofrost.at has degraded performance

In ebbee33, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2158 ms

Resolved: Bofrost.at performance has improved in dcc3c2c.


Several fixes including SL compatibility with llGetObjectDetails for OPT_OTHER

Several fixes while I was in there looking at Linden plants:

Fixes llGetObjectDetails calls with OBJECT_PATHFINDING_TYPE to return OPT_OTHER for Linden plants.
Fixed handling of attempts to wear Linden plants that were rezzed in a region.
Improved error handling related to attaching objects (may even fix ghost HUD issue) and objects ending up at 0,0,0

The PR was one logical (associated) set of changes. I had already explained privately why it was three separate commits.
The project is not set up for testing this functionality in automated tests. So I manually ensured full coverage by forcing each condition in the debugger, single stepping through the changes. In the future, I'd also like to see a SonarQube report on code quality differences on every commit. but I doubt I'll see that.
There's a big difference between a project with full-time developers and one with ad-hoc occasional volunteers providing fixes, especially where that is fixes to an existing code base with a decade and a half of grunge and code smells. Be careful setting restrictions on what fixes you'll accept, especially when you are the one asking those developers to help provide a fix. Especially if the restrictions are impractical or even unreasonable, such as suggesting commits that are making related, dependent changes be provided as separate PRs.


Reuse threadpool

Reuse threadpool between metric requests
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Spawning new ad-hoc is okay if latency is not a big problem and it's done relatively seldom. The JVM needs a GC to clean up old threads. The biggest issue with the original implementation was that it did not close the thread pool correctly. Existing tasks were not interrupted, causing threads to look if the http client blocked forever.

@olaaun Do you remember the motivation for using an adhoc instead of a persistent threadpool?


missing changes in chlog

What does this PR do?
adding missing changes in changelog, to be merged before next release...
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@williamFalcon maybe let's merge this one so we do not forget... it @awaelchli mind remind you before releasing...


is there an option to have 	[MinMaxSlider(0, 20)] expand range if the user input a larger/smaller value?

combining the convenience of the minmax slider with the flexibility of a vector2 :)

awesome

Hi,
this feature has been added in 3.4.4, please have a try (and hope it has no bug.
[MinMaxSlider(0, 10, free: true)] public Vector2 myRange;

This issue is now closed as it's been implemented. Comment below if you still have similar issues and I'll open it again


Move into cls

Just make sure that the file is working on your side and that it does look exactly like the original file.
Closes #1

Thanks for your contribution.


If try open file in FAR Manager via Emenu (windows explorer file context menu: Open with Code) I get error message to in console

VSCode Version: Code 1.19.1 (0759f77bb8d86658bc935a10a64f6182c5a1eeba, 2017-12-19T09:46:23.884Z)
OS Version: Windows_NT x64 10.0.14393
Extensions:

Extension
Author (truncated)
Version

PowerShell
ms-
1.5.1

Steps to Reproduce:

in FAR Manager select PS1 multiple files (more than one file)
Activate Plugins by F11 - select EMenu - Context menu - Text menu - Open with Code
I get following error message to console attached in screenshot

problem is cannot reproduce if select only one file.
log file was created, but is empty.
I running FAR Manager and Code in User rights context.

Reproduces without extensions: Yes/No - not applicable

@joaomoreno I cannot reproduce with these steps in 1.19.3. Any hints on how to do that?

hello, I am sorry, I not get notification.
maybe you have right, this bug maybe initiate FAR Manager. I try use following command
C:\Users\u11478m>code K:!!work\software\script-library\bitbucket\actual\my\scripts\myown\AutoGenAssemblyVersion\ChangeLog.md K:!!work\software\script-library\bitbucket\actual\my\scripts\myown\AutoGenAssemblyVersion\License.md
and I not get any error messages to command line back.
but if I try open files via FAR Manager I still getting error messages as I wrote before.

this behavior is working only for more than one file. If will try only one file in FAR Manager I not get any error message.

@chrmarti Those steps reliably repro it for me on Windows.

@michalzobec The fix is still not out. It will come with 1.20.

@joaomoreno hello, in what release this bug was fixed? I cannot found fix 41218 in 1.20.0 and 1.20.1.

K, I guess I'm going to have to try out FAR Manager.

if you want, I can test it, if you have night build of vscode with this fix.

@michalzobec Is this still an issue for you?


Add user_models_generator option to Algo and AggregateAlgo

Fixes #32
Adds a user_models_generator that sets whether to pass models as list or as generators to the train or aggregate method.

This should be fully compatible with existing algos and existing backend version.


[GUI] - Bug when remove a device with reserved word as attribute

When create an attribute with name equal some reserved word (like id, templates, attrs...), is not possible remove the device and the device detail screen stops work.

the bug was fixed.


Update rocksdb and titan. Update rust-rocksdb url

What have you changed?
Cherry-picking rust-rocksdb/rocksdb/titan changes. Also update rust-rocksdb url.

rust-rocksdb

7ec1dbd 2020-02-06<EMAIL_ADDRESS>   [tikv-3.x] Update to latest Titan and fix submodule url (#433)
ad9f3b6 2020-02-06<EMAIL_ADDRESS>  Mark SequentialFile as Send (#424) (#432)
8116bd6 2020-02-06<EMAIL_ADDRESS>rocksdb: Cherry-pick recent rocksdb fixes from upstream into tikv-3.x branch (#431)
dc92697 2020-01-17<EMAIL_ADDRESS>update titan (#423)
a5c19ae 2020-01-17<EMAIL_ADDRESS>rocksdb: Add user priority (#422)

rocksdb

b5b81f993 2020-02-04<EMAIL_ADDRESS>Force a new manifest file if append to current one fails (#6331)
50f6b2473 2020-02-04<EMAIL_ADDRESS>    Bug when multiple files at one level contains the same smallest key (#6285)
aeabee9a8 2020-02-04<EMAIL_ADDRESS>     Adjust thread pool sizes when setting max_background_jobs dynamically (#6300)

titan

3b267dc 2020-02-04<EMAIL_ADDRESS>   Sync titan directory when adding blob files (#136)
4e2c6e0 2020-01-30<EMAIL_ADDRESS>   Fix GC stat not being updated after DeleteFilesInRange (#135)
c12dfdf 2019-12-06<EMAIL_ADDRESS>Use individual thread pool for background GC (#126)

What is the type of the changes?
Bugfix, Engineering
How is the PR tested?
CI
Does this PR affect documentation (docs) or should it be mentioned in the release notes?
Yes
Does this PR affect tidb-ansible?
no
Refer to a related PR or issue link (optional)
Benchmark result if necessary (optional)
Any examples? (optional)

/run-all-tests

/run-all-tests


Avax integration already working with Aave.

Will look into adding curve and sushi also

Thanks for this!


FT: Handle Utapi metrics for versioning

Depends on https://github.com/scality/utapi/pull/129.
Update APIs to push correct metrics for changes related to versioning.

@ironman-machine
SCALITY_UTAPI_BRANCH=S3C-194-handle-metrics-for-versioning
SCALITY_INTEGRATION_BRANCH=S3C-194-handle-metrics-for-versioning
try

Hello @bennettbuchanan
Starting end to end procedure using the following payload:
{"DEFAULT_BRANCH": "master", "SCALITY_UTAPI_BRANCH": "S3C-194-handle-metrics-for-versioning", "SCALITY_INTEGRATION_BRANCH": "S3C-194-handle-metrics-for-versioning", "SCALITY_S3_BRANCH": "S3C-194-handle-utapi-metrics-for-versioning", "REPO_NAME": "S3"}
Please follow http://ci.ironmann.io/gh/scality/Integration/12826 for CI status.

I think completeMpu may need the same treatment as objectCopy or objectPut (no previous content length when adding a new version when versioning enabled). However, it doesn't look like we are tracking the prevContentLength for now in the case we are overwriting existing object MD // an object by the same name when completing a mpu. As discussed, you might want to look into this.

@ironman-machine
SCALITY_UTAPI_BRANCH=S3C-194-handle-metrics-for-versioning
SCALITY_INTEGRATION_BRANCH=S3C-194-handle-metrics-for-versioning
try

Hello @bennettbuchanan
Starting end to end procedure using the following payload:
{"DEFAULT_BRANCH": "master", "SCALITY_UTAPI_BRANCH": "S3C-194-handle-metrics-for-versioning", "SCALITY_INTEGRATION_BRANCH": "S3C-194-handle-metrics-for-versioning", "SCALITY_S3_BRANCH": "S3C-194-handle-utapi-metrics-for-versioning", "REPO_NAME": "S3"}
Please follow http://ci.ironmann.io/gh/scality/Integration/12845 for CI status.

@ironman-machine
SCALITY_UTAPI_BRANCH=S3C-194-handle-metrics-for-versioning
SCALITY_INTEGRATION_BRANCH=S3C-194-handle-metrics-for-versioning
try

Hello @bennettbuchanan
Starting end to end procedure using the following payload:
{"DEFAULT_BRANCH": "master", "SCALITY_UTAPI_BRANCH": "S3C-194-handle-metrics-for-versioning", "SCALITY_INTEGRATION_BRANCH": "S3C-194-handle-metrics-for-versioning", "SCALITY_S3_BRANCH": "S3C-194-handle-utapi-metrics-for-versioning", "REPO_NAME": "S3"}
Please follow http://ci.ironmann.io/gh/scality/Integration/12847 for CI status.

@ironman-machine
SCALITY_UTAPI_BRANCH=S3C-194-handle-metrics-for-versioning
SCALITY_INTEGRATION_BRANCH=S3C-194-handle-metrics-for-versioning
try

Hello @bennettbuchanan
Starting end to end procedure using the following payload:
{"DEFAULT_BRANCH": "master", "SCALITY_UTAPI_BRANCH": "S3C-194-handle-metrics-for-versioning", "SCALITY_INTEGRATION_BRANCH": "S3C-194-handle-metrics-for-versioning", "SCALITY_S3_BRANCH": "S3C-194-handle-utapi-metrics-for-versioning", "REPO_NAME": "S3"}
Please follow http://ci.ironmann.io/gh/scality/Integration/12851 for CI status.

e2e passed here: http://ci.ironmann.io/gh/scality/Integration/12864

@ironman-machine
SCALITY_UTAPI_BRANCH=S3C-194-handle-metrics-for-versioning
SCALITY_INTEGRATION_BRANCH=S3C-194-handle-metrics-for-versioning
try

Hello @bennettbuchanan
Starting end to end procedure using the following payload:
{"DEFAULT_BRANCH": "master", "SCALITY_UTAPI_BRANCH": "S3C-194-handle-metrics-for-versioning", "SCALITY_INTEGRATION_BRANCH": "S3C-194-handle-metrics-for-versioning", "SCALITY_S3_BRANCH": "S3C-194-handle-utapi-metrics-for-versioning", "REPO_NAME": "S3"}
Please follow http://ci.ironmann.io/gh/scality/Integration/12888 for CI status.

@ironman-machine
SCALITY_UTAPI_BRANCH=S3C-194-handle-metrics-for-versioning
SCALITY_INTEGRATION_BRANCH=S3C-194-handle-metrics-for-versioning
try

Hello @bennettbuchanan
Starting end to end procedure using the following payload:
{"DEFAULT_BRANCH": "master", "SCALITY_UTAPI_BRANCH": "S3C-194-handle-metrics-for-versioning", "SCALITY_INTEGRATION_BRANCH": "S3C-194-handle-metrics-for-versioning", "SCALITY_S3_BRANCH": "S3C-194-handle-utapi-metrics-for-versioning", "REPO_NAME": "S3"}
Please follow http://ci.ironmann.io/gh/scality/Integration/12942 for CI status.

@ironman-machine try

Hello @bennettbuchanan
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "S3C-194-handle-utapi-metrics-for-versioning"}
Please follow http://ci.ironmann.io/gh/scality/Integration/13007 for CI status.


Graphs don't show the measurements during workout

This is not older than a month or so. After the workout the workout details view shows proper graphs. But during the workout it stays blue and doesn't seem to depict the measurement (even though the immediate reading seems to be okay).
Not sure if this is a result of a syncfusion flutter charts upgrade side effect, or a side effect from a feature or bugfix?

The anomaly happened with the 2023/12/18 release of 23.2.7 -> 24.1.41
It seems that the graph now interprets the min:second graph horizontal time stamps incorrectly, and months show up:

With some extra margin it's clear that Syncfusion Charts somehow translates the time stamps into UNIX epoch, 1970:

The real-time graph is pre initialized with the exact number of blank measurements, so later these measurements are shifted out of the queue. The blank records contain nulls, I also tried to replace them with zeros, that didn't help. I also tried to initialize with empty data arrays, that didn't help either.
I still couldn't figure out why the

Ok, the problem was that although I initialized _graphData and optionally _graphAvgData and _graphMaxData with dummy blank data to avoid the horizontal label problems in the past, however the graphs feed now from the non underlined variables graphData, graphAvgData, and graphMaxData, because these latter ones are pure Lists whereas the former ones are ListQueues. Now I also initialize the non underlined variables, and that fixed the issue. I also do the dummy generation a little more optionally, really only when it's needed.


Feedback

use types.sol to import the proxyType enum to both deploy and proxytester
deploy/set type in one action
more intuitive API
It should also verify the storage root to ensure no other slots have been manipulated.

Hi! Willing to take on upgrading this to work with the openzeppelin-contracts-upgradeable and version 4.5 of the openzeppelin upgradeable contracts. Would love to discuss more on how to verify the storage root as well!

@PatStiles Please do !
I have started playing with the package again and have identified a couple of API improvements.

Please add more documentation.


Errors on nightly

Hi, I'm using null-ls and I'm getting this after calling :'<,'>lua vim.lsp.buf.range_code_action()
I'm on current nightly
E5108: Error executing lua vim/shared.lua:261: after the second argument: expected table, got nil
stack traceback:
        [C]: in function 'error'
        vim/shared.lua:608: in function 'validate'
        vim/shared.lua:261: in function 'tbl_deep_extend'
        ...ker/opt/refactoring.nvim/lua/refactoring/config/init.lua:39: in function 'merge'
        ...ack/packer/opt/refactoring.nvim/lua/refactoring/init.lua:23: in function 'refactor'
        ...s.nvim/lua/null-ls/builtins/code_actions/refactoring.lua:24: in function 'action'
        .../site/pack/packer/opt/null-ls.nvim/lua/null-ls/state.lua:36: in function 'run_action'
        ...ack/packer/opt/null-ls.nvim/lua/null-ls/code-actions.lua:46: in function 'handler'
        ...im/site/pack/packer/opt/null-ls.nvim/lua/null-ls/rpc.lua:87: in function 'handle'
        ...im/site/pack/packer/opt/null-ls.nvim/lua/null-ls/rpc.lua:103: in function 'request'
        ...urenzi/usr/src/neovim/share/nvim/runtime/lua/vim/lsp.lua:930: in function 'request'
        ...urenzi/usr/src/neovim/share/nvim/runtime/lua/vim/lsp.lua:1337: in function 'fn'
        ...urenzi/usr/src/neovim/share/nvim/runtime/lua/vim/lsp.lua:163: in function 'for_each_buffer_client'
        ...urenzi/usr/src/neovim/share/nvim/runtime/lua/vim/lsp.lua:1336: in function 'request'
        ...zi/usr/src/neovim/share/nvim/runtime/lua/vim/lsp/buf.lua:625: in function 'execute_command'
        ...acker/start/telescope.nvim/lua/telescope/builtin/lsp.lua:283: in function 'execute_action'
        ...acker/start/telescope.nvim/lua/telescope/builtin/lsp.lua:323: in function 'run_replace_or_original'
        ...packer/start/telescope.nvim/lua/telescope/actions/mt.lua:30: in function 'key_func'
        ...k/packer/start/telescope.nvim/lua/telescope/mappings.lua:235: in function 'execute_keymap'
        [string ":lua"]:1: in main chunk
pyright: 1: Unsupported command

To add to this, I don't think the issue is related to null-ls, since I'm getting issues using the recommended setup on the latest Neovim master (NVIM v0.6.0-dev+603-g9ec4417af).

@jose-elias-alvarez this issue was actually solved in #142. I think it should be fixed if you're on 0.6 and you run :PackerSync or :PlugUpdate.

it does not seem to be working, it is "slightly better" (aka, I see the "new var name" prompt and sometimes text changes) if I disable other lsp active for the buffer (i.e pyright). not really usable tho

I am getting a very similar error as well on nvim 0.5.1. Just PackerSync'ed as well.
packer.nvim: Error running config for refactoring.nvim: vim/shared.lua:219: after the second argument: expected table, got nil
stack traceback:
^Ivim/shared.lua:219: in function 'tbl_deep_extend'
^I...ker/opt/refactoring.nvim/lua/refactoring/config/init.lua:39: in function 'new'
^I...ker/opt/refactoring.nvim/lua/refactoring/config/init.lua:103: in function 'setup'
^I...ack/packer/opt/refactoring.nvim/lua/refactoring/init.lua:7: in function 'setup'
^I[string "..."]: in function <[string "..."]:0>
^I[C]: in function 'pcall'
^I...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:50: in function 'loader_apply_config'
^I...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:145: in function <...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:118>
^I[C]: in function 'pcall'
^I...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:162: in function <...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:161>
^I[string ":lua"]:1: in main chunk
^I[C]: at 0x556e786eb530
^I[C]: in function 'pcall'
^I...acker/start/telescope.nvim/lua/telescope/actions/set.lua:134: in function 'run_replace_or_original'
^I...packer/start/telescope.nvim/lua/telescope/actions/mt.lua:30: in function 'run_replace_or_original'
^I...packer/start/telescope.nvim/lua/telescope/actions/mt.lua:30: in function 'run_replace_or_original'
^I...packer/start/telescope.nvim/lua/telescope/actions/mt.lua:30: in function 'key_func'
^I...k/packer/start/telescope.nvim/lua/telescope/mappings.lua:235: in function 'execute_keymap'
Press ENTER or type command to continue

This is the last commit that doesn't error out for me 41caf9d207887779255fa659a2ddb2182b158e3b
Starting the next commit I get this:
packer.nvim: Error running config for refactoring.nvim: vim/shared.lua:219: after the second argument: expected table, got nil
stack traceback:
^Ivim/shared.lua:219: in function 'tbl_deep_extend'
^I...ker/opt/refactoring.nvim/lua/refactoring/config/init.lua:30: in function 'new'
^I...ker/opt/refactoring.nvim/lua/refactoring/config/init.lua:86: in function 'setup'
^I...ack/packer/opt/refactoring.nvim/lua/refactoring/init.lua:7: in function 'setup'
^I[string "..."]: in function <[string "..."]:0>
^I[C]: in function 'pcall'
^I...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:50: in function 'loader_apply_config'
^I...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:145: in function <...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:118>
^I[C]: in function 'pcall'
^I...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:162: in function <...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:161>
^I[string ":lua"]:1: in main chunk
^I[C]: in function 'nvim_set_current_buf'
^I...e/nvim/site/pack/packer/start/harpoon/lua/harpoon/ui.lua:170: in function 'nav_file'
Press ENTER or type command to continue

and it looks like that commit changed how the config is setup so not too surprising.

there has been a few new commits since this.  I'll make sure I check out the latest nvim and try to repro

^ Second this nightly and latest should be stable as of now.

I found the issue (for me at least) to be related calling require('refactoring').setup() with no opts as opposed to require('refactoring').setup({}). I'll open a PR to handle the no opts condition since I feel like many other plugins, including refactoring.nvim prior to commit I mentioned above, could handle a no opts setup call.

Are we able to close this?

Good on my end :+1:

Everything works with both versions on my end as well, I think we're good to close this.

I'll close issue for now then. @rebelot Please let us know if this persists on nightly and I can reopen. I've updated README saying that nightly is required.


WIP: Updates for SCM - Bill Branch

These are some updates for the SCM found by myself and @narnold1 necessary to run the SCM with the @wmputman development branch. They are:

Add VARFLT import to datmo
Reorder the setup routines in Moist so that microphysics setup runs first because binary restarts expect Q first
Pass in an MPI communicator to gfdl_cloud_microphys_init because in SCM, this is the first call to fms_init() and it was crashing without a comm (usually FV3 initialize FMS)

There is still an outstanding issue due to this code:
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/df20a679456bae71b8b9656dd2c8f56fcbbec08d/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatch_GridComp/GEOS_CatchGridComp.F90#L4869-L4881
which expects a MODIS Snow Albedo file for every grid. But for SCM this becomes:
 /discover/nobackup/projects/gmao/osse2/stage/BCS_FILES/MODIS_snow_alb/MODIS_snow_alb_XY1x1-C_34N_100W_38N_95W_nel_Global.bin

which does not exist.
It is up to @wmputman and @gmao-rreichle to figure out the best way to handle this. (@atrayano might have some thoughts.)
This also should be used with https://github.com/GEOS-ESM/GEOSgcm_App/pull/337

@mathomp4,
@biljanaorescanin is still working on the snow albedo inputs.  The direct read from a file is meant to be a temporary crutch, prompted by @wmputman's request to be able to run "develop" immediately with the revised snow albedo.  Eventually, the revised snow albedo parameters are meant to become part of the bcs and enter the model through InternalSpecs in the restarts, but you've probably heard that make_bcs has lots of issues.  I wouldn't expect a quick solution, which means that some other hack may be needed.  Or perhaps the revised snow albedo isn't necessary for SCM runs and can just be turned off.  I'll defer to @wmputman on what's sensible and needed here.  But again, implementing the proper solution will take lots of time.
cc: @rdkoster

Following up on my earlier comment, after talking with @biljanaorescanin, I understand now that @wmputman's branch here has the use of the "new snow albedo" hardwired into it.  This could be avoided by updating @wmputman's branch as in #550.  The latter PR has been ready to use since Feb but may now be somewhat outdated.  In any case, I think the solution is to avoid forcing the use of the new snow albedo in Bill's branch.  Then for running the SCM, the config should use the old snow albedo formulation and everything should work.   I don't think that for SCM runs the new snow albedo is important.  Let me know if that's not the case.

Close in favor of #725


Implementation of new IBulkForceClient

Derives from ForceClient (IForceClient) and implements new IBulkForceClient interface for supporting creation of bulk upsert jobs with externalIdFieldName.

FYI, CLA has just been signed.

Just wanted to update this PR with some test results.
A recent test (4/17/2017) showed 4k records successfully imported into Salesforce using the new batch upsert functionality introduced in this PR.

Thanks for the great work! I am really looking forward to this PR!

Any idea when this will get merged?  We need to use the bulk client to upsert records.

Is there a plan for this code to be merged in the near future?

Attempted to reach out to Wade Wegner just now to also call attention to a commit that appears to be affecting Travis CI builds. We'll see if he responds.

Stupid question, but are you doing this with the 1.3.2 version of the nuget package or the current master of the github ?

@wadewegner Completely understand; we all get busy :)

@rdev5 Do we still need this PR? I haven't dug into it too much, but we do have bulk methods in ForceClient now.

@wadewegner Do you have commit IDs I could look at? Still looking for where bulk methods were recently introduced into ForceClient...

@wadewegner Sounds like this is still needed. Thoughts?
Also, let me know if you need me to resolve the current conflicts in this branch.

@mattborja I've got another pull request that supercedes this one and fixes the missing elements on the ForceClient to support bulk operations.


Fail to create vote.insert or update on table "vote" violates foreign key constraint "vote_created_by_fkey"

When adding my first vote I got the error messages:
Fail to create vote.insert or update on table "vote" violates foreign key constraint "vote_created_by_fkey"`

I then found that the votes table has a CONSTRAINT

However, the public.users table has no data and I can't see where any data would be added. Should the constraint be on auth.users instead?
The migration file references "public"."users" a few times in constraints. So, I'm also wondering if those should be updated to be "auth"."users"?

please fix the sql code and comment section also not working and not showing realtime open votes


Rename the parameter of wrapper function consistently with its docs and the original one.

This fixes the mismatch between parameter variable dev and
its documentation device_name_or_function.

Can one of the admins verify this patch?

Jenkins, test this please.

Hi, @martinwicke .
Please let me know if I need to do something for this. :)

Rebased to the master.

Thank you for merging, @keveman !


Segmentation fault (core dumped)

1. System Info
linux
2. Information

[X] The official example scripts
[ ] My own created scripts

3. Reproduction
import os
os.environ['CUDA_VISIBLE_DEVICES'] = '2'
import faulthandler
在import之后直接添加以下启用代码即可
faulthandler.enable()
import numpy as np
from sklearn.preprocessing import StandardScaler
from pygrinder import mcar, masked_fill
from pypots.data import load_specific_dataset
from pypots.imputation import SAITS
from pypots.utils.metrics import cal_mae
Data preprocessing. Tedious, but PyPOTS can help.
print('ok')
data = load_specific_dataset('physionet_2012')  # PyPOTS will automatically download and extract it.
X = data['X']
print(X)
num_samples = len(X['RecordID'].unique())
X = X.drop(['RecordID', 'Time'], axis = 1)
X = StandardScaler().fit_transform(X.to_numpy())
X = X.reshape(num_samples, 48, -1)
X_intact, X, missing_mask, indicating_mask = mcar(X, 0.1) # hold out 10% observed values as ground truth
X = masked_fill(X, 1 - missing_mask, np.nan)
dataset = {"X": X}
print(dataset["X"].shape)  # (11988, 48, 37), 11988 samples, 48 time steps, 37 features
Model training. This is PyPOTS showtime.
saits = SAITS(n_steps=48, n_features=37, n_layers=2, d_model=256, d_inner=128, n_heads=4, d_k=64, d_v=64, dropout=0.1, epochs=10)
Here I use the whole dataset as the training set because ground truth is not visible to the model, you can also split it into train/val/test sets
saits.fit(dataset)
imputation = saits.impute(dataset)  # impute the originally-missing values and artificially-missing values
mae = cal_mae(imputation, X_intact, indicating_mask)  # calculate mean absolute error on the ground truth (artificially-missing values)
4. Expected behavior
I am using your example applying SAITS on PhysioNet2012 for imputation. While performing to "from pypots.data import load_specific_dataset", the bug "Segmentation fault (core dumped)" occurs.

Hi there 👋,
Thank you so much for your attention to PyPOTS! You can follow me on GitHub to receive the latest news of PyPOTS. If you find PyPOTS helpful to your work, please star⭐ this repository. Your star is your recognition, which can help more people notice PyPOTS and grow PyPOTS community. It matters and is definitely a kind of contribution to the community.
I have received your message and will respond ASAP. Thank you for your patience! 😃
Best,
Wenjie

This is an unqualified issue. You should provide more info about your system, like which version of Python and which PyPOTS you're using. Only noting "the bug Segmentation fault (core dumped) occurs" doesn't help at all. you should provide more details about the error you met with, and the full Traceback log is necessary.


Feature request: Filter by current title

Newsboat version (copy from newsboat -v): 2.12.0
Steps to reproduce the issue:
I do not see how to do it in an easy way to filter messages by currently selected title.
I have RSS channel where all the user comments are retreived for articles. If I want to read only these  related to specific topic I do the following:
Shift+F then type title =~ "<part of current title here>"
This is rather annoying and it would be nice to have at least possibility to make a macro for it. But I do not see how can I get currently selected title to put this into a macro for the filter definition.
(By "currently selected" I meant that the cursor is placed on the article in the article list.)
Can this be done in a current version of newsboat or it has to be developed?
Regards,
Piotr

Hi! Thank you for taking the time to write this up.
 That's about as good as you can do without modifying Newsboat.
As for adding this functionality into Newsboat itself, I'm doubtful. It doesn't make sense to limit this to just titles, so it'll have to be implemented for everything else: author's name, feed title, flags, tags, etc. The added complexity just isn't worth it in my opinion. Sorry, but you'll have to stick with your current approach, maybe with some little automation I described above.

Thanks for pointing out for the bookmarking. In fact I currently use bookmark script to do some stuff, but because I use the newsboat from remote machine trough tmux, I could write tmux macro and assign it to some key combination. That could also work with the current version of newsboat.

Try a query feed:
https://newsboat.org/releases/2.14.1/docs/newsboat.html#_query_feeds
You can create a new feed by filtering an existing one.