« first day (2054 days earlier)      last day (2893 days later) » 

3:00 PM
I have one question maybe it is stupid : Can i create two same elements with same name <input type="file" name="nam"><input type="file" name="nam"> ?
 
!!google plinko pachinko difference
 
@Phoenix yes. Try it, and see what it does
 
@Phoenix you can but you probably shouldn't
 
@Phoenix Yes. But the server won't like you.
 
I'm done
 
3:01 PM
@Phoenix the second will overwrite the first. Best to use arrays: <input type="file" name="nam[]" />
 
isn't consider bad practise using same name?
 
wat
 
user3119231
:30879279 please be respectful and use full words.
 
me ?
 
Yes.
@Maurice I'm totally stealing that wording, though.
 
3:03 PM
@Phoenix no, not me. you.
 
:-----()
 
The cuthlu in me is laughing
 
> ERROR - ALREADY ACTIVATED <STRONG> USER </STRONG>
 
Jesus... my algorithm timed out over the weekend, and now I have to run 800k collections through it. It's taking 35 minutes so far
 
Do any of you work for cbi by chance?
 
3:05 PM
Do you mean FBI?
 
I need to strangle you next opportunity
 
@Neil yes
 
@JanDvorak no, I mean cbi
 
YES|
 
Colorado Bureau of Information?
 
3:06 PM
Central...
 
Central Bank of Indianapolis?
 
Customer to business interaction
 
obvious troll is obvious
 
oh. PR.
 
Awful awful site that I need to use for requesting a certification
 
3:07 PM
Critical Bagel Investigation?
 
@littlepootis Just move to the US; we directly inject calories into our food.
 
It can't be worse than w3schools, can it?
 
@ndugger lard, really
 
@ndugger That's old-school. I recommend injecting liquefied hamburgers into the bloodstream
 
@Phoenix why did you ask that question then? Please note that using the name=nam[] is different than using name=nam multiple times. The latter causes issue.
 
3:09 PM
@JanDvorak that's how you get autism
 
So has anyone here worked with "scan" events (like a qr code)? Do you just create a timeout that automatically submits?
 
I already have Asperger's (maaybe?), so it can't be that much wors.
 
i'm curious if someone would be able to liquefy a hamburger
 
@KarelG Sure. Enough HCl + pepsins should help
 
@BenjaminGruenbaum still undecided on YGLF
Last I looked there were no lectures posted.
 
3:10 PM
pepsins?
 
YGLF = you gotta link Friday?
 
love frontend*
 
Pepsin is an enzyme that breaks down proteins into smaller peptides (that is, a protease). It is produced in the stomach and is one of the main digestive enzymes in the digestive systems of humans and many other animals, where it helps digest the proteins in food. It is one of three principal proteases in the human digestive system, the other two being chymotrypsin and trypsin. During the process of digestion, these enzymes, each of which is specialized in severing links between particular types of amino acids, collaborate to break down dietary proteins into their components, i.e., peptides and...
 
@JanDvorak could we achieve this non-enzymatically?
 
Enough heat should suffice
 
3:11 PM
last sunday I was in Port Aventura :D
an amusement park
 
like, 10kK might suffice
 
@ssube have you ever pulled, ran through a semi-complex calcuation, and re-insertted ~1 mill mongodb records?
 
@FilipDupanović yes, jesus.
 
(or anybody) ^
If so, did it take upwards of 30 minutes to run?
 
@JanDvorak let's be honest, our corporal form has not had enough time to remove historical redundancies
 
3:12 PM
@JanDvorak try to put that in your mouth :|
 
from 0 to 135km/h in 3.5 seconds
 
I was right with you until the mongodb records ;-)
 
has to cool down first, ofc
 
@SterlingArcher lol yes, a few times
 
@Neoares i love portaventura (in barcelona)
 
3:13 PM
we just need the brain... let's cut everything out and just dip our brain into a soup of decomposed hamburger proteins and coconut oil and call it a day
 
it is even open until midnight (during summer holidays)
 
@Neoares that prelaunch video is yucky
 
@ssube urg. How long would that take on a relational db?
 
@KarelG :) have you gone to Shambala?
 
@SterlingArcher you need to use batch loading or at least a cursor
 
3:13 PM
I am using a cursor, and the collection is indexed too
 
@JanDvorak yes, but before they had the front doors closed
 
@Neoares don't ask me for the attraction names cus i don't remember these
 
then they open them at the end of the video
 
in postgres, my backup and restore (60m rows in one table) takes... a couple minutes
 
that's different than a NoSQL db
 
3:14 PM
@Neoares looks incredibly lame
 
@SterlingArcher you may have better luck leaving the index for the end.
 
@FilipDupanović I don't even know what that means
 
@KendallFrey all roller coasters look lame when you see them on a video
 
Building an index on existing data can be faster than inserting when the index already exists.
 
There's a surprising amount of sodium in Almond Milk. Strange.
 
3:15 PM
Yeah it's an existing data index
 
@Neoares No, that one didn't go more than like 30 feet above ground. wtf
 
no, it's not about height
 
mongo will never be fast for large numbers of writes, it's meant for reads
 
it's about speed and acceleration
 
there's more to life than just going fast
 
3:16 PM
if you want height, then go to Shambala
 
but if you insert as much as you can and index later, it might be faster
but it will bloat your data files
 
almost 100m fall
 
@KendallFrey s/fast/high/
 
If you want height, go the Felix Baumgartner route
 
if you want botch height and acceleration, go to the new ferrari roller coeaster they're building on port aventura
 
3:18 PM
If you want girth, look no further.
 
@Neoares or just get a wing suit
 
@ssube also
 
*both, *Ferrari?
botching height doesn't sound like something you want
 
yes
 
@JanDvorak pfft, Felix has got nothing on Chris Hadfield
 
3:19 PM
@JanDvorak oh it's you
I don't even know what "botch" is
just missclicked :D
 
!!tell neoares define botch
 
