[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/dpt/ - Daily Programming Thread

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 316
Thread images: 35

File: K&R hime2.png (1MB, 1280x720px) Image search: [Google]
K&R hime2.png
1MB, 1280x720px
old thread: >>58940420

What are you working on, /g/?
>>
A bot that shits on trap, Haskell and Rust posts in /dpt/.
>>
>>58947004
As said in the last thread, a webpage for college.
CSS is in the head of the HTML file, instead of in a .css file.
>>
File: 1486113391254.jpg (125KB, 800x720px) Image search: [Google]
1486113391254.jpg
125KB, 800x720px
nothin right now /g\
>>
I know I posted this last thread, but I could really use some help with declaring the FKs in this database, I'm new to SQL and can't find my mistake.

CREATE TABLE Movimiento
(
IDMovimiento varchar(50),
IDCliente varchar(50),
IDPelicula varchar(50),
Fechaderenta varchar(50),
Fechadedevolución varchar(30),
Fechadeventa varchar(30),
Folio varchar(50),
Precio Double
);


CREATE TABLE Pelicula
(
IDPelicula varchar(50),
Titulo varchar(50),
Autor varchar(30),
Rating varchar(30),
Existencias Bool,
Precio Double
);
ALTER TABLE Pelicula
ADD PRIMARY KEY (IDPelicula);
CREATE TABLE Cliente
(
IDCliente varchar(50),
Nombre varchar(50),
Dirección varchar(50),
Teléfono LONG,
Clave varchar(10),
RFC varchar(30)
);
ALTER TABLE Cliente
ADD PRIMARY KEY (IDCliente);
ALTER TABLE Movimiento
ADD PRIMARY KEY (IDMovimiento);
ALTER TABLE Movimiento
ADD FOREIGN KEY (IDPelicula) REFERENCES IDPelicula(Pelicula);
ALTER TABLE Movimiento
ADD FOREIGN KEY (IDCliente) REFERENCES IDCliente(Cliente);
>>
>>58947004
>>58947026

use std::mem::transmute as crossdress;

struct Boy;
struct Girl;

fn main() {
let Hime: Girl = unsafe { crossdress(Boy) };
}
>>
>>58947027
you're a fucking rebel
>>
>>58947045
I zozzled.
>>
Working on some CTFs for class. I ran into this line which I am unsure of what it does since eax is a 32 bit int. Is it just filling edx and than taking the last 8 bits? How do I know what to do with dl?
mov     dl, byte ptr [eax]
xor dl, 0x12
mov byte ptr [eax], dl
>>
>>58947059
Instructor asked for it.
I'd rather put it in separate file.
>>
File: abberation_fix.jpg (262KB, 1200x900px) Image search: [Google]
abberation_fix.jpg
262KB, 1200x900px
Was looking through Terry's family photos and decided to write a filter to fix the chromatic aberration.
>>
>>58947004
Who's the qt girl with pink hair on the picture?
>>
>>58947081
Hint: >>58947045
>>
Doing my best to secretly automate my excel-monkey job through VBA scripts.

Stuck on an annoying problem - the sheet will have a column of dates that are either in mm/dd/yy (US) or dd/mm/yy (UK), but I wont know which ahead of time. I want to iterate over each of them and mark the ones that are definitely UK, definitely US, or amiguous. Would be fine except excel stores valid US dates as a number and everything else as text, so I'm fighting with regexes, VBA and now excel itself. Everything online is just people who don't know how to convert US dates to text or whatever.
>>
>>58947078
abberat me daddy
>>
>>58947081
Hime from Himegoto.
>>
File: terry_schoolbus.jpg (143KB, 900x600px) Image search: [Google]
terry_schoolbus.jpg
143KB, 900x600px
>>58947119

Here's another fixed image. Terry on the school-bus, many years before he started working on God's temple.
>>
>>58947078
Woah, the red square on the left combines with the red triangle on the right to form an arrow

Did Terry hide that?
>>
>>58947137
How did you manage to get those pictures, burger boy?
>>
File: Untitled.png (213KB, 1247x878px) Image search: [Google]
Untitled.png
213KB, 1247x878px
I have been steadily learning java but I am completely stuck trying to do this program. Everytime the user hits a "t" a character "@" is supposed to keep moving from the bottom left 1 all the way to 1 touching the wall to the right of the array. I am trying to figure out the logic but am stuck. Any help would be appreciated.
>>
>>58947142

No, I put that there to show the difference between the left (original scan/slides?) and the fixed photograph on the right.
>>
>>58947144

I am one of Terry's acolytes. God bless.
>>
>>58947154
Sure you did
>>
>>58947147
http://www.mazesforprogrammers.com/
>>
>>58947059
http://pastebin.com/DvUK9BXk
>>
>>58947167
Terry ain't got nothing with nigger lovers.
>>
>>58947217

Moses was married to an Ethiopian woman, and God even chastised Miriam and Aaron for denigrating their union

12 Miriam and Aaron began to talk against Moses because of his Cushite wife, for he had married a Cushite. 2 “Has the Lord spoken only through Moses?” they asked. “Hasn’t he also spoken through us?” And the Lord heard this.

3 (Now Moses was a very humble man, more humble than anyone else on the face of the earth.)

4 At once the Lord said to Moses, Aaron and Miriam, “Come out to the tent of meeting, all three of you.” So the three of them went out. 5 Then the Lord came down in a pillar of cloud; he stood at the entrance to the tent and summoned Aaron and Miriam. When the two of them stepped forward, 6 he said, “Listen to my words:

“When there is a prophet among you,
I, the Lord, reveal myself to them in visions,
I speak to them in dreams.
7 But this is not true of my servant Moses;
he is faithful in all my house.
8 With him I speak face to face,
clearly and not in riddles;
he sees the form of the Lord.
Why then were you not afraid
to speak against my servant Moses?”
>>
>>58947043
I just solved it, turns out I was just fucking my syntax up, goddamn I've spent over an hour doing this.
>>
>>58947316
Reminds me of when I put an html-styled comment in my css and was wondering why my page was fucking up.
>>
I just completed my chip8 emulator in C. Would love to dig into some lower level systems programming. Any suggestions?
>>
How portable is this gnu extension ({ }) in C?
>>
>>58947413

Try moving to a snes or n64 emulator. It'll expose more low level concepts and get you used to things like co-processors.

Outside of emulation it really depends on your subjective definition of "systems programming". It's a very vague concept and without a general idea of what you attribute to it advice is very hard to give.
>>
>>58947194
Anyone want to criticise the shit out of my file?
It'd really help - even "this code is fucking retarded".
>>
>>58947517
It's really fucking retarded because that "code" belongs in /wdg/
>>
>>58947118
So can't you just assume that everything in that column that is a number is a US date?

Everything that stored as text must be a UK date and parsed.
>>
>>58947535
Thanks, I'll post it there.
My bad!
>>
>>58947413
The general rule is that you start with CHIP-8, then move onto GameBoy, then move up the Nintendo timeline.
>>
>>58947118
ambiguous dates seem like asking for trouble regardless of automating it or not
how come your employer allows this?
>>
>>58947636
>how come your employer allows this?
How come his employer unironically uses fucking Excel to store any kind of data?
>>
>>58947612

If you're going to suggest the gameboy route you might as well suggest nes -> gameboy -> snes. I mean both of them are not too much more complex than the chip8 / super chip8.
>>
Any emacs users can help me to setup autocompletition like in codeblocks?
>>
>>58947716
fresh from my .emacs file
;; Auto-complete
;; https://github.com/auto-complete/auto-complete
;; https://stackoverflow.com/questions/8095715/emacs-auto-complete-mode-at-startup
(global-auto-complete-mode t)
>>
>>58947752
will it read header files and offer to complete what's in those?
>>
im a noob using python

it wont stop counting up . i need it to stop at a number

def count(n):
print(n)
if n > 1 :
count(n + 1)
>>
>>58947779
if n < 10
>>
>>58947004
Terry Davis is obviously a false prophet, for he did not invent a Lisp.
>>
>>58947819

he wrote a fucken compiler. what have you done?
>>
I'm reading Pointers on C and the author does:
int
main()
{}

Is putting the return type on a separate line some old man thing? Was this ever in fashion?
>>
>>58947812
ok im a dumbass. thank you
>>
>>58947832
What's with the whataboutism?
>>
>>58947851
gnu still do it
>>
>>58947851
>Is putting the return type on a separate line some old man thing?
yes
>>
>>58947832
He has decried the false prophet, TAD.
>>
>>58947832
Be gone, devil. HolyC is a satanic abomination, and TempleOS bears the mark of the antichrist.
>>
I've got a few days off and none of my projects are exciting me. What programming language should I port my chip8 vm to? Already used it to learn C, C#, Go, and Java. What else is worth learning?
>>
>>58947916
bonerlang
>>
>>58947004
Does calling malloc() without parameter even compile?
>>
>>58947916
Rust and GPL license it to annoy faggots.
>>
File: computer-beavis.gif (339KB, 492x376px) Image search: [Google]
computer-beavis.gif
339KB, 492x376px
>>58947004
Has anyone tried binary patching or reverse engineering before? I'm getting my feet wet with asm (i.e. reading disassembly) and think it's pretty interesting. Bypassing trial versions of many programs seems pretty trivial now (e.g. sublime text)
>>
>>58947946
nyet
$ gcc me.c
me.c: In function ‘main’:
me.c:4:14: error: too few arguments to function ‘malloc’
int *p = malloc();
^~~~~~
In file included from me.c:1:0:
/usr/include/stdlib.h:427:14: note: declared here
extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
^~~~~~
but its c so somewhere it might
>>
>>58947962
you're better off finding a hooker
>>
File: fedora.jpg (39KB, 1024x768px) Image search: [Google]
fedora.jpg
39KB, 1024x768px
>>58948024
why is that?
>>
Top 5 Meme Languages for meme programmers:
1. Python
2. Haskell
3. Rust
4. Go
5. Swift
>>
>>58948128
Don't forget C.
>>
>>58947566
>>58947636
All the dates in the sheet should either be UK or US unless somebody else screwed up badly, in which case I need to know so I can go back to the source and deal with it. I can catch any definite UK dates by looking for dates stored as text....but I also need to know if the 'accepted' dates are definitely US (29/01/16) or if they could possibly be UK (07/06/16), otherwise I wont be able to distinguish between excel just mistaking some UK dates for US ones, and a genuine mix of UK and US data.

Feels like it should have a simple solution, but I think this is going to be an ballache of carefully checking and unpicking excel formatting before I even get to wrestling with regex.

>>58947681
We store our data in a proper database - my job is to extract data from various PDF formats and convert it into a standard excel format so it can go into the database.
>>
Can anyone please post the "wearing stockings makes you a better programmer" meme? I need to introduce it to /lgbt/.
>>
>>58947118
They should be using ISO 8601 date/time formats.
>>
File: dptt.jpg (2MB, 1700x2470px) Image search: [Google]
dptt.jpg
2MB, 1700x2470px
>>58948271
only looked at the thumbnail
>>
>>58948189
That US example should have been 01/29/16
>>
I am desperately in need of help. I have xml payloads in a clob in a db2 database. I need the entire payload, not any single bit of info from the thing. Is there some easy way for be to extract the entire thing in the format it went in using jdbc?
>>
>>58947962
I just started learning asm

managed to get rid of the sublime text popup by changing a single byte, this feels like superpowers
>>
File: Screenshot_2017-02-14-14-10-01.png (68KB, 480x800px) Image search: [Google]
Screenshot_2017-02-14-14-10-01.png
68KB, 480x800px
>>58948330
This trap programmer meme is getting out of hand.

Pic related
>>
File: mycprog.png (40KB, 724x524px) Image search: [Google]
mycprog.png
40KB, 724x524px
>>58947004
I just finished this beautiful program.
Do you want to try it?
>>
File: itsame.png (1KB, 12x16px) Image search: [Google]
itsame.png
1KB, 12x16px
>>58948710
here's the output :)
>>
>>58948755
cute!!!!
>>
>>58948687
I know right
>>
>>58948710

Why don't you write a program to generate these programs based on arbitrary images?
>>
>>58948710
what's the purpose of this?

>open gimp
>create 12x16 image
>draw mario

>create c program to map each rgb color of mario

impressive nevertheless, but tiresome
>>
>>58948922
and why would you want that?
>>
Is Code Academy a good place to learn python?
>>
>>58948932
>what's the purpose of this?
Probably testing his understanding of the bitmap format at a binary level.
>>
>>58948946

Then he wouldn't need to manually create the program to output the bitmap? and it would work with any image, not just mario.
>>
>>58948922
cp image.bmp dest.bmp
>>
>>58948993
no my question was:

why would i want the C program to generate an image?
>>
>>58949011

For fun.

>>58949003

Sure, except you can introduce the additional step of having to compile, and run, another program!
>>
>>58948984
https://www.youtube.com/watch?v=GlKL_EpnSp8
>>
>>58949016
so you admit your idea was stupid?
>>
I'm trying to restructure our server code so that we can automatically generate documentation for my company's webservices. Our server responds with JSON formatted objects. It's easy enough to force programmers to enumerate the possible error responses the server can return, but I'm having trouble figuring out a way to automatically generate some representation of the success responses. Think I would be better off forcing programmers to define the whole response schema for every webservice method, or should I just leave the one part of the process (that is, make sure it works and paste one of the responses you get onto the generated page) manual? Everyone's too lazy to keep up with all the error codes we add on every page of our documentation, since all our clients are internal, I'm guessing, but that one shouldn't be asking too much of people, right? I don't have any experience doing this, but I'm tired enough of everyone forgetting to update their shit and confusing everyone to try to do something about it. Is it a fool's errand to try to take the human out of this process entirely once they've written the code?
>>
>>58949023

Never in a million years. I cannot be stupid. I am one of Terry's acolytes.
>>
>>58948687
who would've thought that changing a single jne to a jmp could completely bypass registration crap. I wish I had known this in my teen years instead of being such a script kiddy and downloading virus filled cracks
>>
File: yuru.jpg (89KB, 1280x720px) Image search: [Google]
yuru.jpg
89KB, 1280x720px
>>58949036
No one's gonna read that.

try posting like this next time:


I'm trying to restructure our server code so that we can automatically generate documentation for my company's webservices.

Our server responds with JSON formatted objects.

It's easy enough to force programmers to enumerate the possible error responses the server can return, but I'm having trouble figuring out a way to automatically generate some representation of the success responses.

Think I would be better off forcing programmers to define the whole response schema for every webservice method, or should I just leave the one part of the process (that is, make sure it works and paste one of the responses you get onto the generated page) manual?

Everyone's too lazy to keep up with all the error codes we add on every page of our documentation, since all our clients are internal, I'm guessing, but that one shouldn't be asking too much of people, right?

I don't have any experience doing this, but I'm tired enough of everyone forgetting to update their shit and confusing everyone to try to do something about it.

Is it a fool's errand to try to take the human out of this process entirely once they've written the code?
>>
>>58949036
>it a fool's errand to try to take the human out of this process
why would it be
>>
>>58949090
>Le reddit spacing
No, go fuck yourself.
Stop being an illiterate child and paragraph your post properly.
>>
>>58949113
>spacing is now reddit

kys
>>
File: -4.jpg (8KB, 300x225px) Image search: [Google]
-4.jpg
8KB, 300x225px
>>58947045
I see what you did there
>>
@58949113
This meme is so stupid and forced I'm convinced only one person is posting this.
>>
>>58949131
Reddit spacing is a well documented phenomenon.
I can say with complete certainty, that anyone who puts needless blank lines between each of their sentences and not using paragraphs at all is a redditor.
>>
>>58949090
Mate it's a paragraph you can handle it

>>58949093
It just seems like a huge departure from the way we do things, which is just throw whatever you want in a JSON block and send it to the client. If we force all the programmers to rigorously define everything in a schema all of a sudden, I think they'll get grumpy and less productive for it. I'm not really sure how people code their responses at most companies, since this is the only real big system I've worked on.
>>
File: wrong.jpg (110KB, 602x500px) Image search: [Google]
wrong.jpg
110KB, 602x500px
>>5894915
>this is the only real big system I've worked on

So you're inexperienced AND you're asking 4chan for advice? That's a double whammy, one more strike and you're out
>>
>>58947004
They have cartoons about girls programming these days?
I guess that's neat.
>>
>>58949049
You have been led astray, my child. Terry is a false prophet. Abandon all hope as you venture down this road to Hell.
>>
>>58949224
It's an edit, idiot.
The actual series is fucking garbage.
>>
why would I need functional programming if I can just make all of my variables const?
>>
>>58949245
>Terry is a false prophet.

LIES!
>>
>>58949268
You don't need functional programming. It's a meme.
>>
>>58949268
> Variables
> Const
Wew
>>
File: terry_out_to_dinner.jpg (177KB, 900x600px) Image search: [Google]
terry_out_to_dinner.jpg
177KB, 900x600px
I wonder what he was thinking about?
>>
>>58949224
Japan has always sprinkled programming things here and there. I havent seen anything thats just about it though. Or even a slice of life with programming
>>
A swing system for my lara croft clone. Shit will be cash
>>
>>58949147
You have to be 18 to use this website.
>>
>>58949090
Unrelated but you sound like a bore
>>
>>58948755
>1 KB
Bloat
>>
>>58949050
What's the technique?
>>
>>58949532
Open executable in your favorite hex editor, identify byte in question, change it.
>>
>>58949619
Expand on step 2
>>
>>58949650
Just change random shit until it works
>>
>>58948330

>/G/

More triggered than I expected.
>>
>>58947962
yeah, i play a fair bit of ctfs, write exploits, and reverse basically any interesting closed source software i can get my hands on
>>
>>58949671
Really made me think
>>
>>58949650

Open in debugger -> Walkthrough code till you find a jne into the protection routine, that is the instruction to change into a jmp.

It only works on shit protection mechanisms though.
>>
File: learning_c.png (2MB, 1058x1600px) Image search: [Google]
learning_c.png
2MB, 1058x1600px
What's the best way to teach myself proper C? I know enough to do terminal only programs but I want to get into the real meat of it.
>>
>>58947004
Haskell is a retarded meme. It can't even support the Y combinator without ugly hacks.
>>
>>58949881
>terminal only
>real meat

Are terminal programs no real meat?
>>
>>58949881

Gui applications != anything more important. It's just fucking around with generally painful to use libraries / apis to put pretty buttons and menus on the screen.

The real meat so to speak is the big bear known as program logic.

Oh, and traps have nothing to do with programming.
>>
>>58950277
> traps have nothing to do with programming
Trapping a signal does.
It's a programmers joke, get ? AAAAHHHHAAAHHAAAHAAAHHHAHAHAHAHAHHAHAHHAHAHAHAHHA
>>
What are some projects I can do with two quarter's worth of Java CS knowledge that would help me polish up my skills for when I have to start applying for the major?
>>
>>58949881
put on your panties and sit on my lap and i'll teach you anon
>>
How do I motivate myself /dpt/?

I study this stuff at college, and when I'm at home I always vow myself to start on something to further myself and learn more.

I just can't bring myself to do it, and I have no idea where to start. What to build.

When I'm in a seminar, I smash through it but when I'm at home I can't do it.

Any tips? Any project recommendations?
>>
>>58947069

uint8_t *eax;
uint8_t dl = *eax;
dl ^= 0x12;
*eax = dl;


Registers should not be thought of as having a type, just a size. It's a pointer, and it's also an int and an unsigned int. In theory, you could also store a float in there, but you couldn't execute any floating point instructions on it. That's what the XMM registers are for (and they also do integer math).
>>
>>58950438
sounds like you picked the wrong major
>>
>>58948710
Learn what comments are faggot
>>
>>58950523
Like I said I enjoy it in seminars while I can immerse myself and do it its just at home I dont know where to start and get sidetracked.

Maybe Im being too hard on myself
>>
>>58950438
wear rainbow striped stockings
>>
>>58950539
that work for you?
>>
>>58950537
If you don't know where to start, did you really learn anything at all?

What are you having trouble with?
Do you not know how to install the right software?
Do you not have any motivation to do stupid code challenges like in >>58934460?
>>
>>58949296
You also don't need to have fun in life.
>>
>>58950563
Dressing as an Anime girl is a commonly used technique to boost your programming magic.
>>
>>58950537

Think of something and then just start doing it.

As for getting side tracked a simple method to stop that is meditation. Try taping a white piece of paper with a dot on it to one of your walls and wok on just staring at the dot until you can fully focus only on the dot for at least a half hour. Keep doing this while increasing the time and eventually you'll have no trouble focusing on a single task or thing.
>>
>>58950578
to put it simple, i can make websites and shit which is easy to do but when it comes to building an application or something lets say, i dont know what to build or where to start.

you showing me that thread is a help, thanks dude

sorry im a newfeg
>>
Man Rust is fuckton harder than C/C++
I get why people are so mad about Rust: Sour grapes syndrom
>>
>>58950598
thanks dude yeah i seem to find myself playing video games or looking at stupid shit rather than starting on something at times, i think meditation seems like a nice start and a cool call.

thanks for the genuine advice man
>>
>>58950665
unsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafeunsafe
>>
>>58950666

Yeah I've found it generally helpful myself :P

Just be warned it's boring and tedious as fuck when you're first starting out. The pay off is worth it though.
>>
>>58950317
Pick up an AI book with a focus on machine learning. It'll force you to learn your calculus, linear algebra, and statistics.
>>
>>58950438
What are you interested in?
>>
File: mobile_dev.png (1MB, 1127x1600px) Image search: [Google]
mobile_dev.png
1MB, 1127x1600px
>>58950563
Oh yeah, it increases my programming potency x10.
>>
>>58950665

Rust forces you to do / design things in what it considers a safe manner. That makes it a bitch when you first start using it. However, it can actually improve the quality of your code when you get used to it (About the same as using c++ with a code analysis tool actually).
>>
>>58950725
All sorts of shit. MMA mainly and lifting weights mainly if you mean that stuff

If you mean in terms of programming, I've done a lot of shit with website building which I do enjoy but I wanna broaden my horizon. App development seems quite interesting and I wouldn't mind getting involved.
>>
>>58950879
I am not the same person you're referencing but "App development" is a very broad field. Can cover everything from database applications to compilers. What sort of applications are you interested in? What would you like to improve or make? Is there anything you use on a regular basis that you think could be done in a better way?
>>
>>58950945
I use MyFitnessPal and Strong both regularly, I've always thought it'd be cool to have an app that embeds them together. So a calorie counter along with a workout tracker.

Sorry I can't be more specific with my terminology this is still new to me.
>>
>>58950696
Oh cool, guess that would help out with my calc classes as well. Any recommendations?
>>
>>58949688
I think it'd be cool to reach that point, I'm still a complete beginner though. I'm currently going through LiveOverflow's tutorial playlist and dude seems to know his shit.

https://www.youtube.com/playlist?list=PLhixgUqwRTjxglIswKp9mpkfPNfHkzyeN

Also I've been using the trial of Binary Ninja for the disassembly (when I'm not using gdb). Have tried Ninja before? It's pretty nice, so much so that I'm considering paying for a legitimate license (the $99 one)
>>
>>58950974

