Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
emidln
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
emidln
2y ago
One way you might fund a search engine is if you needed the index for some other busineds purpose (say, Siri). It will have a cost, but if you can defray the crawling and some processing cost, it becomes much easier to stomach without ads.
32.
▲
by
emidln
2y ago
As an aside, why add footnotes with misc words/brands rather than numbers?
33.
▲
by
emidln
2y ago
It only allows simple rebinds, although maybe this makes Karaviner-Elements not necessary for most people. MacOS can do caps lock to control or caps lock to escape. I bind caps lock to escape if pressed alone or control if pressed together
34.
▲
by
emidln
2y ago
Besides the usual Firefox/Chrome, Spotify, etc I use the following: - Karabiner-Elements[0] for key remapping, specifically, for making caps lock into ctrl/esc. I don't know of anything else that does this job. Everyone who r
35.
▲
by
emidln
2y ago
len() is an O(1) lookup of the stored length on the unicode/bytes object in Python.
36.
▲
by
emidln
2y ago
Bazel solves this exact problem (coming from its macrosystem) by allowing you to ask for what I term the "macroexpanded" BUILD definition using `bazel query --output=build //some/pkg/or:target`. When bazel doe
37.
▲
by
emidln
2y ago
It's great seeing progress made here. C/C++ will never be truly safe languages, but every little bit the compiler can help with is appreciated, esp by those maintaining established codebases.
38.
▲
by
emidln
2y ago
In finance, it's common to see a base of 150,000 and a VR of between 300k and 750k for engineers. During garden leave, you get paid your $150,000 as part of payroll, but are ineligble for VR. Your total comp goes from 450,000 (in medio
39.
▲
by
emidln
3y ago
There was also a Gentoo effort to run atop FreeBSD[0]. The challenge of course is that afaik none of the BSD kernel ABIs are considered stable. The stable interface is the BSD libc. That said, with binfmt_misc, I don't see a reason you
40.
▲
by
emidln
3y ago
I've used pypy in anger a few times. I haven't needed to do reasonably performant webdev in python for awhile, but there was a time when PyPy and the cffi-based database drivers could not be beat by CPython interpreters for non-tr
41.
▲
by
emidln
3y ago
Why can't you just put the equivalent of `(repl)` wherever you want to debug and drop into your REPL?
42.
▲
by
emidln
3y ago
This is the risk they take in exchange for being able to fire me at will.
43.
▲
by
emidln
3y ago
If the someone elses on my team can't read a short shell pipeline then I failed during interviewing.
44.
▲
by
emidln
3y ago
Indeed, when I was a teenager I spent at least 5 hours a day chatting on Yahoo Chat/IRC, getting into flamewars on mailing lists, etc. Was that any different? I'd find it hard to believe GNU/Linux vs Linux or Slackware vd Red
45.
▲
by
emidln
3y ago
I know of at least two `mg` users (a barebones C impl of emacs) that use it for almost everything (including c++ and python). That's `emacs -Q` to the extreme.
46.
▲
by
emidln
3y ago
We're told from the start to live within our salary and investment returns. If you make $200k base, usually make about $1m TC and choose to spent all of your cash every year, I don't feel esp bad for you. The operative word from V
47.
▲
by
emidln
3y ago
I've black lined a lot of clauses in employee agreements like the one in the article. When questioned by the company I tell them I cannot agree to such terms at the salary being offered and generally propose what I consider to be an ou
48.
▲
by
emidln
3y ago
You bump the version gcc.spec in say, Fedora rawhide. What happens when random package foo doesnt compile with it? Foo is fixed or you skip that gcc version. Unless foo is very important and very hard to fix, you fix foo. Distros already en
49.
▲
by
emidln
3y ago
Reifying the toolchain dependency is the point. If you don't do this, you're fucked anyway.
50.
▲
by
emidln
3y ago
> Actually a robot would be perfect at that. No one likes doing layoffs but chat gpt won't mind Maybe chatgpt should be trained to care.
51.
▲
by
emidln
3y ago
The source code to the kernel's elf "binfmt"[0] is very readable. The elf binfmt is registered (along with a few others like `binfmt_misc`) and you get dispatched there via `exec_binprm`[1] which is invoked by the `execve` sy
52.
▲
by
emidln
3y ago
I treat picking uncommon OSS packages as adopting a bit of software. As I verify the tests look good, the build system, the api, the correctness, etc I also consider the code style and whether I (or my team) could maintain/patch it if
53.
▲
by
emidln
3y ago
I had a high school physics teacher who would have the instructions "Answer in SI units unless specified" at the top of his exams, but there was always a last bonus problem that referenced the previous answer and promised extra cr
54.
▲
by
emidln
3y ago
Most nontrivial Django websites also have varying structures. At least they did a decade ago when I was working as a consultant specializing in Django. About as much commonality as Flask. Did Django ever figure out a less verbose way of dec
55.
▲
by
emidln
3y ago
It's a travesty that slavery is still legal in the USA. These slaves also compete against free citizens who would otherwise be employed for these positions. UNICOR isn't just stealing from inmate slaves, it is stealing from averag
56.
▲
by
emidln
3y ago
There's no reason to allow arbitrary traffic in either direction other than convenience. If you want a more secure network, you block everything by default and narrowly open as needed.
57.
▲
by
emidln
3y ago
>> you as an adult get asked to “stop helping them get ahead of the class” > Whether by parental training or self study, some teachers treat it almost as a crime to understand the material before the class starts. I remember a 7th
58.
▲
by
emidln
3y ago
> each release of CentOS Stream is a frozen Fedora release This is the current state. Why should IBM maintain rolling updates into Fedora ("rawhide"), then cut a Fedora release, then bless a Fedora release as Centos Stream, th
59.
▲
by
emidln
3y ago
I've used Red Hat Linux (first Caldera Linux, a 90s era clone), then Fedora, as well as RHEL and its clones (Scientific, Centos, Rocky) since the late 90s. I've used it personally, pedagogically, and professionally. I recommendede
60.
▲
by
emidln
3y ago
The path my teachers took in school, a few decades ago, was to design math tests that never required a calculator. All problems used basic arithmetic and calculators would actively slow you down. This works for a large portion of elementary
More ›