Readit News logoReadit News
yokohummer7 commented on It used to be simpler to teach Unix   jpmens.net/2020/09/27/it-... · Posted by u/goranmoomin
yokohummer7 · 5 years ago
> likely in order to have those paths easier to copy and paste, but it does so only if !isatty().

I thought the reason was to aid shell scripts that assumed no whitespaces in file names, wasn't it? Also, I believe I've seen single quotes when using `ls` on a terminal, so the behavior is not only for `!isatty()`.

yokohummer7 commented on C implementation of Tic-Tac-Toe in a single call to printf   github.com/carlini/printf... · Posted by u/Megabeets
yokohummer7 · 6 years ago
> %n takes a pointer and writes (!!) the number of bytes printed so far.

> Okay, everyone probably knows this. Let's get a bit more advanced.

Ok, but I didn't know about that. What's the use?

yokohummer7 commented on Electron 9.0   github.com/electron/elect... · Posted by u/timothy-quinn
fermienrico · 6 years ago
I can instantly tell, not by the looks or aesthetics, but by the way an Electron app behaves that it's not a native app. It has got that "browser"-like feel to it. VSCode/Slack/etc have a different "feel" to the UI vs. say Mail/Messages/Photos app. Not sure how to describe it. It is just the way it reacts and responds. Does anyone else experience the same?

If there was a A/B test, I am pretty sure I can nail almost 100% of the Electron-based apps. Same thing with MacOS vs Windows apps - Windows is a lot "snappy" and MacOS is very "rounded and smooth" when it comes to the UI feel (not looks).

For those curious about why we describe non-visual things in terms of visual metaphors (sharp, smooth, etc) is because of adjacency of brain structures and cross-wiring between them . It is called the Bouba/Kiki effect, "Bouba" is round shape, and "Kiki" is a sharp shape, in almost every culture and it's universal: https://en.wikipedia.org/wiki/Bouba/kiki_effect

Edit: It feels like it is impossible to talk about opinions without getting shafted by the "Electron lovers/haters" crowd. Wtf. I am not saying one is better than the other. Even if I did, why can't we talk about it if it is substantiated? A lot of this stuff is subjective and experiential.

Edit2: Stop upvoting you people! There is nothing to see here and I don't know anything about the original topic, i.e. 9.0 release. Dump this thread please.

yokohummer7 · 6 years ago
> Does anyone else experience the same?

The first time I experienced such a feeling was when Visual Studio .NET came out. Compared to the previous version, Visual Studio 6, the dialogs and wizards in VS.NET gave me a "web-like" feeling. I guess it was one of the first attemps to use the web technologies to make a desktop app. Along with the Active Desktop feature, they were truly ahead of time.

However, that doesn't mean I loved them. VS.NET was slow as hell and I believe it was one of the reasons why VS6 lasted for so long.

yokohummer7 commented on FreeRDP 2.0 – A Remote Desktop Protocol implementation   freerdp.com/... · Posted by u/conductor
wayneftw · 6 years ago
I'm so glad that the FreeRDP client on Linux works really well. It's one of the pieces of software that made transitioning away from Windows much more convenient as I continue to work with Windows systems and sometimes, tools.

The RDP server is one thing I miss from Windows though. On Linux I haven't found anything nearly as good. It's really surprising to me too - given that a good visual remoting tool allows for such ease in cross platform living.

I suppose there are a lot of reasons for this, but primarily I guess that most Unix natives would consider SSH to be good enough.

yokohummer7 · 6 years ago
It's strange nobody mentioned NX (NoMachine). When I tried it ~10 years ago, it was much faster than VNC, nearly identical to RDP. Why isn't it more popular?
yokohummer7 commented on How to manage HTML DOM with vanilla JavaScript only?   htmldom.dev/... · Posted by u/velmu
b0ner_t0ner · 6 years ago
Too bad this site doesn't remember your scroll position when you go to a page and hit the back button. For a site promoting vanilla Javascript, it didn't really need to be built with React.
yokohummer7 · 6 years ago
I was also annoyed by it not remembering the scroll position. The site doesn't live up to its name.
yokohummer7 commented on A Message to Our Users   blog.zoom.us/wordpress/20... · Posted by u/casca
xenonite · 6 years ago
And more recently, Zoom Is Leaking Peoples' Email Addresses and Photos to Strangers

https://news.ycombinator.com/item?id=22753675

yokohummer7 · 6 years ago
This problem also seems to stem from the fact that Zoom has been used primarily in the corporate settings until now, which kinda validates their claim. Definitely not ideal, but understandable.
yokohummer7 commented on Google's Internal AGPL Policy   opensource.google/docs/us... · Posted by u/verdverm
yokohummer7 · 6 years ago
> Do not attempt to check AGPL-licensed code into google3

What is this "google3" thing? Is this the name of their monorepo?

yokohummer7 commented on Show HN: SFTPGo 0.9.6   github.com/drakkan/sftpgo... · Posted by u/drakkan
dang · 6 years ago
A thread on this project from last year: https://news.ycombinator.com/item?id=20531541

If you're going to make a Show HN out of a new release, it would be good to add a comment explaining what's different since last time!

yokohummer7 · 6 years ago
How do you even remember a thread from last year? I'm always surprised by your vast knowledge required for moderation. Possibly with a help of some internal search tools?
yokohummer7 commented on Ask HN: Do you ever truly use your revision history?    · Posted by u/_bxg1
bacon_waffle · 6 years ago
We just switched from Perforce to git at work, and about the first 2/3 of a project I work on got squashed together. It took me less than a week to bump in to that "initial commit" when trying to figure out why a bit of code is the way it is.

"git blame" (or the p4 equivalent) is my usual archaeologic tool in this context, but "git bisect" has been very helpful in others. For the first, it should be easy to look at your current codebase in SVN and see how far back the history goes in any particular area. I've found that bisection is most useful for relatively recent history, because I usually have wanted to build or run the software to test for a bug or something - beyond some point in history that becomes impractical.

Moving from SVN to git shouldn't require losing history though...

yokohummer7 · 6 years ago
I'm in a similar boat with you, so I have a few questions:

1. Why did you switch? Are you satisfied with the new experience?

2. Why was some of the history needed to be squashed? Were there any technical concerns?

yokohummer7 commented on Will VBA Die? (2019)   thespreadsheetguru.com/bl... · Posted by u/UkiahSmith
kevas · 6 years ago
Nah... why should it? It works and it does what it needs to do and more if you decide to hook into the Windows API or Mac’s API.

Want to parse 500mb structured XML file? Okay. Takes 3 seconds or so.

I had a lot of fun creating a full featured & modern look & feel application using Excel’s VBA runtime as my platform. Sure... I had to create everything from scratch, but learned so much while doing it. Kind of miss it at times since I now work with Java.

By the time I moved jobs, the codebase was +30k lines and even built an auto-updater, auto-installer, diagnostic, and AD type of authentication for the app, but most importantly saved tens of thousands of hours by automating reporting, analysis, detect errors, and querying that analysts, accounting, and some BI’s would do as part of their normal work.

VBA is great for analysts to work in Excel all day & every day who want to get into programming a little more, but want to have it apply directly to their daily work.

Now.... I wish Access does die...

yokohummer7 · 6 years ago
But it doesn't have to be VBA. Any language with a decent OLE Automation library would suffice. I've been using Python to automate my Excel files, and am really happy about that. I tried to learn VBA, but could not adapt to its archaic syntax and the clunky VBA editor that comes with Excel.

u/yokohummer7

KarmaCake day619August 17, 2015View Original