What is the best desktop enviroment, and why is it KDE?
KDE is for cucks.
>>59940316
t. minimalistic cuck
>>59940398
How is KDE minimalist?
Any audiophiles that know there stuff give me some insight here?
I have this G430 headset that has 7.1 Audio. But the microphone/stereo adapter to usb is broken. Will it still give me 7.1 Audio? Is there a way to check?
You're a moron.
>>59940278
ask them to give you new one
protip, say that it never worked since you bought those
An eggsecutive running LOONIX?
>>59940167
why is this thread haunting me
go away
good thread. I watch mr robot but understand nothing.
What i understand is:
warning spoiller alert:
I think elliot is a autistic anti-social retared(and not likes anime thats very surprising) and he is not even exists. He is talking with his dead father all the time and call him a asshole. Sometimes he can't even control his brain. He wants to save the world from bad guys and only weapon he has his hacking knowledge. So he tries something but everthing fucked up. So the bad guy from e corp tyrell wants to cooperate with elliot because he is bored from working with old piece of shits and he has a crazy bitchy wife and because of her he kill his boss wife ;) whatever. When tyrell gets lost elliot goes to jail. Elliot watches cp with his black friend in jail. After then they meet with killer american psycho tyrell for last shot but stupid elliot thinks he is real as his imaginary friends and wants to stop everthing. But gets shot. FBI know everything btw.
Also there is one nice hot chick in the series but i think she has no nudes yet. (elliot's childhood friend)
>>59940167
This was the scene where I dropped the show.
I'm trying to implement a B-Tree based on the algorithm provided on the book Introduction to Algorithms, 3rd Edition.
The relevant chapter can be found on the link: http://staff.ustc.edu.cn/~csli/graduate/algorithms/book6/chap19.htm
I'm currently stuck on the procedure B-TREE-INSERT-NONFULL.
The recursion provided (line 17) results in a Nullpointer as none of the childs x->c[i] exists on this point.
The implementation in C that I came up with is as follows:void b_tree_insert_nonfull(node* x, int k)
{
int i = x->n;
if (x->leaf == true)
{
while (i >= 1 && k < x->key[i])
{
x->key[i + 1] = x->key[i];
i = i - 1;
}
x->key[i + 1] = k;
x->n = x->n + 1;
// DISK WRITE X
}
else
{
while (i >= 1 && k < x->key[i])
{
i = i - 1;
}
i = i + 1;
// DISK READ X->C[I]
if (x->c[i]->n == 2 * t - 1)
{
b_tree_split_child(x, i);
if (k > x->key[i])
{
i = i + 1;
}
}
b_tree_insert_nonfull(x->c[i], k);
}
}
/g/ what am I doing wrong?
>implying knows how to code
There all virgins qho cant doe thts why thy make fun on js
Also i = n.x is not the same as int i = x ->n
>>59940143
>>>/dpt/
check out your split routine, it's probably not fixing up the pointers in the parent properly
>jobless NEET
>knows programming
Give me some app ideas.
an app to kill yourself
Make a crude copy of a classic video game and watch people get addicted to it.
>>59940098
An app to help cucks find guys for their girlfriends to fuck.
What are you working on right now? Is it for job, for resume, for learning, or for fun purposes?
>>59939998
I suddenly forgot, I'm just gawking at that picture.
why didnt the bishes in mass effect look like this?
>>59939998
python and MATLAB. have to use DH conventions to code a robotic hand. the math is str8 forward, but the code is turning out to be a faggot cunt bitch motherfucker.
Don't tell me this is the max Intel can get Skylake-EX in DIMM count without affecting bandwidth? Are you fucking serious? Naples has 32 fucking DIMMs slots.
http://www.anandtech.com/show/11277/upcoming-lga3647-skylake-xeons-a-tyan-2p-skylakesp-motherboard-leaked
>>59939902
Naples could actually go up to 48 in a 2P format.
>>59940144
Where would you fit that?
And how can you get 48 DIMMs from 8 memory channels per CPU? Isn't 32 max?
How did Intel allow AMD to catch up and arguably pass them? They were so far ahead.
Can you beat this?
>>59939861
probably not
also
>post your epilicious specifications
>area you a virgin
>>59939861
Pretty much.
I've been programming using scripting languages for nearly 7 years now. I don't have a background in computer science, rather in biology so I felt at home using Perl/Python/Bash for everything.
Now I want to use C++, taking advantage of strong typing to speed up my programs.
However, nearly everything I work with requires strings. For example, one of the basic file formats I work with is called a VCF, a tab-delimited text file.
Explain to me /g/ents how come C++ does not have a simple split function for strings?!!!
WHY IS THERE NOT A FUNCTION IN THE STANDARD LIBRARY TO DO THIS SIMPLE TASK???!!!
In Perl#!/usr/bin/perl
open IN, $ARGV[0];
while(<IN>){
chomp;
my @row = split /\t/, $_;
print $row[3],"\n";
}close IN;
In Python#!/usr/env python
import sys
with open(sys.argv[1]) as f:
for l in f:
row = l.rstrip('\n').split('\t')
print row[3]
In C++ I'm using a split.cpp and split.h files compiled with another main.cpp. YOU WOULD THINK THERE WOULD BE A SIMPLE split FUNCTION BUT NO. I DON'T THINK THEY SPLIT STRINGS IN DENMARK. FUCK C++
>general C/C++ hate thread
>>59939744
> Explain to me /g/ents how come C++ does not have a simple split function for strings?!!!
Because if you are 2 retarded to implement this you're self, then you should just kys yourself :^)
>>59939772
split.h#ifndef __SPLIT_H
#define __SPLIT_H
// functions to split a string by a specific delimiter
#include <string>
#include <vector>
#include <sstream>
#include <string.h>
// split a string on a single delimiter character (delim)
std::vector<std::string>& split(const std::string &s, char delim, std::vector<std::string> &elems);
std::vector<std::string> split(const std::string &s, char delim);
// split a string on any character found in the string of delimiters (delims)
std::vector<std::string>& split(const std::string &s, const std::string& delims, std::vector<std::string> &elems);
std::vector<std::string> split(const std::string &s, const std::string& delims);
template < class ContainerT >
void tokenize(const std::string& str, ContainerT& tokens,
const std::string& delimiters = " ", const bool trimEmpty = false)
{
std::string::size_type pos, lastPos = 0;
while(true)
{
pos = str.find_first_of(delimiters, lastPos);
if(pos == std::string::npos)
{
pos = str.length();
if(pos != lastPos || !trimEmpty) {
tokens.push_back(typename ContainerT::value_type(str.data()+lastPos, (typename ContainerT::value_type::size_type)pos-lastPos));
}
break;
}
else
{
if(pos != lastPos || !trimEmpty) {
tokens.push_back(typename ContainerT::value_type(str.data()+lastPos, (typename ContainerT::value_type::size_type)pos-lastPos));
}
}
lastPos = pos + 1;
}
};
#endif
>>59939869
split.cpp#include "split.h"
std::vector<std::string> &split(const std::string &s, char delim, std::vector<std::string> &elems) {
std::string delims = std::string(1, delim);
tokenize(s, elems, delims);
return elems;
}
std::vector<std::string> split(const std::string &s, char delim) {
std::vector<std::string> elems;
return split(s, delim, elems);
}
std::vector<std::string> &split(const std::string &s, const std::string& delims, std::vector<std::string> &elems) {
tokenize(s, elems, delims);
return elems;
}
std::vector<std::string> split(const std::string &s, const std::string& delims) {
std::vector<std::string> elems;
return split(s, delims, elems);
}
main.cpp#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include "split.h"
using namespace std;
int main(int argc, char* argv[])
{
if (argc < 2) { cerr << "ERROR: MUST HAVE ONE ARGUMENT" << endl; return 1; }
ifstream in_buf(argv[1]);
string line;
vector<string> samples;
while (getline(in_buf,line,'\n')){
if (line.find('#') != 0) {
vector<string> fields = split(line, '\t');
cout << fields[3] << endl;
}
return 0;
}
Ok but why do all this work when you can do this?@array = split /\t/, $line;
I really really want to use C++ for my research but this is infuriating
Does a VM protect you from viruses?
Lets say I want to open a document, which happen to be a virus, if I do it in a VM, would my actual OS be protected and remain clean, or would it get compromised as well?
>>59940114
The host computer should be OK. If it's ransomware or something that will infect all files then you'd want to make sure there are no network drives or shares leading back to the host.
>>59940114
It aims to do so and I generally wouldn't hesitate to run malware in one.
Nothing's perfect though. There have been many VM escape exploits.
old thread: >>59933073
What are you working on, /g/?
First for Rust
>>59939666
go away satan
>>59939666
Also, check'em
>>59939671
Fuck off, Jesus
What are you working on, /g/?
Previous: >>59933073
>>59939581
Thanks for using Anime picture~
(^~^|)
My program that is totally better than a professional solution because I browse 4chan and that makes me more important!!!
T. Any user in this thread
>>59939618
Yes
how do you pronounce it
Etsy.
eck-set-ra
>eck as in the ship's dECK
>set as in 'SET that down'
>ra as in a woman's bRA
>>59939305
etc
So I heard about fedora workstation and wanted to check it out for myself.
I go on their website and see pic related as "ad" for their OS...
What in the actual fuck did they think when they made this?
this is an old meme
welcome to /g/ newfriend
THICC
>>59939119
Is that beast really still on their page
Are there any upcoming true groundbreaker smarthones right now beside the mi mix 2?
>>59939064
The iPhone 7s. Honestly they are the only ones innovating. Apple has never delivered a disappointing phone.
>>59940954
(You)
Saged
Reported
Banned
Leaving thread
>>59940954