Add MacOS support

As discussed on IRC, it would be nice to support ioctl calls on MacOS. I have successfully enabled/disabled the PF firewall and queried it for status using this change.
I have not tested it very extensively at all beyond what I just wrote. Maybe you could test that I didn't break it on Linux if you suspect that (I have verified that it builds at least.)
The cfg addition to pub use platform::*; was needed in order for the error message to actually contain this_platform_not_supported. Otherwise it just printed:
7 | pub use platform::*;
  |         ^^^^^^^^^^^^ Maybe a missing `extern crate platform;`?

This worked for me in some basic smoke testing of io-block (I really need to get some basic automated tests together). Thanks for the PR.


documentation: auth flow example for react 0.13 without mixins

I am trying to create a component that shows only for authenticated users, the example in https://github.com/rackt/react-router/blob/0.13-compat/examples/auth-flow/app.js uses a mixin that adds a willTransitionTo to the "statics" attribute of a component, and I think it would be automatically be called whenever that component is passed as the <Handler/> in a route callback...
I have tried to create such a "willTransitionTo" function manually, without the use of React.CreateClass or mixins on the:

root component (app) and in the handler component (dashboard)

inside the constructor() as this.willTransitionTo
inside the constructor() as this.statics.willTransitionTo
inside the constructor() as this.context.willTransitionTo
as a willTransitionTo() method
as a statics() method that returns an object containing a willTransitionTo method

The code inside the function never gets to run just by entering the # url manually. Is this the expected behavior? How would an auth example without mixins look like?

If I understand you correctly, you're asking how to setup the hooks for ES6 components? I think it should work like this:
class MyRouteHandler extends React.Component {
  render() {
    ..
  }
}

MyRouteHandler.willTransitionTo = function (transition, params, query) {..};
MyRouteHandler.willTransitionFrom = function (transition, component) {..};

yes @taurose !! that seem to work, thanks :)

Another detail regarding this auth flow example, for the Login element, to use it without the State mixin, you have to do:
MyRouteHandler.contextTypes = {
    router: React.PropTypes.func
}

And instead of using this.getQuery() use this.context.router.getCurrentQuery()

thanks for the push to do this, hope it helps :)

I tryed this, but it didn't work for me. Ig have an Login.js component
class Login extends React.Component {
    render() { ... }
}

Login.willTransitionTo = function (transition, params, query) {
    console.log('willTransitionTo');
};

module.exports = Marty.createContainer(Login, {});

As you can see i am using martyjs, perhaps that is the problem?

@lemonCMS if you're using MartyJS you can do something like this :
class Login extends React.Component {
    render() { ... }
}

MartyContainer = Marty.createContainer(Login, {});

MartyContainer.willTransitionTo = function (transition, params, query) {
    stuff();
};

module.exports =  MartyContainer;

It's less than ideal. But it works.

@handleunavailable  thx.
The issue was also reported at martjs and they came with an other solution that also works.
I post it here for future reference.
class Login extends React.Component {

  static willTransitionTo(transition,params,query,callback) {
  }
  render() { ... }
}

module.exports = Marty.createContainer(Login, {
 statics: {
    willTransitionTo: Login.willTransitionTo
  },

  fetch: { ...  },
  pending() { ...  },
  failed(errors) { ...  }
})

I have a react component like this;
export default class Customsurvey extends React.Component {
// body
}
and I added ES6 hook for that component like;
Customsurvey.willTransitionTo = function (transition, params, query) {
if(!AuthStore.getState().isLoggedIn) {
transition.redirect('/login');
}
};
It is working fine for me when AuthStore.getState().isLoggedIn has false value (not logged in).
The problem is when isLoggedIn is to set to true (logged in now), and if I refresh the same page then I got errors like this;
Unhandled aborted transition! Reason: [object Object]
Any idea what cause this issue?

I have a react component like this;
export default class Customsurvey extends React.Component {
// body
}
and I added ES6 hook for that component like;
Customsurvey.willTransitionTo = function (transition, params, query) {
if(!AuthStore.getState().isLoggedIn) {
transition.redirect('/login');
}
};
It is working fine for me when AuthStore.getState().isLoggedIn has false value (not logged in).
The problem is when isLoggedIn is to set to true (logged in now), and if I refresh the same page then I got errors like this;
Unhandled aborted transition! Reason: [object Object]
Any idea what cause this issue?


Consider differentiating between VC Data Models 1.1 and 2.0

Originally spurred during the work on #150. We currently have crates/credentials/src/vc.rs and that implement VC Data Model 1.1, but we should consider how VC Data Model 2.0 will fit into our code. Furthermore, are the JWT implementations for each distinct or is there overlap?

v2.0 will be more straightforward -- there is no mapping needed. the semantics of each layer are preserved. https://w3c.github.io/vc-jose-cose/#securing-json-ld-verifiable-credentials-with-jose
there is guidance that you should not conflict...like

Implementers SHOULD avoid setting JWT claims to values that conflict with the values of verifiable credential properties when a claim and property pair refer to the same conceptual entity, especially with pairs such as iss and issuer, jti and id, and sub and credentialSubject.id. For example, JWK claim iss should not be set to a value which conflicts with the value of verifiable credential property issuer.

1.1 follows unfortunate mapping rules defined here https://www.w3.org/TR/vc-data-model/#jwt-encoding
this gives us optionality to include or delete properties that overlap between the layers (e.g. issuer/iss or id/jti) and so far we've chosen to remove them from the VC during JWT encoding and rely on the JWT values.


chore: drop support for Node.js 4

Coverage decreased (-0.01%) to 99.439% when pulling 4315afbae0c559f3bcbcb54bd25eb19a7d384369 on evilebottnawi:chore-drop-support-for-Node.js-4 into 539abe8db31f494a27663e34dac61a673d48577d on ben-eb:master.


Request new novel source

Source name
Novelhi
Source link
https://novelhi.com/
Language
English
Other details
Good Chinese novel translation
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Duplicate of #124


Bug Report: Compiling Issues

