skysight-inc/HackerNews huggingface dataset:
It's faster than what my Lisp raytracer used to be... I feel ashamed :/
I used Compose-^-0 to generate it. That used to make a degree sign. I guess it makes slightly more sense for it to be a superscript though. I wonder what the new compose sequence for degree is..
Didn't realize that. Fixed now to only have read-only scope.

Edit: Obviously, we aren't going to do anything malicious with your data too, but apologies for the oversight.
This is why I've become very fond of a little advertised part of haskell: the where clause. Every function can have its own little library of subfunctions, without polluting the toplevel namespace.

Whenever code starts getting complicated, I break it out into a subfunction in the where clause, which means I give it a name, which makes my code more self-documenting, and incidentally keeps the indentation level sane. Breaking things out into lots of little functions like this often makes it apparent when the function in the where clause is more generic, and does belong at the toplevel, and then the code is already separated into a function that's easy to move out of the where clause (closures do mean additional parameters sometimes need to be added, but the compiler will make sure you get this right).

The other nice thing haskell brings to the table, which would be more helpful in the first example given, is the ability to write your own control flow functions. For the first example, which keeps trying different actions from a list until one succeeds, and returns its value, I would write a generic function to do that. Its type signature would be:

firstM :: (Monad m) => [m (Maybe a)] -> m (Maybe a)

Of course, I don't need to write that function.. I can just paste the above type signature into Hayoo, and get directed to an existing implementation: http://hackage.haskell.org/packages/archive/darcs/latest/doc...

If I did need to write firstM, I'd feel special to have been the first to think up such a generic and useful function. So it's win-win-win all the way. :)

Anyway, the code to use it would look something like this:

get_cached_user uid name = fromMaybe nouser <$> find
where
cache a = do
r <- a
cache_set_user uid name r
return r
nouser = error "user not found"
find = firstM
[ cache_get_user_by_id uid
, cache_get_user_by_username name
, cache $ db_get_user_by_id uid
, cache $ db_get_user_by_username name
]

As another example of this refactoring of control flow, looking at the cache function above I realized I've written those three lines several times before. So I just added this to my personal library:

observe :: (Monad m) => (a -> m b) -> m a -> m a
observe observer a = do
r <- a
observer r
return r

(I seem to be the first person to think of this function.. yay!)

With this, the "cache" function can be written as just

cache = observe $ cache_set_user uid name
The Mozilla Story - A Short Video
I have 3 VPS'es rented for various projects. Also a Synology NAS at home (it switches off and on automatically at a daily schedule), used mostly as a backup storage.

I use GoodSync to synchronize my Documents folder with the NAS, and the NAS pushes nightly encrypted snapshots to one of my VPS.

You can rent a VPS for as low as few bucks per month, so why bother with keeping it at home?

At http://www.buildyourvps.com/ you can rent a VPS extremely cheap. It's a bit slow, but totally fine for a Git repository storage (powered by Gitolite)
The code is pretty basic, and one can guess many of the requirements from it:

http://andersk.mit.edu/gitweb/scripts-static-cat.git/blob_pl...

The alternative to reinvention is usually borrowing other people's code, and it's often not clear that this will increase confidence in the correctness of the code.

What I take from this post is a reminder that efficiency worries need not deter one from using languages like Haskell for this kind of task, despite the widespread belief that "CGI programs have to be small". The example would be that bit more compelling if the authors had used Quick Check to partly specify the code.
I can describe you actual Belarusian politics (as it is in real life, not in papers): "you're not free". Now it becomes that in _both_ life and papers.
Good points - as for criteria - this is just a fun little app we did over New Years weekend to give us coders a way to say thanks to our personal GitHub heroes.

Will fix the form issue.
100%. I think a lot of us techies did great on the math section of the ACT/SAT and very poorly on the writing/english section. (not that any of that really matters) I spend a majority of my time writing now. Why? Because it's the most efficient way to "spread the word".

In the times of a meritocratic information tech culture, documentation is king. It's tangible, it's reproducible and can be easily transferred throughout generations.

