settler4
Re:PHP Apprentice – An online, open-source book for learning PHP
on Friday January 11, 2019 @12:33PM (#18885126)
One of the best things of PHP today is the ecosystem. The PSR [0] interfaces let you build your own framework using libraries from the major frameworks or independent libraries seamlessly.
Re:PHP Apprentice – An online, open-source book for learning PHP
on Friday January 11, 2019 @11:30AM (#18884592)
And composer!
Re:PHP Apprentice – An online, open-source book for learning PHP
on Friday January 11, 2019 @11:15AM (#18884473)
This is a very good resource for PDO: https://phpdelusions.net/pdo
Re:ECMAScript modules in Node.js: the new plan
on Wednesday December 26, 2018 @02:44PM (#18764278)
> import { test } from "https://unpkg.com/[email protected]/testing.ts";
This feels both very pragmatic and frightening at the same time.
Re:Someone hacked printers worldwide, urging people to subscribe to Pe...
on Friday November 30, 2018 @06:39PM (#18573816)
Great way to raise awareness. Now use the printers to warn people their IP cameras are exposed too.
Re:Dot Dot Considered Harmful
on Wednesday November 28, 2018 @04:41PM (#18555934)
Maybe if your experience using a shell is only Window's CMD. I live in the shell. My Linux machines are configured to automatically open a terminal upon login and the first thing I do when I get a new Windows installation is getting bash working on it even if it's not for development.
Re:Japan's cyber-security minister has 'never used a computer'
on Thursday November 15, 2018 @07:13PM (#18464856)
Do whatever the one that donates more money to him wants him to do.
Re:Sr.ht, the hacker's forge, now open for public alpha
on Thursday November 15, 2018 @10:57AM (#18460248)
Thanks, I also found this information in the site: https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3C2018071822544...
It seems a fresh revenue model after so much the-user-is-the-product models. Here's is to your success!
Re:Sr.ht, the hacker's forge, now open for public alpha
on Thursday November 15, 2018 @10:32AM (#18460002)
This sounds too good to be true. Who's funding this project?
Re:Bytedance said to be valued at over $75B in new round
on Friday September 28, 2018 @11:12AM (#18094011)
The solution is to upgrade the users to know better than to get baited.
Re:If You're Not Writing a Program, Don't Use a Programming Language [...
on Monday September 24, 2018 @01:34PM (#18059611)
And then find a way to run that and so turn it into a programming language?
Re:Falling in love with Rust
on Wednesday September 19, 2018 @04:42PM (#18027535)
Doesn't the chained version still iterate over all the elements and squares them before taking the first 3 bigger than 5? the second version only goes over the minimum necessary elements and then breaks. How can the first be higher performance?
Re:The Mirai Botnet Architects Are Now Fighting Crime with the FBI
on Tuesday September 18, 2018 @05:39PM (#18019384)
You can buy it as a gift... to 300 of your close friends who are incidentally named like you and live in your house.
Re:Leaving Apple and Google: /e/ first beta
on Friday September 14, 2018 @07:49PM (#17992008)
At least it's not /r/os
Re:How to write X in both Python 3 and JavaScript
on Friday September 14, 2018 @11:35AM (#17987979)
It would be nice to have a sectioin with things that work differently in both languages. For example in python `if []:` evaluates to False while in javascript `if ([]) {` evaluates to True.
Re:SETI spots dozens of new mysterious signals emanating from distant ...
on Thursday September 13, 2018 @07:58PM (#17983746)
Are we broadcasting signals?
Re:The cyclist behind an anti-cyclist Facebook group
on Friday August 10, 2018 @10:36AM (#17733579)
4chans version:
"Ironic shitposting is still shitposting"
Re:“I'm basically giving myself a permanent vacation from being BDFL”
on Thursday July 12, 2018 @12:31PM (#17516202)
> (a := b)
Will `with` start using this syntax instead of `b as a`: `with open('foo') as a:` == `with a := open('foo'):`?
Update: found my answer on the pep. `with EXPR as VAR` actually calls `EXPR.__enter__()` so it's not the same.