HNHacker News
TopNewBestAskShowJobs

tylerjwilk00

893 karma · joined September 24, 2016

submissionscomments
tylerjwilk00··on Open-plan offices decrease face-to-face collaboration: study
> Remote work is still challenging though. The nature of not being able to get person-to-person time (regardless of how good video calls get) will always remain a challenge in its own right.

Even as a remote worker, I used to think this was true.

I no longer believe this is the case.

In remote video calls each human is like an augmented cyborg integrated with their computer and the internet.

The nature of IRL meetings tend to disrupt the augmentation aspect. Above a certain number of people perhaps augmentation becomes more obstacle then advantage though.

The above is anecdotal and your experience may differ.

tylerjwilk00··on Open-plan offices decrease face-to-face collaboration: study
I'll second this. You only have so much mental energy and focus. Managing your self image in a room full of others is wasteful and exhausting.
tylerjwilk00··on New in PHP 8
# Summary of some of the new changes:

## Union types

Specify multiple types

    public function foo(Foo|Bar $input): int|float;
## JIT

Just in time compiler for improved performance

## Static return type

Return static of class

    class Foo
    {
        public function test(): static
        {
            return new static();
        }
    }

## Weak maps

Prevent blocking of garbage collection for improved memory usage when needed

    private WeakMap $cache;

## ::class on objects

Get class type from object like get_class($object)

    $foo = new Foo();
    var_dump($foo::class);

## fdiv function

When you don't care about division by zero

    fdiv($x,0);

## Concatenation precedence

Math takes precedence in string concatenation.

    // this
    echo "sum: " . $a + $b;
    // evaluated as this
    echo "sum: " . ($a + $b);

## Some others

- Create DateTime objects from interface

- Type annotations for internal functions

- Variable syntax tweaks

- Breaking changes

- Consistent type errors

- Reclassified engine warnings

- Reflection method signature changes

* Note: HN pretty please get improved mark down parsing

tylerjwilk00··on Monoliths Are the Future
It's like the movie Benjamin Button but with a case of amnesia every three years.
tylerjwilk00··on Coding Stories: Me vs. the VNC Guy
Ugh. I'm not sure what's worse: them being lazy and uninterested or them feeling actively threatened by a student's search for knowledge. The latter of course being the antithesis of education.
tylerjwilk00··on Coding Stories: Me vs. the VNC Guy
I've had a similar experience with spying software in University. The instructor was bragging about the spying tool during a lesson. Driven by disgust of being watched I quickly identified the remote host and port. Hacked together a shell script to flood the host with spoofed connections. While this was going on the command server was projecting it's video signal to a large screen at the front of the room. I watched with glee as the active clients preview thumbnails of the spy app slowly filled with fake clients. Very soon the machine locked up and became unresponsive. The instructor became noticably flustered I raised my hand and claimed responsibility. I was excited to explain how I did it and discuss but instructor was not interested at all.
tylerjwilk00··on Procrastination is about managing emotions, not time
We procrastinate because a lot of what we do _really_ doesn't truly matter. That thing you're procrastinating probably won't mean jack when you are on your death bed. The conflict is that we feel like that thing should matter and yet we don't want to do it. Which choice is the delusion?

"The ability to let that which does not matter truly slide." ~ Tyler Durden

tylerjwilk00··on PHP in 2020
It's an advantage and stateless is great for scaling[1]. Loading configuration is a pathetically small sliver of your execution time budget.

[1] https://12factor.net/processes

tylerjwilk00··on PHP in 2020
Why not run phpinfo()?

Lists all loaded configuration as well as extensions and their configuration. Basically everything about the runtime environment your in.

Beginner level stuff.

tylerjwilk00··on The Internet of Beefs
Fascinating and thoughtful article.

I loved this short poignant sentence: "To participate is to lose."

It's so true and so sad.

tylerjwilk00··on SpaceX tests black satellite to reduce ‘megaconstellation’ threat to astronomy
If only there was a company that could launch telescopes into space and get above all these satellites and atmospheric interference.
tylerjwilk00··on Working for someone vs. doing your own thing
I have a theory on this and can speak from my experience.

The problem I think with NOT eating together is that it sews disharmony in the machinery of the household.

If everyone DOES eat together all the work related to it happens together as somewhat of a team. You do the thing once. Everyone is in a shared state of being. Specifically being satisfied in appetite and social interaction and ready to do there own thing after.

Otherwise Billy is hungry at a different time than Sandy and Sara wasn't hungry until it was time for bed. Dishes have to be re done for each person. Billy made a better dinner for himself and left none for his sister. Someone ate in the bedroom and left a glass of milk out over night and mom was angry in the morning...

I am rambling and maybe it's obvious but ultimately I don't think it's just the act of eating together I think it's the reduced friction and increased cohesion of the household that shared dinner causes.

