HNHacker News
TopNewBestAskShowJobs

dsiegel2275

1,085 karma · joined December 3, 2014

submissionscomments
dsiegel2275··on Ask HN: Am I crazy not to pursue a machine learning masters, given free tuition?
Working in the evening certainly helps. For the most part I have been doing the same thing. By 9pm both wife and kids are in bed so I can easily get a couple of hours of work in.
dsiegel2275··on Ask HN: Am I crazy not to pursue a machine learning masters, given free tuition?
Stop working forever, sooner.
dsiegel2275··on Ask HN: Am I crazy not to pursue a machine learning masters, given free tuition?
Thanks. Certainly worth thinking about. Though school debt isn't part of the equation here as the tuition is free.
dsiegel2275··on Lawsuit claims Ancestry.com gets preferential access to New York public archives
Couldn't upvote this enough. I have done significant genealogical research over the last 6 or 7 years, using primarily Ancestry and FamilySearch.org. FamilySearch, particularly for non U.S. records, offers access to an order of magnitude more resources than Ancestry, though not all of them are digitally indexed. Ancestry, with its larger budget, seems to have invested heavily in digitizing and making available a small subset of commonly used resources, resources that will enable more casual users to make quick progress. So records like the 1940 U.S. Census and state-based death certificates (usually up to 1960) are digitized, and thus made widely available to keep and draw new subscribers.
dsiegel2275··on Ask HN: Cheap places to live with a good intellectual atmosphere?
https://www.bizjournals.com/pittsburgh/news/2018/08/17/heres...
dsiegel2275··on Ask HN: Cheap places to live with a good intellectual atmosphere?
This is easy. Pittsburgh.

Consistently ranked as a top city in the US, and world, to live in, in no small part due to the comparatively cheap cost of home prices, rent, and living in general. For example, there are nice neighborhoods in the city where one can buy a three bedroom, 2000sq foot house for < $150,000. I think that would buy a closet in the Bay area.

With Carnegie Mellon University here, the 'intellectual' and more specifically the tech scene is thriving. I work for (and take classes at) CMU and see this first hand. Numerous big tech companies have set up shop near campus (Google, Apple, Facebook, Amazon, Uber, etc). There are many, well funded, startups operating out of the city as well (e.g. Duolingo, Petuum), most of which have spun out of CMU.

dsiegel2275··on Life in the Spanish city that banned cars
Hey, I'm taking my family next year on a 10 day trip through Galicia, and was considering spending some time around Combarro, Pontevedra, etc. Can I get your thoughts and opinions on places to stay, things to do in that area? siegel dot darren at gmail
dsiegel2275··on Ask HN: Favorite teachers on YouTube?
Strang is wonderful. I worked my way through his entire OCW Linear Algebra course. His lectures are engaging and always explain complex topics well.
dsiegel2275··on SPA-like user experience with back end only: Phoenix.LiveView:
This is very interesting and a project that I'll track to see how it evolves. I agree fully that for many applications a SPA and the mess of a technology stack that it usually involves is overkill.

Part of the current impl doesn't seem like it is going to scale as the DOM in a page gets larger and larger: he mentions that right now they are sending the full rendered HTML from the server to the client on every update, then doing the diff client-side. They are looking at optimizations, hopefully sending diffs from the server is one of them.

dsiegel2275··on Elm 0.19 Broke Us
> remove escape hatches needed to fill out the immaturity of the language

I think you mean "immaturity of the platform".

Also, native modules weren't the only "escape hatch". An Elm application can communicate with JS through ports.

dsiegel2275··on Elm 0.19 Broke Us
If I could upvote this more than once, I would. Spot on.
dsiegel2275··on Elm 0.19 Broke Us
I would have liked to have seen custom operators stay around in 19, but I understand the motivations. I think it was in 18 they removed back-ticks for the same reason. Just makes it way easier for newcomers to learn the language.

As far as I understand it, the native modules lockdown had to take place. Period. The one thing that most attracts myself (and many others, I'm sure) to Elm is the guarantees that the compiler gives you towards ensuring no run-time errors. Give folks the ability to author and publish Elm native modules and the entire platform loses that guarantee.

dsiegel2275··on Small Assets without the Headache in Elm 0.19
Congratulations! I don't use Elm in production (yet), but have been following it's evolution for the past few years, built a few small side projects with it, and have gotten the chance to attend both Elm conferences. What a great community and great piece of technology.
dsiegel2275··on Serverless Docker Beta
You make some good points, but I disagree that giving up consistency makes everything easier. There are trade-offs. In an eventually consistent system, in my experience, application code becomes much more complex to implement, test and debug.
dsiegel2275··on Learning Math for Machine Learning
Does anyone have suggestions on learning resources for matrix calculus? I'm trying to come up to speed with the topic and could use pointers to worked examples, video lectures, etc.
dsiegel2275··on Book: Mathematics for Machine Learning
There isn't, unfortunately.
dsiegel2275··on Book: Mathematics for Machine Learning
For those interested in a similar resource, CMU offers a "Mathematics for Machine Learning" preparatory course each Fall semester. All of the videos from the 2017 edition are available to watch on YouTube.

Syllabus: https://canvas.cmu.edu/courses/603/assignments/syllabus

YouTube playlist: https://www.youtube.com/playlist?list=PL7y-1rk2cCsAqRtWoZ95z...

dsiegel2275··on Typescript: class vs. interface
"You’re saying that any object given this contract must be an object containing 2 properties (no more, no less)"

The parenthetical 'no more, no less' should be removed here as it is misleading. TypeScript interfaces do allow the objects that 'implement' them to of course have other properties defined. See the LabelledValue example in the TypeScript docs:

https://www.typescriptlang.org/docs/handbook/interfaces.html

dsiegel2275··on Deploying a ReasonML React app with Docker
In my opinion one of the most useful features is first-class support for algebraic data types. Using records and variants ('sum' and 'product' types) in Reason one can be much more expressive in terms of how program state and other constraints are defined.

One can get some of the same benefits of sum types in TypeScript using discriminated unions - but the syntax is cumbersome and requires boilerplate as compared to Reason.

dsiegel2275··on Ask HN: How do you stay healthy?
Exercise is good - but eating healthy is paramount.

A great resource on eating healthy is Michael Pollan's "In Defense of Food". Read the book or watch the documentary film version.

dsiegel2275··on Mystery of sonic weapon attacks in Cuba deepens
My first thought was that it is JavaScript fatigue.
dsiegel2275··on Ask HN: Why or why not should I use Elm instead of vanilla JS?
I would say that you should consider using Elm instead of JS if you are building a web application and you care about reliability and maintainability.

With Elm you will have a ridiculously stronger guarantee that what you write won't break at runtime. The type system and compiler also allows you to refactor with confidence.

Vanilla JS, unless you write exhaustive unit tests, gives you neither of these benefits.

dsiegel2275··on A First Reason React App for JavaScript Developers
Great response.

I'd only add a mention of algebraic data types. I learned enough Elm and Haskell to realize the benefit that they bring to a codebase by allowing an expressive way to define the valid structure of an application's data and state.

dsiegel2275··on Machine-checked explicit state: An arrow in the heart of complex web apps
Yes - the creator of Redux, Dan Abramov, was inspired by the Elm Architecture in his design of Redux.
dsiegel2275··on [dead]
I've just started learning Haskell (and am currently about three-quarters of the way through the LYAH book). The single thing that has helped me the most was having spent a bit of time learning and programming in Elm last year. This gave me the opportunity to learn some of the foundational concepts and language characteristics that exist in both languages like immutability, higher-order functions, algebraic data types, programming without null, etc., all in a much more approachable environment.
dsiegel2275··on A step-by-step guide to building a simple chess AI
Nice write up.

To learn Elm (and to learn more about chess engine implementations) I wrote a pure client-side chess engine and game. https://github.com/darrensiegel/elm-chess

You can play it live here: https://elm-chess.com/

dsiegel2275··on Angular 4.0.0 Now Available
I agree also.

I've been using TypeScript with React now for about six months - prior to that I was working on a large React/Redux app written in ES6 using Babel.

In my experience, I have seen a significant increase in my productivity after embracing TypeScript. With the static type support I am fixing/avoiding more errors at 'authoring' time due to intellisense and the VSCode editor flagging what will be compile errors. I am able to refactor across files with a lot less fear.

The advanced types in TS (specifically discriminated unions) make Redux actions and reducer code a lot more maintainable.

Overall I'm very pleased with the transition to TS. I spent time learning Elm last year and simply fell in love with that development experience. For reasons out of my control I cannot use it in production but with my current TS+React approach I can at least get close to what Elm offers.

dsiegel2275··on Lou Reed's New Public Archive
Well put. As a writer, Reed went into territories that even today would be considered taboo or at least out of the ordinary.

I heard a quote once that the The Velvet Underground and Nico album only sold 1000 copies when it came out. But every one of those 1000 people went and started a band.

dsiegel2275··on Tell HN: WarGames (1983) is mind-blowing
I too remember using ToneLoc a few times in the mid nineties.

Thanks!

"I might be an adult, but I'm a minor at heart"

dsiegel2275··on Ultrasound Ages Liquor Two Years in Just Three Days
But can we age babies this way? Or... are we already?
← PreviousPage 5 of 6Next →