skysight-inc/HackerNews huggingface dataset:
> I don't think your comment really engages with my point. I never mentioned Erlang or functional programming [...]

Sorry. It was mainly a response to "JSON and XML are only 'wasteful' if you don't count developer time. Once you do, it suddenly makes a lot of sense to "waste" hardware resources. After all, programmers are expensive. Hardware is cheap."

And pointing out that it really depends on what languages or type or programmers you use and what "hardware" is. In some languages binary parsing is really easy and just as cheap and elegant as using a json parser. And well, Joe is Erlang's father, so point out Erlang was obvious choice.

As for hardware, bandwidth is not hardware. It really is "something else" -- a shared resource usually. And if there are enough devices using this even small changes start to make a difference.

Think a bit like a nested loop -- a small optimization in the inner loop might have large visible benefits. Or say, a huge database with 10B records, choosing an 32bit int vs an 16bit one for a column will make a for a good difference in size. That is basically where Joe was coming from. Really valuing bandiwidth as a shared resource. (He also likes to talk about protocols as well quite a bit).

> Again, the vast majority of mobile data isn't JSON or XML

The important data is JSON though, the control message, the pages that load (and they are slow), stuff that stops, start, manages everything all that is JSON.

> If mobile bandwidth was a Californian drought, video would be alfalfa farming

Hmm, video is 50% of all traffic on smart phones. (http://www.ericsson.com/res/docs/2015/ericsson-mobility-repo... says 45% in 2014). Not that the rest is all JSON but, I wouldn't say it is all just "taking showers" type of equivalency, it is more like grapes, almonds, strawberries, and walnuts.
I'm a Python devotee, but I appreciate the anecdote. I'm curious whether the switch 1) cost any features/algorithms and 2) whether the anticipated performance improvement really panned out since the switch, or if the gain wound up being simply architecture/deployment-related. Stepping back, did the whole re-write really balance out with all the work that had to be done, or could you have stuck with Python and simply solved the problems at hand?
A C++ version of Minecraft has existed for a very long time and this is the evolution of that version. It was originally created for mobile.
This used to be called Upcoming, but Yahoo shut that down.
Don't even get me started on the number of reasons why nodejs should not be running on servers, I'll be here all day. We're currently deploying a NodeJS app and we'll never do it again - the amount of problems with that ecosystem is quite amazing. As I tweeted earlier today "JS ppl tend to have marketing & UI/UX experience so JS crapcode gets popularised, becomes widespread, then we have to deal with the fallout".
Cool demo.

But, for those thinking they're going to make a minecraft clone with this it's not going to work. Making games is all about drawing as little as possible and making as few draw calls as possible. Since CSS only supports planes (3d rectangles oriented in space) that means every cube is 6 draw calls and worse, if you want the browser to draw them correctly they have to be sorted. So let's say you had a 16x16x16 voxel area, that's potentially 24000 planes+ and 24000+ draw calls. That assumes worst case, all cubes with transparent bits like tree leaf blocks. For comparison many AAA games do little than 5000 draw calls per frame, possibly less.

Compare to a functional minecraft clone all of that would be condensed into a single mesh representing a 16x16x16 area. One draw call.

So yea, neat demo but you're going to quickly hit the limits past a few boxy logos

If you're looking for something that actually does do the optimizations necessary for a minecraft clone in the browser see http://voxeljs.com
I love the contrast between the motivation statements on Firefox pages vs Chrome pages about the topic. Shows that Mozilla does remember their values, even though we like to bitch about them:

Firefox[0]:

------------

Have you ever wished that a website could notify you when something important happened, even if you didn’t have the site open? Maybe you’ve got an incoming WebRTC call, an instant message, or a financial update. Perhaps your city just declared an emergency snow plowing schedule.

Sometimes you just want to know when something happens.

That’s what Web Push does. It’s available now in Firefox 44.

Further down, they have "What about privacy?" section.

Chrome[1]:

------------

If you ask a room of developers what mobile device features are missing from the web, push notifications are always high on the list.

