HNHacker News
TopNewBestAskShowJobs

just_myles

120 karma · joined September 28, 2018

submissionscomments
just_myles··on Why Is the Migration to Python 3 Taking So Long?
"As a language however, it's a whole lot of nonsense. Extremely inconsistent syntax, stuffing a trinary logic into a boolean system, a standard that gets extended arbitrarily, and even the tooling ecosystem is a fair bit pathetic (the lack of formatters particularly annoy me; everyone tries to support SQLs generally, and end up missing every extended feature.. if it's not a simple select query/ddl, you're not getting a decent format output)"

Would love to see your point in action. For me personally, speaking strictly writing simple scripts, they pretty much translate fairly well. Regarding formatting, are you referring to the output?

just_myles··on Why Is the Migration to Python 3 Taking So Long?
In all fairness, dealing with unicode in general has been a pain point for me.
just_myles··on Why Is the Migration to Python 3 Taking So Long?
Personally, I don't see the need to migrate entire code bases if there is no need. I think that much is obvious. Perhaps the focus should be put onto pivoting instead. That way it doesn't leave your dev team on the hook to go back and change existing code bases in python 2.
just_myles··on Why Is the Migration to Python 3 Taking So Long?
This is true. But, I think he means syntactically you can make jumps from one dbms to another without much of a fuss. Obviously there are non-language features but, that is not what is being discussed here.
just_myles··on Thousands of Facebook internal documents and emails published online
I think iterating quickly is important for startups. However, long term focus should be on staying ahead/keeping pace with the competition.
just_myles··on What SQL Analysts Need to Know About Python (2016)
Agreed.

One your last point, I don't think that will ever happen. There is a lot to benefit from your role being ambiguous.

just_myles··on XML is almost always misused
I agree with this portion 100%

The correct way to express a dictionary in XML is something like this:

<root> <item> <key>Name</key> <value>John</value> </item> <item> <key>City</key> <value>London</value> </item> </root>

In the past I used to create scripts that exported xml from relational data but didn't really understand the right way to build and structure them.

just_myles··on $100k/year still might not be enough to buy a home
In major US west coast cities, definitely yes. 100k is not enough.
just_myles··on R is a joy if you treat it like Awk
I used to use awk all the time whenever I wanted to evaluate specific portions of a columnar file (With a short one liner). Python comes close but, awk is much faster. In conjunction with SED, I think that is a little much and imo exceeds what I was doing. If I need to do any replacing or 'cleaning', I would then use something like Python or SQL.
just_myles··on R is a joy if you treat it like Awk
"Took 15 secs while my colleague was still stuck debugging his own weird for loops."

This is a fair response.

just_myles··on Graphics Programming Black Book by Michael Abrash (2001)
I remember when I tried to run Doom on my old 386 HP and man was it slow haha.

I think nowadays, these online arena games take forever to load. Back in the 90s it was all about loading and performance. Quite the shift in gamer expectations.

just_myles··on SQL Window Functions
I remember using window functions to create complex data outputs for data transformation pipelines. I didn't even know what they were but postgres just started supporting them and it looked like the right solution at the time.

I don't find a whole of use for them now but, I believe simply being aware they exist and an idea of what they do is easy enough to research and apply to any project you are working on. This is from a analyst and dev perspective.

just_myles··on WeWork Isn’t a Tech Company
Correct. I thought it was in the real estate business.
just_myles··on Why Don’t People Talk About Breaking Up Microsoft?
Microsoft is no stranger to that discussion. Echoing back to the early days of internet browsers and PC bundling.
just_myles··on Personal Website for Programmers
I see where you are coming from if this person is a designer.
just_myles··on Show HN: I wrote a book on Python regular expressions
Ok cool.
just_myles··on One job, many roles: The different skills needed to be a successful CTO
hahaha this post is funny in so many ways.
just_myles··on Uber Posts $5.2B Loss and Slowest Ever Growth Rate
I rarely took taxis because of the cost. Uber and Lyft value is their price and the ease of getting a ride. However, as we know, this is not a sustainable model (Extremely discount rides.).

Kinda sucks to see as I think the idea of the service is good.

just_myles··on Fact-Check the Physics of Captain America Hammering Thanos
The only thing I think is missing from this is area behind cap when he swings Mjolnir and knocks Thanos down. Also citing when Thor wacks Hulk with it in Avengers 1. It suffers from the same thing. I mean... when you think about it when Thor hit the car in Avengers 1, though it was a practical effect, probably should have been more theatrical based on this article.
just_myles··on Show HN: I wrote a book on Python regular expressions
Why I hate regex :) . You think you know it but, you never really do.
just_myles··on Show HN: I wrote a book on Python regular expressions
I use the below to extract email addresses. Took from some website some time ago and made super light changes to it. Not sure if this is the best but it has served me fairly well.

email_reg = re.compile (r'''

([a-zA-Z0-9._%+-]+ #First name and last name

@ #@ sign

[a-zA-Z0-9._%+-]+ #domain name

\.[a-zA-Z]{2,10}) #.com

''',re.VERBOSE)

just_myles··on Show HN: I wrote a book on Python regular expressions
None that I know of. My thought process has always been that regex was language agnostic. I think Perl has its own version that is widely used. But other than that, I do not know.
just_myles··on I'm a College Professor Who Faked Dissertation Data on the Side
Agreed. I remember when this was frowned upon. No need to go into student loan debt for a stem job.
just_myles··on Humans Will Never Colonize Mars
I will say that there are +7 billion human beings on this planet all requiring their share of resources. We need to do this. Nothing wrong with a dissenting pov in good faith. That is part of the process and how these kinds of things work.
just_myles··on Moving the Linux desktop to another reality
1. It looks cool. 2. Minority report, no. Gits, yes. 3. Everybody. Probably nobody. 4. Probably to multi-task. Multiple screens that sort of thing. VR gaming had the same problem in the beginning. Wasn't until games like adrift and beat sabre showed up that it started to finally hit a stride. Or at least a compelling use case (Good VR games to play.). 5. See 1.
just_myles··on Data Engineering Cookbook
I see these kinds of books as good points for reference. These days I like video formats that reference the theory and show real world examples.
just_myles··on Two Years With Emacs as a CEO and now CTO (2018)
Same. I can do so much in vi already.
just_myles··on Binary is the past, Korean researchers develop ternary semiconductor tech
Stopped right here:

"For example, to express the number 128 in the current binary system, 8 "bits" will be required. With the ternary system, only 5 "trits" will be required."

Does that mean 8 bits != 5 trits? What is the 8bit eqivalent, 8 trits?

Cool to see an effort being made to progress semiconductor technology.

just_myles··on Ask HN: Building LinkedIn alternative for tech focused community
Great work. It does a good enough job handling most common cases. At least for me.
just_myles··on Respawn will deal with Apex Legends cheaters by making them fight each other
That is a good idea. Keeps player engagement up.
← PreviousPage 2 of 7Next →