Hacker Newsnew | past | comments | ask | show | jobs | submit | fiveoak's commentslogin

"This simplifies the code a bit because ElementAccessHasExtraIndexedProperty checks for length-overflow and sparse-indexes so the callers don't have to do that anymore."

simple code best code, the less opportunity you give people to shoot themselves in the foot the better


It's easy to say that but kids (yes, kids) that are age 17 aren't really the best equipped to make great life altering decisions in the first place. People fuck up all the time and our response as a society shouldn't be "well, too bad" because 1) that's a terrible way to treat other people 2) if a ton of people are bankrupt due to student loan payments it WILL affect you indirectly, and potentially your own children/family members/friends

I'm not sure of a great solution and it's way outside my knowledge/expertise but ignoring the issue and basically just saying "should have got a STEM degree idiot" isn't good for society


> but kids (yes, kids) that are age 17

"Kids" have been making this decision for decades. Kids also chose to serve in each of the World Wars at younger ages. Kids at a younger age can also get married in most states.

45-55% of the (albeit distant by social class) peers of college freshman are NOT going to college, but working jobs that don't require degrees. Not going to higher ed is as much of an adult decision as taking a loan.


And the 17 year-olds are in an adversarial environment.

I've known very smart people who, as late teens, were told all sorts of lies by colleges, about employability in the fields in which they ultimately got degrees.

It could've been wishful thinking on the part of the department (e.g., "Every industry needs Philosophy majors!"), and it could've been professors out of touch (e.g., "Hey, I got degrees in literature, and I got a professorship, coincidentally at the same university where my mom was head of a department, so anyone can do it! And my friends who didn't get professorships all got jobs at the hedge funds run by friends of their dads!").

And everyone was telling these teens that they need a degree, and everyone they knew was doing it.


So if you're not ready to take on responsibility of a large loan, maybe don't take one out, wait a few years, research the market, maybe work some jobs that don't require a college degree.

And seriously, figuring out which degrees pay takes literally one google search. A 17-year-old can easily do that.


This is a catch-22 though, if you are ignorant enough to not realize it is irresponsible, you are not the person who is going to be waiting a few years to research the market and make an informed decision. The people whose job it is to stop semi-ignorant people from making a poor uninformed decisions, are the same loan officers rubber stamping loans.

Not everyone can magically be smart enough to truly understand what they are getting into, and what ramifications it will have on their later economic life. What is your advice for the people who aren't doing more research ahead of time? "just get smarter dummy" ?


I remember being told that you were wasting your life if you didn't start college immediately after graduating from high school, and employers would look down on your resume as some sort of failure.


You're talking to the wrong people. A child looks to the advice of their parents, and if their parents say go to university, that's what happens.


Maybe go to community college for a bit as an alternative and figure out if it's right for you before taking out a large loan.


Most middle class kids coming out of school see college as an extension of the education required to compete in the market - they're also told that trade schools are a rip off and community college is for underachievers, so they end up diving into university before giving that option any real critical examination.

I imagine upper class kids just get their education bank-rolled by their parents so who cares. And I didn't live the life of a lower class kid (my family was middle or lower middle) so I can't speak to their experience - but that middle class suburbanite definitely isn't going to get a check from their parents to cover their full schooling.


Where I lived as a middle class teenager at least - a generic suburb in SoCal - I, and every other student, was told the community college we had has an excellent program to transfer students into a 4 year college with minimal debt. It definitely takes effort as a community to ensure graduating high school students understand their options in full.


I find that the community college grada are better professionals than the kids who jumped into uni because they didn't know anything and grasped at straws. It's an expensive but revealing mistake that shows which young adults have good judgement and self awareness.


Great, if people were that smart we wouldn't have had the 2008 housing crash. You have to make these structures idiot safe or the idiots destroy the economy.


What's interesting is that some of my best friends have been people that society would judge as unsuccessful, not smart, and not cool. Mutually feeling accepted by one another is a big part of it I think, but I never really thought about it other than "chemistry".


