Create a Virtual Zoo Experience

Description:
We want to bring the zoo experience online. Your task is to design a virtual zoo platform where users can explore and learn about animals with interactive elements.

Difficulty: beginner
Estimated Time: 4-5 hours

Hi Jayesh,
Hi there! I'm interested in working on this issue. Could you please assign it to me? I believe I can make a valuable contribution to this task.
Looking forward to your response. Thanks!

Hello Samir,
Thank you for your interest in working on this issue. I've assigned the issue to you, and you can now start working on it. If you have any questions or need any assistance, feel free to ask. Good luck with your contribution!
Best regards,
Jayesh

Hello Samir,
Thank you for your interest in working on this issue. I've assigned the issue to you, and you can now start working on it. If you have any questions or need any assistance, feel free to ask. Good luck with your contribution!
Best regards,
Jayesh


Feature Request: Landscape support

Is your feature request related to a problem? Please describe.
Currently landsscape mode is not supported and the widget will always fallback to portrait mode
Describe the solution you'd like
For tablet users that mainly use our app in landscape mode this change in orientation can be confusing and in addition to that we navigate from differently oriented dynamic screens to pro_image_editor and that makes it kind of tricky to restore the orientation of the previous screen correctly.
Describe alternatives you've considered
I guess one way would be to wrap your widget into a rotation widget but i don't think this is a viable solution to the problem
Additional context
At the moment i don't really see a problem with allowing other device orientations. Only the implemented color slider might overflow on some devices. I want the user to decide in which orientation he  uses the phone and maybe the color slider should be rotated horizontally in landscape mode. Most phone users will not use landscape mode in the app anyway or manually lock their screens to their prefrered orientation.
What are your thoughts on that?

Thanks for your Feature Request.
I've updated and uploaded version 2.4.2, which now supports all device orientations. Additionally, the color slider will automatically resize if the device screen is too small. However, I believe it's unlikely that users will rotate their small smartphones to edit images, so this should not be a significant concern. While I haven't extensively tested it on tablets, please inform me if there is any issue.


Upload errors after building custom templates

Hi again,
I've managed to download a fair amount of the projects in my team's organizations, but am running into the following error when attmpting upload to a new test org and generate a new project;
       _VS402362: No process template with type f6e0c2f1-d73e-44ee-bdcb-5ff8a77f5b85 was found._

I've checked in the processes section of the originating org, and they're almost all standard Agile, with 2 set to Scrum. Any ideas what might be causing this, or suggestions for a workaround?

@mmBPCS we have limited support on custom templates. Please find the limitation document here.
To make use of the custom template, the source, and the target organization must be the same or use the same standard process template. You may encounter this issue when you're using a target organization that doesn't match the source project process template.


Animated GIF stop playing after a few minutes

crash with GIF but not JPG.
Steps to Reproduce

run the code : a listview with many Gifs image(using a query to make the ImageCache identify they are different image).
scroll listview
wait image loaded and ran out the memory to cause crash.
tap title to make listview load JPG but not GIF, press floating button to add item to listview, scroll listview , would not crash

import 'package:flutter/material.dart';

void main() {
  runApp(new MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Flutter Demo',
      theme: new ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: new MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => new _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 100;
  var _tips =  '';

  var _useGIF = true;
  void updateTips(){
    _tips = '''
      currentSize = ${imageCache.currentSizeBytes/1024}
      maxSize      = ${imageCache.maximumSizeBytes/1024}
      left            = ${(imageCache.maximumSizeBytes - imageCache.currentSizeBytes)/1024}
      ''';
  }
  void _updateSize() {
    setState(() {
      _counter += 10;
      updateTips();
    });
  }

  @override
  void initState() {
    super.initState();
    updateTips();
  }

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: new AppBar(
        title: GestureDetector(
            onTap: (){
              setState(() {
                _useGIF = !_useGIF;
              });
            },
            child: new Text('tap to switch ${_useGIF?"GIF":"JPG"} - $_counter (about:${_useGIF?954*_counter:158*_counter}kb)')
        ),
      ),
      body: Stack(
        children: <Widget>[
          Container(

            child:ListView.separated(
                itemCount:_counter,
                separatorBuilder: (_,__) => Container(height: 1,color: Colors.white,),
                itemBuilder: (context,index){
                  return _generateChild(index);
                },),
          ),
          Center(
              child: Container(
                  padding:EdgeInsets.all(10),
                  color: Colors.white,
                  child: Text('$_tips')
              )
          ),
        ],
      ),
      floatingActionButton: new FloatingActionButton(
        onPressed: _updateSize,
        tooltip: 'Increment',
        child: new Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
  var _urlGif = 'https://gifimage.net/wp-content/uploads/2017/07/big-gif-15.gif?index=';//954k
  var _urlJPG = 'http://images.huffingtonpost.com/2014-05-26-internet2.jpg?index=';// 158k

  Widget _generateChild(int index){
    var url = '${_useGIF?_urlGif:_urlJPG}$index';
    var image = Image.network(url);
    return Container(child: image,height: 130,color: Colors.black,);
  }
}

Flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.14.3 18D32a, locale
    zh-Hans-HK)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.2)
[✓] VS Code (version 1.30.2)

update 1/11 : @zoechi  after switched to master channel , I cannot reproduce this now.

HI,
I am facing the same issue and my problem is a bit related to this.
I have added a gif image widget in listview its animating first time but when I did scroll. It stops animating.
can anyone suggest me alternative for this?

https://github.com/flutter/flutter/issues/26364#issuecomment-518105892 same here

/cc @dnfield Do you know anything about GIFs that stop playing after a while?

Is this that the gif stopped playing or that the whole application is OOM crashing?
I know at one point we were retaining all the decoded frames of an animated GIF, and now we don't.  I would expect this not to crash anymore - when I run it on an iPhone 8 locally it does not crash (and iPhones are pretty aggressive about OOM killing you in this kind of scenario).  Going to close this one as not reproducible anymore.


Miscellaneous bug fixes for Mark Mode

Summary of the Pull Request

[copy on select] when manually copying text (i.e. kbd or right-click) while in mark/quick-edit mode, we now dismiss the selection.
we now hide the selection markers when multi-clicking the terminal.
Enter is now bound to copy by default.

This works very well with mark mode and provides a more consistent behavior with conhost's selection experience overall.
"why not hardcode Enter as a way to copy when in mark mode?"

In an effort to make this as configurable as possible, I decided to make it a configurable keybinding, but am open to suggestions.

References
#13053
Validation Steps Performed
Did a whole flowchart of expected behavior with copy on select:

enable copyOnSelect

make a selection with the mouse

✅ right-click should copy the text --> clear the selection --> paste

use keyboard selection to quick-edit the existing selection

✅ copy action should clear the selection
✅ right-click should copy the text --> clear the selection --> paste

[copy on select] when manually copying text while in mark mode, we now dismiss the selection.

This isn't fully fixed yet (hence why it's in draft). If you make a selection with the mouse, then edit it with keyboard selection, you still hit this bug.... Now that I think about it, that specific bug probably exists on 1.14 too. Ugh. I'll look at this more tomorrow.

Discussion points

How do we feel about Enter being bound to copy() by default?

It's consistent with conhost, and worst-case, people can disable it. I don't expect people to bind Enter to anything nowadays anyways.

Should we backport a fix for the copy on select stuff?

It's a decently sized fix and nobody's complained about it. Ethically, we should, but there is some risk due to the size. I'd basically copy over anything that references IsInQuickEditMode().

Also found another "bug?" where if you select empty text while copy on select is enabled, we end up copying literally nothing. I'm guessing this is because we switched the default copy() behavior to trimming whitespace. Should that be a part of this PR?

I vote no. I'm also not sure if we should even commit to fixing this for 1.14 and 1.15. But I could 100% be wrong. Either way, bringing it to your attention.

CC @DHowett as my favorite copyOnSelect user who definitely has opinions on this stuff haha

Nice! So Enter would only copy when there is a selection right?

Nice! So Enter would only copy when there is a selection right?

Correct! Just like how we handle ctrl+c today 😊

Just like how we handle ctrl+c today

Hmm, not for me. Try:
{ "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" }

then go to a previous command, press home to go to the start of it, then shift+end to select it, then finally ctrl+c. For me it interrupts rather than copies

Just like how we handle ctrl+c today

Hmm, not for me. Try:
{ "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" }

then go to a previous command, press home to go to the start of it, then shift+end to select it, then finally ctrl+c. For me it interrupts rather than copies

This seems to work fine on my branch and our internal 1.15 build. @ofek could you file a big report here and be sure to include your settings.json file (if you don't feel comfortable with that, the main things I'd want to check are (1) copy on select and (2) the copy keybindings being used).

I don't understand why this is conflicting with main when I try to merge it...!

Oh, because I ran git merge without actually telling it what ref to merge. WTF?

could you file a bug report

https://github.com/microsoft/terminal/issues/13369


Wrong comparison results when number of suffixes differ

Sorry to intensively test your library. I spotted another issue. I get the following JUnit failing:
	@Test
	public void testComparerKnownSuffixes2() {
		Semver v3 = new Semver("1.24.1-emi.5");
		Semver v4 = new Semver("1.24.1-emi.5.rc1");
		assertEquals(1, v3.compareTo(v4));
	}

v4 should be prior to v3 according to https://semver.org/  point 11

A larger set of pre-release fields has a higher precedence than a smaller set

ok, I think I have actually misunderstood the requirement. It behaves as expected.


Queries regarding Paper Equations

I have some questions about your paper

In the "Method" section, µ represents the center position and it has 3 parameters (possibly x, y, z). When projecting the Gaussian into 2D pixel space, Et and µ are multiplied together. Does this mean Et is a 3 x 3 matrix containing rotation and translation? Or µ is transformed to homogeneous coordinate?

Did you not use Spherical Harmonics (SH) for color representation? (Was optimization done using just the RGB 3 channels?)

Is the Gaussian always isotropic because the radius r is represented in only 1 channel?

