News for hackers. Stuff that matters.

bishop77

Re:Arthur Whitney's one liner sudoku solver on Tuesday October 08, 2024 @02:59PM (#41780585)
For sudokus of size 9x9 and 16x16 almost any unoptimised DFS will work just fine (even for hard sudokus [0]). The real challenge is for sudokus of size 25x25 and above.

[0] https://cdn.aaai.org/ocs/2517/2517-11201-1-PB.pdf

Here's what worked for me on my palms and sole: I gently scrape off the upper layers of the skin on the affected area with a skalpel, close (but not reaching) the point of bleeding, which then I cover with a generous amount of table salt. The salt sucks the blood through the thinned layer of skin resulting a small redish heap. After approx 10-20 minutes I wipe off the salt with alcohol. During the next 24hrs a relatively thick scab develops which falls off during the next couple of days.
Re:Matrix Multiplication Using Only Addition on Tuesday July 11, 2023 @04:43PM (#36686963)
How does this compare to Strassen's algorithm? Could you please provide a reference implementation?
Re:Rarbg Is No More on Thursday June 01, 2023 @11:18AM (#36152345)
I'm interested in the art-house, non-mainstream genres, mainly produced by independent studios (e.g. one of my all-time favourites is When father was away for business, by Emir Kusturica). Do you have any suggestions for trackers specialised in these types of movies?
Re:I switched from macOS to Linux after 15 years of Apple on Saturday August 28, 2021 @10:20AM (#28338298)
Around 2015 I did the exact opposite. I still manage linux servers but gave up the desktop experience in favour of macOS. The main reasons were: 1. Inconsistent UI experience (GTK/QT). For me screen aesthetics is important, I spent countless hours configuring my desktop (theming, matching icons, recompiling the FreeType package just to enable the then-patented font hinting, etc). But even then some applications were somehow different: OpenOffice/Firefox for example brought their own rendering engine. While this issue has been solved to a certain degree, I still don't see that level of polishing as in macOS. Certain niche distros (e.g. ElementaryOS) try to lure users with carefully selected (otherwise very fine!) screenshots but it takes just a few clicks to see that the whole thing is utterly broken. 2. Related to the previous point: handling HIDPI monitors. Again, GTK/QT/slightly exotic applications have to be configured separately and even then it is a hit-and-miss. 3. The messy state of sleep/hibernation. When I raise this issue, I'm always told that this is not a Linux issue but the buggy implementation of the ACPI specs by the hardware vendors. Well, as the WINE team managed to reimplement WIN32 bug-by-bug, I think it's not far fetched to ask the kernel driver guys to circumvent these incomplete/buggy firmwares.
Re:30 years later, QBasic is still the best on Sunday November 29, 2020 @08:00AM (#25244898)
> My own trick was to use Graph Papers to match co-ordinates to plan game programs.

Yes, graph papers! I had an XT with a monochrome Hercules monitor, while in the factory where my father used to work there was a full blown 486SX. Envious of the plethora of the available fonts, I magnified the letters of the System [0] font with Paint, transferred them to a graph paper and took them home. Then for each character I wrote a separate (Turbo)Basic subroutine which would draw it in graphical mode exactly as it was on the paper. Finally I assembled these routines into an elementary editor. Nostalgia, yeah.

[0] https://en.wikipedia.org/wiki/System_(typeface)