That's perfectly fine. You've just answered your question. Start doing some research on mobile development and what languages would be best to implement a Calorie counter + Workout tracker. It's actually a pretty good introductory project.
>>
>>58950979
AIMA (more of a survey of AI techniques)
Elements of Statistical Learning
Pattern Recognition and Machine Learning
>>
>>58950843
Doesn't Rust catch reference-to-temporary bugs that C++ analyzers can't?
>>
>>58951109

Tis why I said 'About the same" :D .
>>
I need some help from anyone who knows more c++ than me. Is there any way to take only specific pieces of a char variable? We got an assignment for one of those pig latin games, except instead of just the first letter, we move everything before the first vowel to the end. The professor told us to use a char to store the sentence, then use various string manipulation tools to take each word and translate it. What I want to do is take the word's vowel and everything after to the string, then the consonants. But I'm not really sure how to do this with a char, and doing it with a string would be even more complicated. Anyone know how to do what I'm talking about? Kinda panicking because the assignment's due tonight and I've gotten nowhere.
>>
>>58947045
ayy
>>
>>58951207

First of all a char variable is only capable of holding one letter.. I think you're confusing a array of chars for a single char.

If you want the vowel and everything after it's just a matter of finding the vowel and then copying over everything left in the string until you reach the end. The consonants should be basically the same with a little extra logic (Grab everything that is not the vowel).
>>
File: mess.png (8KB, 396x319px) Image search: [Google]
mess.png
8KB, 396x319px
>>58951333
See I thought I was doing that but it's still not printing anything. My logic is wrong here somewhere but I'm not sure whether I'm getting the appending part wrong or what.
>>
Figuring out what they meant by this
>>
>>58951577
go is even more a meme than rust
>>
>>58951577
Isn't that just a function that takes a pointer?

