Better HN
topnewbestaskshowjobs
Log inSign up

mapgrep

6,331 karma · joined Sep 23, 2010 (16y ago) · 813 submissions

Submissions

comment 11y ago · link · parent

The PDF with the wrong suffix crashed Google Chrome Mac. But then I power cycled (reopened) the browser and now it downloads fine :)

comment 11y ago · link · parent

He grew up in the Midwest. http://www.idlewords.com/2002/10/high_school_reunion.htm

comment 11y ago · link · parent

This doesn't make sense. Corn is used much more heavily as feed stock for animals than as a sweetener or dietary carb for humans. Corn growers thus have more invested in encouraging high-fat diets than low-fat diets.

About 4.2 billion bushels of U.S. corn per year are used to feed livestock (dairy, beef, hogs, poultry). About 1.4 billion bushels go toward uses including sweeteners like HFCS, as well as toward cereals (and booze).

This per: https://en.wikipedia.org/wiki/Corn_production_in_the_United_...

424.

Why We Need to Talk More About Mental Illness in Tech and Business(inc.com ↗)

2 points · by mapgrep · 11y ago · discuss

comment 11y ago · link · parent

Multiple civil engineering professors have been raising concerns over this issue since at least 2013.

http://alumni.berkeley.edu/california-magazine/just-in/2014-...

http://alumni.berkeley.edu/california-magazine/summer-2013-n...

comment 11y ago · link · parent

"In its initial phase, though, Whatsapp’s messaging encryption is limited to Android, and doesn’t yet apply to group messages, photos or video messages. " http://www.wired.com/2014/11/whatsapp-encrypted-messaging/

comment 11y ago · link · parent

I was surprised there's no way to query the page beyond the small list of element accessors you provide (body, url, scheme, host, port, title, description, links, images, meta).

When you're putting together a tool like this, it's nice to give the user some way to "escape" your framework and get to lower level underlying data.

Why not offer something like

  page.selector('h2 p') #returns Nokogiri elements
  
  page.h1 #calls method_missing, returns Nokogiri elements
  
  page.p #ditto

  page.noko #returns underlying Nokogiri doc
Also, you forgot to include the body accessor in the "Accessing inpsected data" portion of the doc.

comment 11y ago · link · parent

> Where possible, and relevant, take control over that infomation and unlink it from data linked to you. For example, you can control the From field by creating a new email account.

I genuinely wonder, what's the point of rotating different From: addresses?

If a message has been GPG signed, it is trivial to discover the corresponding public key. Thus, a form of identity — the public key, typically along with email, name, and/or other "user id" information publicly associated with the key — is available to an attacker rergardless of the content of the message.

The sender could refrain from signing the message, but then every time (s)he rotates a new address into the From: field, (s)he must communicate through some other trusted channel that the new address is associated with his/her identity and existing public key.

Then there's the practical concern that most gpg implementations are going to, by default, lookup in the keyring based on the To: address in the email and the user-ids of the keys in the keyring. This will fail, unless the new address is added as a user-id to the public key, which defeats the whole purpose of rotating the From: address.

comment 11y ago · link · parent

OP was saying (roughly) that the file attributes were used by, for example, DEFRAG.EXE to avoid having files like MSDOS.sys re-arranged ("defragmented") on disk because they need to be in certain locations the bootloader expects.

That's fully compatible with what you're saying. Yes, you need those flags to keep boot-up working properly and, yes, the bootloader ignores the flags.

comment 11y ago · link · parent

httrack is also very nice! I found it more comprehensive than wget's recursive mode, but I haven't compared it to rsync --link-dest.

comment 11y ago · link · parent

Just FYI, this is an inaccurate headline ("No More Vaccine Exemptions: California Senate Overwhelmingly Passes SB 277").

"No More Vaccine Exemptions" will be true only IF this passes the Assembly, where it faces a tougher fight. (Then the governor must sign it, but this is expected to happen.)

