HNHacker News
TopNewBestAskShowJobs

shpongled

1,100 karma · joined July 12, 2017

submissionscomments
shpongled··on Show HN: I'm building a robot that performs haircuts [video]
- I go to my barber and never wait if I have an appointment. That is the meaning of "appointment".

- Depends on your style. I go with #2 on the sides, leave 1-1.5 inch on the top, scissor cut. Anyone can do that haircut, and I frequently rotate barbers at the same shop I've been going to for 4 years, based on time slots.

- $50 is absurd for anything except a luxury/specialty haircut. I would never pay more than $20.

shpongled··on ABCL – Common Lisp on the JVM
I like LISPs conceptually. However, I have a strong preference for static type systems, so I have probably written 10x more lines of code of LISP implementations than LISP code itself.
shpongled··on Ask HN: How to improve code quality while maintaining decent velocity?
In my experience, this happened just as much in STEM classes, if not more.
shpongled··on Developing a Statically Typed Programming Language (2017)
I have no formal education in type theory (or computer science), but I found the textbook I mentioned to be perfect for self-learning. There are some bits that are over my head (especially the proofs), but I've found it to be exceptionally accessible otherwise.
shpongled··on The Art of Hosting Good Conversations Online (1998)
Agreed. The majority of my Reddit browsing is done on a handful of niche subs, I rarely go on any of the "front page" subreddits. As much as I enjoyed using multiple phpBB sites in the past, having a platform where I can easily find these niche groups and aggregate their content is the killer feature for me.

However, I feel like there is some upper limit to the number of users a group has before content starts going downhill. So perhaps it's a double-edged sword.

shpongled··on Game Boy Advance “Hello World” Using Zig
Idk, I use Rust wherever I would use any other programming language, but I'm also a huge fan of the language in general. There's no need to limit it to "serious" applications
shpongled··on Developing a Statically Typed Programming Language (2017)
Pierce's Types and Programming Languages is a phenomenal textbook. I'm almost done with my implementation of System F-omega (polymorphic lambda calculus with higher kinded types and type operators), featuring a full handwritten lexer/parser with helpful diagnostics.

My end goal is to use it as one phase of IR for a functional language compiler.

shpongled··on AMD Zen 4 CPUs Rumored On Track For 2021 Release
Perhaps 2021 will be the year I upgrade. I've been rocking an i5-4690k stably overclocked at 4.5GHz for the past 5 years without issue, but I'd like to get some more threads
shpongled··on Hexing the technical interview (2017)
Wow, I've never seen this before. Love the writing style - reminds me of trying to put together things like this in a creative writing class.
shpongled··on The Amazon Builders' Library
Especially when they take the time to write "management", instead of "mgmt".
shpongled··on Generating a Java program with 90% less code
I can write code in Notepad, but why would I do that when I can see type annotations/errors on the fly? It greatly increases my productivity, probably by a factor of least 1.5x.
shpongled··on Taking ML to production with Rust
Yeah, every time I have tried to get a Go project set up or built from source I end up throwing in the towel 15 minutes later in frustration. Never had that kind of experience with any other language
shpongled··on Overview of Rust error handling libraries
I use it for essentially every programming task, with the exception of using matplotlib to generate figures. I've personally used Rust in all of these areas to some extent: APIs, data processing, blackjack engine, operating systems, bioinformatics, etc.

My current pet project in Rust is writing a functional language compiler that compiles down to System F/F omega and eventually I'm going to build some kind of virtual machine

shpongled··on Show HN: RustyBox – a Busybox fork written in Rust
Almost seems like it would be easier to just write it from scratch in idiomatic Rust than to try and refactor a code base of this size that makes such extensive use of unsafe blocks and pointers.
shpongled··on California’s Criminal Cops
The thing is, they will never have the numbers to disarm the population, at least in the door-to-door sense. You'd have to be a moron to sign up for that job. All gun control is to increase the power difference between individuals and the state, because armed individuals are the final check on the state - the state's entire power derives from a monopoly on violence.

I'm hoping more people will do like you and draw conclusions to Hong Kong. When 50%+ of your populace has taken to the streets, and still can't achieve their goals it should be illuminating.

shpongled··on California’s Criminal Cops
I feel the exact opposite way - I'd rather risk the minuscule chance of being randomly shot than risk tyranny. Far, far more citizens were killed by their own governments each year in the 20th century (Some 2+ million) [1] than are killed by mass shootings (< 50) [2] or all guns [3] in the US every year. More people are killed with hands and fists, or with knives, or hammers than are killed with AR-15s, AK-47s or any other rifle in the United States every single year [3], yet we don't call for bans on those?

By the statistics, even if widespread gun ownership only has a 0.0001% chance of preventing tyranny every year then it seems worth it

