What is a library I can use that can take a file and and turn it into a 16 or 32 byte sum and then reverse it back into the file?
>>56358853
If you can figure that out, you deserve several Nobel prizes.
>>56358853
>losslessly and reversibly compress a file of unspecified size to 32 bytes
yeah no
>>56359044
Says you
Anything better than the gtx950 for under 130usd? I don't mind used.
I will mainly be doing productivity things on 2 4k monitors (1 is a tv) and a 1080p. No games but need that 60hz.
Might play a little crysis 1 on the 1080p though.
Pic not related.
750ti a shit.
>>56358541
Get a GTX 960 at a minimum
You can find them for $140 everywhere, you can probably get them <$130 with a little digging
>>56359562
Is it the vram?
>>56359637
no it's just a better value because a lot of them are getting dumped due to the 1060
onboard hevc could be nice to have in a HTPC too
>I fell for the i3 window manager meme
What? i3 is a processor from Intel.
did you figure out how to open terminal yet?
>he isn't using 60 dpi masterrace
holeefuk
Fuck that was hard
>>56358480
>Mastercard MasterCard Master race
I kek't
Do you guys recommend any android powered car stereos? I was just thinking of getting a cheap one off aliexpress but will it be low quality?
go Android Auto or furrow your brow at unsupported chink garbage
>>56358360
Anyone have any experience with just yanking the radio console thing out and replacing it with some do it yourself shit? Like a pi or even the $50 dollar lintel thing that is a little beefier?
How complicated would it be to just copy all the signals from the dealer system in there it cant be that integrated.
Anyone tried an Android rear view mirror?
so how good are these 200 dollar laptops that you can't modifications to?
>>56358290
How can white women even compete?!?
>>56358290
OH FUCK OFF BACK TO KPG FAGGOT
i like my chromebook a lot! also that girl is really cute
How do you reverse engineer an md5 sum to turn it into the actual file?
It's gotta be possible right?
No, and you would know this if you had bother to read past the first sentence on the wikipedia article you useless prick
How many ways are there to write 1,000,000 as a sum of numbers between 1 and 256? Answer that question and you will also answer your own.
>>56358318
jokes on you I didn't even read the wikipedia article or google anything
<code>
import random
</code>
type
TGLForm1 = class(TForm)
ErrorTimer: TTimer;
procedure ErrorTimerTimer(Sender: TObject);
procedure FormCreate(Sender: TObject);
procedure GLboxPaint(Sender: TObject);
procedure MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
procedure MouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
procedure MouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
procedure ShowmessageError(s: string);
private
public
end;
var
GLForm1: TGLForm1;
implementation
{$R *.lfm}
type
TShader = record
Init: boolean;
vbo_point, vao_point, shaderProgram, vertexArrayObject: GLuint;
uniform_angle: GLint;
end;
var
gShader: TShader;
GLBox:TOpenGLControl;
gGLerror : string = '';
gRotation : integer = 30;
gMouseY : integer = -1;
procedure TGLForm1.ShowmessageError(s: string);
begin
if gGLerror <> '' then exit;
gGLerror := s;
ErrorTimer.Enabled := true;
end;
procedure ReportErrorsGL(glObjectID: GLuint);
var
s : string;
maxLength : GLint;
begin
glGetShaderiv(glObjectID, GL_INFO_LOG_LENGTH, @maxLength);
if (maxLength < 1) then exit;
setlength(s, maxLength);
glGetShaderInfoLog(glObjectID, maxLength, maxLength, @s[1]);
s:=trim(s);
GLForm1.ShowmessageError('GLSL error '+s);
end;
const
kVert = '#version 330'
+#10'layout(location = 0) in vec2 point;'
+#10'uniform float angle;'
+#10'void main() {'
+#10' mat2 rotate = mat2(cos(angle), -sin(angle),sin(angle), cos(angle));'
+#10' gl_Position = vec4(0.75 * rotate * point, 0.0, 1.0);'
+#10'}';
kFrag = '#version 330'
+#10'out vec4 color;'
+#10'void main() {'
+#10' color = vec4(1, 0.15, 0.15, 0);'
+#10'}';
procedure GetError(p: integer);
var
Error: GLenum;
s: string;
begin
Error := glGetError();
if Error = GL_NO_ERROR then exit;
s := inttostr(p)+'->';
if Error = GL_INVALID_ENUM then
s := s+'GL_INVALID_ENUM'
else if Error = GL_INVALID_VALUE then
s := s+'GL_INVALID_VALUE'
else
s := s + inttostr(Error);
GLForm1.ShowmessageError('GLSL error : '+s );
end;
function compileShaderOfType (shaderType: GLEnum; shaderText: string): GLuint;
var
status: GLint;
begin
result := glCreateShader(shaderType);
glShaderSource(result, 1, PPGLChar(@shaderText), nil);
glCompileShader(result);
ReportErrorsGL(result);
status := 0;
glGetShaderiv(result, GL_COMPILE_STATUS, @status);
if (status = 0) then begin
GLForm1.ShowmessageError('GLSL shader failure ' );
end;
end;
function initVertFrag(vert, frag: string): GLuint;
var
fr, vt: GLuint;
begin
result := 0;
vt := compileShaderOfType(GL_VERTEX_SHADER, vert);
fr := compileShaderOfType(GL_FRAGMENT_SHADER, frag);
if (fr = 0) or (vt = 0) then exit;
result := glCreateProgram();
glAttachShader(result, vt);
glAttachShader(result, fr);
glBindFragDataLocation(result, 0, 'fragColour');
glLinkProgram(result);
glDeleteShader(vt);
glDeleteShader(fr);
GetError(1);
end;
procedure LoadBufferData;
const
kATTRIB_POINT = 0;
SQUARE : array [0..7] of single = (
-1.0, 1.0,
-1.0, -1.0,
1.0, 1.0,
1.0, -1.0);
begin
glGenBuffers(1, @gShader.vbo_point);
glBindBuffer(GL_ARRAY_BUFFER, gShader.vbo_point);
glBufferData(GL_ARRAY_BUFFER, sizeof(SQUARE), @SQUARE[0], GL_STATIC_DRAW);
glBindBuffer(GL_ARRAY_BUFFER, 0);
glGenVertexArrays(1, @gShader.vao_point);
glBindVertexArray(gShader.vao_point);
glBindBuffer(GL_ARRAY_BUFFER, gShader.vbo_point);
glVertexAttribPointer(kATTRIB_POINT, 2, GL_FLOAT, FALSE, 0, nil);
glEnableVertexAttribArray(kATTRIB_POINT);
glBindBuffer(GL_ARRAY_BUFFER, 0);
glBindVertexArray(0);
gShader.uniform_angle := glGetUniformLocation(gShader.shaderProgram, pAnsiChar('angle'));
GetError(2);
end;
procedure InitGL;
begin
if not gShader.Init then exit;
gShader.Init := false;
InitOpenGL;
ReadExtensions;
GLForm1.caption := glGetString(GL_VENDOR)+'; OpenGL= '+glGetString(GL_VERSION)+'; Shader='+glGetString(GL_SHADING_LANGUAGE_VERSION);
gShader.shaderProgram := initVertFrag(kVert, kFrag);
LoadBufferData;
end;
procedure TGLForm1.GLboxPaint(Sender: TObject);
begin
InitGL;
glClearColor(0.1, 0.1, 0.4, 1.0);
glClear(GL_COLOR_BUFFER_BIT);
glUseProgram(gShader.shaderProgram);
glUniform1f(gShader.uniform_angle, gRotation/90) ;
glBindVertexArray(gShader.vao_point);
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
glBindVertexArray(0);
glUseProgram(0);
GLbox.SwapBuffers;
end;
procedure TGLForm1.MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
begin
if gMouseY < 0 then exit;
gRotation := gRotation + (Y - gMouseY);
gMouseY := Y;
GLBox.Invalidate;
end;
procedure TGLForm1.MouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
gMouseY := -1;
end;
What the fuck? Why isn't this just "Show Cortana button"?
are you seriously asking why some specific thing is inconsistent/nonsense in windows 10?
>>56358178
> le look at me, I'm such a computer connoisseur that I am qualified to point out inconsistencies and get mad maymay
Fuck off, if you don't like it, why don't you just write your own OS?
>>56358275
I'm mad but I think I'm just gonna buy a macbook desu
Does anyone actually like this autistic cunt?
epic bump
I immediately lost respect for him when I heard him speak and realized he wasn't actually Jesus.
How could you not?
So /g/, I had a GIGABYTE Windforce GTX 970 and now upgraded to the GIGABYTE Windforce GTX 1070. It's super quiet and overclocks to 2100+ MHZ. Why is GIGABYTE such an amazing company? They deliver fantastic gaming performance and keep your cards cool during intensive gaming sessions.
>>56357998
Literally, every 1070/80 can OC to 2,100+
The card will boost to 1987mhz if ur temps allow it.
2,100 is NOT Impressive
My 100% stock msi EK blocked 1080 will boost to 2,012mhz on its own
>>56357998
>They deliver fantastic gaming performance and keep your cards cool during intensive gaming sessions.
>>56357998
>GIGABYTE Windforce GTX 1070. It's super quiet
It's one of, if not the loudest custom Pascal cards. Gigabyte a shit.
Do you treat your phone with care?
>>56358106
Thank you good sir
What even is this?
>>56358158
Are ligatures a meme?
Isn't that the font that's like $200?
>>56357700
this is the most cancerous shit I've seen all day
>>56357700
I use it all day. Best thing ever. Then again it makes more sense for functional programming languages.
>botdroid
JAJAJAJAJA
>people download apps outside of the playstore
>bad things happen
wow
Shut up fajito
>>56357721
>only using what google lets you use
ahahaha nice freedom lagdroids
What DE/WMs do you have installed right now?
Which one is your favorite?
*cuck
You had ONE job.
i only have one window manager installed OP--its i3 and its pretty good. i used openbox before that; it was good as well. both of them have things to recommend them! let me turn the question backa round on you: whats your favourite anime?
>>56357667
>What DE/WMs do you have installed right now?
Laptop #1: Awesome
Laptop #2: Awesome
Older desktop that I haven't booted in a year: Awesome
>Which one is your favorite?
I prefer Awesome desu senpai