skysight-inc/HackerNews huggingface dataset:
As a PL enthusiast that likes to dabble in different paradigms and basically learns a programming language or two every other year by far the hardest language to wrap my head around has been Haskell.

There are a few reasons for this that get dismissed by the day to day practitioners. First, there is the cognitive rewiring required to think of everything as an inert expression. In Haskell there are no actions, just descriptions of actions that the runtime manages. I'm specifically talking about I/O and its monadic implementation. Second, learning about monads is not enough. When effects are encapsulated as monads you need to understand monad transformers to fruitfully combine effectful computations. This is by no means the best way to do things because there are also implementations of effectful computations with row types and extensible effects, e.g. PureScript, that requires a lot less cognitive overhead and is less error prone. Third, many of the high-powered libraries in the Haskell ecosystem are so heavily reliant on categorical constructs, e.g. free (co)monads, functors, applicatives, monoids, bifunctors, Kleisli categories, etc. that getting through all that thicket to be truly productive with the libraries instead of just copying and pasting requires a time investment that is of dubious value to many programmers and you're better off learning about security practices on OWASP because you are more likely to encounter a SQL injection than you are to encounter a Kleisli category of a monad.

I'm not saying knowing these things is not useful or won't make you a better programmer but to just demonstrate that there is indeed a cognitive overhead that might not be worth it. I like category theory as much as the next mathematician but programming with categorical constructs is not necessarily the most optimal way to do things when all I need is a screen scraper for an XML feed.
Hi! A few questions:

- How do you deal with software that has been previously run with coarse grained parallelism, optimized for Multicore/Multinode x86? In my experience, GPGPU porting often leads to a tedious, mostly mechanical conversion from coarse grained to fine grained, which usually includes privatizing all your data manually in your parallel domains.

- Can you do multinode / multi-GPU without wrapping everything in MPI?

- Can ArrayFire also run on CPU clusters?

- How do you deal with different storage orders? Up until now, GPUs often require a different storage order than CPUs, (wide vs. narrow vector processor) - and how does that factor into the last point?

Sidenote: I've been dealing with above problems in a Fortran based research project and have created a preprocessor framework[1] to deal with it.

[1]https://github.com/muellermichel/Hybrid-Fortran
All I need is WOW to throw in a $100 upgrade that includes a shuttle from KEF to the Blue Lagoon[1] for a quick hot water wallow to take the pain out of sitting in a cramped seat for a few hours, then back on the bus and onto another plane for the onward leg. Transatlantic flying would be a whole lot more tolerable.

[1] http://www.bluelagoon.com/ - no, not a natural geothermal spring, but no less relaxing for it.
The study isnt correct in its conclusions: People writing stuff down to be used in a card game, arent going to commit info to their memory. They should tell people they will take the paper away at the beginning then do the same study
Based on the fact that it has a "Bitcoind RPC port" option, I think it is safe to say that it just relies on a running Bitcoin Core node.

That means it does not support deterministic keys. Users will need to be careful to back up their wallet.dat file on a periodic basis.
Obama in China: Taking Candy from a Baby
Visual Studio Lightswitch is a thing, included in Visual Studio 2012 Professional onwards. It's essentially a tool for building a database (or interfacing to an external one) and putting a CRUD UI on top of it, while it allows for extending it with real code nearly everywhere. It also integrates into other enterprise-y stuff, supposedly.

The issue is... you're stuck with Lightswitch once you start using it. There's not an "export to standalone C# project" button, I believe; you'll always be dependent on the Lightswitch libraries, which Microsoft will probably decide to drop or radically change in the future, at least before .Net itself is dropped.

And that's going to be sort of the problem with all these systems. Unless it can output pure, maintainable C# code (or whatever else), not dependent on significant libraries specific to the RAD toolkit, there's a very high risk that the toolkit and libraries become unsupported well before the application stops being used.
More like the opposite. They should be more tightly integrated.
How many years ago was the Windows8 release?

Was that a scummy trick? Or just a dumb move?
Samsung Digital Health: Simband and SAMI Data Platform Open to Developers
Taylor Swift’s Spotify Paycheck Mystery
To say that we are "more" than just atoms is worthless without defining what that actually means. Magic dust doesn't have much of a place in reality, and that seems to be what you're offering. Why can't we just be a collection of atoms?

Saying science thinks we're just atoms and "random emergent behaviors" is no better than those pushing intelligent design saying evolution is a "random" process. It shows gross ignorance of how order can emerge from chaos, and the processes we already understand.

And, as best as I can tell, nobody would care if we disappeared tomorrow. The universe would keep on universin' as it always has. The reason to rejoice thinking this way is because of how amazing it is that we have the ability to know this and do things to prolong ourselves and our species.
Yeah, the Chris Dixon analogy piqued my interest too. I've thought about it a bit, and I've identified two useful ways to generalise UNIX commands to web businesses:

1. Take a command that would run over files on a filesystem, and instead run it over pages on the Web.

Examples: find | xargs grep -i -> web search engines (Google, etc.). talk -> IRC / ICQ. Creating timestamped text files in a per-user directory -> blogging.

2. Take a very powerful & useful UNIX command that's complex to use correctly (and possibly damaging if you screw it up), and make it easy, user-friendly and risk-free.

Examples: rsync -> Dropbox. awk -> spreadsheets (Visicalc, MS Excel).

I'm currently racking my brains for other commands that seemed useful but complex to me in my Linux sysadmin youth. :)
Attending 2nd week of Cousera’s Machine Learning course
I think security researchers are getting a bit caught up with the glam and the glory of huge blockbuster bugs.

Cash rules everything around me
CREAM, get the money
Dollar, dollar bill y'all
AT&T to halt Internet investment
I'm not sure I entirely agree with this. Office on iOS and Android is (in my opinion) geared at being able to read and maybe edit Office documents. While these apps can certainly create Office documents, they're not really suited to it. One would ideally do that using a laptop or PC. And that then simply makes mobile a way of further entrenching Office - people who use it at work can now use it on their devices. People who use it at work and on the road are (again, my opinion) more likely to use it at home. Win for Microsoft.

On the devices side? Sure, Surface and Lumia are nowhere near as successful as the iPhone, iPad and Android. That was Microsoft coming late to the party. But come to the party they must. Before Windows Phone shareholders screamed for an iPhone competitor from Microsoft. After Windows Phone shareholders screamed for an iPad competitor from Microsoft. Windows Phone is good, and has some loyal fans. Windows 8 didn't do much for Surface, or Microsoft. Surface hardware is however also good, but new.

Ultimately the devices strategy strikes me as being sound - it's a platform to showcase the services side of Microsoft, and in time may be profitable to a point where the critics are satisfied.
Thanks for making this! I have been requesting this for over a year now and haven't had the time to do it myself. This will totally change the way issues are handled.
.NET is big in enterprise too, not just desktop.
That's correct. Currently it requires private keys on the Baron server, which means the wallet must be encrypted and backed up often. Encrypted means the keypool must be refilled periodically.

If there is sufficient demand it would be theoretically possible to include watch-only support so the Baron server need not have private keys online. Ideally this would work with a Hierarchical Deterministic wallet where the server does not need to be periodically refilled with unused addresses.

Hypothetically this could be done today with a javascript library that generates the public addresses as needed. I am not sure if such a library exists at the moment?
I'm likely to forget many things. In some cases, I'm less likely to forget them for having written them down, a form of repetition that helps reinforce my memory. I couldn't tell you the last time I wrote down information about the position of cards in a grid, but suspect it was never.
Right now it is x86 Android only, not ARM, which is the vast majority of Android devices:

