Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
imron
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
211.
▲
by
imron
4y ago
How much does it cost to pay someone to administer? Including backups, BCP, integration with SSO etc? It’ll work for a 5 person startup, but will get expensive fast for larger organizations.
212.
▲
by
imron
4y ago
Ctags
213.
▲
by
imron
4y ago
If you’re a safe c++ programmer who never writes code that has memory errors, you need to be tracking ownership and lifetimes. Once you get your head around the borrow checker, Rust takes a lot of that cognitive load off you, by tracking th
214.
▲
by
imron
4y ago
You still end up worrying about memory eventually, and the solution will often be to purchase more memory - which can be a fine tradeoff to make at times.
215.
▲
by
imron
4y ago
Here’s an example: Let’s say there’s a chat message with a sentence or two I want to copy/paste elsewhere. I highlight just the text I want and hit copy, and then when I go to paste, Teams has ‘helpfully’ copied not just the highlighte
216.
▲
by
imron
4y ago
On mobile at the moment so can’t check my .gdbinit, but a quick search turns up this page which seems relevant: https://sourceware.org/gdb/onlinedocs/gdb/Skipping-Over-Func...
217.
▲
by
imron
4y ago
There are settings you can place in .gdbinit to avoid stepping in to internals of anything you don’t want to step into, be it std library classes/functions or your own code. Much nicer than hacky ifdefs.
218.
▲
by
imron
4y ago
Reminds me of this: https://m.youtube.com/watch?v=_o7qjN3KF8U
219.
▲
by
imron
4y ago
Glad we agree then that it permeates the lower levels of windows programming.
220.
▲
by
imron
4y ago
Not sure how this disagrees with my statement that "you can write a modern windows GUI app without really needing to touch COM directly because there are other abstractions built on those APIs "
221.
▲
by
imron
4y ago
It kind of is legacy. Yes, lower-level modern APIs are written in it, but you can write a modern windows GUI app without really needing to touch COM directly because there are other abstractions built on those APIs. This was not as true of
222.
▲
by
imron
4y ago
That doesn’t negate anything I said.
223.
▲
by
imron
4y ago
Component object model. It’s a windows thing from the 90’s that still permeates the lower levels of windows programming.
224.
▲
by
imron
4y ago
Docker and kubernetes excel in a world of static binaries. Gotta love those 5mb bare images.
225.
▲
by
imron
4y ago
Rust prevents data races which are only one kind of race condition.
226.
▲
by
imron
4y ago
> With Rust one must first train brain to wrap around those ownership rules and this might not be easy. You need to do that in c++ also, otherwise you'll still have the same problem - only randomly at runtime instead of at compile t
227.
▲
by
imron
4y ago
It's the opposite of my experience. The mental load of Rust is lower than C++ because I can trust the compiler to take care of and track ownership and lifetimes, whereas with C++ that has to be done manually. And yes, I aware of all t
228.
▲
by
imron
4y ago
And if you need the output of your shell command in your buffer you can do :r !<command>
229.
▲
by
imron
4y ago
To be fair, as an IT director, when you see this sort of reduction you should dig deeper and understand where the cost savings are coming from.
230.
▲
by
imron
4y ago
Yep I know, but it’s a core part of my vim workflow.
231.
▲
by
imron
4y ago
I hate this
232.
▲
by
imron
4y ago
Of all the z’s my favorite by far is Ctrl-z, which send the current application to sleep and drops you back to the terminal, where you can do whatever you need before using ‘fg’ to return the slept process to the foreground. It works with e
233.
▲
by
imron
4y ago
From a clean cache, rockauto.com takes a good 5 seconds to fully load on my machine. mcmaster.com is under a second.
234.
▲
by
imron
4y ago
Perhaps you’re just mathematically inclined.
235.
▲
by
imron
4y ago
Great. Should be easy to prove then.
236.
▲
by
imron
4y ago
Parent post was talking about algorithms. I linked to the site containing articles and research written by the person who created the algorithms. It’s completely separate from supermemo the app. If you’re looking at SRS algorithms, it’s wor
237.
▲
by
imron
4y ago
If you’re interested in SRS algorithms you should visit the site of the guy who basically invented them [0]. Most SRS algorithms seen in apps today are based on one of the super memo algorithms in one shape or form. Anki was based on SM2, w
238.
▲
by
imron
4y ago
> Are we using the same search engine? I use DuckDuckGo most of the time Then you are not using the same engine! (I also use DDG and find its results superior to google).
239.
▲
by
imron
4y ago
Heads I win, tails you lose. If the poll result says he should step down, he'll say "I'll be stepping down once I've found a suitable replacement" - which is exactly the same sort of thing he's been saying sinc
240.
▲
by
imron
4y ago
> FTX went down because Binance dumped their entire position all at once and exposed how cooked FTXs books were. FTX went down because of how cooked their books were. Whatever other stuff that was going on around the edges, they wouldn&#
More ›