HNHacker News
TopNewBestAskShowJobs

thepratt

88 karma · joined April 5, 2017

submissionscomments
thepratt··on Apple Business
Our recent (ongoing) experience with Apple Business Manager is just as bad. With no reason or contact they've sent "we can't verify so we've disabled your account because you don't meet the requirements". We ring support and they tell us to try again with no additional information. We then get "we can't verify so we've deleted your accounts" with no information. "Amazing" "experience".

This is also after they've verified us (and our DUNS number) for app signing and distribution. We already have a verified account in another service of theirs!

thepratt··on Iran begins cloud seeding operations as drought bites
Dubai has an entire active operation. It looks like it does work, but how well is debated. Seems to have enough of an impact (correlation or causation) that they haven't shut it down yet.
thepratt··on How to improve your WFH lighting to reduce eye strain
Great set of suggestions.

I experience a fair amount of over lighting on some calls due to my monitor (a 42" Dell thing, maybe sitting 50-60cm away). Most things I use have dark mode, but when someone shares their screen and it's pure white I end up looking like an apparition. Does anyone have any additional suggestions where the monitor itself is the cause of the excess light? Is distance a helping factor (someone else mentioned 1.5m away from their 85" TV)?

thepratt··on I Hacked My Friend's Phone to Show How Easy It Is [video]
That's not entirely correct. The main purpose is how US federal agencies handle stuff such as digital identities, this includes all digital identities - employees and citizens/other. Private institutions can use it as guidance for whatever purpose. You can find this information in the abstract of revisions https://pages.nist.gov/800-63-3/sp800-63-3.html
thepratt··on I Hacked My Friend's Phone to Show How Easy It Is [video]
I'm surprised they're putting SMS 2fa in now. In 2016 the NIST released new guidelines that essentially "banned" SMS 2fa use. It's heavily suggested that US banks follow NIST guidelines, I'm unsure if there's any actual legal requirement for them to.

You could always send the portion of the guidelines to as many credit union people as possible. Someone may bite.

thepratt··on Sharing data types on a multi-language project
Why would JSON Schema not work here? Both languages have libraries to emit/parse.
thepratt··on Deno 1.33: Deno 2 is coming
To me this is quite similar to the Erlang VM's ETS in-memory store. There's a lot of usefulness in ETS itself, especially how it distributes inside clusters. Having an easy to use, efficient, and optimized store as part of the language can be a good enabler. Only time will tell if it is/isn't.
thepratt··on UK Blocks Microsoft’s $69B Activision Deal
https://archive.is/2mV5g
thepratt··on Elixir `dbg` lets you inspect every step of a pipeline, set breakpoints
Are you aware of iex sessions (the repl)? If you start your elixir application via iex, you have a repl available alongside your running application. e.g. iex -S mix phx.server
thepratt··on Show HN: Do I need an umbrella today?
The UX confused me a little.

I was first expecting the ability to see if I needed an umbrella _now_ compared to in the future.

Then I got stuck for a little while trying to change the location from SF, I couldn't tell where I needed to click or that I did end up focusing something. The top line to the form sort of looked like it was trying to be a material design field, and the card with SF in it looked like it was supposed to be editable - it is editable, I just happened to only be clicking on the pin (and didn't notice the slight state change when I found the input).

If you auto-detect a timezone, it's probably better to guess that as a default location vs SF?

thepratt··on Show HN: OnlyRecipe.app – Remove clutter from recipe sites
Being able to tell if it's a US or non-US cup for conversions is something that would be great too. I first look for grams/oz/other as units, then fall back to primary intended audience/publisher being American or not.
thepratt··on Ask HN: Who is hiring? (August 2021)
Project Appia – Brit Insurance | Senior Frontend Engineer & Senior Backend Engineer | Full-Time | London, UK | Part Remote (within the UK)

Project Appia is a Greenfields project incubated within Brit Insurance. We’re looking for two (2) talented individuals to help bring Appia to life. The initial core problem we’re looking to solve is the overly manual and error-prone processes surrounding the ingestion and validation of data. Manually re-inputting the bare minimum leaves massive amounts of data on the table.

Senior Backend JD: https://www.notion.so/Senior-Backend-Engineer-49494b74ce1741... Senior Frontend JD: https://www.notion.so/Senior-Frontend-Engineer-7d5191a4c0784...

Primary tech stack: Python, FastAPI, Typescript, React, ECS, Celery (RabbitMQ+Redis), SageMaker.

If you have any questions or would like to chat, please reach out to me - sam.pratt@britinsurance.com.

thepratt··on Ultra-processed food targets bone quality via endochondral ossification
I'm western, but almost all of my childhood and early/mid teens was spent in Asia. I think growing up seeing all the variety of odd and stinky things made me much more willing to try; they were having it, so _I want it_.

I wonder how much environment shapes how open one will be to food. Most picky eaters I've met come from places with cultures of TV-centric dinners (America, Australia, UK) opposed to family-centric ones (Japan, Germany, Singapore), which makes me wonder if there's a link or just coincidence in experience.

thepratt··on Show HN: A simple blogging platform I built out of frustration with other tools
You would provide this file for them to download alongside where you show the email address; the file would be equivalent to an API key - should be a symmetric key. It's sort of just swapping out an Authorization header for a file with an expected checksum/contents.

If the barrier is technical abilities, trying to set up public/private keys and/or signing the emails could hinder adoption.

