HNHacker News
TopNewBestAskShowJobs

racbart

400 karma · joined February 26, 2011

submissionscomments
racbart··on Many packages suddenly disappeared
PSA: Please be cautious because this is an excellent opportunity for taking over packages and injecting malware by malicious people.

Example: https://www.npmjs.com/package/duplexer3 which has 4M monthly downloads just reappeared, published by a fresh npm user. They published another two versions since then, so it's possible they've initially republished unchanged package, but now are messing with the code.

Previously the package belonged to someone else: https://webcache.googleusercontent.com/search?q=cache:oDbrgP...

I'm not saying it's a malicious attempt, but it might be and it very much looks like. Be cautious as you might don't notice if some packages your code is dependent on were republished with a malicious code. It might take some time for NPM to sort this out and restore original packages.

racbart··on A spreadsheet in fewer than 30 lines of JavaScript, no library used
This is truly great as proof of concept and also as a reminder that in software development building 80% of perceived* functionality usually takes only tiny fraction of total development time which is required to build final product.

* - this app looks and feels like “almost complete spreadsheet” yet it provides much less than 1% features of even a basic spreadsheet.

racbart··on Show HN: Test your E-Mail for IP Leaks
Yup, my provider is quite easy to find, I don't mind. I just didn't want to make this info to be googleable with their name, to respect that they never publicly wrote about it.

No idea why they don't advertise this feature. They wrote that they only tell about it to people that are actually having a problem about it. I guess it might be easier for them or for other email-ops to handle abuse/spam issues when this header is available?

racbart··on Show HN: Test your E-Mail for IP Leaks
Protip: If you use paid email, ask your email provider how to hide your IP while sending via SMTP. I asked mine and it turned out that they run a separate SMTP port which you can use and then your IP won't be included in message headers. This is a fairly popular provider, but I won't mention their name as they don't advertise this feature and provide it on request.
racbart··on Show HN: Plug, the best way to discover new music on Mac
> The app doesn't auto-update favorites yet. For now you can manually update via pull-to-refresh.

Just to let you know: I favorited a song (using menu bar) and then pulled to refresh in my favorites view. The song was shown twice on the list. Same after another refreshes. After restarting the app the song is shown only once, but after pulling to refresh it's doubled again. The second copy appears slightly after the first, so it's probably some list populating launched twice.

The app is awesome and I loved it at the first sight. Thank you! I didn't know Hype Machine before, but they seem to serve some good music.

You should provide links to iTunes & Amazon to allow easy purchases if someone would like to add songs to their music library.

racbart··on Majority is not Enough: Bitcoin Mining is Vulnerable
This is a summary of my understanding of their method after a very quick scan of their docs:

They assume working as a malicious/selfish pool having less than 50% of hash rate, but still a significant portion of the total hash rate. All other miners that are not part of the selfish pool are called honest miners.

When selfish pool finds a block, they don't advertise it but continue mining their forked, private blockchain. They have an advantage of one block over the public blockchain now. Of course they have no chance of building longer blockchain in the long term, as they have less than 50% of hashing power and the public blockchain will always get longer after some number of blocks. But what they count on is this:

Scenario 1: honest miners discover a block and the public blockchain gets the same length as the selfish blockchain. They immediately publish their block as soon as they discover someone else discovered a block. They hope to create a race condition and a public blockchain fork - so that some hones miners will get the “honest” block, but some of honest miners will get their “selfish” block and start mining using it as a base. Having some of the honest miners on their side they have a chance that their fork will get longer and the “honest” fork will be declined by the network.

Scenario 2: selfish pool is lucky and discovers another block, giving their blockchain two blocks advantage over the public blockchain. They continue mining and they publish one block for every block discovered by the honest miners. This creates race condition with some of the honest miners on their side, but they still have some blocks found and not published. They publish all their remaining blocks as soon as their advantage decreases to one block. The network chooses their branch as it's longer and they get all the reward coins from their secretly mined chain.

Now, I know nothing about blocks discovery/notification mechanisms over the network and how fast it works, so an important question to someone knowledgeable is if this is a probable scenario that their block published only after some competing block has been found and published has still a chance to get to some significant number of honest miners first so that they start mining over their block - as this is required for their strategy to work.

If the above is viable, then this strategy of course requires some significant hash rate share, but I remember that even having 10% of total hash rate, the probability that you will mine couple of blocks in a row is quite high - and that's all you need to create situations when you have two-three blocks advantage over the public blockchain.

racbart··on This seem legit...
This should be a feature on the NSA website.
racbart··on Get information about any country via a RESTful API
This is nice if considered a programming exercise but it's actually pretty useless for real world use.

