The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
map a 16 way to a 20 way connector with different pin outs,
Looks like you might need some bovine intervention.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
Here is my situation. I have this PDF file that when at 100% is far too large to fit on the screen, and I have to set the zoom to like 25% to make it normal. I'd like it to be so that at 100% it would be normal. Any ideas?
Can you print it to a PDF? No, seriously. Open it in the reader, and print it to something like PDF Creator. Can't use Chrome, because it knows you opened a PDF and short circuits the print-to-PDF feature to just resave the file.
Just to add to what others have said, Win10 ships with a PDF printer by default. Of course, the PDFs it prints are way too large in file size. But it'll work just to test the theory. And there are a few free PDF printers online that do a better job for the real deal after the testing is done.
I've had a lot of success with Avidemux - ignore the name, it works with most formats - it's certainly the fastest I've seen at cutting / joining, and because it copies streams where at all possible it also doesn't reduce the quality in the way that some do.
It's also free under the GNU licence: www.avidemux.org
Extracting a chunk is simple:
Open the file (CTRL+O or "File...Open"
Move the slider to the start point. Press the "A" button
Move the slider to the end point. Press the "B" button.
Set the output format (annoyingly, it always defaults to AVI)
Save the file (CTRL+S or "File...Save") under a new name. This normally takes seconds or a minute.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
After Effects has a free 30-day trial. After that's it's $20 a month. If you're serious about video editing, it's worth it. If it's just a hobby or for fun then maybe not, still have a free trial though.
While still having reservations, I will give MS some credit...
I reported a suspicious/misleading package "Newtonsoft.json.dll" as opposed to "Newtonsoft.json", and it was gone in a few hours. Obviously, having realised it was not the real thing I never downloaded it to check, but hat's off to MS for the quick response.
(It had already had a few thousand downloads by then - hopefully not too damaging)
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Yes. I take all life instructions from my crystal ball.
Does it make you walk funny? And what happened to the other one?
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
Just happened to me.
Just spend 2 weeks rewriting complicated code that no one understand into a simpler form.
They all agree that my code was simple. But didn't agree that it is the same thing as the old code. Not because they see any difference, just one the ground it couldn't be related since they didn't understand the previous version.
End of story we don't have time or resource to replace the code. Change goes to the bin....
I forgot to mention. There is a serious problem with the old version that my new version solve. I guess the problem will just remain.., I guess we can talk about it again when the problem becomes very pressing....
1. my political skills are rather weak.
2. the tech lead surprised me in a nice way, a bit later about that.(basically told me to wait a bit and introduce the change gradually)
Keep a copy, when the problem is very pressing... say you have to retire and think about it, take 3 off days, come back with your solution, deploy it directly, prove that the problem is gone, ask for a rise.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
On the other hand they claim they want automated unit test on each part of the application.
I just did that for one part. The one that interested me. And also solved a long standing bug for it.
But I am not too worry. We will the long standing bug unsolved. We might spend a few more weeks looking helplessly after it. A solution might be direly needed one day.
Meanwhile I will extend my test app with more automated test as I need them. Until people find it attractive enough. And by app I mean my component library which is really not big a deal to plug in the current app.
Additionally the only guy who understand that code (he wrote it)
- agrees with me that the intended behavior is relatively simple
- loves my new implementation that is a simple as it should
- I involved him like 10 times a day everyday
- agree with me that updating the app with this is trivial
- love the fact that this code is finally simple and easily testable independantly and automatically.
Now I agree why change anything if it's not broken?
Well, it is broken unfortunately...
and someone who don't understand the current code is afraid that replacing it with my new code is going to be very risky. By this account nothing should ever be done.
I did that once.
I rewrote a complete application based only on the old code.
I didn't know what it did or how it worked, only that it did something with stocks.
A coworker who didn't know what it did or how it worked either (manually) tested the code (we had no unit tests, documentation, or anything ).
The reason I had to rewrite it is because this application kept giving problems and no one was able to fix it (or a fix introduced new issues).
So two days work and we released the app to production (Acceptance testing? Hah! We don't need no stinkin' acceptance testing ).
And all of a sudden they got a stock of -100000
After a bit of investigating the issue it turned out that I forgot a single if statement
The issue was resolved rather quick, they manually adjusted their stock (which they did once a month anyway) and we sent them a pie for the inconvenience.
After that we never had problems with that app again (so kudo's to me I guess)