HNHacker News
TopNewBestAskShowJobs

dustractor

222 karma · joined March 29, 2020

submissionscomments
dustractor··on Brickit scans your pile of bricks and gives you ideas, with instructions
Use the bricks for your base

https://www.youtube.com/watch?v=BBEqsAqBsHc

dustractor··on Empty offices are becoming apartments in Texas’s big cities
Having lived in many an unconventional domicile over the years, it seems to me that there is an untapped market for the type of furniture solutions that you only need when you're living somewhere not designed for living.

I lived in a hotel for a while. White carpet! White marble sink! Don't drink any grape juice or wine!

When your kitchen is just a mini-fridge, hot-plate, electric kettle, and a toaster, everything takes so many extra steps to protect your environment from any possible spills. Had to do dishes in the tub, and while the laundry was broken, also did laundry there and then turned the whole room into a drying area.

Things like this are going to be happening with increasing frequency. Landlords and property managers are going to get mad or at least very stressed about %$#@# dangit these &@#^@# people how can they live like this!? Meanwhile the tenants will be pissed about living in the converse situation wondering @#$@#$ dangit how are we supposed to live any other way if the facilities are built for other activities!?!

dustractor··on Brickit scans your pile of bricks and gives you ideas, with instructions
I've been wishing there was an app where you could point your phone at a pile of scrap lumber and it would tell you things you could make with them. This is a step in that direction even if it's just for lego bricks right now.
dustractor··on Don’t teach kids to fear the world
Some people, it seems like their first instinct when faced with 'Nature', is to spray it with poison.
dustractor··on Show HN: AutoHotkey for Linux
There are those pesky extra cmd windows that sometimes show up when one gui program has to use a subprocess to run cmd.exe to start another gui program. The only only only solution I found after trying purported solutions in visual basic, powershell, c++, python, etc... Somehow, AutoHotKey's code for finding invisible windows is better than even what's on the msdn site.
dustractor··on Show HN: AutoHotkey for Linux
I completely agree. Windows had a drag-and-drop keyboard mapping utility twenty years ago. And Mac OS has automator and applescript, with capabilities windows and linux can only dream of since it requires taking a top-down approach with your language and your compiler and basically forcing people through the narrow gates of xcode so that all the compiled binaries get their dictionaries for interfacing with the osa scripting stuff
dustractor··on 90s Cursor Effects
I did web design back when it was called webmaster, and every time we finished a site my boss would ask me to 'make it sparkle' and this is what she meant, every time. I would explain why I thought it was a bad idea but then I would add the js snippet and show her. She would clap her hands and jump with glee. I would deploy it. The customers loved it. Invariably, the next day I would remove it because what mattered is whether the customer's customers liked it, and half the time they would think it was a virus and the other half were using IE 1.0 so they couldn't see it.
dustractor··on Launch HN: Artemis (YC S22) – Use comments to give code an interactive interface
There's a lot of stuff we get for free in the typical gui toolkit when we say, make a window, put some widgets in it and draw it, like how a button might have a callback function and you pass the function into the constructor so when the button gets clicked the function gets called. Thanks to what goes on behind the scenes (mostly, now) we don't have to implement hit-testing the mouse xy with every rectangle bounds to get an id to index into the array of callbacks... This old gui toolkit made you do all that and more. Imagine if the entirety of your 'layout engine' was a helper function that told you how much width and height you had available. Every widget needed xy coords for top left / bottom right and man if that sounds annoying, you're right. The convention was to assume a certain minimum amount of space and hard-code everything, literally get out the calculator and graph paper to start laying out widgets, but of course there were various copy-pasted solutions people used to page through larger interfaces than what would fit in some tiny rectangle. Nothing much like what you would call 'dynamic'.

I tried to do something like this what you have but very rudimentary and instead of comments it was an attempt to make GUIs based off function signatures. A string was parsed containing brackets around names of functions to inspect, those functions' comments parsed for labels/tooltips etc, and for each argument to the function it just did basic duck typing to figure out what kind of widget to associate. A function without any arguments was just a button, a function that took a string and a number turned into a button a text field, and a number input, for example.

Anyway, this particular part I'm trying to get at here, the thing that I was kind of proud of for being a novel way to do dynamic layout, was really only the concept of doing alternating rows and columns based on modulo the nesting depth.

say you had 300x300 pixels to work with and you had defined some functions foo, bar, and baz somewhere, you could build a ui for them like

'[foo,bar,baz]'

to have a row of three buttons or instead if you wanted columns then

'[[foo,bar,baz]]'

dustractor··on Ask HN: Why are bookmarks second class citizens in browsers?
I've been on a browser trying spree looking specifically for which has the best bookmark manager. Or at least [cough cough brave] not the worst bookmark manager.
dustractor··on Ask HN: Why are bookmarks second class citizens in browsers?
Hopefully you're doing ctrl+L. Just as long as you're not clicking in the url bar, selecting and deselecting it multiple times before you press END and then mash the BACKSPACE and then start typing h t t p : / / ...
dustractor··on Physical buttons outperform touchscreens in new cars, test finds
When it is bitter cold, the touch part of a touchscreen ceases to function and you will wish you had a flip phone with real buttons.
dustractor··on We need young programmers; we need old programmers
Pondering the societal conditions throughout history that have preceded various cultural flourishings it seems one common factor is that something fosters a broader diversity of interaction between individuals of different backgrounds.

