8 GB Ram | I7-4770 | 500 GB ent. Plate | 1 Gbps network (unlimited) | Only $ 10 a month | SiberDC

Hello members of the Web Hosting Talk,

Affordable, reliable virtual servers with high performance! We offer you a limited number of servers in Germany.
With a 1Gb network, you can build and dismantle as you like, and you can have a Performance Series server at the best price for all your needs.

You can order online at any time. The control panel allows you to perform all operations, such as: B. Restart, turn on and off. You can request formatting at any time, or you may want to install another operating system. You can also get support around the clock if you have problems.

Affordable server in Germany
————————————————–
8 GB ECC Ram
I7-4770 processor
500 GB ent. plate
1 Gbit / s
Unlimited traffic
Germany / Hetzner location

Only $ 10 a month. You can click HERE to buy.
————————————————–

VDS / VPS packages, server hosting, server rental, ddos ​​protection services, domain name protection, bandwidth and cabin rental, overseas server rental, etc. we have solutions. For other products or projects you will receive the solution / service from our website.

Credit card, debit card, prepaid cards etc. You can pay with cards.
—————————
Tax number: 7930474989
Tax Administration: Beylikdüzü / İstanbul / Turkey
E-mail: destek@siberdc.com
Telephone: +90 850 840 8701
Skype: SiberDC
—————————

Image Processing – Night Vision camera has received a picture, but it was just an empty white rectangle from the license plate lights. Is there a way to get the numbers?

As Orch said, as soon as something is blown out, there is generality Nothing there to recover. But try it and see how it works.

I made a pure white image and then lowered it just a little bit of pure white to create that square:

Enter the image description here

As you can see, the place is there, but just barely. Open an image editor (in this case Pixlr (online and free)) or Photoshop or Gimp …

Use the Curve Tool. This tool adjusts the image to change any value. Dragging Pixlr to draw each individual pixel that is not pure white makes it darker, as it does each time:

Enter the image description here

As you can see, the sparse rectangle now protrudes. Hopefully, if there is any Data in the plate, this method will show it.

Java – I'm having trouble getting the string from a license plate of a car

