Better HN
topnewbestaskshowjobs
Log inSign up

code_biologist

1,562 karma · joined Aug 24, 2019 (7y ago) · 536 submissions

Submissions

comment 5y ago · link · parent

I'm willing to trust the author's claim that semantic class names are the reason CSS is hard to maintain

Here's a great talk on why he asserts that: https://www.youtube.com/watch?v=J_7_mnFSLDg

Not sure I 100% agree, but I appreciate the fresh look at oil patters.

comment 5y ago · link · parent

The transaction behavior is fine, it's more that I've had people delete function declarations from scripts while never cleaning them up in the data warehouse and then you end up with old functions kicking around in prod. My use case is mostly warehousing, not application stuff, so I don't care about full blown migrations. Just "these are the functions that we have declared for use, no more no less".

It seems like with DBT we're getting to declarative table construction, but I'm looking forward to declarative maintenance of other data warehouse aspects.

comment 5y ago · link · parent

How do people deploy this stuff declaratively, especially cleaning up old functions? I'm still surprised something terraform-esque doesn't exist.

Bunch of SQL scripts with "CREATE OR REPLACE" and cross your fingers? Make a schema that a script can wholly own, then blow the whole thing away and reinitialize in a transaction?

comment 5y ago · link · parent

To my knowledge, AWS RDS Postgres does not support PL/Python, if that's your database.

comment 5y ago · link · parent

I suspect in GP's case there was something blocking the intersected range. That should work perfectly.

The poetry author doesn't want to support package version range overrides like yarn does [1]. His call I suppose, but I think it's the one major flaw in the otherwise giant step that poetry takes forward.

[1] https://github.com/python-poetry/poetry/issues/697

comment 5y ago · link · parent

Both of you are 100% right. Will be interesting to see how this seemingly no-win scenario plays out for the ecosystem and toolchain, beyond just the Docker products.

comment 5y ago · link · parent

Worse is better, it still seems.

comment 5y ago · link · parent

There's a huge unstated detail there: to access that non-unicorn capital you need to be recurring revenue SaaS. The older focus on unicorn outcomes allowed for more creative revenue models and higher risks. Companies that don't have revenue really figured out but have an ultra compelling product can get unicorn-targeted funding.

The VC interest in these smaller companies is predicated on the revenue and valuation multiple predictability that comes alongside recurring revenue SaaS. Much lower risk for an investor. The margin structure of these types of companies is a nice bonus. If you're a founder trying to get access to this reduced-target capital you need to have 10%+ monthly recurring revenue growth, gross margins above 70%, and ideally a clear acquirer.

Not affiliated with this group, but this article explains in more detail: https://leadedge.com/why-we-like-saas-businesses/

comment 5y ago · link · parent

It really annoys me that whenever I argue for "don't write bugs" as a quality practice, people immediately respond with all sorts of justifications why that's not possible. Of course it's not. But that doesn't mean we can't improve.

We spend time and money on CI, linting systems, sprint retros — so the allergy to "think more carefully about what you wrote" surprises me.

comment 5y ago · link · parent

At risk of being a brusque, why are you posting this then? It's a waste of time. If you had posted rough technical details of your initial offering you could have gotten real feedback before the launch of the product itself.

comment 5y ago · link · parent

I've found rmlint to be another very good tool in this space: https://github.com/sahib/rmlint

comment 5y ago · link · parent

Look into info about Jane Street and other HTF firms' manipulation of OTC stock prices via dark pools, as well as abuse of the authorized participant status to use the ETF mechanism to naked short sell (not just index arbitrage). The liquidity that's being provided is at the expense of real price discovery and is being used to con retail investors.

If you search for "David Lauer interview", he's a former Citadel HFT that has spoken out about how the funds operating right now are a world away from the platonic ideal of market making you speak to.

comment 5y ago · link · parent

Thank you for the links! I wrote my own crappier helper to "stitch" a conflicted branch back up to date with upstream. These are great.

Stitching together individual conflicted commits makes it obvious whether a conflict is purely textual or there's a true semantic conflict. I think a lot of programmers have a panic reaction to merge conflicts, don't think about what the conflict actually is, then introduce bugs through mistaken merges.

