• What are you working on?
    5,004 replies, posted
[QUOTE=cartman300;50422973]Uh, yes, something like that. But if anybody has any other idea, just tell me. Basically i have 450 gb of unused storage on a server and i need to do something with it. [editline]30th May 2016[/editline] It also doesn't have to be limited to one thing, you could allocate some of the space to a database and the rest for files.[/QUOTE] Your idea might work for selling to individuals or [I]really tiny[/I] businesses (like 2-man indie game dev teams), if you advertise it in a place like here where people know you and can talk to you on a personal basis. The appeal of S3 is bigger than just the API. S3 has an extremely high availability SLA (so Amazon owes their customers something if they have too much downtime, which they won't, and if (part of) S3 goes down half the Internet goes down with it anyway so it's not nearly as embarrassing). S3 is managed in general - so the customer does not have to worry about failing drives, getting hacked etc. - and while that's also the case for your service, I imagine you couldn't invest as much effort into maintaining it as Amazon's ops team can. Amazon never runs out of disk space or I/O or network bandwidth, so their customers don't have to upgrade anything if they grow or get usage spikes or a DDoS (though they might have to take out that second and third mortgage on their houses for the latter two...) So if you have any plans to turn this into a job, your resources are not enough. Not even for getting started. Not even for prototyping a development environment before getting started. You'd need a 24/7 ops team, (datacenter-local and preferably also geographically distributed) high availability and a few more terabytes at the very least. But if someone just wants to get their small internet business / game / personal stuff started and sees your post offering storage space [I]really cheap[/I]? Yeah, I can imagine they'd go with you. I'd personally still get my own server in that situation, but I guess not everyone would. [editline]---[/editline] An alternative you might want to look out for is all these Bitcoin-inspired decentralised storage networks that are coming out (Sia, MaidSafe, Storj...) that let you just install and configure a program on a box and get some form of cryptocurrency that you can then exchange for Bitcoin that you can then exchange for actual money. Obviously [I]highly[/I] speculative and they're mostly being pushed by wide-eyed libertarian fanatics who are enthusiastic about them because of the idea, not because they've thoroughly examined their practicality, but if you've a bunch of unused storage and a bunch of unused network bandwidth, you can't really [I]lose[/I] anything by participating either. That said, I'm not sure any of them are even at the stage where they have a working network that pays out to storage providers yet.
[QUOTE=Nigey Nige;50421935]'How did you meet your husband?' 'So, he designed this algorithm to scrape through all the women on the internet...'[/QUOTE] "Wow really? Weird I admit, but he must be so smart! All I got home is some stone who delivers pizza everyday.."
[QUOTE=Trebgarta;50422239]I have always wanted to use a software similar to 1Password. Can you name any free alternatives for me to try?[/QUOTE] KeePass 2 + KeeFox is what I use. I assume it works just about the same, but I don't have to trust an additional service to not get hacked.
Because I'm bored and I didn't know what else to do. [img]http://i.imgur.com/gRVDqle.png[/img] Very [img]https://facepunch.com/fp/ratings/box.png[/img] but whatever
Maybe you could make a super intelligent application that turned any avatar into a 16x16 image. Start with mine.
I finally managed to get some motivation to start programming for fun again, and it feels really nice. I made a program that you can use to make proofs with propositional logic. It makes sure you use all the rules correctly, or at least I hope so. [code] Enter a number to select an action 0. Quit 1. Show Proof 2. Use Rule 2 Select a rule 0. Back 1. DNI 2. DNE 3. MP 4. MT 5. &I 6. &E Left 7. &E Right 8. vI Left 9. vI Right 10. vE 11. Assumption 12. CP 13. RAA 14. Premise 4 Select a line of the proof [1] 1. (P->~P) Premise [2] 2. P Assumption [1,2] 3. ~P 1, 2 MP [4] 4. (P->~P) Assumption [2,4] 5. (P&(P->~P)) 2, 4 &I [2,4] 6. P 5 &E [2] 7. ((P->~P)->P) 4, 6 CP [2,1] 8. ~(P->~P) 7, 3 MT [1] 9. (P->~(P->~P)) 2, 8 CP [1] 10. ~~(P->~P) 1 DNI 9 Select a line of the proof [1] 1. (P->~P) Premise [2] 2. P Assumption [1,2] 3. ~P 1, 2 MP [4] 4. (P->~P) Assumption [2,4] 5. (P&(P->~P)) 2, 4 &I [2,4] 6. P 5 &E [2] 7. ((P->~P)->P) 4, 6 CP [2,1] 8. ~(P->~P) 7, 3 MT [1] 9. (P->~(P->~P)) 2, 8 CP [1] 10. ~~(P->~P) 1 DNI 10 [1] 11. ~P 9, 10 MT Enter a number to select an action 0. Quit 1. Show Proof 2. Use Rule 1 [1] 1. (P->~P) Premise [2] 2. P Assumption [1,2] 3. ~P 1, 2 MP [4] 4. (P->~P) Assumption [2,4] 5. (P&(P->~P)) 2, 4 &I [2,4] 6. P 5 &E [2] 7. ((P->~P)->P) 4, 6 CP [2,1] 8. ~(P->~P) 7, 3 MT [1] 9. (P->~(P->~P)) 2, 8 CP [1] 10. ~~(P->~P) 1 DNI [1] 11. ~P 9, 10 MT Enter a number to select an action 0. Quit 1. Show Proof 2. Use Rule 0 [/code] I'll probably add the ability to delete lines from the proof. It would be kind of annoying to do with how I have things set up now because I would have to delete all the dependencies, and renumber the other lines so there aren't any gaps. If I didn't do that it would mess up my line selection menu. I also want to align things better, but I don't know anything about formatting text in Haskell. I had a ton of trouble figuring out how to read input expressions. I was trying to read them in character by character and use some complicated functions to compile them into the data structure I was using, but I never got that to work. I then remembered I was making this in Haskell so I just did a bunch of pattern matching instead. It doesn't allow for String variable names, but this is fine for now. I also can't really think of an elegant way to allow for operator precedence using this system, but that is also fine. [code] data Expr = Var Char | Expr :& Expr | Expr :| Expr | Not Expr | Expr :-> Expr | Expr buildup :: [Either Expr Char] -> [Either Expr Char] buildup (Left e1:Right '&':Left e2:t) = Left(e1 :& e2):t buildup (Left e1:Right 'v':Left e2:t) = Left(e1 :| e2):t buildup (Right '~':Left e1:t) = Left(Not e1):t buildup (Right '(':Left e1:Right ')':t) = Left e1:t buildup (Left e1: Right '-':Right '>':Left e2:t) = Left(e1 :-> e2):t buildup (Right c:t) = case elem c ['A'..'Z'] of True -> Left(Var c):t False -> Right c:buildup t buildup (h:t) = h:buildup t buildup [] = [] str2ex :: String -> Maybe Expr str2ex s = do [Left e] <- Just $ (reptilsame buildup.map Right .concat.words) s return e reptilsame :: (Eq a)=>(a->a)->a->a reptilsame f s = case f s == s of True -> s False -> reptilsame f $ f s [/code]
Welp, I'm getting there. Still plenty to be done before rebuilding my Ludum Dare game, but it's starting to take shape in what little time I've had for it recently. Up next, integrating UI and Text back into the new architecture. [video=youtube;DBog8Q4I0-Q]https://www.youtube.com/watch?v=DBog8Q4I0-Q[/video] bonus [video=youtube;0jMQ3X1kzHo]https://www.youtube.com/watch?v=0jMQ3X1kzHo[/video]
[QUOTE=FlakTheMighty;50424706]Because I'm bored and I didn't know what else to do. [img]http://i.imgur.com/gRVDqle.png[/img] Very [img]https://facepunch.com/fp/ratings/box.png[/img] but whatever[/QUOTE] I realized I accidentally made that with Windows Forms instead of WPF. [B]FUCK[/B] Oh well, it's like three seconds to switch it all up and redo it as WPF.
Does anyone know of a good weather api? Would be nice to not have to sign up for it. Want my okcupid bot to detect the weather on closest weekend to determine some messages too. Oh its sunny? Lets sound out messages for hikes or outdoors stuff. Also I got it so it will parse the profile summary looking for "my name is (/w+)". Need to do more advanced checking to check for multiple string cases for when their name could appear.You can see in the picture below it successfully got the persons real name from the profile. [img]http://puu.sh/paRfd/9a6da58a47.png[/img] This is lots of fun!
[QUOTE=TH3_L33T;50425583]Does anyone know of a good weather api? Would be nice to not have to sign up for it. Want my okcupid bot to detect the weather on closest weekend to determine some messages too. Oh its sunny? Lets sound out messages for hikes or outdoors stuff. Also I got it so it will parse the profile summary looking for "my name is (/w+)". Need to do more advanced checking to check for multiple string cases for when their name could appear.[/QUOTE] you better make an auto hike scheduling thing too fam dont want to drown in all that pussy unprepared
[quote][img]http://i.imgur.com/fJxigXD.jpg[/img][/quote] After trying to get this to work for 2 days I finally got it to work. Was because world to screen was fucking up so I used screenposition. Its a text esp. Displays the players names. I just hooked paint traverse then drew text by looping through the players by doing this: [code] for (int i = 0; i < entitylist->GetHighestEntityIndex(); i++) { .... [/code] then getting their pos by doing this: [code] Vector vectorPos = pBaseEntity->GetAbsOrigin(); [/code] Then I used screenposition to convert a point to the screen. [code] g_pDebugOverlay->ScreenPosition(vectorPos, vectorScreen) [/code] then I did some math to position and orientate it right then I got the players name by doing this [code] player_info_t pInfo; ... engine->GetPlayerInfo(i, &pInfo); [/code] Then drew the text by doing this [code] if (pLocalPlayer->team() != pBaseEntity->team() && pBaseEntity->health() >= 1) DrawString(x, y, Color(255, 255, 0, 255), 15, pInfo.name); [/code] [editline]30th May 2016[/editline] [QUOTE=Wingz;50425662]you better make an auto hike scheduling thing too fam dont want to drown in all that pussy unprepared[/QUOTE] btw drowning in pussy is my job not yours sorry
[QUOTE=TH3_L33T;50425583]Does anyone know of a good weather api? Would be nice to not have to sign up for it. Want my okcupid bot to detect the weather on closest weekend to determine some messages too. Oh its sunny? Lets sound out messages for hikes or outdoors stuff. Also I got it so it will parse the profile summary looking for "my name is (/w+)". Need to do more advanced checking to check for multiple string cases for when their name could appear.You can see in the picture below it successfully got the persons real name from the profile. [img]http://puu.sh/paRfd/9a6da58a47.png[/img] This is lots of fun![/QUOTE] The fact that you're able to pull their name when they aren't visible to anyone including yourself is kinda creepy.
[QUOTE=FlakTheMighty;50426133]The fact that you're able to pull their name when they aren't visible to anyone including yourself is kinda creepy.[/QUOTE] I pull their name only when they provide it in a certain format, they have to provide it somewhere in their profile for me to find. Searching for key things that can be used inside the messages so messages can be customized per person basically.
The editor gets new camera movement! [quote][vid]https://dl.dropboxusercontent.com/u/357850863/2016-05-30%2023-42-08.mp4[/vid][/quote] Sorry about the crap performance, thought it would be a double whammy to show the new controls and that it runs under linux properly :v: I stopped using lookAt for camera view matrices, and the player camera and editor camera are now operating on rotations instead of manually updating view matrices, which was really hacky. As you can see, in non-locked mouse movement the mouse is looped - similar to unity3d -, i have a toggle that isn't exposed yet that has normal locked mouse for those who want it. The player is still not in a position (lol) where it's really presentable, i'm still fighting bullet physics.
[QUOTE=TH3_L33T;50426156]I pull their name only when they provide it in a certain format, they have to provide it somewhere in their profile for me to find. Searching for key things that can be used inside the messages so messages can be customized per person basically.[/QUOTE] Is this some proof of concept kind of thing or is it you actually trying to find someone to date? :v:
[QUOTE=FlakTheMighty;50425473]I realized I accidentally made that with Windows Forms instead of WPF. [B]FUCK[/B] Oh well, it's like three seconds to switch it all up and redo it as WPF.[/QUOTE] Now make it find the closest new-FP palette colour for each pixel :v:
[QUOTE=DarKSunrise;50423056]still better than the black box that lastpass was[/QUOTE] What? I use LastPass so if they're not trustworthy I'd like to know.
[QUOTE=SamPerson123;50424921] [code] data Expr = Var Char | Expr :& Expr | Expr :| Expr | Not Expr | Expr :-> Expr | Expr buildup :: [Either Expr Char] -> [Either Expr Char] buildup (Left e1:Right '&':Left e2:t) = Left(e1 :& e2):t buildup (Left e1:Right 'v':Left e2:t) = Left(e1 :| e2):t buildup (Right '~':Left e1:t) = Left(Not e1):t buildup (Right '(':Left e1:Right ')':t) = Left e1:t buildup (Left e1: Right '-':Right '>':Left e2:t) = Left(e1 :-> e2):t buildup (Right c:t) = case elem c ['A'..'Z'] of True -> Left(Var c):t False -> Right c:buildup t buildup (h:t) = h:buildup t buildup [] = [] str2ex :: String -> Maybe Expr str2ex s = do [Left e] <- Just $ (reptilsame buildup.map Right .concat.words) s return e reptilsame :: (Eq a)=>(a->a)->a->a reptilsame f s = case f s == s of True -> s False -> reptilsame f $ f s [/code][/QUOTE] Haskell! Awesome! The parsec library (or megaparsec, the newer and better one) already have built in facilities that you can use to just specify your operators, their precedence and the function that converts into an AST and it will give you a parser that will handle everything for you.
[QUOTE=roastchicken;50428220]What? I use LastPass so if they're not trustworthy I'd like to know.[/QUOTE] they were recently acquired for $110 million by logmein, who are kind of shady, which is why i switched
[QUOTE=DarKSunrise;50428647]they were recently acquired for $110 million by logmein, who are kind of shady, which is why i switched[/QUOTE] Yeah I saw news about that, I'm still not sure how I feel about it. I don't really like LogMeIn as a company, but unless they're reducing the security of their password storage then I don't really mind.
[QUOTE=roastchicken;50428687]Yeah I saw news about that, I'm still not sure how I feel about it. I don't really like LogMeIn as a company, but unless they're reducing the security of their password storage then I don't really mind.[/QUOTE] that's the thing, there's no way to know since the whole thing is closed source
[QUOTE=TH3_L33T;50416408]So here are all my messages that I have added that can be selected randomly, with some being for certain cases. I need to make it so the ones that get added for special cases have a much higher chance of being selected. [code] MessageList.Add("Quick! the most recent movie you have watched and what you thought of it!"); MessageList.Add(string.Format("Having a good {0}?", DateTime.Now.DayOfWeek.ToString())); MessageList.Add(string.Format("If you could live anywhere, where would you choose? Or would you still stay in {0}", prof.Location)); MessageList.Add("If you had to survive on a desert island for 5 years and you could only bring one thing, what would you bring?: 1. Machete 2. A book (what book?) 3. A volleyball 4. Hatchet"); MessageList.Add(string.Format("Hey! What are you doing right this second! Other than reading my message!")); MessageList.Add("I have been running out of movies to watch on Netflix. Would you have any good suggestions? How about your favorite?"); MessageList.Add("My friend says pickles with grilled cheese sandwiches are disgusting. WHO DOESN'T LIKE PICKLES ON GRILLED CHEESE!?"); if (prof.IsOnline) { if(DateTime.Now.Hour >= 0 && DateTime.Now.Hour <= 4) { MessageList.Add("So what are you doing on so late... or should I say early? Do you usually stay up this late?"); } } Random rand = new Random(); int selected = rand.Next(1, 1000); if (selected > 103 && selected < 112) { MessageList.Add(string.Format("What kind of name is {0}", prof.Name)); } [/code] The last one is a rare case that Janooba wanted me to add, I was okay with it since it was so rare. If anyone else has any fun messages they think they could work let me know! Here are all the profile settings I currently have that I can inject into the messages. [code] public string Name { get; set; } public Uri ProfilePage { get; set; } public int Age { get; set; } public string Location { get; set; } public int MatchPercent { get; set; } public List<Orientation> Orientation { get; set; } public RelationshipStatus RelationshipStatus { get; set; } public BodyType BodyType { get; set; } public List<Ethnicity> Ethnicity { get; set; } public string Height { get; set; } public Smoking Smoking { get; set; } public Sex Sex { get; set; } public bool IsOnline { get; set; } [/code] I have gotten a lot more visitors with this. the program doesn't send to many messages but all the conditions are being met properly so thats good. I will try adding in some info of how many messages get sent vs how many get skipped over.[/QUOTE] make it scan their profile for keywords and generate a message based on what it finds.
Don't have much time to develop the mobile game so it's progressing very slowly, it doesn't help that I'm always trying to learn new things, even if they don't actually make the game move forward :v: Like taking the time to learn more about depth maps and trying to create a fast DOF shader. [img]https://i.imgur.com/f0YIPZh.jpg[/img]
[video=youtube;I1O5PV3pzNs]http://www.youtube.com/watch?v=I1O5PV3pzNs[/video] Started working on some more realistic fire dynamics (see near end of video) in the mean time, you can see in the video me just playing around and i got it to where fire would kinda pause and i could sculpt the fire. Very interesting stuff i messed with over the past weekend. I think you guys will like this. However with my mccormack simulations, my realistic fire dynamics creates some super weird errors that pop up around the box that you can see in the video. I think i'll lower the time that the fire is alive and perhaps stop that. I also think that once i have actual emitters a lot of my problems will disappear. I'll also be tackling the fire banding issue over the next few months and get that out of the way so i can focus on building out the WYSIWYG editor. Also for some reason as turbulence increases (exponentially for some reason, will have to find the error in the code for that) the fire stays alive no matter what, so i believe to compensate or that, i'll both fix the coding error (if there is one) and then just add an amount of drag to the air so that the fire can die off gracefully.
Continuing my custom physics engine for college [vid]https://zippy.gfycat.com/ShockedContentCorydorascatfish.webm[/vid] Added an editor for convex colliders so now it's p much useable Nvm the slight penetration at the end, that's fixed already [editline]31st May 2016[/editline] Bonus vid [vid]https://zippy.gfycat.com/HeartfeltFrayedGodwit.webm[/vid]
I've been working on this, using two buffers to create a feedback loop shader [media]http://www.youtube.com/watch?v=0mICiaETdwo[/media]
[img]http://i.imgur.com/W01vou0.png[/img] It's better now. [img]http://i.imgur.com/5fE04LJ.png[/img] Much better.
I am working on a project for the software-engineering course I am taking. I am making my own text editor that can edit .txt files and .java files. I am trying to make it have syntax-highlighting and line numbering. Tomorrow's the deadline and I don't know if I can make it in time; other than the implementation, I have to also write all of the documentation, as well as the UML diagrams and I have to specify the software engineering phases like the requirements, the analysis and design.
Fixed the AI going ultra far north, fixed a lot of performance issues (memory usage was about 1gb, now it's 200mb), and added job types for the AI to do. Also added 'roads', which are the better version of trails. The AI will still tend towards directions with food, but that's because they don't really care about anything until they've built a house (and homes have a minimum spacing requirement). Also, I drew some shitty temporary sprites for peeps and homes. I rewrote a bunch old code related to stuff with positions, colors, etc, to use some base classes, so I needed some placeholders. [video=youtube;P3Xoi5cVhtQ]https://www.youtube.com/watch?v=P3Xoi5cVhtQ[/video] Right now there's just two: the old foraging job, and the new builder job. Builders only build roads for now, though they'll probably build buildings in the future, too. Trails can still be made by everyone, but they require more 'steps' on a tile now. Trails can overwrite roads with heavy use, simulating road damage/decay (exaggerated for the video). The builders aren't very smart yet - they just pick random homes and build roads in between them at the moment. They don't coordinate (yet), so you'll see some silly/inefficient parallel roads. In the future, I kind of want them to go to some special building where they actually plan out building roads, and would also upgrade well-used trails to roads.
[QUOTE=FlakTheMighty;50427549]Is this some proof of concept kind of thing or is it you actually trying to find someone to date? :v:[/QUOTE] Lets say a little bit of both... I am not against it. [sp]&#7477;'&#7504; &#738;&#7506; &#7595;&#7506;&#7600;&#7497;&#7595;&#696;[/sp] [editline]edit[/editline] also I have weather implemented now! This is using the yahoo weather rest api if anyone is interested. Able to get the forecast for the week so can do many fun things! [img]http://puu.sh/pb1Pn/b9a0e5afd7.png[/img] I actually need to do a revamp of the "should send a message" check. Trying to come up with some scoring system to determine if I should send a message to them instead of doing specific checks.
Sorry, you need to Log In to post a reply to this thread.