-
Posts
7927 -
Joined
-
Last visited
-
Days Won
26
Content Type
Profiles
Forums
Events
Everything posted by Sensei
-
Help! PHP/SQL beginner creating Faculty Evaluation System
Sensei replied to moniker's topic in Computer Science
Your job is to make couple SQL tables, with rows, like teacher, like student, like answers student gave. It has to end up in SQL db. Think what layout has to have teacher's table, what layout has to have student's table (what columns are needed), what layout has to have answers table (at least student's id, teacher's id, answer bitfield).. Routine showing final result, leave for.. final of job. You can't make it at start when you have nothing, no SQL db tables at all, to work on their data.. ps. Nobody will do this for you. At least not on this website. If you will be finding people doing your job instead of you, you won't be able to be employed and work efficiently in the future in any software company. -
Help! PHP/SQL beginner creating Faculty Evaluation System
Sensei replied to moniker's topic in Computer Science
Then I don't understand what do you meant by "working on this for more than a month", when you didn't work on it at all.. You should simply open text editor and start writing. Who cares about it? That's the last and the less important routine.. You have to make the all code for logging in, logging out, editing entries by admin, filling survey by student etc. generate HTML forms with dozen fields... store them in database... That's plentiful of work. While some rating system is just 1% of work at most. Do what you have to do, then you will show your teacher that you even started, because so far you didn't do anything AFAICS. Well, then you should start from making PHP/SQL counter perhaps... ? -
Help! PHP/SQL beginner creating Faculty Evaluation System
Sensei replied to moniker's topic in Computer Science
If you have been working on this project for more than a month, you should have no problem showing PHP scripts that you made already. I have no idea what are you trying to Google.. It's your system that you have to make, not search ready answers. Value 1-5, can be stored in 3 bits (0...7 at max), so 15 such questions, could be stored in single 64 bit integer. You would have to pack/unpack them each time SQL database is read/written. Alternatively make 15 columns of db row entry. But teachers would probably appreciate that you optimized disk/memory usage packing bits together. -
-
This is done to terrorize the whole judiciary of Turkey. Remaining judges and prosecutors will be scared and will be following orders from him, to not end up like these 2750..
-
The most wanted, to detain by the all democratic countries, should be now, erdogan... As soon as he lands on European, USA land.. http://www.independent.co.uk/news/world/europe/turkey-coup-latest-news-erdogan-istanbul-judges-removed-from-duty-failed-government-overthrow-a7140661.html "Turkey coup: 2,700 judges removed from duty following failed overthrow attempt" And arrested, some sent e-mails to judges in the European countries prior arrest. (40% from the all 7000 judges @ Turkey) That's nonsense what erdogan is saying about these judges.. that they had links to some ex- imam, on exile in USA for years.. Google translated post of some Turkish judges: "Once again, come to us extremely alarming information on the situation of the judiciary in Turkey. We encourage you to familiarize yourself with the contents of your letter judge Murat Durmaz President of the Turkish Association of Judges and Prosecutors YARSAV. It draws attention to the analogy of certain actions of the executive against judges in different countries. ULTIMATE CONQUEST OF THE LAST BASTION TURKISH JUDICIARY: GOVERNMENT purge in JURISDICTION HIGH LEVEL After moving nearly 9,000 judges (out of a total of about 15,000), a shorter period than 20 months, and the adoption of thousands of political loyalists to positions of judges and prosecutors government, under cover "judicial reform", "reorganization of the judiciary", using the excuse removal of "members of the parallel structures "reduces by half the number of judges at the highest level. The bill, aimed at changing the structure of the courts at the highest level, the Council of State and Court of Cassation has already been forwarded to Parliament by the Justice and Development Party, which plans to adopt a law by the Parliament by a break in the meeting, which will take place at the end of June. According to the project the number of judges of the Court of Cassation will be reduced from 516 to 200, while the number of judges of the State Council will drop from 195 to 90. The term of office of the judges will be completed with the entry into force of the Act. Immediately when this happens, the Judicial Council, remaining under the direct control of the government, within five days re-nominate for positions in courts most senior person in the group so far judges. Some members of the Council of State shall be appointed directly by the President Erdoğan. The judges whose term of office is completed and who will not be re-appointed to positions in courts at the highest level, will be sent to the lower courts as ordinary judges. The term of office of the newly appointed judges will be limited to 12 years. With these latest actions in sharp contrast to the fact that the same government in 2011 and 2014 years has increased the number of judges on the top positions and doubling the number of same positions under the pretext of the enormity of the work. Now, to get rid of dissidents, the government reduced the number of judges in the highest positions in a way that can be defined only as a "civilian coup". When they are removed guardians of democracy, society becomes vulnerable to acts of dictatorship and government action. Turkish constitution allows judges to serve office until retirement at age 65, which also applies to judges in top positions. Thus, the draft law is in conflict with the constitutional principle of the inviolability of tenure and tenure of judges. It seems that the government is following the model of the Serbian. President Erdoğan takes action without the fact of their unconstitutionality and that the Constitutional Court ultimately invalidate the law. Sorry cancellation will not work backwards, so in practice the annulment of the Act will remain irrelevant and will not be for anything useful. Too bad then there is already, and this until the Constitutional Court gives a judgment on the possibility of reinstatement (restitutio in integrum). It is clear now that only those judges, occupying high positions, who declared loyalty Erdoğan will be re-elected and save before unimaginable, illegal, unconstitutional purge. Along with obtaining legal force by the law, Erdoğan gain full control over both the lower courts and of the highest order. Instrumentalisation of the judiciary by Erdoğan becomes a fait accompli, and the judiciary will serve the government as a tool to silence and punish any kind of opposition, more than ever in the past. In the name of all the values, standards, fundamental rights and freedoms that the world today gained and preserved, paying a high price, we, the free and independent Turkish judges and prosecutors, we appeal to international institutions for explicit reaction to the rise of dictatorship on the doorstep of Europe. Take into account what happened in our region in the past few years and imagine what it can do dictator who has unlimited power. It is not only our responsibility, but also an obligation to the international community to react and stop this act of madness. Yours sincerely convey this to your attention. Murat Durmaz Turkish Association of Judges and Prosecutors." There is also copy at http://www.rechtersvoorrechters.nl/publication-open-letter-of-yarsav-turkish-association-of-judges-and-prosecutors-final-conquest-of-the-last-bastion-of-turkish-judiciary-government-purging-high-judiciary/
-
Don't write name of this war criminal mass murderer from large letter, who killed 80 Dutch children.. Not to mention thousands of innocent Ukrainians..
-
"BREAKING - Turkeys top judicial body HSYK lays off 2,745 judges after extraordinary meeting" (That's 40% from all 7000) What judges had to do with the coup??? https://twitter.com/DailySabah/status/754281012587356160 I attached screen-shot just in case tweet removed/blocked etc..
-
What evidence is there for life after death?
Sensei replied to seriously disabled's topic in Physics
Should not you be more interested in "how to sustain life as long as possible", "how to sustain life indefinitely long".. ? DNA and cells degenerate with time. Suspending it or reversing this process is what scientists can work on. -
I prefer collecting particles, in mass-spectrometer..
-
Such videos from the all nuclear plants failures should be watched all day long by every engineer/physicist dreaming about building nuclear plant in the future.. To avoid mistakes in the future..
-
If I am in 3D application, working on 3D data, but viewport is set to 2D, It's orthographic view https://en.wikipedia.org/wiki/Orthographic_projection matrix is something like f.e. 1,0,0 0,1,0 0,0,0 Basically getting rid of Z (because of multiplication by 0). Then any movement in Z-axis results in 3D object being still visible in 2D orthographic projection.. Just its X and Y components.. User cannot tell that movement in Z-axis has happened or not, or how far. You made assumption that observer see just certain value of Z, f.e. 0 (and nothing but it), so when Z is incremented to 1 (or decremented to -1), observer cannot see it. Typical projection from 3D to 2D does not work this way..
-
The first time, I have to agree with you... phyti, you *HAVE TO* attach your paper here on forum for review, not just link, otherwise nothing to discuss.. If you don't follow rules, you soon will be gone from the forum. You didn't give people chance to see what you have in mind. You just gave them link to website, instead of what you worked on really. You cannot give link, without description the everything what is inside. Basically you have to reveal everything what link is about, so everybody can understand it, without having to click on link. Make screen-shots of PDF all pages (or use application for this purpose), and attach in reply.
-
True. +1 for good point. But I was talking about making fuel for rockets. Electricity is poor fuel for rockets. Split water molecule using one source of energy like solar panels etc. Then in rocket engine burn Hydrogen with Oxygen to quickly accelerate it to high velocity. Additional separation of water from heavy water, and semi-heavy water, to produce Deuterium, is additional useful byproduct. (energy from fusion of Deuterium could be used to split regular water to Hydrogen and Oxygen, producing even more fuel for rockets)
-
Hydrogen requires Oxygen to become fuel. Similarly other carbon-based fuels. They need some kind of oxidizer. Hydrogen and Oxygen after liquefying could be used as source of energy for rocket in further travel to other stars. Bringing them (at least Hydrogen-1) make little sense (as we have oceans of it already). Bringing Deuterium would have some sense. But gas giant planets have much stronger gravitation than Earth, and "start" from that planet, let's say from upper level of atmosphere, would take much more energy than start from the Earth. It would be better/more practical to use Hydrogen and Oxygen from water, from some ice comet, or asteroid. But the whole factory converting them to gas, then liquefying would have to be on them. Unless you meant Hydrogen for fusion? But proton-proton fusion is problematic, and gives little energy 0.42 MeV per reaction, in comparison to proton- Deuterium, Deuterium-Deuterium, Deuterium-Tritium (17.6 MeV per reaction) fusion reactions. These give even 40+ times more energy. But Deuterium has just 115 ppm abundance (on the Earth).
-
Using microorganisms to detoxify soil and seawater
Sensei replied to jamesadrian's topic in Microbiology and Immunology
And the all unstable also.. There is 3142 isotopes, of 118 elements, in majority they are unstable, with just few hundred stable isotopes. Plants are consuming CO2 from air. But particles from cosmos, mostly relativistic accelerated protons from the Sun, are hitting upper level of atmosphere, and are creating Carbon-14, which is unstable isotope of Carbon (C-12 and C-13 are stable). Then C-14 joins with Oxygen, giving CO2, which is consumed by plants, and C-14 goes further in life cycle food chain, to animals, then to human. And we eat food containing radioactive element. That's not just one example. There is also radioactive Potassium-40 (but >200k times larger half-life, much less radioactive) Now imagine what happens if C-14 is part of DNA, or essential part of cell, and it's randomly decaying: Carbon-14 -> Nitrogen-14 + e- + Ve + 0.156476 MeV Highly accelerated electron ionize surrounding body, further molecules are destroyed or damaged. If I calculated right, in human body with mass 80 kg, there is 7.43*10^14 C-14, and 5.914*10^20 K-40, unstable particles. -
"They never being in sync"...... Hmmmmm, it influences decay rate, which is measured in quantities per second, Bq https://en.wikipedia.org/wiki/Becquerel , if one second is different in different frames, amount of decaying stuff (whatever it is, but in the case of exploding nova/supernova, it's plentiful) is completely different..
-
Try beating them in this: This game is available on Android and iOS, just search Google Play Store and Apple store.
-
Could Photons be Dipoles?
Sensei replied to TakenItSeriously's topic in Modern and Theoretical Physics
Nothing is at rest. If you see something at rest, it just means your velocity vector is the same as that thing, giving illusion of being at rest to observer. The smallest currently known, in Standard Model, charged particles are electron and positron. Photon obviously cannot be made of electron and positron joined together (in such way to cancel each other influence to external observer). As their total energy (1.022 MeV) is tremendously higher than typical photon (say green photon 2.32 eV 532 nm). -
You should check manual of your caravan what is maximum weight it can stand, and where it should be placed. It should be described in manual. Alternatively you can search the net for model name you have. If it cannot stand 500 kg (with all the other stuff you have in it), there is no question were to put it.. or you will destroy caravan. Subtract MTPLM (Maximum Technically Permissible Laden Mass) from Unladen Weight. f.e. this model http://www.venture-caravans.com/new-adria-adora-612-dt-rhine-current-6berth-northamptonshire-ck0190c76 has 1700 kg-1503 kg=197 kg I checked maybe 10 models in above library, and none from 1st page had higher than 200 kg max load. Heavy weight should be placed near axis. Additionally driving speed should be adjusted to weight you have in car and caravan. ps. Mods should adjust thread title accordingly..
-
You ca You can build whatever you like. At the end, if it will be working, you could... sell them for $24k per unit.. Probably you will earn plentiful more than on "purple gold".
-
On eBay/Alibaba/etc? http://www.ebay.com/bhp/vacuum-furnace
-
Radius of the Earth is 6371000 meters, area of sphere is [math]A=4 \pi r^2[/math] so [math]4*3.14159265*6371000^2 = 510,064,471,909,788 m^2[/math] Every increase of radius by d=1 mm = 0.001 m would increase volume by approximately [math]A*d=510,064,471,909 m^3[/math] Density of water is 1000 kg/m^3, ice is 934 kg/m^3, average density of the Earth is ~5505 kg/m^3, density of iron is ~7874 kg/m^3. So if it would be just ice comet. It would have to have mass: [math]m=p*V=476,400,216,763,006 kg[/math] (double as much as Halley's Comet according to wikipedia) We can reverse question and equation. "What would have to be radius of comet/asteroid to have such volume/mass?" [math]V=\frac{4}{3} \pi r^3[/math] [math]r=\sqrt[3]{\frac{3 V}{4 \pi}}[/math] [math]r=4956 m[/math] Diameter ~10 km Halley's Comet has mean diameter 11 km.. According to https://en.wikipedia.org/wiki/Asteroid there is ~12000 objects with diameter larger than 10 km in the solar system.
-
Coilgun requires electricity to create electromagnets and accelerate object inside. So there would be needed fuel to make all that electricity. If there would be used energy from the Sun, that's it 1367 W/m^2 with 100% efficiency of solar panels (in reality it's ~15% widely used, NASA could have slightly better), to accelerate object with mass 10 tons, to velocity 30 km/s, solar panels area 100 m^2, there would be needed 381 days to get all that energy.. With 15% efficiency, it's 2541 days (nearly 7 years), all day long just on loading accumulators. And it's still with assumption that 100% of energy in accumulators is used to get kinetic energy of object, without any lost..
-
I don't think so using Z_Translate=1 is good choice. See Pythagoras's triangle. If you have a=b=1 c^2 = a^2 + b^2 c=sqrt(a^2+b^2)=sqrt(1^2+1^2)=sqrt(1+1)=sqrt(2)=1.414 (every increase/decrease of z by 1, causes line to have on screen length 1.414, not 1) But it would look better if line would have length 1.0 1/sqrt(2)=0.707 (because 0.707^2+0.707^2=1) I tried with: Z_Translate = {X : -0.707, Y : 0.707} And gfx looks slightly better. But you're free to use whatever you like. After all it's your program. But better give user option to control it. They could switch from perspective projection to isometric projection or to other mode they will want. https://en.wikipedia.org/wiki/3D_projection https://en.wikipedia.org/wiki/Isometric_projection Rotation is very easy, f.e.: x,y,z,angle_y inputs x1 = x * cos( angle_y ) - z * sin( angle_y ); y1 = y z1 = x * sin( angle_y ) + z * cos( angle_y ); Imagine, angle=0,cos(0)=1,sin(0)=0 so x1 = x * 1 - z*0=x y1 = y z1 = x * 0 + z*1=z Lack of rotation. Repeat thought experiment with angle=PI/2,PI,PI*3/2,2*PI, or any other angle.