Cannot find module './FileUtils'

Steps to reproduce:

Install via package manager

Atom Version: 1.7.3
System: Ubuntu 16.04
Thrown From: atom-maven package, v0.5.0
Stack Trace
Failed to load the atom-maven package
At Cannot find module './FileUtils'

Error: Cannot find module './FileUtils'
    at Module._resolveFilename (module.js:338:15)
    at Function.Module._resolveFilename (/usr/share/atom/resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:289:25)
    at Module.require (module.js:366:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/ahernandeze/.atom/packages/atom-maven/lib/atom-maven.js:12:13)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (/usr/share/atom/resources/app.asar/src/package.js:715:27)
    at /usr/share/atom/resources/app.asar/src/package.js:117:28
    at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:92:15)
    at Package.module.exports.Package.load (/usr/share/atom/resources/app.asar/src/package.js:106:12)
    at PackageManager.module.exports.PackageManager.loadPackage (/usr/share/atom/resources/app.asar/src/package-manager.js:457:14)
    at /usr/share/atom/resources/app.asar/src/package-manager.js:402:19
    at Config.module.exports.Config.transact (/usr/share/atom/resources/app.asar/src/config.js:312:16)
    at PackageManager.module.exports.PackageManager.loadPackages (/usr/share/atom/resources/app.asar/src/package-manager.js:397:19)
    at /usr/share/atom/resources/app.asar/src/atom-environment.js:743:28

Commands