I think one of the biggest mistakes of my life was falling into a depression/sadness hole and making friends with other depressed and sad people. It continues the cycle. And many of these people are not as nice and accepting as you'd be led to believe (applies to myself, too! something I've been changing.)


Eh, I wouldn't say it was a mistake. Those people got you through a tough time, and I'm sure it was mutual. Now you realize you want something different, and that's okay too.


I think that's a very good way to put it and I think you're right. Thanks.


That's an awesome story, did/do you find it hard as an entrepreneur to get off the ground with a lack of social proof from the ivy league degree? I guess after achieving some level of success from your entrepreneurial endeavors that itself is a far stronger signal of social proof but it seems difficult to "break in". Any tips?


Honestly I really appreciate tools like this exist but I'll probably keep using Medium out of laziness. I don't want to have to worry about maintaining my own blog and I'm cheap so I don't really want to pay for hosted Ghost/Wordpress since I'm not trying to make money off of my infrequent dumb blog posts. The cheapest Ghost plan is $29/mo :(


One of the benefits of static sites like those: They don't need continuous maintenance like e.g. WP would.


Ghost is pretty easy to set up on a $5/month Linode box, for what it's worth. That's where I host mine. Definitely took longer than entering a couple forms on Medium, but if you consider both as a % of time you'd spend writing, it shrinks to effectively nothing pretty quickly.


You can always use a Github Page. As long as you have a GH account, it will host the page for you.


This tool migrates to netlify, not Ghost/Wordpress. Netlify is free for 100GB of bandwidth.


Probably lower them, which is bad if you're part of that demographic, but better for everyone else outside that very small group (which admittedly is probably a significant proportion of HN readers but a small proportion of the entire population)


It's annoying how often status pages for various services (when they even exist at all) show that things are working when they really aren't


I want status pages to show traffic to the status page itself over the last 24 hours (or some time period). A sudden uptick in traffic but green across the board would indicate that there is an issue, but they just haven't updated the page yet.


Yes! I have yet to convince anyplace I've been working to do this, but I do make increases in traffic volume to status pages generate non-critical alerts. Has caught out a few problems much earlier than they otherwise would have been discovered.


Sounds like an interesting way to make developers (or ops) life hell. Just point a traffic cannon at the status page and bingo bango non-critical page.


If you can write a perfect automated status page - can't you basically write perfect integration tests and make sure no bad code gets deployed?

Bit of a chicken and an egg problem :)


Do you write every single test for your codebase? Do you have control over every line of code that gets deployed? The purpose of monitoring is to detect issues, because preventing them entirely is next to impossible.

By your logic if you can write perfect integration tests, can't you write perfect application code that doesn't need to be tested?


I think you've missed the point.

OP is arguing that a perfect codebase is not possible, therefore it's a bit unfair to complain that the status pages do not work perfectly. Hence the chicken and egg problem of "if I could write a perfect status page, I would have skills such that the status page would not be necessary".


There are two ways to have a status page.

1) A guy with a button. It's right, but it requires the guy to notice or get told - and remember to push the button.

2) Automation. But your automation has to somehow catch bugs that you can't even dream of. And not be triggered randomly. And somehow be able to be automated but not fixed at the source (as if you know how something will fail - why not just fix that over adding more status checks?)


That may be true for small failures, but the AWS Status Page has routinely failed to report large scale outages.


It's bc they're manually updated.


I've always wanted to build a public status page for services like Google Cloud and AWS with real tests against different services they offer. Not sure there is a good way to monetize though.



> StatusGator monitors the service status pages of more than 410 cloud services.

It looks like they are just an aggregator for status pages. I want something that does its own testing to determine if a service is up or down.


I've always wondered about this strategy. I'm a developer and a business owner. I'm in AWS's core target demographic. I know three things about AWS:

    - Their products have weird names
    - Their web console has horrible UX
    - The lie about uptime and server status
I'm not looking to switch to AWS soon.