Why do they have to rewrite well understood terminology?
>>
Made a rectangle packing algorithm to pack sprites of pretty much random size into a single image. Was going to implement Huang's algorithm but then said "fuck it" and added some brute force to Sleator's algorithm. Works pretty well for my needs, though I gotta tweak the dimensions to prevent it from making things too vertical.

http://pastebin.com/gw2UNQUq
>>
>>58951604
They don't want Go programmers to be able to understand C, because if they did they'd drop Go and use C instead.
>>
>>58951597
Go is a proven language. Rust is unproven.
>>
>>58951677
proven for what
>>
>>58951677
>proven
Proven shit?
>>
>>58951685
>>58951686
Proven that it actually works.
>>
>>58951546

What is the current output and input you're testing with?
>>
>>58951697
XD
>>
>>58951697
Go is a neutered C for internal use at Google for designated H1B programmers, but it didn't really work out so they just released it to gain some of their "geek cred" back.

They don't even use it for their own software.
>>
File: variables.png (3KB, 205x91px) Image search: [Google]
variables.png
3KB, 205x91px
>>58951705
I'm using these variables to interact with that function I posted. The string is the output while char array a is my sentence, and char array b is all the consonants before a vowel. I run the program and just type "scram" to test it out. The program spits out some gibberish which doesn't help me any.
>>
>>58951728
https://texlution.com/post/why-go-is-doomed-to-succeed/
>>
>>58951728
It's C with a garbage collector. It has no point.
>>
File: main.png (9KB, 513x245px) Image search: [Google]
main.png
9KB, 513x245px
>>58951756
Forgot to just post a pic of main in case maybe the problem's coming from how I implemented the function.
>>
File: languages3.png (17KB, 522x384px) Image search: [Google]
languages3.png
17KB, 522x384px
Reminder that morons will dispute this image
>>
>>58951697
>>58951677
Rust and golang don't compete, retard. Rust is a systems language that competes with C++.
Golang is a general purpose (now it's looking to be a server side) programing language that competes with python and Java/C#
>>
>>58951781
Server side programming IS system programming you fucking inbred.
>>
>>58951778
You are the only one who's trying this hard to push your meme. Aren't you disappointed that none is following you?
>>
>>58951781
>Golang is a general purpose (now it's looking to be a server side) programing language that competes with python and Java/C#
Holy fucking kek, just give it a rest Rob
>>
>>58951792
>Web based programming is systems programming
How's having shit for brains treating you?

>>58951807
Does it make you angry? C# pajeet
>>
>>58951814
I don't even use C# or Java, but I can tell they're an order of magnitude better than Go.
>>
File: 1483073157801.jpg (110KB, 1280x720px) Image search: [Google]
1483073157801.jpg
110KB, 1280x720px
Employed Haskell programmer reporting in
>>
>>58951827
lol
Enlighten me :^)
>>
>>58951846
G E N E R I C S
>>
>>58951842
Employed as a line cook at McDonald's, maybe.
>>
>>58951705
>>58951756
>>58951772
Anything you see wrong?
>>
>>58951854
Go has generics, fuckwit
>>
File: pfft.jpg (72KB, 323x323px) Image search: [Google]
pfft.jpg
72KB, 323x323px
>>58951869
shut up
>>
>>58951861
Now now, line cooks have to make a living too!
>>
>>58951869
Show me a generic Fibonacci heap in Go.
>>
>>58951842
You want a cookie or something for being a wage-slave?
>>
>>58951869
Where are functor and applicative in Go? Where are monad transformers?
>>
>>58951891
what generics :^)
package main

