What are you working on?
Previous:
/dpt/- Daily Programming Semaphore
First for fuck anime.
Second for fuck niggers.
Oi ojisan, you said you would help me with JavaScript
Second for praise anime.
Haskell and Lisp are the most powerful languages in the world followed closely by C and erlang
>haskell, lisp, erlang
Beautiful
>C
ewwww,
-imperative
-stateful
-has undefined behaviour
-impossible to guarantee correctness of code
C is the niggest of code
>impossible to guarantee correctness of code
seL4
chad:
funcType myFunction(){
// whatever
}
vs
virgin:
funcType myFunction()
{
//whatever
}
>not using indirect forth on the metal
>not using an sexpr assembler with unsanitized macros
>not taking the security by extreme obfuscation pill
head []
why don't you just format your code according to the language grammar like somebody with a brain.
Stroustroup style braces best braces, Allman niggers can SUCK MY BIG FAT COCK
I'm forced to develop a small android app and it's an absolute must to do it with ionic. I hate those fucking retards with every fiber of my body, holy fucking shit. How the fuck is it possible that this fucked up mess is as widely used and revered as it is? Nothing fucking works, yet people suck its dick at every fucking turn.
Is native development any better? Because if so, holy shit, I'm never touching app development again.
Can someone recommend a good self-study computer graphics text, thanks
Il just double post this an fuck up the formating for you faggots, maybe someone will catch the bait.
Im studying EE and semester is coming to a close. For the last one and a half years the curriculum has been calculus, circuits, DSP and a little bit of machine learning. Basically no programming besides little matlab and python. I have all the time of the world to study so are there any recommendations for resources? Im looking into python given it would pop up at later date anyways and Id like to look into control systems/DSP in later courses.
Ie I can do math, create nti-aliasing filters, basic circuitry etc filters but I cant program anything more complex than basic pokemon battlesimulator with python
What kind of computer graphics?
Great question. I'm definitely thinking more along the lines of interactive graphics, like vidya. Ultimately, id like to develop VR stuff.
I'm finishing a BS in math with a focus on numerical linear algebra and machine learning, but its all very theoretical. I dont know the first thing about graphics unfortunately, so something relatively beginner friendly
Maybe start with some OpenGL tutorials? Always good to know.
Not the easiest graphics thing, but very handy.
download an open source engine and play around with it
learn OpenGL
y
x
based and λpilled
fuck languages
why are you limiting yourself like that, they will never be able to describe computations as expressively as your mind.
Language is the most expressive medium.
i agree, also enlightenment thought has poisoned our minds
it's not backwards, just upside down. greek/latin glyphs don't rotate, they flip.
being able to communicate with pure thought is the most expressive medium
It's also impossible so fuck off.
>It's also impossible
wrong
thought isn't expressive, which is why the concept of expression exists in the first place.
>communicating with "other" """""people'''''''' who don't live in your head with you
pastebin.com
mandelbrot in C and X-windows. Those colours sucks, do you guy know some fancy XWindow colour strings?
tronche.com
spotted the NPC
>thought isn't expressive
thought is the genesis of expression, of course it is, humans on the material plane are just feebleminded and have to transfer it through the physical, being able to express ideas with pure thought is much faster than using words
Just use OpenGL.
Based.
But you think in languages too.
What are the most important architectures to learn as a CS student? I already know an okay amount of MIPS and how the data path works from a course.
MIPS, x86, ARM, but what else? SPARC?
how can I print the division of these large numbers?
this doesnt work
int v = 200000000;
int c = 299792458;
printf("%lf", (v*v)/(c*c));
RISC-V
doesn't really matter as long as you know one
will int not overflow here? Is it 64-bit?
Should probably convert them to 64-bit floats first.
>70680605
oh wow I feel so retarded now. thanks that worked
x86 and any RISC
>any RISC
He already knows MIPS.
>oh wow I feel so retarded now.
This will happen every day until you stop programming. Such is the life of a programmer.
I know, I'm saying he doesn't really need to learn another one except if he specifically needs to know it
none, assembly is irrelevant to both cs and software development, now.
Thanks Jow Forumsuys
why haven't you installed Haiku OS yet?
Have you ever used a pirate copy of a proprietary IDE/build tool, etc? If so, what was it.
I want to use a commercial debugger but I don't want to pay for it because it's closed source.
Busy.
>what are you working on
LinkedIn, glassdoor, job application hell
how the fuck do I get a job
you don't
nice one, user
How did those tricksters implement Python in Python?
imagine being this wrong
functype
myfunction()
{
doStuff();
}
Same way C is implemented in C, or C++ is implemented in C++.
- write a functioning python interpreter in C
- use that interpreter to create a new python interpreter written in python
>return type on its own line
disgusting
>trying to emulate FP
cniles are hilarious.
muh gaymes
did that dude do FRP in C?
>functional programming
>curly brace language
what lead you to think this was even remotely similar
Lads, I've never done a project with webdev trash in my life, and now I'm making something with PHP and SQL. How the fuck do I structure my git repository and makefile? Do I just throw the whole public_html folder in there?
I meant with putting the return type on it's own line . Like how most ML-based langs do it with type signatures and then definitions.
>curly braces aren't functional
/ OP is a fag , x > 0
f(x) { OP is a fag , x = 0
\ OP is a fag , x < 0
...
I want to embrace this girl.
>he doesn't use an editor capable of regex search
sepples does it quite often
imagine if you had to do everything on one line when your type was
std::map
Auto return types are better for that.
a simple virus to fuck with someone i know irl
just forkbombs the computer until a certain amount of time has passed
pretty simple but effective troll, might put in a backdoor and a trojan
shit i missed a >
that's what typedefs are for
that's also what trailing return types are for
auto myfun()
-> use:::a::fucking::typedef::nigger
{
}
>shit i missed a
at that point just use aliases.
I thank our lord everyday I escaped the sepples menace.
I figure if I posted there I'd just get some
>2013+6
>using makefiles and LAMP instead of the hottest new bloated web dev shit
tier response.
Besides being smart you get good by practice, study, review, experience and so forth. We could do worse than /dpt/ but there were no other offers...
>my last commit last night was "something isn't right"
I have completely forgotten what I was doing
What's the best compile-to-JS language?
using JS at the moment.
I might try F# at some point.
Install Elm.
guide.elm-lang.org
I'm trying to git gud at c++ by doing the advent of code challenge from 2015. I have to use regex to get the numbers from a string and I can't get it to work properly.
std::string numbers = "220x34x4";
std::regex const reg ("[0-9]+");
std::smatch matches;
if(std::regex_search(numbers, matches, reg)){
for(size_t i = 0; i < matches.size(); i++){
std::cout
>transpilers
yuck. ever heard of wasm? even F# can compile to it and have access to blazor
Yeah, because wasm support is so good atm.
sepples is so disgusting.
auto m = matchAll("220x34x4", regex(`[0-9]+`)); m.writeln;
>no mutability
>having to recreate whole world to change one value
>no side effects
>having to write shitty boilerplate just for the sake of doing it
pure fp is useless
false
false
false
false
Linear types don't have this problem
all major browsers support it.
prove it
prove it
prove it
prove it
I got a feature request, so I'm adding support for right-aligned text in my operating system's GUI library. This type of programming is always a bit of a struggle due to sluggish spatial thinking, but I'll make it work in the end.
Today I also got my first patreon supporter for this project, which I have to admit is pretty exciting :)
>idris
>not using the literal best FPL which is soon going to have proper linear types
I can hear Linuks seething
You mean a using
ah yes
haskell
>soon™
Haskell has experimental weighted linear types.
But haskell is unbearably slow and even gets BTFO by Lisp on performance according to Edwin (creator of idris in his Idris2 talk).