• Breaking News

    Sunday, October 28, 2018

    What time is it? Oh it's purple web developers

    What time is it? Oh it's purple web developers


    What time is it? Oh it's purple

    Posted: 28 Oct 2018 02:31 AM PDT

    My newly designed site takes FOREVER to load. It never took this long to load. Until now, the day before the site is due to client. Please help.

    Posted: 28 Oct 2018 02:28 PM PDT

    I would appreciate it if anyone can lend suggestions on how I can speed this site up. As sure as I'm sitting here, it was not loading this slowly before today. It is due to client tomorrow. Any help would be greatly, greatly appreciated. Thank you.

    www.siteforce.us

    submitted by /u/mochafrenchie
    [link] [comments]

    Storing bank information

    Posted: 28 Oct 2018 10:17 AM PDT

    My client just surprised me with his secret requirement of the site I am working on for him. Apparently he wants to be able to pay the users of his site through "direct deposit" which apparently means having the users bank name, routing and checking #s on our site.

    Is this as terrible of an idea as it sounds? Is there a third party service to use like paypal/stripe which can handle this?

    submitted by /u/pineappleinferno
    [link] [comments]

    Scraping Google Suggestions with PHP at the terminal - James❤Code #1

    Posted: 28 Oct 2018 01:57 PM PDT

    i need to update our non-profits website to SSL, it uses a lot of subdomains on the same server.. there is no budget. Google says this might be tough, any advice?

    Posted: 28 Oct 2018 02:10 PM PDT

    the pages/subdomains are:

    https://focallocal.org

    https://action.focallocal.org

    https://activities.focallocal.org

    https://morehappiness.focallocal.org

    https://shop.focallocal.org

    https://news.focallocal.org

    https://discuss.focallocal.org

    they are spread over three servers. one server had SSL succesfully set up already, the one hosting focallocal.org

    Do i have a problem? I guess they could all be moved into the main site - https://focallocal.org/news

    that would be a lot of work though and i'm a beginner dev, mistakes and damage are likely.

    what would you do?

    thank you

    submitted by /u/roamingandy
    [link] [comments]

    How do you actually study web development ?

    Posted: 28 Oct 2018 04:39 AM PDT

    Hi everyone. I wanted to open, sort of a discussion, to see how other, primarily self-taught developers, actually go trough the learning process. Like, do you "study" by watching tutorials, reading some articles and most importantly creating your own projects, or do you study like in the traditional education system way, like in schools, like literally studying from books like you'd do in school / college ? I myself am into this for about 10 months now and I'm yet to jump into some javascript framework (focusing on front-end for now), as I wanted to get a solid knowledge in JS first, for me it's better that way. Probably would've made bigger progress by now, but had to wrap up my studies (got a degree in Marketing - totally not related to this field, but then again the love for computers and technology made its own mark). And 99% of the time, I "study" by either watching tutorials online or working on projects by myself (this way has proven to bring in the most knowledge-value to me). So yea, how do you actually "study" web development (front-end, back-end, full-stack, whatever you do)?

    submitted by /u/nuclearmkd
    [link] [comments]

    Would accepting a desktop IT position be applicable job expereince?

    Posted: 28 Oct 2018 12:15 PM PDT

    I am currently a graphic designer with no it or technical experience. I have potential for a network and desktop IT position but my long term career goals are to become a web/software developer. Would accepting this position be a good choice to get experience or would it funnel me in the wrong direction?

    submitted by /u/tkddude100
    [link] [comments]

    A Framework Author's Case Against Frameworks

    Posted: 28 Oct 2018 12:02 PM PDT

    Questions for anyone in Content Management

    Posted: 28 Oct 2018 12:02 PM PDT

    What's your job title?

    What do you feel are the pros and cons of your job?

    What's your view on your career path?

    How long have you been in the field?

    Tips for anyone considering content management as a career choice.

    submitted by /u/jb6th
    [link] [comments]

    Mysql crashing for wordpress droplet on DO

    Posted: 28 Oct 2018 11:59 AM PDT

    Hi. I'm on the $5 droplet and my wordpress site has crashed more than once. This is the error log I see a bunch of mysql errors

    /var/log/mysql/error.log:2018-10-28T16:36:57.329169Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool

    /var/log/mysql/error.log:2018-10-28T16:36:58.022418Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool

    /var/log/mysql/error.log:2018-10-28T16:36:58.706492Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool

    /var/log/mysql/error.log:2018-10-28T16:36:59.349615Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool

    /var/log/mysql/error.log:2018-10-28T16:36:59.834591Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool

    /var/log/mysql/error.log.3.gz:2018-10-26T06:17:45.340810Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool

    /var/log/mysql/error.log.3.gz:2018-10-26T06:17:45.944875Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool

    /var/log/mysql/error.log.3.gz:2018-10-26T06:17:46.587282Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool

    /var/log/mysql/error.log.3.gz:2018-10-26T06:17:47.080049Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool

    /var/log/mysql/error.log.3.gz:2018-10-26T06:17:47.563207Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool

    I am barely at 1000 visitors a day. I know it's a small droplet but I remember reading even a $5 droplet can handle tens of thousands of visitors. How do I optimize my apache/mysql?

    submitted by /u/WannaBeBetterMe
    [link] [comments]

    Does storing a single variable in localStorage legally require annoying consent popup?

    Posted: 28 Oct 2018 12:05 AM PDT

    I recently learned that storing information in localStorage (and probably indexeddb) is effectively the same as cookies - it stores information on clients browser. Now let's say I use it to store a single boolean variable that remembers if the side menu is open or closed between sessions. Am I legally required to notify users about it?

    submitted by /u/akira_fmx
    [link] [comments]

    [x-post /r/DataArt] What 14,000,000,000 years of history looks like: An interactive visualization where every dot is a Wikipedia article about a single historic event

    Posted: 28 Oct 2018 11:22 AM PDT

    Custom CSS for navbar not collapsing - something conflicting with built-in code?

    Posted: 28 Oct 2018 01:09 PM PDT

    I used html/CSS code to create a custom navbar instead of using the built-in one, however I am having issues with getting the menu to collapse when a link is clicked on both desktop and mobile. The code should work correctly, so I'm wondering if this is an issue with conflicting elements in the theme?

    The website is still in dev so there is a site-wide password enabled: https://leopard-walrus-bweg.squarespace.com/

    password: impact

    Note: Ignore the secondary nav

    Here's the full code:

    1. .navbar {
    2. overflow: hidden;
    3. background-color: white;
    4. font-family: Montserrat;
    5. font-size: 20px;
    6. font-weight: bold;
    7. }
    8. /* Links inside the navbar */
    9. .navbar a {
    10. float: left;
    11. font-size: 20px;
    12. font-family: Montserrat;
    13. font-weight: bold;
    14. color: #50514f;
    15. text-align: center;
    16. padding: 33px 14px;
    17. text-decoration: none;
    18. display: inline;
    19. }
    20. /* The dropdown container */
    21. .dropdown {
    22. float: left;
    23. overflow: hidden;
    24. display: inline;
    25. }
    26. /* Dropdown button */
    27. .dropdown .dropbtn {
    28. font-size: 18px;
    29. font-weight: none;
    30. border: none;
    31. outline: none;
    32. color: #50514f;
    33. padding: 33px 14px;
    34. background-color: white;
    35. font: inherit;
    36. /* Important for vertical align on mobile phones */
    37. margin: 0; /* Important for vertical align on mobile phones */
    38. }
    39. /* Add a background color to navbar links on hover */
    40. .navbar a:hover, .dropdown:hover .dropbtn {
    41. background-color: #4cbf5f;
    42. opacity: .85;
    43. }
    44. /* Dropdown content (hidden by default) */
    45. .dropdown-content {
    46. display: none;
    47. position: absolute;
    48. background-color: none;
    49. font-weight: normal
    50. width: 100%;
    51. left: 0;
    52. box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    53. z-index: 1000;
    54. opacity: .85;
    55. }
    56. /* Show the dropdown menu on hover */
    57. .dropdown:hover .dropdown-content {
    58. display: block;
    59. }
    60. /* Links inside the dropdown */
    61. .dropdown-content a {
    62. font-family: Montserrat;
    63. font-weight: normal;
    64. color: #50514f;
    65. font-size: 16px;
    66. line-height: 1.5em;
    67. padding: 12px 16px;
    68. text-decoration: none;
    69. display: block;
    70. }
    71. /* Create three equal columns that floats next to each other */
    72. .column {
    73. float: left;
    74. width: 20.33%;
    75. padding: 20px;
    76. background-color: white;
    77. height: 425px;
    78. opacity: .85;
    79. }
    80. /* Style links inside the columns */
    81. .column a {
    82. float: none;
    83. line-height: 1.8em;
    84. color: #50514f;
    85. padding: 10px;
    86. text-decoration: none;
    87. display: block;
    88. text-align: left;
    89. font-weight: normal;
    90. }
    91. /* Add a background color on hover */
    92. .column a:hover {
    93. background-color: none;
    94. text-decoration: none;
    95. }
    96. /* Clear floats after the columns */
    97. .row:after {
    98. content: "";
    99. display: table;
    100. clear: both;
    101. }
    102. /*Style the dropdown headers*/
    103. .column h3 {
    104. font-family: Montserrat;
    105. font-size: 15px;
    106. font-weight: bold;
    107. color: #247ba0;
    108. line-height: 1.5em;
    109. }
    110. /* Add an active class to highlight the current page */
    111. .active {
    112. background-color: white;
    113. color: #50514f;
    114. }
    115. /* Hide the link that should open and close the topnav on small screens */
    116. .topnav .icon {
    117. display: none;
    118. }
    119. /* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
    120. @media screen and (max-width: 600px) {
    121. .topnav a:not(:first-child), .dropdown .dropbtn {
    122. display: none;
    123. }
    124. .topnav a.icon {
    125. float: right;
    126. display: block;
    127. margin-right: 10px;
    128. }
    129. }
    130. /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
    131. @media screen and (max-width: 600px) {
    132. .topnav.responsive {position: relative;}
    133. .topnav.responsive a.icon {
    134. position: absolute;
    135. right: 0;
    136. top: 0;
    137. }
    138. .topnav.responsive a {
    139. float: none;
    140. display: block;
    141. text-align: left;
    142. }
    143. .topnav.responsive .dropdown {float: none;}
    144. .topnav.responsive .dropdown-content {position: relative;}
    145. .topnav.responsive .dropdown .dropbtn {
    146. display: block;
    147. width: 100%;
    148. text-align: left;
    149. }
    150. }
    151. /* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
    152. @media only screen and (min-width: 320px) and (max-width: 768px) {
    153. .column {
    154. width: 100%;
    155. height: auto;
    156. }
    157. }
    submitted by /u/bbzip
    [link] [comments]

    Image resizer for daily use

    Posted: 28 Oct 2018 09:17 AM PDT

    Keyboard accessible CPU temperature guage

    Posted: 28 Oct 2018 09:14 AM PDT

    Trying to develop a website, not sure where to start, would love some input.

    Posted: 28 Oct 2018 08:47 AM PDT

    The website's intended use is for a League that has teams, with players. I am not sure what I need per se, but I do have a few websites as references of what I'm looking for. It's a sports related website, think fantasy football, or hockey. I need player profiles, a stats system (preferably some form of OCR possible, because stats are currently done manually with screenshots), a chat box for people to use while on the site, and a forum section for posting threads. Because I am so early in the design process I am unsure of what exactly I need and at this time, price is not my primary concern right now. What I would like to know is if there's anyone on this page that would not mind PM'ing me so that I could show you screenshots of several of the reference web pages, and explain more in detail exactly what the website is for, and the features I would need, and want.

    The stats system would be in tune with something like mystatsonline.com

    One of the websites I have as a reference uses xenforo for their forum hosting.

    But let me know if anyone has a few minutes and wouldn't mind helping out a completely novice with a little bit of insight as to what all of this this would involve. Thanks for your patience everyone, again I know this is very vague, but I promise I have examples, and an understanding of what I want. But, It's a very complicated thing to explain without sorta showing if that makes sense.

    Thanks for any help!

    submitted by /u/thealliane96
    [link] [comments]

    Is there any way to convert Visual Composer based pages to Elementor?

    Posted: 28 Oct 2018 08:47 AM PDT

    I made some page using Visual Composer. Now I wanna recreate same pages with Elementor. Is there any automated way I can do it? Please help me if anyone knows. :(

    submitted by /u/micropoet
    [link] [comments]

    Hav NPM Package Programmatically Install Its Own Dependencies

    Posted: 28 Oct 2018 08:45 AM PDT

    First, if you'd rather grab some sweet SO points you can always go to my question here

    I'm writing an NPM package that's going to support several databases. I'm working on a CLI at the moment that, passed a connection URI string, it will install the appropriate dialect for that database. e.g. if passed a URI that contains postgresql://... it will install the pg and pg-hstore packages with a command like npm install pg pg-hstore (or yarn depending on lock file).

    I'm running into the issue where this will then install the package in the root projects package.json so now my package does not have access to the pg package.

    How do I either:
    A) get access to top-level packages that are NOT in my packages package.json

    B) Have my package install the correct package for its own package.json

    submitted by /u/fucklockjaw
    [link] [comments]

    Recognize if a webpage is opened as a standalone web app or in the Samsung Stock Browser

    Posted: 28 Oct 2018 08:07 AM PDT

    I've been trying to solve this issue I've been having for a while now, where I want to show a div if my webpage is viewed in a standalone web app and hide it if it's viewed in the samsungs stock browser, but I can't find a way to tell them apart with js. I've tried the ones for iOS and Chrome etc, but they're not working with the Samsung.
    This problem is specific for Samsung phones, on other Android phones this problem doesn't seem to occur.

    Is there anyone else that has had this problem and figured out a solution to it? I just can't seem to find anything about it online.

    submitted by /u/lormiz
    [link] [comments]

    "How to host and publish your own static site in under 10 minutes"

    Posted: 28 Oct 2018 07:00 AM PDT

    How to get the current position of cursor in a iframe editor?

    Posted: 28 Oct 2018 06:57 AM PDT

    No comments:

    Post a Comment