Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > >

Notices

Programming Discussions about computer programming

Reply
 
Thread Tools Display Modes
Old 06-18-2017, 12:46 AM   #28526
OmgGlutten!
veteran
 
Join Date: Aug 2016
Posts: 2,254
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by jmakin View Post
You can learn every sorting and search algorithm in an afternoon if you wanted.
Is there a good list of these somewhere online?
OmgGlutten! is offline   Reply With Quote
Old 06-18-2017, 02:15 AM   #28527
leavesofliberty
self-banned
 
Join Date: Jul 2010
Location: probably busto
Posts: 6,146
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by maxtower View Post
Here's some tips that have served me well in interviews.
1. Read the problem and think to yourself, how would I implement this with a tree.
2. If you read the problem and it seems like it will be awkward to implement with a loop, you should probably try to tackle it with recursion.
3. Be comfortable doing both of those things.
+1.
leavesofliberty is offline   Reply With Quote
Old 06-18-2017, 02:22 AM   #28528
OmgGlutten!
veteran
 
Join Date: Aug 2016
Posts: 2,254
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

In commercial projects that use a Rails API + JS frontend (react/angular/whatever) are there usually two completely separate projects or are they combined and compiled together into one project?
OmgGlutten! is offline   Reply With Quote
Old 06-18-2017, 06:06 AM   #28529
jmakin
 
jmakin's Avatar
 
Join Date: Jan 2008
Location: Streaming
Posts: 25,227
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by OmgGlutten! View Post
Is there a good list of these somewhere online?
http://bigocheatsheet.com

I refer to that site a lot, lol. The big hitters are on there.
jmakin is offline   Reply With Quote
Old 06-18-2017, 09:53 AM   #28530
Mihkel05
Pooh-Bah
 
Join Date: Jul 2015
Posts: 4,051
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by leavesofliberty View Post
Use a photoshop that at least has layering, such as GIMP. Take advantage of layers. Also spend like 5 hours on YouTube. If you can't afford that, then just outsource it and pay for the results using text sprites to fill in everything and figure-out the game-play so you don't slow down production. You can also inspect other people's sprites for free giving you an idea about what makes a good sprite.

You might just be better off hiring someone. If it were me, I'd make some text-sprites to fill-in and get the game mechanics down, and then tabulate how much it's going to cost for me to learn and do it myself, the long term benefits, and whether or not I want to be the jack of all trades, or start outsourcing some of the art. I think art that's "good enough" can be learned through time, but there are undoubtedly natural artists who are starving out there.
Quote:
Originally Posted by da_fume View Post
There are free resources like that also to use as placeholders, or just to use in general if that's as far as you're concerned with going.
This is pro.
Mihkel05 is offline   Reply With Quote
Old 06-18-2017, 12:25 PM   #28531
PJo336
THRILLHOUSE!
 
PJo336's Avatar
 
Join Date: Mar 2007
Posts: 21,340
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by OmgGlutten! View Post
In commercial projects that use a Rails API + JS frontend (react/angular/whatever) are there usually two completely separate projects or are they combined and compiled together into one project?
I would imagine theyre more often separate, but thats probably more due to having rails APIs created in the past and "upgrading" to react or angular. My company is separate.

Ive done both ways in personal projects. The react-rails gem is pretty damn simple to just use the same project
PJo336 is offline   Reply With Quote
Old 06-18-2017, 12:36 PM   #28532
Larry Legend
Celtic Pride
 
Larry Legend's Avatar
 
Join Date: Jul 2009
Location: Kyrie's earth
Posts: 41,338
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I think the recommendation I've read is to statically host react front ends.
Larry Legend is offline   Reply With Quote
Old 06-18-2017, 02:31 PM   #28533
jmakin
 
jmakin's Avatar
 
Join Date: Jan 2008
Location: Streaming
Posts: 25,227
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Ok I did something really dumb and need help.

I changed my registry entries for my default installation path to E:/Program Files. I knew this could cause problems so I made a backup of my registry

Now all exe files will not work. I get error: device not ready. I cannot even merge with my .reg file. I tried backing up and reinstalling but I cannot do that either. Am i ****ed? I am freaking out mildly
jmakin is offline   Reply With Quote
Old 06-18-2017, 02:49 PM   #28534
_dave_
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK (or what remains of it)
Posts: 12,342
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

If you can access it, try a system restore?


You might be lucky and able to find an automatic registry backup, try:

https://www.eightforums.com/general-...s-8-1-x64.html
_dave_ is online now   Reply With Quote
Old 06-18-2017, 02:51 PM   #28535
jmakin
 
jmakin's Avatar
 
Join Date: Jan 2008
Location: Streaming
Posts: 25,227
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

All the registry tools are .exe files and I can't run them
jmakin is offline   Reply With Quote
Old 06-18-2017, 03:12 PM   #28536
jmakin
 
jmakin's Avatar
 
Join Date: Jan 2008
Location: Streaming
Posts: 25,227
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I think I fixed it. had to do something really goofy. jesus christ that was scary. I'm such a moron

this kind of stuff happens every time I try to start a project, I start tinkering around with **** I shouldn't and I break stuff.
jmakin is offline   Reply With Quote
Old 06-18-2017, 03:30 PM   #28537
Larry Legend
Celtic Pride
 
Larry Legend's Avatar
 
Join Date: Jul 2009
Location: Kyrie's earth
Posts: 41,338
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Got everything with cloudfront working and all redirects and everything plus SSL.

Really didn't appreciate Amazon's aggressive insistence to migrate your DNS to them, seems like an inappropriate thing for setup docs.
Larry Legend is offline   Reply With Quote
Old 06-19-2017, 12:16 AM   #28538
gaming_mouse
Carpal \'Tunnel
 
gaming_mouse's Avatar
 
Join Date: Oct 2004
Location: taking notes on u (see profile)
Posts: 13,756
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by OmgGlutten! View Post
In commercial projects that use a Rails API + JS frontend (react/angular/whatever) are there usually two completely separate projects or are they combined and compiled together into one project?
they should be separate
gaming_mouse is offline   Reply With Quote
Old 06-19-2017, 02:48 PM   #28539
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: Why didn't I use Clojure instead?
Posts: 21,796
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I got an accounted hacked into. It's an old account I haven't used for years with an old "throwaway" password.

It was a free dating site, so there was a ton of messages since this hacker sprayed and prayed or something. I log in and everything is the same except my picture. Sent off a bunch of messages telling them to ignore the idiot and be safe. Scary world out there, you know?

Now I'm wondering what other shenanigans are being done with some email / password combo.
daveT is offline   Reply With Quote
Old 06-19-2017, 03:37 PM   #28540
da_fume
veteran
 
da_fume's Avatar
 
Join Date: May 2007
Posts: 3,026
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Such a ****ty and annoying thing to have to deal with. https://haveibeenpwned.com/ is a good resource pertaining to that.
da_fume is offline   Reply With Quote
Old 06-19-2017, 07:19 PM   #28541
jmakin
 
jmakin's Avatar
 
Join Date: Jan 2008
Location: Streaming
Posts: 25,227
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Wow i'm really diggin c#
jmakin is offline   Reply With Quote
Old 06-19-2017, 07:48 PM   #28542
maxtower
Carpal \'Tunnel
 
maxtower's Avatar
 
Join Date: Sep 2005
Posts: 7,744
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by jmakin View Post
Wow i'm really diggin c#
You're about 10 years late. hahah
maxtower is offline   Reply With Quote
Old 06-19-2017, 08:23 PM   #28543
jmakin
 
jmakin's Avatar
 
