Better HN
topnewbestaskshowjobs
Log inSign up

code_biologist

1,557 karma · joined Aug 24, 2019 (7y ago) · 534 submissions

Submissions

comment 2y ago · link · parent

I thought the discussion of how PyPI wheel/binary storage bloat could be addressed using Zig's build system was particularly interesting.

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

I'm very surprised the article and the comments there have not mentioned the management coup via shogun CEO replacement at Mozilla. Unfortunate, but I think it just gets worse from here.

comment 2y ago · link · parent

Re, the link: for those not familiar jwz is not a fan of HN. The link will show an image decrying HN as "finance obsessed man children" if you have HN in the Referer header. Copy and paste the link to see the article.

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

I mean, they were pretty good. The founding documents addressed many problems that been seen in British political history. I think they may have lacked tools to prevent two party rule, but some were aware it would be a problem.

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

Please spend a sentence or two explaining the server side filtering mechanism and linking to documentation! I would like to know the conditions required for streaming queries! From the sibling comment and a search of the docs it seems like this is a Parquet only feature, which seems pretty important to note!

comment 2y ago · link · parent

Even if this is mostly false, it does bring up a lot of questions about how and why Laura Chambers was put into the CEO role.

comment 2y ago · link · parent

That is so cool. Watching those SICP lecture videos as a teenager was incredibly formative for me. I still consider myself a knight of the lambda calculus.

comment 2y ago · link · parent

In this job market? Employee leverage is at a low ebb right now.

comment 2y ago · link · parent

Heh, my college signals courses first taught continuous time systems then focused on discrete time in a follow-up course. They assumed you knew enough calculus at the start that Laplace transforms wouldn't be a huge hurdle, even if you hadn't seen them before. Discrete time / Z-transform was treated as more "advanced".

But I agree, I've done enough integrals for a lifetime!

comment 2y ago · link · parent

Though I agree with the point that paper makes (it makes a good case that the little square mental model of a pixel is mostly inappropriate) it does seem focused on imaging and does not mention places where the little square mental model is appropriate.

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

It will match or exceed commercial products if you pick a strong material and print settings. I've printed a ton of toolbox dividers, bins, clamps, hangers, etc out of PLA and PETG and 98% are still going strong after 4+ years. The things I've broken have had either literal hammers or my entire body weight land on them.

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

If you're targeting use within software and engineering teams, that thesis may be right. If you're targeting adoption across whole businesses, I think the thesis is pretty wrong and will end up hampering adoption. To broadly bucket BI challenges, there's first the challenge of getting people to use the thing, then the challenges that come when everyone is using the thing. Tech types seem to underrate the challenge of getting people to even use a BI tool in the first place.

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

I remember getting a cracked version of Shake in high school and using the optical flow stabilization on mini-DV footage for the dumb videos my friends and I made. Worked amazing for the time.

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

If anyone reading this likes handtool restoration but has not come across the "my mechanics" channel, you have to check it out!

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

Obviously immersion brewing is different than percolation, but the 16g water : 1g coffee ratio is exactly what James Hoffman recommends in his "Ultimate French Press Technique": https://www.youtube.com/watch?v=st571DYYTR8

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

One drug advertisement I’ve seen on Pinterest lately says “diet and exercise can’t treat diabetes” which may be true of type 1 diabetes, but last time I checked 90% of the diabetes in the US is type 2 and diet improvements should absolutely be the first line intervention.

comment 2y ago · link · parent

There are obvious charitable interpretations of OP's meaning, but you ask for effort without any yourself. Could you explain what you're unclear about? Could you explain if you ask for clarity at all, or because you have an underlying unexpressed disagreement? Is it about the definitional existence of "excess consumption" or is it the precise details you quibble with?

comment 2y ago · link · parent

I fly Spirit a lot as they have most nonstops on the route I fly most often. I'm not generally a fan, but I like them a lot more since I found out their fleet is entirely Airbus.

comment 2y ago · link · parent

I appreciate the clarification and apologies for the misread of your meaning.

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

I suspect gp is talking about industrial seed oils like corn, soybean, canola, though the nomenclature of "fake" is unhelpful. This paper [1] claims 8-10% of our energy intake is from these. 10% of our calories seems like it could be a big factor.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6196963/

comment 2y ago · link · parent

The term comes from the Nova food classification system: https://en.wikipedia.org/wiki/Nova_classification Do you think the groupings are not sensible?

comment 2y ago · link · parent

It seems like commercial interests are trying to muddy the waters for the definition of "ultra-processed food" in search results. The phrase as originally coined is a product of the Nova classification system [1]:

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...

[1] https://en.wikipedia.org/wiki/Nova_classification

comment 2y ago · link · parent

Contra this article, I'd highly recommend the book it mentions: Ultra-Processed People by Chris van Tulleken. It collates a lot of good studies and evidence that highly processed food is less healthy in and of itself, even if macro- and micronutrient composition is identical. It also covers a lot of the misbehavior and lobbying by food companies, marketing to create addictive behavior, as well as the engineering going on to create hyperpalatable foods.

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

I'm exactly the target audience for this type of tool, a tech leader that has implemented a data warehouse and BI strategy. Some concrete tips for adoption:

- 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

Lol. The most PG blob storage I've used in prod was a couple hundred GB. It was a hack and the performance wasn't ideal, but the alternatives were more complicated. Simple is good.

comment 2y ago · link · parent

Honestly the bloat and ergonomics of heavily customizable generic component libraries aren't great. Copy and pasting a simple component to make the specific customizations you want helps reduce JS ecosystem churn and dependency pain. Popularity of libraries like shadcn/ui [1] are good acknowledgements of that.

[1] https://ui.shadcn.com/

comment 2y ago · link · parent

Accessibility is the metric in software adoption. Raspberry Pi and Arduino have made those computing form factors wildly more approachable for a general audience. Are they optimizing for the wrong metric?

comment 2y ago · link · parent

Forklift (https://binarynights.com/) and Path Finder (https://www.cocoatech.io/) are the two big ones I think.
1
678
18