Better HN
topnewbestaskshowjobs
Log inSign up

cypher543

379 karma · joined May 25, 2012 (14y ago) · 153 submissions

Submissions

comment 8y ago · link · parent

> 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 8y ago · link · parent

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 8y ago · link · parent

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 8y ago · link · parent

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 8y ago · link · parent

The article said Stack when I posted my comment. Looks like they corrected it shortly after.

comment 8y ago · link · parent

The article states it's called "Azure Stack OS."

comment 8y ago · link · parent

Correct. WebRTC is just a specification for an API on top of SRTP+ICE+SCTP.

comment 8y ago · link · parent

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 9y ago · link · parent

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 9y ago · link · parent

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/

comment 9y ago · link · parent

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 9y ago · link · parent

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!

comment 9y ago · link · parent

A machine learning paper with actual code? Hah! Not likely.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

Also for anthropomorphizing atoms. Sulfur seems very grumpy.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

I don't know the details either, but honestly, I'm amazed that Google hasn't just thrown Linux out and built a microkernel with a Linux-compatible syscall API. That way there's a single binary that only cares about standard ARM things like memory management and scheduling and doesn't require hardware vendors to tweak it for every new SoC. The SoC-specific drivers can be written and updated separately just like apps. Maybe then it would be easier for vendors to keep their shit updated so I don't have to throw out my perfectly good phone just because a company doesn't feel like porting their changes to a new kernel version.

comment 9y ago · link · parent

That's pretty common among TTS services and engines. Most people want a female voice for their personal assistant/ebook reader/whatever, so the male voices don't seem to get as much tuning. As someone who happens to prefer a male voice on my apps, it's a little frustrating.

comment 9y ago · link · parent

One thing I wish more services like this offered is non-speech sounds. CereVoice, for example, lets you insert laughs, coughs, sighs, etc and it can really enhance the output in some cases. Google's WaveNet also manages to simulate the catching of one's breath during particularly long utterances, although I realize it uses a completely different technique (neural net vs. concatenative synthesis).

My biggest problem with CereVoice, though, has been its terrible web API. It doesn't support streaming output, so it renders the audio to an Amazon S3 bucket and then returns a URL, which is pretty inconvenient (and slow). You have to do the same for transcripts, too. So, if you want everything, you have to make 3 separate HTTP requests and parse 2 XML documents for one round of synthesis.

IBM Watson's TTS API gets it right, imo. Its streaming mode returns audio frames and transcripts over a WebSocket connection.

comment 9y ago · link · parent

The link to the Polly service console is broken. Polly doesn't even show up in the list of services on my AWS account.

comment 10y ago · link · parent

Awesome, thanks!
123456