import "fmt"

func fibonacci() func() int {
x, y := 0, 1
return func() (r int) {
r = x
x, y = y, x+y
return
}
}

func main() {
f := fibonacci()
for i := 0; i < 10; i++ {
fmt.Println(f())
}
}
>>
>>58951952
That's not a Fibonacci heap, let alone a generic one.
>>
so tomorrow I have a C exam, last year the teacher gave 2 hours to code a program to get the square root of a number qithout using sqrt, what other problems can i practice solving for tomorrow that are more or less on the same level, thanks in advance :)
>>
>>58951982
>2 hours to code a program to get the square root of a number qithout using sqrt
wew lad
>>
Why is reflection considered unsafe?
>>
>>58951995

i know its a lot of time, just want to know what are other good problems to solve
>>
>>58951982
so how do you get the square root of a number without sqrt?
>>
>>58952030
Watch the SICP lectures.
>>
File: BIT.TRIP_BEAT_gameplay.gif (2MB, 307x161px) Image search: [Google]
BIT.TRIP_BEAT_gameplay.gif
2MB, 307x161px
Is freecodecamp a waste of time? If so, is there something I should be doing instead? Asking for a complete beginner and retard (me).
>>
File: a.png (17KB, 522x384px) Image search: [Google]
a.png
17KB, 522x384px
>>58951778
>>
>>58952030
Newton's method.
>>
>>58952066
>52066 ▶
>>>58952030
>Newton's method.
this, dont know how to write code here:

#include <stdio.h>
void main()
{
float i, t, c;
printf("Enter the number :");
scanf("%f", &c);
for (t = c, i = 0; i < 100; i++,t = ((t + (c / t)) / 2));
printf("Sqrt is %f\n", t);
}
>>
>>58949360
I wish he wasn't but he's actually right about this
>>
>>58952075
Wouldn't 1.0f/Q_rsqrt be faster?
>>
>>58952109
yes probably, its the soulution i found and its fairly accurate, im looking for problems within this difficulty level
>>
>>58949321
Isaac and his mother lived alone in a small house on a hill...
>>
>>58950438
REDDIT S P A C I N G
>>
File: 1475188202139.jpg (274KB, 730x535px) Image search: [Google]
1475188202139.jpg
274KB, 730x535px
How do I read in a 5 digit number, but store each digit separately in MIPS?
Maybe my logic is flawed though. I have to read in a 5 digit number like 75080, and out put that the "sum" is 20.
>>
>>58952140
public static int SumDigets(this uint number) => number.ToString().ToCharArray().Sum(c => c - '0'); 
1004.SumDigets();

The slow and easy way
:^)
>>
>>58952030
I'd probably just use the Taylor series. Taylor series is always the answer. Well it's always AN answer.

Or you could just brute force it, finding Integer, n, such that n*n <= x and (n+1)*(n+1)> x and repeat for 1/10ths until you reach the desired precision.
>>
>>58952176
I appreciate the thought, but I wouldn't even begin to understand how to do that in MIPS assembly.
>>
>>58951863

Here is a starting point. Didn't completely fix it and tried to keep the code to your style as it is (*Hint* fix it with a input of multiple words, and fix the result of trying selfish)

