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

Why killpg?


I suspect to kill all children and not rely on the parent you're supervising to clean up.


I still run it happily.


Having had to deal with verizon, I can vouch that this is true.


"Only install that you actually use, otherwise it can slow start time a bunch."

This doesn't make me want to use it.


What?


I suspect that the parent is talking about the JVM's JIT, where it compiles java bytecode into machine instructions after loading the application. This is why the first few requests on a JVM are usually considerably slower than the rest.

Parent is obviously exaggerating with the 5000x, and he could have made his point in a different way, but there's some truth to it.


5000 refers to number of times a method needs to be called before the JIT decides the method is "warm" and needs to be compiled by the expensive to run C2 compiler which produces good quality machine code.

If you're benchmarking java code and the method was not called enough times before you measure, you're measuring code compiled by C1 (or even interpreted).

The performance gap between Java and C is on the order of x2 to x5.


Why not just pass -Xcomp? From the docs[1]: "You can completely disable interpretation of Java methods before compilation by specifying the -Xcomp option."

[1] https://docs.oracle.com/javase/8/docs/technotes/tools/window...


At the same time, JIT can outperform native code in some specific circumstances, since there are certain optimizations which can be proven safe at runtime which can not be guaranteed to be safe at compile time


this is a thing people say a lot but it is not something that seems to often result in an actual java program or benchmark being faster than program compiled AOT by an equivalently smart compiler (llvm etc)


Actually one of the less known features of the JIT is the ability to deoptimize/recompile based on CHA (class hierarchy analysis) or pushed compilation request via invokeDynamic&friends.


Post your python to go urwid port gcla. Well done!


Let this fail like google+ is all I have to say.


Make it fail. I'm going to flag as SPAM any mail that comes with AMP in it.


Until google bans your account and everything holy related to it for "click fraud"


Ill take that risk.


Sadly, I doubt that it will fail. I don't know anybody who actually likes AMP and yet it didn't die in the past years. So probably the person who is in charge of AMP is just very good at marketing his baby inside Google.


Maybe these are hijacked wordpress sites. Anyway, I'm using this https://www.sdr-kits.net/VA5-Antenna-Analyzer-Kit . It only goes to 600 MHz and is cheap, but my needs are simple.


I wouldn't say unblockable.


Sure, all you have to do is either block by default Javascript or all images. Obviously those features belong in a browser extension, not the core feature set of a mainstream browser.


Counterproductive.


So you allow managewp to login to your sites?


It uses official WordPress Rest API: https://developer.wordpress.org/rest-api/


ManageWP uses the WordPress api to update plugins and themes


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

Search: