Better HN
topnewbestaskshowjobs
Log inSign up

pmkary

740 karma · joined Apr 4, 2017 (9y ago) · 320 submissions

Pouya Kary — Kinda a researcher.

archive.pouyakary.org

Submissions

comment 11h ago · link · parent

Everyday you see the world burning even more, and then you see ten new rainbows poping up in New York. I envy all whole live there in these times.

comment 12h ago · link · parent

Not quite right. Windows is a system you get to put on a computer. Apple sees their mac's hardware and software as one. So you pay for it by getting the hardware and that hardware is the cost. You both can't install any other system on it (Asahi Linux for example is a hack in making). You both can't install mac anywhere else (or at least you could not until yesterday with XNU on Linux), and you can't install anything else on the mac so the pricing is both logical and not cheap.

comment 12h ago · link · parent

Not actually. I was a GNU maintainer and used GNU/Linux for at least a decade and tried maybe north to a hundred different distros out of curiocity. I used to code in GTK, Pango, Cairo, all the good stuff of that world. I also developed software for windows and had been using it from 95 to 8 (never worked with 10 and 11), and I had Mac since Leopard all through today, and I had GNU Hurd Debians, I had OLPC's Sugar Desktop on Fedora, and had Haiku as a my real OS for a few months. Except for all versions of Windows, I adored and loved all my OSes except post Jony-Ive Macs and iOS till the introduction of Liquid Glass which I also adore. On the phone I also had Windows Mobile, Windows Phone 7, Simbian, Android 2, Andorid 2.6, Android 5, and Android 7, mostly on HTCs and now I have a many Android TVs. I really spent time with all of these systems, read about internals of XNU to NT to MINIX to HURD to Linux to ... and the quality is what I have seen out of at least two decades of working with them. And my love for the look was not from any ad, I just loved it.

comment 13h ago · link · parent

You're right. I take my words back.

comment 13h ago · link · parent

If anything, Apple has lawyers better than any place on the planet, even if the customers stay, they'll destroy them...

comment 13h ago · link · parent

And that is the horrible part isn't it? Its the most basic laws of physics: A software that instantly runs in your own computer vs one that you have to wait and sit so that a message travels the across the world, makes another computer that does the job of ten thousand other people put you in a queue and then process your work and then send another message that comes back to your computer.

- Native is always faster if you're not doing high performance computing like inference or simulation or whatever.

- Native nuns even after two decades on an emulator (I still have my beautiful Photoshop 1 and Word 1 running on System 6 in a Macintosh Simulator)

- Native is rock solid UI. You can't open the inspector and delete hald of the screen, the CSS won't break, the page never loads broken before your eyes every single time. You don't have to wait for every screen change.

- Your files are on your own computer and you can store them however you wish.

And then think about the internet software:

- It works as long as your account logs in and you have paid. There is absolutely no gaurantee that what works today works tomarrow. It is not an isolated binary anymore. I have an iOS 4 simulator and only five of all the apps I used to have works there because all other things have companies that have either gone out of business or changed their APIs.

- Go compare Figma to Sketch. I really really can't work with it. Web is inherently badly slow and WASM has not fixed any part of it because the DOM and JavaScript bottlenecks are decided to remain in the front and center. Compare Notion and just how slow its interface is, how much RAM it destroys to a native app. I really can't use Notion with all of its slowness.

- In Internet software world you always have to pray the endpoints you're using are not going out of date. That apps don't force an update you cannot skip, you are having no control.

Now it might be good for some people, but just look how amazing Zed editor is compared to VS Code in terms of performance, and how good vscode is to vscode online... that is what native is...

comment 14h ago · link · parent

Yeah and sadly U.S. killed all of them. I meant think about the TRON case...

https://en.wikipedia.org/wiki/TRON_project

comment 20h ago · link · parent

The news this week had Riemann being solved, a cancer treatment breakthrough happening, and the whole Mac being running in Linux.

And this literally is the headline that made me insanely excited!!

comment 20h ago · link · parent

So the rule of AI is CEOs getting fired and then asked to come back like nothing happened. Everything about their industry is cringe to bad levels.

comment 1d ago · link · parent

So it took less than a day for XNU on Linux to get Windows on Linux. Lets call Linux the universal OS and forget the rest, will ya?

comment 1d ago · link · parent

If you mean nerds running servers and opening apps on the web browser true. If you mean having apps comparable to Mac or Windows, and people actually normally using it in their daily lives without having anything to do with development, absolutely not.

comment 1d ago · link · parent

Yeah I have been very unfair, but my point how much getting something like a mac app running eleswere was a dream. How much effort was being put into things like GNUStep and Wine and React OS and... to get apps running out of an operating system into the other, and now you can run the whole OS... It is just inane. (And then to be fair, you get to have millions of lines of code codebases ported to the systems, so I guess you can point an LLM towards the Apple documentations and ask for drop in replacement behaviour and get the whole Foundation, Core Graphics, Core Animation, Core whatever...)

comment 1d ago · link · parent

