HN user

Seldaek

1,966 karma

meet.hn/city/47.3744489,8.5410422/Zurich

Socials: - github.com/Seldaek - x.com/seldaek

Interests: Blockchain, Climate Tech, Climbing, Open Source, Programming, Space Tech, Web Development

---

Posts38
Comments64
View on HN
blog.packagist.com 1mo ago

Composer 2.10 Release features automatic malware blocking

Seldaek
7pts1
blog.packagist.com 1mo ago

An Update on Composer and Packagist Supply Chain Security

Seldaek
22pts2
seld.be 8y ago

Web development on windows in 2018

Seldaek
2pts0
medium.com 9y ago

Team journaling made simple

Seldaek
1pts0
seld.be 10y ago

Typo squatting analysis of the PHP package repository

Seldaek
1pts0
www.brave.com 10y ago

Brave: Brendan Eich's clean-ads browser startup

Seldaek
667pts549
shellshock.brandonpotter.com 11y ago

ShellSchock vulnerability test tool (over HTTP)

Seldaek
6pts0
www.swissinfo.ch 12y ago

Snakes on a train

Seldaek
1pts2
web.archive.org 12y ago

All of the Internet until 2000 fit in 14TB

Seldaek
2pts0
robrhinehart.com 12y ago

High Frequency Dating

Seldaek
678pts182
www.sbb.ch 12y ago

Starbucks takes to the rails

Seldaek
1pts1
php.net 12y ago

Our modern web theme goes live

Seldaek
46pts40
seld.be 12y ago

The pyramid of cluelessness

Seldaek
1pts0
seld.be 13y ago

Encouraging contributions with the Easy Pick label

Seldaek
2pts0
tools.ietf.org 13y ago

Happy Eyeballs: Success with Dual-Stack Hosts (RFC6555)

Seldaek
8pts0
legomen.com 13y ago

Lego for Men

Seldaek
2pts1
github.com 13y ago

Travis CI integrated into GitHub pull requests thanks to new Commit Status API

Seldaek
114pts22
nelm.io 14y ago

An appeal to all package managers

Seldaek
11pts1
blog.astrumfutura.com 14y ago

PHP: Innocent Villagefolk or a Pillagin’ Pirate?

Seldaek
8pts0
www.oracle.com 14y ago

What's new in PHP 5.4 by Rasmus

Seldaek
4pts0
nelm.io 14y ago

Composer - Package management for PHP

Seldaek
9pts0
github.com 14y ago

NPM included in Node

Seldaek
13pts0
pilif.github.com 14y ago

Asking for Permission

Seldaek
4pts0
nelm.io 14y ago

The algorithm that named us Nelmio

Seldaek
15pts4
nelm.io 15y ago

Motherf*cking JavaScript T-Shirts

Seldaek
10pts0
www.telegraph.co.uk 15y ago

Alarm over EU Great Firewall proposal

Seldaek
4pts1
github.com 15y ago

Pieppiep - Twitter client written in Bash

Seldaek
1pts0
seld.be 15y ago

A few Terminal tricks for the new hackers

Seldaek
6pts0
www.bbc.co.uk 15y ago

Belgium beats "no-government" world record

Seldaek
2pts1
gigaom.com 15y ago

Why Google's One Pass Could Be a Ticket to Nowhere

Seldaek
2pts0

If you are talking about such long time frames, then indeed archiving a project with its vendor directory might be a good idea once you decide to relegate it to the freezer.

IMO for the first point you should rather use ^x.y with the minimum version you require and then accept new releases as they come. If you do regular updates you should notice quickly when something break and be able to revert that update easily. If you update 20 packages at once it becomes harder to pinpoint where a regression occurred.

As for including the vendor dir in your VCS repo, this comes with quite a few drawbacks. That's one of the things Private Packagist (https://packagist.com) aims to fix though, as it keeps mirrored copies of your dependencies' zip archives so you get more reliable installs.

I think PHPStorm from JetBrains is the IDE of choice of most PHP devs using IDEs at this point. They completely own the market, and rightfully so (I'm still stuck on Sublime Text myself, but wouldn't consider any other IDE than PHPStorm if I were to use one).

Traditionally xdebug/xhprof were pretty decent, but xhprof has been a bit abandoned since facebook uses HHVM now.

There are two new commercial condenters though that came out in the last few months: Blackfire.io and QafooLabs.com

Both have announced support for showing GC time in profiles as a result of today's noise :) https://twitter.com/beberlei/status/539816149303955456 https://twitter.com/symfony_en/status/539815082881187841

For those looking for a technical explanation, the PHP garbage collector in this case is probably wasting a ton of CPU cycles trying to collect thousands of objects (a LOT of objects are created to represent all the inter-package rules when solving dependencies) during the solving process. It keeps trying and trying as objects are allocated and it can not collect anything but still has to check them all every time it triggers.

Disabling GC just kills the advanced GC but leaves the basic reference counting approach to freeing memory, so Composer can keep trucking without using much more memory as the GC wasn't really collecting anything. The memory reduction many people report is rather due to some other improvements we have made yesterday.

As to why the problem went unnoticed for so long, it seems that the GC is not able to be observed by profilers, so whenever we looked at profiles to improve things we obviously did not spot the issue. In most cases though this isn't an issue and I would NOT recommend everyone disables GC on their project :) GC is very useful in many cases especially long running workers, but the Composer solver falls out of the use cases it's made for.

There is a bit of history and context needed here I think. The last Opera 12 was released about a year ago. Last year they announced they would switch to using Blink instead of their own rendering engine.

The engine switch came with a complete rewrite of their browser as far as I understand it, so they prioritized Windows/OSX stability for a year and now finally came up with a Linux build again. The big gap in version numbers is due to their new browser starting at 15 + the adoption of a much shorter release cycle.

Once Linux builds are made stable I expect they will continue to release builds on all 3 platforms as they were doing for the many years before this slightly extreme shift.

That one pixel 12 years ago

Also note that it's available through the regular settings UI (opera://settings/) if you enable advanced settings under User Interface you will find "Disable tab bar's top spacing when browser window is maximized".

Snakes on a train 12 years ago

It's a fair question, and frankly it may well be it has nothing to do here. I just see it as relevant to nerd-culture because of the obvious (I think) reference to the "Snakes on a plane" movie. You could argue nerd-culture is not enough for hacker news, but then if you look at the homepage for example the GOOG split into GOOG/GOOGL article really has nothing to do with hacking. It's news for google shareholders, but somehow it seems many people on HN care about the stock market and Tesla cars and many other things which don't directly relate. Some things capture the HN mind-share and they become acceptable. Sometimes I too am baffled by what ends up on the front page.

So many people, many interests and opinions. That's why there is a 'new' page and a front one I suppose.

They unfortunately do not mention the traditional Starbucks Wi-Fi, but there is a short note about mobile data at least: "Signal boosters will ensure a better signal for your mobile devices."

Not quite sure what this is worth.

Good point. The logo should definitely be clickable, and the menu items clarified a bit. The navigation was sort of in a tentative state until now since it isn't even integrated in the rust-lang.org website yet.

Thanks I guess, but I wouldn't call it "working" just yet :)

It does render, but it seems like the search engine initialization is blocking for quite a while on iPhones, and in portrait mode it could use some more responsiveness.

Did you try it on an iPad or what device exactly?

We did consider Discourse and phpBB as migration options, but it seems there is no solution that will make everyone happy (there already is a forum in parallel to the mailing list actually). Many people like the mailing list concept and like to manage all this in their inbox.

Obviously switching to a self-hosted mailman is an option too. But having no access whatsoever to the group, migration is kind of a pain since you have no way of even contacting everyone that was subscribed.

I don't think this is necessarily a problem. If the model is based on generating a secure (in terms of entropy) token that is then stored on the device or in the iOS cloud it's fine. Every app using that lib has its own token even for the same device.

In light of recent password leaks events, I feel much safer leaving my phone on the table than giving my password to any of the major websites. Also this point was addressed in the original article.

Way to turn a decent post in an Apple vs. World religious war.

I for one use "What would Jesus do?" as a saying sometimes, and I don't need to be religious to do so. Similarly you need not be an Apple fanboy to get the reference. Move on.

I think with the proper tools (and I don't mean using the bare language, but enough libraries that give you nicer abstractions), it can be used for doing things properly just fine. Heck we do a living out of building custom apps for customers that range from financial world to data-oriented startups. You just have to know what you are doing, like with any language really.

- The mbstring ext gives you more or less decent transcoding support. I never had huge issues since it's generally ISO-8859-15 or UTF-8 I'm dealing with, but you may have a point. I can't answer conclusively.

- date handling overall is really great in PHP, I don't know about it in details in every language, but I know in some it's a massive pain. See http://php.net/DateTime and http://php.net/manual/en/intldateformatter.format.php for locale aware formatting.

- SQL injection is handled by the PDO db connectors just fine, and all libraries abstracting this basically take care of it. Unless you follow 10 years old tutorials it's pretty hard to have SQL injection leaks.

Etc etc.

The key is just this: know your tools.

Have you used it at all? I'm not going to pretend it's better than Bundler, we took a lot of inspiration from it and we may have a few unique features compared to it, but that's it. apt is pretty different anyway since it does system level stuff. Maven I think is insane, it does way more than a package manager should do. That said when you look at Python for example, the package management landscape is a scattered mess, and there is a new "greater better" solution every couple years. I wouldn't call that a better situation than what we now have with Composer.