Please check for duplicates, similar issues or closed issues with the same problem, as well performing simple troubleshooting steps (such as deleting the export folder if it's an issue with compiling, reinstalling Kade Engine) before submitting an issue.
If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
What version of the game are you using? Look in the bottom left corner of the main menu.
latest one??
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
something about flxAnimate
      PS C:\Users\imfre\Desktop\FNF an Mods\BETADCIU-Engine-Source-main (10)> lime test windows
      source/flxanimate/animate/FlxSymbol.hx:116: characters 75-80 : error: Int should be String
      source/flxanimate/animate/FlxSymbol.hx:116: characters 75-80 :  have: Null<Int>
      source/flxanimate/animate/FlxSymbol.hx:116: characters 75-80 :  want: haxe.extern.EitherType<String, ...>
      source/flxanimate/animate/FlxSymbol.hx:116: characters 75-80 : For function argument 'name'
      source/flxanimate/animate/FlxSymbol.hx:116: characters 61-82 : Void should be Array<flxanimate.animate.FlxLayer>
      source/flxanimate/animate/FlxSymbol.hx:100: characters 34-39 : error: Int should be String
      source/flxanimate/animate/FlxSymbol.hx:100: characters 34-39 :  have: Null<Int>
      source/flxanimate/animate/FlxSymbol.hx:100: characters 34-39 :  want: haxe.extern.EitherType<String, ...>
      source/flxanimate/animate/FlxSymbol.hx:100: characters 34-39 : For function argument 'name'
      source/flxanimate/animate/FlxTimeline.hx:96: characters 25-29 : error: flxanimate.animate.FlxLayer should be Int
      source/flxanimate/animate/FlxTimeline.hx:96: characters 25-29 :  have: haxe.extern.EitherType<..., flxanimate.animate.FlxLayer>
      source/flxanimate/animate/FlxTimeline.hx:96: characters 25-29 :  want: haxe.extern.EitherType<..., Int>
      source/flxanimate/animate/FlxTimeline.hx:96: characters 25-29 : For function argument 'name'
      PS C:\Users\imfre\Desktop\FNF an Mods\BETADCIU-Engine-Source-main (10)>

Please describe your issue. Provide extensive detail and images if possible.
its saying its not installed

I Have the same error too but he said "Compile with new commit. I forgot to remove FlxAnimate as that's still experimental."
I don't know if it's to install flxanimate.


update 20150714 data, without the wierd chars

:shipit:

is that a squirrel in a detective costume? @jiwalker-usgs

at least a fedora and pinstripe suit. http://www.quora.com/GitHub/What-is-the-significance-of-the-Ship-It-squirrel


[Event Request] Table 5612 "FA depreciation Book" - OnBeforeUserDefinedMethod

Hello, we would like to get the following new Event OnBeforeUserDefinedMethod in the procedure UserDefinedMethod. Thanks!
protected procedure UserDefinedMethod(): Boolean
    var
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeUserDefinedMethod(Rec, IsHandled);
        if IsHandled then
            exit(true);
        exit("Depreciation Method" = "Depreciation Method"::"User-Defined");
    end;

[IntegrationEvent(false, false)]
    local procedure OnBeforeUserDefinedMethod(FADepreciationBook: Record "FA Depreciation Book"; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52878.


CUDA out of memory.

Hi, can someone tell me what can I do to fix this issues?
This is what I get when running it on local machine or google colab.
2020-11-05 11:56:07.097272: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
GPU available: True, used: True
TPU available: False, using: 0 TPU cores
CUDA_VISIBLE_DEVICES: [0]
/usr/local/lib/python3.6/dist-packages/pytorch_lightning/utilities/distributed.py:37: UserWarning: WORLD_SIZE environment variable (2) is not equal to the computed world size (1). Ignored.
  warnings.warn(*args, **kwargs)
initializing ddp: GLOBAL_RANK: 0, MEMBER: 1/1
----------------------------------------------------------------------------------------------------
distributed_backend=ddp
All DDP processes registered. Starting ddp with 1 processes
----------------------------------------------------------------------------------------------------
/usr/local/lib/python3.6/dist-packages/pytorch_lightning/utilities/distributed.py:37: UserWarning: Could not log computational graph since the `model.example_input_array` attribute is not set or `input_array` was not given
  warnings.warn(*args, **kwargs)

  | Name     | Type                        | Params
---------------------------------------------------------
0 | G        | ADDGenerator                | 372 M
1 | E        | MultilevelAttributesEncoder | 67 M
2 | D        | MultiscaleDiscriminator     | 8 M
3 | Z        | ResNet                      | 43 M
4 | Loss_GAN | GANLoss                     | 0
5 | Loss_E_G | AEI_Loss                    | 0
Validation sanity check: 0it [00:00, ?it/s]/usr/local/lib/python3.6/dist-packages/torch/nn/functional.py:2494: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
  "See the documentation of nn.Upsample for details.".format(mode))
Epoch 0:   0% 0/5000250 [00:00<?, ?it/s] Traceback (most recent call last):
  File "aei_trainer.py", line 62, in <module>
    main(args)
  File "aei_trainer.py", line 40, in main
    trainer.fit(model)
  File "/usr/local/lib/python3.6/dist-packages/pytorch_lightning/trainer/states.py", line 48, in wrapped_fn
    result = fn(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/pytorch_lightning/trainer/trainer.py", line 1058, in fit
    results = self.accelerator_backend.spawn_ddp_children(model)
  File "/usr/local/lib/python3.6/dist-packages/pytorch_lightning/accelerators/ddp_backend.py", line 123, in spawn_ddp_children
    results = self.ddp_train(local_rank, mp_queue=None, model=model, is_master=True)
  File "/usr/local/lib/python3.6/dist-packages/pytorch_lightning/accelerators/ddp_backend.py", line 224, in ddp_train
    results = self.trainer.run_pretrain_routine(model)
  File "/usr/local/lib/python3.6/dist-packages/pytorch_lightning/trainer/trainer.py", line 1239, in run_pretrain_routine
    self.train()
  File "/usr/local/lib/python3.6/dist-packages/pytorch_lightning/trainer/training_loop.py", line 394, in train
    self.run_training_epoch()
  File "/usr/local/lib/python3.6/dist-packages/pytorch_lightning/trainer/training_loop.py", line 491, in run_training_epoch
    batch_output = self.run_training_batch(batch, batch_idx)
  File "/usr/local/lib/python3.6/dist-packages/pytorch_lightning/trainer/training_loop.py", line 844, in run_training_batch
    self.hiddens
  File "/usr/local/lib/python3.6/dist-packages/pytorch_lightning/trainer/training_loop.py", line 1015, in optimizer_closure
    hiddens)
  File "/usr/local/lib/python3.6/dist-packages/pytorch_lightning/trainer/training_loop.py", line 1197, in training_forward
    output = self.model(*args)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 541, in __call__
    result = self.forward(*input, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/pytorch_lightning/overrides/data_parallel.py", line 170, in forward
    output = self.module.training_step(*inputs[0], **kwargs[0])
  File "/content/faceshifter/aei_net.py", line 54, in training_step
    output, z_id, output_z_id, feature_map, output_feature_map = self(target_img, source_img)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 541, in __call__
    result = self.forward(*input, **kwargs)
  File "/content/faceshifter/aei_net.py", line 44, in forward
    output = self.G(z_id, feature_map)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 541, in __call__
    result = self.forward(*input, **kwargs)
  File "/content/faceshifter/model/AEINet.py", line 132, in forward
    x = self.model["layer_7"](x, z_att[7], z_id)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 541, in __call__
    result = self.forward(*input, **kwargs)
  File "/content/faceshifter/model/AEINet.py", line 98, in forward
    x1 = self.activation(self.add1(h_in, z_att, z_id))
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 541, in __call__
    result = self.forward(*input, **kwargs)
  File "/content/faceshifter/model/AEINet.py", line 72, in forward
    h_out = (1-m)*a + m*i
RuntimeError: CUDA out of memory. Tried to allocate 256.00 MiB (GPU 0; 14.73 GiB total capacity; 12.56 GiB already allocated; 45.88 MiB free; 1.17 GiB cached)
Epoch 0:   0%|          | 0/5000250 [00:36<?, ?it/s]

Your gpu memory not enough for training this model. Firstly, You can try to decrease your batch size.

I tried batch_size with values 8,4,2,1. For each there is this memory error.
This  is model configuration from train.yaml
model:
  learning_rate_E_G: 4e-4
  learning_rate_D: 4e-4

  beta1: 0
  beta2: 0.999

  batch_size: 16

  num_workers: 16
  grad_clip: 0.0

Do you see the issue?

I got this error repeatedly before. Reason of this error is always that my gpu memory not enough. When start training, If you use Linux, you can check your gpu memory with run "watch nvidia-smi" command in terminal.

Thanks


How do I run VisIt in parallel on an MPI cluster

Describe the bug
How do I run VisIt in parallel on an MPI cluster?
I've built a small MPI cluster and successfully parallelized the cpi sample program.
I've built a parallel version of Visit3.0.1, and use the visit -np 2 command to successfully start the VisIt in parallel on one computer.
Now I want to run VisIt in parallel on the cluster.
I tried using the following command to start with the help file in mind:visit -l mpirun -nn 2 -machinefile $PSD nodefile
I got these hints:
node@node1:~$ visit -l mpirun -nn 2 -machinefile /home/node/mpi_share/mpi_configRunning: gui3.0.1 -engineargs -l;mpirun;-nn;2;-machinefile;/home/node/mpi_share/mpi_config -launchengine localhost
Running: viewer3.0.1 -engineargs -l;mpirun;-nn;2;-machinefile;/home/node/mpi_share/mpi_config -geometry 1343x771+508+54 -borders 0,0,0,0 -shift 90,92 -preshift -90,-92 -defer -host <IP_ADDRESS> -port 5600 -launchengine localhost
Running: mdserver3.0.1 -host <IP_ADDRESS> -port 5601
Traceback (most recent call last):
  File "/home/node/mpi_share/visit3.0.1/visit_install/bin/frontendlauncher.py", line 414, in <module>
    ret = internallauncher(launcher, visitdir, progname, ver, visitpluginver, visitargs)
  File "/home/node/mpi_share/visit3.0.1/visit_install/3.0.1/bin/internallauncher", line 3622, in internallauncher
    return launcher.Launch()
  File "/home/node/mpi_share/visit3.0.1/visit_install/3.0.1/bin/internallauncher", line 3410, in Launch
    args = submitter.CreateCommand(args, debugger)
  File "/home/node/mpi_share/visit3.0.1/visit_install/3.0.1/bin/internallauncher", line 131, in CreateCommand
    parcmd = parcmd + [self.PPNArgument(), self.PPN()]
  File "/home/node/mpi_share/visit3.0.1/visit_install/3.0.1/bin/internallauncher", line 73, in PPN
    return str(int(math.ceil(float(self.parallel.np) / float(self.parallel.nn))))
TypeError: float() argument must be a string or a number
Error: VisIt could not launch the compute engine on host "node1".

My machinefile is as follows, I can run the.cpi file successfully using this machinefile
node1:2
node2:2

I want help on how to start Visit in parallel on the mpi cluster.
Helpful additional information
(Please click check boxes AFTER submitting ticket)

[ ] Did VisIt crash?
[ ] Did you get wrong results?

Impact

[ ] High - User productivity significantly degraded
[ ] Medium - User productivity partially degraded
[ ] Low - User productivity trivially degraded

Likelihood

[ ] High - occurrence is not specific to platform, data, config, a combination of operators, queries, etc.
[ ] Medium - neither low nor high likelihood
[ ] Low - occurrence is specific to combination of multiple factors such as configuration, data, platform, etc.

Attachments

Can you reproduce the bug on our test data?

If so, which file?
If not, access to your data would be very helpful. If the data set is small, please zip and upload it as an attachment. If it is large, please provide instructions for how we can contact you to obtain this data.

Please attach a (zipped) sessionfile to easily reproduce (In the viewer, use File->Save Session).
Please attach any screenshots relevant to understanding the issue.

Desktop

OS and version: Ubuntu 18.04
VisIt Version: 3.0.1
Server info (if applicable):

Additional context
Add any other context about the problem here. Attach any (zipped) relevant files, such as data, configurations, sessionfiles, etc.

Did you create a host profile for our system. If not, you need to do that so VisIt knows how to launch the parallel engine there.

您是否为我们的系统创建了主机配置文件。如果不是这样，则需要这样做，以便VisIt知道如何在此处启动并行引擎。

Thank you very much for your guidance. According to the manual, I created my own host profile and successfully launched the VisIt on the cluster


arrow speed bug

Describe your bug here.
this might just be my pc but every song I play the arrow speed is slow and I cant change it
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
i did add a new dad.json but i redownloaded a new fresh one nothing changed in it and this is still happening

did you press ctrl in freeplay to check the scroll speed


Can I get it from some CDN ??

Hi,
is ths lib somewhere around a CDN hub for download?
Thanks a lot.
With best regards
Gerhard

Sure
https://cdnjs.cloudflare.com/ajax/libs/angular-nvd3/1.0.5/angular-nvd3.min.js


Add support for non-AMD.

I'd like to use this in a project without browserify or an AMD structure. Is there a reason not to support this use case?
Thanks!

can you:

[ ] move the UMD code to the end of the file
[ ] don't indent the main body of the code (pretend the UMD wrapping isn't there)

@jonathanong Like so?

i don't understand how meteor packages are defined.

thanks file:///Users/jong/Workspace/jonathanong/textarea-caret-position/test/index.html


Conflict with one step checkout module

Hi I just installed this through composer and my website broke. I can't get it uninstalled. How do you remove this as it conflict with the premium One Page Checkout plugin.
There were duplicates found in Composer therefor I couldnt do anything.
My website returns error 500.

Hi,
You can follow this guide to resolve it
https://github.com/mageplaza/module-core/issues/3
If you cannot resolve it yourself, feel free to get help at
https://mageplaza.freshdesk.com
Regards,
Sam

Hi Sam, That guide didn't resolve and I submitted a ticket at megaplaza.freshdesk.com

I see.
It is out of working time now.
I will ask our supporter disable it temporary, we will look into this
tomorrow.


assertRaises should support coroutines, futures or Task

assertRaises() works with and without a callable.
Without a callable, and as a context manager, assertRaises() works nicely.
But with something that can raises an exception but is not a bare callable such as Task or Futures, assertRaises() doesn't wait until the end of the async callable like object to assert that no exception has been raised.
Wouldn't it be nice to write something like:
import asyncio

# This is the function to be tested

@asyncio.coroutine
def background_work():
	yield from asyncio.sleep(0.1)
	raise RuntimeError("Plop")

# this is the test part

import asynctest

class MyTests(asynctest.TestCase):

	def setUp(self):
		self.t = asyncio.get_event_loop().create_task(background_work())

	@asyncio.coroutine
	def test_with_with(self):
		# This one is working
		with self.assertRaises(RuntimeError):
			yield from self.t

	@asyncio.coroutine
	def test_with_task(self):
		# Not this one
		yield from self.assertRaises(RuntimeError, self.t)

	def function_waiting_task(self):
		return (yield from self.t)

	@asyncio.coroutine
	def test_with_function(self):
		# Not this one
		yield from self.assertRaises(RuntimeError, self.function_waiting_task)

The point is the same with assertRaisesRegex(), assertWarns(), assertWarnsRegex().
I'm not sure it is possible or easy to do, but if it is not, it should IMHO at least be documented.

Hi, thanks for the report.
We can make assertRaises() and friends return a future if the callable is an awaitable, however, I don't like when a function is sometimes awaitable and sometimes not (ie: sometimes it's a plain function, sometimes it's a coroutine), as it's easy to forget the await/yield from.
However, it's easy to add new assertions like asynctest.TestCase.assertAsyncRaises(), which accepts awaitables.
I agree about the docs, it should be updated anyway.

The asynctest.TestCase.assertAsyncRaises() is indeed a very nice idea, which solve my precise case while being explicit.

It would be great to have this!
Is there any workaround you think about we could implement in the meantime?

Hello, I implemented those methods, you can use the master branch until I release a new version of the package.


4.x: interceptors are broken by new builder API

Interceptors are a bit broken - see InterceptorStackingTest#interceptorStacking, and FaultToleranceTest#testGreetNamedFallback (in examples) - works in IDE, fails in maven with Error in interceptor chain processing: service provider: GreetEndpoint:ACTIVE

Can you comment some more on what is broken in the faulttolerance nima example?  I don't see anything commented on or disabled in testGreetNamedFallback


RuntimeError and OSError

What happened?
I run fmriprep on a subject with three sessions and get a RuntimeError and then a OSError.
What command did you use?
RUNNING: docker run --rm -e DOCKER_VERSION_8395080871=20.10.12 -it -v /Users/lorenzopasquini/freesurfer/license.txt:/opt/freesurfer/license.txt:ro -v /Users/lorenzopasquini/Desktop/Insight2/bids_coverted:/data:ro -v /Users/lorenzopasquini/Desktop/Insight2/derivatives:/out nipreps/fmriprep:21.0.1 /data /out participant --participant-label 30 --cifti-output --use-aroma --nthreads 4 --mem_mb 20000 --output-spaces MNI152NLin2009cAsym:res-2

What version of fMRIPrep are you running?
fMRIPrep version 21.0.1
How are you running fMRIPrep?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/concurrent/futures/_base.py", line 328, in _invoke_callbacks
    callback(self)
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/plugins/multiproc.py", line 159, in _async_callback
    result = args.result()
  File "/opt/conda/lib/python3.8/concurrent/futures/_base.py", line 437, in result
    return self.__get_result()
  File "/opt/conda/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
FileNotFoundError: /tmp/work/fmriprep_wf/single_subject_30_wf/func_preproc_ses_2_task_rest_wf/bold_std_trans_wf/_std_target_MNI152NLin6Asym.res2/threshold/mapflow/_threshold43/result__threshold43.pklz
220208-00:57:34,462 nipype.interface INFO:
	 stderr 2022-02-08T00:57:34.458857:++ 3dvolreg: AFNI version=AFNI_21.3.17 (Dec 30 2021) [64-bit]
220208-00:57:34,468 nipype.interface INFO:
	 stderr 2022-02-08T00:57:34.458857:++ Authored by: RW Cox
220208-00:57:34,474 nipype.interface INFO:
	 stderr 2022-02-08T00:57:34.473110:** AFNI converts NIFTI_datatype=4 (INT16) in file /tmp/work/fmriprep_wf/single_subject_30_wf/func_preproc_ses_2_task_rest_wf/bold_std_trans_wf/bold_reference_wf/_std_target_MNI152NLin2009cAsym.res2/gen_avg/vol0000_xform-00000_clipped_merged_sliced.nii.gz to FLOAT32
220208-00:57:34,475 nipype.interface INFO:
	 stderr 2022-02-08T00:57:34.473110:     Warnings of this type will be muted for this session.
220208-00:57:34,476 nipype.interface INFO:
	 stderr 2022-02-08T00:57:34.473110:     Set AFNI_NIFTI_TYPE_WARN to YES to see them all, NO to see none.
220208-00:58:04,744 nipype.workflow WARNING:
	 Storing result file without outputs
220208-00:58:04,749 nipype.workflow WARNING:
	 [Node] Error on "fmriprep_wf.single_subject_30_wf.func_preproc_ses_3_task_face_wf.ica_aroma_wf.smooth" (/tmp/work/fmriprep_wf/single_subject_30_wf/func_preproc_ses_3_task_face_wf/ica_aroma_wf/smooth)
exception calling callback for <Future at 0x7f14f0f449d0 state=finished raised FileNotFoundError>
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 741, in _run_command
    result = self._interface.run(cwd=outdir)
  File "/opt/conda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 428, in run
    runtime = self._run_interface(runtime)
  File "/opt/conda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 822, in _run_interface
    self.raise_exception(runtime)
  File "/opt/conda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 749, in raise_exception
    raise RuntimeError(
RuntimeError: Command:
susan /tmp/work/fmriprep_wf/single_subject_30_wf/func_preproc_ses_3_task_face_wf/bold_std_trans_wf/_std_target_MNI152NLin6Asym.res2/merge/vol0000_xform-00000_clipped_merged.nii.gz<PHONE_NUMBER>500 2.5479654009 3 1 1 /tmp/work/fmriprep_wf/single_subject_30_wf/func_preproc_ses_3_task_face_wf/ica_aroma_wf/calc_bold_mean/vol0000_xform-00000_clipped_merged_mean.nii.gz<PHONE_NUMBER>000 /tmp/work/fmriprep_wf/single_subject_30_wf/func_preproc_ses_3_task_face_wf/ica_aroma_wf/smooth/vol0000_xform-00000_clipped_merged_smooth.nii.gz
Standard output:

Standard error:
terminate called after throwing an instance of 'NiftiIO::NiftiException'
  what():  Error: short write, output file will be truncated
Aborted
Return code: 134

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
    result["result"] = node.run(updatehash=updatehash)
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 516, in run
    result = self._run_interface(execute=True)
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 635, in _run_interface
    return self._run_command(execute)
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 746, in _run_command
    _save_resultfile(
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/utils.py", line 235, in save_resultfile
    savepkl(resultsfile, result)
  File "/opt/conda/lib/python3.8/site-packages/nipype/utils/filemanip.py", line 720, in savepkl
    pkl_file.write(content)
  File "/opt/conda/lib/python3.8/gzip.py", line 335, in close
    myfileobj.close()
OSError: [Errno 28] No space left on device

During handling of the above exception, another exception occurred

Additional information / screenshots
No response

You need to map a working directory into your container. Try using the -w flag with fmriprep-docker.

this is the running code I get if I add -w just after fmriprep-docker:
RUNNING: docker run --rm -e DOCKER_VERSION_8395080871=20.10.12 -it -v /Users/lorenzopasquini/freesurfer/license.txt:/opt/freesurfer/license.txt:ro -v /Users/lorenzopasquini/Desktop/Insight2/derivatives:/data:ro -v /Users/lorenzopasquini/Desktop/Insight2/participant:/out -v /Users/lorenzopasquini/Desktop/Insight2/bids_coverted:/scratch nipreps/fmriprep:21.0.1 /data /out participant --participant-label 30 --cifti-output --use-aroma --nthreads 4 --mem_mb 20000 -w /scratch --output-spaces MNI152NLin2009cAsym:res-2

and this is the error I get:
File "/opt/conda/lib/python3.8/site-packages/bids/layout/validation.py", line 73, in validate_root
raise BIDSValidationError(
bids.exceptions.BIDSValidationError: 'dataset_description.json' is missing from project root. Every valid BIDS dataset must have this file.
Example contents of 'dataset_description.json':
{"Name": "Example dataset", "BIDSVersion": "1.0.2"}

adding -w resulted in a folder been created in Users/lorenzopasquini/Desktop/Insight2, where also the original dataset_description.json file is located

Sorry, you need to use -w /path/to/working/directory, not just -w. It's a scratch directory where intermediate files will be stored. It can be safely deleted once done, and will allow you to reuse partially computed results, if your job is interrupted. See https://fmriprep.org/en/stable/faq.html?highlight=--work-dir#can-fmriprep-continue-to-run-after-encountering-an-error.

Thanks again, it worked!


how to  create collection?

how to  create collection?

Please don't create issues with questions if there is answers in README, tests
If you don't find something, you can join to slack channel and ask there

You can find link here


Final fixes to support multiple ordinals per edge target [phab:D829]

Created by schroederc at 2016-04-13 18:30:28:
This is a consequence of #1120 and a follow-up to #1126.

zarko accepted this revision at 2016-04-13 19:00:45

schroederc closed via commit 0eda382ea6c4acb33aaa2f22080fba6ad68f15a5 at 2016-04-13 19:04:17


Adding launcher icon

Adding Icons #7

LGTM (Looks Good to Me) but it would have been great if you had done the same for iOS

Hey can I create an issue for same and work on it ?

Okay, I will close the previous issue

Thanks! Created a new issue. Can you please assign it to.me ?.

Sure


fibjs: Fix build for Linux

Closes #860
See https://gist.github.com/500ef570e019404f9ad6
Message:

Error: No such file or directory - bin/Darwin_Release/fibjs

Merged. Thanks for all your work, Bob!


Fix for bug #5304 (second version including POSIX way to call subroutine)

After #5310 the old #5305 was closed due to merge conflicts.
These are solved now, and it can be merged again automatically

ref: #5304

I think this is not related to the POSXI compatibility fix, but rather a minor improvement.

@Mergifyio backport v1.4.x v1.3.x


Virtual Entities. Can update fields but relationships fail on custom plugin not allowed.

Accessing mserp_(various) virtual entity from F&O.
Can update fields from Power Automate, Model and Canvas Apps.
Creating relationships fails on various tables all with this error:
"Custom plugin execution is not allowed in nested pipeline for Virtual Entity.
Is it me or what else could I try?
Driving me bonkers. Thanks. Richard U.K

VE-power-automate-relate-code.txt
VE-adding-relationship-failure.txt
VE-table-row-example.txt

@tacklers Thanks for contacting us. Unfortunately, we're unable to handle Support requests for the product here. To contact Support, see here: https://powerapps.microsoft.com/support/.
Closing this issue.


Probes required for measuring Resilience scores for litmus-portal.

Probes required for measuring Resilience scores for litmus-portal.

This is available in 1.7.0


Newer versions

Hi!
Are there any plans to support newer versions of LLVM? Specifically I'm hoping for v10.0.1, but even v9 would be great.

Pull requests welcome.

Hi,
is anyone already working on this?
I am also interested in v10, I can make a merge request in the near future.

@foerdi
I'm working on my own bindings lib for v10 specifically. I don't know if it's planned for llvm-d tho

is anyone already working on this?

Not that I'm aware of.

I am also interested in v10, I can make a merge request in the near future.

Thanks :)

I'm working on my own bindings lib for v10 specifically. I don't know if it's planned for llvm-d tho

I'm curious, is there anything in llvm-d's design that isn't suited to your use case? Adding new LLVM support to llvm-d isn't inherently difficult, you just have to do a diff between two LLVM tarballs' llvm-c include directory and translate those changes to D. I'll happily merge a good PR, but I myself just have no need for a new version.

Mostly because it's my first time wrapping extern libs to D. I wasn't sure how I would do so, so I decided to try it out "privately". And then I also find the llvm-d structure a bit confusing

And then I also find the llvm-d structure a bit confusing

I see. FWIW:
llvm/config.d: Version definition and target support (targets are what LLVM calls its backends)
llvm/constants.d: Enumerations and other constants
llvm/types.d: Type definitions
llvm/functions/link.d: Function stubs
Adding a new LLVM version usually only needs to touch those files.

I hadn't planned on it, but since I had some free time I added on-paper support for 9.0.0, 9.0.1, and 10.0.0.
Please test @Dmunch04 @foerdi.

Nice, Thank you.
I hope I can test it next weekend.


Add citation links to the GitHub repo

GitHub recently added the option to show citation info for repositories based on a CITATION.cff file.
This PR such a file for MFEM pointing to the CAMWA paper.
You can see the resulting link on the right of https://github.com/mfem/mfem/tree/citation-dev.

Folks, can you please take a look and update your ORCID numbers?

I also need two approvals :)

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

Merged in next for testing...


Systemd service file

I'm assuming /usr/bin/clipmenud and I'm not 100% sure Environment=DISPLAY=:0 is needed anymore. Just  a suggestion that works for me.

I wonder why it's still not merged. Thanks @kaihendry !

I've been meaning to do this, but wanted to add some security settings first. Shouldn't be too hard, will take a look today.

Thanks!
On Fri, Feb 17, 2017, 18:25 Chris Down<EMAIL_ADDRESS>wrote:

I've been meaning to do this, but wanted to add some security settings
first. Shouldn't be too hard, will take a look today.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cdown/clipmenu/pull/40#issuecomment-280696367, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGZKloWCoiQZBEC9RWf4VLzBCzPdCPezks5rdcnmgaJpZM4Ldokw
.

Added in 662e31d. :-)
Thanks @kaihendry for the PR!

clipmenu 3.0.0 released using this service file.

Great!
On Fri, Feb 17, 2017, 19:13 Chris Down<EMAIL_ADDRESS>wrote:

clipmenu 3.0.0 released using this service file.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cdown/clipmenu/pull/40#issuecomment-280709795, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGZKluwTzLfe3aiv9SHLhmhEXzpJIx3Aks5rddVAgaJpZM4Ldokw
.


Add CLI tool to publish markdown to confluence

This is also to help with testing by ensuring plugin runs in nodejs

Initial cli.js added

Closing as this will move to another project


tweak(server/imp): minor tweaks for detection.

Adjust Explosion Event
Fix missing in client in getting blacklisted model
Fetching blacklisted Events
Minor fix for identifier to discord.
Discord Webhook
Blacklisted list to config.

Thanks!


Validate packages using the SDK's validator service

The SDK has a package validator that is exposing as a service. The API should connect to it to validate packages on the SP side. Note: this shouldn't be a repetition of the validations done at the SDK side.

API is documented in here

Check the API here

Hey, @lconceicao,
Going through the son-validate API documentation, some doubts came to my mind:

shall the GK pass a package, a service and a function separately? Or can it pass the entire .son file?
Is this an asynchronous API?

Thanks

Hello @jbonnet ,

It can pass the entire package. For this you can use the /validate/package endpoint. Also, the package itself can be embedded in the request body or a URL can be provided indicating the package location.
For the first case (embedded) the body in the request would look something like this:
source: "embedded"
file: (the file itself)
For the second case (URL) it would look like:
source: "url"
path: (the URL for the package file)

Do you mean if waits for the response? Yes, the API will block until the response is retrieved. It is possible to implement this asynchronously, however the GK would have to perform at least 2 requests.

Great, @lconceicao

Ok;
No, I just saw the /reports endpoint and got that doubt...

@jbonnet,
For the latest version of the API documentation please refer to: https://github.com/lconceicao/son-cli/tree/son-validate-events/src/son/validate
I will merge this soon, but the jenkins tests are taking forever...

Ok, I'm on it...
By the way, what HTTP codes should be expected on the GK's side? 200 (Ok), and...?

Well, for the moment the API is returning 200 when it is able to perform the validation (independently of the validation result) and a 400 when it doesn't have all the required components/parameters to do a validation, associated with an error message.


Bookinfo app add mysql db access to ratings service

It was decided in https://github.com/istio/istio/pull/473, that we'd first add mysql db access to the ratings service in the bookinfo app.
Opening this issue to track this requirement.

we do want to add mysql as a rawvm demo soon but otherwise I suppose this is for 0.3 ?

For 0.1.
MySQL is in cluster tcp service in this example. We also want to pivot the
same example to a egress service (e.g. hosted MySQL in cloud or on prem,
outside istio). We have had support since 0.1 but didn't create examples.
--
~shriram


Bug Report

copy paste keybindings not working
           {
                "command": "PasteText",
                "keys": [
                    "ctrl+v"
                ]
            },
            {
                "command": "CopyText",
                "keys": [
                    "ctrl+c"
                ]
            }

When opening the config are deleted.

Those aren’t supported key bindings. #968


fields of type ModelMetaclass gives ValueError when calling schema()

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
If a pydantic model Foo has a field of type ModelMetaclass, then calling Foo.schema() raises:
ValueError: Value not declarable with JSON Schema, field: name='_models' type=ModelMetaclass required=True
Example:
Define a model like this:
class Foo(BaseModel):
    models: List[ModelMetaclass]

and declare it like this:
class Bar(BaseModel):
    baba: int

class Bo(BaseModel):
    bibi: float

Foo(models=[Bar, Bo])

Works fine.
But call
Foo.schema()
Gives
ValueError: Value not declarable with JSON Schema, field: name='_models' type=ModelMetaclass required=True
I expected something like this:
{'title': 'Foo',
 'type': 'object',
 'properties': {'models': {'title': 'Models',
   'type': 'array',
   'items': {'type': 'ModelMetaclass'}}},
 'required': ['models']}

Example Code
from pydantic import BaseModel
from pydantic.main import ModelMetaclass
from typing import List

class Foo(BaseModel):
    models: List[ModelMetaclass]

Foo.schema()

Python, Pydantic & OS Version
pydantic version: 1.9.0
            pydantic compiled: True
                 install path: /Users/mayabrandi/miniconda3/lib/python3.8/site-packages/pydantic
               python version: 3.8.13 (default, Mar 28 2022, 06:13:39)  [Clang 12.0.0 ]
                     platform: macOS-12.6-arm64-arm-64bit
     optional deps. installed: ['typing-extensions']

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .dict() and .json()
[X] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Ye, not surprised that schema doesn't know how to deal with this, what happens if you use Type[BaseModel] which I assume would be equivilant?
I don't think this is really a bug as we don't suggest anywhere that this should work.

Thanks for your reply! I was sort of suspecting I was doing something wrong. But I really would need to store the models in some way..
Trying your suggestion:
class Foo(BaseModel):
    models: List[Type[BaseModel]]

Foo.schema()
gives:
File ~/miniconda3/lib/python3.8/abc.py:102, in ABCMeta.__subclasscheck__(cls, subclass)
    100 def __subclasscheck__(cls, subclass):
    101     """Override for issubclass(subclass, cls)."""
--> 102     return _abc_subclasscheck(cls, subclass)

TypeError: issubclass() arg 1 must be a class

from typing import List, Type

from pydantic import BaseModel, __version__

print('pydantic version:', __version__)

class Foo(BaseModel):
    models: List[Type[BaseModel]]

print(Foo.schema())

Works fine with pydantic v1.10.2.


Change head shape of group

Add functionality to be able to change the head shape of a group of neumes simultaniously.

refer to #196. Duplication will provide similar functionality.


Xcode12.5 Crash

I updated from Xcode12.4 to Xcode12.5.
And then I tried to login on twitter.
This is my code.
twitterUser = await _twitterLogin.login();

But the application crashed.
When I use Xcode11.4, the application doesn't crash.
I got following error.
I think it was caused by redirectURI.
But I don't know the solution...

error log
021-04-27 16:10:24.816157+0900 Runner[474:15661] [AuthenticationSession] The provided scheme is not valid. A scheme should not include special characters such as ":" or "/".

2021-04-27 16:10:24.817931+0900 Runner[474:15661] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'The provided scheme is not valid. A scheme should not include special characters such as ":" or "/".'

I use the version 2.1.4.(I am sorry for not using latest version.)

Getting the same crash after upgrading Xcode to 12.5

Sorry it took so long.
This has been fixed in 3.0.8.


Added html, css and js logos

Added html, css and js logos

As a user, I was missing these logos when making sketches related to front end tech. It would be nice to have them included in the library

Hello. If I may offer some suggestions, instead of simple numbers I'd draw up the proper pictographic numbers that the logos use:

Anyway, let's make the logo library items separate. Right now there's only one item that contains all 3 logos.

@dwelle : Thanks for the suggestions. Updated the logos in the latest commit with pictographic numbers. Please check.
They look like below below now.

If the changes are fine, can we get this PR merged?

Yep, sorry. Thanks for the lib!


Strange behavior in scatter when size is between 1e-22 and 1e-29

using PyPlot
x = repmat(1:100, 100)
y = rand(length(x))
s = 100*exp10(-x)

scatter(x,y,s)

The sizes of the points in the plot should be monotonically decreasing in x, which mostly happens except for the strange band when the size value is approximately 1e-25 when they reappear.
I tried reproducing the chart in python 3 and did not have the same strange results.
import matplotlib.pyplot as plt
import numpy as np
import random

x = np.repeat([a for a in range(1,31)], 100)
y = np.repeat(1, 3000)
s = np.exp(-x)
plt.scatter(x,y,s)

plt.show()

I'm using
Julia Version 0.4.5
Commit 2ac304d (2016-03-18 00:58 UTC)
Platform Info:
System: Linux (x86_64-linux-gnu)
CPU: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
WORD_SIZE: 64
BLAS: libopenblas (NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.8
I also reproduced it on my macbook with version
Julia Version 0.4.5
Commit 2ac304d (2016-03-18 00:58 UTC)
Platform Info:
System: Darwin (x86_64-apple-darwin13.4.0)
CPU: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.3

Are you using the same Matplotlib version in Python?  (Look at PyPlot.version).

Wait, in Python, your computation is totally different from the one in Julia.  Can you do the same thing in Python and Julia?

You're right, the same thing is happening in python after making the two bits of code more similar.
Looks like the bug is in Matplotlib, so I'll post the issue over there instead.
Thanks!
Python 3

Julia


asking to remove alias from .bash_profile

Why would this be asking me to remove function code from my bash profile for the update?  Is this correct?
function code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $*; }

//Code needs to change the 'code' shell command. Would you like to do this now?
//Please remove the 'code' alias from '/Users/steven/.bash_profile' before continuing.

Yes. The new update brings in a new way of launching Code from the command line. Following the instructions will let you update to that. I recommend doing it.

I did comment the function code () ... , but I'm still getting this question every time?

With #4169 we started detecting that you may have commented it out and wouldn't pester you about it, but that will only come next release, unfortunately.
You'll have to remove the line for now.

When this message appears there is cancel button. Shouldn't my choice be persisted in case I want to continue as it is? It is little bit annoying having to press cancel button every time editor launches. I have my own command that I called vcode not code but I still get this message and on next step there is a message Please remove the alias referencing 'com.microsoft.VSCode' in... Thanks for the good work!

You definitely want to remove the alias referencing com.microsoft.VSCode as it will eventually break. Why do you want to keep it?

Well default code command doesn't work well for me. For example if editor is already open and close it and I run command to open new one with path to specific folder, path would be ignored and command would reopen project I was working on before. Only if I quit editor completely command would open project I want to open. Which is kinda annoying if you need to switch between different projects often.  So I have this command:
vcode () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
which I sticked to .bash_profile and in works as expected. But then editor complains about using com.microsoft.VSCode

That is odd. The behaviour you describe should work. That is:

Have Code open in a folder.
Quit Code.
Type code another_folder to open another folder

Code should open with another_folder open, not the original folder.
Are you sure you don't get this behaviour using the official code launcher?

Yes, step 2 is the problem.
So here is an example. Let's say I want to have two different folders open at same time so I can compare something:

Run code folder_1 - Code editor will open on folder_1 ✅
Without closing editor run code folder_2 - Code editor will not open on folder_2 instead it will focus on editor with folder_1 ❌

Here is another example:

Run code folder_1 - Code editor will open on folder_1 ✅
Close editor but do not quit application ✅
Run code folder_2 - Code editor will not open on folder_2 instead it will open editor with folder_1 ❌

Both those examples work for me.
Are you absolutely sure you are using the launcher that you install via the Command Palette? Make sure you install it, totally comment out the alias, and restart the Terminal before retrying.

Ok so here is update. I tested provided official command on two different MacBooks and it doesn't work. Both have encrypted hard drive if that makes any difference? I remember I had similar problem with Atom editor command when I encrypted my hard drive. I know it sounds weird. 🙄

That is definitely weird. Let's just create an issue for it: #9524

Thanks


Updating the import of go-uuid

From the current page of code.google.com/p/go-uuid/uuid:

project has been moved to https://github.com/pborman/uuid.

Thanks! I was waiting for them to move the project off Google Code. Don't be alarmed by the two test failures; those seem to be Go 1.6 related. I'll take a look at those separately.


10d how to use kv store

This document is for 10.d how to use kv store.
I added info on all the sections except for Advanced reference (redis sdk) because I already go over stuff like that in 10b. two types of integrated storage - kv store .
Image:

There are several issues with this document that I wasn't aware of. Updating it now!

Removed stateful-api-examples.md since that was suppose to be in #18. I realized I left the wrong file in for the new branch.
Connected the correct file to the sidebar.

Pending re-review on changes.

Removed ">" and fixed all conflicts.

The file that needs to be checked:
File location:  Developing and Deploying Serverless APIs  ---> Basic KV Commands

@rabbah , please confirm the last 4 pull requests I have are complete or not so that I may finalize my other milestones for this week.

@rabbah , please confirm the last 4 pull requests I have are complete or not so that I may finalize my other milestones for this week.


First Name / Last Name is not unique - no way to differentiate in UI

On screens such as the Cluster Coordinator page, the admin has to select individuals from a list of 'First Name Last Name' values.
If 2 volunteers have the same first/last combination, there is no way for the admin to know which person they are selecting from the list.

@BillWagner Any success in your discussion with Andrej?
As the username is unique, we could show it in a tooltip or between brackets or something like that. But I suppose the cluster coordinator is not aware of the usernames of the volunteers in his cluster.

@tditiecher We'll add that to my notes. We don't have an answer for this yet.

@BillWagner Label 'awaiting-requirements' ?


Window height resized to 600px after loading

Platform: Linux (ArchLinux, Gnome 43.2, Wayland)
When starting the game with RUST_LOG=trace RUST_BACKTRACE=1 cargo run --bin game -- --dev, I observe the following behaviour:

the window starts with a 800x600px size, then goes full screen, and then down to 1920x600px
according to the window decoration, it's always maximized, so you have to click twice on the "maximize" icon to go to full screen after that.

Here are some relevant logs:
[2022-12-15T23:45:31Z WARN  widgetry::runner] Monitor scale factor is 1, screen window is 800, but the application requires 1500. Overriding the scale factor to 1.
[2022-12-15T23:45:31Z TRACE widgetry::runner] winit event says the window was resized from 800, 600 to ScreenDims { width: 1920.0, height: 1013.0 }. But inner size is ScreenDims { width: 1920.0, height: 1013.0 }, so using that
[2022-12-15T23:45:33Z TRACE widgetry::runner] winit event says the window was resized from 1920, 1013 to ScreenDims { width: 1920.0, height: 600.0 }. But inner size is ScreenDims { width: 1920.0, height: 600.0 }, so using that

I'm not sure why the initial window is 800x600px. From what I understand, the issue likely lies in glutin, but that crate was completely rewritten recently, so if there's a bug there it's not going to get fixed.
It looks like updating glutin isn't a straightforward task.

We've fought bugs like this before, sadly. Per https://github.com/a-b-street/abstreet/blob/c05671367feb899dbb757f279633ca537d1234b0/widgetry/src/runner.rs#L67, we've previously observed that opening a window on Linux can fire a bunch of resize events early on, despite asking to start maximized.
Why would the issue be in glutin and not winit? I thought winit creates/manages the window and its size, and glutin is just for getting the OpenGL context.

It looks like updating glutin isn't a straightforward task.

I glanced at their changelog and new API, and indeed, it seems much harder to do what we're doing now. https://crates.io/crates/glutin-winit maybe helps? I'm not sure how worthwhile upgrading glutin is, and I don't see how it would help with this bug


Fixing usage of primitive array as a member of dictionary, closes #40

Merge this quick fix directly


Editing MODEL_PRESETS

Hi, I am working on insect proteins and having CAPS14 may not be the best model preset.
Can you please provide guidelines and steps to modify MODEL_PRESETS dictionary in alphafold/model/config.py?
Thanks
Amol

Hi Amol,
MODEL_PRESETS dictionary corresponds to the released model weights. You can select a preset with --model_preset flag as described in step 5 of https://github.com/deepmind/alphafold/blob/main/README.md#running-alphafold. However, we would expect the CASP14 models to be best validated for the performance.
Closing this issue for now, feel free to reopen if this seems unclear or you have further questions.

Hi Anya, Thanks for reply. I tried following the steps described there. My question is -

How to specify other preset model?
How do I make sure it is in the database?
What if the protein model is not in the original database because it has been recently published? how can I set and model_preset?
How to specify the model in command, e.g. by default we specify it using "CASP14 (is it uniprot name or what?)"? To specify any other specific protein model, how do I find the identifier for that protein model in any specific database? is it from Uniprot database? or something else?

Hi Amol,
MODEL_PRESETS dictionary corresponds to the released model weights. You can select a preset with --model_preset flag as described in step 5 of https://github.com/deepmind/alphafold/blob/main/README.md#running-alphafold. However, we would expect the CASP14 models to be best validated for the performance.
Closing this issue for now, feel free to reopen if this seems unclear or you have further questions.

Hi Anya, Thanks for reply. I tried following the steps described there. My question is -
How to specify other preset model?
How do I make sure it is in the database?
What if the protein model is not in the original database because it has been recently published? how can I set and model_preset?
How to specify the model in command, e.g. by default we specify it using "CASP14 (is it uniprot name or what?)"? To specify any other specific protein model, how do I find the identifier for that protein model in any specific database? is it from Uniprot database? or something else?


Kobo Vox request

Any idea what firmware I need for a Kobo Vox?  I've turned mine off after a (very) long time, and would love to update it.

The Kobo Vox is not really in scope here. It's more of an Android Tablet than an eReader, and I mainly focus on eReader stuff. You might have better luck asking on MobileRead, but AFAIK, if you haven't updated to the latest firmware yet, it's not possible anymore.


Implement Harmathy's correlation for regime of burning

Document: Chapter 10. Introduction to fire dynamics
Equations 10.18a and 10.18b

@simonsantama same here. What is the output of this method?
I assume it would be whether it is "fuel controlled", "ventilation controlled" or in the "crossover"?

Yes. The output is the identification of fuel controlled or ventilation
controlled
On Thu, Dec 12, 2024, 23:04 Jamie Maclean @.***> wrote:

@simonsantama https://github.com/simonsantama same here. What is the
output of this method?
I assume it would be whether it is "fuel controlled", "ventilation
controlled" or in the "crossover"?
—
Reply to this email directly, view it on GitHub
https://github.com/fire-library/openfire/issues/13#issuecomment-2540182513,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGI6OOXJISGW2CR2F7V33GL2FIJA3AVCNFSM6AAAAABTGCHKBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBQGE4DENJRGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Done in these two PRs: https://github.com/fire-library/openfire/pull/25 and https://github.com/fire-library/openfire/pull/22


feat: adds Headers tab to the Api response view

This PR introduces an Headers tab to the API pane response view, thus giving users the ability to see the headers attached to the responses of their queries.

Fixes #9766

New feature (non-breaking change which adds functionality)
This change requires a documentation update

Manual Tests.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:red_circle: Total coverage has decreased
// Code coverage diff between base branch:release and head branch: feat/show-response-header

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
total
55 (0)
36.47 (-0.01)
34.71 (0)
55.39 (-0.01)

:red_circle:
app/client/src/components/editorComponents/ApiResponseView.tsx
56.41 (-2.26)
38.46 (-5.02)
0 (0)
56.41 (-2.26)

/ok-to-test sha=0f2d8e4

/ok-to-test sha=0f2d8e4

/ok-to-test sha=89f9b0d


METRON-239: NOOP Bulk Message Writer

We should have a NOOP Writer that will sleep at random. This will help differentiate write slowdowns between index misconfiguration and storm/kafka misconfiguration.
It should be configurable from the object as well as from zookeeper.

In zookeeper, the "noopLatency" field should be a string defining the latency.
On the object, there should be a "withLatency" function which allows you to define the latency.

The latency is defined via string in one of two modes:

An integer which provides a fixed latency
A comma separated range (i.e. "10, 20") which allows for a random latency between the bounds.

+1 from me.  this feature is needed to aid in debugging

💯  - worked like a champ on live system.


Created task --> weird messages on my screen

After creating task 146542 I saw this on the top of the page:

And this at the bottom:

Fixed.


Car Crazy App

This looks great - thanks! I know it's not quite as fun, but in future please could you have the README as normal text rather than an image? You can still insert HTML formatting. It just means it'll get indexed by search engines better, and non-english speakers can easily hit 'translate' on it

Ok, Thanks @gfwilliams! I will add the normal text to the README file. Thanks for adding the game!


lxml has a vulnerability but we can not update because of python3-saml relies on <4.7.1

Hi all.
As I mentioned in the subject of the issue, what I wanted to achieve is to update lxml to the first safe version which is the 4.9.1 but Poetry slams the door telling me I can not do it, and with valid reasons:
 SolverProblemError

  Because python3-saml (1.14.0) depends on lxml (<4.7.1)
   and no versions of python3-saml match >1.14.0,<1.15.0, python3-saml (>=1.14.0,<1.15.0) requires lxml (<4.7.1).
  So, because atoka-revenge depends on both lxml (^4.9.1) and python3-saml (~1.14.0), version solving failed.

Security output.
| lxml    | CVE-2022-2309    |          | 4.7.0             | 4.9.1         | lxml: NULL Pointer                    |
|         |                  |          |                   |               | Dereference in lxml                   |
|         |                  |          |                   |               | -->avd.aquasec.com/nvd/cve-2022-2309  |

Am I missing something or do somebody have a suggestion on this, pretty please?
Thank you for considering my request.

Hi! Any news on this topic?
Any chance the PR could be merged?

Hello, same problem :/

Hi - can you please merge this PR? We are facing this issue too.

We would also really appreciate it if this PR can be merged/issue can be fixed. Running a vulnerable lxml in production does not sit well :)

