Hacker News new | past | comments | ask | show | jobs | submit | felixr's comments login

These are Go bindings for Tk, a cross-platform widget toolkit initially developed as extension for Tcl. Nowadays a lot of languages have bindings for Tcl/Tk. Python for example has been including tkinter [0] for a long time.

[0]: https://docs.python.org/3/library/tkinter.html


Seems Tk is now the default cross platform UI for any language. It is doing for local apps what JavaScript has not - a usable toolset for majority of use cases without a ton of overhead and interference. I e only played with tcl/tk over the years - now will put in some hard yards to try in depth. Golang+tk for heavy lifting and server side and tcl/tk for scripts and as hoc things. After 50 years of casual/prof development this might be my personal version of nirvana. YMMV.

> Seems Tk is now the default cross platform UI for any language.

So let's hope someone writes a wasm binding.


yes, for python, from 1.5 or early 2.x versions onwards, iirc. I've used py a bit from 1.5 and much more from early 2.x, is how i know this.

yes, perl, python and ruby, for example.

Really? Would love to see a binding for Powershell. Just for cross-platform shell scripts to be able to disable a pop-up for input etc. Just makes them more accessible.

That would be WPF. It uses Tk under the covers.

I believe that has been removed in later versions as the old examples I find online don't work in Powershell

> InvalidOperation: Unable to find type System.Windows.Forms.MessageBoxButtons].


This still works today for me:

    Add-Type -AssemblyName PresentationFramework
    [XML]$form = @"
       <Window 
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            Title="MainWindow" Height="450" Width="800">
        <Grid>
            
        </Grid>
        </Window>
    "@

    $NR = (New-Object System.Xml.XmlNodeReader $form)
    $window = [Windows.Markup.XamlReader]::Load($NR)

    $window.ShowDialog()

Ah, my bad. It is inspired by Tk. Should still be usable across most things today.

If you look at https://www.watchrecon.com/ good get an idea what people spend on watches if they are into (collecting) watches


"Treescope was originally developed as the pretty-printer for the Penzai"

Penzai: JAX research toolkit for building, editing, and visualizing neural nets https://news.ycombinator.com/item?id=40107007


I find it strange that the README does not mention at that `eza` is a fork of `exa`.


> eza features not in exa (non-exhaustive):

It at least mentions it's existence (though no link or context)


contributions welcome


Crediting people becomes awkward when it's done by outsiders though.


Same here. I always had problems with laces getting undone. Not with this knot.


Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understanding https://arxiv.org/abs/2210.03347

https://github.com/google-research/pix2struct


Thanks will take a look at these



Looks like only some of the talks have a link to slides. The links visually blend into the other link in the title column.

[edit: some of the talks also can be found elsewhere when searching for the title]


By my count, six out of about 60 talks have linked slides.


I think this is a great idea and is super useful if you want to add annotations for a screenshot or overlay annotations in a screen sharing session

Source code: https://github.com/nimeshnayaju/tldrawe


Using one of the many JS editors in something like codepen.io works well:

eg https://codepen.io/quill/full/KzZqZx or https://codepen.io/JessieWooten/full/wYObEX

Or one of the many online markdown editors (https://markdownlivepreview.com/, https://dillinger.io/)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: