683 points · by oh-renovamen · 5y ago · 191 comments
Here's the link to website and Github:
Website: https://portfolio.zxh.io
Github: https://github.com/Renovamen/playground-macos
I appreciate any feedback or suggestions.
Then I was like: Cool, look how he got the nice Dock animation down, I bet it took him hours to sort that out.
And then I opened VS Code and I had to write to tell you how my mind was blown.
Kudos, senpai.
In late 90s, I got a gig in part by demo-ing my own personal MS Outlook emulator web front end (backed by ColdFusion POP3/SMTP calls). It was entertaining getting a 1996 browser to look and behave like Outlook — had to love frames and multipart server push.
Seeing Bear, Terminal, and VSCode here are all both delightful and impressive.
Typo feedback:
“In the last sever days, Safari has prevent 95 tracker from profiling you” —> “In the last several [seven?] days, Safari has prevented 95 trackers from profiling you”
It sounds amazing and quite hard to achieve that in 90s, awesome job!
I'll fix the typo later, thanks!
I started it about 10 days ago, but it's hard to calculate out the exact number of hours...
Source code here: https://github.com/conwnet/github1s
Discussed a while ago: https://news.ycombinator.com/item?id=26083919
The mind-blown moment for me was when I typed `cat my-` into the terminal and hit Tab, and it actually tab-completed the filename :D Nice touch.
What browser/hardware?
I dont’t like frontend work, but that’s different from being bad at it. :)
macOS’s resizing has some useful functionality here: dragging an edge resizes in that direction, double-clicking an edge maximizes in that direction (including diagonally) and option+any of these resizes the opposite side of the window as well. So, if you hold option and double-click a corner, it’ll do a Windows-style maximize.
I've used Linux command lines with more discoverability than that. Good to know if I ever need to use macOS, though, that's a nice trick.
Also, most of this sort of functionality is documented in the built-in help system accessible through the help menu.
So it is indeed broken. The fact that it's not humanly possible to fullscreen Safari without Spectacle/Rectangle clearly means it's broken, whether it's what th ey wanted or not.
And, as I've pointed out, both behaviors are possible on macOS out of the box.
You're just used to other platforms.
You get keyboard shortcuts for tiling things and can drag/snap to edges of the screen.
Here's a quick demo[3] of what this looks like on my machine.
[1] https://brettterpstra.com/2017/06/15/a-hyper-key-with-karabi...
[2] https://manytricks.com/moom/
[3] https://my.supernotes.app/share/wire+unaware+noble+meadow
Edit: It's possible to bypass the recursion limit. First open the "Blog" bookmark on the Safari start page. Use Inspect Element on the "portfolio" link at the top right, and remove
target="_blank"
from the HTML. Open the portfolio and enjoy infinite recursion.Relevant: https://www.bryanbraun.com/2021/03/24/infinitely-nested-ifra...
In the second recursion step, when entering the URL manually, the tab remains blank. If I instead try to click on the unedited "portfolio" link, the site opens in a new (native) tab.
Happens on Safari and Firefox (macOS) as well as Chromium (Debian).
Haven't had my Saturday-morning coffee yet, but I think the realism and attention to detail are really impressive. (Check out the Terminal app if you haven't.)
Indeed. I typed "rm -rf /" into the "terminal" in the web browser, and it cost me quite some nerve to actually hit Enter.
Also, if you want to see a portfolio simulating Deepin (a Linux distribution) developed with Vue, check this:
zou@macbook-pro ~ > cat my-dream.cpp
while(sleeping) {
money++;
}It's so convincing that, on an iPhone, I went to one of the applications with camera, got a camera permission dialog, assumed it was part of the mocked up UI and clicked through... then was a bit surprised to see that it was actually using my camera feed!
The UI was of course the actual iOS safari permission dialog :-)
I'd never consciously noticed that aspect of macos before, but this small detail instantly threw the window border into uncanny territory for me. I had to zoom in on both sites to spot what was going on!
I was able to play the alpha of my game in the embedded Safari! https://i.imgur.com/PWCYEZP.png
Really interesting how iframes are an underused tool.
For those who are interested to see the source: https://github.com/Renovamen/playground-macos/blob/main/src/...
and a performance profile shows absolutely insane JS overhead (in React) when simply dragging a window. compare this to something like https://nextapps-de.github.io/winbox/, and you start to wonder if "the React way" is really best-suited for everything that people use it for.
It really looks like MacOS (I made the same mistake as @chrismorgan in another comment) and accidentally closed the tab with ⌘-w). The attention to detail, the easter eggs—I really have no words but to say, great work! Wow.
Oh and I found a typo in Safari:
> In the last sever days, Safari has prevent 66 tracker from profiling you.
I'm assuming that should be seven.
Not really an exact portfolio, but it leads to my twitter and gets me tons of followers, and leads them to my personal site, so IG it counts
Overall this portfolio was really well done!
This is a really cool website! Well done.
Any way, this project is just for fun and I never expected to find a job through this. Thank you for liking it!
You could get the display brightness working too - just change the opacity of the page (with a black background).
But yea you are correct, this person would have no trouble getting hired.
Great portfolio!