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 09-11-2016, 01:19 AM   #25226
nuclear500
Carpal \'Tunnel
 
nuclear500's Avatar
 
Join Date: Aug 2004
Location: Madison, WI
Posts: 10,487
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Anybody have recs on a free or at least very cheap PowerShell GUI IDE?

Having to manually code all the drawing commands to make forms etc is so cumbersome and time wasting.
nuclear500 is offline   Reply With Quote
Old 09-11-2016, 01:20 AM   #25227
Loki
binary duo
 
Loki's Avatar
 
Join Date: Nov 2015
Location: between the sheets
Posts: 12,795
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

So I hear spring is adding some sort of reactive programming that'll make it more scalable, moving away from threads so that it's more like node. How's about that?
Loki is offline   Reply With Quote
Old 09-11-2016, 06:58 AM   #25228
adios
Carpal \'Tunnel
 
Join Date: Sep 2002
Location: Russian Troll
Posts: 21,507
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

@craggoo - candybar is providing good advice in my view.

One thought I had is definitely find the folks that can grant you access and ask them to run grep for you (whatever else you need for them to do) and pass along the results. Do it in a memo(s) and cc your manager. Explain the assignment and why you want to proceed in this direction. Certainly reiterate the risks involved in doing an incomplete analysis. I wonder if your manager is giving this assignment to see how you handle it to see if you should be promoted.

Quote:
Originally Posted by candybar View Post
Then do research, find out what you need and ask for access? Why is this unusual? I'm not here to tell you how to do your job. You're the one who was trying to say you have some kind of unusually terrible situation on your hands - why is it that I have to play 20 questions to figure out what's bad if anything is bad at all? Remember, you started out with how it's just the worst thing in the world that you have deal with duplicate fields in different tables. Maybe point out something that is actually unusually bad? Because not a single thing you've mentioned qualifies. People build complex software, people move around and the knowledge of how things came to be gets lost. Sometimes documentation is sparse to non-existent, people who you feel like should know don't seem to know. Systems that you feel will be helpful in troubleshooting aren't accessible and things you don't even know exist are responsible for the problem you're dealing with. There's nothing unusual about this and it's quite hard to believe given what you've mentioned so far that you're dealing with a situation that is actually unusually difficult. You mentioned working with terrible coworkers - how do they get by?
adios is offline   Reply With Quote
Old 09-11-2016, 09:34 AM   #25229
jjshabado
Carpal Tunnel
 
jjshabado's Avatar
 
Join Date: Jul 2006
Posts: 22,555
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I've never worked for a really big company but the idea of sending memos, asking someone to grep through code for you, setting up meetings, etc seems crazy to me for a case like this.

But I also have never worked for a place with a really ****ed up data model (not perfect certainly - but not with many obvious duplications and deprecations and no clear team owning the data I want to use).

And if someone on my team was spending hours grepping through code instead of just talking to someone I'd generally be irritated.
jjshabado is offline   Reply With Quote
Old 09-11-2016, 09:41 AM   #25230
ChrisV
Carpal \'Tunnel
 
ChrisV's Avatar
 
Join Date: Jul 2004
Location: Adelaide, Australia
Posts: 40,285
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by jjshabado View Post
I've never worked for a really big company but the idea of sending memos, asking someone to grep through code for you, setting up meetings, etc seems crazy to me for a case like this.

But I also have never worked for a place with a really ****ed up data model (not perfect certainly - but not with many obvious duplications and deprecations and no clear team owning the data I want to use).

And if someone on my team was spending hours grepping through code instead of just talking to someone I'd generally be irritated.
Yeah this thread is starting to remind me of the Monty Python Yorkshiremen sketch. ("A data model with duplications and no clear owner? HAH! LUXURY! When I were a lad our data model was composed of punch cards duct taped to the stomachs of ravenous wolves!").
ChrisV is offline   Reply With Quote
Old 09-11-2016, 09:51 AM   #25231
jjshabado
Carpal Tunnel
 
jjshabado's Avatar
 
Join Date: Jul 2006
Posts: 22,555
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by ChrisV View Post
Yeah this thread is starting to remind me of the Monty Python Yorkshiremen sketch. ("A data model with duplications and no clear owner? HAH! LUXURY! When I were a lad our data model was composed of punch cards duct taped to the stomachs of ravenous wolves!").


