HNHacker News
TopNewBestAskShowJobs

mattpallissard

893 karma · joined June 10, 2022

contact@pallissard.net https://pallissard.net
submissionscomments
mattpallissard··on Why systemd is a problem for embedded Linux
> systemd is sort of like if microsoft word took on system init. In the beginning it was small, but now it is web based and does videoconferencing.

It's actually a suite of tools that do solve individual problems comprehensively. Not as small as the programs in coreutils, but still not a huge monolith.

mattpallissard··on Ask HN: What would you preserve if the internet were to go down tomorrow?
It's a Intel(R) Core(TM) Ultra 7 155H. And as far as power is concerned, spending some time fiddling with tlp will get you a good chunk of the way there. Playing around with different DEs will give different results. Sway is my preference, it's my favorite and has the lowest power footprint. Blacklisting drivers, tuning sysctls and hardware helps as well.

I'm almost never CPU constrained, so I tend to have everything idled down as much as possible.

Edit: and just for context, opening firefox and browsing the web right now has me at 9W.

mattpallissard··on Ask HN: What would you preserve if the internet were to go down tomorrow?
The latest Lenovo P14s I have running Arch/sway has a crazy long battery life as well. It idles at 3.4W with wifi on. Writing code with an editor and all the fancy LSPS/plugins pushes me to 4W. I can get more than a full days worth of work on a single charge if I'm not doing anything compute heavy.

That said, it's not out of box like a Macbook.

mattpallissard··on Ask HN: What would you preserve if the internet were to go down tomorrow?
I used to travel across the US a lot. On my laptop I started keeping websites, documentation, base container images, source code for Linux, tools I used, and languages I was programming in for references the languages I was using. This wasn't for emergencies, it was so I could work productively while in transit. (I also tuned the hell out of the Linux power settings on my Lenovo)

I hardly travel anymore but still wind up using all of those local resources. It's zero web searches, next to no latency, and I have the structure memorized. Finding information I need is so fast.

I wish it was more popular to have a local-first mindset when writing software.

mattpallissard··on Using less memory to look up IP addresses in Mess With DNS
"MaxMouchet DB"
mattpallissard··on A field guide to the central, creeping section of the San Andreas Fault (2006)
This is how it works where I live in the US. When a river channel moves someone gains and someone loses.
mattpallissard··on Unison Programming Language
Is it possible to run distributed tasks in a local cluster? Or is a unison cloud account required?

I see that 'distributed' was moved to the cloud library and I don't see any way to run this in an on-prem data center without an enterprise plan.

mattpallissard··on Exploring 120 years of timezones (2021)
I said for years that we should just use UTC everywhere and that people should wake up at offsets. One day my wife told me she was tired of hearing it and it was a stupid idea. That she could walk into nearly any town anywhere and know that at 9am she could walk into any bank, grocery, or diner.

Sure there are other ways we could communicate offsets, days, whatever, but having everyone on the same daily schedule and just adjusting the schedule itself keeps it simple for most of the population.

mattpallissard··on Working from home is powering productivity
I always tell my friends and colleagues new to remote work that remote, async collaboration is a skill to be learned.

You have to take a thought and distill it down to a diagram or written word before you share it. Personally, If I can't do that it tells me that my idea is still half baked.

It also teaches you to avoid throwing out incomplete ideas or asking simple questions you could answer yourself as the rtt for a response in a distributed team is too high.

mattpallissard··on Richard Stallman, "Is Free Software Anarchist?" [video]
No he isn't. He puts his foot in his mouth regularly.
mattpallissard··on Porsche's idea for a six-stroke internal combustion engine
> caused by heat from compression causing the fuel/air mix to ignite before it's triggered by spark.

I would think the usual cause is the timing was off and the spark plug fires before the cylinder reaches TDC.

mattpallissard··on Why Haskell?
No worries, I was just adding my two cents.
mattpallissard··on Why Haskell?
> Experimenting lately with OCaml, feels like Haskell's tooling is more mature.

I feel like OCaml has been on a fast upward trajectory the past couple of years. Both in terms of language features and tooling. I expect the developer experience to surpass Haskell if it hasn't already.

I really like Merlin/ocaml-lsp. Sure, it doesn't have every LSP feature like a tool with a lot of eyes on it, such as clangd, but it handles nearly everything.

And yeah, dune is a little odd, but I haven't had any issues with it in a while. I even have some curve-ball projects that involve a fair amount of C/FFI work.

My only complaint with opam is how switches feel a little clunky. But still, I'll take it over pip, npm, all day.

I've been using OCaml for years now and compared to most other languages, the experience has been pretty pleasant.

mattpallissard··on Why Haskell?
Oh but the OCaml module system is the bees knees.
mattpallissard··on Some of us like "interdiff" code review
Oh, I don't know, I hardly consider myself super disciplined. It's just a matter of memorizing a command or two.

    git commit --fixup=commit HASH
    git rebase -i HASH^ #yes, include ^
    # save and close the rebase window that appears
    git push origin branch --force

edit, and you can re-word a commit with

    git commit --fixup=amend:HASH
