Questions tagged [internals]

The internals tag denotes questions about how things work, as opposed to how to accomplish something specific. Of course, how something works underneath will have practical implications, but internals questions aren't about how to do something; rather, how to understand something.

If you understand how a database or parser or version control system actually works, you'll be better at using it. Internals questions seek this kind of inside knowledge.

660 questions
1
vote
1 answer

Does VoltDB use compression?

I reckon that VoltDB uses compression but I'm not sure about that. Mike Stonebraker, who is the main creator of VoltDB, used to work on Vertica, which uses compression heavily. I heard about a case when somebody loaded a few GB of sequential…
ady
  • 1,108
  • 13
  • 19
1
vote
2 answers

Grep internal working principle

I want to know how grep works internally. Specifically I want to know whether finding the first match is significantly more faster than finding all matches? For example, the first match occurs at the 10% point of the file from start and all matches…
zyl1024
  • 690
  • 1
  • 9
  • 23
1
vote
1 answer

Hadoop Basics:Number of map tasks mappers reduce tasks reducers

What is the difference between a mapper and a map task? Similarly, a reducer and a reduce task? Also, how are number of mappers,maptasks,reducers,reducetasks determined during the execution of a mapreduce task? Give interrelationships between them…
1
vote
1 answer

Creating Eclipse debug configuration without GUI

I have X number of test input files for a python program and for each file, I want to generate debug configuration for each input file in Eclipse skipping the painful process of clicks. Does anybody know which directory/file Eclipse internally uses…
comiventor
  • 3,922
  • 5
  • 50
  • 77
1
vote
1 answer

Lookaside Lists Vs Low fragmentation heap

Can someone please explain the differences between those two. I know that the LFH wasn't enabled by default until Windows Vista , and the lookaside lists were used in XP. Thanks
JohnnyCat
  • 203
  • 1
  • 15
1
vote
1 answer

GMP ..binary execution

In GMP library.... how does internal execution of operations on integers ll be done?? like 6=0110,4=0100..and 6+4= 0110+0100.. what happens in case of multiplications,division and other operations!?? how does it controls overflow bits and other…
kishorebjv
  • 376
  • 3
  • 11
1
vote
1 answer

How JQuery select elements under the hood?

I was wondering how jquery really works internally. For example I want to know how jquery selectors works under the hood ? Does it loop through all DOM elements ? Or it has another magic algorithm for finding elements ? And how does it differs from…
Pouyan
  • 2,849
  • 8
  • 33
  • 39
1
vote
1 answer

Relocate Thread Control Block

I am currently in a situation where I need to relocate the TCB (Thread Control Block). From what I understood, the following scheme is in place in processes execution when calling the VDSO (according to this article) All is triggered by the…
Iansus
  • 198
  • 1
  • 12
1
vote
1 answer

Windows heap manager - front end and back end allocator

"It is important to note that a heap block might be considered busy in the eyes of the back end allocator but still not being used by the application. The reason behind this is that any heap blocks that go on the front end allocator’s look aside…
JohnnyCat
  • 203
  • 1
  • 15
1
vote
2 answers

Physical Memory Vs Virtual Memory

I know that when a new process is created there will be a virtual address space that is associated with that process .That virtual address space is located in the virtual memory pages and mapped into memory pages inside the physical memory in a…
JohnnyCat
  • 203
  • 1
  • 15
1
vote
0 answers

How does Ruby dispatch methods when super is called?

I'm doing some research into the internals of how methods are called in some object-oriented languages for a hobby project. I have found information about normal dispatch is fairly easy to come by, but calling the "supermethod" of a class's method…
Victor
  • 121
  • 5
1
vote
0 answers

How to interpret the FLOATING_SAVE_AREA::RegisterArea field?

I got a CONTEXT structure by calling GetThreadContext. It has a FloatSave field, which contains the FPU status. The RegisterArea field is 80 bytes long, it stores contents of the registers. How to interpret the bytes in this array? Is it simply…
Calmarius
  • 18,570
  • 18
  • 110
  • 157
1
vote
2 answers

Does the Order By clause recalculate the value in SQL Server?

When I use a calculation or a subquery in my ORDER clause which is already in my SELECT clause, does SQL know to just order by that column? Or does it recalculate everything for each row when sorting? For instance, lets say I'm writing a terrible…
user186382
1
vote
1 answer

.NET Framework Method Not Found 'Void System.GC.Collect'

I'm trying to run some service and I'm getting this message Method not found: 'Void System.GC.Collect(Int32, System.GCCollectionMode)' I suspect the server because this service runs on other servers. I really want to know what the source of this…
Tal Laitner
  • 141
  • 1
  • 8
1
vote
2 answers

How to get actual list of names of object if custom __dir__ implemented?

Official docs says: If the object has a method named __dir__(), this method will be called and must return the list of attributes. This allows objects that implement a custom __getattr__() or __getattribute__() function to customize the way…
Gill Bates
  • 14,330
  • 23
  • 70
  • 138