« first day (929 days earlier)      last day (3997 days later) » 
02:00 - 15:0015:00 - 00:00

2:46 AM
GrEEtz
 
Yo yo yo!
@jippie Yo! Got my new UNO and using it as a programmer now! Works perfectly!
 
 
3 hours later…
5:28 AM
good morning @all
@coding_corgi a new programmer that doubles as an uno? cool
 
I've tried using an arduino as a programmer
never had much luck
an AVRISP mk2 is MUCH nicer
my work bought me an AVR ONE
 
hush
 
and that is certainly fancypants
 
@ConnorWolf I'm concidering a dragon, it supports debugWire and is reasonably cheap.
 
but definitely, if you're doing any sort of anything other then perhaps occationally dumping the arduino bootloader on a atmega, an arduino is not the appropriate tool
and it doesn't even always work for that
I couldn't get mine to ever properly verify when programming an atmega2560
 
5:31 AM
m
no such problem here
 
hah
 
@ConnorWolf oh wait, I never had to progam a 2560
 
I would definitely say something that supports debugwire is a very nice idea
AVR studio 6 and it's debugger is very nice
almost like debugging code running locally, rather then on a MCU
 
but I run Linux ... don't want to switch tool chain
 
I think you're stuffed
do you know GDB?
 
5:34 AM
I'm aware of its existence
 
hah
no debugging for you, I think
 
@ConnorWolf why?
 
As far as I know, that and AVR studio are the main options for doing ICD
not that I've done any research, mind you
 
oh, but I can learn gdb, can't be too difficult
 
but AVR studio is based on MS visual studio, so the chances of a port are zero
GDB it's one of the really old, arcane pieces of linux software
 
5:37 AM
@ConnorWolf so it must be good piece of software if it survived that long
 
no, I think it's more like screen
no one wants to touch the codebase, and it kind of works
so it just sticks around
Give me a nice GUI
I'm not that hard-core
HA
home-made int-to-string function is working
oh wait, it just crashed
oh, nope, I just killed the execution in a messy place
huh, I wonder why the LCD did that
Hey, do you ever find yourself having language bleedover?
I keep trying to comment C stuff with # (from python), and vice-versa
 
@ConnorWolf so? maybe I like screen and vi?
 
you're nuts, then ( ;) )
 
@ConnorWolf ?
 
what?
 
5:43 AM
@jippie I'm in a mixed relationship. I'm an emacs user and my gf prefers vi.
2
 
@jippie - (I'm joking around, if it wasn't obvious)
hahaha, My editor of choice is SublimeText
 
@ConnorWolf if you are commenting code with code, then you missed the goal of commenting in the first place
 
No, I mean I keep trying to write comments in c using the python comment delimiter, and vice versa
I.e.:

counter += 57; # This is a comment
 
@ConnorWolf It took me 3 tries today to figure out what is the comment delimiter in R.
 
hahahaha
 
5:45 AM
@ConnorWolf I like having fun with the error message a Windows program throws on Linux and then ask for 'support' with the guy who recommended the program
 
now that's trolling
 
@ConnorWolf oh vi does syntax highlighting for me, I immediatly see those errors
But I don't do python bleedover at all
 
You need to start e-mailing the producers of windows programs with questions about wine problems
hah, I think it's mostly the languages you use a lot
 
sometimes some perl bleedover
or bash
 
indeed
I pretty much just do C and python
 
5:47 AM
coming to think of it they use a # too :-p
 
and nothing else
 
@ConnorWolf or not being able to find the Control panel in my 'start menu' :o)
 
hahaha
"This control panel. Can I install it with apt-get?"
 
@ConnorWolf transformer.exe: cannot execute binary file
 
I'm convinced that linux won't really see broader adoption until someone like canonical goes in and uninstalls the terminal program from every developer's computer
 
5:51 AM
even windows has cmd.exe (and command.com)
 
I have a few linux boxes I play with, and I don't think I've ever managed to get one doing what I want without using the terminal
 
they even have powershell today!
 
yeah, but you don't need to use cmd.exe to set stuff up
with linux, it's often the only way
and that's the problem
 
