1,562 karma · joined Aug 24, 2019 (7y ago) · 536 submissions
comment 4y ago · link · parent
but apart from the fact that nobody can agree on what an "integration test" is
Not being precise doesn't invalidate a guideline. The ideas that "stubbing less is better" and "testing functionality end to end is good bang-for-buck" aren't crappy because people don't agree on the details.
it just becomes immediately apparent in a code base of sufficient size that "just use integration tests for everything" is only possible if you severely under-test
Your parent comment said "If we're building a rocket ship, you need both granular testing and coarse testing." Nobody is advocating for integration tests to the exclusion of unit tests. If you write a hash table or a CSV parser, yes you should unit test it.
But for most application-ish functionality you should reach for integration tests first. For example, testing direct message functionality in an app, checking that after a send there's a notification email queued and the recipient inbox endpoint says there's 1 unread will get you really far in 20 lines of code. Is it exhaustive? Of course not. But the simplicity is a huge virtue.
if you severely under-test (which usually includes thing like not properly testing for error conditions etc.)
I advocate "default to integration testing for application functionality". Those focused on unit tests often mock exactly the things most likely to break: integration points between systems. "Unit" tests of systems are often really verbose, prescriptive about internal state, and worst of all don't catch the bits that actually break.
comment 4y ago · link · parent
As an engineer I've experienced dumb deadlines, but I've equally seen wasteful decisions by engineers that are at best resume padding and often legitimately harmful to product and code quality ("let's make this a microservice" lol).
My favorite is when leadership wants something dumb or contrary to reality and engineering teams are happy to build it because they can use fancy technology. Then when the product is delivered late, a little buggy, and users don't actually use it anyway — everyone can shrug, point to someone else as at fault, then rinse and repeat the game. Incentivizing honesty is hard.
comment 4y ago · link · parent
I have met so many people that think their semiconductor manufacturing needs are exempt from the supply chain issue or backlog. [because they are not on a leading node]
Their semiconductor manufacturing needs are not exempt from the supply chain issue or backlog. [for the reasons you explained]
comment 4y ago · link · parent
The channel's older videos have a lot lot of information about fab economics, though I dunno if there's one that has a general cost breakdown.
comment 4y ago · link · parent
most DS/ML scientists use ML models that typically don't provide an easy way to estimate uncertainty intervals
Not an DS/ML scientist but a data engineer. The models I've used have been pretty much "slap it into XGBoost with k-fold CV, call it done" — an easy black box. Is there any model or approach you like to estimate uncertainty with similar ease?
I've seen uncertainty interval / quantile regression done using XGBoost, but it isn't out of the box. I've also been trying to learn some Bayesian modeling, but definitely don't feel handy enough to apply it to random problems needing quick answers at work.
comment 4y ago · link · parent
The universe's history: https://en.wikipedia.org/wiki/Chronology_of_the_universe#/me...
- We can see the cosmic microwave background (CMB), the earliest photons after the big bang still observable. This is ~14 minutes into Jan 1 if the whole age of the universe is a year. Satellites like the WMAP have done a great job of that.
- The dark ages that follow had few photon sources.
- JWST will be observing the earliest stars following that era.
There's a proposed radio telescope (that would have to be on the far side of the moon!) to observe neutral hydrogen photon emissions from the dark ages: https://en.wikipedia.org/wiki/Dark_Ages_Radio_Explorer
comment 4y ago · link · parent
I use Fusion 360 exactly how you say you want to. Just slap some shit on there and then use dimensions and constraints to actually precisely position everything to match my measurements.
comment 4y ago · link · parent
The giant youtube channel Linus Tech Tips has done a recent series of videos on gaming on linux. On Jan 1 they published a 15 min summary video that covers that 70% claim in a much more nuanced way: https://youtu.be/Rlg4K16ujFw
Punchline: it's kinda true, but there's plenty of struggle for new and multiplayer games still.
comment 4y ago · link · parent
Again, if it's zoonotic it's surprising that it would emerge in a city with much less animal trade than somewhere like Guangdong, and in the slow months of that trade.
comment 4y ago · link · parent
ZomboDB is a Postgres extension that enables efficient full-text searching via the use of indexes backed by Elasticsearch. https://github.com/zombodb/zombodb#readme
comment 4y ago · link · parent
Bitemporal stuff (enabling edited versions of history) is where things get hairy and I definitely question the utility outside of a dedicated use case.
comment 4y ago · link · parent
comment 4y ago · link · parent
• HN discussion of holacracy at Valve: https://news.ycombinator.com/item?id=9512866
• Holacracy and the mirage of the boss-less workplace: Lessons from the failures at Github, Medium & Buffer: https://medium.com/battle-room/holacracy-and-the-mirage-of-t...
There's also a classic essay, "The Tyranny of Structurelessness", that is about parts of the feminist movement but directly applies to holacracy at companies.
If you're anti-manager, a small or single person company or consultancy can be great.
comment 4y ago · link · parent
Deck PDF: https://qconlondon.com/london-2017/system/files/presentation...
comment 4y ago · link · parent
Physics Explained is great physics channel that doesn't shy away from math, with derivations of many fundamental equations. His most recent one deriving the Chandrasekhar limit on white dwarf stars from relatively basic physics is great!
The Efficient Engineer is a really good one for clear concise explanations of mechanical engineering principles.
comment 4y ago · link · parent
comment 4y ago · link · parent
What is polyhedral compilation? [about six minutes]: https://www.youtube.com/watch?v=iAF-orse4hE
Polyhedral Compilation as a Design Pattern for Compilers - Albert Cohen - PLISS 2019 [about an hour and a half]: https://www.youtube.com/watch?v=mt6pIpt5Wk0
comment 5y ago · link · parent
comment 5y ago · link · parent
No business user is going to write notebook code, on the other hand I've seen some great exploration, analysis, and dashboarding work done by business users with the right self-serve setup in Looker. dbt + Metabase or Superset seems like a great cheaper / more open alternative stack.
From what I've seen, ML and programmatic stuff is flashy, but enabling business users to easily get tables and bar charts is how you get everyone making more sound decisions.
comment 5y ago · link · parent