Good evening! Do any of you know where to get free flash drives (>= 4G)? Are there companies sending out promotional flash drives for free, upon request? I'd like to get some for file copying, backup, creating bootable live drive
Hmmm, I won a couple free flash drives at university events ( spin a wheel type of thing ) Maybe lost&found places could be an option, or something like that
@RuiFRibeiro I know, right ? Luckily never happened to me yet. And frankly nowadays I'd rather buy one. They're getting cheaper and plus there's peace of mind it's actually a new flash drive that will last hopefully longer than otherwise
@Tim The thing is USBkill is not a flash drive at all. It's just a USB port with a capacitor , which is charged first and then fires back electrical current into the port
I'm electrical engineering student so um . . . kinda know what I'm talking about . . . sorta . . .
So before that dd command can even finish, the port will be physically fried
I have an old phone Verizon's Palm Pixi Plus (a very primitive "smart" phone) not under service and about 6GB, shown by df -h and parted -l:
$ parted -l
...
Model: Palm Pixi (scsi)
Disk /dev/sdb: 6828MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start ...
@RuiFRibeiro Or you could put a voltage regulator in between. There's some on amazon. One would think manufacturers have a protection circuitry in place there. At least when my servo motor fires back voltage it shuts down, but that's minor amount
@Tim try running strace -f dd /dev/zero /dev/phone_device , and probably you'll find out something denies reads/writes
@RuiFRibeiro That's nice to know. I have Pi 2B and Zero, which I hoped to use for my senior project and that eventually didn't happen properly. And I did want to try Banana Pi someday, although for some reason Beagle is quite popular. Probably because extra GPIO pins mostly
@Tim Small question. Are there any things you wish Nautilus file manager did ?
I feel like I've gotten into Linux, embedded devices and programming way to late. There's so many cool boards, many cool things people do with them. And yet here I am, with pretty much no portfolio of projects at all.
@SergiyKolodyazhnyy All is relative. Well, why not making a simple project about making history graphs of temperature and humidity? It is interesting and easy, and pretty cheap buying sensors for that.
I actually was applying to one place that had zOS mainframe there, RHEL and something else. Got rejected, though, after interviewing and waiting like 2 weeks or so
@RuiFRibeiro In the US there's a myth that young people leave at age 18, which may have been true in the past when economy was good. Nowadays, young people have to live with parents, and those who live on their own have 2 jobs that barely support the cost of living. Meanwhile the older generations complain about "millenials" being soft/weak , adding to psychological pressure. Suicidal tendencies, anxiety, depression, panic attacks are a norm, sort of.
I've had my share of anxiety and panic attacks over the past couple years. On the outside things aren't always what they seem.
@SergiyKolodyazhnyy Have you considered online work plataforms? The pay rate is lower, I never bothered with them, because I have a very strong CV....but they are great to build experience and a portfolio of projects, and for paying bills.
@SergiyKolodyazhnyy Yeah, in my generation it was easier to get gigs and jobs....
@RuiFRibeiro I'm starting to consider that. Tech support can be a problem - the house walls are basically paper, so talking to customers on phone is no-go. But then with online platform I'll probably also have to do something about self-employment taxes or maybe get a form. There's no consistent law on that. In my state there's taxes on online products/services/blogs but I've no idea about details
@SergiyKolodyazhnyy I cannot really understand how you could not do tech phone support in your own home...yeah, the low rates and taxes put me off of doing online work plataforms when I was out of a job, but then I have home, savings, and a good cv....
@SergiyKolodyazhnyy Going to bed way late here. Good luck on you job hunt.
@RuiFRibeiro That's the trick. It's technically not my home, in legal sense. The owner on paper is my mother. My father, despite not being the owner, has coarse personality and acts as if he owns everything. Even threatened to call police on me, which won't really work nicely for either of us anyway
@SergiyKolodyazhnyy That is family....my relationships with my parents was not that great when we lived together....but then I moved out when I was 20 or 21.
@SergiyKolodyazhnyy The US in general is increasingly hostile to smoking. I don't think it's particularly part of a work/gym culture. Though I could be wrong. Ironical, since they used to be such a big part of the tobacco industry. And still sell a lot outside the US.
@SergiyKolodyazhnyy The whole Linux thing?
@Tim Flash drives are quite cheap if you shop around.
@SergiyKolodyazhnyy Such rules are increasingly present across the US. Even in the UK, I believe. There was a very funny episode of the IT Crowd which featured that.
> Sorry, you do not yet meet the minimum eligibility requirements to write a review on Amazon. For more information, please reference our Community Guidelines.
@FaheemMitha The context is this: I've spent very long time in university trying to get the degree I had no idea about, eventually 4 years ago I installed Ubuntu, got interested in it, learned Python, shell scripting, even have bunch of small app-indicators for Ubuntu that were well received. Now, my family is getting restless and under pretext that "I'm 28 without a job" (even though I had 3 already) they are arguing with me, threatening to call police to evict me
Currently I just spent afternoons outside of the house to avoid interacting with my father
So in the mean time I've been applying to all sorts of jobs with whatever knowledge I have. Linux, bash, Python. So far no luck however, so sometimes I doubt my hopefulness
> To contribute to Customer features (for example, Customer Reviews, Customer Answers, Idea Lists) or to follow other contributors, you must have spent at least $50 on Amazon.com using a valid credit or debit card in the past 12 months.
As for degree, that's Electrical Engineering Technology. Which is not engineering, we're more of technicians. No designing involved, even though for senior project we have to do design for some reason
@FaheemMitha Yes, effectively a student although I am not registered for any classes this spring - just looking for a job and avoiding using my mom's money
Their reasoning for the hard time is my age, though by my analysis it's just their character and learned behavior. I am going to finish my degree, I suffered too much to walk away and leave it, but it will have to be on my own terms now I guess.
Frankly, "the whole Linux thing" is also because I've put a lot of hope in it because when I installed Ubuntu I've failed C programming for the second time. College has been depressing sometimes. After I've started doing Ubuntu stuff and participating on AU, I've learned a lot, and was able to pass bunch of other programming classes.
Yes, by far more comfortable. And I've lots of hopes and plans on how to rework some of my Python apps, make a few new ones maybe, maybe even make a GNOME extension someday once I decide to learn JavaScript
I remember back in 1998 I purchased my first computer. A friend helped me install Red Hat Linux on it. (He wanted to put Debian, but we couldn't get hold of a CD burner to burn the disks.)
And we didn't know where else to get Debian disks from. In 1998 Linux wasn't quite as common as it is now.
@SergiyKolodyazhnyy That's good.
And having a computer running Free Software that was mine was a whole different feeling. Quite a rush.
Well, poll or not, it certainly felt like I was more in control. I rejected Visual Studio and was doing all assignments for C with nano and gcc. Even on exams. Although I also made peace with Windows by now - I've laptop with Win 10, powershell is an OK thing. Weird for being object-oriented, but can do some interesting things
nano's big advantage is simplicity , so much easier for beginners to learn, but of course feature-wise and power-wise it cannot compete with either vim or emacs ... and it doesn't have to
@SergiyKolodyazhnyy For what it's worth - i.e. nothing - under Colorado law you will be a legal tenant and have to be formally evicted by court proceedings, not just calling the police
There's plenty of job postings for "DevOps Engineer" which is software engineering plus other stuff if I understand correctly - that does mention Linux quite frequently
Well, I'll still finish my degree. For me it's more important to find something I can deal with, somewhere I'd feel at home. And Python and Linux so far seem like those fields. Although, admittedly my mind can foobar and go the long route when solving a scripting problem or so
My degree required Visual Basic, C (because it's used on microcontrollers, and also assembly for those PIC-18 microcontrollers) , and then Verilog for Altera FPGAs
Oh, I also did Java. Passed first CS course without buying a book, just off my C knowledge. Then ran into a very awful instructor in Data Structures course, so ended up retaking Data Structures in Python
@MichaelHomer Well, define legitimate ? Assignments aren't exactly legitimate probably. But my Python is more or less legitimate. I use it here, on AU, I've bunch app indicators in PPA, and for databases class made an app done with SQLite and Python3 on Linux that aggregates metadata about those files
@SergiyKolodyazhnyy I mean in the degree. Was it almost all hardware and circuits, or was the C programming a substantial component? What I'm aiming at is whether this can be presented as a programming qualification for the purposes of box-ticking
As for embedded stuff, yes, that'd be ideal. EE, Linux, microcontrollers - done that. Of course, I don't recall much of specifics of PIC-18 programming, but what I've learned is 1) C is still C on MCUs, just avoid recursion and 2) read the damn manual, aka the datasheet for the MCU
So I work on a conversion master's programme, for people with degrees in something else who want to retrain as software developers, or to add programming skills to what they're already doing
@MichaelHomer Well, hardware was involved somewhat. We had to connect boards together via pins for I2C and CAN bus stuff, but otherwise the problem we had to solve was mostly write or complete C code to let two MCUs talk via the given interface
@FaheemMitha Well, there was one feature request for psutil package I think, that I had an idea of implementing. If it's still not implemented I might do that
Being able to demonstrate that 1) you're generically competent, 2) you can program in some accepted language, 3) you can pick up new things, and 4) if possible, you have some particular skill, interest, or background match with the role that you can lean into is generally enough to get in somewhere, on top of a degree to get past the HR filter
It's a one-year programme, nobody is in super-deep, but they have those things and they're employable at the end
She used to practice in a mall, and there was some office nearby, which was to help people with employment. Basic stuff, I think. Get them the right clothes. Help them with their resumes. Tell them what not to say. I mean, I don't know the details, but it was in that sort of direction.
It was more targeted towards poor people. And the US is very expensive, so people can run out of money fast.
The situation with Bluetooth on Debian does not seem that great. I've got my adapter working completely, as far as I can tell. But the software end is not so satisfactory.
Is anyone currently using Bluetooth on Linux? Preferably on Debian?
@RuiFRibeiro The actual networking seems to be fine. Perhaps I should have been more precise. The issues seem to be UI and permission related.
I.e. they're software issues. I've seen no network issues so far.
And I chose my adapter based on its support for Linux, of course.
BTW, does anyone know a way to determine whether some piece of hardware is using firmware from the computer's hard disk? I realise that's a vague/general question.
My favorite tool for monitoring which files an application opens is the powerful monitoring framework sysdig.
For monitoring all the open files opened by a program named exe_file:
sudo sysdig -p "proc.name=exe_file %12user.name %6proc.pid %12proc.name %3fd.num %fd.typechar %fd.name" evt.type=op...
While I feel the dmesg log is the best answer for tracing loading a firmware file, there is an alternative method to trace all the files opened in a certain timeframe. I will leave here for the sake of completeness.
You can always use a realtime tracing tool capable of following kernel calls as ...
It sounds like you just want parted -l. Here's what I get on one of my systems which has MBR tables and extended partitions:
$ sudo parted -l
Model: ASMT ASM1156-PM (scsi)
Disk /dev/sda: 1500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End ...
yeah, /proc/partitions also shows a size of 1 for the extended partition. It doesn't have units, so 1 (kB) is the smallest it can show.
if you go and read the "partition", you'll find another partition table there, because well, that's how the extended/logical partitions are laid out...
I'm not sure if it's that useful to be able to read it, but I suppose it's there so that you can, if you want to.
The one system I have has the usual 2048-sector (1 MB) alignment for the logical partitions too
What to say to an OP like this? If the guy writing the code/a modified module kernel/module does not know what to ask, who will know then? unix.stackexchange.com/questions/502692/…
@RuiFRibeiro I thought that was an unnecessarily aggressive response. The guy was just trying to get a pointer. Though it's true that it's unlikely that anyone on the site can make a reasonable guess without more details.
And it's a literate question. Such questions should be encouraged.
@FaheemMitha Being it well written does not mean it is a good question and speaking the truth is not agressive. We do not beat much around the bush as in your culture. If he is writing specific code, we cannot guess what he wrote and how we wrote it, and what the code does, and cannot say to him which questions he has to do here. I would supposed someone writing code has a minimum idea of what he has written and about the concepts.
@FaheemMitha If he wants help with debugging, then he should ask about how to debug a kernel module. At the moment, he's not asking that. He's asking what's wrong with his code?
> What might be the cause of this total freeze for large files? To my understanding in the kernel the packets come in a synchronous queue so load shouldn't matter and if the problem is the proxy it shouldn't completely freeze the entire system from user space.
I don't see where he is asking anyone to debug his code.
@RuiFRibeiro You know, it's entirely possible to ignore the question if you don't like it. There are million other questions to give your attention to.
@FaheemMitha That's the issue. He's saying "What might be the cause of this total freeze for large files?". He's not saying "How does one usually go about debugging kernel modules on Linux? What tools to people use and what techniques are used?"
What he wants is someone to sit down with that will help him debug his code. What he needs is experience in debugging techniques and kernel development.
@FaheemMitha Yes, and no. There is a reason you pay thousands for Cisco iron.... it is probably for statistics, I suspect. I usually use Netflow on Cisco....
@FaheemMitha I do not even understand if he is patching kernel code or wrting a module....I suspect it is for accounting. There are more efficient ways of doing that.
@FaheemMitha From what we see in the forum you have a lot of "professionals" coming here....Nevertheless, you have got either port mirroring or netflow in networking and nowadays even those functionalities in vmware networks .... where you pay for that $$$$$$ obviously.
@FaheemMitha Coming from India, I though it would be clear many people accept jobs they are not qualified to do. In latin and african cultures we have exactly the very same problem, for better or worse. But I digress. Offline, going to cook dinner.
@FaheemMitha Talking again on the subject of chilli peppers, had yesterday the 2nd strongest in the world at lunch time.
@FaheemMitha And about competent professionals....we are having a lot of questions about VPNs, captive portals and even some advanced authentication and routing....because they are not exactly Linux questions. They involve knowledge in several fields at same time, which people usually do not have.
@FaheemMitha There are the odd gems. But I am talking about people with overly too optimistic hopes complex setups out of their league will be explained.
@RuiFRibeiro You didn't just "speak the truth", and you were not direct. Had you been direct, that would have been fine, but you were sarcastic and passive aggressive.
You wrote: "Does it make sense the one writing the code asking others to try to guess what the problem is, without any hard facts/technical data/debugging/performance data at all?
That is not direct at all. You could instead have said: We can't help you without any hard facts/technical data/debugging/performance data at all. Please edit your question and add more details
That would have pointed out the problem and given a way of improving it. And that would have been direct.
What you wrote just comes across as condescending and snooty without actually providing any useful guidance. Which is why I deleted it.
Most importantly, you made it about the question's author (Does it make sense the one writing the code) instead of the question's content.
@terdon Alas, we can never please everyone. I do understand your points, but I do not understand people making questions about their code and they saying they do not understand it. Nevertheless, it was not my intention being sarcastic.
@RuiFRibeiro I don't disagree with your assessment of the question. I just wanted to clarify that the issue with that comment wasn't that it was too direct but, on the contrary, that it wasn't direct at all.
@terdon anyway, it was not construed intencionally to be meant as passive-agressive or sarcastic. ( I do not understand how people can write advanced code and then say they do not undertand nothing about the subject. ) Yeah, () used because that not the important point.
May I ask some questions? What are the recommended RAM assignment for installing Winows 8.1 as guest and Ubuntu 18.04 as host, using either virtualbox or KVM? my laptop only has 4GB RAM
@Tim You'd probably be better off asking on Super User. That boils down to "what's the minimum RAM windows 8 requires" and we're not the right people to ask that.
@Tim MS says the minimum is 2GB, maybe 1GB for VMs from the top of my head....that is the bare minimum. I personally do not recommend a 4GB machine running Windows 8 VMs, both the host and VMs will be starved for RAM, and ultimately for I/O
@Tim I doubt there will be significant difference. You care about the RAM used by the virtual machine (by Windows). The RAM used by the VM-manager is negligible compared to that.
@Tim Virtuabox easier to setup, buggy as hell. KVM dificult to put it to work in some configs, not recommended to less experienced people. Pick your devil.
@Tim tried to use virtualxox on my corporate desktop, gave up on the idea. Network interfaces randomly losing connectivity, just for starters. It was giving me more problems than solving them. On the other hand, KVM did not like my 4-6 year old i7 corporate hardware.....
(no support for PCI passthrough)
So I gave up on both, and went for Linux in bare metal. Of thousands of people we are very few running Linux there, and not the official corporate Windows desktop.
I've been using virtualbox and running a windows and an ubuntu guest for many years. Never had any real issues with it. Of course, I only use them for very minor things, so it's likely I just haven't encountered the bugs that @RuiFRibeiro mentioned.
But if all you want is to try something out in another OS quickly, VBox is indeed easy and painless.
Talking about vague questions, anyone ever tried writing a LD_PRELOAD module to sniff out on encrypted chromium sessions?...probably easier writing a patch....
@terdon I also had a chicken and egg problem with virtualbox and later on hyperV and a stupid corporate captive portal....
I just wrote a script nowadays in Linux for WISPr authentication, and I only see that darned portal in my Android phone every monday. Or when I take my Mac.
@FaheemMitha Yeah, too much networking to mention, both in Linux/Unix and corporate equipment..... I am always gravitating between network admin or sysadmin jobs.
@FaheemMitha Often was hired as network admin and ended up as sysadmin.....or the less frequently, the other way around.