HNHacker News
TopNewBestAskShowJobs

markdoubleyou

475 karma · joined October 3, 2016

submissionscomments
markdoubleyou··on Go hits the concurrency nail on the head
Hah! Good one. Parent is clearly referring to Ada and the oft-quoted chapter 9 of NASA's Ada Style Guide (c. 1987).

https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/198700...

The discussion of pitfalls surrounding Ada's task facility is eerily familiar to what you're reading in this thread 31 years later.

markdoubleyou··on Ask HN: What did you learn the hard way?
Fair point. My particular experience was at Washington Mutual, about 13 years ago, which was not one of the "best large banks" by any objective measure. I left about a year before the collapse while they were still raking in money from shady loans... everyone there thought I was nuts for leaving.
markdoubleyou··on Ask HN: What did you learn the hard way?
If you're a dev, don't work for a company where software development is viewed as a cost center--you want your work to be viewed as something that brings in revenue.

(Learned the hard way when I worked at a large bank.)

markdoubleyou··on [dead]
I just started my 6 year old on ScratchJr (simplified Scratch for Kindergarteners), using an old Android tablet. I was reluctant to give him more screen time, so we do it after dinner when we'd normally let him wind down and watch a TV show. We give him a choice between TV and ScratchJr every night, and he picks ScratchJr every time ("Scratch is better, I can control it").

We sit down together and do one or two structured activities from the "Offical ScratchJr Book", and then I let him go solo for a little while (he usually tweaks the scripts from the book to do silly things). It's a pretty limited environment compared to full-blown Scratch, but he's got a ways to go before he outgrows it--he's got the motion blocks down pat, but still hasn't absorbed the idea that scripts can send messages to each other to coordinate events.

https://www.amazon.com/Official-ScratchJr-Book-Help-Learn/dp...

markdoubleyou··on Try OCaml
The "F# for fun and profit" site by Scott Wlaschin is a great jumping-off point: https://fsharpforfunandprofit.com/

I discovered it when I was reading a lot about domain driven design, and I stumbled upon a talk by the author that kind of blew my mind:

"Domain Modeling Made Functional" https://www.youtube.com/watch?v=Up7LcbGZFuo

markdoubleyou··on Understanding L1 Terminal Fault aka Foreshadow: What You Need to Know
Amazon offers "dedicated hosts" and "dedicated instances", which you can specify in the "tenancy" field when launching an EC2 instance. I bet that's the stronger isolation that they're referring to. Costs more, though.

https://aws.amazon.com/ec2/dedicated-hosts/

markdoubleyou··on The BASIC Engine
That list is missing one of the formative books of my youth: Dr. Wacko Presents Atari Basic and the Wiz-Bang Miracle Machine

https://archive.org/details/ataribooks-dr-c-wacko-presents-a...

markdoubleyou··on Show HN: Markdown New Tab – A new tab replacement to jot down notes in Markdown
Yes, emacs runs very well under termux, complete with swipe to scroll.

For typing, Termux's "extra keys row" makes ctrl and meta combinations possible with your favorite keyboard: https://wiki.termux.com/wiki/Touch_Keyboard

...or you can just use Hacker's Keyboard (but I find it too cramped).

Git also runs fine under termux if that's what you use to sync your org file.

markdoubleyou··on A simple distraction-free, no gimmick writing tool
Parent is interested in running on an Android tablet, so emacs or vim running in termux would probably work well for him.

https://termux.com/

markdoubleyou··on Examples of Parallel Algorithms from C++17
That's fair. We're just speaking from two different perspectives: You (and the committee) want the best possible language, and you're willing to wait 5 years to get it. I want to see C++ evolve quickly so I can get some productivity and performance wins, in which case I'd probably start using the language for more projects. I gather there was enough mileage on Gor's proposal that it wasn't some vector<bool> kind of screwup, so I would have liked to have seen them call it good and ship it.

