Better HN
topnewbestaskshowjobs
Log inSign up

stephenwithav

9 karma · joined Jan 31, 2017 (9y ago) · 19 submissions

Submissions

comment 2y ago · link · parent

Run this on your Watch Later page in your console:

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

Use an LLM like Llama2 to manage your personal sprints. Have one for 2-week sprints, daily standups, and of course epics.

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 2y ago · link · parent

If your computer's strong enough, install several models with ollama. Learn to prompt, fine-tune them.

https://ollama.ai/library

comment 3y ago · link · parent

Erlang/OTP is great for distributed coding, but how well does Phoenix integrate with AWS/GCP?

comment 6y ago · link · parent

+1.

yasnippets is the best for emacs.

comment 7y ago · link · parent

Siraj is getting bad press from this. It wasn't Siraj banning students, it was a TA who did the banning.

Props to Siraj for not throwing that person under the bus. (Yes, I'm a TA. No, it wasn't me.)

comment 7y ago · link · parent

Can you please open-source this?

comment 7y ago · link · parent

From the early '90s.

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

Do you have a public playlist?

comment 7y ago · link · parent

Use MyFitnessPal to track what you're eating and your goal weight. At the end of the day, it'll estimate your weight in 5 weeks if you ate like that every day for five weeks. (e.g., "If every day were like today... You'd weigh 158.9 lbs in 5 weeks")

It's a good incentive to avoid tempting, but unnecessary foods.

comment 7y ago · link · parent

A C3 spinal cord injury has interfered multiple times, especially with finances and insurance.

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

This happened to me after suffering seizure-induced memory loss last January. It was disheartening, but I'm back to normal now. (For reference, a few weeks post-seizure [mid-February], I thought the 2016 Trump/Clinton election was still 6-8 weeks away.)

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.

comment 8y ago · link · parent

#3 is a good start.

I can't really think of anything that would greatly enhance my current Linux/tmux/emacs setup.

comment 8y ago · link · parent

Sounds doable. I'll prepare for 1.11 with #119 and get familiar with the code base, then pitch in with others.

comment 8y ago · link · parent

Are the issues fully up-to-date or is there more to know before diving in?

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

You have to use a vendoring tool like Glide[1] for now, but Go is actively testing official vendoring support with vgo[2], where you use git tags for versions.

1. https://glide.sh/ 2. https://github.com/golang/go/wiki/PackageManagementTools

comment 8y ago · link · parent

tmux + emacs + emacsclient.

Keyboard shortcuts and extensibility are the keys to success.

comment 9y ago · link · parent

> If not what are the reasons for a startup to stay away from .NET CORE?

.NET's text-to-speech isn't available in .NET Core, much less on Linux.