My question is fairly simple, seeing as iPod has full support for executing JavaScript (proven my bookmarklets (See below) why doesn't it have a "dev tools" option, or at least a JS console? Is there a specific reason for this feature not to exist standalone mobile?
Or am I blind and that it's a...
So, you have found your way to the Code Review main chat room, The 2nd Monitor, perhaps for one of these reasons:
You were invited or "pinged" by a site moderator or other user to discuss a post on the main Code Review site;
You visited Code Review for the 1st or Nth time, and noticed the chat ...
What is a Zombie? Why are Code Reviewers so violent and talking about killing Zombies all the time? And what ammo are they talking about? What is a TS? What does RSA mean?
And what other Code Review-specific memes are there?
(As the number of memes grows and grows, and Malachi's wish to vote fo...
You mean, with a massive amount of upvotes/stars? And then it's shared a million times in Facebook? And then it is popular worldwide? And then it becomes... A Meme?
Note: Can someone help me with indenting code? Thanks.
From SICP
Exercise 2.28: Write a procedure fringe that takes as argument a tree (represented as a list) and returns a list whose elements are all the leaves of the tree arranged in left-to-right order. For example,
(define x (list (list ...
This is a solution for the Day 8 hackerrank.com challenge.
Full description here. The idea is very simply, however i was wondering about more efficient and elegant Ruby solution.
The basic idea of the challenge is to create a hash based on the input and later on iterate through another input of ...
Mr Mug can't convert answers to comments and then back to answers losslessly? I think it's because comments lose their \n's (know \n?) and they aren't recovered when converted back into answers.
Then again, from what I hear Europe's public transport is pretty cheap, it's just the UK that has exorbitant ones.. My transport fees went up 10% this month for no reason
I would love to do remote working, but nearly every local company is enterprise and doesn't support it unless you have extenuating circumstances, and even then only on rare occasions. For example, in my company you can work from home if you have an engineer coming over for your internet or whatever, but otherwise you're need to be in the office.
An important note about remote working: There are tangible, significant benefits of having people physically in the same space irregardless of where that space is.
@Gustavo6046 Pro tip, a constant stream of comments about what you're doing/thinking/whatever right now is rarely something that other people will find funny/interesting/informative.
@Gustavo6046 Just so you know, your deleted messages can still be seen by room owners and moderators. If you think you will end up deleting something, please delete it before you press Enter.
I have created a project which uploads data from my local storage to my Google Drive account using the Google Drive API.
You can read about how to run it on its Github repository.
The main script upload.py:
#!/usr/bin/env python
from __future__ import print_function
import os
import sys
im...
By the way, if there is anyone who has done some independent contracting and feels like offering advice, I've asked a question in Nth monitor that I could use some answering. Though, it's probably better on the workplace, come to think of it.
After 8 years with the same apache webserver, the .htaccess file seems to be a bit heterogeneous. I have taken some care about readability, but there are still some problems (such as pages with www. prefix not working). How would you improve this .htaccess?
RewriteEngine on
ErrorDocument 404 /40...
I use Atlassian fisheye for code-review. If I create a review which has about 2000 revisions and 1700 files it takes a very long time to download the revision. If I open the Chrome developer tools "Network" I see that it consumes 12 minutes for about 800 Kb. But a first it waits 2 minutes before ...
I think it is because it is using HTML tags for formatting instead of the markdown system, if you remove those and indent using the buttons in the toolbar it should work OK
Flambe is a really neat tool, even though developer dissapeared around march, and the proper camera access is missing (I could move to openFL, but I'm way too deep at the moment). This is my take at creating hybrid camera recorder (webcam for JS and frontal camera for AIR). Note that's early deve...
@morbidCode Yes. There are two ways to "code block" code inside of a quote block: Either with HTML by wrapping it in <pre> </pre> tags, or by indenting it with Ctrl+K first before you quote block it
As FYI, I tried your suggestions, but I'm encountering script issues where script execution is out of order. I'll have to see if there are any internal resources which can review the entire script as a code review. — Jenner50 secs ago
So I am trying to create a report using the tables in this post, and I am thinking about having every cell in the report call a stored function that returns the amount of times a certain language is used in an office. I created this function, here is the code:
create or replace
function SF_GET_L...
@Phrancis I should've said this earlier, but I can't see your example because my eyes are destroyed, so I'm using a screen reader. :) what I do is paste the code in the form, do the shortcut keys and hope it indents
@WiktorZychla this would not be a good fit for Code Review in its current format, as we require the real, working code (rather than snippets/example code) to be posted. — Phrancis49 secs ago
@AndyTurner this would not be a good fit for Code Review in its current format, as we require the real, working code (rather than snippets/example code) to be posted. — Phrancis12 secs ago
Problem description:
You are given a phone book that consists of your friend's names and
their phone number. After that you will be given your friend's name
as query. For each query, print the phone number of your friend.
The first line will have an integer N denoting the number of e...
Please consider this jsfiddle for context. I've come to learn that the .each() method is slow than the for loop method. I've also learned how to properly use the for loop. As such, please help me refine the code that will have the for method mimic the .each() method. The issue specifically th...
You have been tricked by a mechanism commonly known as "boxing" (c# related article, java related article) which mesmerises all who come across it. You had the correct answer in the beginning:
Perhaps because 1 is a primitive not an object to begin with?
Exactly so. However, how can primiti...
I found a entry on Jira the other day saying "clean up x & y stored procs" and I went over to them on SQL Server and I couldn't even read them... closed those very fast
I've heard that SELECT * is generally bad practice to use when writing SQL commands because it is more efficient to SELECT columns you specifically need.
If I need to SELECT every column in a table, should I use SELECT * or SELECT column1, colum2, column3, etc.
Does the efficiency really matter...
Say I have a javascript method like this:
export function getDateTime() {
let query = breeze.EntityQuery.from('GetDateTime');
return entityManager.executeQuery(query);
}
Basically, I am saying that I want to get the current date time from the server.
So far so good.
Then I call it:
...
IDK, when @Captain posted off-topic carp there used to be a bunch of regulars jumping on it, almost fighting for having their name in the "closed by" list
I wasn't here until just now, there's Quill who did something, then there's Phrancis, who is hunting bugs, Zak who doesn't have privs IIRC, Dan who's greyed out and probably actually working and suddenly ...
But @Mat'sMug maybe you mods should test out what happens if you don't hammer stuff (unless absolutely needed) and let the review queues do what they are designed for?
http://www.commitstrip.com/en/2016/01/08/a-coders-moment-of-doubt-by-depressed-coder/ CommitStrip A coder’s moment of doubt. By Depressed Coder CommitStrip 1452278593
I do a lot of copying excel vba code related to classic ADO from workbook to workbook, so I've decided to add the code to a Class Module in a single utility workbook and then in all other books just reference the utility book and use instances of the ADO wrapper class.
The class module is called...
@jdln I will mark this as off topic because this question truly belongs in Code Review, that way your question (which is working correctly) can get help from more code reviewers who will look into helping you improve your code. Why am I suggesting this? Read the How to Ask section on this page — AGE1 min ago