Push notifications allow your users to opt-in to timely updates from sites they love and allow you to effectively re-engage them with customized, engaging content.

Thank you, Mozilla.

[0] https://hacks.mozilla.org/2016/01/web-push-arrives-in-firefo...

[1] https://developers.google.com/web/updates/2015/03/push-notif...
yeah, the guy writing that rant in the units.txt file is messed up in the head.
Why sign up for some closed source, proprietary, for profit service like Slack, for a community like this? Especially when there is #startups and #hn on Freenode.net IRC?
Farewell, Marvin Minsky
My experience with IDEs is limited to Visual Studio and Eclipse. Have toyed with IntelliJ - but didn't go deep with it.

For me IDEs are slow, complicated and the screens cluttered. There are so many panels, options, buttons, etc. All I want to see is the code. With vi and multiple screens I can have more than enough windows open. I let the compiler generate warnings and errors. With a fast machine running make I hardly ever have to wait too long.

Besides, cutting code is only about 30% of the effort in a project. Documentation, testing, support, meetings and more meetings take up the bulk of my time. I actually enjoy the time I get to do real work! Being more hands on feels good to me.
How shortsighted neighborhood activism fuels SF's housing crisis (1999)
Title is clickbait. It's not actually 100 clicks per email, it's around 10. But he says he gets about 10 emails per month, so 100.
Either change it to 10, or say "100 a month".
But when there are lots of packages,classes interfaces how do you live without ide intellisense ?
The actual thesis is fun to look at! A typeset version is available:
http://www.amazon.com/Feynmans-Thesis-Approach-Quantum-Theor...
That will never happen. We should carefully look at where our tax dollars are going; city resident taxes should be enough to run NYCT, and the city tax paid for non-residents that work in NYC (I think this exists, paid by the employer?) should ensure that the other MTA railroads are funded.

Ultimately, the idea of democracy is to provide equal protection for all, and so NYC's relative prosperity should be funding some upstate initiatives. That said, administrative control of the subway should be entirely in NYC, and if we don't collect enough tax to run it to the standards we desire, we should be able to affect that change locally.
So sending this stuff over unencrypted email would be better?

I think not.

The UX here sucks, but sending this stuff over normal email is a completely ridiculous idea. Crypto would be an option but that'd require custom client software, and nobody is going to use PGP.

