Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sdegutis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
301.
▲
by
sdegutis
7y ago
It's really interesting to see so many people going back and forth between dynamically typed languages Clojure and Elixir, and statically typed languages like OCaml and Haskell. Lately I've even started to even question whether Ty
302.
▲
by
sdegutis
7y ago
It's also smart enough to know to use a temporary intermediate filename when you rename multiple files to use each other's names, e.g. swapping a.txt and b.txt.
303.
▲
by
sdegutis
7y ago
Emacs is actually a surprisingly good file manager. Dired + Ivy + knowing a few obscure shortcuts, and it's significantly simpler, faster and safer than either using Finder or Terminal. I've recently dusted off Emacs again after a
304.
▲
by
sdegutis
7y ago
I've found this website very useful: https://archive.org/details/texts My favorite part: It has actual scans of centuries-old books taken from many major libraries (NYPL etc). I can read something printed and
305.
▲
by
sdegutis
7y ago
Related: https://calendar.perfplanet.com/2016/cache-digests-http2-ser...
306.
▲
by
sdegutis
7y ago
It didn't load for me and I couldn't figure out why. Then I remembered that I put this in my /etc/hosts a few weeks ago and forgot about it. 127.0.0.1 google.com 127.0.0.1 www.google.com [Edit] S
307.
▲
Cache Digests for HTTP/2
(httpwg.org)
1 points
by
sdegutis
7y ago
|
1 comments
308.
▲
Why the GPL Is Unethical
(sdegutis.com)
3 points
by
sdegutis
7y ago
|
0 comments
309.
▲
by
sdegutis
7y ago
They've always done price matching, that's how they got their name when they came out in the 90s. But they still don't have a great selection and in my experience it's rarely worth it to shop there compared to Amazon for
310.
▲
The Distant Future of ES Modules in the Browser
(sdegutis.com)
2 points
by
sdegutis
7y ago
|
0 comments
311.
▲
by
sdegutis
7y ago
Well being a software contractor, I only get to bill for the time I actually do my job. I don't keep the clock running while I'm on HN for example. On a good day I can work a full 8-10 hours of billable time (which includes not on
312.
▲
by
sdegutis
7y ago
It's not just "seconds wasted in compiling". It's having my IDE say "thinking..." for 3-10 seconds every time I want to see what type something is . Or having create-react-app load for 5-15 seconds, every tim
313.
▲
by
sdegutis
7y ago
Everything you guys have posted in this thread looks like pure ninja magic to me.
314.
▲
by
sdegutis
7y ago
Same thing for rearrangeable tabs with close buttons. I think Firefox introduced that concept (maybe it was Chrome), but it never got an official API, either on Mac OS X or Windows, which is strange because it's been such a fundamental
315.
▲
by
sdegutis
7y ago
I do like that some Windows programs are now converting menus into searchable hierarchies, e.g. Visual Studio and VS Code. But those are just programs, and they're only power-user programs. Searchable grouped functions are a genuine
316.
▲
by
sdegutis
7y ago
This is kind of how I feel about Windows 95. I remember when there was only DOS, and then Windows 3 came out, and then Windows 95 which seemed like the very perfection of UI. Since then it seems to have gone downhill. Not very many true inn
317.
▲
by
sdegutis
7y ago
This is really similar to the format that AWS uses to represent recursive structures (arrays, maps) as a single array of key-value pairs for their APIs. Your catj could potentially be used to create that if ever working with the raw API dir
318.
▲
by
sdegutis
7y ago
Oh so lit-html has the incremental DOM update feature built-in? It's a full-fledged replacement for the VDOM? I thought it was just a syntax parser like HTM. (Hence my question.) [Edit] Oooh, I see where I got mixed up: in your README,
319.
▲
by
sdegutis
7y ago
For 20 years I couldn't make a Warcraft 2 clone because I just couldn't figure out A*. And now it turns out this Clojure program is probably doing just that! I can't wait to share this with my son. Having him help me port it
320.
▲
by
sdegutis
7y ago
For what it's worth, that class-field syntax proposal never settled well with many JavaScript and React developers, and now that Hooks are out, a significant number of us have abandoned class syntax altogether in favor of functions wit
321.
▲
by
sdegutis
7y ago
Thanks for the link. By the way I just noticed you're the maintainer of lit-html. How does it compare to HTM[1]? They both look like they accomplish the same goal but HTM's implementation looks smaller. [1] https://gith
322.
▲
by
sdegutis
7y ago
There's nothing wrong with Array#map passing callback(val, i, array), it's a legitimate feature, and the two other arguments can be omitted in actual callbacks. It just means we need to be aware of how it works, which is basically
323.
▲
by
sdegutis
7y ago
Pretty sure that's not how the laws of supply and demand work. If people need it, someone will fill that need at an affordable price. If we don't need it, we'll survive without it.
324.
▲
by
sdegutis
7y ago
I didn't know about the second parameter until I saw it in a TypeScript signature a few months ago, which acted as a sort of warning to me to avoid using it incorrectly. But TypeScript doesn't catch this specific bug because it&#x
325.
▲
by
sdegutis
7y ago
Yes, I use TypeScript types very idiomatically and have received very positive feedback on my TypeScript code. But just running `tsc` takes >10 seconds on a relatively small project, and IDE support is becoming proportionately slow, e.g.
326.
▲
by
sdegutis
7y ago
They throw every convention out the window and act like they have a true greenfield audience. They don't even allow [variable, Class, CONSTANT] convention, they don't follow the convention of letting devs choose their own project
327.
▲
by
sdegutis
7y ago
I've never been to programming college but in 10 years I have always heard them as def(parameters) and call(arguments). Probably a lot of that was when reading about how VMs and compilers work, though.
328.
▲
by
sdegutis
7y ago
I remember there was this CEO once who was new to the software industry and was looking for a word to describe non-small-business customers. When people suggested "Enterprise", he instantly dismissed it, and when they insisted thi
329.
▲
by
sdegutis
7y ago
Right so the $ in PHP or @ in Perl would be a sigil, (and even the $ and % in QBasic, am I dating myself?) and the # in this example and all C code and some Swift code would be a pragma. Seems pretty cut and dry.
330.
▲
by
sdegutis
7y ago
That's the general consensus and how I mostly feel too. But I'm starting to feel like the drawbacks might possibly be outweighing the benefits.
More ›