Hacker Newsnew | past | comments | ask | show | jobs | submit | more ihatepython's commentslogin

> What is the PHP equivalent of writing your front end and back end in the same language so you can share libraries and data and not have to switch gears between two different languages each time you look up or down the stack?

You can simply compile your PHP code to wasm with emscripten, and then run it in the browser. Pretty straightforward. No more switching gears.


I believe you'll need to compile the PHP runtime itself with emscripten, since LLVM won't take PHP code, but PHP compiled to wasm will!


The universe is quantized, according to quantum physics. That means living creatures are effectively digital.


I don't know why you are getting downvoted. You speak the truth. My only nitpick is that it is a pseudo random number generator.

Actually, I do know why you are getting downvoted. You speak the truth.


It was awful, but it was still better than the 2016 Macbook keyboard.


I would disagree. With an Atari 400, you knew you could upgrade to a real keyboard by buying an 800. But with modern mac laptops, your only option for a real keyboard is an external one, but you have to also carry a usb-c to usb-a adapter around to connect it. And it's hard to use as a laptop with an external keyboard hanging off it.

I still prefer the Atari 400 membrane keyboard to the chicklet keys on modern macs.


You could upgrade the atari 400 to a 'real' keyboard, though not a great one. It would just replace the membrane keyboard.

And as much as I'm not a fan of the chicklet keyboards, they're 100x better than the atari 400 membrane keyboard. No. Contest.


Just for the record, I agree with you. I'm not sure if I worded my response correctly.

I also think the keyboard on the Speak & Spell is better than the 2016 Macbook keyboard.


There's a nostalgia hit!

  SNS: SPELL MRGHHSHFG.

  Me: what?

  SNS: SPELL FHJFRJEBRBDN.

  Me: what ARE you saying!?
Bit of trivia: my uncle was the executive at TI that green-lit the Speak-N-Spell. I was a tad bit older than the target market, but got invited to be in one of the early focus groups they used to gage reaction to it. I thought it was the coolest thing since sliced bread and saved my pennies to buy a speech synthesizer for my 99/4 after seeing it.

But yes, it had a worse keyboard than even the original 99/4.


If you are an excellent programmer, you will write excellent Perl and good Python code. The Python language limits your ability to write excellent code, which also limits your ability to write horrendous code.


Great username. Where do you stand on this topic? :-)

Your vote ratio reflects the relative fewer excellent programmers to weigh in on your point.

Majority: Python is pretty, perl is line noise.

Minority: Simple isn't easy, succinct is expressive.


I can't get it to work, it keeps crashing on me.


Wouldn't that be kind of bloated?



Uhm. On the 2.4 era, you could boot a Linux floppy to play Nethack on it: NeHaBoDi.

https://nehabodi.sourceforge.net/

I wonder if I could do the same with Slashem.


Nice. I do think portrait would be better for a vertical shooter.


Actually I have already replaced Telnet with systemd


Can you name one time in history where sanctions have actually worked?


The Iranian nuclear deal, until some stable genius ripped it appart.


It definitely put pressure on Rhodesia and South Africa, both of which eventually experienced regime change.


No idea about Rhodesia but for SA I think it was mainly doing of ANC


Cast your mind back to WW2, where the Allies' sanction of Japan basically set the wheels in motion for their collapse.


Sanctions are not designed to change the regime. Look at the French president complaining how it’s “not fair” the the US seize the moment to lure European manufacturers to the USA.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: