Anime edition.
Previous thread: What are you working on senpai?
Anime edition.
Previous thread: What are you working on senpai?
is Clojure a good Lisp to learn for a beginner programmer? I only know a little of Javascript and Python.
Troubleshooting my stock simulator with graphs of the output
Clojure had horrible debugger and begin more strict to immutable data but had access to massive java libs.
gigamonkeys.com
This begin more practical approach to lisp.
Help me I'm going insane
My compiler keeps telling me that error: expected ‘;’ before ‘{’ token on this loop:
if (isodd(String[Index]))
{
OddsTotal += String[Index];
OddsCount += 1;
}
I try adding or taking parenthesis and smicolons out of the if line but my compiler keeps nagging me about it.
what language is this?
Not him, but I think it's C#.
Post more, faggit.
you probably forgot to close a bracket before that.
lol you think that's bad
try getting core dumped every fifth time you test doing the same thing
Why do people code like this?
if ( )
{
...
}
As opposed to this, which looks more aesthetically pleasing:
if ( ) {
...
}
also hate the former
more readable (makes it easier to see what code is in which block)
better for diffs (makes patching easier and more legible, makes history more legible)
I like the former. It's more readable, and is more aesthetically pleasing. Looks cleaner overall.
Also, that's C#. You'd be going against the standard.
plain old C
>C
Why the fuck are you capitalizing your variables and using camel case? It's god awful.
probably a C# pajeet
Anal idol edition
Actually, that's called PascalCase. camelCase does not begin with a capital letter.
I don't understand one thing about fork().
If I make an array of pids and loop fork() lets say 5 times do I create 5 children and 5 parents or there is always only one parent and is the main program?
>he needs a fucking book to use his basic tools
freedomlets, when will they learn
You're not tied to 1 compiler.
bellard.org
man fork
also i think you need to watch those file descriptors. been a while since i fucked with that.
>create project
>write shit
>click green button
>everything just werks (tm)
>if I want to change options, I have a nice gui for it
fucking magic, I'm telling you
BASED GCC
>codemonkeys
I
FUCKING
LOVE
BOILERPLATE
HGNGNGNNGGGG
My gf!
because they're retarded
there's literally no other answer, the first option is objectively worse in every way
>he fell for the test driven development meme
The fork() function creates a process that is a copy of the process calling it. It returns a value of 0 in the child process, or the pid of the child in the parent process. In either case, since both processes are copies of one another, they will both continue on from executing the same code, with the only difference being what was returned from the function call. It is typically expected that immediately after fork() is called, the return value is checked so that the parent and child can execute along different paths.
If you are calling fork() in a loop and storing the child pids in an array, so long as the child does not create processes of its own, you should have one parent with 5 children.
Please read some more documentation about fork() before doing any serious fucking around with it. There's some gotchas about how it works.
Really, you should be fine with just
gcc --help
for most use cases.
S-SEMPAAAI
Drop some knowledge on me please.
How do I into graphics programming?
No, I don't mean gaming, I mean serious stuff like DRI, libdrm, vulkan, wayland compositing, XCB etc
>another loonix tard
not gonna make it
Fuck off, micronigger.
See you in 5 years when you'll get that pretty triangle up on the screen.
>DRI, libdrm, vulkan, wayland compositing, XCB etc
>"serious"
L
M
A
O
Write a graphics driver instead.
>anime op
excellent
>franxx
not excellent
In 1979, when I was working at IBM, I wrote an internal memo lambasting the Apple Lisa, which was Apple`s first attempt to adapt Xerox PARC technology, the graphical user interface, into a desktop PC. I was then working on the development of APL2, a nested array, algorithmic, symbolic language, and I was committed to the idea that what we were doing with computers was making languages that were better than natural languages for procedural thought. The idea was to do for whole ranges of human thinking what mathematics has been doing for thousands of years in the quantitative arrangement of knowledge, and to help people think in more precise and clear ways. What I saw in the Xerox PARC technology was the caveman interface, you point and you grunt. A massive winding down, regressing away from language, in order to address the technological nervousness of the user. Users wanted to be infantilized, to return to a pre-linguistic condition in the using of computers, and the Xerox PARC technology`s primary advantage was that it allowed users to address computers in a pre-linguistic way. This was to my mind a terribly socially retrograde thing to do, and I have not changed my mind about that. I lost that war in the early 1980s, went to law school, got a history PHD, did other things, because the fundamental turn in the technology - which we see represented in its most technologically degenerate form, which is Windows, the really crippled version. I mean, I use Xwindows every day on my free-software PCs; I have nothing against a windowing environment, but it`s a windowing environment which is network transparent and which is based around the fact that inside every window there`s some dialogue to have with some linguistic entity.
cabinetmagazine.org
you again, how goes it?
COPE.
>In 1979, when I was working at IBM,
Boomer, I...
wtf are you doing in Jow Forums?
What are some interesting AI research papers?
I'm working on creating an agent that imagines possibilities for features and remembers those possibilities for doing problem solving and planning. Eventually I want to create a metaphorical memory that uses remembered features in terms of what it already knows by using the related memories that describe it to predict new results rather than blindly training to find weights that do not generalize to new problems.
Some of the better papers I've read so far:
Unsupervised Predictive Memory in a Goal-Directed Agent
arxiv.org
The Kanerva Machine: A Generative Distributed Memory
arxiv.org
World Models
arxiv.org
that's the spergiest thing I've read in quite a while
>writing graphics drivers when vulkan exists
>reinventing wheels
Not a paper, but,
I thought you said you wanted something serious, not baby tier.
If I was Moglen, I imagine I'd be trying to save the world from it's own stupidity. Develop some taste, most of the good stuff in computing is pre 1990.
The guy is pretty weird. I like some of his ideas though, especially as it pertains to language and user interfaces.
Mean to reply to
thanks
n-nani
Will AI unleash the era of unlimited pornography?
What areas of programming are on the rise? What will the market need specialists in in the next 5 to 10 year?
>What areas of programming are on the rise?
Social justice
>What will the market need specialists in in the next 5 to 10 year?
Masters in gender studies
Also forgot: MUCH larger CPU bit widths to efficiently handle genders.
had me until that last bit
the only reason I got into CS was so I'd eventually get into this AI shit and churn out fakes of every girl on facebook I've met from middle school to grad school
haha xd
You laugh now but you won't be laughing later.
Yeah X is FUBAR.
Trying to make a new linux syscall
It's a bit hard when you don't know the ins and outs of the kernel yet
Is machine learning fun? I've got a chance to do some work automating the interpretation of scientific data using neural networks in TensorFlow. I haven't done any ML stuff before. My worry is that it will just be feeding data and tuning parameters and it would take me away from my usual development work, which is standard stuff but I enjoy it.
That's a tiny-ass edition
Skinny butts are cute butts
Rewriting my game engine because I thought a single module would be a good idea.
from my limited experience you end up spending a lot of time tuning and tweaking and less time developing.
Its still kinda fun tho, something I'd like to do more of myself
Implying the workflow doesn't consist mostly of procrastination and planning.
i want to nakadashi iori
It's the year of the asslets, bucko
Thanks for the input. I think I'll go ahead and do it because I can go always go back to developing when it's done.
it looks better when the braces are aligned with each other t b h
I'm the wrong person to ask for that, seeing as I haven't messed around there much.
Sleepy. Research is slow and changes direction every few weeks. But I've managed one year of my PhD without dropping out from the stress or getting any grades less than an A-, so that's nice.
Google "FakeApp"
>first link
>"how to install fakeapp" is preceded by "the ethics of fakeapp"
fucking normans I swear
Latter should look like this:
if ( ) {
...
}
Not like this:
if ( ) {
...
}
Don't add an extra space in front of the if statement. That's retarded.
Google search results are curated with a bias. Nonetheless, the point to be made was that the thing user went into CS for already exists. Although one should be careful of which version one uses, as apparently a later version contains a crypto miner.
girls can't program
keep at it, I find cal newport's strategies to be useful for school-type workload
>as apparently a later version contains a crypto miner
I'm starting to enjoy this proprietary dystopia.
Because
if ()
{
if()
{
if()
{
}
}
}
is better than
if(){
if(){
if(){
}
}
}
if (a && b && c) {
...
}
Retard
what in the utter fuck?
Fuzzy logic
IDEs are shit
if (...) {
if (...) {
if (...) {
...
}
...
}
...
}
wouldn't be equivalent, was probably an oversimplified example.
probably a typo
You are shit
IT'S GOTTA BE
MOTHER
FUCKING
HORSTMANN!!!!!
if (...)
{ ...
...
if (...)
{ ...
...
}
}
YEAH BABY
if a && b && c {
// every thing else is plain retarded
}
Shuddup gopher
It's not Go only.
Pattern matching
Shuddup SJW
if the braces are mandatory it's more retarded
desu you don't need any special syntax all you really need is a function if : forall a. bool -> a -> a -> a
COPE
explen
what lang
>not bool = forall a. a -> a -> a
that's also a good choice
a if(bool condition, a ifTrue, a ifFalse);
if : (bool, a, a) -> a
if : forall a. (bool, a, a) -> a
if : bool -> a -> a -> a
Seems like you haven't done anything difficult in VS, don't you. You need all the same compiler and linker switches. Even more so if you have some sort of custom build or CI.
>if I want to change options, I have a nice gui for it
Learn to read, you imbecile
There could be code in betwee my man