HNHacker News
TopNewBestAskShowJobs

sullyj3

1,004 karma · joined July 4, 2014

submissionscomments
sullyj3··on James Damore and three others end Google suit
I despise Trump, but claiming that talking about his shortcomings is an apolitical conversation is totally disingenuous. Politics isn't this bloodless process of determining the best policies by rational debate, as much we'd like it to be. Politics, as often as not, consists entirely of making the other team look bad, to raise the relative status of your own team. That's just how humans operate.
sullyj3··on Show HN: Twitch Roulette – Find and chat with streamers who are streaming alone
The dynamics here reminds me of https://www.lesswrong.com/posts/ZQG9cwKbct2LtmL3p/evaporativ...
sullyj3··on 'I've Got Nothing to Hide' and Other Misunderstandings of Privacy (2007)
It seems plausible to me that it's just a consequence of some contingent aspect of the design of the location system, and there's not a compelling reason to refactor.
sullyj3··on SSH hacks – a little sanity for remote workers
sshfs is the biggest one for me. Allows you to use all your local tools.
sullyj3··on Maybe visual programming is the answer, maybe not
> Why can't methods (for instance) get displayed as convenient, without worrying about where they are in the file?

This is something unison is playing with with their codebase manager.

https://www.youtube.com/watch?v=gCWtkvDQ2ZI

sullyj3··on Conversations with a six-year-old on functional programming (2018)
oops!
sullyj3··on Wgpu-rs on the web
> I'm willing to longbets that by 2025 we see a Rust framework as the top browser toolkit.

I might be willing to take that, depending on the odds and the deciding method for determining the "top browser toolkit".

sullyj3··on Conversations with a six-year-old on functional programming (2018)
The way maths is taught in Australia, for a long time the term function was synonymous with the concept "2D plot that passes the vertical line test" in my mind. I was completely unaware of how much broader and more interesting a concept functions are. There are probably many people whose understanding never progresses beyond this, which I think this is extremely unfortunate.
sullyj3··on Conversations with a six-year-old on functional programming (2018)
musical notes repeat once every doubling of frequencies, so there are many C#s spread throughout the range of human hearing. The only way someone could be unable to hear c# would be if they were unable to hear at all.
sullyj3··on Renaming files with mv without typing the name two times
There seems to a large contingent of linux users who are somehow completely immune to garbage user experience. It's really impressive.
sullyj3··on Windows Subsystem for Linux 2 Moving into General Availability
The graphical and audio applications for linux aren't worthwhile, or at least they're not competitive with the top proprietary offerings. It's not really about the theoretical capacity of of linux to support audio and graphics. The low market share of desktop linux makes it not economically worthwhile for top proprietary software companies to port to linux. That's just an unfortunate fact. I don't really want to edit graphics with Gimp when Photoshop exists, and I don't really want to produce music in Ardour when Ableton Live exists.

I think the only real way to fix this is to change the economic incentives by increasing desktop Linux market share, which is a long and uphill battle.

sullyj3··on Windows Subsystem for Linux 2 Moving into General Availability
Because I don't want to have to reboot every time I want to do something else with my computer.
sullyj3··on Don't Make Students Use Eclipse
Check out Rust and Haskell, both have the ability to derive the interfaces/traits/typeclasses for equality and comparison automatically.
sullyj3··on Our Government Runs on a 60-Year-Old Coding Language, and Now Its Falling Apart
Not a great headline really, C is nearly 50, but most people wouldn't consider it a disaster for everything to be written in C. The problem isn't that COBOL is old, it's that it's largely obsolete.
sullyj3··on YAML: Probably not so great after all (2019)
The benefit of significant whitespace is that you can't write code like this:

  int foo() {
         a();
    b(); 
          c();
  if (test())
    doSomethingIfTest();
    doSomethingUnconditionally();}
sullyj3··on What I Wish I Knew When Learning Haskell
The reason the first element is used as the pivot is that these are linked lists, not arrays, so it would take linear time to access the middle and end. This isn't a real quicksort.
sullyj3··on What I Wish I Knew When Learning Haskell
Somebody said it, but it's glib, and not particularly true. I believe it was a comment on do notation, the bind operation, and programmable semicolons. The customizability is definitely cool, but nobody could possibly argue that imperative programming in Haskell is ergonomic.
sullyj3··on What I Wish I Knew When Learning Haskell
Sure, IO and ST are escape hatches, but they're not escape hatches that beginners struggling with the concept of a higher order function are going to be able to use.
sullyj3··on What I Wish I Knew When Learning Haskell
It's definitely possible to write "boring Haskell". getting fancy is more of a cultural tendency than a necessity when building things with Haskell.

https://www.snoyman.com/blog/2019/11/boring-haskell-manifest...

sullyj3··on Why I’m Leaving Elm
Wow, this is pretty damning. The author seems fairly level headed and the criticisms feel well reasoned. I've played around with elm a little bit, but this really puts a damper on my desire to dive in further. Hopefully the core team takes some of this criticism on board.
sullyj3··on Universities forced to face addiction to foreign students’ money
Another reasonable hypothesis is that only the elite had the opportunity to become authors
sullyj3··on Some Churches Are Still Packing in Crowds
What's the point of humiliating evil? Seems more like a petty human impulse than a deific one.
sullyj3··on Vulnerability Reporting Is Dysfunctional
This equation is missing a term for lost sales due to damage to public image.
sullyj3··on Two Years with Rust
It seems to me that the things people like about the haskell style syntax are

1. Don't have to name the parameter

2. less nesting.

You can get the best of all worlds with lambdacase style constructs. You don't need to write out the name of the function a bunch of times.

  function = \case
    SpecialCase ->
      ...
      handle_odd_special_case;
    Default ->
      ...
      main_business_logic;
sullyj3··on Corporate Socialism: The Government Is Bailing Out Investors and Not You
That's not as rhetorically powerful.
sullyj3··on I got my file from Clearview AI
Probably the scale.
sullyj3··on Show HN: An experimental, keyboard-first user interface
Chrome does this more simply, but the feature is less discoverable. you don't have to create the keywords manually, you just hit tab after entering the URL where the search box is located. since the URL is autocompleted, for frequently used websites this is a matter of typing the first two or three characters and then hitting right arrow.
sullyj3··on It never makes sense to use foldl on lists in Haskell (2019)
Due to GHC's fusion, they're often not even created. They're used more like control flow constructs than arrays.
sullyj3··on How I Start: Rust
I mean, they could be, theoretically, but generally authors try to make the number a good reflection of the project's status.
sullyj3··on The 2,500 year old history of why Python’s all([]) returns True

  sum([1,1]) = 1 + 1 = 2
  sum([1]) = 1
  sum([]) = 0

  0 + n = n + 0 = n
Zero is the unit with respect to addition, so when we add together a list of no numbers, we ought to get back zero.

you can `from math import prod` in python3.8

  prod([2,2]) = 2*2 = 2
  prod([2]) = 2
  prod([]) = 1

  1 * n = n * 1 = n
The same way, one is the unit with respect to multiplication. So, multiplying no numbers together gets you one.

  all([True,True]) = True && True = True
  all([True]) = True
  all([]) = True

  True && x = x && True = x
You get the idea.
← PreviousPage 8 of 18Next →