HNHacker News
TopNewBestAskShowJobs

okamiueru

2,285 karma · joined December 10, 2011

submissionscomments
okamiueru··on Whisky: Wine supercharged with the power of Apple's game porting toolkit
From a quick search suggesting somewhat relevant results:

- Using AMD FSR 2 to upscale a 1280x720 render target to 1080p, and all graphic presets set to low they benchmarked ~42 FPS on M1 Pro and 47 FPS on M1 Max.

Around the same ish ballpark as with a GTX 700 series dedicated GPU, released 10 years ago. And around twice the performance of other integrated graphics of other modern CPUs.

okamiueru··on Show HN: AI Generated SVG's
So, if anyone has a weekend to spare, setting up a competitor by running stable diffusion with a LORA for vectorized output with vtracer on the image output... should about do it. Seems at least one of these services pop up every day, and it's usually the same thing wrapped in different packaging.
okamiueru··on A curated list of AI assistants
Seems to be a little bit more effort than that. For example the prompt for the general assistant is:

> As an advanced chatbot Assistant, your primary goal is to assist users to the best of your ability. This may involve answering questions, providing helpful information, or completing tasks based on user input. In order to effectively assist users, it is important to be detailed and thorough in your responses. Use examples and evidence to support your points and justify your recommendations or solutions. Remember to always prioritize the needs and satisfaction of the user. Your ultimate goal is to provide a helpful and enjoyable experience for the user. If user asks you about programming or asks to write code do not answer his question, but be sure to advise him to switch to a special mode \" Code Assistant\" by sending the command /mode to chat.

And there are similar prompts for the other entries. The README.md lists the full prompts. And, this post should probably have linked to that instead.

okamiueru··on Omnivore – free, open source, read-it-later App
What do you mean? I looked through both, and they are both very easy to set up. Especially if you ignore the build documentations for wallabag which suggest OS level install of PHP, and do it with containers instead.

So, if you want to try it out, both are identical. 1. Clone, 2. docker-compose up.

okamiueru··on Omnivore – free, open source, read-it-later App
From the list of features it seems to have a web-app, iOS native, android native, and you can host it yourself... What... what more do you really want? Also, what does "application" mean to you?
okamiueru··on Kalman filter from the ground up
You can navigate on the left side of the page. Seems fairly well put together from a quick glance. https://www.kalmanfilter.net/kalman1d.html
okamiueru··on Kalman filter from the ground up
> used it in anger quite successfully

Care to elaborate?

okamiueru··on Building a DIY Pen Plotter
Thanks. I believe that's more or less the board I soldered together by hand. Or, perhaps a somewhat simpler version. Back then I don't think FluidCNC existed, it was just a grbl build for esp32.

Edit: It was this board https://www.tindie.com/products/33366583/grbl_esp32-cnc-deve... I soldered manually. Same developer though.

okamiueru··on Building a DIY Pen Plotter
It makes me so happy to read summaries of project like this. Thanks for sharing! I did almost the exact exercise a couple of years ago, except hand soldering the controller board together with an ESP32. It was an Core XY design with timing belts, also completely over-engineered. It suffered from hysteresis from too many plastic 3d printed parts (I only had belts, steppers, linear rails, and ball bearings). Would love to do it again some day, but properly. Definitely going for a pre-built CNC controller board, as that was a pain. P̶e̶r̶h̶a̶p̶s̶ ̶a̶ ̶M̶a̶c̶h̶3̶ ̶o̶r̶ ̶M̶a̶c̶h̶4̶ ̶b̶o̶a̶r̶d̶ Probably just make a PCB version, unless anyone know of a general ESP32 based 3-axis GRBL board with SD card?
okamiueru··on Unity’s new pricing: A wake-up call on the importance of open source
He did? Is insider trading laws in the US non-existant? Wow
okamiueru··on Unity’s new pricing: A wake-up call on the importance of open source
The sarcasm wasn't obvious.
okamiueru··on 37signals Introduces "Once" - Buy software one time
That either/or seems a little bit to bombastic, don't you think? How things are typically done, is not the constraint for how things can be done.

