Search:

Type: Posts; User: peterst

Page 1 of 9 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    122
    Views
    1,723

    Re: Some thoughts on VB6 forum

    Someone may remember these, someone may not... But some things never change...
    The Story of Mel
    Real Programmers Don't Use Pascal
  2. Re: Stuck with this Language Detection Service code

    You can check the .NET library Windows-API-Code-Pack-1.1: https://github.com/aybe/Windows-API-Code-Pack-1.1/tree/master/source/WindowsAPICodePack/ExtendedLinguisticServices and more specific...
  3. VS 2019 Re: [RESOLVED] Upgrading Framework 4.8 to 5.0 -- x64 or x86 version?

    The first 64 bit version of Visual Studio is 2022 and it is still in early preview. Bits are not important as Visual Studio (I assume 2019 as latest stable release and still runs as 32-bit app...
  4. Replies
    4
    Views
    417

    Re: Western Digital My Book Live - Major Hack

    More problems for WD users:

    Another 0-Day Looms for Many Western Digital Users
    https://krebsonsecurity.com/2021/07/another-0-day-looms-for-many-western-digital-users/
  5. Replies
    4
    Views
    417

    Re: Western Digital My Book Live - Major Hack

    It is scary that most users think their devices are behind firewall and secured, but all lovely "cloud" services allow to access them via the master control service (WD Live servers).

    Same can be...
  6. Replies
    17
    Views
    940

    Re: Interesting code

    Obviously, if I wrote JavaScript (as it will look the same or quite similar) instead of something from .NET world like C#, it would be very very cool.

    And more obviously, talking about...
  7. Replies
    17
    Views
    940

    Re: Interesting code

    It doesn't look cool :-)


    var endpoints = configuration.GetSection("HttpServer:Endpoints")
    .GetChildren()
    .ToDictionary(section => section.Key, section =>
    {
    var endpoint = new...
  8. Replies
    17
    Views
    940

    Re: Interesting code

    SearchingDataOnly, I gave you only example how to write such code. You can return in function not self but different class so you can create the "pipe" with different classes as input and output....
  9. Replies
    17
    Views
    940

    Re: Interesting code

    Builder pattern can be used wrongly quite easy and things can go wrong if blindly used.



    person.SetFirstName("John").ToLower().SetLastName("Smith").ToLower().SetFirstName("Jane")


    Above...
  10. Replies
    17
    Views
    940

    Re: Interesting code

    Create class BuilderExample. Put some code like this (manually written code shown):



    private m_sFirstName as string
    private m_sLastName as string
    private m_nAge as Integer

    public function...
  11. Replies
    17
    Views
    940

    Re: Interesting code

    Builder pattern. Easy to implement in VB6. Just return self in all subs (transformed to functions).
  12. Replies
    39
    Views
    2,061

    Re: [RESOLVED] Decent javascript IDE

    Today I read on HN about Utopia - visual design tool for React. Not draggy&&droppy but useful for people who use React for UI.

    Utopia website: https://utopia.app/
    HN discussion:...
  13. Replies
    7
    Views
    476

    Re: BLOBS in Database: Good or Bad practice?

    Multiple BLOB columns for 512x512, 256x256, 128x128, 64x64, 32x32 resolutions. Adding new resolution is just adding new column + adding few lines in code (select/case) to support it. There is a...
  14. Replies
    7
    Views
    476

    Re: BLOBS in Database: Good or Bad practice?

    We use both designs and both are useful in different use cases. And as always - it depends what information will be stored in blobs, how often will be retrieved, backup strategies, etc.

    In the...
  15. Replies
    11
    Views
    732

    Re: NASM - Trying to write a TSR->

    If you want to play more with DOS, Ralf Brown's Interrupt List is a must have: http://www.cs.cmu.edu/~ralf/files.html
  16. Replies
    11
    Views
    732

    Re: NASM - Trying to write a TSR->

    Start simply: write somewhere on the screen the keystroke received, e.g. put it on first byte of video memory as it is just text mode (not sure at the moment if it was segment at 0b800h or something...
  17. Replies
    11
    Views
    732

    Re: Trying to write a TSR->

    I don't know what assembler you are using, but in TASM or MASM you should use offset keyword:

    MOV DX, offset MemoryDumper

    or LEA (load effective address) instruction:

    LEA DX, MemoryDumper
  18. Replies
    53
    Views
    1,671

    Re: Unable to Access MySQL Remotely

    This is quote from first post :


    It is not "access denied". It points that there is connection problem. So the problem is something different. And "Access denied for user xxx" sounds like there...
  19. Replies
    53
    Views
    1,671

    Re: Unable to Access MySQL Remotely

    Well, dday9 connects to external IP to MySQL but he has no rights to access it. The error message is explicit: "Access denied for user dotnet" so the problem is not the connection, nor the IP. MySQL...
  20. Replies
    53
    Views
    1,671

    Re: Unable to Access MySQL Remotely

    Seems that admin user was used or MySQL handles the your user as admin. Can you directly (no VPN) connect to external host using MySQL Workbench or some similar tool (SqlYog Community, HeidiSQL or...
  21. Replies
    53
    Views
    1,671

    Re: Unable to Access MySQL Remotely

    Now I read what OptionBase1 wrote. The reason to hide databases behind firewall is to reduce chances of attack. You have to create web services which will work with limited set of data for your...
  22. Replies
    53
    Views
    1,671

    Re: Unable to Access MySQL Remotely

    It is job of the network admin to setup port forwarding and to give you these details. Usually firewall is set to block all incoming traffic except ICMP echo request (PINGs) and only the forwarded...
  23. Replies
    53
    Views
    1,671

    Re: Unable to Access MySQL Remotely

    You need port forwarding on the router to which your server is connected. It is very rare to see win server directly connected to internet so opening port in firewall will allow direct connections....
  24. Re: Some other alternative language that can talk to the machine besides C and assemb

    printmsg.bat:


    @echo Hello from DOS 3.11! :-)
  25. Replies
    5
    Views
    361

    Re: Documentation for API calls in VB.net?

    PInvoke.net contains definitions of unmanaged API declarations.
  26. Replies
    39
    Views
    2,061

    Re: [RESOLVED] Decent javascript IDE

    Express that with drag & drop :-) Maybe video, maybe 10 pages tutorial?

    Scaling for VB6ers in action :-)))
  27. Replies
    39
    Views
    2,061

    Re: [RESOLVED] Decent javascript IDE

    Drag&drop doesn't scale. For those who don't understand why "scale": because teamwork needs to scale with people. Drag&drop scales to 1 (one) person to modify the UI at a time.

    UI as code. Web...
  28. Re: OCR a data table from bitmap image? Ideas?

    Check test routine how to remove lines from table here:

    public void RemoveLinesTest()
    {
    var sourcePixFilename = TestFilePath(@"processing\table.png");
    using (var sourcePix =...
  29. Re: OCR a data table from bitmap image? Ideas?

    I've tested how to use Tesseract during research for some new features in my project but never dig into details. But I've seen it in open source app that it is really good. Maybe you will find...
  30. Replies
    39
    Views
    2,061

    Re: Decent javascript IDE

    Drag and drop and dynamically recalculated and rendered layouts like HTML, XAML and similar are almost incompatible.

    It is first mistake when someone in .NET moves from WinForms to WPF for...
  31. Re: OCR a data table from bitmap image? Ideas?

    What you think to do is valid. You can check Tesseract docs page where they put links to some research docs on how to detect tables. They wrote it is already implemented in that great library:
  32. Replies
    39
    Views
    2,061

    Re: Decent javascript IDE

    yereverluvinuncleber, you have to change your mind how these type of languages and platforms are managing UI. It is represent as code. As dee-u posted above, the UI is built using HTML (and CSS).
    ...
  33. Replies
    9
    Views
    615

    Re: Tricky requirement

    Pseudo-code:


    counter = 0
    for each item in column C
    if item contains 1 and item contains 7 then counter++
    next
    if counter > 1 then
    print "1 and 7 pairs occur {counter} times"
    end if
  34. Re: How you write multi-lang solutions (mixed VB.NET, C#) and multi-platform (Win, Li

    Today I saw few threads here that remind me what else we do to keep source as easy to translate/move to other language or platform.

    First (and sometimes not obvious for most VB.NET devs) is the...
  35. Re: Why does my ASP.NET Core MVC app run in the wrong wwwroot path?

    ASP.NET Core apps are using own web server (code name Kestrel) to run cross-platform (Linux, MacOS, Windows). The path /var/www/html/ looks more like Apache web server one. So you have two web...
  36. Replies
    54
    Views
    2,137

    Re: The fastest StringRepeat algorithm

    String operations in JS are optimized for extreme speeds. V8 team made miracles to make JS very fast. It is even recommend not to use JSON natively (yes, it is JavaScript) but parse JSON strings as...
  37. Re: Converting application from MS Access to SQLite database

    Mark@SF, you can check my post about SQLite dates test here. Just use SQL parameters and Date variables.
  38. Re: Microsoft retiring Internet Explorer next year

    Oversimplified automated steps (e.g. using BAT file):
    - get latest version from source control (e.g. git pull)
    - run tool that adds line numbers in source code - wqweto's post with link to the tool...
  39. Re: Microsoft retiring Internet Explorer next year

    @Peter Swinkels: Making production builds is like pipeline of steps and one of these steps is the tool wqweto wrote and posted link to.

    This step is to process source files and automatically add...
  40. Re: Listing database names in a SQL Server instance

    SELECT name FROM sys.databases
Results 1 to 40 of 334
Page 1 of 9 1 2 3 4



Click Here to Expand Forum to Full Width