Better HN
topnewbestaskshowjobs
Log inSign up

mjgoeke

131 karma · joined Jun 20, 2013 (13y ago) · 67 submissions

Submissions

comment 10mo ago · link · parent

With all the talk about "does the software support fractional bpm" wouldn't you just create it at say 124bpm and then scale down to 123.45 (or whatever) by taking the total length and scaling it by that percentage (e.g. 0.99561926612903225806451612903226). You don't even need to scale it trying to keep the pitch correct. You just speed it up < half a percent, the pitch rises slightly, and you have your perfect bpm.

comment 1y ago · link · parent

That's not a "watermark", keep it to 5% opacity. This is around 13% and very distracting.

comment 1y ago · link · parent

I remember seeing a simple setup very similar to this, but the operator adjusted the camera (and a single screen was used for feedback) but the effect felt like a zoom-in / flyover of terrain. I can't find that video any more, could someone point me to it?

edit: here's something from, wow, 15 years ago. It was like this but more landscape-like in the flyover. https://www.youtube.com/watch?v=eD9rr0gTLSU

comment 1y ago · link · parent

Mobile? afaik node.js doesn't run on mobile. If that's the case the 'copy' doesn't do a good job of highlighting the big value prop.

5.

Show HN: Playwright page object model aware record and repl(github.com ↗)

1 points · by mjgoeke · 1y ago · discuss

comment 2y ago · link · parent

You might check if chrome://tracing helps give more insights: I came across it here

https://youtu.be/easvMCCBFkQ?t=114

comment 2y ago · link · parent

I'm guessing something along the lines of 1 Samuel 13:13 ;-)

https://www.bible.com/bible/114/1SA.13.13

comment 2y ago · link · parent

We're already there! Impose some structure in the textual representation of the song and it'll respect the structure musically:

example - "I only ate 3 cheeseburgers"

https://suno.com/song/c15f0251-fbac-4a30-a3e1-002dbc78cb79/

edit: yes, I agree this example amusingly reinforces the rest of what parent is saying

comment 2y ago · link · parent

Location: Oregon

Remote: yes

Willing to relocate: no

Technologies:

Typescript/Javascript, C#, HTML/CSS, Vue, SQL, noSQL, Bootstrap, Azure Devops/Github Actions, Kubernetes, Docker, Node.js, functional programming, CQRS, unit and automated testing

Résumé/CV: upon request via email

Email: michael[dot]goeke[plus]yc[at]gmail[dot]com

Laser focused Principal Software Engineer adept at delivering best in class solutions on time, on budget, while building a kick ass team in stride. Fearless and empathetic communication - break down walls, find and create alignment, empower those around me. Technical genius. Polymath and autodidact. Clear and concise communicator.

comment 3y ago · link · parent

I've appreciated a lot of parts of this book and was wondering if I could share it with others in some way.

I like to see the actual content of a book before I buy it to know if it resonates with me.

I found the book's table of content with links to the content is available, so I linked that here. Hopefully you get something out of it, and buy either the digital or paper copy if it speaks to you.

11.

Hell Yeah or No (2020)(sive.rs ↗)

1 points · by mjgoeke · 3y ago · 1 comment

comment 3y ago · link · parent

My first thought is, are they differentiating between people who buy vinyls for themselves vs someone who has a record player?

Seems like they may be jumping to conclusions here.

comment 3y ago · link · parent

I have a very different set of problems/concerns in my current project and when I walk through the website most of it isn't mapping into my current problem+solution space.

The problem this is solving may be obvious from your perspective, but it isn't from mine, and maybe others.

I don't know I need your solution unless I see I have a problem.

Perhaps there are a few simple, general problem cases this solves. If so you could characterize those in context+problem+solution brief narratives. That could help others get on the same page as your solution.

comment 4y ago · link · parent

This.

And this is true for reasons I didn't understand when I was soley technical and younger.