So average Joe Users like me have to wait and wait while it's made better and better. If you'd put this decision to a vote of 10,000 MSVC users instead of a bunch of compiler vendors and Google engineers, I bet coroutines would've been merged, warts and all. Instead, the years pass, attention drifts, modern languages beckon, and C++ becomes even more niche.

markdoubleyou··on Examples of Parallel Algorithms from C++17
Yes, these sound like good ideas... I'm not a big C++ language nerd and not in a good position to judge whether this is valuable or navel gazing. But, as bystander who only dips into C++ a few times a year, I see these antics and wonder if the language would be better off with a benevolent dictator who can actually get a feature out the door, even if it's less than perfect.

I remember watching Gor Nishanov's CppCon talk from 2015(!), learning a lot, seeing a working implementation, and getting really fired up about this feature. Now it's 2018 and it's back to the drawing board? What happened? Was Google the smart kid in high school who skips class and waits until the last second to do their homework? I know the committee has only the best intentions, but with stuff like this they're their own worst enemy.

https://www.youtube.com/watch?v=_fu0gx-xseY

markdoubleyou··on Examples of Parallel Algorithms from C++17
Wow, I thought coroutines were pretty much a done deal... I guess all the big compilers implementing the TS wasn't a good indicator of progress.

Skimming the trip reports just now, it sounds like some Google engineers tried to use them, didn't like them, wrote a whole new proposal, and threw the schedule into disarray. Sigh. I'm sure they had good reasons to do this, but c'mon guys... at some point you have to decide that done is better than perfect.

markdoubleyou··on Restoring a DEC 340 Monitor
I love this place--it's one of my family's go-to destinations when the weather's crappy. They have a terrific exhibit right now where they recreated 1980's arcade--got the second highest score on the Centipede cabinet after a 30 year hiatus.
markdoubleyou··on Getting close to 40, mid life crisis, depression, and finding release
A precondition for the responses in this vein: Avoid time-suck leisure activities that mess with your brain's reward system and keep you up at night (video games, porn, social media, etc.). You'll claw back some time for hobbies, or, at the very least, you'll get more sleep (which does wonders for your energy level and outlook on life).
markdoubleyou··on The Machine Learning Opportunity in Manufacturing, Logistics
This article basically says that there's a trend of increasing interest. Well, that's great--I'm sure there's plenty of interest from industrial firms. But there's a lot of grunt work that needs to be done before anyone can hope to make real money off ML in this space... industrial equipment is often ancient and analog, standards are all over the place, and the talent pool isn't there. GE learned this the hard way with Predix.
markdoubleyou··on Firefox 58
I had no idea you could select multiple tabs in Chrome. That's awesome--thank you!!
markdoubleyou··on The Little ASP.NET Core Book
Good list. I'd also add Marc Gravell and Stephen Cleary.

I've found that I rarely read Hanselman's stuff any more... he's great if you're playing around with bleeding-edge ASP.NET Core on Linux on Azure, but not if you're trying to dig into the guts of C#. (I was so burned by the so-called "release candidates" of ASP.NET Core that I stopped following that vein of blogger.)

markdoubleyou··on Net Neutrality Day of Action: Help Preserve the Open Internet
Yeah, wow, Google has written an email to a powerless online community. Bravo, that'll show Ajit!

I remember the mass freakout when Wikipedia shut down--journalists and congressional staffers suddenly couldn't do their jobs and suddenly it was front page news, not just a John Oliver rant.

markdoubleyou··on Why I hate Java
Isn't this what the AutoCloseable interface (combined with try-with-resources statements) addresses for everything except memory? It wasn't added until Java 1.7, though, so maybe the article predates that feature.

https://docs.oracle.com/javase/tutorial/essential/exceptions...

...basically it's the same as .NET dispose pattern for achieving deterministic cleanup. Most IDEs and code analysis tools will throw a fit if you don't use an AutoCloseable/IDisposable class properly in a try-with-resources/using statement.

markdoubleyou··on Steve Jobs’ custom Apple I and other historic machines are on display in Seattle
I'm a member and have visited a few times with my 5 year old son--it's a good rainy day activity for kids. The downstairs area is beautiful space for kids to run around and tinker with robots, and it never seems to be crowded (not even on weekends).

The museum is shockingly liberal with what they let kids touch, so when I take him upstairs to the historic collection I'm always terrified that he'll break something. Fortunately a lot of that gear from the 60's was built to last and is intimidating to little kids... for example, their punch card reader is bigger than a copy machine, and volunteers hand out earplugs before running it.

markdoubleyou··on Why Ever Stop Playing Video Games
Kids triggered an impulse to take my career to the next level, so between work, family, maintaining a bare minimum level of fitness, and professional development, I've got nothing left to give games. TV has taken a major hit, too.

Something in my brain clicked after the first one was born... an ok-you're-an-adult-stop-fucking-around mode was triggered. The result is that the lack of free time doesn't bother me that much. Too busy and tired to care, maybe.

markdoubleyou··on Tour of F#
The Jupyter notebook hosting on Azure is a wonderful, underrated service. Amazing that they offer it for free.
markdoubleyou··on Common Multithreading Mistakes in C# – Unsafe Assumptions
Yeah, the industry is aching for a good solution. My favorite articles on the topic are:

- Edward Lee's "The Problem with Threads": https://www2.eecs.berkeley.edu/Pubs/TechRpts/2006/EECS-2006-...

- The occasionally hilarious chapter on concurrency (especially the "Concurrentgate" section) from Andrei Alexandrescu's "The D Programming Language", available in its entirety here: http://www.informit.com/articles/article.aspx?p=1609144

I think MS made great progress with the TPL and kickstarted an industry-wide movement with async/await. But certain aspects of C# still drive me nuts and will allow a junior dev to blow a leg off (I'd give my left arm for C++-style const references and/or compiler-enforced immutability). At one point I went so far as to play around with a Rosyln analyzer to tackle the problem (https://github.com/markwaterman/CondensedDotNet/blob/master/...), but gave up after realizing anything more then a token effort would be a huge undertaking.

Other languages are nibbling away at the edge of the concurrency problem with language-level support for CSP (golang), actors, etc., but, outside of the functional world (Erlang), I don't seen anyone working to address concurrency from the ground up.

markdoubleyou··on Google’s not-so-secret new OS
Great first post, hope you keep it up! Only feedback is that I had to reread this sentence several times before I was confident I'd parsed the negations correctly: "I also can’t imagine the Android update problem (a symptom of Linux’s modularity) won’t at last be solved by Andromeda, but one can never be too sure."
markdoubleyou··on .NET Garbage Collector Basics and Performance Hints (2003)
Along these same lines, Microsoft.IO.RecyclableMemoryStream is also useful.

https://github.com/Microsoft/Microsoft.IO.RecyclableMemorySt...

markdoubleyou··on Systems Past: software innovations we actually use (2014)
Clearly TempleOS/HolyC is the answer we've been looking for.

http://www.templeos.org

markdoubleyou··on Ask HN: How Is Developing on a Linux VM in Windows?
Thanks, this is good to know. I've only had limited success with VirtualBox--my guests' performance takes a dive when I assign them more than 2 virtual CPUs (both Linux and Windows guests).

Looks like VMWare Workstation is on sale for $162 today. Might take the plunge.

markdoubleyou··on Google joins .NET Foundation as Samsung brings .NET support to Tizen
Jon Skeet (C# guru who works at Google, for those unfamiliar with C# rock stars) was interviewed on Software Engineering Daily, and his response to this question was basically, "uh, no." Google isn't shifting their focus away from Java/C++ any time in the foreseeable future. (You might see improved support for .NET Core in Google Compute Engine, though.)

https://softwareengineeringdaily.com/2016/09/20/cloud-client...

← PreviousPage 3 of 3