/dpt/ - Daily Programming Thread

What are you working on, Jow Forums?

Previous thread:
Support the struggle, anons:
lifehacker.com/how-to-support-the-amazon-prime-day-strike-1836309627

Attached: strike.png (496x643, 403K)

Other urls found in this thread:

github.com/paperduck/shiritori
link.springer.com/article/10.3758/BF03196973
adventofcode.com/2018/day/9
github.com/yegor256/sibit
spritz.com/
twitter.com/NSFWRedditImage

>using dpt to promote your bullshit
kill you'reselve

gay, go make your another Jow Forums thread next time instead of hijacking /dpt/ for this crap.

and you fags thought the lisp threads were bad! hahahaha!

Attached: porky.jpg (225x225, 7K)

Nigga, just unionize lmao.

How do I compile my JavaScript?

From the other thread

TableA
+----+----------+--------+
| id | name | value |
+----+----------+--------+
| 1 | Value 1 | 123 |
| 2 | Value 2 | 321 |
+----+----------+--------+

TableB
+----+----------+--------+
| id | user | status |
| 1 | 1 | 2 |
| 1 | 3 | 0 |
+----+----------+--------+

TableC
+----+----------+--------+
| id | idTA | idTB |
| 1 | 1 | 1 |
| 2 | 1 | 2 |
+----+----------+--------+

I want to select from tableA based on user_id and status from tableB and tableC references and tableA values.

I support the use of force against the wageslaves.

Attached: 02d1ced82b4f516693bc309b998126d9dd63874b630fc4485ba33a850d37e725.png.jpg (255x255, 15K)

The /dpt/ OP is not a place for you to shitpost or push your stupid garbage.
Delete this invalid thread.

Real thread:

Kill yourself shill. Don't infest off topic threads with your Jow Forums shit

What do I put in my CV if I got no work experience? Just skills/languages I learned in university?

projects you did in university

I made a game in Haskell:

github.com/paperduck/shiritori

Attached: haskell chan.png (1920x1600, 754K)

GitHub projects

keep up the good work

I did do some projects but I didn't upload them to github. If I upload them all at the same time wouldn't they suspect I just copied them and didnt do them myself from checking the date? Should I just describe the projects Ive done and if they ask for the files/code I email it to them or something?

>Jow Forums shit
>reality is now Jow Forums

off yourself

I think you're worrying too much

I hope I am not breaking any rules here but I just need to know.
I am halfway through my java studies and was planning on learning how to use android studios after. But now I see that kotlin is the way to go and kotlin is not java. Should I stop learning java and just go straight to kotlin? Or should I continue and finish up my studies and then learn kotlin after?
I just dont want to feel like i have wasted my time learning and practicing this whole time.
Again, sorry if I am breaking any rules here or if you guys get these types of questions a lot.

Attached: 1537294482637.jpg (712x498, 56K)

Im also worrying because some aren't 100% working. Theres bugs or missing features I never bothered to fix since I got a C or a B and passed the courses anyway from doing mostly everything right.

If you want to do apps, then Kotlin.
If you want to do [something that uses Java], then Java.

nope
many companies you apply to will be full of boomers that don't even know how to use version control

>politics aren't reality
Eat shit shitposter

>niggers want $15/hr to put things in boxes.
i say fire them all and let the immigrants take their jobs. niggas gonna get red pilled quick.

Attached: 1541714160475.png (585x594, 430K)

you're lucky if then even LOOK at your GitHub, most places I apply to don't even look

>be Area 51 operations director
>see something about nerds attacking
>boost defense just to be safe
>job_well_done.jpg

>be Amazon
>hear something about an upcoming strike
>hire some scabs on-call just to be safe
>no_problem.jpg

Attached: 1546500695843.png (884x884, 262K)

is this what blockchain is like
two competing threads and the public decides which one to continue

How do I share a private github project with other people? Is it possible via a simple website link?
I don't want people to laugh at my projects when they google my name.

Attached: 1553737266447.jpg (700x734, 99K)

>is this what politics is like
>two competing parties and the public decides which one to continue

seething & rent free

shieeeeeet. Well.... I guess i will continue with my java studies since i hear its good for general purpose or something. Then ill go kotlin

cute picture
just google your question

>What are you working on, Jow Forums?
Been working on an application to improve reading speed
Video related is at 300wpm, but it slows down for specified stop characters, long words and acronyms
I know this has been done before, but all of the other programs I've tried have been unsatisfying in some way

Attached: readingthingy.webm (1280x720, 1.26M)

i wonder how bad retention for that is

I can't answer that question with absolute certainty, but my assumption is that, with the right amount of slow downs and at the right times you can get to a point where you can comfortably follow and understand the text.

One study I found related to this topic states the following:
>Question answering and accuracy of summaries associated with RSVP were found to be inferior to performance obtained when subjects skimmed conventionally presented passages. RSVP performance was enhanced by inserting brief pauses between sentences.
link.springer.com/article/10.3758/BF03196973

>amazon workers
All 5 of them?

Attached: Amazon Warehouse Robots.webm (480x268, 2.81M)

I need project ideas. I'm tired of making useless shit out of the book

Attached: 1562091632815.jpg (626x625, 112K)

Only a few locations are highly automated. The others resemble sweat shops.

>be low skill
>a company gives you a job
>lol I deserve more money for labor that would have paid a lot less in the heyday
>don't know economics, so dont realize a pay raise will lower jobs, cut hours, and overall fuck you over worse

Dumbasses. Economics should be standard in elementary

Nah, I prefer to be ionized

>tfw you can't think of a project

learn about metaobjects

fluid dynamics simulator is easier to implement than one would expect

give us some idea of your capabilities

>Write a Java program to find all the topological sorts of a graph, using an adjacency list.

Does anyone know how I should represent this thing? Doing LinkedList [] adjacencyList runs me into the problem of adj[i] = new LinkedList[numIncidentToThisNodeExampleName], which apparently is not permitted because you can't put generics in arrays.

smells like homework

collection of collections?
array of arrays?

Based af.

Obviously governments won't teach basic economics because people wouldn't vote to get """free"""" stuff and more government if they had basic understanding of the topic.

>Don't infest off topic threads with your Jow Forums shit
Dilate. And that meme is a socialist one.

Based and pinkerton-pilled

>"/dpt/ OP is not a place for you to shitpost or push your stupid garbage"
>pushes and shitposts animu garbage in the OP
Fag.

Lisp is the most powerful programming language.

>huge tech corp exploiting its devs
>not /dpt/ related
Amazon just deposited 2¢ in your account.

Any of you guys have done the Advent of Code 2018 Calendar? I'm stuck on day 9, part 2. The linear time complexity of my solution isn't cutting it because of the large size of the input. I'm using C++; any tips?

Attached: 1536443756186.png (270x270, 113K)

don't use C++

is this it?
adventofcode.com/2018/day/9
if so, i don't understand

You can't see part two unless you've completed part 1. Multiply your last marble's value by 100.

Nice

> click on lifehacker
> my firewall announces that I have blocked this website
feels good man.

This already exists somewhere. Can't remember the name, but it's paid.

Why don't you spend your time on something worthwhile, like a program that you can put online?

Because i'm too bad at programming to do something of actual worth.

WTF is this shit? Sage.

Fuck off, kike.

I want to create my own blockchain dapp using rust. Are there any good resources for getting started. I know most codebases are open-source on github, but just pointing to source code is very unhelpful. I want help understanding the scope of the solution

Lisp and Erlang are the most powerful programming languages.

github.com/yegor256/sibit

so lfe.io must be the most powerful of them all

Can someone help me out?

>What are you working on, Jow Forums?
porting a game I wrote in Lua to C
not hard, just a bit tedious, especially with some Lua idioms that don't translate nicely to C
also, cleaned up a bit of the code in the process

most of the effort is just dealing with API differences

did you write it in pure lua or with something like löve2d?

How many times do you need to reply? Sick of you nu-/dpt/ redditors complaining about light shitposting in the OP
You are dull, tastless people

>Can't remember the name, but it's paid
Are you talking about Spritz? It's the only bigger one I know.
There are some CLI applications in the Arch User Repository that do something similar, but they had some issues iirc.
spritz.com/

Write an app that calculates how much jizz you should be cumming with, based on what you eat and how long you abstain.

Pardon me?

you heard me.

And add in a predictor of how many strokes are needed to climax.

Attached: 0bcc31ca8e541c69085576020fb8ac93.png (1148x760, 981K)

No, the Bitcoin blockchain has a cabal of, like, four people who can decide which one is the correct one.

does git timestamp when I stage changes or only when I push to github?

How inappropriate!

Anyone know how to set system alarms using Ionic? Everything I find is just push notifications or email or reinventing an alarm clock

>strike
okay, sure. nobody's forcing you to work.
>get replaced by scabs
okay, sure. nobody's forcing you to work.

Should I learn a language like D lang, Nim, Julia or Kotlin, or is it a waste of time?

noice.
would be really nice if the friction of using it was greatly reduced.
like a web browser extention that also keeps track of the position in the original text so u can go back to it.

what do you know and why do you want to learn another language?

>flip one rack
Entire warehouse gets paralyzed until human worker arrives.

YOU DON'T

implying that those things wont transform into fucking humanoid

Attached: 1555658228561.jpg (520x544, 67K)

>struggle
i hope they get replaced

Keep learning Java, eventually you'll have to be a polygot, and kotlin runs in the JVM and is fairly similar. Should be no problem here user.

>mfw i realize you are all jobless retards

Attached: 1rent.jpg (500x281, 19K)

that's a good thing.
way too many wagie horror stories get posted here.

yeah but then this whole thread have zero credibility
the stuff retards do at home on their meme OSs and languages is very different than what people do in real life on jobs

>credibility
There's plenty of retards ducktaping shitty SO code and getting paid for it.
I would never trust anyone's skill just because they're paid to do a thing.
On the flipside, i don't disagree, there's just as many NEETs here sitting proudly on Mt. Stupid.

>here's plenty of retards ducktaping shitty SO code and getting paid for it.
>I would never trust anyone's skill just because they're paid to do a thing.
you are right but that is mostly true for webdevs and we all know they are not real programmers

it's just as true for webdev as it is for non-web dev enterprise.
Software is fucked on both fronts, please don't think otherwise.

I don't like to discuss this in dpt but that's plain misleading. That incident was not involving an invited reporter it was involving an activist who just started shouting.

i-i dont want to believe you

As long as Java, Python, C shit, and JS are the top langs, you have to user, I'm sorry.
So next time, instead of calling every non-top 5 lang, a "meme lang", you can do your part in actually trying one or two out, and help bring better langs to prominence.