python311Packages.scs: relax floating point precision for linux test

workaround for: https://github.com/bodono/scs-python/issues/81
after the update to scipy 1.12 the test_solve_feasible fails on linux with 1 of the 185 floating point values not being equal to 4 decimal places. relax the check to only check 3 decimal places on linux.
build failures related to python311Packages.osqp failing
https://hydra.nixos.org/build/247560486
Result of nixpkgs-review pr 284299 run on x86_64-linux 1

12 packages failed to build:

python311Packages.bambi
python311Packages.bambi.dist
python311Packages.blackjax
python311Packages.blackjax.dist
python311Packages.cvxpy
python311Packages.cvxpy.dist
python311Packages.jaxopt
python311Packages.jaxopt.dist
python311Packages.qpsolvers
python311Packages.qpsolvers.dist
python311Packages.qutip
python311Packages.qutip.dist

2 packages built:

python311Packages.scs
python311Packages.scs.dist

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 284299 run on x86_64-linux 1
12 packages failed to build:

related to python311Packages.osqp failing
https://hydra.nixos.org/build/247560486

failures in osqp after scipy update seem significant. https://hydra.nixos.org/build/247560486
opened issue: https://github.com/NixOS/nixpkgs/issues/284308
moving this to draft as could be scipy issue.

Looks good and legitimate to me. Thanks for working on this! ~Why is this a draft?~ Oh I see why.. I think this could be good to go.

after seeing the failures in https://github.com/osqp/osqp-python/issues/121 i thought i'd hold off for a few days and see if anyone responds to the bug reports. the underling implementations of these packages are c/c++/fortran libraries. in the modules scipy seems to be used just to do sparse matrix conversions -- but the tests use it to compare output from the underlying libs. unclear if failures are due to bugs in the unit tests triggered by the update or problems with scipy 1.12

I understand. Yes let's give the upstreams a bit of time to investigate these issues.


Attach invoice in email

Hi,
I know that there is a downloadInvoice() method, for user to download invoice from the web.
If I need to generate a pdf invoice, attach it and send to customer via email, can I use downloadInvoice()?

Hi there, you can use the pdf method on the invoice which will return you the string of the PDF which you can then add as a binary file to your mail.
Looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs or problems. If you have a question on how to use functionality provided by this repo you can try one of the following websites:

Laracasts Forums
Laravel.io Forums
Discord
Larachat
IRC


Symbol Visibility

Hi
Is there any feature in the api to set visibility of currency symbol?
Actually my app gives user choice of currency selection, and based on this selected currency the price is formatted following corresponding symbol.
This is not problem for US Dollar or Euro or even Yuan currencies to show symbol in CurrencyEditText, but for some locales this is not valid.
Consider for example user chooses Iranian's Rial, but on some devices this currency is not available, because there is no Persian locale by default in android. So my workaround is to not show currency symbol in edittext. But there is no option for that in CurrencyEditText!
Your library is great but I think that needs this feature.
Thanks

Hello!
The currency symbol is simply default data which is filled in for the
EditText "hint" field. If you set the hint yourself, the currency symbol
will not appear.
In your case, you could hide the symbol by explicitly setting the symbol to
an empty string, out you could even populate the users selected currency
symbol by setting the hint to that.
Hope this helps
On Dec 26, 2017 1:47 PM, "Omid3d"<EMAIL_ADDRESS>wrote:

Hi
Is there any feature in the api to set visibility of currency symbol?
Actually my app gives user choice of currency selection, and based on this
selected currency the price is formatted following corresponding symbol.
This is not problem for US Dollar or Euro or even Yuan currencies to show
symbol in CurrencyEditText, but for some locales this is not valid.
Consider for example user chooses Iranian's Rial, but on some devices this
currency is not available, because there is no Persian locale by default in
android. So my workaround is to not show currency symbol in edittext. But
there is no option for that in CurrencyEditText!
Your library is great but I think that needs this feature.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BlacKCaT27/CurrencyEditText/issues/44, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AE_54cexZRkSyt3M-n8w7pGrs9gbTzGFks5tET9KgaJpZM4RM8To
.

OK It seems I have to erase symbol manually.
But anyway I think it would be better to provide an option for showing symbol or not.
Thanks for your support


capstone.lib is built with /mt (libcmt.lib) instead of /md (msvcrt.lib)

... so consequently we are linking against multiple runtimes in the resulting asi file - this is a bad idea; see https://msdn.microsoft.com/en-us/library/6wtdswk0.aspx We should probably build capstone ourselves with /md. Currently we're surpressing the warning by explicitly not linking against libcmt (see commit cee359ac293592e397173f7d47bf8db26e2b2001).

A quick progress update on this. I've got a branch that builds capstone with /md - however it turns out that the libyara nuget that we are using is also built with /mt instead of /md - see https://github.com/kallanreed/yara/blob/dbae9b0fd0efc87dfb24dceb4a6f72c0b84481b0/windows/vs2015/libyara/libyara.vcxproj#L158 ...
(For the record, I tracked this down with "dumpbin /directives" on libyara64.lib.)

What would be the consequences if we were to use /mt instead of /md on the project itself?