This is what brought me back to posting ITT. Just genuinely kind of baffled by a lot of what's been posted here the last week or so.
jjshabado is offline   Reply With Quote
Old 09-11-2016, 12:52 PM   #25232
Loki
binary duo
 
Loki's Avatar
 
Join Date: Nov 2015
Location: between the sheets
Posts: 12,795
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

setting up a raspi as a vpn server, trying to use cron to schedule a script to run every night to update, couldn't figure out why i couldn't test the script

yeah, sometimes things need to be executable
Loki is offline   Reply With Quote
Old 09-11-2016, 12:55 PM   #25233
Craggoo
culled
 
Craggoo's Avatar
 
Join Date: Sep 2006
Location: R.I.P. ItzPenzoo 12-09-11
Posts: 12,533
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by adios View Post
@craggoo - candybar is providing good advice in my view.

One thought I had is definitely find the folks that can grant you access and ask them to run grep for you (whatever else you need for them to do) and pass along the results. Do it in a memo(s) and cc your manager. Explain the assignment and why you want to proceed in this direction. Certainly reiterate the risks involved in doing an incomplete analysis. I wonder if your manager is giving this assignment to see how you handle it to see if you should be promoted.
This is not a current task I have. This was my first 'official' task that I was assigned before I knew how things fit together. Those deprecated columns I was telling you about... they still exist. We are currently in the process of transitioning our PHP backend codebase over into Go. The person who has done the most work on that... anytime he starts on something new he'll generally shoot out a message in dev channel asking "the following columns in table x don't seem to do anything. Before I nuke them does anyone have any objections?" Usually, it's only a couple columns but it has been as high as half the columns in a table.
Craggoo is offline   Reply With Quote
Old 09-11-2016, 08:37 PM   #25234
suzzer99
Save the Cheerleader, Save the World
 
suzzer99's Avatar
 
Join Date: Nov 2005
Location: on top of the bell curve
Posts: 92,150
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

When you read about an otherwise seemingly sane chunky ginger on a multi-state West Coast killing spree - it will be due to Chrome's maddeningly annoying ****ty-ass non-existent spellcheck suggestions.



Or you're one easily swapped vowel off? NO AUTO-CORRECT FOR YOU!

Google makes approximately a $billion/hour, 10k pure geniuses who can solve the most insanely difficult algorithms in a white-board, but they can't put one flunky on improving spellcheck.

The funny thing is to find out how to spell it I just have to go type the word into google and it figures it out immediately o_O

Last edited by suzzer99; 09-11-2016 at 08:43 PM.
suzzer99 is offline   Reply With Quote
Old 09-11-2016, 08:46 PM   #25235
Loki
binary duo
 
Loki's Avatar
 
Join Date: Nov 2015
Location: between the sheets
Posts: 12,795
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

somehow lost the ability to vnc into my pi after turning on openvpn. I'm SSHed in, but i need to copy a file from the pi to my mbp and i'm having absolutely no luck. Whole guide was written two years ago for a version of the OS that doesn't exist anymore. Has been lots of trouble getting to nearly the end, but ffs is copying a file via command line over a network a pita if you're not experienced. SCP just refuses to work
Loki is offline   Reply With Quote
Old 09-11-2016, 09:06 PM   #25236
RustyBrooks
Carpal \'Tunnel
 
RustyBrooks's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 24,378
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

If ssh works, how the hells does scp not work?

Can you scp from the pi to your MBP (or to another place you can get it from?)

Also don't forget the whole filesystem is on a SD card that you can just remove from the pi and mount in your MBP.
RustyBrooks is offline   Reply With Quote
Old 09-11-2016, 09:25 PM   #25237
Loki
binary duo
 
Loki's Avatar
 
Join Date: Nov 2015
Location: between the sheets
Posts: 12,795
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

tried both ways and it doesnt work

incoming ssh requests to my mbp appear to be blocked

suppose i could mount the ssd card

edit

well, i tried that. can either have a mouse or keyboard but not both while using the card reader i have. Looked like nothing but rpi boot materials in there, wasn't the normal file structure as when it's up and running.

maybe connect a thumb drive and copy that way? i dunno, running out of patience

Last edited by Loki; 09-11-2016 at 09:37 PM.
Loki is offline   Reply With Quote
Old 09-11-2016, 09:42 PM   #25238
_dave_
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK (or what remains of it)
Posts: 12,952
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

