What is the cheapest way to do something all alarm clocks have: power some leds after a button was pressed for like 5 seconds? Pic related seems to be the way to go, but what capacitors and resistors would I need so it would be powered for 5 seconds after the button being pressed?
What's the shortest you can make this? I'm sure there's a way to make it a single ternary but my brain isn't working todayvar rowExtraClass = (DataFirst ? ((model.Data.Count) % 2 == 0 ? "debug-entry-even" : "debug-entry-odd") : "debug-entry-even");
Just so we're in the same page, you are doing this right?if (DataFirst)
Looks like the only circumstance in which you set the var to "even" is if both conditions are true. So:var rowExtraClass = (DataFirst && m.D.C%2==0?) "debug-entry-even" : "debug-entry-odd";
nope i'm wrong
if Data First is true then there's a chance that it's even or odd, else it's definitely even
you are making two decisions so you need two statements (or a compound statement like you had) i think
There's an electric noise coming from my computer but I can't tell what exactly. It doesn't sound like coil whine since all the videos I've heard it in has the pitch varying and this is a constant noise.
It's almost inaudible, but if you try to listen to it you'll hear it and it's annoying.
Any idea what it could be?
Please use the standard stupid questions thread pic because I almost missed this one.
Anyways, how does peer to peer actually work? If I wanted to make an application that worked peer to peer where would I start?
Because some faggots in the general programming threads sometimes decide to use autistic chinese cartoon pictures for the OP. Just like this faggot OP decided to use some sort of fucking PIC microcontroller for a stupid questions thread. Go back to /v/ or /diy/
Who decided to use a different picture for the general questions thread?
I have two network cards one that is for my home computer and the other that is bridged to a vm that hosts my webserver. I am trying to forward port 22 home and port 80 to my VM. My website is functioning fine but ssh will not forward home. My router is only recognizing one IPaddress but two entries of it. If I refresh that page it will display two entries of the other IPaddress and will oscillate each time I refresh.eth0 Link encap:Ethernet HWaddr 52:54:00:8f:1f:27
inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::210:18ff:fe61:6e19/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:164818 errors:0 dropped:0 overruns:0 frame:0
TX packets:143655 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:37024658 (35.3 MiB) TX bytes:199200902 (189.9 MiB)
eth1 Link encap:Ethernet HWaddr 78:e7:d1:d3:00:d8
inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::7ae7:d1ff:fed3:d8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:64414947 errors:0 dropped:0 overruns:0 frame:0
TX packets:63389585 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:48539433449 (45.2 GiB) TX bytes:49891584205 (46.4 GiB)
what are the differences between these apple chargers?
which is better and why is it better?
>Because some faggots in the general programming threads sometimes decide to use autistic chinese cartoon pictures for the OP. Just like this faggot OP decided to use some sort of fucking PIC microcontroller for a stupid questions thread. Go back to /v/ or /diy/
What. I think you are the only one who is autistic here.
What's the cheapest Android tablet that can play Hearthstone really well?
when you create a SQT you don't ask a question morron. Once it's created you can ask. Else you just look like a retard with a non related picture, and you don't bother describing what is this thread about, a link to the previous thread....
meeh fuck you OP
Then do it properly next time faggots.
Guy who actually began the tradition of stupid questions threads on /g/ about 2 years ago, I don't give a fuck if you use that faggot's pic with the glasses, I started out using random tech pics.
Use whatever the fuck you like, OP has the right idea. And if you're too stupid to ctrl+f 'stupid', then fuck off.
I got a £10 google play voucher that expires in 5 hours what should I get?
I'm upgrading my graphics card to a 970 from a 570 and from what I understand they will use the same Nvidia drivers. Does this mean all I will have to do is replace my 570 and boot up and everything will work alright? or do I have to uninstall the drivers completely and reinstall again?
only thing worth buying is vidya or apps that do extra hard copy protection like phoning home type shit
I recommend VGBA the motherfuck who coded that knew how to stop pirates
or just buy some video games
I know you don't, there are various ways, but I mentioned the most common. I don't like using the link method because it makes the linkified version appear in Chrome's homepage and that's annoying.
If my laptop includes an Intel Integrated GPU and a dedicated NVidia one, can I tweak it to use both while gaming instead of only one? After doing a bit of googlan, i've found it's most likely mobo related. How can I see if my mobo supports it? I'm on a thinkpad e530 h8 m8
The Ram on my system has died and I am looking for a replacement, this is an older system so top tier performance is really not required, I would much rather prefer price over performance so a single 1x4GB is fine.
AMD 630 x4 @ 2.8GHz
I was looking at this but to be honest I am unsure if this will work and if this is a good choice for price/performance:
Any help is greatly appreciated
There's a bunch of software I want to run on system startup (F.lux, for example) (windows 7)
Since I used SpyHunter most of the applications that used to start at startup no longer do so.
I check msconfig > startup and everything looks like it used to.
How to fix? Is this a registry thing, maybe?
Is there a high demand programming language that can get me a summer job as a code monkey?
I know Python, a tad of C and am currently learning Java.
I don't know any algorithms but I can write a prime check function and FizzBuzz.
I have an Associates Degree in Liberal Arts, want to go back to school for comp sci next year.
My routers wired ports are not getting the advertised d/l speeds. Not even half. Would switching firmware to dd-wrt improve wired performance?
I have tested my speeds with direct connection and it's much higher than with the router.
Does anyone know a firefox addon that lets you preserve (or lock) a cookie?
I have my browser set to clear all history/cookies on exit but I want to save my steam cookie as it prevents me having to fuck around with Steam Guard bullshit passcodes.
It says 8GB, but 6.94 usable. I've never seen this shit before.
And I just flashed the BIOS, too.
I have raspberry pi as a owncloud server.
so far so good but it's saving files on to the SD card.
How can I change it so it would save everything to external USB storage?
Im not very good with this.
I know you're there loonix wizurds.
>>45649645 has 12 compute cores
if i were to get that processor, but use a dedicated graphics card, would the 8 compute cores even matter?
i already have an Radeon 6970 2gb
i was planning on buying the Athlon x4 860k, but if there is an benefit, i'd go for an A10
Is there any way around logging in on MSDN website to download stuff?
I just need to download one ISO from them but got no subscription. No need for the key, just ISO.
Well, i was just wondering about those compute cores
the 6970 cant be crossfired
i dont know what those compute cores are, first time ive heard of them
if it weould give an A series apu an advantage over the Athlon, i'd get that
I had to change extensions from mayhem's to ccd0's with the new captcha. Importing settings was fine and it wasn't hard to change some settings to better suit my browsing.
The biggest change I don't like (aside from most of the icons) is that I can't seem to rename files for posting. Is there an option to do this and I've just missed it?
To answer your question, the 8GPU compute cores are like the same thing on a dedicated GPU. Each core is equivalent to 64 stream processors for a total of 512.
The 860K is just a 7850K with those 8 cores disabled. So unless you were going to crossfire, then they are useless to you.
Unless of course you mean if you could use them for non crossfire computing relating tasks like OpenCL rendering or something, in which case I'm not sure, but that sounds like some advanced wizardry.
>Unless of course you mean if you could use them for non crossfire computing relating tasks like OpenCL rendering or something, in which case I'm not sure, but that sounds like some advanced wizardry.
i have no clue
im still researching on google right now
i do not plan on crossfire, just one dedicated GPU
does it still werk?
no bad sectors?
then why not
Anyone using Awesome with 2 monitors know what might be causing this screen tearing?
Only happens when the workspaces on the second monitor are both being used and I switch between them, even happens whilst using the default rc.lua file. Re-generated my xorg.conf file using nvidia-settings and it's still happening so I'm out of ideas and can't find anything about it on google.
What kind of issues would case certain internet connections to drop unless done repeatedly in short timespan? Because this is happening in similar ways in various devices of my home network.
I'm guessing router/modem firewall, but even with those deactivated it still happens.