mattpallissard··on America's Bad Math Scores Are a Problem
I took a fair amount of advanced math and I find it useful regularly. Despite that, I agree with your sentiment that most people honestly don't need much of it.

But, I don't think that's what everyone is talking about with poor math scores. Just last week I had two college educated adults telling me adamantly that 10 * 700 was 70,000.

mattpallissard··on Cruise ships chopped in half are a license to print money
Here in Alaska some fisheries and permits have historical length restrictions on vessels. In order to carry the gear, ice, and catch they wanted they would cut boats in half longitudinally and widen them.
mattpallissard··on Frustrations with the OCaml ecosystem while developing a synthesizer library
I don't find it particularly weird or obscure either. I've had to speak over the FFI a handful of times and it was honestly a better experience than go's story (which also wasn't terrible IMO). But I also recognize that I have a high pain tolerance for build systems.

I will conceed though, the Tarides folks know their shit when it comes to OCaml projects.

mattpallissard··on For Generations of Alaskans, a Livelihood – Fishing – Is Under Threat
Heh, I don't think I've ever seen a hn post about where I live.

Anyone can tell you that fishing, processing, and the markets are a very complex problem and it would be true. But I would just like to highlight this little excerpt.

> Icicle was bought by a private equity firm in 2007, and then sold in 2016. In 2020, it merged with the owner of a shuttered Petersburg plant and became OBI Seafoods. The curtailed operations last summer meant fewer workers in town spending money, and delayed payments for fishermen.

It's also my understanding that the wages for processors are less than $2 higher than they were in the eighties. Local kids home on summer break rarely work at the cannery anymore. I'll also add that a lot of seasonal workers from other countries won't be back next year because the processor is doing away with overtime. People want to show up and work 16hr days for three months, then go back to lcol areas. You can't do that when you're limited to 8hrs a day.

mattpallissard··on A dishwasher can make or break a restaurant (2017)
"The dishwasher" is a great take of working as a dishwasher. It's from "the ice cream man and other short stores", you can read the whole section on Google books.
mattpallissard··on Bug squash: An underrated interview question
> I'm pretty confident there are leetcode type problems you will have a hard time with and won't be able to complete in the allotted time

I don't doubt that at all. But I've also had that on a whiteboard.

Also, it sounds like your interviewer was a jerk. Which seems orthogonal to the style of interview.

mattpallissard··on Bug squash: An underrated interview question
NOTHING. CAPS LOCK IS CRUISE CONTROL FOR COOL.
mattpallissard··on Bug squash: An underrated interview question
The real reason is you can pay them less and they'll put up with more BS.
mattpallissard··on Bug squash: An underrated interview question
I can't speak to anxiety or other disorders but I have a hard time swallowing that leetcode discriminates against the older crowd.

I'm not older, but I was in the industry prior to the leetcode style interview. I've never sat down and "grinded" leetcode but I've also never had a problem with those styles of interview once they became common. Neither have my former co-workers. I have a few friends that are still working, past retirement age, that would crush any problem you threw at them.

In my experience, it's not much different than the whiteboard interview. Sure the presentation of a problem can stump you for a moment, but with a few good follow up questions a solution, however naive, becomes apparent.

I had a mentor early in my career that repeatedly said "There is no such thing as an unsolved problem in computer science". I think that mostly holds true, you either recognize the pattern and implement, or you learn and implement next time.

That all said, leetcode style interviews are the interview version of a "bad code smell" and I'd strongly prefer a bug-squash style, even if it was in a completely unfamiliar programming language. Actually, an unfamiliar programming language might make it fun.

mattpallissard··on Twitter kills its San Francisco headquarters, will relocate to South Bay
Agreed. My family lives on an island, though not in HI. We've had to do the medivac on one occasion. Yeah it was a bit unnerving and a major pain in the ass but we're still here a few years later.

I'd much rather optimize for the happy days than the shitty ones.

mattpallissard··on Fewer people are deciding to have children
And to your point, some of us want children and will move forward with that regardless of economics or stability.

I don't think the markets influence child rearing as much as the headlines say.

mattpallissard··on Orcas sink $128K yacht in Mediterranean attack: 'Like watching wolves hunt'
US coastal waters use fathoms.
mattpallissard··on Arch is a gateway drug to NixOS
> some config I edited years ago is now causing a problem.

Yeah, that's a fair point. You do get in the habit of occasionally diffing your config file against the ones with the .pacnew extension. As well as purging packages.

mattpallissard··on Arch is a gateway drug to NixOS
Right, plus arch is rolling release which lends itself to never reinstalling the OS.

The installation on my laptop is on its 4th hardware refresh. Rsync or brtfs send to a new box, modify the partition UUIDs, rebuild the initial ram disk, and you're on you're merry way.

mattpallissard··on Sparrows may be 'canary in the coal mine' for lead poisoning in children: study
Genuine question. Wouldn't it be more efficient to check the levels of lead in the people periodically? If a sparrow has high levels of lead then you still need to check the people.

It seems like it would be fewer steps, fewer tests, and less messing around by making testing more available to the people.

← PreviousPage 2 of 17Next →