Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aulin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
301.
▲
by
aulin
5y ago
Is this really common? I mean using a laptop for such compute intensive tasks? I mostly use my macbook air m1 as a client to more powerful machines. I always have a few ssh sessions opened, a few tramp emacs buffers, some browser tab to jup
302.
▲
by
aulin
5y ago
I'm pretty sure PowerPoint is way older than that. It was already there in basically its current form with all the terrible animations in office97 but it goes back to the late 80s.
303.
▲
by
aulin
5y ago
Used to maybe. Last I checked Linux still has font antialiasing with subpixel hinting while MacOS removed it completely and fonts look terrible on anything sub-retina.
304.
▲
by
aulin
5y ago
Sure but that's hardware enablement, we're talking about the desktop experience. Or at least so I thought.
305.
▲
by
aulin
5y ago
You cited Torvalds. So you were talking about the desktop experience. Now you're talking about hardware compatibility and that's not a fair comparison, on the other hand you have a vendor that makes its own hardware, and the refer
306.
▲
by
aulin
5y ago
Please do share your experience then. Because it's been working amazingly out of the box since years. I love macs but I have to spend way more time installing tools and configurations to get it to a level comparable to a similar Linux&
307.
▲
by
aulin
5y ago
IIRC they recently added support for some half-assed tiling, only for two full screen windows side by side. It's called Split View.
308.
▲
by
aulin
5y ago
Every single HN thread vaguely related to Linux desktops there's these guys who never tried it for more than a couple of minutes but still feel the need to come here to spread their bullshit. GNOME these days is on par with MacOS if no
309.
▲
by
aulin
5y ago
Used to do my custom basic tiling with hammerspoon. I remember I loved it but at some point I started using Rectangle and I gradually forgot what I was using hs for other than window management.
310.
▲
by
aulin
5y ago
If you have SSH access the best solution would be to install emacs on your client and edit remotely. Tramp allows you to edit remote files transparently. Setup key based auth if you can, add an entry for you device in client's .ssh
311.
▲
by
aulin
5y ago
Sure, you and others like you make pretty valid points. I believe we are talking about different use cases, hence the confusion. I was thinking of my most common use case of archiving events, usually experimental data, with a non ambiguous
312.
▲
by
aulin
5y ago
I have `(menu-bar-mode 0)` in my init.el and I get no menubar on macos, emacs@plus installed with homebrew. Agree though that it's stays out of the way and I might re-enable it just for mac
313.
▲
by
aulin
5y ago
Honestly I'm not sure, in ten years Berlin timezone could not exist anymore, in your example you need a special time representation that says "this time in local time, whatever local time will mean in the future". I'm no
314.
▲
by
aulin
5y ago
My point is that either you save a properly localized tz-aware time in unambiguous standard format (iso 8601?) or you save a universal timestamp (and location if needed) and defer all the localization process to the moment you need to displ
315.
▲
by
aulin
5y ago
if you need context, e.g. location, you can still save it in another field and you will be able to correctly display localized time at any point given the universal timestamp and the current location. Or you can save properly localized and
316.
▲
by
aulin
5y ago
You convert it to the local time at that location at that point in history. That's something that belongs to time localization, timestamp should be universal and immutable against those changes.
317.
▲
by
aulin
5y ago
I suffer from the same problem, if problem it can be called, it's just a different sleep pattern. I learned to live with it mostly. I wake up at 3 am and there is no way I fall asleep again before 1.5-2 hours. I just get up and do some
318.
▲
by
aulin
5y ago
wait, why? unix timestamps are safe from this kind of mess as they are UTC seconds since the epoch, all the tz-aware conversion happens when you need to display localized dates but the timestamp you save should be as neutral and tz-unaware
319.
▲
by
aulin
5y ago
Yep, it binds history search to key up and key down. Start typing a command, press up or down and it will scroll through matching completions from history
320.
▲
by
aulin
5y ago
"echo" can be useful when prototyping scripts and for cycles, I prepend my critical commands (e.g. mv and rm) with echo and run the cycle to see all the commands with variables expanded before actually running them.
321.
▲
by
aulin
5y ago
I always add "\e[A": history-search-backward "\e[B": history-search-forward to my .inputrc, I find it easier to use than C-r as it's some sort of autocomplete from history. But looking up commands with !num
322.
▲
by
aulin
5y ago
From the italian version I understand max 500 lines of GPL code can stay... not sure about the reason, it can be quite a lot of code
323.
▲
by
aulin
5y ago
It largely depends on the affected area... It can kill you instantly if it takes conduction centers, kill you years later if it damages the muscle or it can leave no consequences at all. It can go unnoticed and still leave you with long ter
324.
▲
by
aulin
5y ago
You can still ship early and often while adding a comment here and there so tomorrow you'll understand what you wrote and won't have to figure it out all over again
325.
▲
by
aulin
5y ago
hahaha amazingly I actually heard this in real life a couple of days ago... something along: "you write more comments than code! that's not productive!"
326.
▲
by
aulin
5y ago
Also, find the real source of what you're copying. The formula they cite for brightness is a rounded version of BT601 luminance. Citing the standard in the comment is way better than just linking a random SO answer. Links are mutable,
327.
▲
by
aulin
5y ago
Don't know, I'm still not convinced. The term deals more with the outcome, feeling like a fraud while being perfectly capable of fulfilling a role, than the reasons that could spawn those feelings. In my opinion feeling you lack
328.
▲
by
aulin
5y ago
I believe that has to do with discretization of a math operation (derivative, differential equations) that's inherently continuous. There are algorithms (symplectic integrators? Verlet?) that are perfectly capable of computing orbits w
329.
▲
by
aulin
5y ago
You can be entirely competent for a role and do it successfully while still feeling like you're missing fundamental knowledge you won't ever need to accomplish your job but that it's commonly perceived as a requisite. That ca
330.
▲
by
aulin
5y ago
Nope, imposter syndrome is when you're perfectly capable of doing a job but you don't know everything your role is supposed to know. You can be a successful scientist in a math-heavy field without having to do any pen and paper ca
More ›