Member Avatar
gentlemedia 554 Gave Reputation to davy_yg in Hiding jpg and profile_image
Topic by davy_yg in Web Development

I already try placing the following code:

$('#profile_picture').click(function (e) {

toggleOptions($(".selector")).delay(2000).queue(function () {
$('#profile_picture, .image_road').hide();
}).dequeue();
});

I wait after 2 seconds and nothing happen. Reply by davy_yg
Darshan_5 Joined the Community
Member Avatar
ddanbe 2,668 Replied To a Post in C / C#
Topic by Siberian in Software Development
c
There are similarities between C and C#. You can still write pointer code in C# if you would like to do so. Instead of `printf` you would use `Console.Write` in C#. If I were you, begin learning C#. Reply by ddanbe
Member Avatar
xqlr125 Joined the Community
Member Avatar
Siberian 13 Created C / C#
Is C similar to C# (C-sharp); or are they completely different ? I was wondering if I should begin learning C# and the transition to C will be a tad bit easier ? Topic by Siberian in Software Development
c
Member Avatar
AndrisP 168 Replied To a Post in Find numbers divisible by 3 and 4
Topic by John_165 in Software Development
Sorry i was wrong about last 4 bits Reply by AndrisP
Member Avatar
davy_yg 7 Replied To a Post in Hiding jpg and profile_image
Topic by davy_yg in Web Development

I already try placing the following code:

$('#profile_picture').click(function (e) {

toggleOptions($(".selector")).delay(2000).queue(function () {
$('#profile_picture, .image_road').hide();
}).dequeue();
});

I wait after 2 seconds and nothing happen. Reply by davy_yg
Member Avatar
AndrisP 168 Replied To a Post in Find numbers divisible by 3 and 4
Topic by John_165 in Software Development
Actually results is numbers divisible by 12. Another way to find - check last 4 bits. It should be 1100 Reply by AndrisP
Member Avatar

import turtle
import os
import math
import random
import pygame

#set up the screen
wn = turtle.Screen()
wn.bgcolor("black")
wn.title("Space invaders")
wn.bgpic("space_invaders_backgrounds.gif")
pygame.init()


#Register the shapes
turtle.register_shape("ship.gif")
turtle.register_shape("Enemy.gif")

#Drawing my border
border_pen = turtle.Turtle()
border_pen.speed(0)
border_pen.color("white")
border_pen.penup()
border_pen.setposition(-300,-300)
border_pen.pendown()
border_pen.pensize(3)
for side in range(4):
border_pen.fd(600)
border_pen.lt(90)
border_pen.hideturtle()

#Set the score to … Topic by Traj in Software Development
Member Avatar

import turtle
import os
import math
import random
import pygame

#set up the screen
wn = turtle.Screen()
wn.bgcolor("black")
wn.title("Space invaders")
wn.bgpic("space_invaders_backgrounds.gif")
pygame.init()


#Register the shapes
turtle.register_shape("ship.gif")
turtle.register_shape("Enemy.gif")

#Drawing my border
border_pen = turtle.Turtle()
border_pen.speed(0)
border_pen.color("white")
border_pen.penup()
border_pen.setposition(-300,-300)
border_pen.pendown()
border_pen.pensize(3)
for side in range(4):
border_pen.fd(600)
border_pen.lt(90)
border_pen.hideturtle()

#Set the score to … Topic by Traj in Software Development
Member Avatar
Traj Joined the Community
Member Avatar
Mehar_3 Joined the Community
Member Avatar
JamesCherrill 3,202 Replied To a Post in Find numbers divisible by 3 and 4
Topic by John_165 in Software Development
Conmments are attached to up and down votes, so unless yiu want to up/down vote, a simple reply is fine. Reply by JamesCherrill
Member Avatar
John_165 Replied To a Post in Find numbers divisible by 3 and 4
Topic by John_165 in Software Development
Thanks guys for all the feedback. Just wonder how can I reply a comment ? Reply by John_165
Member Avatar
Mohamad_2 Joined the Community
Member Avatar
JamesCherrill 3,202 Replied To a Post in Find numbers divisible by 3 and 4
Topic by John_165 in Software Development
Yes, I'd say beautiful.
The equivalent in Java is quite pretty too...

int lower = 16, upper = 99;

IntStream.rangeClosed(lower,upper)
.filter(i -> i%3 == 0 && i%4 == 0)
.forEach(System.out::print);

,,, but I haven't been able to come up with a really elegant way to print 5 values per line … Reply by JamesCherrill
Member Avatar
nullptr 139 Replied To a Post in Java update
Topic by Rafin Ishraq in Software Development
http://www.oracle.com/technetwork/java/javase/downloads/index.html Reply by nullptr
Member Avatar
Q Liked / Shared Stuck in InsydeH2O Setup Utility
My Windows Vista computer was freezing up a lot, so I wanted to perform a system restore. In a tutorial, it said that it would be best to do this in safe mode (which, it said, could be attained by hitting F8). Well, I tried, and F8 didn't do anything; … Topic by abyss776 in Microsoft Windows
Member Avatar
Q Joined the Community
Member Avatar
pty 462 Replied To a Post in Find numbers divisible by 3 and 4
Topic by John_165 in Software Development
Not that it matters, but here it is in Ruby.

Simple, elegant and concise. Dare I say, beautiful?

lower, upper = 20, 400

lower.upto(upper)
.select{|i| i.modulo(3).zero? && i.modulo(4).zero?}
.each_slice(5){|m| puts m.join(" ")}

[`.upto`](https://ruby-doc.org/core-2.2.0/Integer.html#method-i-upto) loops from the called number to the arg. Normally I'd have written this `(lower..upper).select…` but this makes … Reply by pty
Member Avatar
JamesCherrill 3,202 Replied To a Post in Find numbers divisible by 3 and 4
Topic by John_165 in Software Development
OK folks, getting a bit off-topic here?... it's Java.

John: I don't see how you got from the problem definition to that code. It looks like you have tried to adapt a different program, with arrays of numbers and primes somehow.
Hacking a different program is almost always a bad … Reply by JamesCherrill
Member Avatar
JamesCherrill 3,202 Replied To a Post in Java update
Topic by Rafin Ishraq in Software Development
There's no need to be rude.
A polite request will get a better response. Reply by JamesCherrill
Member Avatar
i want java update version Topic by Rafin Ishraq in Software Development
Member Avatar
mohamed_101 Replied To a Post in Assembler swap 2 integer values
Topic by theburg30 in Software Development
Swap Two numbers using Stack in assembly language


.MODEL SMALL
.STACK 100H
.CODE
MAIN PROC
MOV AX,'9'
MOV BX,'4'
PUSH AX
PUSH BX
POP AX
POP BX
MOV DX,AX
MOV AH,2
INT 21H
MOV DX,BX
INT 21H
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN Reply by mohamed_101
Member Avatar
mohamed_101 Joined the Community
Member Avatar
Rafin Ishraq Joined the Community
Member Avatar
Mike_47 Joined the Community
Member Avatar
rproffitt 1,064 Replied To a Post in Got a problem with Drives
Topic by Jessica_16 in Information Security
Sorry about that. They redirect now but since it appears you have some RAID, you have to check out what they say about that before buying. It's not like there is a monopoly on password resets but in your case you seem to have a RAID setup which may require … Reply by rproffitt
Member Avatar
Jessica_16 Replied To a Post in Got a problem with Drives
Topic by Jessica_16 in Information Security
Yeah. I just researched that spower.
The www.lostpassword.com is directing me to passware.com, and i already review it, can i ask, did you already use that software? i will buy it, if you do? Reply by Jessica_16
Member Avatar
Featured Reverend Jim 2,016 Replied To a Post in Memorable Quotations
Topic by vegaseat in Community Center
Do plenty of thinking whenever you've the chance and it will become a habit. It will get easier and easier as time rolls on. In fact, a day may come when it can be done without pain.

- Eric Frank Russell (...And Then There Were None) Reply by Reverend Jim