Recent submissions

Comment · 8 years ago
> I wonder how many other tech folks has the same impression??

I do! I've worked with C, C++, Python, Java, Go, JavaScript, Ruby, and Pascal, but for anything that isn't network-oriented or a simple CLI tool, I always reach for C (sometimes a strict subset of C++). Its distinct lack of features allows me to focus more on the problem at hand and less on the best of the hundred different ways to do something in other languages. Go is the same way, which is why I use it extensively for mid-level stuff like CLI tools and servers.

Comment · 8 years ago
The target property overrides the global setting, so you can set CMAKE_CXX_STANDARD as the default and then set the target property if you really need a different standard for some reason. And if you have a whole sub-project that needs a specific version, you can set CMAKE_CXX_STANDARD before calling add_subdirectory to have it apply to only the targets in that directory.
Comment · 8 years ago
Note that the variables in the "Detecting an operating system" section are for detecting the target operating system, not the host (what CMake is running on). If you use a toolchain file to cross-compile from Linux to Windows, for example, WIN32 will be defined instead of UNIX.
Comment · 8 years ago
1. Seeing a doctor about my anxiety issues.

2. Deciding not to pursue a career in software development. I enjoy programming way more as a hobby that I can take a break from whenever I want.

Comment · 8 years ago
The article said Stack when I posted my comment. Looks like they corrected it shortly after.
Comment · 8 years ago
The article states it's called "Azure Stack OS."
Comment · 8 years ago
Correct. WebRTC is just a specification for an API on top of SRTP+ICE+SCTP.
Comment · 8 years ago
Could they not have required the user to own a copy of Fallout 3 and then extract the needed sound files from the original installation on first launch? Then the copyrighted works wouldn't need to be distributed with the mod itself.
Comment · 9 years ago
Hyper-V is extremely strict about what can access its hypercalls, so you can't do anything from userspace like with KVM and HAX. Hypercalls can only be made from ring 0 and creating domains can only be done from the root domain.
Comment · 9 years ago
Comment · 9 years ago
I really, really wish Microsoft would open up the Pico Process APIs to third-party driver developers. Right now, WSL is the only driver allowed to install Pico Process callbacks. It would be cool to implement a Darwin layer or a Classic Xbox emulator with that tech.
Comment · 9 years ago
I'm surprised the "minihtml" HTML/CSS engine is buried in the release notes. That sounds like an amazing little component and something that would be extremely useful for projects that don't want to embed an entire browser engine. Even if Sublime itself remained closed, I would love to see minihtml open sourced!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton