• What Are You Working On? April 2015
    1,741 replies, posted
Daily routine involves Hacker News and Designer News, with occasional browsing of dribbble for UI inspiration. Developers need their own inspiration-based site that showcases code snippets that convey doings things in concise ways. I think software like that is pretty artistic in its own way. Also LennyPenny, nice stuff dude. I like Sinatra/Express inspired APIs. Makes webdev soo nice. [editline]2nd April 2015[/editline] I feel like you should just integrate [url]http://json.luaforge.net/[/url] so you can do stuff like `return res.json(t)`
[QUOTE=andrewmcwatters;47444741]I feel like you should just integrate [url]http://json.luaforge.net/[/url] so you can do stuff like `return res.json(t)`[/QUOTE] Oh I don't want to tell users which object notation or implementation of that they want to use. It's a regular lua module so you can just go to luarocks, install the thing you just posted (or any other) and use it. Also if your api is going to be based on json you can also set the default Content-Type to text/json and then just return the json string from each callback, or just leave it at text/plain since I doubt that many clientside things care about mime types with things like json.
[QUOTE=MadPro119;47444183]I have a Galaxy S3 and will test it out! However, I will warn you, the last two Facepuncher's APKs I have installed have all launched to a black screen.[/QUOTE] [url]http://www.filedropper.com/app-release_1[/url] Thanks, if it doesn't crash - that's good enough.
[QUOTE=Trumple;47437747]I don't really have anything to say other than the standard advice :( Personally I always find myself procrastinating. I do have one tip, though. Just write down a time log of what you get up to every day for a week. You don't have to plan anything, you don't need to start making a strict schedule, you just have to log. Here's a template spreadsheet I use to calculate how much time I've spend doing useful tasks, and how much time I've wasted either by procrastinating or by playing games or something: [url]https://docs.google.com/spreadsheets/d/1EHZn0oO4zshmEQJGiwKXDLtSjamiw_G8P2utAYYkQqk/edit?usp=sharing[/url] [IMG]https://dl.dropboxusercontent.com/u/10518681/Screenshots/2015-04-01_18-35-20.png[/IMG] [IMG]https://dl.dropboxusercontent.com/u/10518681/Screenshots/2015-04-01_18-34-07.png[/IMG] Personally, I find that I spend a lot of time wasted in the interim between tasks. Even playing a game is better than spending time in this 'interim' zone, because you're spending time doing something you like. This log acts as a prompt for me, since it makes me remember "Oh, I've just completed task X, what am I doing now? Oh, looks like I'm just browsing Facepunch...". It requires a bit of discipline, and it works best if you're honest and precise with your time logging, but it might just help give you an accurate insight into how you spend your time which could motivate you a little.[/QUOTE] Thanks for this, I just made a similar sheet! Very useful.
[vid]http://files.facepunch.com/ziks/2015/April/02/2015-04-02-1829-03.mp4[/vid] Collisions done, source is here: [url]https://github.com/Metapyziks/SanAndreasUnity[/url]
Feels weird watching that world in first person.
[QUOTE=arleitiss;47444854][url]http://www.filedropper.com/app-release_1[/url] Thanks, if it doesn't crash - that's good enough.[/QUOTE] Crashes right after the splash screen with "Unfortunately, Visuality has stopped." on my Galaxy Note 4.
[QUOTE=Lord Fear;47445109]Crashes right after the splash screen with "Unfortunately, Visuality has stopped." on my Galaxy Note 4.[/QUOTE] ahh shit, makes sense then. Guess visualization is still not compatible with samsungs for some reason. Btw tested on Nexus 7, Xperia Z1, Huawei and even OUYA. Works fine. Thanks anyway.
So I've always been fond of naming projects after their c filename. I'm working on a program which maps controller input to mouse and keystrokes. jstest is already taken, however, so I was thinking of jsmap.c
[QUOTE=proboardslol;47445518]So I've always been fond of naming projects after their c filename. I'm working on a program which maps controller input to mouse and keystrokes. jstest is already taken, however, so I was thinking of jsmap.c[/QUOTE] Whenever I see a project named like that, I usually skip over it because it seems unfinished right off the bat. From my perspective, it looks like the author just said "Done!" and uploaded it with no intention of finalizing it. I mean, it's your project so do what you want. I spend a good amount of time just naming the repository I dump it into (probably more than I should, really).
[QUOTE=Ziks;47444888]San Andreas Unity[/QUOTE] I can see the headlines now "GRAND THEFT AUTO SAN ANDREAS PORTED TO UNITY" "FULL REMAKE OF SAN ANDREAS PLAYABLE IN YOUR BROWSER!"
[QUOTE=jmazouri;47445623]I can see the headlines now "GRAND THEFT AUTO SAN ANDREAS PORTED TO UNITY" "FULL REMAKE OF SAN ANDREAS PLAYABLE IN YOUR BROWSER!"[/QUOTE] Kinda like that "TOTALLY AWESOME HD REMAKE OF LEVEL ONE OF MARIO 64, NOSTALGIA IN YO BROWSER" shit that was trending a couple days ago?
Well, [URL="https://github.com/Sidneys1/BatchImageProcessor"]Batch Image Processor[/URL] is now feature-complete! I even added a whole new processing category: adjustments. Now you can adjust your image's brightness, contrast, gamma, and saturation as well as the previously-unimplemented watermarks tab! :D There's still a bit of UI polish and etc to be done, but everything that I set out to implement works :) [img]http://imgur.com/7j6L5ok.png[/img] It's been a long time since I've 'finished' a project this big. It feels good :) [editline]xx[/editline] Oh, and for you haters, you can disable the Aero extensions with "-noaero" and the shaders with "-noshaders". But it's my project and I can do what I like, so they're on by default ;)
[QUOTE=Ziks;47444888][vid]http://files.facepunch.com/ziks/2015/April/02/2015-04-02-1829-03.mp4[/vid] Collisions done, source is here: [url]https://github.com/Metapyziks/SanAndreasUnity[/url][/QUOTE] I can never watch your videos properly, most/all others here work fine but yours always play back at like 0.5 FPS for me. Any idea why that might be? I can watch them fine if I download them and play them in VLC. [editline]:|[/editline] Huh, they play fine if I open the video in a new tab, too. So, it's something to do with how it's embedded..?
[URL="http://imgur.com/a/8XdhH"]Images[/URL] Making managing socket applications easier, I suppose...
WAYWO is like a drug. I post something awesome I made and when I come later and see the winner icon, it instantly gratifies me. It's like a game. Not to mention awesome things you guys make, it's the reason I come back here.
I have a bug that only occurs at midnight, do you have any idea how annoying it is to debug when you can only try something once a day?
[QUOTE=helifreak;47446300]I have a bug that only occurs at midnight, do you have any idea how annoying it is to debug when you can only try something once a day?[/QUOTE] Change your system clock? Well that's assuming its on your computer. If its on a hosted server or something... :(
[QUOTE=Goz3rr;47442056]What are the point of these, and aren't private classes pretty much the same except you define them inside of the class instead of the method[/QUOTE] Java doesn't (didn't?) have lambdas, so those are (were?) the only way to capture variables.
-snip-
[QUOTE=Bladezor;47441745][...] // Passing it via the constructor causing me issues too. [...][/QUOTE] Which ones, precisely? According to specification this should work without hitch unless the activity is destroyed (which is entirely possible under Android afaik, since apps are not guaranteed to stay active at all). If this is the problem then use a static method to handle the intent and recreate the activity if necessary. This isn't a C#- or Xamarin specific problem though, a Java app would behave exactly the same. [editline]3rd April 2015[/editline] [QUOTE=Goz3rr;47442056]What are the point of these, and aren't private classes pretty much the same except you define them inside of the class instead of the method[/QUOTE] Another thing to note: Anonymous classes created in an instance method always capture a reference to that instance even if it's unnecessary. It's one of the few ways you can "leak" memory in that language.
So one of the labs in the linear algebra and numerical analysis course I'm in right now had this task to perform some basic wavelet compression. Pretty simple, but it looks pretty cool. (curve is e^x*cos(pi*x)) [IMG]http://i57.tinypic.com/2eajfjo.png[/IMG]
I've been reading WAYWO for ages now and always been jealous of all of you guys' work. I've tried picking up several languages before, like Java, C#, C++ and Python. everytime I've felt a lack of motivation to learn, I've always found new motivation when coming in here. it's so inspiring to watch everyones work, yet also disheartening since I haven't been able to keep myself in check with learning. I recently picked up Java again after figuring out that C++ might not be the best place to start with anything serious. after reading this thread for so long, I'm finally able to post a contribution myself, though a fairly basic contribution. I'm fairly proud of my little zork clone (if it even is that, I'm not sure myself) even though I'm sure it has a fair share of issues and things that should be re-done. everyone needs to start somewhere! [url]https://github.com/predme/Zork-Like-Clone[/url] (pictures make stuff easier to read, right?) [IMG]http://pred.me/pics/1428014444.png[/IMG] I don't know a whole lot about Java yet, or good coding practices for that matter, so I'd love some feedback and pointers to good resources.
[QUOTE=Fourier;47446238]WAYWO is like a drug. I post something awesome I made and when I come later and see the winner icon, it instantly gratifies me. It's like a game. Not to mention awesome things you guys make, it's the reason I come back here.[/QUOTE] I got this unnecessarily vivid image in my head of you printing out the thread, somehow rubbing out the ink from the paper, getting it into a syringe, and injecting it. All that with full grunting and scratching the neck. [editline]2nd April 2015[/editline] [QUOTE=PredGD;47446394]I'd love some feedback and pointers to good resources.[/QUOTE] Tell us what you have an interest in making, and we can tell you where to go. Having goals helps further your development skills, and makes learning fun and addicting. Even if you just wanna mess around with an idea, that's cool. Some things are easier with some languages or libraries, etc, though.
[QUOTE=andrewmcwatters;47446449]I got this unnecessarily vivid image in my head of you printing out the thread, somehow rubbing out the ink from the paper, getting it into a syringe, and injecting it. All that with full grunting and scratching the neck.[/QUOTE] If I had to choose a waywoer I thought might actually do this, my money would be on Fourier
[QUOTE=andrewmcwatters;47446449] Tell us what you have an interest in making, and we can tell you where to go. Having goals helps further your development skills, and makes learning fun and addicting. Even if you just wanna mess around with an idea, that's cool. Some things are easier with some languages or libraries, etc, though.[/QUOTE] I haven't really had any ideas of what to make yet, been mostly focused on getting a foundation with Java first. I've had a vague idea of creating a GUI calculator, but I'm not sure if I'm "ready" to tackle those kind of things yet. having just begun exploring console programs it feels like a big step to start tackling GUI as well. when thinking more of it, I'd love to create a music player of sorts to introduce myself to dealing with files as well.
Well Java is a p. cool language and that knowledge carries over somewhat into C# where you can write other GUI and console programs, too, so it sounds like you already have a starting point. Best of luck on your progress, but I'll leave you with this: calculators are neat projects and doing stuff in the console can be fun at times, especially with curses and text adventures and that sort of thing, but most people aren't passionate about that. The people you find impressive in here got there because they had an interest in something else and software just allowed them to cross the gap. That's more my take and my background in particular, though. So I might be trying to speak for more people than I can in here, but that's what I've picked up on from other dev friends from FP, too.
[QUOTE=foszor;47446313]Change your system clock? Well that's assuming its on your computer. If its on a hosted server or something... :([/QUOTE] I... How did I not think of this?
Yeah! Height based fog, awesome! [t]http://i.imgur.com/gNDxTuv.png[/t] Too bad it's a really cheap and shitty way of doing it [t]http://i.imgur.com/InlYBGw.jpg[/t]
Watcom finally compiled my mixed code into a correct flat binary. Let's try it ou- [video=youtube;LoZMgHQ7N8A]http://www.youtube.com/watch?v=LoZMgHQ7N8A[/video] :v: Oh well, at least it somewhat functions. I'm not the best with pointers.
Sorry, you need to Log In to post a reply to this thread.