« first day (1379 days earlier)      last day (3560 days later) » 

3:14 AM
@Charles really nice and informative. Thanks.
 
 
3 hours later…
6:38 AM
morning @all
 
@NikiC I know. I just said I felt like.
 
hi @all
session_start();
$var=3;
$_SESSION[$var]='500';
echo $_SESSION['3'];
It does not return any value.
why??
 
7:40 AM
morening
 
@tereško morning
 
8:23 AM
moinz
 
9:17 AM
moin
 
9:30 AM
@Gordon are you here?
Also, mornin everyone
 
@BenjaminGruenbaum no, but you pinged me so I am now
 
Haha, sorry.
I have an old closed question that contains outdated information but is still useful.
How would I go on about getting it a "collaborative effort" lock?
 
hmm, you could ask on Meta
or I can ask higher authority
not sure I can easily lock it because the accepted answer has 92 points
 
Ok, I'll ask on meta then, I just wanted to know if that's the appropriate thing to do, thanks :)
 
@BenjaminGruenbaum tbh I don't know if it's appropriate. Might help to have a Meta question for clarification
 
9:37 AM
Ok then
0
Q: Can my old question get a "collaborative effort" lock?

Benjamin GruenbaumWhen I was relatively new to the site I've asked: Best practices of building a website using node.js It is still very useful to visitors and on topic, but it has grown very broad and right now provides a lot of irrelevant information since no new answers can be posted. It is closed as "too broad...

 
0
Q: Copy image from URL using PHP

jackkorbinI want to copy image from a url to my server using PHP. I saw this answer Saving image from PHP URL using PHP and Tried this : <?php $url = 'https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xap1/v/t1.0-1/p200x200/548412_147785902099377_260065314_n.jpg?oh=5c97dcd58931398e501666daee4c4ae8&oe=545...

 
user1804599
@Boopathi lol, those answers
 
@rightfold i think he was try to scrap images from other server
 
user1804599
What a surprise. I’d have never thought of that! It’s exactly what the question says!
 
have an url of image. he want to save image using php
 
user1804599
9:44 AM
Yeah, I know what he is asking.
 
user1804599
Why do you post it here?
 
@rightfold want to know answer
 
user1804599
Ah, I see.
 
okay
 
Hello everyone. I was hoping to get some advice. I'm starting a new project soon, I'm doing some front-end dev' work on a website which is written in Java. I don't know any Java.

The data is going to be sent to me as JSON objects, which looks good so far. The only problem is, the back-end developer was planning on all the content being handled by jS/jQuery, which looks like a bad idea to me. I usually write in PHP, but I'm wondering what would be a good way to handle the JSON objects. Any ideas?
 
10:28 AM
@Dan I don't understand what's the problem. What kind of "content" are we talking about that would be handled by jQuery?
You mean that he doesn't want to generate any HTML at all?
 
No, that's right.
All data, not the HTML tags, will be sent via JSON
So I'll be writing HTML and CSS to control the visual styling, but I still need to get the actual content on the page, if see what I mean...
 
@Dan This has advantages and disadvantages
If you serve JSON, things other than a browser can consume it (for example, a mobile application, or a desktop program).
 
@SecondRikudo Yes, which is partly why the client wanted it, because apps will come later in time.
 
On the other hand, people with browser which do not support JS, especially screen readers or other disability enhanced browsers will not be able to access your content.
 
10:41 AM
But it leaves me thinking, so I push for PHP and just use json_decode() for everything?
Yes, and I don't think it will perform well for SEO purposes, or for speed.
Writing all data to the DOM seems like a bad, bad idea to me.
I've heard of Node.js, which looks like it could be the tool for the job, but I don't really want to have to learn something from scratch for a single job.
 
@Dan Node.js is a server-side technology
 
Exactly, so I could process all this on the server first.
 
If the backend is with Java, the Java dev shouldn't have a real problem to export this data to a JSON response or to a velocity template or something similar.
I generally allow both and serve what the client asked for based on the Accept: header.
 