In a bluej project, I can not retrieve the vehicle class string input data in a parkclass method called existsPlacaIniciaCon (character letter).

    public car park {
public static final int numeroPuestos = 87;
private double room[] posts
private int rate
public int free;
......
public boolean existsPlacaIniciaCon (character letter)
{
Start = wrong
// becomes true if there is a plate with the first letter, which is the parameter of the method.
}
... the other class ....
public class cart
/ ** Car sign * /
private string plate;
/ ** Arrival time of the car to the parking lot: Value between 6 and 20 * /
private int horaLlegada;

* Create a car with basic information
* @param nPlaca - carriage plate - plate! = zero
* @param nHora - time of input
* /
Public carriage (string plate, int hour) {
this.placa = plate;
hourLed = hour;
}

/ **
* Return the carriage plate
* Return plate
* /
public String getPlaca ()
{
String t = plate;
Return plate;
}

I want to get the number plate, but I can not.

pygame – golf game plate

I wrote a program in Pygame that basically acts as a physics engine for a ball. You can knock the ball around and your strokes are counted, plus an extra punch to push the limits. If I continue to do that, I would make the angle and power display switchable, but I'm happy to show it now:

Import Pygame as pg
Import math

SCREEN_WIDTH = 1500
SCREEN_HEIGHT = 800
WINDOW_COLOR = (100, 100, 100)
BALL_COLOR = (255, 255, 255)
BALL_OUTLINE_COLOR = (255, 0, 0)
LINE_COLOR = (0, 0, 255)
ALINE_COLOR = (0, 0, 0)
START_X = int (.5 * SCREEN_WIDTH)
START_Y = int (.99 * SCREEN_HEIGHT)
POWER_MULTIPLIER = .85
SPEED_MULTIPLIER = 2
BALL_RADIUS = 10

pg.init ()
pg.display.set_caption (& # 39; Golf & # 39;)
window = pg.display.set_mode ((SCREEN_WIDTH, SCREEN_HEIGHT))
pg.event.set_grab (True)
p.Maussatzcursor ((8, 8), (0, 0), (0, 0, 0, 0, 0, 0, 0, 0, 0), (0, 0, 0, 0, 0, 0, 0 , 0) 0))

strokeFont = pg.font.SysFont ("Monospace", 50)
STROKECOLOR = (255, 255, 0)

powerFont = pg.font.SysFont ("arial", 15, bold = true)
POWERCOLOR = (0, 255, 0)

angleFont = pg.font.SysFont ("arial", 15, bold = true)
ANGLECOLOR = (0, 255, 0)

PenaltyFont = pg.font.SysFont ("georgia", 40, bold = true)
PENALTYCOLOR = (255, 0, 0)


Class Ball (Object):
def __init __ (self, x, y, rad, c, oc):
self.x = x
self.y = y
self.radius = rad
self.color = c
self.outlinecolor = oc

def show (self, window):
pg.draw.circle (window, self.outlinecolor, (self.x, self.y), self.radius)
pg.draw.circle (window, self.color, (self.x, self.y), self.radius - int (.4 * self.radius))

@staticmethod
def path (x, y, p, a, t):
vx, vy = p * math.cos (a), p * math.sin (a) #Velocities
dx, dy = vx * t, vy * t - 4.9 * t ** 2 #distance
print (& # 39; x-pos:% spx & # 39;% str (round (dx + x)))
print (& # 39; y-pos:% spx & # 39;% str (round (abs (dy - y))))

Return round (dx + x), round (y - dy)

@staticmethod
def quadrant (x, y, xm, ym):
if so < y and xm > x:
back 1
elif ym <y and xm < x:
            return 2
        elif ym > y and xm < x:
            return 3
        elif ym > y and xm> x:
back 4
otherwise:
return incorrectly


def draw_window ():
window.fill (WINDOW_COLOR)
Ball show (window)
if not shoot:
arrow (window ALINE_COLOR, ALINE_COLOR, aline[0], a line[1]5)
Arrow (window, LINE_COLOR, LINE_COLOR, line[0], Line[1]5)

stroke_text = & # 39; Strokes:% s & # 39;% Strokes
stroke_label = strokeFont.render (stroke_text, 1, STROKECOLOR)
if not punches:
window.blit (stroke_label, (SCREEN_WIDTH - .21 * SCREEN_WIDTH, SCREEN_HEIGHT - .985 * SCREEN_HEIGHT))
otherwise:
window.blit (stroke_label, (SCREEN_WIDTH - (.21 + .02 * math.floor (math.log10 (dashes))) * SCREEN_WIDTH, SCREEN_HEIGHT - .985 * SCREEN_HEIGHT))

power_text = & # 39; shot strength:% sN #% power_display
power_label = powerFont.render (power_text, 1, POWERCOLOR)
If not shoot: window.blit (power_label, (Cursor_pos.)[0] + .008 * SCREEN_WIDTH, Cursor_pos[1]))

angle_text = & # 39; angle:% s ° & # 39;% angle_display
angle_label = angleFont.render (angle_text, 1, ANGLECOLOR)
If not shoot: window.blit (angle_label, (ball.x - .06 * SCREEN_WIDTH, ball.y - .01 * SCREEN_HEIGHT))

if punishment:
Penalty_text = & # 39; Out of Bounds! +1 stroke & # 39;
Penalty_Label = PenaltyFont.render (Penalty, 1, PENALTYCOLOR)
Penalty_rect = Penalty_Label.get_rect (center = (SCREEN_WIDTH / 2, .225 * SCREEN_HEIGHT))
window.blit (Penalty_Label, Penalty_rect)

pg.display.flip ()


Def angle (Cursor_Pos):
x, y, xm, ym = sphere.x, sphere.y, cursor_pos[0], cursor_pos[1]
    if x-xm:
Angle = math.atan ((y - ym) / (x - xm))
elif y> ym:
Angle = math.pi / 2
otherwise:
Angle = 3 * math.pi / 2

q = ball quadrant (x, y, xm, ym)
if q: angle = math.pi * math.floor (q / 2) - angle

when round (angle * 180 / math.pi) == 360:
Angle = 0

if x> xm and round (angle * 180 / math.pi) == 0:
Angle = math.pi

Return angle


def arrow (screen, colored, tri-color, start, end, trirad):
pg.draw.line (screen, color, start, end, 2)
rotation = math.degrees (math.atan2 (start[1] - The End[1], The End[0] - Begin[0])) + 90
pg.draw.polygon (screen, tricolor, ((end[0] + trirad * math.sin (math.radians (rotation)),
The End[1] + trirad * math.cos (math.radians (rotation)))),
(The End[0] + trirad * math.sin (math.radians (rotation - 120)),
The End[1] + trirad * math.cos (math.radians (rotation - 120))))
(The End[0] + trirad * math.sin (math.radians (rotation + 120)),
The End[1] + trirad * math.cos (math.radians (rotation + 120)))))


def Distance (x, y):
Return math.sqrt (x ** 2 + y ** 2)


