« first day (145 days earlier)      last day (4777 days later) » 

12:00 AM
An irrational number cannot be expressed as a fraction of whole numbers.
So, 2/3 is rational.
sqrt(2) is irrational.
Etc.
 
 
1 hour later…
1:10 AM
Arduino power meter http://ur.ly/GZxj #arduino
 
2:02 AM
@Wallacoloo Yes!
6 hours ago, by Kellenjb
BAM! new site!
@mjcarroll We've been talking about it for almost a week now on Meta. You should visit occasionally! We could use more input.
Well, off to bed for me. I've got a nasty head cold, and I need to catch up on some sleep. Happy graduation, everyone!
 
2:22 AM
 
Anyone here have experience with writing (HID) USB drivers under windows? I am having loads of trouble with it.
 
2:39 AM
you need to use COM for that or can you do it in .NET now
 
what means by fouri series derivation
 
@tina You mean how to get the Fourier series for a given periodic signal?
 
yes
 
@NickT what is COM?
 
2:54 AM
@tina It's related to the Laplace and Fourier transforms, but where there are only integral coefficients (based on the harmonics of the periodic signal) instead of a function
@tina I haven't done a fourier series in a while though, but efunda.com/math/fourier_series/fourier_series.cfm and some other pages seems to be good referneces
all you need to do is get a0, an's and bn's
@Wallacoloo A Windows API library
Component Object Model (COM) is a binary-interface standard for software componentry introduced by Microsoft in 1993. It is used to enable interprocess communication and dynamic object creation in a large range of programming languages. The term COM is often used in the Microsoft software development industry as an umbrella term that encompasses the OLE, OLE Automation, ActiveX, COM+ and DCOM technologies. Overview The essence of COM is a language-neutral way of implementing objects that can be used in environments different from the one in which they were created, even across machine boun...
Though I all but guarantee that you can write them with .NET nowadays. What language are you writing the drivers in?
 
Well, I'm trying for Python.
I have some trivial code that works using Python under Ubuntu. But I'm having trouble porting it over to Windows
 
Using code.google.com/p/pywinusb or something?
You realize that writing device drivers is incredibly OS specific, right?
 
Yeah, I suppose it is.
It's pretty confusing too XD
 
