News for hackers. Stuff that matters.

fulldecent

Re:Modern PHP without a framework on Sunday April 01, 2018 @09:07PM (#16731523)
I read this article and found it to be a great example of why we should NOT adopt modern PHP techniques at our company.

50 lines of code and contrived examples (is HelloWorld class a view or controller? AwesomeClass is a model?) get one line of HTML emitted in a barely readable way.

This article fails to motivate why each layer of complexity is added. It basically starts with the assumption that you want to use a framework and says "hey look you can do the same thing with 50 lines of boilerplate, not really, but kind of."

I would be much more impressed with an article that starts with the obvious way to write a PHP application (.htaccess, index.php, products.php, library/database.php, library/*.php) and then explains the actual problems that would make you want to opt for more complexity/organization/modern techniques.

Re:It's time to head back to RSS? on Saturday March 31, 2018 @11:43AM (#16723725)
The (perceived?) reality is that social grows your user base and RSS doesn't.

Publishers care about growth more than serving existing customers.

Re:It's time to head back to RSS? on Saturday March 31, 2018 @11:40AM (#16723716)
A visitor that comes to your site via social is MUCH more valuable than someone that comes via RSS. The economics of this reality are what removed RSS from the limelight.

Dear publishers, let's fix this. Whenever you publish a blog post, etc. please syndicate it on social and then go back to your site to add "DISCUSS THIS ON TWITTER/whatever AT https://t.co/aesou02". Make sure that this also syndicates to RSS.

Dear pubsubbers, let's fix this. In your reader software, please lint these special links and show the discussion below the news. We know you want to get into the content discovery business -- this is the first step.

See the Slashdot RSS feed as a good example, they inline the discussion right in the feed.

Show HN: A classy way to ask for donations on projects

The tip jar line. Added to here:https://github.com/fulldecent/FDWaveformView https://github.com/fulldecent/system-bus-radio https://github.com/fulldecent/FDTake https://github.com/fulldecent/FDChessboardView https://github.com/fulldecent/FDSoundActivatedRecorderAnd more emoji: https://gist.github.com/rxaviers/7360908

( Read More... | 1 comment | 2 points | on HN )
Re:Qubes OS: A reasonably secure operating system on Sunday November 19, 2017 @09:17PM (#15737308)
Or how about the AM radio transmitter that is built into all x86 hardware - https://github.com/fulldecent/system-bus-radio
Re:VS Code Roadmap 2018 on Wednesday November 01, 2017 @12:41PM (#15603011)
Still no first-class SFTP support. Doesn't look like I'll try VS Code until at least 2019.
Re:How to Make the Most Out of Pull Requests on Wednesday October 11, 2017 @10:57AM (#15450279)
This article could be more clear in showing who it is addressed to.

"How to Make the Most Out of Pull Requests -- a guide for project maintainers" or "How to Make the Most Out of Pull Requests -- so that your contributions get accepeted"

Ask HN: What would you change in Linux if building from the ground up?

POSIX, GNU and Linux are great systems that set up our computer to run the programs we love. But they are all based on legacy systems that go back to the original mainframes and first computers.We have never done a complete reset from the ground up. But history is littered with incomplete attempts. This is because driver support and other niceties of modern systems would take enormous time to...

( Read More... | 1 comment | on HN )
Re:Dumb Things Camera Companies are Still Doing on Wednesday September 27, 2017 @11:19AM (#15348639)
I just want to say when iPhone supports external flash I will probably never use Canon again. And I've used it for 10+ years professionally in the studio. Seriously, it's like Japan's products are moving at the same speed as their economy, i.e. not at all in the past 20 years.
Re:Dumb Things Camera Companies are Still Doing on Wednesday September 27, 2017 @11:12AM (#15348552)
1/4" mount with no anti-rotate hole.

I have a 80D and there is a 1/4" mount at the bottom. But if you take a photo in portrait orientation with a long lens then the 1/4" bolt will not be strong enough and the camera will twist out of it. It's a joke!

Re:Facebook recruiting and Unix systems on Friday September 08, 2017 @12:24AM (#15197833)
FYI, here is more analysis on the reality of "recruiting by grep". https://fulldecent.blogspot.com/2010/10/classic-and-modern-j...

Under the section Keyword Stuffing.

My company does $1m in sales annually. Stripe requires 7 days to close payments (versus 1d for other merchant accounts).

The extra $16k of float that Stripe requires is not worth it for me. This is why we have credit card numbers come to our server.

Before all the thought experiments, which I'm sure will ensue below, I just want to ask. Is it possible that men and women are actually different?

(The `flag` button above to mod this comment into oblivion.)

Re:GNU Ring 1.0 released on Friday July 28, 2017 @01:09PM (#14875774)
Is it just me or does anyone else think this will be a lame project just because it of GNU stewardship?
Re:Show HN: A simple machine learning game in PHP on Thursday July 06, 2017 @11:36AM (#14711177)
Please explain what you are seeing.

Also note that learning is a slow process. Please play multiple times while thinking about the same object to make an impact.

Re:Show HN: A simple machine learning game in PHP on Thursday July 06, 2017 @11:33AM (#14711156)
Thank you, I have made the update and it is live now.
Re:Inside the Largest US Voter Data Leak on Monday June 19, 2017 @05:31PM (#14590633)
TLDR. Was any of the information non-public?
There are lots of great example replies here.

I miss using machinations in MS Access back in the day. Now with Google Sheets, I am left wonting for a tool that enforces primary keys and is /easy/ to set up a view or query.

If they're paying rent I suppose I can't complain. All my projects are on GitHub.

Ask HN: How does your open source project ask for sponsors?

What is a classy way to ask for money for an open source project? I just now realized every project needs a desired outcome. For open source, money is a positive outcome.I know this project is very small but I want to perfect the classy approach before trying it elsewhere.----Sponsorship\[ YOUR LOGO HERE \]Please contact xxxxxx to discuss adding your company logo above and supporting this...

( Read More... | 2 comments | on HN )
Re:What Happens When You Send a Zero-Day to a Bank? on Sunday April 23, 2017 @02:10AM (#14176822)
Thanks for understanding. I was writing this up and wasn't sure anyone would really connect with the story or care about one line of code against a now non-existing broker. I'm so happy to hear this support.
Re:What Happens When You Send a Zero-Day to a Bank? on Sunday April 23, 2017 @02:06AM (#14176810)
Penson created the system that multiple brokers use for multiple branches.

I cannot verify that number but I am quoting it from a phone call with a Penson engineer.

Re:What Happens When You Send a Zero-Day to a Bank? on Sunday April 23, 2017 @02:04AM (#14176802)
Just FYI, I use the uBlock Origin extension for Chrome and I believe it solves all this for me.
Re:What Happens When You Send a Zero-Day to a Bank? on Sunday April 23, 2017 @01:59AM (#14176785)
Only briefly mentioned in the article:

> 2017 I have yet hear from FINRA that any action has been taken. I have yet to hear from ZECCO / TradeKing that the issue has been resolved.

Re:What Happens When You Send a Zero-Day to a Bank? on Sunday April 23, 2017 @01:58AM (#14176781)
I have closed my account and do not know the answer. Also, please if someone would be able to confirm in the affirmative in this or any other Penson site, then please start a new round of responsible disclosure.

Older »