food and beverages – Customs of Portugal – goods in quantities greater than those allowed

I am Brazilian with a Portuguese residence permit.

I will visit my hometown in the state of Rio Grande do Sul and I would like to bring some kind of tea (Chimarrão tea) here. As I will have a lot of slots in my luggage, I would like to bring 12 kg of tea. I consume almost 2 kg per month, so I will drink tea for 6 months. Tea is not illegal and can be bought in Portugal, but it is very expensive.

I am reviewing this page and it says that I cannot bring products in quantities greater than those allowed. However, I didn't find what the allowable amounts are (I found only for alcohol). I know that in Brazil, the amount is usually 12.

What is the amount allowed in Portugal?

GUI design: why use a discrete representation for continuous quantities?

Is there any reason to use a discrete representation (such as the number of stars) for continuous quantities (such as a progress bar)? This means we don't want to show an exact number. (Yes, I understand that the values ​​in computers are not "truly" continuous, but for the purpose of this question, we will say that they are close enough)

This question comes from my car and its gas meter that induces stress. This is what it looks like when it's full:

Digital board - complete

The gas meter consists of 6 stacked bars, which light up when the gas tank is full. This is what it looks like when it is near the void:

Digital board - empty

Now this is where it gets worse. That bottom bar blinks approximately once per second any Time the meter is reduced to one bar. In other words, the last fuel bar flashes for ~ 17% of a full tank. As I drive mostly from full to empty, the car seems to tell me that it ran out of gas for 17% of the time I drive it (and it distracts me with a blinking light)

Now, some quick math to show how stress inducer this is:

The tank size is just over 6 gallons. However, the fuel efficiency is ~ 45mpg average (why I like the car). This means that in a full tank, I have a range of approximately 270 miles.

The last bar in the gas meter, therefore, represents ~ 45 miles of range. To put that in perspective, with the trip and everything, I drive approximately 20 miles per day. This means that I can drive for 2 full days while the car screams that it is about to dry. When I get in my car in the morning and the bar is blinking, can I play the fun game of "Can I get to work today?".

All comments aside, it seems that the obvious solution would be to have a meter closer to continuous. Even if there were only 10 bars instead of six, that gives the user a much closer idea of ​​the real value.

So, is there any reason UX to do something like this, or is it simply a bad design?

Force Mathematica to display the appropriate unit prefix and perform a numerical evaluation of the quantities?

I am experimenting with units:

UnitConvert(1/Quantity(2.0, "GHz"))

$ 5. For 10 – 10 s $

fs = Quantity(2,"GHz")

$ dfrac {1} {2000000} s $

Two questions:

  1. How to ask Mathematica to automatically show the result using the appropriate prefix ($ ms $, $ mu s $, $ ns $, …) instead of systematically using the SI base unit ($ s $)
  2. WhyIn the second example, the result is shown as a fraction while it was not in the first example? I know I can force numerical evolution using N(%), but I don't understand why I have to.

php – Group and Add Material Quantities by Name

I have a system where we store material names that are linked to a unique number. This is because each unique number is a part number and carries their respective materials to produce it, what I am looking to do is a summary of materials that I would carry in general. At the moment I list part number by part number describing the materials that each one carries, but instead, I seek to group all the materials that are called the same and add their respective quantities.

Currently I have the system like this:
As you can see each Unique Number (List on the right) contains a small list of materials, which are repeated in each plan, I seek to make a general list, where only all materials that are called the same are shown and add the amounts that There is in each unique number.
enter image description here

This is the code I have to generate the list of Materials:

query("SELECT planos_de_ot.*, AS nuevoid FROM planos_de_ot INNER JOIN lista_planos ON lista_planos.num_unico = planos_de_ot.plano WHERE planos_de_ot.id_ot = ".$id." ORDER BY id");


    query("SELECT * FROM materiales_planos WHERE id_plano = ".$lista('nuevoid').""); ?>
  • -

    Nombre Material Cantidad