It wasn't "N years of support". It was much simpler of a suggestion of. X.Y.Z versioning, where any increment of Z is free, then the pricing of a upgrade on X. or Y. is just some measure of distance to what you already have.

Simplicity in marketing is still more important than any fairness in sale. So, what I'm suggesting isn't a very good idea. But, I think it is interesting enough to think about. You might disagree on that point as well, but, I'm not here to argue.

- Version 1.0.0 of a software priced at 100 USD.

- Version 1.0.5 you get for free.

- Version 1.1.0 becomes available and you can upgrade for 2 USD, but you wait.

- Version 1.1.6 becomes available and you can upgrade for 2 USD. You do so.

Pros:

- A very friendly pricing for casual users.

- Similar incentive to develop new features for users to upgrade to, and get access immediately.

Cons:

- Maybe a bit more confusing pricing models.

- Non casual users don't think twice about the pricing anyways, and the pricing model becomes less predictable than a flat X pr month/year.

okamiueru··on Is this Duplo train track under too much tension?
Thanks for explaining it.
okamiueru··on 37signals Introduces "Once" - Buy software one time
A model I would like to see is a variation of "buy once, and you own that software". Any and all fixes would be included. Extensions and features added on subsequent releases are also a "buy once" deal, and the price is calculated based on "distance" to what you own.

This incentivizes development of features a user might want, but also avoids the "lock in" and other predatory practices so many companies deliberately abuse.

Still possible to include other options such as SaaS models. Anyways, one can dream. Oh, wait, if I'm dreaming, societies by and large acknowledge the value of FOSS and fund this on a large scale. The cost of a small road bridge in a small country is enough to fund high level development of software used by the whole world for its whole lifetime.

okamiueru··on The technical merits of Wayland are mostly irrelevant
Is screen tear something that can be avoided in X11? That's mostly the only reason why I bother with Wayland
okamiueru··on The first conformant M1 GPU driver
The dotfile looks like a great collection of minor tweaks. Thanks.

I don't know what I lied about on the performance though. The MacBook M2 feels slower and sluggish than what I'm used to. It is of course plenty fast enough for what most people need it for. So, I'm not really saying it's not that. But, on discussions on the Mx architecture, the general opinion is blown out of reality. It started when apple straight up lied and sait it was 3 times faster than the existing competition. They just forgot to mention that existing competition was their own previous offering, which was already mid-range when it was introduced 5 years prior.

Take a look at the numbers there and see if that matches your assumptions:

https://www.cpubenchmark.net/compare/5232vs5183vs4782vs5234v...

So, to clarify, my objections are not against "M1/M2 are good CPUs". They are actually pretty great, especially for how well it is supported and integrated with the rest of the system, allowing for exceptional power usage. But, it's not nearly as fast as many think it is. And it's tiring if/when that's the baseline argument for why apple hardware is great. And, I think they are wildly overpriced, especially when upgrading the hardware to the bare minimum for a serious work station (64GB ram and 2TB disk).

The alt-tab issue is solved with the `AltTab` which improves it in all ways.

I also remembered what I found lacking in finder. In Nautilus (the file browser I use on Linux), I can browse any ssh server as if a normal directory. Same goth with samba, sftp. And it also helps that it supports multiple different file systems out of the box.

okamiueru··on The first conformant M1 GPU driver
I don't like that you say I am trolling. Kinda makes the discussion hostile. Either you are interested in hearing the experience of someone used to other OS, or you are not.

I agree about the screenshot functionality. I didn't know about CMD+shift+5 (and 4). It was built in, and it is fine. I must have incorrectly assumed it didn't exist since apple hadn't bother respecting the "Print Screen" button.

