Better HN
topnewbestaskshowjobs
Log inSign up

Tinned_Tuna

422 karma · joined Sep 14, 2010 (16y ago) · 85 submissions

Submissions

comment 1mo ago · link · parent

GitHub is responsible for load-testing their systems to find their breaking point, they are responsible for setting appropriate quotas and rate limits, they are responsible for forecasting growth, they are responsible for sourcing capacity to match that growth, and they are responsible for pricing access to that capacity.

If this is some sort of AI-boom related load problem, they are also partly responsible for fanning those flames. I'm skeptical of the AI-boom narrative because other forges are not falling over so frequently; it seems unlikely that all competitors are massively over-provisioned or are not getting hammered by the same claimed boom.

Something doesn't add up and I am not inclined to give GitHub management the benefit of the doubt.

comment 2mo ago · link · parent

> The majority of the US is not inside a city.

I think this isn't true for the US any more, maybe it hasn't been true for decades?

WorldBank seems to have the ubranisation rate at around 80% for the US: https://data.worldbank.org/indicator/SP.URB.TOTL.IN.ZS?locat...

There is a bit of a definitional problem, with people living in suburbs identifying as rural, as do folks in exurbs. I don't think they're considered rural, and they're concentrated enough that well-designed public transit could serve them quite well. A decent public transit system means that families in sub/exurbs can go from 2 cars to 1 car without a major drop in quality of life, but they'd save $5k - $10k per year.

comment 2mo ago · link · parent

One thing I'd like to see modeled is how many excess deaths they cause in, for example, London.

Driving in London is already very safe because the street design prevents people going very fast. American roads are, by comparison, unsafe. That probably means AVs in those countries had a lot of low-hanging fruit, so they could have a significant impact by staying within the speed limit, for example. Without such low hanging fruit, will there be so much benefit in London?

London has excellent and very safe public transit, far safer than even professional drivers. If AVs are cheap and convenient enough to pull people off transit, that might expose enough people to higher risk that makes them overall kill more people than if they'd stayed on the tube.

Likewise, more driving (even EVs) generates more asphalt and brake pad dust, which cause respiratory illnesses. If they cause a drop in transit ridership compared to no AVs, how does that affect the excess deaths in the city?

My gut says that, in London and other cities with safer streets, they're going to have more difficulty getting such headline-grabbing numbers. Combine that with the potential to take people off safe transit and put them on the road and the balance might slightly tip against them.

comment 3mo ago · link · parent

This is presented as a fact, but lacks documented real-world instances, direct measurements, or even any proxy measures that suggest it's actually happening.

comment 4mo ago · link · parent

One thing that's potentially different, at least for Facebook, is the network effect. It only takes a few friends to start using Facebook for event planning for people to start missing events or worrying about missing out. That extra pressure cuts against individual choice.

Instagram is different, but you can see something similar happen on platforms with a chat feature. If people start to gravitate towards a singular app for talking, coordinating, etc. then there's the potential for resisters to be socially excluded. For most people, feeling socially excluded is a strong motivator. So far, this has mostly resulted in everyone having a fairly broad set of apps with chat features, so I'm not sure the centralizing power is as strong.

comment 7mo ago · link · parent

I don't think the author read even the Wikipedia page on Napoleon's invasion of Russia? Napoleon _did_ have reasons for attacking Russia, he _did_ prepare logistics. His motives, rationale, and actions are well-documented and widely studied.

> watching an unchecked megalomaniac march 685,000 soldiers into a Russian winter without a fur coat in sight

Napoleon famously crossed the Neman River in *June*.

comment 2y ago · link · parent

I've seen this happen to a friend. Back in the noughties they built a home NAS similar to the one in the article, using fewer (smaller) drives. It was in RAID5 configuration. It lasted until one drive died and a second followed it during the rebuild. Granted, it wasn't using ZFS, there was no regular scrubbing, 00s drive failure rates were probably different, and they didn't power it down when not using it. The point is the correlated failure, not the precise cause.

Usual disclaimers, n=1, rando on the internet, etc.