Config
{
  "core": {
    "themes": [
      "one-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages
# User
activate-power-mode, v0.5.2
autocomplete-java, v1.2.5
atom-maven, v0.5.0
linter, v1.11.4
linter-javac, v1.9.1
merge-conflicts, v1.4.2
minimap, v4.23.5
pigments, v0.26.3
terminal-plus, v0.14.5

# Dev
No dev packages

Hi Eusse, I've released a new update 0.6.0 and tested installing via the package manager and it seems to start up fine for me.  Please can you re-test and confirm for me?
Note: I've had to remove the functionality to set up the classpath on start up, so you need to save you pom files for it to generate the .classpath file - i'll be looking to add this back in later this week.

Hi @concon121,
I am getting the same error. I tried installing plugin using apm and the package manager in settings.
This is the output in console using apm install atom-maven:
Installing atom-maven to ~/.atom/packages ✓
This is the output in atom:
Atom Version: 1.7.3
System: Ubuntu 16.04
Thrown From: atom-maven package, v0.7.0
Stack Trace
Failed to load the atom-maven package
At Cannot find module './FileUtils'

Error: Cannot find module './FileUtils'
    at Module._resolveFilename (module.js:338:15)
    at Function.Module._resolveFilename (/usr/share/atom/resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:289:25)
    at Module.require (module.js:366:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/ahernandeze/.atom/packages/atom-maven/lib/atom-maven.js:12:13)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (/usr/share/atom/resources/app.asar/src/package.js:715:27)
    at /usr/share/atom/resources/app.asar/src/package.js:117:28
    at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:92:15)
    at Package.module.exports.Package.load (/usr/share/atom/resources/app.asar/src/package.js:106:12)
    at PackageManager.module.exports.PackageManager.loadPackage (/usr/share/atom/resources/app.asar/src/package-manager.js:457:14)
    at /usr/share/atom/resources/app.asar/src/package-manager.js:402:19
    at Config.module.exports.Config.transact (/usr/share/atom/resources/app.asar/src/config.js:312:16)
    at PackageManager.module.exports.PackageManager.loadPackages (/usr/share/atom/resources/app.asar/src/package-manager.js:397:19)
    at /usr/share/atom/resources/app.asar/src/atom-environment.js:743:28

Commands

Config
{
  "core": {
    "themes": [
      "one-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages
# User
activate-power-mode, v0.5.2
autocomplete-java, v1.2.5
atom-maven, v0.7.0
file-icons, v1.7.11
linter, v1.11.4
linter-javac, v1.9.1
merge-conflicts, v1.4.2
minimap, v4.23.5
pigments, v0.26.3
terminal-plus, v0.14.5

# Dev
No dev packages

Is there a dependency missing or outdated?

Nah,  FileUtils is a js file which comes bundled with atom-maven,  and the dependencies I used should be downloaded via apm / npm when you download update the package (which you can check by going to $home/. atom/packages/atom-maven/node_modules and cross referencing with package.json)
Admittedly I haven't tested this on a Linux enviomronment,  maybe something behaves differently to windows which hasn't been accounted for?
I will attempt to replicate your environment tomorrow morning.
Cheers!


Reservation documentation

[x] Setup swagger UI
[x] We have created documentation for the reservation controller using rswag
[x] Generated Swagger UI docunmentation file

Excellent work! 💯 @Naledi-Dikgale
Highlights 🌞
✅ Professional pull request
✅ API documentation endpoint fetched successfully
✅ Tests are passing
Proceed to merge


Unable to play event clips

Checklist:

[x ] I updated to the latest version available
[x ] I cleared the cache of my browser

Release with the issue:
v4.0.0
Last working release (if known):
Browser and Operating System:
Win 7 Chrome, iPad OS

Description of problem:
Trying to load latest events results in "Timeout while starting stream. [Check troubleshooting]"
Javascript errors shown in the web inspector (if applicable):

Additional information:

Please hold down your Frigate menu button and paste the diagnostics here.
Please check your Home Assistant log file for any exceptions.
Please check your Frigate log file for any exceptions.

This is rarely an issue with the card, and more likely something going wrong on the HA or Frigate side.

I've checked both logs before as I suspected that too but it does seem something with the cards. I've just tried it on a new dashboard with just basic options and it works OK, so I suspect something with my card options:
type: vertical-stack
cards:
  - camera_view: auto
    type: picture-glance
    title: Tap to open Live view
    entities:
      - entity: camera.drive
    camera_image: camera.drive
  - type: custom:frigate-card
    cameras:
      - camera_entity: camera.drive
    view:
      default: clips
    menu:
      style: outside
      buttons:
        frigate:
          enabled: true
        cameras:
          enabled: false
        live:
          enabled: false
        clips:
          enabled: false
        snapshots:
          enabled: false
        image:
          enabled: false
        timeline:
          enabled: false
    media_viewer:
      auto_play: all
      auto_pause: hidden
      controls:
        next_previous:
          style: none
        thumbnails:
          mode: below
        title:
          mode: popup-bottom-right
      layout:
        fit: contain
      lazy_load: false
      transition_effect: slide
      draggable: false
    timeline:
      controls:
        thumbnails:
          mode: below
    event_gallery:
      controls:
        thumbnails:
          show_timeline_control: false
          size: 175

Diagnostics:
{
  "ha_version": "2022.10.3",
  "card_version": "4.0.0",
  "browser": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36",
  "date": "2022-10-15T20:46:40.623Z",
  "frigate_version": {
    "51b3a55097281cdd4b3a544841a236d1": "3.0.0/0.11.1-2eada21"
  },
  "lang": "en",
  "git": {
    "build_version": "4.0.0-HEAD+ge5a0bf4",
    "build_date": "Fri, 23 Sep 2022 00:27:16 GMT",
    "commit_date": "Thu, 22 Sep 2022 16:53:03 -0700"
  },
  "config": {
    "type": "custom:frigate-card",
    "cameras": [
      {
        "camera_entity": "camera.drive"
      }
    ],
    "view": {
      "default": "clips"
    },
    "menu": {
      "style": "outside",
      "buttons": {
        "frigate": {
          "enabled": true
        },
        "cameras": {
          "enabled": false
        },
        "live": {
          "enabled": false
        },
        "clips": {
          "enabled": false
        },
        "snapshots": {
          "enabled": false
        },
        "image": {
          "enabled": false
        },
        "timeline": {
          "enabled": false
        }
      }
    },
    "media_viewer": {
      "auto_play": "all",
      "auto_pause": "hidden",
      "controls": {
        "next_previous": {
          "style": "none"
        },
        "thumbnails": {
          "mode": "below"
        },
        "title": {
          "mode": "popup-bottom-right"
        }
      },
      "layout": {
        "fit": "contain"
      },
      "lazy_load": false,
      "transition_effect": "slide",
      "draggable": false
    },
    "timeline": {
      "controls": {
        "thumbnails": {
          "mode": "below"
        }
      }
    },
    "event_gallery": {
      "controls": {
        "thumbnails": {
          "show_timeline_control": false,
          "size": 175
        }
      }
    }
  }
}

I've checked both logs before as I suspected that too but it does seem something with the cards. I've just tried it on a new dashboard with just basic options and it works OK, so I suspect something with my card options:

Huh. And this reliably breaks in the same way? There's nothing unusual in those options. Maybe try binary searching and see if you can find the option that triggers it?
You're also using a more recent HA instance than me, I can try to upgrade mine later and see if I can reliably get it to break ...

It breaks in the same way as I can repeat it every time yes. It appears to attempt to load the clip and after a few seconds it starts to play but then stops and the timeout error appears. I've tested it on its own without the picture glance so far and I can repeat the issue. I'm going to test again tomorrow and start adding options from a basic config.
This is a remote HA OS instance so I'm using Nabu Casa which I know I've had problems with in the past with high res streams. They're only 2K though so nothing too heavy. The weird thing is the default options work ok.

Try it without the lazy_load: false option. That is asking the card to load all clips at the same time. Maybe the issue is actually in some other clip that isn't the one you actually want to watch ...

Try it without the lazy_load: false option. That is asking the card to load all clips at the same time. Maybe the issue is actually in some other clip that isn't the one you actually want to watch ...

Thanks, this was the culprit!


Cant handle large data on GPU!!!

My GPU is 24G,but one I load data more than about 8.5G.The program breaks down.I found something in source code.But I dont want to modify source code to avoid this situation,so any idea about how to fix this with parameters?

Thanks for using LightGBM!
We need more details to answer your question. Are you able to provide a reproducible example, with details like:

how you are using LightGBM (CLI, Python, R, Java, etc.)
how you installed LightGBM
what type of GPU you have
sample code that we could use to reproduce the problem
specifics on what you mean by "the program breaks down"

I found something in source code

If you have a proposal to improve LightGBM, we would welcome a pull request with an explanation of the problem and how your code fixes that problem.

A rather old thread but my understanding of it is that NVIDIA interprets the OpenCL standard as only allowing any particular blob of memory to be at most 25% of device memory. This is an issue I've run into on 32GB GPUs as well and have never known of any work around.

Thanks for using LightGBM!
We need more details to answer your question. Are you able to provide a reproducible example, with details like:

how you are using LightGBM (CLI, Python, R, Java, etc.)
how you installed LightGBM
what type of GPU you have
sample code that we could use to reproduce the problem
specifics on what you mean by "the program breaks down"

I found something in source code

If you have a proposal to improve LightGBM, we would welcome a pull request with an explanation of the problem and how your code fixes that problem.
Thank you for you quick replay.

By lgb.LGBMRegressor() in python
pip install lightgbm --install-option=--gpu
NIVIDA RTX TITAN 24GB
lgb.LGBMRegressor(x,y) where x is more than 8.5Gb
I use "lgb.LGBMRegressor()" in jupyter notebook,And "the program breaks down" means the jupyter kernel breaks down

Looking forward to your reply.

Can you share what you mean by "found something in source code"? If you believe you found an inefficiency in LightGBM that is leading to more memory consumption that necessary, we'd very much appreciate details on that so that it can be fixed.

Can you share what you mean by "found something in source code"? If you believe you found an inefficiency in LightGBM that is leading to more memory consumption that necessary, we'd very much appreciate details on that so that it can be fixed.

Sorry for that I am not sure what i find,so I need some time to check  it.


elasticsearch credentials exposed via metrics

Similar to https://github.com/justwatchcom/elasticsearch_exporter/issues/188. elasticsearch credentials get exposed when you are using password authentication, and your username/password is configured in the es.uri command line flag. Loading this via environment variables wouldn't resolve this, as it's actually exposed as a metric, which means if your endpoint is unauthenticated for metrics, then this is completely exposed:
elasticsearch_clusterinfo_last_retrieval_failure_ts{url="https://<user>:<password>@myhostname.com:9200"} 1.564411951e+09
elasticsearch_clusterinfo_last_retrieval_success_ts{url="https://<user>:<password>@myhostname.com:9200"} 1.563386249e+09
elasticsearch_clusterinfo_up{url="https://<user>:<password>@myhostname.com:9200"} 0

Ideally, the best way to solve this would be to:

Have separate flags and/or environment variables for the username and password respectively. This way you can provide auth directly to the http client rather than just letting the client pull the credentials from the URL.
Or alternatively, one could do a regex string replacement on the URL to replace the password with something that's truncated.

2 might be good to do regardless anyway, to ensure that people aren't accidentally exposing these credentials.

I just now noticed the fixes in https://github.com/justwatchcom/elasticsearch_exporter/pull/264 -- when I searched that didn't come up. Can a release be pushed for this?

Also tagging: https://github.com/justwatchcom/elasticsearch_exporter/issues/263

fixed in the new release: https://github.com/justwatchcom/elasticsearch_exporter/releases/tag/v1.1.0

The issue is still present in 1.1.0 release
elasticsearch_clusterinfo_last_retrieval_success_ts{url="https://<user>:<password>@myhostname.com:9200"} 1.613487671e+09
elasticsearch_exporter_build_info{branch="master",goversion="go1.12.3",revision="fe20e499ffdd6053e6153bac15eae494e08931df",version="1.1.0"} 1


Update go-redis package

github.com/go-redis/redis/v8 v8.11.5 => github.com/redis/go-redis/v9 v9.0.2

Codecov Report

Merging #17 (815db9d) into main (e1fb1f8) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##              main       #17   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            8         8
  Lines          318       318
=========================================
  Hits           318       318

Impacted Files
Coverage Δ

redis/redis.go
100.00% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix potential infinite loop in AbstractFramedChannel#flushSenders

Occasionally I/O threads would get stuck in an infinite loop, throwing the following exception over and over:
ERROR [default I/O-8] [org.xnio.listener] XNIO001007: A channel event listener threw an exception: java.lang.IllegalStateException: XNIO000017: Buffer was already freed 	at org.xnio.ByteBufferSlicePool$PooledByteBuffer.getResource(ByteBufferSlicePool.java:206) 	at org.xnio.ByteBufferSlicePool$PooledByteBuffer.getResource(ByteBufferSlicePool.java:176) 	at io.undertow.server.protocol.framed.AbstractFramedChannel.flushSenders(AbstractFramedChannel.java:481) 	at io.undertow.server.protocol.framed.AbstractFramedChannel$FrameWriteListener.handleEvent(AbstractFramedChannel.java:774) 	at io.undertow.server.protocol.framed.AbstractFramedChannel$FrameWriteListener.handleEvent(AbstractFramedChannel.java:771) 	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) 	at org.xnio.conduits.WriteReadyHandler$ChannelListenerHandler.writeReady(WriteReadyHandler.java:65) 	at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:93) 	at org.xnio.nio.WorkerThread.run(WorkerThread.java:539)
A change was made -- in the line of an earlier commit -- to actually handle such exceptions in AbstractFramedChannel#flushSenders. Hopefully this will then close the channel and prevent an infinite loop.
The underlying root cause could not be determined. The problem can not be reproduced at will.

1.2.x is no longer maintained. Is it possible to reproduce this error on 1.4.x (there has been a lot of changes to this code since 1.2)?
In general that method should not be throwing an exception (except IOException), I would rather deal with the underlying issue if possible.

I agree that the underlying cause should be understood and dealt with. However this is clearly a concurrency problem of difficult reproduction on a complex system such as Wildfly, which we are using.
You committed a similar fix back in 2015 in Fix potential infinite loop in AbstractFramedChannel which applied the exact same workaround and unfortunately apparently addressed only one part of the same problem.
We will be migrating away from Wildfly 8 in a couple of months. Only then we'll see if the problem is still present in later versions.


latest doc not built

Crate name
fixedstr
Build failure link
https://docs.rs/crate/fixedstr/0.4.6/builds/918813
Additional details
The same Cargo.toml was used except for the version number (0.4.6).  It worked fine for the previous version, 0.4.5

This is also happening with https://docs.rs/crate/safe-proc-macro2/1.0.67/builds/918902

All builds on the latest nightly are failing because https://github.com/rust-lang/rust/pull/116019 was merged before https://github.com/rust-lang/docs.rs/pull/2225 was deployed.
I've pinned the toolchain back to yesterday's nightly and will requeue all the builds that failed today.

All the failed builds should be back in the queue: https://docs.rs/releases/queue

@Nemo157 Thanks for the quick fix 😄


Bug: Can download that don't exist in DB but on filesystem

What happened?
A bug happened!
I'm still able to download a file that is not present in the db (either by a bug or manual db deletion) but still exist in the datasource (e.g. local storage).
Seems like this might be unwanted:

Version
latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)
What browser(s) are you seeing the problem on?
No response
Zipline Logs
No response
Browser Logs
No response
Additional Info
No response

Not a bug, but a feature.


Use preload and cache to process properties

For #4793.

Pull Request Test Coverage Report for Build 2130

28 of 34 (82.35%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 59.939%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

shardingsphere-underlying/shardingsphere-common/src/main/java/org/apache/shardingsphere/underlying/common/properties/common/TypedProperties.java
28
30
93.33%

shardingsphere-underlying/shardingsphere-common/src/main/java/org/apache/shardingsphere/underlying/common/util/StringUtil.java
0
4
0.0%

Totals

Change from base Build 1094:
0.006%

Covered Lines:
12562

Relevant Lines:
20958

💛  - Coveralls


Ctrl+W no longer works for closing the napari window

🐛 Bug
I guess this one probably snuck in during the action manager refactor? If I try Ctrl+W on an open napari window I now get the message:
WARNING: QAction::event: Ambiguous shortcut overload: Ctrl+W
21:43:18 WARNING QAction::event: Ambiguous shortcut overload: Ctrl+W

and nothing happens.

This is on Linux, haven't yet tested on macOS

I just checked on my mac, and it closes with Ctrl+W.

I introduced this with the work on https://github.com/napari/napari/pull/2397
Will add a fix :)


TypeScript support?

Could you write *.d.ts files to support typescript features?
Looking forward to it.

Is there any new update for typescript ?


broken links

Hi, thanks for the work,
i was reading the documentation at examples/express-react-relying-party/README.md and i found out that the links that point to:

https://github.com/italia/spid-cie-oidc-django/examples/federation
https://github.com/italia/spid-cie-oidc-django/examples/provider

both lead to a 404 github page, i assume it's a broken link.
Thank you

try with

https://github.com/italia/spid-cie-oidc-django/tree/main/examples/federation_authority
https://github.com/italia/spid-cie-oidc-django/tree/main/examples/provider

the links should be updated following this
https://github.com/italia/spid-cie-oidc-django/tree/main/examples
could you please do a PR to get this result?

Thank you for the fast responses


Disposed drawable can get a FocusLostEvent if removed while focused

Discovered when working on https://github.com/ppy/osu-framework/pull/5150#discussion_r863843183, when moving things from unbindInput() to OnFocusLost() and Dispose().
Another way to put it: InputManager.FocusedDrawable can hold a disposed drawable.
Since focus is only updated when input manger updates, the disposed and focused drawable gets unfocused in unfocusIfNoLongerValid() and receives the focus loss event.
Lowering the update rate in the test will increase the failure rate.
Failure from the test below:
2022-05-04 19:51:23 [verbose]: 🔸 Step #20 click
2022-05-04 19:51:23 [debug]: ClickEvent(Left) handled by textbox 3(BasicTextBox).
2022-05-04 19:51:23 [debug]: Focus changed from nothing to textbox 3(BasicTextBox).
2022-05-04 19:51:23 [debug]: MouseClick handled by textbox 3(BasicTextBox).
2022-05-04 19:51:23 [verbose]: 🔸 Step #21 textbox focused
2022-05-04 19:51:23 [verbose]: 🔸 Step #22 clear and dispose children
2022-05-04 19:51:23 [debug]: Focus on "textbox 3(BasicTextBox)" no longer valid as a result of unfocusIfNoLongerValid.
2022-05-04 19:52:45 [error]: An unhandled error has occurred.
2022-05-04 19:52:45 [error]: NUnit.Framework.AssertionException: textbox "textbox 3" disposed:
2022-05-04 19:52:45 [error]: at osu.Framework.Logging.ThrowingTraceListener.Fail(String message1, String message2) in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Logging\ThrowingTraceListener.cs:line 25
2022-05-04 19:52:45 [error]: at System.Diagnostics.TraceInternal.Fail(String message, String detailMessage)
2022-05-04 19:52:45 [error]: at System.Diagnostics.TraceInternal.TraceProvider.Fail(String message, String detailMessage)
2022-05-04 19:52:45 [error]: at System.Diagnostics.Debug.Fail(String message, String detailMessage)
2022-05-04 19:52:45 [error]: at System.Diagnostics.Debug.Assert(Boolean condition, String message)
2022-05-04 19:52:45 [error]: at osu.Framework.Graphics.UserInterface.TextBox.OnFocusLost(FocusLostEvent e) in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Graphics\UserInterface\TextBox.cs:line 1193
2022-05-04 19:52:45 [error]: at osu.Framework.Graphics.UserInterface.BasicTextBox.OnFocusLost(FocusLostEvent e) in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Graphics\UserInterface\BasicTextBox.cs:line 80
2022-05-04 19:52:45 [error]: at osu.Framework.Graphics.Drawable.TriggerEvent(UIEvent e) in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Graphics\Drawable.cs:line 2013
2022-05-04 19:52:45 [error]: at osu.Framework.Input.InputManager.ChangeFocus(Drawable potentialFocusTarget, InputState state) in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Input\InputManager.cs:line 397
2022-05-04 19:52:45 [error]: at osu.Framework.Input.InputManager.ChangeFocus(Drawable potentialFocusTarget) in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Input\InputManager.cs:line 371
2022-05-04 19:52:45 [error]: at osu.Framework.Input.InputManager.unfocusIfNoLongerValid() in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Input\InputManager.cs:line 913
2022-05-04 19:52:45 [error]: at osu.Framework.Input.InputManager.Update() in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Input\InputManager.cs:line 433
2022-05-04 19:52:45 [error]: at osu.Framework.Input.PassThroughInputManager.Update() in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Input\PassThroughInputManager.cs:line 143
2022-05-04 19:52:45 [error]: at osu.Framework.Graphics.Drawable.UpdateSubTree() in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Graphics\Drawable.cs:line 483
2022-05-04 19:52:45 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree() in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Graphics\Containers\CompositeDrawable.cs:line 899
2022-05-04 19:52:45 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.updateChild(Drawable c) in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Graphics\Containers\CompositeDrawable.cs:line 945
2022-05-04 19:52:45 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree() in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Graphics\Containers\CompositeDrawable.cs:line 926
2022-05-04 19:52:45 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.updateChild(Drawable c) in C:\Users\Mateo\code\git\osu-framework\osu.Framework\Graphics\Containers\CompositeDrawable.cs:line 945
...

// Copyright (c) ppy Pty Ltd<EMAIL_ADDRESS>Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using NUnit.Framework;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Testing;
using osuTK;
using osuTK.Input;

namespace osu.Framework.Tests.Visual.Drawables
{
    public class TestSceneDisposedFocus : ManualInputManagerTestScene
    {
        [TestCase(1)]
        [TestCase(2)]
        [TestCase(3)]
        [TestCase(4)]
        public void TestDisposedFocus(int i)
        {
            AddStep("set text box", () => Child = new BasicTextBox
            {
                Name = $"textbox {i}",
                Size = new Vector2(200, 20),
            });

            AddStep("move mouse to", () => InputManager.MoveMouseTo(Child));
            AddStep("click", () => InputManager.Click(MouseButton.Left));
            AddAssert("textbox focused", () => Child.HasFocus);
            AddStep("clear and dispose children", () => Clear(true));
        }
    }
}

diff --git a/osu.Framework/Graphics/UserInterface/TextBox.cs b/osu.Framework/Graphics/UserInterface/TextBox.cs
index f74595d31..9cc9925e1 100644
--- a/osu.Framework/Graphics/UserInterface/TextBox.cs
+++ b/osu.Framework/Graphics/UserInterface/TextBox.cs
@@ -1187,6 +1187,8 @@ protected override void OnMouseUp(MouseUpEvent e)

         protected override void OnFocusLost(FocusLostEvent e)
         {
+            Debug.Assert(!IsDisposed, $"textbox \"{Name}\" disposed");
+
             // let's say that a focus loss is not a user event as focus is commonly indirectly lost.
             FinalizeImeComposition(false);

I believe going by what's covered for input events, focus loss events should not be triggered on disposed drawables (by just not raising that in InputManager). If the drawable needs to perform finalisation steps at that point, then it should do that on disposal instead.

Sounds dangerous, I suppose this also means that Drawables which are no longer in the hierarchy but not necessarily disposed retain focus?

Removed drawables retain focus until InputManager updates and unfocusIfNoLongerValid() is called. I guess this is fine?
Should the focus be immediately lost when removed? This will probably fix the dispose problem, as disposal happens after drawables are removed.

Hmm... Broadly speaking I'd say that's an expectation of any input event, not just focus. We'd need to see how other UI systems (browsers in specific) handle this scenario - do they e.g. invoke OnKeyUp() if an object is removed from the DOM?

As far as I researched, in DOM, removed elements don't get blur or keyup events.
More generally, a blur event is not dispatched if the old focused element is no longer focusable.
unfocusing steps:

If old focus target is not a focusable area, then return.
...
... run the focus update steps with old chain, an empty list, and null respectively.

For example, if an input element is disabled while having a focus, the focus is gone but no blur event is dispatched to the element. Not sure this behavior is desirable for osu!framework.
Another thing to consider is that osu!framework directly trigger FocusEvent to the node https://github.com/ppy/osu-framework/blob/a379f77079502a8ccf3cf80832350fa88f5e987e/osu.Framework/Input/InputManager.cs#L409
But in browsers, dispatching an event is always subject to the capturing behavior so the event "descends" from the root, at least semantically.

Hmm, so what would happen if they were to be added back and held states relating to the "down" input event? The document doesn't seem to touch upon that. Should they then get "up" events?
In principle I don't disagree with not propagating "up" events to removed drawables.

Do drawables already get a notification when they are removed? Or put another way, are we talking about being removed from a direct parent or potentially in a nested scenario (which is a case we've had to work around many times already).
If the latter, it would be hard to reset state..

It would have to be the potentially nested scenario. We have a parent invalidation so we could use some cached layout value to tell if it's rooted, and I wouldn't expect this to be too expensive.


Update README.md

Tiny little change to set off a build in vercel.. I think your project is really awesome, would you be williing to collaborate to make it accessible easily on https://vercel.com? I get this issue when I try to build the project there off master:
This is now-sapper, your Vercel builder. Turns out we couldn't find your server instance. Did you write module.exports = app?
Read the docs or create an issue: https://github.com/thgh/now-sapper
I think you already have a great project, but it you make it push button deployable, you may accelerate your progress exponentially. Let me know what you think, really great work dude!

That was a lot of appreciation :) . Thank you so much. I will try to find out a way for push button deployment to vercel.

You're a gentleman, I'm sure you need to have the put in a dummy ecommerce
account that would be used when deploying, one hack would be to create a
main branch that would be taken by vercel directly, so that you can keep
master branch pristine:
https://vercel.com/docs/git-integrations#production-branch
Then any changes you make would also automagically trigger a build. The
really nice thing I didn't expect is that you could have any run of the
mill domain name on google domains, redirect it to your sapper project url,
and it will silently resolve it into a composite DNS name... so painless
and really unexpected:
[image: image.png]
These resolved to:
https://sapper.seanogor.vercel.app
When I redirect from seanogor.com to the this URL and enabled SSL options!
Furthermore, it rebuilds on every commit to the main branch after that so
you are always aware how you're changes are looking in production when you
make small tweats!
People deserve appreciation when they share this much effort and expertise!!
Look forward to your questions, if you end up doing a Proof of concept,
happy to be the guinea pig!
On Tue, Sep 22, 2020 at 7:15 AM Swadesh Behera<EMAIL_ADDRESS>wrote:

That was a lot of appreciation :) . Thank you so much. I will try to find
out a way for push button deployment to vercel.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/itswadesh/sapper-ecommerce/pull/14#issuecomment-696528793,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB74KG7CAS4DU5G34WRF4IDSHA6HFANCNFSM4RVLRPFA
.

Thanks Seanogor, for the idea towards improving the project. The setback right now is the demo hopyshopy.com is created with backend on litekart ecommerce which does not yet support multi store concept.
Never explored Magento.
Shopify is charging for everything
Moltin is not accepting new free accounts any more
Swell does not have a free account option.
Still trying to explore how to implement the idea you just projected. I am sure once implemented this project will definitely attract some big players.

You got it.. these pay walls for POCs are madness, I've a mate or 2 working
at shopify, let me see if I can hook you up.
Will get back to you!
On Tue 22 Sep 2020, 15:40 Swadesh Behera<EMAIL_ADDRESS>wrote:

Thanks Seanogor, for the idea towards improving the project. The setback
right now is the demo hopyshopy.com is created with backend on litekart
ecommerce which does not yet support multi store concept.
Never explored Magento.
Shopify is charging for everything
Moltin is not accepting new free accounts any more
Swell does not have a free account option.
Still trying to explore how to implement the idea you just projected. I am
sure once implemented this project will definitely attract some big players.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/itswadesh/sapper-ecommerce/pull/14#issuecomment-696766335,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB74KGY5XX4IMW6KLSS3ERTSHCZPPANCNFSM4RVLRPFA
.


Change default lib name to link on Windows

On PostgresSQL's official download page here:
https://www.postgresql.org/download/windows/
There are two variants: EnterpriseDB and BigSQL
I tested both on my computer.
In EnterpriseDB's zip archive, there is no pq.lib but a libpq.lib.
There is no client library included in BigSQL's package.
So I think libpq.lib should be the default lib name to link.
Related issues:
https://github.com/sgrif/pq-sys/issues/3
https://github.com/diesel-rs/diesel/issues/487
Thanks.

I think the more correct term would be, change default linking flags on Windows. With gcc and clang, the library name is retrieved by adding a "lib" prefix and ".a" suffix to the linking flag, so all that changes is just the flag, not the library name.


feat: store result of each benchmark run in a separated JSON file

Instead of storing the results of multiple benchmark runs in one single JSON file, the app now stores the result of each run in a separated JSON file in the results directory.
This should resolve #617 where an existing file is overwritten when failed to parse.
This is also needed to simplify the process of uploading the benchmark result to a server, and also retrieving it from the server for listing and filtering purpose (as in https://github.com/mlcommons/mobile_app_open/issues/490).

as far as I can remember, in the submission documentation, we kinda specified that there is a results.json which should be pulled from the device and included in submission documents.
@freedomtan to check if we should modify submission documentations

the doc I mentioned, https://github.com/mlcommons/mobile_open/blob/main/rules/submissionRuleV2_0.adoc
It would be better, if we can have a copy of latest results in result.json.

Thanks for the link. I updated the PR to have a copy of the latest result file always named as result.json.


feat request: local schemas for $ref

Not sure if this is possible, but we use private repos and I sort of need to create a subschema. Is it possible to add the ability to call a relative path using $ref?
alternatively, is there any way to do something similar to patternProperties but only covers the key and all properties under that object would still be auto detected?
We have two helm charts which uses an object instead of a list of objects for things and it comes with an example like so:
widgets:
  # so users see the full example or takes advantage of global and add their own key
  # except this has like 30 keys so I don't really feel like filling out the whole thing in a single annotation
  defaultWidget:
    enabled: false
    foo: value

Another, similar use case where this would be useful:
Defining default values in one dict, while having instances override only specific fields in another dict - merging both together when accessing values.
# -- Default namspace settings for all namespace not setting other values
namespaceDefaults:
  rbac:
    admin:
      # -- Groups to add as admins
      groups: ["cluster-admins"]
    user:
      # - Groups to add as users
      groups: []
  quotas:
    # -- Max allowed storage
    storage: 10Gi

# @schema
# childTypePointer: /namespaceDefaults
# @schema
# -- List of namespaces to manage
# see namespaceDefaults for possible values
namespaces:
  ns1:
    admin:
      groups: ["cluster-admins", "app-admins"]
  ns2:
    storage: 100Gi
  ns3: {}

# childTypePointer: /namespaceDefaults could be a JSON Pointer: "a string syntax for identifying a specific value within a JavaScript Object Notation (JSON) document" to select the schema to reuse;

childTypePointer could apply the type to all children in the array / dictionary that is annotated by this;

typePointer could apply the referenced type to the annotated property itself, instead of its children

Would (should) also work well with something like patternProperties or if/else

This would also work for a slightly adapted pattern of the example above which we're using:
# @schema
# additionalProperties: true
# @schema
namespaceTypes:
  # -- Default config for namspace settings for all namespace not setting other values
  default:
    rbac:
      admin:
        # -- Groups to add as admins
        groups: ["cluster-admins"]
      user:
        # - Groups to add as users
        groups: []
    quotas:
      # -- Max allowed storage
      storage: 100Gi
  # @schema
  # childTypePointer: /namespaceDefaults/default
  # @schema
  # -- System config for development namespace
  dev:
    rbac:
      admin:
        # -- Groups to add as admins
        groups: ["cluster-admins", "developer"]
      user:
        # - Groups to add as users
        groups: [""]
    quotas:
      # -- Max allowed storage
      storage: 10Gi

# if dev base config wouldn't directly reference default anyways,
# we could use
# @schema
# childTypePointer: /namespaceDefaults/default
# @schema
# -- List of namespaces to manage
# see namespaceDefaults for possible values
namespaces:
  ns1:
    # -- Use a different type then the default `default` one
    type: user
    admin:
      groups: ["cluster-admins", "app-admins"]
  ns2:
    storage: 100Gi
  ns3: {}

It's basically the same, with a small difference: since namespaces in namespaces can define type to choose a different base config than default, the type of /namespaces/ns1 would extend /namespaceDefaults/default

Obvious difficulties I can imagine with such a solution:

does the schema itself support such references, or would this require some copying around during rendering the output?
how to handle cycles in the graph?
even if it's not cyclic - could a wrong / too deeply nested chain unexpectedly blow up the output size?
could this work together with $ref to select a type defined in another schema?
would childTypeRelativePointer and typeRelativePointer be beneficial as well?
I thought of pointers because I just saw them being a recognized json schema string format
we could also think about other methods as well besides pointers. Using more of a query syntax (jsonpath, jq, jmes), we could dynamically generate the type we want to extend from

definitely sounds a bit too scary and unpredictable for a spec tool, at least on a first glance
but also fun; maybe there are legitimate use cases here? (can't think of any right now...)


Onedrive for business

Hi, while i was working with onedrive for business account to gain access and use the api, then i ran into a problem.

Here are the code and traceback. I have been reading it for a while now, but all i understood is that api.office.com is having a connection issue.
Could i get some help? Thanks in advance for your time!

It means it couldn't connect to the Office API. Make sure you have a working internet connection and DNS.

Thank you for the reply!
However, I am very sure that I had a working internet connection when I was running the program. I am not sure what you mean by DNS though. (The link to the office API (discovery URI) was from the example from this GitHub readme page. Also, the "https://api.office.com" was not reachable when I tried to connect to it.)

Sad news: Our beloved repo is becoming discontinued.
https://devblogs.microsoft.com/microsoft365dev/outlook-rest-api-v2-0-deprecation-notice/
It sounds like you'll have to manually work with the API using the requests library.

Sorry for the late reply. So does that mean I cannot use the OneDrive for business example code as it uses the outlook rest API v2.0 and thus I need to use requests library somehow(idk how to use them yet) to replace the soon-to-be-deprecated rest API?

This library will no longer work (the code will probably stay there) for business, and possibly stop working for personal.
All the library did was talk to the API for you, and you can directly talk to the API using the requests library.
This updated version may/may not work.

Hi, have you solved this problem connecting to OneDrive for business?

This SDK is abandoned.

Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #209 for more information


When using R.image the tintColor property of UIView does not work, version 7.5.0

I would like to get clarification from you. Do I understand correctly that previously you had the “withRenderingMode(_:)” method built into the library itself and therefore the image resources were recolored by assigning a color through the tintColor property, but in the new version of the library this method is not called by default for image resources?

No, R.swift never had withRenderingMode built-in.
This is a method on UIImage that you can call on an image returned from R.swift

Thank you for an answer!


WIP: New Provision Part 4: Updates to some views

[x] New unified select other device
[x] New unified public name
[ ] New unified enter paper key
[ ] Update font here and on code page

@cecileboucheron set public name is also updated

@cecileboucheron paperkey page is up now

Let's use the small list item - 40px high on desktop, 48 on mobile, and using 32px icons (specs in styleguide)
Troubleshooting box should be within the list, so not visible at first if you have a long list of devices
"Troubleshooting" label should be BodySmallSemibold
"If you have" text below should be BodySemibold
That may be a separate PR but it would be nice if the Back button from the step after was taking back to this list
Input text in Type your paper key screen should be use the Header styles: 16px semibold, just like for the secret key one
Name of the paper key above should be Header (we could use the Name with icon thing here)
Add some spacing between it and the input on desktop.

the back button cant' work that way due to issues w/ the daemon, so thats not changing anytime soon

@cecileboucheron updated ptal

Left/right edges of troubleshooting box should be left-aligned with list
Reset your account link should be semibold too and underlined on hover
Paper key input should be using Source code pro font (the rest of the styles stay)
Still missing some gap on desktop on this page between the paper key name and the input

@cecileboucheron fixed your stuff

@cjb can't repro the back button thing. works for me provisioning and being provisioned

Doing the font now


Closes #2109 ADPP template program has x and y variables

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done! Much love to your accomplishment!

Could you add an item to NEWS.md?

Updated NEWS.md, thanks!

LGTM once NEWS.md is updated as well.

Updated NEWS.md, thanks!

Since this is a bit of a "bug" - I think we should ship it out with the patch branch.  What do others think?

Since this is a bit of a "bug" - I think we should ship it out with the patch branch. What do others think?

Sounds good.


Reduce CPU cost of grpc_call creation

Benchmark: bm_call_create.cc BM_IsolatedCall_NoOp
Dashboard: https://performance-dot-grpc-testing.appspot.com/explore?dashboard=5740240702537728
cpu_time at bug creation: 681ns
target: 300ns
Ideas:

reduce call size
eliminate mutex initialization

Just ran BM_IsolatedCall_NoOp, and it's showing a CPU time of 349ns

Closing because BM_IsolatedCall_NoOp currently shows CPU time is ~349ns (plus or minus some noise) and that seems close enough to 300ns. Moreover, the target of 300ns seems to have been chosen arbitrarily.


Hide navigation bar

is there a way to hide the navigation bar in a ModelPages view? The navigationBarHidden modifier doesn't seem to work

Same for me here, did you find a solution @michaeljajou ?


[T5A1][W09-A1] Johann Wong Jun Guo

Added more user stories
Added a 'Rename tag' use case
Added more NFRs

Reviewed in tutorial

Accepting this PR without a review because, either

we already review this PR during tutorial.
another of your PRs for this tutorial was reviewed in detail.
minimally reviewed and found no important issue.


Use libsos for serialization.

This PR contains the following:

Use sos for serialization.
MSON Serialization
MSON Sourcemap Serialization

We don't need separate SerializeJSON.cc and SerializeYAML.cc anymore. Serialization objects will be built in SerializeAST.cc and SerializeSourcemap.cc and then will be serialized into a format by the respective serializers sosJSON.h and sosYAML.h.

Will be rebased and opened again.


syntax error, unexpected $undefined near '@_to RETURN obj

I don't know if this is intended, but when a bind var name starts with an underscore _ in a cursor query, I get the following error:
{
    "code": 400,
    "error": true,
    "errorMessage": "syntax error, unexpected $undefined near '@_to RETURN obj' at position 1:45 (while parsing)",
    "errorNum": 1501
}

my query looks like this:
curl http://localhost:8529/_db/default/_api/cursor -d '{"query": "FOR obj IN @@collection FILTER obj.`_to` == @_to RETURN obj", "bindVars": {"@collection": "describes", "_to": "SemanticRoot/23122170121"}}'

Looks like the bind parameter name starting with an underscore (_) is causing the parse error.
The flex rule for matching bind parameters currently is:
@@?[a-zA-Z0-9][a-zA-Z0-9_]*

Changing the parameter name from @_to to @to should thus work.
I'll look into whether the rule can be adjusted so leading underscores will work, too.

Changed in 2.5.2 and devel.

wow! I am very impressed...


uds-gateway filepath should be configurable

Mentioned in https://github.com/n0-computer/iroh/pull/485#issuecomment-1311289029:

I don't particularly like that you're opening a TempDir in there. Not sure what the uds-gateway is, but opening a directory somewhere on the users machine should be made explicit to the user of the library, by letting them provide the path to said directory!

I agree with this. Personally I'm fine with defaulting to a temporary directory, and think the thing we need to provide is a mechanism to override the default with a user-provided path

The file path is configurable in the config file. See eg: https://github.com/capyloon/iroh/blob/capyloon/iroh-one/config-gonk.toml#L3


Fix ssl handshake error with mysql server 8.0.34+

fix https://github.com/long2ice/asyncmy/issues/80

@long2ice Current version of asyncmy is completely unusable with mysql server newer than v8.0.30 when secure transport is required. This pull request attempts to fix it. Could you please consider taking a review and resolve this problem? Any feedback would be greatly appreciated.

@long2ice Bump :)

@long2ice Changelog updated.

it would be really great if this could be resolved


Issues with the Installer

Great work on the installer. Here are some things that still need adjustments:

Currently it doesn't load the plugin in Minecraft environment. I added a field Constants.IS_MINECRAFT that will be true when we're in the Minecraft environment, you can use it to detect and load the plugin. (If importing the PluginLoader package cause problems please let me know)

There are no output. Please add some user feedback for successful installation or errors (you can color your output with Minecraft color codes (image below)

Currently we can't make use of multithreaded installs because we are installing one plugin at a time. Please allow multiple plugins to be downloaded at once. You can set .nargs("+") on the argument parser to take in a list of strings.
Normally, a package manager would first resolve all the necessary dependencies and first compile a list of packages to install, then download them with multithreading to a temporary location, and finally install them by moving everything to the correct places. Doing this both allows for multithreading and avoids the potential issue that the installation might fail halfway.

Minecraft Color codes

I've created a new branch patch-install, we can work there

Unless you want to make a ton of threads at the same time, you probably want to use a queue or priority queue for the threads


debian source package

I had no luck finding the source packages in http://repos.sensuapp.org/. Maybe it is just a configuration issue. I wood be verry gratefull having access to it.

Unfortunately source packages are not available. If you wish to build your own packages, please have a look to the https://github.com/sensu/uchiwa-build cookbook.


jskeus: 1.2.1-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository jskeus to 1.2.1-1:

upstream repository: https://github.com/euslisp/jskeus
release repository: https://github.com/tork-a/jskeus-release.git
distro file: melodic/distribution.yaml
bloom version: 0.7.2
previous version for package: 1.2.1-0

jskeus
* .travis-osx.sh: need install make by brew (#535 <https://github.com/euslisp/jskeus/issues/535>)
* try to run more irt tests on arm machine (#533 <https://github.com/euslisp/jskeus/issues/533>)
  * ubuntu_arm64:trusty takes more than 50 min, so skip irteus-demo.l
  * irteus/nr.c: check rv1/w/f + anorm == anorm with eusfloat_t type
  * irteus/{irtc.c,nr.c}: use double for nr codes
  * irteus/irtutil.l interpolator :pass-time : calculate segment-time from time minus previous time-list, (incf segment-time dt) accumulate errors, specially 32bit machine
  * irteus/test/test-irt-motion.l: run all test with compiled code
  * irteus/test/geo.l: (body+ c1 b d1 c2 d2 c3 d3 c4 d4) could not pass the test on arm 32bit, use truncated version
  * irteus/test/geo.l somehow both 32/64 arm architecture needs to return #f(0 0 0) for small normalized vectors
  * irteus/test/mathtest.l: 9.656790+06 is too large for 32bit machine
  * irteus/test/mathtest.l: add test for pseudo-inverse2 to check if svdcmp failed to converge
  * irteus/test/test-pointcloud.l To test test-pointcloud.l with compiled code requires https://github.com/euslisp/EusLisp/pull/357
* [irtmodel.l]fix bug of :angle-vector for multi-dof joint (#532 <https://github.com/euslisp/jskeus/issues/532>)
  * add test code to check bug of :angle-vector for multi-dof joint #529 <https://github.com/euslisp/jskeus/issues/529>
  * add more test on min-max-joint-table (#534 <https://github.com/euslisp/jskeus/issues/534>)
* travis.{yml,sh}: set travis to fail when gcc outputs compile warnings (`#527 <https://github.com/euslisp/jskeus/issues/527>`_e)
* [irteus/irtviewer.l] support changing floor color. (#528 <https://github.com/euslisp/jskeus/issues/528> from mmurooka/floor-color
  * [jskeus/doc] add irtviewer.tex and figures for irtviewer manual.
  * [irteus/irtviewer.l] add :draw-origin, :draw-floor, and :floor-color.
  * [irteus/irtviewer.l] support changing floor color.
* remove all compile warning (#526 <https://github.com/euslisp/jskeus/issues/526>)
  * add -DLinux to Makefile.LinuxARM
  * enable debian_arm64:stretch
  * add WFLAGS to Makefile
  * remove all compile warning for eus0
* .travis.yml: add debian:stretch test (#525 <https://github.com/euslisp/jskeus/issues/525>)
  * Fix the compile on Debian stretch. #524 <https://github.com/euslisp/jskeus/issues/524>
  * set debian_arm64:stretch allow_failures
  * Fix the compile on Debian stretch.Must like the comment above says, gcc 6 on Debian
  Stretch doesn't like redefining sin, cos, etc and throws
  an error.  Fix this problem by not redefining on Debian Stretch.
* [irtrobot.l] check if target coords is function or coordinates, also work if target coords is list of functions. (#503 <https://github.com/euslisp/jskeus/issues/503>)
  * [irteus/irtmodel.l] Add :xm :ym :zm comment for rotation-axis keyword-argument.
  * [irtrobot.l] allow to use both list and atom of function(s) for target-coords, Fixed #476 <https://github.com/euslisp/jskeus/issues/476>
* add test with compiled lisp (#522 <https://github.com/euslisp/jskeus/issues/522>)
  * .travis.sh: add compiled test
  * remove do-until-key x/10 message, debug (print r) code
  * test/robot-model-usage.l : reduce output message for travis
  * test/irteus-demo.l : reduce output message for travis
  * test/irteus-demo.l: use debug-veiw nil to reduce output message
  * test/full-body-ik.l: add debug-view option
  * test/geo.l: test-body+ test-vector-angle needs irteus to avoid 'outer circuit not found' and 'undefined function c-isnan
  * test/matrix.l  : c-isnan test, disable test-matrix-concatenate-noargs,test-matrix-concatenate-single-matrix,test-matrix-concatenate-multiple-matrices becaues of 'undefined function concatenate-matrix needs irteus
  * test/mathtest.l : diagnoal, minor-matrix, atan2, outer-product-matrix, quaternion, matrix-log, pseudo-inverse, sr-inverse, manipulability, eigen decompose, sv/ql solve, lu-solve2, matrix-determinant, qr/ql-decompose needs irteus
  * test/coords.l : test-makecoords-quaternion needs quaternion2matrix defined in irteus
  * remove test codes which are moved to EusLisp https://github.com/euslisp/EusLisp/pull/316
  * add test with compiled lisp
  * re-define method within defun is not working with compiled code (#523 <https://github.com/euslisp/jskeus/issues/523>)do not run test code on compile, but run when load
* fix for osx and newer compiler (gcc >= 7 OR clang >=9) (#520 <https://github.com/euslisp/jskeus/issues/520>)
  * disable DISPLAY for osx
  * gcc >= 7 OR clang >=9 dislike redefinition of sqrt/cos/fin/fabs ...
  * Disable redefinition of sqrt/cos/... to avoid some errors on macOS
  * fix osx travisremove homebrew/x11, which is deprecated

  do not run brew update, because brew update compile all module from source and it takes more than 1 hour

  copy setup process from euslisp/.travis-os.sh

  do not install x11 server

  export LIBGL_ALLOW_SOFTWARE=1 suggested by https://api.travis-ci.org/v3/job/403422947/log.txt

  make -j with 2

  add exit 0 end of .travis-osx.sh

  run as script, instead of source
* [doc] Add example when IK target-coords function introduced in #514 <https://github.com/euslisp/jskeus/issues/514> (#518 <https://github.com/euslisp/jskeus/issues/518>)
  * Add sample of ik using functional target-coords
* Contributors: Chris Lalancette, Guilherme Affonso, Kei Okada, Kentaro Wada, Masaki Murooka, Naoki Hiraoka, Iori Yanokura

Just curious, what changed between 1.2.1-0 and 1.2.1-1? Also I see this was released with
/usr/bin/bloom-release -y --skip-pip jskeus --track melodic --rosdistro melodic

But I don't see the --skip-pip option in bloom. Is this a custom version of bloom? What does that option do?

we have some regression on latest catkin and fixed on release repository since the jskeus package is non-catkin package and we add CMakeLists.txt and package.xml as a patch from release repository. https://github.com/tork-a/euslisp-release/issues/16
--skip-pip is proposed in https://github.com/ros-infrastructure/bloom/pull/412, sometimes our package depends on pip-installed library and we do not want to remove them for those who actively develop on the source tree, but at the same me time we want to release as deb package for everyone. The jskeus do not uses pip, but I always add these options when I run bloom


⚠ Fortnite has degraded performance

In 3e9cc40, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1652 ms

Resolved: Fortnite performance has improved in d8ce592.


Security: Replace package cpx

Replace package cpx with copyfiles due to security
vulnerability.

Coverage remained the same at 40.876% when pulling 9ae59115913cf040596b46fad4b4f3403f048196 on security/cpx into 2a3e159a03609a3535a66d4ce07a637ad9a5bec4 on master.


AuthenticationService.java line 43 - Double call to the database

You can retrieve the user details from the authentication object instead of making another call to the database:
Authentication authentication = authenticationManager.authenticate(
                new UsernamePasswordAuthenticationToken(
                        request.getUsernameOrEmail(),
                        request.getPassword()
                )
        );
var user = (User) authentication.getPrincipal();
var jwtToken = jwtService.generateJwt(user);

I also just discovered this. Guessing it is not intended?

yes that's true.
As I mentioned, it is just a sample project to show how to implement JWT security with Spring boot


Translating 'marketing folder'

Hi there,
This is my first contribution to the React project and I'm excited about it!
I will be translating in Arabic, I started with the Marketing content on the homepage, to see how the process goes. but later more contribution will be submitted !

Great job! This is an amazing first contribution!
Thanks Faisal 🙏


Fix #600

Unfortunately we can't make Sized a case class because we have a custom apply and unapplySeq which conflict with the ones provided as case class defaults.


fix 'Request hook added multiple times when using filter rule ' (close #2650)

@AndreyBelym

@testcafe-build-bot retest

@testcafe-build-bot retest

Travis tasks are green. But comment is red. If same situation will repeat then it needs to investigate.


Pod CPU resource limits result in CPU capping, not in CPU shares changes

Hi,
as per current k8s doc, setting containers CPU limits translates to setting docker --cpu-shares option (http://kubernetes.io/docs/user-guide/compute-resources/):
The spec.container[].resources.limits.cpu is multiplied by 1024, converted to an integer, and used as the value of the --cpu-shares flag to the docker run command.
However, I have just verified that this is no longer the case.
I have created a CPU bound container which tries to burn 4 CPUs in k8s 1.2.4, with the following CPU requests and limits:
$ kubectl describe pod stress-c4 | egrep -A1 'Limits|Req'
Limits:
cpu:	2
Requests:
cpu:		1
This translates to a docker container with the following CPU settings:
sudo docker inspect 230cba933305 | grep -i cpu
"CpuShares": 1024,
"CpuPeriod": 100000,
"CpusetCpus": "",
"CpusetMems": "",
"CpuQuota": 200000,
As you can see, CPU shares are not affected, but CPUPeriod and CPUQuota are set. As a result, the container is actually capped at 2 CPUs:
CONTAINER           CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O
230cba933305        200.59%             221.2 kB / 4.072 GB   0.01%               0 B / 0 B           0 B / 0 B
Questions:

Is this the intended behavior? I remember having read some design discussions about this and the consensus seemed to be that containers should not be capped CPU-wise, and the current doc seem to agree with that.
If this is the intended behavior, the doc should be updated to clearly state that setting CPU limits is not translating to CPU shares, but actually result in CPU capping.

Thank you!

Hi,
I have opened this issue against the wrong project I guess, as it is not really heapster related.
Reopening it against kubernetes.


Image description: Myotis evotis 1.jpg

Which image is this for?
Myotis evotis 1.jpg
What is your suggested image description?
A bat against a black background.  Its wings are outspread in flight, and below it is its reflection in water.  The bat's body is golden, and its face, ears, and wings are dark.  Water is dripping from its mouth, showing that it has just dipped into the water for a drink.

Your suggestion has been implemented unaltered. Thanks for contributing so frequently!


Resolve Functions Block for (#8227)

Fixes issue created by #8227 preventing the API docs from rendering.
(Sort Of) Reverts #8274
Explanation:
wrangler pages dev does not always appear to enforce trailing slashes. A small block was added to normalize URLs passed to the API Handler, which inadvertently began adding trailing slashes to every URL that didn't have them, including assets. This PR resolves this issue by automatically removing trailing slashes when required, but only for redirect resolution. URL used for retrieving assets is unmodified.
Apologies to @kodster28 and @ranbel for having to deal with this issue!

Absolutely no worries @helloimalastair, probably should've done a better job testing the api docs rendering myself before merging the first time.


Use controller-runtime signals lib

The signals code in submariner was apparently copied from
somewhere originally. The same code exists in k8s controller-runtime
so use that.
Signed-off-by: Tom Pantelis<EMAIL_ADDRESS>

I wonder why it was copied in the first place

I wonder why it was copied in the first place

I suspect it wasn't in a reusable place like controller-runtime at that time. I also found a copy in the apiserver project which isn't intended for general use - maybe it was copied from there.


apply best-practices to GitHub workflow

also contains https://github.com/voxpupuli/beaker-vagrant/pull/55

@ekohl please take a look again, should be fine now


Loot hotfix for newest patch

Some tab/spaces intermingled here, but nbd, will fix when back to machine.


SSL Configuration in Ubuntu not working

[Enter feedback here]
Hello, I have just opened a Stack Overflow Question because this guide seems not working, you can find it here:
https://dba.stackexchange.com/questions/283384/unable-to-use-ssl-certificates-in-sql-server-on-linux

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

ID: 8029b968-0ef5-a3a0-050f-a0b0189e5984
Version Independent ID: 2ffb6a1e-5672-7742-d685-1d418c24f29c
Content: Encrypting Connections to SQL Server on Linux - SQL Server
Content Source: docs/linux/sql-server-linux-encrypted-connections.md
Product: sql
Technology: linux
GitHub Login: @vin-yu
Microsoft Alias: vinsonyu

@ollie10 -- Vincenzo, thank you for your feedback and your Stack Exchange question.  Please also consider these resources:

SQL Server on Microsoft Q&A
Stack Overflow

@vin-yu -- Vin, please look into this issue.

@ollie10 -- Vincenzo, thank you for your feedback and your Stack Exchange question.  Please also consider these resources:

SQL Server on Microsoft Q&A
Stack Overflow

@vin-yu -- Vin, please look into this issue.

@WilliamAntonRohm I just wrote a Medium post some days ago, I found out that the problem was about permissions:
In your guide, you state to use the 600 permission: https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-encrypted-connections?view=sql-server-ver15
Here they say the 400 permission: https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver15#tls
But in the end, I found out that the only way to make it work was using 700 permission. Somehow is needed the execution permission on the TLS files, could you check is this correct?

@WilliamAntonRohm I just wrote a Medium post some days ago, I found out that the problem was about permissions:
In your guide, you state to use the 600 permission: https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-encrypted-connections?view=sql-server-ver15
Here they say the 400 permission: https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver15#tls
But in the end, I found out that the only way to make it work was using 700 permission. Somehow is needed the execution permission on the TLS files, could you check is this correct?

@ollie10 -- Vincenzo, thank you for your research.  @vin-yu can answer your question.

@ollie10 -- Vincenzo, thank you for your research.  @vin-yu can answer your question.

@amvin87 @tejasaks who work on SQL Server on Linux and containers

@amvin87 @tejasaks who work on SQL Server on Linux and containers

Let me take a look at this one.

Let me take a look at this one.

I will update this thread early next week with more details, but it looks like a permission issue where the private folder within the path /etc/ssl only has root access and mssql user/group is not able to access the private key file. You can use the 'secrets' folder at the path "/var/opt/mssql/" to store the certificate (.pem) and the key (.key) file that you intend to use with SQL Server for SSL encryption.  So your commands can be something like this:
openssl req -x509 -nodes -newkey rsa:2048 -subj '/CN=abc.domain.com' -keyout mssql.key -out mssql.pem -days 365
sudo chown mssql:mssql mssql.pem mssql.key
sudo chmod 600 mssql.pem mssql.key
sudo mv mssql.pem /var/opt/mssql/secrets/
sudo mv mssql.key /var/opt/mssql/secrets/
systemctl stop mssql-server
cat /var/opt/mssql/mssql.conf
sudo /opt/mssql/bin/mssql-conf set network.tlscert /var/opt/mssql/secrets/mssql.pem
sudo /opt/mssql/bin/mssql-conf set network.tlskey /var/opt/mssql/secrets/mssql.key
sudo /opt/mssql/bin/mssql-conf set network.tlsprotocols 1.2
sudo /opt/mssql/bin/mssql-conf set network.forceencryption 0
Let me know if you still face issues in getting the SQL Server started.

I will update this thread early next week with more details, but it looks like a permission issue where the private folder within the path /etc/ssl only has root access and mssql user/group is not able to access the private key file. You can use the 'secrets' folder at the path "/var/opt/mssql/" to store the certificate (.pem) and the key (.key) file that you intend to use with SQL Server for SSL encryption.  So your commands can be something like this:
openssl req -x509 -nodes -newkey rsa:2048 -subj '/CN=abc.domain.com' -keyout mssql.key -out mssql.pem -days 365
sudo chown mssql:mssql mssql.pem mssql.key
sudo chmod 600 mssql.pem mssql.key
sudo mv mssql.pem /var/opt/mssql/secrets/
sudo mv mssql.key /var/opt/mssql/secrets/
systemctl stop mssql-server
cat /var/opt/mssql/mssql.conf
sudo /opt/mssql/bin/mssql-conf set network.tlscert /var/opt/mssql/secrets/mssql.pem
sudo /opt/mssql/bin/mssql-conf set network.tlskey /var/opt/mssql/secrets/mssql.key
sudo /opt/mssql/bin/mssql-conf set network.tlsprotocols 1.2
sudo /opt/mssql/bin/mssql-conf set network.forceencryption 0
Let me know if you still face issues in getting the SQL Server started.

Hello @amvin87 I suppose you are wrong, again y try your suggestion:
I have my certs here: /var/opt/mssql/sslcerts/ I assign full ownership to this folder to sql user and group that's the result:

Meanwhile same procedure with 700 permission:

Hello @amvin87 I suppose you are wrong, again y try your suggestion:
I have my certs here: /var/opt/mssql/sslcerts/ I assign full ownership to this folder to sql user and group that's the result:

Meanwhile same procedure with 700 permission:

can you paste the output to see the permissions on the  sslcerts folder

can you paste the output to see the permissions on the  sslcerts folder

I mean the output to show the permission on the folders sslcerts and mssql, not on the files

I mean the output to show the permission on the folders sslcerts and mssql, not on the files

drwxr-xr-x 2 mssql mssql 4096 Jan 20 08:21 backup
drwxr-xr-x 2 mssql mssql 4096 Jan 20 19:44 data
drwxr-xr-x 2 mssql mssql 4096 Jan 22 16:59 log
-rw-r--r-- 1 mssql mssql  336 Jan 20 09:48 mssql.conf
drwxrwxr-x 2 mssql mssql 4096 Jan 20 08:16 secrets
drwx------ 2 mssql mssql 4096 Jan 20 09:47 sslcerts

drwxr-xr-x 2 mssql mssql 4096 Jan 20 08:21 backup
drwxr-xr-x 2 mssql mssql 4096 Jan 20 19:44 data
drwxr-xr-x 2 mssql mssql 4096 Jan 22 16:59 log
-rw-r--r-- 1 mssql mssql  336 Jan 20 09:48 mssql.conf
drwxrwxr-x 2 mssql mssql 4096 Jan 20 08:16 secrets
drwx------ 2 mssql mssql 4096 Jan 20 09:47 sslcerts

This should work, here are my settings which I tried just now and it works for me. Can you please verify if the below settings for mssql.conf and permissions are matching as shown below

The mssql.conf looks like this :
[sqlagent]
enabled = false
[EULA]
accepteula = Y
[network]
tlscert = /var/opt/mssql/sslcert/mssql.pem
tlskey = /var/opt/mssql/sslcert/mssql.key
tlsprotocols = 1.2
forceencryption = 0
The SQL Server errorlog says the cert is loaded:

This should work, here are my settings which I tried just now and it works for me. Can you please verify if the below settings for mssql.conf and permissions are matching as shown below

The mssql.conf looks like this :
[sqlagent]
enabled = false
[EULA]
accepteula = Y
[network]
tlscert = /var/opt/mssql/sslcert/mssql.pem
tlskey = /var/opt/mssql/sslcert/mssql.key
tlsprotocols = 1.2
forceencryption = 0
The SQL Server errorlog says the cert is loaded:

Yes it works: read,write,execute on the folder to the owner and read,write on the file works. It works also with read only actually, I don't think sql process is writing on those files. So the problem is the execution right on the certs folder it seems

Yes it works: read,write,execute on the folder to the owner and read,write on the file works. It works also with read only actually, I don't think sql process is writing on those files. So the problem is the execution right on the certs folder it seems

happy to know it worked. I will update the documentation by next week. Thank you for your time and efforts on this!

happy to know it worked. I will update the documentation by next week. Thank you for your time and efforts on this!

You are welcome!

(document)[https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-encrypted-connections?view=sql-server-ver15] updated. Closing this issue now.

(document)[https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-encrypted-connections?view=sql-server-ver15] updated. Closing this issue now.


Entry point without TLA for js package

Follow up on #1637
TLDR: tooling for TLA is not there yet; An additional entry point without top-level-await is appropriate

adds ./load entry to js package
uses .js file extensions to prevent requiring allowImportingTsExtensions

uses .js file extensions to prevent requiring allowImportingTsExtensions

We are already doing this in the babel transform during packing.

It looks like the Jest environment didn’t like the extension change.
The model in the repo right now is that when Yoga is published, its package entry point is changed to be written to babel generated JS, along with rewriting imports. But still include original sources as well.

Sorry for my confusion

@bbohlender would you be able to give this a quick mention in the package readme?

@NickGerleman, for sure! Is that, what you had in mind?

That looks great. Thanks for this PR!


WALFlushInterval option is being ignored

I think this line should use it https://github.com/prometheus/tsdb/blob/87c01dd5fbf4f412db8599ed915e2e7c7b7ed591/db.go#L206

Thanks, that is a bug. Would be up for submitting a PR?

Continuing in #159


feat(color): change errorLight add errorHover

errorLight is old errorLight with 0.5 opacity on a white background
errorHover is old errorLight with 0.4 opacity on a white background
more info http://marcodiiga.github.io/rgba-to-rgb-conversion
these colors are used in input component with error status
(cherry picked from commit 4118ad64083ed62990172b3e87f2d88976544dae)

Checklist

[x] Fix linting errors
[x] Tests have been added / updated (or snapshots)

Change information

This change is

:tada: This PR is included in version 1.0.0-alpha.12 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Specific values for Threshold colors in dashboard

Some customers asked to have specific values for threshold color. They need to find in the frontend what are the values to set.
The field is a string, but show it as enum could be nice.

Threshold color can be any color value. I know that you can use named colors, hexadecimal codes and probably even rgb() notation. An enum wouldn't make sense here I think.
As often, it would be useful if the schemas described that for us 🤷

We cannot do anything here since color could be any hexadecimal value.
The only thing that we can do is to add the existing Grafana fixed values.


To discuss: Remove currency functions

Per @trentmc we need to assess the need for all the currency functions we have lying around in Ocean.py. After the brownie refactoring, eth transfers take in a string representing the amount, i.e. "1 ether", "0.4 ether" etc., where we tried to leverage the options brownie gave us, instead of reinventing the wheel.
This made us realize we could maybe remove some or all of the currency adjustments/handling in ocean.py. Let's discuss and implement this if needed.

👍👍 to remove all of the extra code in ocean.py for currency handling


Disable inlining of Scala library methods.

Previously, the Scala compiler was configured to inline all usages of
symbols in under the scala package. This is problematic because it
means that published Kafka jars must run with the exact same version of
the Scala library that the Kafka jar was compiled with.  If the runtime
uses a different version of the Scala library then users risk getting a
crash like this:
java.lang.NoClassDefFoundError: scala/math/Ordering$$anon$7

This commit disables inlining from the scala package to prevent
crashes like this. The downside to this change is it may introduce
performance regressions.
Committer Checklist (excluded from commit message)

[x] Verify design and implementation
[x] Verify test coverage and CI build status
[x] Verify documentation (including upgrade notes)

@olafurpg Thanks for the PR. Can you please elaborate why there are conflicting versions of the Scala library when the core jar is used? The core jar doesn't export a public API and the assumption was that the same Scala library would be used at runtime.

Even if users can't directly reference APIs of the core Kafka jar, the bytecode of the core jar is still evaluated at runtime. With the inliner enabled, the core Kafka jar directly references private anonymous classes from scala-library:2.12.11 that are no longer present in scala-library:2.12.12. For example, assuming you have cs (https://get-coursier.io/) installed, observe that scala/math/Ordering$$anon$7 is referenced here below
❯ javap -cp $(cs fetch org.apache.kafka:kafka_2.12:2.5.1 -p) -v kafka.api.ApiVersion$ | grep Ordering\$\$anon
   #24 = Utf8               scala/math/Ordering$$anon$7
   #25 = Class              #24           // scala/math/Ordering$$anon$7
   #84 = Methodref          #25.#83       // scala/math/Ordering$$anon$7."<init>":(Lscala/math/Ordering;Lscala/Function1;)V
        21: new           #25                 // class scala/math/Ordering$$anon$7
        27: invokespecial #84                 // Method scala/math/Ordering$$anon$7."<init>":(Lscala/math/Ordering;Lscala/Function1;)V
     public final #25; //class scala/math/Ordering$$anon$7

The scala-library:2.12.11 jar defines this anonymous class but it's missing from  scala-library:2.12.12
❯ jar tf $(cs fetch org.scala-lang:scala-library:2.12.11 -p) | grep Ordering\$\$anon
scala/math/Ordering$$anon$1.class
scala/math/Ordering$$anon$10.class
scala/math/Ordering$$anon$11.class
scala/math/Ordering$$anon$12.class
scala/math/Ordering$$anon$13.class
scala/math/Ordering$$anon$14.class
scala/math/Ordering$$anon$15.class
scala/math/Ordering$$anon$16.class
scala/math/Ordering$$anon$17.class
scala/math/Ordering$$anon$18.class
scala/math/Ordering$$anon$19.class
scala/math/Ordering$$anon$2.class
scala/math/Ordering$$anon$6.class
scala/math/Ordering$$anon$7.class
scala/math/Ordering$DoubleOrdering$$anon$9.class
scala/math/Ordering$FloatOrdering$$anon$8.class
scala/math/PartialOrdering$$anon$1.class
❯ jar tf $(cs fetch org.scala-lang:scala-library:2.12.12 -p) | grep Ordering\$\$anon
scala/math/Ordering$$anon$1.class
scala/math/Ordering$$anon$4.class
scala/math/Ordering$$anon$5.class
scala/math/Ordering$$anon$6.class
scala/math/PartialOrdering$$anon$1.class

The related upstream commit appears to be https://github.com/scala/scala/commit/44318c8959b3ce48a44d3c0692e87fa7dfbb8930#diff-3b590b82493a8dbfc177f6113ee07ac4772d666d99fe808c6f6da01227ad1c6d.
My understanding is that the inliner flags are only safe to enable for applications "at the end of the world", not libraries.

To put it differently, enabling the inliner allows Kafka to access private symbols from scala-library.jar. The upstream commit https://github.com/scala/scala/commit/44318c8959b3ce48a44d3c0692e87fa7dfbb8930#diff-3b590b82493a8dbfc177f6113ee07ac4772d666d99fe808c6f6da01227ad1c6d is not a binary breaking change since it only modifies private APIs.

I understand that, the point is that the core jar is not meant to be a library. It has no public APIs. The clients jar is meant to be a library.

To elaborate a bit more, there are two cases where two cases where this can cause problems that I can think of:

If core is used as a library and there is a mismatch between the Scala version used for compilation and runtime.
The broker is deployed in the same process as another application and there is a mismatch between the Scala version used for compilation and runtime.

Neither of those are recommended.
I'm not opposed to changing these settings for now, but I'm also interested in understanding the specifics of why users are doing 1, 2 or something else that is deviating from our expectations.

@ijuma , here is the callstack, and you can see why Kafka core is pulled in from the client side:
java.lang.NoClassDefFoundError: scala/math/Ordering$$anon$7
at kafka.api.ApiVersion$.orderingByVersion(ApiVersion.scala:45)
at kafka.api.ApiVersion.compare(ApiVersion.scala:139)
at kafka.api.ApiVersion.compare$(ApiVersion.scala:138)
at kafka.api.KAFKA_2_5_IV0$.compare(ApiVersion.scala:339)
at kafka.api.KAFKA_2_5_IV0$.compare(ApiVersion.scala:339)
at scala.math.Ordered.$greater$eq(Ordered.scala:91)
at scala.math.Ordered.$greater$eq$(Ordered.scala:91)
at kafka.api.KAFKA_2_5_IV0$.$greater$eq(ApiVersion.scala:339)
at kafka.server.KafkaConfig.(KafkaConfig.scala:1529)
at kafka.server.KafkaConfig.(KafkaConfig.scala:1238)
at org.apache.kafka.streams.integration.utils.KafkaEmbedded.(KafkaEmbedded.java:75)
at org.apache.kafka.streams.integration.utils.EmbeddedKafkaCluster.start(EmbeddedKafkaCluster.java:103)
at com.twitter.finatra.kafka.test.EmbeddedKafka.beforeAll(EmbeddedKafka.scala:61)
at com.twitter.finatra.kafka.test.EmbeddedKafka.beforeAll$(EmbeddedKafka.scala:59)
at com.twitter.finatra.kafkastreams.test.AbstractKafkaStreamsFeatureTest.beforeAll(KafkaStreamsFeatureTest.scala:26)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:212)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at com.twitter.inject.Test.run(Test.scala:28)
at org.scalatestplus.junit.JUnitRunner.run(JUnitRunner.scala:99)

Another related case (https://github.com/akka/alpakka-kafka/pull/1212) is also from using EmbeddedKafka as a library for testing purposes https://github.com/embeddedkafka/embedded-kafka

I see, so it's for tests. Note that KafkaEmbedded is not a public API and no backwards compatibility guarantees are offered. The public APIs are all here:
https://kafka.apache.org/26/javadoc/overview-summary.html
Apache Kafka doesn't offer a test api though (I had started https://cwiki.apache.org/confluence/display/KAFKA/KIP-139%3A+Kafka+TestKit+library, but didn't complete it) so I understand why may go down that path.

@ijuma Thank you for the clarification! I wasn't aware that KafkaEmbedded is not a public API with no compatibility guarantees. I'm gonna close this PR since the current behavior appears to be working as intended.

@olafurpg I think you should keep this open. I think we may want to apply a change along the lines you submitted here given the example you gave. Even though it's relying on internal APIs, there isn't a good supported alternative. Sorry for the delay, I'll take a closer look in the next few days.

Feel free to commandeer this PR if you still think it’s a good idea. I totally understand the reasoning to keep things unchanged so I’m not sure I’m the best person to push this through. I apologize the noise and thank you for all of your help! 🙏

Any update?   Even KafkaEmbedded is internal but we actually used it in many places for our unitest. So we would love to find a good alternative solutions.  (Our current workaround is ugly, as we have to rebuild Kafka core with different scala version).

I think I'll have time to look into this later this week.

@mingaliu @olafurpg I submitted #10174. Please take a look.

Out of curiosity, are you still using Apache Kafka 2.5.x or have you upgraded to something more recent since?


Insertion Sort Program written in C language added

@ekdnam , I have added the insertion sort program in C language.
Hope it meets the requirements of this repository.
Kindly review it and let me know if any change is needed or else kindly merge it with the main branch.

A few errors. You are pushing C code from a C++ branch to a C++ branch, which I will not merge. Master branch is for C++ code. Create a new PR from your Procoder:c to ekdnam:c, with insertion sort added. Make a function for insertion sort rather than declaring it in the main function.


Possible issue with SAML configuration examples?

I've been struggling to get the SAML configuration for elasticsearch working with opendistro 1.1.0 deployed in Docker...  I finally managed to squeeze the below error out of my system.  It implies that in the example:
saml_auth_domain:
    enabled: true
the 'enabled: true' is causing issues...  I don't know if this is a bug in the code or something has changed and the documentation hasn't caught up.
ERR: Seems /usr/share/elasticsearch/plugins/opendistro_security/securityconfig/config.yml is not in Open Distro Security 7 format: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "enabled" (class com.amazon.opendistroforelasticsearch.security.securityconf.impl.v7.ConfigV7$AuthcDomain), not marked as ignorable
(6 known properties: "http_enabled", "transport_enabled", "http_authenticator", "authentication_backend", "order", "description"])
at [Source: {"_meta":{"type":"config","config_version":2},"config":{"dynamic":{"http":{"anonymous_auth_enabled":false,"xff":{"enabled":false,"internalProxies":"192\.168\.0\.10|192\.168\.0\.11"}},"authc":{"basic_internal_auth_domain":{"description":"Authenticate via HTTP Basic against internal users database","http_enabled":true,"transport_enabled":true,"order":0,"http_authenticator":{"type":"basic","challenge":false},"authentication_backend":{"type":"internal"}},"saml_auth_domain":{"enabled":true,"order":1,
<snip>
}}}}}}; line: 1, column: 496] (through reference chain: com.amazon.opendistroforelasticsearch.security.securityconf.impl.SecurityDynamicConfiguration["config"]->com.amazon.opendistroforelasticsearch.security.securityconf.impl.v7.ConfigV7["dynamic"]->com.amazon.opendistroforelasticsearch.security.securityconf.impl.v7.ConfigV7$Dynamic["authc"]->com.amazon.opendistroforelasticsearch.security.securityconf.impl.v7.ConfigV7$Authc["saml_auth_domain"]->com.amazon.opendistroforelasticsearch.security.securityconf.impl.v7.ConfigV7$AuthcDomain["enabled"])

Hi @tcrisall, thanks a bunch for reporting. Try "http_enabled": true,"transport_enabled": true," in place of just "enabled": true. If that works, let me know and I can update the documentation. External auth sources are notoriously hard to test, so it's very possible that something changed under the hood and we didn't catch it.


add country field in profiles table

so speakers can add their country to their current location. This makes it easier for event organizers to search and browse for speakers based in their countries of interest.
It would be great to have a drop down menu where the speakers can choose from. Is there probably a gem that helps doing it and already provides lists of countries in different languages? @tyranja uses something similar for the languages (https://rubygems.org/gems/language_list/versions/1.1.0) so they are searchable (see #264).

add a migration to add the new column
make fields visible in profile edit / show
write tests

Hi, I would like to work on this bug. Could you please help me get started with this?

@n3k00n3 @geisasantos it would be cool if you could solve that issue before we launch the portuguese locale. If you have other plans, let us know and we have to work on this :)

@zaziemo oh yeah! I can do it.

Thanks @n3k00n3 and @geisasantos for the great work! :tada:


False negative in version validation for dependencies.

Originally reported https://github.com/NuGet/Home/issues/6434#issuecomment-468244868 & https://github.com/NuGet/Home/issues/6434#issuecomment-388085545.
Repro:
Create a project like the following.
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <PackageId>TestPackageVersion</PackageId>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Newtonsoft.Json" Version="[10.0.3, 11.0.0-0)" />
  </ItemGroup>

</Project>

Pack it, and everything gets packed correctly.
Try to upload and get  The package manifest contains an invalid Version: '11.0.0-0'
I could repro the same problem on INT.
I'm not sure if it's a regression, but this is definitely a valid version (the official client builds it).
Remove the .zip from the nupkg to get a repro nupkg.
ClassLibrary<IP_ADDRESS>.nupkg.zip
@shishirx34 as I think you are on-call.
//cc @skofman1 @rrelyea
I think this is high pri and should be fixed very soon.
fyi @loic-sharma

Found https://github.com/NuGet/NuGetGallery/blob/5276638fccf406a30f126bf8845dccc75045f0f4/src/NuGetGallery.Core/Packaging/ManifestValidator.cs#L173-L191 and https://github.com/NuGet/NuGetGallery/issues/3226.
This is a problem because it doesn't allow people to exclude all the prerelease versions of a certain major like in the linked issue.

Duplicate of #6948?

Yeah, didn't see the linked issue in the original thread.
I will close this one.


crypto/tls: missing some cipher suite constants

This file has a list of constants for TLS cipher suites:
https://golang.org/src/crypto/tls/cipher_suites.go
The list is incomplete, for example the ChaCha20-Poly1305 ciphers are missing. It would be useful to either (a) complete the list of ciphers and, or (b) document how the list of ciphers is curated.
If (a), there should also be some mechanism to keep the list up-to-date over time.

+1

I think the criteria is simply it includes what the package
supports.

@agl, do you want [somebody else] to document that this is only those supported by the crypto/tls package, or do you want [somebody else] to auto-generate those constants, perhaps with go generate from https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-4 ?

I don't think that we should try to include every constant in that package because of the large number of them. I'll send out a change to document this in a sec.


ODXL does not recognize OData datetime syntax

Currently you can simply pass datetime literal values as strings. But we really ought to support the OData standard syntax, i.e.
datetime'yyyy-mm-dd hh:mi:ss.SSSS'

Hi Roland,
I have the odxl set up in my project, but for some reason the date columns all show "7/9/1905".
I got the sql query using the $format=sql and executed it in the SQL console. There the data results are shown properly. So I guess since the query is correct, the resultSet handling has some problem?
Is there some library file that I should modify to get the date fields as a string?

Interesting.
Could you please make an issue in github? Please include:

a very simple table ddl
insert SQL with a few rows of data to demonstrate the issue
paste of excel output you receieve
paste of excel output you expected.

Thanks in advance,
Roland.
On Mon, Jul 24, 2017 at 11:16 AM, joel-myworld<EMAIL_ADDRESS>wrote:

Hi Roland,
I have the odxl set up in my project, but for some reason the date columns
all show "7/9/1905".
I got the sql query using the $format=sql and executed it in the SQL
console. There the data results are shown properly. So I guess since the
query is correct, the resultSet handling has some problem?
Is there some library file that I should modify to get the date fields as
a string?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/just-bi/odxl/issues/32#issuecomment-317365622, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAngk3esAwEQgH-hBzavtuK3PBy6Di0Eks5sRGD5gaJpZM4M42xx
.

--
Roland Bouman
blog: http://rpbouman.blogspot.com/
twitter: @rolandbouman
linkedin: http://www.linkedin.com/profile/view?id=5142800&trk=tab_pro
Author of "Pentaho Solutions" (Wiley, ISBN: 978-0-470-48432-6
http://tinyurl.com/lvxa88) and "Pentaho Kettle Solutions" (Wiley, ISBN:
978-0-470-63517-9 http://tinyurl.com/33r7a8m)


The pipe 'amAdd' coul not be found

Description of the Issue and Steps to Reproduce:
Did you search for duplicate issue? [Yes / No]
Yes
Please describe the issue and steps to reproduce, preferably with a code sample / plunker:
I'm trying to use the amAdd and amSubtract pipes with no luck. I'm getting this error on console:

I have seen that these pipes are not declared & exported on the module. I'll send a PR to fix this.
Environment:
Please answer the following questions:

Angular version? 2.4.8
TypeScript version? 2.0.9
moment version? 2.17.1
Are you using moment-timezone? no
Are you using the angular-cli? no
Using Rollup/Webpack/System.js/Ionic/similar? Ionic

Thanks! Will be released later today

This still happens on 1.3.3, please fix it.

Hi all, I don't know if this is the right way to deal with it (I mean, answer over a closed issue).
I've created an empty project (using angular-cli) with a fresh installation of angular2-moment (v1.3.3) and everything is working as expected.


Ctrl+Tab to cycle throught services

Please, Ctrl+Tab to cycle through services as if they were tabs in the browser.
This does not work in 5.1.0 only Ctrl+1, Ctrl+2, Ctrl+3...

Common stale!


typo in the examples

https://github.com/J7mbo/twitter-api-php/wiki/Twitter-API-PHP-Wiki
geocode search should be:
$getfield = '?q=&geocode=17.117232,48.148154,20km&count=100';
instead of:
$getfield = '?q=&geocode=17.117232,48.148154,20km&count=100;"';

Thanks, nice spot! The wiki is open to collaboration from the public so you can feel free to add / modify things in the future if you like. :+1:


Adding sphinx docs to the project

this will allow for ReadTheDocs to autobuild docs for us, and have a good reference point for people new to the project

[ ] add code of conduct
[ ] add developer install instructions
[ ] add PR checklist
[ ] add project architecture overview to library ref
[ ] add badge to readme
[ ] find a way to enforce documentation coverage? (maybe punt to issue)

Codecov Report

Merging #8 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #8   +/-   ##
=======================================
  Coverage   89.23%   89.23%
=======================================
  Files           2        2
  Lines          65       65
  Branches        4        4
=======================================
  Hits           58       58
  Misses          7        7

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 cb083d1...50a0003. Read the comment docs.


1.16.x 1.0.0: 5.1 - Advanced console commands

Implement missing console commands (if they're still needed):

/otg biome (-s, -d, -f)
/otg biome -m
/otg biomes
/otg lookup
/otg exportbo4data
/otg blocks
/otg entities
/otg particles
/otg structure
/otg export
/otg spawn

Make a separate ticket when working on individual commands.

/otg data should replace the need for biomes, blocks, entities, particles
Still to-do:
[ ] /otg biome
[ ] /otg lookup
[ ] /otg exportbo4data
[ ] /otg structure
[ ] /otg export
[ ] /otg spawn
The wiki has a list of commands for 1.12.2: https://github.com/PG85/OpenTerrainGenerator/wiki/GUI-and-Commands

/otg data should replace the need for biomes, blocks, entities, particles
Still to-do:
[ ] /otg biome
[ ] /otg lookup
[ ] /otg exportbo4data
[ ] /otg structure
[ ] /otg export
[ ] /otg spawn
The wiki has a list of commands for 1.12.2: https://github.com/PG85/OpenTerrainGenerator/wiki/GUI-and-Commands

/otg spawn works for bo4's as well now, should be done. Otg export has  a separate issue.


update kn client version

Fix: #264

Codecov Report

Merging #266 (3fac9d5) into main (eb079b6) will decrease coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #266      +/-   ##
==========================================
- Coverage   84.31%   84.12%   -0.19%
==========================================
  Files          78       78
  Lines        3200     3200
  Branches      549      549
==========================================
- Hits         2698     2692       -6
- Misses        502      508       +6

Impacted Files
Coverage Δ

src/util/platform.ts
88.23% <0.00%> (-11.77%)
:arrow_down:

src/cli/cmdCli.ts
42.16% <0.00%> (-3.62%)
:arrow_down:

src/util/watch.ts
93.33% <0.00%> (-3.34%)
:arrow_down:

Continue to review full report at Codecov.

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


[ADD] Add DevOps and its Resources

Category Name
DevOps
Subcategory Name
DevOps
Additional Context
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I have checked that this category does not exist
[X] I have checked that this subcategory does not exist
[X] I am willing to work on this issue (optional)
[ ] I am a GSSoC'23 contributor

@ighoshsubho thanks, you may start  working on it :)

Any updates @ighoshsubho?

Working on it! Curating lot of DevOps content. @CBID2

Working on it! Curating lot of DevOps content. @CBID2

Great @ighoshsubho, but not too much though. It can get overwhelming for us maintainers when we review the PRs.

Working on it! Curating lot of DevOps content. @CBID2

Great @ighoshsubho, but not too much though. It can get overwhelming for us maintainers when we review the PRs.

Ok sure @CBID2. Will make a PR by today or tomorrow. Thanks.