Details
-
AboutUniversity Stud from Romania
-
Skillsc++, javascript, assembly, c, html, css,
-
LocationCluj-Napoca, Romania
Joined devRant on 12/9/2017
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
-
!rant
Question...
I have a Windows 10 installation on my laptop...
A few weeks back my father bought an SSD for his Lenovo ThinkPad T500. Problem was - I couldn't install Windows on that laptop due to legacy BIOS (the T500 is old but gold). My solution was that I put the SSD into my eSATA portable HDD / SSD rack, and I installed Windows to the SSD on my laptop. It worked, but now, when I boot up my laptop it always asks which Windows do I want to boot up (only one Windows is present - the other throws an error). I switched the defaults, and now it boots up fine, but that choice really slows down my usually fast SSD boot (it has a 10 second timer before automatically chosing the default option).
How can I reconfigure it?
Or is it only possible by a clean install?4 -
!rant
C++ / OOP QUESTION
I have a uni assignment / project (Data Structures class), where I have to implement the ins-n-outs of 1D arrays, by creating a dynamically allocated array class, which can accept any type of data (using templates). But there's a problem.
I'd like to implement sorting the elements of the array. But given the fact, that I'm using templates, I cannot treat the elements as integers, nor as strings, or other types...
Also, let's say that the elements of the array are elements of class T, where T looks like this:
class T {
private:
double height;
int age;
string name;
public:
double getH() { return height; }
int getAge() { return age; }
string getName() { return name; }
};
(It's just a random example, pls don't judge for code quality...)
Let's say that I'd like to sort the T elements based on height, print out, sort by age, print out, then sort by name and print out. How can I do this? Is this possible?5 -
!rant
Windows sux (still, much more usable for me than Linux on a day-to-day / fixing-my-neighbors'-tech basis), but Linux Subsystem on Windows...?
I just found out about it, and installed Ubuntu on my main Win10 laptop...
I'm not even mad - this is awesome!11 -
First exposure...
When I was a kid, my parents would put on Tom & Jerry and other cartoons on an old family computer (you know - yellowed plastic, big, bulky tower, and an even bigger CRT monitor) for me to watch (Windows 95 didn't cut it, so they booted up Geexbox from CD)... Sometimes the playback would stop / the volume would be too quite - so I had to figure out how to control it by myself, without the help of my parents... Slowly, I was able to boot up Windows, and use my father's CD collection of All-In-One CDs (utilities and games). Later we were able to afford connecting to the internet through our phone landline - it was all downhill since then. Nowadays I'm helping my dad when it comes to computers (he's currently learning how to use Excel properly). :-)2 -
!rant
In the near future i'd like to switch to Linux on my primary laptop (HP EliteBook 8570w) - my uni requires it for the 2nd semester.
I've been thinking about Manjaro, or something else based on Arch Linux... The problem is - I've heard about how problematic is the installation of nVidia Graphics drivers. In my laptop I have the basic Intel HD Graphics with the 2nd Gen Intel Core i7, and an nVidia Quadro K2000 card.
My question is: will I it be really problematic?1 -
!rant
Waze is actually devRant for drivers / commuters...
On a side-note - Cluj-Napoca is a nightmare on monday mornings before 8 am... :/8 -
!rant
Double tap-like is not working properly on my Oneplus 3T while on list view. I'm wondering if it's just me or if it's a bug in the Android app...18 -
!rant
Uni homework...
How can I decide if a weighted, undirected graph is connected or not, using Kruskal's algorithm?5 -
Winter break university projects:
Option A: implement writing and reading floating point decimals in Assembly (with SSE)
Option B: reuse the reading and writing module from Option A, and solve a mathematical problem with SSE vectorization
Option C: Research the entirety of the internet to actually understand Graphs, then use Kruskal's algorithm to decide that a graph is whole or not (no separated groups) - in C++
Oh, and BTW there's one week to complete all 3...
I don't need life anyways... -
I have a really old Toshiba NB200-10P notebook with Intel Atom CPU and 2 gigs of RAM and 32 bit architecture... It was made for Windows XP, and now it barely runs Windows 7... So I'd like to give new life to this old piece of hardware with Linux (for basic tasks like Office, and maybe coding with Notepad++)...
I really like Manjaro, but after they ditched 32 bit support, the Manjaro-32 community project seems a bit unstable...
So, could you devs please recommend some reliable - and somewhat good-and-simple-looking - Linux distros?20 -
So I have an array of length 20 which stores a 64 bit decimal number by digits. The starting address is let's say array64. When I am trying to build up my number in ECX:EBX, I am using EDX as the iterator to access the individual elements of the array (I am loading them into AL)
.LOOP:
....
MOV AL, [array64+EDX]
INC EDX
....
JMP .LOOP
The problem is: somehow EDX cannot get higher than 10, so the program just stops and waits for input, when I try to work with a 12 digit number...
This module is outside the main function, and I thought about some Far Pointer problems, but all of my ideas just failed...
What is wrong here?1 -
First post on devRant... Aaaaand it's university hw... I can't wrap my head around this...
So, the problem is: I have to implement writing and printing 64 bit decimal integers (negative and positive with 2s complement) in NASM Assembly. There are no input parameters, and the result should be in EDX:EAX. The use of 64 bit registers is prohibited.
There is a library which I can use: mio.inc
It has these functions:
- mio_writechar (writes the character which corresponds to the ASCII code stored in AL to console)
- mio_readchar (reads an ASCII character from console to AL)
It also has to manage overflow and backspace. An input can be considered valid or invalid only after the user hits Enter... It's actually a lot of work, and it's just the first exercise out of 10... 😭
The problem is actually just the input - printing should be easy, once I have valid data...
Please help me!3