comment 7y ago · link · parent

https://ebooks.adelaide.edu.au/

comment 7y ago · link · parent

p.14:

"Because 99.999% availability provides for less than 5 minutes of downtime per year, every operation performed to the system in production will need to be automated and tested with the same level of care. With a 5 minute per year budget, human judgement and action is completely off the table for failure recovery"

10.

Caching in on Failure(medium.com ↗)

1 points · by Tinned_Tuna · 7y ago · discuss

11.

Ask HN: Why Did Your Business Fail?

18 points · by Tinned_Tuna · 7y ago · 11 comments

12.

Five Years as a software engineer(medium.com ↗)

1 points · by Tinned_Tuna · 8y ago · discuss

comment 8y ago · link · parent

"Start viewing willpower as a resource that can be depleted, and make sure you aren’t wasting it on trivial things."

The concept of ego depletion is not as certain as it once was.

http://www.slate.com/articles/health_and_science/cover_story...

comment 8y ago · link · parent

Hey!

What's the layman's 2-minute definition of a time crystal?

The name makes it sound very sci-fi, like it might have the ability to travel through time (!)

comment 9y ago · link · parent

I am equally suspicious of creating a government agency for tracking all citizens. However, I worry that your proposed solution has three significant caveats.

Firstly, reliability tends to change slowly. Banks might not be tracking this, so it would take a long time for this problem to surface. The article indicates that they're already unreliable, and banks continue to rely on them.

Secondly, there's too little competition. There's no realistic alternative; especially when all three seem to be roughly equivalent in terms of reliability.

Finally, any single bank dropping a credit agency will cause that credit agency problems, but will likely cause themselves more problems. Individual banks have little incentive to act on their own. Some form of banking cartel would probably be needed to put sufficient pressure on the credit reporting agencies to effect change.

comment 9y ago · link · parent

This. Make your _business_ case, not a technical case. This applies to software engineering, security engineering, etc.

The above comment does not absolve you from doing cool things, it's just that the cool things should align with business interests. No yak shaving. Sometimes writing a one-off script will take 30 minutes, and doing it by hand will take 10. Do it by hand.

comment 9y ago · link · parent

I know it's really asking a huge amount, but my 2FA wish-list for 2017 is:

  1. U2F in all browsers.
  2. U2F on all the services I consider important (Google, GitHub, Facebook, etc.)
  3. U2F setup on the above services without a phone number -- just force acceptance of the backup codes.
  4. U2F integration in SSH.
I'm currently using TOTP through Google Authenticator. Not great, but definitely a step up.

I think with the above in place I'd move to LastPass (from KeePassX), as the security of my passwords becomes much less important. Still not a huge fan of putting my vault in the cloud though.

Oh, and a fire-proof "safe" for my backup codes.

comment 10y ago · link · parent

The best thing I can suggest is regular, invisible backups. Ensure that it's very difficult for them to avoid doing the backups, and make sure that what ever holds the backups is a battle-hardened.

Social engineering is a broad problem right now, and all you can really do is be prepared to pick up the pieces after the fact.

comment 10y ago · link · parent

fail2ban and similar tools are standard, widely used, quick to configure, and very effective at removing noise. You won't need to hassle to configuration of any new or existing clients, vulnerability scanners, etc.

comment 10y ago · link · parent

This is an interesting read, but it's worth digging down into the particulars. In particular:

> Is adding obscurity the best use of my resources given the controls I have in place, or would I be better off adding a different (non-obscurity-based) control?

Is a really important question to ask. In this case, I'd argue that port-knocking, SPA, and changing the port are not cost-effective.

Obscurity is not free. There are additional costs and risks to consider:

  * Has the port-knocking or SPA software been well tested or audited?
  * What if my pentester mistakenly believes that there is no OpenSSH service, and so doesn't check it?
  * Is it worth re-configuring all of my SSH clients? What if I have to go through change control?
  * Is it worth re-configuring any vuln. scanners I deploy?
  * Do my clients support port-knocking or SPA?

