« first day (2264 days earlier)      last day (2909 days later) » 

22:02
ok I will not use that custom function...
I don't know how to end the result in that way
@neoDev That's because you're not passing dbResults
yes I do
TWIG(req, res, 'home', {
    dbResults: JSON.stringify(results),
    categories: JSON.stringify(categories)
});
And how are you using that in the template?
are you sure you need to turn it into JSON?
And where is results and categories coming from?
Also that
22:11
generally I can pass objects like that?
as argument
you can't just blindly stringify them, though
You're straying, answer the questions
is there some auto code prettify command in this chat?
ctrl+K
it's a nightmare in that way for me
22:15
that'll just indent it by 4 (probably). it won't do anything more.
I use tabs (4 spaces) in my code
Doesn't matter
just paste all and ctrl + k?
or paste into gist or another site and then link that
Well, you've already used it above...
22:17
I have to move on
now I use that non dynamic twig function:

var pageName = 'map';

			res.render(__dirname + '/views/'+pageName+'.twig', {
				userAgent: userAgent(req.headers['user-agent']).browser.name.toLowerCase(),
				pageName: pageName,
				dbResults: JSON.stringify(results)
			});
is ok for now
I was only worring if I can pass objects as arguments in that way in javascript
dbResults: JSON.stringify(results) is really weird
why
why are you passing the results as a string?
I do not remember
22:22
I was getting [object] in the twig page
turning the data into a string will fix that, but you no longer have structured data
i.e., it's wrong unless you need a string, and even then it's less than ideal
I can JSON.parse
split and so on.. right?
wtf, why
Just don't stringify it
but I get [object]
22:24
Then you need to go deeper
it's ok
:)
user379888
can you guys give your introduction?
user379888
I mean what do you guys do? What are your ages and where are you located?
22:33
do you need my card details?
user379888
not really
user379888
i can give mine though
:D I am joking
user379888
It has a million USD in it.
my name is John and its one week that I don't drink
user379888
22:34
I am so good at lying :D
user379888
I am Fahad. I am a wannabe programmer. A computer systems engneering graduate.
user379888
I live in Karachi, Pakistan
user379888
My goal is to be healthy, wealthy and wise.
user379888
Goal: reach 5 million USD net worth in next 10 years.
cool
22:37
You aren't going to become a millionaire re-purposing wordpress themes.
user379888
I make $1000 here in Karachi. I want to learn and move to Canada or Australia and work for a software company there at $100k+
user379888
Where I can save $50000 per month and make 5 million USD easily in 10 years.
user379888
Ben: You have 15k reputation. you must be really good.
> Where I can save $50000 per month
you aren't going to make $100k per month, buddy
50,000 * 10 = 500,000, not 5 million
22:39
@FahadUddin Sounds like a solid plan
!! eject
@neoDev That didn't make much sense. Use the !!/help command to learn more.
!! help
user379888
50000*12(12months in a year)*10
@Luggage 50k (savings / month) * 12 (months / year) * 10 (year)
22:39
@neoDev Information on interacting with me can be found at this page
if you want to make that much money, you need to learn COBOL
right.. i mentally adjusted it to years since that is the only value that makes sense.
!!/listcommands
@neoDev help, afk, ban, convert, define, die, doge, eval, forget, google, hang, imdb, info, jquery, learn, listcommands, listen, live, mdn, meme, moustache, msdn, mustache, nudge, refresh, spec, stat, stats, summon, tell, unban, undo, unonebox, unsummon, urban, weather, welcome, wiki, xkcd, youtube, zalgo, !, !!, $.baby, (4337654<<1)+1, (y), /somecommand, 0, 1, 2020/07/23, 3, 666, :3, :p, </pissing>, ?, @tim, ^, ^5, abesnacking, abhi, abhishekpornfreak, acronym, adhd, ah, ahah, algosmarts
aliens, all, am, angryticks, answer_to_everything, apocalypse, appreciated, archerneat, armforce, artis
@neoDev play in the sandbox, please.
22:40
@Luggage No dude, his plan is solid

Sandbox