@ConnorWolf I don't mind about that.
 
I do
and if linux wants broader adoption, it's going to have to deal with it.
 
5:53 AM
then again, when I was a really young boy, I fell from the stairs while climbing up. I think that event changed things
 
hahaha
 
@ConnorWolf my mom hates it when I remind her of that day ;o)
 
are you giving your parents greif?
wasn't it just mothers day?
 
@ConnorWolf but to be honest, especially with ubuntu and its deriviates things are quickly getting better. What Canonical needs to fix is that patching doesn't break things. At least that was really an issue about a year ago, not sure what it is like now.
 
Yeah, I dumped ubuntu as soon as the unity clusterfuck started happening
 
5:55 AM
@ConnorWolf I didn't bring up the subject yesterday
 
Xubuntu
 
@ConnorWolf kubuntu
 
re: yesterday - touche
hah
I like the lighter weight window managers
I tried linux mint at one point
wasn't that impressed
plus, at this point, I'm fairly familliar with XFCE
 
@ConnorWolf unfamiliar with mint.
 
It's trying to be ubuntu, without most of the fail
 
5:58 AM
@ConnorWolf I like the smooth window changes with kde
 
Hah, I'm almost never actually at the local console of any of the linux boxes I deal with, so smooth animations of any sort aren't really an option anyways
 
desktop effects.
 
Incidentally, NX is made of awesome, if you're doing remote X
particularly if your connection is slow
 
@ConnorWolf apart from the fact that it looks cool, I find it handy that I actually see what is happening instead of a window being different sized instantly.
@ConnorWolf nx?
 
it's a fancy X proxy that tries to reduce the ammount of X round-tripping
 
6:01 AM
@ConnorWolf vnc'like solution?
 
yeah
except VNC sucks horribly
it tunnels the commands passed to the window-manager, rather then the framebuffer
and then the drawing is handled by the client (or the X server, if you want to use X terminology. Basically the end the user is at)
there is a FOSS implementation called freenx
basically, it's windows RDP for linux
 
@ConnorWolf it beats citrix, at least the servers don't crash all the time :-p
 
hahaha
indeed
prety much any remote-desktop tool that is remote-frame-buffer based is crap
 
@ConnorWolf never really have the need for a remote desktop, I'pretty comfortable with command prompt and incidentally I just tunnel X over SSH
 
yeah
NX does that, but with better responsivity
particularly if it's going over the internet
it's an X proxy
plus, the windows version has a nice pre-packaged windows installer that handles all the dependencies, so you don't have to deal with cygwin (laaaaaazy)
 
6:07 AM
nxproxy - NX X compression library
 
yep
NX technology is a computer program that handles remote X Window System connections, and attempts to greatly improve on the performance of the native X display protocol to the point that it can be usable over a slow link such as a dial-up modem. It wraps remote connections in SSH sessions for encryption.
 
oh?
 
