Better HN
topnewbestaskshowjobs
Log inSign up

piinbinary

3,021 karma · joined Jul 16, 2010 (16y ago) · 466 submissions

Jeremy Mikkola

http://jeremymikkola.com

Email: <My first name><2^7=>@<google's mail product>.com

https://twitter.com/silenceofnight

Submissions

comment 5y ago · link · parent

Another thing I'd add to that list:

- make sure your facts are right. Ideally, make sure they are right well before you give feedback.

You can end up in awkward situations where a manager says "you promised to deliver this in a month but it's taken the whole quarter" but the one month timeline was the PM's idea, and you told everyone it would take 4 months.

comment 5y ago · link · parent

I think it can also be due to having too much oil in the pan. I've started wiping the pan with a paper towel that I've tipped the oil into (so just a very small amount of oil -- as opposed to pouring in a drip of oil) and now the first pancake comes out perfectly.

comment 5y ago · link · parent

It means the ! character

edit: at least, that's what I normally see it meaning. I'm also confused about what it means here

comment 5y ago · link · parent

It's really cool that they can use the train tracks to bring stuff into and out of the station. It seems obvious in retrospect, but that had never occurred to me before.

comment 5y ago · link · parent

I think I see now. So the author wasn't saying that construction of values is what defines the type. Rather it is a necessary step before you can start talking about sets of values. (And you can talk about a type without knowing how to construct it, so that makes types different from sets?)

comment 5y ago · link · parent

> So types are prior to sets: types provide a universe of values, constructed in orderly ways, that we can work with; only then can we start picking out certain values to place them in a set.

What about uninhabited types?

Or types where the constructor is not enough to determine the entire type?

e.g.

    data MyType a b = MyConstructor { myField :: a }

comment 5y ago · link · parent

Do building designs have to be certified in a way similar to how cars have to be crash-tested?

158.

Software Shouldn't Flow Away(jeremymikkola.com ↗)

2 points · by piinbinary · 5y ago · discuss

comment 5y ago · link · parent

Interestingly, the background is black for me in Chrome, and white in Firefox (both under macOS)

comment 5y ago · link · parent

The way I think about it is that comments needs to provide information that is both new and useful, where "new" and "useful" depend on the audience

http://jeremymikkola.com/posts/2021_03_21_useful_comments.ht...

comment 5y ago · link · parent

Interesting!

Perhaps the difference is then explained by my choice of search term. The term I tried after upgrading must happen to appear early in the sorted corpus.

I just now tried it with a very rare term, and it does indeed take longer overall to complete the search.

comment 5y ago · link · parent

I don't see it listed in the notes, but using the --sort-files flag no longer seems to have a performance penalty.

comment 5y ago · link · parent

The way I like to think about it (not sure how accurate this is) is that mRNA is like a letter sent by your DNA. mRNA vaccines forge your DNA's handwriting and write a letter that looks like it came from your DNA, but didn't.

comment 5y ago · link · parent

Features I'd want:

* No ads

* No suggested topics

* No suggested tweets, no people I might be interested in, no tweets someone I follow liked - just show me the people I follow and things they explicitly retweet

* The timeline preserves order

* Threads are grouped together and the entire thread is shown

165.

Scary Logic(jeremymikkola.com ↗)

2 points · by piinbinary · 5y ago · discuss

comment 5y ago · link · parent

It sounds like we are O(single digit) years away from a rackmount server containing a trillion transistors.

Napkin math: 50b transistors/chiplet x 6 chiplets/socket x 4 socket/motherboard = 1200b transistors/motherboard

comment 5y ago · link · parent

Ducky One 2 Skyline TKL w/ MX blues

Like: Clicky feel, the frame is super solid, I like the color theme, good macro support, the TKL form-factor is great (it's easier to have the homerow centered in front of me, for less wrist strain), the keys feel nice (not slippery, even after years of use).

Dislike: Blue switches are a little too loud when on zoom calls (I probably should have gone with browns), there's no backlighting in the version I got, it does not act as a USB hub, and sometimes it makes a slight ringing noise if I hit the spacebar really hard.

comment 5y ago · link · parent

My understanding from doing a bit of reading is that there are at least two things codegen-adjacent that an accurate collector will want (even if you stop the world while collecting):

1. The locations of pointers inside of allocations.

2. The locations of pointers in the stack (into which you may need to spill registers).

I can think of ways to do these (e.g. perhaps each stack frame contains a bitmask at a certain offset), but I'd love to learn what the best practices are.

comment 5y ago · link · parent

Are there any good resources for building a runtime and codegen for languages with garbage collection?

comment 5y ago · link · parent

This reminds me of "Window 93" [0]

[0] https://www.windows93.net/

comment 5y ago · link · parent

This reminds me of that XKCD from a few years ago: https://uni.xkcd.com/

172.

The Problem with Slow Tools(jeremymikkola.com ↗)

4 points · by piinbinary · 5y ago · discuss

173.

Golang: Know Your 'Nil'(jeremymikkola.com ↗)

134 points · by piinbinary · 5y ago · 150 comments

174.

Scenius, or Communal Genius(kk.org ↗)

1 points · by piinbinary · 5y ago · discuss

comment 5y ago · link · parent

I wonder if they could build a dam around the ship and lift it with water.

comment 5y ago · link · parent

I wish I had tools that were just a little smarter at working with code. There are some things that I find I have to manually track down in a large codebase, but the things I do could be automated. I'm thinking of operations like the following:

* Tell me where in package (or module) X it calls functions that can eventually reach function Y in package Z (that is, there is a possible stack trace starting in X that leads to Y.

* Recursively expand the tree of callers of this function.

* Show me where the value passed to this function are created.

* List what packages have functions that can get called when I call function X.

* Given two functions A and B, what functions can result in calls to both? (This is sort-of the greatest common denominator of possible stacks leading to A and B)

(It seems like this must surely exist, but I have yet to find it)

I also want better tools for tracing what a system does when running. For example:

* Say I have a test over some deterministic code, and I make a small change to that code. I'd like to be able to run that test before and after, and get a diff of where the computation was the same vs. where it was different.

* When debugging, I'd like to be able to ask questions about the history, like what set this field on this model to the current value? (With debuggers I've used, you have to know these questions in advance and set up things to watch - you can't ask those questions after the fact)

* List all packages that had a line of code run while running this test.

edit: formatting

comment 5y ago · link · parent

I wonder if effects like these were the inspiration for the design of the imperial star destroyers in Star Wars.

comment 5y ago · link · parent

Yeah, good point.

Maybe it could be restricted to physical goods sent to the same address as the card (which miners could still flip, but it's better than nothing)

comment 5y ago · link · parent

Here's a crazy idea: What if Nvidia raised the prices to the current scalper prices, but every additional dollar was returned as credit that you could spend on indie games or hardware?

(You would probably have to restrict the hardware to just hardware that's not useful for mining, e.g. monitors)

comment 5y ago · link · parent

This one is great:

> counterintuitive

> Based on facts or evidence, rather than on magic-gut divination.

1
567
16