I'd start with code.google.com/p/pywinusb , but things like that may not expose all you need to do it
If you use some native .NET lang (C#, C++, VB.NET) you could probably do anything and everything Windows can
 
Right, but using .net would make things a little less portable, right? I don't know how good .net support is for operating systems other than Windows.
 
3:07 AM
"portable drivers" is something of a contradiction
 
haha, good point.
 
You should write the drivers so they expose the basic functions of the device (possibly in the format of an HID device or whatever) for whatever OS you want it to run on, then have your application be able to use said drivers interchangably
stackoverflow.com for questions
:P
probably a bunch of other questions you could look at anyways to help you along
 
Well, the only thing confusing me are "Reports" within pywinusb.
I've already got it locating my device
 
4:02 AM
@Wallacoloo I prefer the pyusb API: pyusb.sourceforge.net/docs/1.0/tutorial.html Simple and cross-platform.
 
Intefacing a PIC Mircocontroller (PIC16F84A) to two stepper motors http://ur.ly/GZNG #microcontroller
 
4:33 AM
@markrages I've been trying to use pyusb, but on Windows I get errors.
specifically, device.detach_kernel_header and device.set_configuration raise USBError: Operation not supported or unimplemented on this platform, and if I try and just ignore it and write/read the device, I get WindowsError: exception: access violation reading 0x00000010. I started a stackoverflow thread on it: http://stackoverflow.com/questions/5385281/pyusb-on-windows-7-cannot-find-any-devices
 
@Wallacoloo ok, good luck with that. I think the Windows HID driver may be claiming the device. The detach...() function tells Linux "hands off!"
 
yeah. I'm not so sure how to deal with the windows HID driver
 
 
2 hours later…
7:10 AM
How do you minimize stepper motor vibration? http://ur.ly/H0Nl #steppermotor
 
7:52 AM
@reemrevnivek It looks like a duplicate to me, although they are worded very differently and have received very different answers.
 
 
2 hours later…
10:11 AM
Is it possible to fire a spark plug from batteries http://ur.ly/H1Xz #capacitor
 
 
2 hours later…
11:51 AM
Temperature sensor for Linux http://ur.ly/H1KB #sensor
 
 
1 hour later…
jpc
1:18 PM
@Wallacoloo You may try signal11.us/oss/hidapi . It is in C and has only blocking calls but is cross platform.
 
 
2 hours later…
2:52 PM
SD card - SPI mode http://ur.ly/H1Dq #spi
 
> "portable drivers" is something of a contradiction
I like this quote.
 
I laughed also
 
Now, hi ho, hi ho, off to work I go, off to work .
 
jpc
3:47 PM
@Kortuk But isn't it sad that for things like USB or HID that is fundamentally the same on every platform there are no good portable APIs? Berkeley sockets are really the only exception.
 
3:59 PM
@Kortuk, where'd that rotary encabulator question go? move it to SciFi.SE?
 
 
2 hours later…
5:53 PM
Don Lancaster's Magic Sinewaves http://ur.ly/H35o #power
 
6:26 PM
Anybody know why there is so much lag in the feed? I think it would be much more useful if it was immediately added to the chat upon being posted.
Also, here's another "Crimp tools are expensive" gripe...
0
Q: Ghetto crimping tool for FCI "Clincher" connectors?

Robert AtkinsAfter much experimentation and some helpful answers here I've decided that FCI "Clincher" (.pdf link) parts are the right answer for adding connectors to the ends of flexible ZJ168 RGB LED strip. The parts themselves are cheap enough (< $2 each) but the crimping tool appears to cost almost US...

What should we do with these questions?
 
 
1 hour later…
7:38 PM
The number of beginner questions on the front page so soon after launch is discouraging. I dropped a bounty on that memory addressing question (which puts me 200 points further from regaining mod tools), but it seems like some cleanup is in order.
 
jpc
7:49 PM
reemrevnivek: I considered deleting the answer (about the gas grill spark) but really wanted to make that comment. :P
 
8:05 PM
@reemrevnivek He at the bottom of his question is actually asking a technical question about the effects of not using crimper, it is lost in the cost part. It could really use an edit.
@NickT Link me what you are asking about and I can check. I will try finding it.
@jpc I thought that was a very good answer. It may not be the communities favorite but it did need to be said.
@Jin, I really like the buffers filling in, they look much nicer.
 
hello!
@reemrevnivek don't quote me on this, but I believe twitter has a limit on how often a third party is able to poll for new tweets.
 
8:24 PM
Hello
@Kellenjb, in relation to deleting off topic questions, everyone with moderator rep can vote to delete once 2 days have gone by, this way it can be cleared out by the community.
 
@Kortuk @LeonHeller is the only non diamond mod that we have
10k rep is mod level now
 
jpc
@Kortuk Thanks, but Rory's answer was more detailed. Mine didn't really add anything to this (apart from me answering 1 hour earlier).
 
@jpc That happens, I thought you were referring to something else, my brain plays tricks. Still, if you feel someone has gone above and beyond you always have the right to remove.
 
jpc
btw. Am I right that you cannot easily "reply" to a person here instead of one specific chat message?
 
@Kellenjb Point taken.
 
jpc
8:30 PM
@Kortuk And that is what I did. :)
 
@jpc It is really hard to reply to someone here if they have not been here in a while. Just type the @ and start typing my name and it should have autocomplete.
@jpc, if there is no autocomplete then they have not been here in time.
@jpc, and you have to find a message of theirs and click on the arrow.
 
jpc
@Kortuk Oh. Nice. I missed the autocompletion and especially with "reemrevnivek" it was quite hard. :)
 
@jpc, it autocompletes for me after 2 letters for reem.
 
I do the same thing for @reemrevnivek :-) damn you kevin
 
Later, @reemrevnivek wonders why he has 200 new messages
 
jpc
8:32 PM
Too bad for @reemrevnivek. :P
 
@Kellenjb, I lol'ed. @W5VO, then I lol'ed again.
@reemrevnivek.
I felt left out.
 
i really love the chat desktop notification!
 
@reemrevnivek will have to look through a lot of chat messages to figure out what's going in
I know when I see them, I always think someone's left me a comment, and then I'm disappointed
 
any of you guys use IRC chat rooms before?
 
yes
 
jpc
8:34 PM
@W5VO It would be better if we talked about something completely unrelated and then plugged his name in random places from time to time. :P
 
@Kellenjb Tell me how I get this.
 
/me liked irc
 
@jpc agreed at @reemrevnivek
 
jpc
@Kellenjb of course. :)
 
\me or was it that?
 
8:35 PM
yes, I wish /me would work
 
@W5VO it is like an old friend is missing.
0
A: Have 60A 220V circuit, want to use one 110V leg of it. Can i?

jpcJust as Billy ONeal said, you should be OK. Especially since the valve probably does not need a lot of current. Caution: I am from Europe so I have no personal experience with your system.

This would have made a better comment.
 
@Kortuk I am not sure if its in other browsers, but in chrome there is a "enable desktop notifications" link on the right side. If its enabled you get a little pop up in the bottom right corner of the screen when someone @s you
 
@Kellenjb, damnit.
@Kellenjb, but I love my firefox, I have for so many years.
 
@Kortuk @Kellenjb yeah, the tab shows the number of messages you've missed, and * if you've been @reemrevnivek mentioned.
and it plays a little sound as well
 
jpc
@Kortuk I had the impression that comments are for clarifying questions and not half-assed replies. :P I would delete this one but nobody else mentioned the power consumption of the valve.
 
8:38 PM
@Kortuk I used it for a long time, just recently switched. Still have a few sites that i have to switch back to FF, but almost all work fine in chrome now.
 
jpc
@Kellenjb so now you are voulnerable to a DDoD? (Distributed Denial of Desktop)
 
Heh... you can't loose rep for being a smart ass with the comments
 
@jpc you can post a comment on another answer to add information to that answer, unless you do not have the rep.
@W5VO You can always loose mod rep, and that is harder to earn.
 
@Kortuk I also have my bookmarks synced between computers in chrome
 
jpc
@Kortuk But my "answer" was the first one. :P
 
8:40 PM
@Kortuk How do I use or measure that?
 
@Kellenjb I started to do that in firefox then realized I like different links
@jpc Ha, I thought billy oneil was a poster and was not paying attention. Mock me later
@W5VO Say something really stupid and see if we 1 day ban you
 
hahaha, just had my fiancée tell me that she wants to switch to verizon so she can play angry birds.
 
like @tyblu tron comment <3
 
@Kellenjb How does that affect angry birds?
 
@Kellenjb I have AT&T and I can play angry birds. tell her to use sideloader pro.
@W5VO, some providers will block apps.
 
jpc
8:42 PM
@Kortuk Right! What is it about the Tron costume? :P
 
@Kortuk she's been trying to get wifi download to work and it hasnt been so shes mad
 
@Kellenjb haha
@jpc I told tyblu I did not really like startrek, he made the comment that is over on the starred comments list, then on his next comment asked people to star it.
 
@W5VO Amazon Marketplace is blocked on AT&T and Angry Birds Rio is on it
 
Angry birds rio?
Looking it up
 
@Kortuk Angry birds visit Rio de Janeiro
 
8:45 PM
My phone is hard blocked from installing anything not from the android store. AT&T can die in a fire.
@W5VO, smart ass.
 
jpc
@Kortuk Funny since this was once the main Android vs. iPhone argument.
 
@Kortuk except the download restriction note of "AT&T is working on enabling purchases from the Amazon Appstore in the near future"
 
@jpc, it is fully free on everyone else, AT&T locks it down. This is not a complete lockdown, you can still load any app you want over USB.
 
ATT has their heads up their ass
 
8:46 PM
@jpc I had 2 iPhones, I have been significantly happier since I switched, and when it screws up I do not get told by everyone it was my fault.
 
jpc
@Kortuk Still, mobile operators suck. In Poland too. :)
 
ATT does it cause they want to be able to take some of the money from app store purchases
 
@jpc Everywhere.
@Kellenjb Yeah, I just sideload if I really want to, I still have had nothing I needed to sideload.
 
@Kortuk just didnt know how well the side loader worked with it being the amazon app store
 
They sell a product they cannot guarantee (access everywhere) and view themselves as essential to your daily life (so live with their whims)
 
8:48 PM
@Kellenjb you give it the apk and it goes on your phone.
@W5VO I think what the FCC is pushing for in the states in great. Forcing TelCos to act as links like ISPs do and you purchase any device you want.
First they need to get ISPs to stop being jackasses.
I am sleepy. Convincing the wife she needs to let me sleep for a night shift is impossible, she lets me sleep, she just happens to regularly try to talk to me.
So that people know, We will start going back and cleaning up old posts. Those that do not meet current criteria feel free to vote to close or just flag for us.
 
@Kortuk you have to side load the amazon app store, download rio from the app store, it will fail, you then have to copy the downloaded apk off of the phone so that you can then side load that. God that sounds annoying
 
hahahahahahahaahahaaha
I hate AT&T
I will change probably in a year or two. <3
 
Walkie-talkie transceiver http://ur.ly/H45M #radio
 
I hate estimating how long it will take me to do something
 
@jpc, I just saw you comment, I understand your question now. I need matlab to give a good answer to that. Convert the 0s to 0V and 1s to 100V and pass it though an ideal low pass filter, see what comes out.
@Kellenjb, almost as long as you spent complaining about it <3
@jpc, if you run much much faster then you need to and do that it should be redily doable, but after the first test, it needs to be tested with a realistic low pass filter, it may have its own harmonics that depend on this.
@jpc, I also like his typo on page 4 poewr.
 
9:01 PM
@Kortuk @jpc If you have a stack overflow problem isn't the solution just to increase the size of the stack ;-)
 
