Can Sum of a Rational Number and Its Reciprocal Be an Integer?

So $fracmnfracnmfracm^2n^2mn$ an integer. This means $$m^2-n^2 mod mn $$ $$m^2n^2kmn$$ for some integer $k$.If $k1$, then $(mn)(m-n)0$ so $mn$ or $m-n$.

With some calculus, it is best shown properties about its zeros, the equation $x^2y^2zxy$. But there are no zeros outside of cases where $m,n0; mn; m-n$

• Related Questions

Can we simulate FPGA board?

I believe what you are talking about is having a Test Bench, a virtual environment used to verify a design. It can be done with any simulation software, like Multisim. You can either code a virtual approximation of what your inputs and outputs are in Multisim/etc. and have your FPGA simulation interact with it, if you're lucky this may already exist and you just have to find it

------

Email sent from server with rDNS & SPF being blocked by Hotmail

ok so for understanding. You want send an email from your google account xxx.xxx@googlemail.com with an other FROM adress? Something like info@canadaka.net?But when your server send direct the mail over sendmail for example and you know that they don't come to the other site check the mail log if you have access. There you can see the complete connection to the other site

------

cat-like program duplicate

I couldn't get it to fit in 100 bytes, but it is assembly. Eight bytes could be saved at the cost of changing the return status to 1 instead of 0:Now, if you really want 100 bytes, here is one in exactly 100 bytes. The problem is that it doesn't exit correctly, it just segfaults:The instructions say to only use standard libraries; is there extra credit for using no libraries at all?.

------

scoping a UART interface

The serial BT module can be checked easily without any tools. Short TX to RX then pair the module with a phone, PC, etc., open a terminal and type something. If module is working you'll get echo back. Make sure 'local echo' is turned off in the terminal. If you have known good module practice on it first.FTDI USB to serial can be tested using the same technique.

------

What is my training score the mean_train_score or mean_test_score?

The mystery retains inside working of K-fold cross validation, which actually divides the whole data into train and test data K number of times in a specific ratio. For more about it's working please refer here

the mean score calculated on the training set is mean_train_score and on the testing set is mean_test_score.According to your question your training score should be: mean_train_error

------

When is it OK not to have dedicated testers/QA team?

In this case my guess is your product is used by such tech savy users that you get plenty of feedback when problems do pop up. And CBA said it isn't mission critical.

As long as your developers continue to do a good job & you are willing to take feedback from users it seems to be a model that works for you so why tinker with a good thing?

------

ANOVA results do not match post-hoc Tukey test, how to proceed?

It's possible that you could have no significant differences among all of the individual means with the most liberal of testseven a planned comparison. I was just tasking my students to develop simulated data with just this feature.You do an ANOVA to test the pattern of your data. If the test is passed then, in most situations, all you need to do is then describe that pattern

------

How to set local_listener to null upon creating database

I tested specifying -initparams local_listener'' but the local_listener has been set anyways by specifying the empty string.You might want to create a custom template referencing a .sql script with the command alter session set local_listener.

I'd only make that effort if in need to use it multiple times, though. If it is a one time thing, maybe you're better off setting local_listener manually

------

Facebook Links being blocked from preview

The Facebook Sharing Debugger is the tool you want - you need to be logged in to Facebook to use it.This will allow you to test a URL, and see both what Facebook has cached, and request an updated scrape:You can also submit a list of URLs that you'd like to be invalidated from the Cache so that you can refresh a bunch of pages if required

------

Can adjuncts be arguments?

If you "hear that only complements and specifiers can contain the argument for a verb" ... well, that's really a matter between you and your syntax confessor. Not everybody believes that this is true, however, or even useful. Three-place predicates typically have, well, three arguments. In English,These verbs often govern the Dative Alternation, syntactically:One really can't expect to read this all off one PS marker, however cheerfully decorated

------

Creating a script to show a notification when updates are available

On debian based distribution you can use the pk-update-icon package:Displays an update-notification tray iconThis small tool displays notifications and an icon in the tray area of the panel when package updates are available. It is primarily designed for desktops which do not already have this functionality integrated, such as Xfce.Schedule a cron job (a brief delays is used for testing propose.

) e,g:past the following line:.

------

How do I control a servo using a beaglebone black running ubuntu

It's python but easy to install: Otherwise you can fopen files in the device tree and write to them, or you can open /dev/mem and directly access the registers for the PWM drivers.

I strongly recommend using the first method it is far easier than the third and basically the same as the second just far more tested and probably well written

------

With sudoers, how can I allow a user to change the group of files/folders within their home directory?

You might be best off writing a script and enabling that in sudoers. If your users will only ever need to run it on * within their homedir then something as simple as the following. It makes use of the SUDO_USER environment variable which you can find out more about here: sudo.

ws/sudo/sudo.

man.

html#environmentI haven't tested this but it should work in principal

------

How to monitor freeradius using EAP-MSCHAP v2 authentication method with Nagios?

I have nagios setup to monitor radius, if I remember right all that is required is to have the servers defined in /etc/radiusclient/servers and then..then use that as a check_command like any other service.This has the password in the config file and on the commandline, but if you have a dedicated nagios box and test user like me this isn't much of an issue.

------

Delivery is delayed errors, seems specific to Office 365 recipients

With the current detail, it's a guess, but I seen report that from Office 365 some enterprise got problem to receive their mail because on how the email is sent, as some router / antispam feature on your side can badly close the connection. Like that KB for Cisco ASA, that when inspection is On it fail; html.

------

How DApp actually talks to Ganache ethereum node?

Metamask uses web3 to talk to Ethereum nodes. Metamask also injects the web3 into the browser for any application running to use to connect to a node (selected in metamask by the user). Metamask has the user generated private keys in browser storage which when the user agrees are used to sign any transaction that can be submitted to the nodes. The signing, sending etc. are done using web3.

------

Is this normal that www-data still needs to have read and execute permissions on htdocs when using PHP-FPM?

Show us the way you have connected php-fpm and apache, there's certainly some Directory -- or such -- instructions on the Apache side , or maybe you've used mod_proxy_fcgid?If not then Apache is quite certainly forbidding the access before any fastcgi task gets tested. Using debug log level in Apache could certainly show the difference between the request with apache access allowed on the directory and without

------

Network problem EA games

If the game is crashing the network, it is possible that the drivers are out of date OR the software used in the game is conflicting with his native drivers and causing a crash. My PC crashes a certain program whenever I plug my headphones in, as an example.Things to try would include:Unfortunately, there is no one-stop shop answer to solve this, just some testing. Good luck.

------

How to use xcopy to copy directories with specific prefix to another folder

I managed to accomplish this with xcopy, dir /b and for in simple scenarios, but when I set up a complex test, it failed. xcopy is simply too old and outdated.I recommend using PowerShell instead. The following PowerShell command gives you what you want.In fact, I advise ditching Command Prompt and batch files altogether. They belong to 1990s. PowerShell and its .

ps1 are the way to go.

------

When is a good time to develop new automated GUI tests in an existing application still under development?

GUI features are dependant on underlying DB, Services, Business logic. Before the gui is stabilized you can focus on automating services, db layer. This would help you focus on sub-systems. Also, when you need to do End to End tests, example- GUI - Service - DB level tests it would help reuse those validations.I would recommend GUI automation when the underlying services, DB, business logic are stable / implemented

------

PHP - exploiting a user input function parameter in eval() closed

This is very bizarre construct but it's not the first time someone is using eval for template engine.It doesn't look to be exploitable from what is shown here because $_GET'in' is not passed to eval. What is passed to eval() is the result from template().

Maybe there's something inside template which would allow for code execution, but it's not there so there's no way to test it

------

Where are Champernowne's zeroes?

Does the same as other answers -- takes the range from 0 to input $n, -joins together into a string, takes the $n index, checks if it's -equal to 48 (i.e., ASCII for 0).Note this will only work up to input 49999, as the PowerShell range operator .. only supports ranges of 50,000 elements or fewer. For larger inputs, you'll need to use the following, based on my previous Champernowne answer, at 58 bytes:

------

Is there a way to remove files from a folder that are in another folder?

Using bashSure you could be more more safe by checking if the file is there, or checking if the filename is safe. But assuming you just want to get this done, and don't have any ridiculously named files in folderB - this is a quick and dirty way to get it done.