Yes please, same here!


CMake-based build system for rhash

start on an alternative build system.  This is far from finished and I want to implement some tests with it.  This is an idea to help get things started.  Comments and testing on your system are appreciated.
Todo:

remove dependency upon GNU sed.
make some build tests by translating most of the bash-based tests.
Try to implement some of the other stuff from the ./configure Makefile system including that ccp-doc stuff (I just need to know what it was referring to).
Test on MSYS.  I have not yet done that.

As always, flames, comments, and criticism are welcome.

CppDoc2 was a good utility for generating JavaDoc-style documentation from sources. Regrettably its website cppdoc.com has expired in 2016. The last accessible version is https://web.archive.org/web/20151029190831/http://www.cppdoc.com/ .
We should drop cppdoc support, since it can't be downloaded now from a verified source.

I didn't see this PR and did a very minimalist pass for CMake just to support my own needs initially.
https://github.com/jrepp/RHash/tree/cmake-support
@JPeterMugaas A few changes I would propose to your much better pass on CMake support:
Improvements for embedding:

Scope all the variables RHASH_ (rhash as a submodule in another cmake project)
Allow the omitting of the executable (RHASH_LIBRARY_ONLY)

Consider using GLOB and file structures to cleanup the test/header-only/library use cases. Probably a bigger change and just listing the files is sufficient.

