Better HN
topnewbestaskshowjobs
Log inSign up

bArray

7,485 karma · joined Mar 14, 2016 (10y ago) · 2,314 submissions

Why jump in one pond when you can dip your foot in many?
Submissions

comment 7y ago · link · parent

> What's he suggesting?

The fact that it is ambiguous leaves room for it to mean whatever the controlling party wants it to mean. As long as people can't agree on something as fundamental as the goal, it's doomed to fail.

> Give women discounted internet?

Somehow I don't think he was suggesting a "pink tax" or some kind of "ladies internet" that filters some explicit pictures. I think "inclusive" roughly translates as favorable in sentences like these.

Surely the fact that the internet is the exact same price for everybody, regardless of group characteristics, is the ultimate goal? I don't think it is sensible to begin adding bias where there currently is none.

comment 7y ago · link · parent

Agreed, I think Tim has gone off the deep end. The time to be vocal about the future direction of the web was in the wake of the dot com bubble. I think this is just a case of him trying to secure his legacy.

comment 7y ago · link · parent

> at one point tried to load-balance the traffic across _30_

> machines efficient blocking rules, I was saturating their

> connections.

I have a slightly more complex "load-balancing" method, as long as the network bandwidth itself can hold out (hosted in the cloud) I've been able to deal with all attacks so far. My current method is to have a "whitelist" and "blacklist" look up table to quickly begin filtering incoming connections. If you end up on the blacklist (reasons include too many connections over a time period, bad requests, too many requests without authentication, etc, etc) then you instantly get killed - not a single byte gets sent. Being on the whitelist (reasons include being an already auth'd user, low traffic density, unique requests, etc, etc) then you shortcut some additional checks. Connections not in either list (potentially either attackers or new users) go through an additional per-generated (the check and answer is statically generated, so it's not added to connection overhead) check to "test for humanness". Both lists are decayed over time and connections on both lists can be re-assigned if they start behaving badly. The additional checks are mostly only activated under high load.

After that there is a resource management layer that is essentially "service temporarily unavailable" on anything too heavy (large file GET/POST, large database read/write, non-essential database writes are dropped, etc, etc).

This is all then run through a high-level network simulation to test where the bottlenecks will be. Each "release" goes through the test before making it into production.

I can't give too many details, but there is also a slightly malicious protection layer - if we detect somebody using a known/obvious bot (which is harmful) we have a few methods to crash them (based on known vulnerabilities). Some of these also act against aggressive search bots.

I have a beautiful graph sitting somewhere showing an attack ramping up and then mostly disappearing when the defense was triggered. It was quite worrying at the time because we just assumed our system went down or we had accidentally started blocking real users.

> That said, I strongly suspect cloudflare probably works

> hand-in-hand with the NSA or some shit, and it's a dangerous

> trend.

I also highly suspect this.

> But I just don't think there exists a viable alternative, unless

> you're a multi-million dollar internet company

I agree and that is a massive problem.

comment 7y ago · link · parent

Not being able to speak badly about a powerful entity is a sure bad sign for things to come.

comment 7y ago · link · parent

I'll go one step further and simply call it a voluntary (by server owners) centralization of the web. Blocking the Daily Stormer (rightly or wrongly) shows that they are a political entity.

comment 7y ago · link · parent

I keep telling people 'you probably don't need a massive server if you're just running static pages', again this seems confirmed (for some use cases).

A few questions:

1. Do you have any protection against DDoS? I currently implement my own custom solution, people seem to be transitioning towards Cloudflare but I see such a move as dangerous. What's your mitigation and/or opinion?

2. You mention the ease of spinning up a new server - I personally just run a bash script for this. How do you automate the transference of your URL over to a new IP?

3. Have you ever experienced slow down and if so, how did this affect your site?

4. What are the most resource intensive aspects of your website? (I.e. What is using your bandwidth/CPU/RAM?)

comment 7y ago · link · parent

Do nothing. Seriously. Allow yourself to become bored and you'll find your brain has suddenly got time to work on all the problems you mentally shelved. There's a good reason why a good number of ideas happen in the shower.

comment 7y ago · link · parent

> Why have technical innovation at all, let's just outlaw

> stuff...

> I really don't get this desire to outlaw cars.

That's not the point, it's that in this case the infrastructure cost to clean up cities is astronomical. Forgetting air pollution, noise pollution, deaths from traffic collisions, congestion - you also have to consider the shear infrastructural costs that _already_ go into maintaining road surfaces, traffic control, policing, etc. And that's without tunnel boring.

> I like walkable cities, but I also like the comfort and

> privacy of car transport.

I think we just have to look at the practicality of private transport in cities.

> I still don't enjoy being squeezed in with thousands of

> other people.

Perhaps this is where public transportation can be innovated on.

> Does that mean that people like me have to be reeducated

> and/or forced to see the error of their ways?

Most likely - it's simply the march of progress. As horses were mostly outlawed/discouraged from cities, I suspect cars will be too.

comment 7y ago · link · parent

> Imagine if we had cheap ways to build tunnels, no more

> traffic, no more congestion, roads and parking lots would

> only exist underground and cities would have more space

> for gardens, parks, buildings, and walkways.

Or, skip the tunnel building and just ban cars from major cities.

Building more infrastructure to "reduce traffic" only makes using vehicles more attractive. The amount of congestion is approximately equal to the amount of congestion the average person using the infrastructure is willing to accept, so making it less congested just means more people use the infrastructure until the limit is reached again.

The real answer to the problem is to simply ban all but buses and delivery vehicles - even then you can incentivize that they are electrically driven. Space increases and infrastructure maintenance costs are reduced, not increased.

The real golden use for TBMs is for efficiency - i.e. Go around some mountain or go straight through it? Go around a city or go under it? I imagine buildings sharing a service elevator down to the tunnel where delivery vehicles can offload to and send goods up (rather than Musk's idea of trying to lift a several tonne vehicle in some personal elevator).

Would likely make sense for all kinds of maintenance this way to, servicing water/gas pipes or electricity/internet lines for example could be as simple as removing a service panel from the side of a tunnel, rather than the terrible solution we have today involving digging up streets over and over.

comment 7y ago · link · parent

I was really hoping for some crazy clone of a Chromebook, like what a Hackintosh is to a Mac, but with some form of chaos.

The book is very interesting though :)

comment 7y ago · link · parent

> I wonder if companies like Google and GitHub that actively

> courted activists are now regretting their decision.

I think it's fair to say that there are a large number of people who are very invested in the answer to this question, hence it will be difficult to get a serious unbiased answer. It's also quite politically hot.

> For a long time it was common knowledge that you would try

> to keep stuff like that out of the workplace.

Activists and unions have brought many a company and Country to its knees. Companies that stay away from politics (or any statements at all) seem to be doing better, but somebody like Google or GitHub have so much financial and structural clout that they can afford to make mistakes.

> My guess is there will certainly be a shift away from

> other companies trying to do this in the future.

> Rightfully so imho.

I agree, but it's hard to fully quantify. I guess the real point is that politically companies and Countries are split approximately 50/50 between two main parties and any polarizing position a company takes will likely upset roughly half of the people. I think the only way to maintain a proper diverse structure is to not take sides.

comment 7y ago · link · parent

I think that's called "throwing money at the problem"!

Taping the coin (or heat sink) down should give you better heat transfer, therefore better cooling.

Designing your own case in OpenSCAD and 3D printing is a piece of cake, building a large fan into the case (lower noise) is a nice weekend project.

comment 7y ago · link · parent

It'll confuse the hell out of people, but I think it's probably the way to go. I hope for example that Linux based package managers split the "amd64" so that we all don't get hit by this crap.

comment 7y ago · link · parent

Well it would be `sudo apt-get install X` and the password is my password. In Windows how do I write a file to C:\ without logging into the administrator account? I didn't know, my friend didn't know, what's happened?

comment 7y ago · link · parent

Switching OSes can be a big game changer for happiness, especially if you are used to a particular OS.

Anecdote: I used to be a big Windows user, but after my partition table was destroyed and I had to start again, I decided to try out Linux - and never looked back. A few days ago I tried to help a friend get a program working on his Windows machine and it felt so locked down and limited. The process was something like:

1. Need to use Git to grab the program. No Git installed. Can't run `apt-get install git`, instead have to download a git bash and run some partial Linux environment.

2. `git clone` the program. Now discover I need to run some "anaconda" software to download a program to install a library that python needs to use.

3. Now I can run the software (not within the Anaconda prompt) and I need some additional file. The path name for the user has spaces in, so I think "I'll just create the file a the root C:\ to get this working". Nope, no administrator access (on their own machine!).

It sounds simple enough, but this is all literally a one liner in something like Debian: `apt-get install X; make; python X`. And every single Windows experience (for me) is like this. Couple that with the fact that most commands I need are now embedded in my brain, using Linux is a piece of cake, even for problems I've not come across before.

comment 7y ago · link · parent

The spelling in this article (at the time of writing) is all over the place.

> This is not the D day landing which happened in the

> Normandy beaches in June 1944 but a rehearsal to D day

> landing which killed more than 600 men in friendly fire.

> The second batch met with a fierce fire defensive position

> resulting in the killing of at least 400 soldiers.

> The E boats were driven off after reinforcements arrived

> but the damage is done, 300 more soldiers died in this day

> for D Day rehearsal.

I'm not great at math, but: 400+ + 300 > 600

That doesn't even seem to be the extent of the deaths caused by this operation [1].

It also seems that this article may have been partially/mostly sourced from Wikipedia (for example, look at the bullet points of recommendations in each) [1]. The Wikipedia article also reads better.

[1] https://en.wikipedia.org/wiki/Exercise_Tiger

comment 7y ago · link · parent

I'm not a solo founder, but I run a number of servers that are heavily used - all with different software with varying amounts of reliability. I also allow other people to deploy code without checking with me first, just to keep things fun.

I have a few pieces of advise:

1. Make sure your service can safely fail and be restarted. What I mean is, if somebody is POST'ing data or making database changes, make sure you handle this safely and attempt some recovery. Something not being fully processed is okay as long as you are able to handle it.

2. Self-monitoring. I run all my systems inside a simple bash loop that just restarts them and pop me an email (i.e. "X restarted at Y" and then "X is failing to start" if it continues).

3. External monitoring via a machine at home that rolls the server back to a previous binary (also on the server). It also pulls various logs from the server, as well as the binaries, so they can be analyzed. Okay, it has some reduced functionality, but it's stable and will keep things going until the problem is fixed.

4. Make sure your service fails inconveniently - i.e. returns a `{"status":"bad"}` string or something, or defaults to a "Under maintenance page, please come back soon". Your service going down is one thing, but becoming completely unresponsive is quite another.

One thing I can't prepare for (which happens more than you think) is the server itself crashing, which as you say, means I'm randomly logging into a VPS console and rebooting. I use a bunch of different VPS providers and every one of them has a slightly different console.

comment 7y ago · link · parent

> Wow, such a propaganda tone that I am not used to seeing in

> HN.

I think we have a very different definition of propaganda.

I suggest getting into the comments early when a keyword is used in the title.

> "9 billion a year for a voting right" is like saying that

> the average software developer in London pays 20K a year

> to the government for voting rights every 5 years.

It's clearly a tongue in cheek exaggeration.

> The "divorce bill" makes it sound like it some kind of a

> fine or something but it's actually about the obligation

> that the UK committed through the years.

I used "divorce settlement" - and it is very much like a divorce settlement. Both parties are expected to settle remaining costs and you end up losing the kids.

> A good analogy would be the UK participating in a birthday

> dinner party, promising to chip in for the present,

> ordering the food and the desert but leaving before the

> desert arrives so people expect the UK to pay for its

> desert as it was already cooked and pay its part for the

> present they bought.

Maybe, but then you would expect to be able to chose what to do with the desert if you've paid for it?

> If the UK does not honour its obligations, it would be

> incorporated in the future trade agreements.

Unfortunately, yes.

> Please don't use propaganda catchwords and talking points

> here, the topic itself is divisive but this is beyond

> that. It is a dishonest portrayal of reality.

I purposely put the word "divorce" in speech marks as it's what it is commonly referred to, rightly or wrongly. I wasn't aiming to paint a picture perfect version of reality, I would need several books to describe Brexit accurately (and no doubt somebody will write them). The purpose is simply to show that £3.3 billion is really not that much compared to our ongoing projects. Hell, another one to look at is the Trident project.

comment 7y ago · link · parent

> You can deny it if you want, but you clearly wanted to get

> into it with someone here on Brexit :-)

