1,557 karma · joined Aug 24, 2019 (7y ago) · 534 submissions
182.
Zig as a Multi-OS Build System (Interview with Loris Cro) [video](youtube.com ↗)
2 points · by code_biologist · 2y ago · 1 comment
comment 2y ago · link · parent
Re, jwz's point: I'm very surprised the article and the comments there have not mentioned the management coup at Mozilla. Unfortunate, but I think it just gets worse from here.
comment 2y ago · link · parent
From George Washington's presidential farewell address: "However [political parties] may now and then answer popular ends, they are likely in the course of time and things, to become potent engines, by which cunning, ambitious, and unprincipled men will be enabled to subvert the power of the people and to usurp for themselves the reins of government, destroying afterwards the very engines which have lifted them to unjust dominion."
comment 2y ago · link · parent
comment 2y ago · link · parent
But I agree, I've done enough integrals for a lifetime!
comment 2y ago · link · parent
Pictures of cats, subpixel rendered text, or company logo SVGs as displayed on a web page are point samples and not little squares.
User interfaces are good examples of often being little squares. Calling HN's beige background a point sampled discrete representation of an underlying continuous function seems pretty tortured — to me it seems like a bunch of beige little squares.
comment 2y ago · link · parent
PLA is common, really easy to print, vaguely biodegradable, and strong — but it is brittle, will deform under load, and will degrade in UV light.
PETG, roughly the plastic in soda bottles, is a good choice for functional prints and addresses all the problems with PLA but is slightly less strong and is more difficult to print fine detail with.
ABS/ASA will produce prints with strength and durability truly like commercial products, but you need a pretty decent printer + enclosure to avoid warping. Also it produces toxic fumes while printing.
Tradeoffs.
comment 2y ago · link · parent
I've found self serve to be a really effective tool in getting engagement with BI. My onboarding for new non-tech BI users was always to have them build a basic dashboard for the business process they were most focused on. Maybe set an alert or create a scheduled report delivery. By the end of a 15 or 30 minute onboarding session you'd see the click as they realized what they could do with it.
That mess of never ending dashboards has another name: BI engagement. Though a product can help, having core dashboards and KPIs is a social and analytics leadership problem and not a technical one.
Though I have issues with Looker (their dev experience is crappy), their approach to this is effective: make it difficult for self-serve users to get incorrect or nonsense answers, and make it easy for analytics admins to designate core dashboards and jockey a few hundred custom dashboards and reports as the underlying data models change. Every business unit got pretty attached to what they'd built for themselves.
comment 2y ago · link · parent
We made a mini horror film, Donnie Darko style, about a crazy uncle drugging a bunch of his nephew's friends. The scenes where a character was under the influence were whatever crazy color grading and effects I could squeeze out of Shake without deep knowledge. Great times.
comment 2y ago · link · parent
I agree with your assessment, but would add that sometimes fads popularize people with such skill and attention to detail that their success is well deserved. My Mechanics is one of those cases.
comment 2y ago · link · parent
For OP's light medium roast (dark roast prefers cooler temps) Hoffman says high temps aren't a problem and shows hard boiling water lead to peak brewing temperatures of 90-93C: https://www.youtube.com/watch?v=K_r5kpXPRYo Other youtubers have done blind taste tests and found they liked boiling water brews best with light roast coffee.
Not saying your taste is wrong either, just that OP is doing things a way described as ideal by at least one coffee expert! Lots of ways to brew.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
WRT seed oils, here's an article from a Cleveland Clinic dietician acknowledging the issues. Doesn't get more mainstream than that: https://health.clevelandclinic.org/seed-oils-are-they-actual...
If you ever dive down the rabbit hole of seed oil health, the place to start is the distorted omega-3 vs omega-6 fatty acid ratio ("The omega-6 to omega-3 ratio should be ideally 2:1 or 1:1, but for most Americans, the ratio is actually a whopping 10:1 or even 20:1." from that article) and the downstream pro-inflammatory signaling resulting from omega-6 metabolites. Paleo and other alt health people say this causes low grade chronic inflammation, with inflammation mediated disease like arthritis, atherosclerosis, and depression as a further consequence.
comment 2y ago · link · parent
comment 2y ago · link · parent
The Nova classification is a framework for grouping edible substances based on the extent and purpose of food processing applied to them. Researchers at the University of São Paulo, Brazil, proposed the system in 2009. Nova classifies food into four groups:
Group 1: Unprocessed or minimally processed foods - Unprocessed foods are edible parts of plants and animals, along with algae, fungi, and water...
Group 2: Processed culinary ingredients - Processed culinary ingredients are derived from group 1 foods or else from nature by processes such as pressing, refining, grinding, milling, and drying. It also includes substances mined or extracted from nature....
Group 3: Processed foods - Processed foods are relatively simple food products produced by adding processed culinary ingredients (group 2 substances) such as salt or sugar to unprocessed (group 1) foods. Processed foods are made or preserved through baking, boiling, canning, bottling, and non-alcoholic fermentation...
Group 4: Ultra-processed foods - Ultra-processed foods are formulations of ingredients, mostly of exclusive industrial use, typically created by series of industrial techniques and processes. Unprocessed (group 1) foods often compose a small proportion of their ingredients or are even lacking entirely. Ultra-processing often introduces food substances of little or no culinary use, such as hydrogenated oil, modified starch, protein isolate, and high-fructose corn syrup. The manufacturing processes for ultra-processed foods typically involve techniques such as extrusion, moulding, and pre-frying, along with the addition of various cosmetic additives, including those for flavour enhancement and colour...
comment 2y ago · link · parent
My diet's generally clean, but the book was a great reminder/jumpstart with clear guidance (eat less processed food) that's not preachy or prescriptive.
comment 2y ago · link · parent
- Break the dependency on your product. I need to be able to use the library even if your company goes under.
- Add a dbt library that makes it easy to use hashquery within dbt models. It gets you materialization for free and will answer a lot of questions you will get about dbt integration.
To comment more broadly, if you want to be a broad solution, the going trend in data integration seems to be at the warehouse level so you need to have SQL answers.
A bunch of tools all consume from our warehouse (existing BI, reverse ETL, data science systems). A BI definition tool won't work if I can't define segments in a way that all of those can access, even as just tables or views.
Our programmers and data science people know Python and are often very good at SQL, but their time is short and BI projects depending on them have been delayed. Our analysts know SQL, and have the dedicated time to make these projects happen.
This kind of code snippet isn't crazy to put into dbt, and if someone wants to do Python magic in the background they can:
hq_project.models.events_model.with_activity_schema(
group='user_id', timestamp='timestamp', event_key='event_type'
).funnel("ad_impression", "add_to_cart", "buy").as_sql()comment 2y ago · link · parent
comment 2y ago · link · parent