These are the tables in my database:
-Table Work Orders
enter image description here

-Table where I keep the Unique Numbers that will be used for the Work Order
enter image description here

-Table where I keep the materials of each plane
enter image description here

do not save quantities after updating in li block gutenberg

I don't speak English well so
I have a problem with the quantities saved li (ul) in the edit gutenberg function.
please help me, how to save li amounts and not miss the update page


const {
Rich text,
} = wp.editor;
const {PanelBody, IconButton} = wp.components;
registerBlockType (& # 39; ha-accordion / ha-accordion-box & # 39 ;, {

//built-in attributes
title:'منو آکاردئون',
description:'منو آکاردئون توضیحات دوره و محصول',
//custom attributes




//custom function


    function onChangeAcc_Title(newAcc_title){
        setAttributes({acc_title: newAcc_title});
    function onChangeAcc_Des(newAcc_des){
        setAttributes({acc_des: newAcc_des});
    function onChangeAcc_List(nextAcclist){
    setAttributes({acclist: nextAcclist});
عنوان جلسه / دوره / فصل خود را وارد نمایید
توضیحات جلسه / دوره / فصل خود را وارد نمایید
عنواین / فهرست های هر جلسه / دوره / فصل خود را وارد نمایید
)); }, save(){ }

}); theory: some quantities associated with Hopf algebras of finite dimensions

leave $ (H, Δ, m, s) $ Be an algebra of Hopf. you this hopf algebra can be associated two obvious linear maps $ T_H, S_H: H a H $ with $ T_H = m circ Delta, S_H = s $.

Are there two Hopf algebras of finite dimensions? $ H, H & # 39; $ which are not isomorphic Hopf algebras but are equivalent in the following sense:

Each characteristic polynomial coefficient $ Det (T_H- lambda I) $ is equal to the corresponding coefficient of $ Det (T_ {H & # 39;} – lambda I) $. Similarly, each coefficient of $ Det (S_H- lambda I) $ is equal to the corresponding coefficients in $ Det (S_ {H & # 39;} – lambda I) $.

In other words, to what extent the set of these coefficients can determine the nature of Hopf algebras.

Are there two finite groups? $ G, G & # 39; $ of the same orders that are not isomorphic groups but their corresponding Hopf algebras $ CG, CG & # 39; $ Do you have the same amounts described above?

Printing – Small format printers in large quantities.

I am considering setting up my own photo printing application, I see a lack of competitive services that offer an API to use, so I am investigating doing it myself.
I have seen this printer: I am not sure what alternatives exist or even what should be looking for. Basically, I want a printer that can print large runs of good quality photos at a competitive price.

r – It is necessary to separate the records with a column of QUANTITIES in individual records where QUANTITY is always 1

I have a data set with 82147 obs and 36 variables and I need to find the 200 main levels of the "Description" column with the highest frequency, but there is a column of AMOUNTS in the data set, so even though I am finding the highest levels "Description:" I do not get a real image of the elements that are repeated more frequently, since each record also includes a QUANTITY that is not 1.

Top20InvDesc <- names (sort (summary (as.factor (Inventory $ Description)), decreasing = T)[1:20])

I have tried this and continue browsing the Internet to know how to do it, but I also do not know how to correctly formulate this question, so I am seeing many similar things, but none of that is what I need.

Top20InvDesc <- names (sort (summary (as.factor (Inventory $ Description)), decreasing = T)[1:20])


library (dplyr)
group_by (Description)%>%
top_n (5, quantity)

Let's say that a "syringe" is one of the levels in the "Description" column and is the most repeated level, but each record has a AMOUNT OF 5. There is also a level of "gloves" in the "Description" column and it is the fifth most repeated level, but the AMOUNT is 1000 for each one. I know that "gloves" should be the first item in the new data framework I'm trying to make, but I can not figure out how to get my code to do this. The easiest way that I can think of to solve my problem is to create a new data frame in which each item appears as QUANTITY 1 and only use the 20 main elements.

What I am receiving





What I want to get and the Armboard will now appear in the list 32 times.





My laptop has a 32 GB memory and a 180-watt power supply, so I thought I'll have to deal with the persistence processing time, but this will also make it much easier to work with the data.

Theory of the index: Can we define the spin structures and the invariants of Arf in terms of local quantities, such as the Chern classes and the Chern numbers?

I am interested if it is possible to represent a spin structure and the invariant Arf associated with it in terms of some kind of local fields.

For example, the first Chern class of a group of complex lines in a variety is an element of $ H ^ 2 (X, mathbb {Z}) $, that in a variety 2d equivalent to the specification of a whole number, the number of Chern $ c_1 in mathbb {Z} $.

All these concepts have local interpretations after putting a $ U (1) $ connection in the package, in terms of the 1-way connection $ A_ dx ^ mu $ and the curvature field of 2 shapes in the collector, $ F = ( partial_ mu A_ nu) dx ^ mu wedge dx ^ nu $. In this case, Chern's class can be considered as $ frac {1} {2 pi} F in H ^ 2 (X, mathbb {Z}) subset H ^ 2_ text {(from Rham)} (X, mathbb {R}) $. And Chern's number is given as the integral of this local amount, $ c_1 = frac {1} {2 pi} int_X F $.

I was curious to know whether or not there was an analogous interpretation of a spin structure and the invariant Arf.

From my point of view (pedestrian, physical) (as explained in this document), a turn structure is an element $ rho in H_1 (X, mathbb {Z} _2) $ that specifies periodic or antiperiodic boundary conditions in each non-trivial cycle, and the invariant Arf is $ (- 1) ^ {ind (D_ rho)} $, where $ D_ rho $ is the Dirac operator associated with the spin structure and $ ind (D_ rho) $ It is the index of the operator.

My question could also be formulated as if the index of a Dirac operator is an integral part of some local quantity that is "canonically" associated with the spin structure.

Serv Settlement Servers E3-1230v6 – Fully configurable (SSD, RAID) | Starts at $ 70 / month – Limited quantities It is preparing the new Intel Xeon E-21xx for launch. Take advantage of this incredible offer in the E3-1230v6 and E3-1270v6 CPUs while they last

Latest hardware

TO We serve the developer by offering the latest business hardware in the industry. With each server is built with new enterprise-grade hardware that has been updated with the latest firmware and stress tests before delivery, so you know that your server will provide you with the best hosting solution available. While we are preparing for the new servers of the Intel Xeon E-21xx series, we are offering new E3-1270 servers at a great discount.

Green data center
he cares about the environment, which is one of the reasons why we selected Phoenix, AZ as our main data center. All the energy of this data center comes directly from the Salt River Project and is not purchased through deregulation. We also take this concern to our hardware, to make sure we are doing everything we can to help the environment. You can find more information on our website at:

World class safety and uptime
Because we work with so many developers, there are two things we take seriously. Security and availability No hosted real-world hosting company can offer you 100% uptime on a single server if you are providing security updates as part of your offer. Updates often require a quick reboot of services and, in exceptional cases, a full reboot. Our custom update system applies these updates during the slowest times on the server and are optimized and programmed so they can be applied as quickly as possible, minimizing downtime to the maximum. We are proud to be one of the leading and only providers that offer the latest hardware in the Hyperspin Website Ranking Report:

Discount promotion
There is not a promotion code needed for this special. Simply click on the links provided below. It is a completely new hardware, ready to be mounted in your customized configuration. These servers are very limited and are offered in order of arrival. Any existing dedicated server client, must have the service active for a minimum of 6 months to use this option as an update.

FREE management one
All servers in have the complete free management available. Administration can also be completely customized to the level that you feel most comfortable with. Just want us to do the Kernel / operating system updates? Cool! Do you want us to keep everything updated and running smoothly? Cool! Do not you want us to touch your server? No problem! We also have a state-of-the-art monitoring system that not only keeps track of your server's uptime, but also tracks things like SMART data on hard drives. Therefore, we often know when a hard drive will fail and we will schedule its replacement long before losing data.

Hardware never rented
TO We own 100% of the hardware we sell. Unlike many companies, you never have to worry about hardware that has been leased to another provider and resold to you. We keep spare parts of all the hardware that is active in the data center, so in the rare case that there is a hardware failure, we have the parts available instantly for your server to work again. Do not wait in the leasing provider to find parts and replace.

Intel XEON E3-1230v6 3.5GHz Quad Core The[[PERSONALIZE NOW!]
  • 8GB DDR4 ECC RAM (can be updated)
  • 1 x 750 GB of 7200 RPM enterprise hard drive (can be updated)
  • RAID option available
  • Monthly transfer of 10TB
  • Up to 5 usable IPv4 addresses included two
  • IPv6 available on request
  • No installation fee
  • 1 GigE network port
  • Unlimited private network available
  • DDOS protection
  • Free full management available one
  • IPMI / KVM included
  • VPN access included 3
Base monthly price: $ 70.00 / month Regular price: $ 129.95 / month
Intel XEON E3-1270v6 3.8GHz Quad Core The[[PERSONALIZE NOW!]
  • 8GB DDR4 ECC RAM (can be updated)
  • 1 x 750 GB of 7200 RPM enterprise hard drive (can be updated)
  • RAID option available
  • Monthly transfer of 10TB
  • Up to 5 usable IPv4 addresses included two
  • IPv6 available on request
  • No installation fee
  • 1 GigE network port
  • Unlimited private network available
  • DDOS protection
  • Free full management available one
  • IPMI / KVM included
  • VPN access included 3
Base monthly price: $ 84.95 / month Regular price: $ 129.95 / month

Available options

  • DirectAdmin: $ 15.00 / month
  • cPanel / WHM: $ 35.00 / month
  • Windows Server Standard (2012/2016/2019): $ 20.00 / month
  • CloudLinux: $ 15.00 / month
  • MSSQL web edition: $ 20.00 / month


  • I'm not sure what configuration I need?
    • No problem, our sales team has many years of experience and can review the needs of your project and recommend it without charge.

  • What happens when I need to update / degrade?
    • As your project changes, our entire team will help you complete the migration to a hosting solution that best suits your project.

  • Does not it seem that your Servers are instant activation? Why not?
    • There are several reasons why we do not do instant activation. Instant activation requires that an operating system image be created so that it can be provisioned automatically on the server. Often, this leaves the server open to security holes that have been patched since the creation of the operating system image. Second, because each server is often used for a different project, standard configuration files can cause poor performance. As our procurement team analyzes each order with the customer before provisioning the order, we can often adjust these files to greatly increase performance.

  • Is there a charge for IPMI / KVM?
    • No, there is no additional charge for IPMI / KVM. However, it is not configured by default for end user access. This is done as a safety precaution. For those users who need this access, our support team will gladly provide you with details on how to access

  • I want to run software (insert the name of the software package here), do your servers support it?
    • Yes, we do not limit the type of software that can be run on our dedicated servers. However, depending on the software package, we may only be able to provide limited support / administration. If you have any questions about a particular software package, contact our sales or support team

    If you have any questions, please contact our sales team through our online chat during business hours or through our contact form at:

oneComplete management is available at no additional cost. Please check the administration tab at: for more details.
twoBy default, 2 usable IPv4 addresses will be assigned to your server. Up to 5 IP addresses can be assigned at no additional charge. IPv4 addresses must comply with the full ARIN justification.
3VPN access is only for secure access to your server. The username and the VPN passwords are not assigned by default, but will be issued free of charge upon request.