News for hackers. Stuff that matters.

krunaldo

Re:I'm going to work full-time on free software on Wednesday January 16, 2019 @10:36AM (#18921689)
Well, first you have to calculate that the company pays 31.42% of your total salary in payroll taxes. This is illegal to print or show in any way or form to the employee from the employer.

Then on most goods there is a 25% tax, additional taxes other categories of goods such as gas, cars, alcohol and so forth.

So if the company pays you 60k SEK, you'll see ~45k on your payroll slip. The 61% percentage is the average total tax burden on a individual from all of these taxes.

Re:Unexpected Consequences of Self-Driving Cars on Tuesday January 24, 2017 @03:08AM (#13469631)
You'll have to calculate how much it costs to buy the car and the loss of value when you estimate to sell into that as well to get a fair comparision.
Re:Cron checker on Saturday July 16, 2016 @07:36AM (#12106012)
crontab -e is the way to edit your cron. A similar command exists for editing the sudoers file which is visudo. This will ensure your configuration is a valid syntax as well as do an atomic swap of the file.

Otherwise adding a file or deleting a file in /etc/cron.d/ is the way to go for automatic(ansbile, puppet etc) and package installations.

Nitpick, Deaths due to TERRORIST attacks. Not arbitrary deaths....

"From this it follows that the average Muslim is responsible for approx 48 times more deaths than the average American of any religion."

^ This statement is false as it assumes all deaths are from terrorist attacks, based on your previous statement of 48 times more likely to commit TERRORIST attacks, of which has a silly low death rate compared to ANYTHING else in the US.

Interesting stuff, anyone know if there are other startups in China doing products that require large amounts of RnD, similar to http://traintracks.io , that's mentioned in the article.
Re:​Ubuntu continues to rule the cloud on Friday August 28, 2015 @12:04PM (#10136203)
They are. As I pointed out in my other comment:

"All Red Hat Software Collections components are fully supported under Red Hat Enterprise Linux subscription terms of service. Components are functionally complete and intended for production use. " [0]

[0] <https://access.redhat.com/products/Red_Hat_Enterprise_Linux/...

Re:​Ubuntu continues to rule the cloud on Friday August 28, 2015 @12:02PM (#10136186)
Yeah, if they are in CentOS land it will be a bit touch and go (as usual).

But if you have a redhat subscription they are fully supported. I should have pointed that out in my first comment though, thanks for bringing it up :)

"All Red Hat Software Collections components are fully supported under Red Hat Enterprise Linux subscription terms of service. Components are functionally complete and intended for production use. " [0]

[0] <https://access.redhat.com/products/Red_Hat_Enterprise_Linux/...

Re:​Ubuntu continues to rule the cloud on Friday August 28, 2015 @05:19AM (#10134429)
Assuming they are using RHEL/CentOS 6.

You can get supported ruby 1.9.3 on RHEL6 or CentOS6 https://www.softwarecollections.org/en/scls/rhscl/ruby193/ or https://wiki.centos.org/AdditionalResources/Repositories/SCL

Unless they are unwilling to upgrade their rails and using the ruby version as an excuse :) Best of luck to you!

Re:We use RethinkDB on Saturday March 14, 2015 @03:00AM (#9201787)
My tip is always to try to get in contact with a couple of reseller and play them out against each other in the price department.

If you are looking for larger purchases 50k+ USD than you should talk directly with Dell, HP or comparable vendor and put them into the play off for who you choose :)

Re:We use RethinkDB on Thursday March 12, 2015 @12:29AM (#9189168)
An r720 from dell or similar model from dell with 600GB*2 SSD intel s3500DC model, 20 cores & 256GB of RAM will go for 5k-7k. You can bump this to 386GB of ram without going above 10k.
Most of these are related to portable openssh and not openssh. These are two very different teams.
Re:Webserver in bash (2007) on Friday August 16, 2013 @03:32AM (#6222652)
Wrong!

echo, true, false and [ are builtins in bash and are in the binary. You can even do TCP/UDP through bash by using the pretend redirect files /dev/(tcp|udp)/$host/$port.

curl or wget exists on most systems by default in a minimal installation now days, nc does not, but if you run a normal installation you will get it though.

Re:It was not a DDoS: MtGox got 20k new accounts per day on Thursday April 11, 2013 @02:58AM (#5530384)
The matching engine should be separated completely from the rest of system as this is the one component where you want to align with cpu cache and all other kind of crazy low level optimizations. I do agree that mtgox system is slow but we should keep in mind the resource difference both in time and money the large stock exchanges have had time to build their systems. Most of the stock exchanges also don't build their own system but rely on buying one from a independent organization or another stock exchange.

A small nitpick: Volume is one metric but it does not matter in reality the important part is the amount of transactions on a specific symbol.

Re:GitHub is getting DDoSed again on Sunday March 10, 2013 @12:55PM (#5352526)
Yes and no :)

The tree is built up automatically but you can weight the paths and also which is the start node of the tree. There are also a lot of settings that may or may not completely fuck you over or fix a problem.

Also you really want to disable STP on ports going to servers as this will 1) speed up recovery 2) prevent any malicious packets going out from them.

Nginx introduced least_conn lb method in 1.3.1 which makes it a bit better. http://nginx.org/en/docs/http/ngx_http_upstream_module.html#...

ha-proxy is a lot better than nginx + more flexible if you want to introduce non-http to your stack.

Shouldn't the request be canceled on all levels if you cut the HTTP connection to the frontend?

Re:Show HN: A New Basic Vim Motion on Saturday January 26, 2013 @01:02PM (#5121090)
n for next match, N for previous match.

In combination with this it's almost as effective. Personally I'd use ctags and the http://vimdoc.sourceforge.net/htmldoc/tagsrch.html#tag-comma... search functionality of the tags. But I'll give you that normal text searching in emacs is a tiny bit more efficient :)

EU market is tricky as you have both the EU directives and the nations law, but in the end the EU directives have no legal power unless the nation you are operating has enacted the law.

It depends on what your domain your software is for, but I'm guessing some internety thing since this is YC. Most of the privacy concerns and etc can be found here http://en.wikipedia.org/wiki/Directive_on_Privacy_and_Electr... also any links to additional directives can be found there.

http://europa.eu/legislation_summaries/index_en.htm also contains all the EU legislation, but you if find anything troubling you should research how it's implemented in the different member nations.

Re:An idea for Github to make more money on Thursday July 12, 2012 @07:26AM (#4234016)
BW is cheap, storage is cheap. They probably run filesystem that utilize dedup or/and do it in their applications storage logic.
Re:Java 8 Lambdas on Sunday June 24, 2012 @02:33PM (#4153873)
You can't have statements in pythons gimped versions of anon functions :/
Thunderbolt supports DMA pretty much unrestricted iirc so it's a stupid standard.

http://en.wikipedia.org/wiki/DMA_attack

http://www.breaknenter.org/2012/02/adventures-with-daisy-in-...

Re:Valve Says "Yes" To Steam Linux This Year on Tuesday June 05, 2012 @09:46AM (#4068586)
uh? You can change resolutions on the fly and orientation on the fly. This have been available for ages via xrandr and other things. Via API-calls or through the xrandr cli utility.

The only thing that is really ugly in X11 is the protocol, but so is win32 api :)

Re:Scientific Linux, the Great Distro With the Wrong Name on Saturday March 24, 2012 @08:52AM (#3749245)
Since they just repackage RHEL you were probably just running a 4.x release or a early 5.x release... SL is mostly for people interested in running RHEL but don't want to pay the licensing cost.
Re:Where’s _why? on Thursday March 15, 2012 @09:44AM (#3708380)
The ruby community is awesome, the rails community less so.
Storm is another good example of small projects going big (perhaps not research wise, but building new stuff).

https://github.com/nathanmarz/storm

They did some other stuff to accommodate their needs.

Re:Lisp: It's Not About Macros, It's About Read on Saturday February 18, 2012 @07:33PM (#3608203)
(+ 1 2 3) =

add 1 and 2 and 3

The syntax is a bit terse but if you teach people a good way to read it it becomes much more readable than 1+2+3

The only reason we prefer that way is that we are thought that syntax when we do math in school, I have found it much easier to teach people lisp who have no or very little formal education in math.