I take it you have never used Azure's UI? AWS is much better. I can't comment on Google Cloud because I've never used it.


Some of the AWS UX is okay but the parameter store UX for the web console is some of the worst I've seen. It's difficult to navigate and paginate, and the search function is barely worth using. It would be amazing if they had fuzzy search on the names.


I do agree that the CloudWatch console search is like this, where you need to type out the entire string from the beginning to get it to match. But for the CloudFormation and Lambda consoles, I can just type a piece of the string I'm trying to find and all matching will just show up.


The UX is a bit poor and there are long standing issues like the S3 console timeout bug and the SWF console not obeying any known law of web design but serious teams don't really use the console, they use tools like Terraform, CloudFront or they roll their own automation.

I use the AWS APIs almost every day but probably log in once a week or so.


Any kind of ads are annoying to me and well worth the couple of $/month alone, but I also like being able to skip songs I don't like and having in general a better set of songs that I actually enjoy


Anecdotally I use Facebook to coordinate social events with friends and find that it's been a helpful tool to easily keep in touch with friends. I've reconnected with friends through it too. I try and avoid political things and post a lot of cat pictures from a local cat shelter that I volunteer at, which people seem to enjoy. I dunno, I just try and keep my feed filled with mostly positive/upbeat things so maybe that helps?


> I just try and keep my feed filled with mostly positive/upbeat things

You know Zuck has experimented with making people’s feeds negative to see the impact on their usage?

I get Facebook works for you, but consider the company is run by a truly evil and insidious man. As an organizer consider helping people leave.


One of my social groups made our own personal space for organising events and after 6 months we went back to Facebook because every other social group didn’t leave.

So you get a new platform, but if you only do one event every few months then there is no really no reason to check it, and then suddenly no one is doing events.

Like it or not, Facebook is the modern yellowpages and you need something everyone is on to replace it. I think that’s going to happen sooner or later.

It’s anecdotal of course, but very few people in my social circle use Facebook for anything but organising events, and you don’t need their app, messenger or even to log on more than once in a while to do that. If you couple that with the fact that everyone is tired of their bullshit, I think they seem ripe for disruption.


A lot of people have a hard time showing empathy for others. Part of it can be due to immaturity or being overly sheltered, lack of social skills, etc. It's easy to be critical of others that make bad decisions but EVERYONE makes bad decisions, being imperfect and making mistakes is part of being human, and what might be easy for one person might not be easy for another person.


Yes. Talk about blaming the victim. We're putting 800,000 out of work for no reason and it's their fault? Give me a break.


Empathy is the crux.

You don't have to accept someones view point to have empathy for people.

You also have to remember that life is messy and complex and there is rarely a single proximate cause for anything.

I tend to regard any sentence that starts "It's their fault because <single thing>" or "It simple, you just do <single thing>" with deep suspicion.

It would be nice if life actually had simple answers once in a while though.


I don't think it is that it isn't understood that people make different lifestyle and economic decisions and we all pay for our decisions somehow no matter what they are; The sensationalism, victimization blaming, and "woe is me" that a small minority and media raise. No one is entitled to income, a job, or having others pay for their expenses. It is a "take the lump, become stronger, make a plan for now and later, accept it, move on" situation. I feel empathy but can parse the humanity from economic decisions. That said, workers should be paid during a shutdown.


> No one is entitled to income, a job, or having others pay for their expenses.

According to the Universal Declaration of Human Rights, of which the USA is a signatory, they do. Namely:

Article 22.

Everyone, as a member of society, has the right to social security and is entitled to realization, through national effort and international co-operation and in accordance with the organization and resources of each State, of the economic, social and cultural rights indispensable for his dignity and the free development of his personality.

Article 23.

(1) Everyone has the right to work, to free choice of employment, to just and favourable conditions of work and to protection against unemployment.

(2) Everyone, without any discrimination, has the right to equal pay for equal work.

(3) Everyone who works has the right to just and favourable remuneration ensuring for himself and his family an existence worthy of human dignity, and supplemented, if necessary, by other means of social protection.


