News for hackers. Stuff that matters.

sglane

Re:Learn Regex the Easy Way on Thursday August 10, 2017 @11:01AM (#14980382)
Thanks, just learned something new. grep predates GNU by about a decade it seems.
Re:Learn Regex the Easy Way on Thursday August 10, 2017 @09:27AM (#14979389)
There are three types of regex as far as I know: basic (aka GNU), extended and PERL. Grep uses GNU as the name implies. egrep or grep -E uses extended. PERL is used elsewhere like JavaScript. Typically you'll see pcre which is the library for Perl Compatible Regular Expressions.
Re:The thriving black market of John Deere tractor hacking on Wednesday March 22, 2017 @09:56AM (#13930882)
It's not that simple. A corollary is with cellphone firmware for the radio. They have to answer to the FCC. Updating the firmware will let you broadcast with more wattage, for example. FCC doesn't like that.

JD has to answer to the EPA. See Tier IV.

Re:The thriving black market of John Deere tractor hacking on Wednesday March 22, 2017 @09:51AM (#13930836)
>Can you tell me how they are generally regarded?

Below JD/Kubota/NH, above LS/Kioti.

Re:Ask HN: What if there is no inheritance? on Monday March 13, 2017 @12:21PM (#13859187)
The only way to do this is to have a 100% death tax and to have an open bidding system for all assets. Otherwise you'll see deathbed $1 transfers of wealth. The open bidding system for any transfer at any point in life.

The problem with this whole concept is the number of people who received some kind of wealth transfer from their parents. Pretty much everyone I know has received financial assistance from their parents and are terrified of the idea of not having that leg up. Even amounts as small as $5,000 is far more than most people get. A lot of people don't realize how much their parents gave them.

Re:Reuters' position on covering Trump on Wednesday February 01, 2017 @01:54PM (#13543701)
To quote the HN Guidelines:

Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon.

Re:Curl 7.51.0 Released on Wednesday November 02, 2016 @02:14PM (#12857694)
It sure does quite a lot and I love it, but I wish it could handle SIP and WebSockets without too much trouble.
>Chrome was developed by different teams with different expertises, some of them acquired from other companies.

To expand on this, Chrome and Safari use webkit as their rendering/layout engine which is a fork of KDE's KHTML. IE came from NCSA Mosaic-> Spyglass -> Microsoft IE.

To be clear on my suggestions below, let's clarify what a browser actually is. The browser manages things like the navigation bar, bookmarks, download/mime handling, etc. This is known as the "chrome" or GUI. The layout engine handles HTML parsing, rendering, possibly is coupled with a Javascript engine like V8.

If you are trying to write a browser, the answer is to use webkit2 in whatever language you like. It's fast, light, and portable. If you are trying to write a layout engine (rendering engine), do as another poster suggested and write one to target HTML 3.2.

The folder you just changed into has 30,000 files and you're ssh'd in over a slow network.