News for hackers. Stuff that matters.

nsgoetz

Does the website take into account the seasonality of certain flight routes?
The Google statement really feels like they're subtweeting Apple:

> The open Android ecosystem lets developers distribute apps through multiple app stores. For game developers who choose to use the Play Store, we have consistent policies that are fair to developers and keep the store safe for users. While Fortnite remains available on Android, we can no longer make it available on Play because it violates our policies. However, we welcome the opportunity to continue our discussions with Epic and bring Fortnite back to Google Play.

Re:How compatible are democracy and capitalism? on Wednesday June 12, 2019 @12:40PM (#20166531)
FWIW As a native speaker, I think your English is great, and I have seen native speakers do worse. It’s nothing to take for granite ;)
538 had almost a 1 in 3 chance that Trump won in their final prediction before the election. https://projects.fivethirtyeight.com/2016-election-forecast/
Re:Bitcoin falls below $5,000 on Monday November 19, 2018 @03:56PM (#18489701)
FYI, FYI is a TLA for “For Your Information”
It easily could be a bug such as the refence to the Api being removed. Posts that reference it could raise an error leading to them being hidden. I’ll wait to hear if Facebook makes a statement.
Re:OpenStreetMap for the dyslexic on Monday August 20, 2018 @08:37AM (#17799401)
My sister has dyslexia and confirmed that it’s so much easier for her to read. Her face lit up with excitement the first time we saw it.
Re:Readme-Driven Development (2010) on Friday June 29, 2018 @07:27PM (#17428646)
doxygen is tool to programmatically generate documentation from properly formatted comments. If you use python, it is very similar to pydoc. We never actually used the generated documentation but basically used the format as a style guide. For functions it looks like:

  /** @brief Prints character ch with the specified color
   *         at position (row, col).
   *
   *  If any argument is invalid, the function has no effect.
   *
   *  @param row The row in which to display the character.
   *  @param col The column in which to display the character.
   *  @param ch The character to display.
   *  @param color The color to use to display the character.
   *  @return Void.
   */
  void draw_char(int row, int col, int ch, int color);
Here is the class's guide to doxygen https://www.cs.cmu.edu/~410/doc/doxygen.html
Re:Readme-Driven Development (2010) on Friday June 29, 2018 @06:14PM (#17428253)
I took an OS class in college where either a TA or professor would read every line of C code in the OS you turned in. They required every function to have a doxygen style doctrings. It was also a partner based course. Writing those docstrings before implementing the functions not only helped them be more useful, but also helped my partner and I coordinate on features/interfaces before they were done. I think documentation in general is highly underrated.
Re:Reddit is down on Wednesday June 27, 2018 @04:11PM (#17411406)
I am able to get onto it
Re:Teach Yourself Programming in Ten Years (1998) on Tuesday March 13, 2018 @04:17PM (#16579399)
And it mentions Go which I believe was invented in 2009. It was on the site previously as 2001 which also seems wrong https://news.ycombinator.com/item?id=3439772 . Maybe it is just being updated.
Re:Fired Google Engineer Loses Diversity Memo Challenge on Saturday February 17, 2018 @05:04AM (#16399987)
It sounds like you are saying the law and precedent is good. You just disagree with their interpretation of the facts in this particular case. Not everyone in a scociety can come to a consensus on every issue. That’s we have the court system decide.
Re:Cryptocurrencies are collapsing on Tuesday January 16, 2018 @10:29AM (#16158822)
Actually there are legal repercussions, and in the case of disasters like fires the federal government will actually replace your cash. Planet money had a great episode on this https://www.npr.org/sections/money/2017/06/30/535062249/epis...
Re:Jon Skeet earns 1mm rep on Stack Overflow on Tuesday January 16, 2018 @02:38AM (#16156464)
I believe it come from mille - Latin for 1000. So 1mm is one mille mille or one thousand thousand. Why we use the Latin? I have no idea.
Re:IPhones start slowing down after a year on Thursday December 21, 2017 @11:43AM (#15980307)
Low power mode seems to turn off unnecessary animations and speed up my phone.
Re:CryptoKitties craze slows down transactions on Ethereum on Wednesday December 06, 2017 @01:49AM (#15859099)
> Are they buying an option on the right to receive dividends at some indeterminate point in the distant future?

> Do they think they'll receive a fraction of the enterprise value when Google gets bought by a bigger company?

> Will Google get sold off piece by piece and they'll get a pro-rata share of the liquidation proceeds?

Yes, but also a bet on other people's demand for those things - its asset backed. Since they all are based on USD I think they're a little safer bet than a cat fad.

Re:Think Twice Before Ordering Coffee or Tea on a Plane on Saturday June 24, 2017 @12:07AM (#14624315)
I believe the fetuses get some immunity from their mother by blood but not bacteria.
No one is stoping them from speaking. Harvard just doesn't want them if those are the things they have to say
Re:We’re Getting Close to Full Employment on Friday May 05, 2017 @05:53PM (#14277100)
Labor force participation has many other problems - retirees being a huge one. There are disputes on who to include as actively looking for work and how to measure the underemployment, but labor force participation is not the answer.
Re:Rust 1.17 on Thursday April 27, 2017 @03:59PM (#14214231)
Different languages are targeted for different purposes. Most people don't like JS as a language, but necessary to take full advantage of what a web app can do. This is because today browsers run JS and not much else. The sometimes chose to write their sever in it too to decrease the number of languages they need to maintain in their code base, and to be able to reuse code for the backend and front end of their webapps.

One of the ways languages differ is how much of the hardware they abstract. Assembly is literally a list instructions to manipulate registers (a component of a processor) containing 1 number at a time, and to jump around those lines. Resisters and you memory just hold ints, so the programmer has to know what ints are numbers what are addresses pointing to an array or other number(pointer), etc. C abstracts a ton of those instructions, so for example you have to keep track of what memory you're using but not which register has that memory's address and how to allocate registers etc. Static typing is necessary to remember how to interpret those ints. Python abstracts even more so you don't have to keep track of you memory and its very close to abstract logic. However, in exchange there is a large bit of code that has to run with you python code to figure out how to use the registers and assembly instructions to compute your function. OK it doesn't do that directly, but indirectly that's the point of what is called an interpreter.

There are advantages of more abstract languages like python. You don't have to think about as much and there are generally more safety guarantees. However, sometimes you can't afford to the time or space overhead of the interpreter. This is a commonly cited reason people move away from ruby. Sometimes you need the minute control over you data. For example, if you are writing a OS or a device driver, you need to give very specific instructions to the processor. Languages that are well suited for the latter cases are usually called systems languages.

Rust and Go are examples of languages that try to fit between C and Python on this spectrum. They want to give some of the abstractions and security grantees that python provides without the overhead and while enabling some precise control of the hardware if you need it. They also provide some abstractions that may speed up you code because the language designers have thought through some complex algorithms and code better than you may be able to.

Hope that helped, and let me know if you have any questions.

I don't know much about aviation, but 1000ft seems kinda close to pass another aircraft. How normal is that distance?
Re:Summary of the Amazon S3 Service Disruption on Thursday March 02, 2017 @12:38PM (#13776186)
This makes me want to write a program that would ask users to confirm commands if it thinks they are running a known playbook and deviating from it. Does anyone know if a tool like that exists?
Re:YC Annual Letter 2017 on Thursday February 16, 2017 @01:48PM (#13662439)
Maybe just making the downvote button more like the "report" button on facebook. Force people to either select from a few common reasons, or leave a comment to explain their downvote. This could also gently enforce norms for what the downvote is for, since some people new to HN might not realize it isn't the same as reddit. Obviously there are details to iron out, but I think it would be helpful.

Older »