The original intent was just to show that £3.3 billion is really nothing compared to our other expenses, but clearly I kicked the hornets nest.

comment 7y ago · link · parent

> The £3.3Bn is a loss, the £17.4Bn is a payment that

> provides regulatory bodies, courts, CAP payments,

> infrastructure projects.

Not £17.4 billion's worth of transactions.

> As well as this your other EU example is spurious too -

> since the 'divorce settlement' isn't a loss either. It's

> the agreed remaining financial obligations [..]

A divorce settlement could also be called "fulfilling agreed financial obligations", but it certainly doesn't make it any easier to swallow. I also somehow don't believe it's £30+ billion in pensions. I believe it'll mostly be investment into projects we'll never see the fruits of, I hardly believe they'll say "well, seeming as you invested into this, it's only fair you eat from the tree".

comment 7y ago · link · parent

> Shear volume is a big part of why Communist China has

> better trade deals with the US than Communist Cuba, I

> wouldn't discount the importance of volume in trade

> negotiations.

That's not entirely true, it also has somewhat to do with their relaxed policy on human rights and their status in the WTO. Now that the US is looking to balance the books, China's economy has taken quite a serious hit.

That said, the UK is also part of a much older and relatively large trading group - the Commonwealth.

> Very few of the UK’s potential trade partners are

> superpowers where the actors necessary to negotiate and

> ratify a trade deal have consensus around destabilizing

> the EU as a goal.

What you hear publicly and what goes on behind closed doors, are too very different things. I highly suspect that the US also has a vested interest in breaking up the EU, after all, it's the EU which is putting pressure on its booming tech industry for example.

I also suspect that there are multiple other powers poised to take advantage of destabilization of the EU. I also further suspect the EU has realized this threat, which is why the UK must help safeguard the EU-based banks for a Brexit deal.

> With a generous definition of “superpower”, you have China

> and Russia and that's it.

The term "superpower" is not easily defined at the best of times, granted.

comment 7y ago · link · parent

> What services business?

They also do document conversion, although I'm unsure of what the business is called publicly (maybe this [1]). They take documents in practically any format and do language conversion, whilst maintaining formatting (a super hard problem). As I understand they get a considerable amount of business from converting technical documents.

[1] https://xeroxtranslates.com/

comment 7y ago · link · parent

> The politics of Brexit are also not very suitable for a HN

> on shorting the pound.

As I stated, £3.3 billion is very small compared to its other ongoing expenses. Factually pointing out the cost of membership is neither an argument for leave or remain.

> By mentioning only the costs of remaining in the EU, not

> the ongoing benefits, you're being pretty disingenuous

Please read the Full Fact reference [1]. From the £17.4 billion membership fee I negated the rebate amounts. The only major thing not taken into consideration is the financial sector investments and the philanthropic nature of the EU.

[1] https://fullfact.org/europe/our-eu-membership-fee-55-million...

comment 7y ago · link · parent

This is going largely off topic, but I'll indulge.

> I don't know why leavers think the UK will be able to

> negotiate better trade deals than a bloc of 27 countries.

Other than shear volume, what does the EU offer that the UK is not capable of? And is what the EU offers worth ~£9 billion a year?

The UK doesn't have to make better trade deals, they can even afford to be slightly worse and still be of a net benefit. The trade deals would have to be ~£9 billion worse in order for them not to be beneficial.

Playing 4D chess: I highly suspect that the UK will receive very good trade deals in a medium/long-term gamble by other super powers to destabilize the EU.

comment 7y ago · link · parent

> UK should be now getting 350 million GBP per week for NHS.

It hasn't left yet and the reality is that it'll take years to leave (if it does).

You could maybe justify £350 million a week over the course of a year based on a hard Brexit, where the UK doesn't pay the £30-£40 billion divorce settlement.

It's unclear how much will be spent in replacing EU infrastructure, but it should be overall beneficial to the UK once trade agreements are in place after a number of years.

comment 7y ago · link · parent

Forgetting the politics of George Soros (which isn't suitable for HN anyway), I don't believe he is to blame for the UK government's questionable choices.

To put the estimated £3.3 billion loss into perspective:

* The failed NHS software update/upgrade project cost >£12 billion [0].

* The UK spends ~£9 billion a year (after calculating rebates) to be a minority voting block in the EU [1]. It's currently costing ~£0.75 billion a month to stay in the EU [2].

* The "divorce" settlement to the EU is currently set between £30 billion and £40 billion [2]. To put that itself into perspective, that is each person (including people on death's door and babies) in the UK (~70M) paying the best part of £600 out of their own pocket to the EU - something they never voted to be a part of anyway.

I could go on all day about the UK government's awful handling of money.

[0] https://en.wikipedia.org/wiki/List_of_failed_and_overbudget_...

[1] https://fullfact.org/europe/our-eu-membership-fee-55-million...

[2] https://www.bbc.com/news/uk-politics-49563957

comment 7y ago · link · parent

Apparently you should be able to go way above this [1].

[1] https://stackoverflow.com/questions/41213869/where-to-find-t...

comment 7y ago · link · parent

@alecdibble Could you try LibreOffice's Calc [1]? It's my daily driver in Linux, it mostly works well as an excel replacement but I'm interested to see how well it does on a Mac.

[1] https://www.libreoffice.org/download/download/

comment 7y ago · link · parent

You could chooch along quite nicely in Kolibri OS all the way down to 8MB of RAM it seems and have a relatively okay experience in it [1]. Seems as though something like Puppy Linux will get you going on 64MB of RAM or lower [2].

If you really want to take Linux to the extreme, probably the place to start would be the efforts made to use it on embedded devices [3].

[1] https://kolibrios.org/en/

[2] http://wikka.puppylinux.com/MinimumSystemRequirements

[3] https://elinux.org/Main_Page

1
555657
78