@JPeterMugaas  cmake build fails on Ubuntu:

$ cmake .
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.2g")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.7")
-- Found Intl: /usr/include
-- RHash version:           1.3.6
-- OpenSSL Crypto Includes: /usr/include
-- OpenSSL Crypto Library:  /usr/lib/x86_64-linux-gnu/libcrypto.so
-- Intl Includes:           /usr/include
-- Intl Library:            Intl_LIBRARY-NOTFOUND
-- CMAKE_EXECUTABLE_SUFFIX
-- SED                      /bin/sed
-- Polyglotman (rman)       /usr/bin/rman
-- groff                    /usr/bin/groff
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Intl_LIBRARY (ADVANCED)
linked by target "rhash_exe" in directory /home/aleksey/Documents/private/RHash.GIT/build
linked by target "rhash_lib" in directory /home/aleksey/Documents/private/RHash.GIT/build
-- Configuring incomplete, errors occurred!

While the old ./configure script works:

$ ./configure
Checking for target OS ... Linux
Checking for cc version ... 5.4.0
Checking for linker support for -static ... yes
Checking for linker support for dlopen ... yes
Checking for linker support for --version-script ... yes
Checking for gettext ... found
Checking for OpenSSL ... runtime
Checking for sources ... RHash 1.3.6
Writing config.mak
Writing librhash/config.mak
Writing dist/librhash.pc

