Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bazzargh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
bazzargh
3y ago
Fixed point: pretty sure that would not work, I recall the numbers ran over many orders of magnitude. I did waste a ton of time back then looking at whether things like interval arithmetic would help. And double precision was - as I recall
122.
▲
by
bazzargh
3y ago
GPU? I was writing this stuff _30 years ago_. You were lucky to have a soundblaster. Everyone I knew who worked on this is long retired or passed away. AFAIK the code isn't available, that just wasn't how things worked back then,
123.
▲
by
bazzargh
3y ago
As one of the other commentators mentioned, it's not that kind of simulation. It's similar to looking at electron shells in an atom, where you don't simulate the motion of an electron from a start point to an end point, but c
124.
▲
by
bazzargh
3y ago
Speaking as someone whose PhD was simulating the nuclear structure of nuclei like this... yes, we probably could, now. Back then (like, 30 years ago, and I stopped doing physics after this so my memory of this is fuzzy) we were looking at s
125.
▲
by
bazzargh
3y ago
you don't need to run the puzzle backwards to generate solvable positions, you run it forwards and generate the pieces from the solution moves. Starting with the piece and square from the previous board, mark all squares but this one
126.
▲
by
bazzargh
3y ago
Is it windows or is it golang making the difference there? Golang's implementation of wcwidth is different, and a commonly used lib has an 'emoji' table which covers that bomb (1F4A3) https://github.com/mattn&
127.
▲
by
bazzargh
3y ago
Huh, right up my alley... a while back I was playing with trying to turn photos into sketches ( https://hachyderm.io/@bazzargh/109928618521729073 ); one of the effects I found really noticeable with my super-naive appr
128.
▲
by
bazzargh
3y ago
I recalled a company doing exactly that design (but 60m high), EnergyVault - I think they also had mineshaft-based projects too. The cranes stack the weights, so there's a lot more than one weight. Checking their site, I see they curre
129.
▲
by
bazzargh
3y ago
https://en.wikipedia.org/wiki/Annual_leave#Leave "Most countries have labour laws that mandate employers give a certain number of paid time-off days per year to workers." (it goes on to point out that the USA
130.
▲
by
bazzargh
3y ago
For me, I went back to the Gimp, I never found a usable replacement to recommend to my parents.
131.
▲
by
bazzargh
3y ago
not all of my passwords are for browser-based services, not all of my secrets are passwords, and I have several devices with different operating systems. (eg, my password manager includes github recovery tokens, ssh keys and passphrases, re
132.
▲
by
bazzargh
3y ago
about ten years back I got my parents photoshop elements 11 as a present; it was the best thing since sliced bread. They'd seen the stuff I did (with Gimp) manipulating the family photos, they thought it looked like fun and they had hu
133.
▲
by
bazzargh
3y ago
Array.from(document.querySelectorAll(".temp__value,.fact__hour-temp")).forEach(e=>e.textContent=e.textContent.replace(/[-+]?[0-9.]+/g, t=>(t*9/5)+32)) ... in the console, and it's almost entirely F. (exce
134.
▲
by
bazzargh
3y ago
it's fascinating me that all of HSP's articles are manually justified monospace text. Pages and pages of it. That's quite hard to do? There's not a lot of double-spaces or unusual punctuation so it's mostly achieved
135.
▲
by
bazzargh
3y ago
if you mean the thing you want to encode is mostly-ascii, then https://en.wikipedia.org/wiki/Quoted-printable ... it's a real throwback, I've not seen this in the wild since the 90s, but it's there in th
136.
▲
by
bazzargh
3y ago
I've never seen 4doc as a command to write all 4 things. The last few places I've worked, I've always asked "Can we hire a technical writer?", because if you've worked with one that's good at their job the
137.
▲
by
bazzargh
3y ago
the van Hirtum paper now refers to that one as confirmation of its result https://arxiv.org/abs/2304.03039 beaten to the punch by a couple of days!
138.
▲
by
bazzargh
3y ago
the Hamming distance in the article is about twice the number of moves to get from one position to the other, mate in 4 is important? A better criticism might be: this metric defines position as close even if can only be reached by reversin
139.
▲
by
bazzargh
3y ago
Not sure how widespread it is, but TapBots and 1Password both released separate apps for their major version updates. The 1Password subscription carried across to the new app, the TapBots one was a new purchase for each app, so there's
140.
▲
by
bazzargh
3y ago
oddly I was reading this story yesterday because someone linked to an item of clothes from a shop which also contained a silk code scarf: https://adversarialfashion.com/products/wwii-code-cipher-sca... it's unclea
141.
▲
by
bazzargh
4y ago
if you have a recent enough kernel, this change https://github.com/cilium/pwru/pull/148 means that it will print the reason the packet was dropped in the output, as logged by kfree_skb_reason - see https:&#x
142.
▲
by
bazzargh
4y ago
Not that nontrivial, I did that in my very first program for the bbcmicrobot https://twitter.com/bbcmicrobot/status/1604784926032740352 1MO.4:DIMR(4) 2F.Y=820TO120S.-20 3GC.0,1:MOV.0,Y:DR.1279,Y:F.L=
143.
▲
by
bazzargh
4y ago
I Have a Dream wasn't 1970-Abba hadn't formed yet! - it was 79, I remember my sisters buying it. And it wasnt their first single, not even the first off that album. And it doesn't have those lyrics, which I don't recogni
144.
▲
by
bazzargh
4y ago
I'm reading them just now - I find detective novels and sports papers to be good ways to learn languages, since there's some common structure to the stories. Also, the kindle store has a _very_ limited selection of foreign languag
145.
▲
by
bazzargh
4y ago
Those scripts are exactly the ones where I don't want to be in the script's directory. Something like this is more like what I use: project=$(git rev-parse --show-toplevel 2>/dev/null || pwd) ie, find the t
146.
▲
by
bazzargh
4y ago
on a trackpad, it's a two-finger gesture (see https://support.apple.com/en-gb/HT204895 ). On the mouseless system, it depends. For coding, I'd tend to search rather than scroll.
147.
▲
by
bazzargh
4y ago
"the ubiquity of mouse wheels for easy up/down navigation" I have maybe used a mouse once in the last decade (I use a trackpad)...and that mouse didn't have a mousewheel. And before that I used trackballs for a decade (a
148.
▲
by
bazzargh
4y ago
It may be confusing because it's in reply to "Does Lumina work on Linux?" but doesn't answer that question. The tl;dr of the answer would be, "there's reasons it might not work, but I don't know"
149.
▲
by
bazzargh
4y ago
I use auto-editor for this https://github.com/WyattBlue/auto-editor I'd like to be able to use komposition, which offered a bunch more nice features for screencast editing... https://github.com/owi
150.
▲
by
bazzargh
4y ago
Did you watch the demo? https://www.realjabber.org/anim/real_time_text_demo.html You ARE seeing it before they are done (compare to the left hand window, which what most chat apps do now), the delay in seeing live ty
More ›