Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spatulon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
spatulon
7y ago
I saw on Twitter[1] that they're using it to show which methods/functions changed in a pull request[2]. [1]: https://twitter.com/rob_rix/status/1134537990095720450 [2]: https://github.blog
62.
▲
by
spatulon
7y ago
They're just going to remove it completely: > Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. In future versions of macOS, scripting language runtimes won’t b
63.
▲
by
spatulon
7y ago
Note that it's not my code, nor am I familiar with it. I just had it lying around on my disk to try out Alacritty. Here's the line in question: https://github.com/jwilm/alacritty/blob/master/ala
64.
▲
by
spatulon
7y ago
Similarly, I made a custom colour scheme that only highlights comments and TODOs: https://imgur.com/zp4GarX I feel like my ability to read code improved from disabling any other highlighting, but I have no real way of testi
65.
▲
Synchronous Text
(exple.tive.org)
15 points
by
spatulon
7y ago
|
6 comments
66.
▲
OpenAI’s Dota 2 bot defeated 99.4% of players in public matches
(venturebeat.com)
6 points
by
spatulon
7y ago
|
0 comments
67.
▲
by
spatulon
8y ago
A while back I noticed a trend of Window C programmers (often game developers) writing their own minimal Windows.h to reduce compilation times. If you're already doing that, modifying the identifiers or adding preprocessor aliases to m
68.
▲
by
spatulon
8y ago
From there I found a couple of articles with more pictures (and a suggestion that the corium could eventually melt through to ground water): https://www.mcgill.ca/oss/article/did-you-know/there-radioac... ht
69.
▲
by
spatulon
8y ago
It doesn't seem well-known, but their daily ear-training challenge is really excellent, at least for a beginner like me. https://www.hooktheory.com/ear-training
70.
▲
by
spatulon
8y ago
I think the QL handbook is what you're looking for: https://help.semmle.com/QL/ql-handbook/ Other QL references (such as the reference manuals for the language-specific libraries) are linked from here: https
71.
▲
by
spatulon
8y ago
I work on C/C++ analysis at Semmle, and am happy to answer any questions you might have. (We also support C#, Java, JavaScript, Python... and Cobol!) We have a few high-profile projects using our automated code review (marketing people
72.
▲
by
spatulon
8y ago
Here's some anecdata from my experience using git at work, where we have a single large repository for all projects. Running `git status` in a Linux VM is fast (near-instant). With the native Git for Windows, it's noticeably slowe
73.
▲
by
spatulon
8y ago
For what it's worth from my not-particularly-scientific tests at work, they both compressed significantly better than gzip, but zstd compressed better and faster than brotli for our typical file sizes (text files around 5-20kb). Mind y
74.
▲
by
spatulon
8y ago
BTW, you appear to be shadowbanned. I vouched for your post to un-kill it.
75.
▲
by
spatulon
8y ago
Have you seen this comment from a Microsoft employee explaining why NTFS performance is so bad? It's pretty interesting and informative, but doesn't leave me with much hope that things will ever improve. https://github.
76.
▲
by
spatulon
8y ago
The fact that FILE_SHARE_DELETE has to be explicitly specified in calls to CreateFile, and that the file APIs in most languages don't use it or allow it to be specified, has to be one of the top three annoyances I have in using Windows
77.
▲
by
spatulon
8y ago
Here are your C examples for easy viewing: https://godbolt.org/z/5j-QUj
78.
▲
Meow Hash: A high-speed non-cryptographic hash function
(mollyrocket.com)
173 points
by
spatulon
8y ago
|
68 comments
79.
▲
by
spatulon
8y ago
DrRacket has an SICP language mode, and I can attest that most of the code in the book works without modification. After that you can easily switch to the Racket language, which seems to be a modern, popular dialect of Scheme with plenty of
80.
▲
by
spatulon
8y ago
Here's the email announcement Rob Walling just sent out: -------- In this email I'm going to answer the most common question I've been asked since I left Drip this past April: what are you going to do next? The short answer:
81.
▲
by
spatulon
8y ago
I understand dependency injection to mean 'pass dependencies as arguments', which seems pretty simple and reasonable. e.g. instead of void foo() { SingletonLogger::logError("no cheese"); } you'd
82.
▲
by
spatulon
8y ago
I just finished re-reading SICP. If you're going to read it on a screen, I recommend this version: http://sarabander.github.io/sicp/ I'm 1/3 of the way through The Little Schemer. So far, it's not t
83.
▲
by
spatulon
8y ago
You're right that tail recursion doesn't help - the final operation is the addition, not a recursive call.
84.
▲
by
spatulon
8y ago
Or turn it into a simple iterative process, instead of a recursive process. They explain how quite simply in SICP: http://sarabander.github.io/sicp/html/1_002e2.xhtml (Ctrl-F "We can also formulate an iterati
85.
▲
by
spatulon
8y ago
The trouble is that I use both the Ctrl-a (increment number under cursor) and Ctrl-b (scroll up) shortcuts in Vim pretty frequently. It gets annoying to remember to have to double-press that shortcut if and only if I happen to be using Vim
86.
▲
by
spatulon
8y ago
C-Reduce has been a godsend at my job. I work on the tool that converts C/C++ programs to our internal database format for https://lgtm.com/ and I regularly have to investigate issues we have handling large open-source
87.
▲
by
spatulon
9y ago
Because they don't have a monopoly on mobile phones. The issue with Microsoft shipping IE is that they did have a monopoly on desktop operating systems.
88.
▲
The Little Book of Semaphores
(greenteapress.com)
2 points
by
spatulon
9y ago
|
1 comments
89.
▲
by
spatulon
9y ago
In browser circles, 'chrome' refers to the bits of the browser UI that aren't the renderer. It's hard for me to believe that Chrome's name didn't just originate from Google talking about taking WebKit and build
90.
▲
by
spatulon
9y ago
I notice that MSVC is one of the supported compilers. Is he running a Windows VM as well, or did he manage to get the compiler to run under Wine?
More ›