HNHacker News
TopNewBestAskShowJobs

mzzter

192 karma · joined July 22, 2013

submissionscomments
mzzter··on Making a Statically-Linked, Single-File Web App with React and Rust
Cool small example. It's helpful to have the actual cli commands on hand.

There's just a small typo. The script path in the HTML mount file and the router path need to be the same, but do not match. Either one needs to change:

    // ui/dist/index.html

    <script src="/main.js"></script>
    


    // src/main.rs

    (GET) ["/bundle.js"] => {
        Response::text(bundle)
    },
mzzter··on Making a Statically-Linked, Single-File Web App with React and Rust
The JavaScript file is actually added to the Rust binary at compile time as a static string.
mzzter··on Facebook Secretly Saved Videos Users Deleted
Nothing in those articles suggest that Snapchat purged user data.

> “resolved most of those concerns over the past year by improving the wording of our privacy policy, app description, and in-app just-in-time notifications.”

Snapchat just changed their messaging to quell user concerns. Once they have a critical mass of users, they are immune to disclosing that Snapchat messages are not truly ephemeral.

mzzter··on Show HN: HN Domain Leaderboard
I would have thought bravenewgeek.com would make it onto the leaderboard since his posts [1] are typically high quality.

[1] https://news.ycombinator.com/from?site=bravenewgeek.com

mzzter··on Why Is SQLite Coded in C? (2017)
It could also be a reference to the comprehensive SQLite test suite (1) or the fact that it has been in production systems for many years, though it’s initial purpose does make bulletproof quite apt.

(1) https://sqlite.org/testing.html

mzzter··on Why Searching Through 500M Pwned Passwords Is So Quick
Sounds reasonable, 500mil * 160 bits of SHA-1 would be 500 mb of space. Even with some metadata to manage it, the smallest instances should be able to handle that.
mzzter··on The case for ending Amazon’s dominance
There isn’t one that I can think of. The Internet is accessed using just a handful of browser clients. That in itself drives most users to start browsing at only a few websites.
mzzter··on The Benjamin Franklin method for learning more from programming books
Reminds me of this article: https://medium.com/@markpapadakis/interesting-codebases-159f...

A curation of good codebases by someone who studies a lot of them.

mzzter··on Learning Go as a Node.js Developer
Scaling parts of the application independently from each other. If traffic spikes in one part of the application (e.x.: your image categorization web app was posted in a cat forum) more nodes can be added to that one resource to handle the load. Another reason could be worker processes that ran intermittently at midnight every day (e.x.: to email users top pics they missed that day).
mzzter··on Learning Go as a Node.js Developer
I’d say it depends on what you want to build (disclaimer: I have written a lot of Go but have only read Elixir source). If full stack monolith, use Elixir because of Phoenix; if microservice arch, use Go with gRPC protobufs for messaging.

IMO, both languages seem to result in very readable source code; and many examples of how to do either exist on GitHub.

mzzter··on Show HN: HN Proxy that Transforms Upvote Buttons into Links for TUIs (like lynx)
I couldn't figure out how to upvote posts when browsing HN through the lynx browser. So this pass-through proxy replaces the caret with an "[upvote]" text that is clickable in a lynx browser. User data is not persisted in the server.
mzzter··on Show HN: Find a co-hacker for your project
I noticed very few of the projects list skills that the poster has. This is a big turnoff for any potential collaborator. One would want to know what the poster brings to the table skill-wise, too.

Then I tried submitting a project and realized why: I can’t find a field that lets me add the skills I think I already have. Is it the optional “Specific Skills Needed” field? If so, it’s unclear that it becomes the “Skills I Already Have” section once rendered.

mzzter··on Isomorphic Go
Are you using GopherJS? What’s the performance of Go in the browser?
mzzter··on Why things might have taken so long
The keywords there are “aimless” and “incremental”. I think those properties are correctly valued in any fast-paced workplace.

I think one of the things that career inventors need to overcome is selling themselves. Often the fun part is in the work of inventing, but conveying the value of the process is just as important and less straightforward.

