Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "serial"
Developers sound like psychotic sewing serial killers.
Always taking about strings and threads or killing parents, children and detaching heads.11
I was starting a new job and asked if developers had a choice between a PC, Linux or a Mac. I didn't get a response so I sent an e-mail saying I'd prefer a PC/Linux if that was allowed, or a PC/Windows. First day I get a Mac. Boss says something about how you have to have a Mac to develop on; the company doesn't have good Windows laptops with 16GB of ram.
I really do not like macOS. I wouldn't care if it wasn't for the fact that for the past three jobs, I have always been able to use a Linux machine at work (since 2012). So over the weekend I got it dual booting. It was not easy. Apple's hardware is fucking awful. The keyboard, mouse and bluetooth are all connected to the serial bus.
I got it all working though, at least well enough for my job. It feels so good to have a tiling window manager. (I know Mac does have some now, but I really love i3). I made a guide in case another developer finds themselves in my spot:
Upon suggestion of @platypus I went to the cafe and just took my tablet there (unfucking the laptop's rootfs flash drive took too long, and ArduinoDroid's avrdude didn't seem to work very well), so just doing some chatting in IRC and trying to figure out how the hell I'm supposed to make a serial link to a Proxmox VM from the host (thinkstation on the top left pane).
Attached below is the screenshot of that.. much turminel, very h3xx0r! But so far nobody has come up to me calling me "evul h3xx0r" yet.. very intriguing! I expected things to be much worse.
A glass of Duvel in front of me, tastes great! Cheers!19
I get through tough devDays like this:
1. Brew coffee more black than a serial killer's soul in the midst of the Gotthard Base Tunnel without electricity in the midnight during a solar eclipse.
2. Flush the blackness down the throat.
3. Load the Playlist: Mostly Death/Doom Metal
4. Put on over-ear headphones (the ones your coworkers can see from a distance telling them to fuck of with their questions).
5. Code through without pauses (except for releasing piss)
6. If you're paid by the hour: $$$profit$$$12
When I was in college, our email was on a Unix server. We would login via serial connection or telnet over the network, and get a korn shell. The server was poorly secured. Everyone's login device was world writable. So people would just see who was online, see the username of someone they wanted to mess with, take note of the pts(network) or tty(serial) device their connection used, and cat ASCII penises to it.
cat animated_dong.txt > /dev/pts/4
It was a simpler time.2
2 things arrived in the mail today, still not my serial cable though. How fucking stressful, what am I gonna do!?2
I finally decided to delete my Facebook! The only problem now is that some sites require that I login with Facebook, oh and some people think I'm a serial killer now for some reason :/7
So the teacher made fun of me today stating that knowing what USB stands for is pointless :/ I thought it was just basic knowledge for a geek like me. This statement of my teacher really infuriates me!!!12
Friends, hear the good news, somebody figured out how to turn off Intel ME. Rejoice!
I fucking hate how intel reps say “they don’t participate in lowering security or shipping back doored or compromised systems, but yet ME is designed such that any vulnerability in it equals total gang busters for gaining access. It’s introducing your best friend to a serial killer, handing the killer a un, and offering him a million dollars to shoot your friend, and then when he does, saying you had nothing to do with it because it was his choice. Go fuck yourselves Intel, I’m already never buying a cpu or nic from you as long as I shall live, the least you can do is not lie to us.11
Hear a lot about silicon valley and started to watch it and I can say it's best serial ever made love it ;)4
Hey android devs!
How can I keep receiving bluetooth serial data?
I did what is said in android developers but the app stops receiving data after 12600 frames without any error or exception thrown.
The data is sent with sample rate 2000.
Thanks in advanced1
Be me, reading the slides of the courses I missed for my semester abroad, when I hit this slide :
"Always code as if the person maintaining your code was a serial killer who knows where you live"
I think I'm going to enjoy my semester in Mérida, México 😀2
My first Drone
Arduino nano + L293D + hc-06
Objective: learn how to use Bluetooth with Arduino.
V 0.1 (no direction, commands by serial terminal).18
Hardware hacks! Here are three which are a bit different from the usual (bodge wires on PCBs, replacing dead components by some arrangement of what was in stock, etc.). All of them have been in place for some years.
(1) I bought a beamer second-hand. It was quite cheap but the remote control was missing. The beamer had a (surprisingly even documented) serial interface, which I sadly didn't get to work at all. Solution: I disconnected the serial port circuitry internally, built a replica of the internal keypad circuitry as an external remote and attached it via the now free serial connector. I now have a cable remote attached by a standard DB-9 cable hanging from the ceiling, and it's quite convenient actually.
(2) I was repairing an old scope (HP 180 series I think) and just when I was finished and started putting it all back together I smashed a ceramic trimmer capacitor. Looking at the circuit diagram it was actually a quite important part. All the trimmer capacitors I had were either physically or capacitance-wise too large to fit. Solution: Desolder the broken part and solder a piece of insulated wire to each terminal. Twist the wires until the capacitance is right, and you're done.
(3) When building my first backup server, I needed 5 volts for the Banana Pi. The result was the attached step down based on a MCP16322 (which is the 3x3 mm chip floating on top of the inductor). This 3D circuit is now kind of hanging around there. As it had always worked reliably, there hasn't been the need to replace it.6
Ohhh what a nice day.
Eating some nice steak.
Building Android (Ressurection Remix)
And watching my favorite serial (IZombie)
Can this day be even better ?16
Here is my collection of microcomputers and stuff... I have quite a few and don't know what to do with them...
Arduino pro mini
2x Arduino pro micro
Raspberry pi B+
USB to serial interface
Some random Arduino interface
What should I do with them?10
->buying fake arduino from ebay.
->have to install separate drivers, because the manufacturer uses a cheap usb to serial chip.
-> driver page is all in chineese, only the download button is in english
-> installed the driver(at this point there was no going back)
-> instand kereal panic
Ohhh i just noticed my smartwatch has TX and RX connections (Serial) and my serial to USB just arrived.
The watches run ARM so i might get it to run Linux.
Now that would be fucking cool.13
trying to do anything on the PS2 is almost fucking impossible
i imagine a board meeting where they were designing the hardware
"how can we make this insanely hard to use?"
"let's make decentralized partition definitions, allow fragmenting of entire partitions, and require all partitions to be rounded to 4MB. If you delete a partition, don't wipe the partition out, just rename it to "_empty" and the system will do it for you, except it actually won't because fuck you"
"let's require 1-bit serial registers to be used for memory card access and make sure you can't take more than 8 CPU cycles to push each bit or it'll trash the memory card"
"let's make the network module run on a 3-bit serial register and when initialized it halves the available memory but only after 8 seconds of activity"
"let's require the system to load feature modules called "IOPs" and require the software to declare which of the 256 possible slots it wants to use (max of 8 IOPs) then insert stubs into those. Any other IOP you call will hang the system and probably corrupt the HDD. You also have to overwrite the stubbed IOPs with your own but only if you can have the stubs chainload the other IOPs on top of themselves"
"let's require you to write to the controller registers to update them, but you have to write the other controller's last-polled state or the controller IOP will hang"
of course this couldn't make sense, it's
s s s s
o o o o
n n n n
y y y y7
I'm developing an OS. I tried running it on the laptop that's on the ground. Everything works fine except text mode. There is no output when running it in text mode(not the high resolution one shown on image). Since the OS sends all data that is printed to the first serial port I might as well read the output from the serial ports. Since the laptop I use for development doesn't have any serial ports I had to use the older Windows 98 PC. For unknown reasons I could not get any output from the serial ports so I gave up.
tl;dr I wasted some time trying to debug my OS.
Image of my debugging setup(taken with the latest potato).13
Well, I'm still in 1981 Hell as far as serial connectivity goes, but we got boobs on the screen, because when we're working with DOS 5.00.2 BETA and 4 colors at a time, why the fuck not?
My father works as a hardware developer in a medium-large company.
We(dad+me) also design and build test equipment to be used at said company.
Usually, these are Arduino controlled pieces of harware. I write the code for these projects.
One of these projects had a simple communication system over serial(human readable commands).
I wrote a simple WinForms application (which loads a config XML and has a GUI to send these commands), because appearantly it's too hard for SOFTWARE DEVELOPERS(who are writing code for the device, which the test equipment is for) to use hyperterm(or some other serial monitor) to control it, when given a step by step maunal.
I get complaints, that this application(img) is 'not working' or 'too hard to use'. I works perfectly.
All you have to do is:
1. select com port(to wich the device is connected)
2. press connect; wat until it says "connected" After that, the option to "load config file" unlocks.
3. now, select the file(press '...' for openFileDialog) and press load.
4. Now the deafult settings are send immediatly. You can then, select the options from the list on the left, and change them with the radio buttons. The changes are automatically sent.
All these morons seem to be able to do is:
1. check the "expert mode" checkbox(opens up more options(unnecessary for their use case))
2. mess it up
My father often complains, how bad the software devs(at that office) are.
They are (almost all, some exeptions) incompetent pieces of shit from India, who take age to do anything.
I had to look at some CVs and Resumés of them(both SW and HW). ( My father is the team leader and head HW dev and had to hire an HW dev They were full of bullshit and spelling errors, bad language and more.
Tl;Dr; Wrote software for use in my dad's company, software devs to stupid to use it.9
I've been thinking about how to answer this for a while, but I'll approach it from a different angle. The time I (nearly) lost faith in my dev future wasn't because of a technology, bad programming language or an external influence. It was *me*.
The first job I had after the PhD, I was (in the first couple of weeks) tasked with updating various packages on a live Redhat server. "No problem", I thought, "I've done this before many a time on Debian, easy as pie!"
Long story short, I ended up practically bricking the server because I mistyped and uninstalled something I shouldn't have, didn't understand a piece of configuration, then tried to bodge it back and cocked things up further. Couldn't even log in via SSH, the hosting company had to be called, a serial connection set up, etc.
To say I was mortified, embarrassed and had my pride dented would be a massive understatement. I seriously thought I'd get fired on the spot, and that I should perhaps change careers to something where I couldn't cock things up as much.
...but you can't think like that, otherwise the world leaves you behind. So I picked myself up, apologised profusely, took some relevant training, double checked everything I was doing on that server in future and got back to work. After a few months of "proving myself", it was then seen as nothing more than a rather amusing story, and I became a senior dev there a couple of years later.1
Just talked to a guy who codes microcontrolers in assembler. He wants to use a raspberry pi as an interface device between TCP and Serial port. He asked me how fast that would run over internet and I told him that it depends on the connection an other things it takes at least some milli secs to transmit.
He is like:
What the fuck do you mean milli secs?
I poll data on my 20 mhz controler every like micro sec or so and that Pi got 1Ghz.
Me like: Yea go fucking code that shit on your own with ASM.2
when I asked: "So, how does it work?", I didn't expect the answer to be: "Well, you push this button, wait three seconds and when it's finished, this LED turns on."
I was hoping for a more in-depth description (like, the way you'd consider me to be seriously interested in your work or learning from you) along the lines of "Well, you see, I have written this CLI-Tool here, which connects to the adapter and parses the contents of the file via serial interface to the on-board controller. This controller performs an integrity check of the device and then decides whether to flash or not. The testing unit itself checks if its being programmed with the right parameters."
Of course I know how a programming device works but I was interested in your solution in this special case ... so I think I'll just check the doc later if there'll ever be some.4
I had two teachers in school, who even after finishing the class, continued to program with interested students. For example programming a robot or communicating over the serial port of a computer using Java.2
I was reminded of people's posts about preferred text editors in another post, so I thought I'd do the same, but also add some super old technology that I used along the way.
The first text editor I consistently used was pico. I used it to write my first webpage at school.edu/~username. It was a natural choice, because the it was the default text editor in pine, which is what we would all use for our email after opening a serial connection to the college's Digital Unix server. Or if we were the lucky ones who had a computer in a wired dorm, telnet. My dorm was not wired until my sophomore year.
I got my first job in tech in 2001, working as a night shift tier-one support technician. By this time, most people were using web based email, or POP3, but I wanted to keep using pine (or elm, or mutt) because I was totally in love with the command line by this time, and had been playing with Linux for two or three years by now. I arranged a handshake deal with a guy in my home town who had a couple well-connected NetBSD servers, to let me have an account on one for email and web hosting (a relatively new idea at the time).
I recall telnetting into my shared hosting account from the HP-UX workstations we had in the control room. I would look at webpages on HTML conventions and standards, and I kept seeing references to this thing called vi. I looked into it more deeply, and found that it was a text editor, and was the reason I always had to CTRL-Z out of elm. I was already finding pico to be lacking, so I found a modern implementation of vi called vim that was already installed on the aforementioned NetBSD server, and read through vimtutor on it. I was hooked instantly. The modality massively appealed to me, and I found editing files to be an absolute delight, compared to pico, and its nascent open source offspring/successor, nano.
My position on that hasn't changed in the years that have passed since then.
What's your text editor origin story?1
Ever had that frustrating moment that the customer overreacts a small issue into a big issue? Just happened to me today.
Client: "Hey can you check why we are not getting any software update/patches to our firewall?"
Me: "OK. Lemme check"
** Checking **
Me: "I found that its not getting the latest updates because the license file registered has a product serial # mismatch with their support site. You can see it clearly here..."
Client: "THAT'S TERRIBLE!! QUICK!! MAKE IT A PRIORITY 1 ISSUE AND HAVE IT RESOLVE ASAP!!!"
Fuck. The entire day to do this shit.
The screen was my first experiment, but because of a bad module (i2c) it didn't worked.
Today I finnaly got it to work.
Starting making everything almost like in the picture, everything mounted (and lots of black hot glue, no wires showing...
One hour breaking everything apart without damaging the screen... Was a loose wire.
Started again... Didn't work...
The pot is also damaged, sometimes it works, others need to turn it hard.
New set of wires.
Soldering everything right, testing all wires so no mistakes this time... But it takes so longgggg... Making everything in modules this time (to reuse without having to sordering again. And finally... It works.
By this time I should have 3 or 4 learning projects finish (I really wanted the screen to adapt all output in text, no serial, no blinking less, everything in modules, code prepared so, when I get my 40+ packages from China I already have a prototype tester ready.
10 hours... Fuck I'm really addicted, or else I would just solder everything together :D28
Built a C#/.NET application with support for a serial device. Tested it on systems A, B, C initially, all Windows system, same .NET version, same targeting, same build tool version, same initial connection configuration etc, etc.
Testing - works on A and C, B nopes.
OK, let's check the source, is there something about B that makes it impossible to execute that bit? - No, there is not, you checked that already, stop poking around, it definitively should work on B.
OK, maybe admin privileges, there is I/O involved, didn't need that on A and C, but who knows - nope, doesn't work on B.
OK, maybe something wrong with the connection settings? First try at reinstalling driver - but no, it doesn't work on B.
OK let's try with another device - more/less devices on B. Other USB ports. No. Still does not work on B.
OK, this is stupid, but, is the cabling alright? It is, of course it is, stupid - but it still does not work on B.
OK, at that point I'm just gonna ask a colleague, GrumpySoftwareDev whether he has any clue why it doesn't work on B. GrumpySoftwareDev knows nothing, but discovers that one of his applications doesn't work on Windows 10. You know nothing, Jon Snow, but it doesn't work on B.
OK, now I'm just going to ask another colleague TheLastOfHisKind who handed B down to me somewhat bluntly if he ever experienced problems when working with B and its serial configuration. TheLastOfHisKind tells me he does not and kindly offers me some input on the situation. Still no progress to get it working on B but he hinted he might have fucked up B's driver. I already reinstalled the driver but didn't reboot, which comes after reinstall.
OK, I'm just gonna remove and re-install the driver, then restart. Hu! Now the UI is gone but another serial device reacted on a general call. Not fully working on B but we're getting there.
OK, I don't know, I'm getting frustrated, let's borrow another system D - which has roughly the same configuration as B - from my colleague StrongCurrentGuy. StrongCurrentGuy borrows me his system and cautions me not to break it. I install the driver, plug the device and copy the application from B. It just works on D. Not on B though.
OK, you know what. I'm done. For shits and giggles I'm gonna remove that driver again, reinstall it and restart, maybe it'll magically work afterwar- WHAT THE HELL, I JUST OPENED IT AFTER RESTARTING, IT JUST WORKS - ON B!
... seriously, what the fuck. But yeah, at least it works now.4
Thinking about making this into a terminal that accepts a serial connection from my IBM 5150 PC for that Chroma Green authentic text based experience. ;)
Seriously though. How awesome would it be to use a circa 1981 IBM 5150 as your terminal? Lol!1
*packing for a school-hosted graduation celebration with friends*
let's see, first rule of packing for a trip, count on every slim chance happening...
List of things now in backpack:
3 changes of clothes (1-night trip for an all night party in <100-MILE-AWAY MAJOR CITY>)
3x 4-port USB Hubs
10-port power strip (not fully in bag, but mostly so.)
Extra pair of shoes
3.5" external floppy drive
First aid kit
precision driver set
pliers (1x farmer's, 1x bent needlenose)
empty laptop HDD (250GB)
magnet in Altoids tin (can't have it trashing the HDD!)
VGA to RGB (Composite ends) adapter
Composite/S-VIDEO USB capture card
Portable USB chargers (1x 30k mAh 2-port, 1x superslim 3k mAh 1-port)
Enough phone chargers to replace all chargers within 30 miles
2x 16GB thumbdrives
Boot disc set
School IDs (for bag's ID slot)
3 pairs of decent earbuds (no el cheapo $1 ones because they break trying to get them out of the package)
Serial to USB adapter
Magnesium fire striker
Plenty of pens and pencils
Emergency radio locator beacon
Emergency cellular locator beacon
SD/eMMC/CF/TF/MCP(D) USB reader
external HDD reader (2.5" IDE/3.5" IDE/SATA, external power)
am i missing anything?12
Operation PiBM 5150 XT is continuing this morning!
Raspberry Pi B+ 900mhz
Raspbian Pixel Linux
LG 21:9 2560x1080 monitor
/boot/config.txt updated for 21:9 monitor
Nyko PS3 USB Compact Flash / SD Reader
4gb CF card as HDD in 5150
4.77mhz IBM 5150 in like new condition
CGA Graphics and Monitor
Late 2012 Macbook Pro
USB to DB/25 (RS-232) serial adapter
How do u validate the license key of your offline application ?
(In a way that a cracker would have less chance to find the serial like this )27
Yesterday evening my family were watching his favourite tv show. Have nothing to do i too sat there with them.
The scenes on television were going like : The leading lady of the show were trying to convince her family that her husband is not involved in the molestations which police has charged on him. Person can be look alike of her husband. In fact my husband was some where else when the molestation was happening. She also had a proof and that was CCTV camera footage in a Compact Disk. So she started playing it in the TV presented in room with CD player. But it turns out that CD can't be played because villain hired a hacker to corrupt video quality playing in TV.
I laughed because in my knowledge that was not even possible in real life. Every family memeber started staring at me.
My mother : That's what you do? No? That's what you do whole day in your office?
Me: No, no. I....
My mother: See her face. Poor lady.
Me: But mom, that's impossible. It is just fiction. In real life it is not possible.
My mother : Get out of my sight.
My mom did not dine yesterday. These fucking serial maker. These women's.
So today, me, the pacifistic "linux is not THAT great"-guy, was like well let's try ubuntu 17.10 (cus in the end i want a reliable os with no to less maintenance).
So i installed it next to my loved windows.
Clicking a link seems to have an hard coded delay of about 3-5 seconds until the pages actually start loading in ff on linux, so i was like maybe it's because there is a wall between me and my router..
Went into the other room.
I have one bar WLAN strength. I stand next to my router. What the fuck.
Hmm, could be sth else, let's don't be an asshole and blame linux, let's check windows. Full wlan, full speed, all good.
So my point is proven: you want to fiddle around a bit, do some coding with serial-connected devices, want a shell that actually is usable and you like to procrastinate by doing some random maintenance? choose linux.
If you need to be productive with other things, use windows.5
Finally. My router got support for OpenWRT. Yayyyyyyyyyyyyyyyyyyy. Lets grab that serial port and flash it.13
(I'll give some context before the rant: I'm part if the IT department of a manufacturing company (actually I'm 1/2 of the department), and all the applications (old an new - except the ones used on production line) used in the company are my responsibility, that including most of databases too... Also, English isn't my native language so there will be some words or phrases that I'll probably write wrong... Sorry for that, if there are any corrections, I'll be glad to hear them)
There will be an implementation of new "control point" on the "shipping department" which consists on a electromechanical equipment controlled by a PLC. And despite the original concept was a collaboration between 2 departments (we, IT, and Production Control), I was never taken in consideration about anything of the project... To be fair, I forget about its existence until two weeks ago.
So, a few days I learned that there are a huge delay regarding the original deadline (mainly because the supplier was delayed with the delivery of their system), and since two weeks (less, actually, because some holydays in between) I'm learning how to integrate that "P.o.S" into an existing application on a PC using a serial communication (not the main problem, as I've done that before... With another brand of PLC's) while avoiding buying any additional software (to get the communication done and in a easy way) and that sort of things... But discovering in the process that it will be necessary to acquire such additional SW in order to finish the job ASAP.
When suddenly I get the "news" that it's almost all my duty (and responsibility) to meet the original deadline, because it doesn't matter how the other departments screw all the schedule, it's the job of IT to get the shit done in time... And what is worst: they didn't said that in such straight manner, no, the implied it while making a quick test with the general manager.
I mean, WTF? Besides doing a "respectable" number of "user support" activities in a dialy basis, I also need to manage the activities of other departments? And also fix their screw ups on a schedule that I just learned days before?
And also there is a coworker (one of whom screwed up) that, almost every time she see me, is asking "how much until you'll finish?"
As I read on a meme years ago: "please, give patience, because if you give strength, I'll need bail money too..."
Damn... I don't know of the benefits of this work are worth all this nonsense
A while ago I stumbled upon this cheap vps provider called dedistation (lowest was $15/year), so I end up buying a one year subscription and transferred all of my personal sites to it. Fast forward six month later, uptime robot notified me that my vps is down. No problem, I'll just submit a ticket. Few days go by and I yet to receive a response. Not a problem, I'll just try and login via the serial interface and get my shit, no luck there either.
Seems like these motherfuckers just packed up and went offline without a shit given.
No response, no notification untill today! How more twat a company could be?
Lessons learned the hard way
- always backup regularly
- check and transfer nameserver or no emails for days.
- you get what u pay for (haven't learned this fully yet. Went again with a cheap legit-ish provider (arubacloud)7
Haha its fun reflashing memory on router via arduino as serial connector.
(Just installed OpenWRT)
Well im Linux guy. Sooo it was builded by somebody else sooo fuck that lets build my own image with YSB support and looooot more. This router will be a beast.
Last completed (so not something which is still going on) project i have learned a lot was for "digital- and microcontroller technology" classes.
I designed a tower which fits on a pc fan. In this tower there is a tabletennis ball and on top of it is a infrared sensor. With a Potentiometer you can set the height at which the ball shall float.
As microcontroller i took an arduino uno. For visualization i used SerialComInstruments.
Learned lots of microcontroller programming, pid controls and how the fuck a serial port communication really works.3
I began exploring code and graphic design early on at about 6-7 years old. My Dad had a commodore 64 with a few games and a little handbook that had some awesome examples to go by. My Dad had at one time been a subscriber to a serial magazine for Commodore enthusiasts that featured a snippet of code in each issue. After getting into my Dad's old stash of magazines I was able to combine all the magazines and write the code from each issue to create a hangman game. This got me into computers and programming. Then we did some Logo/Turtle work as got into qbasic on our IBM machine.
!rant seems that my raspberry pi serial idea is a little bit complex at the moment and may take a more serious turn later, but I have studied and found DOS based TCP/IP software that will allow me to use my 5150 with actual Ethernet. There are a few 8bit ISA Ethernet cards that will work in the 5150 and separate executables that will configure DHCP, DNS, and even allow me to use a terminal emulator and SSH to connect to *nix based computers over lan! I'll keep you all posted!10
So a particular client of ours has been having an issue with our software for the past few days. In short, they get an error when trying to do their end of day tasks. They simply have to restart the software and the error goes away until the next day when they have to do the process again. The developers are looking into it, along with other bugs and features, in other words this particular issue isn't the only one that's getting worked on.
For some reason, this store owner somehow believes that his issues are the only ones we are dealing with right now. One of the other techs already had the pleasure of speaking with him on the first night this happened, explained to him about simply restarting the software, but that apparently went in one ear and out the asshole.
I am not one of the developers at our office, simply tech support for now (maybe i'll migrate over once i feel 1337 enough). I had to repeat essentially the same answer to him.
Me: "The good news is you just have to restart the software and when you perform the end of day functions, you will not see the error. it will come back again each night until the developers fix the bug and release an update"
him: when will that be finished?
me: I do no have an estimated time, but a message has been sent to the developers about this issue, so once they resolve the issue, an update will be released.
him: but yeah, how do i fix this issue? I still don't have any answers.
at this point it's pretty much goto 10, reiterating the same stuff I told him, just slightly reworded. At some point he asked who the developers are, as if that was going to make any kind of difference what so ever. It's just baffling how some of these people are running businesses with the attitude they have. What's more puzzling is some of the people who call have been at these places for some years and have used our software and hardware just about as long as the stores have been there. They call and it's as if computers were JUST now being brought to their attention.
"I plugged the keyboard up to the modem".....pc tower
"I typed in the ip address"..... www.google.com
Half the damn time they can't tell if a particular printer is directly connecting to their station (the obvious cable going from the printer to the station itself) or if it's a network printer (again, obvious cable going from printer to the port on the wall). God forbid it's directly connected, because I have to ask "Is it a usb cable or serial cable... with the screws on the sides of the connection" and thankfully i haven't got "Both" as an answer yet (and i'm sure I will at some point). But even that is too hard of a question, typically 10 seconds of "Uhhh......" followed by " I think..." then me asking "Does it look like an internet cable?" and finally a yes or no from them. At that point it's just about the station not being upset at me and allowing me to install it properly with no issues.
I'm seriously thinking of sending god damn custom-made pop-up books with instructions on how to fix the broader issues and mailing it out to each store.2
My first project is finished xd. i was in designing but merging it with coding was a great idea. It has got a serial system amd an auto updater. Yep it is a cheat injector xD rate for a guy who just started coding.6
Because old hardware means learning the hard way sometimes, I've had to purchase more goodies.
On my last update, I installed the rs232 shield which may have inadvertently been wired backwards for Tx/Rx from what im used to. I assume it is backwards to most db9 serial ports because most Arduino or other projects you would do with a pi have serial "in" connections like old routers and devices that would be "controlled" rather than the other way around. Anyway, according to a video on youtube showing a guy turning an old machine into an IRC client via raspberry pi, this shield may be swapped. That means that instead of interfacing with the old machine via a null modem crossover cable, I need a straight cable with male db9 on both ends. I unfortunately tried using the null modem crossover cable which was reversing the reversed pins all over again. I hope these next few days are more fruitful now that I've bought a straight cable and db9/25 adapter.
The good thing is that I managed to get the pi to recognize its new serial port. I also dusted off my DOS skills and my serial card in the 5150 seems to work.
I literally banged my head after nothing worked. Im hoping that the tx/ Rx is solved soon.
Oh and that AT to PS/2 adapter will allow me to use by IBM original Model M Keyboarf rather than the fun model F.
The Raspberry Pi is fun. As long as you not try to connect it via bluetooth to something and read/write serial-ish.20
We were having a 30 min discussion about differed tasks and how to kill children spawned by a specific parent if the so said parent is killed, and if in a situation where keeping a parent alive is irrelevant if a child fails, should the child kill the parent and the other children?
Also if a family of tasks spawned from the same parents were canceled, should should I just kill myself or do I take care of the others first?
Or should I concentrate on killing the tasks instead? Which one is easier?3
The worst type of debugging: Programming an MCU without a Serial Monitor.
Some Context: I've spendt today about 3h+ on getting an attiny 45 to read 3 digital values on 3 pins. So for every test I wanted to make, I needed to put the MCU inside a socket put this socket on a arduino and flash it. Then extract it from the socket and put it on a breadboard for testing.
After getting headaches for nothing making any goddamn sense, I ended up noticing that one input pin is a multiplexed reset pin with the reset having top priority and no way to change it. So whenever this pin should have read a low signal, it got held in reset! FML
A programme I have to maintain (and not allowed to optimise or change):
1) read input from serial connection
2) store data in MySQL database
3) every day convert to CSV
4) store on Windows file share
5) process CSV in access 2000
6) store in MsSQL database
When it was first developed, I said to te developer to store it straight from serial to MsSQL but out boss wanted it to follow the above spec.
He has now left and I have to maintain it1
Bought me an Arduino Uno today as part of some cheap china robot arm. The holes in the acrylic don't accommodate the screws so I have to give up on the project for now.
Anyway, I tried to read analogue output from it with a joystick module as a quick test. Spent 30 minutes wondering why I couldn't read to console until I realised that bottom console in the Arduino IDE isn't for that... You have your own Serial Monitor *facepalm*
Talking to a vendor in China to source some hardware modules. The engineers don't speak any English, and the sales rep doesn't know a serial port from a monkey's ass. Shortest game of Chinese whispers 😥4
FX [ Adds another HD to PC.. ]
FX [ Boots into Window 7.. ]
"Serial number no longer valid, hardware change.."
No problem, I'll just check my serial number, oh wait, its vanished from the machine !
FX [ Time Passes . . . ]
After searching my paperwork, I think I find the right W7 serial..
Now its asking me if I want to buy another, phone up, or put another one in and try activation online..
Well, lets try giving it what I think is the old previous one it had, and see if its happy.
And its happy !
Until the next time I 'radically' change the hardware..
Meanwhile, same PC, under W10, doesn't get upset about the issue !
We need to log out phone calls in and outlet of the company
How we wanted to do it:
Use node.js to read the serial port from the phone system then store the data into the MsSQL database
1) Read serial port
2) store in local MySQL database
3) every 3 minutes create a CSV file containing the last 3 minutes of calls and store on a Windows shared directory
4) have a access 2000 programme collect these files every 30 minutes
5) insert into MsSQL database1
So, apparently that another kickstarted IoT chip dev team forgot to bind reset button to anything, so it is just sitting there as a fidget toy and they also messed up with usb-to-serial connection so it is working only in transmission mode. I am just sitting here with bricked chip with no adequate possibilities to unbrick it.1
I told you guys that I would update you on my PiBM-5150 project. I figured out the hard way that my USB to DB-25 cable wouldn't cut it. Seems it is for printers and no matter how hard I tried it wouldn't work because of the path of the wires. After researching, it is apparent that the GPIO pins on the pi are configured for serial by default but it requires a little voltage change from TTY to RS-232. Rather than do like one of the videos I saw and solder junk to a bread board, I found a serial (rs-232) shield and 9pin output for the pi. Now, both computers are true rs-232 each. Instead of using a modem between them, I bought a null modem cable (crossover of Tx Rx signals) to interface the two machines directly. I'll update this evening to show it hopefully working.
Just helped in the little 'Büdchen' (kiosk comes close, but in reality it is more of an little super market) around the corner to Update the firmware of a money bill verifier and counter... As there are new 50 Euro bills.
God. Serial to USB. After running installer and starting firmware update, the owner was a bit frightened as it took so long....
Setup. 30 secs. Firmware. 6 Minutes. XD
due to some error on GCP, my and friend got locked out of a prod server over ssh.
And the fucking admin was not giving us privileges to do it through serial port, why you ask cause submitting keys from dashboard was not working.
Later, found out google runs a startup script from startup-script metadata tag.
It felt like showing a middle finger to the admin and google
Our college convocation/send off is right after few days
people are getting mail from certian email id from college domain which looks phising mail to click on some url with strange ip to register.
College group: people painicking, as if some one is trying to hack their fbs 😱. I had to calm them down by proving that that link was our college website, even though ip said otherwise.
Proof: I just stripped the url which showed default Apache2 on Ubuntu welcome screen(index.html) 🤭. Then I stripped further more to see all the files in hosted folder of server which contained 2016 registration convocation form. So with this pic I told that it is really the same form changed Colors (from pink to blue, I guess 2016 was year of Alice) and year variable, invitation is still to be added in both 2016 to 2018 websites 🤯.
people try to login to register using email id and unique/University serial number (usn). They forgot the email id they had given once upon a time, so couldn't login. There was again chaos. 🕵🏻♂️ How to remember our email id.
the sysadmin (person who has admin access and can run scripts from internet 🧟♂️) of our college said he will add the I'd and asked people to give their email id and usn in a group. Now I have lot of aliases to give for some stupid advertisement guys like dominos
Domino guy: Please give me your email id
Me: pick a chit from the bowl 😭
In fact I had all people email id and usn ( including mine😓) in a sheet which contains details like marks from 10,12th along with University, etc, which they fillied for placement which excel sheet output of Google forms.
Can make fake passports, sell it, phising, and crazy stuff😈. It is like people in Indian college don't really understand value of this data
1)the Apache version had few cves attached none of them were that easy to execute. And most of them were dos stuff.
2) And they cost of that unifrom/gown is 400 and they also take some money form . They said 500₹ security deposit and only100₹ will be returned. WTF!!
Ohhhhh fucking bullshit.
I have an old Canyon router and i decided to install dd-wrt on it since i have it on my main one so why the fuck not.
To my suprise that bullshit is just ASUS rebrand.
Ok that isnt that bad.
The worst is that they dont released the firmware files so i dont have any other choice then to install it via serial connection.
Ohhh tftp doesnt work until you have serial connection.
Why firmware file matters ?
Because when you want to flash factory-to-ddwrt image it fails because of header.
Well and you get header from factory firmware or memory dump via serial. But well i could just install wrt on it when i have serial.
So FUCK you Canyon i hope you get what you deserve.
#just Bluetooth headphones things
When you're sitting on crowded public transportation and can't hear anything unless your phone is closer to your headphones than anyone else's, i.e. unless it's close as shit to your face 😍😍😍
When you want to listen to music for longer than 2 hours or several times during your workday but can't because the BT headphones last 2-3 hours 😍😍😍
When the left and right side don't pair with each other but you can pair with each individually 😍😍😍
When half of the button presses and user interactions aren't documented and there's no way to forget a device 😍😍😍
When you try to connect a new device to them in a public area and just see a dozen random serial numbers, so you have to wait and hope they get resolved to the headphone brand name 😍😍😍
When Satan takes your soul and the Bluetooth connection drops in hell 😍😍😍
When the music quality is lower and can experience static and maybe even skip in between 😍😍😍
When the bus hits a road bump, it falls out of your ear, and rolls halfway down the bus 😍😍😍
When it takes a long time to find them because they tiny af, and just as long to find the charging cable 😍😍😍
When manufacturers cannot agree on a standard volume sync system and so you have to check the volume and adjust every time you connect and disconnect your headphones 😍😍😍
Can we please just stop making everything Bluetooth?
Someone who just wanted to listen to a 2 minute billie eilish song but found it easier to sing in his head13
Why can't I still figure this shit out?
This is supposed to be easy!
Its a freaking USB communication!
It IS easy.
So why am I stuck?
I got shit ton of stuff to figure out and this is where I'm stuck?
Rearranging my bedroom/office and just found a fucking ps2 to serial adaptor... Are they even a fucking thing?!
Side note also found my pipe tobacco and pipe, time to get back to looking dapper as fuck!3
I have had to work on a project with a pc104 stack running yocto. I have had this since December last year and the image has always just randomly crashed 🤔. Yesterday I found out why!!
I am able to read the sensor of the cpu temp this has never been over 60/70 degrees C (yes I am English), however after running multiple tests and finally hitting my last wits I made the Kernel output over serial as no msg was shown on crash.
The company we have got the HW from always said this board won't over heat it throttles the cpu blag bla bla... And you guessed it in the mid of nothing but mess was a message "thermal_zone0 critical temp 127 degrees shutting down"
I didn't know if I was happy or about to cry as I didn't know if after working on this project for the last 6months I was back to the drawing boards as I need new HW or my gut at the start of not trusting the Company we are using!
Needless to say I have no idea what Monday will bring, I will keep you all posted as we all do care!
More network/hardware than dev but anyway: I use OPNsense as a firewall at home on an embedded system. Had everything set up nicely and appearing to be working fine, quite a lot of things set up (static leases, VLANs with various firewall rules etc. - a fair bit of stuff involved). I noticed my remote system was failing to back up to my local one. Turned out port forwarding wasn't fully working (initial packet got through but nothing else). I noticed this at midnight.
Ran an update to see if that helped - nope. Reboot time then! It made its shutdown noises and I waited 15 minutes before giving up (no noises, no ping response). Took SD card out. Copied a fresh install onto it, thus wiping all settings. Booted up fine, set up my internet connection, all good. Proceeded to configure it. Noticed I couldn't access the internet from my PC, but could from the firewall itself. Rebooted the firewall. It didn't come back up. Argh!
Reinstalled AGAIN. Attached a serial cable and it was complaining about something which sounded like it couldn't read the SD card. Tried another. Nope. Looked online (using phone): known issue to do with boot delays.
Gave up and went to bed at this point (4am).
Next day: Installed it in a VM instead. Still no internet from my PC! Another known issue to do with default gateway not being the PPPoE interface. Got into shell, manually changed the default route. Was then able to update to the latest version which fixes the gateway issue. Rebooted the VM. All good.
Put all my settings back in, this time taking a backup afterward.
Only to discover....
....port forwarding wasn't working properly. Back to square 1.
Poked around with some NAT settings (outbound ones), made no difference, undid those changes and suddenly it started working.
WTF? /waves arms in the air
OPNsense folk were very helpful, producing a new build for me to try within a couple of hours of me asking about the problem.
But days like that, I start to question whether I really enjoy technology as much as I thought I did...
USB3.x is such a bitch.
My mouse laggs like hell when I put a USB3-thumbdrive on the same root hub, even if I don't read or write on the drive.
Morons, morons everywhere5
Client wants me to document the updated patch in the system... In detail. I just want to upgrade their server memory but noooooo. They want me to detail it all in step-by-step, including change impact, description task, expected time duration, back-out plan.
The first time I had to do this, it was cute. But now it's FUCKING ANNOYING ON HOW DETAIL THEY WANT ME TO PUT IN!!!
Client: "OK, so you wanna upgrade the server memory. What do you need to bring into the data centre?"
Me: "Just my laptop. I'm just configuring your underutilised server memory and upgrade it."
Client: "Good. Put that in the document, including your laptop serial #, make and model."
Me: *Screaming internally*
I've gotta create a bidirectional communication protocol to link 2-3 RPis over GPIO. I have between 4-5 pins for TX and 45 for RX, so each directional bus is that wide.
Even better, I have to assume 4 bit bus length unless told otherwise, since 4 to 6 pins on the GPIO are usually used for serial/UART, COM and/or 1-pin communications (for use to get a console, not to throw data down.)
The best part?
Needs to be a Python library.
i wanna die6
Well as it seems Arduino isnt the best option to send large data over BT because it writes it into memory and when you exceed that shit then random characters start falling onto your terminal.
Also Uno isnt the best option too since it has only 1 serial port and that is used with PC too so uploading is impossible if the device also receives from those pins.
I might switch to MEGA but well that wont arrive in time and then so this is kind of fucked up as i pretty much have to limit the characters too much now but i can do that it will be just impractical.
And i was wondering why the fuck i get random characters if i write too much from MEGA to Uno. Its fucking memory overflow.13
Started a journey of serial exploitations and trying to read stuff with UART/debug pins. Holy fuck where are the UART pins!!5
Ended up dong an internship for my school (not really internship, more along the lines of formal volunteering, but whatever) helping set up laptops for a statewide standardized assessment.
I made a program to log the machine's identifying info (Serial, MAC addresses, etc), renames it, joins it to the school's Active Directory, and takes notes on machines, which gets dumped into a csv file.
Made the classic rookie mistake of backing things up occasionally, but not often enough. Accidentally nuked the flash drive with the data on it, and spent a good while learning data recovery and how grep works.
Lesson Learned? Back up frequently and back up everything
The fucking nail to my coffin. This thing is so unreliable. I fixed on issue get the next one. Then get an error trying to make a http request, with little information on the web. Eventually switch to FTP which is working for a while. Then suddenly nothing is working properly. Even the serial communication has errors. This process took over 6 months. Constant debugging and headscraching involved. After hundreds of hours I give up. I'm going to switch to a Raspberry Pi Zero with an UMTS Stick attached. This is going to cost way more battery time but my project needs to be finished by july and I'm tired of this shitty little module.2
Oh god why... Why is it that every time I work with software defined radios, I keep on having to rely on not just incomplete, but at times misleading documentation 😩
Last time was GNU radio, with the doc telling me that I could define an input for a processing block using either a type or a (type, size) tupple, only for the actual code to scream at me in confusion upon my passing a tupple.
Now is that other SDR's SDK, which, as if being built upon eclipse wasn't bad enough, managed to make its serial communications confusing. Why can't you just let me set a callback to rx interrupts, you daft punks...1
Im thinking about getting a raspberry pi 3 or an odroid-c2.
(Specs at the end)
Its to host a simple php server and maybe a gitlab server, both for personal use.
Should I go with the better performance or the better community support?
System-on-chip used : Amlogic S905
CPU: 1.5 GHz 64-bit quad-core ARM Cortex-A53
Memory: 2 GB LPDDR3 RAM at 912 MHz
Storage: MicroSDHC slot, eMMC module socket
Graphics: Mali-450 MP3
Connectivity: 4× USB 2.0, micro-USB OTG, HDMI 2.0, Gigabit Ethernet (8P8C), Infrared, 40× GPIO ports
SoC: Broadcom BCM2837
CPU: 4× ARM Cortex-A53, 1.2GHz
GPU: Broadcom VideoCore IV
RAM: 1GB LPDDR2 (900 MHz)
Networking: 10/100 Ethernet, 2.4GHz 802.11n wireless
Bluetooth: Bluetooth 4.1 Classic, Bluetooth Low Energy
GPIO: 40-pin header, populated
Ports: HDMI, 3.5mm analogue audio-video jack, 4× USB 2.0, Ethernet, Camera Serial Interface (CSI), Display Serial Interface (DSI)10
Looking for a Framework or language that has:
- multi-platform (Windows + Android minimum)
- Easy to design GUI
- Can use file databases like SQLite
- Can use serial, BT, Wi-Fi to send-receive data.
I already used Python + Kivy but I think there must be easier frameworks for this...22
"- Hello I work on this shitty Drupal project where the vendor directory is gitted, and we can't use composer becauses it returns error [note: i wish this was a joke]. So I installed a module that won't work, because it needs a depency. I installed it but it still doesn't work
- You need to edit your autoloader
- Ok, what do I put in it?
- Idk, you're not supposed to do it, and let composer do it for you"
Did I ever tell you how the Drupal stack exchange will one day make me turn into a serial killer?
Serial downvoters who love to suck joy out of souls and knock little kids ice cream cones onto the cold, hard, pavement that is life.
Is there any good linux application to send FUCKING RAW data to a serial port?
Port in question: /dev/ttyACM0
Baud (nice if configurable): 9600
I want to send specific binary data. I want to send 0b00110011 or something like that to it, not some character or a hex value.27
When you try to get a serial GSM modem working for 3 months only to find out that you have to put the PIN code in quotation marks...
What do you think about psychometric tests? I doubt a test can define the type of person you are nor your characteristics. I think it's ambigous, unprecise and extremely subjective. Today I was rejected from a job offer because "the psychometric department didn't give their vote of approval". This is the first time I get rejected for that reason, in the past nobody complained about the results of my tests. I don't know if psychometry is useful, but this company is looking for someone different, or maybe psychometry is, in fact, subjective and any fool can interpret your results however he feels like: "Oh, so he likes kittens over puppies, he's a potential serial killer, let's reject him"1
Hey codebroes! Give me your best programming movie, serial, documentary.
That episode from NCIS where they created a GUI for tracking down a criminal doesn't count!3
our office software has the shittiest documentation. no problem! i love to browse all the subfolders to find where to place a serial letter template! why would someone want to do this in the first place?
if someone working in the german medical field: i can not recommend eva/viva for some other reasons as well.
So I'm building an app, donations get you a serial key. Once a month I want the app to verify the key with a server.
Recommendations for this? It's written in c++, if that matters.8
Writing fun code for your esp module but wondering why it won't flash correctly. But there is a USB cable in your USB to serial and it goes behind your monitors and the esp shows you that's its powered.
10 minutes later you notice that it is plugged into your adapter instead of your computer...........
Just turned myself inside out why parsing data from serial didn't work. A full day, and 20 minutes before going home I realize the uart interrupt function was too slow. I just didn't get all chars...
I've had to update some 200 scanning devices on the only available computer old enough to still have the necessary connector. Over a serial connection that was so slow I could've probably written the firmware faster than updating it. It took me 14 hours to update all devices.
Need some help here!!
I'm learning machine learning, so planning to buy Asus R510JX-DM230T. Are the below specs enough to practice TensorFlow ?? Specs : 2.6GHz Core i7 4720HQ processor
8GB DDR3 RAM, 1TB 5400rpm Serial ATA hard drive
15.6-inch FHD Anti-Glare Display, 2GB Nvidia GeForce GTX 950M Graphics14