string translate(char a[], char b[], string c)
{
bool translated = 0;
int x = 0;
int y = 0;

while(!translated) {
if(a[x] != '\0') {
if(vowelCheck(a[x])) {
while(a[x] != '\0') {
c += a[x];
x++;
}
} else {
b[y] = a[x];
y++;
}

x++;

} else {
translated = 1;
}
}

b[y] = '\0';

for(int j = 0; j <= y; ++j) {
c += b[j];
}
c += "ay";
return c;
}
>>
>>58947694
How much harder is gameboy than nes?
>>
>>58952210
It's the difference between Z80 and 6502 assembler.
>>
File: drool.jpg (45KB, 400x400px) Image search: [Google]
drool.jpg
45KB, 400x400px
>>58947004
>Why are you casting the return value of malloc()?
Because the API was designed for C, but the programmer is using C++. In C, you can cast any pointer to and from "void *". But in C++ this is a warning.
>>
>>58952186
Doesnt MIPS have a modulus opcode
or something?
>>
>>58952219
I already know 6502 pretty damn well. How hard would it be to pick up Z80?
>>
>>58952206
Thanks a ton anon. I'll keep hammering away at it, I really appreciate your help. Hope you have a good Valentines.
>>
>>58952236
>you can't declare incomplete switch cases with implicit drop-downs
>you can't declare specific array members to initialize
>you can't declare specific struct members to initialize
>you can't declare initializer lists with items not computable at compile-time

Why does C++ exist again?
>>
>>58952277
for the memes
>>
>>58952268

Here all that is left is parsing out each word individually from the input and then putting it together in the final sentence (Easy).

string translate(char a[], char b[], string c)
{
bool translated = 0;
int x = 0;
int y = 0;

while(!translated) {
if(a[x] != '\0') {
if(vowelCheck(a[x])) {
while(a[x] != '\0') {
c += a[x];
x++;
}
} else {
b[y] = a[x];
y++;
}

x++;

} else {
translated = 1;
}
}

b[y] = '\0';

for(int j = 0; j <= y; ++j) {
if(b[j] != '\0') {
c += b[j];
}
}
c += "ay";
return c;
}


Questionable variable usage is high. You might want to look at what the function is taking.
>>
>>58950665
>I get why people are so mad about Rust
there's no reason to use Rust, you won't get a job, you won't be more productive in any area

there's nothing useful there just faggotry
>>
File: cetaphagy.gif (242KB, 858x480px) Image search: [Google]
cetaphagy.gif
242KB, 858x480px
>>58952277
It was an overreaction to Common Lisp. In the 1980s, C had just beaten Lisp, and the future seemed to be all about pragmatism at the expense of beauty. Functional programming was freshly debunked and object oriented programming was an exciting new alternative from research papers that had never been tried in the real world. C++ captured the spirit of the times and boldly struck out in this new direction, taking the whole industry in a new direction.

It's a shit language by modern standards, now that we have decades of hindsight. But in the '80s and '90s we didn't know any better and it seemed like a good idea compared to the available alternatives.
>>
File: images.duckduckgo.com.jpg (8KB, 281x300px) Image search: [Google]
images.duckduckgo.com.jpg
8KB, 281x300px
>>58947004
any of you guys get freelance work, like through elance/upwork, or somewhere else?

tips? share your experience?
>>
trying to make linux run in msi laptop, almost impossible
>>
>>58952364
Common Lisp appeared a year after C++.
>>
>>58952140
I don't know MIPS, but this here's my naive way of doing it which I feel could be implemented in pretty much any assembly language:
int number = /*asdfsdfklsfj*/;
int sum = 0;

for (int i = 1, j = 0; i <= 10000; i *= 10, j++)
sum += (number / 10000 / i) % i;
>>
>>58952480
Fucked up on the loop, was originally thinking of using an array (hence the j) but you don't fucking need that
for (int i = 10000; i >= 1; i /= 10)
sum += (number / i) % 10;
>>
>>58952480
>>58952510
I figured out that division stores the quotient and the remainder in Hi and Lo, so now it comes down to whether or not I can keep all this shit straight.
>>
>>58950438
>I do it at college
>I do it at a seminar
>I don't want to do it at home

It sounds like you've found a profession and don't want it to become your life. There's nothing wrong with that. Do it at work then go home and do whatever you want guilt free.
>>
>>58952277
>Why does C++ exist again?
Bjarne wanted to merge the best parts of Simula with the best parts of C. Rest of it is history.
>>
>>58952533
Good luck my friend
>>
>>58947004
what is webpack and why is it relevant all of a sudden, and how is it not another gulp/grunt
>>
Someone help me with regex
Why does 006% match for
Test Sentence 1006 and not for
Test_Sentence_1006
>>
>>58947004
Just added search capability to my homepage

https://niles.xyz/index

type "wbinary search tree" and hit enter
>>
>>58950438
I had/have the same problem.

recently I've found going on hackerrank.com has gotten me motivated.

If you're interested in android apps, download android studio if you haven't already. get it set up and able to install a simple app on your phone, its pretty easy, but can take an hour or 2.

i found it's easier to get going if there's something I actually want to do, like if i have an idea for an app.
>>
What are some good intermediate - advanced programming challenges for new programmers?
>>
>>58952778
write a data compression program
>>
>>58952778
Find a project you want to do and make it.
Web scrape for instagram.
Host a server.
Create a bot for a site
Write an application that does X

If you are consider yourself advanced enough pick an area you would like and program
>>
>>58952778
Do some of the early project euler problems before they get too mathy.
>>
>>58952778
write a sorting algorithm that uses radix sort
>>
>>58952778
Machine learning. And I don't mean just downloading and using TensorFlow. Build a neuron. Then build a neural net. Gets you a healthy dose of mathematics as well.
>>
>>58952767
Nice
>>
Why the fuck do they make it so hard to figure out how to format the label files for machine learning?

Trying to use Nvidia DIGITS and all of the examples are ``lol just download our premade dataset''
What the fuck? What if I want to make my own fucking dataset?
>lol I'm going to assume that you're doing object detection, use the KITTI format

I just want to do simple fuckin' classification.
Why the fuck is this so hard?

All of the images are already categorized into named folders. In Tensorflow I'd already be halfway there, but Tensorflow is a piece of shit because the devs keep changing function prototypes all the fucking time, breaking models every month
>>
>>58953146
Never had a problem with MatLab
>>
>>58952778
An interpreter for Brainfuck or a Lisp if you're feeling fancy
>>
>>58952767
Kyle Bosman fan, I see.
>>
>>58950531
>he doesnt name his variables, datatypes and functions in such a manner even a retard could identify what they're supposed to be doing
shiggydiggy
>>
noob question:

is there any downsides to using relative/"absolute" layouts in android stuff?

i used to use absolute all the time when i made java apps but that was just for my own usage so i never thought about any downsides.

i notice most people are using linear in their tutorials. is there a reason for that or just convenience since it gives default padding and stuff? i like how relative lets me put shit wherever i want.
>>
>>58953521
>Linear Layout
It's not entirely unlike Microsoft's "StackPanel".

The simple reason for using grid-based and automatically fitting layouts is because they mesh well with different screens and different resolutions. The backend UI manager can automatically scale elements and text as necessary. The key idea when designing for those layouts is that you need to design a layout that can stretch a bit one way or the other, and it wouldn't affect the experience much.

Absolute layouts aren't necessarily bad, if you take the effort to cover literally every screen size, resolution and DPI. I can't imagine any modern GUI frameworks not having some sort of device-independent size unit, so at the very least you have to re-design your layout for every aspect ratio, while taking advantage of mobile versus desktop operating paradigms.

But why are you asking this here?
>>
>>58950994
ya i picked up a license for binary ninja a while ago.
there's a lot it can't do right now, but its pretty ok and and much less a pain in the ass to use than radare2, but even so i dont use it super often.
>>
File: bDu8U1T.jpg (30KB, 964x662px) Image search: [Google]
bDu8U1T.jpg
30KB, 964x662px
>>58947004
just wanted to say thanks, I've been a computer hobbyist my entire life and never picked up coding

spent the last month grinding online tuts and documentation, now I have an idea of what I'm doing (experienced C from CS50x, JS from codecadememe, using Lua recreationally) and have released two game mods (one hitting 400 dls in two weeks)

i'm drinking and coding alone but its okay because im in /dpt/
>>
I am making chess in Java and I have a question

I am trying to structure the code and I am having a hard time deciding should there be a super class called pieces which all have the pawns moving abilities and separate sub classes of pieces which will be knights bishops rooks etc that inherit all the basic ways a pawn moves or just make pawns a separate class?
>>
>>58953914
Make a pieces an abstract class and give them a ability to move.
Then construct all your pieces from said abstract class?
Not sure why you want to have pawns as your super class.
>>
>>58953871

Which mods for which game?
>>
>>58953871
>i'm drinking and coding alone but its okay because im in /dpt/
But are you wearing a skirt?
>>
For going into the job market, how important is knowing stuff like data structures and algorithms and proper testing compared to other, relatively random stuff (writing bots, using other program/web apps APIs to scrape, etc)?

I find both fascinating but they both go so deep.
>>
>>58953914
Pieces abstract class with common fields/methods (color field, move method, die method, etc)
Then extend each piece from that class and define the move method and any other special stuff (rook/king)

If your superclass is a pawn then all other derived classes would have pawn movement and special traits, which violates object-orientation
>>
>>58954134
If you can find an entry position (which can be harder than it should be), they should teach you proper testing (they'll be happy to offload that tedious shit to you) and won't trust you to optimize complex algorithms (assuming they even understand the concept). Understanding the fundamentals and learning to read others' code are far more important.
>>
with open(fileList) as fileList:
for line in fileList:
filePattern = re.compile(line.rstrip('\n')+'$')
found = 0
for (dirPath, dirNames, fileNames) in os.walk(path):
for fileName in dirNames:
# Generating the file path
filePath = os.path.join(dirPath, fileName)
print(filePath)
if re.search(filePattern, filePath):
print('{} has been found'.format(line.rstrip('\n')))
shutil.copytree(filePath, dest + '/' + fileName)
print('{} has been copied\n'.format(line.rstrip('\n')))
# Found file variable
found = 1
if found:
break
if found:
break
if not found:
print('{} has not been found\n'.format(line.rstrip('\n')))

Making a program that parses through a textfile and then searches in the directory for said folder to copy to a destination.

Is there a more elegant method then using multiple breaks to force it to search from the top again?

What I am asking is if Python has a way to break out of multiple loops at once?
>>
>>58954168
Boy did I fuck that up.


Making a program that parses through a textfile and then searches in the directory for said folder to copy to a destination.

Is there a more elegant method then using multiple breaks to force it to search from the top again?

What I am asking is if Python has a way to break out of multiple loops at once?

I typed that at the end of my code. I guess you have to put them at the header. Anyway that is my question
>>
>>58954005
eso, it takes lua addons and you can find them on esoui

>>58954005
no anon im a weeb not a tranny
>>
>>58954172
dont use python
>>
>>58954192
>Make simple script
>Don't use python
Why? Python is my favorite scripting language.
>>
>>58954168
Without goto's, your options are to wrap the loops in a separate function that returns whether or not the file was found or to leave it as is.
>>
>>58954084
whoops I accidentally your reply
>>58954173
no anon im a weeb not a tranny
>>
>>58954207
But it already does with my found variable?
When a file is found, it breaks out of the for loop. However said for loop is still in another for loop due to iteration of os.walk which will walk through all iterations of dirNames. Hence another break.

I am just wondering if there is a more elegant way breaking out of multiple nested loop than using break many times.
>>
If I try to learn C++ with no real previous knowledge, in how long can I reasonably expect to learn templates and basic data structures?
>>
>>58954247
With no real previous knowledge assuming no knowledge of ANY programming language, we don't know how well you will take to programming but most folks can do it in one semester in college if they apply themselves.

Just go try and see what happens.
>>
>>58954247
I'm pretty new and only know a few languages but thats like drinking from the fire hose anon
>>
>>58954247
>I reasonably expect to learn templates
c++ templates are notoriously tedious
a few months with average studying. But youll probably still be referencing back a fair bit
>>
>>58954258
that just doesn't sound right, even for me

I'm big into mathematics and have completed general multivariable calc, linear algebra and differential equations
>>
>>58954275
Being good at mathematices doesn't mean you will be good at C++ and vice versa. You said no previous knowledge and people take to stuff at different rates.
>>
>>58954247
First minute.
>>
File: brainlet.png (10KB, 659x125px) Image search: [Google]
brainlet.png
10KB, 659x125px
Brainlet here

Started learning SQL yesterday

Why the fuck does it give me a "missing right parenthesis" on line 10

Why am I so god damn retarded at programming FUCK
>>
>>58947043
Why not use a Visual DB Design tool? You'll save those hours of work and getting more or less the same instructions.
>>
Why is java so shit
>>
>>58954288
Are you sure you can put 'AND' inside the parenthesis you started on line 10?
>>
>>58954288
why the fuck did you put AND on a new line instead on line 10?
>>
>>58954236
Like I said, to break out of multiple loops you would have to wrap them in a function (since the return keyword will break out both loops).

def whatever( blah blah blah ):
for fileName in dirNames:
filePattern = re.compile(line.rstrip('\n')+'$')
for (dirPath, dirNames, fileNames) in os.walk(path):
for fileName in dirNames:
# Generating the file path
filePath = os.path.join(dirPath, fileName)
print(filePath)
if re.search(filePattern, filePath):
print('{} has been found'.format(line.rstrip('\n')))
shutil.copytree(filePath, dest + '/' + fileName)
print('{} has been copied\n'.format(line.rstrip('\n')))
# Found file variable
return true
return false


Or leave it as is. There are no goto's in Python, no multi-breaks in any language I know of (I think it's a machine code nightmare) and Python doesn't even support multi-line anonymous functions so you couldn't contain it all locally.

