Better HN
topnewbestaskshowjobs
Log inSign up

code_biologist

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

Submissions

comment 4y ago · link · parent

> beyond a certain scale it's always better to run our code in our hardware.

When OP says "We've only scratched the surface of the cloud-enabled TAM." I think he's referring specifically to below that scale, where they mostly don't have in house operators.

comment 4y ago · link · parent

I think that "operational analytics" covers a portion of what the OP meant: allowing data analytics to help run and make business decisions at a day to day level.

> Using amazon or azure to host your service?

Yes, the the cloud helps businesses understand, manage costs, and scale without the headaches of haggling with Oracle or enterprise providers. Also, less in-house infrastructure labor needed. Cloud is even easier if a data service provider is managing it for you.

> Charging by subscription rather than upfront?

Yes, SaaS margins and cash flow structure are something investors love about the data services space. SaaS is not going away.

> Mining your customer's data for fun and profit?

Well, enabling your customer companies to mine their own data for their fun and profit, with less engineering labor and more operable outputs.

comment 4y ago · link · parent

It is ok to not be smart.

comment 4y ago · link · parent

How do you value equity in a public company like Netflix or Shopify? I don't think you're wrong, taking it further it's really hard to value anything but AAMG (not FAANG lol) at face value.

comment 4y ago · link · parent

One of my favorite explanations of how to do incremental versions: https://stripe.com/blog/online-migrations

comment 4y ago · link · parent

Yeah, being handwavy about IA is absolutely a common sin of weak designs. I love getting a design that's technically sound, not just pretty.

Another problem I've seen at work with the "design first" approach vs planning for technical feedback on an initial design: our frontend engineers would take the design and implement it exactly as is, papering over differences between the data entry and the underlying data model as needed — then users get confused about what exactly each option or interaction does. It's close enough to be serviceable (and not get fixed) but different enough to be annoying.

comment 4y ago · link · parent

For reference I'd say the "current async framework" is either Starlette [1] (low level) or FastAPI [2] (high level) for web stuff, and trio [3] for more stupidproof general async than twisted. IMHO of course!

[1] https://www.starlette.io/ [2] https://fastapi.tiangolo.com/ [3] https://trio.readthedocs.io/en/stable/

comment 4y ago · link · parent

Outside academia you need to do a lot of data cleaning and feature engineering, and if you’re constantly changing the model as well as the data you’ll never be able to attribute changes to either.

I get the concern but sometimes I really just do want a black box regressor or classifier. Model performance monitoring is important, but I don't care about attribution.

Chances are a DBA wouldn’t consider letting you do data engineering in a live production database anyway, so this really is all academic.

Maybe it isn't data engineering, but I'm curious what you'd call using Google's BigQuery ML? "BigQuery ML enables users to create and execute machine learning models in BigQuery by using standard SQL queries."

I haven't used it in production, but I'd use it in a heartbeat if I was on BigQuery.

comment 4y ago · link · parent

Data engineer here. Lots of great posts on data stuff is one of the reasons I love HN.

comment 4y ago · link · parent

100%. Feasible timing attacks mean we must look at all speculative execution with suspicion. But dang that's a lot of performance to give up.

comment 4y ago · link · parent

I don't want to dismiss hyper-threading as trite — it's not, especially in implementation, but it is pretty obvious.

Prior to 1994 the CPU-memory speed delta wasn't so bad that you needed to cover for stalled execution units constantly. Looking at the core clock vs FSB of 1994 Intel chips is a great throwback! [1] Then CPU speed exploded relative to memory, as was probably anticipated by forward looking CPU architects in 1994.

With slow memory there are a few obvious changes you make to the degree you need to cover for load stalls: 1) OoO execution 2) data prefetching 3) find other computation (that likely has its own memory stalls) to interleave. On the thread level is a pretty obvious grain to interleave work, if deeply non-trivial to actually implement.

Performance oriented programmers have always had to think about memory access patterns. Not new since the 80s to need to be friendly to your architecture there.

[1] https://en.wikipedia.org/wiki/Pentium#Pentium

comment 4y ago · link · parent

> Ctrl-K to kill a line...

The text system also has a basic kill-yank separate from copy paste. So you can Ctrl-K to kill a line, then Ctrl-y to yank it out elsewhere in basically every text input in the OS.

comment 4y ago · link · parent

^^^ you mean ctrl-a and ctrl-e? But yes, +100 to the caps lock → ctrl remapping. Trivial to do in the keyboard "modifier keys" setting, and makes emacs text movement extra fast.

comment 4y ago · link · parent

What is an example house brand? Amazon? I understand your reasoning and it makes sense, but I'm not sure what brands that actually means, or how to find them.

comment 4y ago · link · parent

For those interested in such things, I found this interesting thread [1] with lots of brand names to look into, although no easy answers.

Looking at Vollrath's line, their 59300 Mirage Cadet hob at $350 has only 20 power settings, and the 59500P Mirage Pro at $680 has 100 levels (but with not-great reviews...).

[1] https://www.houzz.com/discussions/5590893/induction-cooktops...

comment 4y ago · link · parent

Hah, I've seen the Control Freak and it looks cool. At $1,450 it's uh, a little out of my budget.

comment 4y ago · link · parent

Does anyone know of an induction hob with adjustability that doesn’t suck? My current one has 200-300 watt jumps between power output settings and it seems stupid that I can’t adjust in 5 or 10 watt increments instead!

comment 4y ago · link · parent

These numbers do not agree with that assessment: https://www.npp.zp.ua/en/safety/arms

Link is from a comment by Gustomaximus.

comment 4y ago · link · parent

Dumb question, but what have you replaced it with? I’ve been working on setting up Proxmox/LXC on a box at home as we speak — but if it’s not worth the headache I’ll stick to VMs.

comment 4y ago · link · parent

You misremember:

The version control software market has evolved a lot since Bitbucket began in 2008. When we launched, centralized version control was the norm and we only supported Mercurial repos.

https://bitbucket.org/blog/sunsetting-mercurial-support-in-b...

Github was launched in April 2008 [1]. Bitbucket is harder to find, but was definitely around by June 2008 [2]. Mercurial vs git was definitely the defining difference between the two initially, though the Rails ecosystem exploding onto Github made a huge adoption difference. git being faster + built in support for rebasing was big was well.

[1] https://web.archive.org/web/20160409191635/http://www.startl...

[2] https://web.archive.org/web/20110317200833/http://code.djang...

comment 4y ago · link · parent

Thank you Simon, I greatly appreciate the release notes / Changelogs in your projects!

comment 4y ago · link · parent

My first comment here a few years ago was on "A Codebase is an Organism" https://news.ycombinator.com/item?id=20787848 I repost it because I think catabolism of old concepts and systems is an important part of keeping older codebases alive.

Catabolism is another aspect of thinking about code as an organic entity that I find useful. Anabolic (growth) processes and catabolic (teardown) processes always accompany each other in biological systems. Too often we neglect to continually tear down and remove unused aspects of our systems. Both anabolism and catabolism are always operating, though at different rates depending on the environment and needs of the organism. The funny thing is that catabolic processes will happily tear down important parts of the system, forcing them to be anabolically rebuilt. Things like bone and muscle mass. This seems wasted, but it has an extremely important purpose: uncontrolled anabolism is cancer.

I think the analogy to code is obvious. We've all seen codebases that have gotten out of hand (gotten cancer), and part of the reason they got that way is because the growth pressures had no countervailing teardown pressure. The market provides selective pressure in nasty ways: codebases and systems with cancer slow and die, and are replaced by younger codebases without uncontrolled growth.

How do we break that cycle? By encouraging catabolic activity culturally within our companies and codebases. Cleanup is incredibly valuable. Functionality that isn't being heavily used and is complicating implementation of new work should absolutely be on the chopping block. We don't have to be quite as aggressive as biological systems, but we shouldn't take their example lightly either.

This also provides insight into when cleanup doesn't matter: when the survival horizon of the organism is sufficiently short that cancer frankly doesn't matter. Startups shouldn't worry too much until they have product market fit. Once it's clear they'll be around for years more though, catabolic work will help ensure future health.

comment 4y ago · link · parent

There's already progress on that from a different angle: https://news.ycombinator.com/item?id=29005573

comment 4y ago · link · parent

Seems normal to me. Why would the pump-n-dump crew promote anything but positive articles?

comment 4y ago · link · parent

Folding Ideas' new (2 hour podcast-ish) video "The Problem With NFTs" is a really good critique of cryptocurrency: https://youtu.be/YQ_xWvX1n9g

Covers pretty much every thought I've ever had regarding centralization, privacy issues, proof of work and proof of stake both rewarding the rich, economic incentives in speculative markets, NFT hucksterism — but with detailed research and examples of each. Some of the NFT security stuff is jaw-droppingly bad.

comment 4y ago · link · parent

I'll match your anecdote with mine. I'm an engineering leader at a small company that has worked at FAANG. I have personal mixed feelings about working at FB, but it's a very strong positive signal about someone's engineering ability (and comp expectations lol). Send any good coders you toss out because they worked at FB my way!!

comment 4y ago · link · parent

I mean, writing code is a big part of the job? I bet they asked behavioral and system design questions too, even though I'm sure he solved business problems and designed systems in 8+ years at FB. Why interview in the first place, why not just give him an offer up front?

Interviews aren't fun, but there's not something "wrong with the industry" if the questions are relevant to the work. He even complimented their choice of programming questions.

comment 4y ago · link · parent

PostGIS is amazing. The types of queries you can write continually blow my mind. One warning is that ultra fancy queries can be pretty slow if you're going beyond a million rows. Some tips:

• Materialized views with indexing are an easy way to solve many speed issues where you'd like to use a fancy query quickly.

• The GEOGRAPHY data type is great for data integrity, but often slower for queries. I've made sure our primary data is stored as GEOGRAPHY then added expression indices [1] casting to GEOMETRY. Spatial joins and filters can be done on the casted column where faster queries are needed.

• Source data is often very high resolution. If you don't need it, simplifying high accuracy data (5m or whatever) to something much lower resolution (500m, 1km, or whatever) in a derived view or table using PostGIS' simplification functions can greatly improve spatial predicate performance.

[1] https://www.postgresql.org/docs/14/indexes-expressional.html

1
1415161718