Right? He is so good and if it was not over-shadowed by things like the Reimann being solved it would have taken the world by storm...

comment 1d ago · link · parent

This is beyond irony and mind blowing, I'm literally shocked and speachless. But you know the funniest thing is that XNU itself is designed to emulate Open BSD on a Mach kernel :))) this is Incepetion taken too deeply...

comment 1d ago · link · parent

I came to write the same comment. I used to think that the dominance of U.S. is mostly because no other country has the capacity to develop operating systems and the world depends on a few OSes that are entirely developed there. Linux was never winning, windows was shit, but OS X and iOS, they were at one side undeniably high quality, and on the other side impossible to copy. So I always thought "How can China win over US without an operating system". Apple had made it such that all Hackintoish efforts were blocked for some many years, and iOS was impossible to boot anywhere but inside of an Apple device.

Fast forward to now, and I have an amazing app sitting on my computer called "Light Touch" that allows me to install and emulate any version of iOS on my computer, proxity its network, install whatever IPA app I wish on it, and I can't believe.

And this one, I thought you must be joking. Imagine all the decades long efforts by GNU to clone Objective-C, Foundation, Cocoa... and they still can't even run NeXTSTEP software on GNUStep and GWorkspace. Then you wake up and see not one of teh libraries, not the bare XNU, but the whole fucking mac being running inside of Linux... I mean What the literal fuck.

Mac had this god-like image in my head as something made by who knows how many tens of thousands of world's highest of highest engineers and designers. You could see that no app outside of the Apple entering its app store could have the quality of design and harmony that Apple's own apps had. (I mean imagine one app outside of Apple in the days of iOS 4 or Leopard to have that quality of icons for example), then Apple with Ive lowered the bar to entry and all the other apps cached up and most even got way better than Apple, but that was still a different era and a different game. But look at the past few years. Apple introduced Liquid Glass---which to me was a way to say "hey flat designers making cross-platfrom stuff in Figma, you no longer will be able, I want to introdue a UI component so complicated that you can't bring it to Android", but then a matter of days liquid glass was everywhere. Figma and Sketch easily added it to their components, Flutter had it, everyone had it... I made my own in an afternoon. The iPhone Duo animation was perhaps 50% of its selling point and by the night you could have it on samsung as well as on a Mac...

This is insane, and it must be really a stupid thing to say, but to me Apple was something of the Da Vinci of my era. I could see all people trying to get to its quality and looks and everything but no one could, they always were ten times ahead of anyone and it was exciting to be sitting waiting to see what new thing they're going to show in the WWDC. Now that godness is being killed for me, and it is painful to watch.

comment 1d ago · link · parent

> What Happened to Silicon Valley?

It was a startup... now it's a company...

comment 2d ago · link · parent

Excuse my out of date information, but isn't jamming cancerous and badly harmf?

comment 2d ago · link · parent

Yeah but most of the phones I see have the same look, same camera array, same all-screen look and camera notch. Like how all laptops are almost the same.

The OS as far as I'm concerned is the same Android with its Material Design and UI rules. Sure, that makes using it easy and that is all that matters, but hey if you go one step more radical you'll see the difference between Windows Phone's Metro, and iOS, if you go even further you end up with forms like Smalltalk and even more so with things like Ivan Sutherland's Sketchpad. Things can be way, way more different but we get the same navigation bars, carts, boxes, icons, ideas... across all our software.

comment 2d ago · link · parent

Correct. You can even go back to things like the Shaker furniture or the history of the suit, or money itself. My point is that it is interesting how maximizing profit will always lead to thinsg merging and so eventually you'll reach a point of only one per category.

Think about it like this, 15~20 years ago, each company was building an operating system: Simbian, Windows Phone, Windows Mobile, various Linux based phones, Android, iOS, Blackberry OS, Palm OS, Firefox OS, Ubuntu's Unity Mobile... But then with the rise of iOS/Android, the cost of building something for each platform sky rocketed, you could have ten people each making the same tool for a different OS, or each making a different tool for the same OS. On the other hand it was easier to write one software for Android, and install Android everywhere, instead of having ten different apps for ten different OSes, and a company could install Android on their phones and have a smart phone, the other could make a whole operating system and only when all of the Anroid apps were available to their os it would have become feasible.

So efficiency and optimization always means the death of variety. You can have many programming languages with no good libraries, or a crappy JavaScript and C that have everything available to them... We all chose the latter.

comment 2d ago · link · parent

It's interesting how optimization will eventually make everything exactly the same. And it is just starting.

comment 2d ago · link · parent

I looked for DLL support and found nothing. The standard library is also different from C#, and you have to manage memory on your own. Sadly I don't get the point. People code in C# for the .NET and its huge library, unless this is not a drop in replacement, you have to port your whole codebase; well then people will write Rust already...

comment 6d ago · link · parent

Many years ago when Brave had just came out and it was an Electron browser---and Electron had like 10 use cases world wide---I was so frustrated with browsers that I thought man I can fork this and just fix it for myself. It wasn't about a revolutionary thing like Ladybird or if Brave was good foundation; it was only the lowest hanging fruit for me, the only possible one back then. I couldn't even fathom compiling Chromium, not to mention changing it.

