Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

05-31-2016 , 10:03 PM
Quote:
Originally Posted by suzzer99
You never have enough important!s.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-31-2016 , 11:25 PM
Quote:
Originally Posted by Grue
Everyone's been using * box-sizing:border-box for years now anyways though.
Yeah but back in the day, other browsers didn't yet support box-sizing.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-01-2016 , 01:37 AM
Quote:
Originally Posted by ChrisV
I never had to support anything lower than IE6, thankfully.
chris, this is the webdev equivalent of "he hits me with an open hand."
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-01-2016 , 05:23 AM
not to spousal abuse-derail, but wouldn't that mean he slaps his wife?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-01-2016 , 06:23 AM
Hey guys,

I have a text file containing transactions, one transaction each line.
I want to write a small script that sums up the amounts of each transaction.
The line format is as follows:
BANKACCOUNT TRANSACTIONID DATE SOCSECURITY NUM AMOUNT

The amount is always preceeded by at least 5 spaces, and nowhere earlier in any line are there 5 adjacent spaces. The amount is also always followed by ",00" which is irrelevant to the amount itself but might be useful when creating the script.

What language would be suitable for this? I really dont have any preferred language but would want this to be as simple as possible and preferably without having to set anything up on my (work) computer.
Any suggestions? Anyone feel like doing this
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-01-2016 , 06:57 AM
Quote:
Originally Posted by Mavoor
What language would be suitable for this?
linux: awk
win: python probably
mac: dunno, awk probably
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-01-2016 , 07:55 AM
Quote:
Originally Posted by Wolfram
linux: awk
win: python probably
mac: dunno, awk probably
He would have to setup python no?

Powershell can do this on win and comes by default with win 7+ I believe. Batch script could probably do this too but no idea how difficult it would be to accomplish.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-01-2016 , 09:39 AM
Quote:
Originally Posted by just_grindin
He would have to setup python no?
I figured win didn't have any default tools that could accomplish the task (didn't know about powershell). Also, I got the feeling he wanted something easy. Installing python is a breeze.

If he literally doesn't want to install a single thing then that limits his options drastically.

Last edited by Wolfram; 06-01-2016 at 09:47 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-01-2016 , 11:50 AM
Quote:
Originally Posted by Noodle Wazlib
not to spousal abuse-derail, but wouldn't that mean he slaps his wife?
chris is the wife, ie6 is beating him
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-01-2016 , 12:02 PM
I had to support IE6 in like 2006. Was standard back then.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-01-2016 , 02:18 PM
Quote:
Originally Posted by ChrisV
I had to support IE6 in like 2006. Was standard back then.
chris, i'm sure ie6 does love you, deep down. it's just, sometimes he can't control his anger....
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-01-2016 , 04:43 PM
Quote:
Originally Posted by gaming_mouse
chris is the wife, ie6 is beating him
That wasn't the question tho. Open hand hit == slap?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-01-2016 , 05:49 PM
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-01-2016 , 06:14 PM
omg, that is gold.

Last edited by kazana; 06-01-2016 at 06:15 PM. Reason: including the misspelled foreword
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-02-2016 , 09:17 AM
Quote:
Originally Posted by Mavoor
Hey guys,

I have a text file containing transactions, one transaction each line.
I want to write a small script that sums up the amounts of each transaction.
The line format is as follows:
BANKACCOUNT TRANSACTIONID DATE SOCSECURITY NUM AMOUNT

The amount is always preceeded by at least 5 spaces, and nowhere earlier in any line are there 5 adjacent spaces. The amount is also always followed by ",00" which is irrelevant to the amount itself but might be useful when creating the script.

What language would be suitable for this? I really dont have any preferred language but would want this to be as simple as possible and preferably without having to set anything up on my (work) computer.
Any suggestions? Anyone feel like doing this
Awk script would be simple. You could even use just sed and grep to do it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-02-2016 , 12:29 PM
dunno if anyone is playing factory idle, but i made a simple calculator for determining resource income stuff.

Was super quick and easy to make in asp.net, but ffs was that a pain to deploy. Heroku, what i'd prefer to use, does not play well with .net. Apparently you have to confuse it with some json file and use one to many build packs and even then it still wasn't working.

Hosted it on azure, but it looks like they only give you 1 hour of free hosting, or a free month. Lame.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-02-2016 , 01:11 PM
I've started following Kent Beck on twitter and FB. He has some pretty interesting points of view. https://www.facebook.com/notes/kent-...79765038723025
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-02-2016 , 02:36 PM
would data caps help move the internet more toward an ad-free experience?

I'm imagining a world where I, the user, pay x dollars to access the web and get y GB of download. When I use my internet to access a site, I spend part of that cap. My ISP transfers some amount of that money to the content provider, say a wholesale value compared to the retail price i'm paying for access.

So, for very simple math purposes, I have a 10gb plan that costs 10 dollars. I connect to a 1gb web page (just go with me here). My ISP keeps 30 cents and transfers 70 cents to the content provider/distributes that 70 cents to each node on the path. Maybe 10 hops charge 2 cents each, and the creator of the content gets 50 cents total.

Just trying to envision a scenario where ads have died and consumers need to find an easy/automatic way to pay for access content, because it damn sure isn't going to be through subscriptions like through, *ahem*, the LA times. >.>
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-02-2016 , 02:47 PM
Quote:
Originally Posted by Noodle Wazlib
would data caps help move the internet more toward an ad-free experience?

