Better HN
topnewbestaskshowjobs
Log inSign up

foo101

982 karma · joined Jul 7, 2016 (10y ago) · 339 submissions

Submissions

comment 8y ago · link · parent

I have always wanted something like this without having to move away from Git (to Fossil).

A bug tracker like this allows the bug history to be tracked and remain with the source code which is much better than keeping the bugs in a web based service because every 5 years you need to migrate it (Bugzilla to Trac to JIRA) and in every migration, some context or formatting is lost.

For something like this to be successful in enterprises, the tool should be management-friendly. Right now JIRA leads because it allows management to pull pretty reports out of it. Is there anything planned in git-bug to appease these management type people so that it has a good chance of taking off in the enterprise world too?

comment 8y ago · link · parent

> How do you know this?

I believe from the comment history of the OP. There is a specific comment where the OP mentions that they are Pakistani.

comment 8y ago · link · parent

Has any other mainstream programming language like C or Java introduced such reserved keywords in a new release? I guess if C or Java were to do something like this it would cause a lot of hue and cry.

I remember when C++ had to introduce a keyword for automatic type inference they reused the 'auto' keyword instead of introducing a new keyword at the risk of breaking a lot of existing code.

How do other mainstream languages handle a scenario like this where a new keyword is required?

comment 8y ago · link · parent

> With the release of Python 3.6, it became clear that Pylama was in need of maintenance updates. Python 3.6 warned that async was about to become a reserved keyword in Python 3.7.

I can imagine there must be lot of code bases with async as variable name. For example:

  async = True
This is an error in Python 3.7.

  >>> async = 1
    File "<stdin>", line 1
      async = 1
            ^
  SyntaxError: invalid syntax
But this used to run just fine without any warning or issues until Python 3.5.

So now any code that uses async as a variable name would break. So is Python 3.7 considered a breaking change that is not backward compatible?

comment 8y ago · link · parent

From the popular answers to this thread, I think the next relevant question that arises is: How non-scholars can find opportunities to collaborate with scholars? We need some kind of "Who is open to collaborating?" threads similar to that of "Who is hiring?" threads.

comment 8y ago · link · parent

What's your Redshift setting for daytime?

Do you or anyone else have a third setting for bedtime like f.lux has (say for 1 or 2 hours prior to bedtime)? If yes, how do you simulate this third setting and how do transition smoothly from the evening setting to the bedtime setting?

comment 8y ago · link · parent

Does this work on macOS? The source code seems to be including X11 headers, so I guess it would require XQuartz or something to make it work? Has anyone got sct to work on macOS?

Redshift works just fine on macOS. I've been using it and I like it more than f.lux because one can write scripts around it.

98.

Redshift – A better flux program for Linux (2014)(techblog.jeppson.org ↗)

141 points · by foo101 · 8y ago · 81 comments

comment 8y ago · link · parent

The colors on a RGB-based display is incorrect either way (with flux or without flux) at any color temperature (cool, warm, or in between).

Why is it that you prefer the incorrect colors without flux to the incorrect colors with flux?

Sounds like you prefer cool color temperature which is no more correct than warm color temperature.

comment 8y ago · link · parent

> Ozone doesn't have a smell.

This does not sound right. This is what I see on Wikipedia which is also exactly what I was taught in high school:

> It is a pale blue gas with a distinctively pungent smell.

Source: https://en.wikipedia.org/wiki/Ozone

comment 8y ago · link · parent

What would be the right daytime setting in f.lux to reduce the harmful effects of blue light?

The default daytime setting under recommended colors in f.lux is 6500K. I tend to use a daytime setting of 5500K. Is 5500K good enough to reduce the harmful effects of blue light or do I need to go even lower?

102.

Ask HN: What is your favorite text-based browser (lynx, w3m, elinks, etc.)?

2 points · by foo101 · 8y ago · discuss

comment 8y ago · link · parent

Can someone who has more context around this commit explain what is going on here?

What does this commit do?

Why did this commit get accepted in the commit history tree published at android.googlesource.com?

comment 8y ago · link · parent

> The whole magic of the site is being able to have the experience of looking over other people's shoulders into their inbox, and seeing how they actually talk with one another when they're not on stage.

I am having a hard time understanding if this is written sincerely or as satire.

I hope you are being humorous here because if this is indeed true, it does not look like something I would appreciate. I really don't want anyone to have the experience of looking over my shoulders into my inbox to see how I actually talk with others when I am not on stage.

I have always perceived email as a private mode of communication. Has this perception changed recently among the new generation of application developers?

comment 8y ago · link · parent

Where can I see the rate limit? I tried https://api.github.com/rate_limit but I see a rate limit of 60 only:

    {
      "resources": {
        "core": {
          "limit": 60,
          "remaining": 58,
          "reset": 1530102452
        },
        "search": {
          "limit": 10,
          "remaining": 10,
          "reset": 1530099950
        },
        "graphql": {
          "limit": 0,
          "remaining": 0,
          "reset": 1530103490
        }
      },
      "rate": {
        "limit": 60,
        "remaining": 58,
        "reset": 1530102452
      }
    }