I think you read this too quickly. It doesn't say anything about being entitled to a job. It says people have the right to work.

It's not saying the government owes you a job, but that the government can't stop you from working. There is protection against unemployment, but that does not imply the protection must be absolute because, of course, that's impossible.

It's a big difference.


I think we were tripping up over my use of "entitle" - which I simply mean as not required to receive, without first giving. So, for example, because I exist does not simply mean I am owed a job, owed income, etc. I'm getting off topic a bit from my original intent, however.


You made a moral statement:

"No one is entitled to income, a job, or having others pay for their expenses."

This can only be interpreted as a description of what you believe the values of your society to be. Of course, some people have contracts that in fact entitle them to work. But that is not what you mean. You mean that, in the abstract, society does not owe you a job, or a way to provide for yourself, or help if you need it.

The Declaration of Human Rights is also a set of moral statements. It is not law, it is a description of a fundamental set of values that the signatories agree are their own too. It does not go in the direction of "just because you exist, you are not entitled to anything". It goes in the direction of: "the point of society is to give people opportunities to life fulfilling and meaningful lives and sometimes they need help".


That might be relevant if the things enumerated in the so-called Universal Declaration of Human Rights were actually rights. Or universal. Or at least not riddled with internal contradictions and subjective qualifiers...

Article 22

> in accordance with the organization and resources of each State

So basically each State decides how serious it is about this. Apparently the organization of this State permits shutdowns and furloughs, which is enough to satisfy Article 22.

> of the economic, social and cultural rights indispensable for his dignity and the free development of his personality

Subjective to the point of meaninglessness, but there is plentiful evidence to support the notion that one's dignity and personal development can survive in the absence of a government job. Or any job, for that matter.

Article 23

> Everyone has the right to work

No one is being told they aren't allowed to work. The right to work does not guarantee gainful employment in your preferred field or with any specific employer.

> to free choice of employment

Neither is anyone being told they must perform any particular job; everyone is free to choose from among the positions available in the open job market. At this time that simply doesn't happen to include any government jobs, at least not if you want to get paid. There are plenty of private positions available, though.

> to just and favourable conditions of work

Subjective. Unless you're being coerced, your choice to remain is sufficient evidence for me that you consider the conditions "just and favorable" compared to your next-best alternative, which is all that anyone can reasonably expect.

> and to protection against unemployment.

Here's the first part that might actually be considered a statement of entitlement to income and/or having others pay your expenses. It would be unreasonable to expect this protection to last forever, though. It comes with the expectation that one is actively seeking new employment. "Protection against unemployment" is not UBI.

> (2) Everyone, without any discrimination, has the right to equal pay for equal work.

Non-discrimination does not guarantee income, a job, or paid expenses, so long as these are doled out (or not) equitably, so this part not applicable.

> (3) Everyone who works has the right to just and favourable remuneration

There's that subjective "just and favorable" language again. No one reasonable is going to guarantee a livable income for yourself and your family merely on the basis of effort without regard for whether the work is actually productive. If you and your employer come to a voluntary agreement on the terms of your employment, that proves the resulting terms "just and favorable" enough to suit you—and no one else's opinion matters.

> and supplemented, if necessary, by other means of social protection.

The conditions to make this "necessary" are not defined, so we can just say it's never necessary and ignore this clause altogether. There is always another option.


Nobody is entitled to a job. But if you work you are entitled to pay. The truly egregious thing here is all the people that are required to work without pay, preventing them from getting a different job.


They aren't really required to work [without pay]. They're allowed to quit.

They're just required to work [without being paid immediately] if they want to keep the job, with the promise that they'll be paid later.

Edit: Except for the Coast Guard, for whom the current situation really sucks.


Coast Guard aside, various federal employees are prohibited from having second jobs or looking for other work.


> They aren't really required to work. They're allowed to quit. They're just required to work if they want to keep the job

