Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mathstuf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
mathstuf
4y ago
I noticed it recently too, but disconnecting my Bluetooth headset first allowed it to suspend properly (it seems like the wifi chip kept it awake before making like a yo-yo back and forth).
182.
▲
by
mathstuf
4y ago
Any reason why this wasn't preferred? let foo_result = foo() .map_err(Bar::Fail)?;
183.
▲
by
mathstuf
4y ago
The phrase to use would be "I'm not at liberty to give details".
184.
▲
by
mathstuf
4y ago
I use it with parenthesized clarification. So `# XXX(dependency-version): Reason why we can't have nice things` is code that can be updated when `dependency` of at least `version` can be assumed. The clarification is there so that if t
185.
▲
by
mathstuf
4y ago
Agreed. Gmail is a rampant lagfest whenever I end up using it (I only go to update filters and labels anymore). The HTML site is a lot more responsive and usable IME (though the filter form's length limits need edited in a debugger to
186.
▲
by
mathstuf
4y ago
[ FD: CMake developer, but this is just my personal opinion. ] I find Bazel, Buck, and other similar tools from other FAANG-like companies to mostly target monorepos because they expect to control everything from the toolchain up. Depende
187.
▲
by
mathstuf
4y ago
The other problem is that during a Git conflict resolution, other files matching that glob get dropped into your source tree. Globbing these up is…never going to go well.
188.
▲
by
mathstuf
4y ago
It's a tool just like the forge is. I think of these things more as building blocks to put your desired workflow together. I doubt forges will ever handle reformatting, merging, or back porting how we want, so we'll always use som
189.
▲
by
mathstuf
4y ago
We call ours the "stage". Merge conflicts are just a "please wait" signal. The way it works is: - the stage is always up-to-date with the target branch (so if it updates, we re-merge all topics on top of the new targ
190.
▲
by
mathstuf
4y ago
This is solved on our end by having the merge not done by gitlab itself (FWIW, github is bad at making these things too) but instead by our robot. I'm a process wonk, but these checkbox items are still the bane of everyone. It'd b
191.
▲
by
mathstuf
4y ago
> We never use merge except fast forward merges. Hmm. I've never really liked this pattern. We never use fast-forward merges for anything other than bringing a release branch forward to track the "current release" state[1]
192.
▲
by
mathstuf
4y ago
Huh? I use `podman build` all the time. Sure, it uses `buildah` in the backend, but does that really matter?
193.
▲
by
mathstuf
5y ago
Yes, realizing that not everything is perfect (good or evil) is a good base that needs to be done first. Trump made lots of blunders and such, but the morass that is our government is also what insulated it from his attempts to destroy it.
194.
▲
by
mathstuf
5y ago
I think the ineffectiveness comes from the lack of gravitas such problems have on the public psyche. We now feel that it is "over", so we relax instead of buckling down and asking ourselves "how can we make the next time this
195.
▲
by
mathstuf
5y ago
I don't know if I could classify it as "incredibly valuable in almost all contexts". I have no idea what it's like to have such imagery for comparison. I dream, but cannot remember them beyond tiny details. I've had
196.
▲
by
mathstuf
5y ago
> I consider myself on the opposite end of the spectrum from someone who suffers (is blessed?) from aphantasia One distinct downside is that I'm queasy around other people's blood or gore. I can't watch visceral movie sc
197.
▲
by
mathstuf
5y ago
I have aphantasia. For reference, until 2019 or so I thought things like mental imagery and mind palaces were just metaphors and my memory for such things was poor (even after seeing Sherlock put his mind palace to screen). As you can tell
198.
▲
by
mathstuf
5y ago
How they live inside of a structure is far into implementation-defined land. No ABI (afaik) says where bits live if they do not fill an octet. In practice, the compilers agree with themselves over time, but that is "code as spec"
199.
▲
by
mathstuf
5y ago
The API is good enough to write some Python code that does this way faster. Some autoclassification based on keywords helps a lot too. I made some scripts to do this, but would have to extract them from beside the user data in the repo.
200.
▲
by
mathstuf
5y ago
Oof. For finding my bearcan, adding conspicuity tape (the red/white reflector tape used on tractor trailers) makes them stand out like a beacon with a headlamp (which, so far as I know, bears have not learned to make use of). It also h
201.
▲
by
mathstuf
5y ago
I do this for all of the CI images I maintain. Additionally, it leaves evidence of the setup in the container itself. Usually I have a couple of these scripts (installing distro-provided deps, building each group of other deps, etc.).
202.
▲
by
mathstuf
5y ago
Real life miniatures for this one-page RPG perhaps? https://diwatamnl.itch.io/bonsai-brawlers
203.
▲
by
mathstuf
5y ago
Heh. $DAYJOB lets us accrue vacation and then get cashed out annually for anything over 160 hours (so it is "use it or we will cash it out for you"). It pays out at your new rate as well (since annual raises are on the same schedu
204.
▲
by
mathstuf
5y ago
Sure, but when applying Marketing Math™, remember that all prices need to end in "49" or "99" to "sound cheaper" than the next incremental bump. So you'll end up with a device that is either $50 or (more l
205.
▲
by
mathstuf
5y ago
(FD: CMake developer) In my experience, it's that pkg-config assumes that everything needed to consume a library can be communicated via flags spelled as GCC spells them. There are many compilers which don't speak GCC on the comma
206.
▲
by
mathstuf
5y ago
If you're measuring in (1-n) terms, you can be 2x better. 95% is 2x as good as 90% and 99.9% is 100x better. Not at all clear at first glance or sure that it's what they're doing here, but just something to keep in mind.
207.
▲
by
mathstuf
5y ago
[ Note: I'm a complete layperson in the AI field, so feel free to correct me. This is mostly based on my penchant for reading topics such as evolutionary biology, Hofstadter, and such. ] If we used genetic algorithms to design the algo
208.
▲
by
mathstuf
5y ago
"Future version" will have lots of fanfare before that actually happens. There's no timeline for it; it's a warning that, eventually, we will have to drop old behaviors because otherwise we're stuck with terrible
209.
▲
by
mathstuf
5y ago
We hadn't at the time because the only JS engines we could think of were 10x larger than CMake because they were built for browsers and had all kinds of cruft for a DOM that CMake doesn't care about hanging around. Maybe QuickJS w
210.
▲
by
mathstuf
5y ago
It's not only the syntax that is broken. The "type system" has quite a few holes in it because of the language. Many of them have no counterpart in other languages either. It would, for example, most likely still be strin
More ›