cypher543
|
7 years ago
|
on: One year of C
> 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.
cypher543
|
7 years ago
|
on: Some nice and accurate CMake tips
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.
cypher543
|
7 years ago
|
on: Some nice and accurate CMake tips
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.
cypher543
|
7 years ago
|
on: Ask HN: What have been your best decisions in life?
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.
cypher543
|
8 years ago
|
on: For the first time ever, Microsoft will distribute its own version of Linux
The article said Stack when I posted my comment. Looks like they corrected it shortly after.
cypher543
|
8 years ago
|
on: For the first time ever, Microsoft will distribute its own version of Linux
The article states it's called "Azure Stack OS."
cypher543
|
8 years ago
|
on: AV1: A new general-purpose video codec
Correct. WebRTC is just a specification for an API on top of SRTP+ICE+SCTP.
cypher543
|
8 years ago
|
on: Fallout 3 in Fallout 4 mod cancelled due to voice acting copyright
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.
cypher543
|
8 years ago
|
on: Accelerating QEMU on Windows with HAXM
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.
cypher543
|
8 years ago
|
on: Fengari: Lua for the Browser
Dillo specifically avoids scripting, so I doubt the internals are well-suited to that sort of integration. You could try extending NetSurf[1], though. It uses Duktape[2] as its Javascript engine and its API is pretty similar to Lua's.
1: http://www.netsurf-browser.org/
2: http://duktape.org/
cypher543
|
8 years ago
|
on: Windows for Linux Nerds
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.
cypher543
|
8 years ago
|
on: Sublime Text 3.0
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!
cypher543
|
8 years ago
|
on: Milabot: A Deep Reinforcement Learning Chatbot
A machine learning paper with actual code? Hah! Not likely.
cypher543
|
8 years ago
|
on: Visual Studio Code April 2017
I love to hate on Electron when it's used for tiny single-purpose apps. But VS Code is a large and complex project with a focus on extensibility, which I think Electron is perfect for.
cypher543
|
9 years ago
|
on: Algo – Set up a personal IPSEC VPN in the cloud
This still seems too difficult for the average person who isn't a sysadmin, but still wants to protect their privacy. Python? Virtualenv? Config files? Ugh. My ideal VPN appliance would be a minimal Busybox-based disk image that updates using A/B partitions and has a nice web UI. It lets you set basic things like the hostname, time, admin password, and then regenerates all of /etc. A cross-platform GUI setup wizard uploads the disk image to a VPS provider, you get back a URL for the web UI with clear client setup instructions, and that's it. If an update becomes available, you click a button, it downloads the new image to the idle partition, modifies the GRUB config to boot from it, and restarts. Done.
cypher543
|
9 years ago
|
on: Tacotron: A Fully End-to-End Text-To-Speech Synthesis Model
Right, even a good diphone voice needs lots of data. And I noticed they trained it with the existing Google Home voice actress, from whom they must already have many, many hours of recordings. I was mostly asking about the model itself; whether you could download TensorFlow and put one together based on this paper alone.
cypher543
|
9 years ago
|
on: Tacotron: A Fully End-to-End Text-To-Speech Synthesis Model
No source code, as usual.
How difficult would it be to duplicate these results with TensorFlow? Would something like this require more than the building blocks that TF and other toolkits provide? I have zero experience with machine learning, so I'm just curious.
cypher543
|
9 years ago
|
on: Has Li-battery genius John Goodenough done it again? Colleagues are skeptical
Also for anthropomorphizing atoms. Sulfur seems very grumpy.
cypher543
|
9 years ago
|
on: Go 2016 Survey Results
I don't like them either, so you're not alone. Nor do I like comments as compiler directives. Go needs a proper attribute syntax that works with the package system (so attributes don't collide) and can be applied to everything, including struct fields.
cypher543
|
9 years ago
|
on: C++17 – better than you might think
Clang uses "module maps" to turn existing header-based libraries into modules. So, theoretically, your system compiler could include a module map for all of the system headers. I don't know if module maps are going to be part of the standard, though.
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.