@neoares [botch](http://en.wiktionary.org/wiki?curid=85672) (transitive) To perform (a task) in an unacceptable or incompetent manner; to make a mess of something; to ruin; to bungle; to spoil; to destroy.
A botched haircut seems to take forever to grow out.
 
:o TIL
 
Ex: you have just botched typing "I don't even"
 
Sounds liek somethung i wud totally do
 
3:21 PM
true
I'm just typing so fast so furious
 
I prefer typing actual words
 
LOL
Check this BTW if you have time
0
Q: res.sendFile and res.redirect not working appropriately with Angular js

Gandalf the WhiteOverview I am using Angularjs on the client side and node.js on the back end along with expressjs. With Angularjs I am using ngRoute for routing purposes on the front end. What my problem is app.post('/fetchdata', checkToken(), routename.functionname); This is a sample route for example,...

 
I sure hope checkToken returns a function
 
naah either takes you to the specific route
 
3:27 PM
then you did it wrong
function foo() {
  return 123;
}

bar(foo()); // you just passed 123, not foo
 
Well it don't need any parametrs
parameters
 
You're missing the point
I also think it odd that you think this has anything to do with angular
 
@GandalftheWhite how do you reference a function vs how do you call a function
that is the root of your problem
 
Can I paste the code of check token here?
 
...
 
3:29 PM
the method checkToken()
 
unless it returns a function, it is wrong
you are calling the method, not passing it
58 secs ago, by rlemon
@GandalftheWhite how do you reference a function vs how do you call a function
answering this should answer your problem
 
Okay
I am on it
 
lol
 
:|
You're welcome here, you are allowed to ask questions. But try to do more: listen to others, try to comprehend it...
2
 
This terrible and retarded Q should help you understand the issue: stackoverflow.com/questions/21467171/…
 
3:32 PM
5 mins ago, by rlemon
function foo() {
  return 123;
}

bar(foo()); // you just passed 123, not foo
I really think if you look at it, this should be enough
 
Yes, it worked! Thank you very much. Stack overflow said I have to wait 7 minutes to accept the answer, but I will when the time comes. Thanks! — ndugger Jan 30 '14 at 21:00
 
@KarelG this was right at the beginning of me learning JS... well, learning any programming, really. I was really stupid.
 
at least you tried to understand it
i hope that you do atm :P
 
I don't understand anything
 
I was actually reading a tutorial regarding middlewares
which Kevin I guess said is not good
and then Andy asked me to add parenthesis and the code worked
but then I added this res.redirect thingy
 
3:36 PM
With middleware, you pass in a function, which is what you're not doing.
 
This is my checkToken Code
 
We don't have to see your code to know what you're doing wrong
You're not passing in a function, you're passing in the result of that function
Oh wait, it does return a function
 
If I could have grasped that I would not have pasted this
 
Dude, rlemon asked you if it returned a function, and you said no
You're either a liar, or clueless.
 
I was confused what he actually wanted of me
Clueless
 
3:37 PM
@GandalftheWhite that looks good
 
Sarcastic Much sire @FilipDupanović
 
now, why do you wrap it in another function
 
I removed redis related code from there
if I don't then req is undefined
this is what he did in the tutorial
 
what?
no no
 
I was just following it
 
3:38 PM
I'm really afraid of the quality of code that you're producing.
 
I totally get it
 
function middle(req, res, next) {
  next();
}

router.get('/poop', middle, handler);
 
and I am afraid about it too
 
is perfectly valid
 
in past 6-7 months
 
3:39 PM
DROP raindrop FROM clouds WHERE location LIKE "%Prague%"
 
I have learned Cloud related stuff
node.js
angular
and some other stuff
 
@GandalftheWhite the problem is you're redirecting on the server, within an ajax request. What that will do is simply redirect the ajax request, and return the html of the target page as the response of the ajax request. it won't redirect the user to a new page.
 
having complete hold of it is tough
 
The same happens when you use sendFile within an ajax request. It doesn't prompt the user to download the file, instead it sends the file as the response of the ajax request.
 
3:40 PM
@GandalftheWhite your problem is that you learned libraries and frameworks before you fully understood the language. Now you're trying to learn things backwards, with a strong bias towards the libraries that you know. You're gonna have to forget some things in order to relearn things properly.
 
@GNi33 Haha, tear your hair out fun?
 
Agreed @ndugger
I am in core team of start up
 
Well don't do that shit. This is why we don't like jQuery and Angular in here.
 
and I am not planning to continue technical work
once we get some financial backing
This is just for the beginning
to get some traction
 
huh, TIL Michael J Fox plays his own daughter in back tot he future 2
 
3:41 PM
Even if we scale for 10k users I am pretty sure we'll be clear of what lies next
 
I have no sympathy for people that want to make it big in startups with massive gaps in knowledge.
 
@GandalftheWhite no, you actually won't.
 
The point is Tech thingy is not my passion
 
You'll have no idea what to do.
 
1 min ago, by Gandalf the White
I am in core team of start up
 
3:42 PM
@GandalftheWhite then don't work for a tech startup.
 
21 secs ago, by Gandalf the White
The point is Tech thingy is not my passion
these somewhat contradict
 
@KevinB should have been the answer (y)
 
By we'll be clear of what lies next - if we should continue this or not
@rlemon well I guess problem solving is what actually matters. The system I am building if I had to do it properly all by myself will take whole lot of time
n number of 3rd party integration
and plethora of Angular js stuff would actually take more than 1 person to make things work
and then the CLOUD
 
@GandalftheWhite if you think the cloud is a thing you add to your software, good luck paying back any money you raise
 
ha that is not that bad of an idea. reserving email addresses for your kids. I'm totally going to do that. all the good names will be taken by then
cc @DenysSéguret
 
3:45 PM
This startup seems like a cluster. Sounds like terrible planning to make a non-js dev write a ton of js for the software...
 
@rlemon I saw that idea a while back. Seems like if you're going to have kids, it's a great idea.
 
@GandalftheWhite the "CLOUD" is just some other dudes pc
 
"Dear little Timmy, God you were a shit today. You were the reason I drank this entire bottle of whiskey. Thanks again for ruining your mother's best quality with your birth. - Dad"
 
@ssube I am using GAE now xD
I was learning reverse proxy and load balancing for the same
 
ohh man that is also a good idea. @SterlingArcher keep a mist bottle in the car. mist the steering wheel and shifter on hot days, the evaporation will cool them quickly and you don't have to burn your hands
 
3:47 PM
but then I saw GAE
 
@rlemon You clearly live in Canada. This has been a thing in the US forever.
 
and yes, I had to use a new DB system as well. Mongo DB
 
@rlemon and wreck the leather
 
@ssube if your leather is properly maintained a light misting will do no harm
 
I use WD40 instead
 
3:48 PM
like. at all.
 
@GandalftheWhite you don't understand servers so you're using GAE and you don't know JS so you're using Mongo?
 
:/
first part = understood
 
little bit of mink oil and leather cream a couple times a year and your leather will outlast everything else on the car :P
 
second part - no
you don't know js so using mongo?
 
@rlemon what if the car is made entirely of leather?
 
3:49 PM
I have used fair bit of SQL
 
@GandalftheWhite mongo's only benefit is pretending to be JS
 
@ssube that's called a cow
 
@GandalftheWhite I'll be seriously sad in the state of the world when you'll get funding.
 
Well it is fast from what I read
 
@rlemon twin-turbo cow
 
3:49 PM
@ssube I almost puked when I looked at the import structure. invalid JSON :/
WHY!?
 
@GandalftheWhite if you use it right
 
@FlorianMargaine I wont be doing the tech work then
 
which you won't be
 
Probably @ssube
 
You shouldn't be doing any programming for any company if you don't know how to. This is a big part of why I refuse to work for startup companies anymore.
 
3:51 PM
I'll be glad if you can highlight somethings that I might be doing wrong
 
Nobody knows what they're doing.
 
I understand that @ndugger
 
heh
some startups are fine :)
a new guy came in this week
 
I have been to many start ups working area. They are worse than I am.
 
he's a bash nerd
 
3:52 PM
@GandalftheWhite You're not basing your tech stack on your product and any educated guess.
 
@GandalftheWhite Basically what we're saying is, you need to start from the bottom and work your way up. What you're doing now is basically setting this entire little company up for failure.
 
@FlorianMargaine oh god
we had one of those
 
@Megaplex - I know that but I am helpless as of now
 
@ssube the good kind, I mean
 
I know if I will have to continue this then I must read a fucking book at least
they don't teach JS in college
 
3:53 PM
@GandalftheWhite by choosing your tech based on what sounds easiest in the product brochure, you've guaranteed that you'll have to rewrite the entire thing within the next year or so.
 
lol
 
like, I wouldn't be surprised if he had written bash
 
You don't need to go to college to learn how to program
 
@FlorianMargaine the good kind of bash nerd?
 
3:53 PM
I'm fairly certain that's not a thing
 
@ssube Agreed. We know that. We'll have to rewrite the whole thingy
 
@ssube Like a vegan that doesn't tell you he's one every few minutes.
 
@GandalftheWhite That's bullshit. Nut up and spend a few nights to read up on the technologies and figure out the best way to do what you're going for. Don't try and use college as an excuse, a lot of us here don't actually have college degrees. We just have the gumption and dedication to properly learn how to develop.
 
We just have 3 members in tech department from which only one concentrates on webapp
 
@GandalftheWhite a rewrite is enough to kill a small company. You won't have the time, money, or people for that for another 5 years.
but by then, your platform will be so overloaded that nothing will work
 