At the end of the day people - _teams_ - want people they can trust in. That doesn't mean you handle things flawlessly, or that your boss can necessarily "set it and forget it" with you. Being trustworthy and responsible means acting out of good intent. Take a breath, keep your head on straight, look at the slightly bigger picture, and make reasonable choices. Communicate. Act as if the world isn't on your shoulders - because it isn't.

Take a step back, realize that we're all people, trying to make good decisions, and we're responsible to work with the outcomes and address problems as they arise.

I've found I grow by leaps and bounds when I embrace this.

comment 4y ago · link · parent

I'm actively developing this, here's my list of next things:

  * make the tool author new page-object-model files
  * workflow to append to page-object-model files
  * support nested page-object-models better (scope selector)
  * make playwright selectors work both ways (only work one-way right now, generating, not executing)
  * page-object-model patterns flexibility - embellish recorder rules with method parameters
  * add an animated gif to the top of the readme showing usage
  * clean up ui
    * margins/alignment
    * add toggle to show/hide

16.

Show HN: I Made a Playwright Recorder(github.com ↗)

2 points · by mjgoeke · 4y ago · 1 comment

comment 4y ago · link · parent

Yes exactly! Our behemoth of a web app was taking 25s initial load time (much faster when cached so it just wasn’t a priority to fix performance). Average test run time for a workflow test is 2 minutes. That means when authoring them and I’m trying to get selectors and crap right it takes me 5 tries for the next line of the test, waiting for 60-90s between each try. The result is it takes 3-4 hours to author a single medium complexity test. And my brain is mush for the rest of the day. I hated that and would subconsciously avoid writing tests.

What I’ve developed allows me immediate feedback every step of the way. It makes it _fun_ again so I can keep my head in the game and finish a test in 15-20 minutes and feel accomplished instead of burnt out. I’ve also taken an approach where the tooling (especially the recorder, and soon the page object model support) brings you 80-90% off the way there, but _always_ plays well with user created code - it has some loose basic expectations of the interface, but it doesn’t need to own the generated code - that’s just a starting point for you to improve it.

Super excited. My company already has a precedent for open sourcing projects so I’m hoping this won’t take more than a week or two to get it there. I’m on vacation for a week but plan to finish the page object model story when I get back.

comment 4y ago · link · parent

Hi!

I created a library at work that I'm pushing to get open sourced now. It provides live coding functionality for Playwright tests.

It also has an extremely powerful user configurable recorder.

I'm looking to add support to make it page-object-model aware next.

It took 2 weeks to make so far, is < 100 lines code in playwright test side and < 100 lines code in the browser side to do the entire thing.

Everything kept folding down smoothly and (almost) perfectly.

I'm very proud of it :-)

19.

Live Coding in Playwright(twitter.com ↗)

1 points · by mjgoeke · 4y ago · 3 comments

comment 4y ago · link · parent

I have wrestled with my own demons, some similar to yours. What I found was I was missing authentic friendship and connection with people. This was a long process, but the first step was to find safe trustworthy and interested people.

For you, some actionable steps: Finding a good counselor is an excellent step. I won’t try to advise how to go about that, others have done a much better job than I could. One key would be to take action (and keep taking action). Also don’t just settle with the first counselor you find. Try several and choose which one helps you move in the right direction most.

Secondly I have personally found Headspace’s mediations on Loneliness and on Anxiety very helpful on a physiological level.

Everything else I have is less actionable.

Our hearts and emotions matter. Compassion matters. People being compassionate toward you, and you toward yourself. Being seen for who you are matters.

Your history indicates deep wounds. When our wounding comes within the context of relationships, healing also ends up needing to come from relationships. This will take time. You will have to find people you can trust.

Life is more than getting by. Find yourself, and find people who love you and respect you, as different as you may be. This is a wake up call, who you are is signaling that you need more.

comment 4y ago · link · parent

I have mixed feelings about this.

I suspect Haskell has enough base-level complexity to be productive in it that it gets in the way of its adoption.