comment 5y ago · link · parent

What remote whiteboarding tools do you like? I do a lot less whiteboarding these days and it kills me.

comment 5y ago · link · parent

I can't speak for XState specifically, but I will say that state machines shared across the frontend and backend are a great way to manage complex workflows. The guarantees that come with a state machine help to stupidproof a whole lot of application logic.

comment 5y ago · link · parent

This. I work in the industry and this is the reason.

comment 5y ago · link · parent

Reminds me of Paredit, an emacs mode for structural code editing and navigation for lisps. It keeps the parse tree valid even as you do crazy stuff.

http://danmidwood.com/content/2014/11/21/animated-paredit.ht...

comment 5y ago · link · parent

I'd echo the sibling comment, but also add that thousands a month isn't that much if you have a profitable idea that is internet scale. Thousands a month is the cost of one software engineer.

comment 6y ago · link · parent

Thanks for the tip, really appreciate the actual commands. I'm wondering if anyone else is running into this:

    $ brew install ffmpeg --with-ffplay
    Usage: brew install [options] formula

    # Install flags here, nothing about --with.
    Error: invalid option: --with-ffplay

comment 6y ago · link · parent

When arguing against small classes and methods by default, he's in good company: http://number-none.com/blow/john_carmack_on_inlined_code.htm...

Prior HN discussion: https://news.ycombinator.com/item?id=12120752

comment 6y ago · link · parent

I came into this thread hoping to find the suggestion near the top.

Beyond his credibility as the creator of Tcl, in the talk he gave at Google about the book [1] he describes the course he teaches that was the inspiration for the book. The course is to write a word processor with a team and extended it with features over the semester, swapping codebases between teams so occasionally you have to work with other's code. Essentially the largest possible code project you can fit in one semester. Along the way, Ousterhout will give a deep code review of the each project. I think it must be very insightful to see the same project implemented so many ways, and to see what works in terms of simplicity and extensibility.

[1] https://www.youtube.com/watch?v=bmSAYlu0NcY

comment 6y ago · link · parent

Yep, typically you'd do it by persisting the Redux state. redux-persist is a popular library to do that to localstorage and other backends: https://github.com/rt2zz/redux-persist

comment 6y ago · link · parent

I found this lecture series and I'm very much enjoying it, but the presenter's whole youtube channel is a gold mine for anyone interested in linear algebra topics as well.

504.

Control Bootcamp – A lecture series on optimal and modern control(youtube.com ↗)

1 points · by code_biologist · 6y ago · 1 comment

comment 6y ago · link · parent

Can you post a link?

comment 6y ago · link · parent

http://archive.is/zxK0b

comment 6y ago · link · parent

If you're into biology, Nick Lane's books will blow your mind. Two in particular I'd recommend:

1. The Vital Question - An explanation of the genesis of complex life through bioenergetics. Explains why complex life is likely very rare in the universe.

2. Power, Sex, Suicide - Why mitochondria are awesome, and also responsible for the emergence of sex, cancer, and mortality.

comment 6y ago · link · parent

The real issue is the timeline and structure of work "until it is time to reopen".

Let's be clear, it will be time to fully reopen once we reach near-herd immunity or we have a vaccine with fairly widespread deployment — say 12 months out?

Until then, restaurant and bar demand seems like it will be weird: takeout should recover, social distancing and masks heavily affecting dine-in, and zero major social gatherings (crowded bars, concerts, festivals, sporting events, etc.).

So the question is: can the state support the workers serving the latter end of the food and drink service spectrum for 12 months? I think it's going to be ugly.

comment 6y ago · link · parent

Have you tried to get your hands on any of the Intel HEDT parts? There's little to no supply and the supply that does exist is heavily marked up. 3950Xs and Threadrippers are in stock everywhere.

comment 6y ago · link · parent

It already sounds like the environment in Intel isn't great, and a lot of the staff dynamics are very driven by cost-cutting. Great video on youtube posted in the last week with a bunch of leaks from Intel employees: https://youtu.be/agxSclh27uo
1
1415161718