start a web server on the Pi or an FTP server or something and copy your file in there
_dave_ is offline   Reply With Quote
Old 09-11-2016, 09:54 PM   #25239
RustyBrooks
Carpal \'Tunnel
 
RustyBrooks's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 24,378
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Web server idea not bad.

To mount the Pi on your MBP you need to have EXT2 support. It's been a while since I've done it but here's an example:
http://blog.gbaman.info/?p=328

If you can ssh from A to B but not scp from A to B then I am pretty confused. Apparently it's a thing though. More info here:
http://superuser.com/questions/39535...k-but-ssh-does
RustyBrooks is offline   Reply With Quote
Old 09-12-2016, 01:01 AM   #25240
candybar
old hand
 
Join Date: Aug 2011
Posts: 1,980
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by adios View Post
@craggoo - candybar is providing good advice in my view.
Haha, thanks!

What I'm hoping that he can change is the recurring attitude here:

Quote:
Originally Posted by Craggoo View Post
Sometimes I get back what I expect and sometimes I don't.
Quote:
you're almost forced to code in a very basic manner.
Quote:
Originally Posted by Craggoo View Post
What I meant is that I have no choice who I work with within the company.
Quote:
You keep seem to suggesting that I somehow have control who I work with within an organization.
Quote:
Originally Posted by Craggoo View Post
If I need that column data I might try to grab it from the incorrect table. The only time I would find out 'you should be getting that value from table y not table x' is if/when someone in the know tells me or I have to deal with a bug report related to that.
Quote:
Originally Posted by Craggoo View Post
Problem is no one wanted to tell me (or knew) where/which bits of legacy code did what.
Quote:
Literally at times I would go and ask someone "I've been tasked with migrating functionality x over. Do you know where that currently lives?" And the answer was usually no or a "you might find it in repository x".
Quote:
Originally Posted by Craggoo View Post
This is a situation where I have no idea where the code is I'm supposed to migrate. I don't know which file it's in. I don't even know which repo its in. And no one I ask knows either. Worst is that the people who you would expect know what I'm looking for are in the dark as well.
Quote:
Nobody knows which ones because nobody knows where the legacy code is that reads/writes to the correct table. It's literally trial and error to find out which is the right table. I gave up after a while trying to locate this legacy crap I was tasked to migrate.
Quote:
Originally Posted by Craggoo View Post
The basis of your argument is I have access to all the company repos. I do not. Any repo I need (or want) access to has to be granted by one of the handful of people that have the permissions to do that. The code I'm looking for isn't necessarily in any of the repos I have access to.
It's like nothing is knowable, everything is controlled by somebody else and giving up is the only way. I guess that's not the worst way to live and there are bigger problems in the world but:

Quote:
Originally Posted by Craggoo View Post
I don't want to work with mature programmers that do all sorts of terrible things because they never learned the good way to do them.
In my experience, becoming a good, effective programmer is directly correlated with having the exact opposite attitude. Everything is knowable, everything can be controlled and you never give up.
candybar is offline   Reply With Quote
Old 09-12-2016, 02:09 AM   #25241
greg nice
Carpal \'Tunnel
 
greg nice's Avatar
 
Join Date: Aug 2004
Posts: 9,466
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

quick question:

i'm looking for an open source frontend for a SaaS app. something that just handles basic user management stuff like login, and having user's own dashboard, acct management options, etc, where i can then just plug in my actual SaaS value in behind it. anyone know of something?
greg nice is offline   Reply With Quote
Old 09-12-2016, 02:10 AM   #25242
goofyballer
Carpal \'Tunnel
 
goofyballer's Avatar
 
Join Date: Jun 2005
Posts: 66,896
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by suzzer99 View Post
When you read about an otherwise seemingly sane chunky ginger on a multi-state West Coast killing spree - it will be due to Chrome's maddeningly annoying ****ty-ass non-existent spellcheck suggestions.



Or you're one easily swapped vowel off? NO AUTO-CORRECT FOR YOU!

Google makes approximately a $billion/hour, 10k pure geniuses who can solve the most insanely difficult algorithms in a white-board, but they can't put one flunky on improving spellcheck.

The funny thing is to find out how to spell it I just have to go type the word into google and it figures it out immediately o_O
I hate Chrome's auto-complete too. We use JIRA at work, where ticket URLs are in the form of something.something.net/something/PROJECT-1234. When I want to open a particular ticket my instinct is to type PROJECT- and hopefully get an autocomplete link to an existing ticket where I can just change the number on the end. My browser history is full of visits to these URLs.