To answer your question, Maybe family dinner forces you to be "doing it right" just by the act of having the family dinner.

tylerjwilk00··on Evidence that the key assumption made in discovery of dark energy is in error
Unicorns are real. They're just call by a different name, Elasmotherium sibiricum [1], a now extinct species of rhinoceros that shortly co-existed with man.

[1] https://www.google.com/search?q=Elasmotherium+sibiricum&tbm=...

tylerjwilk00··on Evidence that the key assumption made in discovery of dark energy is in error
The problem with string theory is that there are limitless physics universes you can create within its framework so saying that ours fits in it is not saying a lot. Many universes could be described by it.
tylerjwilk00··on The Fallacy of Premature Optimization (2009)
For some parts of a system if you write it correctly the first time there will be no need for optimization, premature or otherwise.

If you know you will need to cache something just cache it, it's not premature, it's best practices.

Exercise the Pareto principal during development and the areas that truly need optimized will present themselves in time.

tylerjwilk00··on Cheating in Programming
Put simply.

Life is an optimization problem.

tylerjwilk00··on I don’t use Semantic Web technologies anymore, though they still influence me
Or responsive web design techniques apparently.
tylerjwilk00··on Show HN: I'm building a robot that performs haircuts [video]
Cool concept. Spouses are good temporary workaround until this becomes mainstream. They also have the benefit of being multifunctional which provides a good ROI ;)
tylerjwilk00··on ACLU sues Homeland Security over 'stingray' cell phone surveillance
This made me wonder,

Do spoofed callers appear on a capture device as the spoofed number?

If so, you could in theory use law to target anyone by calling their number using a spoofed number that is included on a surveillance order. Just keep calling the numbers you want to monitor and the net keeps getting bigger.

Please tell me this is not the case?

tylerjwilk00··on Help me ask why you didn't just
I disagree with the article premise.

If I say, "Why don't you just X?"

It's short hand for:

- This is the first solution I thought of

- I am sure you already tried this

- Since you probably already tried it, why didn't it work?

It's about learning. I don't think most people are so fragile and insecure that you can't ask them about their problem space.

tylerjwilk00··on Top Dark Matter Candidate Loses Ground to Tiniest Competitor
Also worth noting is that it isn't necessarily that expansion anisotropic. It's the acceleration of expansion that is anisotropic.
tylerjwilk00··on Slack’s new WYSIWYG input box is terrible
Same old story.

Developer focused tool becomes mainstream.

Suites come in to maximize profit, engagement, in-app usages.

Early adopters leave looking for new developer focused tool.

Can't wait until slack gets snapchatitized features so I can put a cool filter and sticker on the code block messages in #devs

tylerjwilk00··on Office noise bothers some people more than others
It is also not uncommon for overcrowding to cause stress and irritation. Some people really do need lots of quiet personal space and time alone.
tylerjwilk00··on The Future Is Not Retro
Agreed.

The idea that a social network is better or of a higher quality simply because there are more bodies around you is a false premise. This sweeps aside the idea that people may prefer a lower density social network where each party mutually seeks another out as opposed to forced through proximity.

tylerjwilk00··on Union Types have been accepted for PHP 8
So little meaning in that comment.

Paraphrasing:

1. Dynamic and Static lang code look different

2. Dynamic lang code can use variables of undeclared type

Neither statement adequately answers the parent comment.

tylerjwilk00··on Union Types have been accepted for PHP 8
Every benchmark on that page is faster for PHP
tylerjwilk00··on Union Types have been accepted for PHP 8
Yes. We want to spend as little time as possible on code so we can quickly find the data structure that best solves the problem we have yet to understand.

  // I know nothing. Not sure what types would work best...
  public function method($data)

  // I know more
  public function method($data array)

  // More
  public function method($data array|false)

  // Even more
  public function method($data array|false) : int

  // Ah. Okay. I understand the problem domain and have proper data structures to solve it
  public function method($data array|false) : int|float
  
Notice the type system never got in our way. We organically grew into the type system as our understanding of the data evolved.
tylerjwilk00··on Union Types have been accepted for PHP 8
Definitely not performance [1]. Maybe aesthetics?

[1] https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

tylerjwilk00··on Union Types have been accepted for PHP 8
I agree in regards to Larvel. It was a breath of fresh air in the early days but they have baked so much magic into it and break backwards compatibility constantly that I have long given up even considering it. I will second the recommendation for symfony [1]. It lets you compose your app of just what components you need instead of the everything and the kitchen sink approach. However, composable systems are my preference but may not be for everyone.

[1] https://symfony.com/

tylerjwilk00··on Union Types have been accepted for PHP 8
Care to explain why types are better during domain modeling? Do you think it affects velocity? No benefits to loose types during discovery?
← PreviousPage 4 of 9Next →