I'm imagining a world where I, the user, pay x dollars to access the web and get y GB of download. When I use my internet to access a site, I spend part of that cap. My ISP transfers some amount of that money to the content provider, say a wholesale value compared to the retail price i'm paying for access.

So, for very simple math purposes, I have a 10gb plan that costs 10 dollars. I connect to a 1gb web page (just go with me here). My ISP keeps 30 cents and transfers 70 cents to the content provider/distributes that 70 cents to each node on the path. Maybe 10 hops charge 2 cents each, and the creator of the content gets 50 cents total.

Just trying to envision a scenario where ads have died and consumers need to find an easy/automatic way to pay for access content, because it damn sure isn't going to be through subscriptions like through, *ahem*, the LA times. >.>
Doesn't the Internet already work on the model of paying X amount for Y amount of GB? It does in my area any way and ads are still delivered :-).

Have you tried any ad blocking programs? Doesn't help for pay walls though.

Also any resources you recommend for learning .net? Couple of things going on at work that look like it will be beneficial for me to learn. Thanks!

Sent from my SM-G900R4 using Tapatalk
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-02-2016 , 03:18 PM
Quote:
Originally Posted by just_grindin
Also any resources you recommend for learning .net? Couple of things going on at work that look like it will be beneficial for me to learn. Thanks!
I took a class. Everyone here said the book we used was horrendously out of date, so my experience might not be optimal.

Quote:
Doesn't the Internet already work on the model of paying X amount for Y amount of GB? It does in my area any way and ads are still delivered :-).

Have you tried any ad blocking programs? Doesn't help for pay walls though.
Yeah, I do use ad blockers on mobile and desktop. Mobile because I do have a data cap I have to pay for. I stopped using chrome mobile because safari allowed ad blocking.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-02-2016 , 04:46 PM
Quote:
Originally Posted by Noodle Wazlib
would data caps help move the internet more toward an ad-free experience?

I'm imagining a world where I, the user, pay x dollars to access the web and get y GB of download. When I use my internet to access a site, I spend part of that cap. My ISP transfers some amount of that money to the content provider, say a wholesale value compared to the retail price i'm paying for access.

So, for very simple math purposes, I have a 10gb plan that costs 10 dollars. I connect to a 1gb web page (just go with me here). My ISP keeps 30 cents and transfers 70 cents to the content provider/distributes that 70 cents to each node on the path. Maybe 10 hops charge 2 cents each, and the creator of the content gets 50 cents total.

Just trying to envision a scenario where ads have died and consumers need to find an easy/automatic way to pay for access content, because it damn sure isn't going to be through subscriptions like through, *ahem*, the LA times. >.>
What would stop content providers from displaying ads with this model?

You can either have open or closed internet. There isn't a part way, plus the dollar trail is much longer than ISP -> content provider. You may well be paying a dollar a gig.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-02-2016 , 05:02 PM
Quote:
Originally Posted by daveT
What would stop content providers from displaying ads with this model?
I don't want to get too free market/anCap derail, but in a world with many competing ISPs trying to offer the best bang for your buck, ad blocking would/could/should happen at the ISP level. It would be in their best interest to give their customers the best experience, the most value, etc.

It seems like things are somewhat starting to go that way, what with Apple taking aim at google's ad revenue. The arms race between ad blocker writers who want your dollars to save you mobile bandwidth and ad creators has already begun.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-02-2016 , 05:13 PM
Quote:
Originally Posted by Noodle Wazlib
I'm imagining a world where I, the user, pay x dollars to access the web and get y GB of download. When I use my internet to access a site, I spend part of that cap. My ISP transfers some amount of that money to the content provider, say a wholesale value compared to the retail price i'm paying for access.

So, for very simple math purposes, I have a 10gb plan that costs 10 dollars. I connect to a 1gb web page (just go with me here). My ISP keeps 30 cents and transfers 70 cents to the content provider/distributes that 70 cents to each node on the path. Maybe 10 hops charge 2 cents each, and the creator of the content gets 50 cents total.
So if I'm a content creator, I should try to make the content use up as much bandwidth as possible since I get paid for it? Either way, you have the economics reversed - typically, when you try to deregulate this, it's content providers that have to pay ISPs for access to consumers not the other way around.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-02-2016 , 05:17 PM
Quote:
Originally Posted by Noodle Wazlib
I don't want to get too free market/anCap derail, but in a world with many competing ISPs trying to offer the best bang for your buck, ad blocking would/could/should happen at the ISP level. It would be in their best interest to give their customers the best experience, the most value, etc.
Blocking or modifying non-malicious traffic at the ISP level is really bad for consumers. The next step is for ISPs to charge advertisers or advertising networks to whitelist their traffic.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-02-2016 , 05:17 PM
If you're known as a bloat creator, I would assume people would refuse to visit your site unless your bloat adds some value to your users.

Again, not to go all Free Market Rah Rah!, but ISPs known to whitelist ads would be ditched by consumers. (because all consumers monitor their bandwidth usage ldo >.>)

I'm not saying you're wrong on anything else, just like having thought experiments every now and then on topics I know barely enough to engage on.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m