Hacker Newsnew | past | comments | ask | show | jobs | submit | danhardman's commentslogin

What's the correct way to sort a Rubik's Cube state?


A few people have suggested adding a blacklist for dangerous directories or validating directories are empty first.

Why not just make the API create a new directory rather than selecting one? There's still a risk people create a directory in a shared location - but at least they're only risking the new directory then, right?


I think the intended use case is for things like "give my music player access to my music library" or "open a project directory in this IDE", which wouldn't work well if every app were confined to its own directory.


I guess, but it seems pretty typical to expect to install a new software or start a new project and require some form of loading/importing content in. It wouldn't exactly destroy the experience or at least the trade-off seems worth it imo


Can you add a guest mode that doesn't track my progress and add to leaderboard? I'd like to try it out


Thank you for the feedback. I added guest mode you can give it a try now!


Home Wifi Mesh System - https://www.tp-link.com/uk/home-networking/deco/deco-x55/

Found my WiFi dropping off walking around my house and swapping to using data. Super frustrating but since installing these I've had perfect signal around my house.


on(), off() seems a bit unintuitive in my opinion. I'd opt for something like .watch(), .ignore()


on() and off() are the names that every JavaScript library uses for event handlers; I don't think bikeshedding individual libraries is going to help much.


So currently, users are often redirected to the 3rd party payment service or interact with an embedded form offered by the 3rd party service and the user either has to register/login. Does this mean, in the case of PayPal, users will have to install the PayPal Payment API App on their browsers?


What're the benefits of removing iFrames over using an adblocker like uBlock? Seems like global iFrame genocide would hurt your user experience more. They're not all ads!


This is a bookmarklet, not an extension, so you only activate it when you need it. To answer your actual question: autoplay videos that follow you when you scroll >:|


uBlock origin allows me to select elements and add them to a universal blacklist. Slowly but surely I am defeating all news websites auto-play videos.


> Slowly but surely I am defeating all news websites auto-play videos.

Firefox has an about:config setting that kills them all.


Kind of random comment, but thank you! I switched to Firefox from Chrome a few weeks ago, and one of my major annoyances was that Firefox would play Youtube videos opened in background tabs, even before the tab ever got focus. Seeing your comment gave me the idea to search about:config for a setting related to autoplay, and I found a setting that enables my preferred behavior.

So, thanks!


I work at a bank and not on the tech side so I'm restricted to IE 11 with no addons. iFrame genocide is as close to uBlock as I can get while working. At home of course it's ghostery and uBlock.


I'd like to reference Tom Scott's video[0] here. There is no need for an electronic voting system, paper ballots work perfectly.

[0] https://www.youtube.com/watch?v=w3_0x6oaDmI


Depends on what your need is. If you need to alter votes, it's an extremely good system!


This video is absolutely an amazing summary. Thanks for linking it!


Until you want to scale due to using rapid direct democracy. Paper ballots will still WORK perfectly, but the workload will be massive.


Which is something you can justify IMO for a direct, just, free, equal and confidential election.


The gold standard is paper ballots cast at a precinct, counted the moment the polls close.

In the USA, average precincts are 500 voters. Totally doable. In fact, that's how many jurisdictions did it.


Agreed. I often find the extra initial loading time is worth the improved user experience across the rest of the website once the bundles CSS file is cached.


Did the pot you use have holes in the bottom? It looks like you have it just sat on a desk so I'm assuming it's basically just a bucket?

Your moisture problem could just be that you were relying too much on the water evaporating/being absorbed rather than needing to drain out. Gravel at the bottom of a pot with holes in helps water drain really well. Alternatively, without the gravel you could place the pot on a dish, fill the dish and let the water be absorbed from the bottom up.


Agree.

Alittle more details about watering:

IIRC many plants grows best in the long run if watered thoroughly and then left to dry up a bit in between.

The reason for the drying is the drying causes the roots to grow. And the reason for why it should be really soaked when watered is so that the roots will stretch towards the bottom instead of spreading out on top.

(Correct me if I'm wrong, I left farming school almost half my life ago && English is not my mother tongue.)


Yeah, it drains into a little tray underneath. I'm trying to figure out a better solution for that because we can't see how much water is in the tray, so if too much has drained out, it starts overflowing onto the table with no warning.

Also I get the sense that I shouldn't just be leaving standing water in the tray forever, but it's also pretty difficult to remove the tray and empty it.


Put some pebbles on top of the tray to raise the pot off of it, so it's not sitting in the standing water.


Oh that's a good idea. Thanks!


I usually throw a base of pebbles / marbles into the bottom of any pot before I put the dirt in, which also aids in draining.


Why not connect your tray, back into the Watter reservoir?

This way, it cannot get to Wet, and you could just Pump that Pot full with watter, any excess watter, will just drain through the Soil back into the reservoir :)


Dirty water in the pump is bad.


Put another sensor in your tray wired up to your UI, so as soon as the sensor goes from 0% to 100% for moisture, you know to empty your tray.


what if the tray was the way to detect moisture level? or, you could drip it back into the supply water?


If you are growing from seed, does the bottom up absorption still work or do you need roots first? I tried googling this but I'm reluctant to visit some of the "green" websites that dominate the results from my work computer.


You'll probably want to germinate in small containers, which work fine when bottom fed. I use styrofoam cups that are placed on top of a capillary mat, which draws water from a container underneath. Works great, keepz the soil moist but not wet. I have these in my indoor seed starter; it has temperature controls and fans to keep young plants moving. Works great for mint, tomatoes and peppers. Peppers actually like to be 'abused' a bit - periods of drought, hard winds, large variation in temperature. Makes them very bushy with thick stems. With a computerized system this is easy to implement, but the problem is how to measure the response variable in such a system (or even define it) to set up a fully self-regulating system. The hard- and software in these systems are easy, it's the botany, biochemistry and horticulture that is hard.


Lots of plants like to be top fed. Also roots of different plants can grow differently for aeration. Probably best to educate yourself on horticulture more so than software and sensors.


It depends on how deep your pot is. For normal pots it probably doesn't work without roots.


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

Search: