Better HN
topnewbestaskshowjobs
Log inSign up

mapgrep

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

Submissions

comment 10y ago · link · parent

My money is on a wifi SSID that matches the one used by thieves or a heavily-trafficked location the victims all pass through.

My company moved ~5 blocks and it really screwed up the map on my phone (which I use to get around the city) for several months. My company had left the network SSID the same in the old location, so that no one had to re-configure their wifi. Even with GPS on, my phone was always convinced it was in the old location up the block, and this would persist even when I was out on the street, until I walked around a bit.

There are companies (presumably Skyhook is one of them) who drive around mapping SSIDs to physical locations. The problem is that SSIDs can move or be duplicated elsewhere.

The article says of one of the couple "at one point he reset their router, and changed the frequency at which it broadcasts; it didn’t solve the problem." It does not say if he changed the SSID.

Theoretically, location is often determined using not just one but several nearby SSIDs, a sort of triangulation. Another possibility here is that there are multiple nearby SSIDs around this home that match the SSIDs surrounding some other area tied to the victims.

comment 10y ago · link · parent

You have an /etc/ssh, or just an /etc? I have /etc, which is a symlink to /private/etc, but as I said it has no ssh dir.

FWIW I am on 10.10.5 not 10.11. Maybe there's a change in 10.11. (The article the grandparent links is focused on 10.10 so I assumed that was in the scope of this discussion.)

PS are you on homebrew? maybe homebrew adds it.

comment 10y ago · link · parent

The second one. There is no /etc/ssh on a stock Mac. (Although there is a /private/etc/ssh_config on mine, without the intervening ssh dir)

comment 10y ago · link · parent

Wait, so if I pay someone with ACH, they get to see how much money is in my bank account? WTF?

comment 10y ago · link · parent

V interesting. Do any of the other VPS providers strike you as more secure alternatives?

comment 10y ago · link · parent

I was just thinking the same thing. I've been a customer for >10 years but this is getting ridiculous.

First 2013 attack was apparently exacerbated by cleartext password storage for LISH (their management shell) and API tokens https://marco.org/2013/04/16/linode-hacked

The 2012 Bitcoin attack involved a breach of Linode's customer service portal http://arstechnica.com/business/2012/03/bitcoins-worth-22800...

Today's attack is some kind of unspecified or unknown breach involving Linode manager.

I guess the obvious commonality here is that all the attacks target the "soft" Linode layers AROUND managing deploys of Linux and Xen/KVM/UML rather than the "hard" targets of those widely used systems. This also happens to be the layer where Linode should be adding value (as opposed to the cheaper VPS providers out there) and I think it's increasingly troublesome that they continue to have such severe security issues.

Is this company (CEO - Christopher Aker) not investing in security staff, security training, best practices etc, or are they investing tons and just getting breached because they host so many sites? Unclear. But it's easy to imagine it's the former, from the outside, given all these incidents.

comment 10y ago · link · parent

Cool but some questions on the command line args:

Call be dumb but I have no idea what my wireless NIC is called and that's the first arg to the script.

