HNHacker News
TopNewBestAskShowJobs

panzerboiler

256 karma · joined February 17, 2022

submissionscomments
panzerboiler··on Have you restarted your computer this week?
2616. On an iPad pro. I am not updating the os because I am pretty sure that the current behavior is a bug. The hard limit has always been 500.
panzerboiler··on Free Normal Map Online Generator
What about the 11 years old https://cpetry.github.io/NormalMap-Online/ (https://github.com/cpetry/NormalMap-Online)? Are you the same author or did you just steal it and made it worse? Yours looks like a carbon copy that uses 4 times the resources of the original.
panzerboiler··on Bookmarks.txt is a concept of keeping URLs in plain text files
Let me check... 1331 open tabs in Safari on my iPad. Several text files with thousands of bookmarks, with various attempts at grouping. Since I cannot save myself, I save them.
panzerboiler··on Cascata delle Marmore
Yes, the article is correct, but it misses some nuances. After paying the hefty fee (it has always been free, and it still is if you are resident, at least up to 5 years ago it was) you can walk along a path that gets near the fall, but not inside it. If you pay even more to get a "guide" you can reach an observation point (the tunnel) where you can almost touch the water, and get a free shower in the process. All in the name of "safety" (aka: money) even if as far as I know only one suicide has been registered, in the 80's.
panzerboiler··on Cascata delle Marmore
I remember swimming in the natural pools carved by the falling water in my youth. Before the opening time of the waterfall, there were alarm sirens to tell the people enjoying the bath to get the hell out of there. Good times. Nowadays it is strictly prohibited to even get close...
panzerboiler··on Framework Laptop 16
Yes, you can. As long as one finger is "pressing hard-ish" a second finger can command the drag position, but if the finger that is pressing (you do not need to press very hard to trigger a click) is not the one that is also moving, then you will have issues when also scrolling with two other fingers, because at that point you have 4 fingers touching the trackpad, and by default you get anoter gesture registered (probably a zoom out to see all the windows in the workspace, called "expose"). If the fingers touching the trackpad are "only" three, you can drag and scroll, with the window that receives the scroll being the one under the pointer/item being dragged.
panzerboiler··on Framework Laptop 16
You click and drag with one finger and you are free to scroll with two other fingers during the drag. It is a multitouch gesture. (I don't use "tap to click" since I always found it cumbersome)
panzerboiler··on Framework Laptop 16
You assume it wrong. You can click-to-drag and scroll simultaneously without issues on an Apple trackpad.
panzerboiler··on Bezier-rs – algorithms for Bézier segments and shapes
I probably misunderstood their message. By the way, two quadratic curves can approximate well a tiny subset of what a cubic bezier can represent. The number of quadratics required in the general case can grow quite substantially, very quickly.
panzerboiler··on Bezier-rs – algorithms for Bézier segments and shapes
A Bézier curve is not an interpolating spline. It is a parametric curve defined by a set of control points, which the curve typically does not pass through (except the first and last points). Bézier curves exhibit local control (changing a control point influences only a portion of the curve, especially in piecewise Bézier constructions). Interpolating splines may seem more user-friendly at first, since the curve passes exactly through all the given points. However, this can lead to unintuitive behavior: modifying a single point can cause global changes in the curve, including in areas far from the edited point. In some cases, these changes can be drastic, making precise control difficult or impossible. I may be biased by my 20+ years of graphic design work, but I prefer the precision and control given by Bézier curves.
panzerboiler··on Zig's Lovely Syntax
Did you draw inspiration from Swift's multiline string literal, or was it the other way around? The syntax looks very similar, if not identical.
panzerboiler··on David Lynch has died
Today no cinema.
panzerboiler··on Flow Charts with CSS Anchor Positioning
> This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
panzerboiler··on Ask HN: How much marijuana do you smoke/eat/vape?
Around 2 grams a day, smoked.
panzerboiler··on Please support "skip to main content" on your docs site
The default shortcut choosen by apple is option+tab (...). You can change it on the preferences of Safari, but not on iPadOS (or I didn't find the way to do it).
panzerboiler··on Run VSCode and terminal on any iOS device
I am not interested in the issues you have with those webapps. I am asking what are the bugs of Safari's implementation of the Clipboard API, since in my experience there are none (except maybe https://bugs.webkit.org/show_bug.cgi?id=222262 if you want to consider it a bug and not a different interpretation of the specs).
panzerboiler··on Run VSCode and terminal on any iOS device
Can you describe the issue with copy/pasting in Safari? What is not supported exactly?
panzerboiler··on Old dogs, new CSS tricks
On my 2012 macbookpro I am forced to use chrome or orion since safari is stuck on 15.X. On my 2015 iMac I can still use the current version of safari, but probably not safari 18 when it will come out. So, for now, the cut-off is 10 years. Pretty good I would say.
panzerboiler··on Looking Glass debuts 16-inch OLED and 32-inch 'holographic' spatial displays
People of color are the majority of the world population, and you are just a poor racist.
panzerboiler··on Lessons from building GitHub code search [video]
I don't know if it is related to the changes to the code search (I use github exclusively as guest), but in the last year github got slower and heavier to the point that even scrolling a page showing a file of 200 lines is very painful. One with more than 2000 lines crashes the tab. I don't have the most powerful machines at my disposal, but what I have should be more than powerful enough to browse a repository. My intuition points at the syntax highligther and the file browser/go-to-symbol as possible causes. Anybody knows of some magic setting I can use to have a better experience? Right now I am forced to avoid using it as much as possible, and clone the repositories to browse them locally.
panzerboiler··on Orion Browser by Kagi
I use it on an old macbook-pro-2012 (stuck on Catalina and on an old version of Safari). Thank you Kagi for providing a build with a recent version of WebKit. On the iPad I use it just for youtube, sometimes. It is still pretty rough around the edges compared to current Safari.
panzerboiler··on Why I Like Using Maps (and WeakMaps) for Handling DOM Nodes
That fix is not really a fix. The thing being broken for general serialization is JSON.
panzerboiler··on Why I Like Using Maps (and WeakMaps) for Handling DOM Nodes
Because a Map is an Object. It has properties and methods. The only way to provide a safe and clean namespace for your keys is to provide an explicit API. It also supports keys that can be not only strings or symbols.
panzerboiler··on TinyVG – an alternative binary encoded vector graphics format
I write SVG by hand every day, but I imagine to be the 0.1% you are talking about. The ability to write simple or complex graphics in text form both inside HTML or CSS is a feature, and an incredibly powerful one.
panzerboiler··on Minimal Cross-Platform Graphics
Perfect companion for this C graphics library: https://github.com/tsoding/olive.c
panzerboiler··on Game prototype using AI assisted graphics
No difference at all. Let's read books written by an AI. Play games designed and coded by an AI. Enjoy art painted by an AI. Debate with an AI on the internet. Listen to music composed and performed by an AI. Pretty soon, let's watch movies directed, edited and played by an AI. In the process, let's give the same AI also all the prompts, so it can learn what we want to read, play, enjoy, listen to and watch. Let's remove ourselves from the whole picture. Enjoy decay.
panzerboiler··on Understanding the N + 1 queries problem
How would you add also the count of the votes of each comment in the aggregation, as per the example in the article?
panzerboiler··on Draw SVG rope using JavaScript
I don't agree that what you propose is less complicated. Deriving an UV mapping along the curve could be done, but for a cubic bezier spline is not exactly as trivial as you paint it. For an example implementation along a quadratic bezier spline, see https://www.shadertoy.com/view/NltBRB. A cubic bezier is more complex to map since you have to solve an equation of 5th degree. I also think that the author wants to keep everything in vector format to be able to draw the results with a plotter. You could displace the vertices of a straight vector model of the rope using the UVs, but I am not sure that it would be any simpler.
panzerboiler··on Stable Diffusion macOS native app
Not exactly everyone. I will continue to pay artists for their art. Once the AI will train mostly on derivative works produced by itself, with most artists whose work was used without asking to originally train the AI out of business, it will be very fun. Those who will be able to use all that stuff as a new kind of raw material to create pristine art will be a tiny minority, and it will really be a new chapter in the art book. For everybody else, the marvellous AI will be in the hands of the lords of social media, producing an infinite stream of uninsteresting stuff you love watching while scrolling the infinitely long page depicting the sterile desert we contributed to create teaching the machine what we like and what we don't. Very fun, indeed. An AI generated mirror of our mediocrity, with no way out. And please, don't start telling me that our brains work the same and that every piece of art is derivative work. Human beings are a little bit more complex than a neural network.
panzerboiler··on Bunx, 100 times faster than npx
You must be thinking of something else. `npx` is https://www.npmjs.com/package/npx.
Page 1 of 3Next →