WebKit is designed to be easily embedded, is already compiled in the mac and has a very straight forward API and is a part of Apple world, so you just make the browser shell and what you want. That is probably the rationale behind 99% of WebKit browsers. Search was 6MB worth of download, you can't have that with Chromium, and I don't think if people have the patience to use a half done browser engine so that it can be finished---although I personally am counting down for the day I switch to ladybird.

comment 6d ago · link · parent

It is so minimal, it somehow feels not finished. A very strange feeling to have. I liked it, but there is much room for improvement.

comment 6d ago · link · parent

Thank you for the link! I was so happy to zee Zigzag (because I didn't like Zen and some other clones I saw) and then I went and am trying to test all of this browsers.

Something worth mentioning is that till this far, I samehow think Zigzag is suprisingly the best of all of them in terms of stability, coherence of the design, and sheer performance. It is really snappy, it doesn't have the overkill designs of the Arc (like the beautiful 3D opening of a folder for example) but it is more coherent than almost all the other versions I'm seening. But I hope I can find one even closer to Arc. Thanks again.

comment 1w ago · link · parent

This is amazing but requires kerning tools and if possible ligature support.

comment 1w ago · link · parent

Just came to mention the same. I hope they go with a family of products next.

comment 1w ago · link · parent

There is this memo video of S. P. Jones that famously says "Haskell is Useless". I love Haskell, but I wished it was universal like C, C++, JavaScript, Rust, and C#. By that I mean: It could be used to create apps for desktop, mobile, and web. JavaScript can be used to do so many things like power the entire web, be on node and let anyone create cli and share the code with web, and mobile through React Native, on desktop with Electron and its alike things, it lets you do plugins for god knows how many things, it lets you write things for the GNOME Shell... C and C++ are perhaps behind everything in the world and string theory finally gets seen will see they are written in C. And they can be compiled to Web and almost everything in the world. Rust is a placeholder for the two, and C# reinvented itself when it saw Mono and now works even in the browser. Each time I see Haskell I wonder what else can I do rather than creating CLI apps, and it makes me choose something else that grants me more code reuse and interesting applications.

If I could have a vision for Haskell, it was for it to be useful. Academic research and making compilers is cool, a few cli things here and there are cool too, but why can't we build music players and game engines and flutters and web pages with it? The language is way more elegant and beautiful than all the JS/C like languages out there and I really wished I could use it for the things I did. I'm aware of Servant/Yesod/IHP/Miso/Reflex for web, GTK/Monomer for desktop, TidalCycles for music, SDL/gloss for games, and various FFI/plugin, but none of them feel as coherent and worked on as the others, none of them are polished. Haskell surely needs good DX, but it also needs really better reasons for existing.

comment 1w ago · link · parent

Apple works a lot like the regime in Iran: It goes miles to distance itself from its customers by keeping everything a secret, governing behind closed curtains, never talking like a human to the rest of the world and community; just repeating the same robotic marketing messages with exact same words back to people, showing products that bankrupts their most loyal indie developers without giving a damn, having hardcore circles of those who they engage and only on their own terms... And this is absolutely one of those things. This forum never saw a real contribution from Apple; people used to speculate and try to fix things on their own; without any keys to Apple's platforms. And not dismissing them and their work this easily says everything about Apple. It's like when they made the social network ping and let no one in; or how you can't put your song in Apple Music yourself because they only work with credible labels and whatever. This is not nice; but that is exactly why Apple works

comment 1w ago · link · parent

Can't believe what I'm seeing with my own eyes that Pharo is this fast, on a browser, on a mobile. I mean I get it that things have advanced and so much more insane things are out there (like running OS X Tiger with Infinite Mac, or SketchUp web, or...) but this still shocks me. Tech is advancing too fast for my monkey brain to pace with.

comment 2w ago · link · parent

In 2014 I was working on a building energy software for Iran's building regulations which differs significantly from the rest of the world. (most of the world rely on simulation on an engine called EnergyPlus, Iran used to have a static envelope-based heat transfer calculation as well). Back then the U.S National Renewable Energy Lab (NREL) used to have this plugin for SketchUp where you could model a building and the plugin would let you add energy details to the model.

I wanted to have that data model and SketchUp had this amazing cool thing where all plugins (which were written in Ruby) used to be running in the same space and so I could access the runtime of any other plugin. Here the team of OpenStudio were kind enough to share some of their internal APIs with me and so I could take their model and append my own data on top and let my users reuse all of their models from OpenStudio.

And then SketchUp web came and that whole plugin world was crashed. This forced me to go down the path of using a union-of-all-industry-file-formats (like TIFF for pictures) for building energy called gbXML, back then no one supported the file and so it was hopeless (and hard to implement) and eventually trying to create a CAD, which given the state of tech at 2016~2017 was hopeless too, and so it failed miserably.

Seeing this now, I was wondering how hard would it be to recreate that project with its own full CAD from KetchUp...

12345
11