HNHacker News
TopNewBestAskShowJobs

izoow

412 karma · joined December 14, 2021

submissionscomments
izoow··on How to see bright, vivid images in your mind’s eye (2016)
I can't really "see" anything either, but I'm assuming it's something akin to "hearing" your inner voice. I also don't actually "hear" anything, but I can tell that it's going on in my head and it's effortless and "automatic". I don't have to consciously exert effort to "activate it", imagine it, and keep it there.
izoow··on Show HN: A C++ dump func. that can print multi-D vectors, maps, tuples, and all
I've been using something similar lately for my "quick and dirty print debugging" needs [1]. It's much nicer and requires less effort than just using printf/cout. I feel like many of the critical comments here are missing that that's probably the intended use-case of this.

[1] https://github.com/sharkdp/dbg-macro

izoow··on Show HN: A JavaScript function that looks and behaves like a pipe operator
Reminds me of something I tried hacking together in python for fun

  from functools import partial
  
  class Pipeable:
      def __init__(self, fn):
          self.fn = fn
  
      def __ror__(self, lhs):
          return self.fn(lhs)
  
  def pipeable(fn):
      return lambda *args: Pipeable(partial(fn, *args))
  
  filter = pipeable(filter)
  map = pipeable(map)
  list = pipeable(list)
  sum = pipeable(sum)
  min = pipeable(min)
  max = pipeable(max)
  any = pipeable(any)
  
  # Usage:
  
  range(1, 100) | filter(lambda x: x < 50) | max()
  # 49
  
  [1, 2, 3, 4] | filter(lambda x: x % 2 == 0) | map(lambda x: x * 3) | list()
  # [6, 12]
  
  [1, 2, 3, 4] | map(lambda x: x >= 5) | any()
  # False
izoow··on Unlimited Kagi searches for $10 per month
I have yet to see a website that felt better to use after switching to React or similar. To me it always feels like a straight downgrade in UX. A site that felt nice and snappy suddenly becomes heavy and sluggish.
izoow··on Kopia: Fast and secure open-source backup software
Why did you switch?
izoow··on Xfce Wayland Development Roadmap
This is what I'm doing right now, but the issue is that it'll only work as long as the order in the taskbar and the window manager list stay consistent. I like to manually reorder my windows in the taskbar and that makes this approach break.
izoow··on Xfce Wayland Development Roadmap
The default Xfce theme doesn't seem to have that issue anymore, at least in 4.18.
izoow··on Xfce Wayland Development Roadmap
I've recently been giving Xfce a try again on one of my machines, and even though I still prefer KDE on my main machine, I've been quite enjoying it. Especially the SPEED of it has been astonishing. Everything is just absolutely instant. I also really like the "spartan" feel of it.

Probably the main thing I'm missing from KDE is being able fo use Super+Number to switch between windows, i.e. Super+1 switches to the window at the first position in the taskbar, etc.. I've been searching around, but haven't found anything that'd be 100%. Would anyone happen to have a solution by any chance?

izoow··on Python proposal (inspired by Lua)
I don't see the point personally. I don't feel like this is something you'd want to do often, and it's not like the current way to do it is that much harder. This seems to just complicate things with hardly any benefit.
izoow··on Ask HN: What's the Situation with YouTube-Dl?
Docker for things like this always feels like such an overkill to me
izoow··on Ubuntu Desktop: charting a course for the future
Even when they work I just can't handle the long startup times of most snap applications that are just instant without snap. Makes me feel like I'm running my system off a spinning disk again.
izoow··on Ubuntu Desktop: charting a course for the future
I've also been a happy Ubuntu user for a long time, but with the direction Canonical is going, it's become pretty evident that sooner or later I'm gonna have to move on.

I recently gave the new Debian a try on my laptop, and I've been happy with it so far. I've also been pleasantly surprised that it's noticeably snappier than Ubuntu for some reason.

My main machine is still running Ubuntu, but when the time comes to reinstall or upgrade, especially if the snap situation becomes even worse, I will probably switch to Debian entirely.

izoow··on Why Tailwind CSS Won
> Being able to think "Hmmm, I want a rounded button, with a border and a blue background" and just typing class="rounded border border-blue-600 bg-blue-500" and it's done.

I'm not a frontend developer and don't really know much about these frameworks, but how is this different from just using style="actual css"? This just feels like inline styles reinvented for whatever reason.

izoow··on Ask HN: Share a shell script you like
Not exactly a shell script, but fzf with bash keybindings improved my shell experience more than anything.

https://github.com/junegunn/fzf#key-bindings-for-command-lin...

izoow··on Python: Just Write SQL
To those who write plain SQL in Python, what do you use for migrations?
izoow··on Orb is a free and open source web desktop
Not exactly the same thing, but I had good experience with KasmVNC.

