topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • October 21, 2019, 12:29 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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 - Tuxman [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 88next
1
Living Room / Re: DC on Discord :O
« on: Today at 12:15 PM »
Use the right tool for the right job. :Thmbsup:

Which is one that does not require me to run arbitrary JavaScript code on my computer.
Use the IRC.

2
N.A.N.Y. 2020 / NANY 2020: quick generator peek
« on: October 09, 2019, 04:21 PM »
(One more software for this year before I resort to not finish the other two large utilities I had planned for 2020... I'll dump my other three tools which I had released before some time before New Year's Eve, as always. ;))

NANY 2020 Entry Information

Application Name quick generator peek
Version 1.0
Short Description Adds a toolbar button to display the current website's Generator meta tag (if possible) to your Chrome/Chromium/Vivaldi browser.
Supported OSes All which have Chrome or something.
Web Page https://hub.darcs.ne...quick_generator_peek
Download Link https://chrome.googl...ianlfcpjdjhacgljabjb
System Requirements
  • Chrome or Vivaldi or something.
Version History
  • 1.0: Works. Kind of.
Author hi.  8)


Description

Some software, like certain HTML editors and weblog software like WordPress, adds an information to your site's source code that says which software was used to generate it. This Chrome extension will read this information and display it as a pop-up.

Planned Features
Nope. This is quick and dirty. There are more sophisticated add-ons which do everything beyond that.

Screenshots
See the website.

Usage

Using the Application
The extension will add a toolbar button. Use it.

Uninstallation
Remove the extension from your browser. Done.

Known Issues
Websites without a generator tag will still have the toolbar button.

3
N.A.N.Y. 2020 / Re: Welcome to NANY 2020
« on: October 09, 2019, 04:14 PM »
Still no NANY 2020 template!

4
Which is based on Python and WebKit - far from being "lightweight", sadly.

5
Coding Snacks / Reverse Geocoding in Go
« on: September 30, 2019, 05:20 AM »
From a project of mine:

I have a latitude and a longitude, e.g. from Google Maps or OSM, and I need a street name for that.

There is an API named Nominatim to solve this issue. Go code:

import (
    "fmt"
    "encoding/xml"
    "io/ioutil"
    "net/http"
)

// ...

type ReverseGeoCode struct {
    // <reversegeocode> mapping
    XMLName     xml.Name    `xml:"reversegeocode"`
    AdressParts AdressParts `xml:"addressparts"`
}

type AdressParts struct {
    // <adressparts> mapping
    XMLName      xml.Name   `xml:"addressparts"`
    HouseNumber  string     `xml:"house_number"`
    Road         string     `xml:"road"`
    Suburb       string     `xml:"suburb"`
    District     string     `xml:"city_district"`
    City         string     `xml:"city"`
    State        string     `xml:"state"`
    Postcode     string     `xml:"postcode"`
    Country      string     `xml:"country"`
    CountryCode  string     `xml:"country_code"`
}

func CheckError(err error) {
    if err != nil {
        panic(err)
    }
}

func GetXML(url string) ([]byte, error) {
    resp, err := http.Get(url)
    CheckError(err)
    defer resp.Body.Close()

    if resp.StatusCode != http.StatusOK {
        return []byte{}, fmt.Errorf("Statusfehler: %v", resp.StatusCode)
    }

    data, err := ioutil.ReadAll(resp.Body)
    CheckError(err)

    return data, nil
}

