Page 1 of 19 | Next »
[02:24:34] Darmani: How do you tell the operator how to judge to values at the same time? Or am I supposed to lookup one value and then the other value.
[02:26:02] Darmani: Obviously it should check the letter and then the symbol but I don't know how I would write it.
[15:59:18] Darmani: Hi everyone! I'm trying to write a comparable method for my object class but I'm not really sure how to go about it.
[16:28:30] Darmani: It's not as simple as other.grade <=> @grade though. Also that filters them backwards.
[16:30:34] Darmani: https://repl.it/repls/PitifulCalculatingFormats <- So when I try this with multiple grades that have letters it puts the "A-" grade first, then "A+", then "A".
[17:02:47] Darmani: canton7: If it was as simple as "do this" I obviously would have done that by now.
[17:22:49] Darmani: Also here's the finished product, it could probably be cleaned up a little more but it works
[17:56:14] Darmani: canton7: What about finding the longest substring in a string? Is there any good articles for that sort of thing?
[17:58:44] Darmani: implement an algorithm that when given a string, returns the longest repeating substring found in the input. E.g., in the string "phenomenal", the longest repeating substring is "en".
[17:59:07] Darmani: Not too complicated but I've never solved this problem before so I don't know where to start.
[18:01:46] Darmani: Well I've never done this before but I have an idea on how it would be solved...
[18:14:17] Darmani: canton7: So you count the characters which show up at least twice in a string and then you examine the characters next to them and so on and so forth until you have your string?
[18:15:24] Darmani: Seeing as this is my first time solving this problem I'd like to just figure it out before I get creative.
[23:25:37] Darmani: Hi everyone! I'm trying to write a comparison operator for my object class that compares the grade it holds to another grade. It's supposed to account for the "+" and "-" in the string.
[23:26:02] Darmani: I'm not sure I know what I'm doing because I keep getting an argument error saying I'm providing an argument but I don't know what that means.
[23:29:18] Darmani: Well the goal here is so that if you had an array of "Grades" you could call sort on the array and it would properly sort them by the string it contains.
[23:30:23] Darmani: Well you could put in a string and it would output an Object with that "grade" in it.
[23:36:33] Darmani: I guess I'm not sure how to include a way for the Array.sort method to be included in my class. Line 12 obviously isn't the way to do it.
[18:26:13] Darmani: Hey guys, so I have this form that dynamically loads a partial onto my page. But I need to add an event listener to an element on that partial.
[22:26:37] Darmani: Hi everyone! This transaction fails and gives no error for some reason. I'm trying to create an object with a dropzone form.
[18:25:09] Darmani: If I have to pass an api key or a token of some sort through an HTTP request where do I put it?
[18:28:29] Darmani: cnk: If I'm passing an api key so I need to specifically name the param to that?
[00:29:04] Darmani: Hi everyone! My flash messages are persisting across pages for some reason. I suspect it has something to do with Turbolinks but I'm not sure.
[00:31:50] Darmani: Radar: https://gist.github.com/mfifth/1fa38196fc5d89955c99134d0dcf11b2#file-order_products_controller-rb
[00:33:41] Darmani: Could it possibly be because of this? https://gist.github.com/mfifth/1fa38196fc5d89955c99134d0dcf11b2#file-app-html-erb-L4
[01:25:10] Darmani: havenwood: That's awesome! That's what I'm in the process of doing. I already have the subsystem installed.
[01:26:00] Darmani: havenwood: I'm having trouble with the Linux Shell though. None of the files I'm creating from the Shell can be seen from the Windows File Explorer...
[03:54:41] Darmani: Hey guys! I keep getting this error msg and I'm my RSpec test and I'm not sure why.
[03:55:06] Darmani: It works when I enter the application and do it manually but I get an error when I run this test :[
[06:21:34] Darmani: capitainIsh: It depends really. Most of the Americans are asleep by now, the rest of the channel chimes in when they feel like it.
[06:23:24] Darmani: The slack chat for Rails is more reliable in my opinion. If you have a question that needs to be answered I'd recommend asking there if no one is here.
[18:54:57] Darmani: Does anyone know where I should apply for junior developer positions? I want to start applying for jobs I'm just not sure where to get started.