I understand (I think!) the idea of Java handling the backend, and JSON objects being sent and received, but what would the file extension be?
I assume, if I use PHP, this could cause issues for the Java guy.
 
Hello guys
Is there any body who can suggest me any idea for my question
?
 
10:50 AM
@Dan What do you mean?
If the server is handled by Java, why would the file extension matter?
 
I mean i am facing some issue with my code
question related to facebook share in php
 
@SecondRikudo The files are currently written in .jsp, so how could I use PHP on these pages?
 
@Dan Why would you use PHP on those pages?
You said the server was with Java
 
@SecondRikudo Yes, but I need a way to get this data on the page, preferably server-side.
Without having to learn Java.
I've never touched another server-side language other than PHP. I'm not aware of how this situation works.
 
@Dan Have your backend dev to do it!
 
10:56 AM
Ha, well I guess that's one answer.
What would you do?
I've seen the templates, they are almost no Java in them, maybe 4 lines, mostly in the <head> element.
The rest is all JSON, being processed with jQuery at the moment.
 
What templates are they?
Velocity? Jade? What?
 
No idea, does this help?
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
That's in the head.
And there's stuff like this: <td><a href="${context}">Home</a></td>
I think he's pretty old school. The markup is in tables...
 
@Dan That looks like velocity to me, but I don't know enough about Java to be sure.
Have the server dude tell you which template engine he uses, and learn about that.
 
Would "tomcat" mean anything?
 
And then pat him on the back, except on the face, and with a chair.
 
11:02 AM
^ ha :)
 
Tomcat is a servlet container, not a template engine.
 
I'm supposed to be paid for wrapping this up in HTML and CSS, not designing how it will work : \
Might be "one of those jobs", you know?
 
How are the two different?
 
Well, I was told I'll be handling data that was already on the page, just in-styled.
He sent me this in an email;
The jsp markup actually uses "jstl" (Java Standard Tag Library) which is more readable then standard jsp. So anything <c:if <c:choose etc is jslt as is referencing variables passed e.g. ${requestScope.action}.
I'm looking for info on the template system, but can't see much else TBH
 
jstl.java.net <<<< Good place to start
 
11:07 AM
Yep, going to take a read.
I'd better send some emails and get some more information.
Do you think this will be painful if I've not used Java before?
 
@Dan Shouldn't.
You just need to understand the syntax and the variables left to you by the model.
 
It's all just dollar signs and curly braces...right??
 
good mornings
 
11:37 AM
@Dan Java is pretty painful in general
 
11:49 AM
Joy : \
 
anyone used movim.eu ?
 
guys on SO each question costs 1 point lol? I posted a question and i lost one point.
 
12:16 PM
@BenBeri It does not, and your rep history doesn't show you losing any rep...
@iroegbu I would not use something which a huge, very basic spelling mistake right on the front page :-P
 
Mornign
 
lolz "adress"?
 
user895378
12:33 PM
morning
 
user895378
@Danack This is a really good point and I've also been thinking about the best way to incorporate per-request options in relation to the TLS settings.
 
user895378
I very much want to limit the individual Request object to strictly modeling the HTTP request.
 
user895378
So what I was thinking was an array of options so that you could define individual settings on a per-request basis. Something like:
 
user895378
$response = $client->request($request, $options = [
    Client::OP_BUFFER_BODY => false,
    Client::OP_TLS_VERIFY_PEER => false,
    Client::OP_VERBOSE => Client::VERBOSE_SEND
]);
 
user895378
Internally all that would need to happen is to populate a full array of options by merging any custom opts passed in for that request with the options currently in place at the client layer. Then the options struct is just associated with that request and any time a setting is used the options array for that request is consulted instead of going to the relevant client property.
 
user895378
12:39 PM
Let me know if you have thoughts on this.
 
Do you ever really get good shoulder DOMS? Maybe I just suck at shoulders.
 
