ip – Gradle Daemon listens on all interfaces by default

I was playing around with a project using the Gradle build tool today, and I noticed that By defaultA daemon server process is running that monitors all interfaces.

Issue of ss below.

State   Recv-Q   Send-Q           Local Address:Port        Peer Address:Port
LISTEN  0        50                           *:37367                  *:*       users:(("java",pid=25378,fd=211))

Behind the NAT of my home router, I do not have to worry about being bombarded via this open port, but when I'm on campus (where I'm assigned a public IP), Gradle actually opens connections to anyone who tries to do so Connect to this port.

Is that correct? If so, it is absolutely crazy for me that the default configuration of Gradle monitors all interfaces. Unless it is an extremely simple server and they are very confident that it will not exploit.

Could not find a mention in her documentation.

Networking – What does broadcast +/- in / etc / network / interfaces mean?

in the man interfaces to the /etc/network/interfaces on debian:

The static method

This method can be used to define Ethernet interfaces with statically assigned IPv4 addresses.


broadcast broadcast_address
Broadcast address (dotted quad, + or -). Default value: "+"

What does it matter? + respectively. - my here?

I will update 2 PBN interfaces for $ 2 new

I will update 2 PBN interfaces again. Web Optimization Backlinks 2019

I will make 2 PBN connections, new update. Backlinks for Search Engine Optimization 2019I will make a unique PBN connection for eternal landing pages on high DA, Dad, TF, CF.

As you probably know, backlinking is the most important factor in bringing your website to the top. I am a master of search engine optimization. I am very committed in this area. After much research, I am working on an extraordinary PBN (Private Blog System) to bring every website to the top.

To mark:

1-Safe from Google New updates from 2019

2-high positioned areas with high quality backlinks and network

3-100% handmade

4-20 + TF CF

5-RD 10k to 30k

6-100% ordered

7-100% raise Google Positioning

8-Target 5 to 10 keywords in article

9-Lasting Home PBN backlink.

10-100% position joint juice

11-100% natural traffic.

12-high da dad

13-0 spam score

14-100% Unique IP's.

15-positioning step 100%

16-Extended confidence factor 100%

17-Increment Area Authority 100%

18-various facilities

19-One of a kind Ips

20-Applicable 100% exceptional items

Note: We do not accept pornography site

If you are completely satisfied, make a request NOW

(tagsToTranslate) PBN (t) BACKLINK (t) SEO (t) RANKING LIST

Java – Why can not I implement multiple interfaces?

I'm creating a game in which objects implement interfaces for animations. I have a parent interface for the animations. Here is a shortened version:

public interface Animates {
    S createAnimator(long animationTime);

In addition, I have several interfaces that extend this interface. Two examples:

public interface AnimatesPaint extends Animates {
    PaintAnimator createPaintAnimator(long animationTime);

