/dpt/ - Daily Programming Thread

Old thread: What are you working on, Sup Forums?

Other urls found in this thread:

lisp-lang.org/success/
twitter.com/AnonBabble

Thank you.
Frog posting should be banned.

Why do people hate Lisp again?
>inb4 (())

Lisp is fine, it's just that there are no good implementations.

Scheme sucks. Common Lisp sucks. Racket and Guile sucks. Clojure sucks.

Please point out what you don't like about each.
Also, I heard that Clojure wasn't even a real Lisp.

>I heard that Clojure wasn't even a real Lisp
What determines if a language is a "real Lisp"?

What determines that it isn't a real Lisp? It's basically just Common Lisp on the JVM.

I use LaTeX when programming.

Because the canonical editor for lisp is emacs.
I used to program lot in Common Lisp but you can't really (at least easily) program GUI applications for mobile. Also generally deploying applications is painful because you pretty much have to pack the runtime and compile into your executable making the exe sizes huge. There are compilers that compile to C but by experience they are buggy and currently not really maintained.

REEEEEE JAVA POO SHILLS REEEEEE

Only academics use laytechs.

Mostly because of lispers being smug obnoxious losers who spend all their time bragging about the supposed superiority of lisp while being unable to produce anything of value in the last 30 years or so.

I'm not an "academic" so I'm guessing this post is a lie.

reposting brand new C++17 features you couldn't live without

Would you want an editor that made 3D text a feature?
So you could neatly use n-ary without all the issues that ternary operators have with implicit ordering in 2D text?

For example the C++s ternary operator has you specify the conditional variable first and then markup which option is the false case and which is the true case with the colon.
In a 3D text environment you can be entirely free to choose how this is displayed. You could have the two values appear inline and have the condition float above or below the text.
You could have an if statement actually branch itself in two different directions and have subsequent code duplicated along both paths, annotating/replacing the static results derived from the if statement when you follow that path.
Or whatever is applicable to you.

Also how would you feel about 4D-> 3D projected code?

real thread

maxima, allegrograph database, ...

What sort of retarded response is that? Can you answer my question?

Not going to lie, it is painful.
My vim is fucked up and only works with lisp.
Had to get nvim for other stuff.

This is a website oriented towards japanese culture, and is modeled after a popular website in japan. As such, the inclusion of anime-related material is acceptable. The use of frogs, however, is not.

I'm not that faggot.
I'd say the macro abilities.
I heard Clojure's macros were crippled.