user895378
I've never actually used the term DOMS :) but overhead presses and lateral raises with dumbells have always worked well for me.
 
user895378
I usually do shoulders on chest day. You're already hitting the front pretty hard with any sort of pushing exercises so it makes sense.
 
That's a tough day. Shoulders and Abs is my divide.
 
user895378
Something that's worked really well for me is a three day split: All pushing exercises (ends up being chest/shoulders/triceps) one day, the pulling exercises (back, biceps) one day then legs the third day. Then repeat. Then take day 7 off.
 
user895378
12:44 PM
It took me years to realize that the best routine is the one that works for you :)
 
Any reading around that? Or just something you fell in to?
 
user895378
Mostly trial and error.
 
Yeah. Nothing works as well as just doing it :P
@JoeWatkins was just here I see...
 
user895378
Also it's good for me because it helps keep me from skimping on the exercises I don't really want to do.
 
I am so hungover
 
12:46 PM
Yeah. I've got a whiteboard and a little space on the right where I note all the muscle groups I hit. I can't go back to the top until I have all of them written down.
@DanLugg Have another beer.
 
I was/am
 
uuggggghhhh monning...
 
user895378
lol sounds like @PeeHaa is in the same boat with @DanLugg
 
Looks like I am :P
I liked your first public appearance btw @rdlowrey :)
 
saw phptownhall today @rdlowrey
couldn't help but think certain people didn't get certain things ...
 
user895378
12:59 PM
cool. hopefully I didn't say anything too stupid or ramble on about boring things too much.
 
Not at all
 
user895378
When pmjones was doing his MVC spin I was totally zoning out.
 
Can't really blame you :P
How's the househunting going @JoeWatkins?
 
user895378
IMO there is wayyyyyyy too much userland dev focused on architectural wankery. I wish people would spend more time writing code that does things instead of endlessly revising the perfect way to route a request to a controller.
 
we paid the holding fee on a place we want yeserday @PeeHaa ... it's not certain we'll get it yet but looks good
 
1:01 PM
Awesome!
 
user895378
@JoeWatkins good luck :)
 
@rdlowrey I partly agree with that. I mean I think architecture is pretty damn important, but there is a time I just have to build shit (and possibly rewrite parts because it gets in the way)
 
user895378
Yeah I mean architecture is important, but code is only useful if it actually does something.
 
user895378
If you're forever reinventing a better scaffolding your house will never go up.
 
selling ebooks is "something" :D
 
user895378
1:04 PM
ha
 
@JoeWatkins :-)
 
user895378
That's really funny :)
 
@JoeWatkins IoW?
 
@Fabien yeah :)
 
Schweeeet
 
When is the earliest you're hoping to move in?
Place looks nice.
Obviously you'll need to replace the curtains.
 
I thought that was mandatory in the UK? @Fabien :P
 
lol
 
next week sometime we should get keys ... the area is really pretty (more or less all of it is), the road is silent, completely silent ...
 
In time for PHP Hampshire :)
 
1:08 PM
yeah it was an old couples place, they gone into home, we can do whatever ... except burn stuff, unfortunately ...
I drove 1280 miles in the last 5 days ...
I am ruined ...
 
You're even closer to the port.
 
yeah, it's about 2 minutes in a car, 10 on foot ...
 
You mean to tell me you managed to drive 1280 miles without your car breaking down?
New record no?
 
yes, yes I did ... I think I finally got a decent car ... totally is a record, a smashing record ...
 
user895378
I once drove the US from west coast (Santa Monica, CA) to east coast (Myrtle Beach, SC) in 42 hours. ~3,000 miles. I wouldn't recommend that to anyone.
 
1:10 PM
Soft top?
 
user895378
Nope. Mini Cooper. And I only slept for about three hours.
 
user895378
It's a wonder I didn't fall asleep at the wheel and die.
 
sounds quite horrible ...
 
lol indeed. I get the impression coffee and energy drinks played a part.
 
