Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - archfox

Pages: [1]
1
C - C++ / Re: Interface Programming using C's gtk libraries
« on: February 23, 2016, 09:19:25 pm »
*me trying to understand your end goal*

If it is for learning purposes, then it wouldn't hurt to have some experience.

From the perspective of building some end product with UI written in C, then why?
Unless you want to contribute to the development.

2
Hardware / Re: Advice on laptop solely linux
« on: February 04, 2016, 01:28:22 pm »
As mentioned above, I prefer Lenovo as well. From the ones that you have listed, I would stick to T series. It's more personal preferences, but they are the, so to say, work-horses. I wouldn't lie, but I think the 4GB RAM can be upgraded up to 8 GB or more ( I am assuming that the board supports it).

To summ it up, Lenovo for sure, model - personal preference.

3
Hardware / Re: [Question] Security related Hardware project ideas
« on: January 05, 2016, 03:39:05 pm »
Well, it is good to share, so:

I wanted to implement "Laptop Guard". Simple idea: using sensor to detect if there is any body next to my laptop (let's say, closer that 2 meters) to start an alarm and get notified on my phone. :D

4
Java / Re: A question about source code editors
« on: January 05, 2016, 03:32:48 pm »
If you don't restrict yourself to editors only, you can try out Eclipse as well. It is pretty friendly and smooth to start with and should't be that heavy to run.

*p.s. it is been ages since I last "touched" Java*

5
General discussion / Re: What Inspired You?
« on: December 18, 2015, 12:42:06 pm »
What inpired me?

You know that feeling of pure satisfaction, when you look at a mechanism and understand how it works?

That unique feeling, which is something in between of admiration of someone's genius that built the device and realization of your own power/ability to understand it, to twitch it for your own needs, and by doing it leaving your own mark?

I wanted and still want to understand the black boxes and black fog around me, which is made up by different devices, computers and networks (specially Internet). For me it is like magic, and smart ones out there are the super-powerfull-benders  ;D

AND I WANT TO BE PART OF THEM with every cell of my being.

*Lol, didn't think that I would get so emotional*

6
Assembly - Embedded / Re: [Arduino] Motion activated christmas music
« on: December 11, 2015, 02:52:27 pm »
Hi, correct me if I am wrong,

I can see from the code, that the song is played as soon as button is pressed (or you have HI at input pin). And then, no matter pin's voltage HI or LO the complete song will be played. Press again and the next one, after the previous one is complete.

As an option, it would be more user responsive if instead of this kind of voltage poll at a deticated pin, to implement interrept based approach. It will simulate then the user swith between the songs. It is easily done in Arduino.

Funny, little project  :)

7
C - C++ / Re: 'char' rather than 'int' causing double loop
« on: December 10, 2015, 04:29:58 pm »
What do you mean by looping? Do you expect it to terminate or what? If yes, then add:

if(count==10){
//your console outputs
return 0;
}

Btw, I as a tip: please, stick to one style, either go entirely for C++ or C  ;)

Argh... Was focing myslef not to write this, but this snippet doesn't fulfill the task requirements as well.

8
General discussion / Re: InfoSec Weekly Roundtable/Discussion
« on: December 10, 2015, 03:58:56 pm »
This is awesome, I would join the upcoming meeting

9
Projects and Discussion / General thoughts on Digital Design
« on: October 26, 2015, 09:40:40 pm »
This post is structured as following:
  • 0. Abstract
  • 1. Introduction
  • 2. General Information
  • 3. Personal view and conclusion


Abstract


Dear, readers,
it isn't a tutorial, since a don't provide any material that can be treated as such. It's rather a paper, that features some informative nature, as well excerpt from personal experience. Who should read this? Anyone, who has some time for this, or has very abstract ideas about this field of engineering.

I hope you find it interesting. If there are any typos, oddly sounding sentences, please, feel free to inform me.


Introduction

As I've mentioned earlier in my intro post, I'm studying in the field of Information Engineering. I am deeply grateful to all my mentors, who showed me how "stuff works" and helped me to scratch the top of the mistery. The mistery, that doesn't let me in peace with myself and keeps pushing me to learn more and feel desperately pathetic at times.

I should rather confess that I have a better picture/understanding of a tiny piece of this magic, that keeps alive wordl web and many zillions of other services existent, on lower level: on the level of circuitry and  gates, on the level of simple microcontroller architectures.

To express myself sharper: I can better see/understand and pretend to understand the things, that I see, the screws and bolts, the sceleton and carcase of a machine. Knowing some of it, I still know nothing about the magic and the benders that are up there on the top, that makes internet, that kind of place, that it reprents itself today. The gates I am not sure I will be able to reach. I can be eaten for any meal:
Quote from: Xires
Some of us eat noobs for breakfast.
But enough of poetry.

Basics

I guess it might be a bit interesting for some of you, respected community memmbers, to read about FPGAs nad SoCs. I searched the forum for already existing posts on this topic (being new here, I believe I have a limited access), but didn't see anything, like an introduction or general tips. The eager to contribute and shy belief of having some knowledge motivated me to write this post.
 
The "toys", mentioned above, are the ones that, I think, most of us don't have. Whether they are too expensive to purchase them, or it's to expensive to afford a decent playground for them for later. Luckily, I had an opportunity to be involved in some projects, that were based on FPGAs and microcontrollers.And all the following will be dedicated to describe some of the work flow and specifics of this branch of development.

First things first, without knowledge of digital circuits and some electronics(as a perfect case), to be involved into FPGA design is really painful and I would say, from my personal experience of a student who struggled for almost 2 years, is meaningless. :)

What FPGA stands for can be googled for a better definition, but if I put it in less detailed manner, without over complications then, an FPGA can be treated as a LEGO. You define you own logic blocks, and go further specify what these blocks should do. As example, this can be a logic to implement *hated by most of student, since it's  "cool"* a coin changing machine, speedometer, filter system for signals (playing with sound effects and so on), controller for old and pretty snake game or anything else that your imagination is capable of.

If you, my dear reader, interested to dig deeper, then take a look at basics of Digital Logic (boolean algebra, latches, flip flops, FSMs, these are good tips for starting). The programming languages out there are VHDL that I am a bit familiar with, and Verilog. The thing, that one with computer science background should keep in mind, is the feel of these languages. They aren't same as any language that you know. They are hardware description languages and using them you are building hardware blocks with some functionality, which is a bit different than using programming language to describe an algorithm to solve a problem. As a play ground you can stick to ModelSim, to simulate simple tasks and get the feeling of it.

SoC - system on the  chip, it consists of FPGA and a so called control unit, which is a microcontroller. Named two can interact with each other, through various interfaces. What actually gives you freedom of both worlds. You can implement custom logic on FPGA and use the microcontroller for controlling/processing the logic/data. Microcontroller side programming is mainly done in C.
Some concepts like registers, timers, analogue to digital converters, UARTs  and other communication protocols, interrupts are necessary to have idea of and some experience with. Being a bit prejudiced against Arduino, I would still suggest it as a starting point to the interesting world of microcontrollers.

For this kind of  design there are software in market, one of two tools which I had hand on experience was Xilinx Design Suite for students. It is a damn heavy software, but it features enormous amount of facilities to mess around and learn. Though it can be too overwhelming for a beginner and has relatively steep learning curve. Xilinx provides very nice documentation and has decent teaching material. My personal experience of this kind  of design ensured me that C is the mother of all languages, elegant and very very powerful (I don't sound like someone who worships a programming language, but C is C =) ).


Conclusion

As a conclusion, I can say that it's something interesting to get involved with. Understanding of basics and "low" level would never be something useless.

Thank you for reading.

10
General discussion / Re: Easiest programming/scripting language
« on: October 23, 2015, 04:30:46 pm »
Any programming language (or anything new in general) has its learning curve. On the other hand, the easiest programming language is something opinion based, and therefore it is not a valid criteria.

IMHO, if I had a chance to go back and start learning my first programming language, I would have suggested myself something like Python. To be able to learn and create something interesting a bit faster, than let's say in C.  ;)

Fortunately or unfortunately, I can't say it now, for me it was other way around. The Godfather C was the first  :D 

11
Hacking and Security / Re: Where to start with hacking
« on: September 28, 2015, 04:08:08 pm »
Thank you for the time that you have invested and the effort that you have put in to write this post.  :)
Things get clearer and, finally, I've got an idea what do I approx. need and what directions to stick to.

Pages: [1]