3:54 PM
Our tech work isn't that complext
complex
We are using 3rd party services for most of the work
 
@GandalftheWhite famous last words.
@GandalftheWhite That alone makes it complex.
 
Just do it right the first time; Why do people find that to be such a difficult concept to grasp? I have to fight for correctness in code and process every day at work.
 
@ndugger It's not easy.
 
I am not doing much wrong
 
@ndugger it takes experience.
 
3:55 PM
Of course it is
 
I just need to make things more modular
 
"do it right the first time"?
lol
 
@ndugger No it isn't.
Requirements change. Drastically.
 
@ndugger You'll be fighting for the opposite thing in a few years when you've realized its value.
 
You can't predict the future.
 
3:55 PM
and the quality improvement can be done with time
 
@ssube what do you mean?
 
What's right for right now isn't right for 3 years down the road
 
Agreed.
We might not use the same tech stack.
 
Very very very few products have not changed drastically since their creation
 
It is tough to get quality node.js folks here
 
3:56 PM
well, I would plan on using the same stack in 3 years
 
@ndugger the things you are fighting for now make sense with your current understanding of the tech, but once you start to push it, you'll realize the things you hate have value.
 
And those very few products are usually written by people who are considered geniuses.
 
@MadaraUchiha Usually that translates to: 'We're completely ignorant and we're just going to spaghetti code this and hope something sticks enough we can get funding.'
 
@GandalftheWhite changing stacks halfway through is not a good idea
 
Git, Bitcoin
 
3:57 PM
@FlorianMargaine hey, don't be like that! I'm sure lots of people started off filling the void in some alien shoes
 
@GandalftheWhite No offense, but I can imagine it being very hard to get quality programmers in general from India... @Abhishrek will back me up... your education system is fucked.
 
Halfway? - It'll be a new journey all together after being funded
we'll have to aim for specific number of people
 
@GandalftheWhite you will live with what you start with
 
It sure is.
 
@GandalftheWhite ...what? You don't go for a re-write off initial funding.
 
3:57 PM
Or you die.
 
@GandalftheWhite that's the opposite of true.
 
@ndugger I back you up, It is not fucked up it is designed to be that way
 
You won't get the chance to switch stack, not in the first years.
That's why this decision is critical.
 
@Abhishrek it's designed to be fucked up? lol
 
Once you get funding, you'll have pressure to actually deliver everything else
you will not have time to rewrite stuff
 
3:57 PM
@ndugger yes
 
@ndugger It's designed as a factory
Not as an academia.
 
and for that we have already planned
the point is with no solid experience in tech part it isn't easy to do things the right way
 
@GandalftheWhite you've planned to keep using and scaling your current tech?
 
The purpose of funding is so that you can actually complete the initial product and get it running. After you can prove that the product works well as is, THEN, you can focus on getting the funding to redesign the back in.
 
when you are fresh out of college you don't know shit how things actually work in professional world
 
3:58 PM
@GandalftheWhite then get somebody who knows what they're doing.
 
We cannot afford that as of now
otherwise we would have done that
 
get one experienced person onboard to save your asses
 
and anyway one guy wont do as much work
 
@GandalftheWhite we can
 
3:59 PM
Find someone else foolish enough to work for free for a part of the company
 
@GandalftheWhite it's like that in most places (that point specifically)
 
or you're royally, thoroughly, on-the-line-for-millions screwed
 
@GandalftheWhite He doesn't need to do work
 
our education system is designed to be fucked
 
It's what you all are currently doing, assumably
 
3:59 PM
He needs to make the decisions.
 
Then congratulations, your startup is dead in the water before you even can seek investors.
 
last architechtural redesign occured before independence
 
High level design decisions.
 
and all we did is just slowly update books
 
Even the small companies here
 
3:59 PM
kinda like debian
 
that I have visited don't have the real quality software folks
 

« first day (2054 days earlier)      last day (2893 days later) »