I'm thinking about getting a new computer.While I know nothing about computers, I spend a lot of time on them, and would like the best you guys can imagine.I've heard good things about Linux, should I get it?And I've heard good things about building my own computer, should I do that?Also, is there a book I can read, preferably a .pdf, about how to start understanding computer hardware and software?
>>8Some Steam ones, and some stuff like Planescape Torment.
>>9Sounds like you probably won't need an absolute top-of-the-range super gaming PC then. Look at the minimum specifications for all the games you play, and then make sure your new PC is much, much better than that. Not only so you can play the games at an acceptably high setting, but also so you can play even more high-tech games that will come out in the future.Do you plan to put a DVD drive in it? If you don't, you're really going to struggle to install all the drivers if you put the PC together yourself.
>>10If it's a good idea, I'll put a DVD drive in it.
>>11>>10You don't actually need a DVD drive for installing your shit, chances are the included drivers are positively ancient and you're better off downloading them from the manufacturer pages to begin with. I'm making good use of my $30 DVD burner because I'm a giant music faggot who likes CD's, but even then I did the installation with a 8GB USB drive loaded with the installation image and the Ethernet driver, the first thing I did was installing Firefox and using that to download the newest possible drivers for everything else.
Just a bit of incite -- If you know absolutely nothing about computers, Linux probably isn't for you. I mean this in a way that's not supposed to be an insult to you. The reasons most people have for linux probably wouldn't be of much relevance to the average user.And like others have mentioned, game compatibility is an issue.Regarding building a PC I highly recommend it. The process is extremely straightforward. They're simple to install, the only part that requires research really is the compatibility for the initial purchase. There are many communities however who can help you out, this one included.
Here's an example of what's wrong with software today.* https://github.com/laneb/congruence_solverSome guy made a program that takes an equation and tries x=1,x=2,x=3,.. up to some limit to check if it can solve it.Like, the entire computation is literally a for loop.That's fine but let's see what he did to acheive this goal...
>>20Like what?
>>20>fun dialog boxesok...
>>22you've got more imagination than that!
>>1,4The project is written in ruby, which is optimized for modern computers.Which means that because of the abundance of resources it is not optimized at all.
>>5Yeah. Work buddies keep making projects with bunch of useless files. Really bad, keep trying to force me to use an IDE.
ITT we create a python3 script 1 line at a timeRules: ・ Use this character "→" to indicate each level of indentation (to make it clear, since python relies heavily on indentation) ・ Valid additions must be wrapped in [ cb ] tags ・ Only 1 line of code per post ・ Lines that would cause a crash are not allowed unless wrapped in an appropriate "try" block ・ Game Over if the interpreter enters an infinite loop ・ You cannot start a 1 line loop that would be infinite ・ Recursion not allowed ・ No quit()'ingAs a courtesy please try not to make 2 consecutive contributions, let someone else go after you.Line 1: def somefunction():
→somefunction()
>>3>Recursion not allowed
>since python relies heavily on indentationno thanks
who bump?
>>7I made a comment, deleted it because there was a mistake and then forgot to post the fixed version.→if len(sys.argv) != 4:I would have liked to quit it here, but we'll see what happens.
What's the best anti-virus software?
>>4I do.
>>4I don't. Fuck those two.
>>8Wow, what an asshole.
Common Sense 2017
Gentoo
holy FUCK am I ever excited for 16.10 it'll have 4.8!!! unity 8 preinstalled!!!now I'll have something to replace windows 10 !
Fucking nerd hahahahah
キタ━━━(゚∀゚)━━━!!
>>3I'd rather use moebuntu
>>1Do you like amazon botnet
>using ubotnet
Create a script that creates a random 6 char hash in every language you know. Post your script ITT.My version (written in PHP):<?phpecho substr(str_shuffle("aBcEeFgHiJkLmNoPqRstUvWxYz0123456789"), 0, 6);?>
Define "hash". I'll just read that as printable ASCII:No standard library (unistd is not part of the standard)#include <unistd.h>#include <sys/syscall.h>#define stdout 2int main(){\tunsigned char buf[7];\tint offset = sizeof buf - 1;\tbuf[offset] = '\n';\tsyscall(SYS_getrandom, buf, offset, 0);\tfor (int i = 0; i < offset; i++) {\t\tbuf[i] %= '~';\t\tif (buf[i] < '!')\t\t\tbuf[i] += '!';\t}\twrite(stdout, buf, sizeof buf);\treturn 0;}Prints random 6 char Unicode stringimport System.Randomimport Data.Charmain :: IO ()main = putStrLn =<< take 6 . filter isPrint . randoms <$> getStdGen>Post body has too many linesgay
>>2Xorshift actually works// compile with rustc -O to get rid of overflow checkinguse std::time;const NCHAR: usize = 6;pub struct XorshiftGen { state: [u64; 2],}impl XorshiftGen { pub fn new() -> XorshiftGen { let mut state: [u64; 2] = [0; 2]; let t = time::SystemTime::now(); let dur = t.duration_since(time::UNIX_EPOCH).unwrap(); state[0] = dur.as_secs(); state[1] = dur.subsec_nanos() as u64; XorshiftGen{state: state} } pub fn u32(&mut self) -> u32 { let mut x = self.state[0]; let y = self.state[1]; self.state[0] = y; x ^= x << 23; self.state[1] = x ^ y ^ (x >> 17) ^ (y >> 26); (self.state[1] + y) as u32 }}fn main() { let mut gen = XorshiftGen::new(); let chars: Vec<u8> = (33..126).collect(); let len = chars.len(); let ret: Vec<u8> = (0..NCHAR).map(|_| {Comment too long. View thread to read entire comment.
Python:from random import choicefor i in range(6): print(choice('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'),end='')>>2The current line restriction does seem pretty small now that I think about programming threads.I'll change it from 60 to 200. Is that good or do you want it bigger? I think some line restriction is needed though since the maximum character count is 8000.
How do I setup xwayland as default display server? Do I need to put weston into xinitrc? how about lightdm and my icewm? Do I need to setup these two in ~/.config/weston.ini? I'm really confuse here.
xwayland is just (modified) xorg running under wayland. wayland compositor├── native wayland programs└── xwayland/xorg └── x client programs
>>2What about xweston? https://github.com/ackalker/Xweston
>>3I'm surprised this actually kind of worked. But why would you want to do that? It should just give you an X11 WM that only works with other X11 programs running under Weston. That's pretty pointless. Why not use your WM normally?
bla bla bla requires bla bla blabla bla bla requires bla bla blabla bla bla requires bla bla blabla bla bla requires bla bla blabla bla bla requires bla bla blabla bla bla requires bla bla blabla bla bla requires bla bla blaand so on x times 50How do I solve this problem easier when installing packages on my tablet. I'm using manjaro openrc vanilla version? My tablet can't into internet, so I'm installing my packages through file transferring using a thumb drive. I have to transfer necessary packages from computer that have internet to my thumb drive than to my tablet.I thought pacman -Sw command would download the needed dependencies all together. Fucking kill me pls.
btw, this is my fresh manjaro installed on tablet btw.
The tag is "cb" for making a code-block here instead of "code".But wouldn't it be the same for Manjaro as Arch Linux since they use the same package manager?https://wiki.archlinux.org/index.php/offline_installation_of_packagesThese lines are for keeping the system up to date, but I wonder if you can modify it to ask for a particular package instead.Machine without internet:pacman -Sup --noconfirm > pkglisttake pkglist to machine with internet, run in empty directory to download everything:wget -nv -i ../pkglisttake the downloads to machine without internet and put them in /var/cache/pacman/pkg then run:pacman -S package-name
oI'll do it tomorrow.I need to look back what specific packages I need to install into my tablet.
"When people started including CI/travis, build bots, frameworks, dozens of libraries for a simple application, and so on. It's not that I don't really understand the logic of programming, it's that I don't understand why programmers make life so difficult for themselves.It's just not fun anymore to hack away at a couple of source files without having to commit every line of code, get shat on for a simple typo by feminist non-programmers, have to implement a CoC for projects on Github, and so on. Fuck this hobby and fuck this industry."- Jesus
General thread for anything about unicode. Ask questions, share interesting unicode related stuff. etc.
they're reinventing hieroglyphics
>>8 I completly agree
COPY of an 8ch thread:Fullsized image[–]▶Anonymous 03/19/16 (Sat) 22:17:20 No.546738>>546892 [Watch Thread]are you ready for the selfie unicode /tech/? I can't wait until they add in a preteen girl holding up a spork.▶Anonymous 03/19/16 (Sat) 22:23:06 No.546744File (hide): 1458426186895.png (285.75 KB, 412x610, 206:305, 200 percent why.png)Why not just throw in specific scenes from movies? We could sure use those▶Anonymous 03/19/16 (Sat) 22:41:53 No.546759>>546792 >>546876Daily reminder that Emoji was a mistake.▶Anonymous 03/19/16 (Sat) 23:09:41 No.546786Sure, why not, since we're adding everything else under the sun to unicode now. Tbh I don't really care that much though.▶Anonymous Linux Mint 03/19/16 (Sat) 23:17:56 No.546792>>546876>>546759More than a mistake. An aggressive cancer.▶Anonymous 03/20/16 (Sun) 01:18:26 No.546876>>546759>>546792Thank the Japs for this shit.▶Anonymous 03/20/16 (Sun) 01:50:22 No.546892Comment too long. View thread to read entire comment.
>>11You could've just posted a screenshot of the thread, I'm pretty sure everyone knows what a selfie is. But whatever.I don't really see the point in doing this since it's not like most people will know how to "type" emoji like that anyway (like knowing the actual keyboard alt sequence to produce it, or by using something like japanese keyboard input)I'm sure for 99% of their usage people will just be accessing them from some built in menu in whatever they're using. Can't those sites just build whatever emoji they want as a site feature? Most people wouldn't even know the difference.
>>12You'rce totally right, i agree - emoji should just be a markup language. not part of the text system itself. its absurd..
for(words[0]=strtok(line," \t\n"); (*nwords<MAX_WORDS)&&(words[*nwords]=strtok(NULL, " \t\n")); *nwords=*nwords+1 );
http://cyclopslang.org/
Is this just so you can piss people off by uploading your code to github in a language that uses symbols most people don't even have a font for?
the name of the programming language is a stylized vagina
Personally, maintaining flow state and being in the zone is something I take extremely seriously. I do everything I can to minimize distractions and maintain my focus on what I'm doing, and it helps immensely in building momentum and achieving great development velocityWriting tests is different from the frame of mind you need to be in to effectively write production code. Hence, constantly jumping back and forth between writing production code and writing test code, involves lots of costly context switches, and loss of flow.
I agree, being in the zone makes all the difference in the world. Transitioning between tasks destroys the zone.Protect your zone.
So we've had some expressed interest in making a demo for the next TMDC.What is TMDC? What is a demo?Textmode Demo Competition - demos evolved from those little intros crackers used to include with pirated software/games. Compos are basically a dickwagging competition for making a good visual and audio production usually with real-time graphical programming. Here's an example of a textmode demo: https://www.youtube.com/watch?v=t76kr2lKC2kWhats our idea?I thought we'd keep in theme with this imageboard so something /jp/ related. However the rules of TMDC require us to own or have access to the copyright, 2hu fits this as ZUN's terms of use a pretty loose. We've pretty much agreed on this although we should look for more content or reference we can use.How do we get started?There are frameworks to work with, here's one by brainstorm:https://files.scene.org/get/parties/2014/function14/demo/textmodeframework.zipFirst should take a look at the framework and start figuring out how it works. We should probably get a simple prototype such as an image loaded into the framework and an audio file playing.We'll need more ideas of what to actually do with it. Especially if we're solely using 2hu we might want to think of a script and what characters we want to include i.e. are we going for laughs, drama, etc?Should we create an IRC channel for this? Discord?We might want something more instant than the board for discussing smaller details. I would lean more towards Discord as we can have a "log" of changes and multiple channels for working on different things.
I think it would be cool to go for a style more like thishttps://www.youtube.com/watch?v=Kjknm6wKsrUIt looks closer to SJIS art, even though I think we'd be limited to standard ascii.Also I don't know what experience everyone else has had with developing things, but in my experience the programming isn't usually the problem, it's all the creative sides like artwork/music/script/ideas that end up holding things back. I'd feel a lot more comfortable spending time playing around with this project if we had all that other stuff figured out first.
>>2Yeah I agree, that definitely looks better than the block/dot style.Don't have much experience with developing creative stuff but yeah I can see how the design would have to come first.
I probably should have linked these too for anyone else interested:http://tmdc.scene.org/index.php?nav=ruleshttp://tmdc.scene.org/index.php?nav=FAQTake a look at keep these in mind.
>>2>Also I don't know what experience everyone else has had with developing things, but in my experience the programming isn't usually the problem, it's all the creative sides like artwork/music/script/ideas that end up holding things back.For people like us that's probably true, cause we're a bunch of computer nerds.I think a lot of internet hobby projects like this one end up not going anywhere, but could have worked if just they did a bit of basic project management. I've seen so many "let's make a game" start with discussion of setting and plot, and end right after that because no one knew how to do anything.My suggestion is that we should try to get some shit demo working before anything else. Maybe Anonymous can make cool graphics, but can he make the cool graphics that will be useful for creating the demo? Or maybe he can't make cool graphics, but it turns out we don't really need him to. We need to figure that out.So here's a tentative battle plan, before we start discussing pointless things:1 - Fully understand the process of textmode demo creation2 - Get a list of the available relevant skills3 - Decide what we're gonna make4 - Make itEach step being based on the step before it.
>>5I'll try seeing what I can do this weekend.
I'm thinking of making brand new imageboard software.been thinking about it for a while actually, not sure what push I need to get started.
>>22fuck off lowkike
>>22>tables and lists>Markdownwhy?
>>19Only higher pt/bold font to differentiate different threads? Looks better on the futaba style but the default white one isn't so great.The "Recent Comments" header/separator seems a bit redundant... (babby's first imageboard?)Also wondering what the idea behind only showing recent threads is and having a thread list instead. I guess it's quicker to access threads you want to follow in the list instead of looking through them via catalog/scrolling.
>>19It's interesting.I've always wished more sites that choose to use a comments/discussion section would incorporate anonymous discussion instead of that "log in through: facebook/google/etc.." crap.That site looks more like something you could present to serious business oriented sites, although they'd probably turn off the ability to format the post with HTML, which is also a cool feature.
>>19Interesting idea.I sure wouldn't mind having the ability to post tables and lists, but I think spoilers and s-jis art, which I don't think werchan supports yet, are way more important for our use case. I'm sure that's easy to add though, if it's really missing.I don't really know how I feel about Markdown. I don't really like it, but I can't propose anything better either. I also don't know if all that formatting freedom would be put to good use, but I'd be interested in giving it a shot.I totally get the plain layout, but that style sheet could use some work. The spacing of the content makes it kinda fugly, and that "Recent Comments" shit is an eyesore.This:>remember that loli is illegal and immoral (ie don’t post it)is completely unacceptable.