"You need to recompile your code for x86. If you have parts of your code that can only be compiled for ARM, or you depend on 3rd-party libraries for which you do not have an x86 version, your code will not run on our emulator at this point."
Ask HN: What are the best realtime stock quote APIs?
Just curious to know what the community uses and prefers when it comes to realtime stock quote APIs. Pricing, simple tick data vs full book, which asset classes, etc.
Oops sorry! Didn't realize that.
I interviewed for a data position at a major internet clothing store last year and they said their return rate was in that ballpark. (I don't fully remember the number)
I find it very hard to believe myself, because when you can obtain for free, why not go for the latest, shiniest version? But the reality is, most of Chinese computers are still stuck with XP, whatever the reason is.
SqlPartitioner Ruby Gem
Just like I wouldn't recommend a European take a job in Mississippi I wouldn't advise an American take work in Poland.
SES is socioeconomic status, i.e. a combination of wealth and education.

In terms of reading more about what's going on in the US in general, the best sources of information are probably just the (often yearly) reports put out by the major governmental agencies: the CDC, the Department of Education, the DoJ, the EPA, etc.
Because someone overqualified (worse, an overly educated and successful writer) is assumed to look down upon the McJob. Nobody wants an employee who resents what they are doing, as something that they have sunk to. Also, nobody wants an employee that will bail as soon as their publishing activity picks up. Or one whose mind is somewhere else at all times.
Thanks! I'll fix this ASAP.
Amazon's environments meet PCI standards and there are folks with PCI Level 1 companies running their infrastructure in AWS and storing credit card data there.
That it is a last resort is just writer's hyperbole. Why, the true last resorts are activities like driving taxicabs, or putting up drywall (or painting it).
No. There are plenty of articles in China about how an evil empire the US is, but mostly on how it misuses its military, financial and cultural power, how it instigates unrest in other countries, how its democracy is a fake one, etc. Seldom if any mentions US hacking.
blank for me as well
The absurdity of betting your livelihood on a Microsoft 'promise' aside, to me this reads as a green light to use, but not extend, the .NET runtime.

MS still doesn't get free software, and probably never will.

Edit: My bad. "As part of a .NET runtime" means you can extend it. But I'd be no less nervous about using it because it is not a license, merely a 'promise' with questionable legal weight.
Yes, okay, however my point was we don't actually need constant-time operation if the timing is uniformly random. Clearly that doesn't mean we introduce a random sleep, but it means we carry out computations in a way that timings aren't data-dependent and an attacker can't separate signal from noise.
You mean Brendan Eich? He is not just the ex-Mozilla CEO, He also invented JavaScript.
I don't think that almost every group is a hivemind. I don't think HN shares many characteristics of groupthink.

Even if I'm wrong, that still means I'm not part of the same hivemind/groupthink as you are. And yet here we both are, on HN.
Yes, it's not always the case that a single URL is better in every respect. We're working on a design for associating multiple URLs with a story. Even with that, though, there still needs to be a primary URL, because the title on the front page has to link somewhere.

One thing we were stuck on for a while is how to let users vote on what the primary URL should be, but (fingers crossed) I now think we may have hit on a way to do it.
I think it has to. The only way it could not is if you had a piece of physical evidence, and you were going to extract the technical evidence from it there in the courtroom in front of the jury. But even then, you have to worry about the chain of custody of the physical evidence, and about the tool you're going to use to extract the technical evidence in the courtroom...
Does anyone track “best of” on HN?
The Microsoft thread has to be up there.

At this moment, 1696 points, 652 comments.
>he problem, though, is that not only could this limitation manifest itself as incremental annoyance

Eh I'd hazard a guess that the vast majority of mobile office users don't need unlimited cloud storage (especially with 15GB free anyway) or advanced editing capabilities. Both of those features would be well served in an enterprise environment, but there are Office 365 Enterprise subscriptions for that. Maybe no dropbox integration is an annoyance, but I question whether that would be enough to push out existing office users.
Fake API back end?
I saw this on Hacker News the other day, and I am trying to find the service but any searches with API wouldnt yield what I am looking for. Anyone have suggestions for faking backends for clientside? I dont want just a mock or a stub, I want a real API that returns my JSON.
Clothing has higher than average return rates because people can't anticipate sizing or look. I worked for a food ecommerce site and our return rate was low single digits.
Hi,

Just added a LICENSE file (Apache 2.0).

> Q: It looks like could do `curl` on pfs. Is that mean pfs act as basic http server like AWS S3?

Yes!! Pfs has a microservice architecture which means it's made entirely of http servers which communicate with each other and users over RESTful APIs. To your point, this means pfs can be used as a simple webserver for static content via the `/pfs` route.

One of the features we'll be building in the near term is a web interface that users can point their browsers at to check on the status of the cluster and browse data stored in it. This is most likely going to just be implemented by injecting the .html, .css, .js etc files directly in to the file system.
If you sign up with your local police force, you might be able to me a few more.
A Notice Regarding the Humble App
it's a signed int... ones' complement.
I'm in a similar situation right now. 22 and just finished college and I want to hone my programming skills for the next 10 years.

May I ask how did you get into the position you are in today? How much time did you spend programming a day? What was you approach (work through a book, or pick a project and execute in language x)? Did you have a side job while you were teach yourself programming?

Your response will be much appreciated.
There is no such thing consensus of the people in any communities of nontrivial size.

In anarchy situations, whoever is capable of filling the power vacuum creates new rules - the "highly motivated and well armed" groups don't break the rules (since if they disagree, there's obviously not a consensus about those rules); they define the rules and others possibly break them.
Speeds are generally given relative to the object being orbited, so in this case the Sun.
After going through what seems like every editor ever made i have finally settled on Emacs. For javascript I sometimes use js2 mode.
This is not necessarily a language-level decision (except for GC, it helps in this case spread out the deallocations when using incremental GC).