edit: grammar :)
> Then there's C7(#11), which you'll often find when C is the IV chord, 'cause the IV chord gets a Lydian scale.. but now I forget how that explains anything.

I'd say it's usually the other way around: if you want to improvise in a Lydian mode, use a 7th(#11) chord on your IV, while improvising; if you're composing, use this chord to hint the interpret to use this scale. And so on.
Inquiry Into School Officials’ Travels Paid for by Pearson
In countries where you can go to jail for being an oppositionist law only applies to people gov wants it to.

No problem with prohibiting something to the general population and still using it when it's convenient for the rulling class.
I bought a cheap Samsung dumbphone for this very reason--I was actually missing important calls (a job interview invitation was what tore it) because my smartphone battery couldn't handle a day of moderate use.

Now, I keep my smartphone in my pocket for internet use (like a little computer) but for calls, I use my little Samsung. It lasts about a fortnight with daily use of up to an hour on calls before I have to charge it.
Koubachi Web App Helps You Take Care of Plants [Invites]
Last week I self-published my first book.

My visit to North Korea last year amazed me at how much we base our impressions of North Korea on pre-conceived notions. I already blogged daily (http://joshuaspodek.com), but the experience affected me so much I started posting twice daily, one post on North Korea (http://joshuaspodek.com/category/northkorea).

Then Kim Jong Il died and tons of articles came out on North Korea, many or most had the same pre-conceived notions or assigned credit to the leaders that I thought were properties of the system, making understanding or achieving change difficult.

Reading all those articles, I felt compelled to put my perspective out there. My posts on HN got high karma. I assembled a number of my posts, polished them (they needed more polish than I thought), and posted them on Amazon and Smashwords for download to electronic devices (http://www.amazon.com/gp/product/B006PMDXTM?ie=UTF8&tag=...).

The first time was laborious and time-consuming. Now that I've done it, I know how to do it easier and I plan to do it many times.

I'm going to start marketing soon. The big news days when Kim Jong Il died motivated me so I missed them as days to sell books, but I hope the book changes some people's views of North Korea and helps motivate people toward effective change.
http://thenounproject.com/ offers much more and with a CC license
Red (many color) training clothes
We supply a comprehensive range of Training Pants Cloth with comfortable materials. The Training Suits price is affordable. Don’t lose the good chance to buy Training Apparel.
This is why car chargers have a 5V regulator in them.
I'm in the middle of setting up a bunch of little servers under VMware on my Windows desktop. I'll probably move them to a dedicated Linux VM host at some point. They're all Ubuntu Server instances with 1 CPU and not much RAM. The first one I set up was an apt-cacher server to cache packages from the Ubuntu archives for the other VMs :) I'll be adding a fileserver (ftp and probably NFS), a dedicated build machine (with more CPU and RAM) and a firefox sync server. I might add a diaspora node, email server, and/or a little web server for a blog.
Thank you! Very useful.
They still do in the VFX industry - 48 hours+ is not uncommon when using Arnold. The difference is, these days, the output is literally physically photo-realistic, with fully-accurate GI lighting and accurate BSDF material interaction. There's normally over 200GB of geometry and over 100GB of textures too :)
I've trained and assisted 100s of people with fitness and nutrition. This is flat out wrong. I have yet to see any recent credible research that says all calories are equal. It is a fact that hormonal response varies widely based on where that calorie is coming from.

Out of curiousity I clicked on one of the articles you linked to: "...during a 6-wk period of hospitalization. Consequently, 43 adult, obese persons were randomly assigned to receive diets containing 4.2 MJ/d (1000 kcal/d) composed of either 32% protein, 15% carbohydrate, and 53% fat, or 29% protein, 45% carbohydrate, and 26% fat."

A 6-week period with only 43 participants? ...how does this get published?
OK, but the economy can only support a certain number of tin-knockers, plumbers, septic-tank cleaners, janitors, etc. These jobs exist because there are other people with other jobs that can pay for these services.

The reality is that when folks have bills to pay, considerations of "status" will only last for a few months. A few months of unemployment and depleted savings will make _anyone_ reconsider what jobs are "beneath" their abilities.

Finally, its not like anyone can be a septic tank cleaner. It takes a bit of knowledge, the ability to develop a customer base, significant equipment, and is restricted to certain geographic locations (where people don't have sewers).
It is very sad, I couldn't believe it when Vince told me. Way too young and too much great stuff left to do.

I'm sure his family appreciates the communities outpouring of support, thanks for that everyone!
Ben
Site5 CEO
They are made in SVG. My icons are made in HTML/CSS3. See the difference?
I am down also!
Just launched the game trailer of CandyPot:Winter (Iphone)
Android and iOS both lose usage share in December as BlackBerry gains
I don't own a PS3 or an XBox360. Neither do many people who own iPads. A significant number of us are interested in playing games that are well suited to an external controller, but are not interested in spending $200+ on a new game system (plus display), particularly when we already own a portable device that is capable of running the software but is limited by its native interface.

I understand that the ability to plug in a controller can support lazy porting, but I suspect this is largely in addition to dedicated work on using the touch interface in creative ways on new projects.

"Forcing" developers to confront new interaction design is an odd expectation for a popular consumer electronic device, and doesn't really justify denying a large group of users the opportunity to enjoy some great games/software through the use of an optional accessory.
As does Lisp: http://lambda.bugyo.tk/cdr/mwl/
Startup lessons : building distribution by dealing with large companies
At Lukup Media (http://www.lukup.com, twitter.com/lukupmedia), we are building an interactive TV platform - it allows the creation and delivery of interactive ads and content on digital TV (satellite, cable) and this post summarises the lessons we learnt building distribution by dealing with very large companies (in our case, satellite and cable TV operators, and TV channels). We have done well, having built distribution that reaches out to 20 million TV homes in India, larger than number of homes reached by BSkyB or Comcast.

Lesson 1 : Existing vendors of your partners play a big role in determining your success : in our case, these vendors were set top box, middleware and conditional access providers. And while some of them were reluctantly helpful, some were downright terrible, one vendor for example, refused to accept bug reports and instead wanted to classify 'bugs' as 'change requests' ! So, consider the vendor and support ecosystem well.

Lesson 2 : revenue share vs fixed fees : when you build distribution, there is a decision to made - whether you want to share revenues with your distribution partners or pay them a fixed fee for the distribution. Too many rev share agreements makes the business feel like having too many moving parts. Sometimes, fixed fees work better than rev sharing.

Lesson 3 : Letters of Intent and MoUs mean nothing : atleast in India, we found that these pieces of paper mean nothing. Large companies are serious only with legal contracts, everything else is subject to change ! Do not bet your money or time on intent, in principle approvals or memorandums of understandings.

Lesson 4 : Measurability is very important : especially if you are building distribution. In our case, we have worked with some 'one way' satellite and cable platforms but explaining that to media buyers doesn't help. Even if it is difficult, you got to measure it somehow. If you can not measure distribution, its as good as not having it.

More on this later, as we continue to learn.

xx
This is just bad technical writing. He is unable or unwilling or simply too lazy to produce a single concrete real-world example of the object of his high praise. He says he has found applications ranging from real-time embedded systems to library loans, so how hard would it be for him to to give a simplified version of one of those applications as an example? Heck, I'll settle for a non-real-world example, as long as it's tangible and concrete.

Contrast this with Jonathan Edwards's presentation on schematic tables (a powerful generalization of state charts) which despite its somewhat academic feel makes a strong case to the reader by employing a significant non-trivial example--an example which is admittedly also elegantly solvable in a lazily evaluated language like Haskell, as I pointed out to Jonathan a while ago: http://alarmingdevelopment.org/?p=366
The gift of tongues: What makes some people learn language after language?
How could online banking stop sucking
nope :)

I mean, what's the benefit of having your graphics in CSS? It's supposed to be defining your page styling, not the content
I've had this smae idea many times! I really think its feasible but I can't do the math* either :-(

I've come to think there are many ways to reach orbit with our current levels of technology but it's just too expensive to do the R&D.

* I actually got suck on figuring out the helium required because everytime you add more helium it adds more weight which requires more helium and so on. It must need some kind of complex differential equation.
This case is only relevant to SSDs with a sandforce controller, however -- as (only) the sandforce controller compresses data for increased speed, which cannot be done with encrypted data.
Each service is independent (you might only use 1 of them, or all X)..but tagging is probably the simplest to explain.

Say you run a site that display videos and you want people to be able comment on certain parts. You'd hook into the the tagging api to let users tag the videos.

Here's a working demo..you can click on the tag that I added, or add your own..
http://little.io/playground2
First, put some junk up
Sugar: The Bitter Truth (which made top story on HN a while ago) is a great 1h30 video to watch about this:
http://www.youtube.com/watch?v=dBnniua6-oM
I can give an anti-example of a table-driven system, although I am going to come right out and say that the table-driven aspect of this system has nothing to do with why it was such a problem. In reality, the project suffered from Conway’s Law: Its architecture was driven by the way in which management divided up the work of designing and implementing the system.

http://weblog.raganwald.com/2008/02/mouse-trap.html

tldr: Excel >> VBA >> XML >> XSLT >> Java!
You're way too right. But wait, don't you live in Poland?
The feds and other serious folks are pretty careful these days not to turn off anything until they've had forensics evaluate the situation. And not just because of FDE, memory analysis very frequently yields the best evidence due to it's timely and overlooked nature. Since most encryption systems retain their keys during lock and sleep, unless you usually leave your system powered off I wouldn't count on being afforded much privacy if you're interesting enough to bother.

That said I still use it on both of mine and definitely suggest it, it's a very small performance penalty for what will be a godsend if your laptop turns up lost or stolen.

https://code.google.com/p/cryptsetup/
It's an excellent precaution against the much more mundane and common threats like loss or theft though
tnx, michokest, fully understand your pain
You guys don't know many college students, do you?
Quite disingenuous to state that "Android is open" is bullshit and at the same time
the article finds no mention of Apple's overarching "closed is better for you" attitude.

(Yes, the article hints at Apple's closed-ness. However, only relatively minor, disconnected,
issues. Not the overall attitude.)
Beta Raspberry Pi boards for sale on eBay
Suicide should be made legal
Online cheating is infectious, study finds
Graphics in CSS would reduce the extra HTTP requests and the use of images, thus improving the site's loading time. SVG is also slower than CSS3 :)
"My anecdotal evidence is better than yours."
seems like someone's lobbyist got what he was paid for. Something like this makes no real sense, unless you are an internet service provider(domain, hosting etc)
Interview on the Hackasaurus project.
Huntington Eco classical Guitar in Black
Price: $175.99.Save $20 off Christmas Day Sale. Free Shipping Worldwide. Wholesale Guitars From China. No minimum!
SEEKING WORK - Remote, US, EU: Python, Golang, Flask, Mongodb, PostgreSQL, Android, jQuery, Google Web Toolkit, AppEngine (python, go)

Love building software! Specifically love working in exciting environments. Would love to work on some interesting projects my email is in the profile.

Linkedin: http://www.linkedin.com/in/lateefjackson

Blog: http://blog.hackingthought.com/

Resume: http://hackingthought.com/releases/Lateef_Jackson_2010.pdf
KataKuti 2011 Bengali Movie Mp3 Songs Download
I run two servers at home - one as a test server for web development which also doubles as a git repository and a media server.
What is winning, after all?
but then you cut off all incompatible browsers, which are many.

besides, lightweight servers like ngix or lighttpd are quite efficient in delivering small files
You're not right. There are no lobbyists in Belarus, but there is a president that rules for about 20 years already, doesn't want to leave the president place and likes restricting free people.
Well, all the pathfinding and at least some of the map rendering is being done server-side, and the 3D drawing is mostly offloaded to the GPU. So I would actually be surprised if the CPU was working hard for Nav.

My guess is that a lot of the power suck during navigation comes from:
- Keeping the screen on
- Constantly reading the GPS
- Loading new map tiles, traffic data, etc over the radio
- GPU rendering at 30fps or so
You could use WorkerThreads to do it in tiles - that parallelises nicely and would give you almost linear speedup.
I'm doing this too.. The multimegabyte size of the haskell executables is the only drawback.

Well, and some portability issues if you want your code to be usable everywhere, since ghc is not bootstrapped on every artchitecture.
This is a space that will likely never be "disrupted" because the people capable of doing it don't have the huge capital required and the people who do have the capital don't really give a shit.
An automated update of the decoy would be a good addition to such software.
When I open the page from here (either foreground or background) it closes immediately. Works fine if opened in new tab.

Opera 11.60, no extensions, Windows 7 x64, logged in to github
2012: Alan Turing Year global events
I am done with the freemium business model
Which is what we thought was happening with Dropbox and why people were up in arms about discovering that it wasn't the case.

There remains the space for a cloud sync service that encrypts client side and provides good enough clients for every major platform.

Spider Oak comes close, but it's just too damn ugly an interface and isn't the "Install and forget" option that Dropbox is.
I only add that "Owners of internet cafés or other places providing internet access must restrict their access to belarusian domains" is a complete lye. Cafes are only recording IDs of users, and that's it. So, noone would be able to conduct crime onlime from public internet. This article is yet another piece of stupid propaganda we already used to from the 'democratic' countries.
Maybe https://simple.com/ is the best chance to start pushing the banks to improve their online interfaces.
see http://help.agilebits.com/Knox/why_knox.html
Mysterious GameStore App for iPhone Hits App Store
Indeed, even the old "Heaven to Hell" rule has been tossed in the past century: http://en.wikipedia.org/wiki/Cuius_est_solum_eius_est_usque_...
I did somewhat poorly on math, but I got near perfect score on writing exams.

It was ironic since I sucks at grammar. Maybe sometime when I am highly focused, I make less mistake. In any case, I did not put much value on my high school math because they don't teach me how to think in mathematics and do rigorous proof.

It's one thing to know formula and steps of how to do something, it's entirely another to think math as if it were another language or something to discover.
Hehe, yes it does survive :-)
Ruby on Rails (which includes principles of CSS/HTML).

It is a realistic target for noobs.
I exchanged a few emails with Matt in the early days of Site5's support for Ruby on Rails. Truly upstanding guy who was committed to his business. So sad to see him pass away so young.

We don't know what's the cause of death, but given his young age, there is a chance that he may have taken his own life. Depression can be a disease as real as heart disease. If you are depressed, and reading this, please seek help.
Alquiler piso y venta de Pisos - comprar Casa - chalets - inmuebles
Although many people recommend eating many small meals, it doesn't let your insulin levels return to baseline levels. As a result, you're training your body to not get its energy from body fat.

It's a lot to read, but this article explains it: http://gettingstronger.org/diet/

Basically, we need to gradually give up snacking if we want to lose weight, then just stick to 3 meals a day, and if you're ambitious do intermittent fasting.
Treat Your Ideas as Tools
In fact, its sort of a thing in Japan.
http://en.wikipedia.org/wiki/Moe_anthropomorphism
> He came up with a law of motion to explain how two balls of different weights, dropped from the same height, hit the ground simultaneously.

I've been thinking about this for a while.

The two balls hit the ground at the "same time" because relative to the earth, they are about the same mass (ball #1 is only 1/2 the mass of ball #2, and the difference between that and the mass of the earth is negligible).

Once you start making ball #1 and ball #2 massively different, one of the balls begins to attract the earth itself more than the other ball.

For example...

1) Take a basketball, drop it. Measure the time.

2) Take a miniture blackhole, drop it. Measure the time.

While earth's pull will be the same on both the basketball and the blackhole, the blackhole's pull on earth will be much much grater than the basketball's and hence the additive acceleration will be larger.

But, if you drop them at the same time, next to each other, things will even out since the earth will move towards them both as it moves towards the one.

What do I win?
For older browsers, we can use a conditional tag and replace those icons with images. These would surely be useful when CSS3 gets supported globally.

These can be useful for some in one way and for some in other way. I like to play with CSS3 so I created them.