rviz-1.11.14 with qt4 fails to build on gentoo

Building rviz-1.11.14 without qt5 fails on my system because, as far as I understand it, dev-ros/python_qt_binding-0.3.0 still uses qt5. Building it with qt5 works.

sip: QMainWindow has not been defined
Traceback (most recent call last):
File "//usr/share/python_qt_binding/cmake/sip_configure.py", line 76, in
subprocess.check_call(cmd)
File "/usr/lib64/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/sip', '-c', '/var/tmp/portage/dev-ros/rviz-1.11.14/work/rviz-1.11.14-python2_7/devel/bin/sip/rviz_sip', '-b', '/var/tmp/portage/dev-ros/rviz-1.11.14/work/rviz-1.11.14-python2_7/devel/bin/sip/rviz_sip/pyqtscripting.sbf', '-I', '/usr/share/sip/PyQt5', '-w', '-x', 'VendorID', '-t', 'WS_X11', '-t', 'Qt_5_5_1', '-x', 'PyQt_SSL', '-x', 'Py_v3', 'rviz.sip']' returned non-zero exit status 1
src/python_bindings/sip/CMakeFiles/librviz_sip.dir/build.make:94: recipe for target 'devel/bin/sip/rviz_sip/Makefile' failed
make[2]: *** [devel/bin/sip/rviz_sip/Makefile] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-ros/rviz-1.11.14/work/rviz-1.11.14-python2_7'
CMakeFiles/Makefile2:1488: recipe for target 'src/python_bindings/sip/CMakeFiles/librviz_sip.dir/all' failed
make[1]: *** [src/python_bindings/sip/CMakeFiles/librviz_sip.dir/all] Error 2

I can't figure out if this an rviz issue or a gentoo issue because I don't understand how it is supposed to work at all: cmake/sip_configure.py in python_qt_binding-0.3.0 seems to explicitly mention PyQt5 in a lot of places and I don't see an option to tell it to use qt4.
Nevertheless I created a gentoo bug report, too:
https://bugs.gentoo.org/show_bug.cgi?id=580072
build.log.gz

Ah, I got it.  fixed this issue.

I overlooked the fact that the commit linked above is in the kinetic-devel branch. So the issue still persists in indigo.

Now that I think about it: Should rviz-1.11.14 even depend on python_qt_binding-0.3.0? Am I correct in assuming that it depends on python_qt_binding<0.3.0 and is incompatible with python_qt_binding>=0.3.0?

Exactly right. 0.3.0 is for Kinetic and uses Qt5 and PyQt5. If you want to use the indigo branch of rviz, you'll need version 0.2.19 of python_qt_binding.

Thank you very much, that cleared things up for me.


RNG seed doesn't determine result of treesim.birth_death_tree

Multiple calls to treesim.birth_death_tree passing instances of random.Random with the same seed yield multiple distinct trees.  Here is code to reproduce:
import dendropy
import platform

print('dendropy:', dendropy.__version__)
print('python:', platform.python_version())

from dendropy.simulate import treesim
import random

def generate(**kwargs):
    t = treesim.birth_death_tree(birth_rate=1.0,
                                 death_rate=0.5,
                                 num_total_tips=6,
                                 is_retain_extinct_tips=True, **kwargs)
    return t.as_string('newick')

num_trials = 1000

trees = set([generate(rng=random.Random(1)) for _ in range(num_trials)])
print('number of distinct trees generated:', len(trees), '(when passing rng)')

trees = set([generate() for _ in range(num_trials)])
print('number of distinct trees generated:', len(trees), '(when not passing rng)')

Which yields:
dendropy: 4.4.0
python: 3.5.2
number of distinct trees generated: 30 (when passing rng)
number of distinct trees generated: 1000 (when not passing rng)

The output shows that passing the RNG does make a difference ... but not enough of one :)
This is likely related to #88 (perhaps the example there just needs to be run multiple times to produce the issue).

Hi Benjamin,
Thank you for bringing this to our attention. The issue is due to the fact that, while running the processing, set objects are used to track the pool of extinct and extant tip nodes. As you know, order is not maintained by these containers. Nodes are popped off these as required, but this means that while the process itself is identical under the same random seed as advertised, the specific nodes that get selected for, e.g., birth events vary due to the container semantics.
The solution to this is to adopt a list. But this is going to have a performance hit in a couple of places.

Ok, maybe give a06f95e2 a spin. I've changed the node pool containers to lists, and, with the order invariance, the RNG seed dependent determinism now holds. Not sure what the performance penalties are at this point, though.

Thanks for the quick fix!  I can confirm that this resolves the indeterminancy.  A quick benchmark seems to indicate no performance penalty:
%timeit t = treesim.birth_death_tree(birth_rate=1.0, death_rate=0.5, num_total_tips=100, is_retain_extinct_tips=True)

Before:
9.6 ms ± 34.1 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
At a06f95e:
9.34 ms ± 51.5 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

Great. I've merged this into the development-master branch.


[release-1.19] fix multiple header matches in root vs

This is an automated cherry-pick of #47215

/retest


Dataset file explorer last modified bug

Last modified is different on upload and on refreshing the page. When uploading files, last modified will be the same as it says in your local file explorer. From the backend on refresh, it will say when you uploaded it to Sepes

That is just how Azure blob storage stores last modified. I do not believe we will do anything more about this


GKBarGraph uses same name as an Apple private selector

When validating the ipa in Xcode 6, I receive a warning saying that the GKBarGraph class is using a method with the same name as an Apple private selector.
The method in question is - (NSInteger)numberOfBars;
If I refactor the name to something like numberOfGraphBar and revalidate, it passes.
This is new in Xcode 6/iOS8 SDK it looks like.
Michael

I had to refactor this to get my build to itunes connect

I am sorry to hear that.

@michalkonturek no worries, just wanted you to know that the issue is valid.


bundle integration tests failing

logs in https://github.com/canonical/kfp-operators/actions/runs/5546710975/jobs/10127367018?pr=234
needs investigation

Hi @NohaIhab, this is a duplicate of #250, which should be fixed by #254. Closing it in favour of that other issue.


Added Locked Doors CPP

Have you read the Contribution Guidelines? If not, check CONTRIBUTING.md file first.
Yes
Description
Added locked doors CPP solution with successful submission image.
Checklist

[+] I've read the contribution guidelines.
[+] I've checked the issue list before deciding what to submit.

Related Issues
Fixes Issue # 1

There are 4 files. Have 1 solution per PR.


home assistant

can you write integration for https://home-assistant.io ?
I have a vsx-921

I'm afraid I'm not working on this project anymore.


Fails to re-run jasmine specs after modification (Windows).

On Windows 7 when I run guard it correctly runs my specs and notifies me of the result, it then also notices when I change the spec file but for some reason doesn't re-run the specs.
C:\ruby\apps\ProductCompare>guard
←[0mGuard is now watching at 'C:/ruby/apps/ProductCompare'←[0m
←[0mGuard::Jasmine starts Rack test server on port 8888 in development environment.←[0m
C:/Users/Admin/.pik/rubies/Ruby-193-p0/lib/ruby/gems/1.9.1/gems/em-dir-watcher-0.9.4/lib/em-dir-watcher.rb:7: Use RbConfig instead of obsolete and deprecated Config.
[2011-11-27 22:07:36] INFO  WEBrick 1.3.1
[2011-11-27 22:07:36] INFO  ruby 1.9.3 (2011-10-30) [i386-mingw32]
[2011-11-27 22:07:36] INFO  WEBrick::HTTPServer#start: pid=6804 port=8888
←[0mJasmine test runner is available at http://localhost:8888/jasmine←[0m
←[0m←[0mRun all Jasmine suites←[0m
←[0mRun Jasmine suite at http://localhost:8888/jasmine←[0m
←[0m←[0;33mWizard←[0m←[0m
←[0m←[0;33m  When creating a three step wizard←[0m←[0m
...
←[0m←[0;31m      ? ReferenceError: Can't find variable: ChooseProductStep in coffeescripts/Wizard_spec.js on line 5←[0m←[0m
←[0;31mERROR: ←[0m←[0;31m4 specs, 4 failures
in 0.011 seconds←[0m
#<MatchData "spec/javascripts/coffeescripts/Wizard_spec.coffee" 1:"coffeescripts/Wizard" 2:"coffee">
←[0m←[0mRun all Jasmine suites←[0m
←[0mRun Jasmine suite at http://localhost:8888/jasmine←[0m

Further changes to the files are not picked up and the specs never appear to run.

I don't think this has anything to do with the platform you're running. There are several steps from a file change to a Jasmine spec run:

Guard detects a file change (You stated that this works fine).
Guard may transforms the file change by evaluating your watch function in your Guardfile.
Guard::Jasmine reads the first spec file and gets the name of the spec by extracting the description of the first describe function in your spec file.
Guard::Jasmine runs the Jasmine runner, passing the spec description as spec query parameter.

The third step can lead to some confusion, since Jasmine doesn't know anything about a file, it just knows 'spec' function. I have just added a new section to the README:
Mapping file changes to the spec filter
Jasmine doesn't know anything about your test files, it only knows the name of your specs that you specify in the
describe function. When a file change is detected, Guard::Jasmine extracts the first spec name of the file and uses
that spec description as spec filter.
So if you want to have a precise spec detection, you should:

Use only one top-level description per spec file.
Make each top-level description unique.

To get a feeling how your naming strategy works, play with the web based Jasmine runner and modify the spec query
parameter.

I'm closing this since I got not response from my previous comment.

Appologies, I haven't had much time to play with it recently. It did appear to work but I'll try again over the next few days to make sure.


Update sip extension

Description

Screencast

Checklist

[ ] I read the extension guidelines
[ ] I read the documentation about publishing
[ ] I ran npm run build and tested this distribution build in Raycast
[ ] I checked that files in the assets folder are used by the extension itself
[ ] I checked that assets used by the README are placed outside of the metadata folder

You have to add to the CHANGELOG.md a description of the changes you made.

@ruiaureliano Thanks for opening this! Thanks for all your work on Sip too 🫡
I see it was closed though, do you want me to go ahead and add the updated icon?

@jamesjlyons yes please 😃

@ruiaureliano Finally got around to this, have a new PR open for it 😃


withHandlers with debounce

How can I create a function with recompose that won't be recreated whenever the component re-renders?
I basically want to have a handler that is debounced so it is just created once, but when I do this:
withHandlers({
  debouncedFunction: props => debounce(arg => somethingToDo, 250),
}).

I can see it being created more than once every time I set the state. Is there any way to create a function that's outside of the render lifecycle so I can properly use debounce?

use functional form of withHandlers ie
withHandlers(() => {
const blabla = debounce(blublu);
return {
  handlersAsUsual
}

now u can use blabla inside handlers

@istarkov thanks, I will give this a try!

@istarkov I might be missing something, but here is what I have tried, and seems like the debounce is not working as I would expect it to work. Here is what I have so far:
withHandlers(() => {
    const sayTest = props => debounce(_query => console.log("Debouncing"), 100);

    return {
      sayTest,
    }
  }),
  withHandlers({
    onSearchChange: props => (event: SyntheticEvent<>) => {
      if (event.target instanceof HTMLInputElement) {
        const searchQuery = event.target.value;
        props.sayTest('something');
      }
    },

Every time onSearchChange is called and I end up calling sayTest I would expect that one to be debounced, but I end up saying several 'TEST' in console.
Anything you think I'm missing here?

Thanks @istarkov !

It will be easy to get if you'll do 2 things

write your own debounce implementation using setTimeout - few code lines
rewrite handler using function body and return statement ie => { return blabla}

try to do both and if youll have a questions after Ill write explanation
also to be clear its not recompose behaviour its how js works.

@istarkov I'm going to share the experiments I did, and at the end I will ask my questions if you don't mind. First, I made this debounce function:
function myDebounce(func, wait) {
  var timeout;
  console.log('initialize');

  return function() {
    var context = this,
      args = arguments;

    var later = function() {
      timeout = null;
      console.log('called later');
      func.apply(context, args);
    }
    console.log('timeout', timeout);

    clearTimeout(timeout);
    timeout = setTimeout(later, wait);
  }
}

And then I wanted to use it in two ways. First way is by just passing the debounced function as a handler, and using it in another handler, like this:
withHandlers({
    debouncedSearch: props => myDebounce((search) => {
      console.log("Debouncing", search)
    }, 250)
  }),
withHandlers({
    onSearchChange: props => (event) => {
        const search = event.target.value;
        props.seatSearch(search) // Sets search state
        props.debouncedSearch(search);
      }
    },
  }),

If I type ab I see the following in the console:
initialize
timeout undefined
initialize
timeout undefined
called
Debouncing a
called
Debouncing ab

So, the debouncing is not working here, and I believe is because the debounced function is initialized twice.
On the second version, I did this:
withHandlers(() => {
 const debouncedSearch = myDebounce((search) => {
      console.log("Debouncing", search)
 }, 250);

 return {
   onSearchChange: props => (event) => {
        const search = event.target.value;
        props.seatSearch(search) // Sets search state
        debouncedSearch(search);
      }
    },
 }
})

Before typing ab I see initialize in the console. And then when I type ab, I see:
timeout undefined
timeout 24
called
Debouncing ab

So, what I see is that in the first version, the myDebounce function is initialized more than once (once for every character on the search), so it's impossible that it does debouncing because there are different instances. In the second version, we see the myDebounce function being initialized just once even before we start typing on the search input, and that's why the debouncing works.
I fail, however, what part of JS is making it work this way. Why when we use withHandlers({ ... }) with no functional approach it initializes the myDebounce more than once, and when we do it in a functional manner withHandlers(() => { ... }) it doesn't?
Thanks @istarkov, I really appreciate your time on this!

Why when we use withHandlers({ ... }) with no functional approach it initializes the myDebounce more than once

The answer is in js, and in

rewrite handler using function body and return statement ie => { return blabla}

so this
withHandlers({
    debouncedSearch: props => myDebounce((search) => {
      console.log("Debouncing", search)
    }, 250)
  }),

become this
withHandlers({
    debouncedSearch: props => {
     const myFn = myDebounce((search) => {
        console.log("Debouncing", search)
     }, 250)
    return myFn;
   }
  }),

latter is the same as first  just written without sugar.
As you see every time you call debouncedSearch(props)(search) js executes
fn = debouncedSearch(props) then fn(search).
and on every call fn = debouncedSearch(props) you reinitialise debounce.
In functional approach, function inside withHandlers(() => ) called once on initialisation, so debounce inside will be called just once so will work as expected.


Unable to grab Tree View edge to resize it

I'm not changing any styles (except for typefaces) in my styles.less config.

I did try restarting the application

Does not happen with other UI themes (One Light, etc.)

I'm trying to replicate your problem but I'm unable... try pasting this to your style.less
.atom-dock-resize-handle.left {   background-color: red;   width: 5px }
That should make visible the resize handler... let me know if that helps

sorry for the late response. it works! I removed the color attribute and set the width to 2px which makes it work as expected. thanks for looking into this.


t-SNE added to visualize perfromance

Hi,
I added the t-SNE to visualize the final performance of the learning. Surprisingly, the visualization performance is better than I expected.

@tengerye Maybe you forget push plot_embedding in utils.py.


App bar back button gets "stuck" and not functioning anymore.

Steps to reproduce

flutter run -d edge
Navigate to screen 2
Click just outside back button on very edge of the window.
Try clicking back button again.

Expected results
Navigates back to previous screen or
Does not navigate back as click is actually outside the button but still registered.
Back button keeps working.
Actual results
Does not navigate back to previous screen and button doesn't work anymore.
Code sample
Code sample
void main() {
  runApp(const MaterialApp(
    home: Home(),
  ));
}

class Home extends StatefulWidget {
  const Home({super.key});

  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Home'),
      ),
      body: Center(
        child: ElevatedButton(
            onPressed: () => Navigator.of(context)
                .push(MaterialPageRoute(builder: (context) => Page2())),
            child: Text('Page 2')),
      ),
    );
  }
}

class Page2 extends StatefulWidget {
  const Page2({super.key});

  @override
  State<Page2> createState() => _Page2State();
}

class _Page2State extends State<Page2> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: const Text('Page 2'),
        ),
        body: Center(
          child: Text('Page 2'),
        ));
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/user-attachments/assets/774b8383-4108-4288-8b5d-dbf0b90cdba5

Logs
Logs
No related logs

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.22.1, on Microsoft Windows [Version 10.0.19045.4651], locale lv-LV)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.5.5)
[√] Android Studio (version 2022.2)
[√] VS Code (version 1.91.1)
[√] Connected device (3 available)
[√] Network resources

Edge version
 Version 126.0.2592.113 (Official build) (64-bit)

Hi. Yes. Seems like it is only on Edge. On Windows and Chrome I cannot reproduce. There are no errors. It seems like Edge has like small padding all around the app. I am guessing that tap down outside the app is working, but tapUp doesn't register.  I just added ElevatedButton in page 2 to test more. And it has the same behavior of getting stuck. So It is not AppBar specific. It is to do with that padding Edge browser has.
https://github.com/user-attachments/assets/5638e16b-d949-4e15-8e0e-64903c40bffc

I think that tapDown shouldn't register at all as I am clicking outside the button but somehow gesture detector is overflowing. As you can see I am clearly not tapping on button, but it still works. Even cursor changes.

Reproducible using the code sample provided above only with the edge browser.

complete sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MaterialApp(
    home: Home(),
  ));
}

class Home extends StatefulWidget {
  const Home({super.key});

  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Home'),
      ),
      body: Center(
        child: ElevatedButton(
            onPressed: () => Navigator.of(context)
                .push(MaterialPageRoute(builder: (context) => Page2())),
            child: Text('Page 2')),
      ),
    );
  }
}

class Page2 extends StatefulWidget {
  const Page2({super.key});

  @override
  State<Page2> createState() => _Page2State();
}

class _Page2State extends State<Page2> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: const Text('Page 2'),
        ),
        body: Center(
          child: Text('Page 2'),
        ));
  }
}

flutter doctor -v
[!] Flutter (Channel master, 3.24.0-1.0.pre.227, on Microsoft Windows [Version 10.0.22631.3737], locale en-US)
    • Flutter version 3.24.0-1.0.pre.227 on channel master at C:\Users\Deana\fvm\versions\master
    ! Warning: `flutter` on your path resolves to C:\Users\Deana\fvm\versions\stable\bin\flutter, which is not inside your current Flutter SDK checkout at C:\Users\Deana\fvm\versions\master. Consider adding C:\Users\Deana\fvm\versions\master\bin to the front of your path.
    ! Warning: `dart` on your path resolves to C:\Users\Deana\fvm\versions\stable\bin\dart, which is not inside your current Flutter SDK checkout at C:\Users\Deana\fvm\versions\master. Consider adding C:\Users\Deana\fvm\versions\master\bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 92a1b9b051 (2 hours ago), 2024-07-23 01:23:07 -0400
    • Engine revision 88726232be
    • Dart version 3.6.0 (build 3.6.0-70.0.dev)
    • DevTools version 2.37.1

[√] Flutter (Channel stable, 3.22.2, on Microsoft Windows [Version 10.0.22631.3737], locale en-US)
    • Flutter version 3.22.2 on channel stable at C:\Users\Deana\fvm\versions\stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (7 weeks ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

@danagbemava-nc
I am experiencing this also on Android emulator and physical device with flutter 3.22.3, have not tested iOS. Was always working in the app and now it suddenly doesn't. Except I don't need to barely click outside of the button first, I can just tap it straight on and nothing happens. Occasionally a tooltip pops up that says "Back", and maybe 1 out of every 10 clicks actually work correctly if I click around in different spots. I have a screen that simply has this:
      appBar: PreferredSize(
        preferredSize: const Size.fromHeight(50.0),
        child: AppBar(
          title: const Text(
            'Settings',
          ),
        ),
      ),
......

Back button just suddenly stopped working, no changes recently made to this screen. Hot restart didn't fix it. Kill debugger and rebuild app didn't fix it.
It appears if I click the button head on (the icon itself) the tooltip "Back" pops up. But if I click to the left or right, it usually works.

Hi @jt274, kindly file a new issue and provide all the relevant details. This issue in particular isn't related to just appbars.

@danagbemava-nc
You think this is different? In the example code above it is using an AppBar which provides the default flutter BackButton. Looks the same to me.

@ReinisSprogis
I am curious, if you wrap your Scaffold with ToolTipVisibility widget and set visible: false, does it fix the issue? It does on Android. Or, a custom back button.
BROKEN:
Scaffold(
      appBar: AppBar(
          title: const Text(
            'Page 2',
          ),
        ),
....

WORKS:
TooltipVisibility(
      visible: false,
      child: Scaffold(
        appBar: AppBar(
            title: const Text(
              'Page 2',
            ),
        ),

WORKS:
Scaffold(
      appBar: AppBar(
          title: const Text(
            'Page 2',
          ),
          leading: IconButton(
            icon: Icon(Icons.arrow_back_outlined),
            onPressed: () {
              Navigator.pop(context);
            },
          ),
        ),
....

You think this is different? In the example code above it is using an AppBar which provides the default flutter BackButton. Looks the same to me.

@jt274, In https://github.com/flutter/flutter/issues/152103#issuecomment-2243068510, you can see that the button added also stops responding. So it isn't just as an appbar issue.
Do other buttons stop responding in your app?

You think this is different? In the example code above it is using an AppBar which provides the default flutter BackButton. Looks the same to me.

@jt274, In #152103 (comment), you can see that the button added also stops responding. So it isn't just as an appbar issue.
Do other buttons stop responding in your app?

I have not experienced it, but the only button I have near the screen edge is the AppBar back button. I guess I will open a new issue.

Silly question, can I see the index.html being used? is it the default one from flutter create, or something different?

It is default.

@ReinisSprogis I'm procuring a windows machine to test this properly; can you do a quick test for me?
I expect your index to start with <!DOCTYPE html> (and that's good), but it may also contain:
  <meta content="IE=Edge" http-equiv="X-UA-Compatible">

Can you please try removing that meta-tag and see if it makes any difference? I'd expect it to be 100% ignored, so this should not fix anything, but I wonder if that tag is putting Edge in some sort of weird more backwards-compatible mode.
Thanks!

I won't be able to test this for bit more than week. Im on holliday. But will do when returning if still relevant.

Same here, I won't be around for the next couple of weeks!


Change Discord_ratelimit_tryget_bucket to always return a bucket

Discord_ratelimit_tryget_bucket(api, bucket_route) returns NULL if a route is new.
If you change the function so it will call Discord_ratelimit_assign_bucket if there is no bucket for a route, you can expose one less function.    You can make the delay for the new bucket as 0.  By doing this, you remove two if branches  at line 256 and line 367 of discord-api.c

If this change is done, the function can just be called: Discord_ratelimit_get_bucket

If this change is done, the function can just be called: Discord_ratelimit_get_bucket

this is invalid, you need to get response before creating the bucket. I closed it.

this is invalid, you need to get response before creating the bucket. I closed it.


Add warning if channel layer is full

In default config we use an in-memory channel layer. If this layer is full (autoupdate.py line 125) there should be a warning or a hint on the console so the admin can think about big solutions ...

workaround: encrease the number of capacity to 10.000 to prevent warning (current default: 1000).

I don't thin, that this is the right way. What we should do is find all places in the code where send() is called and handle the error. For example by trying to send it again 0.1 seconds later. Or log an error message, when it is not possible, even after some time.
A channel full error is an indicator, that the protocol server is not working correctly. If you set the capacity to an high value, there is a bigger chance, that a message is not send with no way to get informed about it.

Hm. We have only one place where the Channel layer can be full. I think I implement a blocking sleep with a warning, ok?

Actually, I currently count 9 places where a channel full can be occur. Look for .send( in the autoupdate.py


Why is phantomjs a dependency?

Hello there,
we got problems in our build process since phantomjs can not be build. We figured out that your module is requiring phantomjs.
So now I am wondering why you need it? And why is it a dependency and not a dev dependency?
Thank you,
Benedikt

Hi @axe312ger,
PhantomJS is needed for determining the actual size of an SVG shape in case there are no dimension properties given in the SVG file. You're right, having PhantomJS as a hardwired dependency is somewhat unpleasant — I don't know of a way to make it optional / configurable though. I'm open for suggestions (making it a dev dependency is not a solution, however).
Cheers, Joschi

Btw. what platform are you on? Requiring PhantomJS normally shouldn't be a problem ...

Wow fast reaction. Thx.
We are on https://platform.sh/, the build seems to fail from time to time. Maybe my colleague can give more infos, i'll inform him.

@axe312ger @jkphl Thanks for looking into this, our build process has nothing to do with this, it was just the reason why we noticed that this project has this dependency on phantomjs.
Build process failed because at that specific moment phantomjs could not be installed.
We were only just wondering why this dependency is there at all...
However you answered that, thanks for your quick reaction!
Cheers Andy

@axe312ger @pixelmord No problem, you're very welcome!
As I said, I'm aware of that dependency's heavy duty and I would love to ged rid of it in the sense that I'd love to have it configurable. If you know of any way to achieve this I'd love to hear your suggestions.
Happy spriting! :)


Release v1.122.0 - release → staging

Cloud Manager
[2024-06-24] - v1.122.0
Added:

Informational notice about capturing an image from a Linode in a distributed compute region (#10544)
Volume & Images landing pages search and filtering (#10570)
Standard Tax Rate for JP (#10606)
B2B Tax ID for EU (#10606)

Changed:

Rename to 'Choose a Distribution' to 'Choose an OS' in Linode Create flow (#10554)
Use dynamic outbound transfer pricing with network-transfer/prices endpoint (#10566)
Link Cloud Manager README to new documentation pages (#10582)
Use dynamic HA pricing with lke/types endpoint (#10505)

Fixed:

Marketplace docs urls for Apache Kafka Cluster and Couchbase Cluster (#10569)
Users must be an unrestricted User in order to add or modify tags on Linodes (#10583)
CONTRIBUTING doc page commit type list markup (#10587)
React Query Events seen behavior and other optimizations (#10588)
Accessibility: Add tabindex to TextTooltip (#10590)
Fix parsing issue causing in Kubernetes Version field(M3-8274)

Tech Stories:

Refactor and clean up ImagesDrawer (#10487)
Event Messages Refactor: progress events (#10550)
Query Key Factory for NodeBalancers(#10556)
Query Key Factory for Domains (#10559)
Query Key Factory for Firewalls (#10568)
Upgrade Vitest and related dependencies to 1.6.0 (#10561)
Upgrade TypeScript to latest (#10573)

Tests:

Cypress integration test to add SSH key via Profile page (#10477)
Add assertions regarding Disk Encryption info banner to lke-landing-page.spec.ts (#10546)
Add Placement Group navigation integration tests (#10552)
Improve Cypress test suite compatibility against alternative environments (#10562)
Improve stability of StackScripts pagination test (#10574)
Fix Linode/Firewall related E2E test flake (#10581)
Mock profile request to improve security questions test stability (#10585)
Fix hanging unit tests (#10591)
Unit test coverage - HostNameTableCell (#10596)
Update Object Storage tests to mock account capabilities as needed for multi cluster (#10602)

Upcoming Features:

Resources MultiSelect component in cloudpulse global filters view (#10539)
Add Disk Encryption info banner to Kubernetes landing page (#10546)
Add Disk Encryption section to Linode Rebuild modal (#10549)
Obj fix for crashing accesskey page when relevant customer tags are not added (#10555)
Linode Create v2 - Handle side-effects when changing the Region (#10564)
Revise LDE copy in Linode Create flow when Distributed region is selected (#10576)
Update description for Add Node Pools section in LKE Create flow (#10578)
Linode Create v2 - Add Marketplace Searching / Filtering (#10586)
Add Distributed Icon to ImageSelects for distributed compatible images (#10592)

API-v4
[2024-06-24] - v0.120.0
Added:

New endpoint for LKE HA types used in pricing (#10505)
UpdateImagePayload type (#10514)
New endpoint for `network-transfer/prices`` (#10566)

Cypress test is failing due to a flaw in the OBJ can upload, access, and delete objects test that's related to OBJ Multi Cluster being enabled. I'll try to have a PR open to fix it soon, but it can be temporarily disregarded for the sake of the release (not sure when the fix will be ready so may not be worth waiting for it)


Bump Dependencies #1206492220

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/1206492220

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Back #2, I just need 1 piece of information

I read the javadocs, but one issue I didn't find out was how I can draw the TiledTile on my canvas, since canvas can only draw Images not TiledImages, and I can't cast it.
P.S, sorry, It was Alex who referred me to you!

Not sure why Alex refered you to me, I don't know anything about what you are asking. Anyway...
There is a lib included with Tiled that does rendering for you iirc https://github.com/mapeditor/tiled/tree/master/util/java/libtiled-java. Maybe use that instead.
You could also just export the map to PNG and use that.
With TiledReader it seems pretty strait forward to me. Looking at the classes, probably use TiledTile.getTilesetX/Y and TiledTile.getImage to get to the source image.
For the actual rendering I suggest you check stackoverflow or some basic Java tutorial.
For question about the Tiled editor check their forum of discord.
But most importantly: Use your favorite search engine, pretty sure it has answers to your questions ;).
I'm sure you can figure this out!
Please don't open any more issues on this repo, except if it's about the actual software in the repo.


feat(golang): pick patch version automatically

Currently, it is required to specify the full go version install-tool golang 1.22.5.
With this change, the patch version can be left out:  install-tool golang 1.22 and the latest available patch version will be installed.
A test was added to ensure "1.20" will resolve to "1.20.14". As "1.20" is end of life, there should be no further patches and therefore the test should not break. I guess there is a small chance that the go team decides to patch "1.20", if a serious vulnerability is discovered. It's unlikely, as the EOL date is already several months ago.

@phil9909 Please open a new discussion and write your full use-case. I'm closing this for now until we've a conclusion that we like to have this feature


[3.0] Proposal: More status values than "yes/no"

Using the current Omnipay API we can only check if a payment was successful or failed. This is enough in most cases for credit card payments but even there can a status like "pending" occur. Furthermore, it's not possible to update the order status if notifications sent by payment gateways arrive that a payment was refunded.
Therefore, it would make sense that the Omnipay API can return a standard set of status values. We would suggest:

1 = canceled (payment was canceled by the customer)
2 = refused (payment was refused by the credit card company / bank)
3 = refunded (money was payed back to the customer)
4 = pending (payment is in progress, e.g. for off-line direct debit payments)
5 = authorized (payment was authorized)
6 = received (payment was captured)

Status values less than 4 mean "no money", 4 is "request was OK but real payment status will be known later) and values greater 4 are successful payments. Distinguishing between "authorized" and "received" allows shop owners to switch between authorization and capturing without the fear that they miss to capture outstanding payments and makes it more understandable for developers.

I saw this a couple of days ago, and although I think it is too specific to jump straight into as a proposal, it does highlight the fact that there are many statuses involved across the various gateways and services.
A complete list of normalised/standardised statuses would be very handy, and certainly feasible to put together. How the raw statuses of each gateway, in various contexts, then map onto the standard list of statuses can then be added.
It would be a simple status/status map. For example, a returned status of "OK" from SagePay can mean several different things, depending on which message it has been returned to (i.e. context), but that can be taken into account.
So yes, this is a good start, but I think needs widening out a bit to see how the gateways overall fit into a standard list. These statuses would ultimately all be nodes on a status state diagram for each gateway.

I think if there's going to be a normalized map, there also needs to be a way to get the raw status from the gateway--that way for those statuses that don't map cleanly (i.e. they have additional semantics that need to be taken into account) there's a way to look into them and handle it.

Agreed, but we need to widen these and add things like partial refund, etc.

I think it would be probably good to create a getStatus() code with more specificity. The isCancelled(), isRedirect(), isSuccessful() methods could be derived from this status.

@barryvdh Agreed. Derive the boolean results from the status, and not have all the gateways juggling combinations of boolean statuses around.

I think that payment state is too diverse in the gateway pattern. What about allowing each gateway to register a state machine, and implement methods to transition an internal state. This would allow each gateway to handle the transition of states in a controlled, and much more descriptive manner.
Something like this awesome project (no affiliation):
https://github.com/yohang/Finite

We have a standardised list of statuses (error, pending, pending_payment, success, declined, approved, accepted, cancelled, refunded, processing) which we map to status codes. We then have an internal map to map the various gateway status codes to our status codes. We currently store that map in code but we probably should put in into a database.
We do the same thing for error codes (various numbers representing technical issues, declined, duplicate payment, invalid inputs, expired card, insufficient funds, etc), which we do store in a database table and then have another join table between gateway error codes and our error codes to allow us to quickly map the error codes to ones that we understand.
Then there's MultiCards which has one and only one error code "2" == "error". :)

The state transition can be implemented in different ways but we should keep it simple. The best option is still to implement it in code without external storage - or to set the last payment status to the gateway before calculating the new status.
I would avoid at all cost storing this data in a database by Omnipay itself! This will create a heap of problems, from different database implementations to schema issues and abstraction layers.

FYI, this is the Payum list: https://github.com/Payum/Payum/blob/master/src/Payum/Core/Request/GetHumanStatus.php

captured
authorized
refunded
unknown
failed
suspended
expired
pending
cancelled
new

So if failed == refused and captured == received, these are extra in Payum:
new, unknown, suspended, expired
The unkown status could probably be the default, for when no more info is found. What do you think about the others?

Closing in favor of https://github.com/thephpleague/omnipay/pull/347


Validate new shortlink input, and extend copy command

When new shortlinks are added, make sure to remove any spaces or commas and replace them with _.

Eg: foo, bar , is saved as foo_bar (commas and spaces are replaced w/ underscores, then remove multiple underscores).

Extend the copy/c command such that you can pass in multiple arguments that are comma delimited. These should all be copied to the clipboard & joined w/ \n.

Eg: copy foo_bar baz

Hello sir, Can you assign this issue to me?

@amitx13 Thank you so much! 👍🏽 Please let me know if you have any questions! 🙏🏽

Hey @nazmulidris what if user itself uses multiple underscores while adding new shortlinks

Hey @nazmulidris what if user itself uses multiple underscores while adding new shortlinks

I think it is ok to keep _ when the user types them. So we should leave them as is. But if there are commands or spaces in the input, then we should replace those with _.

@nazmulidris i have solved the issue but in the 2. it doesn't  work for _ eg if user input copy foobar,bar then it's works fine it copy the two urls joined with \n but in case of copy foo_bar,bar it unable to copy can u help me with these
  const shortlinkNamesArray = shortlinkNames.split("_");

  // Array to store the URLs for all shortlinks
  const allUrls: string[] = [];

  // Use Promise.all to handle asynchronous operations
  Promise.all(
    shortlinkNamesArray.map((shortlinkName) => {
      return new Promise<void>((resolve, reject) => {
        chrome.storage.sync.get(shortlinkName, (result) => {
          const urls: Urls = result[shortlinkName];
          if (urls === undefined) {
            // Reject with an error message
            reject(`No data found for shortlink: ${shortlinkName}`);
          } else {
            // Check if 'urls' is defined and not an empty array
            if (Array.isArray(urls) && urls.length > 0) {
              allUrls.push(...(urls as string[])); // Add the URLs to the array as a string
            } else {
              reject(`No URLs found for shortlink: ${shortlinkName}`);
            }
            resolve(); // Resolve the promise
          }
        });
      });
    })
  )
    .then(() => {
      if (allUrls.length === 0) {
        showToast("No URLs found for the provided shortlinks", Delays.done, "warning");
      } else {
        const text = allUrls.join("\n");
        copyToClipboard(text);
        showToast(Messages.copyToClipboard, Delays.done, "success");
        //triggerAutoCloseWindowWithDelay();
      }
    })
    .catch((error) => {
      showToast(error, Delays.done, "error");
    });
}```

@amitx13 For the 2nd item, here are some thoughts 🤔 .
In this file, you will find copyShortlinkUrlToClipboard(shortlinkName: string). This function takes one argument which holds whatever the user typed in after the command copy.

So we can modify this function so that it first splits the shortlinkName by , or  , or ;. We can trim any whitespace from each of these strings.
Then we take the array of strings that we get back and those are the actual shortlink names that we were expecting.
We have to make this function async.

export async function copyShortlinkUrlToClipboard(shortlinkNames: string) {
    // More info: https://sl.bing.net/giOzxFaWCWq
    const splitted = shortlinkName.split(/;|,| /)
    const splitted_no_empty = splitted..filter((it) => it.trim() !== "")
    const splitted_trimmed = splitted.map(it => it.trim())

    const urls = [];
    splitted_trimmed.forEach((it) => {
        await _copyShortlinkUrlToClipboard(it, urls)
    })

    const text = urls.join("\n")
    copyToClipboard(text)

    showToast(Messages.copyToClipboard, Delays.done, "success")
    triggerAutoCloseWindowWithDelay()
}

export async function _copyShortlinkUrlToClipboard(shortlinkName: string, resultArray: string[]) {
   await chrome.storage.sync.get(shortlinkName, (result) => {
    const urls: Urls = result[shortlinkName]
    if (urls === undefined || urls.length === 0) {
      showToast("Please provide a saved shortlink to copy URL(s) from", Delays.done, "warning")
      return
    }

    urls.forEach((it) => {
        resultArray.push(it)
    });
  })
}

Then we have to modify this file to change the handleEnterKey(...) function, since the copyShortlinkUrlToClipboard() is now async.

    case "copytoclipboard": {
      await copyShortlinkUrlToClipboard(command.shortlinkName)
      return
    }

I haven't tested this code :). So it might not compile. Please let me know if you have any issues with this 🙏🏽 .

@nazmulidris thanks you so much sir .But in 1st you have told to replace the , or   with _ and that's what i have done .but in the 2nd  suppose i have saved to shortlinks 1st as foo_bar and 2nd as bing and now I am trying to fetch it's url for that i have to enter command as copy foo_bar,bing now this userInputText will be saved as copy_foo_bar_bing as per the 1st statement now after the function call  of
popup.tsx
parseUserInputTextIntoCommand the entered command will be foo_bar_bing and then this shortLinkName will be passed to
clipboard.ts
copyShortlinkUrlToClipboard now in this code first i have trying to seperate the shortlinkNames using
const shortlinkNamesArray = shortlinkNames.split("_"); and here I am facing the issue it seperate the shortLinknames as `["foo","bar","bing"] and as for asynchronous i have used promises to handle  the operations
  const shortlinkNamesArray = shortlinkNames.split("_");
  // Array to store the URLs for all shortlinks
  const allUrls: string[] = [];

  // Use Promise.all to handle asynchronous operations
  Promise.all(
    shortlinkNamesArray.map((shortlinkName) => {
      return new Promise<void>((resolve, reject) => {
        chrome.storage.sync.get(shortlinkName, (result) => {
          const urls: Urls = result[shortlinkName];
          if (urls === undefined) {
            // Reject with an error message
            reject(`No data found for shortlink: ${shortlinkName}`);
          } else {
            // Check if 'urls' is defined and not an empty array
            if (Array.isArray(urls) && urls.length > 0) {
              allUrls.push(...(urls as string[])); // Add the URLs to the array as a string
            } else {
              reject(`No URLs found for shortlink: ${shortlinkName}`);
            }
            resolve(); // Resolve the promise
          }
        });
      });
    })
  )
    .then(() => {
      if (allUrls.length === 0) {
        showToast("No URLs found for the provided shortlinks", Delays.done, "warning");
      } else {
        const text = allUrls.join("\n");
        copyToClipboard(text);
        showToast(Messages.copyToClipboard, Delays.done, "success");
        //triggerAutoCloseWindowWithDelay();
      }
    })
    .catch((error) => {
      showToast(error, Delays.done, "error");
    });
}```

Hey @nazmulidris i have solved the two issue of this project thank you for your help . Actually I am new to this open-source contribution and i came to know about your project from the hecktoberfest Discord can you please help me on how can i merge the code so that it can be counted on my hecktoberfest profile. Once again thank you for the help

@amitx13 Thank you for your help! I really appreciate it. And that is awesome that you are starting your journey into the open-source contributing world! Great job! 👏🏽
I will take a look at your PR tomorrow and make any edits that might need to be made. If I don't have any questions, then I will mark your PR as accepted with the HACKTOBERFEST-ACCEPTED label so that you can get credit for it! 👍🏽


AppVeyor CI: Use the most recent Node.js stable (v4).

Exclude coverage analysis (already taken care by other CI runs).
Refs #1322

Current coverage is 100.00%

Merging #1383 into master will not affect coverage as of 957efe3

@@            master   #1383   diff @@
======================================
  Files            1       1
  Stmts         3060    3060
  Branches       585     585
  Methods          0       0
======================================
  Hit           3060    3060
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 957efe3

Powered by Codecov. Updated on successful CI builds.


2.6.0 Line Chart xAxis Type Time ignores unitStepSize

Expected Behavior
The line chart xaxis should display date values with a difference of 5 minutes, when unitStepSize is 5 and unit is "minute".
Current Behavior
The line chart xaxis displays dates with a difference of 2 minutes
Possible Solution
Rollback to chart.js version 2.5.0
Steps to Reproduce (for bugs)
http://jsfiddle.net/hummal/m7btaLx8/1/ Chart.js Version 2.5.0
http://jsfiddle.net/hummal/m7btaLx8/2/ Chart.js Version 2.6.0
Example is with chart.js version 2.6.0. Switch to 2.5.0 to see this working. It is all the same but the chart.js version.
Context
I just dont want to have a filled xaxis bar
Environment

Chart.js version: 2.6.0
Browser name and version: Chrome 58
Link to your project: not available

Thanks for reporting this. To anyone interested, I am happy to look at a PR fixing this

@hummal as a work-around set stepSize instead of unitStepSize. Looks like the backwards compatibility to the old property was lost.

@etimberg confirmed working stepSize in options ->scales -> xAxes -> time.
Did not find it in the documentation. Me confused.
unitStepSize = deprecated == true?

I think that's likely what happened and then somehow the code to maintain backwards compatibility was lost. Docs were already corrected: http://www.chartjs.org/docs/master/axes/cartesian/time.html


Make different input sets visibility toggleable with a button.

There should be an eye symbol next to each input set which lets the user hide/show the graph that corresponds to that input set.
Estimated 4 man-hours.
Related use cases:
(https://github.com/vladislavivanistsev/SuperCap/wiki/_Use-Case:-Printing-the-graphs-selected-by-the-user) (https://github.com/vladislavivanistsev/SuperCap/wiki/_Use-Case:-Exporting-the-graphs-selected-by-the-user)

Not core functionality - moved to fourth iteration due to time constraints.


Merged some components

I merged some components together and created the files index.html, main.js and styles.css wich shapes the main page look.
Demo: https://canti21.github.io/frontend-developer-practico-js-practico/
The merged components are:

clase11.html (Navbar)
clase7.html (Desktop Menu)
clase8.html (Mobile Menu)
clase13.html (Shopping Cart)
clase6.html (Product Grid)
clase12.html (Product Detail)

Thanks to the fusion of these components the users can now use the main page with all its components. Works on both mobile and desktop devices. Also has a 'hardcoded' list of products wich can be modified from main.js.
Last but not least, I've added a black semi-transparent layer that triggers either when a menu or the product detail window is open, all this towards improving the user experience in the webpage.
As far as i've tested, it works perfectly fine, but if you have any suggestions or comment, feel free to let me know :)

Amazing my friend :D


U06 - As an unregistered I can register to create a user account

Hey team! Please add your planning poker estimate with ZenHub @awesomeaj5 @delaureon @drbloo @gaubiago @mhonda2


Description Archive

Ripme version: <IP_ADDRESS>
Java version: 8.0
Operating system: winver10

Is the description saving function working? Or is it still in progress?
The option is there but it does not seem to change anything.

The Save descriptions option ? That's site-specific. I know it works for DeviantArt last time I tried, which wasn't in 1.7.21.


Refactoring of configuration service

Is your feature request related to a problem? Please describe.
Refactoring of configuration service should be done due to lack of unit tests. Currently it is very hard to create any tests due to the structure of the code. Therefore refactoring is needed.

Also to be considered:

Replace generated code by an implementation based on gin-gonic web framework
Replace dependency to git binary with a propper git library


remove JAMstack banner

JAMstack conf is over. 😭

Decided to preserve the component instead - thanks for the heads up.


Build issue, illegal escape

I've tryed to run tests. I got this error. Please help.
Seems like escaping slash is missed

Thanks for the issue!
Well, I never checked if yatagan can be built on Windows (you appear to use that platform to assemble it, right?). Sadly, the build is broken on Windows. As of now, there's no simple workaround, the project can be built on Linux only (MacOS is untested as well).
Maybe I should support build on Windows. If I do, I'll link the PR to this issue.


bump version to v0.7.3

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/lgtm


server: Fix bug in /api/event/:id

Fixes #519 There are events of the kind taxonomy/term/associate and
taxonomy/term/dissociate where the child uuid might be null (This might
be due to deleted uuids from the database). Also for some events of the
kind taxonomy/term/parent/change the previous or the new parent is set
to "no parent" in the database. This might be du to a bug or an old
behavior of the Serlo software.

Since this is just an database inconsistency that we didn't handle correctly so far, I'd rather fix that in the db directly, see #533.


Bower support

Any bower support?

Currently we don't support running xml2js in the browser, but I am not against it. I guess it depends on the availability of our dependencies.

I'm currently using xml2js (via Browserify) in the browser without issue.

Please see #231

Merged #231.

As of the latest version, xml2js works beautifully in the browser. I think this can be closed.

Then... Any bower support?

It looks like I can't read...
Bower not Browser. lol
Please see #251

Thanks a lot @tflanagan.

I've registered the package with bower now…

@tflanagan   Might there be an example of how to include xml2js in the browser?


U_MEMORY_ALLOCATION_ERROR when using :pattern_rule_based in ICU::NumberFormatting

Seen on both amd64 and arm64 (M1 macOS) machines.
First seen on Ruby 3.2 (Ubuntu Jammy with ICU 71.1) and reproduced on an M1 with Ruby 3.2, 3.1, and 3.0 using ICU 70.2.
To reproduce:
irb(main):002:0> require 'ffi-icu'
=> true
irb(main):003:0> ICU::NumberFormatting.create('fr', :pattern_rule_based)
/Users/primary_user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/ffi-icu-0.5.0/lib/ffi-icu/lib.rb:138:in `check_error': U_MEMORY_ALLOCATION_ERROR (ICU::Error)
        from /Users/primary_user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/ffi-icu-0.5.0/lib/ffi-icu/number_formatting.rb:50:in `make_formatter'
        from /Users/primary_user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/ffi-icu-0.5.0/lib/ffi-icu/number_formatting.rb:57:in `initialize'
        from /Users/primary_user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/ffi-icu-0.5.0/lib/ffi-icu/number_formatting.rb:12:in `new'
        from /Users/primary_user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/ffi-icu-0.5.0/lib/ffi-icu/number_formatting.rb:12:in `create'
        from (irb):3:in `<main>'
        from /Users/primary_user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/irb-1.6.2/exe/irb:11:in `<top (required)>'
        from /Users/primary_user/.rbenv/versions/3.0.4/bin/irb:25:in `load'
        from /Users/primary_user/.rbenv/versions/3.0.4/bin/irb:25:in `<main>'
irb(main):004:0> ICU::NumberFormatting.create('en', :pattern_rule_based)
/Users/primary_user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/ffi-icu-0.5.0/lib/ffi-icu/lib.rb:138:in `check_error': U_MEMORY_ALLOCATION_ERROR (ICU::Error)
        from /Users/primary_user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/ffi-icu-0.5.0/lib/ffi-icu/number_formatting.rb:50:in `make_formatter'
        from /Users/primary_user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/ffi-icu-0.5.0/lib/ffi-icu/number_formatting.rb:57:in `initialize'
        from /Users/primary_user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/ffi-icu-0.5.0/lib/ffi-icu/number_formatting.rb:12:in `new'
        from /Users/primary_user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/ffi-icu-0.5.0/lib/ffi-icu/number_formatting.rb:12:in `create'
        from (irb):4:in `<main>'
        from /Users/primary_user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/irb-1.6.2/exe/irb:11:in `<top (required)>'
        from /Users/primary_user/.rbenv/versions/3.0.4/bin/irb:25:in `load'
        from /Users/primary_user/.rbenv/versions/3.0.4/bin/irb:25:in `<main>'

I would support deprecate the use of unum_open and use unumf_openForSkeletonAndLocale. ICU unumf_openForSkeletonAndLocale is stable since ICU 62 (2018-06-20). So supporting the "skeleton" instead of extending the support around unum_open.


Update Links “tiktok-36”

Automatically generated by Netlify CMS

👷 Deploy Preview for distracted-hoover-7b89cc processing.
🔨 Explore the source changes: ab9d2687b8d0423a90b50f2b27c0757bcfa64ccc
🔍 Inspect the deploy log: https://app.netlify.com/sites/distracted-hoover-7b89cc/deploys/6219ec1e90118b000757e893


Unable to download from Animepahe even with 2captcha

[INFO] : AnimePahe URL detected...
[INFO] : Collecting download links...
[INFO] : Collecting episodes...
[INFO] : Collecting kwik links...
[ERROR] : 'list' object has no attribute 'keys'
[INFO] : Retrying to collect download links...
[INFO] : Collecting episodes...
[INFO] : Collecting kwik links...
[ERROR] : 'list' object has no attribute 'keys'
[ERROR] : Failed to retrieve download links!
Hopefully this is something easy I can fix on my end but I haven't found anything about this

Can I know whether the issue is still there? or if it's one time issue?
If it's still there, I was working on the next release of monkey-dl and will look into this issue as well. I had some other work going on so didn't have enough time to invest on this for sometime now, But I will start working on it again and hopefully release the next version with fixes :)

Problem seems to be different right now,

We definitely appreciate the time and effort you put into this project
I tried it with a couple of different anime and it says the same thing

Please don't post images with your API keys.
And it seems like I will have to look into this for a fix :) I will start working on it and hopefully will find where the issue is quickly :)

Good day. I'm also having this kind of problem when downloading. Please help, thank you very much.

Just had the same issue. Anybody find any solutions?

Did you guys changed the variable used in an object and forget to associate it on other uses?

In case anyone is still facing this issue:

Go to \monkey-dl\anime_downloader\scrapers\animepahe\animepahe_scraper.py
Paste the following code if isinstance(api_data, list) and len(api_data) > 0:              api_data = api_data[0] after api_data = self.__get_page_data(temp_url)["data"] inside the function def __set_kwik_links(self)

In case anyone is still facing this issue:
Go to \monkey-dl\anime_downloader\scrapers\animepahe\animepahe_scraper.py
Paste the following code if isinstance(api_data, list) and len(api_data) > 0: api_data = api_data[0] after api_data = self.__get_page_data(temp_url)["data"] inside the function def __set_kwik_links(self)
I think it's pasted at the end of the line/script. This was quoted from my email, I don't know why I can't see it, so I'm posting it here.

Hello Good day. I just want to ask where I should put the code exactly. I'm
sorry I don't really have much idea about coding. And another question,
does it automatically apply on the monkey dl exe? If not, how can I execute
it? Thank you very much.
On Sun, 30 May 2021 at 11:29, RayCist1608 @.***> wrote:

In case anyone is still facing this issue:
Go to \monkey-dl\anime_downloader\scrapers\animepahe\animepahe_scraper.py
Paste the following code if isinstance(api_data, list) and len(api_data)

0: api_data = api_data[0] after api_data =
self.__get_page_data(temp_url)["data"] inside the function def
__set_kwik_links(self)

I think it's pasted at the end of the line/script. This was quoted from my
email, I don't know why I can't see it, so I'm posting it here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Oshan96/monkey-dl/issues/30#issuecomment-850933670,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARRJVEVZGI35E5SGJU5VHHTTQGWI3ANCNFSM4OOBDH7A
.

Hi charlesjacob,
It applies to the raw python code in the master release (specifically the monkey-dl / anime_downloader / scrapers / animepahe / animepahe_scraper.py). I've made a commit to the file to add the line but it still needs to be reviewed by an official contributor (I think).
The exe is a compiled version of all the codes, and I don't have a lot of experience in compiling code.
So even if you did edit the file, saved it, you wouldn't be able to use it since it (probably, I tried just downloading the main release, edit the required script and running it, but couldn't figure out how to start the gui).
The main release is also known as the source code and the releases we usually use is a compiled version of those.
There's no way to edit the exe itself since the exe is just a compiled binary and has mainly just the set of commands required for the program to work and does not rely on a script.

Is the problem close to being fixed? And do u maybe have an DC?
I love the application keep up the good work

No the issue has not yet been fixed, I tested the "fix" and had a new error and so I can only rely until Oshan96 creates a better solution.


Fix: added semicolons

Please sign the Adobe CLA, so that we can take the PR forward.

Please sign the Adobe CLA, so that we can take the PR forward


Create 2 has_many through associations in one Cocoon form

Hey guys,
I've asked this question on Stack Overflow first, as recommended because I know GH issues are more for problems with Cocoon rather than how-to-help, but its approaching a week with no responses and in my experience that usually means the question is dead.
Either way, I'm wondering if its possible to tell Cocoon to create a second association on a has_many through relationship. I've broken down the specifics in my SO post. I picked through the core Cocoon code and see that it uses the create_object_on_association method which I'm assuming creates both the object as well as the association. So is there a way to make it so I can create a second association with a different model for the same new object I'm creating?
I understand it probably will be a custom method or modifying the current one but I wanted to see if you guys had any ideas so I'm not shooting in the dark.
Thanks!

To be honest I saw your question on SO the 11th (I get notified by all cocoon related questions on SO) and you already had found a solution, and your question is very complicated/convulated to read so I just gave up :)
I am trying to read it again, and it still is very hard to understand. I do not quite understand the problem/question. Did you check the demo application where different relations/associations are demonstrated?

Ah okay, I usually try to provide as much information as possible but I guess its too much. I have looked through the demo app and a regular, single, has_many through works completely fine and what I've done matches what you have and it works as expected.
To keep it as simple as possible, here is the form I use.
<%= form_for(@orders, url: prop_order_misc_update_patch_path(@properties, @orders), method: "patch") do |f| %>
  <%= render 'shared/error_messages', object: f.object %>
  <%= f.hidden_field :section, value: "propOrderOwner" %>
  <%= f.fields_for :owners do |owner| %>
    <%= render 'properties/owner_fields', f: owner %>
  <% end %>
  <%= link_to_add_association fa_icon("plus", text: "Add Owner"), f, :owners, class: 'btn btn-info btn-outline' %>
  <%= f.form_group do %>
    <%= f.submit "Save Owners", class: "btn btn-primary" %>
  <% end %>
<% end %>

So this works as expected, creates the order_owner association but this order belongs_to some property, I'd like to add whatever owners I'm now creating via this form, to also get created the same way as if this form read:
form_for(@properties) do |f|
  ...
  f.fields_for :owners do |owners|

So in plain english ... what you want is to create an order for a product.
That order form needs to also have a nested fields for:
order_owner (working)
property (working)
owners (not written? or working?)
I've never asked how to handle this myself, but when filling out multiple relationships to be built off one action, I build them out in reverse, than call save on it in the responds to create.  I'm not exactly sure how this pans out for you, but ...
Imaginary scenario just to demo the flow Company 1-* Person 1-* Order (2 x one 2 many relationships in the models).
(I use before_filters to pass @company between actions per michael hartls free online tutorial if necessary)
New action
@company = params[:company_id]

# attach lowest level to the mid level
@person1.order1.build
@person2.order2.build

# attach mid level to the upper level
@company.person1 = @person1
@company.person2 = @person2

Hey Mirv, thank you for taking the time to comment.
In plain English, upon creation of a single new object (owners) I want to add it to two associated models (property&order) that already exist at the time of creating the owner.
I understand what you're staying in the demo workflow you typed out, however, it's slightly different than what I'm trying to accomplish. It would be more along the lines of
### this is for demo only and is not a literal translation of any code ###

@order = Order.find(1)
@property = Property.find(1)
(@property.orders << @order) # adding this just to show relationship

# when filling out an order I add an owner via forms & Cocoon, so lets say step 1:
@order.owners << owner1

# and in essence my next step would be, step 2:
@orders.owners.each do |owner|
  @property.owners << owner
end

# so at the end of the whole thing, it would be like this:
@owner.owners = owner1
@property.owners = owner1

So the entire point to all this is just to add a single new record, to two models, the same way as in your demo app would be adding
Project <- Project_tags <- Tag1
Job <- Job_tags <- Tag1

I apologize if this whole thing got convoluted with information overload and if this is not possible to do with Cocoon then I understand. In laymans terms, I don't understand how the method create_object_on_association does what it does and I'm just trying to do that x2.

If it's just not understanding what it does ... https://github.com/nathanvda/cocoon/blob/d64a1e3cd2cae7bf4a8f0960a88e4ca5e8697cc4/lib/cocoon/view_helpers.rb#L128

So what is the error when you're doing this?

Ok, let me try to recap it so it makes sense:

order has-many properties
order has-many owners

You create a form for an order, right? Yet the instance variable is plural, is that a typo, to confuse the russians or intentional? So if it is plural, why not use the fields_for of the parent instead?
But assume it is one order. Then:

property has-many owners
property has-many orders

Now from the code, the fix, in your SO question I see you add owners to properties if they are owner of an order. This feels an awful lot like duplication to me and I do not really like that.
Now first off: if that works, and it is a necessity to your project/data-model to have that duplication for whatever reason (caching/performance/...) the solution you found in SO seems perfectly fine. Just to make clear, if it was not obvious before: cocoon is just a helper to make rails nested forms more dynamic, a nested form is a single hierarchy, and not maintaining (what you seem to want) two hierarchies in sync. Of the top of my head you could even use javascript in the form to make sure when an owner is added in one branch, you also add it to the other branch.
But, suppose you do not like the duplication either, just a crazy idea, but could you not just write:

property has-many orders
property has-many owners through orders ?

Would that not fix it, or could a propery have extra owners? Then could you not fix it (because imho it might seem relevant how an owner is related) to have something like

property has-many orders
property has-many owners

and add
def all_owners
   owners.to_a + orders.map{|order| order.owners.to_a}
end

(not tested, not entirely sure that works, but I hope you get the gist of it)

@Mirv Yeah I picked through the view helper code for a few hours and thats how I stumbled upon create_object_on_association in the first place and my assumption is thats the method that actually helps create the new object and its association with the parent of the nested field.
@nathanvda Yeah the pluralization @orders is somewhat of a typo, to learn rails I worked through Micheal Hartl's Ruby on Rails tutorial and at the time I started this project after that I didn't really understand the convention of single/plural instance variables so now its just woven throughout my app and I have yet to pick through and change it everywhere.
To answer your modeling questions, its not so much about properties being able to have extra owners as it is that an owner has_many properties, however, there's no need just yet to manage an owner by itself since the focus is on properties and orders for the actual purpose of the app.
Basically,

property has-many orders
property has-many owners through orders
owner has-many properties

Would be the true modeling of the data because a single owner can have many properties. The way that I have it set up is the best way that I could think of since over time the owner of a property will change, or a property could have multiple owners at once, or the old owner of a property could own other properties but if any of those owners are on an order, they just belong to that instance of an order, etc.
I fully understand that Cocoon wasn't directed at managing multiple hierarchies but I wasn't sure if it was something easy like "just set up nested forms like this" or "cocoon triggers this built-in rails method so just hook into that" but it doesn't seem to be the case and I apologize for wasting your time on this endeavor.
My javascript knowledge is only surface level html effects and what not but if using javascript in the way you mentioned is what you yourself might do, then thats the route I'll research and thank you for the suggestion.

So before I close this thread, I just had a quick question, is there any way that you know of to make cocoon use a find_or_create method when creating a new owner?
Like you said, I know Cocoon is only a helper for nested_forms and I've been exhausting all possibilities and searches that I can find to aid with this. From what I gather, when accepts_nested_attributes_for saves, it calls the rails autosave_associated_records_for_* which can be overwritten, but I can't seem to get it working at all for a has_many :through relationship. Alot of the examples I find and even in your guide you have the look up or create example for belongs_to and I'm trying to do something similar except for a has_many :through.
So I was hoping you had some suggestions or have encountered this before in some way and would have some ideas. Thanks much!

So before I close this thread, I just had a quick question, is there any way that you know of to make cocoon use a find_or_create method when creating a new owner?
Like you said, I know Cocoon is only a helper for nested_forms and I've been exhausting all possibilities and searches that I can find to aid with this. From what I gather, when accepts_nested_attributes_for saves, it calls the rails autosave_associated_records_for_* which can be overwritten, but I can't seem to get it working at all for a has_many :through relationship. Alot of the examples I find and even in your guide you have the look up or create example for belongs_to and I'm trying to do something similar except for a has_many :through.
So I was hoping you had some suggestions or have encountered this before in some way and would have some ideas. Thanks much!

I do not quite understand. From what you say, you have checked the demo project here where it is shown how to either select an existing person as project-owner, or create a new one, but more appropriately: how to select either an existing tag or create a new one. Which is what you are looking for, right? But to make that work your through table has to be explicit.
So in other words: let the user decide if she wants to or link to an existing object or create a new one.
Otherwise there is no easy solution. As said before: cocoon only aids on the frontent in building a form more dynamically, there is no server/controller code included, so anything that is not "standard" rails you will have to provide yourself.

Yeah thats the conclusion I came to. I use a plugin called Select2, which I'm sure you've heard of, and that allows you to choose existing records via select box like normal but it also allows you to type into the box to create new records. So I had been trying to figure out how I could make a single select box have the capabilities of both but have hit a wall with the whole find_or_create thing. The way you have it in your demo is clearly the easiest way, I just wasn't if you had attempted anything like this so I figured I'd ask.
Thank you for letting me pick your brain and happy holidays.


Added custom selection indicators to the gallery scrollable tabs demo

Pressing the smiley face turns on the custom tab selection indicators. There's a different indicator for each kind of tab label.

As a second step (another PR), I will add an insets parameter to the ShapeBorder subclasses (like CircleBorder) and then simplify the code that constructs the custom indicators. For example:
new ShapeDecoration(
  shape: const CircleBorder(
    insets: const EdgeInsets.all(4.0),
    side: const BorderSide(
      color: Colors.white24,
      width: 4.0,
    ),
  ),

  // insets instead of adding:
  const CircleBorder(
    side: const BorderSide(
      color: Colors.transparent,
      width: 4.0,
    ),
  )

I will add an insets parameter to the ShapeBorder subclasses

I'd recommend adding it to the BoxDecoration and ShapeDecoration classes instead.


Improving the Responsiveness of Nav Bar

@TeeWrath I would like to improve the responsiveness of the navigation bar of the website by adding a hamburger menu. Kindly assign me to work on this issue under SWOC S4.

Please assign this issue to me @TeeWrath


With columnMode: 'flex' headers do not match columns widths

http://codepen.io/gabrielgeo/pen/KmRQMV

Try adding flexGrow and minWidth:
https://codepen.io/anon/pen/ayVgdr

Thanks, it's looking good!


Add scripts for server versions and leaders

bin/consul_leaders.sh : prints each DC leader
bin/consul_server_versions.sh : prints each DC servers versions

ok !


Failed to load the html-helper package

Booted Atom
Received error.

Atom Version: 0.188.0
System: Microsoft Windows 7 Home Premium
Thrown From: Atom Core
Stack Trace
Failed to load the html-helper package
At missing '

[stdin]:11:44: error: missing '
  'ctrl-shift-\': 'html-helper:closeElement'
                                           ^

Commands

Config
{
  "core": {},
  "editor": {
    "preferredLineLength": 200,
    "tabLength": 4,
    "showIndentGuide": true,
    "normalizeIndentOnPaste": false,
    "invisibles": {},
    "fontSize": 14
  }
}

Installed Packages
# User
color-picker, v1.5.0
html-helper, v0.2.3

# Dev
No dev packages

Can you post your snippets.cson? It looks to me like you set an invalid custom keybinding – in CSON, backslashes (\) have to be escaped because they are the escape character, so the keybinding should look like:
'ctrl-shift-\\': 'html-helper:closeElement'

That was a package I had added (I think). I haven't used Atom in quite a while.
However, I found the keymap and added the second backslash and restarted Atom. The error has disappeared, so thank you for your help!


Fix links

Should help fix the link-checker failure in #146.
@ayushanand18 I'm not sure if you are the one that created the bit.ly link but can you try to help me sort this out?
The link seems to redirect to an http page that doesn't seem correct to me. Also, it is broken in #146. Last but not least, I'd rather have the full link and skip code style there than have the info obfuscated by a URL shortener.
In this PR I added the full URL and the lint skips but I need some help to check if that URL is actually the one the authors of the docstrings added there originally.

I'm very sorry for overlooking this, but it's most probably a tech debt (or what should I call it) carried forward from pygbif -> pyobis when original authors copied configs while creating the latter.

Not your fault. That is why we run tests ;-p
Thanks for the working URL. I'll update it accordingly.

I hope this is ready to merge? just mentioning @ocefpaf for you to merge it whenever it's ready.

I hope this is ready to merge? just mentioning @ocefpaf for you to merge it whenever it's ready.

👍🏽

PS. Just to make sure we are not waiting for me.

I was but NP. I try to avoid self-merges as much as I can. Thanks for the review and for the fix!


Fix low version compatibility

Method "removeOnGlobalLayoutListener" is API Level 16
Method "setProgressColor" in RoundCornerProgressBar class is wrong.
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
    layoutBackground.setBackground(gradient);
} else {
    layoutBackground.setBackgroundDrawable(gradient);
}

Please fix it.
Nice library. Thx.

Very nice.

Arrr. I fotget it. Thanks guy!!
I will fix this with new library feature.

I fixed it and create pull request for @akexorcist

v1.1.0 is coming! Check it out!


[ast] Update internal AST logic

Signed-off-by: Jacob Levy<EMAIL_ADDRESS>

This AST PR includes the following:
1. Generat code updates.
2. AscentLint errors fixes,
3. NumAlerts to 13 and the extra Alert logic.
4. lc_clk_byp_req_i/ack_o logic.

hmmm.. it appears CI is still timing out for you, so there must be some
other issue.
I'll try to pull this PR down and give it a try, but I might not get to it
today.
In the meantime, it would be great if you guys can give dvsim flow a try
and let us know what might be blocking / problematic.
On Tue, Jun 22, 2021 at 9:32 AM Jacob-Levy @.***> wrote:

This AST PR includes the following:

Generat code updates.
AscentLint errors fixes,
NumAlerts to 13 and the extra Alert logic.
lc_clk_byp_req_i/ack_o logic.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/7072#issuecomment-866144606,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSQRBE75OYBDHUK22QDTUC3JVANCNFSM47EAWO6Q
.

In my local DV of the AST I am not using dvsim but our DV team does, Will try to work with them on dvsim. on Wednesday
Unfortunatly, I can not access the errors report of the CI (private) annd I asked Philipp help on this issue (I can see all other checks).

Fix some issues, reset/rebase and re-open a new AST PR.


'npm install --save firebase-admin' installs and uses dns, dgram and native-dns which are deprecated

When I do an 'npm run dev' I get missing dependencies, probably based on the fact that dns, dgram and native-dns are deprecated and thus not maintained.
'''
This dependency was not found:

dns in ./~/firebase-admin/~/isemail/lib/isemail.js

To install it, you can run: npm install --save dns
'''
Thanks for any information to solve this issue.

Hey @nvrrdt the firebase-admin SDK doesn't expose a dev script so I don't have any context of the script you're talking about.
Additionally dns, dgram, and native-dns are nowhere in the dependency tree for the Admin Node SDK.
I validated this by executing the following commands at the root of the pakcage:
-npm ls | grep dns
-npm ls | grep dgram
-npm ls | grep native-dns

@nvrrdt I'm going to close this for now, if you find any more information on this please let me know!

@jshcrowthe , sorry for the delay, I couldn't delve in this earlier.
Anyhow: 'npm install --save firebase-admin' works flawlessly
the moment I add 'import * as admin from 'firebase-admin'' I get:
` ERROR  Failed to compile with 11 errors                                                                                7:03:00 AM
These dependencies were not found:

net in ./~/forever-agent/index.js, ./~/tunnel-agent/index.js and 3 others
tls in ./~/forever-agent/index.js, ./~/tunnel-agent/index.js and 1 other
fs in ./~/request/lib/har.js, ./~/firebase-admin/lib/auth/credential.js
dns in ./~/firebase-admin/~/isemail/lib/isemail.js

To install them, you can run: npm install --save net tls fs dns`
I really have no idea why I get this.
Any pointers are really appreciated.

@nvrrdt can you provide me a little context of your use case? Those are all native node libs that should all be available in a Node client. Are you trying to run this in a browser?

@jshcrowthe , it's basically a vue project which I'd like to connect to a firebase backend. I'd like to implement a search field with autocomplete/suggest, for this search field I wanted to use firebase/flashlight to connect to an elasticsearch implementation as explained on firebase/flashlight, which also explains to add firebase-admin to my project.
In case you need my project files, it's https://github.com/nvrrdt/ego
I am trying to run this in a browser.

@jshcrowthe , I figured out I installed firebase-admin in the wrong directory and I shouldn't even have installed firebase-admin. I now have time to work on this and if I encounter a new problem I will resort to stackoverflow. Thanks anyway and sorry for bothering you.

@nvrrdt no worries at all! Just as a good rule of thumb, if you are looking to use firebase in a "client" environment (i.e. a web app, mobile app, etc) use the Firebase SDK. The Admin SDKs are more for privileged server clients.

Hi, did you fix the issue?
I am having the same issue, i have reported in the next link:
https://stackoverflow.com/questions/52711421/issue-using-firebase-admin-dependencies-were-not-found


Disaggregations: Result form updates to support disaggregation entry

Stories

As I'm entering my disaggregated data, I can easily validate that the values I'm entering add up to the total actual value.

As I'm entering my disaggregated data, it's obvious to me that each disaggregation is distinct from any others; I am not cross-disaggregating.

Note: We do not want to actually block users from submitting disaggregated values that don't add up to the total result value.

Acceptance criteria

[ ] 1. If it's a percentage indicator, there are right-aligned percentage signs inside the disaggregation value fields, just as there are for the actual value field.

[ ] 2. At the bottom of each disaggregation table, we display the following information:

[ ] 2.1. A "running total" row that refreshes as you add disaggregated values to the table.

[ ] 2.2. A repetition of the Actual value (for easier comparison purposes, particularly when the table is long.

[ ] 2.3. A concept of "running" balance -- perhaps in red or green text inside of parentheses -- indicating how much over or under the Actual value your running total is.
So for example, if your Actual value is 100 and you've entered disaggregated values that add up to 75, you'd see a (-25) in red. Conversely, if your disaggregated values add up to 125, you'd see a (+25) in green.

[ ] 3. Edge case: What do we do if the user starts entering disaggregated values before filling in the Actual value, or deletes an Actual value already entered into a saved result? Proposed:

[ ] 3.1. We don't block you from entering values; maybe you're purposely doing it in reverse, because you haven't already done the summing and are planning to copy the running total into the Actual value field.

[ ] 3.2. Where we'd normally put the Actual value in the disaggregation table, we display the word "Unavailable"

[ ] 3.3. We hide the under/over "running balance".

Housekeeping (where applicable)

[ ] Unit test/s written
[ ] i18n strings included
[ ] Is accessible to people using screen readers

Note to self: We are exploring a system requirement that disaggregated values need to add up to the total result entered -- ideally not permitting submission otherwise. We could potentially auto-calculate the total result from the disagg entry as well. You'd either manually enter the total, or enter disagg and the total would be automatically displayed.

This is duplicated by 1214.


[meteor 1.7] import "stream*" fail

Looks like meteor npm install installs readable-stream to the parent directory of meteor-node-stubs which breaks the mapping.
I think this is an issue of npm 5.8.0
Repro

meteor create project --release 1.7-rc.1
cd project
meteor npm install meteor-node-stubs
Note that readable-stream cannot be found in node_modules/meteor-node-stubs.
try importing _stream_duplex for example and you will get a fail.

Workaround
use npm 5.6.0 to do installs.
Notes
From what I can tell this is an issue of referring to a package from github:
 "readable-stream": "git+https://github.com/meteor/readable-stream.git", in package.json.

referring to npm registry files works as expected
referring to local npm packages works as expected.

This should be fixed if you run meteor npm install meteor-node-stubs@latest to install 0.4.1: fc83c29b09710376a9f9260a6c0d77982acc29ed, d52c306a225c8312a99d2035d3752193fd819457, d88681f2b04a92f428fa3ebe92f8ce81202e5970
Thanks for reporting this!


test: update tests to use sub-benchmarks

Go 1.7 added the subtest feature which can make table-driven tests much easier to run and debug. Some tests are not using this feature.
Further reading: Using Subtests and Sub-benchmarks

@fcrisciani Could you take a look at this one?

hey @idealhack thanks for the PR, I guess for Benchmarks actually having separate tests is a plus. Usually when you use them to do some profiling you focus on one at the time so having them separate allows you to use the -bench XXX and specify the regex to select which one you want to run with no code change. Instead if we merge them together I guess becomes more convoluted if you want to run one of the 3. makes sense?

@fcrisciani I think we can still using the regex to run a specific test when we using sub-benchmarks, according to the blog post.

@idealhack also other question, I tried the patch, and to me the bench remain stuck on the /16
before:
mac ~/work/src/github.com/docker/libnetwork/ipam [master *]$ go test -v -run=XXX -bench=Bench
goos: darwin
goarch: amd64
pkg: github.com/docker/libnetwork/ipam
BenchmarkRequest_16-4                  1<PHONE_NUMBER>4 ns/op
PASS
ok      github.com/docker/libnetwork/ipam       19.724s

after:
mac ~/work/src/github.com/docker/libnetwork/ipam [master *]$ go test -v -run=XXX -bench=Bench
goos: darwin
goarch: amd64
pkg: github.com/docker/libnetwork/ipam
BenchmarkRequest/<IP_ADDRESS>/24Subnet-4<PHONE_NUMBER>               0.00 ns/op

I think also @euanh had similar results.

Sorry, this is a bug, and here's the new patch.

Hi, do we want this change?
/cc @fcrisciani @thaJeztah

hey @idealhack did not have time to test it, I did now and is passing fine. Thanks for the patch


Transpiling the app adds react-native code to index.js

It's been a while since I last created a new application with create-react-app, in the meanwhile I created a few react-native apps.
This week I tried to create an application and everything went good until I started changing the files. To tell you the truth the only file I tried to modify was index.css. When I change it, this is added to index.js
import React, {StyleSheet, Dimensions, PixelRatio} from "react-native";
const {width, height, scale} = Dimensions.get("window"),
    vw = width / 100,
    vh = height / 100,
    vmin = Math.min(vw, vh),
    vmax = Math.max(vw, vh);

export default StyleSheet.create({
    "body": {
        "marginTop": 0,
        "marginRight": 0,
        "marginBottom": 0,
        "marginLeft": 0,
        "paddingTop": 0,
        "paddingRight": 0,
        "paddingBottom": 0,
        "paddingLeft": 0,
        "fontFamily": "sans-serif"
    }
});

so I can't do anything. app fails to run, and I don't know what to do.
I tried uninstalling create-react-app, react-native-cli and webpack. but everything is still the same

You are using an IDE plugin that does something funny to CSS files. Please disable it.
https://github.com/facebookincubator/create-react-app/issues/2529#issuecomment-308931051

See also https://github.com/facebookincubator/create-react-app/issues/518#issuecomment-243538913.


Revert 1 wafa alghallabi patch 1

fixing the (uniform_train_resolution) in (HUMUS-Net/humus_examples/experiments/stanford2d/humus_baseline.yaml)
384
384

Good catch, thank you for fixing this.


DPL-425 - As an R&D scientist I would like add Hi-C quants to quanthub to automate the process to reduce the time and effort taken to perform quants, persist the quants, support the pooling and reduce the chances for errors

User story
As an R&D scientist I would like add Hi-C quants to quanthub to automate the process to reduce the time and effort taken to perform quants, persist the quants, support the pooling and reduce the chances for errors
Who are the primary contacts for this story
Ben
Acceptance criteria
To be considered successful the solution must allow:

[ ] The ability to perform quants on the PCR XP and PCR Norm plates using QC barcodes
[ ] Separate assay type for Hi-C quants
[ ] Hi-C quants should be the same format as the standard plate reader

Dependencies
This story is blocked by the following dependencies:

#<issue_no.>
sanger/#<issue_no.>

References
This story has a non-blocking relationship with:

#<issue_no.>
sanger/#<issue_no.>

Additional context
Add any other context or screenshots about the feature request here.

Ben and Abdul will test whether they can use the existing quants and functionality in Limber. They may need a slight adjustment.

This has now changed scope. No need to change quanthub but to add functionality to Limber to download ng/ul concentrations for all plate types.

Closing, as is in Done column.


Add a new tester for distribution

that only checks count, since sometimes we care about number of things being
reported and less about their values
/assign mattmoor

/assign @yanweiguo

/lgtm
/approve


[BUG]

Information

Apktool Version (apktool -version) - 2.6.1
Operating System (Mac, Linux, Windows) - Windows 11
APK From? (Playstore, ROM, Other) - Pixel's March Update

Stacktrace/Logcat
https://pastebin.com/1XKfy4m9
Steps to Reproduce

apktool  -d framework-res.apk

Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app)
framework-res.zip
APK
If this APK can be freely shared, please upload/attach a link to it.
framework-res.zip
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything? I trynna decompile framework-res from Pixel's (3a is my own) March Update
If you are trying to install a modified apk, did you resign it? I can't decompile apk lol
Are you using the latest apktool version? Yup

Yep, discovered with the newer SDK applications. Tracking in this issue - https://github.com/iBotPeaches/Apktool/issues/2740
Thanks for the report.


cannot update

since the version 9.25 the update is not possible, same is for the icon, everytime i have to download manually.

I have the same problem, but this only happen in the 0.28


Waveform widget to display inputs value over time

Is your feature request related to a problem? Please describe.
Visualizing the state of an input over time
Describe the solution you'd like
A widget that draws a wfeform of the input level over time, with a moving window
Describe alternatives you've considered
Additional context

Change the BCM layout to be "right side" so that we have room to expand to the right for input and output widgets....to hold the waveform view...

Later, maybe with modifications, this could be used to display PWM, audio input/output, etc

I have made a small sample that uses CPU load as input data, and plotter-iced to draw a moving display of logic values, forcing extra data points so it's always a squarewave.
It's generic over the data type being graphed, as long as it converts to u32, so it can graph  also.
https://github.com/andrewdavidmackenzie/pigg/assets/5529132/242e1d44-d43d-4b0d-9f56-fb08ed87eb20
Now I need to understand how to get the app (or the widget itself) to generate the ticks, as I already have a subscription, and need to have two - one for updates to charts.


Login Button not working

I just uploaded Codiad in my website. After the setup/installation page, login window appeared. I typed the username and the password which I was mention in the setup page. The problem is, when I click the Login button, nothing happened. I checked the code for the button through the browser's "Inspect Element" option. It seems like no code is written for the Login button.

The login is done with javascript (https://github.com/Codiad/Codiad/blob/master/components/user/init.js#L27).
Is there any output from your browser? javascript enabled? which browser.. etc

I just had the same issue. Codiad was working fine in Chrome, Firefox, and Safari BUT IE 11 would just refresh the page (line 70 in user/init.js). After some digging it became apparent that a new session was being recreated on each request.
The issue was that I had underscores in my domain. According to the RFCs underscores are not valid characters to have in domains. It seems  the way IE handles this is to just silently drop the session cookie.
I took the underscore out of my domain and Codiad starting working well.
I do not see invalid characters in your domain so I am not sure if this directly correlates to this issue. I would investigate further on how sessions are being handled in your environment.

So besides the underscore domain fix @nickgs used, has anyone else had this problem? For me, after setup and initial installation, when I click login it just refreshes the login page.
When I click the "More" button nothing happens.
It seems like there's just no Javascript firing.


Introduce issue labels

I'm thinking some labels would make issues here more useful.

easier to filter
easier to understand context

Some labels I would add:

Component based labels, e. g.

server
agent
ui
plugin
documentation

Labels classifying an issue by type

bug
improvement
question
discussion
epic

governance (for issues like this, topics like dev collaboration, reviews, licensing, ...)

... and not to forget for the different RCS github, gitlab, gitea etc.

Sounds good to me. Added the proposed labels.