Hi, Thanks for these questions!

E_t is a standard 3 x 4 extrinsic matrix. µ is transformed to homogenous coordinates as shown here: https://github.com/spla-tam/SplaTAM/blob/bbaf5cc5754bf1034b33902007872c694e412a31/utils/slam_helpers.py#L249
No, we didn't use Spherical Harmonics since we didn't observe a significant change in rendering performance with SH present. As you mentioned, we just use 3 RGB channels as defined here: https://github.com/spla-tam/SplaTAM/blob/bbaf5cc5754bf1034b33902007872c694e412a31/scripts/splatam.py#L138
Yes, the Gaussians are Isotropic. Please see this for more info: https://github.com/spla-tam/SplaTAM/issues/22#issuecomment-1868273289


Make the flip keyword optional in json config files

I suggest making it optional to include the flip keyword in the json file with the default being
flip = 0.

This will be done once all config files are set to be read with OmegaConfig. This will be done in issue #55


Cleanup: Cleanup: Make jobType in SegmentGenerationJobSpec case insensitive.

Description
The jobType field inside of SegmentGenerationSpec is case sensitive.
Converting it into case insensitive for better usability. Also, cleaned
up comments to be in sync with all values of PinotIngestionJobType.
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

Codecov Report

Merging #7244 (8960db4) into master (78b08e4) will decrease coverage by 8.35%.
The diff coverage is 41.07%.

@@             Coverage Diff              @@
##             master    #7244      +/-   ##
============================================
- Coverage     73.66%   65.30%   -8.36%
  Complexity       92       92
============================================
  Files          1508     1508
  Lines         73980    73984       +4
  Branches      10684    10688       +4
============================================
- Hits          54495    48317    -6178
- Misses        15921    22244    +6323
+ Partials       3564     3423     -141

Flag
Coverage Δ

integration
?

unittests
65.30% <41.07%> (-0.06%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ler/api/resources/PinotSegmentRestletResource.java
3.15% <ø> (-16.12%)
:arrow_down:

...l/indexsegment/immutable/ImmutableSegmentImpl.java
61.66% <ø> (-3.91%)
:arrow_down:

...egment/spi/index/metadata/SegmentMetadataImpl.java
74.11% <0.00%> (-0.59%)
:arrow_down:

...inot/spi/ingestion/batch/IngestionJobLauncher.java
19.04% <0.00%> (-3.81%)
:arrow_down:

...ingestion/batch/spec/SegmentGenerationJobSpec.java
100.00% <ø> (ø)

...t/server/api/resources/SegmentMetadataFetcher.java
47.61% <60.52%> (+2.61%)
:arrow_up:

...a/org/apache/pinot/common/metrics/MinionMeter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/common/metrics/BrokerQueryPhase.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/common/metrics/MinionQueryPhase.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pache/pinot/common/utils/grpc/GrpcQueryClient.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 372 more

Continue to review full report at Codecov.

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


chore: Align optional NPM fields for multiple packages

Hey, I just made a Pull Request!

In NPM, I noticed some inconsistencies with how packages in the monorepo showed up.  This is a chore pull to try to standardize these a bit.
I can have a larger one behind this for plugins, but before I do, thought I'd try this smaller one to work out:

Opted for no changeset. Theoretically these change the package, but figured as metadata, better to let actual code changes trigger version bumps and next versions bumps will publish to NPM with this?
Maybe there's a smarter way to manage this in monorepos, and/or another open source package to better align/standardize this than a few greps and a manual tweak or two?  happy to submit this brute force method, even if there might be a more elegant long term method.

In the right nav, NPM shows just more context for the elements of the monorepo.

With Homepage / Repo and Keywords Defined
When not defined Changes

Ran this with a yarn cache clean and yarn install, and everything seemed ok locally (i.e., no JSON typos).
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)

I'll file one for plugins then which will align some of them also.  Thx!


Weather units can't be set

I just want a simple weather_units = C / F.  I didn't see anything in the documentation or example .ini regarding this.

Hi, added this feature on your request. Please update to version 2.9.1 and the following to your config
weather_metric_units = No

I think you meant Yes, but in any case thank you for pushing an update just for this!  I'd have been happy waiting until the next one but this is awesome.  Keep up the great work.


feat: presentation definition schema link

WHAT
Adds the link of the Presentation definition schema
Closes #103
How was the issue fixed?
Briefly state why the change was necessary.
More context
List other areas that have changed but are not necessarily linked to the main feature. This could be naming changes,
bugs that were encountered and were fixed inline, etc.

/cc @arnoweiss


Fall back on terminals that don't support color

Some terminals don't actually support color/reset. For example, on arch, my terminfo database shows me this:
$ TERM=dumb infocmp
#       Reconstructed via infocmp from file: /usr/share/terminfo/d/dumb
dumb|80-column dumb tty,
        am,
        cols#80,
        bel=^G, cr=\r, cud1=\n, ind=\n,

Note that there's no color or sgr escape codes. (Real world example of this can be found in https://github.com/tummychow/git-absorb/issues/29 - emacs runs things under TERM=dumb when capturing their output to a buffer/eshell.)
The term crate will obey whatever terminfo tells it. So if you try to output color on this terminal, the term crate will return an error, which slog-term dutifully returns. For example, in this repo, if I run:
$ TERM=dumb cargo run --example full-color
   Compiling slog-term v2.5.0 (/tmp/term)
    Finished dev [unoptimized + debuginfo] target(s) in 1.23s
     Running `target/debug/examples/full-color`
thread '<unnamed>' panicked at 'slog::Fuse Drain: Custom { kind: Other, error: "term error: operation not supported by the terminal" }', <::std::macros::panic macros>:5:6
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This PR allows slog-term to fall back to uncolored output when it's on a terminal that doesn't actually support it. After this PR, the example succeeds, and it produces uncolored output instead:
$ TERM=dumb cargo run --example full-color
   Compiling slog-term v2.5.0 (/tmp/term)
    Finished dev [unoptimized + debuginfo] target(s) in 1.26s
     Running `target/debug/examples/full-color`
May 23 19:12:48.345 INFO starting, port: 8080, host: localhost, version: 0.5
May 23 19:12:48.346 INFO listening, port: 8080, host: localhost, version: 0.5
May 23 19:12:48.346 DEBG connected, port: 42381, peer_addr: <IP_ADDRESS>, port: 8080, host: localhost, version: 0.5
...

I chose to put the color support check in the functions that actually print the escape codes instead of in should_use_color(), so the logger will fall back even if you use TermDecorator.new().force_color(). But I'm happy to adjust this if maintainers prefer otherwise.

@dpc how's that? I was considering removing the should_use_color function while I was at it, but that refactor was a bit more invasive.
I don't have permission to merge btw, has to be someone with write access.

that's a little better

I can confirm that this fixes the issue with emacs setting TERM=dumb. Thanks to both of you!
Do you plan to create a new release soon? I would appreciate it.

Please remind me if I don't get to it in a day or two.

Will do.

Done

Thanks!


Glitch in connections section in step properties

Describe the bug
This is definitely an edge case!
To Reproduce
Steps to reproduce the behavior:

Open the pipeline editor
Create three steps, naming them "A", "B" and "C"
Don't connect the steps yet!
Open the properties pane of step "C"
Connect step "A" and "B" to "C"
Try to drag the connections in the properties pane

Note that dragging the connections in the properties pane is not possible. Close the properties pane and open it again and see that it now works.
Expected behavior
Dragging should work.
Screenshots
The pipeline in the reproduce steps:

Should be fixed in this commit: https://github.com/orchest/orchest/pull/1147/commits/a41ca590b2442ea6079fbc7640611422c285f94d, and will be merged with the new UI.


Error when trying to login to Oracle

$ ./bin/usql or://user:pass@MYDB
error: ora: ORA-00942: table or view does not exist

My guess is it fails at this query:
SELECT version FROM V$INSTANCE;

Any ideas?

What version of Oracle are you using?

My initial thoughts are:

old version of Oracle
no permissions for querying the virtual table instance

Oracle Version is 12.x -- very current.
Why do we need to query the V table? You are correct, most likely no permission. Can't we just assume a default value if the query fails?
I really went through a lot of trouble getting this to install.

Sorry for the trouble. I assumed that the user would have access to it. It doesn't actually do anything, other than display the remote version of the Oracle database you're connected to. Since you likely installed from source, I would just suggest commenting out the query there. I'll make a point to add a config variable that can be set via .usqlrc or something that will not query the database on connect.

Ok thanks for taking a look.

Reopening this so that I don't forget to implement this ("very soon").

Apologies that this hadn't been fixed until now -- you can now put \set SHOW_HOST_INFORMATION false in your .usqlrc file:
echo "\set SHOW_HOST_INFORMATION false" >> ~/.usqlrc

or you can disable it via the environment variable:
$ export USQL_SHOW_HOST_INFORMATION=false
$ usql or://....

Thank you.

@kenshaw On Windows, in PowerShell 7, using usql 0.9.1, the ~/.usqlrc setting does not seem to have any effect:
PS1> echo "\set SHOW_HOST_INFORMATION false" >> ~/.usqlrc
PS1> cat C:\Users\mateuszl\.usqlrc
\set SHOW_HOST_INFORMATION false

PS1> usql oracle://user:pass@srerver/xepdb1
Connected with driver oracle (<unknown, error: oracle: ORA-00942: table or view does not exist>)
Type "help" for help.

or:user@srerver/xepdb1=> \q

The environment variable works though:
PS1> $env:USQL_SHOW_HOST_INFORMATION="false"
PS1> $env:USQL_SHOW_HOST_INFORMATION
false

PS1> usql oracle://user:pass@srerver/xepdb1
Type "help" for help.

or:user@srerver/xepdb1=> \q

I thought it's something with EOLs on Windows, but I get a different error with both \n and \r\n:
Invalid command \set SHOW_HOST_INFORMATION false. Try \? for help.

@mloskot can you create a new issue for this?

@mloskot can you create a new issue for this?

@nineinchnick Willingly, done.