Join Date: Jan 2008
Location: Streaming
Posts: 25,227
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I've done most of my programming
in java
jmakin is offline   Reply With Quote
Old 06-19-2017, 09:11 PM   #28544
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: Why didn't I use Clojure instead?
Posts: 21,796
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by da_fume View Post
Such a ****ty and annoying thing to have to deal with. https://haveibeenpwned.com/ is a good resource pertaining to that.
It's hard to say, really. I'm sure I reused passwords with little variation back in the old days. I didn't know any better. *shrug*
daveT is offline   Reply With Quote
Old 06-19-2017, 09:14 PM   #28545
ChrisV
Carpal \'Tunnel
 
ChrisV's Avatar
 
Join Date: Jul 2004
Location: Adelaide, Australia
Posts: 34,582
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Yeah, C# is like Java with all the stupid decisions fixed. The opposite happened to me, I've spent years writing C# and I recently had to take up Java. Spent my time cursing its limitations and little annoyances (no auto properties, are you kidding me?)
ChrisV is offline   Reply With Quote
Old 06-19-2017, 10:09 PM   #28546
RustyBrooks
Carpal \'Tunnel
 
RustyBrooks's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 23,201
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I have not programmed in C# extensively, just enough to see what it was like. I liked some aspects of C# itself - like you say, sort of Java-y with the ****tiest boilerplate parts removed.

I did not like the .NET part though. And frankly the windows-only was kind of a problem. Mono existed even back then but it was... not great. Maybe it's OK now. Any windows only programming language is a non-starter for me though.
RustyBrooks is offline   Reply With Quote
Old 06-19-2017, 10:26 PM   #28547
ChrisV
Carpal \'Tunnel
 
ChrisV's Avatar
 
Join Date: Jul 2004
Location: Adelaide, Australia
Posts: 34,582
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by RustyBrooks View Post
I have not programmed in C# extensively, just enough to see what it was like. I liked some aspects of C# itself - like you say, sort of Java-y with the ****tiest boilerplate parts removed.

I did not like the .NET part though. And frankly the windows-only was kind of a problem. Mono existed even back then but it was... not great. Maybe it's OK now. Any windows only programming language is a non-starter for me though.
There's .NET Core now. Official Microsoft product. Slightly stripped down version of the .NET Framework (missing Windows-specific stuff like Active Directory) that runs on OSX and various Linux distros.
ChrisV is offline   Reply With Quote
Old 06-19-2017, 10:44 PM   #28548
whb
centurion
 
Join Date: May 2011
Posts: 165
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by Larry Legend View Post
Finished the bootcamp today.

Going to do a long writeup on my blog about it, but it was a super positive experience.

Do it! I've been waiting for others to start cropping up. I finished mine a couple weeks ago, and I've been studying like a madman. I'm beginning to notice that I am taking on too many subjects and projects at once and not progressing efficiently. Having said that I an extremely glad to have done the bootcamp.
whb is offline   Reply With Quote
Old 06-19-2017, 11:43 PM   #28549
PJo336
THRILLHOUSE!
 
PJo336's Avatar
 
Join Date: Mar 2007
Posts: 21,340
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

So I ask this question knowing what im doing isnt ideal, but Im working on a project with a few devs. We have one master repository foo, which then has diff modules for each project, ie foo-api, foo-web, foo-ios, etc. Works fine for keeping history in line between projects and what not. But what I want is a way to deploy each project individually and potentially have some way to tag releases for each and keep some form of history by release.

Easiest is obviously a diff repo for each module, which is what we started with, but then things like committing changes to multiple projects sucks and tagging issues that effect 2 diff projects sucks. Again Im aware this is probably the easiest, but its not really what I want.

Anyone know a different solution? Ive played around with git submodules, but it adds a lot of complexity I and other devs dont really want, stuff like having to commit to the submodule, then commit again in the parent repo. Ew.
PJo336 is offline   Reply With Quote
Old 06-19-2017, 11:46 PM   #28550
Grue
Pooh-Bah
 
Grue's Avatar
 
Join Date: Mar 2004
Location: It is pitch black.
Posts: 4,964
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

**** submodules.
Grue is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Forum Jump


All times are GMT -4. The time now is 10:46 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 2008-2017, Two Plus Two Interactive
 
 
Poker Players - Streaming Live Online