thepratt··on Show HN: A simple blogging platform I built out of frustration with other tools
Just thinking out loud here, what about having to attach a key as an attachment?
thepratt··on Proposal: Downward Assignments
Would Elixir's pipe - https://elixir-lang.org/getting-started/enumerables-and-stre... - or Haskell's function composition - https://wiki.haskell.org/Function_composition - fit the criteria?
thepratt··on ShellCheck: A static analysis tool for shell scripts
Hadolint is another. It's built atop shellcheck.

https://github.com/hadolint/hadolint

thepratt··on Can’t use iCloud with “true” as the last name
Do you have all the mailboxes merge into 1, like a rewrite to email+alias? Or do you connect to a new mailbox per service?
thepratt··on Just because I have a vertical screen doesn’t mean I’m on a phone
If you weren't aware https://news.ycombinator.com/formatdoc may be helpful. There are some basic options for text formatting on HN, including italics and bold.
thepratt··on OO in Python is mostly pointless
If we step into the haskell land of monads having explicit functionality kept in individual monads with their own instances would be one way to segment this type of stuff. Something vaguely written as below would let you run actions where anyone can move or is an enemy, and default implementations can be provided as well.

    data Demon = { ... }

    data Action
      = Dead
      | KnockedBack
      | Polymorphed

    class Character a where
      health :: Int

    class (Character a) => Movement a where
      speed :: Int

    class (Character a) => Enemy a where
      kill :: a -> Action
      damage :: a -> Action

    instance Character Demon where
      health = 30

    instance Movement Demon where
      speed = 5

    instance Enemy Demon where
      kill _ = _
      damage _ = _

https://soupi.github.io/rfc/pfgames/ is a talk going through an experience building a game in a pure fp way with Haskell and how they modelled certain aspects of game dev. Most of the code examples are when you press down in the slides.
thepratt··on TailwindCSS v2.0
With your example lower down, what you're describing is entirely possible both with tailwind[1] (depending how you provide your config), and CSS-in-JS toolkits like emotion. These are called themes and they're normally handled with writing a provider that needs to be included higher up in the chain, your CSS function then includes this parent configuration as an argument.[2][3]

You can only change so much of the styling without changing markup.

https://tailwindcss.com/docs/theme [1]

https://material-ui.com/customization/theming [2]

https://emotion.sh/docs/theming [3]

thepratt··on macOS Big Sur
There's the Epiphany web browser which is based on WebKit and will get you a similar experience to Safari - https://webkit.org/downloads/
thepratt··on Volt: A reactive web framework where your Ruby code runs both server and client
Same. All attempts to open a websocket connection seem to result in a 502.
thepratt··on Facebook Charged Biden a Higher Price Than Trump for Campaign Ads
My assumptions would be for a given type they would get the lowest price. e.g. on-peak vs off-peak pricing would be two (2) different plans and ask different prices of which both could be lowest for that given specification.

For TV, based on time-slots, location, etc there are normally different tiers that have a range based on type of ad, length, play count, etc. I would imagine for each of these tiers a candidate would pay the lowest possible for each tiers' bracket.

thepratt··on Elixir 1.11
https://github.com/erlang/otp/pull/2745 may be what you're after.
thepratt··on Ask HN: Who is hiring? (October 2020)
Gaia | Front-end Developer | London, UK | Partial Remote (weekly/fortnightly gatherings)

Gaia is a London based startup with the mission to make fertility care accessible for everyone. We are harnessing large quantities of complex data around fertility, associated treatments and outcomes to remove all ambiguity and drive success rates. Our first product is an innovative financing and insurance product to redesign access to fertility treatments, starting with IVF.

We recently raised £2.25 million in our first funding round backed by top European and US VC’s such as Kindred Capital, Seedcamp, and ClockTower Ventures.

We're currently a team of 6 (total) in the initial build phase of our journey. Outside of Engineering, our head count includes Product, Design, Data Science, and Operations.

https://www.notion.so/gaiafamily/Front-end-Developer-7e96546... or contact me if you have any questions - sam at gaia.family.

thepratt··on All the jobs I failed to get
You shouldn't make such sweeping statements. I can assure you that candidates do care. Feedback should be mandatory for the time invested by candidates.
thepratt··on Vue.js 3
You may want to look at projects like preact-habitat, stimulus, and web components (a la polymer). Vue isn't the only game in town for this functionality.
thepratt··on What I learned from doing over 60 technical interviews in 30 days
In that small/medium sized company space there are those that publicize nothing about themselves and have such a poorly written JD that tells you nothing about why they exist, their goals, or anything more than possibly irrelevant keywords, then have the requirement for a cover letter. In this instance, they haven't provided a shred of evidence for why someone would want to work with them. I normally see this when non-technical people attempt to hire technical people, they just lack understanding for what is important and are sometimes fresh to hiring in general; less so when technical try to hire technical (but still appears).

I'd rather have a conversation with someone who isn't HR, cover letters are mostly wasted effort.

thepratt··on Everything you need (and don't need) to know about PHP's type system
Hacklang diverged from PHP proper a while ago, but I haven't validated what this actually means. I know interoperability wasn't guaranteed, but with Hack at your work are you able to use composer packages - i.e. Symfony components? The ecosystem around pure Hack packages or frameworks appears quite small/niche.
Page 1 of 3Next →