The config.log shows how ./configure has found gettext:
============ Checking for gettext ============

----- source file: /tmp/rhash-configure-19883-15721/tmp.c -----
#include <libintl.h>
int main(void) { return 0; }
----- end of file: /tmp/rhash-configure-19883-15721/tmp.c -----
cc -O2 -pipe -DNDEBUG -fomit-frame-pointer -ffunction-sections -fdata-sections -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  /tmp/rhash-configure-19883-15721/tmp.c    -o /tmp/rhash-
configure-19883-15721/tmp -c
Compilation result: 0

----- source file: /tmp/rhash-configure-19883-15721/tmp.c -----
#include <libintl.h>
int main(void) {
  gettext("");
  return 0;
}
----- end of file: /tmp/rhash-configure-19883-15721/tmp.c -----
cc -O2 -pipe -DNDEBUG -fomit-frame-pointer -ffunction-sections -fdata-sections -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  /tmp/rhash-configure-19883-15721/tmp.c    -o /tmp/rhash-
configure-19883-15721/tmp
Compilation result: 0

Result is: found
=============================================

Sorry for my late reply but I wanted to do a lot more work on this to add more capabilities to the cmake-based system which I hope migh replace the configure script one of these days.
Alright, I did try to prefix most of the variables.  The only ones I didn't prefix are for various syntax purposes or because of some things in CMake.  I did try to provide some way to make a minimalist cmake for embedding in other projects but my main focus is on a giant distribution for developer package redistribution.  I did try to provide some things for a NSIS installer and I wanted to work on some tests.  There's still much to do in that regard to replace the ones based on the bash shell plus I'm still hoping to replace the .sed file with a cmake script so that this stuff can be more platform independent.
I also used Doxygen extensively for developer documentation in both HTML and man forms.
Now this having been said, I'm not sure what to think about the Intl issue on Linux but I hope look further at this later.  Hopefully, retesting might help.  I would have to probably update my Archlinux Virtual Machine to test that issue.

Alright, I did look at the documentation for the FindIntl module and this is what it said:
On some platforms, such as Linux with GNU libc, the gettext
functions are present in the C standard library and libintl
is not required.  Intl_LIBRARIES will be empty in this
case.
This is something that I did NOT take into account and I was not thinking about it because on Windows, there is an additional library that we have to link to if we are to compile an .EXE that uses that functionality.  On Ubuntu and probably several other things, you do NOT need to link to an additional library.  I will check in a patch for this but I'm not sure how well it would work.  But please test this and let me know.

Hello, thank for fixing issues.
I'm very busy with RL now, but I plan to review the pull request in the next coming months.

Please do not switch to CMake as build system, as CMake does not properly work on some platforms that may be supported now.
One example is AIX, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89096#c9
Another example is Cygwin: Cygwin by itself does not want to have WIN32 defined, but CMake does define WIN32 by itself - which is just wrong.

I think that would depend upon what version of CMake.  There was a change in cmake policies in that regard starting with cmake 2.83 (or something).


Fixed parameters for build.complete and ms.vss-pipelines.stage-state-changed-event, .yaml file extension bug, some code cleanup

Updated README.md with a FAQ
Fixed single-quotes linting in bundle.js
Moved list of available webhook-trigger-event-types into README.md instead of as a code comment in EventTypes.ts
Updated Azure API version from 1.0 to 5.1-preview for consistency (web UI uses 5.1-preview).
Fixed the init functions to create .yaml files instead of .undefined files
Removed redundant spinner references for code-cleanup.
Added possible values for some webhook-trigger-event-type arguments

Any reason why it shows ALL commits? Shouldn't it only show the commits since last change, which is when my PR was merged?

Any reason why it shows ALL commits? Shouldn't it only show the commits since last change, which is when my PR was merged?
I only made two commits, they are both after commit: Merge branch 'main' of https://github.com/KevinIsMyName/az-devops-tools 1c02934
Or can this be fixed by deleting my fork, and re-forking?

It's showing all commits because I squashed your fork into main when I merged the last PR.  You could fix this by creating a new fork or just rebasing your current fork, but since I'm going to squash this PR too there's no need.

I force pushed because of a git commit --amend --no-edit after I just pushed. Nothing wrong to see here.


AttributeError: module 'keras.utils' has no attribute 'generic_utils'

I had installed efficientnet (stable version) using pip by the following command: pip install efficientnet
On importing the library using import efficientnet.keras as efn, the following error arises:
Traceback (most recent call last)
<ipython-input-6-61d736540c72> in <module>
----> 1 import efficientnet.keras as efn

/opt/conda/lib/python3.7/site-packages/efficientnet/keras.py in <module>
     16 preprocess_input = inject_keras_modules(model.preprocess_input)
     17
---> 18 init_keras_custom_objects()

/opt/conda/lib/python3.7/site-packages/efficientnet/__init__.py in init_keras_custom_objects()
     69     }
     70
---> 71     keras.utils.generic_utils.get_custom_objects().update(custom_objects)
     72
     73

AttributeError: module 'keras.utils' has no attribute 'generic_utils'

Go to the line where this issue is happening, then change keras.utils.generic_utils to tensorflow.python.keras.utils.generic_utils. This will solve your issue

@AdityaR-Bits I already have a PR pending above, but the authors/reviewers seem to be inactive, hopefully someone would review and merge the PR.

%env SM_FRAMEWORK=tf.keras
try this

%env SM_FRAMEWORK=tf.keras
try this


Rendering nothing should still paint background

I'm using the canvas_glutin_minimal example as a starting point for a renderer. I noticed that if all the calls to canvas methods (see snippet below) are removed or commented out, the renderer does nothing. It doesn't even paint the background, so a black screen is displayed even if a non-black background color is set.