@Kellenjb, yes, if you detect it, what if it happens runtime?
0
A: Don Lancaster's Magic Sinewaves

KortukYes, this will work. He is switching at a much higher frequency then required and then he is slowly changing what percentage of time he is on 0s to being on 1s. This means that the average of the signal is slowly going to shift up. By matching his rate to the rate change of a Sinusoid he can do t...

@jpc, I wrote something up for you.
 
just make it super big :-)
 
jpc
@Kellenjb @Kortuk I retract my comments about stack overflows. :)
 
@jpc, on that note, I am happy to see you come back to the site again for a relatively large amount of time.
@jpc haha.
 
jpc
@Kortuk I decided that "all work and no socializing makes me a dull boy" ;]
 
9:04 PM
@jpc, He is asking about Stack overflows on our site, it really seems that it would be the cleanest fit for SO.
 
@kortuk about the sinewave question, i saw a comment somewhere in the pdf about how he is able to remove the lower harmonics. I would assume this would mean that a low pass filter wouldnt have to be as good in order to get the same results
 
@jpc Well, I hope you keep coming around, I am happy to see technical members return. Also, I have no personal life, why do you need one.
@Kellenjb I would worry about higher order harmonics, he is talking about high power so the low pass filter is going to be LC.
@Kellenjb I read it, he is avoiding lower order harmonics by using a very high speed.
 
jpc
@Kortuk I would rather say he is using very high time resolution. High speed seems to imply high switching speed and this is not the case here (these sequences have very low transition counts).
 
Easiest way to not have a stack overflow is to have no stack :)
 
jpc
@Kortuk I guess I will have to build a small-signal version on a Cortex-M3's SPI and see what happens after RC or LC filtering.
 
9:15 PM
@Kortuk I could use a bagel, want to bring me one ;-)
 
@jpc That sounds great.
@jpc Yes, but he is running the algorithm at orders of magnitude greater than the sine wave.
 
jpc
@Kortuk But whose answer will I choose then? :)
 
1
Q: What hardware or software solutions can be used to prevent of stack overflows?

Farnazwhat is the Hardware solution For prevention of stack overflow? For example when we want to design a new operating system,how can we prevention of the stack overflow? Thank you

that question now has an answer that links to SO... maybe it should move to SO also
 
jpc
@Kortuk But it is still a lower frequency than you would run a PWM to get similar performance. And with less switching events (which are a big loss source in MOSFETs and even more in IGBTs).
 
@jpc it almost reminds me of dithering in that dithering is designed to have some average value created from binary, but instead of just doing a fixed number of ons/offs it is mixed up some. But in this case is mixed up in such a way to try to remove some harmonics
 
jpc
9:32 PM
@Kellenjb yeah, especially when you notice that he has two variations: for minimal transitions and for minimal THD.
 
jpc
9:43 PM
@Kortuk Are you expecting the interwinding capacitance of the choke to interfere with filtering high frequency harmonics?
Btw. How do you quote whole questions and answers here? I can't find any buttons for this. Are there some permalink based heuristics going on?
 
@jpc if you copy the question link and put it in the chat as a message by itself it will post the question, im not sure about the answer part
 
@Kellenjb If you click on the "link" button for the answer, you can copy the address. That will work with chat.
 
ah. makes sense
 
1
A: What hardware or software solutions can be used to prevent of stack overflows?

pmodYou may be surprised, but one of the options is stackless hardware architecture (either real or emulated) (discussed here). Apparently, no stack - no stack overflows.

Don't know what you were shooting for, but that's an example.
 
jpc
10:05 PM
@Kellenjb Thanks. @W5VO Nothing in particular, I was just curious.
 
10:40 PM
Hello Guys...Just wondering where I could get a good tilt/pan bracket. I have looked at many online stores but either they are too big or too small..my application is a yagi antenna aimer :)...thanks
 
10:54 PM
 
11:10 PM
Hello
 
11:49 PM
In the haus! haven't seen this feature yet. Does it get used?
 
What, the chat?
 
How to measure component distances in EAGLE PCB http://ur.ly/H2W7 #eagle
 
@JamesDyson YagiUda array for the win.
@jpc if you link to an answer or question and that is all that is in your message it will make it big and shiny.
@jpc Just saw that they answered it.
@msutherl .Yes, the chat is quite regularly used. It is a great way to yell at mods.
@jpc On high power signals, like a class D amplifier, you would lose alot of power on the RC circuit, so they use an LC low pass. This is not an ideal lowpass and really is a bandpass, It also allows harmonics through easier then an RC would, but it gets the job done and theoretically be 100% efficient.
 

« first day (145 days earlier)      last day (4777 days later) »