func FindAddress(lat float32, lon float32) {
    url := fmt.Sprintf("https://nominatim.openstreetmap.org/reverse?lat=%s&lon=%s", lat, lon)
    xmlBytes, err := GetXML(url)

    CheckError(err)

    var xmlFile ReverseGeoCode
    xml.Unmarshal(xmlBytes, &xmlFile)

    adressData := xmlFile.AdressParts

    p1 := ""
    p2 := ""
    p3 := ""

    if adressData.Road != "" {
        p1 = fmt.Sprintf("%s %s, ", adressData.Road, adressData.HouseNumber)
    }

    if adressData.District != "" {
        p2 = fmt.Sprintf("%s, ", adressData.District)
    }

    if adressData.Postcode != "" {
        p3 = fmt.Sprintf("%s %s", adressData.Postcode, adressData.City)
    }

    location := fmt.Sprintf("%s%s%s", p1, p2, p3)

    // location has something like "John Doe Street 123, Random District, 12345 Imaginary City" now.
    // Save it or whatever.
}

6
I moved the Emacs repository over to my server:
https://code.rosaele...n.org/logpad.el/home

I'll update MELPA, the logpad package is currently dead as I deleted the original.

7
N.A.N.Y. 2020 / Re: Welcome to NANY 2020
« on: September 27, 2019, 03:11 AM »
19 days after starting this thread, mouser finds out that this thread exists.  ;D

8
N.A.N.Y. 2019 / Re: NANY 2019 - A whisky exposé for reddit
« on: September 13, 2019, 05:41 PM »
Moved the repo over to my server:
https://code.rosaele...acket-whisky-reviews

9
N.A.N.Y. 2019 / Re: N.A.N.Y. 2019: The Decision Sieve
« on: September 11, 2019, 04:45 PM »
Moved repo (as announced elsewhere):
https://code.rosaele....org/decision-sieve/

10
N.A.N.Y. 2020 / Re: Welcome to NANY 2020
« on: September 08, 2019, 12:53 PM »
I have two more projects in my pipeline but I don't think that I'll get them done in 2019. :(

11
N.A.N.Y. 2020 / Re: Welcome to NANY 2020
« on: September 08, 2019, 08:15 AM »
Eek! This time of the year again.

14
Uhh.

Honestly, I have no idea.  ;D
I guess it works via filter actions, as many things do...

15
Right-click the root folder (usually named "Mail"), press and hold Shift, click "New...", leave Shift.
(A lot of things are - undocumented - reachable by pressing Shift at the right moment.)

16
I, personally, find virtual mailboxes highly distracting now that I know what they do.  ;D

17
Good start: I accidentally deleted all of my e-mails yesterday because I thought that "In" was only a mirror of my actual INBOX folders.
There is that "Leave Mail on Server" checkbox... which is easy to miss.

 :-\

Pandora should probably not use that for IMAP.
Well, at least now I know that my provider's backup system works.

I’ll have took for the virtual folders.  What are they called in Pandora?

Mailing list or box? 

Those are called a "Mailbox" afaics. Just like "In" and "Out" are nothing but "Mailboxes". Which I know now.  ;D

edit: The HERMES people also plan to add new features:
https://sourceforge....olutionary-features/

I guess they're just slow. ;)

18
After considering my options for what comes after The Bat! 8.8.9, I bought Pandora and uninstalled The Bat! today, keeping Thunderbird with Enigmail as my GnuPG fallback until Pandora (or Pegasus Mail? ;)) gets GnuPG support as well. Ribbons. Ugh! Thank you, Steven, for this opportunity. (Are you aware that Pandora does have virtual mailboxes?)

The one thing that lets Pandora struggle is an old(ish) mailing list which has almost 60,000 messages in it. It takes ages to change anything in that folder.
I took the time to empty it now ...  ;D

I have quite a few improvement suggestions and I found a few bugs. I reported all of them.
Let's see how this will end.

19
General Software Discussion / Re: Goodbye, Bitbucket!
« on: August 24, 2019, 06:37 AM »
That Heptapod looks interesting, but it confuses the hell out of me that they use "CVS" when they mean "VCS".  ;D

20
General Software Discussion / Re: Goodbye, Bitbucket!
« on: August 24, 2019, 06:04 AM »
There is no "the BSD license". Also, it is based on... Java?  :huh:

21
General Software Discussion / Re: Goodbye, Bitbucket!
« on: August 24, 2019, 04:49 AM »
SCCS originated in 1972!?!? And here I was thinking that CVS was old and feeble...

It does one thing well - on the limited set of supported platforms...  :-[ version control is not necessarily a huge task.

Been taking a look at this 'Fossil'. Looks interesting enough and likely suffices for a one-man shop or a very small team (caveat: I have been spoiled with am used to Jira). Thanks for that one, though.

Jira is expensive, but it is my favorite bug tracking system indeed. I like it when I see projects using it, like Vivaldi does. However, I can't trust Atlassian anymore. (And I don't need most of Jira's features. My projects usually are "one-man-shows". ;))

I just finished installing RhodeCode on one of my machines, and importing all 40 of my Bitbucket repositories into it.

It wasn't very painful or hard to configure or anything.

Gathered from looking at the website for a minute:

  • Their website menu doesn't work well on Safari. Hard enough to find some information...
  • The FreeBSD port is unmaintained.
  • RhodeCode is based on Python 2 which will EOL soon. Python 2 also comes with a huge lot of dependencies.

Sure: It is bearable. But it would not beat Fossil... unless I'd absolutely want to stay with Mercurial. And the past few years have shown that it does not matter at all. People don't come to my projects anyway.  ;D

22
General Software Discussion / Re: Goodbye, Bitbucket!
« on: August 23, 2019, 08:33 PM »
P.S.:

I'll move all of my projects over to Darcshub (the smaller ones) and probably somewhere else (the larger ones) before the deadline.

Let's talk about the "somewhere else" for a while, crossing out Darcshub which is currently unsurpassed for what it does.

The main reasons why I keep (soon: kept) some of my projects on Bitbucket and, partially, GitHub were pure egoism:

  • Those services provide(d) a low entry barrier for potential collaborators. Not that my projects had attracted actual collaborators, except for this one. It was really easy to find my code.
  • Self-hosting something like Kallithea, GitLab or RhodeCode would have required quite some effort, those services usually have a lot of dependencies. Also, data loss would be much more likely on one of my servers than on theirs.
  • Running a bare VCS like CVS or SVN on my servers would have almost no advantage over just throwing everything on Darcshub, minus a good (here: contributor-friendly) web interface.

Shuffling through my collected notes again, I found out that the newest version (2.9) of Fossil, SQLite's homegrown version control system, comes with an automatic GitHub mirror export function. In theory, this is a perfect solution:

  • Running Fossil servers is not really resource-consuming.
  • Making a backup of a Fossil repository is done by copying exactly one file.
  • Contributing would be easy and I would still have easily discoverable repositories.

In practice, I tested the documented two-step method to make an existing GitHub repository a Fossil repository which is then automatically (one-way) synchronized with GitHub on one of my less popular projects. Although the result came out almost as expected, I found a couple of obvious bugs on Windows, including one that prevents Git converstion from inside the PowerShell. This is bad, as Windows is still my main development OS. I wrote a lengthy bug report into their forums (which seems to be in a moderation queue or something), probably it will be awesome soon.

I have a few months left to decide ...  ;D

-----------------------------------

(Of course, I also tried to try SCCS. Does not seem to work well on non-Solaris systems just yet. I posted to their mailing list, maybe I can help.)

23
Maxim said they'd replace the existing toolbars by a new toolkit.

I wonder how many people will stand up against that.

24
What's the Best? / Re: Newsreader programs
« on: August 22, 2019, 09:21 AM »
What is a newsgroup?  I see that option in Thunderbird's create accounts window.  It's not the same as rss news?

No, it's the Usenet. :)

Here is the installer download for this:
https://github.com/graemeg/xananews

That's what I had linked.

25
General Software Discussion / Re: Syncovery - OneDrive - Encryption
« on: August 22, 2019, 05:28 AM »
Never assume that anything which you don't encrypt before uploading will be encrypted on the remote server.

Pages: [1] 2 3 4 5 6 ... 88next