(I wish HN headlines about politics were half as accurate as the technical ones. See also https://news.ycombinator.com/item?id=9276841)

comment 11y ago · link · parent

Ya but then isn't it pretty logical that people use a browser extension to get around buying subscriptions that are priced artificially high to protect a soon-to-be-obsolete revenue stream?

comment 11y ago · link · parent

Even people inside the NYT know the pricing for digital subscriptions is excessive. They're high because circ department won an internal war and inflated digital prices in a misguided attempt to protect print subs. The NYT has experimented but is still clinging to the past.

Which is why the "All Digital Access" subscription costs more than Netflix, Hulu, and HBO Now combined. Give me a break.

comment 11y ago · link · parent

Because if they weren't effective, we wouldn't call them "click-bait." (In other words, because you've tautologically defined "effective" as "getting you to click.")

Behind the headline is a pretty shallow analysis. The author does not meaningfully distinguish between headlines that hide the core piece of information ("This One Weird Trick...") and headlines that bluntly state or exaggerate the core piece of information ("Headless Man In Topless Bar"). The author does not attempt to distinguish between aggressively conversational or casual headlines (a post internet phenomenon) and headlines written in a stiffer newspaper style or an explicityly hype-y tabloidy style. Nor does the author explore why his/her examples of "yellow journalism" headlines are all date from at least the early part of the 20th century — why did they then disappear for more than half of it, and why are they back now?

Lastly, the author does not distinguish between negative costs of "clickbait" headlines (squandering of reader time) and the benefits (enticing headlines arguably fuel crowdfunding systems like Kickstarter and independent, specialized news hubs like subreddits and HN).

comment 11y ago · link · parent

The problem appears to be that Apple has reclassified smart watches as a "mobile platform" whereas they did not before. So suddenly having an app so much as mention a smart watch brand is tantamount to mentioning, say, Android.

The guidelines state "3.1 - Apps or metadata that mentions [sic] the name of any other mobile platform will be rejected."

The poster states the app was approved previously just fine: "SeaNav US has previously been approved by Apple with no problem, we have had Pebble support in SeaNav for nearly 2 years" The poster gives no reason to believe the metadata has changed recently to mention Pebble.

Granted this is based on one example, but it seems unfair to say this was already the policy.

Here's a second example, the official Fitbit app, which does repeatedly mention the Fitbit device in the metadata. https://itunes.apple.com/us/app/fitbit/id462638897?mt=8

comment 11y ago · link · parent

You're talking about a company that, within the last year, lost its CTO/first employee, COO, head of bizdev and head of PR, whose top early investors (Union Sq Capital and Andreessen Horowitz) sat out the last round, and that the press (including TC) were openly talking about running out of cash in 2013.

My only point being, no need for Yahoo to dump negative PR.

comment 11y ago · link · parent

It is simply inaccurate to say SEC "approved" crowdfunding. It is outright wrong. Saying that "anyone interested" would know the truth doesn't change that.

"With rules things can move forward. "

The SEC is legally REQUIRED to issue rules.

comment 11y ago · link · parent

No, no it does not. How is this headline still up? It's totally inaccurate. Equity crowdfunding from unaccredited investors was provided for in the JOBS Act. The SEC doesn't get to set the law, Congress does.

What the SEC has been doing has been figuring out rules for how this law will be implemented. NOT allowing equity crowdfunding was never an option.

Here is the SEC headline: "SEC Adopts Rules to Facilitate Smaller Companies’ Access to Capital"

That is accurate.

Here is the fourth sentence of the press release:

"The rules are mandated by Title IV of the Jumpstart Our Business Startups (JOBS) Act. "

It's really embarrassing this has been up on Hacker News so long and not fixed (or commented on? wow).

comment 11y ago · link · parent

Does this architecture open you up to race conditions, where two clients are trying to update the index at the same time?Client 1 downloads the index, Client 2 downloads the same index, they both make updates to the index and try re-uploading — is one of the index upates going to be lost? Or are you using the b-tree/structuring the server in such a way that obviates this risk?

comment 11y ago · link · parent

Very interesting. How much additional data, compared to a conventional fat server architecture, needs to be sent across the wire with a fat client? The blog post makes it sound not too bad.

comment 11y ago · link · parent

OK but aren't you thus pushing much of the intelligence typically part of the database server to the database clients?

In this case, the "database server" is basically a dumb remote B-tree server, right? It's not running queries of any sort, or maintaining indices?

Not putting it down, just clarifying that the structure of this database system is very different. Or appears so, at least.

comment 11y ago · link · parent

If you want me to trust what you say about a language — or any technology, actually — be forthright about its deficiencies.

Because I don't believe you really, truly understand a language until you can tell me what sucks about it. It takes significant time (in a reasonably decent language) to discover the corner cases, performance bottlenecks, quirks, big-deficiencies-hidden-in-plain-sight and outright bugs in a language like, say, python.

Something as "rah-rah" this, which goes so far as to basically call the GIL a source of unicorns and rainbows, is convincing almost in inverse proportion to its stridency. Suddenly I'm wondering if all these "myths" about python might be smoke pointing toward a fire. That's probably a bit unfair, but it's hard to know what to take seriously when you're listening to a voice that's less than credible.

comment 11y ago · link · parent

Color me old and skeptical about "simple," "lightweight" web servers. Does anyone else remember when nginx was touted as the "lightweight" replacement for Apache because Apache was often "overkill"? (e.g. http://arstechnica.com/business/2011/11/a-faster-web-server-... )

Now it's this new httpd that is lighter than bloated nginx.

So, maybe nginx and apache and all the other webservers out there are too big and bloated and sloppy, despite being written by smart people and used to deliver many many performant websites. That's possible.

But it is also possible that, because programmers love to start from scratch and reinvent the wheel rather than reading and understanding other people's code and rather than researching other domains, they tend to create weak web servers and tout them as "lightweight" until eventually they either die or evolve to be useful to people who actually understand the nuances of serving resources over the web, at which point they get accused of "featuritis" and the cycle repeats.

(See also http://www.joelonsoftware.com/articles/fog0000000020.html)

comment 11y ago · link · parent

"It's better to simply store the UTC time of the event, and nothing else."

The whole point of the article is that /you cannot know with certainty the UTC time of a future event/ if you are starting with a wallclock time in a particular location.

In this article, a 10:00 am meeting in Santiago has one UTC value prior to a new law, and a different UTC value after the new law.

If you are saying everyone should "schedule in UTC" like you do, good luck imposing that on the world!

comment 11y ago · link · parent

I still remember my mom using them at a "drive thru" at our bank in the early 1980s. Instead of a window you'd pull up to a tube station. Slips of papers would go in and come out. I think she even did withdrawals this way. (No idea how this was secure, given how far the observation window was from the farthest tube stations. Maybe there were cameras.)

comment 11y ago · link · parent

From accompanying article by the editor of WIRED:

"When I took over as editor in chief in 2012, WIRED had an archive of more than 100,000 stories. That’s good! But they were spread out over -->more than a dozen<-- different databases, sections, and homepages tenuously connected by virtual duct tape and chewing gum. " http://www.wired.com/2015/03/our-new-site/

comment 11y ago · link · parent

This is the sort of thing SMTP relaying would be useful for, if it hadn't been effectively shut down by spammer abuse.

comment 12y ago · link · parent

>That's the current-day Remote (for AppleTV)

Remote is also handy for driving iTunes on a Mac :-)

I wonder if some day it will drive the Music app on iPad and iPhone. I mean, why not, especially if you're wearing the Apple Watch.

comment 12y ago · link · parent

Neither are OS X and Windows, yet they have their own sections.
1
141516
28