Details
-
AboutThe system may have failed you. But don't fail yourself.
-
SkillsC++,Java
-
LocationGreenland
Joined devRant on 6/5/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
I let my IDE add tracking of new files I create. Mostly so I always can use 'git add -u' when adding my files to a commit.
I do everything else via CLI. -
1000/1000 Included into my ridiculously high rent. Sweden.
🇸🇪 -
What.
-
@miiitch Yeah. It's not the sexy new thing on the block. But as I said. It's not bad and it's established.
It's easy to be productive in java. There is a lot of nice build tools and IDE's
Usually man hours is more expensive than execution time. Of course it depends on the use case. But performance is usually good enough as long as you don't do anything stupid. And if you are stupid. It doesn't matter what language you use. You are still stupid.
With that said. It does have a lot of drawbacks. But atleast it's getting better. -
Because it's established and not shit.
-
Contextless rants are the best.
Not. -
It's HTML. Avoid it like wildfire.
-
You don't use git in production?
-
I'm just going to leave this here.
https://github.com/hephaest0s/... -
@ScribeOfGoD
Most companies have many employees though. -
@TylerDDevRant You are my hero. Doing God's work. Bless you.
-
I'll just leave this here.
https://github.com/helmuthdu/aui -
@platypus Welp, I did stop the process and applied for a job myself. And now Im very happy with my job and don't really talk to them.
That's something I guess.
Mostly I felt like. I'm not going to let anyone else decide where I'm going to work. I want to apply for a position that I actually want. -
None of these say porn, I call fake news.
-
@Gregozor2121 Or just track who's pirating and figure out how to make them pay (for the app)
-
Release your own pirated software to keep track of who isn't paying and try to figure out why your application sucks so much that people don't want to pay.
-
@hube That's why you lose connection when someone activated the new card.
-
Eh. Not really. If I know your phone number I can figure out what service provider you use and request a new SIM card. I just have to call support and say that it broke or something. It might not always work. But one could just try multiple times until a support person doesn't see through the lie.
I don't even need to 'clone it' in any way.
Other than that. Encryption only helps if the phone is off. -
@YADU I see. Well. The problem will be solved if you compile it with GCC instead of G++ though. So there isn't really an issue tbh.
You can insist in doing it your way. But it feels like a huge waste of time when there's already a completely functional solution to the problem.
It just doesn't work in the way you would prefer it seems. -
@BambuSource Ah. The moon men (aka Bluehats, https://en.m.wikipedia.org/wiki/...)
Fixed that a while ago. So that's a no go since the Return to Sender exposure. -
@YADU I can get the C compiler (both GCC and clang) to give out both results. Depending on file ending. So I guess you are right. But if I compile the same file with cpp as file ending it behaves differently. Lol.
Note that I don't change to a c++ compiler even.
So yeah, you're kind of right. But you could also fix that by changing the file ending in that case. -
Also.
You can use a C++ compiler to check if it works or not.
If it compiles... It works.
If it doesn't compile... It doesn't work.
It's literally what you are asking for. -
@YADU Also that size of thing you said was false. 'a' is not equal to sizeof int in C.
It's the same size in both C and C++.
You get an error from the compiler when you need to do it. So.. isn't that enough? And it only seems to be this case. Atleast that you have been able to show so far.
So my advice still stands. Compile C code as a lib with GCC and cast void pointers when needed.
It's not that complicated. -
@YADU Btw
int * a = malloc(10); //doesn't work
int * a = (int*) malloc(10); //this does
So you just need to cast void pointers to use them.. -
Yes, but you keep switching back and forth between what target language you use. So it's confusing to know what you mean.
You say bool is not a type in C, correct. So I assume you want to use C as a target. Since bool is a C++ type. So there is no problem using it in C++.
Now, if you try to use someones typedef for bool in C++ sure. That will be a problem. But you should first compile the library with GCC. It doesn't need to be carefully crafted. It just doesn't need to be garbage. Also, they can't possibly typedef a whole lot of things that would overlap with C++. So you should be able to sed those typedefs before compiling if that turns out to be an issue.
If you don't know how to compile code as a library. Then I would suggest you looking at that. Since it requires special flags.
But this is really a non issue. So you wouldn't really solve any problems if you found a solution. -
*Does dependency injection without interfaces*
AM I DOING IT RIGHT DAD? -
@BambuSource What backdoor did you try?
-
@YADU It's a one way street.
You can use C code in C++ but not the other way around.
So if you want to rewrite C++ into C. I don't really get why. But that sounds like compiler and not a linter. Then just check out how to write a compiler. Parsing and making a intermediate form (preferably a parse tree)
Then you re-interpret that tree into C code.
But C++ has a lot of funky keywords. So it's going to be messy. -
You see. The passwords are stored in what's called the memory guard block (MGB)
It's located inside the computer, looks kind of like a coin. You have to remove it from the computer. Then the password for the computer will be gone and you will be able to log in as admin without any password at all.
Just don't forget to put the MGB back into the system again otherwise the guard dog kennel will start barking when your teacher starts the computer again and he will know EXACTLY what is going on. -
@YADU You didn't. But my point was. If you use standardized names to mean something else. You are just wrong.
Also. You can compile non compiled libs with gcc and then use them in c++