You just have to be aware what happens in the destructor when you manually free an object. Libraries can make knowing this more difficult.

I guess you could build incremental alloc/release pools (even with reuse) or such things but it comes down to being aware of the problem as described and avoiding cascaded releases.

And to be honest this is not a super common problem but it can happen.
I'm more concerned about the private keys being stolen by hackers.
You don't have kids yet, I take it? One of the most universal desires parents have is for our children to live better than we did, hence the sacrifices we make to fund education etc.
> Our job is to learn from the past and try to prevent it from happening again in the future.

Doesn't seem to be working with Guantanamo. Or invading other countries.
Are there any other packages you would recommend?
My Greek professor called them the Loebomenoi.
Fear and ignorance are the problem, not trust. The fear of being tossed in jail. The fear of having your children taken away. The fear of having your assets seized and your reputation tarnished forever. Ignorance of societal trends. Endless warfare, welfare and imperialism fueled by an unprecedented debt bubble. Civil asset forfeiture out of control. The TSA security theatre is encroaching on not just airports but football stadiums and train stations. Posse Comitatus overturned by the NDAA. Dissemination of outright propaganda legalized! The least transparent administration in history. The fucking _IRS_ engaged in outright discrimination against political rivals, which is unquestionably illegal.

But it's OK if you have power. "Sorry, hard drives crashed."

The rich are getting richer, the middle class is disappearing, and people are getting desperate. Western society as a whole is _one_ catastrophic meltdown away from massive civil unrest that will end in bloodshed and revolution.

Does the average American consider these trends when making investment decisions or going about their normal lives? Do they even _care_?

Most people can't afford to openly question the system, because they have too much to lose. They can't afford to be thrown in jail, or have their assets seized, or get put on a list by the NSA. Which is why Bitcoin matters.

Bitcoin enables people to dismantle the massive out of control tyranny without openly admitting or perhaps even _realizing_ their intent. The proof? Plenty of successful, educated people believe Bitcoin is an apolitical fintech innovation that streamlines payments. Success! These people of course have at best a cursory understanding of geopolitics and macroeconomics, which is all the better. Anyone can buy into Bitcoin without leaving their bedroom, and give very plausible reasons for buying in. "Because the price is going up. What's it to you?"

