▲ 0 r/btech

Primary Index do not have to be indexing on primary key? Elmasri, Navathe disagree

Is not the name misleading?

u/DoNotUseThisInMyHome — 13 days ago

I switched from Linux Support->MIS.

Actually got this job via referral and I do not even know the exact job role except it is related to MIS.

Can anyone guide me what does MIS even do? They focused SQL being really important for the role. And I was shocked as I think MIS comes from excel and powerbi.

reddit.com
u/DoNotUseThisInMyHome — 13 days ago
▲ 2 r/pens

Are pilot super gel 07 pens always this bad? Why is it so difficult to find an ergonomic roller ball pen?

I bought them in orange ink. And they are so bad. Do not flow ink like properly. The only good thing about this is the grip is decent.

Can anyone recommend me good rollerball pens that fulfill my desire of writing with comfort. I see only gel pens come with ergonomic designs but roller ball pens barely come with ergonomic design. Why is that the case?

reddit.com
u/DoNotUseThisInMyHome — 13 days ago

What does your day in a life constitutes as a MIS analyst/Business Analyst?

  1. Where you work (the type of company eg: fintech, bank)

  2. Introduce yourself a little(your background, your education, your career)

  3. Salary you make(along with location)

  4. Career Prospects

reddit.com
u/DoNotUseThisInMyHome — 17 days ago

What does your day in a life constitutes as a MIS analyst/Business Analyst?

  1. Where you work (the type of company eg: fintech, bank)

  2. Introduce yourself a little(your background, your education, your career)

  3. Salary you make(along with location)

  4. Career Prospects

reddit.com
u/DoNotUseThisInMyHome — 17 days ago

"It is possible to represent a file that logically should have variable-length records as a fixed-length records file."

For example, in the case of optional fields, we could have every field included in every file record but store a special NULL value if no value exists for that field. For a repeating field, we could allocate as many spaces in each record as the maximum possible number of occurrences of the field. In either case, space is wasted when certain records do not have values for all the physical spaces provided in each record.

Can anyone elaborate what does this even mean? Taken from navathe et al dbms.

reddit.com
u/DoNotUseThisInMyHome — 22 days ago

What is the well-written, readable, and intuitive code for implementing brute force string search in Java?

package algo;

public class BruteForceStringMatch {

public static void main(String[] args) {

String string = "ABCABAB ABABABAABAC";

String pattern = "ABABAABA";

stringSearch(string, pattern);

}

// Brute-force string search method

private static void stringSearch(String string, String pattern) {

int sLen = string.length();

int pLen = pattern.length();

boolean found = false;

int i;

for(i = 0; i < sLen - pLen + 1; i++) {

int j = 0;

for (; j < pLen; j++) {

if (string.charAt(i + j) != pattern.charAt(j))

break;

}

if (j == pLen) { // If we have reached end of pattern, we have found the pattern in string

found = true;

break;

}

}

if (found) {

System.out.println("Found pattern at index: " + i);

} else {

System.out.println("Could not find pattern");

}

}

}

Found something online from gbhat dot com website. But it sucks and the procedure is not understandable to me from the code.

Could anyone help of any kind?

reddit.com
u/DoNotUseThisInMyHome — 22 days ago
▲ 0 r/SQL

How to learn these topics in 2026?

Basically I need to learn about sequential, indexed and direct access, hashing stuffs. I need to learn about records, files, compaction. Sorting, merging and updating files. Algorithms for inverted lists, multi-list, indexed sequential and hierarchical structures. file i/o and index organization.

u/DoNotUseThisInMyHome — 22 days ago

How to create a 3x3 grid?

I do not want to tell what I am using because someone will spoil the solution for me.

Just say I want to make a 3x3 grid. Using for loop. What is the best way to code that for loop?

I have access to shapes api.

reddit.com
u/DoNotUseThisInMyHome — 24 days ago

How to actively recall the partition algorithm of quicksort algorithm pseudocode?

quicksort(A,low,high)

if(low<high) the

{

pi=partition(A,low,high)

quicksort(A,low,pi-1)

quicksort(A,pi+1,high)

}

partition(arr,low,high){

pivot=arr[low];

i=low+1;

j=high;

do{

while(i<=j && arr[i]<=pivot) i++;

while(i<=j && arr[j]>pivot) j--;

if(i<=j) swap(arr[i],arr[j]);

}while(i<j);

swap(arr,low,j);

return j;

This is the pseudocode that I need to active recall. There is no way in world I am able to recall this in exam, specially the partition part.

reddit.com
u/DoNotUseThisInMyHome — 25 days ago

Learn linux os to present for OS class in grad school?

What aspects would you introduce? For first semester...I will obviously ask with my virtual prof. But wanna hear your thoughts on this.

reddit.com
u/DoNotUseThisInMyHome — 29 days ago
▲ 12 r/osdev

How to differentiate monolithic, microkernel, layered, and hybrid OS architecture on the basis of: performance, extensibility, and reliability

Do you have any ideas. Monolithic means all os+kernel at one place. Microkernel means minimal kernel.

Layered means memory management one layer, process management another layer. Hybrid could be anything i.e., combination of above.

Guide me like I am 5.

reddit.com
u/DoNotUseThisInMyHome — 29 days ago
▲ 0 r/libgdx

Help understanding ai code.

package io.github.abcd;

import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.utils.viewport.FitViewport;
import com.badlogic.gdx.utils.viewport.Viewport;

public class Main extends ApplicationAdapter {

    Texture backgroundTexture;
    SpriteBatch spriteBatch;

    
// 1. Add Camera and Viewport
    
OrthographicCamera camera;
    Viewport viewport;

    u/Override
    public void create() {
        backgroundTexture = new Texture("board.png");
        spriteBatch = new SpriteBatch();

        camera = new OrthographicCamera();
        
// 2. Set a fixed "virtual" resolution (800x800 is great for a square Tic-Tac-Toe board)
        
viewport = new FitViewport(800, 800, camera);
    }

    
// 3. This method is automatically called by libGDX when the window is resized or maximized
    
u/Override
    public void resize(int width, int height) {
        
// 'true' automatically keeps the camera centered
        
viewport.update(width, height, true);
    }

    u/Override
    public void render() {
        input();
        logic();
        draw();
    }

    private void input() {}
    private void logic() {}

    private void draw() {
        Gdx.
gl
.glClearColor(0, 0, 0, 1);
        Gdx.
gl
.glClear(GL20.
GL_COLOR_BUFFER_BIT
);

        spriteBatch.begin();

        
// 4. Tell the batch to use the camera's current view
        
spriteBatch.setProjectionMatrix(camera.combined);

        
// 5. Draw using the VIRTUAL dimensions (800x800), not the screen dimensions
        
spriteBatch.draw(backgroundTexture, 0, 0, 800, 800);

        spriteBatch.end();
    }

    u/Override
    public void dispose() {
        backgroundTexture.dispose();
        spriteBatch.dispose();
    }
}

All I am trying is to get tictactoe board on screen it gave too heavy code.

reddit.com
u/DoNotUseThisInMyHome — 30 days ago