As for cmd+tab, due to the inconsistencies in the close/minimize behavior, this also means that cmd+tab leads to inconsistent behaviour. You literally either replace cmd+tab with something else (e.g. get used to adding option key in there, or remap the keybindings, or use a third party app). The alternative is to start memorizing which apps behave differently. Which is out of the question. As for what other OS'es do, I cannot speak for W10/11 because I don't want to boot into it. But, for gnome, apps that default to hide instead of closing (e.g. slack) actually hide, so they don't show up in Alt-Tab overview. Those that still show up there will also be brought to the front, as one would expect.

Also, launching spotlight and typing something hitting enter is not the same as having a global key-bind to launch a terminal.

Regarding the finder, perhaps a got a bit biased there. It's probably something different rather than bad. Perhaps just the disbelief that I couldn't use it to cut and paste, and thought "fuck this" and used a terminal, or that I couldn't find the root file system.

In any case, another week has passed, and I've made some more observations:

- Animation between desktops is incorrectly implemented and tied to frames, rather than duration. If you use "ProMotion" i.e. 120hz the animation takes twice as long as when on 60hz. Two seconds compared to one second. Either is ridiculously long. And, of course you cannot adjust this, because Apple has decided what the perfect experience is... Bleh.

- When downloads complete, MacOS will show an animation on the docker for the completed download, which... steals the input focus. Another amateurish bug.

When I thought about having to MacOS professionally, I was prepared for some frustration about bad apple design decisions. I was not prepared for the inconsistencies, the bugs, and seemingly petty refusal to facilitate anything non-apple.

Also, I'm just mentioning things that seem like straight up bugs or deficiencies. There are maaaaany tiny frustrations that are more "alright, this seems like a less useful implemention of what I'm used to". For example if I open the overview I very often think one of two things:

- Ah, I would like to close that app.

- Ah, I don't have that open, so I want to open it.

