1 year ago
2015 was considerable year for Rust: we released version 1.0, stabilized the majority of elements of language and a heap of libraries, considerably grew up as community, and also release 1.0), but it will be super-important year for Rust in which there will be many fascinating things. In this article I will tell that as I think, has to occur. It is not an official position and not the promise of the Rust developers.
Before we talk about the future, here several digits for last year:
1 year ago
We decided to congratulate all readers of the blog with come New year and to sum up the past results. The end of 2015 was marked by round numbers — the 6000th bild in SVN and the 5000th participant of https://vk.com/kolibri_os group of a social network of VKontakte.
1 year ago
In last article about SecureBoot I very much lacked an opportunity to make the screenshot at the UEFI setup through BIOS Setup, but then helped out the redirection of the text console in a serial port. This excellent solution, but is available it on the few server motherboards, and through it it is possible to receive only character graphics, and it would be desirable to receive this — it and looks more pleasant, and it is not necessary to cut its every time from a terminal window. That's it we will also be engaged in it in this article, and at the same time I will tell what is the DXE driver and how to write, collect and test such independently as keyboard input and an output to the screen in UEFI work how to find it on which it is possible to write files among attached devices of storage how to save something in the file from UEFI and how to adapt some external code on With for work as a part of a firmware. If it is still interesting to you — I wait for you under a cat.
The IT journalist Pyotr Semiletov in addition to the main work develops ten years the text editor of Tea open source.
Lesya Novaselskaya who received profession of the pathologist participates in testing of the project with an open source code.
Similar examples set. All these people are integrated by one — they implemented the interests in projects open source and participated in them both for pleasure, and for receipt of experience. There was a certain myth that the open project is only for programmers, and that who already have a wide experience in development. But it not so. The open project is not only development of the source code, but also testing, technical support, writing of documentation, marketing, etc. And still — excellent chance to gain experience and to derive pleasure from communication with the same adherents as you. According to results of vote the main obstacle for participation in the open project is absence of understanding of how to join the project. Therefore we will understand article as well as as whom it is possible to join such project.
SystemC is a library for C ++ allowing to model various hardware systems at the different abstraction layer. It is supported as the traditional discrete and event modeling usual to programmers on Verilog and VHDL, and analog modeling in the spirit of SPICE/Verilog AMS. The library and methodology for virtual prototyping, library for writing of test environments and verification with use of randomized tests is also included in the package.
In this I will tell about a synthesizable subset of SystemC, comparing it to synthesizable SystemVerilog. I use SystemC about 3 years, and before wrote several years on Verilog/SystemVerilog. I will try to cover a subject from the different parties: since philosophical reasonings on origins of SystemC, the short overview of an ecosystem and tools and finishing with practical examples of syntax and semantics.
It is meant that readers are familiar with Verilog and C ++.
1 year ago It is healthy! Well, lately on Habré there was a lot of srachy around Go: good-bad, is necessary-is unnecessary, compared to a python much, compared to growth, a vyser of "Go vs Haskell" well and in this way much. I had a feeling that because of a hayp and aggressive marketing of language by some of Ivanami Danilyukami very little who understood who and why in general Go can be useful why it was done and whether should be learned in general it. I too long time participated in these sracha, siding in shifts with "fans" of language and the party of opposition, but finally a doper in what focus. Today looked down at a sofa in a post a little and decided to write this note.
1 year, 1 month ago
These promises should be kept if they are made at first in final part of the opus about safety of UEFI, and then are repeated from ZeroNights 2015 scene therefore today we will talk about how to force UEFI SecureBoot to work not for the benefit of Microsoft as it is most often configured by default, and for the benefit us. If it is interesting to you how to generate the obstvenny keys for SecureBoot how to set them instead of standard (or together with them), how to sign your favourite EFI loader how to prohibit loading unsigned or signed with others conversion keys as the interface for the SecureBoot setup at AMI, Insyde and Phoenix looks and why it, by and large, is not important at all — welcome under kat, but be afraid of a large number of pictures and long console instructions.
1 year, 1 month ago
I write multilegal (but not multiplatform, alas, now only windows) a messenger which meanwhile supports only the TOX protocol. But the speech not about a messenger, and about its interface, and if more precisely, about its basic function — AlphaBlend. Yes, I decided to write the GUI bicycle. And what modern GUI without translucent elements and smooth curves? Therefore sharply there was a need to mix images taking into account translucency, i.e. alpha mixing or alpha blending. Fortunately, in the Windows GDI such function is available — AlphaBlend. Works as it is necessary, does what is necessary. But I that still the builder of bicycles, and it became interesting to me whether I will be able to write the same function, but faster. Result of my works under a cat.
1 year, 1 month ago
In article it is in detail told about self-modified a code (SMK), and about how to use it in the programs. Examples are written on C ++ with use of the built-in assembler. Still I will tell about how to execute a code on a stack that is an essential trump during the writing and execution of SMK.
Well, went. Article promises to be long as I want to write it such that you had no questions. On SMK there are already one million articles, but my vision of a problem – after hundreds of hours of writing of SMK is provided here … I will try to push all the works here. Everything, be enough tomato juice (or that you prefer to drink there), do music louder and be going to learn how to relieve the application of the beginning crackers! In passing, I will tell you about memory of Windows and some other things about which you even do not suspect.