Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dottrap
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
dottrap
8y ago
> More expensive to start than threads, Maybe, but, on Linux, processes and threads are almost the same thing. Additionally, even where a process is a bit more expensive to create, it is not enough to block the UI thread from being respo
92.
▲
by
dottrap
8y ago
I don't claim these are "go-to" solutions, but only that there are multiple solutions to pick from. One solution is processes (mentioned in the post). Fork a process which does your computationally expensive thing and then ge
93.
▲
by
dottrap
8y ago
For C vectors, look at stb's[1] stretchy_buffer[2] or klib's[3] kvec[4]. The basic concept of these is they use macros to specify the type/size of the elements so you can have generic containers in C. For hash's, you can
94.
▲
by
dottrap
8y ago
In my above response, it was implicit, but not explicit, that because libraries may use a different memory allocator than your main code, well constructed libraries provide their own Create/Destroy pairs. So to be explicit, you should
95.
▲
by
dottrap
8y ago
SDL_Create/SDL_Destroy basically malloc/free under the hood. (SDL has its own custom allocator, so depending on your platform and compile switches, it may use something other than the standard library malloc/free.) SDL has so
96.
▲
by
dottrap
8y ago
I don't claim to have any answers, but I found all of this interesting and surprising. I wondered about a couple of things. What happens if the do_stuff_to_foo is actually defined (and what happens in that actual function)? And is ther
97.
▲
by
dottrap
8y ago
I've never had a reason to suspect CMake's Makefiles are slower than others. I've converted projects from Autotools to CMake and CMake was always miles ahead faster. I recently switched to using CMake's Ninja generator.
98.
▲
by
dottrap
8y ago
So if you see one of these warning signs, what should you do? What if it is a legitimate order? You don't want to turn down a real customer? I presume if you try contacting the person and asking them if it is a fraudulent order, they w
99.
▲
by
dottrap
8y ago
Costco also allows non-members to buy from their pharmacy.
100.
▲
by
dottrap
9y ago
Lua has been known to remove things. The language still remains small and clean after over 20 years. The creator has given some talks about how breaking compatibility (e.g removing features) requires its own thought process. There are diffe
101.
▲
by
dottrap
9y ago
Bob Givens helped design the look of Bugs Bunny. This early model sheet is attributed to him. http://johnkstuff.blogspot.com/uploaded_images/WildHare_Mode... Full link from: http://johnkstuff.blogspot.com&#x
102.
▲
by
dottrap
9y ago
It's still called Bonjour. It is the 15th anniversary of Bonjour. Cheshire gave it a section at the very end of this year's WWDC Networking talk. https://developer.apple.com/videos/play/wwdc2017/709
103.
▲
Apple Introduces Search Ads Basic
(searchads.apple.com)
125 points
by
dottrap
9y ago
|
105 comments
104.
▲
by
dottrap
9y ago
"And finally, you’ll need to know at least some C. The C++ runtime is far too large for the kernel, so writing bare metal C is essential." That line reminded me that NetBSD added Lua for writing kernel modules. ( https://
105.
▲
by
dottrap
9y ago
I've never seen anybody who's made a serious attempt to look at the numbers claim YouTube is profitable. All say the opposite. Some random examples: CBS Marketwatch: https://www.cbsnews.com/news/4-reasons-yout
106.
▲
by
dottrap
9y ago
According to Eli the Computer Guy, it is something like: YouTube costs: $6.3 billion per year YouTube revenue: $4 billion So they are losing $2.3 billion per year. Eli the Computer Guy made a lot of waves around a year ago because his accou
107.
▲
by
dottrap
9y ago
YouTube has been demonetizing everything across the board, from gaming videos to non-political sketch comedies, and without much explanation. This is all part of the "Adpocalypse" that YouTube content creators have been complainin
108.
▲
by
dottrap
9y ago
Because being able to dual boot Windows or even Linux is a serious consideration for important segments of the market. Companies that buy computers for their employees are going to be more hesitant to blanket approve Macs for their employee
109.
▲
iOS 11 is now available to download
(theverge.com)
2 points
by
dottrap
9y ago
|
0 comments
110.
▲
by
dottrap
9y ago
Did Apple actually support this proposal? Seems like their own self-interest would want them to reject this. The lack of a standardized web DRM would push developers to native apps which benefits Apple. And web DRM doesn't benefit the
111.
▲
by
dottrap
9y ago
Related: Plastic Bag Ban Responsible For Spike In E. Coli Infections, Study Says http://www.huffingtonpost.com/2013/02/07/plastic-bag-ban_n_2...
112.
▲
by
dottrap
9y ago
They are worried Earth microbes on the satellite might eventually be confused for life on the moon.
113.
▲
by
dottrap
9y ago
OpenAL has multiple implementations, including the popular open source OpenAL Soft. They are not all closed source. OpenAL does have a recording API so it isn't pure playback only. But you are right in that the OpenAL scope is fairly l
114.
▲
by
dottrap
9y ago
I did that, but I don't know what to look for. I searched for React but it didn't find anything. The article claims Apple uses React. I wanted to verify that claim.
115.
▲
by
dottrap
9y ago
How can you tell if Apple is using React for their documentation page?
116.
▲
by
dottrap
9y ago
Badenova posted the first video on the page in 2010. It's been 7 years. Anybody know how adoption has been?
117.
▲
Tim Sweeney Talks Unfairness Behind App Stores
(80.lv)
1 points
by
dottrap
9y ago
|
0 comments
118.
▲
by
dottrap
9y ago
Also there is the header-only khash.h [3], complete with benchmarks: https://attractivechaos.wordpress.com/2008/08/28/comparison-... (Also provides kbtree.h, ksort.h, kstream.h, kvec.h) [3] https://
119.
▲
by
dottrap
9y ago
Swift on Android: https://academy.realm.io/posts/swift-on-android Young but potential.
120.
▲
by
dottrap
9y ago
> If every studio thinks I'm going to pay them $10+ a month to stream their content, they are going to be very mistaken. I agree. But taking a step back, Disney is probably the one company that can justify this the most by owning so
More ›