So, I type PROJECT- into the bar and what do I get? ****ing github URLs, like all of it, because they also have project- (but lowercase) in the name, and also some stuff on Confluence which I almost never even use. ****ing worthless! Firefox is way better at this.
goofyballer is offline   Reply With Quote
Old 09-12-2016, 11:47 AM   #25243
Grue
Pooh-Bah
 
Grue's Avatar
 
Join Date: Mar 2004
Location: It is pitch black.
Posts: 5,638
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

man I wonder how many millions of man hours have been wasted specifically fixing bugs raised by the fact that number zero in javascript evaluates falsy while every other number including negatives is the opposite..
Grue is offline   Reply With Quote
Old 09-12-2016, 11:57 AM   #25244
RustyBrooks
Carpal \'Tunnel
 
RustyBrooks's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 24,378
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by Grue View Post
man I wonder how many millions of man hours have been wasted specifically fixing bugs raised by the fact that number zero in javascript evaluates falsy while every other number including negatives is the opposite..
I dunno, this is actually very common and is present in many languages.

I just spot checked python, C, C++, tcl, perl. It appears that Java does not really allow implicit casting of ints to bools, but everywhere I've looked that people are using ints for bools in java, they basically suggest using "myint != 0"

So... I would say that it's not really a javascript problem. I am not sure that it's a huge problem or waste of time at all, really.
RustyBrooks is offline   Reply With Quote
Old 09-12-2016, 12:01 PM   #25245
suzzer99
Save the Cheerleader, Save the World
 
suzzer99's Avatar
 
Join Date: Nov 2005
Location: on top of the bell curve
Posts: 92,150
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by Grue View Post
man I wonder how many millions of man hours have been wasted specifically fixing bugs raised by the fact that number zero in javascript evaluates falsy while every other number including negatives is the opposite..
Great book on this history of the number zero. Apparently zero didn't exist in most numerical systems until recently, and it caused all kinds of problems.
suzzer99 is offline   Reply With Quote
Old 09-12-2016, 12:07 PM   #25246
PJo336
THRILLHOUSE!
 
PJo336's Avatar
 
Join Date: Mar 2007
Posts: 21,896
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Code:
function point(x, y) {
    if(!x) {
        doStuff(x);
    }
     .....
}
I assume he means something like that? Where 0 can be a valid value but youll lose it
PJo336 is offline   Reply With Quote
Old 09-12-2016, 12:13 PM   #25247
RustyBrooks
Carpal \'Tunnel
 
RustyBrooks's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 24,378
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Yes, that is a bug that I am sure happens. But like I said, it's not some weird feature of javascipt, it almost certainly has it's origins in assembly with stuff like x86's JZ/JNZ (jump if zero, jump if not zero)
RustyBrooks is offline   Reply With Quote
Old 09-12-2016, 12:41 PM   #25248
muttiah
Carpal \'Tunnel
 
muttiah's Avatar
 
Join Date: Aug 2004
Posts: 23,464
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by greg nice View Post
quick question:

i'm looking for an open source frontend for a SaaS app. something that just handles basic user management stuff like login, and having user's own dashboard, acct management options, etc, where i can then just plug in my actual SaaS value in behind it. anyone know of something?
Seems you could use almost anything. I'll say that Java with javafx is pretty nice for thism. Way cleaner and nicer way to build a UI compared to JS CSS approach.
muttiah is offline   Reply With Quote
Old 09-12-2016, 01:28 PM   #25249
txpstwx
old hand
 
txpstwx's Avatar
 
Join Date: Jun 2008
Posts: 1,239
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

This isn't open source but it's pretty slick for $18 http://themicon.co/theme/angle/v3.4/frontend/site/
txpstwx is offline   Reply With Quote
Old 09-12-2016, 02:35 PM   #25250
gaming_mouse
Carpal \'Tunnel
 
gaming_mouse's Avatar
 
Join Date: Oct 2004
Location: taking notes on u (see profile)
Posts: 13,782
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by greg nice View Post
quick question:

i'm looking for an open source frontend for a SaaS app. something that just handles basic user management stuff like login, and having user's own dashboard, acct management options, etc, where i can then just plug in my actual SaaS value in behind it. anyone know of something?
have a look at firebase.
gaming_mouse 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 03:07 PM.


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