How do I find out the handle for my wireless network card (I didn't even know it had a name), but also does anyone know why the script can't self detect that? Don't most people only have one?

Ditto for the SSID, couldn't the script just figure out what SSID I'm connected to?

Asking as much for self education as anything else...

comment 10y ago · link · parent

I don't think he's talking about a personal knowledgebase, I think he's talking about something else we are very familiar with. Think about it, he says a PK is "any system that you use to store and retrieve general information Unlimited size... just about everything you want to save for your whole life."

That's a computer, full stop. Or, in software terms, an operating system. In storage terms, a filesystem. These high level tools are designed precisely for the tasks he outlined: Handle data of ever increasing size reliably; make it easy to navigate and search; be simple to use, convenient and fast, and structured.

Where operating systems and filesystems fall down is in searching heterogenous data in a powerful way, and that's where people turn to PKs. Evernote is/was good at searching text and even pictures of text and for tagging; "the Brain" is apparently good at cataloging structured to-do and project type data; Kumu seems to do social graphs; inforapid seems to specialize in process descriptions.

There is no reason operating systems can't get better at processing this data natively. Apple has slouched in that direction in fits and starts with projects like Spotlight and Quick Look. Microsoft once fantasized about building a filesystem from a relational database and has developed an interesting system of "search contracts" for Windows.

comment 10y ago · link · parent

Right right, just like the Hollywood blacklist didn't violate anyone's First Amendment rights. (You could have at least read to the end of my comment, lol)

comment 11y ago · link · parent

And clearly the best way to win the information war against an adversary who says we've traded away our values for comfort, riches, and decadence is to throw away the First Amendment because "propaganda works."

Keep in mind, we're not just talking about accounts used by actual terrorists to coordinate actual attacks. We're talking about "pro-ISIS" Twitter accounts.

How will we decide who is pro-ISIS? I propose a system of hearings, with the most important ones conducted by a senate committee. The most important question at these hearings will be "are you now or have ever been a sympathizer with Islamic State." If they "fail" the hearing we could put them in some kind of database used by employers and government hiring agents and so forth. A sort of blacklist, if you will.

And anyone on the blacklist doesn't get to use corporate media platforms. It's not a First Amendment violation, you see, because it's VOLUNTARY. Just ask these guys: https://en.wikipedia.org/wiki/Hollywood_blacklist

comment 11y ago · link · parent

John, Have you heard any rumblings from within Apple about a new filesystem? Is there any hope?

comment 11y ago · link · parent

Oh I see. That is indeed annoying. So I guess this bit from the desktop announcement is a stretch: "....all incoming and outgoing messages are displayed consistently on all your devices." I mean I guess if you ONLY have one phone and a desktop that would be true? And I guess if Signal only allows you to register those two things, it is TECHNICALLY true, in the sense that "all" <= 2

comment 11y ago · link · parent

Engineering and corporate behavior aren't really orthogonal topics, are they, when the actual engineering you want to inspect is unavailable (closed source) and you have to rely on observed behavior and trust?

If Apple actually did have a history of, say, pushing customized "iOS update" binary blobs at USG targets that undermined all the security features they describe in their white papers and in their (other) marketing, that would actually be entirely relevant to claims about the security of iOS, would it not? Even without such on-device updates, a system like iMessage can potentially be thwarted if Apple itself decides to cooperate with MiTMing, at least in certain scenarios.

(Btw I'm not actually endorsing OPs point that Apple is too close with the U.S. government. That does not seem accurate given the public heat brought down on Apple by entities like the FBI recently. But if it were Microsoft, there would be a point there.)

comment 11y ago · link · parent

What do you mean it's a point-to-point mapping? Genuinely curious.

You mean that there is no server to buffer failed delivery attempts if one of the devices is off or disconnected?

(Side note, I've hit that the same bug where the other person has to contact me first because they don't show up in my contacts, even though they should.)

comment 11y ago · link · parent

Signal is an order of magnitude easier to use than PGP. It's not even close.

The GP was comparing two apps that are actually both very easy to use, one maybe slightly moreso.

(That said, PGP isn't THAT hard either.)

comment 11y ago · link · parent

Lol you people are really amazing. No sense of irony? Really?

Hey guess what, Silicon Valley has been doing this for nearly 20 years to other people. Funny how the HN crowd gets riled up when it happens to programmers.

Movies cost tens of millions to make and employ hundreds if not thousands. Tv shows are maybe an order of magnitude smaller, records maybe one more. Any of those media products blow these aggrieved programmers out of the water, impact wise.

But the founders of YouTube -- who played this little copyright game like a fiddle -- are heroes in the Valley. So are the founders of Napster, one of whom helped get Facebook going.

I guess "move fast and break things" is a great motto until it's your stuff getting broken.

comment 11y ago · link · parent

Just fyi the word is "jibe"

jibe 2 |jīb| verb [ no obj. ] N. Amer. informal be in accord; agree: the verdict does not jibe with the medical evidence.

comment 11y ago · link · parent

RSS lacks one-click follow, recommendations, favorites, push of new updates, native replies, and uniformity of message size, and if you could sweep those things under the rug, Twitter wouldn't be as large as it is.

RSS is fine for plumbing and pros but has not evolved into anything resembling a user-friendly system.

comment 11y ago · link · parent

I used to use that too before I adopted a password manager.

Pwdhash uses md5, which is relatively fast. According to the below, even a strong master password could be derived in less than about 30 days.

https://security.stackexchange.com/questions/52355/how-secur...

On the other hand, the odds you'll be the victim of such a targeted attack are presumably pretty low. This at least gets you out of the category of "low-hanging fruit" for an attacker.

comment 11y ago · link · parent

Just FYI anyone can download XCode from the App Store, it doesn't require a "dev login". (Agree it would be nice if MacPorts only required the XCode Command Line tools like homebrew, it would be one less download.)

comment 11y ago · link · parent

Not clear on your meaning. The fact that the two directories have completely different ports inside of them is the reason you want to add both to the PATH.

The line I pasted, from my own .bash_profile, is identical to the recommended approach: https://guide.macports.org/chunked/installing.shell.html

comment 11y ago · link · parent

SIP doesn't block /opt for the exact reason MacPorts relies on /opt: It's not part of the existing operating system. In other words, this situation isn't just good luck for MacPorts, it's a direct result of the design decisions behind MacPorts, and the design decisions behind homebrew.

comment 11y ago · link · parent

> reliant on 10 different additions to my PATH and environment variables

MacPorts adds exactly two directories to the $PATH: export PATH=/opt/local/bin:/opt/local/sbin:$PATH

No new environment variables are added. The only required environment variable tweak is the PATH one above.

(In a corner case, where you have modified your MANPATH in your bash profile, which almost no one does, you may want to add another variable for man pages, but normally this works fine out of the box without an env var. The other optional env var is for versions of OS X older than 10.5.)

(FWIW, I've had the opposite experience — MacPorts rarely fails, every time I need to switch to Homebrew, several times now, I get a fail right out of the gate with whatever thing wasn't available or not working on MacPorts.)

comment 11y ago · link · parent

1. Not many people hand-write HTML tags these days, they tend to get generated at the level of apps like WordPress (which already has an SRI plugin) or frameworks like Rails (which can already do things like javascript_include_tag :application, integrity: true).

2. The people who do hand write HTML tags tend to be precisely the type of people who would go out of their way to generate an md5 checksum on the commandline, or write a script to post process their HTML files.

comment 11y ago · link · parent

Macports, meanwhile, continues to work quite well because it 1. places packages in /opt and 2. has always installed via sudo.

Macports just has a much more robust philosophy of building its own universe largely separate from OS X, and only rarely impacted by system updates. The downside is that it takes forever to install the first few packages. Homebrew offers a much faster initial install because it leans on OS X libraries for various things. But then it is much more fragile when your system updates. Macports really only depends on a slice of Xcode; from time to time updates will fail to install until you open Xcode and accept whatever new license Apple has bundled with it. But you don't get key components changing out from underneath your packages due to an Apple System Update.

My bias here is that I'm a longtime happy Macports user who has tried to use homebrew repeatedly, encountered lots of failed recipes, and gone back to Macports, shaking my head at all the hype around homebrew and the fact that is has somehow become a defacto developer default despite some really sloppy, poorly thought through practices. (And I know that's harsh but for a long time they trashed Macports right in their tagline — "Is MacPorts driving you to drink?" — which just seemed gratuitous.)

comment 11y ago · link · parent

> In the U.S., household, corporate and government debt amounted to 239% of gross domestic product in 2014, the Bank for International Settlements estimates, compared with 218% in 2007.

I am not an economist, but it seems to me that if you're going to write an article suggesting that the bond market is "intimidating," "vulnerable as never before," and "increasingly subject to volatility," you would not want to conflate personal credit card debt, junk bonds, and other private debt instruments with what is widely considered the single safest investment in the world, a bulwark of stability in the wake of the economic crisis of 2008 — U.S. Treasury bonds.

Given the spike (now receding) in the U.S. budget deficit since 2000, it seems likely a big portion of this supposedly alarming bond growth is in Treasuries, no?

comment 11y ago · link · parent

I have trouble accepting any of the conclusions in this piece when it has significant factual errors or at least false implications.

Here are some of the EU rules listed in an apparent attempt to show Europe has more onerous regulations than the U.S.:

>There are rules for the curve of the cucumber to the bendiness of bananas.

This hasn't been the case since 2008. http://www.nytimes.com/2008/11/12/world/europe/12iht-food.4....

Also, according to the U.S. Congressional Research Service, "U.S. imports of some fresh fruits and vegetables also are subject to federal marketing orders that... create mandatory grade, size, quality and maturity requirements that apply to domestic and imported products." https://www.fas.org/sgp/crs/misc/RL34468.pdf

Just to take one example, here is one document where the USDA regulates potatoes for their air cracks, bruises, dirt, enlarged lenticels, external discoloration, flea beetle injury, sunburn, and growth cracks, among many other things. http://www.mipotato.com/CMDocs/MPIC/usda%20grade%20standards...

>Recently large vacuum cleaners and incandescent light bulbs were banned.

The EU has not banned incandescent light bulbs but is phasing out many types of incandescents. As it happens, so is the U.S. https://en.wikipedia.org/wiki/Phase-out_of_incandescent_ligh... https://en.wikipedia.org/wiki/U.S._Lighting_Energy_Policy#In... Here is a recent map of all the nations in the world phasing out such bulbs. Notice the U.S. and EU are listed at the same level of prohibition: http://blogs.scientificamerican.com/plugged-in/the-overly-dr...

>Recently the EU was looking into banning cinnamon used in cinnamon rolls because of a too high amount of coumarin, known to be causing liver damage if consumed too extensively.

Wildly incorrect, although there have been some misleading headlines so perhaps forgivable. What happened is that the Danish authorities ruled that a type of cinnamon swirl ("kanelsnegle") was not a specially exempt traditional or seasonal food. This meant it was subject to EU recommended daily limits on the ratio of coumarin per kg of dough. The Danish Food Administration had done a survey and found half of the nation's fine baked goods were probably over the line. Cue hysteria about the beloved rolls being banned (never mind that bakers could just cut back on coumarin, for example by changing quantity or type of cinnamon). Anyway what ended up happening is that the rolls were reclassified as a traditional national treat and thus exempt from the recommended limits.

http://www.npr.org/sections/thesalt/2013/12/25/256602581/whe... http://www.theguardian.com/world/2013/dec/20/cinnamon-intake... http://www.eubusiness.com/news-eu/denmark-food.wo7

FWIW the FDA regulates how much yeast, citric acid, Sarsaparilla, Sassafras, tallow, green walnuts, unmodified starch, and vanilla can go into foods, among many other ingredients. (see http://www.fda.gov/Food/IngredientsPackagingLabeling/FoodAdd...)

comment 11y ago · link · parent

> S3 is not an FTP service it is a distributed object store.

Not really, the only "object" you can store, Amazon's language notwithstanding, is effectively a file. It's not like you could give it something that needed to be serialized.

And it's hard to see how it's "distributed" when your bucket price varies "based on the location of your bucket" as Amazon puts it.

It's probably more redundant than FTP, but saying S3 is like FTP is a reasonable shorthand and cuts through a lot of the marketing BS.

comment 11y ago · link · parent

>The current requirements for equity crowd funding include either 1 Million in non-residential assets, or a reliable 200k annual income (based on 2 years of income, and it's 300k if you have a spouse).

Actually that's not the case under equity crowdfunding. You're citing the definition of "accredited investor" in Regulation D of the Securities Act of 1933 (as amended in 1982); offerings to such investors have long had certain exemptions from standard registration requirements (VCs generally use Reg D exemptions, though obviously there were VCs long before Reg D).

You may be confused because title II of the JOBS Act pertained only to accredited investors (it allowed "general solicitation" to such investors).

The whole point (arguably) of titles III and IV of the JOBS Act — the so called "equity crowdfunding" titles — is that they allow investment by unaccredited investors in certain offerings. Hence "crowd."

comment 11y ago · link · parent

Javascript minification seems like a classic case of premature optimization. I'm not a front-end developer so maybe I'm missing something, but wouldn't simple, transparent gzip compression via your webserver — one line in a config file — get you something like ~90% of the benefits of minification, for free?

I'm sure there are some additional gains to be made from knowing the syntactical structure of the language you're minifying, since no generic compression scheme can know that. But that seems really marginal — and, as the article in question shows, opens up potential security vulns.

1
131415
28