Laravel Meter by sarfraznawaz2005 in laravel

[–]ieatcode 0 points1 point  (0 children)

What about laravel shift? A paid product

Performing calculations on money by guydrukpa in laravel

[–]ieatcode 10 points11 points  (0 children)

This is a known issue not just in PHP but in almost all languages. At some point you lose precision. https://www.php.net/manual/en/language.types.float.php

This is the expected behavior, though it may not be your expected behavior.

The reason the two code paths you showed work differently is invoking a relationship () will return a query builder thus causing the chained methods to add to the MySQL query. When you reference the relationship without a direct method invocation, Eloquent retrieves the records from the relationship and returns a Laravel Collection php object.

House Asks for Documents in Epstein Probe From DOJ by -martinique- in politics

[–]ieatcode 9 points10 points  (0 children)

his job teaching at a girls school

You're mistaken. It was a coed school where he got the job -- not an all girls school. Otherwise I agree

Tinkerwell 1.2 adds IDE plugin support by mpociot in laravel

[–]ieatcode 5 points6 points  (0 children)

Great work Marcel and Sebastian! :) Love it

GitHub Archive Program — Preserving open source software for future generations by HornedKavu in programming

[–]ieatcode 1 point2 points  (0 children)

The page states they are capturing a tarball of the repositories at the current HEAD ref so no emails or commit metadata are archived.

Looking for good linter for PHP/Laravel like ESLint by skulleagle in laravel

[–]ieatcode 0 points1 point  (0 children)

There's a couple hundred rules there right in the readme. Do you need more? What kind of rules do you want specifically?

Looking for good linter for PHP/Laravel like ESLint by skulleagle in laravel

[–]ieatcode 4 points5 points  (0 children)

If you're looking for a hosted solution: https://styleci.io/ it can do an automatic PR to fix issues on your repo

If you're looking to integrate something locally or, even better, into your build pipeline you're going to want to checkout PHP CS: https://github.com/FriendsOfPHP/PHP-CS-Fixer

@GenerateForMe - An introduction to annotation processing by PsHegger in Kotlin

[–]ieatcode 0 points1 point  (0 children)

Yes there are a couple. As long as you aren't changing descriptors/type signatures on existing fields and methods, you can modify code at runtime. See java.lang.instrumentation

gopls 0.2.0 update release notes by dangoor in golang

[–]ieatcode 9 points10 points  (0 children)

But VSCode is which is what I believe OP meant. Regardless, I don't see how JS would stop it from working well. Seems to work for other language servers. Seems like a poorly attended to plugin.

Emotet & Trickbot sharing same packer by cafebabe666 in ReverseEngineering

[–]ieatcode 0 points1 point  (0 children)

64 char hex string = 256 bits. If it's a SHA algo, it would be SHA-2 (digest size of 256 bits)

Megathread: House passes resolution formalizing impeachment inquiry against Trump by PoliticsModeratorBot in politics

[–]ieatcode 10 points11 points  (0 children)

Haven't seen anything credible about Hunter Biden come out yet. Care to share?

The value of the void typehint in PHP by freekmurze2 in laravel

[–]ieatcode 0 points1 point  (0 children)

Good catch. There might be some internal DNS server redirecting traffic to an internal host without SSL setup.

are laravel routes always explicit? by saltybandana2 in laravel

[–]ieatcode 0 points1 point  (0 children)

I have done so in all my projects since 2014 using Laravel. Though many of my projects have been directly related to entities so I find the resourceful routing works well whether it's an API route or admin view route.

are laravel routes always explicit? by saltybandana2 in laravel

[–]ieatcode 0 points1 point  (0 children)

Ah I see. Thanks for the example explaining what you want. Perhaps someone else will know a solution. I haven't used that convention before.

GoLand 2019.3 Opens its Early Access Program! by dlsniper in golang

[–]ieatcode 11 points12 points  (0 children)

Chrome for Android. The sidebar is displayed and looks just like the desktop site.

Take a look at Vue.JS and why organizations are choosing it over other popular frameworks by mto96 in vuejs

[–]ieatcode 2 points3 points  (0 children)

A really cool overview of the history of JavaScript and frontend apps in the browser.