These features are so weak sauce.
And I've lived without them for many years now. I clearly can live without them.
>auto [a, b,...
I recall there being some conflicts with this. They made it impossible to return the values to existing symbols IIRC.
what a shitty limpwristed feature.

Whoever gets linked first is the official thread
thus frogs >>> 2butts

Are you so insecure that the mere sight of an anime girl sends convulsions throughout your body and you are unable to control your desire to spam?

Shutup, cancer, go posts frogs in r9k and tv.
Stop derailing.

D, ocaml or ATS?

>ternary operators have with implicit ordering
Sorry. I mean n-ary there.

Ocaml.

>D, ocaml
They can be shown to be the same language.
>ATS
Slightly better, but still pretty bad.

But the syntax is so ugly and it doesn't even support native threads

Haskell

>last 30 years or so
These things are in the maintenance mode for decades now.

Someone showcase Clojure.

Either Rust or Idris, depending on how important the performance is.

Who here /cqrs/

Carmack is pushing racket as scripting language for vr.
lisp-lang.org/success/

go shitpost elsewhere.

I'm pretty impressed by constexpr lambdas and fold expressions.

template
constexpr auto folder(Args&&... args) {
return [=](){ return (args && ... && true); };
}

int main()
{
auto f = folder(true, 1 == true, 0 == false);
return f();
}

main:
mov eax, 1
ret

Why is it bad to post frogs though?

>&& true
Probably didn't need constexpr for this.
Id consider it a compiler bug if you do.

-> 61028831
Frogs are cancer, kill yourself moran.

@61028831
**** are epitome of reddit and cancer.

>Frogs are cancer
Why though?

>this new
Leave

Not until someone explains to me why frogs are bad without using the premise that frogs are bad or anything equivalent to it.

61028867
61028882
Only an obvious redditor would not know it. Back to your subreddit.

I don't use it and I've only seen people in math classes use it

Nothing. The first person who makes the thread after the old one hits a limit gets to choose the pic. I couldn't care less about the image used. The anime people are clearly intolerant of any other image being used.

In all honesty, the only true pic of /dpt/ is the Yuki Nagato pic, so I'd better be posting that picture but not others.

Finally finished the word-wrap challenge from a few days ago.

No. Tell me why frogs are bad and then I'll stop talking about them.
I'm not even saying frogs aren't bad. I'm just asking why they are.
Shush. If you don't agree that frogs are bad then you obviously can't explain why they are, so I'm not interested.

Not to be little your efforts but surely that didn't take that much time?

%61028927
Stop derailing pls.

this is now a frogposting thread

kill yourselves shitposting weebs, you're the ones who are stirring up the thread wars

>I couldn't care less about the image used
I couldn't care less about what a redditor thinks.
@61028927
Your kind is not welcome here. Leave. Just fucking leave and spare yourself from further embarrassment.

=> 61028946
>posting leftist garbage
The redditors seem to be out in force at the moment. You need to go back.

Not until I get an explanation.
Stop derailing pls.
>Your kind is not welcome here. Leave. Just fucking leave and spare yourself from further embarrassment.
No. Explain to me why frogs are bad.
WHY ARE FROGS BAD.
WHY CAN NO ONE EXPLAIN THIS.
IT'S JUST A SIMPLE QUESTION.
JESUS CHRIST.

this guy is fucking retarded isn't he? how often do you fuckers use alt codes?

I made a typo and was going insane.
I redid it three times.

Rule 3

"C influenced languages get an automatic F in my book." gets an automatic F in my book.

Yeah it happens. Statically checked languages are good to catch these.

It's a fucking reddit frog you dumbass.
Go back to r9k

What's the best Common Lisp implementation? CLISP boot is a jew-candelerier, yalmuk or whatever the fuck it's called! No fucking wat.

we're reaching levels of butthurt that shouldn't even be possible

>It's a fucking reddit frog you dumbass.
Why is reddit bad though?
>Go back to r9k
What the fuck is r9k?
Holy shit are there no straight answers left in the world?! Fucking curveball-ass Reddit-ass r9k-ass god damn answers out here like I just stumbled into a motherfucking big ol can of worms no one else can fucking open.
WHY ARE FROGS BAD
AAAAAAAAAAAAAA

SBCL is goat, but use ECL for small binaries.

You shouldn't post that, frogs are apparently bad.
Now if only anyone would actually tell me why.
I'm literally fucking losing it.

Is there a typed Lisp somewhere.
Like Haskell

&61029068
Please stop spamming, spam is not welcome here.

>nobody bothers replying to my idea because everyone is discussing the bully frog infestation

Why are you replying to it?

don't take Sup Forums so seriously

in fact you'd be better off leaving Sup Forums altogether. being on Sup Forums is a very bad habit

Sometimes I've got a question, but then I don't ask it because there's some shitstorm happening. Again.

>Would you want an editor that made 3D text a feature?
Fine by me as long as it supports LaTeX.

>Why is reddit bad though?
we're done here

Just ask the question on the off-chance you put the thread back on track.

...

That'd seem cool, but very expensive.

Please help me.
I just want to know one little thing. And yes it's off topic, I grant you that, but it's just a single, simple, four word question, and NOBODY CAN FUCKING ANSWER IT.
I'm gonna cry.

I bet your languages don't even have
>user
>defined
>template
>deduction
>guides
, losers.

Thanks.
I don't think it would be all that expensive. Rendering text isn't exactly a demanding task. Even projected text.
What could get expensive is the branching in some extreme cases. But I'm not too sure about that either.

Reposting.

I've literally never used 3D text in my life. What does it actually bring to the table except from looking neatish?

Seems like buzzwords to me.

it's a meme you dip

what´s that desu?

Oops, accidentally posted this in the wrong thread.

It's patrician hobby, but I can't keep dissapointing mum.
Don't reply to it.

>Carmack is pushing racket as scripting language for vr.
He was playing with it a couple of years ago, that's all, Racket is nowhere near being the scripting language for vr.
>posting opinions I don't like is shitposting
You can't be more lisper than this.

Japanese.

Thank you.
That explains everything.
You're a godsend.

no that sounds dumb and IDEs are already pretty 'bloated'

you need proper font subpixel rendering which is tough to do in 3d with high performance and it's easier to see colors than depth

As much as I hate go-back-to-reddit-posters I think you should actually go back there,

also, ternary statements are uncommon, a lot of programmers even refuse to use them at all

why is C so perfect?

>inb4 dumb frogposter
they're toads. eat shit

Umm.. could you provide an illustrated example?
It sounds like a cool idea but I don't see how this would be useful.

It's been courteously explained to me that hating frogs is a meme here. This explains everything.
Please stop memeing at me. This is /dpt/.

How do I declare an array of 5 arrays of 3 ints in D?

are the numbers japanese numbers

I'm not explaining well perhaps. It's not so much about having the text be 3D as it is rendering a source code file using 3D to enhance the possibilities for displaying the programming context more effectively.
>subpixel rendering
Trivial. I'd certainly use signed distance field rendering and even without its not a problem since the sub pixel rendering would only be a problem at small scales.
>IDEs are bloated
Yes. But much of that bloat comes from a lack of display options and ideas that are completely orthogonal to this. If you've used pycharm (or whatever it's derived from) it has very good value inspection with labeling what values are at the end of the line. But it has its limits due to the environment. A 3D environment may solve some of that.
N-ary operations are common though. Function calls are essentially that. Object.method calls are a form that could easily be displayed in a more convenient way too.

But I appreciate the criticism.
I could when I get home but I'm not an artist. It'd make more sense to make a small visual prototype.