Better HN
topnewbestaskshowjobs
Log inSign up

sysk

1,453 karma · joined Apr 15, 2009 (17y ago) · 206 submissions

:)
Submissions

comment 11y ago · link · parent

The issue is not with SPV itself but with Electrum's implementation (by "and friends" I really meant Electrum forks, not all SPV clients).

Electrum does validate block headers but it doesn't handle re-orgs correctly. It just assumes the longest chain has the most PoW in it which is wrong and makes it vulnerable to attacks by malicious Electrum servers.

Block headers do not contain the cumulative work that has gone into the chain (only the difficulty of the current block). A chain's total work must be calculated and stored locally by clients.

https://github.com/spesmilo/electrum/blob/master/lib/blockch...

comment 11y ago · link · parent

> They don't calculate the difficulty correctly?

Yes. It's possible to create a long chain at low difficulty and the original bitcoin client protects against that by computing the total "work" that has gone in a chain. However, Electrum just assumes that the longest chain will be the one which has most "work" in it which is wrong.

comment 11y ago · link · parent

Also, Electrum wallet and friends don't do proof of work validation, they merely check which is the longest chain.

comment 11y ago · link · parent

Pretty disappointed by the derisive comments in this thread. For a bunch of startup enthusiasts and innovators, we sure do seem to like status quo. Or maybe it's just a contrarian signalling thing? Sorry for going meta.

comment 11y ago · link · parent

I have a very limited understanding of how distributions work so this is probably a stupid question but why don't RHEL/CentOS update the Linux kernel they ship with their 6.x OS? Isn't the kernel supposed to never break user space apps?

comment 11y ago · link · parent

When there will be a better alternative.

comment 11y ago · link · parent

I'm not a sysadmin but recently started using CoreOS to deploy small web apps. Could anyone explain to me like I'm 5 what's the difference between those cluster schedulers and something like CoreOS' fleet (https://github.com/coreos/fleet)?

comment 11y ago · link · parent

Ah, interesting question. I had never implemented a chat server before and initially read the IRC/XMPP specifications but Slack felt like a "superset" of both (federation/p2p wasn't a priority for me) and I was more familiar with web protocols.

The stack is Node.js and PostgreSQL (I probably reinvented some kind of message queue). There is a "dumb" websocket server that just receives/sends events from/to the backend server. Both the websocket and backend servers can scale horizontally.

I haven't written any XMPP/IRC gateways for now though I suppose it wouldn't be that difficult to do.

comment 11y ago · link · parent

Depressing indeed. Are there any other open source projects that are API compatible with a proprietary product/service? Is it ethical? I feel like it is but would be interested to hear HN's opinion.

70.

Ask HN: I wrote a Slack compatible server. Can I open source it?

101 points · by sysk · 11y ago · 53 comments

comment 11y ago · link · parent

Some variant of this comment is also constantly being made in "X written in Y" threads and it's getting a bit annoying. (https://news.ycombinator.com/item?id=8907143, https://news.ycombinator.com/item?id=8751303, https://news.ycombinator.com/item?id=6160293, https://news.ycombinator.com/item?id=5436736, https://news.ycombinator.com/item?id=9061312, https://news.ycombinator.com/item?id=8163537, etc.)

72.

Ask HN: Is it too late to apply for YC summer batch?

1 points · by sysk · 11y ago · discuss

comment 11y ago · link · parent

What is the best way to reach you?

I've been working on a Bitcoin related web-based/mobile software for the past few months and have a working MVP (Node.js, PostgreSQL, Angular stack although I'm flexible about using other technologies in the future - Go and React come to mind). I haven't publicly launched it yet (no traction :/) but I'm fairly certain there is a market for it and there are a few obvious paths to monetisation. The idea is novel, it's a white market (no direct competition at the moment) and the barrier to entry is reasonably high (mostly due to technical complexity and potential network effect).

I'm not sure if in its current incarnation the idea could scale to become more than a "lifestyle" business but I have some ideas. I've been thinking about the possibility of getting a co-founder and funding lately. One problem I'm facing right now is that on one hand, I want to give my potential co-founder a large chunk of equity (30-50%) so that (s)he feels motivated but on the other hand, I'd feel a bit uncomfortable about just "giving away" a few months worth of labor and expenses. Having a co-founder who is willing to throw in a small investment would solve that problem.

If you think you might be interested, shoot me an email at seekingcofounder@tempmail.de

74.

Ask HN: Feedback on project idea (automated regression test generation)

2 points · by sysk · 11y ago · 1 comment

comment 11y ago · link · parent

Have you considered freelancing or running a small consulting business?

I admit that if I was faced with the opportunity of hiring someone a lot older and experienced than me I'd have two immediate thoughts: "This guy would be a great asset, we need him" and "I think I'd be way too intimidated and nervous being his boss, can't do it".

Doing consulting work solves the second question since it changes the boss-employee dynamic to a more business-to-business like one.

Now, I am not in a position to hire anyone so take my introspection with a grain of salt.

comment 11y ago · link · parent

I was hoping there would be an obvious answer. I guess I could rephrase the question this way: "is it common for people who make ~120k/year to drive a Porsche?" or "if you'd have a median income of all Porsche owners, what would it be?". I just want to get a general idea.

comment 11y ago · link · parent

I'm actually wondering about the "Porsche or a civic" question now. Can you afford a Porsche on ~$120k a year in the US? (I'm not a car guy)

comment 11y ago · link · parent

Do you actually have 167 servers running in your home or do you rent them on e.g. EC2 when you need them? If it's the former case, is it because it makes financial sense (I'd be surprised) or is it for the experience/fun?

comment 11y ago · link · parent

What I really meant by "easily accessible" was "publicly available".

comment 11y ago · link · parent

Could you link to some concrete examples? If I find a bug, I will always use Github's issue tracker. I also usually ask questions directly on Github for the less popular libraries and only use SO for more popular languages/libraries/frameworks. I don't think there's a big overlap in my usage pattern.

81.

Ask HN: All of you working with Big Data, what is your Data?

117 points · by sysk · 11y ago · 94 comments

comment 11y ago · link · parent

The next philosophical question would be: Is it meaningfully there if we don't notice its presence? :)

comment 11y ago · link · parent

> They did grasshopper landing without them right?

As someone who doesn't know the slightest bit about space technology, I was a bit confused about the fact that they successfully landed another rocket. If that's the case why is the landing of Flacon 9 so significant? Is it like a bigger rocket or something?

comment 11y ago · link · parent

It's crazy how some people in this thread get so emotional and negative about a new tool. If you don't like it, just don't use it. Yes, we know that CGI is slow and that you don't like Javascript.

comment 11y ago · link · parent

My current web app is composed of 10 database hosts and 11 REST APIs. 21 VMs would blow my laptop's resources away while 21 containers run just fine. For me, that makes Docker a lot more attractive for local development. Also, Docker removes the need for a CM if you are into stateless deployments.

comment 11y ago · link · parent

I thought creating a BOSH release would be too much work but I will try that. What would be nice is if BOSH could abstract a cluster of VMs as a single Docker host and let me operate on containers instead of VMs (I'm not sure if that's possible at the moment without significant work).

comment 11y ago · link · parent

http://xkcd.com/927/
1234567