This data is static, that is it very rarely changes. The whole dataset is also very tiny. It's just better to store this data in-house and don't provide unnecessary point of potential failure by using an external service.

An idea on how to make it more useful is to provide downloadable data dump in several formats suited for immediate import into various data stores. An extra addition might be modules for popular frameworks providing access to this (local) data in all the ways your web service does.

I'm not trying to diss, just trying to find some value for real world usage. The service is neat otherwise.

racbart··on Amazon Kindle Matchbook is live
Current Matchbook offer seems quite humble. Publishers will be naturally reluctant to sell their $22 books for $2 but I hope they'll understand very soon that this isn't actually a discounted sale. It's either extracting more money from past sales or making future sales more likely to happen (and also extracting more money from them).
racbart··on Dawn of a New Internet Era
For anyone like me interested in which new gTLDs were introduced but was surprised that their names were not included in the blog post:

شبكة (xn--ngbc5azd) — Arabic for "web/network"

онлайн (xn--80asehdb) — Cyrillic for "online"

сайт (xn--80aswg) — Cyrillic for "site"

游戏 (xn--unup4y) — Chinese for "game(s)"

Source: http://www.circleid.com/posts/20131023_first_new_gtlds_go_li...

racbart··on Why Apple Wants Its Software to Be Free
At today's Apple, both software and hardware are means to sell 3rd party software. They earn so much on their ecosystem that it's more profitable to give OS updates for free and provide more unified and less fragmented ecosystem to both users and 3rd party developers.

Lowering prices for next generations of their hardware is also a sign that they really want to put their foot in as many users' doors as possible. I think they rarely lowered hardware prices just couple years ago, before they had this massive revenue stream called App Store.

racbart··on Why I'm going back to capturing credit cards up front
This actually looks shady. If you're not going to charge me, then why the hell do you want my CC number?
racbart··on What is the best way to programatically detect porn images? (2009)
You are correct and I'm not saying that I described the Holy Grail of detecting porn in a single paragraph. I'm just pointing to another direction. No solution to a very complex problem could be one-dimensional. Combining several different tests might lead to a solution. I.e. these jujitsu photos should not even be detected as “certain body configurations” as people there are fully clothed and there's not much actual bodies seen in the picture (so mentioned skin color definitely should come to play when detecting wether you see a body or not).

At the end of the day I doubt there could be a fully bulletproof and always correct solution using current state of tech. But you need to factor much more than just skin color if you try to build an automated solution to this problem.

racbart··on What is the best way to programatically detect porn images? (2009)
Wouldn't testing for skin colors produce far too many false positives to be useful? All these beach photos, fashion lingerie photos, even close portraits. And how about half of music stars these days who seem to try to never get caught more clothed than half naked?

Nudity != porn and certainly half-nudity != porn.

