HN user

kia

1 karma
Posts97
Comments135
View on HN
en.wikipedia.org 14y ago

Orders of magnitude

kia
5pts1
www.emarketer.com 14y ago

US Online Advertising Spending to Surpass Print in 2012

kia
1pts0
en.wikipedia.org 14y ago

Cool data structures: Splay Trees

kia
2pts0
www.stanford.edu 14y ago

GNU libavl

kia
6pts1
unix.stackexchange.com 14y ago

Restart Linux machine with broken root FS via SSH

kia
1pts0
news.ycombinator.com 14y ago

Ask HN: Best book you read in 2011

kia
336pts307
www.skynews.com.au 14y ago

Massive DDoS attacks on media during Russian elections

kia
3pts0
www.linuxfromscratch.org 14y ago

Linux From Scratch 7 Released

kia
133pts27
www.ubergizmo.com 14y ago

Personal jetpack in 2012 for $100,000

kia
84pts38
www.economist.com 14y ago

Holes in scientific publishing

kia
4pts0
wcatwc.arh.noaa.gov 14y ago

Alaska 7.1 earthquake. Tsunami warning

kia
4pts0
www.reuters.com 14y ago

Regulators want HFT firms to disclose algorithms

kia
4pts0
www.theregister.co.uk 14y ago

Kernel.org servers were infected for 17 days

kia
1pts0
en.wikipedia.org 14y ago

Copyright length in different countries

kia
3pts0
en.wikipedia.org 14y ago

Happy Sysadmin Day

kia
107pts25
www.ideals.illinois.edu 15y ago

Exascale Research: Preparing for the Post-Moore Era [pdf]

kia
1pts0
www.microsoft.com 15y ago

Office 365 Launched Globally

kia
5pts0
online.wsj.com 15y ago

The Male Biological Clock

kia
9pts0
arxiv.org 15y ago

Hacking commercial quantum cryptography systems

kia
1pts0
www.bloomberg.com 15y ago

Russian most popular search engine has the biggest 2011 tech IPO

kia
2pts0
www.nxp.com 15y ago

An Internet Address for Every Light Bulb

kia
3pts0
dvice.com 15y ago

Typewriter RIP

kia
4pts2
nightly.mozilla.org 15y ago

Firefox 6.0 alpha available

kia
23pts7
lists.ubuntu.com 15y ago

Gnome desktop instead of Unity in Ubuntu 11.04?

kia
29pts33
en.wikipedia.org 15y ago

World Giving Index

kia
1pts0
maps.google.com 15y ago

StreetView availability map

kia
1pts1
vadim.oversigma.com 15y ago

Original Tetris - The Story

kia
2pts0
www.linuxinsider.com 15y ago

German government is switching back to Windows

kia
2pts0
www.bbc.co.uk 15y ago

Assange loses extradition fight

kia
11pts0
www.youtube.com 15y ago

Doom on a calculator

kia
4pts0

There is a reason why I would never use such service like Prismatic. The main problem for me here is that it creates a confined universe for you where you are surrounded by only "relevant" information. For example I don't care much about fashion, but once in a while reading NY Times I stumble upon a very interesting articles about new trends in fashion or its history. It makes me think out of the box and expands my knowledge. There is no way a service like Prismatic would provide me with such articles based on my interests.

The big difference of drugs from alcohol and tobacco is their addictiveness. While you can't get addicted to alcohol or tobacco after one use, certain drugs cause severe addiction after first dose. Of course you can legalize only mild drugs. But it won't solve the problem because as we see this business is mostly about very addictive ones.

EDIT: typo

In US (not counting downtowns of large Cities like NY or SF) it is much harder to enjoy walking compared to most other places in the world.

