Old thread >>52353941
What are you working on?
>>52356915
http://dlang.org/
D site got an overhaul, looks nice
>>52356959
>http://dlang.org/
I prefer the old version
>>52356915
>Rolling meme image
Great, we get to have a thread with 150 'rolling' posts.
>>52356997
Oh shit, I thought it was just a neat list.
hi
>>52356915
rollin'
>>52356915
Is it really that hard to get a job or is everyone just retarded?
>>52357025
>>52357043
>>52357107
Get the fuck out
>>52357107
Getting a job is all about nepotism.
>>52357138
>Telling OSGTP to get out
You get out, who else will I talk to about C# and WPF.
>>52356937
>Tfw people tell me vocational school is a good idea.
>Tfw I realize my diploma is worth less than sand
At least I could RPL a bunch of units if I went to uni, which I wont because holy shit 50k a semester is this real life?
>>52356840
>Learn JS and shit out a web app
That's what I'm doing. Though it's in php... Is that good enough? I also started making the same thing using nodejs just in case but I was having more fun with cakephp so that's much further along.
>>52356843
>There's junior .NET jobs. If they ask for 1 year experience apply anyways, and point to your impressive GitHub account
That's what I'm doing. But there aren't many junior .NET positions around, what few there are get flooded by kids fresh out of uni, most of which could probably program circles around me. The first C++ position I saw short listed me but I flunked the interview because I was so nervous.
I live in Perth, western Australia and the only work to do here is in mining, and that's dying too.
>>52356972
I have a linkedin account but I've never really tried using it.
What do I put in my portfolio aside from github projects? Should I join an open source project?
>>52356959
I wish they would overhaul the logo
and also the forum layout
it reminds me too much of... that place
>>52357153
It's actually all about not being autistic, and even for that the bar is pretty low for programmers
>>52357248
I just finished a pork steak.
>>52357248
An apple.
Now I'm going to have some green tea.
[spoiler]Tfw gained two kilos since moving out a week ago and desperately trying to lose weight before I lose control[/spoiler]
>>52357157
The wall, maybe. Speaking of C#...
>write program to make archived backups
>runs fine on my machine and test machines
>run it on destination machine as admin
>unauthorizedaccessexception everywhere
fark my ass, I just can't figure this nigger out.
>>52357248
maybe you should have cooked it first m8
>>52357283
Are you trying to write to a shared drive on a server or something?
C# sucks you know? Learn Java
>>52357283
I assume you're iterating?
Try/Catch the bastard.
That's what I did anyway, because I'm incredibly lazy. I was building an object from all the files within all the directories of a selected root.
I just try-catch each time it ran it's iteration so it ignored any files I wasn't allowed to access.
>>52357350
>Try/Catch the bastard.
Yeah, that's not quite so simple when you're using a method to enumerate files on a drive, and instead of just skipping ones you can't access, it throws an exception.
>>52357329
Nope, not a shared drive or anything. It's local to the machine. It's a real head scratcher.
I'm going to buckle down and rewrite the backup software from scratch so it'll actually jest werk.
What music are you listening to senpai?
>>52357384
https://www.youtube.com/watch?v=kPLMf1uhM2E
>mfw getting my lecture notes
>>52357384
Some weeb shit
>>52357397
this album looks like a snake eater screenshot
>>52357400
Leave
>>52357384
https://www.youtube.com/watch?v=z40nLIrYDXY
>>52357397
I'm not going to make the obvious joke, but you honestly do, anon.
>>52357283
>>52357350
Oh and there is a way to set flags - Maybe you're hitting ReadOnly files/folders.
Without actually seeing any code I can't be certain what you're doing.
I mean really you should be generating a data object for each file with any relevant properties, then run a try/catch and do whatever you need to do with each file, with the ones that throw exceptions being ignored entirely.
Again, no idea what you're trying to do so can't really recommend anything.
>>52357400
most people probably mean not being a code monkey (so "software development") when they say programming
>>52357384
Same thing as last time you asked
>>52357429
Edgy.
>>52357439
Wat
>>52357384
https://www.youtube.com/watch?v=E6oSVDU_Tvg
>>52357439
kek
>>52357440
>Again, no idea what you're trying to do so can't really recommend anything.
Just Dir.EnumerateFiles, that's all.
>>52357487
it says "bad taste recordings", implying you have bad taste. but it does get better after the intro
>>52357384
i've been listening a lot to Rush since anon recommended it
Is it ok to save up to ~500000 characters in local storage before I start pruning the oldest entries?
>>52357553
yes
>>52357400
That sounds fair enough. Coding is what cowboys do, make code. Programming is what software developers do, make programs.
>>52357568
Yes. There's absolutely no reason to have a private variable and a trivial getter/setter instead of a public variable.
> R
> <-
Literally why
>>52357176
What place anon?
>>52357502
Why bother with that?foreach (var file in Directory.GetFiles(directory, "*", SearchOption.AllDirectories))
then try{ } to get whatever properties you need in each file (be it the full path, the created time, whatever the fuck), store it in a data object, and then have a collection of those data objects.
Then you're free to do whatever the fuck you like.
Hell, in your catch statement you could do file.SetAttributes and change the flags so it isn't readonly, and then do whatever you need to do with it.
With this method you can serialise your data object to a file using JSON.NET and then pull that file back out so you can use it again.
>>52357384
https://www.youtube.com/watch?v=yDqCIcsUtPI
Is there a language that's nice to use like Python, is cross platform (Win/OS X/Linux), but is compiled?
Python is nice, but I really wish that distributing software was easier.
Go looks promising, but it's not quite there yet.
Most people don't even try stuff if there isn't a binary version available.
>>52357596
We don't talk about that place here anon
it... creeps me out
>>52357599
What I'm saying is that it doesn't even get past the GetFiles/EnumerateFiles part. It literally cannot give me a list of files without throwing an exception.
>>52357283
Apparently system files in windows can be set with no permissions for anyone including administrators, so you might have to own all of the files under the account and allow permissions on all files to get it to work. Could be something completely unrelated though, I don't know much about Windows
>>52357248
Is this a new meme? Did you fucking forget to cook it?
>>52357613
Finally, an anon with a decent taste in music.
>>52357568
>>52357586
>Debug your code
>Globals everywhere and you have to look in 100 places for where each variable is modified
Fucking dumbass NEETs.
>>52357624
Just rewrite your python code in java like everyone else
>>52357624
C++
>>52357713
in addition to losing my sanity, that doesn't solve the issue either, as it requires people to have Java installed
>>52357297
>>52357688
it's not a new meme
it's delish
>>52357742
Compile to bytecode :')
>>52357674
Ah, I assumed it was throwing an exception when you went to do something with the file, the thing itself is throwing an exception immediately, which sucks.
You know if there's any permissions changes between the two machines? Could be that you need to elevate the thing to Administrator in the manifest.
Post code.
>>52357704
sounds like shit compared to this
https://www.youtube.com/watch?v=Ubw6kuJ0-ro
SCALA IS A GOOOOOOOOOD LANGUAAAAAAAAAAGE
>>52357090
getting there, but seriously fuck flappy bird in the face
>>52357814
[spoiler]
it is not
[/spoiler]
>>52357845
>retarded-bird
lel
>>52357337
Ok Pajeet
Is there a way to define behavior of struct arithmetic in C?int - int = int
vector - vector = undefined, compiler error
Say vector had three parameters: x, y, z. Is there a way to do:newVec->x = vecA->x - vecB->x;
newVec->y = vecA->y - vecB->y;
newVec->z = vecA->z - vecB->z;
whenever I type:newVec = vecA - vecB;
???
>>52358002
Use C++.
>>52358002
You can't overload operators in C.
>>52356915
Nothing atm, looking for something in javascript tho
>>52358044
>javascript
Good lad.
>>52357248
I just had 2 pork pies. my bf always buys them and it was the first time I tried that brand, they were surprisingly good
>>52358002
>using a struct for a vector
kek just use an array and make a macro for arithmetic
>>52357157
That anon only talks about winforms though.
>>52357755
>Post code.
Nah, I'm good. As noted, even running as admin doesn't do it.
I'm gonna have to dig into it later, or do a rewrite.
>Reading some old tutorials on compiler creation
>Converting asm 68k to x86
Man fuck this architecture.
>>52358002
No.
Just use functions or macros.
>>52358262
68k is a way better design than x86
>>52357900
trust me, this project is gonna be very retarded before it gets better
>webm related
i just suck at relative coordinate stuff
Working a bit on this again
all the catalog images now fill up their space
>>52357384
https://www.youtube.com/watch?v=AFhVYORDvKo
>>52357415
What weeb shit
>>52358583
why is pepe the normie in the catalog
>>52357624
anyone?
was looking at crystal, but it appears that there's no windows support yet
>>52356915
i will see
>>52357384
Now I'm listening to this. Kosen is a hidden gem label.
https://www.youtube.com/watch?v=ZMSjXwlYYKE
>>52358668
Chav shit
Finally done enough with this image tagger thing to call it done.
>>52357742
>>52358648
You're going to just have to bite the bullet and learn C if you want to write cross-platform software without the user having to install anything.
>>52357624
Haskell.
>>52358188
mostly true, but i've toyed with wpf.
Made a program in Java that starts at a designated web page and recursively adds links to a queue that it will visit sequentially.
Still need to make it not visit the same page twice, but I haven't spent much time on it so far.
>>52357384
https://www.youtube.com/watch?v=15eu7ar5EKM
>>52358792
If all anon needs is a language that compiles to native code, then they have a few more options than just C. They can use C++, Rust, Ada, Pascal, Go, D, Fortran, or Haskell just the same. Now, I know I'm skipping a few languages here, but all of these are multi-platform and have no dependencies on an interpreter/VM.
>>52358343
fixed the scrolling skip and added the flapping, arguably the most important part.
just need collision detection, boundary checks and so forth now
Is there a Javascript tutorial for people coming from C?
Every JS resource I looked at is aimed at your typical webdev bandwagon faggots who don't even know what loops are.
>>52359015
Within 67 lines that's impressive imo
>>52359038
seconding this, please
>>52358792
What about nim?
>>52356915
ROLL
>>52359038
>>52359068
What are you trying to do, exactly? Just look up functions for whatever you want to do in MDN's documentation. You don't need to a "Javascript tutorial."
>>52359015
why are you making something that's already been done, i.e. flappy bird, where is your originality?
>>52359080
ALREADY DONE IT
REROLL
Did you even read the OP? It's 90.
>>52357384
Kuroneko Lounge.
>>52359084
In C, you don't have functions inside of functions, nor dynamic typing, and syntax is different.
I want to learn the significance of those features, also, I'd like to learn what a DOM is.
>>52359095
Meant for >>52359085
>>52359042
thanks family, even though it's spaghetti no comments code. The 2htdp/universe library is really good for banging out 2d games. Have a peak at the docs to see why it's so easy
http://docs.racket-lang.org/teachpack/2htdpuniverse.html?q=big-bang#%28form._world._%28%28lib._2htdp%2Funiverse..rkt%29._big-bang%29%29
>>52359085
I rolled and got it mate, sometimes you draw the flappy straw out of the lot
>>52359097
You can pick up the gist of the syntax just by looking at examples. When there's something specific you don't know, then google it.
>dynamic typing
Open the browser console, assign and concatenate values, see the results. Also look up the typeof operator, read the MDN page about the object prototype chain.
>what a DOM is
Document-Object Model. In other words, the HTML elements of the webpage (and the document itself, and the window, etc.) are mirrored in Javascript objects. Updating one changes the other.
>>52356915
why aren't you making an iOS Asuka app /dpt/?
>>52359091
DONE THAT TOO FINAL ROLL
>>52359125
Also, one more thing.
The idea of dynamic typing grosses me out.
Is there any way to explicitly cast my types instead of using var for everything?
>>52359138
DONE IT THE FINAL FINAL ROLL
>>52359150
FINALLY B^)
>>52359139
>Is there any way to explicitly cast my types instead of using var for everything?
Sure, install (Windows and) Visual Studio and use TypeScript.
>>52359165
wow that's gay
i'm just gonna put down the types as comments then/* char */ var = "poop";
>>52359193
That's clearly a string m8.
>>52359205
Actually it's a syntax error
>>52359212
Oh, yeah.
>>52359212/* char * */ var str = "poop";
NULL-TERMINATED BYTE ARRAYS
SIGNIFICANT WHITESPACE
>>52358301
It is so much nicer, but also dead.
Curly brackets or tabs and spaces?
>>52359239
>C programmer is dragged kicking and screaming into the 21st century
for i in countup(1, 100):
if i mod 3 == 0 and i mod 5 == 0:
echo("FizzBuzz")
elif i mod 3 == 0:
echo("Fizz")
elif i mod 5 == 0:
echo("Buzz")
else:
echo(i)
>python uses whitespace to indicate code blocks
jesus christ why
its so ungodly annoying
it makes using notepad++ to quickly edit scripts a pain in the ass.
>>52359283for i in range(1, 101):
s = ""
if i % 3 == 0:
s += "Fizz"
if i % 5 == 0:
s += "Buzz"
print(i if s == "" else s)
>>52359283
Disgusting.
>>52359317
>using SJW++
Do you program in Rust too?
>>52359326
what's so disgusting about it?
start i <- 1 |
on i -> 101 |
end
on i mod 15 -> 0 |
send "FizzBuzz"
on i mod 5 -> 0 |
send "Buzz"
on i mod 3 -> 0
send "Fizz"
>>52357384
https://www.youtube.com/watch?v=pR7ZI29vH0g
>>52359317
>notepad++
Lol?
>>52359273
>implying dynamic typing is 21st century technology
>>52359393
I didn't imply that, tripfaggot.
>>52359096
Damn, I looked that up, that's great stuff
>>52359097
As a result of this post I messed around with union types in C, you might be interested#include <stdio.h>
enum Type { NUMBER, STRING };
union Vals {
double num;
char* str;
};
#define var struct var_t
struct var_t {
enum Type t;
union Vals val;
};
var makenum(double n) {
var ret;
ret.t = NUMBER;
ret.val.num = n;
return ret;
}
var makestr(char* s) {
var ret;
ret.t = STRING;
ret.val.str = s;
return ret;
}
void consolelog(var v) {
if(v.t == NUMBER) printf("%f\n", v.val.num);
else if(v.t == STRING) printf("%s\n", v.val.str);
}
int main(int argc, char *argv[]) {
var n = makenum(2.0);
var s = makestr("lol holy shit m8");
consolelog(n);
consolelog(s);
return 0;
}
https://youtube.com/watch?v=EF_UCX6BF4w
Go to 4:33
>>52359096
>I understand what kuroneko means
Kill me senpaitachi
>>52356915
What is the best resource for a beginner to learn Java?
>>52359448
>>52359448
http://whyjavasucks.com/
>>52359448
Books generally.
>>52359448
CodeAcademy
>>52359473
There are websites like this for every language.
>>52359337
no
>>52359365
because sometimes i dont like opening up a giant ide just to change a few lines.
>>52356915
roll
>>52359511
The developer of Notepad++ says don't use it if you support the political party France Nationale
>>52359473
Cringed.
>>52356915
I am not programming right now, but also I am not supposed to share my super secret project with you. Sorry, m8s
>>52359317
>my face when plebeians call scope "code blocks"
>>52359326
Alright, so thing is bad, but you can't explain why thing is bad.
Thanks for contributing.
>>52359576
https://docs.python.org/3/reference/executionmodel.html
>A Python program is constructed from code blocks
>>52359632
kek, not him but I've never seen anyone calling "code block" when refering to a block or compound statement.
>>52359632
It's confirmed
People who write Python are coders and not programmers
>>52359505
>>52359543
l o l
>>52359632
>my face when plebeian languages call scope "code blocks"
>>52359438
Fuhrerfox users can use this GreaseMonkey script for now:
https://gist.github.com/anonymous/c6fe640bcee951754c48/raw/4e5c079dd555f371040b0fe33e4f5f1244fc2996/coincidence.user.js
>>52359670
>UR NOT A PROGRAMMER CUZ U USED UNSUITABLE TERMINOLOGY
Fuck off.
>>52359670
>People who write Python are coders and not programmers
You know when you program you write code, right? Are you triggered by the word 'code'?
>/dpt/ STILL can't average 2 ints in C
>>52359783
face it this whole board is based on people getting triggered by some mundane thing
>>52359800
does casting to float count?
>>52359703
Is this actually a real thing? The people who made this are serious? This is an extension that highlights Jewish names?
I mean, I dislike the Israeli government's more questionable actions both on and away from the battlefield just as much as anyone who paid attention in history class, but this is insane to me.
>>52359812
it's made for /pol/
>>52359720
>>52359783
It was a joke because you write CODE blocks, you insecure fucking sneks
>>52359800
How do you average 2 ints in C your special way that's somehow non-obvious?
>>52359827
Well, it figures, but still... really?
>>52359812
Israel is an oasis of civilisation in the middle east
>>>"programming"
Not being the idea guy that makes all the shekels and setting for wagelabour
>>52359720
>>52359783
Go study in college/ Learn some RPG, COBOL, Assembly anything better than that shit.
>>52359852
>RPG, COBOL, Assembly
anon its 2016
>>52359505
not pizza lang :^)
>>52359438
kek
>>52359505
You mean Codecademy?
>>52359672
that's the worst you can come up with? parameterized constructors greatly reduces code duplication. and I/O is just one little thing (not so little if you're a CRUD pleb) that you can easily "hide" inside your own wrapper class or method.
>>52359532
>if you support the political party France Nationale
Well, I don't. I'm not even french.
So I guess it's no problem?
>>52359511
>not having your IDE open 24/7
it's not so bad to open up an IDE or wolfram mathematica even for one little thing, and i don't even have an SSD
>>52359997
i'm not french either but i assume it's france's equivalent of the sweden democrats. you're cancer to your country if you don't support nationalism.
>>52360047
>you are cancer to your country if you use software that doesn't support a political party of another country
Those are some impressive mental gymnastics you're going through.
You're either completely delusional or trolling.
>>52360073
i would tell you to just use an IDE regardless of the views of the creator of notepad++
but for example the main reason for not using rust besides the disgusting syntax would be its SJW userbase. by using rust you're supporting SJW's, so if you aren't a SJW you'll be inclined to not use rust.
>>52359812
We're just trying to save Western Civilization from (((degeneracy))) with a little help from technology.
>>52359905
Glad you liked it. Share it with your friends.
>>52359800
iirc this works correctly:int avg(int a, int b)
{
if((a < 0) == (b < 0)) {
return a / 2 + b / 2 + (a % 2 + b % 2) / 2;
}
return (a + b) / 2;
}
>>52360115
So you're delusional. Okay.
Made a reverse shell in PHP
https://github.com/AlphaDelta/SPUD
Since it's interpreted by the PHP daemon it doesn't show up as a new process.
I'll write some more features into it later.
>>52360165
well use the software if you want but if you fund it you should be aware of those kinds of things
>>52359800
Rate my arbitrary N int averaging function:int average(int n, ...);
static inline int sign(int x)
{
return (x > 0) - (x < 0);
}
int average(int n, ...)
{
va_list args;
int avg = 0;
int odd[2] = {0, 0};
int zeros = 0;
va_start(args, n);
for (int i = 0; i < n; ++i) {
int val = va_arg(args, int);
if (val == 0) {
++zeros;
continue;
}
avg += val / n;
if (val % n != 0)
++odd[val < 0];
}
va_end(args);
avg += odd[0] / 2 - odd[1] / 2;
if (n % 2 != 0)
avg += zeros / 2 * sign(avg);
return avg;
}
>>52360115
In case you haven't noticed, it's not possible to interact with the HR departments of any prestigious tech company/organization anymore without sucking up to SJWs. They basically won that battle.
When I applied to intern at Google they dedicated an entire question to why diversity was important. I put some bs fluff that technically didn't contain any untruths.
>>52360135
I'm honestly really curious, who put that massive list together?
Wrote a function that accepts an array of words and generates a set subordinate tree combinations.
No idea how I'll make use of it yet.
>>52360197
Ignore the prototype. I don't know why that's there.
>>52360201
>I'm honestly really curious, who put that massive list together?
I have no idea. Some anon crawled wikipedia to gather that data, and we used it.
I've noticed he didn't get all of them on wikipedia, though.
>>52356915
give the original op-picture, without deletions
Even more reason to get a maths board, we need to move /dpt/ away from /g/ asap
>>52359439
>Implying it's even hard to figure out.
>>52360365
Fucking weeb I don't want to join your cult
>>52359419
>Damn, I looked that up, that's great stuff
Shibayan is good too.
>>52356915
Medical Practice Management web application. Prototype is being written with PHP/MySQL/jQuery because it's what I'm most comfy with.
For the next revision I'm looking at using ReactJS, react-router and postgres. Anyone have any resources for architecture design with React?
>>52360391
Wow, this is really good music!
I might have to figure out what Touhou is about... It's all kind of confusing to me, even as an anime fan
>>52360337
What reason? Why wouldn't /dpt/ belong in /g/?
#include <stdio.h>
#include <stdarg.h>
/* The PP_NARG macro returns the number of arguments that have been
* passed to it.
*/
#define PP_NARG(...) \
PP_NARG_(__VA_ARGS__,PP_RSEQ_N())
#define PP_NARG_(...) \
PP_ARG_N(__VA_ARGS__)
#define PP_ARG_N( \
_1, _2, _3, _4, _5, _6, _7, _8, _9,_10, \
_11,_12,_13,_14,_15,_16,_17,_18,_19,_20, \
_21,_22,_23,_24,_25,_26,_27,_28,_29,_30, \
_31,_32,_33,_34,_35,_36,_37,_38,_39,_40, \
_41,_42,_43,_44,_45,_46,_47,_48,_49,_50, \
_51,_52,_53,_54,_55,_56,_57,_58,_59,_60, \
_61,_62,_63,N,...) N
#define PP_RSEQ_N() \
63,62,61,60, \
59,58,57,56,55,54,53,52,51,50, \
49,48,47,46,45,44,43,42,41,40, \
39,38,37,36,35,34,33,32,31,30, \
29,28,27,26,25,24,23,22,21,20, \
19,18,17,16,15,14,13,12,11,10, \
9,8,7,6,5,4,3,2,1,0
int _average(size_t n_args, ...)
{
va_list args;
va_start(args, n_args);
int total = 0;
for (size_t i = 0; i < n_args; i++) {
int n = va_arg(args, int);
total += n;
}
return total / n_args;
}
#define average(...) _average(PP_NARG(__VA_ARGS__), __VA_ARGS__)
int main(int argc, char *argv[])
{
int avg = average(1, 2, 3, 4, 5);
printf("Average of [1, 2, 3, 4, 5] is: %d\n", avg);
return 0;
}
>>52360391
Fuck, I've been getting into Shibayan lately.
Good shit.
>>52360337
math goes in /sci/
/sci/ even has/had a computer science general
>>52360459
I'd say just move it to /sci/... They might cry at first, but fuck 'em.
>>52360550
yes you should probably ask in >>>/g/mkg
please correect me if I'm wrong
http://nim-lang.org/docs/httpclient.html
http://nim-lang.org/docs/htmlparser.html
If I'm reading the documentation correctly, this doesn't workimport httpclient
import htmlparser
import xmltree
import strtabs
import os
import strutils
var html = parseHTML(getContent("http://boards.4chan.org/g/thread/52356915"))
because loadHTML/parseHTML don't accept strings, files are required?
>>52360531
I agree that posts on stuff like Haskell, Lisp, and scientific computing in languages such as Python are better suited to /sci/, but the core demographic of /dpt/ is mostly not scientific/academic/theoretical in style - and for the rest that are, they fit in in /g/ just fine.
Besides... how would sci react to the traps?
>>52360527
>>52360531
No you cunts
Maths is not science
>>52360765
>/sci/ - Science & Math
>Science & Math
>Science
>&
>Math
>>52360781
It's not fucking right and it's called /sci/ and mathematicians should not have to put up with those cunts
Do you really want to share a fucking board with /sci/?
/dpt/ and maths deserve their own board
reminder that if you're actually trying to learn a language, never import anything other than I/O
reminder that if your actually trying to learn a language, make a compiler it instead of writing in it.
>>52360505
Fails on INT_MAX, INT_MAX
reminder that if you're actually trying to learn a language, you should go shitpost on /dpt/ instead
>>52360849
reminder to write programs that optimize your shitposting
>>52360849
>i don't agree so they must be shitposting
>>52360867
Who are you quoting?
>>52360799
ask new moot to make a board just for maths
but i suspect it's not a popular enough subject for it to populate an entire board - sci is already slow enough... and math ties in with physics, you cannot deny this. the physical sciences study nature and math is part of nature
WARNING:root:emcc: cannot find library "crypto"
WARNING:root:emcc: cannot find library "GL"
WARNING:root:emcc: cannot find library "SDL2"
ASM.js is a pile of shit, don't fall for the meme.
rollan
>>52356915
i am trying to get better
>>52360881
/sci/ are worse cancer than /mlp/ and /r9k/
>>52360903
this
it's literally a bunch reddit tier cretinous potheads gathered together to talk about how cool science is
>>52361173
and this is why we need to save maths from /sci/
>>52360894
>>52360964
post code
>>52361255
what do you even want to talk about though
i've watched a bunch of mathologer videos and a few of them were pretty cool but there just doesn't seem like there's a whole lot to talk about on a day to day basis
at least with programming you can shitpost about languages and stuff like that
>>52361273
programming can be grouped with maths
sup guys, anyone here have any good tips on a class diagram for keeping chemistry notes? I'm starting a chemistry class tomorrow and I want to have a more concrete working model for covering the material and fixing up notes. Something I could extend and use in a sort of graphics program maybe? I don't want code necessarily but since this is my first chemistry course I thought maybe someone with a little know how could throw some my way.
Also, ask your programming literate anything.
>>52361333
Ask your Chemistry literate anything.
>>52361371
why shouldn't I mix bleach with windex and then heat the mixture to 70 C while stirring?
call me a faggotimport httpclient
import htmlparser
import xmltree
import strtabs
import os
import strutils
import tempfile
var (file, tmp) = mkstemp()
downloadFile("https://boards.4chan.org/g/thread/52356915", tmp)
var html = loadHtml(tmp)
for a in html.findAll("a"):
if a.attrs["href"].startsWith("//i.4cdn.org/"):
let url = "$1$2" % ["https:", a.attrs["href"]]
let filename = url.split("/")[4]
downloadFile(url, filename)
echo "Downloaded $1" % filename
os.removeFile(tmp)
>>52361407
Isn't it easier to use the JSON.
>>52361436
yes, it probably is
I'm not exactly thinking at this time though
>>52361407
hope you get banned faggot
>>>/global/rules/14
>>52361371
Alright, cool, awesome.
So far, I just made a class for Molecule which I guess is going to have a nested atom class. I figure I can hold them in a dictionary or something BUT what I'm wondering is how one might go about holding them in a heirarchy.
I figure I could use a regular array list to hold them and serialize that as I go along yet I can't help but worry about how to go about programming the combination/compounding principles. I understand they are "added" to each other but what exactly is the adding process as a mechanism? Do they go through some sort of transitional phase? Are there many transitional phases? Are some considered mutations, if there is an ion involved? Things like that. I figure the more of it I can get written in as code, the better my understanding will be come time for homework and tests. Especially since my book is still in the shipping process.
>>52361374
/sci/ wouldn't take kindly to someone as babby new as me. Last time I asked about Memechizuki the whole board went crazy and people started fighting about idk what. Besides I just want some tips so I can make my mutator functions.
>>52361448
name one example where that's ever been enforced
>>52361460
Why would anyone know about that?
>>52361460
Whenever a jan wants an excuse to ban someone
What's a good IDE for C++ that isn't bloated
>>52361371
Another thing I'm trying not to let go over my head are factoids like "Electrons cannot exist without the complementary Proton". That blew my mind when I first heard it. It was amazing.
SELECT e FROM [Employee] as e, [Company] as c WHERE c.GID = '9140DEA4-247B-4334-8AAD-FAC8D8093E2F' AND e.ID = c.ID
sql scrub here
how do i do something like this the correct way?
>>52361493
C F #
>>52361502
go fuck yourself
>>52360201
I remember that question. Something like "Do you have any particular interest in promoting diversity?", right? I answered "No", and I got the job. Looks like you're just a natural suck-up.
why does making a GUI have to be such a pain in the ass
>>52361493SELECT e.*
FROM Employee e JOIN Company c ON c.ID = e.CID
WHERE c.GID = '9140DEA4-247B-4334-8AAD-FAC8D8093E2F'
I'm assuming the Employee table has a CID column that corresponds to Company.ID
>>52361516
Please tell me this actually happened
>>52361519
what language? I'll help you out or tell you your language is shit
>>52361519
It's not, you're just doing it wrong.
>functions and variables have different namespaces in Common Lisp
Defend this in 5 words or less
>>52361534
you don't need to tell me java a shit, I know that already
>/mu/ kills lemmy with memes
>/g/ kills ian murdoch
>not to be outdone, /mu/ kills david bowie
guys it hurts to live
>>52361546
oh. well yeah obviously. using a drag and drop builder in an IDE makes it a little less painful
>>52361525
it works, but for some reason only selects the first employee from the table
>>52361564
>implying /g/ didn't kill steve jobs
>implying bill gates will live forever
>>52361448
>The use of scrapers, bots, or other automated posting or downloading scripts is prohibited.
the (systematic) use of it is what's prohibited, not just programming babby's first scraper