I'd rather go for pattern recognition. There's lot of image recognition software these days that can distinguish the Eiffel Tower from the Statue of Liberty and it might be useful to detect certain body parts and certain body configurations (for these shots that don't contain any private body part but there are two bodies in an unambiguous configuration).

racbart··on Square Cash
So one day you get an email that you got $100 and all you need to do as a recipient is to click on a link and enter your full credit card details? Sounds like a phishing paradise.
racbart··on P2P encrypted email is looking for funding.
What happens when your private key is compromised? Someone is able to read all your messages and send messages impersonating you and you can't stop that, as the address is a hash of the public key which derives from the private key. You can't change keys like you could change your password in a traditional email. You'd need to start using a new address but you can't expect the whole world stop using your old address overnight (if at all).

This looks terrible. GPG solves this problem by not having keys and addresses bound mathematically and relying on web of trust to match keys to addresses. You can always revoke compromised keys and start using new ones. You can't do that if the address is mathematically derived from the private key.

Our email addresses are our identities these days. Any system that aims to replace email needs to provide some safe recovery in case the keys/passwords are compromised. It's just too risky to have unchangeable password/key for your identity.

racbart··on It’s not just the iPhone 5S — the 5C sensors aren’t accurate either
Regardless of what you use the level for, 2.7 degree matters a lot! I can detect something being off by 45 degree using my bare eyes. It's values like 2.7 degree which require to use a level.

2.7 degree off means that if you hang a one feet width shelf on your wall, one edge will be 0.72" higher/lower than the other. Would that matter to you?

racbart··on FBI struggles to seize 600,000 Bitcoins from alleged Silk Road founder
If he had a $1m car and the FBI wanted to seize it, would it legitimize cars as a currency?
racbart··on Will Americans trust Al Jazeera America? It depends how they browse the web
With this reasoning, one should never consider BBC as objective as it's owned by the British government. Yet it has been perceived for years by many as one of the most objective and thorough TV station worldwide.
racbart··on Disagreeing with Bruce Schneier: More Crypto is Not the Answer
Except that before we reached some kind of protection coming from governments, we lived through thousands of years where governments, kings and lords of any kinds were the masters of life and death of ordinary citizens. Would we have such kind of freedoms and security as we have today if past generations didn't take a stand? I doubt so. If they decided that weapons and violence is the governments thing and resistance is futile, nothing would change.

Rights and freedoms are never granted, they have to be taken. We shouldn't opt-out from our right to privacy and if you stop trying to circumvent governments' spying efforts, you basically opt-out. Even if a single isolated action seems futile, you shouldn't stop doing it, because if you stop, then they'll know that they can do their thing and they can escalate even more.

The only thing that can stop them from escalating, and create enough political or legal climate to change things to grant us privacy, are the actions from ordinary citizens who try to defy, regardless of how futile that seems. If there will be only criminals and enemies who will actively fight and try to avoid total surveillance, then it will be clear that it's a tool specifically against criminals and enemies and it will conclude as the end of the story.

racbart··on Harvesting solar power in space and sending it back to Earth
“According to his calculation, one such satellite is able to supply a third of total energy needed by humans.”

I'm just commenting on what they wrote and I see nothing about a farm of satellites in the article. Perhaps the original source is more clear about it. Or maybe this technology doesn't scale down well and that's the reason they're writing about one powerful satellite?

racbart··on Harvesting solar power in space and sending it back to Earth
Taking aside feasibility of this, having a single source of power delivering 33% of world's energy is a terrible idea. Especially if it would not be quick to fix or replace if it'd had been completely destroyed. Such a single point of failure would become a single point of doom if the world suddenly would be cut off of third of its energy for weeks or months.
racbart··on NJ Court: Text Recipients Can Be Held Liable In Texting-And-Driving Accidents
Wouldn't work with most drivers that I know, who usually keep their phones in holders mounted to the center console or front window.
racbart··on NJ Court: Text Recipients Can Be Held Liable In Texting-And-Driving Accidents
Taking aside misunderstanding of the issue by most people commenting in the article what the judge said (“that a person sending text messages has a duty not to text someone who is driving if the texter knows”).

Texting the driver is actually the safest way to send him a message. It's not that disturbing as a voice call and he can choose to ignore it until it's convenient and safe to read it when he stops.

racbart··on Ask: Stigma of the unemployed - a better job title for a lifestyle entrepreneur?
Just tell that you run a business. Most people who you don't want to be confused with (who actually don't do much and are business wannabes) wouldn't tell that about themselves. They “are entrepreneurs” in state of their minds and in their daydreams but they don't run any business. Actually, most of them think that “being an entrepreneur” > “simply running a business” so they wouldn't lower themselves to claiming that as they always aim so high and want to feel so important, right?
racbart··on Nsync - A command-line tool for NSA’s free backup services
Well just let me know when you implement a restore feature.
racbart··on Shared – 100G storage for free
This is 2013, not 2003 anymore. Today throwing 100 GB of online storage at people won't cause “yay, I need to claim that and upload everything I have” but “who are these people who want to store 100 GB of my data” and then a dozen questions more about privacy and security. If I don't see any answers easily available, I don't care about your offer.
racbart··on LESS – The Dynamic Stylesheet
It's really a matter of personal preference - all of three popular preprocessors (including Stylus) do their job well.

Here you'll find more comprehensive comparison between the three of them: http://net.tutsplus.com/tutorials/html-css-techniques/sass-v...

racbart··on Show HN: Assistant.io - The easiest way to schedule meetings
There's no tour or screenshots so I'm judging by the cover. How is this different from http://doodle.com/ ?
racbart··on Only external comments (on HN) allowed?
This is wider than HN-related only. Some non-tech bloggers do this as well (disallow comments). My understanding is that they try to move discussion from private space - which is their own website - to public space, which are all the social networks you can imagine.

The difference is that only people who already visit your site can see the private discussion, but when it starts on HN, Twitter, Facebook, Google+, etc, it can catch attention of additional people. These bloggers are willing to trade clarity and ability to enhance their content for chance of additional exposure.

I have no idea how well it works for them and I would really love to see some case studies (especially from non-tech bloggers, who targets wide audience with their lifestyle blogs, etc).

I believe people are much, much less likely to comment if they can't do it on the site, but they need to post it to some social network instead to say what they have to say. Is that additional share on Twitter or Facebook worth all those comments which were not written only because there is no comment form on the website?

Page 1 of 3Next →