9 karma · joined Jan 31, 2017 (9y ago) · 19 submissions
comment 2y ago · link · parent
let x = $x;
let buttons = $$('div#contents div#contents div#menu button');
let delay = 1000;
for (let i = 0; i < buttons.length; i++) {
setTimeout(() => buttons[i].click(), 100+(i*delay));
setTimeout(() => x("//span[contains(text(), 'Remove')]")[0].click(), 800+(i*delay));
};...increase delay if needed.
comment 2y ago · link · parent
Prompt it to help you develop a plan. I use ollama.ai to help me.
Example:
https://github.com/stephenwithav/Modelfiles/blob/master/busi...
edit: It doesn't provide perfect results, but it gives you a good start.
comment 7y ago · link · parent
I miss the simplicity of a 320x200x256 screen. Want to access the pixel at (0, 0)? $A000:0000.
I miss FIDONet.
I miss the big GOPHER network.
I miss the the variety of monthly ANSi packs.
I miss ACiD.
I miss the wonder and amazement of the demo scene.
I miss the community feel.
comment 7y ago · link · parent
It's a good incentive to avoid tempting, but unnecessary foods.
comment 7y ago · link · parent
My advice?
Automate as much as possible; Ansible, Docker, Kubernetes, and kubespray are great.
Build what you can, when you can. Try not to stress when you can't.
Learn to meditate by focusing on your breath. A calm mind is very helpful for productivity.
Establish a routine. Stick to it as best you can. (When my routine is thrown off, I'm very unproductive. Meditation helps reset my focus.)
Buy an Echo Dot. Use repeating reminders to remember the day-to-day stuff (e.g., meds) so you can stay in the zone without neglecting your health.
Keep well-named, well-organized bookmarks relevant to your illness; searching your browser history with a cloudy mind when sick is a PITA.
Learn systems biology. View it as a FSM initially so you can properly debug your body and communicate with doctors when it fails you.
Those are the tips I live by right now.
My coding work won a startup competition a few years back, but the terms of the deal weren't favorable to me due to my disability, so I turned it down.
One grand mal seizure a few months later, I forgot that I was a coder with ambitions. (The flip-side to that: I forgot that learning to code was so much fun, so I focused on languages I previously avoided.)
The project from the competition is almost completely rewritten to be nearly autonomous.
comment 7y ago · link · parent
Read the basics, implement them, understand their tradeoffs, then build cool side projects that require their use instead of worrying about the best way to implement a Red-Black tree.
The basics are tools you use. The projects you build with them dictate which tools will stay fresh in your mind.
If you don't need the tool, remain aware of them, but don't stress over not remembering the low-level details of something you haven't touched in years.
16.
Ask HN: Any small-to-medium-sized Go team need a contributor/project lead?
2 points · by stephenwithav · 8y ago · 4 comments
comment 8y ago · link · parent
1. https://glide.sh/ 2. https://github.com/golang/go/wiki/PackageManagementTools