user895378
Inhuman quantities of caffeine were consumed.
 
user895378
1:14 PM
For the record: driving across the US at a leisurely pace over the course of a week or two stopping at all the out of the way attractions is one of the coolest things I've ever done. Definitely do that if you get a chance. Just don't rush it without sleep.
 
much more agreeable ... I had to spend many many hours at a standstill in traffic ... one time we went to get on the ferry and the satnav said I was 10 minutes away from destination for 2 hours ... it was very painful ... the whole week was badly organized, because estate agents are some of the most unreliable people ... I'm glad it's over, I hope it's over ...
 
@JoeWatkins Yeah. If there's cruise ships in the docks and you're trying to get somewhere, you're gunna have a bad time.
Sometimes there's 3-5 ships there too.
Weekends basically.
 
there was actually a fatal car accident in newport ... which makes me sound like an asshole ... but everything ground to a standstill, the ferry company made everything worse, their system did, by continuing to take bookings on ferries when there was enough cars in the queue to fill three ...
 
Not ideal. At least the ferry is nice. Good snacks and food.
 
1:19 PM
yeah red funnel isn't bad at all ... wightlink a bit shit tho ...
 
ping @levi
 
bbq yesterday on red funnel ferries ...
 
Oh nice. Didn't know they did that.
I've only ever gone to IoW for basketball and a Surface Pro
One time was the hoverboat too
 
yeah, kitchen right on sun deck ... the people who run the catering inside run that too ...
 
Well. Hopefully they're swift on accepting the stuff and you can get in soon
BTW I need to install PHP on windows. Simple way would be WAMP. Or is there a simpler way?
 
1:24 PM
depends what you're going to do with it
probably just download the zip and add to path env if you're not using with webserver ...
 
@Fabien Install apache and php separately
 
Just for composer really. Don't need a web server on the PC
I'll try the zip
 
Oh. Well just install phpcli in that case :)
 
user895378
You can just download and run php.exe then (and add the location to your PATH env like Joe said)
 
Yup. Cheers guys
 
@rdlowrey Sounds pretty sensible. Another thought I had though is, what is the point of BlockingClient? If you have a service that wants to use Artax and can do some things asynchronously, but would prefer to do some requests synchronously, you currently need to pass in two different clients. The BlockingClient class looks like it could be replaced with a couple of functions.
 
8.5 / 10. He should've stuck the landing
 
user895378
@Danack possibly. It only exists so people don't have to know anything about non-blocking or know how to use an event loop to get started.
 
user895378
99 out of 100 people who use it won't want to know or care about event loops. They just want to retrieve HTTP.
 
user895378
But it could be replaced with functions.
 
user895378
1:38 PM
The only problem is you can't set client-wide options that way.
 
@Fabien :)
 
user895378
All options would have to be on a per-request basis if you went with functions.
 
@rdlowrey I meant either a function that takes an (Async)Client as a param, or possibly a method in Client.
But yeah, it would make it harder for people to get started.
Perhaps I should just write that function in my own code.
 
That feeling when you make a sandwich and eat it and wish you made two :(
 
user895378
@Danack yeah, they'd have to know to instantiate an event reactor and tell it to run before or after calling the client::request method
 
user895378
1:41 PM
@Danack I've considered adding some global functions to operate on/with the event reactor though because it can be a PITA to try to ensure anything using the event reactor gets the same instance.
 
user895378
Can be very hard to debug why something isn't working when you unwittingly have multiple Reactor instances.
 
user895378
And since the event loop really is a global part of the code functions would probably make that easier. Things like ...
 
user895378
Alert\once($function, $delayBeforeExecution);
Alert\repeat($function, $interval);
Alert\onReadable($socket, $function);
Alert\run();
 
user895378
I don't know. We'll see. In the meantime you can always put the entire script inside the Reactor::run() like this if it makes things easier:
 
user895378
1:45 PM
$reactor->run(function($reactor) {
    $reactor->repeat(function() { echo "hi!\n"; }, $msInterval = 1000);
});
 
@rdlowrey Why not just a getter for the reactor in the cient, so that you can do :
    function request(Client $client, $uriOrRequest, callable $notify = null) {
        $response = null;
        $promise = $client->request($uriOrRequest);
		//blah blah blah
		$reactor = $client->getReactor();
        $reactor->run();

        return $response;
    }
 
user895378
Because Law of Demeter.
 
user895378
Reaching through an object to get something you need is bad. If you need it, ask for it.
 
user895378
I know that's hard to swallow in this particular case and I periodically struggle with it.
 
$client->run(); ?
 
user895378
1:49 PM
You could do that but you're either using the reactor to control your entire app and you know what you're doing or you're writing synchronous code and you don't need to know anything about the reactor. So I don't see much benefit there.
 
user895378
$client = new BlockingClient;
$client->request($uri);
 
user895378
^^ Requires zero knowledge about what's happening under the hood for people who don't care to know or do async.
 
@rdlowrey it's pretty difficult to do this in a way that doesn't involve something that's basically bad design. Wrapping everything in functions is essentially the same as a bunch of static method calls, it's implicitly tightly coupled. If you really want to head off the multiple reactors problem in an unintrusive way, maybe emit an E_WARNING when the second is created, but personally I'd rather not do anything at all
 
user895378
As long as your extension code operates on the promise objects returned by the async Artax\Client then the extensions will work with both Client and BlockingClient
 
user895378
@DaveRandom yeah that's kind of where I'm at too. There's just not a good way to protect someone if they start creating multiple reactor instances.
 
1:51 PM
I think that static/functions is not the way to go
For one thing, stuff like Loopio would not be possible with that approach
 
user895378
Ah you're right, I hadn't even considered that.
 
Hmm, composer requires openssl. That a fairly straight forward install on Windows?
 
user895378
@Fabien hehehe.
 
user895378
It depends.
 
@Fabien nope
 
1:53 PM
heh. Sounds like WAMP incoming.
 
user895378
You may have to either (1) compile the php binary yourself in windows to get openssl working (can be daunting to get comfortable with building stuff in windows), (2) do a full-blown install and not just d/l the zip and run php.exe or (3) do something like WAMP.
 
user895378
It took me some trial and error to figure out how to get openssl working with windows. You will probably save yourself a lot of heartache if you just do WAMP or something.
 
brb people I need to get some food. And maybe if I am really bored I will write some stuff for the abandoned forgotten no time fo dat commentar project
 
Yeah, may do. I'll try @PeeHaa's link then if failure ensues WAMP it.
 
1:55 PM
Wait, what? I'm pretty sure it just works in the php.net distributions @Fabien
If not I can build you something, I already have a Windows build env set up
 
user895378
Yeah, definitely try the php.net distro and see if var_dump(extension_loaded('openssl')); gives you joy first.
 
@rdlowrey I'm thinking a $flags arg to the ctor of loops, and a Reactor::ENFORCE_SINGLETON (or sth) flag that causes it to throw an exception when the second is created. Which is easy to do in a relatively non-horrible way, just have a private static instance counter that's modified in ctor/dtor. If that flag is passed to any of the constructor calls, blow up when a second concurrent instance is created.
It needs to be optional though, someone somewhere may have a use case for having two reactors existing at the same time
Probably not running at the same time, but maybe existing
 
user895378
@DaveRandom I think I could get on board with this. None of the ctors take any args right now and I don't foresee a situation where they would need dependencies injected in the future.
 
@rdlowrey The factory methods can abstract that issue away anyway
 
When you say php.net distro what do you mean? It's different from the zip?
 
user895378
2:00 PM
You can get .msi installer for win from php.net, right? That's what I was talking about.
 
No the zip
iirc you can just enable it in php.ini and it just works
 
user895378
Oh, do the zips have openssl? I guess they would. That makes sense.
 
user895378
I honestly only ever build my own on windows these days.
 
The only issues I've ever had is that sometimes it can't find libaey/sslaey when they reside in the php install dir even though it's in %PATH%, and that's fixable by putting copies in sys32 (although not an ideal solution, it does work)
@rdlowrey I know. Which is ironic, since the Windows build process is shite.
 
user895378
Yeah, I've definitely noob pasted those DLLs into every possible system dir in my windows before :)
 
2:02 PM
@DaveRandom heheheh I also always do that :)
 
user895378
Maybe Windows dev isn't terrible if you really know what you're doing in that environment but it sure seems terrible to me.
 
Isn't there a php cli flag to run a function from cli?
 
user895378
php -r "var_dump(...);"
 
I think the issue is that building stuff written for *nix on win is a square peg -> round hole thing
 
user895378
yeah, most likely.
 
2:04 PM
Building stuff that was written for Win is easy
 
danka
Normally I restart php by the webserver. If I make php.ini changes with just the zipped version is there anything I need to do?
 
user895378
@DaveRandom I've said it before but it bears repeating: your Windows OpenSSL contributions really put the shine on the 5.6 TLS updates.
5
 
Regarding benchmarks comparing #phpng versus #hhvm: The diff isn't massive either way now. Let's keep making both more fast and featureful.
so ... that would take the wind from my sails if I was working on hhvm right now ...
 
@Fabien It's about the sapi, specifically it's about when the env is spun up. On the CLI that's every time, in a web server that's (usually) when you start the server or CGI daemon
@rdlowrey tnx :-)
 
@DaveRandom Ah makes perfect sense thanks
 
user895378
2:08 PM
/me is about to abuse stream_context_set_option to store persistent stream state information that I don't have to manually garbage collect when a stream is closed elsewhere
 
> PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\php_openssl.dll' - The specified module could not be found. in Unknown on line 0
 
user895378
What version of windows are you running @Fabien?
 
7
 
abuse all the things ...
 
2:10 PM
Damnit. I got stuck on the web (and it wasn't even pron). brb really getting some food and beer now
 
@Fabien you need to configure your extension dir - the zips have a subdir called ext
All the DLLs are usually in there
 
Ah yeah. I see it thanks.
 
user895378
I'm on win7 as well so if you can't make it work I can just email you a php_openssl.dll file and you can point the ini directive at it.
 
user895378
But like Chris said, the dll file should be in there somewhere and you just need to tell the .ini file where (or copy it into the right place)
 
@rdlowrey I have no issue with that whatsoever. You can easily make it so it will never clash with anything by using a scheme that is invalid (alert_reactor or something)
I think underscores are not valid, check the RFC
 
2:13 PM
Looking good. Thanks you lovely lovely people.
 
user895378
@Fabien We've just experienced the growing pains of learning how to php in win so we've been down that road before :)
 
user895378
@DaveRandom Yeah I had struggled with getting the architecture right to support TLS + http proxying and taking advantage of the stream capabilities is going to solve all my problems.
 
heh. :)
 
user895378
It's taken me literally this entire week to figure out how to do the artax TLS/proxy things in a sane, well-architected way.
 
@rdlowrey Oh sorry is this internally? Maybe create a standard generic key in the stream context for arbitrary data in that case
 
user895378
2:17 PM
stream_context_set_option($socket, 'artax', 'is_tunneled', true);
 
user895378
^ That's what I'm doing :)
 
Oh right, yeh that's fine
I highly recommend making the artax key into something that's not a valid URI scheme though
artax_data or something
 
user895378
good point.
 
Right I need to go do some housework, catch y'all in a bit
 
2:19 PM
@JoeWatkins nah, it isn't that fast to begin with ;-)
I've simplified the compiler slightly, by compiling out all loop constructs: gist.github.com/ircmaxell/69fb22e9e005bedd3ac7
 
user895378
Equally not slow as molasses.
 
I can't wait to sit infront of a proper computer and do some proper programming ...
 