Yeah the thought crossed my mind (in fact I think that's how it originally was set up by you). Microsoft generally recommends /md though. In any case, I think the main issue would be that ffmpeg might be incompatible: the mingw64 binaries might not work with libcmt. Will test it.


Can the Drawer slide the content right/left instead of overlaying it?

Version
"react-native-router-flux": "^4.0.0-beta.21",
"react-native": "0.48.4",
Expected behaviour
I want the content to be slid instead of being overlayed
Actual behaviour
Drawer overlays content
Steps to reproduce
import {
    Router,
    Scene,
    Stack,
    Drawer,
} from 'react-native-router-flux';

on the render side
                <Stack key="root" hideNavBar>
                  <Scene
                    key="login"
                    component={LoginScreen}
                    title="Login Screen"
                    />
                  <Drawer
                    hideNavBar
                    key='home'
                    contentComponent={Sidebar}
                    >
                    <Scene
                      key="todo"
                      component={TodoScreen}
                      title="Todo Screen"
                      />
                  </Drawer>
                </Stack>

Sidebar
export class Sidebar extends Component {
    render () {
        return (
            <View style={styles.container}>
              <Text style={{color: 'black'}}>
                Test
              </Text>
            </View>
        );
    }
}

hi bro, did you solve this?

Not with router-flux.
I switched entirely to react-navigation, which is what router-flux is based on.
If you're interested, here is what i did:
import React, { Component } from 'react';
...
import Router from './Router.js';
...
            <Provider store={store}>
              <Router/>
            </Provider>

Instead of Stacks and Scenes create your own router:
Router.js
import React, { Component } from 'react';
import { connect } from 'react-redux';

import { StackNavigator } from 'react-navigation';

import LoginScreen from './LoginScreen';
import ForgotPasswordScreen from './ForgotPasswordScreen';
import TodoScreen from './TodoScreen';
import TodoScreenWithTasks from './TodoScreenWithTasks';

const Main = StackNavigator(
  {
    Todo: {screen: TodoScreen},
    TodoWithTasks: {screen: TodoScreenWithTasks},
  }, {headerMode: () => null}
);

const Auth = StackNavigator(
  {
    Login: {screen: LoginScreen},
    ForgotPassword: {screen: ForgotPasswordScreen},
  }, {headerMode: () => null}
);

export const Router = StackNavigator(
  {
    Auth: {screen: Auth},
    Main: {screen: Main}
  }, {headerMode: () => null}
);

import { addNavigationHelpers } from 'react-navigation';

import {
  Sidebar,
  Colors,
} from './components';

@connect(
  ({ router }) => ({
    nav: router
  })
)
export default class App extends Component {
  constructor(props){
    super(props);

    this.state = {
      isOpen: false
    };
  }

  render() {
    return (
      <View style={{flex:1, backgroundColor: Colors.Primary}}>
        <Sidebar>
          <Router
            navigation={addNavigationHelpers({
              dispatch: this.props.dispatch,
              state: this.props.nav
            })}/>
        </Sidebar>
      </View>
    );
  }
};

Sidebar.js
import React, {Component} from 'react';
...

class Menu extends Component {
    render () {
        return (
            <View style={styles.container}>
              <Text style={{color: 'black'}}>
                Test
              </Text>
            </View>
        );
    }
}

import Drawer from 'react-native-drawer';

import {
  sidebarOpen,
  sidebarClose,
} from '../actions';

import { connect } from 'react-redux';

@connect(
  ({ sidebar: {
    isEnabled,
    isOpen
  } }) => ({
    isEnabled,
    isOpen
  }), {
    sidebarOpen,
    sidebarClose,
  }
)
export class Sidebar extends Component {
  render () {
    return (
      <Drawer
        open={this.props.isOpen}
        enabled={this.props.isEnabled}
        onOpen={this.props.sidebarOpen}
        onClose={this.props.sidebarClose}
        type="displace"
        content={<Menu />}
        tapToClose={true}
        openDrawerOffset={0.2}
        panCloseMask={0.2}
        negotiatePan={true}
        tweenHandler={Drawer.tweenPresets.parallax}
        >
        {this.props.children}
      </Drawer>
    );
  }
}

Of course the @connect decorator is optional just like the redux state handling the sidebar, you could use a singleton/global variable
The react-navigation documentation is pretty good IMO

So is there really no way we can add this animation (slide content to right) using react-native router flux ? Because my production app depends wholly on Flux and I don't want to make so many changes to the architecture just for the sake of adding one animation.


Updated WorkerOptions

There have been some updates to the WorkerOptions.

Remove string Identity field

I am going to go ahead and just remove this check from the tests.  This is something we need to sync on.
These are the new WorkerOptions for Temporal:
WorkerOptions struct {
       // Optional: To set the maximum concurrent activity executions this worker can have.
	// The zero value of this uses the default value.
	// default: defaultMaxConcurrentActivityExecutionSize(1k)
	MaxConcurrentActivityExecutionSize int

	// Optional: Sets the rate limiting on number of activities that can be executed per second per
	// worker. This can be used to limit resources used by the worker.
	// Notice that the number is represented in float, so that you can set it to less than
	// 1 if needed. For example, set the number to 0.1 means you want your activity to be executed
	// once for every 10 seconds. This can be used to protect down stream services from flooding.
	// The zero value of this uses the default value
	// default: 100k
	WorkerActivitiesPerSecond float64

	// Optional: To set the maximum concurrent local activity executions this worker can have.
	// The zero value of this uses the default value.
	// default: 1k
	MaxConcurrentLocalActivityExecutionSize int

	// Optional: Sets the rate limiting on number of local activities that can be executed per second per
	// worker. This can be used to limit resources used by the worker.
	// Notice that the number is represented in float, so that you can set it to less than
	// 1 if needed. For example, set the number to 0.1 means you want your local activity to be executed
	// once for every 10 seconds. This can be used to protect down stream services from flooding.
	// The zero value of this uses the default value
	// default: 100k
	WorkerLocalActivitiesPerSecond float64

	// Optional: Sets the rate limiting on number of activities that can be executed per second.
	// This is managed by the server and controls activities per second for your entire tasklist
	// whereas WorkerActivityTasksPerSecond controls activities only per worker.
	// Notice that the number is represented in float, so that you can set it to less than
	// 1 if needed. For example, set the number to 0.1 means you want your activity to be executed
	// once for every 10 seconds. This can be used to protect down stream services from flooding.
	// The zero value of this uses the default value.
	// default: 100k
	TaskListActivitiesPerSecond float64

	// Optional: Sets the maximum number of goroutines that will concurrently poll the
	// temporal-server to retrieve activity tasks. Changing this value will affect the
	// rate at which the worker is able to consume tasks from a task list.
	// default: 2
	MaxConcurrentActivityTaskPollers int

	// Optional: To set the maximum concurrent decision task executions this worker can have.
	// The zero value of this uses the default value.
	// default: defaultMaxConcurrentTaskExecutionSize(1k)
	MaxConcurrentDecisionTaskExecutionSize int

	// Optional: Sets the rate limiting on number of decision tasks that can be executed per second per
	// worker. This can be used to limit resources used by the worker.
	// The zero value of this uses the default value.
	// default: 100k
	WorkerDecisionTasksPerSecond float64

	// Optional: Sets the maximum number of goroutines that will concurrently poll the
	// temporal-server to retrieve decision tasks. Changing this value will affect the
	// rate at which the worker is able to consume tasks from a task list.
	// default: 2
	MaxConcurrentDecisionTaskPollers int

	// Optional: Logger framework can use to log.
	// default: default logger provided.
	Logger *zap.Logger

	// Optional: Enable logging in replay.
	// In the workflow code you can use workflow.GetLogger(ctx) to write logs. By default, the logger will skip log
	// entry during replay mode so you won't see duplicate logs. This option will enable the logging in replay mode.
	// This is only useful for debugging purpose.
	// default: false
	EnableLoggingInReplay bool

	// Optional: Disable running workflow workers.
	// default: false
	DisableWorkflowWorker bool

	// Optional: Disable running activity workers.
	// default: false
	DisableActivityWorker bool

	// Optional: Disable sticky execution.
	// Sticky Execution is to run the decision tasks for one workflow execution on same worker host. This is an
	// optimization for workflow execution. When sticky execution is enabled, worker keeps the workflow state in
	// memory. New decision task contains the new history events will be dispatched to the same worker. If this
	// worker crashes, the sticky decision task will timeout after StickyScheduleToStartTimeout, and temporal server
	// will clear the stickiness for that workflow execution and automatically reschedule a new decision task that
	// is available for any worker to pick up and resume the progress.
	// default: false
	DisableStickyExecution bool

	// Optional: Sticky schedule to start timeout.
	// The resolution is seconds. See details about StickyExecution on the comments for DisableStickyExecution.
	// default: 5s
	StickyScheduleToStartTimeout time.Duration

	// Optional: sets context for activity. The context can be used to pass any configuration to activity
	// like common logger for all activities.
	BackgroundActivityContext context.Context

	// Optional: Sets how decision worker deals with non-deterministic history events
	// (presumably arising from non-deterministic workflow definitions or non-backward compatible workflow definition changes).
	// default: BlockWorkflow, which just logs error but reply nothing back to server
	NonDeterministicWorkflowPolicy WorkflowPanicPolicy

	// Optional: worker graceful shutdown timeout
	// default: 0s
	WorkerStopTimeout time.Duration

	// Optional: Enable running session workers.
	// Session workers is for activities within a session.
	// Enable this option to allow worker to process sessions.
	// default: false
	EnableSessionWorker bool

	// Uncomment this option when we support automatic restablish failed sessions.
	// Optional: The identifier of the resource consumed by sessions.
	// It's the user's responsibility to ensure there's only one worker using this resourceID.
	// For now, if user doesn't specify one, a new uuid will be used as the resourceID.
	// SessionResourceID string

	// Optional: Sets the maximum number of concurrently running sessions the resource support.
	// default: 1000
	MaxConcurrentSessionExecutionSize int

	// Optional: Specifies factories used to instantiate workflow interceptor chain
	// The chain is instantiated per each replay of a workflow execution
	WorkflowInterceptorChainFactories []WorkflowInterceptorFactory

Removed WorkerOptions.Identity as well as InternalWorkerOptions.Identity.


Nice - support for more than one device possible?

Hi Aircookie,
this is great and works perfect for me - I like the feature of being able to respond to a "dimming" value a lot.
Only thing I´m currently missing is the support for more then one device - right now I have no real clue I to add that.
Would you be able to provide an extension to more than one device?
Thanks for your work - MacSass

I know this page was last updated 5 years ago, But the connected flag might be being reset in fauxmoESP.cpp, in the  _onTCPData() function.  The data has a 0 added at the end to mark end of string for printing, but I think it is writing to one memory location after the end of the string.  If this happened to be where WiFi state was stored, it would clear the flag..
"p[len] = 0; "


TwinCAT ADS Error code 1873(Hash table overflow)

Hi, I am using TwinCAT 3.0 ADS Communication using for C++ MFC Application and used TcAdsDll API while registering the variable getting ADS comm error code 1873(Hash table overflow error)..Could you please know the reason and all possible ways to solve the issue?

Hi, for some reason I have missed this issue. However seems that it's not about this ads-server library.
Did you get solution?


Update Husky to remove dependency on Node 12

General Support Request
The current setup using a legacy version of Husky requires Node 12 to run locally. This is causing issues with updating packages that no longer support Node 12.
Support request
Update Husky to the latest version so that this repo can support current versions of Node.
Exit criteria
When Huskey is updated and all other dependencies that have current security issues.

Hey @blackfalcon, I submitted a PR for upgrading a lot of the dependencies. This should resolve this issue. Let me know if there are any questions!


Revert "Support block delete with word and line modifiers"

Reverts flutter/flutter#79695
This caused test failures:
03:16 +5088 ~14 -1: /b/s/w/ir/k/flutter/packages/flutter/test/rendering/editable_test.dart: RenderEditable registers and unregisters raw keyboard listener correctly [E]
  Expected: 'ow are you'
    Actual: 'how are you'
     Which: is different.
            Expected: ow are you ...
              Actual: how are yo ...
                      ^
             Differ at offset 0

  package:test_api                                   expect
  package:flutter_test/src/widget_tester.dart 440:3  expect
  test/rendering/editable_test.dart 1209:5           main.<fn>

\cc @canastro

Merging to green the tree.

@justinmc might be worth investigating why framework_tests_libraries passed in presubmit but failed in post https://ci.chromium.org/p/flutter/builders/try/Linux framework_tests_libraries/847?

LGTM

It happened the same thing it did the first time this fix was merged. A test was added in master in between the last rebase and the time it got merged. I'll open the PR with the fix.


[HIPIFY][clang] -p  option implementation

-p <build-path> is a standard option for a clang Tooling API based tool, which is used to read a compile command database. It has to be adopted to work correctly with hipify-clang.

Implemented by #157-#158 and documented by #159.


Create mapping from Validator to their preferred consensus key on baby chain

Allow Validators to set a different consensus key for each baby chain

[ ] Create Msg type
[ ] Implement setting handler (should always override previous value)
[ ] Default to same consensus key as parent chain
[ ] In Endblocker, make the transformation from parent keys to baby keys in the change set before sending the packet

@AdityaSripal is this an issue that should move to the interchain-security repo?

Yes thanks


buildkite:  allow configuration and actual use of agent-specific hooks

Motivation for this change
Allow actually using the agent hooks.  As of now, the directory containing them is hard-configured to point to a fixed location in the Nix store, which is read-only.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

cc @domenkozar

@jtojnar why was this closed?

Sorry, accidentaly deleted release-17.09 branch

Merging as it doesn't change the default, but just makes it configurable.


DEV: explore different code coverage tools

getting too many CI failures due to codecov.
We need a tool that supports GitHub actions.
One suggestion is https://coveralls.io
Another is outlined by Hynek

@GavinHuttley
Did you try this option:
fail_ci_if_error: false

@GavinHuttley
Did you see this page:
https://github.com/codecov/codecov-action/issues/598

@GavinHuttley
Did you try this option:
fail_ci_if_error: false

That doesn't solve issue since I rely on the codecov report as part of PR evaluation.

@GavinHuttley
Did you see this page:
https://github.com/codecov/codecov-action/issues/598

There are too many such issues. None of the ones I've seen explain why our uploads work sometimes, but not all the time.
My conclusion is we need to replace codecov. The replacement is not obvious to me.

I have coveralls working for SciTrack. See the workflow file there. You will also need to modify the noxfile.py so that it matches the cov output format and path setting as per the scitrack version.


Sendmail and Blind OS Injection

We recently made a security/penetration test of a codeigniter site/application we made. It came to our attention that the tester was able do blind os injection, executing arbitrary commands from the server through the ci mail library.
He was able to do this because, first, user data was not sanitized and second, CI E-mail library uses 'popen' to send mails through 'sendmail'.
The first problem is something a developer should always do, sanitize user data before sending it to the server. But I can see that this might be a very common security breach in many ci applications using sendmail. I'm wondering if there isn't a factored in solution for arbitrary commands sent when using the sendmail option. Or maybe at least there should be a bigger warning when a developer uses sendmail for sending mail because of the nature in which it is set up in CI (through fopen).

Sorry, but you're not really giving us anything here ...

Maybe he talking about https://github.com/bcit-ci/CodeIgniter/blob/develop/system/libraries/Email.php#L1872?

Maybe he talking about https://github.com/bcit-ci/CodeIgniter/blob/develop/system/libraries/Email.php#L1872?

Yes, that's what I'm talking about.

I knew that was probably the line you're talking about, but that alone says nothing ...
You've only said that some unknown kind of usage, assuming unvalidated user input (and user input to the email library is rare in the first place) enables command injection.
No details of which piece in there needs validation or sanitization.
No explanation of your use case (as I said, passing user input to the email library is not common).
No concrete suggestions.
It's not even clear if this is a feature request, a bug report or you're just asking for help here (in which case you're in the wrong place; we have a forum board for people seeking assistance with something).
Also, no version numbers (@kakysha's link points to the develop branch, which surely isn't what you're using).
 I'm sure you'd see how the information at hand is far from enough.

don't you think "popen + unsanitized input" sounds serious enough to spend 5 minutes for investigation?
$this->load->library('email');
$config['protocol'] = 'sendmail';
$this->email->initialize($config);

<EMAIL_ADDRESS>rm -rf /;', 'Your Name');
// ...
$this->email->send();

The other popen (haven't searched for systen/exec/etc yet) in Upload.php also looks fishy...
		$cmd = function_exists('escapeshellarg')
			? 'file --brief --mime '.escapeshellarg($file['tmp_name']).' 2>&1'
			: 'file --brief --mime '.$file['tmp_name'].' 2>&1';

I don't think not escaping at all should be an option if there is no escaping available (which on the other hand seems to be very unlikely).

@sui77 Don't you think you're too quick to point fingers?
Yes, popen() + unsanitized (and FFS, it should be validated, not sanitized) user input is serious enough to spend 5 minutes on it.
I did spend time on it, and found nothing. And I like to think that I do have great attention to detail, but I too can miss something - hence why I left the issue open.
Then comes the question of unvalidated, unsanizitzed user input to a library that is not made for that. Seriously, who sends emails with a user-supplied From header? Especially without a single check on the input? Should I also take the blame for pointing that out instead of spending 5 hours on it?
And finally (and I noticed this now), apparently somebody has thought even of that, long before I've joined the project - the library has a validate option, which turns on email address validation and would prevent your example from working.

The thing in CI_Upload was changed because of #1494, and that probably was a bad decision indeed. But I can guarantee it is safe with or without escapeshellarg().

@sui77 Either way, thanks for shedding some light on this. I was already getting somewhat nervous with the lack of feedback here.


How to prepare our own multi-dataset for training the MultiTalent?

I want to express my appreciation for the remarkable work on MultiTalent and nnUNet. I have a question about preparing our custom multi-dataset for MultiTalent.
Upon reviewing your paper, it's mentioned that each dataset with each class annotation is treated as a distinct label. My question is, can I manually achieve this step (also make sure the right folder structure of nnUNet is required) and skip the process outlined in "/nnunet/dataset_conversion/Task100_MultiTalent.py"?  Since my own dataset is quite different from yours. Is it feasible to move on to the next step in the process?
I look forward to your guidance on this matter.

Hi, you would need to adapt multiple parts of the code, but in general, it is feasible. If your dataset comes from different sources,
you probably have different classes for lets say label 1 (eg. label one belongs to class liver in dataset A and to class kidney in dataset 2).  You would need to map them to individual labels as i did in /nnunet/dataset_conversion/Task100_MultiTalent.py

Hi, you would need to adapt multiple parts of the code, but in general, it is feasible. If your dataset comes from different sources, you probably have different classes for lets say label 1 (eg. label one belongs to class liver in dataset A and to class kidney in dataset 2). You would need to map them to individual labels as i did in /nnunet/dataset_conversion/Task100_MultiTalent.py

Thanks, I think it works now.


Add triagebot configuration

This enables assignment through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.
cc rust-lang/highfive#258 rust-lang/triagebot#433

thanks
@bors r+

bors: r+


ModuleNotFoundError: No module named 'termios' on Windows 10

chroma-migrate

Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\Administrator\Projects\assistant\venv\Scripts\chroma-migrate.exe\__main__.py", line 4, in
  File "C:\Users\Administrator\Projects\assistant\venv\lib\site-packages\chroma_migrate\cli.py", line 1, in
    from bullet import Bullet, SlidePrompt, Check, Input, YesNo, Numbers
  File "C:\Users\Administrator\Projects\assistant\venv\lib\site-packages\bullet\__init__.py", line 1, in
    from .client import Bullet
  File "C:\Users\Administrator\Projects\assistant\venv\lib\site-packages\bullet\client.py", line 4, in
    from . import utils
  File "C:\Users\Administrator\Projects\assistant\venv\lib\site-packages\bullet\utils.py", line 3, in
    import tty, termios
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\tty.py", line 5, in
    from termios import *
ModuleNotFoundError: No module named 'termios'

in  bullet/utils.py line 3 it import tty and it's dependency termios.
in line 5 of tty termios is imported again but returns empty as it returns null on sys.platform !="wind32", essentially disabling the migrate script on windows systems.
`import sys
from _typeshed import FileDescriptorLike
from typing import Any
from typing_extensions import TypeAlias
if sys.platform != "win32":
_Attr: TypeAlias = list[int | list[bytes | int]]
# TODO constants not really documented
B0: int
B1000000: `int`

Hi @Joseph-Cardwell, sorry about this. It seems like Bullet does not support windows, we will have to modify the CLI to support windows. In the meantime you can look at the examples in examples/ to see how to run the code without requiring bullet. Let me know if that works for you, and we'll work on getting something working for windows in the meantime!

no worries, I'll sort my setup, just wanted to give you guys the heads up.
Thanks for such a great product!

Hi @Joseph-Cardwell ! Thanks for the kind words, I've patched the underlying dependency on bullet to be windows compatible and issued chroma_migrate=0.0.4, that should work on windows! Let me know if that works for you! Closing for now as this should be resolved but feel free to reopen.


Update IntelliSense compiler path based on target selected

Brief Issue Summary
I would like to raise a feature request to update the IntelliSense compiler path based on the selected target.
Expected:
Working on projects where different targets use different compiles, the compile path should be updated based on the selected target.
Apparent Behavior:
IntelliSense will use the same compiler no matter which target is selected.

We are working on a PR to fix this issue.
https://github.com/microsoft/vscode-cmake-tools/pull/1080
Maybe I'm missing something, just curious why you opened this new item (1100) when you also opened https://github.com/microsoft/vscode-cmake-tools/issues/1076 previously. Aren't these two duplicates?

@andreeis this one is related but slightly different.

Thanks. Then I'll play with the PR to see if this is covered (I think it should, do you?)

@sirPerna tried the PR branch and this feedback came from that, so I don't think it works.

It needs your review before it can be merged anyway, so if you could take a look, that would be great.  Thanks!


fix a potential race when killing queries

Scope & Purpose
Backport for #21075
Canceling an async job that executes an AQL query via the RestJobHandler's cancel operation could lead to a race between the RestJobHandler calling cancel on the RestCursorHandler which owns the query, and the RestCursorHandler object that currently executed the query.
the cancel operation could lead to the query being shut down while it was operating, which was not race-free. instead of trying to attempt a full shutdown during a cancel operation, we are now only setting the kill flag on the coordinator in a soft way, which avoids all potential races, but may lead to a later shutdown of the query. this is potentially a good tradeoff, as the RestJobHandler's cancel operation should be used only very rarely in practice.

[x] :hankey: Bugfix

[ ] https://jenkins.arangodb.biz/job/arangodb-ANY-linux-san.x86-64/2491/


Added DDP inference code with handling duplicates occurred after DDP padding

Added DDP inference code with handling duplicates that occurred after DDP padding
Added indices to getitem methods to keep track of duplicates


Don't store assets modified time into generated files

To make the build process reproducible. The generated files' modified time should not be stored into files.
This may not resolve all the problems of reproducible.

When modTime isn't specified, which time is used then? Start of unix time?

time.Now()

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@0acc6a4). Click here to learn what that means.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main   #18193   +/-   ##
=======================================
  Coverage        ?   45.64%
=======================================
  Files           ?      829
  Lines           ?    91828
  Branches        ?        0
=======================================
  Hits            ?    41917
  Misses          ?    43181
  Partials        ?     6730

Impacted Files
Coverage Δ

modules/util/executable.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

@wxiaoguang All done.


Update connectors-creating.md

Changing the legacy mail id from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>Old Content:
Teams Store Submissions Support.
New Content:
Microsoft Teams App Submissions.

Docs Build status updates of commit 758f014:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/webhooks-and-connectors/how-to/connectors-creating.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Update Jenkinsfile

[ ] This pull request is created in the jfrog/jenkins-jfrog-plugin repository.

test


file_create does not recognize identical files under Ruby 1.9.2

Hi,
we noticed that bundler keeps overwriting generated files on reruns even if the diffs are empty. I suspect this is caused  by encoding issues: File.binread returns ASCII, while ruby's internal string representation of the rendered content probably uses  UTF8. Under Ruby 1.8.7 everything works fine. Also replacing File.binread with File.read makes it work on my machine (TM). There might though be other cases, which depend on binread instead of read.
I'd be glad to supply a patch once we have settled for a solution.
Best,
Tim

This should be fixed now


binary classification on good/bad learner

training accuracy is 91% for 200 epochs.
Working in progress...
To do:

Prediction scripts
Plotting training curve
hyper-parameters tuning
move on to the next mode...

Achieved 92% accuracy on the training set, and 95% accuracy on the testing set

To do:
(Maybe) Perform Time series predictions on lactation


Add weekly post 2015-10-23

Please review this post. :heart:,@nodejs/evangelism

+1. LGTM.

:+1:  LGTM


Enhance the code conventions in the project

The code has various styles applied that are not in sync with C# conventions; it needs to be improved.

https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions
https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/identifier-names

https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1201.md


lock migration fix

As discovered by @hleb-albau , the lockup migration does not work with this log entry. We decided to simply comment it out for now.

For contributor use:

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

Codecov Report

Merging #986 (dbe8ce8) into main (0202e20) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #986      +/-   ##
==========================================
- Coverage   20.60%   20.59%   -0.01%
==========================================
  Files         193      193
  Lines       25232    25229       -3
==========================================
- Hits         5200     5197       -3
  Misses      19080    19080
  Partials      952      952

Impacted Files
Coverage Δ

x/lockup/keeper/migration.go
64.81% <ø> (-1.86%)
:arrow_down:

Continue to review full report at Codecov.

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

Thank you @hleb-albau and @czarcas7ic for the fix!
Super embarassing that this untested log line is what causes to have to bump numbers.
I'm extremely sorry all, this is my fault for not testing this logging patch I added without migration testing. Albeit, its crazy that the logger panics for this, the logger is chiefly able to deal with this by logging an error. (its the one with the job of communicating such errors!!)
Thankfully this doesn't affect state, and happens well before IAVL commit happens, so even if people run into it, its not an issue. (It'd crash, they'd update the binary, and it it'd work just as before)


Bower.json

For those, who want to use LS in browser :)

https://gofore.com/ohjelmistokehitys/stop-using-bower/ been bitten by this before


Fix help message on lxc export

And update Makefile for Go 1.18 as otherwise we can't run make i18n


[Feature Requests / Discussions] - Clipboard Manager Plugin

Hey guys, what do you think about a clipboard manager plugin for Cerebro?
Sometimes you accidentally copy some text over something important in the clipboard and it gets deleted. Cerebro is always in the background, so the plugin would be able to store all the copied text/images and maybe save it every 10 minute to a json file, or something.
It could be open in two ways:

Open Cerebro and manually type in # symbol (or something like  copy buffer)
Pressing ctrl + shift + spacebar  opens up Cerebro and automatically puts # symbol in. (the shortcut should be changeable from settings)

I've create a quick design sketch, what do you think?

@AlexAlabyev Looks like @codingmatty already did it.
I like the idea about the shortcut for clipboard manager, but currently, there is no way to set it for external plugins. I'll try to find the better way to implement it and add to the plugins API.
Regarding design: I like more @codingmatty's option, so you can navigate/filter your clipboard and see previews in right panel. I'd only add "delete" option.
Also, I used to use this feature in Alfred and it was really nice:

I think we can steal their idea of mixing clipboard and snippets managers in one place. What do you think @codingmatty @AlexAlabyev?
Also one more think that Alfred does is not just copying text back to clipboard, but pasting it to input, where text cursor was before opening their window. I would try to investigate if we can do the same using electron

@KELiON Oh nice, I didn't know it's already been created. I would agree, @codingmatty's version is quite good.
As for the shortcut for the clipboard plugin, I think we could've implement it very easily: There's a ctrl + spacebar shortcut for opening the Cerebro, right? So why wouldn't we add another function for the ctrl + shift + spacebar shortcut, which would open Cerebro AND add the word clipboard to the input? Would that work?
I'm not sure what do you mean by mixing the clipboard with snippets managers, though. What benefits would that give to us?

Yea, I like @AlexAlabyev idea of setting a shortcut to open Cerebro and automatically typing clipboard. It would be awesome to allow users to setup a hotkey to do that with any plugin, but you can start with just one, and make it reusable later on.
I was wondering what Alfred's snippet manager was all about. I never actually used it, but I just looked it up and definitely like the idea. I do wonder if it should be a separate plugin or not. If it was a separate plugin there would have to be a way to communicate saving a clipboard item to the snippets manager (unless there was just a file to save it to) 🤔
I can definitely add a clear command to the clipboard to clear the array of items.
I will also look into typing the clipboard text into the currently focused item before Cerebro was opened. (I am thinking http://robotjs.io/ might be a good solution).
While we are discussing - I currently have a maximum of 20 items, do you guys think that's enough?

@codingmatty I'd just store history for 1 week or 1 day instead of limiting it by count (would be even two different values for text and images).
Also, I'd store it in some cache file instead of memory – in this case you can reuse your clipboard history after you restart your computer or just restart Cerebro

Yea, I wonder if it would be worth using IndexDB to store the info.
The current implementation with a simple array was definitely more of a
proof of concept. I wanted to see if watching the clipboard every second
was going to work out well, and it seems to be foing just fine on my
computer.
I am envious of Alfred's implementation. They seem to have so much more
information such as which app the copy comes from. And they can do things
like not store passwords copied from an app like 1password. I could not
find that level of information from any javascript library available.
On Mon, Feb 27, 2017 at 4:06 AM Alexandr Subbotin<EMAIL_ADDRESS>wrote:

@codingmatty https://github.com/codingmatty I'd just store history for
1 week or 1 day instead of limiting it by count (would be even two
different values for text and images).
Also, I'd store it in some cache file instead of memory – in this case you
can reuse your clipboard history after you restart your computer or just
restart Cerebro
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KELiON/cerebro/issues/166#issuecomment-282664428, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF1fkJLxmbYqWBnKL8jF1Y0gTajsP-ieks5rgpIXgaJpZM4MMetu
.

Moving discussion to clipboard plugin repository


There is any best practices to schedule updating?

Hi, i'm pretty new at Redux, thanks for everyone working on it!
When i have a very frequent stream of actions (ex. dispatching actions on every mousemove event) the connect HoC will update my component for each of the actions which makes it choke.
There is any best practice to schedule updates to the next requestAnimationFrame? The best thing that i can think of is wrapping the store i giving to the Provider in the way that is defers the subscibe callbacks until the next animation frame.

Yeah, that's pretty much what https://github.com/tappleby/redux-batched-subscribe does.

Oh, sorry i thought i was googling long enough before my question...
Thank you, it works great!


Update package name

Coverage remained the same at 99.488% when pulling 0cff5d3ca786ac6fff3ddfb2334b3a188889daf8 on readme into 9aabd541c1977c2b6f65e0578d28c2912036663e on master.


Ensure binaries are ELF

Describe the bug
A run of build on macos resulted in mach-o binaries in s3.
Expected behavior
Prevent the upload of non-elf binaries by reading the binary's magic byte header

should we just embrace multi-platform?
i.e. have the binaries mark themselves as x86-macos, arm7-linux etc

I don't see any reason.
Static binaries are supported only for Linux, and we run drivers exclusively in Linux environments (or compose environments)

Potentially ARM for edge drivers - but I'd rather survey whether that's necessary before implementing support for it

lol was going to be my next question:
are we differentiating on architecture though?
as if we all get M1/2 macs next year then we'll be developing in arm linux

I think having architecture specified is probably worthwhile


Is this a bug for cluster-etcd-plugin queryRemoteNodes?

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

EtcdCoordinator sets all RemoteInstance to isSelf = true https://github.com/apache/skywalking/blob/b21db17148df12f34a13a2b1693e009e11e8d7a2/oap-server/server-cluster-plugin/cluster-etcd-plugin/src/main/java/org/apache/skywalking/oap/server/cluster/plugin/etcd/EtcdCoordinator.java#L71
https://github.com/apache/skywalking/blob/b21db17148df12f34a13a2b1693e009e11e8d7a2/oap-server/server-cluster-plugin/cluster-zookeeper-plugin/src/main/java/org/apache/skywalking/oap/server/cluster/plugin/zookeeper/ZookeeperCoordinator.java#L80-L87
https://github.com/apache/skywalking/blob/b21db17148df12f34a13a2b1693e009e11e8d7a2/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/remote/client/RemoteClientManager.java#L197-L206

I think so. We need to fix this.

I will fix this.


keystore/cmd: improve migrate down command

This PR does the same thing as this PR https://github.com/stellar/pasapeso-backend/pull/133
by making the migrate down command undo only one migration.

@cla-bot check


initial commit terraform db

don't merge yet but I'm interested in feedback and iteration

@super-cob, it doesn't look like you've gotten any feedback, at least on this PR.  Is this something your still interested in/working on?  Are there blockers?


Install POMs of the middle Maven projects

Consider Maven build structure;
a/b/c

a is a root POM
b is POM project in the middle
c is a AEM content package project

Potentially, C module build will fail when invoked by GAP mvn build because it will only install POM of the root project then try to build C which requires to have installed B POM at first.

distinguish modules POM modules from OTHER modules by detecting <build> node in XML


silx.gui.colors: Add "percentile" mode for autoscaling

It autoscales from 1st to 99th (nan)percentiles of the data. In my experience this usually gives a sensible value window for realistic data.

Adding PERCENTILE_1_99 to the STDDEV3 tests would be a bonus.

Hi and thx for the feature.
What do you mean by realistic data? Is that a specific use case or domain?
Could it be possible to have a screenshot with and without?
Also a percentile is like a mean, it's a sort on the values of millions of pixels, right?
The following this processes twice the same sort
numpy.nanpercentile(i, 1)
numpy.nanpercentile(i, 99)

Could you please check if numpy can do something faster the following way?
numpy.nanpercentile(i, [1, 99])

What do you mean by realistic data? Is that a specific use case or domain?

There is no specific usecase or domain. With "realistic" I mean that it works well on noisy data, data which has artefacts outside of the region of interest, or a simulation which has very large values only in a very small ratio of pixels. Min/max scaling would scale to the extreme values and not provide good contrast on the "main" content.
In other words, you get good linear contrast for the central 98% of the data.
The extisting mean+-std method only works for values around one mean value. This doesn't apply to many imaging examples where you have some min/max but said "extreme" values on top.

Could it be possible to have a screenshot with and without?

Simulation of Fresnel propagation without noise (min/max and percentile scaling):

Noisy tomo reco:

Admittedly not the most impressive examples. I'm on a conference without good access to real data. In any case, 1-99 percentile scaling is the go-to autowindow of everyone in my x-ray imaging / tomography bubble.

Could you please check if numpy can do something faster the following way?

Yeah, numpy is indeed able to compute both percentiles simultaneously. This doesn't seem to be a recent addition so I'm not sure why I didn't use it so far. I changed to code to use it.

Hi @clemisch,
I've added some basic tests and reworked the code a bit, it's in this PR on your branch: https://github.com/clemisch/silx/pull/1

Oh dang, I forgot to add the tests! Thank you for adding them, and props for merging into my branch :astonished:


Replace thread-local stateful error handling with use of Results

Currently this crate uses stateful error reporting with a thread-local variable to hold the error state (implemented by the ffi_helpers::error_handling module).
Once we have https://github.com/zcash/zcash/issues/4816 (Define a "result" type for use in C++ error handling) we should replace this error handling with that.
Originally posted by @daira in https://github.com/zcash-hackworks/zcash-light-client-ffi/pull/35#discussion_r955125130

Thattype will be useless here, as this FFI goes to Swift, not C++. And in any case, errors here will be handled however UniFFI handles them.

We decide how they are reported even when using UniFFI, no? There's nothing about the Result style of reporting that is incompatible with UniFFI, I think. (But yes you're right, it won't use C++ expected.)

This is a very important problem to solve. The FFI throws a myriad of unstructured errors that are hard to classify and handle, that pours out to the client code and makes error handling a nightmare and one of the most important developer experience problems we have in the wallet team.
Swift is designed to interop with C and C++ so I don't think it would be far much complicated than what we do know. I don't know if it would be of any help for the JNI side of things. Probably an effort that is better spent on leveraging a tool like UniFFi or similar.


How should we return reasoning for our own documentation?

For reasonings that point to our own research documentation, we currently return the (relative) path to the Markdown file in process(). Here's how that looks in cli as an example:

I'm unsure whether that's the correct way to go. We could also replace the path with the URL to the hosted documentation on trackers.tweasel.org.
Even if we decide against doing that, I think we should at least:

Update the docstring to explain what the Markdown paths means and how to get to the Markdown file as well as how to construct the URL to the hosted documentation. (The docstring really needs to be updated either way—first-party documentation is not "a more in-depth research report.)
https://github.com/tweaselORG/TrackHAR/blob/b2191417c38634dcc0124e07b14f282bdc80f404/src/index.ts#L171-L181

Replace the path with the URL in cli.

One potential reason I can think of for not replacing the path with a URL: One might want to get the research documentation as of the version of TrackHAR they are using and not the (potentially) updated one on our site.
However, then I realized that we don't actually ship the documentation as part of the bundle, which seems like an oversight to me. (Though it does raise additional questions, like should we maybe export it as a JS object or something since you can't exactly easily access Markdown files bundled in a JS package…).

We decided to:

Add the research docs to the bundle. To do that we compile them into a format that is easily accessible from javascript (e.g. JSON)
In the adapters, the id for the reasoning file is kept as the path of the markdown file in the reasrch-docs folder.
We provide a utility function to access the bundles text as well as generate a (in the future hopefully versioned) URl to the hosted docs on trackers.tweasel.org


[p]starter multiple language patch

creates a list of names for all language consist in data
added elif in [p]hint function because for Chinese names it can be as short as len(name) = 2

note that all Chinese had been swapped from simplified to traditional in my version
but I think that the two patches above might be helpful

Don't mind the edits, im just very dumb

too much work to test so i'll assume it works


adding lower and upper extraction fn

fix for issue #2010

@b-slim upper and lowercase are locale sensitive, can we add an optional locale parameters? You can look at https://github.com/druid-io/druid/blob/master/processing/src/main/java/io/druid/query/extraction/TimeFormatExtractionFn.java#L45 for an example where we allow for locale.

@b-slim let's finish this one up

@xvrl and @fjy this should be good to go

@gianm does this fix your issue ?

:+1: I have a minor comment

:+1: after https://github.com/druid-io/druid/pull/2076#discussion_r50343923 is resolved

@fjy and @himanshug thanks ! will merge it once Travis is happy !


[Docs] lazySizes object fit extension docs should mention the postcss-object-fit-images postcss plugin

The documentation for the lazySizes object fit extension does mention that the polyfill is not a fully-automated solution and some CSS fiexes are required (font-family: "object-fit: contain/cover";)
In fact it could be automated by PostCSS plugin: ronik-design/postcss-object-fit-images.
It is a plugin that parses the CSS file and adds apropriate font-family declarations.
So It would be good to add a little note about it to docs.

From the docs:

To init the plugin on an image simply use the font-family property directly on your image.

.imagecontainer-img {
	object-fit: contain;
	font-family: "object-fit: contain";
}

But I will make it clearer for you.

@aFarkas
I understand how it works, I'm just saying that it would be good to mention, in the docs, that there's no need to add font-family declarations manually because there's an automated solution - the postcss-object-fit-images plugin. That's my point.


npm ERR! 404 Not Found: @fengyuanchen/loader

npm install failed while using npm install @fengyuanchen/loader.
But it works with npm install fengyuanchen/loader, which will pull the repo from github.

I guess you still use the old NPM v1.x. Please download and install the latest Node.js (with the latest NPM built-in).

npm -v
3.3.6

https://www.npmjs.com/package/@fengyuanchen/loader

It seems that the registry of taobao hasn't update their repo.
It's fixed while setting registry to https://registry.npmjs.org/


nf-midi-close icon has been removed

I was just trying out cokeline, but the close icon was not rendering correctly (see screenshot).
I looked for  at the nerd-fonts cheatsheet website, and it seems to have been removed.

Thanks for letting me know! I'll update the default close icon.

oh thanks for the tip! I'll update it :)


Cannot install if Private IP is enabled

for example, I tried on GCP. It showing some error.
root@gcp:~# wget https://raw.githubusercontent.com/l-n-s/wireguard-install/master/wireguard-install.sh -O wireguard-install.sh
--2019-11-11 08:17:41--  https://raw.githubusercontent.com/l-n-s/wireguard-install/master/wireguard-install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7427 (7.3K) [text/plain]
Saving to: ‘wireguard-install.sh’

wireguard-install.sh         100%[=============================================>]   7.25K  --.-KB/s    in 0s

2019-11-11 08:17:42 (53.9 MB/s) - ‘wireguard-install.sh’ saved [7427/7427]

root@gcp:~# bash wireguard-install.sh
Servers public IP address is 10.XXX.0.6. Is that correct? [y/n]: n
Aborted. Use environment variable SERVER_HOST to set the correct public IP address
root@gcp:~#

Before running the script, run export SERVER_HOST=<IP_ADDRESS> with your public IP address


Access Violation when exiting hello_world

I am facing an Access Violation error when exiting the hello_world example. It happens when several localities are run, and is reproducible for (nearly) all the unit tests involving distributed.tcp
I am using boost 1.58, and MinGW compiler ( https://github.com/STEllAR-GROUP/hpx/pull/1773 )
post mortem using i686-5.1.0-posix-dwarf-rt_v4-rev0 : https://gist.github.com/ericLemanissier/01e93763f678f839a0fc
post mortem using x86_64-5.1.0-posix-seh-rt_v4-rev0 : https://gist.github.com/ericLemanissier/15b176518c202a5498d3
I don't know if it is of any use, but I noticed the access violation seems to always be writing at address<PHONE_NUMBER>000024 when compiling x86_64, and<PHONE_NUMBER>000014 in i686

I have seen this kind of error on and off on Windows for years but have never been able to pinpoint it. As far as I remember, it is caused by a race during ASIO termination. We somehow perform this in a wrong sequence.

Could it be linked to https://sourceforge.net/p/mingw-w64/bugs/527/# ?

This could be related to #866


Packages: Rename ArchLinux package soletta-git to soletta-nightly

Task Description
Page: https://github.com/solettaproject/soletta/wiki/Packages
ArchLinux currently has two packages, soletta for releases and soletta-git for bleeding edge versions but both are git packages so the second one is not very meaningful. Renaming it to soletta-daily, soletta-nightly or something like that would help.
Dependencies
None

I'm wondering if -git isn't a standard way to name such kind of packages on Arch.
So let's see what @anselmolsm say about it.

-git is a standard for this kind o packages on Arch Linux

Thanks @bdilly and @anselmolsm, I'm going to close the ticket then!


Have TSC target ESNext rather than the ES3 default

This should solve this problem where spreading a set into an array gives an error, and result in snappier code than the compatbility shims that are added when TSC compiles down to ES3.
Not sure about the case of the options. The TS docs has it all in lowercase, you were using "module: ESNext"...

Uh.. thanks a lot @pygy !


add write constraint range check

fixes #232

rustfmt, please

Possibly check also self.min<=self.max?

self.min<=self.max?

I'm not sure they can't be equal.


Updated AddSessionManager and AddFeatureCleanupManagement to register…

… as scoped or singleton based on IFeatureManager registration. Simplified argument null checks.

Closes #98


[LinuxClock] Performance improvements

This PR improves the performance (and reduces battery consumption) of the Linux Clock.

Thanks!


Moved driver to its own folder and setup src/test layout.

 I've found catch2 to be enormously helpful when doing anything fairly complicated in c++.

looks good


[BUG]: InstallSSHKey installs key insecurely

Task name
InstallSSHKeyV0
Task version
0.211.0
Environment type (Please select at least one enviroment where you face this issue)

[ ] Self-Hosted
[X] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
macOS 12.6.5
Task log
2023-04-26T15:00:38.5253500Z ##[section]Starting: install SSH keys
2023-04-26T15:00:38.5260930Z ==============================================================================
2023-04-26T15:00:38.5261090Z Task         : Install SSH key
2023-04-26T15:00:38.5261180Z Description  : Install an SSH key prior to a build or deployment
2023-04-26T15:00:38.5261260Z Version      : 0.211.0
2023-04-26T15:00:38.5261350Z Author       : Microsoft Corporation
2023-04-26T15:00:38.5261420Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/install-ssh-key
2023-04-26T15:00:38.5261520Z ==============================================================================
2023-04-26T15:00:41.4989360Z [command]/usr/bin/ssh-agent
2023-04-26T15:00:41.5092160Z SSH_AUTH_SOCK=/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T//ssh-ugjd35JbX4lW/agent.2634; export SSH_AUTH_SOCK;
2023-04-26T15:00:41.5305190Z SSH_AGENT_PID=2635; export SSH_AGENT_PID;
2023-04-26T15:00:41.5305740Z echo Agent pid 2635;
2023-04-26T15:00:41.7118980Z Enter passphrase for /Users/runner/work/_temp/id_rsa: Bad passphrase, try again for /Users/runner/work/_temp/id_rsa:
2023-04-26T15:00:41.7737850Z [command]/usr/bin/ssh-add -L
2023-04-26T15:00:41.7839110Z The agent has no identities.
2023-04-26T15:00:41.9251560Z [command]/usr/bin/ssh-add
2023-04-26T15:00:42.0699020Z Inserting entry into config file:
2023-04-26T15:00:42.0800260Z Host ssh.dev.azure.com
2023-04-26T15:00:42.0885020Z HostName ssh.dev.azure.com
2023-04-26T15:00:42.0985300Z IdentityFile "/Users/runner/work/_temp/id_rsa"
2023-04-26T15:00:42.1086890Z User "git"
2023-04-26T15:00:42.1169930Z
2023-04-26T15:00:42.2506350Z ##[section]Finishing: install SSH keys

Relevant log output
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/Users/runner/work/_temp/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/Users/runner/work/_temp/id_rsa": bad permissions
<EMAIL_ADDRESS>Permission denied (password,publickey).

Aditional info
The task installs the ssh key, but later in the pipeline can't be used because the permissions of the key file are too open.
chmod 400 should be applied to the private key after installation.

Ooops, seems like there was an issue with the key passphrase. Checking that first.

But I still have this issue while my passphrase is correct. I now we got blocked because of this. Could someone re-open this issue and support us?
@geertbleyen @kirill-ivlev

I'm having the same problem, no passphrase in this case


Project: HSC Re-run

I'm interested in cosmology with LSST lensed quasars, so would like to understand the whole DRP pipeline through to forced photometry light curves. I know this is a lot to learn, but with the html tutorials at pipelines.lsst.io I wonder whether I might be able to piece them together to do a complete re-run of a small patch of HSC sky? I'd want to pick a patch that contained a lens, to make it interesting. All advice gratefully received, and I'll start by reading through the html while identifying and displaying an HSC lens from Sonnenfeld et al 2018: http://adsabs.harvard.edu/abs/2018PASJ...70S..29S
This project has a lot of overlap with Andrew's in #58 - let's swap notes, @andrewkbradshaw!

Completed, and closed by #86 ! Well done, @jtmyles :-)


Register package

@JuliaRegistrator register

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/80127
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.1 -m "<description of version>" 38b2d5124cafe15be53db9a8b8583af133e10cb3
git push origin v0.1.1

Also, note the warning: This looks like a new registration that registers version 0.1.1.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.


[doc] add chinese version of README.md

this Chinese Version of README will helpful to people from china to understand and use this package

@dujuncheng Do you think you have time to look into this?

@kiaking seems the author not active. I just updated my all suggestions and approved it. Feel free to merge. Thanks.

Thanks a lot! 👍


Setup secrets boilerplate code from templates

Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[x] C++ Guidelines
[x] Doxygen docs
[x] Unit tests
[x] No unwanted commits/changes
[x] Descriptive title/description

[x] PR is single purpose
[x] Related issue listed

[x] Comments in source
[x] No typos
[x] Update changelog
[x] Not work-in-progress
[x] External references or docs updated
[x] Self review of PR done
[x] Any breaking changes?

closes #2606

/azp run cpp - keyvault - ci


This is a duplicate content

you have STOLEN all the content from out website, copy and paste!
Please remove it immediately or let me have your contact details for my lawyers.

What do you mean?


Simplifying the Usage of the CSQ Compiler

After building CSQ using the build.sh script, the compiler's path is saved, allowing for convenient usage from any location. This eliminates the necessity of using commands like:
./csq cpp hello 'current-folder'
With this enhancement, executing the CSQ compiler is streamlined to:
csq name
The need to specify the current-path and cpp no longer required, simplifying the process further.

I used your code but it's not working
like:
 ./csq test

so got some errors:
CSQ_PATH environment variable not found.
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
Aborted (core dumped)

so i hope you should improve it and solve this issue

@AniketKumar2500  linux home/user dic have .bashrc file CSQ_PATH save in that if you not using linux than its not work
which OS you are using.
if you using Linux  check in home/user there you got .bashrc it's hidden file .bashrc have dot(.) before

@AniketKumar2500 try this command in Csq4 folder  after successful build
export PATH=$PATH:$(pwd)
export CSQ_PATH=$(pwd)


Update s3 to 2.17.57

Updates software.amazon.awssdk:s3 from 2.17.34 to 2.17.57.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk", artifactId = "s3" } ]

labels: library-update, semver-patch

Superseded by #535.


Added support for stdlib and fpm

I've modified the docker image and altered directory and execution structure so that we use fpm for our executions now. This means we can support any package built via fpm. I've only added support for stdlib as of now.
Make sure to build a new image as stated in the README.

@everythingfunctional @milancurcic @arjenmarkus  please assist with review.

Hi Ashirwad,
I will do my best, hopefully I can review it tonight.
Regards,
Arjen
Op di 30 aug. 2022 om 12:08 schreef Ashirwad Mishra <
@.***>:

@everythingfunctional https://github.com/everythingfunctional
@milancurcic https://github.com/milancurcic @arjenmarkus
https://github.com/arjenmarkus please assist with review.
—
Reply to this email directly, view it on GitHub
https://github.com/fortran-lang/playground/pull/21#issuecomment-1231453169,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN6YR35SYVABIUUVT4FR43V3XMQDANCNFSM6AAAAAAQAHZ3MY
.
You are receiving this because you were mentioned.Message ID:
@.***>

A few thoughts on the approach here.

Don't commit the fpm executable to this repository. Have the Dockerfile fetch it from the releases of the fpm repo. You can also name it just fpm. No need to keep the other parts of the name.
The fpm.toml shouldn't be "hard-coded" in the backend. It should be generated by the frontend and sent to the backend based on the libraries selected by the user. Otherwise, the user is always building all the supported libraries whether they use anything from them or not.
The supported libraries should be pre-fetched and included in the Docker environment at known path's. The generated fpm.toml file can then use them directly with an entry under dependencies like stdlib.path = "/fortran/stdlib"
No need to run fpm build and fpm run as separate steps. fpm run will build as necessary.
Don't really need to run fpm new in the Dockerfile. You're not using any of the files it generates. Just do mkdir -p playground/app and you've got everything you actually need.

Note: each of these items is pretty orthogonal, so you can pretty easily address them one at a time in separate commits, which I'd recommend.

@everythingfunctional I've altered the code according to the solution you suggested. We give user option to select libraries via a toggle switch that can be accessed in the frontend. This is selection is then sent to the backend which generates an fpm.toml containing the libraries user has selected, for now we only use stdlib. I've also altered the docker image to fetch fpm, and stdlib directly from source.
We do however keep the build statement as fpm run outputs the build information to STDOUT which is picked up by our backend.
I've also altered a few UI components to make the playground look cleaner.
Please take a look.

There are probably some improvements that could be made to the UI, but the functionality is there and usable and it works. I'm happy with merging this now. Good work.


docs: note about mac os

For the interest of @utting and @yousifpatti,
Add rudimentary notes about lifting on macos, mostly based on experiences of @ncough.
Although the cross compiler works (reported by Nick), there are still issues which prevent the basil toolchain working.
I am aware of issues with bap and ddisasm through Nix on Mac. This may or may not be fixed by compiling the packages manually.

What are the issues with the toolchain, is it just the issues with Nix?

The ongoing issues? I know there are problems running the listed Nix packages. I do not know if they will work outside of Nix.

I know people have gotten BAP to work on Mac by compiling from source (as much of a hassle as that is), though I'm not sure whether that's the ASLp build, but I don't know about DDisasm.

I have had BAP, BAP + ASLp and DDisasm all working on macOS in the past, compiling from source in each case. I don't recall exactly what had to be done for each, but I can try digging this up if it would be useful to others.

Good news, Github lets us run Actions on macos. Unfortunately, the situation for pac-nix is not good.
I do not think this will be fixed soon. I guess, in the meantime, the workflow has to be compiling all the tools from scratch.


asset loading slow after requiring active_admin

My page is with 20+ css and 10+ js files, when I required this gem inside my Gemfile, the requesting process of those assets become as slow as around 1 second.
I am pretty sure that other people might come into the same issue. I didn't study the code, but a small glimpse shows that active_admin.rb auto loads a lot. Did that cause the slow-loading problem? THanks

Hello, this is probably duplicate to #170 I can recommend using rails-dev-tweaks gem as a workaround.

@pmq20 This seems like a dupe of #170


Update_init.py

Ajout de  #com

Adding comments on every line is not something I'm happy to do, let alone in French.. sorry ;-)


feat: Editor Coroutines support

Purpose of this PR
Add an ability to start Coroutines not at runtime.

This PR isn't relevant anymore. Since we have Editor Coroutines package by Unity.
Thank you for your contribution!


Hyperparameter tuning & other to prevent divergence

-> Policy diverges quickly. As gradients have been fixed (hopefully), main suspects are probably one of these (or a combination):

Policy learning rate & value function learning rate (currently 0.000003 & 0.00001 respectively w/ Adam)
Policy network size & value network size (policy: 111, 32, 8 + tanh, value: 118, 32, 1)
Mini-batch size (currently 256) and min buffer size to begin training (currently 1000)
Beta, constant for adding gaussian noise for exploration (currently 0.2), and alpha, for target policy smoothing (currently 0.2)
Gamma, discount factor (currently 0.99)

A lot of instability during training, even in later stages. Seems like a clear indicator of overestimation bias.


Make it possible to perform LxLy rotations

Proposal to implement the LxLy gate

Done. However, I was not try to find any indication anywhere on how to run the tests locally.

Hi Fred, this looks good, thanks. To run the tests, simply run
python -m unittest

from the repository root. (I added this to the Readme, thanks for pointing out.)

So when I ran the test I found some issues with how I had implemented it and now it also uses np.allclose(). However, the tests fail as I did not add the Heidelberg provider credentials:
% python -m unittest
/qiskit-cold-atom/qiskit_cold_atom/providers/cold_atom_provider.py:289: UserWarning: No credentials found at the specified location
  warnings.warn("No credentials found at the specified location")

This is most likely an independent issue, but I it is somehow not obvious that this is good as I think that I mostly followed the most basic installation rules...

Hi Fred, I opened a new issue for the behaviour of the credentials in the test suite. I'm not sure what's going on as the test is designed such that it creates some dummy credentials on the fly and then deletes them afterwards.
Do your test fail or is it just this warning which is being triggered? Maybe you could post the entire output of your console in the discussion of the issue #10


starting work on better SEO TS

Meant to help improve #137

Merging this as an improvement on the base branch and will continue to push the types along there.


[on-chain config] register valdiator set into ON_CHAIN_CONFIG_REGISTRY

Motivation

setup correct flow of publishing new config
break on_chain_config into multiple files
modify the access path and register validator set

Have you read the Contributing Guidelines on pull requests?
Y
Test Plan
Existing tests.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

LGTM on Rust-side! will let @runtian-zhou take a look at Move-side

:umbrella: The latest upstream changes (presumably 35dca0872f060ee71338c98e0259240f34e4ca75) made this pull request unmergeable. Please resolve the merge conflicts.

:umbrella: The latest upstream changes (presumably e7646af1134cb56bebd724fa36751df4f3acfcf1) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-libra r=christinacelee

:pushpin: Commit d5b6880 has been approved by christinacelee

:hourglass: Testing commit d5b6880d697a042fdb737613e1dbe45b0d5285d1 with merge 98b12a9e7e40ba6f0c83292599137761bcbc080d...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: christinacelee
Pushing 98b12a9e7e40ba6f0c83292599137761bcbc080d to master...


add torch

add torches on seafloor in front of tanks

added foggy environment, project light on two vital vertical tanks


Generate release binary signatures with a consistent GPG key

Feature Request
Describe the problem you need a feature to resolve.
I have an issue when using CI to download and validate the signature of releases of the Operator SDK. At the moment, the binary signing process appears to be done manually by the releaser, and the releaser is not consistent between versions.
I do not want to wholesale accept GPG keys programatically based on whoever signed the release, and so I validate the signatures and identity of the signer personally as much as possible before adding the signature to my list to be imported during CI processes. This means that, every time a new release is generated with a key I have not whitelisted before, I have a failed build when tracking the latest release or bumping SDK versions.
My use case is that the operator-sdk binaries generate and validate bundles as part of a release flow for some community operators I work on.
Describe the solution you'd like.
I would like it if a CI process for the Operator SDK generated releases signed by a common, trusted, and widely published GPG key. This would enable my whitelist to remain static between releases and increase community trust in the validity of the signatures.
The drawbacks would be that team members would not be able to release ad-hoc binary releases with signatures in the current workflow that they appear to be using (I am unfamiliar with the way it is currently actually occurring).
An alternate approach that I would consider reasonably acceptable is a published list of all member GPG key IDs. I would likely not scrape it programatically still, and my whitelist could potentially drift from the current state of that published list, but I think failure to validate signatures would be less common in this scenario.

This is good timing! We're planning to do as you suggest and use a release-specific GPG key to sign release binaries published to the GitHub release page.
If you're interested in the nitty-gritty details, you can peruse our proposal here:
https://github.com/operator-framework/operator-sdk/blob/master/proposals/automating-releases.md

Ah, terrific!
I did search all issues (including closed) for the word gpg, but didn't peruse the proposals.
I appreciate the link! Looks like it meets my needs exactly!


Feature/mpdo 1015

Signed-off-by: Karan Kapoor<EMAIL_ADDRESS>

It's good practice to specify some type of syntax highlighting for all fenced code blocks. If there is no specific syntax highlighting style for a particular block, just use plain, i.e.
```plain
text goes here
```

Anything that should be run on the command-line should use shell, i.e.
```shell
curl -O http://host/endpoint
```

If you want to show the output from a command, then prefix the command with a $, i.e.
```shell
$ curl -I https://oracle.com
HTTP/1.1 301 Moved Permanently
Date: Tue, 13 Sep 2022 21:58:32 GMT
Content-Type: text/html
Content-Length: 175
Connection: keep-alive
Location: https://www.oracle.com/
```

Unfortunately, I can't approve or merge anything in this repo. I only reviewed it because I knew about it and thought the feedback might be useful.

Unfortunately, I can't approve or merge anything in this repo. I only reviewed it because I knew about it and thought the feedback might be useful.

@Djelibeybi - could you pls let me know who can help in approving this PR? It's been pending for a long time now.

@karankap I have no elevated access to any of the repos in this organisation, so I can't see any more than you can.


crash report

I got this from a user:
Details:
Traceback (most recent call last):

 File "~/Library/Application Support/Glyphs/Repositories/Filter List Manager (FLM)/FilterListManager.glyphsPlugin/Contents/Resources/plugin.py", line 88, in <module>
   shutil.copy(GLYPHS_PLIST_FILE, FLM_BACKUP_ORIGINAL_FILE)

 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 139, in copy
   copyfile(src, dst)

 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 96, in copyfile
   with open(src, 'rb') as fsrc:

IOError: [Errno 2] No such file or directory: u'~/Library/Application Support/Glyphs/CustomFilter.plist'

App:2.6.5-1342 Plugin:0.5.1-51

Thank you for posting it here!  Is it possible to tell what version of the plugin they used?  It doesn't appear that we ever pushed a v0.5.1 as indicated in the trace there.  The latest v0.6.0 release includes the Py3 changes that you submitted to the repository and was released here in early June 2020.

It is in the last line of the report.

It looks like that is an old release.  Possible to ask the user to attempt an update to v0.6.0 and report directly in this thread? I can work with them on a fix.

The current version is 0.5.1-51. and the code at that location is not fixed

What is the current Py environment jn the release of the editor reported here?

IOError: [Errno 2] No such file or directory: u'~/Library/Application Support/Glyphs/CustomFilter.plist'

Has the path to this Glyphs file been changed?  I don't find it on this path as of v2.6.5

My understanding is that this is a default file distributed with releases, no?  Is this a situation where the user deleted it or should it not be there in some distributions?  In any case, it looks like we just need to catch the missing file path issue and raise a warning.

The file is created the first time the user changes the filters.

The file is created the first time the user changes the filters.

ty!

Still not fixed??


EspressoBin (Armada 3700), SATA booting doesn't work at 18.12

Hello,
I am trying to rebuild armada-18.06 u-boot  release from scratch.

gcc-linaro-5.5.0-2017.10
armada-18.06
atf-v1.4-armada-18.06
u-boot-2017.03-armada-18.06

I am following instructions and rebuilding u-boot.
Command to produce flash-image.bin is the following:
make DEBUG=1 USE_COHERENT_MEM=0 LOG_LEVEL=20 SECURE=0 CLOCKSPRESET=CPU_1000_DDR_800 DDR_TOPOLOGY=2 BOOTDEV=SATA PARTNUM=0 PLAT=a3700 WTP=`pwd`/../A3700-utils-marvell MV_DDR_PATH=`pwd`/../mv-ddr-marvell fip

Then I deploy image to hard drive using dd and attach it to the board. What I see when trying to boot from SATA drive is the following:
TIM-1.0
>

The same issue with armada-18.09 and gcc-linaro-7.3.1-2018.05

How do you copy the image to disk?

dd if=flash-image.bin of=/dev/sdd1
sync

Where /dev/sdd1 is partition of 0x4d type as described there: https://lists.denx.de/pipermail/u-boot//2017-July/299351.html

armada-17.08 worked fine for me. I even haven't touch the partition table since then.

I've tried both LBA0 and LBA1. The same behavior.

We are debugging this issue

Do I understand correctly, that you can reproduce the issue?

I haven't tried. We have a SW engineer assigned to this issue.

I am sorry. Any news?

I've checked 18.12 release. The same behavior.

I've checked that the behavior is different when I try to boot from blank SATA drive: I see immediate E and >. When I try my flash-image.bin I see TIM-1.0, some timeout and then >.
So, I suppose the image itself is found properly.

Hi ，
Any update here？
I also see the same behavior when i try to emmc boot using espressobin v7 board。But i can boot from emmc using the bin which download from globalscale website ftp://downloads.globalscaletechnologies.com/Downloads/Espressobin/ESPRESSObin V7/bootloader/

Hi
I have the same issue here. I found the following image to be working http://wiki.espressobin.net/tiki-download_file.php?fileId=146 . It is located inside the zip file that can be downloaded from this link and is called flash-image-sata.bin . Unfortunately on my Espressobin v5 2GB DDR3 it only shows 512MB RAM and cannot detect the SPI flash.
To resolve this I tried building my own image, per instructions here: https://trustedfirmware-a.readthedocs.io/en/latest/plat/marvell/armada/build.html#armada37x0-builds-require-installation-of-3-components
The resulting flash-image.bin does not boot from SATA correctly. It shows the following message for about 30 seconds after which the Boot ROM prompt ('>') appears:
TIM-1.0
mv_ddr-devel-g5d41a99 DDR3 16b 2GB 2CS

Strangely enough If I use the mox-imager tool to send this same flash-image.bin (the one I built) to the board over UART (with correct jumper settings), the board boots up fine with it:
Reserved area packages:
  CRV2 (size 20)
  CIDP (size 32)
    Consumer TBRI, packages: GPP1 GPP2 DDR3
  GPP1 (size 644)
    Ignore timeouts in instructions: 0
  GPP2 (size 456)
    Ignore timeouts in instructions: 0
  DDR3 (size 1912)
    Initialize DDR memory: 1
  Term (size 8)
Found TIMH, hash sha-256, encryption none, size 3460, load 0x20006000, flash 0x00000000
Found WTMI, hash sha-256, encryption none, size 19180, load 0x1fff0000, flash 0x00004000
Found OBMI, hash sha-256, encryption none, size 1054464, load 0x64100000, flash 0x00015000

Sending escape sequence, please power up the device
Received sync reply
Sending escape sequence with delay
Detected BootROM command prompt
Sending wtp sequence
Initialized UART download mode

GetVersion response: version 3.4.01, date 2016-05-15, CPU ARMA
Sending image type TIMH
100% sent in 00:00

TIM-1.0
mv_ddr-devel-g5d41a99
Sending image type WTMI
100% sent in 00:02
Sending image type OBMI
100% sent in 01:32

[Type Ctrl-\ + c to quit]

WTMI-devel-18.12.1-14b3c61
WTMI: system early-init
SVC REV: 5, CPU VDD voltage: 1.143V
Setting clocks: CPU 1000 MHz, DDR 800 MHz
CZ.NIC's Armada 3720 Secure Firmware v2021.09.07-27-g489262b (Jan 23 2022 23:18:52)
Running on ESPRESSObin
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v2.6(release):v2.6-231-ge537bcded
NOTICE:  BL1: Built : 23:18:56, Jan 23 2022
NOTICE:  BL1: Booting BL2
NOTICE:  BL2: v2.6(release):v2.6-231-ge537bcded
NOTICE:  BL2: Built : 23:18:56, Jan 23 2022
NOTICE:  BL1: Booting BL31
NOTICE:  BL31: v2.6(release):v2.6-231-ge537bcded
NOTICE:  BL31: Built : 23:18:56, Jan 23 2022

<debug_uart>

U-Boot 2022.01-00532-gd71dbe657c (Jan 23 2022 - 23:18:30 +0000)

DRAM:  2 GiB
Core:  37 devices, 21 uclasses, devicetree: separate
WDT:   Not starting watchdog-timer@8300
Comphy chip #0:
Comphy-0: USB3_HOST0    5 Gbps
Comphy-1: PEX0          5 Gbps
Comphy-2: SATA0         6 Gbps
Target spinup took 0 ms.
AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
flags: ncq led only pmp fbss pio slum part sxs
PCIe: Link up
MMC:   sdhci@d0000: 0, sdhci@d8000: 1
Loading Environment from SPIFlash... SF: Detected mx25u3235f with page size 256 Bytes, erase size 4 KiB, total 4 MiB
OK
Model: Globalscale Marvell ESPRESSOBin Board
Net:   eth0: neta@30000 [PRIME]
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
759 bytes read in 15 ms (48.8 KiB/s)
11809280 bytes read in 817 ms (13.8 MiB/s)
9319 bytes read in 26 ms (349.6 KiB/s)
7291336 bytes read in 512 ms (13.6 MiB/s)
Moving Image from 0x2000000 to 0x2080000, end=2c06000
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   Ramdisk Image
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    7291272 Bytes = 7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
   Loading Ramdisk to 7f407000, end 7fafb188 ... OK
   Using Device Tree in place at<PHONE_NUMBER>000000, end<PHONE_NUMBER>005466

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.0.0-1-ARCH (builduser@leming) (gcc version 8.2.1 20180831 (GCC)) #1 SMP PREEMPT Tue Mar 5 22:43:35 MST 2019
<<< at this point system boots on to linux >>

Could you help me find out what goes wrong here?
Thanks
Rogier

你的来信已收到，谢谢。。。

Hello @Mrvl-BenjaminHuang! Could you look at this Espressobin SATA booting issue? It is still present in the latest version of A3700-utils-marvell.

Hi
For those of you still having this issue, the problem lies in the MVEBU_NORTH_CLOCK_ENABLE_REG register (c0013014). The value written there is 0x07032018, it should be 0x00000000.
I tried it with the following change, and this fixes the problem for me:
A3700-clocks-fix-sata-boot.zip
Regards
Rogier

Hello @matwey, can you still reproduce this issue?

@pali I cannot answer you right now, because I need to spend some time to test this again.

@matwey Ok! Just to note that @rstam3108 prepared pull request for WTMI which should fix this SATA booting issue: https://github.com/MarvellEmbeddedProcessors/A3700-utils-marvell/pull/29

Nice to know! But I cannot promise to check this until the next week :(

actually no need to zero out all bits. only bits 3 and 25 is enough to enable sata boot. just fyi

Indeed https://github.com/MarvellEmbeddedProcessors/A3700-utils-marvell/pull/29 works for me at 1G v5 EspressoBin.
Thank you @rstam3108

yw :)

@matwey Fix for SATA booting is now in master branch: https://github.com/MarvellEmbeddedProcessors/A3700-utils-marvell/commit/e733e9f139ff23c1b0346c6e89f5530a4c24db3b
So I think you can close this issue as fixed now :-)

Right! Thank you.


You are unable to add lattice to the emergency shuttle floor

Description
If the emergency shuttle gets bombed you are unable to add lattice inside the shuttle. This makes it impossible to fix hull breaches with floor tiles. You get the message unable to place there
Additional context
This was on core station. I was unable to add lattice while it was in FTL and after it landed.

the anti cheese should be changed to requiring an atmosphere on evac to ftl to address rcd and sitting on thrusters
if someone brings mats and an air canister thats enough effort

This issue seems to be resolved. Not being able to build on the shuttle was a design choice.


Drop support for Ember < 2.12.

It is definitely possible to make these work if someone ultimately needs the support, but lets remove it for now.

Updated to just drop 2.4 / 2.8 CI runs.


Questions about overtraining

Hi all,
So I had some questions about over training and I hope anyone could help me with this. So I know upping the epochs can lead to over training, but what else can influence the over fitting of the training? And what is the correlation between the validation rate and over training?
If anyone knows a good paper on this subject that would also be great.
Thanks in advance for any help!

http://www.reality.ai/single-post/2017/01/17/Machine-Learning-the-Lab-vs-the-Real-World
is a very easy read

@twobob Thanks this is perfect, its very well explained in the articles!

Might as well close this issue then ;)


Update scalajs-linker to 1.8.0

Updates org.scala-js:scalajs-linker from 1.7.1 to 1.8.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.7.1).
You might want to review and update them manually.
build.sc
integration/test/resources/ammonite/build.sc

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-js", artifactId = "scalajs-linker" } ]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

We have tests with Scala.JS 1.0 too. It should be fine since it is backward compatible and at runtime we use the previous artifacts 👍


Can I detect a jailbreak?

Can I detect a jailbreak?
react-native-cli: 2.0.1
react-native: 0.57.1
npm: 5.5.1

No


Uses isEmpty to check if collection is empty

It's preferred way to check collection for emptiness instead of checking that the count property is equal to zero.

Thanks. Since we are using the master branch for new releases, please make this change and future changes to the master branch instead.

Sounds like master should be default branch, not stable.

master and stable are VERY different.
MiniGo in master doesn't even compile.

@valeriyvan it does, but you'll need either a nightly or to build tensorflow from source.  Once 0.3 comes out there will be updated packages you can download.


[openbsd] Improve format, eol estimation

Reformatted using Style Guide given.
Commented for eol estimation on top of releases for future reference.
Marked estimated eol dates.

@BiNZGi , your change requests have been noted. I've made the required changes at -> 4281e106c6ac756bc02a2b1c68c7bddaef14eaa3
Hope its all okay now.

Great!
Thank you @BiNZGi for letting me work on this issue.


How to use the first solution strategy as an initial solution for a local search metaheuristic?

Hi,
my issue is very similar to the issues  #455 and #1297
1- i wanted to know if there is any update about that issue, because i'm trying to work on my Bachelor thesis with OR-Tools and i've landed on the same question "How to use the first solution strategy as an initial solution for a local search metaheuristic?"
I'm trying to solve some instances of VRPTW from VRP-REP
I've tried it the same way as here:
search_parameters = pywrapcp.DefaultRoutingSearchParameters() search_parameters.first_solution_strategy   = (routing_enums_pb2.FirstSolutionStrategy.LOCAL_CHEAPEST_INSERTION) search_parameters.local_search_metaheuristic = (routing_enums_pb2.LocalSearchMetaheuristic.GUIDED_LOCAL_SEARCH) search_parameters.time_limit.seconds = 60
but the value of the first solution strategy is getting worse and worse as long as i let the solver run!!!
I've tried all combinations between the first_solution_strategy and the local_search_metaheuristic and every time i got a good solution from the first solution strategy it gets worse when i try to improve it unsing a local search strategy (by worse i mean the solution is increasing while it should be decreasing, because of the method routing.AddVariableMinimizedByFinalizer() ).
2- is there any other resources where i can find more instances with the optimal solution so i can compare my solution to the optimal one.
Any help will be much appreciated

I cannot comment on 2.
On 1, the first solution strategy seems to find a good solution, or at least one in a local minimum, and fails to find an improving one. The cost going up is normal for GLS, as it penalizes frequent features in order to try to escape this local minimum

Checkout benchmarks like the Solomon vrp instances?

On Fri, 8 Nov 2019, 11:00 Laurent Perron<EMAIL_ADDRESS>wrote:

Closed #1697 https://github.com/google/or-tools/issues/1697.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1697?email_source=notifications&email_token=AAXL5EQ77OZ5B3TDGQMO2F3QSU2EBA5CNFSM4JKI6642YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUXLTBXY#event-2782343391,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXL5EQP5Y3PYNKA3EDPACLQSU2EBANCNFSM4JKI664Q
.


blank window screen during upgrade from an older version on windows

workaround is to clean install (uninstall the old version manually first, then install the new beta release)

This is happening for upgrade from 1.99.4 -> 2.0.1 as well


I suggest specifying tag of docker image  jupyter/scipy-notebook because scipy.misc.bytescale method does not exists.

scipy.misc.bytescale method does not exists in jupyter/scipy-notebook docker image.
https://github.com/leandromoreira/digital_video_introduction/blob/master/uniform_quantization_experience.ipynb
import numpy as np
import matplotlib.pyplot as plt
from scipy import fftpack
from scipy.misc import bytescale
import matplotlib.image as mpimg
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-17733afde104> in <module>
      2 import matplotlib.pyplot as plt
      3 from scipy import fftpack
----> 4 from scipy.misc import bytescale
      5 import matplotlib.image as mpimg
ImportError: cannot import name 'bytescale' from 'scipy.misc' (/opt/conda/lib/python3.8/site-packages/scipy/misc/__init__.py)

python 3.8.8
scipy 1.6.3

I suggest specifying tag of docker image  jupyter/scipy-notebook.
https://github.com/leandromoreira/digital_video_introduction/blob/master/s/start_jupyter.sh

@leandromoreira I created PR.
https://github.com/leandromoreira/digital_video_introduction/pull/117


Validate match only if field is required?

Hi,
Hopefully a quick question.
I only want to validate for a match if my first input has a value. Does angular-validation-match have a way to conditionally validate matches? Maybe something similar to ng-required?
<input name="txtSearchTitle" class="form-control" ng-model="SearchTitle" />
<input name="txtConfirmNewTitle" class="form-control" ng-model="SearchTitleConfirmation" ng-required="SearchTitle" match="SearchTitle"/>

Please enter a value

Confirmation must match entered search title.

No, there is not a way to conditionally validate (that I can think of) other than adding and removing the input using ng-if (having one input with match that is shown only when the original field is valid, and another without match that is shown when the original field is invalid.)
I can see adding a separate optional attribute match-if="expression" which will validate matching when the value of the expression is true and not perform validation when it is false, it would default to true to the attribute is not provided.