Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scaladev
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
scaladev
5y ago
These days you can write build scripts in Kotlin. It provides proper type checking and better auto-completion.
32.
▲
by
scaladev
6y ago
Desktop Windows won't run there directly (but works just fine virtualized under qemu, I should add). It's a pretty typical all-in-one SoC, but with an x86 core: https://ark.intel.com/content/www/us/e
33.
▲
by
scaladev
6y ago
Thanks for the suggestion. Adding these flags halves the startup time: $ time ./pwsh -NoProfile -NoLogo <<<'' >/dev/null real 0m0.456s user 0m0.388s sys 0m0.040s Much better, but I still wo
34.
▲
by
scaladev
6y ago
The latest version works fine on my x86 phone with Android 5.
35.
▲
by
scaladev
6y ago
I just checked, if you already have .NET installed, the powershell package is about 20 MBs, which is… tolerable. However, I see that the latest version still starts very slowly compared to *nix shells (and also Python). The shell was runnin
36.
▲
by
scaladev
6y ago
I see lots of comments here assuming absolutely everybody uses Chromium-based browsers. The Firefox "cult" (which I have been a part of since 1.5) is a bubble inside a bubble.
37.
▲
by
scaladev
6y ago
One can enable compression by default for all ssh connections by adding Compression yes to ~/.ssh/config It can pipe many megabytes of text output per second on relatively slow channels (`ssh -vv` prints the total data tran
38.
▲
by
scaladev
6y ago
>removable batteries aren't that important now If you like throwing out your phones every two to three years, then sure.
39.
▲
by
scaladev
6y ago
Did you not read TFA? > the Ever Given and its some $3.5 billion worth of cargo would not be allowed to leave Egypt
40.
▲
by
scaladev
6y ago
>think of this as the coolest year for the rest of your life As someone who had to suffer through −40-45°C winters all my life, I can live with that. I don't know if it's due to climate change, but this winter was pretty tame.
41.
▲
by
scaladev
6y ago
> It just exists because JavaScript developers don’t want to learn something new. Are you sure? I started building a desktop application recently. As much as I abhor Electron and refuse to touch anything built on top of it, there basical
42.
▲
by
scaladev
6y ago
Don't forget there are a couple hundred countries besides US. I make a relatively decent living by our standards, but nowhere near close to $100k/year. $150-250 per year is quite a bit of money for us.
43.
▲
by
scaladev
6y ago
Jesus, what a pain. Why the hell do you need to wait for your proprietary OS vendor or BIOS vendor to update anything? On Linux the kernel does that for you, just configure your bootloader to point the kernel to a microcode image and that&#
44.
▲
by
scaladev
6y ago
vim does this too. If it hangs on you when opening a very large file, don't hesitate to press Ctrl+C. It does not terminate the whole process, but aborts the syntax highlighting, and the editor becomes very snappy.
45.
▲
by
scaladev
6y ago
TBH I have absolutely no desire to pay taxes for yet another JavaScript framework. I'd be happy to set aside, say, 5% of my monthly salary to be divided between the applications and libraries I actually use. (I do something like this,
46.
▲
by
scaladev
6y ago
>there's a bunch of stuff that kind of looks like it would make sense when reading a Chinese word in Japanese, but turns out there's a lot of meanings are very different As someone who knows nothing of the Japanese language bey
47.
▲
by
scaladev
6y ago
mpv also works fine as an image viewer if you don't view many high-res photographs (I don't). https://github.com/mpv-player/mpv/issues/7983
48.
▲
by
scaladev
6y ago
> The cherry on top was to stop paying each year for a new smartphone, that does nothing more than the previous one Why were you buying new phones every year? This is such a non-argument. I've been using the same Android phone for a
49.
▲
by
scaladev
6y ago
Did you try KeePassXC? It's much more actively developed and runs circles around the original KeePass: — it's a native application (starts instantly on less powerful machines) — can check your accounts against haveibeenpwnd.com d
50.
▲
by
scaladev
6y ago
>Can I expect non-UI .NET code to port well to Linux If it wasn't written with tons of pinvoke to win32 or using Windows-only services (like WCF), then sure. I've been building NET Core applications for Linux and exclusively on
51.
▲
by
scaladev
6y ago
When pasting something to the terminal (especially if it's longer than one line or was copied from an untrusted source), I like this approach: 1. open your terminal emulator; 2. press Ctrl-X + Ctrl-E in a shell prompt; 3. it opens your
52.
▲
by
scaladev
6y ago
I thought the original idea behind free software was to provide more freedom to the users (to thinker with, replace, and learn from said software), and not to pad the bottom line of a multi-billion dollar company by saving them the need to
53.
▲
by
scaladev
6y ago
You can disable registration (and authentication through third-party providers) if that's what you mean. Personally I'd rather use gitea though. It has a more healthy development community (as in more than one developer) and is ga
54.
▲
by
scaladev
6y ago
In my country you can easily buy a few thousand SIM cards for a cent or two each. I've seen them in classified ads, they're not even hiding.
55.
▲
by
scaladev
6y ago
One course of an antibiotic might not "rot your brain", but one course of a corticosteroid certainly can. https://en.wikipedia.org/wiki/Steroid_dementia_syndrome#Case... I was on prednisolone for a couple of
56.
▲
by
scaladev
6y ago
>xz It may not be ancient, but it's certainly not the greatest compression format out there. I found this article to be very informative: https://www.nongnu.org/lzip/xz_inadequate.html (The author worked on lzi
57.
▲
by
scaladev
6y ago
If you're using systemd, drop docker and start your browser through something like this: #!/bin/sh systemd-run \ --user \ --scope \ --property=MemoryHigh=4G \ --slice=background \ /usr/bin
58.
▲
by
scaladev
6y ago
I am a happy Wayland user, and have been for a long time. There are many more out there. You don't often hear us because we don't spend every waking hour shitting on Xorg and praising Wayland for how good it is (maybe we should?)
59.
▲
by
scaladev
6y ago
All of these isolation techniques (and much more) can be used inside systemd units. Write your .service as usual, then run this command on it: $ systemd-analyze security service-name It prints out a long list of hardening flags that
60.
▲
by
scaladev
6y ago
OBS Studio + some mechanism to connect it to your compositor. For wlroots-based compositors like sway here's the most lightweight solution: https://hg.sr.ht/~scoopta/wlrobs For mutter (GNOME): https://g
More ›