`NX compresses the X11 data to minimize the amount of data transmitted. NX takes full advantage of modern hardware by caching all manner of data to make the session as responsive as possible. For example the first time a menu is opened it may take a few seconds, but on each subsequent opening the menu will appear almost instantly.

NX is faster than its predecessors, as it eliminates most of the X round-trips, while dxpc and MLView only compress data.

The two principal components of NX are nxproxy and nxagent. nxproxy is derived from dxpc and is started on both the remote (client in X term
NX technology is a computer program that handles remote X Window System connections, and attempts to greatly improve on the performance of the native X display protocol to the point that it can be usable over a slow link such as a dial-up modem. It wraps remote connections in SSH sessions for encryption. It is developed by Gian Filippo Pinzari at the Italian software company NoMachine. The NX scheme was derived from that of DXPC – the Differential X Protocol Compressor project. NX software is currently available for Windows, Mac OS X, Linux, and Solaris. NoMachine has clients available...
 
I'm curious what will happen to the protocol in the next five years. It is being considered to replace X with another display server.
 
what will happen is platform fragmentation
 
6:13 AM
performance improvement on the local desktop. X is not really light weight
 
and half of the distros will switch, and the other half won't, and a few people will go off and find a third option, and things will be even more confusing
 
@ConnorWolf m
 
What?
 
not necessarily a bad thing, as long as things are compatible.
 
yeah, and what makes you think that will happen?
 
6:16 AM
what makes you think it won't?
 
uh, the history of linux?
 
couple of libraries need be ported, like qt or similar
and probably in the beginning you'll have to locally compile more stuff unless it is in a ubuntu repository.
 
yeah, and only half of the software will be properly ported, and you'll wind up having to have two windowing systems on your install
 
I'm not scared of compiling a program.
 
like if you want gnome and KDE software on the same box
I'm not afraid, I just don't want to have to deal with it
I want a car, not a bunch of parts
 
6:18 AM
I'll stick with kubuntu for now, let canonical solve that problem for the most
 
hah
yeah, they'll probably "solve" it by announcing they're coming up with their own option
like unity
...
huh, it appears I'm a cynic
 
@ConnorWolf don't think so. Unity runs on X, just like KDE does. I forgot the name of the project, but Canonical is already putting lot of effort in it.
 
Morning!
Hey @ConnorWolf
 
@ConnorWolf I guess you are right: Mir is a project from Ubuntu similar to Wayland.[16]
morning @abdullahkahraman
 
@abdullahkahraman what's going on?
it's evening here, though
or night, really
And I crashed my AVR one
amused
 
6:30 AM
@ConnorWolf Not much..
@ConnorWolf I like your videos
 
you found them?
thanks
 
@ConnorWolf :)
@ConnorWolf Writing "thanks" is not enough.
Gimme some repz!
 
@abdullahkahraman did I miss any good stuff on Internet?
 
@jippie @ConnorWolf does some good tear-down videos
 
More accurately, I have a video camera, and was bored
 
@abdullahkahraman better than my dragon video?
@abdullahkahraman I hope @ConnorWolf cut his hair since his water cooler video
 
The hair? Yes. The beard? no
 
@jippie Your is better, he never draws stuff like that! :)
Reading and writing of parallel I/O is accomplished through the port data registers
(PTxD). The direction, input or output, is controlled through the input enable or output
enable registers.
After reset, all parallel I/O default to the Hi-Z state. The corresponding bit in output
enable register (PTxOE) or input enable register (PTxIE) must be configured for output
or input operation. Each port pin has an input enable bit and an output enable bit. When
PTxIEn = 1, a read from PTxDn returns the input value of the associated pin; when
 
what micro is that?
 
@ConnorWolf Freescale MC9S08PT60
 
6:41 AM
fun
I'm dealing with ATxmega stuff at the moment, myself
and typos in the documentation, I think
INTPUT_DISABLE
IN**T**PUT?
 
Did I understand this correctly? If a port is controlled by a peripheral as input, you can read the value at the pin, and if it is controlled by the peripheral as output, you can read what it writes?
 
yeah, it's a typo
 
@ConnorWolf lol
 
It looks like they have separate registers for reading an writing, much like many micros
a read from the pin set as an output reads the equivalent of the pin output latch, and reading from the pin set as an input reads the actual physical pin state
as such, I would expect that you can read the state of the pin output latch even when the pin is overrided as an input by the connected peripheral
 
The datasheet talks about interrupts:
In rare cases, the I bit may be cleared inside an ISR, after clearing the
status flag that generated the interrupt, so that other interrupts can be serviced without
waiting for the first service routine to finish. This practice is recommended only for the
most experienced programmers because it can lead to subtle program errors that are
difficult to debug.
 
6:45 AM
hahahaha
wow
 
What the hell is the most experienced programmers ?
lol
 
so basically you can go from one interrupt to another without restoring the context
wow, that sounds like a bear do debug
 
@ConnorWolf Hmm, thanks. I am not familiar with this since I was using PIC micros
 
I'm pretty sure by experienced programmers they mean people as comfortable in asm as C
 
@ConnorWolf Yeah, and people who knows what interrupts are doing lol
 
6:47 AM
that's basically people who are comfortable with asm
you also need to be really familliar with the chip in question, too
FWIW, I'm mostly guessing about my interpretation of the datasheet
 
@ConnorWolf Exactly
 
If you know PICs, the registers I was talking about would be the LATx versus PINx, if I remember correctly
 
Presumably you are correct ;)
 
presumably
I see what you did there
 
lol
@ConnorWolf But I didn't know what "presumably" mean until I watched your videos. You made me look it up, lol
 
6:50 AM
hah
they are educational videos, then
 
@ConnorWolf They are, I learn from them
 
mostly, I learn how bad I am at public speaking from them
 
Now, either my English is bad or this is a typo:
When enabling the IRQ pin for use, the IRQF will be set, and
must be cleared prior to enabling the interrupt. When
configuring the pin for falling edge and level sensitivity in a 3V
system, it is necessary to wait at least cycles between clearing
the flag and enabling the interrupt.
 
"at least cycles"?
 
@ConnorWolf Nah, you are good. How many guys out there can record a video and upload to Youtube?
 
6:53 AM
is there a missing number there?
 
@ConnorWolf Yeah, what is that?
 
From some of the videos on youtube, apparently just about anyone with a camera
and some people without cameras, apparently
 
@ConnorWolf I am learning Arabic now, and if this was written in Arabic, it would mean 2 cycles. :)
 
oh jeez, I'm so bad at languages
 
@ConnorWolf Yeah, people talk. In Turkish, we have a saying; "People's mouths are not trash bags, you cannot pucker them(mouths)"
 
6:55 AM
@abdullahkahraman what is that I don't even
 
@ConnorWolf It means people will talk about you, and you cannot do a thing about it.
 
hah
I'm pretty sure I can actually disprove that
I know where to get industrial epoxy
and rope
lots of rope
 
the real challenge is dealing with the police afterwards
 
yeah, lol
 
7:13 AM
Bad use of "etc.":
Setting register PORT_IOFLTn can configure the filter of the whole port, etc. set
PORT_IOFLT0[FLTA] will affect all PTAn pins.
Man, today I am seeing typos everywhere, here, from a MOC3021 Optocoupler datasheet:
...and Optically-Coupled Silicon Traic Driver (Bilateral Switch)...
 
traic
spellcheck
apparently it's not for engineers
oh god, I'm a fucking idiot
//LCD_Set_Line_Position(2, 7);
//LCD_Print_Number(ADC_Read(6));
delay(5);
LCD_Set_Line_Position(2, 14);
LCD_Print_Number(ADC_Read(7));
delay(5);
//LCD_Set_Line_Position(2, 0);
//LCD_Print_Number(ADC_Read(8));
delay(5);
"I should have only left the middle print statement uncommented, right?"
no wonder it was behaving strangely
how the hell did I swap those lines
aaarrrgh
stupid bugs are stupid
that's not a bit-mask
 
7:30 AM
lol
 
"Why isn't this working?" "because you're treating an integer settings as a bit-mask, and overwriting random config bits"
derp
anyways, ADCs are working, as well as the accompanying print statements
I'm calling it a night
evening, folks
 
@ConnorWolf Bye!
 
 
2 hours later…
9:50 AM
@abdullahkahraman, no video but at least this project is useful ;-)
 
The engine itself will run at up to 100000 rpm with exhaust temperatures of around 500 C and noise levels in excess of 125 dBA.
Wow!
 
@abdullahkahraman, I like the closing comment "Which is a very good thing because a cold beer is just what you need when you're standing in shed with a jet engine running in the middle of it heating things up!"
 
@PeterJ hahah :)
 
Hey guys
 
@codebrain Hi
 
9:58 AM
@codebrain, Hi too :-)
 
Hey Abdhul, huh, I want some ideas on Solar products
Hey Peter
:D
Let me Introduct a bit, I am a Software developer and stays in Stackoverflow C# room.. I also trade Electric goods from china..Now, I am thinking to start up a small scale manufacturing business..is it a good idea ?
OMG @JohanLarsson you're a ghost man
 
@codebrain In India?
@codebrain @AnindoGhosh could be helpful on this.
 
user61389
 
Yes..
and i want to start making solar mobile charger..
@Camil, I am not worried about starting it, i am having doubts on the technical side
 
@codebrain Yeah reg lurker here, this chat is not blocked at work. Not chatting much here when at work though :D
 
user61389
10:05 AM
Ah, I see
 
lol Man :D
YEah camil, get you the link now
@JohanLarsson Good :D
 
user61389
Oh sorry, I'm not really here.
 
Its okay.
 
user61389
Final physics exam start ETA: 1:24:37
 
Thanks :)
 
user61389
10:06 AM
Sorry ;)
 
Its okay mate :) I appreciate for the interest !
 
@codebrain, have you done any research on how long it would take a solar panel to charge a mobile? I suspect if you do the numbers it might not be what you had in mind, maybe something like a 300 x 300 mm size to give a decent charge time.
 
The charger itself includes a Li-poly 260mAh battery. Solar panel charges the inbuilt battery in 10 hours approx.
The charger also has usb charging , Ac charging facility.
From charger to mobile it takes 2 hrs for a full charge..
 
@codebrain, various things are already available though, for example a local shop (that would have much inflated retail costs):
 
In India , no manufacturers are there. Only Chinese invasion.
And India has 300/365 days sun shining
 
10:16 AM
@codebrain, fair enough, not familiar with the local market just saying there would be a bit of competition
 
There is always a competition mate, chinese are everywhere!
The another worst scenario , If we manufacture we still need to be dependent on china for spares and panels :(
 
10:39 AM
bye all !
 
@codebrain, bye, hope to catch you soon had a few ideas on your idea but need to head off fairly soon for a while as well.
 
10:55 AM
@CamilStaps Hope you will do fine!
 
 
3 hours later…
1:41 PM
@CamilStaps, are you around LaTeX master?
 
2:39 PM
Aaagh, gave a take-home final exam w/ an ambitious design problem in it, and grading it is nightmarish.
 
@ScottSeidman Why are take-home final exams preferred?
As a student, I would love them! But unfortunately, I even heard the name first time..
 
@abdullahkahraman, why so you could ask for answers here?
;-)
 
@PeterJ Haha! Btw it would be hilarious if one of @ScottSeidman's students asks the question in this site :)
@jippie will love this question:
0
Q: Question about using array as global variables in IAR (STM32)

oilpigI have defined a global array in main.c: then, I extern and assign vlues to this array in another c file: the problem is that I can not change the value of 'data'(I get the vaule through debug mode of IAR using J-link).If I define this array as local variable I can change the value: in the...

 
@abdullahkahraman Some of the most challenging exams I've ever taken have been take homes, and my students likely say that about mine. For this particular course, I like them because it gives me the opportunity to make the students learn as they're taking the exam.
@abdullahkahraman I tell them to PASSIVELY find whatever info they can, but warn them that ASKING for info will be considered a reportable violation of their academic honestly code, and that I watch most of the sites where they're likely to seek help! Judging from the answers I'm getting, I think it's working out fine.
 
@ScottSeidman Scary lecturer! lol
 
2:50 PM
@abdullahkahraman It's my highest rated course, w/ 3 hours a week at the bench, along with 3 hours of lecture.
 
@ScottSeidman jk lol. What is the course name?
 
@abdullahkahraman Biomedical Sensors, Circuits, and Interfacing
 
@ScottSeidman Oouuggh! The course which I wanted to take this semester but they didn't open it :(
 
@abdullahkahraman, that link you posted is so funny
 
@PeterJ Which one?
 
2:55 PM
@abdullahkahraman, the code above in that IAR / STM32 question
 
@PeterJ @jippie hates these guys, so do I :)
 
@abdullahkahraman Maybe I'll make it a MOOC someday
 
@abdullahkahraman, I just thought it was funny because from what I see of that code you could bit shift in a single line of code
 
@ScottSeidman That would be great!
 
02:00 - 15:0015:00 - 00:00

« first day (929 days earlier)      last day (3997 days later) »