Sometimes it's a disruptive technology. Sometimes it's a terrain advantage. Sometimes it's the Medici family holding endless dinner parties and being patrons of the arts. Sometimes it's a quiet pub on a loud street. Sometimes it's a melting-pot society that funds public education. Sometimes Alexander the Great forcefully unites people along a stretch of coastline. Sometimes it's a small room of thoughtful people committed to changing the world.

dustractor··on Ask HN: What are examples of activities/bets with asymmetric upside?
Buy crypto while I'm awake, sell about ten minutes before I wake up.
dustractor··on World is losing ‘magical’ tradition of human-animal mutualism, study warns
The importance can not be overstated.
dustractor··on Ask HN: What's the next big thing that few people are talking about?
I agree on the issue but not 100% behind the solution. Making food last longer is something we've already optimized with hundreds of years of innovation so it seems like it would be better to focus on other aspects of the issue. Do you mean: Better preservatives? Better packaging? Better Refrigeration? Transportation?

Here's a small example:

An intact cabbage kept in a cool dark place will last orders of magnitude longer than the same cabbage, pre-shredded, in a plastic bag. The intact cabbage needs NO ENERGY INPUT whereas the cabbage that's been shredded and bagged needs CONSTANT ENERGY INPUT. The benefits of shredded versus intact cabbage come in terms of the employer being able to externalize a small amount of labor cost, at the expense of a small amount of extra plastic waste and an inferior product.

dustractor··on Ask HN: Is there a tool / product that enables commenting on HTML elements?
Here's an idea that might work if your org is doing github issues (or some other git host with similar feature). Let's assume you have backend code spitting out the frontend code which still needs to be loaded as a page in a browser to let javascript do its thing before you have the actual DOM you want to inspect and comment on. If the backend is producing your HTML fully formed -- not bootstrapped further using javascript that is -- then you might be able to get away with telling your backend to produce a static version of your site, check that into git, and then people can comment on the individual lines on github by clicking the line numbers to reference that line in a new issue.
dustractor··on The first car ad shows what changed, what hasn’t
Now, if they had called it a shitless horse, that would have been something people wanted...
dustractor··on An installation-art company called META (or Meta.is) is suing Meta (or meta.com)
How can we sue something for being meta when everything is meta?
dustractor··on The GPU shortage is over
Heating and cooling, just like what causes cracks in sidewalks. Fast heating and cooling is worse than slow but there is also electromigration which will increasingly become an issue as our process nanometer size decreases. My friend who majored in CS said his teacher recommended always leaving computers on.
dustractor··on Design lessons from guitar pedals
Hopefully someday when mobile phones stop being such woo woo disruptive technology status symbols, they will be made out of metal and have buttons. Touchscreens 'have' buttons as long as it isn't raining, extremely cold, and you're not wearing gloves.
dustractor··on Ancient Authentication and Integrity Checking
Funny I just read about this topic today on some random tangent. I learned that one of our most advanced methods for tamper-proofing involves red lentils, beluga lentils, and a blink test. https://dys2p.com/en/2021-12-tamper-evident-protection.html
dustractor··on FDA to order Juul e-cigarettes off U.S. market
Looking forward to not seeing gutters full of those usb-stick-looking cartridges.
dustractor··on Permacomputing Wiki
In one of the more obscure Ursula K Le Guin books, there was a passage that has always stuck with me. She's describing a hypothetical society where (to paraphase) they had eventually come to the realization that:

"the computer, once invented, could not be un-invented"

They put most of the storage on the moon, most of the processing power in a network of satellites, and in every village there was a hut with a dumb terminal. The vast majority of the population didn't need computer skills, only the handful of people whose lifetime tenured position was to maintain the hut and the terminal. The only 'useful' function provided by the terminal was you could tell it what you had and what you wanted, and if there were people nearby with complementary needs and wants, it would tell you which direction to walk.

dustractor··on We are removing the option to create new subscriptions
Heck of a convincing advertisement, even if it's not meant to be one.
dustractor··on Construction is life
To each their own, I guess. I guess if your whole life has been in cities where construction often involves de-constructing already-built structures, you might hear the sound of a jackhammer and think "ahh the sounds of life..."

Having grown up in the countryside, where most construction involves killing all the trees on a site by scraping off the top layer of soil, the sounds of construction only makes me think of death.

dustractor··on Show HN: The Bitcoin Note – Secure, Self-Custodial Bitcoin Wallets in Cash Form
Hopefully works out better than Escobar Cash ECH https://pabloescobar.com/
dustractor··on Ask HN: What game do you wish existed?
Grand Theft Pro Skater?
dustractor··on What value can I add to the hacker community if I'm not a programmer myself?
If there's a project you care about particularly, there are plenty of things that usually need volunteers to accomplish. Examples include: making icon sets, making themes, moderating forums, proofreading wikis, translation into other languages...
dustractor··on Ask HN: What are your favorite examples of elegant software?
Projects developed under a BDFL: blender (ton) vim (bram) and python (guido)
dustractor··on The bottom is dropping out of Netflix
Serves them right for cancelling The AO.
← PreviousPage 2 of 3Next →