    default PaintAnimator createAnimator(long animationTime) {
        return createPaintAnimator(animationTime);



public interface AnimatesPosition extends Animates {
    PositionAnimator createPositionAnimator(long animationTime);

    default PositionAnimator createAnimator(long animationTime) {
        return createPositionAnimator(animationTime);


As you can see, the interfaces expand Animates overwrite the createAnimator Method to delegate the logic of createAnimator to the class that implements the interface.

The reason for this is that I want to have a screen element (that can be animated) that implements several animation surfaces (for example both) AnimatesPosition to move the element and AnimatesPaint change its color).

This does not seem to work. If I implement both in a class (see screenshot below), I get the compile error:

createAnimator (long) in AnimatesPaint collides with
createAnimator (long) in AnimatesPosition; try to use
incompatible return types

Here's an example of a class that implements both Animates interfaces:

public class ScreenElement implements AnimatesPaint, AnimatesPosition {
    PositionAnimator createPositionAnimator(long animationTime) {
        return new PositionAnimator(animationTime);
    PaintAnimator createPaintAnimator(long animationTime) {
        return new PaintAnimator(animationTime);

What I do not understand is that both AnimatesPaint and AnimatesPosition already implement createAnimator, However, the error message seems to indicate this createAnimator must also be implemented by ScreenElement!

Where is my logic going wrong?

Finally, I want to have a generic method that can initiate any kind of animation. For example:

public class AnimationStarter {

    public void startAnimation(S animates, T start, T target, long animationTime) {
        Animator animator = animates.createAnimator(animationTime);
        animator.init(start, target);

Website Design – Why do most user interfaces rely on sticky top bars instead of sidebars?

Most web interfaces have the classic Sticky Topbar + 2-3 column layout (just like StackExchange).

Stack Exchange user experience

Some, but few, websites use a different approach and instead have a collapsible sidebar (such as BitBucket):

BitBucket layout

The first approach is certainly the best known for just about anyone who has ever used the internet (including the 50+ generation), and I imagine that it works better for them just because they are familiar with why sticky upper understand Lists have become the Times New Roman for layouts and are almost a standard for any modern user interface.

With the sidebars you can:

  • Saves vertical space that is limited (compared to horizontal)
  • have a more responsive / consistent interface (and are easier to reach)
  • can show you more content and be easier to read (upper bars are rather thin to save more space)

So it feels like they should be brought forward to the top bar.

Do you know any studies and what do you think is best?

Networking – How do I find out a valid private IP address of the computer from all interfaces?

My main goal is to find out the private IP address of the valid interface on a Linux computer.

e.g. I have 7 interfaces and from 7 I have two interfaces docker0 with the IP address of and eth0

and of these two I only need In a shot.

I tried two different methods to achieve this:

1) I tried $(hostname -I | awk '{print $1}') but does it guarantees that i get the host instance IP.

2) ifconfig | grep -Eo 'inet (addr:)?((0-9)*.){3}(0-9)*' | grep -Eo '((0-9)*.){3}(0-9)*' | grep -v ''
This gives me all the ip address of every interface

Can somebody help me with it?

Device Recommendation – Are there digital (industrial) cameras with open APIs (software interfaces) for Ethernet communication?

Dear photo community,

I realize that some SE sites do not allow specific product recommendations, and that's fine.

I am worried that after my unsuccessful search I may miss some matching keywords or even entire segments of the industry. I definitely have to learn more.

With the statement:
I belong to a small company that needs to capture digital color images under the following conditions:

  • Color images, 1.5 to N megapixels (where N <10). Our current solution is 1.5 MP.
  • Camera-to-subject distance of approx. 150 – 300 mm.
  • Minimal image / edge distortion. Can prune in the mail …
  • Field of view as a few inches horizontally and vertically hoped for.
  • Adjustable focus distance by remote input (possibly via communication interface). The autofocus was problematic for us, since the motive can be quite strange.
  • Ethernet interface with an open protocol / API for use with our software (the operating system is Linux).
  • Integral lighting (preferably), natural light color temp.
  • Small, rigidly mounted, form factor. Like 2 "x2" x6 "or so.
  • Low image capture rate: we only need one image every 5 seconds.

We do Not I need many of the & # 39; Smart Camera & # 39; functions found on many industrial camera models, such as:
Part counting, detecting, measuring, learning, commenting, web connectivity, offsite server …

Often, these "features" make the camera (and associated expensive software) less accessible.

Our goal is to get a nice, relatively flat / undistorted true color image of an object that is only a few (inches) away.

I would be overjoyed specific solutions. Search suggestions, general guidelines and notes,

Thank you so much!

object-oriented – interfaces in Python, multiple inheritance compared to a home-made solution

I am writing a Python framework. To make sure a class has some properties, I make basic "interface" classes like:

class BananaContainer:
    def __init__(self):
        self._bananas = ()
    def bananas(self):
        return self._bananas

Then, if an object is to be a container with bananas, I just
derive it from BananaContainer,

One potential problem is that objects are multiple containers. In my
Team, we wonder if multiple inheritance is the right one
Way to go or if there are alternative solutions.

  • Is it right to have an object from which both are inherited? BananaContainer and AppleContainer for example ?
    • Can it come back later with issues like the order of method resolution or name collisions? (We can be careful if we do not have similar characteristics .name for example – we want to limit these interfaces to the minimum required, not more)

A colleague suggests a "capabilities" system based on composition rather than multiple inheritance. I am doubtful about the real advantages of his method; see below:

class BaseCapabilities:
    EXISTING_CAPABILITIES = {"banana": BananaContainer, "apple": AppleContainer, ...}

    def get_capability(self, name):
        if name in self.capabilities():
            return EXISTING_CAPABILITIES(name)(self)
    def capabilities(self):
        # should return a list of capabilities
        raise NotImplementedError

Each object would only have to be derived from one class, but then it has to
Implement the skills machines:

 class MyContainer(BaseCapabilities):
     def capabilities(self):
         return ("banana", "apple")

It is then possible to check whether an object has the desired ability and to obtain an instance of the container class …
This is to avoid multiple inheritance that is considered harmful.

My suggestion is to go and use only for multiple inheritance isinstance(obj, BananaContainer) for example, to know if obj is a banana container.

I would be very grateful if you could help me make a decision.

ubuntu – Multiple interfaces and multiple users with Squid using NCSA Basic Authentication

Operating system: Ubuntu 18.04
Squid Version: 3.5.27
My squid proxy server currently has 3 interfaces. I'll call her
I want to have 3 users on my proxy server, each with its own IP address
For example, only user 1 may use the first IP address, user 2 may use the second, and user 3 may use the third. I looked for a solution and found that I could provide user NCSA authentication to authenticate users: Pass the authentication to the users so that all users can connect to one of the interfaces. Is there a way to achieve that only 1 user with a particular user can connect to 1 interface: pass. I have listed the important part of my configuration file as a reference below

acl ip1 localip x.x.x.x
acl ip2 localip y.y.y.y
acl ip3 localip z.z.z.z
tcp_outgoing_address x.x.x.x ip1
tcp_outgoing_address y.y.y.y ip2
tcp_outgoing_address z.z.z.z ip3

auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid3/passwords
auth_param basic realm proxy
acl authenticated proxy_auth REQUIRED
http_access allow authenticated
http_access deny all

Interfaces – How do I program the P-L496G-CELL02 Discovery Kit to receive data over SPI and transfer it to the cloud over the NBIOT channel?

The P-L496G-CELL02 comes with the Discovery Board 32L496, the stmod + add-on and the Quectel BG96 module. https://www.st.com/de/evaluation-tools/p-l496g-cell02.html#tools-software

New in programming with this card is the hardware setup with a tag attached to receive data via the SPI2 pins. The connection to the CatNB1 network has been successfully established (using an included NBIOT SIM card).

The next step, receiving and sending the data over the NB-IoT network to the cloud (preferably Google Cloud Platform) and then displaying the received information, is a bit lost to me. Is there a way to code it to do this?

Any help would be very grateful, thanks.