What are you working on, Jow Forums?
Previous thread:
What are you working on, Jow Forums?
Previous thread:
Other urls found in this thread:
academia.stackexchange.com
github.com
stackoverflow.com
stackoverflow.com
cvedetails.com
stackoverflow.com
docs.oracle.com
benchmarksgame-team.pages.debian.net
benchmarksgame-team.pages.debian.net
twitter.com
JAVA IS THE STRONGEST LANGUAGE EVER CREATED AND OTHERS SIMPLY CANNOT COMPETE. YOU CANNOT DISPROVE THIS.
What kind of programming tasks do they do?
what are we gonna discuss in this edition of dpt? oh...
>slow
>easily hacked
>doesn't run without the runtime environment
it's good if you make android apps at least
What do you view as the most hardcore programming?
How does "machine learning" code actually work and how many lines of code are we talking?
Treadly reminder to ignore Jow Forums baits and keep the discussion on topic, which is C++17 and why it's the best language out there.
physically hacking into your hard drive and switching the microscopic transistors manually
Anything related to the space or military applications. I have no idea how people stay sane there, the cost of a potential mistake is so high.
>be 25 humanities boomer. 5+ (the top grade) on ma/gradute diploma, live in eastern europe
>love computers, good at graphics and design stuff, know basic programming to make my designs work
>won't get a job because in junior high school I did basic calculations in memory, got accussed of cheating (teacher didn't understand how I got the right answers while calculations were mess), since then I did fall behind in mathematics and physics
>didn't get into a technology oriented university
>meanwhile, these "folks" do what they hate but are hired only to fill diversity quotas for left-wing workers.
There's not even a chance to go into a technical oriented faculty anymore, because of my age. Undergraduate programms are for 19-23 years old.
How much does the cybersecurity and machine learning worlds overlap?
Also anyone taken Andrew Ng's ML course and got an opinion?
how do i choose a format for save data?
>easily hacked
Care to back up this statement? The JVM is a solid piece of work, and java does not have manual memory management.
>proudly bipolar
the only part of this image that actually annoys me. I wish people on twitter wouldn't trivialise mental illness so much that it just becomes another accessory
material computing. Your pleb notion of computing is smalltime, prepare to enter the complex, nigga
Just use JSON.
What libraries/frameworks/books does Jow Forums recommend for networking with C++?
I want too play around with networking in C++ but my network knowledge is shit any recommendations Jow Forums?
I have found this online but I dont know waht to pick up:
github.com
>commie shit
Save data in a videogame? JSON, and possibly binary blob.
I'm working on recreating this gif in Javafx. I can set the box heights in an animation timer, but it's very laggy. I can instead scale the boxes instead of changing the height, which allows me to cache the scaling and make it run smooth. The issue is that whenever I change the scaling, the lighting on the boxes gets fucked up, and I'm not sure why. Anyone here have any tips?
daily ignore each other's questions thread
not quite, just a list of lists of lists of objects and their properties.
>Hurr they different so they program bad
Jow Forums bigots at their finest
Forgot to attach gif
>all differences are meaningless
>freedom of association is great
>except when I don't like the way you voluntarily associate
Libertarian hypocrisy exposed once again...
What language? In scala I'd just make it all serializable and write it to a file, I wouldn't care much for the underlying format. If I did care for the underlying format I could then rewrite the serializer without changing any of the surrounding logic using something like scodec.
hurr
By all means promote their degenerate lifestyle and campaign against evil white men. You'll end up on the rope soon enough...
you dont grasp the principle reason for the distaste libertarians have for unions. there are good and bad ways of associating.
What do you do when your program accomplishes what you needed but the program it self is a hot pile of shit?
python
>pls ignore facts
Ok
deploy it
apply to be an apple genius
Job well done!
Employ people to maintain your horrible pile of poo!
Look up binary save file
I'm not exactly fond of python, so I don't know what the pythonian way is. My advice however is to follow the same method as in scala, make it serializable (JSON is a good choice) and then worry about how the serializer is implemented should you need it.
Of course I do. You hate unions because thanks to them you can't abuse people like this anymore:
>Ellen was the only child of Mary Hootton. When she turned seven, her mother brought her down to a nearby factory to add to the family’s meager income. After as many as five months of unpaid labor, she became one of the many children working at Eccles’ Spinning Mill. When asked about her workday, Ellen said it began at five-thirty in the morning and ended at eight in the evening, with two breaks, one for breakfast and one for lunch. The overseer, Mr. Swanton, explained that Ellen worked in a room with twenty-five others, three adults, the rest children. She was, in her own words, a “piecer at throstles”—a tedious job that entailed repairing and reknotting broken threads as they were pulled onto the bobbin of the mule. With constant breakage, often several times a minute, she only had a few seconds to finish her task.
>It was all but impossible to keep up with the speed of the machine as it moved back and forth, so she sometimes had “her ends down”—that is, she had not attached the loose and broken ends of the thread fast enough. Such errors were costly. Ellen reported being beaten by Swanton “twice a week” until her “head was sore with his hands.” Swanton denied the frequency of the beatings, but admitted using “a strap” to discipline the girl.
>The beatings, however, were not the worst treatment Ellen experienced at Swanton’s hands. One day, when she arrived late to work, Swanton penalized her even more severely: He hung an iron weight around her neck (there was no agreement about whether it weighed sixteen or twenty pounds) and made her walk up and down the factory floor. The other children heckled her, and as a result, “she fell down several times while fighting with the other hands. She fought them with the stick.”
Here one of my many attempts, the boxes seem to get darker as they get longer. Again, this only happens when I scale the node, not set the height.
please use a programming related (capitalism) OP next time user
Thanks for laugh! Have a (you)
Boy sounds like the world had its way with you, sorry user. Become hacker and get bitcoins.
call it "LEGACY" and never look at it again.
How can FP be the best if it has to use GC?
Rust supports FP and it doesn't use GC.
redpill me on scala
Rust doesn't even have real closures.
You are young, smart man, find a way. AFAIK Germany has free master degree courses, or some such. Or prove you know your shit other way than diploma.
Prepare your anus
It does..? You can even `move` vars into them.
linear types.
>child labour
>assault
>unpaid labour
these arent problems that unions solve, theyre solved by rule of law and notions of individual rights, given to you by the liberal movement.
also, what is your source for this? it sounds like socialist masturbation material to me.
>Of course I do. You hate unions because thanks to them you can't abuse people
retard detected
Rust exists.
Is it just me or are there more rust shills than usual?
>rule of law
The law is enforced by man and man is not altruistic. Thus the most vulnerable need additional protection from the owners of industry.
nobody wants to hire dweeby code optimizers who are allergic to solving real world business problems. Instead they want pajeet shit rushed out fast.
If they don't have unlimited extent, they're not real closures.
If the variable bindings aren't identical between the closure and its environment, they're not real closures.
no.
There has always been a decent amount of rust (((shills))) in /dpt/. Long before 1.0
m8 i asked what the proper solution to it would be, not how to open a file for reading or writing.
ill look into it.
replace rust with any language
Id bet any amount of money youre not white probably Italian or Jewish or Slav
>The law is enforced by man
and man requires justice. basic bitch aristotlian politics has your objections solved there.
>altruistic
spare me your shitty value judgement on human nature, if human nature was not virtuous we wouldnt exist.
rust posting comes in waves
>/dpt/ are just joking rust is gonna be good
>*helllo world"
>*fizzbuzz with pattern matching*
>fuck you /dpt/ rust is great
>months with rust and all the shit starts coming up
>disenchantment
>rust posting silently fades
>repeat forever
It's a fantastic book, but it is a difficult read. I advice you to visit the scala gitter if you need help, they helped me out a ton when I was learning. Also scala definitely has warts, but I think the language itself is fundamentally good and that odd behavior comes with the territory when you're actually trying to push boundaries
>if human nature was not virtuous we wouldnt exist.
Fuck off Rousseau.
Yes, I'm very proud of my viking heritage! I'm indeed 1/64th norwegian, I eat lootefeesk every yuleaften and I go in 17mai-tog!
>Rousseau
>implying you need to be a dirty fucking french socialist to understand that nature is the the ultimate arbiter of virtue
I'm gonna port this onto Windows, and add ability to generate PNGs.
The upper line of the speech bubble is straight, while the bottom one is dashed. Is that intentional?
>nature is the the ultimate arbiter of virtue
Americans need to come with a warning when they're about to vomit some stupid shit from their mouths.
no, but he's the most convincing of your hippies.
Of course. It is the way it was programmed.
In real life you can hear them from far away at least.
yes, to trigger autists.
nature and nature alone provides the fitness function for any given thing, if it flourishes under nature it is therefore virtuous, if it does not then it is bad.
>hippy
>liberal
>stackoverflow.com
>stackoverflow.com
>cvedetails.com
>stackoverflow.com
>docs.oracle.com
>benchmarksgame-team.pages.debian.net
>benchmarksgame-team.pages.debian.net
That's not what virtue is though.
Justice could be a virtue, nature is, even by your definition, essentially unjust.
Moderation could be a virtue, nature isn't moderate at all.
Courage could be a virtue, what you describe doesn't always favour courage.
{Honesty, Loyalty, Honor} could be a virtue, nature doesn't promote these at all.
None of the Christian, except Diligence (maybe) could be found in nature.
Also, nature is the biggest meme ever.
alright, need some help
been working on a C based interpreter for like 3 weeks and I'm having issues with how I'm handling the local variable stack but I can't pinpoint exactly where
I think logic is fine but It's not supposed to work that way.
can you Jow Forumseniuses help me out
Say you have the following:
if x is true
y = foo()
if y is true
z = bar()
else
z = baz()
endif
else
z = baz()
endif
return qux(z)
How would you avoid the else z = baz() repetition? This is one of the places I kind of think goto works fine but the language I'm using doesn't have it.
use pattern matching
if x && foo()
z = bar()
else
z = baz
Also doesn't have it.
I guess I simplified my code, the foo() is actually several lines but I think I'll move them to a separate function.
Thanks.
Functions/procedures are the primary means of abstraction. Even in OOP.
You should never hesitate to refactor code into a new procedure.
Java isn't even the best language in its category. unless you have no choice in the matter (like due to platform or workplace limitations), there's legitimately no excuse to use it over C#. i don't usually make such sweeping claims when talking about programming languages (since it's often "apples to oranges"), but Java and C# are so largely similar in design and practical application space that a general qualitative comparison is trivial - and it's a landslide. i know quite a few people who know / have used both (myself included), and not one of them prefers Java between the two (in fact it never even comes close). C# is simply a much better language. it manages to be substantially more powerful (when you need it), and yet also much more pleasant and less tedious to work with in the general case. the only argument i ever see against it in this context has to do with a lack of first-party support on non-Microsoft platforms, which (1) while valid in a broader/real-world context, has nothing to do with the actual language itself; if this is the only argument people can come up with, that's a pretty good sign for C#, and (2) is outdated; it took them a long-ass time to take the hint, but Microsoft did eventually figure out that the excessively proprietary nature of C#/.NET was the only thing holding it back, and pivoted to a community-driven/open-source/cross-platform development model some time ago
>author of many, maintainer of none
ugh why would that even sound appealing for any potential employer
besides Go, i doubt Google has them on anything important. Probably on various non-projects.
>nature is, even by your definition, essentially unjust.
nature defines the just, because it decides what persists and flourishes, and what doesnt. all virtues are derived from this ultimate good, the natural. from the natural we derive life, from life we derive those virtues that are specific to our own nature.
there is nothing but the natural, all else is superstition. there is no morality but that which nature lays out for you, as all else is artbitrary bullshit.
not programming related
What is the use case for -fwhole-program when you have -flto?
you are not programming related
neither are you and your dumb anime
Fuck saturation fields
Programming is subset of anime therefore anime is programming related sweet summer child
It's just an alternative. You can either shove everything into a single translation unit and pass the -fwhole-program flag so it can assume all your symbols have internal linkage for better optimization, or you can use LTO.
wrong
this
no u