Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rwbt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
rwbt
5y ago
Very well said. This is really the price of progress and technology. Ironically, we still fool ourselves thinking that the way out of this mess is even more technology and progress.
122.
▲
by
rwbt
5y ago
I'm curious if this affects FastMail users in US since they're based out of Australia.
123.
▲
by
rwbt
5y ago
People don't read as much anymore, so I think books are safe for now.
124.
▲
by
rwbt
6y ago
Automakers are hoarding the spectrum citing some pie in the sky safety stuff. Not a single car was ever shipped with that tech. I'd rather have my WiFi router running reliably rather than some promise ware hoarding it.
125.
▲
by
rwbt
6y ago
I was going to say the same. I want to like Stratechery and Ben's writing but most of the time it's a word salad that leads to nowhere.
126.
▲
by
rwbt
7y ago
+1. I was gonna write Ishmael too. Definitely one of the best books I've ever read.
127.
▲
by
rwbt
7y ago
> If you want something to last, don't base it on something that won't last. Sounds similar to the Lindy Effect.[0] [0] - https://en.wikipedia.org/wiki/Lindy_effect
128.
▲
by
rwbt
7y ago
That is clever. Using last byte as the flag byte also lets one cast the std::string memory address to a null terminated c-string without intermediate buffers (not that one should).
129.
▲
by
rwbt
7y ago
If I were starting a new project in C, I would definitely rely on a solid foundation library like APR[0] or CoreFoundation[1] without reimplementing a bunch of fundamental data structure algorithms by myself. Glib is another alternative, bu
130.
▲
by
rwbt
7y ago
I used it in production for a small yet fairly critical utility and it worked out very well.
131.
▲
by
rwbt
7y ago
Only the libc implementation of std::deque allocates 4KiB blocks and lives upto it's performance and utility. The MSVC implementation is terrible (8 bytes) and even the GCC one isn't that efficient (512 bytes). Even though boost h
132.
▲
by
rwbt
7y ago
Sure you don't need much 'info' to create a corporation. But if said corporation has any income/employees the reporting and maintenance requirements are far greater than maintaining a library card.
133.
▲
by
rwbt
7y ago
> The UI of Adobe After Effects can be quite overwhelming to a new user. I suppose so. When I was learning Mograph in school, After Effects was the most intuitive tool among many others. Combustion, Motion etc never quite managed to pull
134.
▲
by
rwbt
8y ago
If I remember correctly, in MSVC implementation if sizeof(T) is greater than 8 bytes then each 'block' is just one element (also blocks aren't contiguous). So effectively, MSVC implementation is useless. Boost does have a a d
135.
▲
by
rwbt
8y ago
The std::deque is also another useful 'hybrid' container that performs close to std::vector or better in some cases when you need to 'grow' the container without reallocating memory so many times. But the only good cache
136.
▲
by
rwbt
8y ago
I disagree. I would suggest you to atleast research it more before coming to such strong conclusions.
137.
▲
by
rwbt
8y ago
Just giving my experience - I working in rendering graphics and use fossil for version control. Some of my repos are more than 100GiB in size and fossil has no problem with it. Fossil handles binary files adequately but the only catch is fi
138.
▲
by
rwbt
8y ago
Truly a saint. His index funds and passive investing school of thought probably saved trillions of dollars and made investing in the markets accessible to millions of everyday citizens. RIP.
139.
▲
by
rwbt
8y ago
Interesting. Do you mind telling us what made you choose nursing over tech?
140.
▲
by
rwbt
8y ago
Thanks for the tip. I too work in rendering and often wondered if pre-caching end() would make significant difference but figured its best left to the compiler.
141.
▲
by
rwbt
8y ago
Yes, I'd need to check for end iterator in vector. But my point still stands - C++ does have some weird ergonomics.
142.
▲
by
rwbt
8y ago
Sooner or later, C++ is going to get a borrow checker anyways. I guess it's all going to be ok? :) I'm not entirely sold on string_view or span yet. But I wasn't sold on tuples either and I use them a lot now.
143.
▲
by
rwbt
8y ago
I agree. These days I can't even imagine programming in C++ without using STL. It still has some weird ergonomics at some places though. For example - instead of a simple vector.contains(something) we have to write this std::vector
144.
▲
by
rwbt
8y ago
I use C++ everyday and I would describe my usage as mostly "C with templates and destructors." I also tend to avoid OOP paradigms if possible. All the modern C++11 and above features are great if you're using standard lib and
145.
▲
by
rwbt
8y ago
I'm afraid that ship has sailed. Tesla changed the expectation of buyers that touchscreens are more 'luxurious' so the market follows. I prefer physical knobs too, but don't blame car makers for following market trends.
146.
▲
by
rwbt
8y ago
Yes, you're right. The highest spec engine in those cars is indeed the B16!
147.
▲
by
rwbt
8y ago
Those 90s Hondas are very easy to chop up into parts and sell them at a premium. Other enthusiast models don't suffer from similar theft rates.
148.
▲
by
rwbt
8y ago
The mid-late 90s Civics and Del Sols are highly sought after among Honda fans! The ones with B18 VTEC motors even more so. That's why your cars were stolen despite having a stick shift. It's even worse for the Honda CRX.
149.
▲
by
rwbt
8y ago
In any industry that involves insurance companies predominantly paying bills, will eventually lead to out of control costs (health, auto collision repair etc) Higher the costs, more incentive (or mandatory) for users to buy insurance and al
150.
▲
by
rwbt
8y ago
I think constexpr is a great feature. But without templates (or meta programming in general) I feel like it's severely limited in it's uses (although you cite a great use case). Adding templates is another whole can of worms (for
More ›