Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "portable"
-
In one of our first C programming classes today in college, I booted up Ubuntu on the dual boot systems to practice our first few programs which we were supposed to be doing in Turbo C on Windows.
I successfully compiled it using gcc on the first try which appeared like magic to my neighbor. Soon our teacher came to check my program and said that I made a mistake. I asked her what is the mistake? She said that I was supposed to be using conio.h!!
I argued that it is not a standard header file and using it makes the code non-portable. She tried it to edit it to include conio.h but couldn't edit it since I was using vim. I was asked to switch to Windows and use Turbo C instead and also use conio.h. I denied and she told me to follow her or leave the class.
The weather was nice.19 -
So this was a couple years ago now. Aside from doing software development, I also do nearly all the other IT related stuff for the company, as well as specialize in the installation and implementation of electrical data acquisition systems - primarily amperage and voltage meters. I also wrote the software that communicates with this equipment and monitors the incoming and outgoing voltage and current and alerts various people if there's a problem.
Anyway, all of this equipment is installed into a trailer that goes onto a semi-truck as it's a portable power distribution system.
One time, the computer in one of these systems (we'll call it system 5) had gotten fried and needed replaced. It was a very busy week for me, so I had pulled the fried computer out without immediately replacing it with a working system. A few days later, system 5 leaves to go work on one of our biggest shows of the year - the Academy Awards. We make well over a million dollars from just this one show.
Come the morning of show day, the CEO of the company is in system 5 (it was on a Sunday, my day off) and went to set up the data acquisition software to get the system ready to go, and finds there is no computer. I promptly get a phone call with lots of swearing and threats to my job. Let me tell you, I was sweating bullets.
After the phone call, I decided I needed to try and save my job. The CEO hadn't told me to do anything, but I went to work, grabbed an old Windows XP laptop that was gathering dust and installed my software on it. I then had to build the configuration file that is specific to system 5 from memory. Each meter speaks the ModBus over TCP/IP protocol, and thus each meter as a different bus id. Fortunately, I'm pretty anal about this and tend to follow a specific method of id numbering.
Once I got the configuration file done and tested the software to see if it would even run properly on Windows XP (it did!), I called the CEO back and told him I had a laptop ready to go for system 5. I drove out to Hollywood and the CFO (who was there with the CEO) had to walk about a mile out of the security zone to meet me and pick up the laptop.
I told her I put a fresh install of the data acquisition software on the laptop and it's already configured for system 5 - it *should* just work once you plug it in.
I didn't get any phone calls after dropping off the laptop, so I called the CFO once I got home and asked her if everything was working okay. She told me it worked flawlessly - it was Plug 'n Play so to speak. She even said she was impressed, she thought she'd have to call me to iron out one or two configuration issues to get it talking to the meters.
All in all, crisis averted! At work on Monday, my supervisor told me that my name was Mud that day (by the CEO), but I still work here!
Here's a picture of the inside of system 8 (similar to system 5 - same hardware)15 -
I guess I can do one of these a day or so. I've collected some novelties over the years.
First up is a Curta mechanical calculator. Before electronic calculators became a thing, these were the best portable calculators in the world. Notably, they were the calculator of choice in rally car sports.
They work by a series of helical gears that act as registers. A series of internal gears and value assignment switches apply an adjustable number of incrementations to those gears, multiplying gears and the tracking gears, once per "grind." The result is output as a number on top of the device. The "clear register" function is lifting the top ring, which releases the reverse lockout on the gears and a clockwise turn on the ring then resets them to their zero state.
They were designed by Curtz Herzstark, partly before WWII and partly while he was imprisoned in a Nazi concentration camp. He had filed a patent for it in 1938, shortly before his family's manufacturey became a weapons factory. During his imprisonment, in addition to nearly starving to death, he completed his plans for manufacturing of his calculator.
It had fun names like the, "pepper grinder," and "math grenade."15 -
This happened a month or so ago. I wanted a tablet for more easy/portable server management (JuiceSSH) so I went to a second hand tech store (a good/reliable one) and this guy asked me right away what I was looking for.
"a tablet!"
I pointed at a specific one and he grabbed it and walked me to the cash desk to take a look at it.
"what do you want to use it for?"
"server management mostly"
Then this other guy behind the desk looked at me with this view in his eyes like:
"fucking try-hard"
The employee helping me also looked strangeish at me
😅22 -
Oh my word, shut up everyone about the ESC key. In interface design do you keep something around that 1% of your user base uses, or do you make something better? It's not even gone. It's on the touch bar for fricks sake.
And while we're talking about it, stop calling Apple so innovative. Innovation at Apple died with Steve Jobs. "We developed this awesome new iPad Pro!" it's just a bigger iPad with the same stupid limitations of all iPads. If you want a real portable work tablet, go buy a Surface. "We added a touch bar to the MacBook Pro!" some manufacturers of Windows laptops have had that thing for years!
😰6 -
What's your favorite console ? I love my switch, it is portable, has great games and HOMEBREWS.
I've been wanting to start making stuff on it for a while but didn't want to get banned, finally it's possible so here it is my first project : a Devrant client for switch !
It took me a bit cause i was unexperienced with the platform and there are a few technical issues i had to workaround ( like no support for ssl rn and devrant api is only https :/ ) but nevertheless it's here. I'm happy now.13 -
Long long ago there was a man who discovered if he scratched certain patterns onto a rock he could use them to remind him about things he would otherwise forgot.
Over time the scratching were refined and this great secret of eternal memory were taught to his children, and they taught it to their children.
Soon mankind had discovered a way to preserve through the ages his thoughts and memories and further discovered that if he wrote down these symbols he could transfer information over distances by simply recording these symbols in a portable medium.
Writing exploded it allowed a genius in one place to communicate the information he had recorded across time and space.
Thousands of years passed, writing continued to be refined and more and more vital. Eventually a humble man by the name of Johannes Gutenberg seeking to make the divine word of God accessible to the people created the printing press allowing the written word to be copied and circulated with great ease expanding vastly the works available to mankind and the number of people who could understand this arcane art of writing.
But mankind never satiated in his desire to know all there is to know demanded more information, demanded it faster, demanded it better. So the greatest minds of 200 years, Marconi, Maxwell, Bohr, Von Nueman, Turing and a host of others working with each other, standing on the shoulders of their brobdinangian predecessors, brought forth a way to send these signals, transfer this writing upon beams of light, by manipulating the very fabric of the cosmos, mankind had reach the ultimate limits of transmission of information. Man has conquered time, and space itself in preserving and transmitting information, we are as the gods!
My point is this, that your insistence upon having a meeting to ask a question, with 10 people that could've been answered with a 2 sentence email, is not only an affront to me for wasting my time, but also serves as an affront to the greatest minds of the 19th and 20th centuries, it is an insult to your ancestors who first sacrificed and labored to master the art of writing, it is in fact offensive to all of humanity up to this point.
In short by requiring a meeting to be held, not only are you ensuring the information is delayed because we all now need to find a time that all of us are available, not only are you now eliminating the ability to have a first hand permanent record of what need to be communicated, you are actively working against progress, you are dragging humanity collectively backwards. You join the esteemed ranks of organizations such as the oppressive Catholic church that sought to silence Galialio and Copernicus, you are among the august crowd that burned witches at Salem, the Soviet secret police that silenced "bourgeoisie" science, you join the side of thousands of years of daft ignorance.
If it were not for you people we would have flying cars, we would have nanobots capable of building things on a whim, we would all be programming in lisp. But because of you and people like you we are trapped in this world, where the greatest minds are trapped in meetings that never end, where mistruth and ignorance run rampant, a world where JavaScript is the de facto language of choice every where because it runs everywhere, and ruins everywhere.
So please remember, next time you want to have a meeting ask yourself first. "Could this be an email?" "Do I enjoy burning witches?" if you do this you might make the world a little bit of a less terrible place to be.6 -
Fuck you gas company for back billing me 1500...I don't need you...built my own heating system...and with my managed pdu I can switch on remotely so its warm when I get home...so you can shove your heating app up your arse as well11
-
I was engaged as a contractor to help a major bank convert its servers from physical to virtual. It was 2010, when virtual was starting to eclipse physical. The consulting firm the bank hired to oversee the project had already decided that the conversions would be performed by a piece of software made by another company with whom the consulting firm was in bed.
I was brought in as a Linux expert, and told to, "make it work." The selected software, I found out without a lot of effort or exposure, eats shit. With whip cream. Part of the plan was to, "right-size" filesystems down to new desired sizes, and we found out that was one of the many things it could not do. Also, it required root SSH access to the server being converted. Just garbage.
I was very frustrated by the imposition of this terrible software, and started to butt heads with the consulting firm's project manager assigned to our team. Finally, during project planning meetings, I put together a P2V solution made with a customized Linux Rescue CD, perl, rsync, and LVM.
The selected software took about 45 minutes to do an initial conversion to the VM, and about 25 minutes to do a subsequent sync, which was part of the plan, for the final sync before cutover.
The tool I built took about 5 minutes to do the initial conversion, and about 30-45 seconds to do the final sync, and was able to satisfy every business requirement the selected software was unable to meet, and about which the consultants just shrugged.
The project manager got wind of this, and tried to get them to release my contract. He told management what I had built, against his instructions. They did not release my contract. They hired more people and assigned them to me to help build this tool.
They traveled to me and we refined it down to a simple portable ISO that remained in use as the default method for Linux for years after I left.
Fast forward to 2015. I'm interviewing for the position I have now, and one of the guys on the tech screen call says he worked for the same bank later and used that tool I wrote, and loved it. I think it was his endorsement that pushed me over and got me an offer for $15K more than I asked for.4 -
Technology never stops to amaze me.
I bought hdmi stick with nes emulator, connected it to power using usb on my tv directly no power adapter needed - only cable, it has 2 remote pads powered by batteries, all fits into my pocket and it has removable sdcard that I can connect to my computer and upload games.
I can go to someone’s house, bring up this little fella and we can play games together. It only took 40 years to do it.
Damn I remember playing, mario, contra or micro machines as a kid.
Spent 8+ hours playing great old games already lol.
I just need portable 60 inch tv screen or projection screen and battery that would power it for at least 8 hours and fit to my pocket and my life is complete.
Imagine you go to the bar, sit, grab a beer and play mario with random people all night.6 -
3 person help desk shop for 450 users. One of my tasks is procurement.
Customer: we need a portable monitor that takes up less desk space than the one you typically have us buy
Me: at the conference last week we displayed the upgraded model of that portable monitor which takes up half the desk space. It’s $250 instead of the $150 that you normally would pay.
Customer: that ones too expensive, find me something else.
Me: unfortunately not too many companies make portable monitors and since AOC is unreliable in quality we have been recommending Asus, who only makes those two models that I’ve shown you.
Customer: I want the AOC one anyways. You shouldn’t have shown the more expensive one because now my staff want it and I can’t get it. If everyone can’t afford it you shouldn’t have it available.
Me: I understand your frustration, we have recommended that more expensive one as an option for people who have special accommodations for eye care and as an alternative if people dislike the current model. Since it’s not required that you purchase it and since we do have a much less expensive option we will continue to recommend it. As for the AOC one we will allow you to purchase it but will not be supporting or repairing it.
Customer: Can we get this instead? *sends link to $989 pre tax off brand version of Razer Project Valeria*5 -
OCR (The exam board for my course) are fucking thick in the head when it comes to anything computing.
- I get a mark or two for saying open source software is worse than thier propritary counterparts
- ALL open source software forks must also be make open source. They spend so much time going over the legal stuff BUT HAVE NEVER HEARD OF OPEN SOURCE LICENCING!
- One exam paper had a not gate picture with 2 inputs...
- I have to differentiate between portable and handheld! YOU MEAN HANDHELD DEVICES ARE NOT PORTABLE!?!!?!?
- In level 2 education, OCR say 1 MB = 1024 KB - In level 3, they say 1 MB = 1000 KB, and 1 MiB = 1024 KiB, and expect you to differentiate. Why do you expect the wrong answer in level 2!?
- INFORMATION FORMATS AND STYLES ARE COMPLETELY DIFFERENT THINGS! If you look up synonyms for "style", "form" is there, and if you look up synonyms for "format", "style" is there.
- When asked for storage devices, I have to say "smartphone", "tablet", "desktop PC" - I mean yeah they store data but when you ask me for storage devices I will say "hard disk drive", "solid state drive", "SD card", etc. >.>
I could probably go on an on about this...
I sure do love being asked to copy-paste existing HTML/JS/CSS and being asked to just tweak it here and there, and then wait for other people's incompetence in copy-pasting... I sure do love being stuck with this sort of "education" ._.4 -
Let me ask you something: why do most people prefer ms word over a simple plain text document when writing a manual. Use Markdown!
You can search and index it (grep, ack, etc)
You don't waste time formatting it.
It's portable over OS.
You only need a simple text editor.
You can export it to other formats, like PDF to print it!
You can use a version control system to version it.
Please! stop using those other formats. Make everyone's life easier.
Same applies when sharing tables. Simple CSV files are enough most of the time.
Thank you!!?!18 -
-make my first app
-build a portable/rugged rasberry pi
-make a neural net to find fortnight wins on Snapchat and auto block the person
-get a job4 -
I'm in the process of installing Windows 98 on an old ultra portable.
166mhz, 32MB of ram, 10GB hdd.
What should i install next?
Linux is not a possibility at the moment I'm only interested in Windows and DOS for this right now.
Suggestions in the comments21 -
"Shit, redefined."
"Shit, reinvented"
"One shit to rule them all!"
"A new era of bullshit"
"The world's 1st portable pile of shit!"
-> Typical Kickstarter slogans...
Seriously I found at least five campaigns using them! Wtf how uncreative can you be!?5 -
Fuck strict corporate software policies, just let me WORK (╯°□°)╯︵ ┻━┻
When I came to this new workplace I was given a Windows laptop. And it came with a bunch of pre-installed corporate stuff and policies like automatic mandatory frequent driver and windows updates. Although I prefer linux, I thought, maybe I'll switch later, first let's see how everything works here, since on Windows I had all VPNs, certificates and other corpo stuff pre-configured out of the box. But imagine missing a standup, because of windows update in the morning. Or missing audio, because of drivers update in the middle of the meeting. And make it every week or so. Also, I couldn't not install my portable DAC drivers, because limited access, blah blah fuck me. And many other small things that I vaguely remember by now.
Later corpo decided to add a tracking plugin into a browser and that was it for me. Gladly, corpo policy allows using Linux (they have their own modified Ubuntu version), which has MUCH less of this crap. I mean, it's still somewhat managed by corpo (like I can't get rid of duplicated PPA, lol.. and sometimes I need to wait like 1-2 mins to login to my laptop because of login server timeout), but that's still better...
Linux, home, sweet home, I missed you <3
Also, I dodged the bullet. Win11 upgrade was a funny shit show to watch :D1 -
Is this something cool?
I wanted a portable battery but I had no money (student life in Mexico), but I had a couple of damaged tablet batteries and a damaged router case.
A year ago I did not use it, but now it is useful when I occasionally go out to capture some Pokémon.
The downside is that it only has one USB port to discharge and micro-B to charge. And of course I do not go out with the antennas, I take them off, I just put them on for the demonstration, haha.2 -
Long rant ahead.. 5k characters pretty much completely used. So feel free to have another cup of coffee and have a seat 🙂
So.. a while back this flash drive was stolen from me, right. Well it turns out that other than me, the other guy in that incident also got to the police 😃
Now, let me explain the smiley face. At the time of the incident I was completely at fault. I had no real reason to throw a punch at this guy and my only "excuse" would be that I was drunk as fuck - I've never drank so much as I did that day. Needless to say, not a very good excuse and I don't treat it as such.
But that guy and whoever else it was that he was with, that was the guy (or at least part of the group that did) that stole that flash drive from me.
Context: https://devrant.com/rants/2049733 and https://devrant.com/rants/2088970
So that's great! I thought that I'd lost this flash drive and most importantly the data on it forever. But just this Friday evening as I was meeting with my friend to buy some illicit electronics (high voltage, low frequency arc generators if you catch my drift), a policeman came along and told me about that other guy filing a report as well, with apparently much of the blame now lying on his side due to him having punched me right into the hospital.
So I told the cop, well most of the blame is on me really, I shouldn't have started that fight to begin with, and for that matter not have drunk that much, yada yada yada.. anyway he walked away (good grief, as I was having that friend on visit to purchase those electronics at that exact time!) and he said that this case could just be classified then. Maybe just come along next week to the police office to file a proper explanation but maybe even that won't be needed.
So yeah, great. But for me there's more in it of course - that other guy knows more about that flash drive and the data on it that I care about. So I figured, let's go to the police office and arrange an appointment with this guy. And I got thinking about the technicalities for if I see that drive back and want to recover its data.
So I've got 2 phones, 1 rooted but reliant on the other one that's unrooted for a data connection to my home (because Android Q, and no bootable TWRP available for it yet). And theoretically a laptop that I can put Arch on it no problem but its display backlight is cooked. So if I want to bring that one I'd have to rely on a display from them. Good luck getting that done. No option. And then there's a flash drive that I can bake up with a portable Arch install that I can sideload from one of their machines but on that.. even more so - good luck getting that done. So my phones are my only option.
Just to be clear, the technical challenge is to read that flash drive and get as much data off of it as possible. The drive is 32GB large and has about 16GB used. So I'll need at least that much on whatever I decide to store a copy on, assuming unchanged contents (unlikely). My Nexus 6P with a VPN profile to connect to my home network has 32GB of storage. So theoretically I could use dd and pipe it to gzip to compress the zeroes. That'd give me a resulting file that's close to the actual usage on the flash drive in size. But just in case.. my OnePlus 6T has 256GB of storage but it's got no root access.. so I don't have block access to an attached flash drive from it. Worst case I'd have to open a WiFi hotspot to it and get an sshd going for the Nexus to connect to.
And there we have it! A large storage device, no root access, that nonetheless can make use of something else that doesn't have the storage but satisfies the other requirements.
And then we have things like parted to read out the partition table (and if unchanged, cryptsetup to read out LUKS). Now, I don't know if Termux has these and frankly I don't care. What I need for that is a chroot. But I can't just install Arch x86_64 on a flash drive and plug it into my phone. Linux Deploy to the rescue! 😁
It can make chrooted installations of common distributions on arm64, and it comes extremely close to actual Linux. With some Linux magic I could make that able to read the block device from Android and do all the required sorcery with it. Just a USB-C to 3x USB-A hub required (which I have), with the target flash drive and one to store my chroot on, connected to my Nexus. And fixed!
Let's see if I can get that flash drive back!
P.S.: if you're into electronics and worried about getting stuff like this stolen, customize it. I happen to know one particular property of that flash drive that I can use for verification, although it wasn't explicitly customized. But for instance in that flash drive there was a decorative LED. Those are current limited by a resistor. Factory default can be say 200 ohm - replace it with one with a higher value. That way you can without any doubt verify it to be yours. Along with other extra security additions, this is one of the things I'll be adding to my "keychain v2".11 -
My laptop is a useless piece of shit when it isn't plugged. All I want is a slim box that I could bring almost everywhere I go! How long do your laptops' batteries last?26
-
One too many rants on Windows Update and the apparently endless ways to somehow turn off enough parts of it to no longer consider it a nuisance — and mostly neglecting to remember how to turn it back on or run it manually...
This of course lends a lot of room for bitching about Windows being unsecure and and outdated :o
Unfortunately the good people at NoVirusThanks have recently released the tool you've all been waiting for — no need to cry any longer because Microsoft's monthly release schedule means you have updates every time you bimonthly "have to" use Windows:
Win Update Stop — as simple as pictured: http://novirusthanks.org/products/...
It even comes in a portable version and support all the way back to XP!12 -
C is nice and all but have you ever had to massacre your code with preprocessor instructions to make your code portable?3
-
To get myself into a better relation with golang, I started working on an electronless, cancer free, cross platform lightweight slack client.
I will be using the Fyne UI lib, and am already in love with it.
So far my mockup UI compiles into a fully portable >20Mb binary. the netcode shouldnt take any more than that, hoping to end up with a ~50Mb project.
TL;DR:
- theres gonna be a lightweight slack client available at one point
- fyne is awesome, get it at https://fyne.io/8 -
If you can be locked out of it remotely, you don't own it.
On May 3rd, 2019, the Microsoft-resembling extension signature system of Mozilla malfunctioned, which locked out all Firefox users out of their browsing extensions for that day, without an override option. Obviously, it is claimed to be "for our own protection". Pretext-o-meter over 9000!
BMW has locked heated seats, a physical interior feature of their vehicles, behind a subscription wall. This both means one has to routinely spend time and effort renewing it, and it can be terminated remotely. Even if BMW promises never to do it, it is a technical possibility. You are in effect a tenant in a car you paid for. Now imagine your BMW refused to drive unless you install a software update. You are one rage-quitting employee at BMW headquarters away from getting stuck on a side of a road. Then you're stuck in an expensive BMW while watching others in their decade-old VW Golf's driving past you. Or perhaps not, since other stuck BMWs would cause traffic jams.
Perhaps this horror scenario needs to happen once so people finally realize what it means if they can be locked out of their product whenever the vendor feels like it.
Some software becomes inaccessible and forces the user to update, even though they could work perfectly well. An example is the pre-installed Samsung QuickConnect app. It's a system app like the Wi-Fi (WLAN) and Bluetooth settings. There is a pop-up that reads "Update Quick connect", "A new version is available. Update now?"; when declining, the app closes. Updating requires having a Samsung account to access the Galaxy app store, and creating such requires providing personally identifiable details.
Imagine the Bluetooth and WiFi configuration locking out the user because an update is available, then ask for personal details. Ugh.
The WhatsApp messenger also routinely locks out users until they update. Perhaps messaging would cease to work due to API changes made by the service provider (Meta, inc.), however, that still does not excuse locking users out of their existing offline messages. Telegram does it the right way: it still lets the user access the messages.
"A retailer cannot decide that you were licensing your clothes and come knocking at your door to collect them. So, why is it that when a product is digital there is such a double standard? The money you spend on these products is no less real than the money you spend on clothes." – Android Authority ( https://androidauthority.com/digita... ).
A really bad scenario would be if your "smart" home refused to heat up in winter due to "a firmware update is available!" or "unable to verify your subscription". Then all you can do is hope that any "dumb" device like an oven heats up without asking itself whether it should or not. And if that is not available, one might have to fall back on a portable space heater, a hair dryer or a toaster. Sounds fun, huh? Not.
Cloud services (Google, Adobe Creative Cloud, etc.) can, by design, lock out the user, since they run on the computers of the service provider. However, remotely taking away things one paid for or has installed on ones own computer/smartphone violates a sacred consumer right.
This is yet another benefit of open-source software: someone with programming and compiling experience can free the code from locks.
I don't care for which "good purpose" these kill switches exist. The fact that something you paid for or installed locally on your device can be remotely disabled is dystopian and inexcuseable.16 -
There’s no better feeling then doing a full server rebuild, modifying several projects heavily to be portable and keep working under new infrastructure and loosing access to dependent systems.
Migrating everything across, firing up Apache.... and BAM the fucker just works and ssl labs gives it an A (it was a giant F with multiple vulnerabilities yesterday on the old server)7 -
Here's a life hack for you.
If you're ever in need of a whiteboard for drawing/sketching, grab a few white a4 paper sheets, a roll of transparent duct tape, tape both sheets together side-by-side. Cover both sheets with tape
et voila! You have yourself a portable & foldable whiteboard!
The more sheets you involve, the bigger the whiteboard will be :)
P.S. It's very handy!!12 -
When you're broke, don't have access to a 3d printer but still wanted to make a raspberry pi portable. Cardboard + power bank is the easiest way2
-
Did you ever notice that the people playing music in public with a portable speaker always have the fucking worst taste I music?3
-
Wow, I think I might be closer to done than I thought I would be!
Double buffered console library, works cross-platform with support for color! Color was a challenge because of the differences between Linux and Windows but I think my solution was okay!
The only thing I have left is reading input and I don't think that's going to be terribly hard! Then, I'm gonna bind it to Lua and make really cool console applications like a portable console notepad lol.
Pic attached.5 -
Network Security at it's best at my school.
So firstly our school has only one wifi AP in the whole building and you can only access Internet from there or their PCs which have just like the AP restricted internet with mc afee Webgateway even though they didn't even restrict shuting down computers remotely with shutdown -i.
The next stupid thing is cmd is disabled but powershell isn't and you can execute cmd commands with batch files.
But back to internet access: the proxy with Mcafee is permanently added in these PCs and you don't havs admin rights to change them.
Although this can be bypassed by basically everone because everyone knows one or two teacher accounts, its still restricted right.
So I thought I could try to get around. My first first few tries failed until I found out that they apparently have a mac adress wthitelist for their lan.
Then I just copied a mac adress of one of their ARM terminals pc and set up a raspberry pi with a mac change at startup.
Finally I got an Ip with normal DHCP and internet but port 80 was blocked in contrast to others like 443. So I set up an tcp openvpn server on port 443 elsewhere on a server to mimic ssl traffic.
Then I set up my raspberry pi to change mac, connect to this vpn at startup and provide a wifi ap with an own ip address range and internet over vpn.
As a little extra feature I also added a script for it to act as Spotify connect speaker.
So basically I now have a raspberry pi which I can plugin into power and Ethernet and an aux cable of the always-on-speakers in every room.
My own portable 10mbit/s unrestricted AP with spotify connect speaker.
Last but not least I learnt very many things about networks, vpns and so on while exploiting my schools security as a 16 year old.8 -
Some simple yet underrated tips for staying in the coding game.
* Coffee.
* Shower if your head feels heavy.
* A simple change to your theme or fonts
* Change of body posture: standups or sitting.
* Switch between desktop and laptop.
* Switch OSes, linux and OSX (good way to also ensure your config/build is portable)
* Long occasional morning/evening walks to think of solutions.
* Throw some shit on the political left on devrant..
Send me some coffee if you find these tips helpful. xD6 -
We had a blind auction at work. Selling off 'redundant hardware'
Most of it was old crap but a bit a couple of bids in for shits and giggles. Also, I'm a desktop man but we have rolling blackouts so an older laptop for the simple sake of having something bigger than my phone to browse definitely has some appeal.
So there was an old HP Elitebook 8540W. A chonky boi if ever I did see one.
Spec sheet as listed
4GB DDR3
i7 M 640 @ 2.80 Ghz
128GB SSD
Win 10 Pro
"not booting up/ power button flashing"
So bid R100. Now for context, a petrol is R22 a liter. A Big Mac is R43, a Big Mac meal is R90
So basically I big so I could harvest the SSD. And I won.
Much to my surprise, I simply attached the correct charger and it boots fine. The drive was empty though but that's fine cause I was gonna chuck Ubuntu on it anyway. Also found it was in fact 8GB of RAM. It also has a blu ray drive
So in summary, for the price of 1.1 Big Macs I got:
Full 1080p 15.6"
128GB Samsung SSD
8GB ram
First gen i7
Blu ray player
I'm most not sad about the 900x that I bid on as well. It was a cute little thing, my plan was to steal the ram and ssd out of this thing and put it in that, then boom ultra portable little machine for R400. Oh I also got an old monitor with a feint line down the screen for a grand total of R18 -
Linus Torvalds on C++
“C++ leads to really really bad design choices. You invariably start using
the nice library features of the language like STL and Boost and other total and utter crap, that may help you program, but causes:
- infinite amounts of pain when they don't work (and anybody who tells me
that STL and especially Boost are stable and portable is just so full of BS that it's not even funny)
- inefficient abstracted programming models where two years down the road you notice that some abstraction wasn't very efficient, but now all your code depends on all the nice object models around it, and you cannot fix it without rewriting your app.”
http://harmful.cat-v.org/software/...3 -
A developer might think "now that computers have more RAM and an abundantly strong CPU, I am free to create resource-hungry inefficient software!"
This sets a dangerous precedent.
Computers can only get faster if the software stays efficient while the processors get faster and the RAM increases.
If computers get more powerful but software also gets more bloated and less efficient, it defeats the performance benefit.
Also, software must be efficient to extend the battery time on portable devices.
Jody Bruchon video: https://youtube.com/watch/...9 -
I never thought clean architecture concepts and low complicity, maintainable, readable, robust style of software was going to be such a difficult concept to get across seasoned engineers on my team... You’d think they would understand how their current style isn’t portable, nor reusable, and a pain in the ass to maintain. Compared to what I was proposing.
I even walked them thru one of projects I rewrote.. and the biggest complaint was too many files to maintain.. coming from the guy who literally puts everything in main.c and almost the entire application in the main function....
Arguing with me telling me “main is the application... it’s where all the application code goes... if you don’t put your entire application in main.. then you are doing it wrong.. wtf else would main be for then..”....
Dude ... main is just the default entry point from the linker/startup assembly file... fucken name it bananas it will still work.. it’s just a god damn entry point.
Trying to reiterate to him to stop arrow head programming / enormous nested ifs is unacceptable...
Also trying to explain to him, his code is a good “get it working” first draft system.... but for production it should be refactored for maintainability.
Uggghhhh these “veteran” engineers think because nobody has challenged their ways their style is they proper style.... and don’t understand how their code doesn’t meet certain audit-able standards .
You’d also think the resent software audit would have shed some light..... noooo to them the auditor “doesn’t know what he’s talking about” ... BULLSHIT!9 -
Don't tell me I'm the only one who searched if there's any direct option to use Assembly in Python as it is in C.2
-
Recently I've had some Airpod knockoffs in the mail for about €8 while they were in a promotion. They are pretty usable, and while I do not own the authentic Airpods, my unit seems to have all its most important functions that I'd expect of a pair of Bluetooth earbuds (given that I've been using those since 2015 already, so plenty of experience with such things). Given that, the Apple Airpods'd better give me a morning blowjob for their price!
Seriously, what is the point of such Apple earbuds. For me, the important thing is that they are wireless earbuds that can operate independently or in sync as desired. It's earbuds that can be recharged on the go using some kind of portable 3.7V lithium cell in a charging dock that can directly drive the 3.7V cells in the earbuds. That's all.
Bill of materials? 2 tiny Bluetooth controllers, 2 speaker drivers, ABS injection moulding for the charger pocket thingy and the earbuds themselves, a charge controller for the "docking station", and some tiny lithium cells for each, provisioning size-capacity for whatever will still fit. That's all.
Is that worth €150? Like hell it is. And sure some capacitive sensor in the earbud for touch-based control would be useful. But guess what, even that isn't expensive! Capacitive sensing is dirt easy (https://youtu.be/mWR9Q_pTagw), and for something like the Airpods you could probably get away with 3-4 stationary capacitive touch sensor modules. Cost of that per unit if I were to design it and outsource it to China? €15 at best. Yet Apple charges €150-something for their Airpods. What the fuck?!7 -
I just installed Opera Mini on my PSP. That alone isn't very exciting on its own, although I am stoked that my website does in fact render on a device from 2009. With the helpful guidance of a laptop from 2004 that's doing the hotspot duties for this thing.
No, what really got me stoked is that Opera still supports these old platforms, and how small they managed to make it. The .jar file for Opera Mini 4.5 is ~800kB large. There's a .jad file as well but it's negligible in size and seems to be a signature of sorts.
Let that sink in for a moment. This entire web browser is 800kB. Firefox meanwhile consistently consumes 800 MEGABYTES.. in MEMORY. So then, I went to think for a moment, how on earth did they manage to cram an entire functioning web browser in 800kB? Hell, what makes up a web browser anyway?
The answer to that question I got to is as follows. You need an engine to render the web page you receive. You need a UI to make the browser look nice. And finally you need a certificate store to know which TLS certificates to trust. And while probably difficult to make, I think it should be possible to do in 800k. Seriously, think about it. How would you go *make* a web browser? Because I've already done that in the past.
Earlier I heard that you need graphics, audio, wasm, yada yada backends too.. no. Give your head a shake. Graphics are the responsibility of the graphics driver. A web browser shouldn't dabble with those at all. Audio, you connect to PulseAudio (in Linux at least) and you're done. Hell I don't even care about ALSA or OSS here. You just connect to the stuff that does that job for you. And WebAssembly.. God I could rant about that shit all day. How about making it a native application? Not like actual Assembly is used for BIOS and low-level drivers. And that we already have a better language for the more portable stuff called C.
Seriously, think about it. Opera - a reputable browser vendor - managed to do it in 800kB on a 12 year old device. Don't go full wank on your framework shit on the comments. And don't you fucking dare to tell me that there's more to it. They did it for crying out loud. Now you take a look at your shitpile for JS code and refactor that shit already. Thank you.21 -
It's impressive how much root can actually get you, that's debian running xfce on my lg g3 and chromium.
It's always nice to know that you can have a portable server etc. straight from your phone. I even used that kind of setup as a portable laptop some time ago and it worked quite well.
What things did you do via chrooted linux on android devices? would be interesting to know if somebody maybe is still using it as some kind of laptop as I did.13 -
Many people here rant about the dependency hell (rightly so). I'm doing systems programming for quite some time now and it changed my view on what I consider a dependency.
When you build an application you usually have a system you target and some libraries you use that you consider dependencies.
So the system is basically also a dependency (which is abstracted away in the best case by a framework).
What many people forget are standard libraries and runtimes. Things like strlen, memcpy and so on are not available on many smaller systems but you can provide implementations of them easily. Things like malloc are much harder to provide. On some system there is no heap where you could dynamically allocate from so you have to add some static memory to your application and mimic malloc allocating chunks from this static memory. Sometimes you have a heap but you need to acquire the rights to use it first. malloc doesn't provide an interface for this. It just takes it. So you have to acquire the rights and bring them magically to malloc without the actual application code noticing. So even using only the C standard library or the POSIX API can be a hard to satisfy dependency on some systems. Things like the C++ standard library or the Go runtime are often completely unavailable or only rudimentary.
For those of you aiming to write highly portable embedded applications please keep in mind:
- anything except the bare language features is a dependency
- require small and highly abstracted interfaces, e.g. instead of malloc require a pointer and a size to be given to you application instead of your application taking it
- document your ABI well because that's what many people are porting against (and it makes it easier to interface with other languages)2 -
*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>)
Laptop
3DS
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
SAK
precision driver set
soldering set
multitool
pliers (1x farmer's, 1x bent needlenose)
multimeter
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
Smelling salts
2x 16GB thumbdrives
Boot disc set
$200
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
Rehydration salts
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?11 -
!rant
So I got tired of dragging my behemoth 17" gaming notebook around to do my day to day web development, so I caved and got a Lenovo Yoga 720. It's very slim and light, though I'm not sure I'm completely happy with it yet.
So I figured I would ask you all here. What laptops do you feel are a decent price and are nice and portable?
Here's my need for specs (because I'm a little picky):
-8th gen i5 or i7
-8GB ram minimum (16GB preferred)
-SSD (don't care about the size, so 128GB min)
-Thin, light and compact (probably 13-14")
-$1000 budget (though I will stretch it a little)
I took a look into System76, but I don't really feel the price matches the hardware (lot of price gouging on the upgrades).32 -
Today's finished projects :
Mini vacuum cleaner:
Works. Just need better patles to be really effective.
Portable lighter wire solderer :
Busted.
Works but the flame must be always on. Takes time to heat. Good for a tight spot and you can buy the tools for it anywhere.
Many if the coil is more open... I'll check on beta 2 (not quitting yet)4 -
Omg how stupid some people are... Today at my university I used the first time one of the computers in the computer room and there is a portable Firefox installed in a shared space on the computer and that is also where it saved settings etc. So this is the same for every user on that particular computer.
And when I checked the security settings I found that about 10 different accounts were saved and accessible with website username and password.
So of course the shared space Firefox is bad, but you still shouldn't save you password on a public computer :S
PS: If anyone needs a webmail account or an account for the german university network contact me :P4 -
Seems like my heavy Desktop-PC became portable for a x24 download-speed 😂
*80 GB for GTA V Steam-Version are worth it...4 -
John Cena : You can't see me !
A frustrated coder : No problem , I'll Java you. I'll Java you until I make sure you are portable , WWE-oriented and ofc .. visible . Say hi to Nikki . -
I agree with many people on here that Front-End web development/design isn't what it used to be.
Things used to be simple: a static page. Then we decoupled design from description and we introduced CSS; nice, clean separation, more manageable - everything looks nice up to this point.
Introduce dynamic pages, introduce JavaScript. We can now change the DOM and we can make interactive, neat little webpages; cool, the web is still fun.
Years later, we start throwing backend concepts into the web and bloating it with logic because we want so much for the web to be portable and emulate the backend. This is where it starts to get ugly: come ASP, come single pages, partial pages, templates,.. The front-end now talks to a backend, okay. We start decoupling things and we let the logic be handled by the backend - fair enough.
Even later, we start decoupling the edge processes (website setup, file management, etc.) and then we introduce ugly JavaScript tools to do it. Then we introduce convoluted frameworks (Angular,..). Sometimes we find ourselves debugging the tools themselves (grunt, gulp, mapping tools,..) rather than focusing on the development itself (as per ITIL guidelines; focus on value), no matter how promising today's frameworks claim to be ("You get to focus on your business code"; yeah right, in practice it has turned out differently for me. More like "I get to focus on wasting copious amounts of time trying to figure out your tangled web").
Everything has now turned into an unfriendly, tangled web (no pun intended).
I miss the old days when creating things for the Web used to be fun, exciting and simple and it would invigorate passion, not hate.
<my cents="2"></my>3 -
"Bu...bu..but JAVA SWING and FX are PORTABLE!"
And electrolytes are what plants crave.
I swear half the people I argue with are dinks.
IF YOU HAVE PEOPLE YOU ARE RESPONSIBLE FOR YOU HAVE TO DO WORK PEOPLE WILL HIRE YOU FOR.
Under job listings for javafx: 2 listings within 200 miles of me.
Under job listings for C#/WPF: dozens and dozens of jobs.
Portability doesn't matter if you're broke.
My stomach owes no allegiance to "high fallutin" concepts such as openness, avoiding vendor lock in, or the high ideals of platform independence.
I'll take the microsoft gulag if it pays my bills.
I don't know whats so hard to grasp about this. Some people are completely divorced from reality.
Edit: Hello to all my peeps who I haven't talked with in a while. I hope everything is going swimmingly in your lives. May your beer forever be paid for by your employer and your code bug free!5 -
[Hardware geeks, microcontroller geeks, please come]
Yet another Hacktoberfest tshirt...
Gotcha? (I bet you know who I am)
Just kidding. Just a random project idea I am not sure if it is possible to make from scratch.
It is essentially a usb external storage
About 32gb
And has a lcd that shows available storage space
And some buttons to play snake. (Yup)
Is it possible?
What should I expect when creating from scratch? (Microcontroller, c language, interfaces, etc)13 -
Hey, I need ideas. Keywords: DIY, IT cabinet, cooling. I hope I'll catch your eye :)
So I'm doing my apartment renovation. Complete renovation, 100% everything is remade. Soviets did a lot wrongs but one thing they did I like - storage compartments below ceiling (like double ceiling.. does it have a name in English? I often see them in garages). So I tore down the old compartment and created a bigger new one. I've moved some of my IT devices up there: router, switch, raspberry, etc. Now... it's okay while it's autumn-winter, it's bearable up there. I'm worried temperatures might get very high during summer.
Compartment is not that big, smth 1m x 2 m x 0.5 m.
Any ideas for cooling? I could set up a vent fan to circulate air but it's hardly a cooling. Also not very effective. A/C is not an option as the compartment is too far away from outter walls. Also A/C might be somewhat overkill :) 5 minutes ago I've remembered I had an in-car portable fridge-like thing that could keep drinks decently cooled during summer. I'm wondering whether it would work? Any ideas where could I get this cooling mechanism (what to even google for? :) )?
Is there anything better in the market? DIY? I'm not willing to spend a fortune for this idea (one more reason A/C is an overkill)2 -
Ugh power's out.
Luckily it's pretty warm out so we're not suffering. I'd normally have a fire going but my fireplace is out of order.
I hauled in my portable generator in the hopes that if I was well prepared the power would come back on and it would have been wasted effort but I may end up running it later to cool down the refrigerator and maybe charge a few batteries.
Hopefully I have power by morning or I'll have a hard time getting our services deployed...4 -
This always gets me:
Developers complaining that their 4 year old / cheap ass computer is slow.
Get. A. New. One.
It's not that hard.
Here, let me do one for you:
https://computeruniverse.net/en/...
I just went to a site that delivers across Europe, and selected a cheap laptop with a decent CPU and SSD. Short on RAM, sure, and without a Windows License. But you can buy RAM for an additional 50$, and that brings you to a total of 550€, delivery included. And it will WORK. And it will be fast.
It's too expensive?
No, not exactly. Wherever you are in the world, if you can code decently, good enough to have the right to complain about development tools, you are eligible to at least 10$ per hour income as a freelancer across the globe. I've had such opportunities offered to me by many organizations, especially non-profit ones that need cheap employees. I actually was offered more but let's stick to 10$ per hour.
So that's 1600$ per month. Enough to buy 3 such laptops. Oh, taxes, I forgot. So you get 2 laptops. Wait! You need food and everything else. Well if you're in a country where that offer actually makes sense, then it's likely that you can live off of 400$ per month quite well. Maybe 800$ if you need to pay rent.
So that's roughly 1 month of work for a laptop that will make you not waste time on waiting for stuff.
Sweet! 1 Month! What does it get me?
Well assuming that you have no laptop, it gets you A JOB that pays you 1600$ per month.
But if you DO have a laptop, you can sell it for cheap, and benefit from the following:
1. Boot-up time from 30-60 seconds to 10 seconds.
2. Installing software - from 1 minute to 10 seconds.
3. Opening a browser - from 10 seconds to 1 second.
4. Opening an advanced text editor (Atom, VS.Code) - from 10 seconds to 1 second.
5. Searching for a file on your entire hard drive - from 1 hour to 2 minutes.
....
You get the point. Waiting is reduced by several times.
So how much do you really wait when coding?
Well are you compiling? Are you opening a new project and the IDE needs to re-index the files? Are you opening programs like a terminal emulator, browser and such? Are you using virtual machines for dev environments?
Well all of these processes become several times faster. Depending on how often you do it, you'll be saving yourself from 1 hour per day to upto 4 hours per day (my case, where a HDD would be just out of the question).
How much is that time worth? At least 10$ per day. If you're working for 20 days per month, 240 days per year, that's a total of 2400$. And for the life time of that crappy laptop of 2 years, that's 4800$ saved. And that's with hugely conservative numbers. Nobody pays 10$ per hour any more, except if you've just started in the industry. I know because I've been there.
Please, for all that's sacred to you, justify right here, right now, HOW THE FUCK can you not afford to get that 8GB of RAM, that cheap ass SSD for 100$, or even a brand new laptop (hey! it's even portable and has FHD graphics on it!) for 550$.
That's why every time I hear someone who is a professional developer complain that they don't have money for a decent machine, I have to ask: why the fuck are you wasting yours and everyone else's time?!10 -
I'm really not sure. When I was 7-8 years old, I liked to view source in IE, then I somehow managed to use Javascript in the browser. First only some dumb opening of windows. And I liked Batch, so I made some files for copying, backup and stuff.
Then I got to PHP during the years from some online tutorial about making dynamic websites. My website was more static than stone, but yeah, I did page loading with PHP! Awful experience anyway, because I had to install Xampp, get it work and other stuff. 11 years old or so. (and I used Xampp only as a fileserver between laptop and desktop later, because.. PHP4... just no.)
As 12 years old or so I experienced my first World of Warcraft (vanilla) on a custom server in an internet cafe and I thought it's a singleplayer game. When I found out that no, I googled how to make my own server (hated multiplayer back then and loved good games with huge storylines). Failed miserably with ManGOS, got something to work with ArcEMU. There I learned some C++ basic stuff, which I hoped would helped me to fix some bugs. When I opened the code I was like: "Suuure." and left it like that. I learned what a MySQL database is, broke it like four times when I forgot WHERE and still rather played with websites i.e. html, css, js and optionally php when I wanted to repair a webpage for the server. With a friend we managed to get the server work via Hamachi, was fun, the server died too soon. Then I got ManGOS to work, but there wasn't really any interest to make a server anymore, just singleplayer for the lore. (big warcraft fan, don't kick me :D )
I think it was when I was 13y.o. I went to Delphi/Pascal course, which I liked a lot from the beginning, even managed to use my code on old Knoppix via Lazarus(Pascal). At this age I really liked thoae Flash games which were still common to see everywhere. So I downloaded .swfs, opened and tried to understand it. Managed to pull some stuff from it and rewrite in Pascal. Nope, never again that crap.
About the same time I got to Flash files I discovered Java. It was kind of popular back then, so I thought let's give it a try. I liked Flash more. Seriously. I've never seen so much repetitiveness and stupid styling of a code. I had either IDE for compiling C++ or Pascal or notepad! You think I wanted my code kicked all over the place in multiple folders and files? No.
So back to Pascal. I made some apps for my old hobby, was quite satisfied with the result (quiz like app), but it still wasn't the thing. And I really thought I'd like to study CS.
I started to love PHP because of phpBB forums I worked on as 15 y.o. I guess. At the same time I think there was an optional subject at school, again with Pascal. I hated the subject, teacher spoke some kind of gibberish I didn't really understand back then at all and now I find it only as a really stupid explanation of loops and strings.
So I started to hate Pascal subject, but not really the lang itself. Still I wanted something simpler and more portable. Then I got to Python as hm, 17y.o. I think and at the same time to C++ with DevC++. That was time when I was still deciding which lang to choose as my main one (still playing with website, database and js).
Then I decided that learning language from some teacher in a class seriously pisses me off and I don't want to experience it again. I choose Python, but still made some little scripts in C++, which is funny, because Python was considered only as a scripting lang back then.
I haven't really find a cross-platform framework for C++, which would: a) be easy to install b) not require VisualStudio PayForMe 20xy c) have nice license if I managed to make something nice and distribute it. I found Unity3D though, so I played with Blender for models, Audacity for music and C# for code. Only beautiful memories with Unity. I still haven't thought I'm a programmer back then.
For Python however I found Kivy and I was playing with it on a phone for about a year. Still I haven't really know what to do back then, so I thought... I like math, numbers, coding, but I want to avoid studying physics. Economics here I go!
Now I'm in my third year at Uni, should be writing thesis, study hard and what I do? Code like never before, contribute, work on a 3D tutorial and play with Blender. Still I don't really think about myself as a programmer, rather hobby-coder.
So, to answer the question: how did I learn to program? Bashing to shit until it behaved like I desired i.e. try-fail learning. I wouldn't choose a different path.2 -
Tech idea:
Scrambled/encrypted computer display, viewable through lenses that decrypt/unscramble it for one user only. Useful for public places, where someone might be trying to watch your screen.
Portable from machine to machine through the use of RFID, biometrics, or just a password.5 -
https://sciter.com/
Little known, *highly* underrated.
It's like electron, except stripped of the retardation and bloatware dependencies.
Like if the people who made Go decided to make a better, *lighter*, *more portable* electron.8 -
DevOps is when the IT forces you to download Citrix on your Mac to login to a Windows VM where portable Putty is copied to the Desktop and the password login to your requested headless Ubuntu VM is in a text file on the mounted network drive.7
-
Adobe's ExtendScript toolkit is abyssmal. I find posts from 2008 referring to issues that have not changed even in CC2017. Do you think they are small issues I'm bitching about? I'll list 2. First, the toolkit only colours "var, return, for, foreach" and a bit more keywords and the strings, of course you can set up color schemes but those are limited and not colouring stuff. The second issue is auto-complete, it rarely kicks in and suggestions have 0 connection to what are you doing and are always the same. It doesn't recognize anything of what are you doing.
Probably in 2008 you had to program with the manual near you like writing assembler, now there's an improvement in 2017, they got a window named object browser or something like that that actually is a summarised portable manual that could've been easily transformed in auto-complete suggestions.
Adobe writes about this and I quote: "a complete integrated development environment". Although I will not write much scripts in it, I need to write a big one and thought about extracting that object data and putting it in a more capable javascript editor. LO and Behold what I discovered, the ExtendScript Toolkit that's supposed to edit Extended javascript and save it as jsx or jsxbin is almost completely (it has some dlls too) built using around 100 jsx files. It's the equivalent of building a js IDE to edit js.
Sorry for formatting, I'm on mobile, I tried. -
Temporarily in an apartment while my landlord fixes a potentially disastrous foundation problem and my flooding room. Having my battle station on a folding table finally paid off, super portable. My laptop is on a union break here3
-
Today is a funny Monday: all the people at office forgot their keys at home (me included, also boss included) Until we can enter the office, I'm going to code at public library. At least I'm happy to carry portable Notepad++ in my pendrive!!
-
Which programming languages can create portable programs that can run on every operating system, device, etc. (and are actually intended for that)?
- Java
- Python
- I heard some things about C# maybe…?
- What else?38 -
Lets talk about our dream phone!
Here's what mine would be...
Screen: 1440p AMOLED highly saturated screen.
CPU: Snapdragon 845 (Or whatever is on top)
RAM: 4-6 GB
Storage: 16 GB internal OS reserved storage for the OS only but on the side would have 2 slots with the same locking mechanism as the sim tray to hold 2 hot swapable storage or battery modules.
OS: A modular version of stock android (By modular i mean a version of stock android that is designed to be installed on any device)
Speaker: Dual front facing stereo
Ports: 2 usb-c ports on the bottom.
Special features: A portable desktop experience that when plugged into a monitor would give a chromeOS style experience with the phone acting as a touchpad.7 -
So I am broke and can't buy a vds, I installed Termux on my android phone instead. Now I have a portable server that is capable to recieve calls and transmit sms for logs.
BUT, then I had to go to customer support due to case makes the phone get short circuited şn random times. Obviously they deleted all info and Samsung Cloud doesn't backup other users' data. (Termux emulates a terminal running on another user, which is not root by default)
Can anyone teach this teenager how to use tar properly? :D3 -
Why people uses Python for OS scripting? What’s the point in forcing me to download a proper interpreter to run a script when the same result can be achieved with a more portable and cleaner Bash/PowerShell script?!?!24
-
> builds portable NAS (useing a pi3) to have some Anime on the go
> connects to built-in wifi of NAS
> android be like: "this wifi has no internet, let me disconnrct for you"
...6 -
Steps to make a portable version of Minecraft Java Edition (for Windows):
1. Get a flash drive, preferably of a decent size (>500MB). I used a 128GB flash USB 3.
2. Download Java JRE (version 8).
3. Download MultiMC
4. Install Java, put destination on flash drive. example: x:/mc/java
5. Eject flash drive.
6. Uninstall JRE from computer. This will remove the installation entry in the computer. Since flash drive is ejected it cannot delete off drive.
7. Install multimc. example: x:/mc/multimc
8. Point multimc to JRE location on flash drive.
9. Edit the path of the JRE to be something like this: ../java/etc... This keeps it from trying to use the drive letter and use a relative path instead. I edited the multimc config file to do this. Can probably be done in program too. If you modify config file you will have to quit multimc.
10. Login with your minecraft account in multimc.
11. Download some version of minecraft or modpack.
12. Enjoy on any windows computer and take with you!8 -
Who the fuck thought putting a motherfucking portable AC that is almost half my weight and that has rotating wheels on the bottom onto a fucking flimsy piece of angled cardboard was a fucking good idea?!!
That fukken thing drove over my toe, ripped several layers of skin off and sliced into it at the same time... I just couldn't open my mouth for probably 5 minutes because I would just be shouting and swearing like crazy... There was a trail of blood behind me as I somehow made my way to a first aid kit... I'm considering going to the hospital to get it checked but I thankfully managed to stop the bleeding with bandages....
Fucking hell....4 -
So I tried to use Opera a few times at a time with different IP addresses(Opera has a VPN but normally only one connection) ...
I decided to copy the portable version
Via CMD to create a few Profiles(6 GB) and create a launch.bat
Now I have Opera running about 50 times and now my Computer starts making noise because I have a total of over 400 Processes running
CPU & RAM love it1 -
Dependency hell is the largest problem in Linux.
On Windows, I just download an executeable (.exe) file, and it just works like a charm! But Linux sometimes needs me to install dependencies.
At one point, I nearly broke my operating system while trying to solve dependencies. I noticed that some existing applications refused to start due to some GLIBC error gore. I thought to myself "that thing ain't gonna boot the next time", so I had to restore the /usr/lib/x86_64-linux-gnu/ folder from a backup.
And then there is a new level of lunacy called "conflicting dependencies". I never had such an error on Windows. But when I wanted to try out both vsftpd and proFTPd on Linux, I get this error, whereas on Windows, I simply download an .exe file and it WORKS! Even on Android OS, I simply install an APK file of Amaze File Manager or Primitive FTPd or both and it WORKS! Both in under a minute. But on Linux, I get this crap. Sure, Linux has many benefits, but if one can't simply install a program without encountering cryptic errors that take half a day to troubleshoot and could cause new whack-a-mole-style errors, Linux's poor market share is no surprise.
Someone asked "Why not create portable applications" on Unix/Linux StackExchange. Portable applications can not just be copied on flash drives and to other computers, but allow easily installing multiple versions on a system. A web developer might do so to test compatibility with older browsers. Here is an answer to that question:
> The major argument [for shared libraries] is security, that if there is a vulnerability in a commonly-used library, then only that library has to be updated […] you don't have to have 4 different versions of a library installed
I just want my software to work! Period. I don't mind having multiple versions of libraries, I simply want it to WORK! To hell with "good reasons" for why it doesn't, and then being surprised why Linux has a poor market share. Want to boost Linux market share? SOLVE THIS DAMN ISSUE!.
Understand that the average computer user wants stuff to work out of the box, like it does in Windows.52 -
Tried installing Antergos on an external 1TB SSD to give it a try after having checkout Mint, now my laptop won't boot from it anymore after having removed and reinserted the disk and it skips to Ubuntu's grub on my HDD or windows.
Ubuntu's grub does show antegros whenever the ssd is plugged in though, and then I get this error while trying to boot it. Also changing the boot order doesn't do much and it skips to the next thing on the list.
I'm probably going to overwrite antergos and try to use portable antergos on it, perhaps it wasn't made to hoot from a removable drive. Ubuntu and windows still work fine but ubuntu is on my hdd because the internal ssd is full of windows, and super slow.
So now I have a partitioned ssd that doesn't work and a grub entry that gives an error ugh :/ (and a slow ubuntu but that's not as bad)
Anyone else have any idea of what happened? I have definitely seen antergos work before packing up and removing the drive, so the installation was succesful.5 -
I'm considering to build a powerful, small/semi-portable mini-ITX PC. Just small box you can easily travel with, kinda like a laptop but a lot cheaper and without a screen, keyboard and battery - I can't really work on laptops anyway (ergonomics!). Stuffed with something like a 4400G when Renoir (mainstream Zen2) comes out, so lots of processing power. Add 32GB+ RAM and one or two SSDs.
I'd say the reason is that I might work from abroad (remotely) next year, but honestly, it just gives me an excuse to break my piggy bank!
What do you think?11 -
So, yesterday I made a post asking for a recommendation on what to give my boyfriend for Valentine’s Day (He is a programmer and starting to learn how to develop video games) I gave him a Wacom, two online courses for Unity in Udemy, and, a portable coffee maker (since he previously complaint about the coffee in his office) What do you guys think? 😎4
-
I mentioned in a previous rant that one of my favorite games of all times (CrossCode) was written in HTML5 and Javascript. I have been playing the game again (this time on the ps5) and continue to be surprised at the monumental force of the game. So, I decided to take a look at the "original" game engine in which the game is built. ImpactJS. So, apparently (and I have not looked at the inner workings of the code) the creator had a module system in which files could be imported before module imports was a thing in Javascript, not only that but it had a class system mimic in place to deal with things, with inheritance and everything in between. Fucking fascinating. Now, one can actually see the dev logs of a new project that Radical Fish is working on, their primary target remains, but now they seem to be using TypeScript with a plethora of other things in order to build the game, they essentially took the game engine and re-modified the fuck out of it to come with something different. And it fucking worked, beautifully.
From my other findings, it seems that they had to jump through some hoops to get the games to run on consoles, specially the Nintendo Switch which we all know it is a bitch to port into, but apparently the underlying tech is built on Haxe using something known as Kha, a portable multimedia lib.
This is interesting to me as someone that always admired game development, and I sometimes wonder if they would just be better served using something like C# as a target platform with something that they could mold up from the ground up like MonoGame.
I am probably not going to work tomorrow in order to stay in playing the game all day lmao.
Game devs are amazing really. And this game is a jewel, try out the demo online if you have not yet and see what you think:
http://www.cross-code.com/en/home3 -
My 2tb portable external hard disk is messed up :( . The disk isn't spinning. It is under warranty but I am so depressed.4
-
FUCK FUCK FUCK Windows share feature
just fuck it !
and fuck the people who made it!!!44
ok calm mode on
I had to copy a 30 gb file from my computer to my sister's one, and since the largest pendrive I have is 8gb, and I'm just lazy to split the file into parts, I thought it would be a great idea to copy it over LAN. (tldr: it's not)
First attempt:
Right click on file and share it with everyone = fail
Enable network discovery in sharing settings = still fail
Ohh, right, I just forgot it, disable firewall, it usually solves everything = still fail (2)
Google the problem and try every possible solution = still fking fail
Second attempt:
Ok, when last time I had the same problem, I made a homegroup and it worked.
Let's enable it on my Win10 = it's missing
After some googling: "We removed the home group feature from Windows 10, because why not and we would be fired if the change log was empty."
Ok, fuck it.
Third attempt:
Download a portable FTP server.
Enable it.
Create an account.
It works.8 -
PlantUML is awesome! It's versatile, code based (e.g. version control is simple) and the results are great and as portable as you need.
http://plantuml.com/
https://github.com/plantuml/...3 -
When the CTO/CEO of your "startup" is always AFK and it takes weeks to get anything approved by them (or even secure a meeting with them) and they have almost-exclusive access to production and the admin account for all third party services.
Want to create a new messaging channel? Too bad! What about a new repository for that cool idea you had, or that new microservice you're expected to build. Expect to be blocked for at least a week.
When they also hold themselves solely responsible for security and operations, they've built their own proprietary framework that handles all the authentication, database models and microservice communications.
Speaking of which, there's more than six microservices per developer!
Oh there's a bug or limitation in the framework? Too bad. It's a black box that nobody else in the company can touch. Good luck with the two week lead time on getting anything changed there. Oh and there's no dedicated issue tracker. Have you heard of email?
When the systems and processes in place were designed for "consistency" and "scalability" in mind you can be certain that everything is consistently broken at scale. Each microservice offers:
1. Anemic & non-idempotent CRUD APIs (Can't believe it's not a Database Table™) because the consumer should do all the work.
2. Race Conditions, because transactions are "not portable" (but not to worry, all the code is written as if it were running single threaded on a single machine).
3. Fault Intolerance, just a single failure in a chain of layered microservice calls will leave the requested operation in a partially applied and corrupted state. Ger ready for manual intervention.
4. Completely Redundant Documentation, our web documentation is automatically generated and is always of the form //[FieldName] of the [ObjectName].
5. Happy Path Support, only the intended use cases and fields work, we added a bunch of others because YouAreGoingToNeedIt™ but it won't work when you do need it. The only record of this happy path is the code itself.
Consider this, you're been building a new microservice, you've carefully followed all the unwritten highly specific technical implementation standards enforced by the CTO/CEO (that your aware of). You've decided to write some unit tests, well um.. didn't you know? There's nothing scalable and consistent about running the system locally! That's not built-in to the framework. So just use curl to test your service whilst it is deployed or connected to the development environment. Then you can open a PR and once it has been approved it will be included in the next full deployment (at least a week later).
Most new 'services' feel like the are about one to five days of writing straightforward code followed by weeks to months of integration hell, testing and blocked dependencies.
When confronted/advised about these issues the response from the CTO/CEO
varies:
(A) "yes but it's an edge case, the cloud is highly available and reliable, our software doesn't crash frequently".
(B) "yes, that's why I'm thinking about adding [idempotency] to the framework to address that when I'm not so busy" two weeks go by...
(C) "yes, but we are still doing better than all of our competitors".
(D) "oh, but you can just [highly specific sequence of undocumented steps, that probably won't work when you try it].
(E) "yes, let's setup a meeting to go through this in more detail" *doesn't show up to the meeting*.
(F) "oh, but our customers are really happy with our level of [Documentation]".
Sometimes it can feel like a bit of a cult, as all of the project managers (and some of the developers) see the CTO/CEO as a sort of 'programming god' because they are never blocked on anything they work on, they're able to bypass all the limitations and obstacles they've placed in front of the 'ordinary' developers.
There's been several instances where the CTO/CEO will suddenly make widespread changes to the codebase (to enforce some 'standard') without having to go through the same review process as everybody else, these changes will usually break something like the automatic build process or something in the dev environment and its up to the developers to pick up the pieces. I think developers find it intimidating to identify issues in the CTO/CEO's code because it's implicitly defined due to their status as the "gold standard".
It's certainly frustrating but I hope this story serves as a bit of a foil to those who wish they had a more technical CTO/CEO in their organisation. Does anybody else have a similar experience or is this situation an absolute one of a kind?2 -
Opinions on the current gen iPad mini/air (apart from "reeeee Apple")? iPad 4 was a brilliant device, loved it, looking for a similar thing. Can't find any decent Android tablet and honestly, not sure if I want Android at all.
I basically want a companion device with superb battery life, a larger screen than my phone, and good and useful apps (used Garageband, Magellan, and Voice Synth quite a bit on the old iPad). Will be going to college in a few months so something useful for carrying around too that's more portable than my laptop.
Considered a Celeron laptop, but it's basically useless for anything but text editing and basic browsing.9 -
Do you guys take your main laptop with you on vacation / travel abroad?
I can't afford to lose my laptop. Every work is saved in it. Some important files have been backed up to cloud. But that's it.
Can't risk getting it damaged or stolen or taken in custody when abroad.
But, if something in my server fucks up when I'm abroad, i want to be able attend it and get it addressed.
I'm thinking of buying a low cost portable laptop to use incase an emergency situation happens.
How do you guys manage such situation?8 -
Today was a rather funny day in school. School starts for me at 13:40 because our timetable planners are so qualified for this job.
First 2hrs: Physics, fine its good
Second 2hrs: Discrete Maths (however you want to call it)
Goal is to write a text (30 pages, 10, etc all those standard settings). Teacher prefers Latex over word, but we can do it in word if we want. We could choose a topic, I took primes because it looked the best. I decided to use latex because I'm a fetishist and it simply looks better in the end. A classmate was arguing with our teacher about ides: texmaker vs kile. And I'm like "I use vim". So my teacher is like kk
Later that class, when we actually started doing stuff I started the ssh session to my server because I don't know any good c++ compilers for win and I'm too lazy to get a portable version of cygwin (or whatever its called). So in my server I open vim and start coding my tool for Fermat Primes (Fermatsche Primzahlen, too lazy to actually translate). And this teacher seriously is the best teacher I ever met in my life. Usually teachers are like " dude r u hakin' the school server?" and I'm like bruh its just vim and I'm doing it this way because I cannot code on your PC coz I can't install a compiler. And this teacher is like "oh hey you actually use vi, all cool kids used it in 2000. I first though u were kidding and stuff..." And we continued talking about more of stuff like that and I have to say that this is the first teacher that actually understands me. Phew
Now I'm going to continue writing my 30 pages piece of trash latex doc and hope it'll end good1 -
Is it better to buy a cheap laptop and work by remote connecting to a powerful PC, or to just buy a powerful laptop?
context:
I like playing video games, I also sometimes program using Visual Studio + Unity which is also pretty heavy. Because of this I know I need a powerful machine.
my thoughts:
Now I could buy a "gaming" laptop, It's portable (useful for LAN-parties) but it's expensive and doesn't last as long as a PC.
I could also buy a powerful PC with a cheap used laptop, I could do most work on this laptop and if I need to do something more powerful I could remote to my PC.
But this would require internet at all times and i'm worried that working over remote might not be the smoothest experience.19 -
One thing I hate about laptops is touchpads. Another thing I hate about laptops is the point stick and its buttons. Fortunately, these can both be disabled, but Dell's solution for this has some usability issues. What can't be disabled though is the third thing I hate about laptops: The keyboard. Sure, it is made small to give the laptop nifty and portable outer dimensions. Yet, there is like an inch border used for nothing on each side of the keyboard, and if you have to carry along an external keyboard how portable is that?10
-
Why do I make everything so expensive. I'm not a hardcore enthusiast, but at the same time I wont settle for "mainstream" and so I do weird unique things that end up costing more than they should
My mech keyboards are all DIY, I've spent $150-200 on 3 different occasions for 3 different keyboards. I think I'm settling down, but boy that was rough on my wallet.
Now I'm working on a custom workstation build, but I can't just use any normal tower because I ain't no normie. I want it to be SFF/portable so I'm planning on spending $250 just on the shoebox case (DAN A4-SFX). That's probably the most expensive part, besides maybe the GPU. Current plan is R7 1700 or 2700 with 16GB, RX 580 8GB, and 1TB NVMe, around USD$1200 total maybe9 -
so I started a side project a while ago.
the only thing it could do was to create some files with desired names and extensions. so this was basically a pretty simple editor.
I left this project with no future plans for a month or so until I started working on it again this week. I added comments to the editor, a console user interface.
the ui isn't futuristic. the program runs in the console. it just lists all the files and folders where the program is currently located in. in the beginning it could take user input and that input was the location where the files created in the editor would be saved. then I thought: it would be more interesting if I created a folder in which I saved the files from the editor. so I did this thing.
then I thought, again: hey, this console is pretty boring and stuff. why should I add some special commands? and so I did.
now you can create an empty folder, before you created a folder and saved at the same time the files created in the editor. now you can open another folder in which you can do the same stuff as before. you can get the current location of the folder you are currently in, so you don't get lost in your fancy computer. you can delete a folder completely, set color, reset color.
but one thing that I lost almost ONE FREAKING HOUR ON IT TO MAKE THE USER EXPERIENCE BETTER was the following: when creating a folder, either empty or with the files from the editor, the program automatically opens the folder, not in the console(hey, I didn't thought of that) but in the file explorer from the os. now it only works for windows and windows explorer because I used system(const char*). I know it's not portable or efficient but I just wanted things to work, I will optimise it later.
the thing that made me lose that one hour debugging was figuring out how to open that file.
ok, so I used windows api with GetCurrentDirectory, I knew how to use system, I knew how to form the path that would match up with the folder, I almost knew how to open the folder with system().
the problem was that I had the path complete, but if the folder had white spaces system() wouldn't recognise the freaking command!
so the string with the path would also contain the command used in system() and I would just .c_str() the string so it could work. as an example my wrong way to make the path was this:
"start C:\\path"
can you figure out what is the problem?
you don't?
it's just so trivial.
how cannot you figure it out?
of course you NEED to put "explorer" between the start command and the actual path!
pffft, you idiot! so easy to figure it out.
so yeah, the right way to open a folder is like this:
"start explorer C:\\path to heLL!!"
p.s.: I still don't understand why putting explorer works and without it doesn't. without explorer it just just says that path with the first word before the white space doesn't exist. -
10 Signs You Picked the Wrong ISP !!
10. Their company logo: two tin cans and a length of string.
9. You check out their address, and it's a phone booth containing a Compaq portable and an acoustic coupler.
8. Their chief technical officer lives in a 10-foot-by-7-foot shack in the woods.
7. Their proud boast: "We've been on the Internet since it was CB radio."
6. Their promo materials use the words "information" and "superhighway" in the same sentence.
5. You order an SLIP/PPP connection, e-mail, and 2MB of server space for your personal Web site, and the voice on the other end of the phone asks, "Would you like fries with that?"
4. "As seen in Better Business Bureau special reports."
3. "Access speeds up to 9,600 bps in most areas."
2. They hawk both domain names and Rolexes on street corners.
1. They charge by the word.2 -
Couldn't be arsed with all the conditional compilation that angelscript required, so I dumped right back to good ol' lua for now.
Got lua in, vm started, loading strings and pushing/popping the stack.
Got SDL actually drawing as intended.
I don't know even half of what I'm doing.
Apparently header files that end in ".hpp" are specific to c++, while .h are for c headers.
I like the new SDL2 though, little bit different than SDL1. Not a lot of tutorials cover the difference, but I could kinda suss out from the documentation where I needed to adapt, even though I'm still pretty loose on the library, on the docs, and on c++ itself.
Still just a learning project.
Also, I'm continually surprised there isn't a portable, platform independent tool or little language just for replacing all pseudo-languages out there like .bat and .sh, and .zsh
Maybe even just a tool that standardizes it all, then takes config files that map the new standard to system dependant commands, so you can download the damn thing, configure the relevant environment variables, drop in the platform dependent configuration (or your browser or package tool detects what platform you are on and chooses the relevant package/download for your platform), write a console script and the tool automatically translates, and emits the system-relevant commands to that platform's console (so you don't even need much platform-specific code to do things like file access). -
I have a freaking cool, useless idea, but i dunno if it will actually work
1. Put a usim in the slot
2. Reads information and connects with ISP
3. Turn on mobile data
4. Turn on hotspot
5. And useas a portable wifi
Don't ask me why you don't bring my phone, there are reasons
The os will be no screen only physical buttons with stripped down aosp
Can it work? Or in other words, is it possible?11 -
Fuck amazon
Bought a 1080p portable monitor
They sent a 768p screen...
What even is that resolution
Just Wtf
And if you put it up on its side like advertised you can't see shit if if you look at an angle
Also the fucking cable doesn't fit right and disconnects if you blow at it
Piece of shit - last time I bought on Amazonundefined amazon fuck fuck amazon 1080p piece of shit 768p wtf fuck you give me my money back piece of crap junk3 -
It needs to be outright illegal for laptops to have fewer than four USB ports.
If the purpose of law is to improve the quality of life, why not outlaw the time-consuming annoyance of laptops with few USB ports?
The purpose of laptops is portable computing. Depending on a USB hub makes it less portable.
If it was legally mandatory for laptops to have at least four USB ports, there would be no more competitive disadvantage for laptop vendors sacrificing unimportant slimness for important practicality.
And to the very few people who consider slim design more important than USB ports and who are going to whine online about the extra 3 millimetres of thickness: Sorry, life is unfair. Your preferences don't matter. Practicality is the purpose of computers. You are the reason laptops are ruined for the rest of us. Get lost.29 -
Microsoft stuff.
Everything they are promoting and developing have problems with c++, either messy implementations, non standard extensions, weird behaviours, passive aggressive stance toward official iso standard, broken api, lack of components(libs) or non portable ones, shitloads of errors traced back to undescribed, undocumented anywhere dlls, and shitload of other problems -
Very excited, got my raspberry pi zero working over usb finally, gotta admit it took me a while to figure it out that the ifconfig IP assigned to the interface established isn't actually the raspberry pi's (seriously you don't want to see how far the visited google links go for all variations of "how to setup the otg ssh connection"), that only came to me once I was able to find the mini-hdmi to hdmi cable, before that it was a pure shitfest:
First I just tried all sort of configs, but the raspberry pi kept denying the ssh connection, slammed the microsd into my bigger Pi, even multiple times ran raspi-config, forced ssh to start in all possible ways, nothing.
Then I tried to use the TV-output on it together with my old small portable tv to maybe see some error-logs or the ssh not starting on the zero for whatever reason, even flashed a 2016 image thinking it is stretchs fault for not working, but then my fucking soldering iron cable disappeared, tried to quickly create my own, but that failed cause the 3.5mm connector it uses is different from the ones I had available, so I macgyvered a sketchy ass lose connection with male headers sticking through from the bottom and being sticked against the board with a female end on top, but the TV output wouldn't work, even with proper config options, so I gave up.
Some days later I've found the cable, connected it and realized the fucking IP it gets assigned is totally different from the interface, well fuck my life.
Atleast now I can make a clean image of that microSD and setup the portable laravel development raspi as I wanted, can't wait to try it once I get more time to fully set it up - btw even the internet bridge worked right out of the box, so I can easily use my laptops internet connection on the zero.9 -
In the early 2010s, at select locations, Nokia Oro phone was offered bundled with a portable IPL hair removal device. Its enclosure was made entirely of leather, layers upon layers of compacted leather of different kinds. It gave you access to Queer Mode™ — engage it and have sex with any of your thoughts. Your mind was your oyster, but it was in fact being turned into a two-bedroom all-white apartment designed by Karim Rashid.
As the tech was getting older, the only way to source capacitors was syncing your Alienware table clock with the root node using a non-laptop that had shapeshifting black goo for keyboard.
Small puppy that ran Windows 8 was always smothered in shit. The white non-kitten ran Nokia’s version of QNX.9 -
What do you call your laptop computer?
1)Lappy
2)Laptop
3)Computer
4)PC/Mac
or it has a name, something like
"Portable Development Center, Delta One"12 -
I don't get it, some stations aren't allowed "internet access" while others are and the reasoning being they don't want people to "abuse the internet" ...
Solutions
access portable Firefox from a USB
telnet
putty/ssh
Fuck you and your ridiculous concerns about abuse, where there's a will, there's a way.
I don't bust my ass to watch the lead IT guy talk all day and make the rounds to listen to his bullshit concerns. Get your shit together guy. -
Looking to get a more portable laptop 13" or 14" does anyone have any suggestions? Will be used for VS/JetBrains/Android Studio.11
-
Anybody has a good recommendation for a laptop for mostly full stack web development?
I think I should look for following features:
- minimum 16G ram
- Althought is 2021, just in case, I add: usb C to connect to a dock with two screens and SSD
- I'll run several docker containers at once
- time to time I make non-exhaustive work on c++
- good screen dpi
- I use linux
- portable. No need for the lighter in the market but easy to carry in a bag. Good battery.
- not too expensive
I can save on:
- I don't need the latest processor, just a good one
- I'm not a gamer. I not need the latest GPU. However, some GPU is appreciated. I don't need colorful leds neither.
Do you have any recommendations on laptops and/or features to search for/avoid?8 -
Maybe I should get a keychain rubber duck or something... I'm programming at work, at school, at dorm, at home. Might be good to have a portable solution.3
-
"I'll make a library out of this part of code, so it'll be portable! But another day, I have to make the whole thing work first"
*1 month later*
"Alright, why are there 4 different versions of this class lying around?" -
What is the difference between battery and rated capacity. I tried googling and theres a very technically paper with the definitions...
But what does it mean in terms of using it to charge my phone.
#Aliexpress US $6.15 72%OFF | Essager 10000mAh Power Bank Slim USB 10000 mAh Powerbank Portable External Battery Charger Pack For Xiaomi Mi 3 iPhone PoverBank
https://a.aliexpress.com/_sZXhqk8 -
I need your help please !
I'm about to buy a netbook to use it as a portable dev environment ; it should be able to run Eclipse, some code editor, GCC, and a virtual machine.
I've found a Lenovo E135 with 8GB RAM for only 100€ but the main problem is that his processor is an AMD E2-2000 (only 1,75GHz, and AMD)... Will it be enough to do what i want ?
I've also found a Lenovo Thinkpad x230 with a Core i5 (2,6 GHz) and 4 GB RAM for only 170€ but the problem there is the battery (the core i5 consume much more power)
Which one should i buy ? (Knowing that i have only 100€ but i could manage to get the missing 70€ for the x230)
Thanks for your help !10 -
As regular as it is, it's pretty hard to be a programmer and a pc gamer at the same time... You need a good easily portable laptop yet you want a powerful rig so you get a gaming laptop and curse yourself everytime you need to get somewhere with it cause it's fairly heavy and also curse yourself when you paid so much yet you can't play on that much of a high config...
The only good alternative is if you're rich enough to get a slim laptop and a powerful desktop at once10 -
fellow ranters, i need your advice!
i'm searching for an ultra portable laptop:
- 11" screen
- full HD resolution
it will run Linux (Kali or other debian based distro) and i need that just to do some work while i'm on the go. I don't need huge performance, so the budget is quite limited (~300 EUR / 350 USD).
is the Thinkpad x220/x230 still the best choice (even if the screen resolution is not full HD)? any other suggestion?
thanks!8 -
I think taking your phone to the bathroom with you is socially acceptible, but may be the limits to what is. I love the oculus go portable vr goggles, but if I was caught taking those into the bathroom at work my name would be added to a list.1
-
[Question]
What type of amplifier circuit would I need to power a 60w 8ohm speaker or can you recommend any prebuilt amplifier boards ?
[TLDR;]
I spotted the below stuff while cleaning out my junk cupboard and thought it might be a fun side project to convert them into a portable bluetooth speaker since the earphones are shit anyway and I've always wanted to learn more about amplifiers.
The only question remaining is how to amplify the headphone output signal enough to power the speaker. I plan on either using cells from old laptop batteries or a motorbike battery as a power supply so input voltage would be roughly 10-12v.
The speaker is from a set I salvaged from an old 80's hifi and has excellent sound quality, would mounting the components inside it have a large negative effect on it's sound?
Also although I would prefer to make my own amplifier board as a learning experience the goal is to have a portable speaker with good sound quality... is this something I'm likely to get from my first attempt at an amplifier or should I rather get a ready made board?9 -
Are there some good external portable macbook pro monitors that have the vertical/portrait functionality? Also, it should be rechargeable and should not get power from my laptop when there's still a charge. (I use MBP 15" 2018 model)
We are agile at work (all use laptops, no permanent seats) and I need an extra portale monitor because there are no provided external monitors to use.
I was thinking of buying and iPad pro as a portable external monitor via catalina sidecar but it is laggy somehow and very expensive. Thanks! 🙂18 -
Question for the electrically minded.
I have a laptop with a 19v input.
I have a portable UPC with 2 voltage options in the range of this, I can undervolt at 16v (the laptop battery voltage) which works with a small firmware correction to ignore a board sensor, the other option is to slightly overvolt to 19.5v which I assume the laptop could handle through its input regulation.
Can anyone confirm if a .5v variance at charger is within tolerance? It would be an overvolt of 2.5%5 -
!rant
I'm in the lookout for a new laptop for my dev work and occasional gaming (Dota 2 only), needs to have at least 16GB, 256 SSD, decent battery life and portable.
Which laptop do own?
Which do you recommend?8 -
It baffles me that although all they're doing is shuffling numbers around based on abstract descriptions of the target architecture and platform-specific behavior is completely out of the question, compilers are some of the least portable programs in active development.
-
So I was wondering if any of you know if any good ways to inject additional functionality into a function in CPP. My use case is injecting a counter into an OpenGL draw function to see how many times per frame it's called. I know I can do this using assembly Inca more hacky manner as you might do for cheats in games(code caves), but I'm more interested in adding is for debugging/statistics for the game engine I'm working on. Basically im looking for a portable stable way of doing it that when I compile as a debug build, the code gets added to various functions, and when I compile under release, it doesn't.
Example:
glDraw();
Would call
glDraw() {
drawCount++; //some debug stuff
glDraw(); //call the real one internally
}
I should mention with code caves you can do this by saving the original address of the function, patching the vTable to point to your new function that has the same parameters etc, then all calls to that function are redirected to yours instead and then you simply call the original function with the address of the function you originally saved. That said, I'm not sure how to access vTable, etc the "normal" way...2 -
Nothing much to ready today, keep scrolling..
I just asked you to keep scrolling, I am using this space to think out loud...
Damn you bloody rebel.. whatever..
Finally after a rough week, festivals, interviews, work stress, and pending tasks, I got a free weekend for myself to be with myself.
I managed to do bare minimum at work. My new line manager isn't quite pleased with how team and I am functioning but whatever.
On Fridays, I usually end the day early and start with personal tasks. I managed to finish some long pending activities.
Today, I was able to do a deep cleaning of digital housekeeping. Sorted some clashes with parents. manage to de-stress and relax my stiff neck muscles.
Apart from that I guess, I am all prepared to interview and get hired for a company on foreign land. I am confident that I can relocate to EU.
And for now, I am actively pursuing two of my hobbies, Music and Finances. I love managing my finances and learning more about technical aspects of audio and listening to more and more music.
I feel happier, relaxed, and calm. Having things under control is such a wonderful feeling.
And I am slowly building a framework to earn, manage, invest, and grow my finances. It's turning out really well. I have setup the base infrastructure.
For music, I have figured the fundamentals and now I will go out buy myself an DAC/AMP to build a portable rig.
This shit is so awesome and makes me happy. I am able to socialise at the end of each day so that keeps me going during the lock-down phase.
I have figured the top key and important things to do at work for my profile and I actually enjoy those.
1. Product discovery - talking to users/customers and finding their pain areas and opportunities to build the solution
2. Product vision/strategy - Dreaming on how the product would evolve and laying out a solid plan to materialise those dreams.
3. Roadmap and prioritisation - this should be self explanatory
4. Success metrics - I really want to get into data and I am getting opportunities to do so. This is super fun. This will help me analyse and show the impact of the what we are building and measuring it while making sure that LT recognises my and my teams' efforts.
I want to and I will excel these 4 keys skills of my profile and be more efficient at my job.
This will give me more time to pursue my hobbies (which will change over time and want to enjoy them the most while I am at them).
Guys, after a rough 2021, the end of the year seems promising with a lot of leaves and short vacation coming up.
Apart from all this, what is more important here is that I got the career and life clarity that I was struggling with for past few months.
For whoever has read till here, YOU ARE BLOODY AWESOME and thank you from the bottom of my heart for being there for me always.
I am grateful to be a part of this community and have awesome friends like you all who have been with me though my ups and downs since 2016.
LOVE YOU ALL :)3 -
!rant
Question...
I have a Windows 10 installation on my laptop...
A few weeks back my father bought an SSD for his Lenovo ThinkPad T500. Problem was - I couldn't install Windows on that laptop due to legacy BIOS (the T500 is old but gold). My solution was that I put the SSD into my eSATA portable HDD / SSD rack, and I installed Windows to the SSD on my laptop. It worked, but now, when I boot up my laptop it always asks which Windows do I want to boot up (only one Windows is present - the other throws an error). I switched the defaults, and now it boots up fine, but that choice really slows down my usually fast SSD boot (it has a 10 second timer before automatically chosing the default option).
How can I reconfigure it?
Or is it only possible by a clean install?4 -
So I have this habit of copying all my family pics and kids videos onto portable hard disks. Have a 500GB Western Digital since 2012 and another WD 1TB since 2016.
Had one portable HDD failure before that back in 2010, but that contained only old projects code {when I didn't know git} .
So any advice you guys have for me on managing backups of these life memories? I mean I don't trust cloud storage - Google Drive, DropBox etc. And don't want any 3rd party poking into my stuff. That's why these items go straight from Camera to HDD.
What should I do to prepare for another failure? And is there any kind of RAID available in the form of portable solution?
Is it a good idea to change HDD every 5 years or so?10 -
After trying to print colored text to the console using a portable Python 3 interpreter on Windows I came up with a "solution". I tried pretty much everything possible (I could think of): curses couldn't be loaded, ansi didn't work and installing libraries wasn't really an option, because it's not my device. Fuck portable interpreters and have fun with the "solution".
Def color_print(text, color):
text = text.replace("\n", "\\\" \\\"")
os.system ("powershell \"$host.ui.RawUi.ForegroundColor = \\\"" + color + "\\\"; echo \\\"" + test + "\\\"; $host.ui.RawUi.ForegroundColor = \\\"Gray\\\"")
It's slow, unreadable, only works for on Windows and requires powershell and is probably the worst piece of code I ever wrote, but it works 👍.2 -
because I lacked a portable storing solution (pockets weren't allowed), I couldn't find anything better than using my own skull as a storage box. It turned out it had way more room than expected. The brain itself is quite small, and the whole frontal lobe & the space around the brain is completely empty. Initially, opening the skull was scary and cumbersome, but the more you do it, the easier it gets. Once upon a time, when I tried to pop an acne on my forehead, the hole was revealed, and it led to the storage space beneath. I have no idea how it happened, but apparently the skin is too thin. The bone also looks much thicker from the inside. There were two wires — red and black — leading to a standard PC speaker every old computer had. I wasn't a cyborg, mind you, I merely put that speaker there for storage. The acne hole healed with those wires exposed, leaving a permanent mark due to the wire coloring pigment dissolving in my skin.
I used that storage space to hide the contents of some parcels I was processing back then. I was stealing things. Eventually, my coworker — Bruce Willis — confronted me, and I had to strangle him. My arm became very flexible, and I was able to wrap it around his neck several times during a chokehold. It didn't end well for both of us. -
!rant && advise
I have some expirience working as full stack developer, but focussed latly mainly on backend (php/java). However for one project, I need a desktop application and I was wondering, if you would recommend electron for it.
Pros:
- I could reuse some of the webapp stuff and cache it offline using web workers
- Styling done via HTML/CSS
- Portable between Linux/Windows/Mac
Cons:
- I haven't worked (much) with node js so far, but that shouldn't be a too big problem
What are the pros and cons from your point of view? Would you recommend electron? Why yes, why no? If no, what would you reccomend as alternative?
My knowledge so far:
Good: PHP/Java (without GUI)/CSS
Quite good: Javascript
Meh: Python (I can hack things together but wouldn't say I'm good with it...), C++8 -
https://devrant.com/rants/2388734/...
Opengenus talks about how his honesty bit him in his ass and I'd like to expound further on the topic.
You have to remember, honesty is rarely rewarded.
My motto is LLAMF, a powerful tool for success.
Like a buddhist mantra, I chant it every morning as I'm getting out of bed.
If you look around you'll see this wherever you turn your head. On the news? People lying like a mothafuka for their job. People selling something on tv? Billboard? internet? Lying like a mothafuka. People in fancy suits with fancy pieces of cloth tied around their neck to tell you who the master holding their dog leash is? "I did not kill that hooker", "We have to sign the law to know whats in it", "These ratfuck starving terrorhobos huddled inside a cave out in buttfuck nowhere, saudi arabia? They made a nuclear bomb!". Lying..like a mothafuka.
And all of them have careers, or jobs, or some cause, or principles they 'believe' in. Or nation they 'serve'. Or any other justification, any other *excuse*. But really thats all it is.
In this great big universe, you didn't exist for billions, possibly trillions of years, and now you do, for a brief span, and then afterward, you'll cease to exist (maybe, who knows what happens after death?), for more billions or trillions of years.
Put on that scale, no utterance out of your mouth *can* or *will* ever really truly matter. at all.
I say, go nuts for donuts.
Did you know I was almost a billionaire? TRUE STORY.
Did you know I once told a guy in a turtle neck sweater about this great new idea for portable phones. His name was steve jobs. TRUE STORY.
Did you know I cowrote a canticle for leibowitz? TRUE STORY.
Did you know I'm a mothafuking time traveler? TRUE STORY.
Napoleon said "Imagination Rules The World". Of course he also said a bunch of other things, mostly (all) in french. I don't speak french. But why live in ordinary reality when countless others do? Why not live in a world all your own making, and let people believe whatever the hell you tell them? Why not be the most interesting person in the room? Or the most obnoxious, but hey, at least no one can say you didn't try!
Lie to me. You know I love it when you do.
My favorite lie I tell to *myself*, every morning. Like zen. "I'm gonna do something great one day."
And it keeps me going, keeps me high.
Whats your favorite kinda lie?4 -
Need Recommendation : Reader.
Planning to start reading again after quite some time.
What's the simplest(cheapest) reader can I go for?
-Should not strain eyes.
-portable.
-Don't need any fancy feature (not even WIFI or market place)
-I do already have epubs of most books that I want to read.
-Should be able to bookmark
-while a built-in dictionary & light would be great, its not a necessity.
Dont want to get something higher end unless I get:
- Improved pdf experience.
- Hassle free way to read manga/comics. (mainly manga)7 -
My old laptop's body is all broken but its work fine. Thinking of converting it to a portable desktop, any sujjestions are welcome.4
-
This should sound like a no-brainer but I need some opinions. Is it worth it to use a pi-top instead of buying a laptop? For programming on the road, i'll just squeeze in a commit while traveling, ill just code instead of talk to my uncle in this reunion, quick commit while le gf is cooking, etc..., purposes? Are the disadvantages worth it enough for the advantages? I was hoping for an overall general programming companion including IoT.4
-
I wish I could invite the me of 3-4 years ago to my room and prove him wrong.
Basically, the me of 3-4 years ago thought: "What do I need a home PC for? I got a laptop."; hell, he always forgot to put the laptop with the plural 's', because understandably, for his study life, he took low-cost PCs that would only last like one year.
But my boy, laptops are cool and all, but have you ever experienced the complete comfort of a proper desktop? In addition to the bonuses of a home PC in terms of performance, it leaves a much better space for work than just a portable terminal in front of you and pretty up close to compose. The accessories didn't even cost me much. And it feels great to have everything in its own, right place: the screen at the bottom, the phone standing on its holder, the earphones on your head, your left hand on a mat with papers potentially on it, your right hand on the mouse, which is on the mousepad and also on that mousepad, that character you adore so much, when both said hands are not on the keyboard, beneath the whole table, or on it when no papers are on the way.
Seriously, that pleasure I longed for was something you could have started, me of 3-4 years ago, right when I began with my studies.
But I have no rancor over you, I'm still onto my studies, so this is still something I can take profit of, during my student life, thankfully ;)
I'll just take note at your stead, of not being too stubborn over things that can do oneself a greater good, objectively. :)4 -
External hard drive reliability question.
Im looking for a 2-4 TB external harddrive, depending on the price (best bang per buck).
I found a Seagate Backup Plus Portable, 4TB. It seemed reasonable, until i googled failure rates of seagate drives.
Do you guys have any recommendations for me? Anything is appreciated :)15 -
Hello Devs, Please Suggest Me A Good Laptop.
Specs I Probably Need:
256 or 512 SSD
i7 6th gen
8 or 16 GB DDR4 RAM
Dedicated Graphics or Touch Screen(Ultrabook or something)
Really Confused between Yoga 910 and Lenovo Y700. Or what will be the best device(Portable and Powerful) for us?6 -
Which umbrella do you guys use? I'm looking an umbrella for rain and should be portable so that I can fold and put it on my bag.6
-
So qq. I am trying to make a portable (low volume) web appliance with a Raspberry Pi...but it’s dog slow. It uses an embedded DB so I am assuming it is probably the SD card that is the bottle neck. Do you think an external drive would help?4
-
Hey guys what's a good external compact keyboard that is soft to press and quiet to type? Mac layout also. Thanks2
-
Has anyone had good results with cheap portable air conditioning units that cost less than a hundred bucks USD?3
-
So i tried getting some games i play on windows to work with wine and steam.
After swearing and installing all the shitty dependencies it doesnt feel any good. And worst of all i knew not all games are going to work though.
As i wanted a good and portable setup i thought alright maybe this is going to be a good use case for docker. But its a pure nightmare to get everything running fine. At the end i gave up that shit.
So dual boot is still the only way for me to be able to play games without hacks and an unreasonable amount of work.
Using gpu passthrough to kvm is a pure nightmare too. I mean what the hack, the best way to use it is to have two fcking video cards?! And yeah the integrated intel shit graphics are no option.
I mean why the fuck is it even necessary to perform dirty hacks because the most game publishers dont give a fuck about linux.
Seriously it isnt that fucking hard! And Proton is a good step for some games, but only as a temporarily solution, that only exists because of shitty game publishers.
It is horrible, its 2020 and i still cant get fully independent from windows, no matter how hard i try.
Is it that fucking hard to add builds for linux to their shitty games?!14 -
What's the simplest way to deploy a small node project to a private root server, possibly dockerized?
I feel like there are thousands of possibilities nowadays, like Ansible and so on. But is there something more in the the KISS way? Apart from just hacking a bash script together of course, it should be portable (and work on windows too).1 -
Is there a portable DB format like sqlite but stores data like Mongo.
Each record contains key value pairs.
I guess I could install Mongo again... But kinda want to play with the data first. Pulls from a web api
I guess other alternative is to just save the json responses to disk in separate folders and files for now...
And abstract the DB layer behind an interface6 -
I love the idea of a thin and light laptop to handle some of the lighter stuff while I'm out and about, but you're usually looking at a 13" machine. Any laptop users find these smaller screens to be a hindrance?1
-
vscode because it is a looker and does what i want it to do and don't have time to fiddle with others, n++ portable where i can not install something.
-
!dev
Moved a while ago and I didn’t have a tv. By brothers put some money together to buy me a projector for Christmas.
It’s not the best one but great for what I need, it’s portable, dynamic screen size etc..
So earlier this week I bought a PS and lots of games..
Then it started..
speakers don’t work..
Unplug speakers, the integrated ones don’t work either.
Turning it off and on again didn’t help.
Pulled the power plug, after that the speakers worked again but the colours were fucked.. dark became green.
Unplugged power and plugged in again -> same issue.
Reset to factory settings -> colours were good again and internal speakers were fine as well..
plugged in proper speakers and it all started over again😒
I just wanna play splinter cell..7 -
Built a Speedreading Homebrew for PlayStation Portable back in the days... People in the metro were even asking me about it and wanted to get the 'app'.
-
Is Chromebook good enough for web development? Are there good ide available?
My priority is a good portable laptop.11 -
sorry, search engines were not helpful. does anyone know of a lightweight browser that doesn't need installing but stores everything in the os user directory?
i have no it-permissions but want to provide my department with a suitable browser. we have ie and edge, but the latter deletes everything on closing which makes it unusable for my usecase and the it is not willing to set this up different.
ff portable can not be run from a read-only-folder and any other scenario either needs installing on every terminal or does not handle different profiles which is essential. i read that this is the case for any portable browser.
i'd like to set it up properly with neccessary start page, favourites, adblocker and so on but just in one network directory for maintainance reasons.
we run a web based application strictly local but each windows-user-account must have their own setting in this app (cookies or preferably webstorage).
am i asking too much for? -
I am thinking of getting a pine64 phone from people who know more about it than me should I
PS.I plan to use it as a portable developing machine for places I cant take my laptop4 -
Want some other opinions here, I personally use a 2018 13" MBP for my portable device and was thinking about selling it and getting the latest revision of the 13" once they change the keyboard...
I tried the 16" keyboard and holy shit it feels horrible, I honestly like the butterfly mechanism feel, has anyone else gotten so used to the butterfly?3 -
Docker gurus: I am not familiar with docker, any immediate problems stand out about the idea of trying to make customized vim into a redeployable docker image for easy portable usage?
Thought I might side step having to save config and reinstall stuff (still got to pimp it out the first time)11 -
That GPD Pocket looks nice. Just needs to reformat to Linux and it's perfect. Beats Samsung Galaxy S8 and Dex Station all the way
-
Websites that use a snow effect in Winter, with many little snowflakes moving on screen, needlessly drain the battery of mobile devices. Since batteries in portable electronics are usually not replaceable as of 2022, it also shortens the overall useful life of mobile devices.
If web designers feel the need to appear creative, which the snowflake effect isn't since it apparently existed since the 2000s, they should at least give users an option to turn it off. And that option should be available without logging in. Perhaps this useless effect should be turned off by default for mobile users.8 -
I have a microUSB B? portable battery but it's taking really long to recharge and the connection is always faulty. Need to push down on the cable to get it to even charge.
Had same problem with my first smartphone and that's why it was replaced but it's there a way to fix it? Without opening it up or replacing the port?
The battery itself is still good...9 -
Question for the dev community about best laptops. I'm coming from developing on frankly outrageous desktop machines for the past two years (8700K with 32 gigs of memory and Intel Optane SSDs). I'm starting a new job soon where I'll need to buy a laptop to use at work for portability reasons. Company is giving me money to pay for it, budget is $2,000. What's a fairly portable laptop that isn't going to feel really slow switching over from crazy desktop builds like that?3
-
Any recommendations for a portable laptop (~1.5 kg) with good battery life(6:8 hrs) , great display and with 8th gen i5 or i7 costs less than 1k $?3
-
How To Make Sure That A Construction Cradle Is Perfect For Safe Use?
Construction and maintenance cradles are used by millions of construction workers who need to work in inaccessible or elevated areas. The OSHA (Occupational Health and Safety Administration) has laid down a few standards that can help safeguard workers who operate on cradles. In many cases, workers suffer injuries in accidents involving cradles – as the support or planking gives way, or there is slippage of the worker on being struck by an object falling. Poor cradles are also a major reason for accidents. Read and know how you can ensure that a construction cradle is ideal to be used in a safe and proper way.
Check the base
You have to ensure that the scaffold’s base area is completely stable. In case the base lies on items such as blocks of concrete, loose bricks, boxes or barrels, it is not possible to raise a safe cradle. Such types of things are not stable, and cannot offer a level foundation. The footing has to be able to support the cradle that is loaded, without moving or settling. The cradle needs to be set on items that offer a solid foundation, such as mud sills or base plates.
Safe rails and platforms
In case the temporary cradles are 10-inch or more in height over a lower level, it is a good idea to install toeboards, midrails and top rails. These have to be set up on every open side of a cradle platform, so that workers do not fall off from the platform even if they slip.
For more information about finding the best portable work platform, visit this website. -
finally using git portable with usb repo for work related things! (no online repo possible) feels good man!7
-
Org is doing a major conversion to containerized solutions and modern technology. Most of which I can wholly support, only 1 catch. everything will need to be ported to Java. we are a mixed shop of largely PHP and Javascript devs with only a handful of devs who actively use Java regularly, this change throws away tons of previously built battle tested code in order to swap to putting all new code on an all new platform. I thought the point of containers was to be able to isolate and run whatever you want within the container and have it highly portable...