Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
exDM69
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
84 ms
·
811.
▲
by
exDM69
10y ago
If you have a tags file set up, vim omnicomplete (<C-x><C-o>) for C and C++ (at least) will also be able to complete struct/class members and other context sensitive. Additionally, I set the user complete mode (<C-x>&
812.
▲
by
exDM69
10y ago
Can someone explain the advantage of this (or tmuxinator, etc) over launching a bash script or custom per-session tmux config file that sets up windows and panes and launches the right apps? I see there's a --freeze option that saves t
813.
▲
by
exDM69
10y ago
Wikipedia says the dry mass is 899 kg, which is about the 2000 pounds of weight (on Earth) mentioned by GP. https://en.wikipedia.org/wiki/Curiosity_(rover)
814.
▲
by
exDM69
10y ago
I completely agree with you. Once you go past the 15 minute mark, the whiteboard is no longer a good way to do programming aptitude testing. It's a good smoke test, but doesn't really work beyond that. Of the three examples you me
815.
▲
by
exDM69
10y ago
Tech interviews are not reflective of real life regardless if there's a whiteboard present or not. Whenever I've had a whiteboard programming interview, it's always been a trivial problem that's a smoke test for "ca
816.
▲
by
exDM69
10y ago
None of this code was meant to be understood without background knowledge of the algorithm internals - and some code just is that way. You don't go reading rbtree.c without first reading about Red-Black Trees in your algorithms book. I
817.
▲
by
exDM69
10y ago
In my opinion, Google stopped being a "search engine" roughly 10 years ago. These days I'd call it a "recommendation engine" and it seems to primarily work by giving you results that people similar to your profile (
818.
▲
by
exDM69
10y ago
> However, is it common for production C code to have a single file with 5,300+ lines? It's definitely not uncommon, but yes, that file is on the long side. However, it is rather clean and well-organized. It may be due to the poor m
819.
▲
by
exDM69
10y ago
That looks clear and concise to me. It's a part of a performance sensitive mission critical infrastructure. The parts you posted are some of the core data structures that make it fast by squeezing every bit and byte that reasonably can
820.
▲
by
exDM69
10y ago
Yeah, I stopped working on "infrastructure" utility libraries and similar projects because the maintenance burden is too high. Some people just don't get it - I'm not in it to provide a free service to anyone. Luckily I
821.
▲
by
exDM69
10y ago
These are all very neat and polished projects. And you have the advantage of doing web sites / apps which is a lot easier to release than a native app. The stuff I do simply isn't viable on the web (or even if it were, it wouldn&#
822.
▲
by
exDM69
10y ago
Yeah, it takes a huge amount of time and effort to make your voice heard and your project promoted. I have a feeling that naturally extroverted people do not understand that it takes a real push from other to show your work to strangers. Sa
823.
▲
by
exDM69
10y ago
This! I visited SF for the first time in December and at first I didn't realize why people were complaining about the cold when it was rather nice weather outside (I'm from 60 degrees north) and the weather was in the 60-70 Farenh
824.
▲
by
exDM69
10y ago
Thanks for the feedback. Yes, I probably do share too little, and I get too discouraged when reddit downvotes my stuff to oblivion. > Next time you build a product try to post it online everywhere like Reddit and Show HN. I'm sure y
825.
▲
by
exDM69
10y ago
I'm in a similar situation to GP. I've done tons and tons of side projects but I rarely have anything to show for it. And why should I? I'm doing it mostly for the fun of coding, and striving to "ship" things takes
826.
▲
by
exDM69
10y ago
One item on my TO-DO list is hooking up an electric guitar to an oscilloscope and frequency analyzer and do a video and/or blog post about the applied physics of heavy metal guitar sound. There are tons of tricks employed in guitar pla
827.
▲
by
exDM69
10y ago
Classic regular expressions are level 3 in the Chomsky classification, but most regex implementations have features that aren't a part of "regular languages". The upside is that they are more expressive, but the downside is t
828.
▲
by
exDM69
10y ago
Where I'm from (in the EU), any profits from illegal activity are confiscated upon conviction, sometimes also including "the tools" used to commit the crime. After several Uber drivers had to pay back all their earnings, lose
829.
▲
by
exDM69
10y ago
> If we receive valid content removal request through our contact form then we will have to take the content down. Have you considered how much takedown requests you will get if your site becomes popular? It could be hundreds to thousand
830.
▲
by
exDM69
10y ago
Although the idea is great but I'm not comfortable with the legal implications of "seeding" the stuff I view. It might work in some legislations but I'd be putting myself in too much risk under my local law.
831.
▲
by
exDM69
10y ago
I sharpen woodworking tools so my point of view is slightly different, but I'd recommend diamond plates over water stones. I've had great results with both but water stones need to be soaked in water before use (instructions say 1
832.
▲
by
exDM69
10y ago
> In 10-20 years time, we'll be able to stream games running directly on publisher's server farm somewhere. Nvidia has a game streaming service that does this already. I've only tried it briefly but it worked great. http:
833.
▲
by
exDM69
10y ago
> How do you motivate a conscript? When I was a conscript, it was relatively simple. Do as you are told or you don't go home for the weekend. Repeat your offense and you're not going home in a few months. Outright disobey your
834.
▲
by
exDM69
10y ago
Yes, yes it is. If the extensions would be anything like the OpenGL extensions which make changes to the core api functionality, you'd be right. But take a look at the extensions and tell which one(s) would cause a "write once, po
835.
▲
by
exDM69
10y ago
There is a commercial, proprietary Vulkan implementation (called MoltenVk) that runs on top of Apple's Metal. This is not a technical issue, but a political one. Apple has decided not to allow Vulkan in their walled garden.
836.
▲
by
exDM69
10y ago
> Given that Vulkan specification already has 74 extensions and is only at version 1.0.42, already bringing up the fun of "write once, port multiple times" from OpenGL This is a dishonest and decieving way of putting things. Th
837.
▲
by
exDM69
10y ago
Yes, but Unity, Unreal and the other engines need a 3d API to run on. They can use Vulkan, D3D or Metal on native desktop/mobile platforms but that's already 3 separate backends and there's no good API for the browser (WebGL
838.
▲
by
exDM69
10y ago
Recently, Khronos has been also implementing some of the infrastructure, like the Vulkan loader and validation layers, the GLSL-to-SpirV compiler (glslang) and the SpirV tools which are open source and developed by LunarG and others. The ac
839.
▲
by
exDM69
10y ago
There are various levels of caching, which have very different performance characteristics with different access patterns from multiple cores. Don't dismiss it outright. You can reduce the pressure on the cache coherency protocol by ma
840.
▲
by
exDM69
10y ago
Have you tried or heard anyone trying to tinker with caching attributes (ie. uncached, write-combining, etc) for message passing buffers? I think you do need to be in kernel mode to be able to change the attributes, but you can access the m
More ›