Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rav
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
91.
▲
by
rav
4y ago
Half-open intervals are why I try as much as possible to stay away from languages that use 1-based indexing (Lua, Julia, Matlab, R, ...) - 1-based indexing lends itself to closed intervals because an array of N elements has [1,N] as its ind
92.
▲
by
rav
4y ago
Needs (2014) in the title.
93.
▲
by
rav
4y ago
Personally I can't fathom writing an app on a 15 MB memory budget in a language with such a heavy focus on garbage collection. I mean, the blog post talks about allocations of single 24-byte structs, and allocations happening all the t
94.
▲
by
rav
4y ago
Here's a direct link to the 3.0.7 announcement in the archive: https://mta.openssl.org/pipermail/openssl-announce/2022-Octo...
95.
▲
by
rav
4y ago
Even if you can tune by ear, it can be faster to use a tuner, especially in a noisy environment. Also, if you listen to harmonics when tuning a guitar by ear, you'll get something like just intonation instead of the equal temperament t
96.
▲
by
rav
4y ago
Regarding the Inspector/isVisible complaint: When you want to have "early return" in a component, it's possible to just split the component into two to introduce an "inner" component that contains whatever come
97.
▲
by
rav
4y ago
In the syllabus [1] they state that you need to be able to obtain above a grade C on "Problem Set 0" [2] before you take this course. In my experience teaching 1st year undergrad algorithms, I'd be surprised if the average
98.
▲
by
rav
4y ago
To SSH into servers at $work, I need to run a command to 2FA-authenticate against our SSO and obtain a short-lived SSH cert for my local SSH key. We have around 10 tech employees and around 40 servers and it's really nice when onboardi
99.
▲
by
rav
4y ago
Don't most apps allow you to paste plain text with Ctrl+Shift+V nowadays? That's what I almost always use, unless I have some use for the copied rich text.
100.
▲
by
rav
4y ago
Parsing SQL can solve many problems, but before writing/choosing a parser you need to know what your goal is. For example, at work we wanted to have statically-typed SQL statements in Python/mypy to statically identify syntax erro
101.
▲
by
rav
4y ago
The development of Dwarf Fortress has been fully funded by donations for well over a decade I believe. I used to donate but I stopped when I was saving up for a home. It seems their financial support has been declining since 2020 - maybe it
102.
▲
by
rav
4y ago
The author writes about a competing Fortran implementation for computing zeros: "But their software is in Fortran. I was a big Fortran fan for a long time. I used to be considered one of the Fortran gurus at MathWorks. I now don't
103.
▲
by
rav
4y ago
Similar to HTTPS-only being built into web browsers, isn't captive portal detection built into all modern OSes? What's the badly-setup wifi network that requires you to open your browser but doesn't get detected properly by t
104.
▲
by
rav
4y ago
Given that HackerRank has more than 1000 employees, I agree that it is surprising that they were able to react and apologize on the same day as the takedown and all the buzz on social media. However, I still think it's a damn shame tha
105.
▲
by
rav
4y ago
Given that sorting algorithms are evaluated on practical merits on real-world hardware - when the hardware changes, sometimes the sorting algorithm has to change too.
106.
▲
by
rav
5y ago
Apparently, "Request for proposal", which is a private-sector equivalent of a tender process (speaking from my point of view of doing a lot of consulting projects for the public sector). A tender process usually requires the agenc
107.
▲
by
rav
5y ago
Is it really pronounced "ee-dee"? Here I've been pronouncing it all the time like it was some zany protagonist in a 90's cartoon show!
108.
▲
by
rav
5y ago
After living through Google Chat going down while handling a server incident at work, I created an internal, encrypted chat system in order to have an alternative in case our regular communications channel is down. However the actual chat p
109.
▲
by
rav
5y ago
The post paints a discouraging picture overall, but it does have some interesting double standards if you consider these three separate quotes: > It would seem there is no end to how far businesses can take white-labeling and outsourcing
110.
▲
by
rav
5y ago
I would imagine that ownership of Nvidia's drivers would be more clear cut than most open source projects. Wouldn't it only be Nvidia's employees and contractors that have worked on the driver code? Then by default Nvidia wou
111.
▲
by
rav
5y ago
When "something is wrong" in a large system, it might not be straightforward to say which detail is wrong exactly. One of the reasons that you shouldn't "point out something wrong the moment you see it" is because t
112.
▲
by
rav
5y ago
It's like when Panel de Pon for the Super Famicon was rebranded and rereleased as Tetris Attack for the Super Nintendo. It has nothing to do with Tetris, but Tetris was a popular game at the time.
113.
▲
by
rav
5y ago
As dahart mentions in a sibling comment, the todo-list doesn't operate with branching - all edits are performed by one person according to the real-time circumstances. Any Git history divergence is a matter of technical accident and no
114.
▲
by
rav
5y ago
My productivity app is a Git repository (that happens to be a GitLab wiki git repository at $WORK as well) with my "priority queue" text file and the following bash function. The contents of the text file are similar to what Jeff
115.
▲
by
rav
5y ago
Does this support out-of-tree format decoders? From an initial glance it looks like all decoders are in-tree and written in golang. We have a lot of internal binary formats at $WORK that I would like to use this on...
116.
▲
by
rav
5y ago
It is possible to deamortize the O(n) resizing step, meaning you spend O(1) extra time over the O(n) operations leading to the resize, so that when the resize needs to happen, you don't need to spend O(n) time. This assumes that alloca
117.
▲
by
rav
5y ago
I use the following bookmarklet to fix issues like this. It's similar to the browser addon discussed in sibling comments, but without installing a browser addon. Simply create a bookmark named e.g. "Don't mess with paste"
118.
▲
by
rav
5y ago
In my initial investigation, I actually concluded that "Mailgun" and "Mailjet" were two product names from the same organization. I didn't realize they could be the result of a company merger. It's actually Mai
119.
▲
by
rav
5y ago
I was recently looking into Mailgun's EU-hosted offering. Does anyone have recommendations for EU-based alternatives?
120.
▲
by
rav
5y ago
Yes, that is covered in this half paragraph: > Randomized rounding, where the sender sends 1 with probability x and 0 otherwise, and the receiver uses the received bit X as the estimate x', has the property that E[x'] = x. Unb
More ›