HN user

pg_bot

5,082 karma

Technical founder at scalpel.com. We make practice management software for primary care clinics and run a clinic in Greenville South Carolina.

tom [at] scalpel.com

Posts43
Comments886
View on HN
www.addapixel.com 1y ago

Show HN: Add a Pixel, the internet's pixel graffiti wall

pg_bot
1pts0
dfpi.ca.gov 3y ago

Silvergate Bank to begin voluntary liquidation

pg_bot
102pts83
www.ft.com 3y ago

Crypto bank Silvergate evaluating ability to survive as going concern

pg_bot
2pts0
www.wsj.com 3y ago

Apple Says iPhones Will Comply with EU Law Requiring USB-C Charging

pg_bot
7pts5
news.ycombinator.com 4y ago

Netgear Equipment Bricking Itself?

pg_bot
1pts3
www.human.com 4y ago

Every human gets 10 seconds to make you laugh

pg_bot
1pts0
www.wsj.com 4y ago

Oracle in Talks to Buy Cerner

pg_bot
2pts0
storage.courtlistener.com 4y ago

Google digital advertising antitrust litigation [pdf]

pg_bot
718pts258
www.cbsnews.com 4y ago

Couple harassed by former eBay employees sues company and former executives

pg_bot
1pts0
www.theverge.com 5y ago

Arizona advances bill to allow alternative mobile payment options

pg_bot
5pts0
www.nytimes.com 5y ago

Uber and Lyft Drivers in California Will Remain Independent

pg_bot
5pts0
www.c-span.org 5y ago

Google vs. Oracle SCOTUS Oral Arguments

pg_bot
1pts0
www.scalpel.com 6y ago

Show HN: Scalpel, electronic medical records designed for doctors

pg_bot
10pts4
news.ycombinator.com 6y ago

GitHub Spam?

pg_bot
2pts1
freakonomics.com 6y ago

Can You Hear Me Now? – A Conversation with FCC Chairman Ajit Pai

pg_bot
1pts0
news.ycombinator.com 6y ago

Ask HN: A New Decade. Any Predictions? (2020)

pg_bot
2pts0
www.bbc.com 6y ago

Dark patterns influence travel bookings

pg_bot
3pts0
www.youtube.com 7y ago

Erlang: The Movie [video]

pg_bot
209pts10
evans.uw.edu 7y ago

The Impact of Seattle's Minimum Wage Increase – UW Minimum Wage Study [pdf]

pg_bot
3pts1
newsroom.fb.com 7y ago

Clearing Up a Few Things About Facebook’s Partners

pg_bot
167pts145
www.grubstreet.com 7y ago

Why Tips Won

pg_bot
18pts4
medium.com 7y ago

Securing your practice

pg_bot
1pts0
www.nytimes.com 7y ago

Nobel Peace Prize Awarded to Denis Mukwege and Nadia Murad

pg_bot
3pts0
www.nytimes.com 7y ago

Nobel Prize in Chemistry Is Awarded to 3 Evolutionary Scientists

pg_bot
103pts33
www.gimletmedia.com 8y ago

The magic store

pg_bot
2pts0
www.latimes.com 8y ago

Recycling innovator is going to prison for trying to extend computers' lives

pg_bot
6pts0
www.wired.com 8y ago

Inside Fort Gordon: Where Next-Gen Cyber Troops Are Trained

pg_bot
1pts0
www.cnn.com 8y ago

DHS issues new rules for searching electronic devices at the border

pg_bot
4pts0
news.ycombinator.com 9y ago

Ask HN: Any good book recommendations?

pg_bot
3pts1
www.destroyallsoftware.com 9y ago

Destroy All Software relaunches

pg_bot
70pts18
Adaptive PDFs 1 month ago

Yes this is already possible. You can look up the ZUGFeRD standard for an example of how this is done for German invoices.

I own {{mylastname}}.com and have been making a small social network for everyone who shares my surname. (it's rare) I'm using Facebook's NLLB to translate posts to different languages since we are mainly split between the Americas and Europe.

I suspect this is true for almost every somewhat relevant subreddit. Everything has been captured, someone has taken control of the politburo and is defining the message. I've been using the site since 2008 and within the last couple of years it feels like you cannot post anything unless you know someone.

You need to take the long view. The United States is the only global superpower because of our economic might. If other countries catch up to us, they will start to test the waters on whether going to war is advantageous for them.

The ports play a crucial role in wealth generation for the USA. If other countries are able to ship goods cheaper and faster than us, more industry will be transferred overseas. This creates a vicious cycle where industries that exist due to agglomeration slowly decay. Being able to move a container 1000ft is the limiting reagent for entire economies. Buy the unions off and automate it. Everyone only cares about a relatively small amount of money compared to how much is moving through the system.

The port would not be run by the federal government. Pass an infrastructure bill that funds port automation and gives a healthy wage for ~30 years to any longshoreman who is either automated or wishes to leave. Give them 150k per year with no contingencies.

https://pubmed.ncbi.nlm.nih.gov/34904207/

https://www.statista.com/statistics/825214/atorvastatin-out-...

https://www.statista.com/statistics/825187/lininopril-out-of...

https://www.statista.com/statistics/825259/albuterol-out-of-...

https://www.statista.com/statistics/825193/levothyroxine-out...

https://www.statista.com/statistics/825244/amlodipine-besyla...

https://www.statista.com/statistics/822626/gabapentin-out-of...

https://www.statista.com/statistics/825200/metformin-hydroch...

https://www.statista.com/statistics/825281/losartan-potassiu...

These are some of the most prescribed drugs in America, the trend is quite clear. Every drug except albuterol and levothyroxine has decreased dramatically in price. Levothyroxine's patent expired this year so there will be some time before prices go down. Albuterol is expensive because the inhaler had to change the propellant to remove CFCs and there is a new patent on the hydrofluoroalkanes (HFAs) that has yet to expire.

I think we're on the verge of drastically increasing survival rates for people with Glioblastoma. It's an extremely aggressive form of brain cancer with an estimated average survival rate of 8 months and a 5 year survival rate of 6.9 percent.

I've been following the case of Dr Richard Scolyer who is using himself as a guinea pig to treat his own Glioblastoma. He and Dr Georgina Long created a plan based on their expertise in treating melanoma. So far the results have been fairly spectacular as his brain scans have shown no recurrence over a year after his diagnosis. I hope one day that they both share the Nobel prize in medicine.

https://x.com/profrscolyermia

https://x.com/ProfGLongMIA

In practice performance problems are a nonissue. Your API should consist of start time and duration because that is how people think about appointments and meetings. (An hour long meeting starting at noon) It's a pain to write a UI that updates two pieces of information when one piece of information changes. If you are truly worried about query performance you can denormalize the data before saving by storing start/end times as a datetime range field, but it still makes no sense to expose that in your API.

You don't want to store two dates for an event. It's easier to store the start time of the event and a duration for the event. This will make the logic for updating your events simple. You can always calculate the end time of the event based off the start and duration.

ElixirNitpicks 2 years ago

The following code could be written much better by using the cond operator.

    with {:is_email, true} <- {:is_email, is_email_address?(email)},
         {:is_available, true} <- {:is_available, EmailAddresses.is_available(email)} do
      ...
    else
      {:is_email, false} ->
        {:error, :bad_request}

      {:is_available, false} ->
        {:error, :conflict}
    end

    cond do 
      !email_address?(email) -> {:error, :bad_request}
      !EmailAddresses.available?(email) -> {:error, :conflict}
      true -> {:ok, email}
    end
This gets rid of unnecessary duplication, and I think is easier to understand.

Saving money. If it is cheaper to generate your own power, a lot of people are going to do it. Practically speaking, you would probably still need (and pay for) a connection to the grid but just not need to use it. This isn't a reject society and live alone in the woods kind of appeal. You are going to be spending money on power for the foreseeable future, why not minimize that expense if you can?

Also in developing countries where there isn't a reliable power grid, would you just skip that step entirely? I know some places in Nepal where they have daily rolling blackouts and it is extremely annoying.

I'm trying to think of the second order effects of solar and battery storage if it becomes cheap enough to run your entire house without the grid. Wouldn't it make sense to design houses with DC power from the ground up? Why go through the inefficient inverter if you are generating DC from a solar panel and using DC power internally in all of your appliances?

Assuming $3-5 per watt fully installed and a 6 kWh solar panel array. Plus and additional $10k worth of batteries, you should be able to run most houses 24/7/365 off solar power. So a $40k investment should be around what you need to generate all the power for your home for ~25 years. (Assuming you average 30 kWh used per day) This is pretty close to being a no brainer for certain areas of the country with high electricity prices. (California, Hawaii)