News for hackers. Stuff that matters.

geekishmatt

Re:Strings are not the type you are looking for on Monday September 10, 2018 @07:25AM (#17950943)
actually the author re-discovered a pattern called ValueObject[1]

[1] - https://martinfowler.com/bliki/ValueObject.html

Re:Ask HN: Does robots.txt serve a real purpose? on Thursday March 03, 2016 @03:39AM (#11215692)
robots.txt is the "(Web) Robots Exclusion List".

Any web robots should parse your /robots.txt before accessing any site, but it's still the robot's (or its programmer's) choice to use it.

So: No, but still add it to your site and maintain it.

Re:Math: Are negative numbers real things? on Wednesday February 10, 2016 @11:45AM (#11073979)
Sometimes a subtraction of a unit absolutly legal and you are still in the same model or context. (Temperature loss)

Sometimes a subtraction of a unit is hidden-black-magic and you are switching between two models or contexts but still being in a meta-model or meta-context. (Debits and credits)

It just depends on your model or context how you interprete your value/unit relation, but this is a typical problem in applied physic, engineering or computer science :)

Re:Math: Are negative numbers real things? on Wednesday February 10, 2016 @09:09AM (#11072779)
You are mixing up the mathematical universe with the physical (also known as real) universe.

For a mathematican 42 or -42 makes sense - there are no units necessary. The mathematical intepretation of a negative number is just being element of a set.

For a physicist 42 or -42 are pointless, because a unit is missing. The physical intepretation of a negative number is the quantified absence of a unit.

- by the way: https://xkcd.com/435/

Re:OpenJK on Monday July 28, 2014 @05:34AM (#8095851)
It's a community project. It's opensource. It's HN material.

What is your definition of "HN material".

Re:Ask HN: Help me cram Java on Wednesday July 16, 2014 @05:33AM (#8041263)
Re:Which should i take, php or ruby on rails? on Friday May 23, 2014 @12:07PM (#7789928)
Don't use Ruby/RoR and stay with PHP. PHP has got a large community, there are alot of modern frameworks and libaries like Symfony2, Silex, Doctrine2, Monolog, Assetic, Twig. There are also tutorials and snippets about caching with Memached/Varnish in combination with Symfony2/Silex.
Re: on Thursday April 24, 2014 @05:25AM (#7639121)
Re:Ask HN: A 19 year old, what should I do? on Tuesday April 01, 2014 @08:29AM (#7507526)
Go to college, get your degree and invest your spare time for networking, personal projects or some open-source projects ;)

Try to learn few more languages an/or paradigms...

Re:Kernel panic when pressing alt+PrtScn+c in Ubuntu on Tuesday November 05, 2013 @11:02AM (#6675772)
according to ubuntu documention you need to press alt+PrtScn simultaneously for any sysrq action
Re:Kernel panic when pressing alt+PrtScn+c in Ubuntu on Tuesday November 05, 2013 @10:57AM (#6675738)
according to http://en.wikipedia.org/wiki/Magic_SysRq_key PrtScn+C means "Perform a system crash. A crashdump will be taken if it is configured."