Seeing you're playing with polynomials there, aren't you? following the logics.. x = y x^2 = xy x^2-y^2 = xy-y^2 (x-y)(x+y) = (x-y)y x+y = y 2y = y however you draw the wrong conclusion here, go on like this: 2y-y = y-y y = 0
Member 3934551
Posts
-
1 = 0 -
Python, Good or Snake in the grass??Hi, Python is quite widely adopted by some certain types of industries, such as banking, trading, modeling & cloud as the preferred language because it's : 1. It's integrated deeply with the GNU/Linux ecosystem for more than 12 years now and has shipped with the 2.x interpreter. What's Powershell to Windows, python is to Linux in general. In fact the whole installation environment from disk, packet management, startup processes, virtual machine management, etc, have been written up in python. 2. Because of this python has library support for most to everything imaginable, including 3 different xml parser engines, json, regular expressions, excel, word, image formats, all database servers, etc. Most modules drop into the native library code and only expose a thin wrapper in python. 3. Because you can easily use the multiprocess module to build massive parallel task queues to process your jobs.. even across networks. My last assignment from my employer was exactly among said lines.. We have an archive of 100GB text documents that need to be curated for proprietary add notations, converted from xml to.. csv based on specified tags and shipped to the client in excel format. It took me 2 hours to crank a python script, test and parallelize, and about 40 hours to gallop through the content and transform it.
-
Apple: your software sucksmaybe this can help, if you feel like trying the open side of the fence? https://wiki.ubuntu.com/MactelSupportTeam/CommunityHelpPages
-
Typical User ProblemFrom my younger tech support days: We have our customer who runs all his business needs on a thin client. And they start complaining about network issues, and "lag" and connection hanging. We have 1st tech go in, troubleshoot the network, do performance metrics on the server, spending 4 days, finding nothing. Problem goes away. Next week, same call, we go there, troubleshoot the network, analyze logs, replace a switch.. for the sake of it.. still find nothing, her thin client works as expected. And the very next day, we get the call again. We drive there, and this time, go to her and ask her, please show us how it's not working. And, to her dismay.. everything works.. and tells us we "scarred the machine into working". So we decided to wait around until lunch, meantime she continued to work. And then it happened right before deciding to go. She calls us in victorious, see.. I wasn't lying.. She presses keys, they sometimes type, sometimes lag, mouse was skipping and so on. And then I noticed the keyboard.. it was wireless. I asked her, when was the last time you replaced the batteries on this thing? And she giggles.. I didn't know it had batteries.. I thought it just worked.
-
Working At Open-Plan Office Was So F_cking AnnoyingYeah, the babysitting office. At my ex company they "imporved on that"... Spent a fortune on function-less design. Threw out perfectly good office furniture to switch to perfectly useless IKEA counter tables, where you couldn't put anything other than your laptop and desk phone. In the cold/wet season we had to drop our umbrellas and extras under the desks on the floor. After 3 months from the "opening up", the CTO walked down to a buddy of mine and asked him nicely, "Would you mind switching places with X over there? I'm kind of tired looking at your face whole day.."
-
Virutal machines...Give KVM a try. At least that's what the "big boys" use in their data centers. In *buntu, apt-get install virt-manager and add your old machines to it. You will find that, with the virtio drivers and raw disk images, no cache and native threads, and a bit more ram, windows will run faster in the VM than on bare metal. This is because the kvm hypervisor does a good job on caching hot disk chunks in spare ram automagically. However you loose on the desktop integration side. As for backwards compatibility, there are other goodies you can find in the linux world. My uncle for example has to run some visualFox 6 and FoxPRO 2 ( good ol' msdos) apps and the hardware he was using is dying out. Windows 7 and up, completely ripped out the COM/OLE 16 bit compatibility layer thus making it impossible to just purchase hardware with a win sticker and run your tools. We ended up using DosBox and wine on a linux box with the old Microsoft OLE/COMs extracted from a windows 98 CD. It runs perfectly. As to why they still use it, well, one can not simply upgrade a county's retirement fund software to the latest and greatest :)) http://virt-manager.org/[^]
-
The quality of Apple's softwareTaken from a long time Linux user who got desperate with OSX, Apple also has the logging functionality, however it is deeply buried. If you open up a terminal and type sudo dmesg, you get a full dump of system status, and what crashed. Furthermore, you have event log where software drops its guts to in the Apple system settings, or if you want to be Unixy about things, try in the command line to see what you have in /var/log , or even better, tail /var/log/system.log , which was still the default logging place for Tiger, when I last used a Mac. There are a number of reasons why an install might fail, as other mentioned, bad cable, funky port, maybe bad block in your iphone, etc. If you have issues, it is recommended to open a terminal and tail -f the log to see why, while the happen.
-
Hot pastrami on rye for lunchWhat's your WAN IP address so we can properly DoS you? Thanks.
-
Job PackagesLol.. since it's a job + benefit question, I immediately assumed you're "from the colonies", where meritorious rights are an every day topic in the american way of life.. or so it seams. Hope you're doing better from the last post.
-
Job PackagesNoticed your timestamp. Having a hard time sleeping? From what I'm seeing , it depends on how much they want and what they are willing to pay for you. At my ex job, a year and a half ago, they had two type of hires: The craigslist folks.. which usually did most of the heavy pulling. For us craigslist folks, we had a low paycheck ( startup.. ), 2 weeks PTO, basic healthcare after the first 6 months, and a basic 401k after the 1st year of being with them. And the primadonas: The owners wanted to sell the company but they thought it wasn't appealing to investors since the driving force mostly had an unknown background. Thus they went to various prestigious universities to gather "talent". So for these straight off the college benches the job offer looked like: 1. Fly in business to NYC for interview with stay at a high class hotel in downtown manhan. 2. Relocation package: 1st month hotel paid by the company, 2 months worth of your pay as a signup bonus. 3. Close to 40% more on signup than the craigslist crowd. 4. Team lead, key position. 5. Holiday bonuses. 6. 401k after 6 months of work, immediate healthcare. 7. Conferences, paid training, etc. Got all these at a holiday party when people open their hearths and share knowledge.. And then I quit. At my new job I got: 1. relocation bonus. 2. 15 days of PTO first year, 22 days of PTO second year. 3. Immediate full healthcare + dental, 401k after the 6 first months. 4. They have good food perks, unlimited coffee, soda, snacks, sweets, and a fridge full of icecream. Periodically they bring in pizza, bagels, fruit. 5. Paid paternity/ maternity leave for close to half a year.. but I'm not at that age yet.. lol.. Neither companies put too much value on actual office presence. And both have "flexible hours". Wish they would have paid for classes, and extra training but they don't. Point is, if you have the chip to bargain, stretch it as much as you can. If they offer low pay ask for more PTO to balance it out, for example. And don't get attached to them, cause from what I learned, the last people to leave a company when things go south are the owners and the marketing people, in contrast to what one might think, us programmers are among the first to be laid off.
-
Master File Table Corrupted - Any words of wisdom from the gallery?That will be cumbersome after the fact. Notes to self. - Recover first, reinstall later, since reinstall will usually overwrite the actual data on the platter. Whereas quick format/delete just erases the index in the table, leaving the actual data intact, until new space is needed for new physical write. - New windows does not mean healthy drive, it just means new operating system on potentially old broken drive. - Conventional tools usually give up on the first problem/error. Unconventional tools ( data recovery tools) will often employ aggressive rereads/ and/or reads in reverse, use available checksums or known patterns, skip missing/broken sections to try to resurrect as much of the data on a damaged disk as they can.
-
Master File Table Corrupted - Any words of wisdom from the gallery?If the MFT is corrupted it means you can't access any of the files in there by default, as the MFT holds pointers to where the files are on the disk. You need some file recovery software, if you need to recover some important data. I had good track with GetDataBackNTFS. which goes on the disk cluster by cluster and tries to make sense where files start and end. Since the computer is old, there is a high chance that the region is affected by a bad sector, and given the nature of rotating media, there is a higher chance that the bad region will grow in size. If you have the standard single c:\ partition, then I would strongly recommend running a bad block finder on the disk and if it can't read from the sector (even though the data is corrupted) replacing the disk with a new one, since that means you have damage to the beginning of the disk. This damage will probably grow in size with age and will affect other important bits, such as the master boot record (making partitions unreadable) or the track that has the disk firmware, and geometry. ( making the whole disk unmountable)
-
It's that timeHad the same problem. My manager left... he was among the first employees in the company, tried to impose his honest point of view, betting on the seniority card and ran into a wall.. now he's happy at google. My friend in systems left .. after a college kid with no prior linux knowledge, that they hired recently got root access on a production box, 2 weeks after starting... now he's happy at redhat. After having my hopes crushed, I left as well for a better position. And last month the last member of our team left the company, after making his life miserable for 4 months longer. We all met a couple of months ago, and we talked about how things were and why we left, and we all concluded that it was the right decision.
-
Net NeutralitySame thing for internet connections.. If I pay for an internet service, they should not be able to tell me what websites to visit or not, or to ask more money off of me to let me do that, but the court decided otherwise. There was never about property theft. It's about a company obtaining the power to tell you how to use their service for the sole purpose of squeezing more money off of you, hence the example of the freezer, what if your local electricity provider decided to change policies and tax you for your freezer, despite the fact you already pay for service? It would if it weren't regulated by the gov. And as a side note, I am also against data caps. Bites are a virtual resource that doesn't run out. My monthly bill covers the service with the maximum speeds for both download and upload, which the ISP should be able to provide me, regardless if I use the service to 100% all the time or not, cause that's what I pay for. They know it and they still don't do it. They know that most people do not use their service to 100% not even for 2 hours straight, and thus instead of investing in infrastructure to achieve the quality of service, they overload the network segments with way to many contracts, which result in a crappy experience for everyone. And then, when people complain, they blame it on bittorrent or other streaming p2p protocols saying that those kill the network, without providing any evidence for it whatsoever. And even if people use bittorrent, so what? Isn't your over all connection limited to what your contract says? You can't go faster than that, cause it's a hard cap on your modem, regardless of what you download or upload. And even so, isn't the service meant to be used as that.. for data transfers.. cause, go figure.. it's an internet service contract? Why shouldn't I be able to use it to 100% all the time, but only slightly.. not to make the ISP uncomfortable.. On this front, no one gets a Ferrari.. We all get crappy fiats painted red and advertised as Ferraris, and even with those, if you go too fast, or too far, you have the Internet Service Police cutting you down, for "abusing" your "unlimited" contract..
-
Net NeutralityI think you got your facts wrong. A better analogy would be: Your electricity provider suddenly deciding to stop providing electricity to your freezer unless you pay a "freezer fee" because they struck a deal with the local fast food chain in delivering them more business. That's where the ruling stands, and enables verizon to do, and that's what net neutrality is trying to prevent - Unrestricted access to your desired content/destination .. over the subscribed service (at the bought speeds) As for speed, well so much for the free market here in the US. We've been paying providers premium fees for "high speed" connection which in fact are limited to cable speeds back in the 90s.. sure I might have 20Mbps down, BUT with only 700kbps for upload, this connection becomes useless for anything else than mild browsing and consuming video content. Backups are impossible for example, and online gaming becomes horrible, since you have to UPLOAD quite a lot of data to the other ends. And to why we don't have better? Well, a couple of years ago, verizon struck an exclusivity deal with the local county which bars other providers to run cooper for the next 20 years.. Even better, if you look at the NYC area, you will notice that verizon and comcast have a mutual love.. where you have verizon, comcast refuses to run cooper and vice verse.. Time Warner (the only other smaller provider) is going bankrupt for not having capacity to compete with the other two... And the others, jack up the prices as they see fit. In cases as such, government regulation is a must.
-
My last day at this job is tomorrowCheck your PTO balance, and then check your dept of labor on PTO. If you still have PTO and if the contract doesn't say that PTO isn't prorated, then it might be the case where ( NYC case) the company has to pay your remaining PTO balance. When I left, they told me to get out asap I sent my letter, and since I had 2 weeks of PTO. I sent them another notice, that I'm going away on my PTO for 2 weeks and then leave with the following link: http://www.labor.ny.gov/workerprotection/laborstandards/faq.shtm#11 I got PTO with no argument. You can also collect unemployment for those 2 weeks if worst comes to worst. That's why the feds deduct worker's comp from your paycheck, and from what I recall, it doesn't affect your social security account, since the unemployment works on an insurance basis
-
need sorting and searching algorithm - help plz, urgent!For the future.. Color code them... That's how they do it in my family. When we buy new socks or under ware, my mom sews a small x in a certain position with the according color. My mom has red, I have blue, my dad has green and my bro has yellow ( radioactive material). When we do the laundry, we just sort by color, nice and easy.
-
Stupid problem of the weekI got one of those acer aspire one netbooks. They come with a restore partition. To my surprise when I tried to use it mine crashed and never worked ( the difference is that mine came with xp). So I was force to buy an usb dvd unit ( 50$ ), get a windows disk from some places and use the license sticker on the computer to activate it. Regarding windows 7, it can do backups to network drives, which will be a shadow copy of your windows partition. i did this with our server at the company. In case windows gets to the point beyond repair, I presume that it has some rescue mode which will allow you to write the copy from your nas. Here is the link to a tutorial.. http://www.istartedsomething.com/20081110/windows-7-to-allow-pc-backups-to-network-share/[^] Hope it helps. ;)