-
-
-
Grub rescure mistake
I tried to install lmde on my new hp, but deleted boot sector sdb. I tried install lmde betsy on unnalocated space but failed. I have grub rescure mistake. Next time i start my computer i have grub rescure mistake. Two day can,t solve. Headache Please, help!
-
fleur started following Buying new laptop
-
Buying new laptop
The same problem for me. I need to buy new laptop in a short time. I am not specialist in hardware at all and strongly need your advice. I found this site but author recommended Dell and Lenovo. I am not shure that this brends has decent quality. My goals: programming and design (webstorm, Sublime, for js and node, local dev server, two OS (windows, linux), Photoshop, Illustrator. Options. Screen: 15,6 inch IPS, Full HD SSD hard drive 256 GB (min) Processor Intel i7 6700HQ (i5 -6300HQ) . Q - much more powerfull then U RAM - 8 GB (min) DDR 4 (3) 16GB Video card: NVidia GTX 960M or GeForce (or similar) Wi-Fi, Bluetooth etc. Comfortable keyboard! I have 800$, but i can find extra money if laptop wll be decent. I will greatly appriciate your advices, because now my old laptop complitely broken and i need to find new one fast.
-
-
Playing around with React/Redux/Unit testing
Thank you very much for sharing this! I think, we need "pinned" theme where forum members can post theirs React app and questions about creating and testing React components.
-
-
-
-
-
-
General JavaScript
Thank you very much for advice and link! I can't continue learning Dan Abramov course about Router because he use Node.js and Express.js for dev server. I don't know it So.. yes, i agree, it's better for me to make something on React first. I am going to make deleteTodo and editTodo function for practise.
-
-
-
General JavaScript
Wynn, thank you much! I will search for more practical examples for to see this in action.
-
General JavaScript
I just watching Dan Abramov lessons and see the unknown syntax [action.id]: todo(state[action.id], action) It means that all ids will combine in array. Can someone tell me, please, how this syntax is called? [action.id]: Looks like some sort of object name destruction. I want to seach more about it but i need to know how it called at first.
-
General JavaScript
Maybe usefull. Just found this. https://medium.com/@dan_abramov/how-to-use-classes-and-sleep-at-night-9af8de78ccb4#.6cqlqzc8q https://github.com/filipelinhares/ress
-
General JavaScript
Thank you !!! I understand the things that i didn't understand in the past for a long time
-
General JavaScript
Awesome! Thank you very much! If understand right - there is in destruction { value, next } value - 1 next - { value: 2, next: { value: 3, next: { value: 4, next: null } } } And if (next) means (if 'object)? Can i ask - what mistake was in my function? What if i will have a task to can get values from random names, not only from value and next.
-
General JavaScript
I saw Mattias video's not a one time and decided make something similar. Because in front end the most common task is to get values from nested objects, i tried to use recursion and reduce for that. For example if i have nested object let someList = { value: 1, next: { value: 2, next: { value: 3, next: { value: 4, next: null } } } }; How i can get values in reverse order? I tried this function reversePrint(node) { Object.keys(node).map(key => { let myKey = node[key]; if(typeof myKey == "object") { reversePrint(myKey); } console.log(myKey); }); } reversePrint(someList); Worked, but not in reverse order and i have mistake with null. Also i tried push values to an array, but i don't understand why every value create it's own array? function reversePrint(node) { Object.keys(node).reduce((array, key) => { let myKey = node[key]; if(typeof myKey == "object") { reversePrint(myKey); } array.push(myKey); console.log(array); }, []); } reversePrint(someList); I will be very greatfull for advice where to find a mistake.
-
General JavaScript
Robert, thank you very much! I was confused with arguments also.
- General JavaScript
-
General JavaScript
Today i was asked to pass the test. function bind(method, context) { var args = Array.prototype.slice.call(arguments, 2); return function() { var a = args.concat(Array.prototype.slice.call(arguments, 0)); return method.apply(context, a); } } The question was: how this function working and for what it can be used. I understand that function bind (and return function too) convert array-like arguments into a real array. Method and context is not converted into array (because of 2 index). I can pass extra args in bind function and args into returned function and call method with context as 'this'. My question is - how it can be used, in what cases. Is method and context - function or objects, or function and object? If someone can provide live example it will be awesome!
-
General JavaScript
Thank you very much, Jack! I will take a look on both
-
General JavaScript
Thank you for advice with course! I passed this course. I used webpack with localhost for this app. It working. But for next step i need to save text, because when i close browser, text dessapeared. Can you give me advice - what technologies is the best for my needs? LocalStorage, MongoDB? Or maybe it outdated now and there are new trends in this area? PS. fetch is working. I understand that i have problem with paths in webpack, because i see in console that file.json is underfined.