(and you can use the bash emulator that comes with git, if you aren't running Win10 bash)

------

How to test whether next token on input stream is catcode 10

Use futurelet. It's a TeX primitive, and it's the only way to do this sort of thing. In fact, that's why it was introduced.The LaTeX 3 stuff uses futurelet under the hood, and to my way of thinking makes things more complicated and considerably slower.If you understand this you can solve the problem yourself (except perhaps for the problem of getting a space token into the test macro).

------

Sanity Test on Oracle Upgrade Database

I do not think that you want to test Oracle 12c itself but if the applications still function. In that case I propose that the developers (or test team) perform there 'normal' application tests to see if the applications still function correct.The only thing that the DBA might give is information on the differences between Oracle10g and Oracle 12c at the handling of the data at SQL-level.

------

WMS WMTS TMS Server Stress Tool

I also can recommend JMeter, as iant already mentioned. Its very flexible and after a while simple to use.If you look for something more "eye candy" like you can also try loadUI ( loadui.

org/) which is a little bit more intuitive. Its not as flexible as Jmeter, but in my opinion its a more lightweight load testing tool which you can also use for monitoring purposes

------

5v Relay will not close (unless using GPIO cleanup)

You can't use 5 V relay with signal from Raspberry Pi while Raspberry Pi signal is 3.3 V.

So if you used Logic level converter to convert 3.3 V from Raspberry to 5 V then to relay in I think it may solve this issue. I don't know why most distributors say it should work with raspberry pi while the ideal one for Raspberry Pi is 3.3 V relay. So you have 2 choices either:

Can Sum of a Rational Number and Its Reciprocal Be an Integer? 1

GET IN TOUCH WITH US
Artículos recomendados
Does FDA Not Test Anything in order to Approve It?
Does FDA Not Test Anything in order to Approve It?
This addresses the third question, which was about the recall of any drugs that had been misrepresented by company-sponsored research. Paroxetine has not been recalled, but calls for the retraction from the scientific record of its maker's clinical trials with adolescent subjects have yet to cease. The FDA warns of serious side effects including suicide that would not have occurred without the drug, but apparently doesn't believe that's enough of a reason to recall it. Just a note about the FDA and the premise of the question: The FDA does not limit approvals to drugs that are universally helpful and harmless, and they do not necessarily recall drugs that have killed people. They do require warnings of adverse events when those are known, and highlight the most important ones by drawing a black box around them. They have yet to recall Serzone (nefazodone), which caused so many liver failures, transplants, and deaths that it can no longer be sold in Europe. Here, the manufacturer withdrew it voluntarily after the death of a 15-year-old girl followed 20 other deaths and dozens of liver failures, but the FDA doesn't object to the availability of generics; doctors can prescribe it and pharmacies can still sell it.GSK (formerly Glaxo Smith Kline) was found to have mis-reported results from their Phase III trials of the safety and effectiveness of paroxetine for adolescents. Paroxetine is a selective serotonin re-uptake inhibitor (SSRI) sold as Paxil in the US and Seroxat in the UK (and many other names around the world). The FDA relied on the reports and the drug was approved for the expanded market of adults and adolescents. Also, there was a heavy contribution of GSK-funded ghostwriters on the original study, which listed high-profile academic psychiatrists as its authors.Reports of unexpected suicides among adolescents on the drug began to surface. In 2002, the British series "Panorama" presented an investigative report called "The Secrets of Seroxat" that had a large impact on the British public. BBC received nearly 1400 emails and published all of them. The episode is currently viewable on youtube.In 2004, New York State Attorney General Eliot Spitzer sued GSK for withholding negative information about the drug's effect on children. The company promised to post clinical trial data on their web site and paid $2.5M to the state. Last year the British Medical Journal published a multi-author study that presented a re-analysis of the trial data, and new findings about the drug's safety and effectiveness, in a purportedly unbiased manner. In sum: not especially effective, and more likely to induce suicidality than placebo or the comparison drug, an older, non-SSRI antidepressant. From the study:The efficacy of paroxetine and imipramine was not statistically or >clinically significantly different from placebo for any prespecified >primary or secondary efficacy outcome. Suicidal adolescent test subjects on paroxetine in GSK's write-ups were described as emotionally labile, if their adverse events were even mentioned. This was explicitly stated in an email among several dozen that were leaked Emotional lability can mean nothing more than rapidly changing moods, none of which are depression or despair, and isn't interchangeable or closely linked with "suicidality" in mental health parlance. In the current Diagnostic and Statistical Manual, these related terms are offered as equivalent to emotional lability:prone to mood fluctuations, emotions that are easily aroused and >intense, unstable emotional experiences and frequent mood changes, and >incapacitation by extremity of emotionsThe authors of the BMJ article built a web site, Study329.org, that describes the process of obtaining access to the raw data, along with information about the original study, the original investigators, and press coverage of the BMJ article. The anonymized patient-level raw data they needed were not posted to the company's web site, and gaining access to the data and copying it over to the authors' computers, given the difficulties imposed by GSK, were among the largest challenges of the projectI watched something a bit back and was thinking about one of the claims this morning as I listened to SGU on the way to work. I unfortunately can't recall the source anymore, but am fairly confident that it was either Food, Inc., Sweet Remedy, or perhaps this vaccine class with a nearby chiropractor.In any case, the claim was that the Food and Drug Administration (FDA) does not actually conduct any of its own tests in order to approve foods or drugs as safe for public consumption/treatment.The implication is that the companies seeking approval can "doctor" the data and test methods however they want in order to pass the FDA approval process, and I'm blanking on what the specific was at this point -- it might have been MSG, aspartame or a particular vaccine... I can't recall.My questions are:Is it the case that the FDA does no actual testing itself, only reviews of other studies?If so, is it left up to the company to conduct it's own studies, and are these studies verified by independent and/or trusted testing agencies?If the above are true, have there been cases of substance/drugs being recalled because falsified data, improper test methods, and/or suppression of potential negative effects allowed a drug to pass the FDA approval process when they were actually unsafe?·OTHER ANSWER:I watched something a bit back and was thinking about one of the claims this morning as I listened to SGU on the way to work. I unfortunately can't recall the source anymore, but am fairly confident that it was either Food, Inc., Sweet Remedy, or perhaps this vaccine class with a nearby chiropractor.In any case, the claim was that the Food and Drug Administration (FDA) does not actually conduct any of its own tests in order to approve foods or drugs as safe for public consumption/treatment.The implication is that the companies seeking approval can "doctor" the data and test methods however they want in order to pass the FDA approval process, and I'm blanking on what the specific was at this point -- it might have been MSG, aspartame or a particular vaccine... I can't recall.My questions are:Is it the case that the FDA does no actual testing itself, only reviews of other studies?If so, is it left up to the company to conduct it's own studies, and are these studies verified by independent and/or trusted testing agencies?If the above are true, have there been cases of substance/drugs being recalled because falsified data, improper test methods, and/or suppression of potential negative effects allowed a drug to pass the FDA approval process when they were actually unsafe?
Test Driven Development with Django
Test Driven Development with Django
I have a few suggestions for how you can improve your tests to better guard against possible issues as well as make them more maintainable.Always call super().setUp() if you override setUp in your tests.This may not seem like something which is required, but sometimes you'll use a custom test class which has some custom logic in the setUp method (usually involving the database). It's caught me a few times and I've ended up having to remove a bunch of test objects from my database.If you aren't going to hard-code your test urls, don't hard code where you expect them to redirect to.test_create_view_denies_anonymous tests that unauthenticated users will get redirected, but you're hard-coding the url that it should be redirected to. You can safely rely on Django's reverse not messing up, which will allow you to build out the url it's redirected to while still handling you renaming the url in the future.Don't hard-code your username and password in your test factory.This was mentioned already, but you should instead be setting the password for the user within the setUp for your test class, or at the start of the test itself. This allows you to create multiple users with different names, all within the same test.Always assert your assumptionsIn test_create_minimal_for_user you are asserting that the user is redirected to the dashboard, which I'm assuming should mean the reservation was created. And then you call Reservation.objects.first(), which will either give you a Reservation or will give you None without raising an error. You then continue on, assuming that the reservation was returned, to test the properties of the reservation.You should instead be asserting that a Reservation exists before you try to retrieve it. Also, you can use .get() on any manager as long as there is a single object, which you appear to be assuming.This will ensure that you will either get a Reservation back, or your test will fail (not error out) because there were no reservations created. This also handles the case where multiple reservations were created for some reason.Avoid hard-coding dates in your testsYou managed to pick dates that were far into the future, but usually people forget to do that. In my experience, we had a bunch of tests which were hard-coded to fail in 2 years and 2 months, and we never touched those tests to update the dates until everything started failing on May 1st, 2015.You can avoid hard-coding dates in your tests by generating relative dates in the future using the timedelta moduleI'm learning TDD with Django and currently I'm testing my CreateView class. I feel like I'm not using best practices but am not sure on how to improve my code.test_reservation_create.pyfrom django.test import TestCasefrom django.urls import reversefrom reservations.models import Reservationfrom src.factories import UserFactory, GroupFactory, ProfileFactory, TagFactoryclass TestCreateReservation(TestCase): def setUp(self): persona UserFactory(groups(GroupFactory.create(),)) ProfileFactory(userpersona, ) persona.profile.tags.add(TagFactory()) def test_create_view_denies_anonymous(self): response self.client.get(reverse('reservation-create'), followTrue) self.assertRedirects(response, '/login?next/r/create/') def test_loads_template_for_user(self): self.client.login(username'john', password'defaultpassword') response self.client.get(reverse('reservation-create')) self.assertEquals(response.status_code, 200) def test_create_blank_for_user(self): self.client.login(username'john', password'defaultpassword') data 'stops-TOTAL_FORMS': u'2', 'stops-INITIAL_FORMS': u'0', 'stops-MIN_NUM_FORMS': u'0', 'stops-MAX_NUM_FORMS': u'1000', 'stops-0-id': u'', response self.client.post(reverse('reservation-create'), datadata) self.assertFormError(response,'form','passenger_name','This field is required.') self.assertFormError(response,'form','passenger_lastname','This field is required.') self.assertFormError(response,'form','service_date','This field is required.') self.assertFormError(response,'form','author_alias','This field is required.') def test_formset_validation(self): self.client.login(username'john', password'defaultpassword') data 'stops-TOTAL_FORMS': u'2', 'stops-INITIAL_FORMS': u'0', 'stops-MIN_NUM_FORMS': u'0', 'stops-MAX_NUM_FORMS': u'1000', 'stops-0-id': u'', 'service_date':'02/07/2027', 'passenger_name':'John', 'passenger_lastname':'Doe', 'service_type':'BUSINESS', 'status':0, 'payment_options':'CASH', 'amount':'0.00', 'author_alias':'Faker', 'vehicle':'CAR', 'pax_number':1 response self.client.post(reverse('reservation-create'), datadata, followTrue) self.assertContains(response,'You must have specify both place1 and place2') def test_create_minimal_for_user(self): self.client.login(username'john', password'defaultpassword') data 'stops-TOTAL_FORMS': u'2', 'stops-INITIAL_FORMS': u'0', 'stops-MIN_NUM_FORMS': u'0', 'stops-MAX_NUM_FORMS': u'1000', 'stops-0-id': u'', 'service_date':'02/07/2027', 'passenger_name':'John', 'passenger_lastname':'Doe', 'stops-0-time': '11:00', 'stops-0-place':'Place1', 'stops-1-place': 'Place2', 'service_type':'BUSINESS', 'status':0, 'payment_options':'CASH', 'amount':'0.00', 'author_alias':'Faker', 'vehicle':'CAR', 'pax_number':1 response self.client.post(reverse('reservation-create'), datadata, followTrue) self.assertRedirects(response, reverse('dashboard')) reservation Reservation.objects.first() self.assertEquals(reservation.service_date.strftime('%Y-%m-%d'),'2027-02-07') self.assertEquals(reservation.passenger_name,'John') self.assertEquals(reservation.passenger_lastname,'Doe') self.assertEquals(reservation.service_type,'BUSINESS') self.assertEquals(reservation.status,0) self.assertEquals(reservation.author_alias,'Faker') self.assertEquals(reservation.payment_options,'CASH') self.assertEquals(reservation.amount,0.00) self.assertEquals(reservation.vehicle,'CAR') self.assertEquals(reservation.pax_number,1) self.assertEquals(reservation.stops.first().place, 'Place1') self.assertEquals(reservation.stops.last().place, 'Place2') self.assertEquals(reservation.stops.first().time.strftime('%H:%M'), '11:00') def test_create_minimal_for_user_and_new(self): self.client.login(username'john', password'defaultpassword') data 'stops-TOTAL_FORMS': u'2', 'stops-INITIAL_FORMS': u'0', 'stops-MIN_NUM_FORMS': u'0', 'stops-MAX_NUM_FORMS': u'1000', 'stops-0-id': u'', 'service_date':'02/07/2027', 'passenger_name':'John', 'passenger_lastname':'Doe', 'stops-0-time': '11:00', 'stops-0-place':'Place1', 'stops-1-place': 'Place2', 'service_type':'BUSINESS', 'status':0, 'payment_options':'CASH', 'save_and_new':'Submit', 'amount':'0.00', 'author_alias':'Faker', 'vehicle':'CAR', 'pax_number':1 response self.client.post(reverse('reservation-create'), datadata, followTrue) self.assertRedirects(response, reverse('reservation-create')) reservation Reservation.objects.first() self.assertEquals(reservation.service_date.strftime('%Y-%m-%d'),'2027-02-07') self.assertEquals(reservation.passenger_name,'John') self.assertEquals(reservation.passenger_lastname,'Doe') self.assertEquals(reservation.service_type,'BUSINESS') self.assertEquals(reservation.status,0) self.assertEquals(reservation.author_alias,'Faker') self.assertEquals(reservation.payment_options,'CASH') self.assertEquals(reservation.amount,0.00) self.assertEquals(reservation.vehicle,'CAR') self.assertEquals(reservation.pax_number,1) self.assertEquals(reservation.stops.first().place, 'Place1') self.assertEquals(reservation.stops.last().place, 'Place2') self.assertEquals(reservation.stops.first().time.strftime('%H:%M'), '11:00') def test_create_minimal_for_user_and_clone(self): self.client.login(username'john', password'defaultpassword') data 'stops-TOTAL_FORMS': u'2', 'stops-INITIAL_FORMS': u'0', 'stops-MIN_NUM_FORMS': u'0', 'stops-MAX_NUM_FORMS': u'1000', 'stops-0-id': u'', 'service_date':'02/07/2027', 'passenger_name':'John', 'passenger_lastname':'Doe', 'stops-0-time': '11:00', 'stops-0-place':'Place1', 'stops-1-place': 'Place2', 'service_type':'BUSINESS', 'status':0, 'payment_options':'CASH', 'save_and_clone':'Submit', 'amount':'0.00', 'author_alias':'Faker', 'vehicle':'CAR', 'pax_number':1 response self.client.post(reverse('reservation-create'), datadata, followTrue) self.assertEquals(response.status_code, 200) self.assertContains(response, 'John') reservation Reservation.objects.first() self.assertEquals(reservation.service_date.strftime('%Y-%m-%d'),'2027-02-07') self.assertEquals(reservation.passenger_name,'John') self.assertEquals(reservation.passenger_lastname,'Doe') self.assertEquals(reservation.service_type,'BUSINESS') self.assertEquals(reservation.status,0) self.assertEquals(reservation.author_alias,'Faker') self.assertEquals(reservation.payment_options,'CASH') self.assertEquals(reservation.amount,0.00) self.assertEquals(reservation.vehicle,'CAR') self.assertEquals(reservation.pax_number,1) self.assertEquals(reservation.stops.first().place, 'Place1') self.assertEquals(reservation.stops.last().place, 'Place2') self.assertEquals(reservation.stops.first().time.strftime('%H:%M'), '11:00') def test_invalid_date_in_past(self): self.client.login(username'john', password'defaultpassword') data 'stops-TOTAL_FORMS': u'2', 'stops-INITIAL_FORMS': u'0', 'stops-MIN_NUM_FORMS': u'0', 'stops-MAX_NUM_FORMS': u'1000', 'stops-0-id': u'', 'service_date': '02/07/2010', response self.client.post(reverse('reservation-create'), datadata) self.assertFormError(response, 'form', 'service_date', 'Date can't be in the past!')·OTHER ANSWER:I'm learning TDD with Django and currently I'm testing my CreateView class. I feel like I'm not using best practices but am not sure on how to improve my code.test_reservation_create.pyfrom django.test import TestCasefrom django.urls import reversefrom reservations.models import Reservationfrom src.factories import UserFactory, GroupFactory, ProfileFactory, TagFactoryclass TestCreateReservation(TestCase): def setUp(self): persona UserFactory(groups(GroupFactory.create(),)) ProfileFactory(userpersona, ) persona.profile.tags.add(TagFactory()) def test_create_view_denies_anonymous(self): response self.client.get(reverse('reservation-create'), followTrue) self.assertRedirects(response, '/login?next/r/create/') def test_loads_template_for_user(self): self.client.login(username'john', password'defaultpassword') response self.client.get(reverse('reservation-create')) self.assertEquals(response.status_code, 200) def test_create_blank_for_user(self): self.client.login(username'john', password'defaultpassword') data 'stops-TOTAL_FORMS': u'2', 'stops-INITIAL_FORMS': u'0', 'stops-MIN_NUM_FORMS': u'0', 'stops-MAX_NUM_FORMS': u'1000', 'stops-0-id': u'', response self.client.post(reverse('reservation-create'), datadata) self.assertFormError(response,'form','passenger_name','This field is required.') self.assertFormError(response,'form','passenger_lastname','This field is required.') self.assertFormError(response,'form','service_date','This field is required.') self.assertFormError(response,'form','author_alias','This field is required.') def test_formset_validation(self): self.client.login(username'john', password'defaultpassword') data 'stops-TOTAL_FORMS': u'2', 'stops-INITIAL_FORMS': u'0', 'stops-MIN_NUM_FORMS': u'0', 'stops-MAX_NUM_FORMS': u'1000', 'stops-0-id': u'', 'service_date':'02/07/2027', 'passenger_name':'John', 'passenger_lastname':'Doe', 'service_type':'BUSINESS', 'status':0, 'payment_options':'CASH', 'amount':'0.00', 'author_alias':'Faker', 'vehicle':'CAR', 'pax_number':1 response self.client.post(reverse('reservation-create'), datadata, followTrue) self.assertContains(response,'You must have specify both place1 and place2') def test_create_minimal_for_user(self): self.client.login(username'john', password'defaultpassword') data 'stops-TOTAL_FORMS': u'2', 'stops-INITIAL_FORMS': u'0', 'stops-MIN_NUM_FORMS': u'0', 'stops-MAX_NUM_FORMS': u'1000', 'stops-0-id': u'', 'service_date':'02/07/2027', 'passenger_name':'John', 'passenger_lastname':'Doe', 'stops-0-time': '11:00', 'stops-0-place':'Place1', 'stops-1-place': 'Place2', 'service_type':'BUSINESS', 'status':0, 'payment_options':'CASH', 'amount':'0.00', 'author_alias':'Faker', 'vehicle':'CAR', 'pax_number':1 response self.client.post(reverse('reservation-create'), datadata, followTrue) self.assertRedirects(response, reverse('dashboard')) reservation Reservation.objects.first() self.assertEquals(reservation.service_date.strftime('%Y-%m-%d'),'2027-02-07') self.assertEquals(reservation.passenger_name,'John') self.assertEquals(reservation.passenger_lastname,'Doe') self.assertEquals(reservation.service_type,'BUSINESS') self.assertEquals(reservation.status,0) self.assertEquals(reservation.author_alias,'Faker') self.assertEquals(reservation.payment_options,'CASH') self.assertEquals(reservation.amount,0.00) self.assertEquals(reservation.vehicle,'CAR') self.assertEquals(reservation.pax_number,1) self.assertEquals(reservation.stops.first().place, 'Place1') self.assertEquals(reservation.stops.last().place, 'Place2') self.assertEquals(reservation.stops.first().time.strftime('%H:%M'), '11:00') def test_create_minimal_for_user_and_new(self): self.client.login(username'john', password'defaultpassword') data 'stops-TOTAL_FORMS': u'2', 'stops-INITIAL_FORMS': u'0', 'stops-MIN_NUM_FORMS': u'0', 'stops-MAX_NUM_FORMS': u'1000', 'stops-0-id': u'', 'service_date':'02/07/2027', 'passenger_name':'John', 'passenger_lastname':'Doe', 'stops-0-time': '11:00', 'stops-0-place':'Place1', 'stops-1-place': 'Place2', 'service_type':'BUSINESS', 'status':0, 'payment_options':'CASH', 'save_and_new':'Submit', 'amount':'0.00', 'author_alias':'Faker', 'vehicle':'CAR', 'pax_number':1 response self.client.post(reverse('reservation-create'), datadata, followTrue) self.assertRedirects(response, reverse('reservation-create')) reservation Reservation.objects.first() self.assertEquals(reservation.service_date.strftime('%Y-%m-%d'),'2027-02-07') self.assertEquals(reservation.passenger_name,'John') self.assertEquals(reservation.passenger_lastname,'Doe') self.assertEquals(reservation.service_type,'BUSINESS') self.assertEquals(reservation.status,0) self.assertEquals(reservation.author_alias,'Faker') self.assertEquals(reservation.payment_options,'CASH') self.assertEquals(reservation.amount,0.00) self.assertEquals(reservation.vehicle,'CAR') self.assertEquals(reservation.pax_number,1) self.assertEquals(reservation.stops.first().place, 'Place1') self.assertEquals(reservation.stops.last().place, 'Place2') self.assertEquals(reservation.stops.first().time.strftime('%H:%M'), '11:00') def test_create_minimal_for_user_and_clone(self): self.client.login(username'john', password'defaultpassword') data 'stops-TOTAL_FORMS': u'2', 'stops-INITIAL_FORMS': u'0', 'stops-MIN_NUM_FORMS': u'0', 'stops-MAX_NUM_FORMS': u'1000', 'stops-0-id': u'', 'service_date':'02/07/2027', 'passenger_name':'John', 'passenger_lastname':'Doe', 'stops-0-time': '11:00', 'stops-0-place':'Place1', 'stops-1-place': 'Place2', 'service_type':'BUSINESS', 'status':0, 'payment_options':'CASH', 'save_and_clone':'Submit', 'amount':'0.00', 'author_alias':'Faker', 'vehicle':'CAR', 'pax_number':1 response self.client.post(reverse('reservation-create'), datadata, followTrue) self.assertEquals(response.status_code, 200) self.assertContains(response, 'John') reservation Reservation.objects.first() self.assertEquals(reservation.service_date.strftime('%Y-%m-%d'),'2027-02-07') self.assertEquals(reservation.passenger_name,'John') self.assertEquals(reservation.passenger_lastname,'Doe') self.assertEquals(reservation.service_type,'BUSINESS') self.assertEquals(reservation.status,0) self.assertEquals(reservation.author_alias,'Faker') self.assertEquals(reservation.payment_options,'CASH') self.assertEquals(reservation.amount,0.00) self.assertEquals(reservation.vehicle,'CAR') self.assertEquals(reservation.pax_number,1) self.assertEquals(reservation.stops.first().place, 'Place1') self.assertEquals(reservation.stops.last().place, 'Place2') self.assertEquals(reservation.stops.first().time.strftime('%H:%M'), '11:00') def test_invalid_date_in_past(self): self.client.login(username'john', password'defaultpassword') data 'stops-TOTAL_FORMS': u'2', 'stops-INITIAL_FORMS': u'0', 'stops-MIN_NUM_FORMS': u'0', 'stops-MAX_NUM_FORMS': u'1000', 'stops-0-id': u'', 'service_date': '02/07/2010', response self.client.post(reverse('reservation-create'), datadata) self.assertFormError(response, 'form', 'service_date', 'Date can't be in the past!')
Has User Testing Found That the Three Horizontal Bars for Main Menu on Mobile Is Commonly Understood
James Foster of Exis Web did an interesting A/B test on the hamburger icon:Tests on mobile showed a difference, though not all that significant, when the icon was used with a border (so it looks like a button):Perhaps more interestingly, the A/B test seemed to more clearly indicate that desktop users don't understand the icon:I tested 4 variations of the content inside a blue button:(Baseline) The word MENUThe word MOREHamburger icon MENUHamburger icon MOREThe results were far more significant.Tests 2, 3, and 4 performed far worse (18%, 31%, and 43% worse respectively).And interestingly, the icon label performed worse than just the label (which is usually pretty easy to integrate into a desktop page/app). So it would appear for mobile the icon works serviceably, as long as it looks like a button, and on desktop it's best to not use it at all.James Foster then conducted a second AB test, this time looking at how the hamburger menu tests when used in combination with the word MENU and with a button border and combinations thereof.Based on this and my previous AB test, a flat hamburger icon may not be ideal on a responsive website (remember this is a website not an app). Using the word MENU (and making it look like a button) could be more helpful for visitors.This does not mean that users do not understand the hamburger/sandwich it could be that the word MENU draws more attention.This also supports findings recently published by NNGroupClear labels help users make decisions faster: they give good information scent about what will come next. Labels should still be used for newer icons, such as the three-line menu icon (or hamburger icon)......Users are still unfamiliar with newer icons, including the three-line menu icon"Three horizontal lines" aka "hamburger icon" seems to be becoming a convention for the "main menu" button, especially on mobile sites:Has anyone done any user testing of this convention, or got any A/B testing results? (i.e. is there an increase in bounce rate compared to using the word "Menu"?)I did some quick user testing with wireframes featuring this icon for the main menu. 3 out of 6 people got it and used it. The others did not.One person in particular had a lot of trouble "getting back to the top" (i.e. restarting their navigation from the top level of the site) as they didn't know about the convention, or that the logo would link to the home page.I guess it will be different for different demographics - users of Facebook on mobile probably know it.Anyone got any findings they can share?·OTHER ANSWER:"Three horizontal lines" aka "hamburger icon" seems to be becoming a convention for the "main menu" button, especially on mobile sites:Has anyone done any user testing of this convention, or got any A/B testing results? (i.e. is there an increase in bounce rate compared to using the word "Menu"?)I did some quick user testing with wireframes featuring this icon for the main menu. 3 out of 6 people got it and used it. The others did not.One person in particular had a lot of trouble "getting back to the top" (i.e. restarting their navigation from the top level of the site) as they didn't know about the convention, or that the logo would link to the home page.I guess it will be different for different demographics - users of Facebook on mobile probably know it.Anyone got any findings they can share?
How Does Traditional Market Research Integrate Blockchain
How Does Traditional Market Research Integrate Blockchain
Insights network launched the install blockchain, which is one of the most unique blockchain technology use cases seen in the world. In this article, we will discuss how our blockchain Market Research Network works from a technical perspective, and how this technology can improve data quality, reduce costs, reduce fraud, and empower data creators.Next, we will focus on some of the most common problems in the traditional market research industry. Since the birth of the Internet, there has been no innovative standard practice in the traditional market research industry.Problem: low quality users. Unconfirmed false data. The traditional panel only allows users to register and select demographic information. We call it personal data value (age, gender, income level, number of children, pet owner, etc.). IP address detection is the basis for deciding whether to allow consumers to participate in the survey. In some cases, a method called "river sampling" is used to conduct real-time surveys of respondents. In this method, anyone who visits the survey link will begin to be screened for demographic questions and enter the relevant surveys (if available). This will lead to a poor user experience, which we will discuss in another article on this blog.Solution: verify the blockchain account. The submitted value is assigned to the install blockchain account as a hash value after verification. The insights network blockchain authentication account is assigned a hash value, allowing the account to participate in the smart contract. The identity is verified by a third-party authentication partner, and the value of the profile is submitted as an unexplained hash value, so it is impossible to know what value is assigned to each user. We use our patent application zero knowledge proof authentication scheme as a filter to ensure that authentication partners cannot track the documents they are validating. The technology we are applying for patent will be published and disclosed in detail before the end of 2019. Next, you will see the account verification record that occurs in real time and recorded on the blockchain. In this example, the account "fbtiezh3sty4" has received the authentication credentials assigned to its account and submitted to the install blockchain as "commit".Install blockchain record of the validated profile value submitted to the blockchain accountProblem: poor user experience. When conducting the survey on the traditional market research platform, a method called "river sampling" is adopted to conduct real-time survey on the respondents. In this method, anyone who visits the link will begin to be screened for demographic questions and guided to the relevant survey (if any). This leads to a bad user experience, and users constantly jump out of the survey in the process of accepting the survey. This is a waste of investigators' time and creates great frustration among the team members, resulting in a low retention rate of the team. For example, a requester can set a condition that only men aged 30-40 who drive a white car, own a dog and have mortgage debt are eligible to participate in the survey. Instead of predetermining these values before service users, they ask them when investigators conduct surveys. Some surveys may take 45 minutes to complete. Imagine that you spent 25 minutes completing a survey, but when they asked you if you had a pet and you said no, you were rejected. What would you think. This happened to most respondents.Solution: determine the "match" in advance before providing users with investigation opportunities. Through the smart contract on the install blockchain, you can find the value of the blockchain account submitted to each user and the local storage of the encryption profile value on the user's device. Every time a survey opportunity is created and funded, it enters the insights network data exchange smart contract. The contract then polls each device connected to the network for a device that matches the requested survey. The same selection criteria as traditional market research products can be set by the requester, but it does not allow anyone on the local IP address to access the survey - just to pop up unqualified participants afterwards - the smart contract searches for active devices on the network and only shows the survey opportunities to providers who meet the exact criteria specified by the requester. We use the so-called disconnection circuit to calculate the encryption profile value of each user to determine the "match". During the matching process, encrypted data polled for eligible demographic data will never be decrypted - giving users complete control over the visibility of their data. Here is how to record a match on the blockchain:Complete the "matched" install blockchain recordOnce a match is determined, the provider can see an investigation opportunity. Users can view the compensation provided for completing the survey, the personal data requested and the submitted data, and agree when exchanging personal data and responding to the survey. The submitted answer cannot be represented by a hash value.Install blockchain record for data exchangeQuestion: can you really believe these data? Most panel companies that complete the brand survey sample provide data sets to brands in an opaque situation. Previously, the industry has been plagued by the sharing of personally identifiable information (also known as "PII"). However, with the introduction of the general data protection regulation (gdpr) by the European Union (EU), this system has undergone major adjustments. It is illegal to collect consumers' personal identity information and sell it to a third party without consumers' consent. If the PII of consumers cannot be shared, it is more difficult to provide accurate information about the surveyed users. Nevertheless, most online panel companies have completely unauthenticated user databases, and trust in people is the only determinant of data quality.Solution: the blockchain can verify the transaction ID. When running an example on the insights network, the blockchain transaction ID is associated with each respondent. This creates audit trails that are not available in the current market research industry. There is now a clear record of team members' submissions and the relevant summary values of each team member. In addition to transparency, these transaction IDS can also be used as your consent records, that is, the consumers you investigate and exchange data agree to the data exchange you pay for them. Some gdpr laws require applicants to keep records of subjects' consent. Using the insights network, this feature is built-in to the end-to-end experience.The following is a screenshot of the data export of a survey recently launched by insight networ. As the requester, this is the data you paid and the data you received. As an additional feature, insights network uses one-time pad encryption for all data you purchase. This means that insights network cannot pry into the data set you pay as a requester. After you export the data, this is the only time you can export the data.Results of a survey sponsored by insights network on the popular cryptocurrency chainlinkProblem: slow invoicing and long revenue turnover time. At present, the invoicing time of the market research industry needs at least 60-90 days, and a brand can pay the expenses of researchers. This means that team members also have to wait for their bonus. The core reason is the lack of high-quality data and deceptive survey responses that need to be evaluated and filtered from the final data set. This may take several weeks for the brand to comb through the data and determine which data sets are available and which are false. This is a particularly painful experience for group companies because they are waiting for feedback from the brand. Basically, the brand tells them how much they will get from the data set provided by group members.Solution: early data verification and smart contract payment data exchange. As mentioned in this article, the verification of profile values, matching on blockchain and smart contract governance create a more efficient and high-quality end-to-end experience. The last thing to record is the payment scheme. Because surveys can be provided to pre-determined, pre validated audiences, payments occur immediately and are subject to smart contracts. Install cryptocurrency provides funds for the smart contract according to the budget determined by the requester, and pays the provider with blockchain transaction immediately after the provider submits and agrees to the data exchange. The following is the transaction ID of the data exchange smart contract paid to the provider who completed and agreed to exchange in the network.Blockchain transaction ID of payment data exchangeCryptocurrency payments on the blockchain and install blockchain are borderless and can be sent to anyone around the world within 1 second. It also opens up access to emerging markets that were previously inaccessible due to the collapse of their banking systems.Development prospectAt present, we are running the survey sample on the install blockchain network as the first use case of insights network. This technology has unlimited scalability, can safely verify data, and communicate privately on the network in a transparent record, such as sending bitcoin payment to friends. Some future use cases we are dealing with include releasing previously unavailable data exchange / sharing opportunities, such as nuclear power plant data exchange, PII involving Enterprise Market Research (Q4) using secret state data prediction, and simpler use cases, such as receipt data exchange and micro customer experience survey. The most beautiful aspect of blockchain technology is the global cooperation opportunities it provides.Source: blocknet
Reasons Why We Should Impose Tariffs on Goods From China...?
Reasons Why We Should Impose Tariffs on Goods From China...?
Reasons why we should impose tariffs on goods from China...?I really see no good so I will give you things to prepare for. 1.) Trade is good for everyone 2.) This would hurt US China relations when China is a rising powerhouse 3.) Prices for consumers would rise and quantity demanded would go down as demand shifts left— — — — — —Why don't we raise taxes and tariffs on outsourcing companies?Tariffs and quotas create something that is called deadweight loss. It is a result of a misallocation of resources. In other words they create massive inefficiencies within the international trade system. Believe it or not, we are better off as a society to allow trade to flow freely between all countries we do business with. Outsourcing then becomes a situation of right vs right. For example, it pits doing what is right for the company against doing what is right for the individual. It's a hard pill to swallow, but those who have been replaced by overseas employees must retrain themselves into an industry that we are efficient in— — — — — —Since China is not paying the tariffs levied on its exports to the US, why is the tariffs affecting Chinau2019s economy?Because the premise of the question is not true. Chinese exporters are paying the lionu2019s share of the cost of the tariffs, and that is pretty much undeniable at this point.Many media outlets and personalities have an axe to grind with Trump, and are perpetuating a lie that the tariffs arenu2019t affecting China, in order to make Trump look bad. Itu2019s all theater. However, like most good lies, thereu2019s a small kernel of truth to it in there somewhere.The importer (America) pays the tariff in full when the product arrives in the U.S., and that seems to be the kernel of truth that talking heads are latching on to. Unfortunately for the anti-Trump crowd, that is only part of the story. In order to keep the retail price down, the exporter (China) must lower itu2019s wholesale price, and thus itu2019s profit margin in order to remain competitive. In the end, the wholesale price, plus the importeru2019s mark up, plus the tariff, still has to be at an attractive price point for customers. The tariff cannot be budged. That means some combination of wholesale discounts (Chinese exporter), retail discounts (American importer), or higher prices (American consumer) must be sought.For example, say youu2019ve been buying Chinese bubble gum for 10 cents each, and re-selling them for 15 cents in American stores, netting you 5 cents in profit. Now a 5 cent tariff is applied. You know you canu2019t sell very much bubble gum at 20 cents when they are worth only 15. You talk to the Chinese supplier, and they can cut your price from 10 cents to 7 cents. Meanwhile, you, the middle-man, can cut your profit from 5 cents to 4 cents. So you receive gum from China at 7 cents a pop, apply your 4 cent mark-up, then pay the 5 cent tariff, and put the gum on the store shelf at 16 cents each. You think you can still sell a large enough quantity of gum at 16 cents versus 15 cents.The price for the consumer (American) went up only 1 penny, but the tariff is 5 pennies. The importeru2019s profit dropped by 1 penny. The manufactureru2019s profit dropped by 3 pennies. The consumer (American) is eating 20% of the tariff, the importer (American) is eating 20% of the tariff. The Chinese manufacturer is eating 60%, 3 pennies, of the tariff. The proof is in the pudding. American consumers and importers are eating about 25% of the cost of the tariffs, while Chinese exporters are eating about 75%. However, that is small potatoes compared to the amount of manufacturing that is fleeing China for a better environment. The migration of manufacturing out of China has been happening for a while now, but the imposition of tariffs accelerated the process greatly. Fortunately, Iu2019ve written about this topic several times, and references to the evidence supporting this 25/75 claim reside in the following posts.John Anderson's answer to How much have tariffs already cost Americans in higher prices and farm subsidies? Has there been any increase in sales of goods made in the U.S.? Why does Trump continue to insist that China, not American consumers, pays the tariffs?John Anderson's answer to A recent survey quoted an average income family are paying an extra $800 a year on Trumpu2019s tariffs. Do you think itu2019s a price worth paying?John Anderson's answer to Is the Trump administrations use of tariffs just a clever way to tax the middle class and poor because they basically pay for the tariffs in higher prices?Since China is not paying the tariffs levied on its exports to the US, why is the tariffs affecting Chinau2019s economy?
Microsoft Officially Launched a New Surface Pro X Product in China
Microsoft Officially Launched a New Surface Pro X Product in China
On March 8, the new surface Pro X was officially launched in China. As Microsoft's lightest, strongest and most connected surface product so far, surface Pro x adopts Microsoft SQ1 processor jointly customized by Microsoft and Qualcomm. Microsoft SQ1 processor can achieve the balance between excellent performance and long endurance, help create a lightweight, fan free modern design, and bring consumers with "always on, always connected" mobile office PC products.Qualcomm has been committed to driving industry change through innovation, while working with ecosystem partners to enable a new user experience. In the field of mobile computing, Qualcomm has created a PC category of "always online and always connected", and continuously enriched PC functions to enable consumers to obtain an ideal and high-quality mobile experience. In 2016, Qualcomm announced its cooperation with Microsoft to enable Xiaolong computing platform to support Windows 10 PC. This time, through the Microsoft SQ1 processor jointly developed by Qualcomm and Microsoft based on Xiaolong computing platform, surface Pro x further brings the top features of smartphones to the PC category. Enable consumers to fully experience the top PC energy efficiency and performance, long-lasting battery life, smart phone like instant on, continuous connection and Gigabit 4G LTE speed in thin, fanless PC products.For PC users who need to work anytime, anywhere and capture inspiration, poor endurance, slow startup speed and lack of safe and stable network are the pain points that have plagued them for a long time. PC products that can be thin, portable and connected freely are an important guarantee for their productivity and creativity. The body thickness of surface Pro x is only 5.33mm and the bare metal weight is only 774g. It is the lightest surface product in Microsoft's history. The product not only has a slim and fashionable appearance design, but also brings the industry's best CPU, GPU and AI performance through Microsoft SQ1 processor. In terms of connection, Microsoft SQ1 processor adopts Xiaolong x24 modem, which is the world's first modem supporting cat.20 LTE, with a speed of up to 2.0 Gbps, and can provide a stable, high-speed and safe 4G LTE connection. In addition, surface Pro x supports ultra long battery life of up to 13 hours, which can effectively alleviate the anxiety of battery and network connection when consumers are in mobile office environments such as airports or cafes. The support of Microsoft SQ1 processor for battery life, 4G LTE and Wi Fi connection, as well as excellent multitasking capability, high-quality dual 4K video output and other excellent functions make the work easier and more efficient. Make surface Pro x a great device for consumers to capture inspiration and create at any time.
What Does Empty Space in an Atom Consist Of?
What Does Empty Space in an Atom Consist Of?
Well there is a lot of empty space in an atom.They actually say that if you take all the space out of atoms then the Empire State building would shrink to the size of a grain of sand.The Space in an atom has some very important properties.MassEnergy storageRoom to moveFirst of all lets look at mass. Einstein once too a block of iron and heated it up. What he found was interesting. The block of hot iron weighed more, and took up more space. It had gained mass.The iron atoms had gained mass in the form of heat energy. But where is this energy stored, the electrons have the same charge, and the nucleus had the same charge. But the electrons had moved to a higher level and the spaces inside the atom had expanded.So this is where the energy goes, into the void or empty space of an atom.If this space was nothing, then it could be filled with stuff. But atoms hold their ground they hold their form and you have special bonds happen between atoms. Electrons can move from one level to the next, and spin. Without this space atoms could not function.So this space in an atom is fundamental to the atoms abilities to behave like an atom.• Other QuestionsHow do hydrogen, deuterium and tritium differ?Deuterium and tritium are isotopes of hydrogen. Atomic isotopes have the same number of protons, but differ in the number of neutrons. All isotopes of hydrogen have a single proton. There are seven known hydrogen isotopes.Hydrogen is the only element whose common isotopes have different names in use today: protium (no neutrons, what you would call normal hydrogen), deuterium (one neutron), and tritium (two neutrons). The other four hydrogen isotopes are extremely short-lived and do not have special names.Deuterium is about twice as heavy as protium, and tritium about three times as heavy.Protium and deuterium can be used in discharge lamps and other gas-filled tubes. The colors produced by discharge lamps are close, but different.H2O is fairly common on the planet. However, about 1 in 7,000 of these molecules is actually DOH (or D2O). You can drink D2O in moderation without any harm. Tritium is mildly radioactive, with a 12 year half-life. There are minute quantities naturally. Drinking a glasss of T2O is ill-advised, but everyone ingests extremely minute quantities regularly, without harm.Deuterium and tritium are used in fusion research (turning D and T into heavier atoms, such as helium). The energy required to get them to fuse is amongst the lowest. Although fusion in the sun starts with protium, it is not used in earth-based fusion because the energy requirements are much, much higher.------Is electron a "point particle" as assumed in Quantum Mechanics?Nowhere it is formally claimed that an electron (or any other fundamental particle) is a point--that is, that a fundamental particle has 0 size. What is known is that a description of a fundamental particle can ignore its size (and thus regard it as 0) without measurable effects on the computations deriving from its other, measurable, properties and interactions.That's really all there is to it. We have no idea as to whether a fundamental particle has a size, or whether talking about its size has any meaning at all. What we know is that fundamental particles, like the electron, have no measurable size; and that's because we've been trying hard for decades to measure their size, and no matter how carefully we try and what methods we use, we get a size that's smaller than the error inherent in the measurements. And that error is way smaller than the size of a nucleus, or even a single proton. Which we can measure, using variants of the same methods we employ with electrons, and obtain results significantly above the inherent errors.The bottom, practical line boils down to:nwe don't know;we mostly don't care;in the case of fundamental particles, having a size (in so far as it is smaller than our error limits) doesn't change the results.Make of this what you want.This answer cannot substitute a proper professional evaluation.Is electron a "point particle" as assumed in Quantum Mechanics?.------What will happen to our sun after it burns all of its hydrogen?The sun will not burn all of its hydrogen, or even close to it.Think of fusion as a push and pull against gravity. Gravity wants to crush all mass into a single point. Fusion wants to blow everything off into a giant cloud.So when you have a lot of mass, (like the sun) gravity pushes hard enough on the atoms to force them to fuse, which releases an awful lot of energy pushing back against gravity. Eventually all the inner pieces become incredibly hard to fuse (even though there is still an awful lot of hydrogen in the upper layers, it isnt close enough to the core to fuse). So gravity crushes it down, and down, until finally even those inner layers are forced to fuse. Since these atoms are so massive they release a lot more energy, so much so that the gravity crushing down on the outer layers (where all the hydrogen is) is overcome by the energy of the fusion and the outer layer containing the vast majority of hydrogen is blown away. At this point the sun will be a white dwarf with little to no hydrogen in it.This is common for all stars, the vast (vast) majority of hydrogen is never fused. Its blown around in supernovas and nebulas and red giants but not fused------How does the same process that makes planets also make stars?It is amazing how the process unfolds - to form a star, you start with a large cloud of gas and dust, and once it starts to coalesce, it grows a central mass that keeps accumulating more gas, and more gas, then gets to the threshold of a minimal 0.08% of the Suns mass to begin the gravitational collapse and the ignition of fusion. Where the cloud is much larger than minimal more and more gas accumulates to make a more massive star, perhaps like the Sun, or, for example, two Solar masses to make a star like Sirius.The onset of fusion begins the down clock on the remaining gas and dust in the proto planetary disk. All while the star was forming, lesser objects were also forming in the disk itself, and the more and more they grew they became more massive. Once the star ignites, though, the new stellar wind starts to drive the extra gas / dust away, so that the planets will never accumulate as much gas and dust to become even marginal stars, but will remain planets (big and small). The biggest planets (since they were in the process of gaining more gas before they were shut down) are gas giants (our Jupiter and Saturn); the smaller planets stopped growing at the rocky planet stage (Mercury, Venus, Earth, and Mars)------Itu2019s accepted that the universe will exist forever. But wonu2019t we run out of hydrogen at some point in the future so there will be no stars? Or is there a natural process of fission that Iu2019m not aware of?Its not accepted that the universe will exist forever, at least by physicists and cosmologists. There are various theories for how it will end, but most experts agree that it will end.The most popular theories are (least popular first):The Big Crunch - gravity wins, and the universes expansion is reversed, and it all falls in towards each other, getting very hot as it does so, towards the end.The Big Freeze - closest to what you were saying: all stars use up their fuel, and turn into white dwarfs, then eventually (after an incredibly long time - hundreds of billions of years) cool down and turn into black dwarfs - basically cold lumps of matter. At this point the whole universe is in a state of maximum entropy, ie everywhere is at the same temperature (very cold).The Big Rip - the expansion of space keeps accelerating until the lambda-force (the theorised dark energy that is causing the expansion to accelerate) is so strong that it pulls apart all matter, down to the fundamental particle level.The Big Rip is (I think) the current favourite theory, and also (I think) the one that would happen soonest out of the three. Theyre all tied into the expansion rate of the universe, and so can be neatly summarised in this spacetime diagram:------Why do people say nuclear bombs are fake?Re. radioactive fallout: the strongest isotopes decay the fastest, giving the 710 rule- after seven times the amount of time has passed, the remaining radioactivity will be 1/10 as strong. So even after a large release of radioactive material such as a nuclear explosion or a reactor accident, the level of radioactivity will after weeks or months be too low to produce acute symptoms of radiation exposure.The problem after that is long-term chronic exposure. Two radioactive isotopes typically released from nuclear fission are Strontium-90 and Cesium-137. These have half-lives (how long it takes for half to decay away) of about 29-30 years. Because of the chemistry of strontium and cesium, any taken into the body will tend to remain there, and radioactive material taken into the body is far more harmful than material outside. If an area is contaminated with fallout, eating any plants or animals that grow there could lead to unhealthy levels of radioactive material within the body, potentially causing cancer, suppressed immune systems or birth defects. Unborn and young children are especially vulnerable, worsened by the fact that strontium and cesium become concentrated in milk.For example, the areas around Chernobyl and Fukushima actually support much wildlife now that humans have been evacuated; but in both locations wild boars were found to have levels of cesium too high for them to be safe to eat.------Is there any possibility that after billions or trillions of years, the Sun will lose its heat energy and disappear from the universe?The Sun is a star, and like all stars, it converts hydrogen, the most common element in the universe (by far), into helium, a process called fusion, which releases enormous quantities of gamma rays. By the time it takes for those gamma rays to reach the surface from the core where they are produced, it takes about 100,000 years in the case of our Sun, they will have degraded from high energy gamma to relatively low energy x-rays, UV rays, visible light, IR rays (heat) and microwaves.As a star consumes its hydrogen it gets hotter and hotter which accelerates the fusion process and at a certain point, the hydrogen is used up and the star collapses in the core and expands at the surface. It wonu2019t disappear (eventually it does) right away, but after a few billion years it will no longer be able to provide enough light and heat to sustain life on Earth. However, long before then, the increased heat of the Sun will have evaporated and blown away all the air and water, sterilizing the planet, mountains will melt into valleys and the surface of the Earth will resemble a glass ball with pock marks from space rocks which will reach the surface as there will be no air to stop them.Is there any possibility that after billions or trillions of years, the Sun will lose its heat energy and disappear from the universe?.
Ti Introduced Tps54062's Latest 50mA, 60V Synchronous Step-down Converter, Which Can Simplify the De
Ti Introduced Tps54062's Latest 50mA, 60V Synchronous Step-down Converter, Which Can Simplify the De
Beijing, August 4, 2011 - Texas Instruments (TI) recently announced the launch of a 50 Ma, 60 V synchronous swift ™ The step-down regulator can provide high efficiency and low noise performance in a solution with a size of only 125 mm2. The tps54062 integrates high side and low side power MOSFETs to provide high-efficiency power conversion and transient protection for noise sensitive industrial automation and sensor control, intelligent instruments, telecommunications, computing and consumer design.The latest 50 Ma, 60 V swift converters not only cope with high voltage transient protection up to 65 V, but also maintain high efficiency throughout the load. For more high-voltage transient protection at 50 Ma, Ti has also recently launched a new 50 Ma, 100 V LDO tps7a4001, which can achieve an extremely fast establishment time of less than 500 nanoseconds for 50 V transient events.In addition, tps54062 also supports ti's various embedded processor applications, including stellaris based applications ® ARM ® Cortex ™- M MCU、C5000 ™ Ultra low power DSP and ultra low power MSP430 based on 16 bit MCU ™ Applications, such as intelligent instruments, building automation and safety systems.Main features and advantages of tps54062:High efficiency and high performance: 65 V transient protection meets the specification requirements; Wide operating temperature (- 40 ° to 150 ° C); 90% efficiency at 150 kHz, 24 VIN and 5 Vout;Excellent noise performance: tps54062 can be synchronized with the clock through fixed frequency;Low power operation: 89 UA working current and only 1.7 UA off current;The smallest solution size in the industry: 100 to 400 kHz switching frequency range, small MSOP package, integrated high and low side FET, which can save 20 mm2 board space compared with similar competitive solutions.Supply8-pin, 3mm x 5mm MSOP powerpad ™ The encapsulated tps54062 is now available in bulk and can be ordered through Ti and its authorized distributors.
MCU Knowledge Is One of the Foundations of Linux Driver Development
MCU Knowledge Is One of the Foundations of Linux Driver Development
This is the wiki text version of lesson 1 and lesson 2 of arm bare metal phase 1 enhanced version.Why do you want to learn SCM without a future?Because it's a good entrance.Learning MCU can let us put aside the complex software structure and master the hardware operation first, such as looking at the schematic diagram, chip manual, writing program operation register, etc. In the last video, I just belittled the single chip microcomputer to nothing, saying that the single chip microcomputer has no future. In this video, I want to tell you that if there is no future, you should also learn the single chip microcomputer. Why?First of all, I don't need to learn MCU, which means don't use the old learning methods to learn MCU. What is the old way?·Hardware: do not use C51, STM32 these special MCU development boards. If you don't plan to engage in MCU development in the future, why do you use these chips? After studying for two or three months, you can use these registers clearly, and you can't use them. It's unnecessary.·Software: do not use KEIL, MDK and other highly integrated software. If you use these software, you can write main (), and then call various libraries for fool operation. These easy-to-use tools encapsulate many technical details, making it impossible for us to understand the essence of bare metal and single chip microcomputer.In the future, we will use a new set of methods to develop MCU. A new set of methods will be introduced later.The reason why we have to learn MCU is that its knowledge is still useful for us to learn Linux. Let's first look at what a Linux system is all about. Software composition of an embedded Linux system: MCU bootloader – > linux driver – > linux app – > linux GUI (Android / Qt). When our PC is powered on, the BIOS will be displayed on the black screen. The purpose of this BIOS is to start the windows kernel. The windows kernel then mounts Disk C (system disk) and disk D (application disk), and finally starts applications, such as QQ and online games. Similarly, our Android phones or industrial control devices also have BIOS, but the embedded Linux system is not called BIOS, but bootloader. Its purpose is to start the Linux kernel. It first identifies the storage device where the application is located, mounts the root file system (Disk C and disk D in Windows system, called root file system in Linux), and finally starts the application.Carefully analyze the bootloader. It starts the kernel. Where does it start the kernel? Obviously, it reads the kernel somewhere. For example, BIOS reads the windows kernel from disk C, and our bootloader reads the kernel from flash or SD card. Therefore, bootloader should have the ability to read flash or SD card. Some bootloaders also display logo, so it also has the ability to operate LC D. bootloader also needs to set the environment of the development board, such as initializing the clock, initializing the memory, and setting the network card. So many things are implemented in bootloader, which is too complex. It is very difficult to analyze the whole bootloader when you come.So how do we learn? Take it apart and write a separate program, such as LED lighting, clock, network card and flash. These are single-chip microcomputer programs. Therefore, bootloader is a complete collection of single-chip microcomputer programs. In order to better learn bootloader, we should practice the hardware one by one in advance. When we are familiar with each hardware , and then combined, it's a bootloader.Let's take another look at bootloader. After bootloader starts the kernel, the kernel mounts the root file system, which means that the kernel also has the ability to operate the hardware, which is the driver. First, let's take a look at a simple driver. First, our application calls open(), read(), write() These standard interfaces are used to access the hardware. Then enter the driver, which has the corresponding drive_open(), drive_read(), drive_write(). Finally, configure the hardware in the driver. For example, for an LED lighting driver, drive_open() should set the GPIO as the output pin, drive_read(), return the GPIO status, and driver_write() Write GPIO and let the pin output high level or low level.For our LED driver, you need to provide drive_open(), drive_read(), drive_write(). This is its framework. The specific operation of hardware is hardware operation. Therefore, we are familiar with and master the hardware operation in the single chip microcomputer in advance. That is, the composition of the driver:Driver = software framework hardware operationYou need to learn to see the schematic diagram, how to connect the hardware, read the chip manual, and know how to read and write registers. All these can be learned and mastered in the single chip microcomputer. When learning linux driver in the future, focus on the software framework.We can learn single chip microcomputer in advance. The learning of single chip microcomputer allows us to put aside the complex software structure and master the hardware operation first, such as looking at the schematic diagram, chip manual, writing program operation register, etc. This is why single chip microcomputer has no future, and we also need to learn. It is because the hardware operation involved in it is very useful for our subsequent learning.Now we know that we learn MCU not to master the development skills of MCU, but to master bootloader and hardware operation.Original post transferred from: http://bbs.elecfans.com/jishu_1544437_1_1.html
"Internet Plus Medical" Has Been Arranged by Internet Giants, Which Promotes the Development of the
"Internet Plus Medical" Has Been Arranged by Internet Giants, Which Promotes the Development of the
Since the outbreak of the epidemic, health codes, online diagnosis and treatment, infrared thermometers, etc. have been gradually known by the public. They share a "tall" name - "smart medical". In addition, in recent years, the rise of online registration, APP end test sheet, electronic medical record, guidance robot and so on are all intelligent medical treatment.However, these new technologies are not as popular as expected. Many grass-roots medical institutions, physical examination centers and elderly care institutions still adopt traditional service modes such as queuing for numbers, handwritten prescriptions and paper medical records; Even hospitals that have established an electronic patient record database do not exchange data with each other, becoming "information islands". Therefore, in the eyes of most patients, "intelligent medical treatment" is just an ungrounded abstract thing.Kangtai medicine (300869) has been established for more than 20 years. It has been mainly engaged in the production and sales of medical devices. Its products cover many categories such as blood oxygen, ECG, ultrasound, monitoring and blood pressure. Its 160 patents are also developed around medical devices. As early as 2010, such a "traditional" medical equipment production and marketing enterprise began to explore the integration of traditional medical equipment, telemedicine and Internet technology, that is, the initial form of smart medicine.What achievements have Kangtai medicine made in years of exploration? For the current situation of "ungrounded" intelligent medical treatment, can it be changed?Medical "Internet access to the cloud" is difficult to sinkAfter the establishment of Ali in 2014, Tencent, Baidu, Jingdong and the US group have been laying Internet plus medical services, thus promoting the first stage of intelligent medical treatment. The second stage is "Ai medical".The problem is that the Internet Medical layout of giants is concentrated in the hospital system, and the coverage of regional health system and family health system is obviously insufficient.Take Alibaba, which has the most comprehensive layout, as an example. In its internet medical product matrix, only pre diagnosis services or auxiliary diagnosis and treatment services such as health science popularization, consultation registration and medicine B2C can touch the regional health system and family health system. In terms of hospital system, Ali has arranged many products and services such as Internet hospital, smart hospital, provincial and municipal Internet hospital platform, doctor training and e-prescription circulation platform.It is worth noting that the layout of "focusing on hospital system" is actually leveraging doctor resources to obtain users in the traditional "doctor led patient" mode, so as to enter the field of medical circulation and out of hospital services. This layout has limited power for hospitals and even the government. Therefore, the high-quality medical resources provided by internet giants are concentrated in the pre diagnosis and auxiliary diagnosis and treatment links, and a large number of patient resources are closed in the traditional medical system and difficult to be touched.In addition, a large number of patients with "minor diseases and disasters" choose to "see a doctor nearby" and enter the regional health system and family health system. Patients in the "three systems" of hospitals, regions and families are difficult to reach, which leads to the low penetration rate of internet medical users: in May 2020, there were 41.35 million active internet medical users, a year-on-year increase of 38%, but the penetration rate of the whole network was only 4%. It is not difficult to understand why the majority of patients believe that smart medicine is "ungrounded".Not only the Internet giant, but also the whole medical service supply is basically concentrated in general hospitals, which seriously deviates from the reform orientation of "graded diagnosis and treatment".Graded diagnosis and treatment emphasizes that it is graded according to the priority of diseases and the difficulty of treatment. Medical institutions at different levels undertake the treatment of different diseases, and gradually realize the medical process from general practice to specialization.In 2015, the total number of diagnosis and treatment in China's medical and health institutions reached 7.7 billion, of which the proportion of diagnosis and treatment in tertiary hospitals, secondary hospitals, primary hospitals and grass-roots medical institutions was 19%, 15%, 3% and 56% respectively; By 2018, the total number of people diagnosed and treated had increased to 8.31 billion, and the above proportions had changed to 21%, 15%, 3% and 53% respectively.Graded diagnosis and treatment "has its form but not its reality". Tertiary hospitals are still overcrowded, and grass-roots hospitals are few. To promote the sinking of patient flow, we must improve the service capacity of grass-roots medical institutions.It can be seen that whether it is the internal demand to improve the penetration of internet medical services, or the external call of "graded diagnosis and treatment" reform. Smart medicine must strengthen the ability to serve grass-roots medical institutions.Kangtai medicine is a domestic enterprise that consciously laid out smart medicine earlier. It has not only laid out telemedicine for a long time, but also a variety of medical instruments have been "online into the cloud". Can it solve the chronic disease of the industry?Go to the masses and expand production and R & DKangtai medicine's layout of telemedicine is reflected in: it has built a SaaS telemedicine platform, which integrates multiple resources such as medical devices, users, doctors, experts and health managers, and monitors individual health in the whole process through software technology, so as to cover high-quality medical resources to families and communities. Its telemedicine software is mainly PHMS telemedicine system Android version and babytalk baby heart language Android version.The "Internet access to the cloud" of Kangtai medical equipment is mainly reflected in that its wrist / desktop / handheld / wearable oximeter supports data storage and upload, and all the physical examination data of the health all-in-one machine can be connected to the cloud platform.Among them, the inspection box, as the standard configuration of grass-roots physical examination, is composed of tablet computer, Bluetooth second-generation ID card reader and Bluetooth data acquisition terminal. The physical examination parameters include almost all conventional physical examination items. Users can quickly establish residents' health files through ID card swiping. The physical examination data can be automatically uploaded to the cloud platform and support seamless connection with third-party platforms.In solving the "sinking" problem, Kangtai medicine and the Internet giant have different choices:Unlike "focusing on the hospital system", Kangtai medical products went deep into the "masses" from the beginning by relying on "Grass-roots" channels such as local clinics, elderly care institutions and families.From OEM medical equipment for foreign manufacturers in the 1990s, to opening the foreign market with independent brands at the beginning of this century, and then to the grass-roots level in China in the last 10 years. Behind the transformation battlefield of Kangtai medicine, there is technical strength support, but there is also "helplessness" from reality.For example, when it turned to the domestic market, it failed to capture general hospital customers with large orders and sufficient financial resources, and had to reach grass-roots medical institutions and family users through the e-commerce platform. The reason is that the former market has been divided up by multinational enterprises and domestic enterprises involved in the earlier stage. Mixing the medical equipment industry, relying on technology and channels, Kangtai medicine had to find another way.Fortunately, most of the medical instruments produced by Kangtai medicine are simple to operate, easy to carry and highly versatile. Even through online sales, they can reach users, and are particularly popular in grass-roots medical institutions, especially families.In particular, the "health all-in-one machine" produced by Kangtai medicine integrates a variety of functions such as detecting ECG, blood oxygen, blood pressure, body temperature and blood glucose. It can be regarded as a master of its core technology and has won the procurement projects of health departments in many provinces and cities. In 2019, the revenue of its all-in-one health machine reached 50.61 million yuan, accounting for more than 13% of the revenue of many sub classified products of Kangtai medicine, becoming a "star single product".In 2014, the measures for the management of village clinics (Trial) was issued. The "health all-in-one machine" is exactly an important medical equipment that must be equipped in the village clinics. This "single product" has contributed to the reputation of Kangtai medicine at the grass-roots level.Smart medicine needs to sink. Kangtai medical products have long been distributed in village clinics, elderly care institutions, families and other grass-roots occasions. It plans to integrate the medical data of grass-roots medical institutions in the cloud through mobile app, which can make up for its current lack of only integrating physical examination data, and is more hopeful to realize interactive consultation among multi-level medical institutions, Help with graded diagnosis and treatment.It has to be said that the former "helplessness" has become the competitive advantage of Kangtai medicine.However, its production capacity and technology have sounded a red light: first, the production capacity of medical equipment has been seriously saturated and needs to be supplemented urgently; Second, intelligent medical equipment has increasingly strict requirements on the intelligent degree of medical equipment. Kangtai medical equipment's "Internet access to the cloud" performance is far from enough, and the intelligent level needs to be strengthened.Suit the remedy to the case, Kangtai medical preparation, and expand production and R & D.The current capacity of Kangtai medicine is about 1.42 million units / year, but the capacity utilization rate has always been higher than 150% in recent three years. Therefore, it raised nearly 220 million yuan to build a new "medical equipment production reconstruction and expansion project", which will double the production capacity and help Kangtai medicine occupy more market share in the grass-roots level.In addition, the homogenization of medical device products is becoming more and more serious. Big data, artificial intelligence and virtual reality technology are changing the medical device industry and becoming an important chip for players in the industry to surpass competition and win market competition. Therefore, forward-looking enterprises are stepping up the layout of intelligent medical equipment, and Kangtai medicine, which pursues intelligent medicine, is no exception.In its prospectus, it disclosed a number of research projects of cutting-edge technologies, including EEG electrode wearing state detection technology and automatic inspection technology of production line, which will produce more "intelligent" medical equipment hardware, not just products that "surf the Internet into the cloud" at the software level. Kangtai medicine also raised 70 million yuan to build the "intelligent medical equipment industry research institute" project, and subdivided the combination of traditional medical equipment and intelligent technology into five research directions to comprehensively sprint intelligent medical equipment.
sin datos
Contact Us
Contact Person: AI customer service
Tel: +86 0757-23368757
Address: No.119, Shuiyin Road, Yuexiu District, Guangzhou 
WHATSAPP: 13885223350
SKYPE: SKYPE 2019
Better Touch Better Business
Contact Sales at JuJiao.
Call Us
+86 0757-23368757
  
Copyright © 2021 FOSHAN SAN DUN Furniture CO., LTD. | All Rights Reserved |Sitemap