Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

lal12

Member
  • Content Count

    39
  • Joined

  • Last visited

Awards


This user doesn't have any awards

About lal12

  • Title
    Member

Profile Information

  • Gender
    Male
  • Location
    Germany
  • Occupation
    Computer Engineer

System

  • CPU
    i7-8086k
  • RAM
    16GB DDR4-3200
  • GPU
    Geforce GTX 1060
  • Storage
    8TB self managed Ubuntu NAS

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. lal12

    Source for hobby electronics components?

    So you're saying because you had bad experiences on ebay, everybody else has luck if he doesn't? Btw how often I ordered I wouldn't just consider it luck in any case... Btw. I actually had more troubles ordering at Conrad (the biggest German electronics shop) than with Ebay...
  2. lal12

    Source for hobby electronics components?

    I never had any problem on ebay and I buy electronics stuff on there at least once a month for years. And not just "LEDs and wires" I never had problems with µC, transistors, voltage regulators, step down converters and so on either.
  3. lal12

    VPN, Dual Stack NAT, IPV6

    Most people probably would not know about that or at all touch the setting, so the default has to be a changing IP. But I don't see any easy way to get this working like that with a router setting.
  4. lal12

    Upgraded Laptop Battery

    Hmm it might not be that easy, I tried that once and it pretty much failed. The problem is that the battery has a chip, which counts the charging cycles and capacity of its cells, sometimes this can be resetted, however for many models there is no known way to reset it.
  5. lal12

    Source for hobby electronics components?

    Well I cannot speak for the North America, but here in Europe I get the best prices and biggest selection on ebay. Many times it comes shipped from China but is still cheaper than buying from a German seller, but if I need something quick the German Ebay sellers are still cheaper than Mouser or big German electronic online shops.
  6. lal12

    VPN, Dual Stack NAT, IPV6

    One reason providers supply their own solution and not giving you a static IPv6 is too give you more anonymity.
  7. lal12

    Can your Keyboard do THIS??

    You have need two things an USB host controller and an USB client controller, as far as I know there is no Arduino which has both of those things. So you either have to use an additional part connected to an Arduino or a Microcontroller who has both of those interfaces. The dongle AFAIK does use an Atmel controller similar to those used on Arduinos, but not the same and has the additional other ICs for USB host and client
  8. lal12

    Can your Keyboard do THIS??

    After seeing this video on Floatplane I couldn't believe there isn't a software alternative to this. So I developed a program. It is still alpha and misses some features but technically it should be able to achieve the same thing as with the shown USB converter in a cheaper and easier way. I am doing a bit of advertisement here for people to use it ^^: So if anyone is interested: https://github.com/lal12/macroMyKBD.
  9. I will just give you a little list of choices you've got: HTML/JS based App JavaFX C# Windows Forms C# WPF C# UWP (only via Windows 10 Store) C++ QT C++ QT with QML Matlab Of course there are more solutions, but I selected them based on what I know (plus JavaFX cause you mentioned it) I highlighted those which I would recommend based on technology and your personal knowledge. So here some points you might wanna consider too: Cross-Plattform, should the application work on more than just windows? Then don't use C# Are you need a very flexible UI, then use html/JS or maybe WPF. Do you want something that looks like a normal/classical windows program? Then use everything except the html App, since it is more work to get the same experience as you've got on a normal desktop application. What would I do? I really like WPF and got some experience with it, and for some projects I might go with it, but since I mainly target cross-plattform development, I would do it with HTML/JS (probably with Typescript and React). With electron or nodewebkit you can create Desktop Apps which can access basically any system functionality, but using the same technology as is used in the web. I didn't used Matlab for any kind of UI experience, but it might be worth considering due to the powerful calculation functionality it has builtin, since I guess you need it for your project? Of course for every other language I mentioned above such a library would exist too, but you have too look for it and how to use it... Basically if you feel comfortable with one of the above mentioned technology use it, since it will make your life easier if you don't have to learn something completely new while actually focusing on developing your app. But if you don't really have much experience in any of thoose, I would recommend using HTML/JS with node-webkit.
  10. It was some years ago since I last developed something in C# so I can't answer you that, but it is basically very easy. You can either use something unnecessarily big like IIS, which is basically Microsoft's webserver with C# integration or just by using simple Http Listeners for that. But I am sure there are plenty of examples or tutorials for that on the web. I found one example on how you deliver static files, but changing it should be very easy: https://gist.github.com/aksakalli/9191056
  11. lal12

    Favorite Linux Distro

    I use mostly ubuntu, sometimes debian based. Just because if you need something most tutorials, most scripts and most software supports ubuntu, while support for other distributions varies. But I like fedora very much too. What I really can't stand, because I had big troubles with it is OpenSuse. I am not the only one who had this trouble, my colleagues also where all using Suse and had many more problems than with debian or ubuntu too. Even our system administrator had many problems with doing simple tasks like setting up a webserver with PHP7 on Suse, since it seems to be not officially supported ?!? , it could be that the problem was on Suse enterprise though.
  12. lal12

    Favorite Linux Distro

    ZFS actually is supported quite well by linux, also used in production for some NAS systems. And btrfs is also not bad, even has some advantages over ZFS, it has some problems still, but as far as I know only related to configuration in the userland not the actual driver or filesystem itself. I am not that familiar with dtrace, but as far as I read it is now completly working in Linux too. Actually nftables (and co.) are even more flexible than PF, and thanks to the new VM/byte code based packet filtering mechanism in the kernel are even very fast, and good extensible. Kernel namespaces and cgroups are equivalent to BSD jails and even more flexible. With LXC or docker you get easy to use management tools for thoose features. I actually prefer the linux packet managers over ports, with snapcraft and flatpak there are also modern container based alternatives. Well there are some discussions about kqueue, and it might actually be a little bit better. But the linux way with different system calls giving you file descriptors which can then be handled by select/epoll ... also has some conceptional strength. There also is a project to get the linux kernel working on clang/llvm, they are making progress. Overall clang seems to be the better solution due to its very modular design, but if you look into some benchmarks it is (at least for the userland) not faster on average than the gcc. LibreSSL is not at all linux or bsd specific, which crypto library is used depends on the distribution. Of course by default most distributions use glibc, I don't really know about differences to whatever BSD uses, but if you need something thin use musl or uclibc as embedded devices are doing. Network performance on linux was much improved in the last linux release partly due to batch packet handling through all levels not just the driver. Also as mentioned above the new linux packet filtering engine is much faster and more lightweight too. systemd I read the argues about systemd would not be the unix way. And agreed in most points. But when I started to really get to work with systemd, because I decided to use it as our new init system on arm embedded devices, since sysvinit was slow and also the starting scripts tended to be chaotic and repetitive. Yeah sure it might be a little bit different than classical linux development has been, because there are many things from the same developers. But still all of the systemd parts are seperate programs, many of them have systemd in the name, and yes they are designed to work together. But basically it nothing different to how desktop environments are developed like KDE or Gnome, they both have many programs developed within a single project, still nobody complained about that. This has also a big advantage, it is much easier to use the whole systemd ecosystem, while it is not harder to use single programs from the systemd family without systemd than when you decide to combine all needed components from different projects. The DNS Server mentioned by you is not actually inside the systemd1 (systemd start process) it is actually a service called systemd-resolved, but this can easily be replaced by network-manager as some distributions do. The binary log you complained about is also a seperate program called journalctl. Btw having a syslog daemon who listens to logs from the system and writing it to a log file or having a syslog listening to journalctl and writing it to a non binary log file is not hard. And the binary format actually has some big advantages, like being able to store any amount and kind of data you could want to a each message. So after discovering all that during our process of integrating system into our linux embedded devices, I am all in favour of systemd, since all arguments I heard against it, are actually not really defendable if you really understood how the systemd ecosystem works.
  13. You actually just open a webserver and handle the request somehow, this you can do in any language. I for example used nodejs for this.
  14. You have to give more information, otherwise nobody here can help you. What service are you are using? Is there an API documentation available? Give more detailed information about what the company told you.
  15. lal12

    Program for writing & compiling JS

    The linter is built in, for some languages you might need to specify the path to an interpreter (e.g. PHP), but for JS it is all builtin, also it includes IntelliSense (autocompletion, depending on context and types + documentation and parameter showing). IntelliSense of course is hard for dynamic typed language like JS, but with TypeScript definitions it works very well at least for used packages, but also surprisingly well without those definitions. Something like pigments is built in, even much better readable (displayed as little box), at least for css. I am not much developing for the web currently, so I haven't used sass & co with vscode, but I guess it is supported there too.
×