x, y, time, power, ang, strokes = 0, 0, 0, 0, 0, 0
xb, yb = none, none
shoot, punishment = wrong, wrong
p_ticks = 0

Ball = Ball (START_X, START_Y, BALL_RADIUS, BALL_COLOR, BALL_OUTLINE_COLOR)
quit = false
BARRIER = 1

To attempt:
while not stopping:
Seconds = (pg.time.get_ticks () - p_ticks) / 1000
If seconds> 1.2: penalty = false

cursor_pos = pg.mouse.get_pos ()
line = [(ball.x, ball.y), cursor_pos]
        line_ball_x, line_ball_y = Cursor_pos[0] - ball.x, cursor_pos[1] - ball

aline [(ball.x, ball.y), (ball.x + .015 * SCREEN_WIDTH, ball.y)]

        if not shoot:
power_display = round (
Distance (line_ball_x, line_ball_y) * POWER_MULTIPLIER / 10)

angle_display = round (angle (cursor_pos) * 180 / math.pi)

when shoot:
if ball.y <SCREEN_HEIGHT:
if BARRIER <ball.x <SCREEN_WIDTH:
Time + = .3 * SPEED_MULTIPLIER
Print (& # 39;  time:% ss & # 39;% round (time, 2))
po = ball.path (x, y, force, ang, time)
ball.x, ball.y = po[0]po[1]
                otherwise:
print (& # 39; Out of Bounds! & # 39;)
Punishment = true
p_ticks = pg.time.get_ticks ()
Dashes + = 1
shoot = wrong
if BARRIER <xb <SCREEN_WIDTH:
ball.x = xb
otherwise:
ball.x = START_X
ball.y = yb
otherwise:
shoot = wrong
ball.y = START_Y

for an event in pg.event.get ():
if event.type == pg.QUIT:
quit = true
if event.type == pg.KEYDOWN:
If event.key == pg.K_ESCAPE:
quit = true
If event.type == pg.MOUSEBUTTONDOWN:
if not shoot:
shoot = true
x, y = sphere x, sphere y
xb, yb = sphere.x, sphere.y
Time, power = 0, (
Distance (line_ball_x, line_ball_y)) * POWER_MULTIPLIER / 10
print (& # 39;  n  nBall hit! & # 39;)
print (& # 39;  nPower:% sN & # 39;% Round (Power, 2))
ang = angle (Cursor_Pos)
print (angle angle:% s °%% round (ang * 180 / math.pi, 2))
print (& # 39; cos (a):% s & # 39;% round (math.cos (ang), 2)), print (& # 39; sin (a):% s & # 39;% round (math .sin (ang), 2))
Dashes + = 1

draw_window ()

print (" nTurn off ...")
pg.quit ()

Exception exception as error:
print (fatal error ({error}) has occurred. The program shuts down. & # 39;)
pg.quit ()

Criticism gone!

8 GB Ram | I7-4770 | 500 GB ent. Plate | 1 Gbps network (unlimited) | Only $ 10 a month | SiberDC | Proxies-free

SiberDC DDOS-protected virtual servers

Hello members of the Web Hosting Talk,

Affordable, reliable virtual servers with high performance! We offer you a limited number of servers in Germany.
With a 1Gb network, you can build and dismantle as you like, and you can have a Performance Series server at the best price for all your needs.

You can order online at any time. Thanks to the Control Panel, you can perform all operations, such as B. restart, power on and off. You can request formatting at any time, or you may want to install another operating system. You can also get support around the clock if you have problems.

Germany Location Affordable server
————————————————–
8 GB ECC Ram
I7-4770 processor
500 GB ent. plate
1 Gbps
Unlimited traffic
Germany / Hetzner location

Only $ 10 a month. You can click HERE to buy,
————————————————–

VDS / VPS packages, server hosting, server rental, ddos ​​protection services, domain name protection, bandwidth and cabin rental, overseas server rental, etc. we have solutions. For other products or projects you will receive the solution / service from our website.

Credit card, debit card, prepaid cards etc. You can pay with cards.
—————————
Tax number: 7930474989
Tax Administration: Beylikdüzü / İstanbul / Turkey
Email: [email protected]
Telephone: +90 850 840 8701
Skype: SiberDC
—————————

Analysis – distance to the limit function on a plate

To let $ B_1 = B (0, 1) $ designate the opened device diskette $ mathbb {R} ^ d $, To the $ x in B_1 $the distance to the border $ partial B_1 $"Function is defined as
begin {equation}
d (x) = inf_ {y in partial B_1} | x-y |.
end {equation}

This definition is of course more general and not specific to $ B_1 $,

My question is this:

In the special case of the device disc $ B_1 $is it true (and if so, why) that
begin {equation}
d (x) = 1- | x |
end {equation}

for each $ x in B_1 $?

I want to know how to make a vegetarian sprinkler

Learn more about the structure of sprinkler sprinklers

For those working in the firefighting and combat workspace, sprinkler sprinkler heads are no stranger. But for many people, they are not very familiar with this product and do not know how this device is made. To answer these concerns below, we will provide you with useful information.

1. What is sprinkler sprinkler head?

First, we need to find out what the sprinkler is. Accordingly, this device is the first type of water that radiates to the burned areas and the fire. At present, many different types of nozzles are designed for fire with their own characteristics. When designed, the nozzle type is made based on the structure of the nozzle body.

What is sprinkler sprinkler head

2. Learn the structure of the sprinkler sprinkler

Although there are many sprinkler sprinkler heads. In terms of construction, these types of nozzles include the following parts.

2.1 sprinkler nozzles

An important part of sprinkler nozzles is the nozzle body. This body contributes to the construction of the nozzle. Since then, the nozzle can withstand high pressure during spraying and spraying operations.

The nozzle body on the top has a thermal sensor and a water tensioner. With this water block on the nozzle body, it is necessary to set the appropriate spray direction of the water.

To ensure durability and high pressure resistance, the material makes the nozzle body with good metals such as copper, chrome plating … with good rust resistance.

2.2 parts of the heat sensor

As mentioned above, the thermal sensor is disposed above the nozzle body, which consists of a glass container and contains the cashier inside the glass container. This device performs automatic operation when the temperature is above the allowable level to quickly and effectively control the fire.

At normal temperature, the heat sensor has the task of holding the ceiling to ensure watertightness. When the temperature is reached, this sensor has the function of releasing water and taking over the role of the nozzle.

2.3. Block button

The next part of the sprinkler sprinkler head assembly is the lockout button. As the name suggests, this part should ensure that the water stays inside and does not leak. In addition, the key works smoothly with the heat sensor to prevent water jetting.

If a problem is detected, this block is automatically deleted. From this point, water is sprayed from the nozzle to extinguish the fire.

2.4. instruction sheet

The next part of the sprinkler nozzle structure is the instruction sheet. This guide is installed in position on the nozzles and directly opposite the stop button.

The main task is to carry out the distribution of the spray water in such a way that the water in the fire area can spread far and the fire in the large area is ensured. The direction of the nozzles is determined by the guide plate.

3. Address offers sprinkler sprinklers

Currently, the purchase and ownership of a sprinkler sprinkler is widely used to ensure a quick extinguishment of a fire in the event of an incident. So many people want to know the price list of sprinkler nozzles in order to have a financial preparation plan and select suitable products. Through the market, many sprinklers sprinkler sprinklers such as sprinkler sprinkler head high, sprinkler sprinkler sprinkler, automatic sprinkler sprinkler head, sprinkler sprinkler appeared horizontally. In addition, understanding the price list of sprinkler nozzles helps customers buy standard products to avoid damage.

If you decide on the quality of the sprinkler nozzles, quality and a reasonable price, you should learn to choose the address of the prestigious sprinkler sprinklers. And now An Phat Technology and Trade Development Co., Ltd. is located at 74 T8 Street, Tay Thanh Street, Tan Phu District, Ho Chi Minh City, and is proud to be a true supplier of sprinkler nozzles. Loved by many customers. For more information about this address, as well as information about sprinkler sprinkler information, visit the following link: https://www.linkedin.com/company/sprinkler-tyco

Come to An Phat, you will be consulted and learn more about sprinkler sprinkler types. At the same time, 100% genuine and reasonable prices as well as advice, attentive service, dedicated staff are purchased from An Phat to ensure the satisfaction of all customers. , including demanding customers.

,

How can I report a taxi driver in Hong Kong without a license plate and name of the driver in the car?

In Hong Kong I got into a taxi ride and the driver finished a stupid surcharge (145 HKD). I wanted to report the taxi driver, but the car had no plate and the name of the driver was not displayed in the car. How should I have reported it? (For example, may I hold the taxi driver while waiting for the police to arrive?) Does the taxi contain any other identifiable information? Is a video / photo of the driver sufficient?)

The receipt also had no useful information (and was given to me as in the picture below, with the top missing):

Enter the image description here

On the official website reporting problems with taxi drivers in Hong Kong, you will need to provide either the taxi driver's name or sign: https://www.tcu.gov.hk/taxi/index.htm