Furthermore, how do you reckon you would deal with tyranny, if not with arms?

[1] https://www.hawaii.edu/powerkills/20TH.HTM [2] https://www.motherjones.com/politics/2012/12/mass-shootings-... [3] https://ucr.fbi.gov/crime-in-the-u.s/2018/crime-in-the-u.s.-...

shpongled··on Open Letter to the Linux Foundation
As a young person, I have to say I agree with the "boomers". People are way too thin skinned and find excuses to become offended.

Freedom of speech and the ability to have different opinions is infinitely more important than people's feelings.

shpongled··on Open Letter to the Linux Foundation
Here's my personal litmus test:

If you replace one gender with the other or one race with any other race (etc, etc) and the new sentence is offensive, then so is the previous one.

Is kill all women offensive? Then you obviously shouldn't say kill all men.

shpongled··on Open Letter to the Linux Foundation
This is one of the more ridiculous comments I've seen on HN. What a world we live in that people are threatened by a hat.
shpongled··on Open Letter to the Linux Foundation
Is wearing a Bernie Sanders hat also a CoC violation? Is voting for a Republican also a CoC violation?
shpongled··on The Windows Update Marathon in a VM: From Windows 1.01 to XP
I can't update to 1903 either. Continuously tells me that my PC can't run Windows 10 because they can't access the system reserved partition. It's going to take a manual reinstall, so I've been putting it off.
shpongled··on Ask HN: Getting started in biology with a software background
The key distinction here is starting a company vs leading a company. To just walk in and lead an established company - you'd be fine with a better than average understanding, as long as you trust the experts in your company to do what is right.

To found a company? How do you know where to start? If you are hiring PhDs to come up with the idea for you, how do you if their ideas are novel or worthwhile?

Not to disparage SaaS founders, but I think it's somewhat easier to look about and say "there is no app for sending texts via REST API" and do that, than it is to look at say "no one has found a way to selectively target cancer cells for CRISPR" and then go do that.

shpongled··on Ask HN: Getting started in biology with a software background
Sure, I guess my wording wasn't clear. It is the system itself that is complex, not the equations or statistics we use
shpongled··on Ask HN: Getting started in biology with a software background
Presumably, this hypothetical biotech startup is going to be focused on some narrow niche of CRISPR technology, so being a specialist is exactly what's required in my mind. If the OP just wants to learn about CRISPR he could probably do a masters or even a year or two of self study. I find it very unlikely that they would be able to come up with something novel and marketable without even more hands on time.
shpongled··on Ask HN: Getting started in biology with a software background
I'm in my 5th year of a chemical biology PhD and I'm looking to potentially move into computer science/data science (been programming for 15 years) after I graduate. Maybe we can just switch? I work with CRISPR for my project.

In all seriousness, you are going to need a PhD if you want to truly understand all of the background of the field. Human biology/biochemistry is just about the most complex thing humans have ever studied. It would surely be easier to just find people with the requisite skill sets.

Even if you just want to start a company, I feel that it would be really hard to pick out a scientific direction/what your company is going to do, without a rigorous scientific background

shpongled··on Leonard Kleinrock on what went wrong with the internet
If anything, the presence of the "dark side" is proof that their creation is a massive success. Without it, we would not have truly free and anonymous exchange of information, which is what qualifies the internet as the greatest invention of mankind. I can carry a device around that had the ability to access the sum total of human knowledge
shpongled··on JavaScript Is C
That is how I would handle that - you lex or parse your strings into an Option<Token> (or Result, etc), so that then all logic operating on the Token enum doesnt need to worry about whether it's a correct value - it's statically enforced.

I personally find the most value out of sum types (enums with data) and the ability to use Option/Result with the try operator '?' for this kind of stuff, where you can float errors up the call chain

shpongled··on JavaScript Is C
Have you given Rust an honest try yet? I thought it was a hype train too at one point, but I started using it, realized that the hype is well founded and never looked back.
shpongled··on JavaScript Is C
Totally agree. If I'm writing anything nontrivial then it's going to be in a statically and explicitly typed language. There can be some friction, but the additional tools and speed in refactoring make up for it, IMO.

At this point I only use python for pandas and matplotlib, or for sending small psuedocode snippets to coworkers

shpongled··on Ring Gave Police Stats About Users Who Said No to Law Enforcement Requests
Article 3: Everyone has the right to life, liberty and security of person.

Article 4: No one shall be held in slavery or servitude; slavery and the slave trade shall be prohibited in all their forms.

I could continue pasting the remainder of the document, but I would argue that the ability to defend oneself (from the State, or other individuals) is the fundamental human right. Without it, all other rights are null and void. Gun ownership is the final fallback for securing our human rights.

← PreviousPage 10 of 12Next →