comment 8y ago · link · parent

I have a very similar story with an interesting twist. I knew exactly one person who got on a PIP by his manager and didn't get fired. Almost anyone who worked with this person including me felt that the PIP was justified because he was known to be an incompetent developer.

The PIP ended up because his manager left the company. He was assigned to a new manager who worked in a different location. So the manager-employee relationship became a remote-relationship for them. He played his cards very well with the new manager and got himself out of PIP.

Nonetheless, it took that guy's career years to recover. Everyone around except this new manager still saw him as incompetent. He is still paid as an entry-level engineer.

comment 8y ago · link · parent

You are probably not aware but in Google and many other companies it is very normal and in fact common to have a manager earning less than an employee reporting to the manager. I have not experienced any kind of friction due to this. Why should it? It's only fair that someone who brings more value to the company should earn more.

Having said that, Google is not your typical company. I know managers in Google who push thousands of lines of code per week and are often more productive and more hand-on than the engineers that report to them. In such cases, it is only fair that they earn more than the engineers.

I agree with dasil003 that your cynical view breaks down in productive technology companies. Maybe that's what you have experiened but the places I have worked at had no resemblance with the court of Julius Caesar and the managers were definitely not mere email routers.

comment 8y ago · link · parent

> Last time I checked my domain got penalized for having abnormal low markup or some such

Do you have a link to the document you were pointed to when you got penalized? If it was Google who penalized you, they must have pointed you to a URL with documentation on why you got penalized and how to resolve it.

I ask this because I run a few websites with even lesser markup than your site but I have never got penalized. I once got penalized due to excessive number of spam comments on one of my websites and they pointed me to https://support.google.com/websearch/answer/190597 ("Remove this message from your site") to resolve the issue. This issue did not affect the search ranking much though (dropped by only about 2 or 3 places in the list of results). But never had an issue with abnormally low markup.

The markup in your website looks pretty reasonable to me, so I am surprised you could get penalized for that when I have had no issues with even lesser markup and they still appear at the top of the list of results for relevant search terms.

comment 8y ago · link · parent

I have never worked with Wirth languages, so I would like to know why you think Wirth languages deserve a comeback.

comment 8y ago · link · parent

> What do other people do for ad-free hosting?

By your own domain a $5/month VPS and host your apps just the way you like it.

Just 10 years ago, geeks like us used to take pride in buying domain and creating a personal presence with one's domain name. Don't people do that anymore?

I find this trend of looking for free hosting services a bit disturbing. Because you know the cliche that when you are not paying for a service, you are the product.

Even if you do not want to buy a $5/month VPS, please buy the domain. Costs less than $1/month (more like $10/year) and point the domain to your favorite free hosting service with CNAME entries. GitHub and Heroku support such custom domains with CNAME entries.

comment 8y ago · link · parent

> "It allows you to skip the tedious work of setting up test data, and dive straight into practising your algorithms."

Setting up your own test data and pretty-printing your trees with your own code are important in my opinion.

comment 8y ago · link · parent

> I couldn't for the life of me figure out why my sift wasn't working. Wasted like an hour on it. Turns out it was working, it was just my printing/test-harness stuff that was flawed. Sure that was a useful hard-knock, but it really served as a distraction from what I was trying to do at the moment.

What you think is an unnecessary distraction is in my opinion a very important experience and part of the learning process. Everything you hand-code for your own data structure be it pretty-print, test-harness, etc. are all important while learning.

> Having a helper class that solves some of the basics well and sets you up for success lets you focus on the larger problems without having to constantly re-visit the basics.

Once you have built the data structures bottom-up from scratch along with all the additional utilities to pretty-print it, test it, etc. you have your helpers ready already. There is no need to use someone else's helpers at that point.

comment 8y ago · link · parent

Exactly this! If you are learning algorithms, you should be implementing your own trees rather than relying on a library like this that does the work for you.

The real benefit of learning algorithms comes when you put the hard work into it to build the data structures in a bottom up manner. Using someone else's tree generating library eliminates this experience which is a vital experience in the journey of learning algorithms.

comment 8y ago · link · parent

Done in true GitHub style with the source code of this post at https://github.com/natfriedman/hello rendered with GitHub pages. :-)

comment 8y ago · link · parent

I am going to agree with what doctorsher said in response to your comment. I can confirm that what SiVal said is not a typical experience in Apple.

comment 8y ago · link · parent

> You want to know what those Ads are, ther'e justification that I won't go broke if I pursue code.

That does not make any sense. Writing code to make a living is a very very popular profession in India. Your parents must be already aware of it.

Heck, even those who can barely code can get jobs in the software-services based industry who put them through bootcamps to learn to code while already paying them to learn. I know of no other country where companies pay you to offer you 3-month long software development training for no work.

I seriously don't buy that your parent needs any justification about pursuing coding as a profession.

comment 8y ago · link · parent

Can you offer specific examples that make you believe that the cumulative opinion of scholars are going to be objectively worse than the cumulative opinion of everyone?
12345
12