Despite having VNC in its name, it isn't fully compliant with the VNC protocol and doesn't support regular VNC clients. Instead, it exposes a web client that you can access to connect to the machine. It also felt surprisingly snappy and nice to use compared to my previous experiences with regular VNC.

https://github.com/kasmtech/KasmVNC

izoow··on Ask HN: Do you still use a hand held/desktop calculator?
No. I either use the Google search bar or I open a python shell.
izoow··on Python: Overlooked core functionalities
Inspired by others here, I tried hacking something together myself

  from functools import partial
  
  class Pipeable:
      def __init__(self, fn):
          self.fn = fn
  
      def __ror__(self, lhs):
          return self.fn(lhs)
  
  def pipeable(fn):
      return lambda *args: Pipeable(partial(fn, *args))
  
  filter = pipeable(filter)
  map = pipeable(map)
  list = pipeable(list)
  sum = pipeable(sum)
  min = pipeable(min)
  max = pipeable(max)
  any = pipeable(any)
  
  # Usage:
  
  range(1, 100) | filter(lambda x: x < 50) | max()
  # 49
  
  [1, 2, 3, 4] | filter(lambda x: x % 2 == 0) | map(lambda x: x * 3) | list()
  # [6, 12]
  
  [1, 2, 3, 4] | map(lambda x: x >= 5) | any()
  # False
izoow··on Elon Musk says Twitter will change logo from bird to an X
Is it just me or is this by far his worst idea yet?
izoow··on Lazydocker: a lazier way to manage everything Docker
An absolutely amazing tool. Boosted my work productivity immensely.

If you don't like the usual graphical git clients, but would like some help with some of the tasks that are tedious with just the cli, definitely give it a try.

izoow··on Linux Hits All-Time High of 3% of Desktop PC Share After 30 Years
I love my Kubuntu 22.04. Hands down the best Linux desktop experience I've ever had.
izoow··on LazyVim
I've recently been exploring various neovim distributions and I feel like at this point neovims package ecosystem has gotten good enough that these distributions don't really seem to make my life much easier. Many times quite the opposite actually, as I often find myself fighting with them when I want fo change something.

The experience is still not as painless as effortless as VS Code, distribution or not, but it's definitely gotten a lot better than it used to be.

izoow··on Taskfile: A Modern Alternative to Makefile
There's even more options apparently :)

A Boolean represents a true/false value. Booleans are formatted as English words (“true”/“false”, “yes”/“no” or “on”/“off”) for readability and may be abbreviated as a single character “y”/“n” or “Y”/“N”.

Regexp: y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF

(https://yaml.org/type/bool.html)

izoow··on C++23: The Next C++ Standard
Consistency. Having intermixed puts and printfs throughout the code looks pretty bad. Also, every compiler replaces printf of a literal ending with \n with a puts anyway.
izoow··on Linux has achieved a 3% desktop market share
>Which DE

If you want a full-fledged modern DE with active development, the choice is only between GNOME and KDE imo.

>GTK or Qt

I used to worry about whether to go full GTK or Qt, these days I don't really care. Both work in either environment and the theming is usually consistent as well unless you have a custom theme, so they don't even look out of place.

>X11 or Wayland

It seems like Wayland is going to be the future, so it's only really a matter of whether it works well enough for your uses yet or not. If it does, great, use Wayland, if not, stick with X11 for a bit longer.

It honestly doesn't seem like that much of a mess to me.

izoow··on OwnCloud Infinite Scale added EULA that prohibits commercial use [pdf]
I was recently exploring the options of self hosted cloud and was quite disappointed with NextCloud. The performance of both the UI and syncing was pretty bad. I thought my home NAS just isn't powerful enough. Then I tried OCIS (golang rewrite of ownCloud) and it's a complete different story.
izoow··on Hacking around the Twitter login thing
Hah, interesting. Wouldn't a user agent switcher extension accomplish the same though?
izoow··on Reddit appears to be restoring edited/deleted comments
I'm not sure about the specifics of GDPR, but it could be argued that even your style of writing personally identifies you. There are even projects that do just that to find alternate reddit accounts of people [1].

[1] https://github.com/jabraunlin/reddit-user-id

izoow··on Intel to drop the “I” moniker in upcoming CPU rebrand
There’s also the “average PC gamer” that has some clue about computer parts, but wouldn’t be able to tell you what something like L2 cache is. I’d say that’s quite a large part of the consumer base as well.
izoow··on KDE Plasma Widget for external monitor brightness adjustment
Thanks, this is exactly what I’ve been looking for! I was even considering writing a Plasma widget myself because I couldn’t find anything. So far I’ve been using gddccontrol as it’s been the most reliable, but the UX isn’t the best.
← PreviousPage 2 of 3Next →