Bitcoin eliminates the State's ability to conduct endless warfare and welfare, because the State can't print BTC. Neither can they seize BTC, which gives _you_ the upper hand. Oh, you want my money? Sorry, can't seem to locate the wallet. Oh, I'm in violation of your moral code and you want to take my bank account? Sure, you can have the $0.00 in my bank account. Think you'll rot away in prison for disobeying tyrants? A huge proportion of inmates have smartphones, which is all you need to access your cash.

Sorry, you can seize my physical assets but you're not touching my fucking fortune. Bitcoin violently flips the power equation. Few appreciate this, but as governments around the world continue to get more and more bankrupt and desperate, having capital outside of their clutches will be a great boon.
Most importantly it is free for 3 years without any obligation to ever pay anything. It is clearly intended to convince you to choose to pay in the future, but it is still free.
If you're correct, you've uncovered some 0days in the wild. Go figure out which site, capture what happens, and turn it in to the respective browser developers for a nice bug bounty.

Or, you know, maybe they aren't wasting a 0day on "obviously bad advertisements".
Normally I'd agree the way an attack makes the leap from an academic paper to a cute name is a real-world PoC||GTFO, but c'mon, is this not the perfect name?
.NET: https://github.com/dotnet

ASP.NET + related stuff: https://github.com/aspnet
> I don’t think any company should have both horizontal (i.e. services) and vertical (i.e. devices) businesses.

I find it curious that Microsoft is the target of this criticism, and I am further curious what the author thinks about Apple.
Zilyn – Android App – Meet-up, Flirt, Exchange
i think hes saying for less dependencies, and portability, and no required elevated users, and speed: its best to write it in straight win32. i agree and ill chime in down here in the downvotes. i think a lot of authors like the op and myself if we want a speedy app we have to go to win32 api only. c# is slow and even MS doesnt use it in windows desktop mgr or IE. ex: without hw accelleration the hearts game is unplayable on a 2ghz machine. with raw win32 api thats not a problem
Generic code is made to be copy-pasted. Also, what's wrong with copy-pasting when it lets you write features faster?
> I find it difficult to actually justify spending that money on answering questions. There must be some tangible benefit.

Maybe they haven't been discovered yet. Application can lag theory or basic experiments for a very long time. Did the car come right after the wheel? Did the iPhone come right after Ohm's Law? Maybe this will aid comet/asteroid mining missions. Or optical image processing. Or orbit optimization for long solar system traverses. I think it's very shortsighted to pursue only research that has visible short-term benefits, because you could be missing out on countless innovations that are below the horizon. We can't predict the future. But I also think application is unnecessary, and that there is inherent value in understanding our world.

In any case, while I don't know how much the average European pays for ESA in taxes, I do know the average American pays something like a few bucks to fund NASA. So you're quibbling over the use of a tiny proportion of resources to answer some big questions.
3HJJN7W7TM96 used.
Nice app. Thank you :)
What services is Apple is?
And I thought it was too early to have ring computers. Time for some Alan Kay nostalgia.
DUAL_EC_DRBG would have been the dumbest possible way to backdoor RDRAND. It would also imply that Intel is somehow able to slip in circuitry able to do two 256-bit elliptic curve scalar multiplications in under 300 cycles, and pretend it is AES circuitry which would normally be orders of magnitude smaller and faster.
"the full server-side .NET stack and expanding .NET to run on the Linux and Mac OS platforms"

so that means I can write GUI-based desktop apps for Linux in C#, right?

cool :D
I don't think this is targeted towards those who only need to store a small amount of data and have very low performance needs. If you are are already spending $500/mo on an RDS instance, then it sounds like this would be a great solution. If you are spending $10/mo on a micro instance for your database server, I don't think this is targeted towards you.
ITunes, AppStore, iCloud, to name a few.
Apple is a service company. You buy Apple hardware to get access to their services, which are usually exclusive to the platform.
There is mono.cairo, at least.