mzzter··on Meltdown and Spectre
Other domain used to publish the same info: https://meltdownattack.com
mzzter··on Ask HN: Is there room for a non-profit computer science degree provider?
Time and focus. The curriculum in many degree programs isn’t just about job readiness. Students will do research, experiments, labs, write papers, attend conferences, do hackathons, try side projects, and more that often don’t fit into the timespan of a bootcamp.

A wise professor once said that students pay for two things: speed and peers. Speed affects the rate that assignments, lectures, and tests need to be completed. Peers affects the quality of learning you gain from discussing with people tackling the same problem, and often the depth of the class’s prior perspectives.

mzzter··on Effective Engineer – Notes
Thanks for your response, I understand it better now. Sorry for what must have seemed like a stupid question.
mzzter··on Effective Engineer – Notes
Hi Edmond, is “high leverage” a phrase you use in the book? From the notes, “leverage” is defined as “impact / time invested.” Why did you choose “leverage” to describe this concept? “Leverage” suggests to me that it is grown with the idea of using it to climb a career ladder, but I’d like to hear your thoughts on this, as I have read just these notes and not the book yet.
mzzter··on Ask HN: Any recommended books on developing mental models?
An Introduction to General Systems Thinking by Gerald Weinberg is a good overview on Systems theory. It covers different approaches to developing a mental model of systems.
mzzter··on Ask HN: How can I become a self-taught software engineer?
I really like https://teachyourselfcs.com

Don’t give up, I’m self-taught too. Started my journey a year and a half ago (soon after finishing art school). I’m now finishing up my first engineering internship and looking for full time.

mzzter··on Writing GUI Apps Using the Red Programming Language
I guess I’ll try asking this again: How come Red doesn’t have a GC? If Red doesn’t have free, does it just leak memory?
mzzter··on Rust for Rubyists
Or apparently the even more common functional list operations: “map”, “for_each”, “filter”, “every”, etc.
mzzter··on Writing GUI Apps Using the Red Programming Language
How come Red doesn’t have a GC then? If Red doesn’t have free, does it just leak memory?
mzzter··on Ask HN: What software/service helps you be an effective remote developer?
Is this a free or paid service? I can’t find a pricing page on mobile.
mzzter··on Time Person of the Year 2017: The Silence Breakers
It’s weird that the article author attributes Susan Fowler’s blog post as the reason for Travis Kalanick’s resignation when it was really more of an incidental symptom of the many underpinning factors that ultimately led to the board’s letter asking the former CEO to step down.

The important impact of Fowler’s post was the investigation that led to dozens of employee removals—the C.E.O. resignation wasn’t the primary effect.

mzzter··on Python to Go Cheatsheet
For those fluent in Go first, this is good as a quick Go to Python reference too. Though good as an initial quickstart, this invites programming in Go using a Python-style and vice versa. Glad that there’s at least a section on goroutines and chan.
mzzter··on Desktop compositing latency is real
Hm I get about 4 up and downs per second before the scroll position is 180deg out of phase in Safari on iPhone 7+. That translates to about 125 (1000/8) ms latency?
mzzter··on Desktop compositing latency is real
Smartphones suffer from input latency too, though I’m unsure of the underlying cause (curious how iOS handles window/view drawing). It only seems to be getting worse, though I haven’t done tests on this. While each new model undoubtedly has better tech specs, the interface responsiveness doesn’t seem to improve.
mzzter··on Burn the Programmer
I really loved the pacing of Knights and Magic, but the fact that the MC was a programmer in a past life is only relevant for maybe 3 episodes.
mzzter··on Linux containers in 500 lines of code (2016)
I like to go to the first few commits of some repositories to see how the initial proof of concept was implemented. Docker was one that surprised me. Turns out that the core of it was mounting some folders with union fs and providing an API to track its location and status [1].

[1] https://github.com/moby/moby/blob/a27b4b8cb8e838d03a99b6d2b3...

← PreviousPage 2 of 4Next →