|
I would not forget that while SSDs are fast, the do fail and when they go, they are often not recoverable. I had a fully loaded Dell XPS (loved it), but I had 2 SSD drives fail in 3 years (total loss) so that is a lot of reinstalling Windows/development platforms/testing tools. I would like a laptop with both SSD and HD. BTW I threw the Dell out after the second fail.
|
|
|
|
|
Depends on how they do testing where you work.
Portability is a big deal in a laptop. My personal goal is to keep my laptop under 1kg, which is still a difficult goal. This means only an ultralight, and probably something tablet-y. I'm running a Surface Pro right now (sadly, a Surface Pro 3, but I'm in the market to upgrade). You can walk a long way with a 1kg tablet in your bag and not develop a hunchback.
It's all about the RAM if you buy a laptop, needed to run virtual machines for testing in. But hopefully they have test servers for the workaday testing, so you don't need super fast CPU. Still for VMs an i7 with several cores would be best. Is there an i5 with four real cores (not just SMT) yet?
|
|
|
|
|
I haven't view the whole thread.
Microsoft Surface Notebook. I had a 3 and was great development 'puter.
|
|
|
|
|
Dell Alienware MX17 fully spec'd out along with the great Dell Premium support warranty. Our company uses nothing but Dell Alienware for not only their performance, but also their great warranty service on the rare occasion that you may need it.
|
|
|
|
|
I am very happy with MSI Creator series. Got some good horsepower, lots of SSD, lots of RAM, is light and thin, good battery life while unplugged and as a bonus a nice graphics card.
And it also has a very professional look, which makes it suitable for an office.
To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson
Our heads are round so our thoughts can change direction - Francis Picabia
|
|
|
|
|
Thanks all for the comments - plenty to choose from!
Still haven't decided...
|
|
|
|
|
... and do it properly!
#include <stdio.h>
int main()
{
unsigned char data[] =
{1,3,1,2,5,2,1,6,1,6,5,0,
1,3,1,2,1,6,1,6,1,6,1,3,1,0,
1,3,1,2,1,6,1,6,1,6,1,3,1,0,
5,2,3,4,1,6,1,6,1,3,1,0,
1,3,1,2,1,6,1,6,1,6,1,3,1,0,
1,3,1,2,1,6,1,6,1,6,1,3,1,0,
1,3,1,2,5,2,5,2,5,2,5,0,
0,
1,3,1,2,5,2,5,2,1,6,4,0,
1,3,1,2,1,3,1,2,1,3,1,2,1,6,1,3,1,0,
1,1,1,1,1,2,1,3,1,2,5,2,1,6,1,3,1,0,
2,1,2,2,1,3,1,2,2,5,1,6,1,3,1,0,
1,3,1,2,1,3,1,2,1,1,1,4,1,6,1,3,1,0,
1,3,1,2,1,3,1,2,1,2,1,3,1,6,1,3,1,0,
1,3,1,2,5,2,1,3,1,2,5,2,4,0};
char print = 'C';
for (int i = 0; i < sizeof(data); i++)
{
if (data[i] == 0)
{
printf("\n");
print = 'C';
}
else
{
for (int count = 0; count < data[i]; count ++)
{
printf ("%c",print);
}
print ^= 'C' ^ ' ';
}
}
return 0;
} Feel free to use this in QA ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
You are evil...
M.D.V.
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.
|
|
|
|
|
... and bored ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
The next 'question' in QA would probably be, "Can you convert this to C++?".
"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
|
|
|
|
|
OK ... I'll even go one further, and do "C++++" so it's "future proof":
#include <stdio.h>
int main()
{
unsigned char data[] =
{1,3,1,2,5,2,1,6,1,6,5,0,
1,3,1,2,1,6,1,6,1,6,1,3,1,0,
1,3,1,2,1,6,1,6,1,6,1,3,1,0,
5,2,3,4,1,6,1,6,1,3,1,0,
1,3,1,2,1,6,1,6,1,6,1,3,1,0,
1,3,1,2,1,6,1,6,1,6,1,3,1,0,
1,3,1,2,5,2,5,2,5,2,5,0,
0,
1,3,1,2,5,2,5,2,1,6,4,0,
1,3,1,2,1,3,1,2,1,3,1,2,1,6,1,3,1,0,
1,1,1,1,1,2,1,3,1,2,5,2,1,6,1,3,1,0,
2,1,2,2,1,3,1,2,2,5,1,6,1,3,1,0,
1,3,1,2,1,3,1,2,1,1,1,4,1,6,1,3,1,0,
1,3,1,2,1,3,1,2,1,2,1,3,1,6,1,3,1,0,
1,3,1,2,5,2,1,3,1,2,5,2,4,0};
char print = 'C';
for (int i = 0; i < sizeof(data); i++)
{
if (data[i] == 0)
{
printf("\n");
print = 'C';
}
else
{
for (int count = 0; count < data[i]; count ++)
{
printf ("%c",print);
}
print ^= 'C' ^ '+';
}
}
return 0;
}
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Output not the best on this version
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
That's C++ for you - bloated!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Did you run it Paul ? I ran all the versions on Linux ( gcc and g++ compilers ) and the output all looked fine except for this one - you can just about understand it because you know the text ( and you did say you were bored )
C+++C++CCCCC++C++++++C++++++CCCCC
C+++C++C++++++C++++++C++++++C+++C
C+++C++C++++++C++++++C++++++C+++C
CCCCC++CCC++++C++++++C++++++C+++C
C+++C++C++++++C++++++C++++++C+++C
C+++C++C++++++C++++++C++++++C+++C
C+++C++CCCCC++CCCCC++CCCCC++CCCCC
C+++C++CCCCC++CCCCC++C++++++CCCC
C+++C++C+++C++C+++C++C++++++C+++C
C+C+C++C+++C++CCCCC++C++++++C+++C
CC+CC++C+++C++CC+++++C++++++C+++C
C+++C++C+++C++C+C++++C++++++C+++C
C+++C++C+++C++C++C+++C++++++C+++C
C+++C++CCCCC++C+++C++CCCCC++CCCC
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Best part of this is:
char print = 'C'
It kind of bends the brain, because you are thinking printf, but then no, no this is just a var name that has the value of the char 'C'.
Good stuff. The only way it could've been better is if there were only one CrLf in the code.
|
|
|
|
|
Gee. I wonder why you don’t have time to deal with that stack of old hard drives!
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
Herself complains if I spend too much time in the office on the computer. So she put "24 hours in A&E" on the TV - an episode she's watched before - and went to sleep on the sofa.
Since I've sat through that episode of a very dull (to my mind) TV show before I was looking for something quick to do while not waking her up - which switching to something less tedious always does ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: "24 hours in A&E" I usually go to bed when that gets put on ...
|
|
|
|
|
My wife and I put on an old Midsomer Murder episode (we've seen them all multiple times before) and fall asleep within minutes! It's better than a sleeping pill, and much healthier. We love the show but I, for some reason, keep hoping that they'll figure out someone else did it each time!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Or how about ...
#include <stdio.h>
#include <stdlib.h>
static unsigned long long theKeys[] =
{
9097624470788603392LL, 4485938452361199104LL, 0, 0,
4693335872299862016LL, 4485938452361199104LL, 4702111234474982912LL, 9097624732831990016LL,
4485938452361199104LL, 4702111234610512128LL, 4711136060342747392LL, 0,
4702111234610512128LL, 4485938452361199104LL, 9097624732831990016LL, 4702396244260176128LL,
0xFF
};
int main(
int argc,
char** argv
)
{
printf("\n\n\n\n");
for (int key = 0; theKeys[key] != 0xFF; key += 4)
{
for (int row = 0; row < 7; ++row) {
printf(" ");
for (int i = 0; i < 4; ++i)
{
if (theKeys[key + i] == 0)
break;
unsigned long long lnext = theKeys[key + i] >> (56 - (row * 8)); unsigned char next = lnext & 0xFF;
for (int col = 7; col >= 0; --col)
{
printf("%c", (next & (1 << col)) ? '#' : ' ');
}
printf(" "); }
printf("\n");
}
printf("\n\n");
}
return 0;
}
modified 9-Jun-21 4:09am.
|
|
|
|
|
Wrote something very similar just yesterday, to test my new upload and execute functions, as well as my binding to the Zwölf BIOS.
INCLUDE "bitfuncs.inc"
CPU 1802
.ORG 08000H
MemoryTest: SEX R2 ; save register RF on the call stack
GHI RF
STXD
GLO RF
STXD
SEX R6
ClearScreenED2 ; clear screen
CursorHome
CallWriteLine TxtHello ; hello!
SEX R2 ; restore register RF
IRX
LDXA
PLO RF
LDX
PHI RF
SEP R5 ; return
TxtHello: db "Hello Zwölf!\r\n\0"
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Sorry, I got distracted by "SEX Round 2" and couldn't get any further ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
You get used to that. Wait until you get to SEX R6.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
A computed-table-driven program!
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
you should be able to constexpr all of this.
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|