This is troublesome for me because there is a state in my application where nothing has been drawn yet. Even calling clear_rect doesn't actually result in the background being painted.
This snippet shows the calls I commented out to get the image above:
https://github.com/servo/pathfinder/blob/c7ce2153de7dc5f1d095aeb1f88676176102ef69/examples/canvas_glutin_minimal/src/main.rs#L63-L78
I would really appreciate it if pathfinder could paint the background even when there are no primitives to draw. This is pretty common behaviour and would be a very useful default.
Version Info
$ rustc --version --verbose
rustc 1.43.0 (4fb7144ed 2020-04-20)
binary: rustc
commit-hash: 4fb7144ed159f94491249e86d5bbd033b5d60550
commit-date: 2020-04-20
host: x86_64-unknown-linux-gnu
release: 1.43.0
LLVM version: 9.0

In my application I'm using version v0.5 of pathfinder which is published on crates.io. The git commit used to generate the image above is shown below.
$ git log -1
commit c7ce2153de7dc5f1d095aeb1f88676176102ef69 (HEAD -> master, origin/master, origin/HEAD)
Merge: a373a1fb f8405d81
Author: Patrick Walton<EMAIL_ADDRESS>Date:   Tue May 5 13:11:06 2020 -0700

    Merge pull request #316 from pcwalton/reduce-buffer-size

    Reduce the size of buffers for performance

Workaround
My current workaround for this is to paint a 1 px rectangle in the corner of the window:
// Need to render *something* every time to get pathfinder to even render a background
canvas.stroke_rect(RectF::new(vec2f(0.0, 0.0), vec2f(1.0, 1.0)));

Yeah, this is because modern GPU APIs like Metal don't have the concept of a clear action that's different from a rendering action, so when rendering is removed then clear is as well. I'll go ahead and add a special clear pass for this case, as it also impacts my pure-GPU branch as well.

Thank you!


WebP support

Official Google WebP doc :
https://developers.google.com/speed/webp/
And also :
http://www.ioncannon.net/programming/1483/using-webp-to-reduce-native-ios-app-size/

Add "User Header Search Paths" in "SDWebImage" target which is in "Pods" project.
$(SRCROOT)/libwebp/src with recursive


add rollback script from CD to EUS

The current rollback procedure cannot fully pass the SERT regression test.
I have not got the chances to run the second round of test due to the maintenance of Fyre. But we could review the PR first.

@horis233 @ZhuoxiLi
The script is ready for merging.
It has been added into scripts branch~


Do not collect duplicated information

Submariner, k8s, OS and kernel information
are collected as part of subctl gather. Don't
ask for them explicitly in bug report.
Attaching summary.html (which includes all necessary information) for reference.
summary.html is created while running subctl gather
summary.html.log
(Renaming it to .log because .html is not a supported extension)
Signed-off-by: Janki Chhatbar<EMAIL_ADDRESS>

@Jaanki can you please handle the same in the rest of the repo? thanks!

@Jaanki can you please handle the same in the rest of the repo? thanks!

Yes @nyechiel Once this is merged, I will add PRs in other repos

@Jaanki can you please handle the same in the rest of the repo? thanks!

Yes @nyechiel Once this is merged, I will add PRs in other repos

I'll assign https://github.com/submariner-io/submariner-website/issues/101 to you then if that's okay, as it track exactly that TODO.


Feature navigation

In this PR i have
-Create the navbar with all required buttons
-Added a header and footer.

Added a logo and title of App

@richie1988  Please have a look at it. Regards


cob_command_tools: 0.6.34-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository cob_command_tools to 0.6.34-1:

upstream repository: https://github.com/4am-robotics/cob_command_tools.git
release repository: https://github.com/4am-robotics/cob_command_tools-release.git
distro file: noetic/distribution.yaml
bloom version: 0.11.2
previous version for package: 0.6.33-1

cob_command_gui

No changes

cob_command_tools
* Merge pull request #341 <https://github.com/4am-robotics/cob_command_tools/issues/341> from fmessmer/feature/optimize_workspace
  [WIP] optimize workspace
* remove cob_interactive_teleop
* Contributors: Felix Messmer, fmessmer

cob_dashboard

No changes

cob_helper_tools
* Merge pull request #336 <https://github.com/4am-robotics/cob_command_tools/issues/336> from HannesBachter/feature/delay_retry
  make delay for retry configurable
* make delay for retry configurable
* Contributors: Felix Messmer, HannesBachter

cob_monitoring
* Merge pull request #340 <https://github.com/4am-robotics/cob_command_tools/issues/340> from fmessmer/migrate_ipa320
  migrate ipa320
* properly specify dependency
* Merge pull request #338 <https://github.com/4am-robotics/cob_command_tools/issues/338> from Deleh/fix/netdata_swap_chart
  Support New Netdata Swap Chart Name
* add netdata version to cpu info
* support new netdata swap chart name
* Contributors: Denis Lehmann, Felix Messmer, fmessmer

cob_script_server

No changes

cob_teleop
* Merge pull request #340 <https://github.com/4am-robotics/cob_command_tools/issues/340> from fmessmer/migrate_ipa320
  migrate ipa320
* remove outdated readme
* Contributors: Felix Messmer, fmessmer

generic_throttle

No changes

scenario_test_tools

No changes

service_tools

No changes

Both  the code repo as well as the release repo have been moved with "transfer ownership".
I released it with
bloom-release -r noetic -t noetic --edit --override-release-repository-url https://github.com/4am-robotics/cob_command_tools-release.git cob_command_tools

Could someone quickly confirm that everything worked as expected, i.e. are both code repo as well as release repo now pointing to 4am-robotics rather than ipa320?
Because in https://github.com/4am-robotics/cob_command_tools-release?tab=readme-ov-file#cob_command_tools-noetic---0634-1, I still see release repository: https://github.com/ipa320/cob_command_tools-release.git. That confuses me a bit...
What about links on the ROS wiki, i.e. the documentation in http://wiki.ros.org/cob_command_tools.
Will this be updated automatically, too?
And about the removed package cob_interactive_teleop:
This got removed in 0.6.34. Will it still be installable with version 0.6.33 or will it no longer be available via sudo apt install ros-noetic-cob-interactive-teleop?
Thanks!

I think I understood the logic now myself and modified the distribution.yaml manually to also point the doc and the source section to 4am-robotics urls instead of the ipa320 urls
Was that the right thing to do? Could that have been achieved via the bloom-release tool as well in some way?

would the following entry achieve what I have in mind for cob_interactive_teleop?
  cob_command_tools:
    doc:
      type: git
      url: https://github.com/4am-robotics/cob_command_tools.git
      version: indigo_release_candidate
    release:
      packages:
      - cob_command_gui
      - cob_command_tools
      - cob_dashboard
      - cob_helper_tools
      - cob_monitoring
      - cob_script_server
      - cob_teleop
      - generic_throttle
      - scenario_test_tools
      - service_tools
      tags:
        release: release/noetic/{package}/{version}
      url: https://github.com/4am-robotics/cob_command_tools-release.git
      version: 0.6.34-1
    source:
      type: git
      url: https://github.com/4am-robotics/cob_command_tools.git
      version: indigo_dev
    status: maintained
  cob_command_tools_legacy:
    doc:
      type: git
      url: https://github.com/ipa320/cob_command_tools.git
      version: indigo_release_candidate
    release:
      packages:
      - cob_interactive_teleop
      tags:
        release: release/noetic/{package}/{version}
      url: https://github.com/ipa320/cob_command_tools-release.git
      version: 0.6.33-1
    source:
      type: git
      url: https://github.com/ipa320/cob_command_tools.git
      version: indigo_dev
    status: unmaintained

I think I understood the logic now myself and modified the distribution.yaml manually to also point the doc and the source section to 4am-robotics urls instead of the ipa320 urls
Was that the right thing to do?

Yes, that is totally fine.

Could that have been achieved via the bloom-release tool as well in some way?

I'm honestly not sure, I always just do it by hand.


FIX:  The esm template does not employ the ts template's db and server connection method/approach yet

This pull request makes the following changes

Fixes code-collabo/node-mongo#12

General checklist

[x] File or folder now contains changes as specified in the issue i worked on
[x] I have linked the issue I worked on to this pull request submitted by me

Testing checklist

[x] mongooseConnect() function is now added and used in the esm template, just as it is used in the ts template
[x] mongooseAtlasConnect() function is now added and used in the esm template, just as it is used in the ts template
[x] all db and server files in the esm template now adopt the file names as used in the ts template
[x] No new code or functionality was added, I only made the esm template to employ the ts template's db and server connection method/approach
[x] I certify that I ran my checklist

Ping @code-collabo/node-mongo

@Ifycode, I have just restructured the esm template db connection to replicate that of the esm template. do check it out. my only problem is how to edit the package.json file to fit the changes

i have updated the package.json file as suggested. please do check it out


Info about querySelectorAll is not correct

// jQuery
$('selector');

// Native
document.querySelectorAll('selector');

But querySelectorAll is very limited and not really an alternative to what jQuery has, e.g. $('[attribute]'), $('.class > .child:eq(5)') and a lot of other possible cases are much more complicated to overwrite using vanilla JS.

Yep, added a notice in the top. https://github.com/nefe/You-Dont-Need-jQuery/commit/641b287135b0dfd955db28ddf2d629747da14875


cmd/scollector: Added collector for GitHub Enterprise

Uhh, I didn't change cmd/bosun. Is this a repeat of previous issue where the go generate always reports a change, even when there isn't one?

I think esc made some changes. Try go get -u -v github.com/mjibson/esc

There's an extra debug file to delete.

Which extra debug file is there to delete? I removed one that was already in there but I don't see any others?
 I don't know if this is a Windows thing, or if my particular setup is borked:
[88] H:\Go\src\bosun.org\cmd\scollector> go generate bosun.org/...
# bosun.org/vendor/golang.org/x/sys/windows
..\..\vendor\golang.org\x\sys\windows\zsyscall_windows.go:38: undefined: NewLazySystemDLL
..\..\vendor\golang.org\x\sys\windows\zsyscall_windows.go:39: undefined: NewLazySystemDLL
..\..\vendor\golang.org\x\sys\windows\zsyscall_windows.go:40: undefined: NewLazySystemDLL
..\..\vendor\golang.org\x\sys\windows\zsyscall_windows.go:41: undefined: NewLazySystemDLL
..\..\vendor\golang.org\x\sys\windows\zsyscall_windows.go:42: undefined: NewLazySystemDLL
..\..\vendor\golang.org\x\sys\windows\zsyscall_windows.go:43: undefined: NewLazySystemDLL
..\..\vendor\golang.org\x\sys\windows\zsyscall_windows.go:44: undefined: NewLazySystemDLL
..\..\vendor\golang.org\x\sys\windows\zsyscall_windows.go:45: undefined: NewLazySystemDLL
..\..\vendor\golang.org\x\sys\windows\zsyscall_windows.go:46: undefined: NewLazySystemDLL
..\..\vendor\golang.org\x\sys\windows\zsyscall_windows.go:47: undefined: NewLazySystemDLL
..\..\vendor\golang.org\x\sys\windows\zsyscall_windows.go:47: too many errors
..\bosun\main.go:3: running "go": exit status 2
2017/09/25 09:24:56 open ../ui/include.partial.html: The system cannot find the path specified.
..\..\vendor\github.com\MiniProfiler\go\miniprofiler\miniprofiler.go:348: running "esc": exit status 1
GetFileAttributesEx ../model/cli/gen-endpoints/main.go: The system cannot find the path specified.
..\..\vendor\github.com\aws\aws-sdk-go\private\endpoints\endpoints.go:4: running "go": exit status 1
GetFileAttributesEx ../../../models/protocol_tests/generate.go: The system cannot find the path specified.
..\..\vendor\github.com\aws\aws-sdk-go\private\protocol\ec2query\build.go:4: running "go": exit status 1
GetFileAttributesEx ../../../models/protocol_tests/generate.go: The system cannot find the path specified.
..\..\vendor\github.com\aws\aws-sdk-go\private\protocol\query\build.go:4: running "go": exit status 1
GetFileAttributesEx ../../../models/protocol_tests/generate.go: The system cannot find the path specified.
..\..\vendor\github.com\aws\aws-sdk-go\private\protocol\restxml\restxml.go:5: running "go": exit status 1
..\..\vendor\github.com\influxdata\influxdb\influxql\influxql.go:3: running "tmpl": exec: "tmpl": executable file not found in %PATH%
..\..\vendor\github.com\jmespath\go-jmespath\lexer.go:51: running "stringer": exec: "stringer": executable file not found in %PATH%
GetFileAttributesEx ../_codegen/main.go: The system cannot find the path specified.
..\..\vendor\github.com\stretchr\testify\assert\forward_assertions.go:16: running "go": exit status 1
ls: cannot access 'values_test.go': No such file or directory
ls: cannot access 'values_test.go': No such file or directory
ls: cannot access 'values_test.go': No such file or directory
cp: cannot stat '/mnt/h/Go/src/bosun.org/vendor/github.com/ugorji/go/codec/values_test.go': No such file or directory


Open the Safe Zone help center tooltip if unread and the user places element outside of the safe zone

@o-fernandez Some confirmation required:
Assumption - this case only applies when element is dragged, or positioned with the use of keyboard arrows, outside the safe zone

So long as part of the element is positioned outside of the safe zone, this should trigger. The idea is that if a user is making the potential (and frequent) mistake of putting elements where they may get cropped, that they are aware of the possibility.

Hey @o-fernandez I see that you added this to "ready for sprint" 😄  I'm curious where this is on the priority list with 1.6 efforts that we're prepping for. There's some questions off the bat about this, like is it triggered every time something is put outside the safe zone? how far outside the safe zone should trigger it?
It's a gray area between FTUE and pre publish checklist and I am unable to properly point it. Unless this is a high priority it feels like this would be better grouped with v2 of FTUE or possibly a version of prepublish that would link a user to the FTUE tip about safe zones if the element is outside of the safe zone?
Regardless, I think we need to nail down use case/ux before eng can do this.

To answer your questions:
Q: is it triggered every time something is put outside the safe zone?
A: no, it would only be triggered if the tip around safe zone is still marked as unread, so only open it if unread and the user places the element outside the safe zone
Q: how far outside the safe zone?
A: I'd just be aggressive and say even if just a tiny little bit we can trigger it. The point is for them to look at the Safe Zone explanation at least once.
Q. FTUE vs. pre-publish
A: I hear you. The key thing here is to ensure people see the Safe Zone tip if they haven't already and are doing something potentially harmful. The pre-publish checklist is more difficult because a "check" for this is probably too aggressive, since people probably have good reasons to put some things partially outside the safe zone. But a one-time trigger to show the tooltip should be pretty harmless (I hope!)

thank you! this is all really really helpful! 🔑

I'm gonna bump this to a 5 to give a cushion for writing tests.

Verified in QA


Null-safety implementation

Hi,
this is my attempt at null-safety.
GeoJson serialization/deserialization
I tried to follow the official GeoJSON RFC-standard as good as possible, there is still some ambiguity left on how to interpret and  translate it into Dart.

The attributes of CoordinateType and it's child-classes BBox and Position are non-nullable.
https://github.com/dartclub/turf_dart/blob/315b05f49713598b48781f9390bbed2dfaac7c7f/lib/src/geojson.dart#L35

RFC 7946 – 3.1.1 The optional third attribute (alt) for Position is also non-nullable and by default == 0. I'm not sure if this is a good way of dealing with it?!

RFC 7946 – 3.1.2 and following: I made the coordinates attribute for Point, MultiPoint, LineString, MultiLineString, Polygon and MultiPolygon nullable. But I only made the "top-level" type nullable: this means, either you assign null to coordinates or you have to provide it entirely null-safe.

But should it be nullable? Let's vote on that.

"GeoJSON processors MAY interpret Geometry objects with empty "coordinates" arrays as null objects." RFC 7946 – 3.1

RFC 7946 – 3.1.8 similarly to the other types above, I made the geometries attribute for GeometryCollection nullable

RFC 7946 – 3.2 Feature: the geometry is also nullable

RFC 7946 – 3.3 FeatureCollection: the features attribute "can be empty" according to the RFC-standard, so I chose to treat it as nullable.

Ported "Components" from Turf.js
For functions such as midpoint, destination, etc. we have two implementations: "raw" (which takes just the Position) and the other one with Points, which just passes Point.position attribute to the "raw" function.
https://github.com/dartclub/turf_dart/blob/315b05f49713598b48781f9390bbed2dfaac7c7f/lib/src/midpoint.dart#L14
https://github.com/dartclub/turf_dart/blob/315b05f49713598b48781f9390bbed2dfaac7c7f/lib/src/midpoint.dart#L6
I don't really think using the bang(!)-operator is a good way of dealing with it, because we give the responsibility to check for null again to the user, which is kind of opposed to the whole idea of null-safety.
https://github.com/dartclub/turf_dart/blob/315b05f49713598b48781f9390bbed2dfaac7c7f/lib/src/midpoint.dart#L15
Please @baparham @tobrun, review and correct the migration for the meta functions, ...

Also: I have still an error with json_serializable, which has some kind of type error, I guess it has something to do with the nested-generic types..
When I try to run: dart run build_runner build, this is the output:
...
[SEVERE] json_serializable:json_serializable on lib/src/geojson.dart:

UnimplementedError: (TypeParameterTypeImpl) T?
[INFO] Running build completed, took 3.8s
[INFO] Caching finalized dependency graph completed, took 36ms
[SEVERE] Failed after 3.8s

@tobrun @baparham if you could take a look and help me with all of the decisions? 🙂

RFC 7946 – 3.1.1 The optional third attribute (alt) for Position is also non-nullable and by default == 0. I'm not sure if this is a good way of dealing with it?!

Capturing from the spec:

RFC 7946 – 3.1.1 The optional third attribute (alt) for Position is also non-nullable and by default == 0. I'm not sure if this is a good way of dealing with it?!

Capturing from the spec:
Altitude or elevation MAY be included as an optional third element.
To me optional equals nullable. The issue with defaulting to 0 means you can't differentiate when a value is uninitialized or actually 0.

RFC 7946 – 3.1.2 and following: I made the coordinates attribute for Point, MultiPoint, LineString, MultiLineString, Polygon and MultiPolygon nullable. But I only made the "top-level" type nullable: this means, either you assign null to coordinates or you have to provide it entirely null-safe.

My personal opinion would be to make these non-nullable. Is their any language in the specification that goes against this? Conceptually a GeoJSON type is determined by the underlying geometry, if their isn't any geometry, is it really an instance of it?

RFC 7946 – 3.3 FeatureCollection: the features attribute "can be empty" according to the RFC-standard, so I chose to treat it as nullable.

:+1:

Conceptually a GeoJSON type is determined by the underlying geometry, if their isn't any geometry, is it really an instance of it?

RFC 7946 – 3.1
GeoJSON processors MAY interpret Geometry objects with empty "coordinates" arrays as null objects.

And for Features [I wanted to treat Feature, FeatureCollection, GeometryCollection and the geometry types (Point, Polygon, ...) the same]:
A Feature object has a member with the name "geometry".
The value of the geometry member SHALL be either a Geometry object as defined above or,
in the case that the Feature is unlocated, a JSON null value.

RFC 7946 – 3.2

To me optional equals nullable. The issue with defaulting to 0 means you can't differentiate when a value is uninitialized or actually 0.

Totally makes sense, but I have to see how that will complicate the implementation of bounding boxes.
Following the RFC, they can have either 4 (without altitude, 2D) or 6 parameters (with alt, 3D), see here.
I had implemented it before as 3D by default.
https://github.com/dartclub/turf_dart/blob/14e9b66876de253a5e530ff5a976d5f8970602df/lib/src/geojson.dart#L211

I think I now have implemented everything necessary for the migration
and I would  really appreciate to get reviews on my latest changes 😄

Should I go ahead and merge it?
@baparham @tobrun any objections?

History is reversible. At least here it is 😂


Make automatic page load instrumentation false by default

What does this PR do?
It makes the default value for page load auto-instrumentation false. Given the adverse effects this option has for single page apps which are becoming much more common, this should be an opt in configuration value, rather than opt out.

LGTM, but we should ensure this default change is communicated clearly in any release notes so that if someone is reliant on this default they can set it explicitly. Maybe add it to CHANGELOG.md?


feat: contract using experimental encoding against a live node

Adding a test case that validates a contract built using<EMAIL_ADDRESS>under experimental encoding is supported on the beta-5 network.
This PR also adds support for adding .env variables in tests.

Closing as this e2e will soon be superceded by #2050


Change sonatype central client dependency to use upickle instead of zio-json

@xerial Could you take a look at this? This is needed to be merged upstream in sbt-ci-release.

Thansk. Just released a new version with this fix https://github.com/xerial/sbt-sonatype/releases/tag/v3.11.2


bug fixed, close #170

@ArtemKrayevskiy you may disable checking data duplicates.
It will be implemented in develop

I don't sure about library dependency in the file processing functions