Those are your two options, keep the slightly ugly looking foun flag or wrap them in another function. If you don't plan on using the inner function ever elsewhere (i.e. if you never look for just one line in a particular place), then I recommend just keeping the flag.

I mean in your specific case I guess you could convert the two loops into one loop by going through the list of (dirPath, dirNames, fileNames) and adding (filePath) entries to a new list and going through that list, but in the general case there are no ways to multi-break for loops. And besides, don't you need to know whether the file was found anyway since you're printing something if none were?
>>
>>58954312
It's OK, because there's no semicolon. It doesn't matter how much lines you make.
>>
>>58954312
>>58954308
Tried both of these and still receiving same error.
>>
>>58954317
Ah I see what you mean now.

>And besides, don't you need to know whether the file was found anyway since you're printing something if none were?
if re.search(filePattern, filePath):
print('{} has been found'.format(line.rstrip('\n')))

That is what this portion of the code is for.

Think I will try convert it to a function and then work on simple input for move or copy. Thanks a lot anon.
>>
>>58953146
After reverse-engineering the MNIST database, it appears that all I need is a text file used as a lookup table for label strings, and a file mapping images to labels (in the form of indices)
as in:
/absolute/file/path.jpg 5

Now what I'm curious about is how to handle multiple label classification. It sounds like you just add more indices after a filepath. Sounds silly though.
>>
File: spjJun06.8-e1470732652301.jpg (325KB, 2136x3216px) Image search: [Google]
spjJun06.8-e1470732652301.jpg
325KB, 2136x3216px
why aren't you using Haskell? A Microsoft funded project

https://blogs.msdn.microsoft.com/uk_faculty_connection/2017/02/13/introducing-haskelly-extension-for-visual-studio-code/
>>
>>58947078
>>58947137
What's the filter like?
>>
>>58955067
>why aren't you using Haskell?
The libraries are few and they break more often than in Ruby. Sad.
>>
>>58947004
So I'm learning Haskell. What's a better way of merging two list ala mergesort?

merge :: (Ord a) => [a] -> [a] -> [a]
merge list1 list2
| null list1 = list2
| null list2 = list1
| head list1 < head list2 = head list1 : merge (tail list1) list2
| otherwise = head list2 : merge (tail list2) list1
>>
>>58955443
merge :: Ord a => [a] -> [a] -> [a]
merge [] xs = xs
merge xs [] = xs
merge (x:xs) (y:ys)
| x <= y = x : merge xs (y:ys)
| otherwise = y : merge (x:xs) ys
>>
>>58955443
merge (merge . (liftM2 merge .) . liftM2 (.) (.) . (.) . (.)) ((. flip) . (.) . (.))
>>
File: 1482698740583.png (1MB, 640x800px) Image search: [Google]
1482698740583.png
1MB, 640x800px
>>58955067
always knew haskell was pajeet tier, but not to this point
>>
>>58955067
I am
>>
>>58955460
wtf man thyere boobs
>>
>>58955443
what is haskell good for?
>>
>>58955516
https://github.com/Gabriel439/post-rfc/blob/master/sotu.md
>>
>>58955443
>>58955458
>>58955460
Oh, so Haskell is one of THOSE languages. I see, I see. Never takes very long to catch up to the ::ahem:: "trends" on /g/ after being gone for a while.
>>
>>58955516
haskell is a declarative language where you describe how you want your computer to do math and the 1.6GB monolithic runtime will pretend to run your program as a stateless mathematical function with no side-effects, but it's just hiding the side effects from the user.

Functional programming is a meme.
>>
>>58955524
I wanted to shitpost a little, but that post is actually a very informative one than just "it's a general purpose language, you can do everything"
>>
>>58955516
it's a general purpose language, you can do everything
>>
I've recently passed an introductory course in Java EE development course. I really enjoyed it, but the content provided was quite shallow. I would love to continue learning.

Could anyone recommend a really good J2EE book(s)?

I tried googling for one but most of the time people recommend JSP & Servlet books. I'd also welcome some material on JPA, Hibernate, Spring/REST, J2EE patterns...
>>
>>58955589
What year is it?
>>
File: 1456616931245.jpg (26KB, 300x419px) Image search: [Google]
1456616931245.jpg
26KB, 300x419px
>>58947026
>Rust
Rust keeps the C/C++ retards away by being too hard. If you are programming in Rust I would automatically assume your Rust code is better than 97% of /g/ toddlers anytime and anyday.

C/C++ is a beginners' language.
Rust is not.
>>
>>58955609
>C/C++
>>
>>58955516
Nothing really
>>
>>58955594
What do you mean? Are the technologies mentioned outdated? If so, what are they superseded by?
>>
>>58955609
C and C++ are completely different languages.

Also, any language that enforces an arbitrary brick wall difficulty is not worth using.
>>
>>58955643
>C and C++ are completely different languages.
I didn't say they are the same language
>>
>>58955647
Then why did you group them together and talk like they're one unit?
>>
NEW THREAD!

>>58955696
>>
C[++]

>this triggers the Cfag
>>
>>58955539
LAMMJ and I started pushing Haskell in 2011. How long were you gone for?
>>
I have the strangest bug. I am using std::fstream.get() to extract single bytes from a file. This works fine, except that at some point, the read-pointer (as indicated by tellg()) jumps ~200 bytes ahead when using get(). gcount() remains at one. WTF is going on? Google failed me.
Thread posts: 316
Thread images: 35


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.