I could spend an hour setting up port-knocking, SPA, or rolling out a port change. Could I do something more useful with my time? Perhaps better testing my application? Finishing that pressing code review? Buying and using a vulnerability scanner? Reaching out to a pentest company? Setting up an IDS?

All of the above will probably have a better cost-benefit ratio than port-knocking, SPA, or changing the default port.

It is almost always more cost-effective to just use Mozilla's OpenSSH guide[1], keep up with security patches, and direct your attention to the weaker components of your stack.

References:

[1] : https://wiki.mozilla.org/Security/Guidelines/OpenSSH Security/Guidelines/OpenSSH, Mozilla

comment 10y ago · link · parent

I'm not sure your point about Java 7 is correct. The docs (http://docs.oracle.com/javase/7/docs/technotes/guides/securi...) state that it is a SHA1PRNG, seeded with "true random". So the first call may block if it goes to /dev/random on Linux, but it should be good-to-go after that. I think this is the same behaviour as Java 6, but I don't know about previous versions.

Java 8 does define more sources for SecureRandom, including NativePRNGNonBlocking, which specifically refers to /dev/urandom (http://docs.oracle.com/javase/8/docs/technotes/guides/securi...).

comment 10y ago · link · parent

I can finally recover my account!

comment 10y ago · link · parent

I actually really like the language, but there are several key points which stop me from using it in any production systems:

First and foremost, the build system. Oh god, the build system. Cabal is wonderful in some respects, but I have often found myself in a situation where the answer is "delete the ~/.cabal and ~/.ghc-pkg". This should not happen.

Laziness. You get concise programs, but then the memory performance is unknown until you read it and/or learn to read GHC's IR. You know, I'd really enjoy being able to know roughly how much memory I need to buy up for the systems I'm deploying.

Experimental or non-standard extensions. Just no. I'm not going to rely on non-standard or experimental "stuff" that tie me to a single compiler. This is made all the worse in that they're all hard-bound to various GHC versions and you're expected to use them in production (I'm looking at you, web frameworks). We have standards, stick to them.

It is for these reasons that I can't recommend Haskell to people as anything more than an interesting language to learn. Until the above is fixed (many of which are cultural) I will not use Haskell in production.

comment 10y ago · link · parent

The link's not working for me, nor is any reference to SLOTH given on http://www.mitls.org/wsgi/tls-attacks.

comment 10y ago · link · parent

I'm surprised that we're still using this as a bit of a hack in the future. In the project I'm working on, when we substantially optimise a section of code, we move the un-optimised, believed-good, version. It becomes an oracle against which the optimised version is tested on both manually and randomly generated test cases.

I'm not saying that the above solution should have been deployed at the time, but perhaps it could be moved in that direction now that we have these techniques and tools to hand.

Could such a solution work well here? Perhaps, it would be even more useful, as tests would be likely to fail if the optimisation was bad, rather than just assisting with debugging after the fact.

26.

Top 5 Security Fails of 2015(coderinaworldofcode.blogspot.com ↗)

2 points · by Tinned_Tuna · 10y ago · discuss

27.

Inferior Process and Incompetent Developers(coderinaworldofcode.blogspot.com ↗)

3 points · by Tinned_Tuna · 11y ago · discuss

comment 11y ago · link · parent

It depends on your needs, and what you want to do. If you're a big Pythonista, perhaps Jython is worth a look in. Lisper? Look more towards Clojure. Need to be able to hire developers? Plain Java will help you on that front.

Often, choosing a JVM language does not lock you into that language, as there's good interoperability. Be prepared that the first choice of language for a project might not be the best choice.

In response to the question, Java, Spring, Hibernate, and Postgres have served me well on a variety of projects. However, you need to take it with a grain of salt -- my needs will likely be different to your needs, and my skill set is almost certainly different.

29.

Infosec's ability to quantify risk(coderinaworldofcode.blogspot.com ↗)

2 points · by Tinned_Tuna · 11y ago · discuss

30.

Hiring by anonymous interview(blog.bytemark.co.uk ↗)

3 points · by Tinned_Tuna · 11y ago · discuss

123