HNHacker News
TopNewBestAskShowJobs

rickbutton

143 karma · joined October 18, 2018

[ my public key: https://keybase.io/rickbutton; my proof: https://keybase.io/rickbutton/sigs/Uwob4U2r6WkX0qv6jQWMHVOGuP1XBO8T2K7FXIptTxQ ]
submissionscomments
rickbutton··on Ex-Enron CEO Skilling launching new digital marketplace for oil investors
Who says everyone gets a second chance?
rickbutton··on On Facebook and YouTube, classical musicians are getting blocked or muted
Because Google has a financial interest in keeping these malicious "rights holders" happy and profits from the stealing of profits from YouTube creators. Until it becomes illegal, or YouTubers organize, Google will continue to steal from creators.
rickbutton··on Highest French court reclassifies Uber drivers as employees
Why not? Sounds like they would also be an employee under this ruling.
rickbutton··on Fancy Zones, a tiling window manager
thats an interesting idea.

right now, configuring workspacer is a very imperative, mutable process, because you just setup instances of objects, and call functions that setup some state. some care would need to be taken to design an API that could be "layered" in that it could be easily overridden by the user. this is a good idea!

rickbutton··on Fancy Zones, a tiling window manager
fancy zones is very different conceptually from i3/xmonad or workspacer.

fancy zones allows you to define a static layout, and then drag windows into the zones you create.

layouts in workspacer are defined in code, and are "always on", in that the window position/size is always handled by workspacer, instead of only when you ask for it.

rickbutton··on Fancy Zones, a tiling window manager
on default config: yeah, I'm not sure what the best story is here. I would like the out of the box experience to be nice, and I want to be able to configure anything, but I also want to be able to ship nice improvements to the defaults without making all users update their own config. For example, I just pushed a commit that adds a default ignore for a new start menu process in 1903. If I place that ignore in the "template" for the config file, then all users with a custom config will need to somehow diff their config with the default. I am 10000% open to suggestions on how to make this better.

On direction changes, I've gotten this request a few times. It should be pretty easy, but I haven't gotten around to it: https://github.com/rickbutton/workspacer/issues/43

On the fly layouts would be neat. Since layouts are just an instance of ILayoutEngine, you could probably just write a bunch of custom code to allow you to make splits however you want. I would be super interested in seeing what this looks like!

wlines is awesome! There is a feature in workspacer similar to dmenu called "menus", but there are a few bugs, mostly around it sometimes not showing up in focus, which is a pain. I have some config on my work machine that lets me press alt-shift-p and navigate to a bunch of work projects I maintain, only typing the first few characters of the project I'm looking for.

rickbutton··on Fancy Zones, a tiling window manager
¯\_(ツ)_/¯
rickbutton··on Fancy Zones, a tiling window manager
Please do! I haven't had time to work on it lately, but if there is interest in it I wouldn't mind picking it back up!
rickbutton··on Fancy Zones, a tiling window manager
Some applications like to reset their own position occasionally, or don't take kindly to being resized from an outside process. WinSCP is an example where workspacer tries to resize/position the window, and WinSCP itself listens for the move event, and moves itself. workspacer gets that second move event, and cycles back and forth forever.

For the few cases where it doesn't work right now, I have ignore routes setup in my config file (so workspacer will just ignore any matching window). I should probably make a list of the few common apps that are weird.

rickbutton··on Fancy Zones, a tiling window manager
This seems like a good time to plug my tiling window manager for Windows, workspacer. https://www.workspacer.org/

I use xmonad on my linux machines, and wanted something similar for Window, so workspacer trys to replicate that style of window manager (configurable via writing C#, dynamic layouts, etc).

I've been using it every day for about a year, but its still pretty early, there are some applications for which it freaks out, but for the most part it works! What it really needs is a good set of docs and a bunch of examples, but I haven't had any time to flesh it out.

I was hoping to see some unique tricks in the source for Fancy Zones, but it looks like it more or less does the same thing as workspacer, managing the set of open windows and occasionally calling SetWindowPos.

rickbutton··on Mirth – a type-safe concatenative purely functional programming language
There is always a person or two at the bottom of every thread like this that loves to spew hate towards people that like to share interesting side-projects, usually in a "you are wasting your time because your project has no immediate value to ME, go spend it serving my interests instead" sort of way. Claiming to also be a tinkerer in your public bio on the same website is gross, and IMO fair game to point it out.
rickbutton··on My First Fifteen Compilers
No one that maintains a production grade compiler is lazy. I would say that no one that maintains a compiler of any quality is lazy.

Let's replace "laziness" with "carefully considered trade-offs" in this context.

i.e. "The fact that a lot of modern day compilers don't have built in assemblers etc. are probably more due to carefully considered trade-offs".

rickbutton··on My First Fifteen Compilers
the "nanopass" approach mentioned in the article is used in Dybvig's chez scheme (not the nanopass library, just the style of compiler construction), and chez scheme is as close to an industrial grade scheme compiler as it gets, and is pretty fast.

edit: I missed that chez scheme is already mentioned in the article.

rickbutton··on Photon Micro GUI
Some iPhone apps provide this for the time slider (I believe via the native media player control, although I could be wrong). It is very nice.
rickbutton··on For Better Computing, Liberate CPUs from Garbage Collection
Your definition of garbage collector excludes reference counting, which does not require scanning memory. Reference counting is a form of garbage collection. The type of garbage collection you are referring to is the sub-type of "tracing" garbage collection.

However, I agree, "free()" is not garbage collection, but rather a form of memory management, of which garbage collection is a subset, and manual (free) is another.

rickbutton··on We got banned from PayPal after 12 years of business
In the US, yes, if the organization is legally considered a bank. I believe that PayPal is not considered a bank, but I'm not sure on the specifics as to why.
rickbutton··on Leaked Documents Show the U.S. Tracking Journalists Through a Secret Database
https://www.snopes.com/fact-check/donald-trump-incitement-vi...

^ videos of Trump encouraging violence

rickbutton··on Intern at a YC Company
Unpaid labor is wage theft.
rickbutton··on Ask HN: What are you working on and why is it cool?
my plan is to add some GIFs of the window manager actually managing windows, but I haven't had any spare time in the last few weeks. maybe this weekend though!
rickbutton··on Ask HN: What are you working on and why is it cool?
I'm working on a tiling window manager for Windows:

https://workspacer.org/

In another life I worked in a mostly linux environment, and developed on linux, where I used xmonad as a window manager. Switching to windows for a new job several years ago made that super painful. I use workspacer every day at work, and sometimes at home, and it mostly works! It crashes sometimes, and super DOES NOT LIKE IT if you reattach monitors (think laptop), but a restart of the application usually solves it.

The cool part: the configuration file is actually just C#, so you can configure it with a similar level of power that you would configure xmonad (or dwm) with (like implementing custom layouts, etc). I have not solidified the configuration API yet though, and have some plans to switch some major things up, so the road is a bit rocky for the time being.

rickbutton··on Encrypted SNI Comes to Firefox Nightly
right, DNS-over-HTTPS solves this particular problem.
rickbutton··on Encrypted SNI Comes to Firefox Nightly
If the public key was stored in a TXT record and accessed via regular DNS, then someone snooping the connection could see that you made a DNS lookup for that domain, and could make the reasonable assumption that you were about to make a request to said domain.
← PreviousPage 2 of 2