Leave these fields empty (spam trap):
You can leave this blank to post anonymously, or you can create a Tripcode by using the float Name#Password
A subject is required when posting a new thread
[*]Italic Text[/*]
[**]Bold Text[/**]
[~]Taimapedia Article[/~]
[%]Spoiler Text[/%]
>Highlight/Quote Text
[pre]Preformatted & Monospace text[/pre]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists


Conversion from bool to QString containing integer's value by Barnaby Gishworth - Sun, 11 May 2014 14:40:19 EST ID:KI1x7QGF No.31720 Ignore Report Reply Quick Reply
1399833619253.jpg -(86690 B, 960x720) Thumbnail displayed, click image for full size. 86690
My solution: http://pastebin.com/BnLHsPh9 - mixing Qt w/ STD is bad, right? Any ideas for more elegant (possibly shorter) solution? I feel ashamed now.
Polly Goodwell - Sun, 11 May 2014 15:01:25 EST ID:kv8bxsSs No.31721 Ignore Report Quick Reply
1399834885081.jpg -(131936 B, 800x541) Thumbnail displayed, click image for full size. 131936
please use prepared statements.
Barnaby Gishworth - Sun, 11 May 2014 16:35:50 EST ID:KI1x7QGF No.31723 Ignore Report Quick Reply
Oh... yeah... kinda good idea. 0o'

I feel like I'm fucking done with college by Fuck Faffingwill - Wed, 07 May 2014 19:49:00 EST ID:i3Soy4i4 No.31667 Ignore Report Reply Quick Reply
1399506540400.jpg -(94943 B, 500x573) Thumbnail displayed, click image for full size. 94943
The entire thing at my school is a clusterfuck, and to list all the reasons why would take awhile. The point is, you can learn everything more quickly and for free on the internet.

So my question is, if I were to educate myself on my own, how would I go about becoming "legitimate"? Are there tests you can take without all the hassle of pulling teeth in an online class? I just want to show that I'm capable enough to work as a programmer.

I walked 14 fucking miles to get a job as a cashier. After 6 months I have nothing to show for it. I'm just so fucking sick of any and all pointless nonsense that I don't want to deal with my ridiculous college anymore.

>How do you show you are competent enough to get hired without a degree?
3 posts omitted. Click Reply to view.
George Firryfuck - Fri, 09 May 2014 00:59:55 EST ID:5DncEJD6 No.31691 Ignore Report Quick Reply
I'm a college dropout myself, and about as legitimate as I feel the need to be.

Degrees signal that you're capable of productivity within a bureaucratic and possibly crazy and senseless structure, and that you meet some minimum combined weighted threshold of conformity and intelligence. Figure out another way to signal that.

You won't be able to get a job you'd want at a large number of organizations before you have a degree, period. These are generally the more conservative orgs, like the government, academia (of course), and some older large corporations. I haven't regretted missing out on those opportunities yet.

Online classes can be hard, yes; do them anyway to show you can do hard things, and that you maybe know a bit too. There are bootcamps that'll give you a two month course and a certificate, which is perfectly good if you want to do mobile or web development.

Ultimately, the best way to appear competent is to be competent. Learn as much as you can (and not just about programming!), find practice problems and do them, make cool stuff. Maybe you do some of that already, but do more, and keep doing it forever. Once you're too good to ignore, you will not be ignored.
David Pallyman - Fri, 09 May 2014 23:06:21 EST ID:ssOAU605 No.31704 Ignore Report Quick Reply
language specific certifications, and online courses things like coursera spit certs out.

some kind of portfolio goes far too
Fanny Nemmersare - Sat, 10 May 2014 17:15:25 EST ID:SYAgdCOm No.31710 Ignore Report Quick Reply
>College is a place of accreditation
Don't forget about networking. Meeting people that can help you in the future, whether it's a letter of recommendation or some info on a perspective employer.
Clara Fanville - Sun, 11 May 2014 13:45:01 EST ID:AQAx85wD No.31719 Ignore Report Quick Reply
Be good buddies with the person hiring you.
I would not consider MOOCs to be a proof of anyones capabilities for anything more than a simple code-slave. Sure, a good MOOC on webdev and I could hire you to do some UI js or something like that but don't be surprised you're not going to touch any business logic.

An online course may be "hard", even as "hard" as a normal university course. For a degree you'd have to take quite a few of those. Trying to prove you can overcome hardships by taking one or two online courses is like trying to tell the officer you are competent driver by first flunking your drivers exam and then showing you can drive a bicycle, with training wheels on.
And of course the number of cheaters on online courses is quite a bit higher than in universities.

I have no idea where you've gone for education, but I'm deeply sorry if you didn't learn a thing in college. Sure, it's a place for accreditation and networking, but for me it was first and foremost for learning. I think I could've learned how to do most of the things I have been taught, but I would be completely oblivious about HOW they work. And I know at least in one place I've worked that knowledge was required (virtual memory, caches, TLB, etc.).
Phineas Pannerstone - Sun, 11 May 2014 15:04:02 EST ID:5DncEJD6 No.31722 Ignore Report Quick Reply
I was poking fun at OP's complaining about the "hassle of pulling teeth in an online class" on the subject he believes himself to be competent and employable in. He's better off with them than without them, even if they aren't extremely impressive (though I think you overestimate the average college graduate).

Psychology and programming by Polly Blatherworth - Sat, 19 Apr 2014 11:10:16 EST ID:abLkjg4e No.31566 Ignore Report Reply Quick Reply
1397920216931.jpg -(22254 B, 228x346) Thumbnail displayed, click image for full size. 22254
I'm currently in my final year of a bachelor in psychology. However a couple months ago I discovered that I absolutely love programming.

So for my master I would really like to do something involving both psychology and programming (and preferably not a whole lot else). I've so far thought of artificial intelligence or mobile application development.

I guess my questions are:
Are there any other studies that strongly evolve around psychology and programming?
If you have any knowledge concerning the two masters I just mentioned or any other suggestion, what is your opinion on them?
How well would these options go if I wanted to do something self-employed?

Also I've already contacted one university that gives a master in Artificial Intelligence and they said it would be possible for me to do their master, but if I wanted to choose their programming track (it has three tracks), I'd have to show them some certificates in programming, logic and statistics. Now I do have some decent knowledge about these subjects from self-study, but I don't have any certificates. Are their any good sites offering certified courses in these topics?

Sorry for the study-advice post, but it's a really difficult decision and I think you guys could potentially help me out a lot. Thanks in advance.
4 posts omitted. Click Reply to view.
Simon Shakeforth - Fri, 09 May 2014 23:54:01 EST ID:tFEaYPia No.31705 Ignore Report Quick Reply
1399694041891.jpg -(388192 B, 1600x1044) Thumbnail displayed, click image for full size. 388192

Are you me? I'm in a pretty similar situation, just finished my degree in psych a year ago and I've been busy basically with the same questions as you.

If you're interested we could share ideas and info, I am very interested in AI and I'm a self-teaching myself programming. I've come across some interesting insights in the process.

If you want my opinion... programming and psychology is a combination yet to exploit, but we gotta be patient and wait for the connectome projects to yield results, so we can start to pinpoint neuronal structures and relate them to tought patterns, then we could do something in a computer to simulate decision-making, heuristic thought, emotional processes, and so.

Also, we'd need to know how hormonal and nutrient patterns influence the brain's works.

In the other hand, you could get into developing programs for research purposes.

For example, there's a lot of buzz lately with mind-machine interfaces in the field of prosthetics, and while the final end is more about neurology and electronics, the interfaces are still primitive and rough, and people has to train to use them, which, as of today, is a slow and difficult process.

If there's a posibility to give insight into the works of the mind in order to program better and easier-to-use interfaces, that would mean a big advancement in the field.
Comment too long. Click here to view the full text.
Nigel Nendlemet - Sat, 10 May 2014 12:52:49 EST ID:gFTMqeqo No.31706 Ignore Report Quick Reply
My thoughts:
1) Indeed, programming is hard, and that disappoints me. For example, I can teach you a card game that you've never heard of in 15 minutes, but it takes me many many hours to program the game into a computer. It's very depressing.
2) You guys may be interesting in this book: http://www.amazon.com/The-Design-Everyday-Things-Expanded/dp/0465050654 . It's not about the pyschology of programming itself, but of things that programming often produces, like user interfaces, and user experience in general. It's a great book and I highly recommend it.
Man, Indian names.
Nigel Nendlemet - Sat, 10 May 2014 14:30:37 EST ID:gFTMqeqo No.31708 Ignore Report Quick Reply
I looked at her page http://alumni.cs.ucr.edu/~ratana/ , and it says she's Thai. Long names still suck though.
Ernest Smallshit - Sun, 11 May 2014 01:49:38 EST ID:tFEaYPia No.31716 Ignore Report Quick Reply

This field is called ergonomics, is already in use in some bussinesses like automotive design, computer design, warfare...

It basically analyzes the way humans think and behave to make things easier to use and more intuitive, from repairing a weapon in the field to be able to check any flight indicators quickly in a plane in an emergency situation.


And as your link points, it hasn't been implemented on programming languages to make them more human-friendly.

I know there have been many efforts to make easir languages, but there aren't many psychologist-proframmers out there, and the ones that exist are busier making programs for diagnosis or research.

It's an interesting idea, tought, maybe I'd get my foot on the field, ergonomics for programming languages, sure there's some work to do there, seeing how difficult can be to learn programming...
Ernest Smallshit - Sun, 11 May 2014 04:33:38 EST ID:tFEaYPia No.31717 Ignore Report Quick Reply
1399797218009.jpg -(166429 B, 595x595) Thumbnail displayed, click image for full size. 166429

Also, kind of related, althought this could be in other boards as well

Confusing Web Shit. by Barnaby A. Wellington, Esq. !5BjyklxJhI - Thu, 08 May 2014 16:40:01 EST ID:QedwT3dQ No.31679 Ignore Report Reply Quick Reply
1399581601645.png -(1834699 B, 1600x1232) Thumbnail displayed, click image for full size. 1834699
Disclaimer: I am not a seasoned web developer. My coworker is and I'm still catching up with this kind of shit since I've always been a straight IT person.

So, I'm trying to work on a website for a bar and my buddy set up most of it with a theme on Wordpress. I've been using Wordpress for a couple of months but he sucks as a teacher and some of this stuff isn't exactly intuitive since different themes have different theme options and customization tools.

There's three post previews on the front page with animated images, with a linked "read more" button and a linked title. My buddy added pages and I was designing and fleshing out the pages and then he tells me that we aren't using pages for three of the pages because they're posts. The site has like 8 pages. The menu has all 8 of these pages. All of the menu items link to the pages. But the previews of what these pages are supposed to contain/be are posts, so we're going to make three of the pages into posts instead because we can't have the same designed preview of a page on there instead of a post. If anyone well versed in web dev and wordpress would enlighten me, I'd be very grateful.

This doesn't make sense to me and I usually pick things up very quickly. Am I retarded? Shouldn't there be a simple way to just have the page call out the php files and scripts to have the same effects so that I can have a page preview for the page instead of having to make the pages i want previewed into posts?
Tits for encouragement. Be gentle. My e-butthole isn't quite stretched out all the way.
Lydia Shakeworth - Thu, 08 May 2014 21:55:30 EST ID:qT9NCyqt No.31685 Ignore Report Quick Reply
WordPress has almost no base structure for themes. There are some required elements to bring in content from the WP editor, but the rest of it is up to the choices of the theme developer. They can do almost anything they want, including custom PHP, bringing in HTML included from outside files and even loading in content strictly through JS. Hopefully you've gone with a well-recognized base theme that has its own documentation which is where I would start looking for answers. There's not really any solid advice we can provide on your issue without knowing what theme you are using.

Can I ask why you went with WordPress when it provides only a single default content type (blog posts)? You wouldn't be having an issue with pages vs. posts in the first place if you went with a CMS that provides more than a single stock content construct.
Barnaby A. Wellington, Esq. !5BjyklxJhI - Fri, 09 May 2014 14:12:57 EST ID:QedwT3dQ No.31700 Ignore Report Quick Reply
9.jpg -(80085 B, 666x69) Thumbnail displayed, click image for full size. 80085
I didn't choose Wordpress. I've known for a while that it was a blog-geared CMS and that it was lacking in some areas but my buddy that I started doing web dev/design with really likes it so I just started using it because I knew he'd be around to show me the ropes, which helps me learn faster than just reading docs. We used Joomla for our company website and I didn't mind that so much. I was starting to get used to it but it was sort of counter-intuitive at times. I'd love to switch to something more open and practical but be able to intuitively learn and construct shit.
The theme we're working with right now is called "Sunrise" and it's a pub/cafe theme.
Thanks for the response, M. Shakeworth.
Molly Penderchud - Fri, 09 May 2014 19:40:23 EST ID:jg0o9hPp No.31702 Ignore Report Quick Reply
Daytime WP designer/developer here,

Take a look at whatever template is being used for the front page. It sounds like it could be as simple as editing the function/loop that's being used to pull in the content for those three previews. Usually this will be done with WP_Query, get_posts() or get_pages(). The WP codex contains very helpful information on working with these functions (technically WP_Query is an object but that's neither here nor there) and with a bit of trial and error you should be able to have the template include pages' content instead of posts.

Post some code or questions if you've got 'em. I'll check back throughout the weekend.

>You wouldn't be having an issue with pages vs. posts in the first place if you went with a CMS that provides more than a single stock content construct.
This, 1000 times. I think it's a remnant from the days when WP was a blogging platform first and a CMS almost never, before they introduced things like custom post types and taxonomies. It's a silly distinction given that you work with both in an almost identical manner.

HTML Intranet Index / Search by Hugh Cazzletotch - Fri, 09 May 2014 05:47:06 EST ID:6soiOxXP No.31695 Ignore Report Reply Quick Reply
1399628826797.jpg -(941325 B, 852x1200) Thumbnail displayed, click image for full size. 941325
Hey /prog/

I need to create a simple HTML for a company intranet from a friend, it just needs a simple search bar where you can enter a part number, for example A17385 and then display all doc, jpgs and pdfs in a list to simply click and download, anyone have a tutorial or know how or what that is called? I've been trying to google information about it but don't quite get the right info, maybe someone can direct me in the right direction?

thanks in advance!
John Cirringville - Fri, 09 May 2014 10:14:58 EST ID:CmcHTLaD No.31696 Ignore Report Quick Reply
Pretty sure this is what our search is based on, fwiw.

Max/MSP + Pure Data by Frederick Cevingwater - Fri, 02 May 2014 14:23:04 EST ID:vrOu3xd6 No.31646 Ignore Report Reply Quick Reply
1399054984122.png -(21636 B, 603x153) Thumbnail displayed, click image for full size. 21636
I want to get into programming to make my own digital music. I've been doing research and it looks like Max/MSP is the best option to learn, but since I don't have money I'm probably gonna try Pure Data first. I have no experience with programming.

Are there any resources that can help me learn Pure Data?

or someplace I can get a cracked version of Max/MSP?

Do any of you use programming to make music or visual art?
Nell Bruckleford - Wed, 07 May 2014 22:47:35 EST ID:/VW8oDDY No.31670 Ignore Report Quick Reply

I've never tried but Max/MSP seems pretty hard to crack, because it's unpopular and also made by clever programmers. If you get Ableton Suite 9, it comes with a Max/MSP extension-which I am just learning now. If you want to get into making your own electronic music via coding, try SuperCollider as well, although it is more text-based, meaning closer to actual coding. This may or may not be good depending on how proficient you are in coding, and also how low-level you want to get. Max/MSP, Pure Data, and Reaktor all abstract alot of the guts out of an audio app, which lets you get things done much faster at a certain cost.

I also recommend learning about sampling theory and DSP (digital signal processing) if you want to have a thorough understanding of digital audio.
Ernest Godgeback - Thu, 08 May 2014 05:20:36 EST ID:F1BmPAhK No.31676 Ignore Report Quick Reply
You might want to look into Max4Live (For Ableton 9 Suite)

Or if your looking to make interactive audio/visual displays you may want to look into something like Resolume (Live Digital Motion Graphics)
Sophie Chassletet - Fri, 09 May 2014 03:00:02 EST ID:bldu7oBo No.31693 Ignore Report Quick Reply
I've been using Max/MSP on and off for about 6 years, and I love and would totally recommended it.

HOWEVER, it's really more something where you get the most bang for your buck (time spent patching) if you already have synthesis and digital audio concepts down. I would suggest going with a traditional DAW + some samples and softsynths for getting started with making digital music, as that'll be way more than enough to dive into when you're first starting out.

If this means anything to you - think of Max/MSP as the assembly language of digital music production. It's powerful, but probably not something you'd want to start off with.

That said, if/when you do decide to get down with it (because it's awesome!), the software has a METRIC BOATLOAD of built-in tutorials and documentation to help you learn. If you go the PureData route, I'd still recommend grabbing a max demo or something for the documentation alone.

(Also, for what it's worth, I think Renoise is an epic DAW (it is my favorite/the only one I use), should you go that route. You'll need to grab your own softsynths though as last I checked it doesn't ship with any and is quite sample-oriented).

Hope this helps!

nitori.c and other gold mining taverns by Martin Brashkotch - Thu, 08 May 2014 11:45:55 EST ID:cpQLtJ/X No.31678 Ignore Report Reply Quick Reply
1399563955558.png -(884941 B, 697x924) Thumbnail displayed, click image for full size. 884941
hello /prog/
i'm a programmer hatchling with way too much time on me around the end of the passive semester. i believe i have in the past weeks grew old of wasting my life browsing social media sites and imageboards, playing video games and not doing anything at all. i'm also tired of the shit of all and any people i communicate anywhere, so i decided to spend the rest of my time until the autumn semester in solitude, tinkering with stuff.
problem is, i haven't been following anything at all anywhere until now due to wasting my life in more effective ways, and i rarely find stuff that i find superawesomeinteresting. if you know any newsfeed, imageboard, subcirclejerk, forum or arhive, library, wiki, any metasite where you find *unusually high amounts* of cool and fascinating stuff, please do share.
i know i could have just started googling, but i rarely stumble upon those *great* places where everything is of interest and there's little internet clutter. i don't have any specific field interest right now, that's what i want to change.

tl;dr your favorite / the best newsfeeds and sites dedicated to anything /prog/ (or IT in general)
Nigel Wanderbudging - Thu, 08 May 2014 19:43:41 EST ID:5MeqeWWk No.31681 Ignore Report Quick Reply
>tired of imageboards
>tired of interacting with people
>writes a post on an imageboard about it

lol. (nb)
Nigel Wanderbudging - Thu, 08 May 2014 19:50:52 EST ID:5MeqeWWk No.31682 Ignore Report Quick Reply
Anyway, to actually answer your question, I suggest you check out http://news.ycombinator.com/ and some of the programming language specific subcirclejerks on circlejerk.com such as /r/haskell, /r/python, /r/erlang and /r/golang. Some other not completely shit subcirclejerks are /r/netsec, /r/crypto and /r/ReverseEngineering.

But really, reading all of that might not be very constructive. I myself am guilty of wasting too much time on HN and circlejerk. So set a limit on the time you spend there, like an hour a day or something. Spend the rest of the time practicing writing code.
Nigel Wanderbudging - Thu, 08 May 2014 19:53:16 EST ID:5MeqeWWk No.31683 Ignore Report Quick Reply

It seems that 420chan is wordfiltering "red"+"dit". There's a lot of circlejerking there indeed, but the smaller more serious subs are pretty good.
Phyllis Harringlock - Fri, 09 May 2014 00:15:25 EST ID:cpQLtJ/X No.31689 Ignore Report Quick Reply
as long as the interaction is kind of business-like and informative only, done in some slow, foruming/mailing fashion, i'm not even mad. just like your second post.
>but the smaller more serious subs are pretty good.
those are the places i'm looking for, trying to avoid
>reading all of that might not be very constructive
thanks for the tips!

What is this called? by Charles Snodgold - Mon, 21 Apr 2014 19:17:47 EST ID:ak5YKDGE No.31584 Ignore Report Reply Quick Reply
1398122267861.jpg -(52031 B, 499x341) Thumbnail displayed, click image for full size. 52031
Is there a name for passing a function call as an arguement?
When I use functions to operate on just one dataset should I just nest/inline it all like
return funcA(funcB(funcC(funcD(funcE(X)))))
// or
X = funcE(X)
X = funcD(X)
// etc... return X
13 posts and 1 images omitted. Click Reply to view.
Lillian Surringwat - Mon, 05 May 2014 22:11:15 EST ID:ak5YKDGE No.31663 Ignore Report Quick Reply
    xl_interface = _ExcelInterface(read_by_row=grp_by_col)
data_matrix = xl_interface.guess_read(f_book, f_sheet, **from_ranges)
block_matrix = grp_func(data_matrix, **grp_func_kwargs)
# map each block then merge the mapped_blocks
mapped_matrix = zip([sub_cmd.operate(zip(*block)) for block in block_matrix])
xl_interface.guess_write(mapped_matrix, t_book, t_sheet, **to_point)

Let it not be said that I refuse advice or an opportunity to learn.
Hedda Clayhall - Wed, 07 May 2014 23:04:53 EST ID:XqlhjDu5 No.31671 Ignore Report Quick Reply
Hedda Clayhall - Wed, 07 May 2014 23:07:25 EST ID:XqlhjDu5 No.31672 Ignore Report Quick Reply
Oops. I meant to respond with a real post.

Dude, nice job actually describing what you're doing using the code. Really glad you reposted with that.

You have no idea what it's like to go back to someone's code in 4 years and be like "WTF IS GOING ON" and then spend 4 hours figuring it all out and tracing single letter variables through files upon files, only to find out that it was something that they just named because it's one of the initials in their name or something asinine.
Edwin Bundleferk - Thu, 08 May 2014 00:41:04 EST ID:LTIxztD9 No.31675 Ignore Report Quick Reply
This has a lot of names, here are two of them:
1) http://en.wikipedia.org/wiki/Thunk
2) http://en.wikipedia.org/wiki/Callback_(computer_programming)
William Hoffinglidge - Thu, 08 May 2014 22:19:25 EST ID:ak5YKDGE No.31686 Ignore Report Quick Reply

Function composition is the correct definition as >>31589 said. I am just doing
f(x) = g(h(x)). Good reads though.

Java Database by Fred Stievie - Wed, 26 Mar 2014 15:28:09 EST ID:y5ayK67p No.31344 Ignore Report Reply Quick Reply
1395862089121.jpg -(12629 B, 600x400) Thumbnail displayed, click image for full size. 12629
Okay, I need some guidance, guys. I'm trying to do a small project that is going to basically create something like "doctor's office software" in which you create a desktop app that can create and manage profiles of people/things. These things would need to be placed from the app into an online db to be accessed from anywhere by signing in on the app. I'm relatively new, and I know it may be ambitious, but I'd like to give it a go. Can you guide me a bit in setting up a web based db for a desktop app? I know nothing about it, basically. I'm programming in java.

4 posts and 1 images omitted. Click Reply to view.
Eugene Simmledet - Fri, 02 May 2014 10:28:34 EST ID:dzQErgOY No.31644 Ignore Report Quick Reply
jolly african-american
Cyril Duckcocke - Fri, 02 May 2014 18:12:48 EST ID:ZMQnkpih No.31647 Ignore Report Quick Reply
1399068768500.gif -(53578 B, 200x200) Thumbnail displayed, click image for full size. 53578
Basil Simmerstock - Sun, 04 May 2014 15:53:16 EST ID:4wql24nm No.31656 Ignore Report Quick Reply
JDBC+GroovySQL is literally the easiest way to do SQL with Java, and actually the easiest way in ANY programming language ever.
Seriously, this is why Java has such momentum, no programming language is this easy when it comes to connecting to DBs.
Jarvis Bunwill - Tue, 06 May 2014 07:52:47 EST ID:sGkrBmwJ No.31665 Ignore Report Quick Reply
Node.js is pretty awesome when it comes to databases.
Hedda Clayhall - Wed, 07 May 2014 23:09:24 EST ID:XqlhjDu5 No.31673 Ignore Report Quick Reply
Depends on the DB. But yeah, Java a best for the most part.

Asm Interrupt Based Key Logger by James Suddlewudge - Fri, 02 May 2014 20:33:41 EST ID:ik1Uoo0E No.31648 Ignore Report Reply Quick Reply
1399077221257.jpg -(237950 B, 1500x1024) Thumbnail displayed, click image for full size. 237950
Hello /prog/,

Theoretically, could a keylogger be written in assembly using software interrupts? Like hooking the Interrupt Vector Table/Interrupt Descriptor Table for logging? Or am I retarded? I've haven't been learning assembly for too long now.
John Sinkinchare - Sat, 03 May 2014 21:54:40 EST ID:kv8bxsSs No.31652 Ignore Report Quick Reply
what operating system? on windows you can use keyboard hooks.


if you need to be device agnostic, i would recommend a hardware keylogger instead.
Emma Cramblehood - Sun, 04 May 2014 11:57:43 EST ID:ik1Uoo0E No.31655 Ignore Report Quick Reply
Thank you for the link, I haven't seen a good Win32 hooks reference. I would probably just use keyboard hooks if I wanted to make and deploy a keylogger. I want to make one using software interrupts and/or IVT/IDT hooking as a proof of concept.

odd jobs by Archie Crunningworth - Sun, 04 May 2014 11:12:50 EST ID:+7ymHOFQ No.31653 Ignore Report Reply Quick Reply
1399216370922.jpg -(36777 B, 572x512) Thumbnail displayed, click image for full size. 36777
anyone remember the name of that website that has all these postings for programming (and other work) small jobs?

I want to do some paid for programming this summer
Graham Dreblingledging - Sun, 04 May 2014 11:48:27 EST ID:T3FPGpDn No.31654 Ignore Report Quick Reply

Java/Android using Camera by Charlotte Lightson - Sat, 03 May 2014 00:45:54 EST ID:+bJGts4o No.31649 Ignore Report Reply Quick Reply
1399092354842.jpg -(11338 B, 320x240) Thumbnail displayed, click image for full size. 11338
Sup /prog/, I'm hoping you can give me some insight into this problem with code I have. It's in Java, written for Android.

I'm trying to wrap my head around opening the camera, taking one photo, and then saving it to a specific folder with a specific name... I've looked a lot online but I'm not really getting anywhere. I don't know if it's something small I'm just missing or if I'm totally botching up the logic in onActivityResult or what... Here's what I have so far:

private static int Take_Photo = 1;

private void takePhoto() {
// TODO Auto-generated method stub

Intent imageIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date());

File imagesFolder = new File(Environment.getExternalStorageDirectory(), "CS_");
Comment too long. Click here to view the full text.
Charlotte Lightson - Sat, 03 May 2014 11:28:28 EST ID:+bJGts4o No.31650 Ignore Report Quick Reply
To clarify, whenever I try to capture an image, it saves it to the file path /storage/emulated/0/DCIM/Camera/ under the file name timestamp_randomnumber.jpg (I don't have an SD card).

All I want it to do is to save to a folder everyone can use, preferably a folder that can show up in the default Gallery app all Android phones come with, with a filename I can manipulate... because the overall goal is to then take that specific folder of images and populate a gridview with them. This is so far proving to be way harder than it should be. I'm beginning to wonder if my phone doesn't have the necessary privileges to write to any specific storage path. I do have android.permission.WRITE_EXTERNAL_STORAGE in the manifest file, too.

I updated my code a little bit, but with no change at all. Here:

public class MainActivity extends Activity {
static final int REQUEST_TAKE_PHOTO = 1;
String mCurrentPhotoPath;

private void takePhoto() {
// TODO Auto-generated method stub
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
Comment too long. Click here to view the full text.
William Pingerworth - Sat, 03 May 2014 14:26:10 EST ID:xtelIQ1k No.31651 Ignore Report Quick Reply
If you want to know what's going on, do some basic logging or use the debugger.

<<Last Pages Next>>
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Report Post
Please be descriptive with report notes,
this helps staff resolve issues quicker.