Where you can play with regular chat features (except flagging...
Tons of $100k+ companies everywhere
!!jan
@Luggage the person who doesnt likes boobs so destroys them from existance
wtf?
user379888
22:41
I worked on this for a lot of hours and came to this conclusion. Even it its less saving than $50000 per month and I invest that money per month, it could be more than $5 million in 10 years
@FahadUddin no (legal) job pays that much.
@FahadUddin What's your actual goal, though? Money isn't a destination, it's a means to an end
per year
What do you intend to do with your savings? Earn more money?
@FahadUddin pay rates are annual, not monthly
22:42
retire, stop working.
user379888
I want to be rich. I have spend half of my life below average and want to see how it feels on the other side.
@Zirak buy the world
Why have that specific amount? Do you mean to retire forever? Do you mean to achieve a certain lifestyle?
@ssube The world's only 5mil!?
If you want to be rich, make a business, don't just 'work'.
user379888
I learned that its hard to make a living as a programmer after 35.
22:43
wat
o_O I hope not
user379888
So I want to make my fortune before 40 and then do something else.
@FahadUddin Only if you're mediocre
user379888
Or just invest
you gotta start citing your sources, cause this is gold
22:44
@FahadUddin It feels the same way, only in a yacht
user2620028
guys i think i have been doing money wrong
user379888
Thats how it works. Companies pay young emoloyees. Its all about making them work more late hours and they dont like old guys who can't work that much, have a family to take care of
@FahadUddin Oh, you mean bad companies
@HatterisMad I think I need to move to Canada or Australia
@FahadUddin that's true in the DC area
user379888
22:45
you see why everyone in US wants to hire or outsource to India? Its cheaper and those guys can work harder because there is scarcity there.
Who abuse their workers, don't know what proper work hours mean, and don't care about their employees
and true, although they want to hide it, in SF
And also who fail
user2620028
@BenFortune same
@FahadUddin uh, most places resist doing that
22:45
@FahadUddin Can you cite fortune 500 companies which do that?
Or are they the ones starting to adopt 4 day work weeks?
outsourcing your development is pretty frowned upon these days, since the quality always suffers when you just ship work overseas without a second thought
user379888
A friend worked in Paypal. He says they are bringing developers from India in Silicon Valley and make them work for cheap.
@FahadUddin And then they fail
@Zirak man, I want a 4 day week
hell, a 4 day week and be remote 2 of them
user379888
Though they would be paying a fair amount since living in valley is costly.
22:46
but alas, I'm on call :(
@FahadUddin Then that's not outsourcing and paying cheap
@FahadUddin facebook is safely within the shitty company bubble
SF in general likes to treat their employees like shit but it's ok because they have free cookies on Tuesdays
user379888
Thats still giving jobs to foreigners and not your own people.
You're not out anything, you're literally bringing people in, and in to an insanely high cost-of-living place, so you have to pay them a lot
user379888
Though thats an advantage for me since I do not live there.
22:48
none of the things you are saying make sense and most are the opposite of how things actually work
user379888
Then there are companies like Automattic and TopTal. They hire people remotely and save tax.
in 10 years, AI will be doing our jobs anyway
learn to make AI, or be unemployed
Assimilate into the hive mind
user379888
You seem to be a kid @Luggage
4
if your job can be replaced by a robot, how do you know you aren't a robot programmed to think you're human?
22:49
I am.
Yeah @Luggage, your opinion doesn't matter
I'm telling. :(
user379888
No ones taking anyones job until its a stupid robot like work
user379888
Just think if what you are doing can be automated. If yes than you are wasting your time.
@FahadUddin my name is Filip, I'm homeless and unemployed, I travel and help other people with their gardens; I want to build my own burrowed home and grow tomatoes
22:50
my job can be automated, that's my job
I don't REALLY think programmers will be out of a job in 10 years.
user379888
@FilipDupanovićLNice to meet you
@Luggage Shut up, you're a kid
But.. so much of what I do is solving already-solved problems. making boring web apps for companies
3
and stacking blocks.
@Zirak but that's a good thing, since you can't be a developer after 35
22:51
would make sense to replace programmers first
@Luggage Totes, you just make specialised wix/wordpress sites
user379888
I want to come out of this WordPress shit.
take that back
user379888
I want to do bigger things.
@ssube Maybe he's a very big kid
Like, the biggest kid
Luggage the Big Red Kid
22:52
who's a good kid? YESHHH you are @luggage
@FahadUddin But wordpress is huge. It powers 100% of the world's websites.
why you can't be a developer after 35?
Shut up @towc, you seem to be a kid
@neoDev Because you've already made your $5 million in net savings, DUH
@neoDevo They kill you. Feed you to the new devs.
22:53
qbasic was my first programming language
I'm almost 5, I'm not a kid anymore
user379888
@BenFortune: 100%?
@FahadUddin 100%
is the line between being a kid and not being a kid the moment in which people decide that you don't look weird with a beard?
it was 100% last year. Probably higher.
22:54
not that that's happened to me, ofc
@towc nope, it's something you wake up one evening after a party and realize has happened.
You'll be you forever. Later you'll eventually come to realize how odd it is still being teenage Towc trapped in a body that's failing. That's when you know you're old.
@towc TIL all women are kids
The how can vary.
user379888
It does power somewhat like 20%
22:55
@FahadUddin nincompoops in Switzerland charge 7k EUR for WP sites in two weeks, that's not bad money
@FahadUddin You're thinking of corn
@FahadUddin the first step to becoming a 5 million dollar-aire is to stop making up numbers.
you'll not be able to tell the difference between a 20 and 30 year old 'girl'.
@Luggage Did you just assume his observation abilities?
user379888
22:56
If anyone can bring in clients that could pay huge for making wordpress sites, I can work with you with engineering done for cheap
@KendallFrey your secret's out now ^
@FahadUddin We'll be sure to keep in touch
@FahadUddin You can make money working with wordpress, but not forever. It's a dead end long-term.
learn haskell instead
@Luggage that's a problem that develops around 25, except then you have trouble with the all important "are they 17 or 18?" distinction.
user2620028
@ssube this has yet to happen to me :O
22:57
and that's when I knew that 18 was too young :(
Sadly, no, I don't have to worry about "is she 18".
is the age/2+7 thing still a thing?
I wish.
@towc also, lol, as if they weren't screwed enough already
I thought they were doing well
22:58
@david there's a spot where it doesn't quite work, though
@david yup. It's a universal truth, like E=mc^2
@Luggage that formula's wrong
at 23, it says 18 is good, and 24 for 19
@towc Nerd alert
@towc what formula do you use?
22:59
@towc it's not but it does have a hardware rootkit if you look really closely at the middle of the M
wait 'till I prove it in a lambda simulation of the universe
He's mad about your capitalisation
you can't simulate the universe with Lambda
no, it's actually wrong
i think the actual equation has a few more terms, i can't remember the specifics though
22:59
you'd have to pay literally all of the money for that kind of CPU time

« first day (2264 days earlier)      last day (2909 days later) »