Better HN
topnewbestaskshowjobs
Log inSign up

rickbutton

143 karma · joined Oct 18, 2018 (8y ago) · 59 submissions

[ my public key: https://keybase.io/rickbutton; my proof: https://keybase.io/rickbutton/sigs/Uwob4U2r6WkX0qv6jQWMHVOGuP1XBO8T2K7FXIptTxQ ]
Submissions

comment 6y ago · link · parent

A purge of white supremacists sounds great to me.

comment 6y ago · link · parent

Why? There is a massive political movement for racial equality happening all over the country. They are responding to pressure from consumers, which they very much should, because all of these companies have ignored these issues for decades. They aren't coordinating with each other in some conspiracy to silence white supremacists. The -people- want white supremacists to be deplatformed (a good thing!).

comment 6y ago · link · parent

The equivalent is if a Tupperware salesperson tried to sell you tupperware by showing you a _doctored_ image of your friend buying tuperware while literally holding a sign saying "Hey [Your Name], buy this too!".

comment 6y ago · link · parent

Who says everyone gets a second chance?

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Why not? Sounds like they would also be an employee under this ruling.

comment 7y ago · link · parent

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!

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

¯\_(ツ)_/¯

comment 7y ago · link · parent

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!

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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".

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

https://www.snopes.com/fact-check/donald-trump-incitement-vi...

^ videos of Trump encouraging violence

comment 7y ago · link · parent

Unpaid labor is wage theft.

comment 8y ago · link · parent

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!

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

right, DNS-over-HTTPS solves this particular problem.

comment 8y ago · link · parent

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.
12