First you just look weird here when you walk somewhere and you are the only person walking in the street. Drivers usually look at you like you are crazy (especially if you walk in the evening when it's getting dark).

The second and most annoying thing is that sidewalks here can end suddenly without a warning. You can walk somewhere enjoying the nice weather and the sidewalk ends suddenly! WTF? You have to turn back or continue walking using the side of the road looking even more weird.

And the most strange thing is that Americans use their cars to drive to places located within just a couple of thousand feet from their home. For a person from Europe THIS is really weird.

One problem with induction cooking is that you have to use cookware made of ferromagnetic metal. For other pots an interface ferromagnetic disk is required.

Here are major C11 Standard changes:

  - standard multithreading support (<threads.h> header)
  - atomic operations (<stdatomic.h> header)
  - type-generic macros (sqrt translates to sqrt, sqrtf, sqrtl depending on argument type)
  - Unicode support (char16_t and char32_t types)
  - gets function is removed from the standard (use gets_s)
  - static assertions
  - aligned memory allocation (aligned_alloc)
  - anonymous structures and unions
  - no-return functions (specify functions that never return)
  - exclusive access for opened files ("x" in fopen)
  - macros to create complex numbers
  - additional way to terminate the program (quick_exit and at_quick_exit)

In scientific computing it's not unusual to get 2x-3x speedups by doing simple optimizations like this one. For desktop applications it's nothing, but when your simulation is taking a week to complete then 2x-speedup is a huge improvement.

I think strategically it's a wise move. For MS 7.5m is a small sum. In case IPv6 will not be deployed at the speed we all want their investment will pay off tenfold because IPv4 addresses will be gold. They try to hedge the address exhaustion risk.

I am using LFS as a primary OS for Linux development and on servers. I can tell my story how I ended up with LFS in the forest of Linux distributions.

Some time ago when I started to learn Linux I have tried a lot of different distributions. All of them had their quirks. Some were buggy. Some were slow. Some had extremely weird and bloated configuration systems. Imagine several layers of abstraction above plain standard configuration files when you have to learn everything basically from the beginning with a different distribution. For example on top of standard config files they may have some configuration system (like YaST in SUSE) on top of which the GUI sits (so 3 layers just to change the screen resolution). Many distros have their own "unique" way of configuring the system. And when something will brake you will have no idea where the problem might be. Is it a bug in the package or in some layer of configuration system or somewhere else? I understand that they try to make the system more user friendly. Well, every one has its own niche.

With LFS you just learn the configuration of basic packages once. The way that package creator intended. Plain text files and nothing more. As an additional bonus you have great performance and security because you only have the packages you need. Plus everything is optimized for your architecture. If you have ever used some distribution in a virtual machine on a slow notebook you know what I am talking about.

When I built LFS for the first time I did everything by hand. It was a very useful experience and a nice way to learn. Of course now I don't do it manually. You can use automated tools (jhalfs for example) which extract instructions from the book and do everything for you. I don't use any graphical environment so no need to build a lot of stuff beyond the base system.

Of course LSF has its own issues. Lack of package management is one of them. But if you like minimalistic and fast systems you should give LFS a try.

I down voted because you give a dangerous advice. The concentration of salt in sea water is higher than in urine. Drinking sea water rises the level of sodium in blood very quickly which sends signal to your kidneys to get rid of that salt. But as kidneys can't produce urine with the concentration of salt higher than certain level you need more body water to excrete the amount of salt you consumed with sea water. Roughly speaking you need 1.5 liters of fresh water to excrete the salt you got with 1 liter of sea water. Eventually the concentration of salt will become dangerously high in you blood and you will die of heart failure or seizure. So I would say that drinking sea water will actually DEPRIVE you of extra day of survival which may be lifesaving.

Modern survival guides consistently advice against drinking sea water.

Speaking of Alain Bombard. The most likely explanation here is that he consumed enough FRESH water (with fish and rain water) to dilute sea water he drank to safe levels for his body.

So if you are on a boat in the middle of the sea NEVER drink sea water. This can save your life.

For those who don't want to download: it's 1.7 MiB of assembler instructions with comments. Looking at this you start to understand how hard game development was in 80's (this game is from 1986).