I'm not really required to breathe, but if I don't, I'll stop living.

So...yeah...that's what's known as a requirement.


Obviously I meant "work at that job" as in "work without pay", but I'll edit my post to make that clear.


No one is entitled to income, a job, or having others pay for their expenses

That is an assertion, not a statement of fact. Christian values actually teach the exact opposite, and that's why Jesus said that one cannot serve God and Mammon at the same time.


You're drawing the wrong conclusions. Christianity teaches the duties of people towards others, including people are slaves. It doesn't talk about rights, because it's smart enough to understand you can't have a right to a finite resource.

Christianity always only talks about what you need to give, and never says anything about what you need to get, including anything you get from God, which is always undeserved and only happens through His mercy and generosity.

This is even acknowledged obliquely when Christ states that we will always have the poor. By saying that we can't serve God and Mammon, He's saying that we cannot make money for money's sake, but must use it justly in the service of God.


You could say that every human being is entitled to dignity because we are all descended from Adam, who was created in the image of God. Whoever acts as if that weren't the case is a serious blasphemer.

Somewhere the Jewish Sages made that argument because someone considered the weakness in the Golden Rule: what if someone treats everyone with meanness and expects the same in return? It would make an awful society.


Sure, but any material effects of being entitled to dignity require a positive action from others.

We are still talking about the responsibilities of people to treat others in this way. I think it's much more important in some circumstances to think less of rights and to think more of responsibilities.

It would be equivalent to say you have the right to be treated with dignity by other human beings, but again this is saying other human beings have a responsibility to treat you with dignity. If other human beings didn't exist, then you couldn't be treated with dignity by them, hence it's a responsibility of them, and not something inherent to your own being.

The "inalienable rights" to life, liberty and pursuit of happiness, don't require other people to do anything for you to retain those rights. It only prohibits them from doing certain things to you. It's a restriction on them, rather than a responsibility, and therefore, your right isn't contingent on them existing in the first place.

I don't think you and I are in disagreement.


We have a secular government. Your religious views do not apply.


>That is an assertion, not a statement of fact.

Pfft, according to you? Calling it an assertion suggests the statement lacks some form of support from reality. As opposed to the very clear fact that humans in the world are not entitled to income, a job, or having other pay for their expense.

Christian values having nothing to do with this and bringing religion into the mix won't help the discussion.


> No one is entitled to income, a job, or having others pay for their expenses.

So no life, liberty, and pursuit of happiness for these folks? Got it.


You can't be "entitled" to a finite resource. It's a logical contradiction. Any rights you might have can only restrict others in preventing you from trying to obtain those things.

You don't have a right to a job, but I also don't have a right to try to prevent you from getting a job.

This is obvious in the phrase "pursuit of happiness". There's no right to happiness. You can't be restricted from pursuing happiness, but there can be no guarantee you'll get it.

Similarly, you can't be restricted from trying to get a job, but there can be no guarantee you'll get it.

So, no, no one is _entitled_ to income, a job or having others pay for their expenses. If there are no jobs, or no income, or no others to pay, how can you be entitled? That's the logical contradiction.

A right isn't something that forces someone else to do something. That's the definition of slavery. If you have the right to receive something from someone, then that someone is, at least in part, your slave.

But if you have the right to pursue your own ends, no one has a right to try to stop you. These rights are restrictions on what people can do to you, not things they are forced to do for you.

They can't just walk up and kill you for no reason. They can't just lock you up, or enslave you, for no reason. They can't stop you from doing what you want to do, for no reason.

And again, the only reason is if you, in turn, are infringing on the rights of others, and even then only in way that is governed by the rule of law.

See how that works?


I used the word "entitle" - which I'm not discussing rights. Nor really, broadly applying to any group. I simply mean we're all on our own, responsible for ourselves, nothing is due anyone (not applying to federal workgroups) - but we have the capabilities and rights to pursue our personal best interest (within the law/morality)


This understanding is perfectly correct. Entitlements are not, and cannot be, rights.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: