Skip to content

u/gjs278

In this archive from Oct 2008 to Aug 2015

1
posts
43
comments
0
media
-6
score

x32 will not work at all; we generate x64 instructions and require 64-bit addressing. For other architectures we're interested in, we will also require the 64-bit variants (eg arm64)

that's completely fine. I can run x64 on this too.

how long ago was this build? We used to require an 'unusual' libevent for our builtin http server, but that has been deprecated (and not built by default) since 3.0.0 in March 2014. If there's a problem using a recent standard version of libevent with 3.9, please could you put some details on a github issue?

I attempted to install the latest version of hhvm manually and through the gentoo overlays just last month. couldn't get any recent version to work, using all sorts of combinations of gcc 4.9, gcc 5, libevents, drawf, everything under the sun.

We're planning on supporting docker containers shortly - would this be a sufficient replacement for distro neutral tarballs for you? If not, what would the advantages be? Making truly distro-neutral tarballs is very hard to do correctly, and would take away a significant amount of development time away from the open source team.

maybe. I would just gut the docker container and run it natively though. whatever files you're giving docker to run the app are the same files you'd include in the tarball honestly. I couldn't find a direct rpm, only suggestions on adding repos, but I don't know how to parse those to just get the rpm I want and gut that.

We use system libraries instead of the ones at https://github.com/hhvm/hhvm-third-party if they are properly versioned by upstream, and if we need them configured in a particular way (eg PCRE with JIT enabled), provide a way to detect that. If you think this isn't the case for some dependency, please can you file an issue?

I couldn't get it to compile, so I don't know. I do know if you can point me to an hhvm binary though, I could try running it and seeing if all of my third party libraries that are dynamically linked still work.

1 points

you should consider making the build for hhvm actually work. I haven't been able to compile it on any version of gentoo, 64 bit, x32, matching all your deps, even going so far to match stupid things like my version of libevent. at the least provide a distro neutral tarball of the stuff, not just deb or rpms. and the ability to use system libs instead of the ones you're packing into the src

2 points

Were you dropped on your head as a child, or are you just not following? The number of available functions is not relevant. One of the biggest problems with PHP is the number of functions available!

and adding more ways of doing things is helpful.

I'm going to labour this point: do you, or do you not, use jQuery for javascript? That is a javascript framework and in all ways analogous to a PHP framework. Why would you use jQuery when Javascript has nearly every function built in already? What if jQuery stops being developed? Your code will not work and mine will.

jquery serves as a way to make javascript code cross browser compatible. I don't use jquery for things that can be done inside normal javascript, if that normal javascript won't have any cross browser issues.

I don't use jquery 2 specifically because it dropped support for browsers less than ie9. one of the major selling points of jquery is to provide support for browsers that couldn't handle modern javascript methods without tons of exceptions. considering that jquery 1 will one day not support a modern browser, and jquery 2 isn't going to support older browsers, it puts a developer in a tight spot when it comes to future code maintenance.

This is clearly utter bullshit. Jquery provides a ton of useful functionality, massively simplifying the process of writing javascript, as well as providing utility and improved access to features such as data attributes and dom collections. It doesn't replace Javascript, it enhances it to such a degree that it has become ubiquitous. Not using jQuery for any non-trivial javascript would make you inefficient as a developer, and incompetent at your job.

again, with the direction jquery is headed, browser support is going to be broken on websites that use it. jquery 2 is already broken for ie6-8, and XP users can't upgrade beyond 8. as a developer, you just have to fallback to jquery 1, but there will be a point where falling back won't work when jquery 2 has a feature but jquery 1 doesn't. jquery is good, but it illustrates that exact point I made before of relying on frameworks to handle your code. it can eventually put you in a tight place.

Everything said above (apart from dom collections, etc) can be applied to PHP frameworks as well.

php frameworks aren't about portability. most of the php functions will work on any OS you throw them on without a framework.

Wot? What are you saying here. I don't get it.

you claimed that people are yelling at me, but it's not because they disagree with me. it is clearly only because they disagree with me.

This is dumb. Like... outright, how-do-you-operate-a-fork dumb. That you can't see that is obvious. Also kind of sad. You seem to have some insane idea that if frameworks don't get updated they turn into dust. Any code you write will continue to run. If you write stuff in a way that's likely to stop working some time soon, or that requires features that are deprecated you fix it. You have this bizarre combination of factors required to have a valid point - you have to have a codebase that is being actively developed, but never maintained. If, in four years, you find that the PDO connection your framework uses is being discontinued, you just.. change it.

if the entire framework is relying on PDO to work, you'd have to rewrite the framework to handle something else. considering you didn't write the framework, so you could potentially have little idea about the complexities of the inner workings, that won't always be an easy task.

The fact is - and this is a fact, not an opinion - technology changes. Platforms change, trends change. Everything you've said applies to PHP itself just as much as anything built on it. If PHP as a language diverges from your framework, your implementation, or your coding, you will have plenty of time and warning to either change slowly with it or refactor into a new platform.

APC was going to be integrated into the mainline php. then they quickly decided to instead deprecate it and release php 5.4 that broke support. then they decided instead of that Opcache was going to be in its place on php 5.5, even though it didn't offer key storage functions. that's one example of a feature being blown away by php with little notice, and nobody being around to fix APC as well as it needs to be fixed.

Not doing so, not maintaining your code, not being informed of changes to platforms and frameworks and languages makes you incompetent, and there is no one to blame for your negligence but yourself. Note that this applies whether you're using a framework or not.

with your own code you'll actually know what you're doing to change it. if PDO was dropped in php 5.7 and symphony decided to call it quits, you'd be lucky if someone actually fixed it.

1 points

Frameworks don't add functions. They add utility. Consistency, structure, reliablity, speed, extensibility.

they also lock you in to that framework if it uses components that apply to that framework only

Your ignorance is both sad and hilarious. What's notable is that a huge number of people are deriding and laughing at your statements. And yet, you will maintain staunch in defence in your ignorance. It will never occur to you to reconsider, that maybe smarter and more experienced people than you have found better solutions.

a huge number of people are using a framework for a language that has nearly every built in function available already

That is why we are sorry for the people who have to work with you. Not because you don't know. Not because you disagree. But because you just won't listen, and think your ignorance trumps our knowledge.

it is because I disagree. if I agreed that frameworks didn't vendor lock you in, everyone would be on my side. but because I believe a php framework isn't a good idea since

a) the language already has an insane amount of built in functions that are already reliable, speedy, and extensible enough

b) using a framework can lock you into a certain type of programming style that won't be compatible with future versions of php when the framework is updated

the simple fact is that symphony is not going to be maintained one day, and my code is still going to work and yours won't.

1 points

It's true. As soon as someone stops active development on a framework the thing just stops working, and gets uninstalled from your server, and you have to go out and get a new framework so it will start working again.

if you want to update php, that is generally the case. APC has had active development slow way down, and anyone relying on it for its data caching methods instead of using memcached can't upgrade to 5.5 for a stable experience. that same can happen with any framework.

1 points

again? Never was, still deprecated doesnt mean it will not work.

deprecated means they plan on removing it in many cases, before php 6

PS: mysql was php 4 so as I said you cant expect compatibility.

mysql is in php 5

PSS: What about maintain the framework on your own when support is gone? It would be less work than support your own codebase (and still be able to composer update that shit).

not really. if the entire framework is built around mysql_connect and mysql objects working, you're not going to have an easy time converting it to PDO

PSSS: You just have something about frameworks without any solid reason isnt it?.

I just gave you a solid reason. you rely on someone else's code that you don't understand and are bound by their framework and plugins, making a major move difficult, and if they decide to stop supporting it, you're out of luck

0 points

This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.

it means it will be removed eventually, which is what happened to many mysqli functions and will happen to mysql as a whole before php 6

so yes, in many cases, deprecated does mean it won't work before php 6, making you wrong again

0 points

So you bring 3rd party extensions to this discussion? You must be an idiot because if it doesnt worknwith another minor veesionnof php thats the developers fault.

some frameworks do use pecl, which is 3rd party, and pecl does get outdated or deprecated, like the various php caching methods. APC was deprecated by php 5.4, and other maintained extensions just die out. if the framework doesn't replace it with something else, you can't upgrade your php.

Every framework that uses build in php extensions will work 100% til 6.0 comes out. Fact.

not if the php extension gets deprecated, like mysql did. any framework using that instead of PDO would be outdated before 6

1 points

ever heard of {major}.{minor}.{patch}? You can use your framework until php changes his major number, and even then you probably can still use it.

if they choose to support it you will. if not, then you won't. it's as easy as that. there are already frameworks and third party php modules that are no longer maintained and will never work on 5.5 until someone fixes them.

You know even when your framework is made for 5.3 but your server has 5.5 you still can use generators, password hashing etc. Isnt like you are not allowed to use php

not if the modules in the framework don't work under 5.5. there are frameworks that bundled php-ffmpeg code. guess what, php ffmpeg doesn't work under 5.5. now you have a broken framework if you upgrade, for that section.

0 points

everyone at work is generally free to use any framework or code base they like for their projects.

nobody chooses to use a framework. some modules yes, but never full out frameworks.

I feel sorry for the people at YOUR work who rely on a framework for a language that has built in nearly every function you could possibly need 3 times over. how is it they can't complete their projects in a timely manner using a standard mvc layout and vanilla php?

-1 points

cars are static devices, they don't have upgrades or security exploits that would change the way their windows work.

a framework needs to be able to run under the latest php versions to allow you to use new features and fix issues that previous versions had. if you never want to change the site or use only old features, then go ahead, tie yourself to a framework.

-2 points

are you serious?

do you really think you'd be able to take code you write for one specific framework and reuse it?

that's not going to be the case at all. different frameworks have different ways of handling everything, you'll have to rewrite your whole application when your framework goes unmaintained.

-3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.