Adding getTopicName to tests.

Live tests are failing because it does not include the topic name.

/azp run java - servicebus - tests


How do you create Item Features which includes Indicator & Metadata?

Let's say for example:
interaction matrix = 1000 users x 20000 items
density=0.5, pos_int_ratio=1, num_user_features=3. num_item_features=10, n_features_per_user=3, n_features_per_item=10
Question 1:
How would you generate the item features so that it's format will be 20000 x 20010 sparse matrix like in lightfm's item feature builder?
Question 2:
Should I normalize the item features for each item?

Hey @kj-lai !
I'm not familiar with LightFM's item feature builder. I have used this to generate dummy features shaped like that, though:
def generate_dummy_data_with_indicator(num_users, num_items, interaction_density, n_user_metadata_features=40, n_item_metadata_features=40):

    n_user_features = int(num_users + n_user_metadata_features)
    n_item_features = int(num_items + n_item_metadata_features)
    n_interactions = int((num_users * num_items) * interaction_density)

    user_features = sp.lil_matrix((num_users, n_user_features))
    for i in range(num_users):
        user_features[i, i] = 1  # Indicator feature
        for j in range(n_user_metadata_features):
        	user_features[i, num_users+j] = random.uniform(-1.0, 1.0)  # Metadata features

    item_features = sp.lil_matrix((num_items, n_item_features))
    for i in range(num_items):
        item_features[i, i] = 1  # Indicator feature
        for j in range(n_item_metadata_features):
        	item_features[i, num_items+j] = random.uniform(-1.0, 1.0)  # Metadata features

    interactions = sp.lil_matrix((num_users, num_items))
    for i in range(n_interactions):
        interactions[random.randrange(num_users), random.randrange(num_items)] = random.uniform(0.0, 10.0)

    return interactions, user_features, item_features

Normalizing features is a good idea if you are using linear representations and have lots of metadata features. This helps prevent wild predictions for items that have many non-zero metadata features.
Hope this helps! I'll leave this issue open for a few days.

Thank for your reply, this is very helpful, I'm gonna close this issue now.


Add system tests for Action Models

Closes #492.
I'm starting with targets-many so we can take things one step at a time.
Writing custom actions for the perform_on_target method
I mulled over this one a bit, and I chose to write the following line in the setup script via sed for speed:
project.update(name: "#{project.name} archived")

If the purpose of these tests is to check if the stock Action Model functionality is working properly, then this setup shouldn't be a problem. Do we want developers to edit this to test their own actions though? I'm assuming that's not the case, but if it is, we could use File to show how we're defining the action explicitly within the system test itself, although the tests would be slower. I'll stick with the one system test file I have here though since I'm guessing we just want to test the stock functionality, similar to the Super Scaffolding System test.
Branch to add for tests to pass
I have a branch on the Action Models repository that will let these tests pass

https://github.com/bullet-train-pro/bullet_train-action_models/pull/15

I'll see what I can do with CircleCI.

Just added a test for targets-one, but running into an inverse_of error so I left a TODO there for now. Planning on working on targets-one-parent next.

@andrewculver targets-many wasn't too much of a problem to get going, but without going into too much detail here, I've skipped the bulk of the tests. I've decided to cut the PR here because as far as this PR, I don't think there's much we can do unless we address a couple of the issues I opened up over in Action Models.
Here are the actions I've tested for:

targets-many
targets-one
peforms-import

Sifiting through targets-one-parent and the brief conversation we had about testing it, this setup currently makes the most sense to me.
Conditional Workflows
I tried to get CircleCI set up so that it only runs these tests when we set a custom parameter to true. The when conditional seemed really helpful, but I was just having more problems than necessary trying to set it up, so I dropped the idea and, although it's not ideal, resorted to having the developer uncomment the test in case they want to run it on CircleCI.
More work to do
If need be, I can look at these tests again soon if some things get changed around in Action Models.


running causes exception fault

I'm using golang v1.6 (if that matters) compiling on alpine linux 3.3.1 in a docker comtainer.
I'm trying to run the --app option when I receive the exception

I've just compiled the latest master using go 1.6 on Mac OS X and don't get an exception when running -app. You'll have to provide more details than this.


setRequireRootDirectory and setWorkingDirectory not working

Try to set working dir and root directory for resolve node_modules but it was fail
Java:
        File nodeScript = new File("C:\\Users\\hajek\\scripts\\test\\main.js");
        this.nodeRuntime = V8Host.getNodeInstance().createV8Runtime();
        this.nodeRuntime.getNodeModule(NodeModuleModule.class).setRequireRootDirectory(new File(nodeScript.getParent()).toPath());
        this.nodeRuntime.getNodeModule(NodeModuleProcess.class).setWorkingDirectory(new File(nodeScript.getParent()).toPath());
        this.nodeRuntime.getExecutor(nodeScript).execute();

main.js (node_modules are installed in C:\Users\hajek\scripts\test):
var cpus = require('cpus');
console.log(cpus().length);

exception:
Exception in thread "main" com.caoccao.javet.exceptions.JavetExecutionException: Error: Cannot find module 'cpus'
Require stack:
-  C:\Users\hajek\scripts\test
        at com.caoccao.javet.interop.V8Native.execute(Native Method)
        at com.caoccao.javet.interop.V8Runtime.execute(V8Runtime.java:338)
        at com.caoccao.javet.interop.executors.V8StringExecutor.execute(V8StringExecutor.java:54)
        at com.caoccao.javet.interop.IV8Executable.execute(IV8Executable.java:41)
        at com.hajekj14.platform.win.WinNodeEngine.exec(WinNodeEngine.java:33)
        at com.hajekj14.platform.win.Platform.main(Platform.java:15)

Do you mean os.cpus()? https://nodejs.org/docs/latest-v14.x/api/os.html#os_os_cpus
const os = require('os');
console.log(os.cpus());

That will give you.
[
  {
    model: 'Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz',
    speed: 2808,
    times: { user: 465484, nice: 0, sys: 574953, idle: 4845578, irq: 63765 }
  },
  {
    model: 'Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz',
    speed: 2808,
    times: { user: 435796, nice: 0, sys: 388562, idle: 5061296, irq: 14046 }
  },
  ...
]

Sorry, I did not write it clear. It is about require("cpus"), cpus(just for debbuging) is module inside "node_module" and problem is with loading, Javet raise exception with module "cpus" not found. So I guess problem was with setRequireRootDirectory or  setWorkingDirectory maybe I just set it wrongly.
THX.

I am expecting when I set setRequireRootDirectory a setWorkingDirectory to parent directory of target script then NodeRuntime automatically find required modules from node_module.

I don't think that's a built-in module in v14.16.x which is the one Javet relies on. Here is what I got in REPL.
Welcome to Node.js v14.16.1.
Type ".help" for more information.
> const cpus = require('cpus');
Uncaught Error: Cannot find module 'cpus'
Require stack:
- <repl>
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '<repl>' ]
}

As the doc suggested, it's better to place the entry script in a dedicated folder staying with node_modules side by side. E.g.
root
├─node_modules
│  └─module1
│      └─module1.js
└─test
    └─main.js

You don't need to call setRequireRootDirectory() and setWorkingDirectory(), because getExecutor() does that internally. Any attempt before getExecutor() will be overridden by getExecutor().


Typescript under Vue

Hi, here a little report for a specific VuePlugin usage.
When VuePlugin does not return a Vue options parameter but an instanciated Vue object, the render functions are not added to the options but to the instance - this leads to this error : [Vue warn]: Failed to mount component: template or render function not defined.
This happens on this line :
_p = Object.assign(_e.default, _p);

There, if e.default instanceof VueComponent (indeed, if typeof e.default === 'function' or even if !!e.default.options) then _e.default.options should be extended instead - it is really about adding a condition and a line.
Note: this use-case appears when vue-class-component or similar libraries are used, to have a completely typescript Vue definition.

@eddow  great, could you PR it?


Validation of Api Values

Is this feature already requested?

[X] I have checked "open" and "closed" issues, and this is not a duplicate.

Problem or Missing Functionality
Currently, the API does not validate user input properly. This means that when users or systems send requests, data is accepted without checks for correctness, format, or constraints. For instance, fields like email addresses, phone numbers, or dates can be incorrectly formatted, leading to inconsistent data being stored in the system.
Feature Description
This feature adds input validation to the API to ensure that data received from client requests adheres to the defined constraints and business rules before processing. By validating inputs, the API can enforce data integrity, prevent invalid data from being persisted to the database, and improve security by mitigating the risk of malicious inputs.
Screenshots
No response
Would you like to work on this feature?
Yes
Implementation Plan
To implement validation in Spring Boot, identify key fields in the DTO classes that require validation, such as required fields (e.g., name, email), formatted fields (e.g., email, phone), and fields with constraints (e.g., age, price, string length). Use standard validation annotations like @NotNull, @Size, @Email, and @Pattern to enforce these rules. Update the DTO classes with these annotations to ensure that all incoming data is validated before reaching the service layer. This helps maintain data integrity, improves user feedback, and prevents invalid data from being processed.

@anishmu20, thanks for the detailed implementation plan! Input validation is crucial for ensuring data integrity and security within the API, and I believe this enhancement could significantly improve our system.
I’d like to assign this request to you for implementation. If you need any assistance while working on this, feel free to reach out!

Hi @anishmu20! Just wanted to check in and see how the input validation work is going. Let me know if you need any help with the implementation!

hii sorry for delay i am working on it  will  be done in  next 2 to 3 days .

No problem, thanks for the update!


Building a Calculator: A javaScript project for beginners

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
Building a Calculator: A javaScript project for beginners
Introduction paragraph (2-3 paragraphs)
Building a web calculator is a great project to put your hands on if you just learnt javascript. In this article, you are going to be taken through the various HTML and CSS elements along with vanilla javascript and modern ES6 practices used in building a functional and responsive calculator.
Key takeaways:

Readers will be able to build a modern javascript calculator that worked in a browser.
Readers will be able to input all the calculator operations i.e addition, subtraction, multiplication and division.
Readers will understand vanilla javascript more thereby furthering their knowledge on the topic.

References:
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

cool topic - approved @Nomzy-kush

merged https://github.com/section-engineering-education/engineering-education/pull/2418


Breaking strings with accents

I'm using Hibernate Types JsonType with MySQL, and I'm having trouble fetching Strings with accents used in Portuguese, such as "á", "ó", "ú", "ç" and "ã. These letters are replaced by a diamond � when I search from the database. Interestingly, when writing to the database in the JSON structure, the accent is correct.
Below is a print of the debugger

When the accented String is in a common MySQL String field , this problem does not occur, so I come here to ask for help.
I also ran the test present in the Hibernate Types project with the accent, and in this case it was correct, which left me even more confused.

That's a common encoding issue, most likely caused because your JVM and the DB use different encodings. If you set everything to use UTF-8 (browser, JVM, DB), it will work like a charm.

I found this bug report which led to fix the problem in the MySQL JDBC driver.
https://bugs.mysql.com/bug.php?id=80631

I'm glad you found the solution.


option to override joint limits, version bump

also added some fixes to make updating joint names better (always choosing the longest out of the possibilities)


.w-overlay improvments

I think i can avoid use of additional div with .overlay class by use of pseudo elements, shure work with image, need to try with div and other's thing
.w-overlay {
   posiiton: relative;
   overlay: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.w-overlay:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #252525;
    opacity: 0;
}

.w-overlay:hover:after {
    opacity: 0.7;
}

For image is also nice to scale, maybe i can make a class a part
.blog:hover .blog-img img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}


use namespace checkout action

not any faster for us until they do some optimizations with submodules and lfs

Still relevant?


Replace now deprecated include with import_tasks

NOTE: imposes a new requirement for ansible version to be at least 2.4.

Sorry but we cannot just deprecate all previous ansible versions
We may soon deprecate 1.9 but this is it


Auto Layout issue in UITableViewCell

Hi,
I've worked on this issue a lot myself and searched the whole StackOverFlow. Unfortunately I had no luck fixing it so I decided to ask the author @khawars .
I'm using self sizing cells using Auto Layout targeting iOS 8 and above. Since this control overrides Intrinsic Content Size, I believe it should not have any problems with this.
I've set up a custom UITableViewCell in Storyboard consisting a UiLabel pinned to top, leading and trailing edges and a KSTokenView pinned to the label, leading and trailing and bottom edges. Practically these constraints are enough if both elements could size themselves based on their content. For example I have another custom cell in the same UITableView replacing the Token View with another UILabel and it just works fine.
I then added an outlet to this Token View and when it got set, I set the desired properties for this control and added some tokens.
Here comes the problem: I launch the app and the table view comes on screen. Unfortunately the height has not be set automatically by auto layout yet and it will not until I scroll past this cell and come back to it. In another words, it only makes itself correct in size in the second pass of layout. I've already tried multiple combinations of setNeedsLayout and layoutIfNeeded on the cell, cell.contentView and the TokenView without any luck.
Do you know what is causing the problem?
Thanks in advance.

I've been poking around at this code a bit lately and while I don't have a direct answer for you (I didn't look closely at the autolayout example) from what I saw the easiest way to handle this would be to make the cell the delegate of the tokenview which has a shouldchangeheight or something like that which you could then use to push out the height constraint on your cell. It isn't the normal auto resize but it should get you what you seem to be looking for.
I know you posted a month ago and probably don't need it anymore, but I thought I would throw it out there, and Khawar may very well have a better answer anyhow :)

@sdtaheri Apology for such a late reply. Do you still have the issue. If yes, I appreciate if you could provide some example code of how you are using this control in your project. Replicating the project environment on my end is very time consuming and I wouldn't be able to do that.
I am closing the issue now, you may reopen, if issue is still there and you can provide sample code.


Use of Intune BIOS option without ConfigMgr site possible?

Having a hard time getting Intune BIOS working in an environment without ConfigMgr. Is this possible? Have followed the guide at https://msendpointmgr.com/2021/11/19/introducing-intune-bios-control/ but not seeing any "CMPackage" entries in my BIOSPackages.xml. The XML is there with the parent ArrayOfCMPackage tag but no children. Selecting Models as Download & Model XML generation seems to work ok - I have the ModelDetails.xml and downloaded bits from vendors in the temp directory, but when choosing "Intune" and doing "Start download / extract / import", the HP models fail at:
Checking OEM for latest BIOS for model ID 8ab9
errors occurred
Err: Issue obtaining matching value for 8ab8
If I try Dell devices, it does seem to work - Info: Using SKU 0a3F, Dell System Model ID is: 0a3F, bios processing started, bios processing finished, etc. It then identifies the azure storage info and can read the XML. But nothing is written out to the XML and my "Intune BIOS Control" area is always blank. Push production updates, push latest to production do nothing. Storage was provisioned successfully.
Let me know what I can do or how I can help get this working, thanks!

Same issue :(
Someone can help us?


GH-39874: [CI][C++][Windows] Use pre-installed OpenSSL

Rationale for this change
It seems that we can't use OpenSSL via Chocolatey.
openssl v3.2.0 [Approved]
openssl package files install completed. Performing other installation steps.
Attempt to get headers for https://slproweb.com/download/Win64OpenSSL-3_2_0.exe failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://slproweb.com/download/Win64OpenSSL-3_2_0.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
Downloading openssl 64 bit
  from 'https://slproweb.com/download/Win64OpenSSL-3_2_0.exe'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://slproweb.com/download/Win64OpenSSL-3_2_0.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
This package is likely not broken for licensed users - see https://docs.chocolatey.org/en-us/features/private-cdn.
The install of openssl was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\openssl\tools\chocolateyinstall.ps1'.
 See log for details.

What changes are included in this PR?
Use pre-installed OpenSSL on self-hosted GitHub runner instead.
Are these changes tested?
Yes.
Are there any user-facing changes?
No.

Closes: #39874

+1


Swift 3.0 Issues

When updating my Xcode to 8, I have facing issues with this library, Please update for swift 3.0

pull requests welcome, i dont have much time to maintain this right now unfortunately


Github Organization Webhook for Package V2 API

Hello. :3
Lately, there exists a Github organization webhook called "Package v2s". It can come in handy because it allows triggering events when container images are pushed to the Github Container Registry.

I assume that the webhook is pretty new because it lacks documentation, but I think it would be more elegant to add it to this project before I start to build something custom on my own.
Would a PR adding this webhook generally be welcome? If yes, I am willing to contribute this addition.
Thanks and regards!

Is it this API? https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package


Fixes stack overflow in http inspector test

Signed-off-by: Sotiris Nanopoulos<EMAIL_ADDRESS>Fixes stack overflow exception in HttpInspectorTest.Http1WithLargeRequestLine and makes the test faster.
Additional Description:
While I was working on level vs edge based events I observed that the test is causing a stack overflow on Windows/MSVC.
The testlist http_inspector_test now passes on Windows but it should not because it relies on Event::FileTriggerType::Edge which are not supported. This is why I did not enable it for the CI.
Risk Level: N/A
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

I will look into the ASAN failure

ping when ready for review
/wait

The CI should go green now, sorry for the spam/notifications @jmarantz

Picking up latest master to fix coverage issues.


Subresource Integrity Tags

I have found this plugin via the webpack setup from https://github.com/vuejs/vue-cli so I apologize for not being too familiar with it yet.
Would it be appropriate for this plugin to generate and insert into the HTML subresource integrity tags? This would offer big security benefits for the loaded assets.
e.g.
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>

See:
https://www.w3.org/TR/SRI/
https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
https://www.maxcdn.com/one/visual-glossary/subresource-integrity/
https://sritest.io/

This is already build in :)
Just add https://www.npmjs.com/package/webpack-subresource-integrity and without any configuration you get sri

Excellent.  I'll give it a try.


[BUG]Issue: Disruption in Sign-In Functionality with Credentials

Description:
The sign-in functionality with credentials has been disrupted inadvertently during development. As a result, users are currently unable to log in using their account credentials.
To Reproduce:
Steps to reproduce the behavior:

Go to /sign-in
Fill in the credentials
Click Sign In

Planned Fix:
I know how to fix it. Kindly let me do it.

@rashmibarodiya You can start working


feat: create v11 mainnet upgrade handlers (v11.7.0 software tag)

1. Overview
Adding a mainnet handler for v11 upgrade.

extended with Pstake migrations
added ictest for globalcap on stkxprt
/cc @kruspy @puneet2019

added #296  for pstake migrations

LGTM, just need to update pstake version soon

here it comes

Summary of the TestLiquidStakeGlobalCapStkXPRT test:

set global cap for LS to 10%
try to liquid stake 20% (5M / 25M) - fail
try to liquid stake exactly 10% - ok
try to liquid stake more - fail
liquid-unstake to get some room
try to liquid stake more - ok
now, delegate (non-liquid stake)
try to stake-to-lp this delegation - fail
liquid-unstake to get more room
try to stake-to-lp this delegation again - ok
accounting that stake-to-lp indeed increases liquid staked counter


Bug in  processing @typedef declarations

Bug Report
🔎 Search Terms
@typedef, .d.ts
🕗 Version & Regression Information
Tested with Playground versions 4.6.2, 4.5.5 and 4.4.4.
It is probably present in earlier versions as well.
⏯ Playground Link
https://www.typescriptlang.org/play?removeComments=true&target=99&filetype=js#code/PQKhCgAIUgBAXAngBwKYBNUDNIG9dQySQDaAlugFyQDO8ATmQHYDmAutSQGICuTAxvDIB7JgBpIvAUNFsA3IUgBfJZABKqGsIA2AN1QaAVqkEBZAIbJCwcOG2p4kCpAC8kAAy3QEaHGTn6cwBbPA0tPQNUYzNLVQALcyZ0e3oaRVh6Bx56Jho8AAV6YSCyGlQAHkTEAD4la3B+UTpaVCTXSASklLyXasgmVAB3SELi0tQACgnM8P0JTOj4AEpXPoJiTuTUVJIAal2KNnaSGZ05yAWTeDZwJSXwIA
💻 Code
/**
 * @typedef {{
 *   [id: string]: [Function, Function];
 * }} ResolveRejectMap
 */

let id = 0

/**
 * @param {ResolveRejectMap} handlers
 * @returns {Promise<any>}
 */
const send = handlers => new Promise((resolve, reject) => {
  handlers[++id] = [resolve, reject]
})

🙁 Actual behavior
The generated .d.ts:
declare let id: number;
declare function send(handlers: ResolveRejectMap): Promise<any>;
type ResolveRejectMap = ResolveRejectMap;

🙂 Expected behavior
The generated .d.ts file looks like the following:
declare let id: number;
declare function send(handlers: ResolveRejectMap): Promise<any>;
type ResolveRejectMap = {
    [id: string]: [Function, Function];
};

Simplified example:
/** @typedef {{ [id: string]: Function }} Test */

The error seems to appear when Function is used as the member type of an indexed type.


Group members unable to see containers

Before you start please confirm the following.

[X] Yes, I've searched similar issues on GitHub.
[X] Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.

Problem Description
Our Portainer 2.19.4 instance, which authenticates via LDAP, has several groups defined under 'Environments'.  The users that are part of those groups can view the associated environment dashboards.  However, they do not seem to have access to the containers.
Expected Behavior
Users that have access to a given environment group as a standard user should be able to see the containers in that environment.  Here's a screenshot of once such environment from an administrator's account:

Actual Behavior
When a standard user, who has access to the group that the environment is part of, views the environment dashboard, it shows 0 containers:

Steps to Reproduce

Set up portainer to authenticate via LDAP
Create a standard user
Create a group and grant access to the standard user
Create an environment and assign it to that group
Log in to the standard user account and view the dashboard of the environment

Portainer logs or screenshots
No response
Portainer version
2.19.4
Portainer Edition
Community Edition (CE)
Platform and Version
Docker 25.0.2
OS and Architecture
CentOS 7.9, AMD64
Browser
Google Chrome 120.0.6099.109
What command did you use to deploy Portainer?
No response
Additional Information
No response

Same issue here. @jgbaum Have you been finally able to solve this?

As you already said, that's a BUG.
I've tested with a Ubuntu 22 server (latest docker version) and portainer-ce versions between 2.18 and the latest 2.20.1, it remains to be a critical bug because all users are unable to see/access any container nor stacks nor volumes (only images and networks).
It doesn't appear to be related to #3112 because i've tested the solution provided, and it doesn't work at all.


Installation on macOS systems - please check

@jkitchin and @sanqdinh,
I have tested opyrability's installation, importing and usage on win64/linux64 sucessfully. Unfortunately, I don't have a macOS system. Does any of you do? If yes, do you mind testing the installation methods from https://github.com/CODES-group/opyrability#installation?
The pip one is a two-step procedure due to cyipopt's availability only on conda-forge. The conda "method" installs everything that is needed in a single terminal command (all is described in the link above).
Thanks in advance!

The first two seemed to work.
The last instructions did not work. Not sure if it is something that is my fault or not.
(base) Johns-iMac-4:~ jkitchin$ conda install -c codes-group -c conda-forge opyrability
Retrieving notices: ...working... done
Collecting package metadata (current_repodata.json): failed

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/gateways/repodata/__init__.py", line 161, in conda_http_errors
        yield
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/gateways/repodata/__init__.py", line 127, in repodata
        response.raise_for_status()
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
        raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://conda.anaconda.org/codes-group/osx-64/current_repodata.json

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/requests/models.py", line 971, in json
        return complexjson.loads(self.text, **kwargs)
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/simplejson/__init__.py", line 525, in loads
        return _default_decoder.decode(s)
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/simplejson/decoder.py", line 370, in decode
        obj, end = self.raw_decode(s)
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/simplejson/decoder.py", line 400, in raw_decode
        return self.scan_once(s, idx=_w(s, idx).end())
    simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/exceptions.py", line 1132, in __call__
        return func(*args, **kwargs)
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/cli/main.py", line 69, in main_subshell
        exit_code = do_call(args, p)
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/cli/conda_argparse.py", line 122, in do_call
        return getattr(module, func_name)(args, parser)
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/notices/core.py", line 116, in wrapper
        return_value = func(*args, **kwargs)
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/cli/main_install.py", line 20, in execute
        install(args, parser, 'install')
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/cli/install.py", line 264, in install
        unlink_link_transaction = solver.solve_for_transaction(
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/core/solve.py", line 134, in solve_for_transaction
        unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier,
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/core/solve.py", line 177, in solve_for_diff
        final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned,
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/core/solve.py", line 282, in solve_final_state
        ssc = self._collect_all_metadata(ssc)
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/common/io.py", line 84, in decorated
        return f(*args, **kwds)
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/core/solve.py", line 449, in _collect_all_metadata
        index, r = self._prepare(prepared_specs)
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/core/solve.py", line 1064, in _prepare
        reduced_index = get_reduced_index(self.prefix, self.channels,
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/core/index.py", line 267, in get_reduced_index
        new_records = SubdirData.query_all(spec, channels=channels, subdirs=subdirs,
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/core/subdir_data.py", line 169, in query_all
        result = tuple(chain.from_iterable(executor.map(subdir_query, channel_urls)))
      File "/Users/jkitchin/anaconda3/lib/python3.10/concurrent/futures/_base.py", line 621, in result_iterator
        yield _result_or_cancel(fs.pop())
      File "/Users/jkitchin/anaconda3/lib/python3.10/concurrent/futures/_base.py", line 319, in _result_or_cancel
        return fut.result(timeout)
      File "/Users/jkitchin/anaconda3/lib/python3.10/concurrent/futures/_base.py", line 458, in result
        return self.__get_result()
      File "/Users/jkitchin/anaconda3/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
        raise self._exception
      File "/Users/jkitchin/anaconda3/lib/python3.10/concurrent/futures/thread.py", line 58, in run
        result = self.fn(*self.args, **self.kwargs)
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/core/subdir_data.py", line 158, in subdir_query
        return tuple(
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/core/subdir_data.py", line 174, in query
        self.load()
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/core/subdir_data.py", line 264, in load
        _internal_state = self._load()
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/core/subdir_data.py", line 366, in _load
        raw_repodata_str = self._repo.repodata(cache.state)  # type: ignore
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/gateways/repodata/__init__.py", line 120, in repodata
        with conda_http_errors(self._url, filename):
      File "/Users/jkitchin/anaconda3/lib/python3.10/contextlib.py", line 153, in __exit__
        self.gen.throw(typ, value, traceback)
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/gateways/repodata/__init__.py", line 208, in conda_http_errors
        raise RepodataIsEmpty(
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/conda/exceptions.py", line 462, in __init__
        body = response.json()
      File "/Users/jkitchin/anaconda3/lib/python3.10/site-packages/requests/models.py", line 975, in json
        raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
    requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

`$ /Users/jkitchin/anaconda3/bin/conda install -c codes-group -c conda-forge opyrability`

  environment variables:
                 CIO_TEST=<not set>
        CONDA_DEFAULT_ENV=base
                CONDA_EXE=/Users/jkitchin/anaconda3/bin/conda
             CONDA_PREFIX=/Users/jkitchin/anaconda3
    CONDA_PROMPT_MODIFIER=(base)
         CONDA_PYTHON_EXE=/Users/jkitchin/anaconda3/bin/python
               CONDA_ROOT=/Users/jkitchin/anaconda3
              CONDA_SHLVL=1
           CURL_CA_BUNDLE=<not set>
               LD_PRELOAD=<not set>
                     PATH=/usr/local/Cellar/pyenv-virtualenv/1.2.1/shims:/Users/jkitchin/.pyenv/
                          shims:/Users/jkitchin/anaconda3/bin:/Users/jkitchin/anaconda3/condabin
                          :/usr/local/sbin:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/rub
                          y/bin:/Users/jkitchin/.gem/ruby/2.6.0/bin:/usr/local/opt/openjdk/bin:/
                          Users/jkitchin/bin:/Users/jkitchin/src/q-
                          e/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/
                          sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Library/Apple/usr/bin:/va
                          r/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin
                          :/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/
                          var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/applein
                          ternal/bin
       REQUESTS_CA_BUNDLE=<not set>
            SSL_CERT_FILE=<not set>

     active environment : base
    active env location : /Users/jkitchin/anaconda3
            shell level : 1
       user config file : /Users/jkitchin/.condarc
 populated config files : /Users/jkitchin/.condarc
          conda version : 23.3.1
    conda-build version : 3.24.0
         python version : 3.10.11.final.0
       virtual packages : __archspec=1=x86_64
                          __osx=13.5.1=0
                          __unix=0=0
       base environment : /Users/jkitchin/anaconda3  (writable)
      conda av data dir : /Users/jkitchin/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/codes-group/osx-64
                          https://conda.anaconda.org/codes-group/noarch
                          https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/jkitchin/anaconda3/pkgs
                          /Users/jkitchin/.conda/pkgs
       envs directories : /Users/jkitchin/anaconda3/envs
                          /Users/jkitchin/.conda/envs
               platform : osx-64
             user-agent : conda/23.3.1 requests/2.28.1 CPython/3.10.11 Darwin/22.6.0 OSX/13.5.1
                UID:GID : 501:20
             netrc file : /Users/jkitchin/.netrc
           offline mode : False

An unexpected error has occurred. Conda has prepared the above report.

If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers? [y/N]:
Timeout reached. No report sent.

Thanks for testing @jkitchin , looks like it's a acknowledged bug in conda https://github.com/conda/conda/issues/12995
Can you please try as suggested over there the following:
please try:
conda config --add repodata_fns repodata.json
If that doesn't work, a second idea is
conda clean --all
(this will remove all cached files that might be corrupted )
and please try again.
then try the command again. If none of these work, it's a issue on conda's end unfortunately.

That first recommendation seems to have worked.

Nice! It looks like a bug on conda indeed. I will create a FAQ page at the documentation to point to this kind of stuff among others that might happen.
If you want to perform a quick test, one idea could be https://github.com/CODES-group/opyrability/blob/main/docs/examples_gallery/operability_index_shower.ipynb
You would only need to run all jupyter notebook cells.
Thanks Dr. Kitchin!

That notebook ran fine for me.

In this case I will close this issue this since the installation works (even though there's a current bug in conda) for macOS systems. Thanks for testing it!


HDDS-10462. Fail Datanode Decommission Early

What changes were proposed in this pull request?
Many users test out Ozone in small clusters of 15 Datanodes or less. If a 15 DN cluster has some EC 10-4 containers, for example, then it's not possible to decommission more than 1 Datanode, because EC 10-4 requires at least 14 Datanodes. If someone tries to decommission 2 Datanodes, the decommissioning process is designed such that it will keep looping and checking every 30 seconds whether it's possible to take the two DNs offline. It will never fail, even though it's clearly not possible to take the Datanodes offline.
In this PR, the decommission is failed early if sufficient datanodes are not available based on the maximum replication factor of containers present in the cluster. It returns a corresponding DatanodeAdminError.
The detailed design doc can be found in the EPIC HDDS-10461
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10462
How was this patch tested?
Added unit tests in TestNodeDecommissionManager.
Tested manually in docker cluster. In the following cluster, RATIS-THREE is the maximum replication and it has 5 DNS:
bash-4.2$ ozone admin datanode decommission ozone-datanode-1 ozone-datanode-2 ozone-datanode-3
Started decommissioning datanode(s):
ozone-datanode-1
ozone-datanode-2
ozone-datanode-3
Error: AllHosts: Sufficient nodes are not available.
Some nodes could not enter the decommission workflow

bash-4.2$ ozone admin datanode decommission ozone-datanode-1
Started decommissioning datanode(s):
ozone-datanode-1

bash-4.2$ ozone admin datanode decommission ozone-datanode-1 ozone-datanode-2
Started decommissioning datanode(s):
ozone-datanode-1
ozone-datanode-2

bash-4.2$ ozone admin datanode decommission ozone-datanode-3
Started decommissioning datanode(s):
ozone-datanode-3
Error: AllHosts: Sufficient nodes are not available.
Some nodes could not enter the decommission workflow

bash-4.2$ ozone admin datanode decommission ozone-datanode-3 --force
Started decommissioning datanode(s):
ozone-datanode-3

but a user should be able to toggle this off using the decommission command.

Yea I think we need a --force flag or something to tell it to ignore the check. The reason is that a cluster could have a handful of EC 10-4, but some nodes need to be taken out anyway. The alternative to decommission is to just stop them, and that has to be done one node at a time and wait for replication to complete, so its slow.
If we have the --force flag, then it would gracefully decommission as much as it could, and all the Ratis or smaller EC replication ones. Then it would get stuck and the admin could make a decision to just stop them, knowing the remaining EC containers will not be able to be replicated.

@sodonnel  @siddhantsangwan  Thank you for the reviews! I have addressed the comments left. Could you please take a look at the current changes?

@Tejaskriya Is this ready for review?

@siddhantsangwan it is ready for review now. I have added few more checks in the same test cases with force flag set to true. The behaviour is as expected. I have also tested it manually in docker set-up, I have updated the results in the PR description under "How was this patch tested"

Thanks everyone. Merged to master.


Hamburger menu for column hiding in grid is not visible

Hello,
unfortunately the hamburger menu to hide/unhide columns is not visible (I am using Vaadin 8.6.1 but from comment in Vaadin Directory it is also not working in Vaadin 8.3). Looks like it is overlayed by the last header-cell.
Here is the menu (screenshot from firefox developer console with menu highlighted on page):

That is on top:

Is there any workaround for this? I already tried to make the last cell neither sortable nor resizeable. If I set one of the columns before to a smaller width (so there is some space between last column and grid border) the button is there (but not really visible) and the opened menu is also rendered but also not visible (only if hovered).
Opened but not hovered:

Opened, hovered:

Please let me know if I can provide any further information or try any workaround.
Best regards
Olli

Hey Olli sorry for my late response, as you might have noticed I'm currently pretty busy with other projects of mine. Just to let you know, I won't leave you hanging. Give me some time.

Hey,
Thank you very much. Didn't thought it would go live so fast :)
Will use it soon.
Best regards
Olli
Am Sa., 16. Feb. 2019, 11:42 hat appreciated<EMAIL_ADDRESS>geschrieben:

Closed #45 https://github.com/appreciated/material/issues/45 via 5143789
https://github.com/appreciated/material/commit/5143789285b76cc9a91101fd7a5691ff4dd0d415
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/appreciated/material/issues/45#event-2144128835, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AH0kEHML1z6Lfr0Kpn22NkrlDVta_NQwks5vN-CFgaJpZM4YszrV
.


MongoDB Increasing and deleting limits, relaxing readinesprobes

Hello @wistefan ,
@jtudelag and @computate , we've been working very hard on our upcoming FIWARE hackathon for smart data models, and testing the stability of the context broker. We found that the following tweaks to the new mongodb container add more stability to the readinessProbes. Would you please consider merging these latest changes before our Hackathons in 2 weeks? I believe I have included my other PR in this one as well.

Mongo is failing readnesprobes. Increasing and deleting limits, relaxing readinesprobes
Remove unusued Appsets
Improve local marinera instructions

Hi, thanks for the contribution. Let me know if I can help with something before the hackathon.
Best,
Stefan


Adding term normalization / ontology lookup feature to DataHarmonizer

We want the functionality, tied to LinkML specifications for a field to allow selected terms from one or more ontology branches or cherry-picked terms from them.  Beyond this, we also need the dynamic ability, while editing a cell, to look up a list of closely related terms so that a user can normalize free text (containing one or more terms) into a list of ontology ids.
LexMapr was our older software for doing this and maybe with a revamp could be continued. There is also the OAK "annotate" or "lexmatch" commands we could try. Notes on these commands are in SLACK OBO Foundry group: https://obo-communitygroup.slack.com/archives/C03D93DEALA/p1692891065256629?thread_ts=1692889350.359419&cid=C03D93DEALA
Chris Mungall: Technically annotate is a bit more general as it finds term matches in whole text. But if you pass --matches-whole-text it essentially does lexmatch as a degenerate case

Chris Mungall: But note the output structures are different. Using lexmatch gives you SSSOM (by default) which is obviously very well designed and though through. I have not been able to gather interest in a profile of SSSOM for lexical matches but that was before we had the ISB workshop talking about matching literals https://github.com/mapping-commons/sssom/issues/155
[#155 is there interest in an analog of SSSOM for NER/CR/text annotation?](https://github.com/mapping-commons/sssom/issues/155)
There are a number of different tools that perform NER on text, from bioportal/zooma through to scispacy, [@cthoyt](https://github.com/cthoyt)'s Gilda ( gilda https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>9803v1.full )
These all vary in their output but are some variant of text span location and ID plus metadata for the matched concept.
While the entity normalization step of NER could be seen as term matching, I think this is out of scope for SSSOM. However, I think it would make sense to have a SSSOM analog, where the SSSOM metadata element URIs are reused.
An OAK driven app: https://incatools.github.io/ontology-access-kit/datamodels/text-annotator/index.html
[https://github.com/…](https://github.com/INCATools/ontology-access-kit/blob/main/src/oaklib/datamodels/text_annotator.yaml)

Hi @ddooley,
Thanks a lot for the great work in crafting and maintaining DataHarmonizer, I fully support such a feature! We showcased DataHarmonizer in a workshop about metadata and ontologies targeted for very beginners and most of them asked whether an ontology look-up from within the DataHarmonizer was possible.
Best,


Disable tracing of fast resolvers

I want to merge this change because we'd like to reduce the number of traces being collected from fast pieces of code, I've checked all resolvers which were removed and they all take milliseconds to complete but send like 1000 traces per larger request.
ℹ  This is a 3.2 port of https://github.com/saleor/saleor/pull/11031

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: CLOUD-2151 Disable tracing of fast resolvers


As a developer, I would like to auto build, test & publish releases to save time 3.1.a

User Story
This issue is based on task 3.1.a
To save time building, testing and merging our code we want to automate these things to satisfy our expectations in different situations.
Definition of Done

[x] Add workflow to automatically merge the development branch to main, if the development branch works.
[ ] Add workflow to automatically create release (maybe one for each OS - win, mac-os, linux) as zip file

Auto publish with releases work, but I am having problems with the single file applications generated not being able to find the correct path for our file. I think its something with how we assign our path to the csv file.


protip: export all from aws

This protip is just a example usage, so it is better to place Export tfstate section, I think.
Sorry for late review 🙇

Please add TOC section at the top of README too.

Thanks for this. Was just about to write a shell command to do this, then saw you had already done it!
However, would it be plausible to add in the writing of terraform.tfstate? The problem I guess is you couldn't merge from an empty file, so maybe you could create a blank JSON file before your one liner...will have an experiment.

@conatus
You might find my newer method more useful: https://gist.github.com/atomantic/7d78ee36331c35d808476fec55c03386 -- my newer solution exports your whole region to a folder:
.
├── terraformingtool.sh
├── us-east-1
│   ├── global.tf
│   ├── main.tf
│   └── terraform.tfstate
└── us-west-2
    ├── global.tf
    ├── main.tf
    └── terraform.tfstate

global are aws components that are not specific to region, so if you need to just export one, you can still get your whole aws account saved.

LGTM 👍  Thanks ❗
Sorry for late review 🙇

@atomantic Thanks for that - this looks super useful.


[Backport release-21.11] gitlab: 14.9.1 -> 14.9.2

Backport of #166869
Description of changes
https://about.gitlab.com/releases/2022/03/31/critical-security-release-gitlab-14-9-2-released/
Fixes: CVE-2022-1162, CVE-2022-1175, CVE-2022-1190, CVE-2022-1185,
CVE-2022-1148, CVE-2022-1121, CVE-2022-1120, CVE-2022-1100,
CVE-2022-1193, CVE-2022-1105, CVE-2022-1099, CVE-2022-1174,
CVE-2022-1188, CVE-2022-0740, CVE-2022-1189, CVE-2022-1157,
CVE-2022-1111

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Misses the reference to the commit it was picked from, please update.


[DO NOT MERGE] Attempt to add CSS via custom webpack config

Testing the use of a custom webpack config on V2.

WIP
npm run build is using the custom webpack config.
npm start is still using the original webpack config in pwa-kit-build

This PR is solely for testing #378
This is not meant to be merged.

This PR is a poc showing how to use a custom webpack config to include css-loader and style-loader.
In this example, a simple  tag has been added to the home page and is styled using some imported css.


WIP plot dashboard

Required pip install bokeh==2.0.0 the dependecy is not yet added to the requirement.txt
Gallery of the used library: https://docs.bokeh.org/en/latest/docs/gallery.html

Continued in https://github.com/icubam/icubam/pull/144


Not found: Create from Definition > OData API

I followed the Azure Service Update here: https://azure.microsoft.com/en-us/updates/public-preview-odata-api-type-in-azure-api-management-2/
It asks us to look into the doc here: https://aka.ms/apim/odata/odata-docs
The docs says create a new API and select Odata from "Create from definition" section.
I created a brand new APIM with Developer SLA. When i try to create the OData API -  i cannot find it in "Create from definition" section ... what am i missing?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: f298b5c7-acfe-9986-751d-9f11cb8dc694
Version Independent ID: 5c02089b-390b-a865-70e9-8fa11ac824d2
Content: Import an OData API to Azure API Management
Content Source: articles/api-management/import-api-from-odata.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

@lohithgn I am able to see OData API in my APIM.

Can you validate and let me know if it is not available for you?

@mumurug-MSFT thanks for the follow up. I have no clue what happened. But i am now seeing the OData section in create from definition ... i did not do anything from my side. i had other APIM instances and i can see the OData option there also. i will close this.


Add additional information section to Pull Request Template

What does this PR (Pull Request) do?

Adds an additional optional information section to the Pull Request Template giving the committer the option to provide more context information on the Pull Request they think would help potential reviewers.

[x] This PR is not related to any Issue

Which Traffic Control components are affected by this PR?

Only affects the Pull Request templates so no documentation/tests are needed
What is the best way to verify this PR?

Read through the newly added section. No more verification is needed past that
If this is a bug fix, what versions of Traffic Control are affected?

The following criteria are ALL met by this PR

[x] I have explained why tests are unnecessary
[x] I have explained why documentation is unnecessary
[x] This PR does not incldue an update to CHANGELOG.md
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4444/

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4449/


Suggestions for Chinese-user related stuff

Hi Jack,
Good job on this plugin! I have two suggestions:

The Chinese commands translation seems to be google-translated so there are some mistakes. I can help improve the translation if you like :)

Unfortunately, the Chinese government has contaminated the usual DNS domain for Discord (in July 2018). I found this news after several unsuccessful attempt to deploy MCPEToDiscord from a Shanghai based server. The solution is adding these into /etc/hosts (or any location of your hosts file):

<IP_ADDRESS> dl.discordapp.net
<IP_ADDRESS> gateway.discord.gg
<IP_ADDRESS> status.discordapp.com
<IP_ADDRESS> cdn.discordapp.com
<IP_ADDRESS> discordapp.com
<IP_ADDRESS> media.discordapp.net
<IP_ADDRESS> images-ext-2.discordapp.net
<IP_ADDRESS> images-ext-1.discordapp.net
<IP_ADDRESS> static-cdn.jtvnw.net

If you could consider add these to wiki or poggit, thx!

Hi there thanks for this feedback, I was in aware of anything going on in China as I live in the UK.
Regarding the translations and hosts, feel free to create a pull request to add/fix the mentioned.


Server reports "lost connection" right after the player joins

If I run a server by typing make in this directory, it builds a docker image using this Dockerfile, including glowstone++ 1.9.2.
    16:11:05 [INFO] Player [/<X.Y.Z.W>:59916] connected, UUID: <....>
    16:11:05 [INFO] Player joined the game
    16:11:51 [INFO] PlayerX [/<X.Y.Z.W>:59923] lost connection
    16:11:51 [INFO] PlayerX left the game

Each time a join attempt is made, this lost-connection error happens.
Any probably causes?

Duplicate of #286. The issue should be fixed now. Please make sure that your source is up to date.


Word number and characters calculator

Describe the project
A word and characters calculator for when we write essays or applications for any company, we can know the amount of words we've used
Issue Type:

[x] New Project

@TusharKesarwani, @zugzwang03, @harshit-paneri Kindly assign me this under SSOC'2023


[WIP]:AUTH-482: set required-scc for openshift workloads

Is this a BUG FIX or a FEATURE ?:

Uncomment only one, leave it on its own line:
/kind bug
/kind cleanup
/kind feature
/kind design
/kind flake
/kind failing
/kind documentation
/kind regression

What this PR does / why we need it:
Special notes for your reviewer:
Release note:

/retest-required

/retest-required

/retest-required


Spike on Schematics

Should be ~1hr spike. Max 2hrs.
Primary question: Can we create a schematic that a) installs the package, and b) install any missing peer deps.
Example of installing a package:
https://angular.io/guide/schematics-for-libraries#providing-installation-support
Example building schematics:
https://github.com/ngneat/svg-icon/blob/master/package.json#L19-L20

Handled in the package instructions ticket


Timeouts does not abort query execution on mysql server

https://github.com/felixge/node-mysql#timeouts
If I execute the following code several times:
connection.query({sql: 'SELECT SLEEP(200)', timeout: 10}, function (err, rows) {
  if (err) {
    console.log(err);
  }
});

I see PROTOCOL_SEQUENCE_TIMEOUT errors in log, but if I run query show full processlist I see several queries SELECT SLEEP(200) continue running on mysql server.
Is there any possibility to abort query execution on mysql server?

Unfortunately this is a limitation of the MySQL protocol; the only way to abort the underlying query is to create a second connection with super privs and run a KILL on the query you want to abort.
The limitations are outlined in the documentation at https://github.com/felixge/node-mysql#timeouts

It is important to note that these timeouts are not part of the MySQL protocol, and rather timeout operations through the client.

If you can help expand this text to describe this, that would be most welcome :)!

I don't think that this is limitation of mysql protocol.
When I use, for example dbForge Studio for MySQL, I can run there SELECT SLEEP(200) query then press "stop" button. After that running show full processlist doesn't show any SELECT SLEEP(200) query. May be  dbForge Studio for MySQL is using binary protocol to communicate with mysql server.

It's possible, or perhaps dbForce Studio is keep multiple connections and doing a KILL (if this is the case, you'd have to implement this yourself with this module). If it's doing something at the protocol level, then a PR is welcome, but we've looked into this extensively and could not figure out any way to do it without using two connections (which is beyond this module, which is low-level).

Ok, so I'm going to close after reading your comment at https://github.com/sidorares/node-mysql2/issues/185#issuecomment-125806391 . Let me know if you would like this re-opened, though, and I can.


Myriad guidelines

Follow https://www.rc.ucl.ac.uk/docs/Clusters/Myriad/ to create guidelines

I got this one
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: 'METADATA'

then raised this for help: https://github.com/UCL-RITS/mkdocs-rc-docs/issues/42

From noise_pred = image_pipe.unet(model_input, t)["sample"], got
RuntimeError: Calculated padded input size per channel: (2 x 2).
Kernel size: (3 x 3). Kernel size can't be greater than actual input size


Update ETSC config

New type of blockchain explorer support
Rebrand node color to #4295d1
Add Hardware Wallet support

@akx20000a Sorry for the delay. What is the mnemonic-phrase path if you have hardware wallet support?

@tayvano Our HD wallet path is same with Ethereum [ETH]
value: "m/44'/60'/0'/0" 😄


JSON parsing: use the '-r' option of jq instead of sed

This is ridiculous and I genuinely love it! I've been testing it out all day.
I've found one issue, to do with escaping quotations.
Problem
Input:
$ pls tell me how many commits were made in the past month

Parsed command:
git log --oneline --since=\"1 month ago\" | wc -l

This command needs to be:
git log --oneline --since="1 month ago" | wc -l

Solution
Using the jq option --raw-output / -r. From the online manual:

With this option, if the filter's result is a string then it will be written directly to standard output rather than being formatted as a JSON string with quotes.

I've also DRYed up the code a bit, so that it only parses it once.
Thanks for the great tool!

This is amazing! I thought that the problem was openai trying to escape the quotes.


build: Use GitHub Actions for multi-os CI

Left in 8, even though it's EOL and added 13.
Also expanded to multi-os build, so the AppVeyor hook can be turned off
Sample run can be found here https://github.com/nschonni/node-glob/actions/runs/62701471

Done in main


adding refresh token

get fresh access token using the refresh token.
api documentation

Coverage decreased (-0.5%) to 89.754% when pulling d1c5f57dad6013e4d615aab95d62e705eca3dc95 on nlbcode:master into 752ac39d13a1ebb46ff2e6282f9eafae7719320e on sidecars:master.

Coverage decreased (-0.5%) to 89.754% when pulling d1c5f57dad6013e4d615aab95d62e705eca3dc95 on nlbcode:master into 752ac39d13a1ebb46ff2e6282f9eafae7719320e on sidecars:master.

Coverage decreased (-0.5%) to 89.754% when pulling d1c5f57dad6013e4d615aab95d62e705eca3dc95 on nlbcode:master into 752ac39d13a1ebb46ff2e6282f9eafae7719320e on sidecars:master.


Setting --conf properties for S3 access cause error in launching driver

I'm attempting to set S3/AWS credential information by passing it via --conf settings to spark-submit, as seen below:

This results in the following message from the sessionmanager:
[INFO] [02/15/2018 19:30:50.833] [root-actor-system-akka.actor.default-dispatcher-11] [akka://root-actor-system/user/rabbitmq/workflow.1dd48de5-9133-472b-a301-561175ac25fa.1dd48de5-9133-472b-a301-561175ac25fa.to_subscriber_1518722511831] Message [com.thenewmotion.akka.rabbitmq.AmqpShutdownSignal] from Actor[akka://root-actor-system/user/rabbitmq/workflow.1dd48de5-9133-472b-a301-561175ac25fa.1dd48de5-9133-472b-a301-561175ac25fa.to_subscriber_1518722511831#-1549401789] to Actor[akka://root-actor-system/user/rabbitmq/workflow.1dd48de5-9133-472b-a301-561175ac25fa.1dd48de5-9133-472b-a301-561175ac25fa.to_subscriber_1518722511831#-1549401789] was not delivered. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
Feb 15, 2018 7:30:50 PM ai.deepsense.sessionmanager.service.sessionspawner.sparklauncher.outputintercepting.OutputInterceptorHandle writeOutput
INFO: Unknown opt spark.hadoop.fs.s3a.secret.key=f54841521c014e86afc59d5be9f1718d
[INFO] [02/15/2018 19:30:50.843] [root-actor-system-akka.actor.default-dispatcher-22] [akka://root-actor-system/user/rabbitmq/workflow.1dd48de5-9133-472b-a301-561175ac25fa.1dd48de5-9133-472b-a301-561175ac25fa.to_subscriber_1518723050833] akka://root-actor-system/user/rabbitmq/workflow.1dd48de5-9133-472b-a301-561175ac25fa.1dd48de5-9133-472b-a301-561175ac25fa.to_subscriber_1518723050833 connected

Oddly enough, if I only  pass the access.key part, the driver launches.

Seahorse requires a space before each line except first line. In your case that would be:
--conf spark.A=ABCEDF
 --conf spark.B=Secret

There is a space before --conf spark.B=Secret

https://github.com/deepsense-ai/seahorse/pull/25 was merged and should fix that.


Make Dropbox Access Configurable

It is absolutely inacceptable that stackedit just grabbed complete access to my dropbox. What the hack, man!
Let users choose/create a folder to share with stackedit.
PS: Dropbox announced in the share request that their API will change. May want to check that one out.

Closing this. Please open a new ticket if the problem still exists on v5 (https://stackedit.io/app)


Node Sass could not find a binding for your current environment

I run gulp-sass,but screen display:
'Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 6.x'

Looks like you have not npm installed correctly. Run npm install again or
npm rebuild node-sass.
On 2 Jul 2016 7:15 PM, "fynn"<EMAIL_ADDRESS>wrote:

I run gulp-sass,but screen display:
'Node Sass could not find a binding for your current environment: Windows
64-bit with Node.js 6.x'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dlmanning/gulp-sass/issues/517, or mute the thread
https://github.com/notifications/unsubscribe/AAjZWMKtS_IVkg2bZWd6RpUYxBmENxioks5qRiwlgaJpZM4JDouf
.

@xzyfer Nope, node-sass has been updated substantially so it works in 6.x+. See: sass/node-sass#1484.

I reinstall node-sass. I am in china,network unstable.


Update spec.

Update the spec to reflect the latest changes in TEEH, TEEI and TEEG Extensions.
Adding some missing APIs and some formatting related changes.
Replacing per-VCPU shared memory interface with NACL shared memory extension. (The extension document isn't available yet)
The changes are taken from salus which is a PoC TSM implementation.

LG! - some minor suggestions in the comments - also should we split the commit into one for NACL + MMIO region, and one for the guest interrupt file handling?

Sorry didn't understand, which commit do you want me to split?
PS: I have changed the main authorship of formatting commits to keep git blame intact and to not take credit for the whole write-up just by adding and remove bunch of extra spaces and fixing spellings. I hope you don't mind that.

@atulkharerivos @abrestic-rivos for review as I couldn't add them to reviewers.

Once this series is merged, we will do sweeping name changes
TEEH - COVH (Cove Host extension)
TEEG - COVG (Cove guest extension)
TEEI  - COVI   (Cove interrupt extension)
Few more generic improvements required:
TVM acronym is used for various terms: TEE VM, Truested VM, Confidential VM
TSM acronym is used for Trusted/TEE Security Manager
IMO, we should just stick to one and change them to Trusted everywhere.  Any thoughts @rsahita

We should also have a section for the HS mode CSRs that are supported via trap & emulate vs shared memory.
It would be good to have some explanation for different approaches for different CSR as well.


Investigate: Rename SubstrateKitchensinkConfig to something more generic

From https://github.com/encointer/encointer-node/pull/328#discussion_r1229303759:

But it seems to be generic enough such that it works for us too. So it could be something like DefaultAssetRuntimeConfig.

I agree with that line of thought. SubstratKitchensinkConfig is correct. But maybe a little too confining.

According to Substrate, the node example runtime is NOTHING production-like, and should not be used, nor inspired from ;) That's why they've renamed the node-runtime to node-kitchensink-runtime.
Changing the name of our configuration is then deceptively reassuring,  but I can understand, that for live nodes, referring to a Kitchensink is not so nice.
We have another config  that is compatible with a polkadot node: PolkadotConfig  . If we rename SubstratKitchensinkConfig without reference to Substrate, we should also rename PolkadotConfig.
A little too confining? I'm not sure where to put the emphasis. For the moment the differences between the configs are the methods of payment or the nodes that use them. If we don't want to make any reference to node-kitchensink-runtime, I'd like to remain as neutral as possible. So maybe DefaultAssetRuntimeConfig instead of SubstratKitchensinkConfig and DefaultRuntimeConfig instead of PolkadotConfig?
Other possibilities

DefaultSubstrateAssetRuntimeConfig and DefaultPolkadotRuntimeConfig?
SubstrateAssetRuntimeConfig and PoladotRuntimeConfig?

@haerdib , @clangenb What do you think?

Yes, I can understand the rationale why they renamed it into the kitchensink runtime. However, if the config works for polkadot and kusama, I think it shouldn't have the kitchensink name in it. I can agree with your second set of suggestions, but would like to add some more variants:

AssetRuntimeConfig, PolkadotConfig

I don't have a strong tendency towards your or mine suggestions.

Maybe I'm a little behind here, but for me, the difference between Polkadot and Substrate is not clear in regard to the config. Both, Substrate and Polkadot nodes may have both types of Payments, and both, substrate-node-template (not kitchsink-runtime, as @echevrier noted should not be used as template), and polkadot nodes by default use plain tip.
Maybe I'm wrong here? But if not, I'd refrain from using Polkadot or Substrate in the naming, but instead focus on Asset and Plain or Default ?
Suggestions:
- AssetConfig, PlainConfig

DefaultAssetConfig, DefaultConfig
AssetRuntimeConfig, RuntimeConfig

So let's go with  DefaultAssetConfig and DefaultPlainConfig. Emphasis on Default and on Asset/Plain.

I think asset and plain are a bit too mysterious. As a slight adjustment, I would suggest:
DefaultAssetPaymentConfig, DefaultNativePaymentConfig although I am not sure about the latter. :)

Yes, I think this is OK, I can agree with your suggestions. My primary concern before was that PlainTip has been coined by subxt, and is not a term known to the general substrate/polkadot dev.

AssetPaymentConfig, DefaultPaymentConfig sounds like payment configs. I would prefer AssetRuntimeConfig and DefaultRuntimeConfig if we can't use Plain.

Sounds good to me!

Yes, that makes sense 👍


Sometimes queries return nil, second execution returns results

Thank you BTW.
I've been using BigBroda for several months against VERY large BigQuery databases.
I have an issue where queries occasionally return nil.
If I reload the same query, it works fine the second time.
My gut tells me this is a BigQuery "too big" or "timeout" issue.
Where the second execution, BigQuery has cached the result.
Have you ever seen this?
Any workarounds?
Bill

Its hard to tell what might be the problem , but it could be the cache thing that you mention
how large is your dataset ?
ps: I'm sorry by the delay , I'm on vacations right now and my response time could be slow

The largest table is 3TB.
As I mentioned, occasionally queries return nil, then return what they're supposed to on reload.
I can deal with that, but I would like to rescue from it somewhere.
Can't figure out what to code to catch the error.
Hate to place a rescue around every single big BigQuery query.

yeah , but it seems to be not an exception to catch, is a nil object instead. so a retry with a timeout is needed.
this behavior occurs only for the first query or this occurs for the subsequents ones?

Found a solution to my issue!!!
Retry on result['jobComplete'] == false.
I will fork and generate a pull request.
class JobIncomplete < Exception
end
def exec_query(sql, name = nil, binds = [])
log(sql, name, binds) do
result = nil
Retriable.retriable on: JobIncomplete, tries: 10 do
result = BigBroda::Jobs.query(@config[:project], {"query"=> sql })
unless result['jobComplete']
log("BigQuery Job Incomplete, trying again, #{Time.now}", nil) {}
raise JobIncomplete
end
end
cols    = result["schema"]["fields"].map{|o| o["name"] }
records = result["totalRows"].to_i.zero? ? [] : result["rows"].map{|o| o["f"].map{|k,v| k["v"]} }
stmt = records
ActiveRecord::Result.new(cols, stmt)
end
end

that's great @vanetten. I'll be looking for that PR.
cheers


UsesMethod should rely on TypesInUse

If UsesMethod does not find any reference to the desired method in TypesInUse then it should return rather than traversing the entire LST in an attempt to find a match.
This change is being made for performance reasons, because this visitor is used very frequently as a precondition by recipes.

Does this new behavior break any existing recipe?

That is currently not even possible. The code uses MethodMatcher#matches(MethodCall) which will always return false when the method invocation doesn't have any type attribution.
If we in the future want UsesMethod to support a use case similar to MethodMatcher#matchesAllowingUnknownTypes() we can still do that.