@JoeWatkins How's the internet speed at the newer place?
 
the mobile went about 2mb ... which is faster than it's going now ... the broadband shouldn't be too bad ...
strangely, on the south side of the island you get 7megs over mobile networks ... which is faster than I ever seen it go ...
 
@JoeWatkins neither can we ;-)
 
2:24 PM
Well Cowes is a relatively popular place. Can't imagine it would be bad.
Find a shop or something near by and get a telephone number. From that you can see what speeds are near by.
 
@ircmaxell So, I just read up the transcript from yesterday
And while I think you have honorable motives, you're discounting the realities of internals.
 
ok?
I very well may be
 
I see absolutely no way that we're going to change zpp to a sufficient degree.
And if we'll introduce scalar typehints with zpp semantics first, we'll be stuck with them.
 
fair enough
 
Please also don't forget that while it is quite easy for use to loosen typechecks afterwards, it's nearly impossible to tighten them. From a BC perspective it's a lot better to err on the side of stricter checks and maybe revisit them if they cause issues in practical situations.
 
2:28 PM
So propose cleanup of ZPP now?
either way, I'm out for the day, want to go hiking before the storms come :-) TTY later :-)
 
have fun
 
lata @ircmaxell
 
@JoeWatkins BTW did you offer 6 or 10 months in advance?
 
user895378
If you offered six months rental $$$ in advance in the US you'd have people queuing up across the street to take your money.
 
lol. I've done it a few times myself for places. Certainly helps.
Good for also negotiating a deduction in rent.
And it's nice to not 'sort of' pay rent for 6 months
 
user895378
2:36 PM
Yeah, there's peace of mind in knowing it's "handled"
 
What's stock brokering like @rdlowrey?
 
user895378
Like sales. Made me feel like a leech. Like I wasn't contributing anything to society. I wanted to make something, not be a middleman siphoning off a percentage of something other people had done.
 
user895378
And wearing suits every day is only cool for a few months. I can't explain the quality of life improvement that comes from being able to wear whatever the hell you want to work.
 
Yeah, I hate wearing suits.
Maybe I just never wore a nice one though.
Sales definitely requires a certain type of personality I don't have too.
 
user895378
Life rule: anyone under the age of 30 wearing a suit is someone else's bitch.
 
2:41 PM
lol
So you don't dabble at all anymore?
 
user895378
Not in sales. I make money from analyzing and repackaging publicly available financial data though.
 
user895378
I kept up my series 7 securities continuing education licensing requirements for a few years but don't bother with that anymore.
 
investments?
 
user895378
You mean do I dabble with picking stocks myself?
 
Aye
 
user895378
2:47 PM
Well, the data + analysis I sell informs my decisions. If I get several markers that a security is going to move in a certain direction I will act on it.
 
Insider trading! NSA get him!
 
user895378
I'm not interested in gambling. I'm interested in actionable statistical information that suggests over the long term I will win.
 
user895378
I'm not an insider, I can do whatever I want :)
 
user895378
Math + the law of large numbers. Over the long run those things will win out. That's my philosophy.
 
I've always considered in the back of my mind putting my money in some long term stable investments, hoping for a 3-5% return rather than the bank.
I believe @AlulaErrorpone does a fair bit of that kind of thing.
 
user895378
2:50 PM
Disclaimer that anything you do is your own decision and I'm not advising you to do anything.
 
user895378
But until you get beyond ~$100k in investable funds mutual funds are the best thing you can do because they will diversify away as much risk as possible.
 
user895378
And you should find mutual funds with the lowest possible fees because the people running them don't know any better than anyone else what's going to happen.
 
Risk being the operative word in it all.
Which ties me to 'disposable income'.
Easier to make money if you have more than you need :P
 
user895378
This is true. Anyway, afk, gym. I'll be coding most of the day after that. Have a nice afternoon :)
 
Enjoy
 
2:59 PM
Hey guys, quick question
 

« first day (1379 days earlier)      last day (3560 days later) »