HNHacker News
TopNewBestAskShowJobs

tylerjwilk00

893 karma · joined September 24, 2016

submissionscomments
tylerjwilk00··on Create your own dysfunctional single-page app
For the most part all you need to ask yourself is this:

Must full page reloads be eliminated?

(That's the real defining characteristics of SPAs)

For 95% of businesses a PWA with occasional full page reloads will be fine.

But for 5% of (mostly large) businesses, a kick ass SPA will be necessary.

tylerjwilk00··on SimpleSSR: Server-Side Rendering at Scale
I may get hate for this but watching JavaScript development mature makes me feel like I am taking crazy pills. So much shit was figured out decades ago but it's like everyone is just learning this shit for the first time. I don't know if it is because the standard library is so lacking or that it's been historical a client side only language but it makes me feel completely disillusioned with programming. It's like we're not progressing at all, merely learning that same shit over and over again each generation in a series of cycles.

Or maybe I'm just too old and need to get off my own lawn.

tylerjwilk00··on For back pain, the subtle moves of the Feldenkrais Method can help some people
Agreed. Our modern work life is so far removed from what natural selection has prepared us for that it's no wonder we have chronic pain. We're like a bear riding a unicycle 40+ hours a week and then atrophying our selves most of our non working free time. Weight lifting always seems to bring things back to reasonable baseline.
tylerjwilk00··on iPhones are hard to use
I agree. Android seems to have more consistent UX for apps regardless of developer. Back button is such a key input that I always feel trapped in iOS, where as on Android everything feels intuitive and multitasking is a breeze.
tylerjwilk00··on Linux 4.19
I got down voted last time I mentioned this like it is some sort of conspiracy and not historical fact, but Microsoft literally used the phrase "Embrace, Extend, Extinguish" [1] as a strategy to defeat competition. So anytime you hear of them embracing something you would do well to be skeptical of their motives.

[1] https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis...

tylerjwilk00··on Side Projects are deadweight to employability
See Associative entity [1] for list of common names for "join table"

[1] https://en.m.wikipedia.org/wiki/Associative_entity

tylerjwilk00··on Microsoft is embracing Android as the mobile version of Windows
Lighten up. Are you all missing the irony?

The OP is about MS. The title is about embracing. The parent comment mentioned extending it. I must be old and just couldn't pass up the historical hacker pop culture references. My apologies.

Don't sprain your wrists while shaking your pitch forks.

tylerjwilk00··on The Reason We Haven’t Directly Detected Dark Matter
This assumes that we are 100% certain that our understanding of gravitational lensing is accurate _AND_ that only mass affects gravitational lensing.
tylerjwilk00··on The Reason We Haven’t Directly Detected Dark Matter
> This carries the implicit assumption that all forces fall off monotonically with distance. Maybe gravity doesn't? Maybe it has a curve similar to a meteor impact crater: raised in the middle, a deep valley, and raised at the outer edge?

I always wonder about the interplay between a gravity well and dark energy specifically at the galactic boundary. If dark energy is in a sense "anti-gravity", would it not be stronger outside of a gravity well and weaker within? Would there be an interference pattern ( wave or valleys ) between dark-energy and gravity? Isn't a rotated wave just a spiral? Could the difference in rotational velocity at the edge be dark energy "pushing" the matter away to make up for gravity's weakness at the boundary?

tylerjwilk00··on Microsoft is embracing Android as the mobile version of Windows
And we know what happens after that. [1]

[1] https://en.m.wikipedia.org/wiki/Embrace,_extend,_and_extingu...

tylerjwilk00··on Tech Giants Spend $80B to Make Sure No One Else Can Compete
What a manipulative title. Have you no shame.

In other news: McDonald's buys beef to make sure no one else can compete.

tylerjwilk00··on Why are conversations limited to about four people?
The problem I see with larger group discussion is that the idea permutates far enough from the original idea after 4 turns that a participant's response to the topic may no longer be valid in the new discussion context. It can be very frustrating to have to unwind the progress to an early point for the input to be valid.
tylerjwilk00··on Show HN: I made a tool that made me faster at Git
Whether or not anyone is tired of typing git commands this is a cool project. I intend to try it out. Great work jesseduffield!
tylerjwilk00··on Why Westerners Fear Robots and the Japanese Do Not
I think a big factor in the attitude differences between Western and Eastern societies comes from the chronological order of industrialization.

The West were the fore runners of industrialization and seen first hand the bad (old guard job loss, environmental impact, deadly accidents). Of course the price paid by the bad paved the way for the positive (economic supremacy).

The economic positive from technological progress is far more apparent from the outside (East) looking in. The (West) memory of the early years and negatives creeped into the culture. While the East mostly noticed the shiny shores of economic progress and relatively recently.

None of this is to say that the East is not having their own moment of the perils technological industrialization.

Perhaps the East's view of technology will become less idealised in the future.

tylerjwilk00··on Taskbook: Like Trello but for the Terminal
Many of us live in the terminal most of the day. The less we have to reach for a mouse the better.
tylerjwilk00··on The Bullshit Web
While we're on the topic of web performance regression can we please talk about all these damn loading spinners.

JS and ajax we're supposed to save us.

Now instead of one slow page load. I get one slow page with a loading spinner, a login component with a loading spinner, a carousel with a loading spinner, latest news component with loading spinner. Content divs shifting and bouncing every which way as content loads.

It looks like some spilled a bucket of ajax-load.gif all over the damn page!

I'd prefer a blank page and the sudden appearance of the entire page.

tylerjwilk00··on Do Our Questions Create the World?
Some ideas are so subtle that words fail to describe. In the same way lay explanations of physics lack understanding that pure equations deliver.

The trick of the philosopher is an attempt at conveying meaning with a blunt instrument.

"To cross a river you need a boat. But when you reach the other side you don’t pick up the boat and carry it." ~ Alan Watts

tylerjwilk00··on Melatonin: Much More Than You Wanted to Know
Let's keep the magnesium training rolling.

NOW ZMA [1] has been my life saver for years. It never fails to make me enter "sleep mode". The same dose works now as has always worked. Do not take calcium supplements at the same time as ZMA.

[1] https://www.amazon.com/dp/B0013OZGQ0/r

tylerjwilk00··on The Allure of Small Towns for Big City Freelancers
I totally grok the desire for anon when living in a small town especially when I was younger. There is a social pressure that can be suffocating. I can't imagine the pressures of village or tribe life thousands of years ago. As I got older and relaxed this mostly went away. Such is life.
tylerjwilk00··on The Allure of Small Towns for Big City Freelancers
I think on a long enough time scale it is a cycle. Just like the market booms and busts the flow of people oscillates to and fro in the market of places to live.
tylerjwilk00··on The Allure of Small Towns for Big City Freelancers
Finally - A positive perspective on small town living.

When I read the stories of big city lifestyles I'm amazed so many people opt-in to it. Traffic, noise, concrete everywhere. Yuck - but to each their own.

I'll take my country life as a remote worker going on 8 years. Trees, forest, wildlife, fresh air, backyards. 5 minutes walk or 1 minute drive to a shop for groceries, hardware, lumber, restaurants, kid parks.

Everyone knows each other. Very tight knit community. Don't even get me started on cost of living differences. I'll never leave.

Remote work really levels the playing field and unlocks a lot of potential for rural and small towns. All happening at a time when the staple of resource extraction is declining but global connectivity is increasing. There may be a bright future for small towns yet.

tylerjwilk00··on You don't need ML/AI, you need SQL
You're missing the point. Much of the "intelligence" that AI/ML is touted as solving could be accomplished through standard SQL queries on well normalized data. But no one will invest in a company because we have proper data structures and accurate SQL reports that we learn from.
tylerjwilk00··on I Don’t Believe in Full-Stack Engineering
The numbers were only to make the point that hours are more easily accepted when it's split among a larger team. Yet the same quality is expected when a single Full Stack dev does the project in 1/4 the time and budget?
tylerjwilk00··on I Don’t Believe in Full-Stack Engineering
I disagree with the article. It's a 1,000 word false dichotomy between Full Stack vs. Insert Specialist Here.

Sure, if you're a Fortune 500 company, go ahead and hire a DBA, Cloud Architect, Backend Engineer, UI/UX Designer, Graphic Artist, Social Media Marketer, etc.

You'll have a few million $ in salary overhead. It may take longer to produce a final product.

BUT, it will probably be way better than a product that a full stack developer knocks out.

BUT, if you're a startup or SMB or lean department and have a 100k budget and a 6 week deadline a full stack developer is a huge asset to your company.

Obviously when you take the same project and give it to a highly specialized team of people with lots of time they produce superior results. Do we really need an article about it?

PS. Giving a 10 person team a 1,000 hour time budget would not be a huge deal. Try not laughing when a single Full Stack developer asks for 1,000 hours.

tylerjwilk00··on Has Vue passed React yet?
Competitive angle aside, Vue deserves all the stars it gets.

It's a pleasure to work with and a much needed tool in the frontend landscape. The more mindshare it gets the better for everyone.

I'll keep on rooting for it!

tylerjwilk00··on What, why and how of PHP Composer
If you wish to daemonize it have a file change listener run it when it observes file system changes in the appropriate directory. If that is too much work a quick hack would be:

    watch -n 10 composer dumpautoloaf --no-scripts &

Full disclosure: I did not verify this command would work well
tylerjwilk00··on What, why and how of PHP Composer
You won't even notice it.

Everything you already have will continue to work fine. All you have to do is include the autoloader somewhere in your code path.

An example assuming you already installed composer on the machine into your /bin or similar directory.

# add a new dependency:

  composer require guzzlehttp/guzzle
# this dependency will now be in the vendor directory

  ls ./vendor
# update your apps entry point (ie: frontcontroller.php):

  // require composer's autoloader
  require ('vendor/autoload.php');
# autoload will now find any dependencies you add via composer

  // create guzzle client
  $client = new \GuzzleHttp\Client();
# another tip, if you already have a bunch of class files some where (ie: myapp/src/classes , myapp/src/models ) You can include class paths via composer.json

      "autoload": {
          "classmap": ["classes/", "models/", "MyClass.php"]
      }
You can now remove any hard-coded include or require statements.

There is a lot more things you can do with it but this is the most basic example.

tylerjwilk00··on What, why and how of PHP Composer
Although composer was inspired by npm - they are not identical. Composer always just works for me. But with npm I always end up in some strange dependency hell. Add the fact that JS standard library is lacking in some basic functionality and you end up with a ludicrous amount of dependencies.

In short, give composer a try if you are already building apps in PHP.

tylerjwilk00··on What, why and how of PHP Composer
In the future, if/when you change your namespaces or add new Class files, just run:

`composer dump-autoload`

This will dump the autoloader and rebuild it. This is much much faster than an entire `composer install` run. For additional usage options try:

`composer help dump-autoload`

* Unrelated: HN can we please get better markdown?

tylerjwilk00··on Gitlab 500 error
This.

I fear the usage of ORM are slowing the web and developers SQL knowledge is atrophying along with it. I miss the days of crushing a query from 0.4s to 0.0014s. I've see some pretty ludicrous SQL execution plans generated by ORMs.

← PreviousPage 7 of 9Next →