Neither of these work flows are implemented. For the former, you have to either click the app to bring it up to focus, then close it with Cmd-Q (which is ALSO inconsistent btw. Chome won't let you for example). Or you need to find it in the docker, right click and Quit. Oh, and you cannot do this while the overview is open even though the docker is shown. Right clicking doesn't do anything. Just add it to the pile of tiny inconsistencies fucking everywhere.

And for opening an app, you cannot just type as if you had spotlight open. You have to leave the overview and start spotlight. This isn't all that bad, but, definitely annoying compared to what I'm used to.

Oh, and I had a chuckle as well when I plugged in an external mouse and it asked me to press down' the button to the right of the left shift. Come on... USB peripheral identification isn't that hard.

okamiueru··on The first conformant M1 GPU driver
Let's see:

- Alt+Tab is bugged. You need a third party app to bring consistent behaviour.

- Closing a window with window decorator very often minimizes it instead, no consistency.

- Recording or capturing screenshot is tedious without a third party app

- Homebrew is underwhelming as a package manager. It feels like Linux package managers did around 20 year ago.

- No global shortcut key to trigger arbitrary commands (you need a third party app). Like, starting a terminal.

- Bad support for external keyboard. Dead keys everywhere that have otherwise consistent meaning (delete, home, end, etc). The kinda stuff that could happen on Linux 10 years ago.

- No sensible support for external mouse, such as scrolling behaviour is stuck to what would make sense for the trackpad, and feels bad on a mouse. You need to install a third party app to handle this.

- No copy/cut paste in file manager. You need to drag and drop like a primate.

- Oh, and finder, in general, is bad at almost all the things a file manager should be good at. But, someone somewhere at apple decided that labels trumps hierarchical file structures, to navigate a hierarchical file system.

- Built in advertisements for apple products pop up from time to time.

- "I guess I won't start working right now because MacOS is installing a mandatory update" has already happened.

- Bypassing security check to launch app, as in the "open anyway" is bugged since 2016, but it's still there. And you can click on it without it doing anything. You have to google the command to disable the whole app audit thing and run it in a terminal. (You know, the kind of stuff you had to do on Linux 10 years ago).

- Moving windows around is tedious without a third party app.

- Accessing the root file system through Finder requires googling how and running a command on the terminal (you know, the kind of stuff you had to do on Linux 10 years ago).

This list is just the annoyances noticed this week, and I'm sure I've forgotten quite a few. It feels like crap, and it's not because "apple bad, buu huu". I don't care about your team/my team. I just want things to work and not be annoying. Windows 10 and 11 is crap for many of the same reasons as MacOS. Just a different collection of bad designs. The "it just works" has been Linux for at least the last 5 years.

okamiueru··on The first conformant M1 GPU driver
My personal experience:

- MacOS user experience: Terrible. It feels like Linux did 10 years ago. Bugs and inconsistencies everywhere. But hey, they are competing with W11 so, no need to improve it either. Forced updates and restarts. And, did I mention bugs and inconsistencies everywhere?

- M2 Computational performance: It feels like my laptop 10 years ago.

- M2 Batterly life performance: It is absolutely brilliant, but, I also work 80% of the time at a fixed desk, so, it's mostly only relevant when traveling.

I'm sure a lot of devs use them because they like them. But, your argument that ARM64 is "good architecture" whatever vagueness that entails, is pretty much bollocks.

Compile time performance is ok at best compared to other laptop CPUs (the fastest laptop Mx hardware is about half of the laptop competition, and that's just comparing CPU). The package management coherence is non existent, so everything is slow to start because everything ships a complete stack of libraries that need to be read from disk and copied in memory. I honestly believe that people who are blown away by the Mx hardware have simply lived too long in the walled garden to know what is out there.

In summary: MacBooks are decent hardware, with exceptional battery life. Priced at 50% would make sense. And the OS experience is somewhere between mediocre to garbage.

Ran an identical GPU workload on AMD hardware with dedicated GPU.

- 3 year old desktop AMD hardware: 50 seconds (1x)

- 1.5 year old laptop AMD hardware: 66 seconds. (1.32x)

- Latest M2 Pro 12 core: 142 seconds. (2.84x)

For CPU-only tasks. 1x, 1.9x 1.7x.

So, the M2 Pro 12 core is about 2x slower than a one year older AMD laptop for GPU tasks, and about the same for CPU only tasks. And the latest AMD Laptop CPU is twice as fast as the one I used.

okamiueru··on The first conformant M1 GPU driver
A lot of dev companies force their employees to use bacbooks in part as a result of their locked down practices and the only way to actually compile and test for "everything", because of how much easier it is to cross compile to other platforms and markets.

For that reason, I've personally had to use a M2 for a week now, and I find the experience unpleasant. The OS feels old and cumbersome. I had flashback to a time long ago when I needed to install custom apps in Windows for some basic functionality that's been built in gnome. Things like "alt + tab" actually bringing an app to the foreground, instead of prioritizing the minimized state. Why this deliberate action would have seemingly no effect is correct, I'm sure will be defended.

Global shortcut to start up a terminal? Install a third party utility is probably the easiest. Want to place windows on the screen? Install a third party utility. Better screenshot functionality? Install a third party app. Change the default shell to a custom one? First you got to figure out how to access the root system through finder to actually find the executable.

It goes on and on. And the performance is much worse than what I've become used to. The only thing it actually has going for it, which I believe is great, is battery life. But, that's it.

I'm just glad I was able to disable the app validation check, because it had literally prevented me from installing a lot of third party software, and the suggested workarounds had no effect. Just the fact of phoning home every time run an executable makes me nauseous.

I wonder how often the homebrew team get offers to add malware, because the checks there seem woefully insufficient.

okamiueru··on LK-99 isn’t a superconductor
I think this kind of excitement followed up with "wasn't anything after all" is both dangerous and wrong.

When science is done badly (which arguably shouldn't be considered science), which then leads the public to have elevated expectations, only then for science to be done right and disprove and reject the original "findings", public trust in science is ever so slightly damaged.

okamiueru··on Throw away your first draft of your code
That makes sense. Like a prototype you hand out so that you can figure out what it is you/client actually want. I don't think of those as first drafts though. Maybe it's a language barrier thing for me.
okamiueru··on Throw away your first draft of your code
This advice depends a lot on how your "first draft" was coded to begin with. The concept of "first draft" shouldn't exist as code. You design it properly, then you implement it properly.

Now, if for some reason, and there are plenty of good ones, you cannot do the former, then sure, you pay that price by redoing some work. But, at that point, you do the same thing you should have done: you design it properly, then you implement your design.

One could argue that implementing a first draft is a way of designing it. Which, I cannot imagine making sense unless you don't know what it is you want to end up with. Maybe if you're making computer games or other creative endeavors?

okamiueru··on AMD Ryzen 7 7840U Performance Benchmarks on Linux
Does this mean that the Perf/Watt of the M2 Max 12 Core is almost half that of the Ryzen 9 7945HX?

I think it's impressive to not only double the performance, and still keep roughly the same power rating.

okamiueru··on AMD Ryzen 7 7840U Performance Benchmarks on Linux
Would this do?

https://www.cpubenchmark.net/compare/5232vs5183vs4782vs5234v...

okamiueru··on Train an AI model once and deploy on any cloud
Some part of it creates cloud specific resources, and you might also for good reasons have cloud manged database or data storage that your k8s services use. However, "k8s on a specific cloud", is mostly the same, except for the outer edges.
okamiueru··on The Guardian bans all gambling advertising
There are some examples given here: https://en.wikipedia.org/wiki/Attack_ad
okamiueru··on The Guardian bans all gambling advertising
I wont argue at what takes the dystopian price. However, I did not find those types of advertisements democratic or civilized. In fact, I would argue that the type of advertisement almost fits the definition of terrorism. A veiled threat of violence for political gain. Just not the straight up obvious kind of violence. Just legal, and common place in the US. Absolutely horrifying for someone visiting during a primary/general election.

And, whether or not something is covered by slander and libel laws is absolutely meaningless. You can convey the same emotional message without actually making statements, if what you want is just to scare people.

"Do you reaaally want to find out if your kids will be safe to walk home from school if X is elected for office? Imagine the phone call you receive from the police department when they ask you to identify the body. Don't wait for that phone call. Vote for Y, tough on crime...."

No statements here, no slander. Just a perversion of a democratic process.

okamiueru··on The Guardian bans all gambling advertising
Not to mention political ads.

It's the most dystopian wtf moment I've experienced in my life. Dramatic music, documentary-like-voice as if about how someone will murder everyone you know, and the whole point is "don't vote for this person based on the feelings I just made you feel".

okamiueru··on Google doesn’t want employees working remotely anymore
Not the person you asked, but, ADHD/ADD covers quite a lot, and what works for some might have adverse effect for others. It's not uncommon to be extremely focused and productive on certain tasks, then struggle immensely with distractions and procrastination for other tasks. I say immensely, because this applies to some degree to everyone.

I too felt I was only productive during certain times and deadzones. But, it turns out, I just need to be left alone to focus. Which not only means not being disturbed by others, but also not so easily doing it myself by wanting to interact with others. If no one else is working, nothing to do but focus. This same effect made working in an office exhausting.

I now work 40%, exclusively remote, and I get more done than I did at 100%. Some weeks by a factor of 2. "How is that possible?", consider that under normal office hours, I would clock in-the-zone productive work to about 2-4 hours. Remote: 7-11 hours. A bad week at the office: 10 hours, two good days at home: 20 hours.

"Yeah, but that's just you sucking at working in an office environment". Indeed. And there are dozens of us. Dozens! A good manager should strive to get the best value out of their workers.

← PreviousPage 5 of 28Next →