(Frankly, I'd be surprised if it was even legal for the NL govt to hand this stuff to third parties by emailing it)
Sorry about that, you're right, changed it.
True. I actually liked the progreqsl one that was liked in the thread.
If I had a year to live, I'd quit my job and finish what I've been working on at night. Plan one month to visit family & relatives.
You are right that it can take a long time to learn Haskell. I've been learning it for probably six years now. At this point I can browse through most libraries on Hackage, read the types, and usually figure out how to use something. I'm still picking up bits and pieces of category theory to help use the more academic-minded libraries, but invariably I find that once I grasp a concept it seems like such a simple and elegant idea. It's just that the implementation and use take getting used to.

Nowadays I think it's easier to do real-world stuff thanks to the amazing work by Michael Snoyman et al. on Stack, the curated package set and build tool, and other projects like Chris Allen and Julie Moronuki's haskellbook.com.
This article might be one of the best intros:
Space-Time Approach to Non-Relativistic Quantum Mechanics
R. P. Feynman
Rev. Mod. Phys. 20, 367 – Published 1 April 1948

Caltech has this available: http://authors.library.caltech.edu/47756/1/FEYrmp48.pdf

There are some other good treatments too, although I can't find them at the moment.
On it's own, that's not much information to make a useful comparison (in my opinion). There's a lot more to consider (power usage on an equivalent node, display resolution incl. bit-depth, # of tris, shading model, etc).
you need to check vin, otherwise you are straight up stealing a random car
FLIF is based on context mixing so it's extremely slow but has an extremely high (lossless) compression ratio. It's designed for image archival and not for real-time streaming video. It does have some interlacing techniques for previewing the image in a lower resolution but really it's orders of magnitude slower than other image formats.
I'm assuming that the person making the offer lacks malicious intent. And I pretty highly doubt these messages create guilt. "No thanks, I don't want to protect my skin" is something I damn well can imagine saying.

The act of closing these ads is a laugh to me, and I don't feel a twinge of guilt about it. "Haha fuck you, I totally would pay full price rather than hear another word from your company" is how I feel towards the ads.

If it's something I care about (e.g. blood drives or charity events) then I'm okay with a "guilting" proposition. I'm not actually guilty, and they're not making money. They're honestly just trying to get more people to do something.

It is my honest and fervent opinion that, when used in moderation, adding flavor text to help the user picture the positive and negative outcomes of an action helps both the user and the person serving the user.

As guilt is a subjective thing that people experience and define differently, it seems to me that neither of our opinions have grounding in fact, and are based on our own perspectives and opinions.

Your opinion may differ, and I respect that. I'm not saying you're wrong, I'm saying I don't agree.
Yes. See the tech companies advertising in the 1999/2000 superbowl.
Angle is technically dimensionless.

Not sure how to explain the "zen" of radians; it's kind of the angular equivalent of "e" in natural logarithms. People who first learn logarithms say WTF, what is this "e" thing? why not just log10 everywhere? But when you get into calculus you find that "e" is the only log base that doesn't introduce extra baggage; if you take the derivative of a^x the result is ln a * a^x, and if you take the derivative of log_a x = ln x / ln a, you get 1/(x ln a). In both cases the "ln a" term is 1 only when a = e.

For radians, the functions sin wt and cos wt (w = "omega") have derivatives of w * cos wt and -w * sin wt when wt is measured in radians. Otherwise there is an additional constant of proportionality that depends on the angular "unit". (the term "unit" in quotes because it's still dimensionless but just related to radians by a dimensionless scaling factor, like 180/pi for radians <-> degrees or 1/(2*pi) for radians <-> revolutions.
Are you fucking kidding me HN? This bullshit sarcastic post is #1 in this thread?

Shameful. Pure, unadulterated shame.

I LOVE Chrome notifications on Android. Guess what? I have a good 25% extra battery life because I don't have Facebook for Android install, but still get push notifications via Chrome.

I'm just disgusted this "snark" is upvoted.
If one uses virtualenv as a Pythonista should, then your keep point doesn't carry much weight.

That said, this looks cool and I'll check it out.
Ahhh good point, I haven't actually been following that story very closely.
Well then make a pull request Mr. Fancypants
This is great, but it would be nice if there were a way to slow it down a bit.
A great example was given at the Chrome dev summit, which I think highlights the utility.

First, remember that you only need to click 'Yes' when your browser asks you for Push permission. You have revealed nothing new to the website, but provided it a way to contact you later. Think of it as a frictionless temporary e-mail.

So you go to a ticket website, or maybe its even a restaurant website, and there's some event coming up. Huh, yea, you want to know when tickets go on sale or whatever, but no way you want to give out your e-mail address again and get all that spam.

You instead opt for a push notification from the site when the tickets go on sale. Now you will be notified via your browser, and maybe once you see that notification, you're happy, you're done, so you unsubscribe (an option you can click on the notification itself to stop further push messages from that website).

If this privilege is abused, just as easy to cut-off that sole way to communicate that it has with you, right there on the notification. Unlike e-mail, when you kill the Push permission for a site, it has truly lost the ability to bug you ever again.

I'm sure there's plenty of other cases where it might be useful to one-off contact a user when they want to know about something your website provides, and people are (properly) wary about giving out e-mail addresses.
The Espionage Economy
How Trump Happened
I don't think these ads are as powerful as they used to be. The ads aren't as novel or interesting, and people are generally catching up with their smartphones during commercial breaks rather than focusing on the ads as entertainment.
Splain it to Me – Status 451
If you work in the field of motor control, you need this. (Not only that, but you need to distinguish electrical rad/s and mechanical rad/s; motors with N pairs of magnetic poles undergo N electrical cycles for each mechanical cycle.)
Me too. That guy is smart.
Mozilla's been working on declarative, VR-enabled markup under the A-Frame project (https://aframe.io/), which might be of interest to you.
Unity3D also has WebGL support, and is surprisingly quick for having a full physics and high quality rendering engine where you can build in C#. That would allow you to make a MineCraft clone that runs natively in the browser, and because it's Unity (a fully grown game dev environment) you will not have to reinvent any wheels or worry about many edge cases.

The really hard part about MineCraft isn't rendering, though; it's multiplayer.
If you want to do this in ruby you can just specify a version manually. If you don't, you still get versions frozen by default with Gemfile.lock. It doesn't pull in anything automatically—by default you get no updates, you can choose to update a single dependency, or the whole thing if you want to verify it works on the latest (useful for libraries for instance). I'm not sure I see the downside.

FWIW I have been doing ruby for over a decade now, and I hold up Bundler as one of the great success stories of open source, and it is one of the reasons I hold Yehuda Katz in high regard, in that he was able to solve a really big problem in the community and hammer it into shape aggressively over a period of two years with a lot of doubters and naysayers (even Rubygems core was against Bundler for a long time), until it finally got so solid for so many use cases (libraries vs apps, private vs public, development vs deployment, etc, etc) where it solved nearly everyone's problems in such a solid way that everyone adopted it.
Pretty much this. Also US Govt and especially the millitary. When they buy "Linux" they buy RHEL. (Sometimes SUSE when they are working with Lockheed). Mostly because of support and RHEL5 and RHEL6 are certified with an alphabet soup of certifications (EAL4, FIPS-140-2, etc) and so that is what is used. Heck even RHEL7 doesn't have all those rubber stamp even though it is 2 years old almost now.
This is definitely an impressive demo. I wonder if 3D will begin to be used a lot more in websites and mobile sites in the next few years.

We just celebrated our 4 millionth user with a 3D visualization of all our users. It uses canvas to draw instead of css, but I think it is one of the best ways to convey a feeling of our global userbase actually using the app. I'm curious what you think of its "3d performance":

http://qbix.com/blog -- it loads in the first post
Your Sense of Self Predicts How Quickly You’ll Get Over an Ex
Don’t Feed Me, Teach Me How to Fish – Or How DL Is Not Bringing ML to the Masses
Is Surge actively looking for subcontractors?
The revolutionary Super WiFi
WinRT doesn't depend on the CLR at all, it's just an updated COM-based model.
The Supreme Court’s big ruling in favor of clean energy
Are you referring to systems like PubPeer and PubMed Commons?

(Note: a New Zealand company in this field spammed me to get me to sign up, so that was an immediate "no" to wanting to even name them.)

FWIW, I thought there was already a lot of public discussions among academics.
Way to outshine it in two paragraphs.
Well, we can start firing the drivers at some point. The Canarsie line runs all the same rolling stock, put up the platform screen doors already and go full CBTC like Paris.
Why not? That's a very strong statement. I could think of a countless number of bets that trivially match your criteria (i.e. even odds Facebook will not stop selling ads this year), that you'd be crazy not to take.
[Ask HN] How to use clojure functions in core.logic?
I have defined a plain Clojure function which has a specific logic inside. It outputs a mutated state given an initial state and some other arguments. Basically, we could say it is like:
(defn modifier [basic x y value] (assoc-in basic [x y] value))

I want core.logic to deal with it in order to find the correct parameters for this function to output the result I want. Do I have to rewrite it as defne or defnc? methinks it would be a burden >< so I'd like to find another way.

I have a gist with minimal working code sample here:
https://gist.github.com/piotr-yuxuan/fa0cfdc63a26b667c3f3

Will appreciate any help I would be given! :-) Thanks a lot in advance!
Well TBH you do get to pick which Hadoop-related components need to run, HDFS's Datanode itself is happy with just a bit of RAM. I do understand the concern though.

You're probably happy with what you have in prod but if you get some time to try out Kudu feel free to drop by our Slack channel for a chat! http://getkudu.io/community.html
Often wrongly attributed to Ben Franklin (1):

If I had more time, I would have written a shorter letter.

(1) http://quoteinvestigator.com/2012/04/28/shorter-letter/
But still no Windows support for OPAM, right? sigh

That's one of the things that Rust absolutely got right, helping its adoption tremendously.
A little late. I got the call yesterday
Link to relevant commit?
Exactly. Remember when your phone only worked on a specific carrier so even if you paid it off and got it unlocked you couldn't take it to the carrier of your choice (or any other carrier at all)? shudder Never again.
I disagree. That may be true for your crowd, but I know my parents and their friends will be glued to the ads.

Eventually everyone will be bored, but I don't think it's this year.
No pull request can make a project that is meant to implement voxels in CSS overcome the hindrance of implementing voxels in CSS.
There's a #startups on Freenode. And a bunch of other channels. Lots of great stuff if you hit the sweet spot between too small to have anyone, and too big to function properly.
The Century-Old Comic Strip Devoted to Cheese-Fueled Nightmares
LIST OF HOBBIES TO BE TAUGHT TO CHILDREN BY PARENTS
You mean like this: call_function( some_argument );

If so, I have to disagree strongly. Having the spaces inside the parens makes it far easier to scan the code.
libpng is a reference implementation of the PNG format. They don't have to support every third-party extension.

But libpng provides callback methods for "unknown" chucks, so the application can read and handle them. So it's possible to process APNG with libpng.
I literally just switched from an IRC window, refreshed HN, and this popped up.

I idle in #snowdrift and #haskell and a few others.
Imagine a gentle world in which the person you're responding to is merely commenting on the relative ease with which Minecraft could be optimized, and pointing out some of the reasons for this, without casting aspersions on anybody or complaining about anything. Would such a world necessarily look different from ours? Would it be inconsistent with the comments in this thread?
>Then I need to convince the other employees to side with me.

This seems like a bit much. Why involve the other employees?
Inflated and leveraged equity assets seem to be driving a M&A spree. This isn't limited to domestic affairs in scope, as Chinese companies with high earning multiples are leveraging their equity to buy out assets abroad (ex: one such company bough a GE business unit for ~$2b).

Ee should expect more such events to come. I wonder how much of the Yahoo! Workforce will be laid off once they spin off their core assets.
It does make you raise an eyebrow and wonder if they're holding back Safari (which all iOS users have to use in one way or another) to keep people using the app store and giving Apple their 30%.
Yes. The two you mentioned seem fairly outdated in terms of UI/UX and functionality.
Ideas remain a multiplier on execution. This illustrates a different phenomenon we encountered: Founders with no ideas at all often fail to come up with a compelling one when prompted.
However 10 years later, it is also likely you'll be reading the comments for the explanation and realise that what the comments say is different from what the code does (because over the span of 10 years the code was updated but not the comments) and that's just as confusing.

If the code is written with meaningful variable and function names, and functions no larger than a screen, then lack of comments isn't really a problem.
Your parents aren't SoFi's target market. Their target market are the people most likely to be looking at their phones.

I agree that it's probably easy for the HN crowd to think mass TV advertising is over, when it actually isn't. I just think that for certain audiences it makes a whole lot more sense than others. If I were running a startup looking to cash in on the huge numbers of boomers entering their senior years then a Super Bowl ad might make sense. For one targeting not just millennials, but relatively affluent millennials it makes a lot less sense.
FLIF is encumbered by GPL which means it's not going to make it into any digital cameras.
Yes. It can finally let you sign up without an email and without a password!

Just visit the site, get an infinite session, and voila!

Logging in from a different machine? Cleared cookies? No problemo - to restore your session, get a notification, click it and session restored!

This is the poor man's "iCloud" also. Basically your google login or firefox login is your master login. It's basically same facebook connect - another identity provider. Move over personas! We've got a new OpenID in town. Except instead of email providers it's the browser vendors.

NOTE: This doesn't solve the problem of power dynamics -- browser vendors are still pretty centralized -- but does make it super simple to let users of these browsers get a account on a site without an email, mobile number or password, at least on the desktop.