Contrast that to say writing something to serve http requests in Go. The number of complex concepts or idioms in related library pieces is comparatively very low. [0]

I’ve found the complexity of the solution should match the complexity of the problem being solved. If the solution has equivalent number of moving pieces and choices as the problem space requires, then it’s been made “as simple as possible, not simpler”. This is where some languages (tools) are better suited to a problem than others. Don’t reach for imperative patterns when css declaratively does what you want and has matured enough to have boiled down the very good ways of doing it.

I like Joe Armstrong’s approach of writing and then iterating a solution (a method, part of a feature, whole feature) until the extra dead material falls off.

So like I said, I have mixed feelings about this. It’s a shame to have to add artificial complexity.

[0]: Go and it’s libraries are admittedly not a perfect example. I find Go leans a little past the edge in trying to make things simpler than they actually are. But it’s not too far off.

comment 4y ago · link · parent

I can’t speak for the entire spectrum available. But I have two data points and am shocked at the difference, since I expect none. At home I have a rancilio rocky grinder, bought used, newly replaced burrs. It’s “stepped” so I don’t have much fine tuned flexibility - I’m basically choosing between only two or three steps for espresso.

My friend has a Pharos manual grinder. I’ve come over to help his wife adjust the grind several times. I bring the same beans I’ve been using that week as a reference point. I’m always shocked how much better theirs tastes - even far-out-of-optimal shots - ones that are very fast or very slow. On my machine the unpleasant overextracted flavors creep in quickly. I chalk it up to consistency of the grind - and that’s observable. You can pinch grinds up and “smear” them across a white sheet of paper to observe size, and to a lesser extent, variability.

I’m still surprised that the grinder affects the espresso more than the espresso machine.

Note: the Pharos is a beast and I don’t recommend it unless you like armwrestling as part of you coffee prep every time.

comment 4y ago · link · parent

upvoted - and MPC-HC isn't really available anymore - MPC-BC is a good replacement

comment 4y ago · link · parent

In 5.1/7.1 audio mixes, the center channel is the magic channel with the dialogue.

It gives plenty of control. It's pretty great in practice.

comment 4y ago · link · parent

The fix for me has been surround sound.

I have the center channel bumped several steps louder than the others on my receiver. This makes a world of difference over stereo mixes. (I will admit the voice sound can be more uneven - wind noise etc starts to show through)

Hmm, thinking out loud - I bet a multichannel mix could be calibrated on your system to bump the center channel, even if outputting to 2 speaker

comment 5y ago · link · parent

Oh gosh, me too. I recall calling a number in the back of a magazine to buy VistaPro 3. I was a dirt-poor kid at the time. I asked for the upgrade, and was worried because I didn't own v2, just the first version. They laughed and said it would work fine.

It came and was the full install, they were just giving a discount if you owned the previous version. It came with two additional CDs filled with DEMs. One with DEMs in the US, the other across the world.

Fun times, getting lost in the madness of creating.

comment 5y ago · link · parent

I work in C# but have come to a similar conclusion to his note at the top of his article.

C# supports extension methods, so if you want you can augment the original 3rd party class with your own (chaining in this case) methods. Or author your own “fluent interface” on your own classes, as he’s done here.

I’m the end, most of the time I found I was wanting a function ‘forward composition’ operator (like F#’s |> ). And the only place the chaining methods really made sense was factory classes/methods for complex declarative configuration.

The only ones that stuck for us were ORM mapping declarations, and factories for setting up complex domain specific data setup in tests.

comment 5y ago · link · parent

Sorry, no strong point. I was just pondering that the issue is inattention, and imagining google, who spends the most money, ever, on capturing human attention, taking the next dystopian step.

comment 5y ago · link · parent

Oh gosh no. I can see it now, google self driving car with built in “captcha” where it checks your response time to the “fire drill” alert tone to take over driving. That’ll train us. Probably the perfect time to show an advert too. Our attention is pulled, and the adrenaline is pumping…

Or would that just train us to ignore the ‘take over tone’?

123