skysight-inc/HackerNews huggingface dataset:
Open standards for shortening URLs rather than private Hash Tables of random shortlinks is a great idea.

Being open source and predictable it would not be necessary to specify any particular shortening service so that part of the URL is extraneous.

Of course there would need to be some chars to refer to which particular open standard shortening encoder was used, still would be shorter than the oringal url for this post.

They could be reliably decoded, preventing the short link rot problem.

As the user could decode the URL themselves it also allows one to preview short link's URLs which can be reassuring and better security and prevent bait and switch shortlink destination changing tactics.
This is in total compensation terms. There are two documents floating around where employees detailed their compensation coming into Google and Facebook.

What everyone replying fails to realize is that if you include the appreciation of the preliminary and refresher grants these engineers are making >$400K rather quickly.
This is super relevant to the CMX crowd who are always asking about this topic. Will share it! Thx!
Because users flagged it.

Why did various individuals flag it? You'll have to ask them on an individual basis, but it's clear based on the comments that some view the article as inflammatory. I'd bet there are also quite a few that flag anything explicitly discussing gender or politics if it doesn't involve a tech company.
Because the share of people using the internet who understand the distinction is probably about 1%, and of that 1% the share that care is certainly less than half, and of that group the share that would go go to the trouble of trying to identify the sites that use serverside ads and not block them as opposed to just blocking every ad is in turn miniscule.
A 7-day week is 168 hours to begin with. 56 of those must necessarily be for sleep if you want the others to be worth anything. That leaves 112 waking hours. If 100 of those are working at the office, that is 12 hours for personal business. Roughly 100 minutes per day to eat, shower, commute, exercise, etc.

$500k is not enough. $500M is not enough.

If you put more hours in your labor export category, you have to take some from your leisure consumption category of your time budget. Whatever you earn from selling labor time is generally consumed during your leisure hours, after you subtract all your overhead expenses.

And $500k for 100hr work weeks is only about $96/hr. If you subtract $175k for taxes and $75k for overhead expenses, that gives you $250k left to spend over your 624 hours of leisure time, which means you would have to party hard at $400/hr to enjoy it all. You would have to play 4 times as hard as you work.

In contrast, $150k for 40hr work weeks is $72/hr. Subtract $42k for taxes and $58k for overhead, and you have $50k left to spend over 3744 leisure hours, which is about $13/hr. If you play just 1/5 as hard as you work, you're directly enjoying all the fruits of your labor. For reference purposes, if you spend $350/mo on a cable TV subscription, that's about $1 for every non-working, non-sleeping hour. If your movie theater charges $10 per 90-minute movie, spending every minute there that you aren't working or in bed is still less than $7/hr. Most leisure time activities repackaged for sale out there are targeted to lower-income households, so it's really difficult to burn up all your disposable income (at that level) just on typical middle-class entertainments without enlisting the help of dependents.

That 100hr work week essentially means that you need to have a trophy spouse and some kids that don't know you, so they can spend your money for you. No, thank you; I don't want that.
> I've personally rewritten an app in less than a week that had two devs on it for over 6 months. Their deliverable didn't really work at all, even after the 1+ minute loading time

To be fair, a lot of that six months was probably just nailing down the requirements. Your rewrite enjoyed having that design work already done.

I'd argue that building applications is 90% design, 10% code. The code part can balloon to a greater fraction if the developers are not competent enough of course.
Agree so much.

The first thing I do for almost any new system is design the data model. Once that satisfies all the requirements, building an application and UI on top of that is usually pretty straightforward.
Note that the simplistic approach doesn't scale well, as terms tend to "explode" in size and hence computation time.

There is a whole sub field of mathematics / computer science called "algorithmic differentiation", also known as "automatic differentiation".

The goal is to take an existing computer program and transform it into another computer program that calculates the derivatice
just as efficiently (up to a constant factor of ~2 to 5, depending on how you measure), and with about the same numeric stability (by usual measures).

And this is just the start. Classic differentiation is also called "forward" mode. Understanding the "reverse mode", and why you want this for gradients, is even more mind-bending.

There is a whole world to discover here. The book "Evaluating Derivatives" is a good starting point for anyone interested.

http://epubs.siam.org/doi/book/10.1137/1.9780898717761

There are also many of beautiful papers on that topic.
> Fix your crappy ads and I’ll stop blocking them

I'll always block them, just in case they decide to track me.
All Google services

No ads = no Android, no Google Maps, no Gmail, etc...
> It seems trivial to do in any language where functions are first class citizens

When you put that in the historical context, you will see that first class function with dynamic scoping are coming around that time. Also, Scheme which was the LISP used in the story, was the first introducing proper support for lexically scoped first-class functions. I would guess that Javascript inherited this from Scheme.
Hey! Sorry about that, we are working on fixing the problem for folks who had an existing OpenShift account.
Tracked it here: https://github.com/openshiftio/openshift.io/issues/134
Podcast: Princeton Researcher Explains How AI Learns Racism, Sexism
not sure if they have their whole handbook public but Zapier posts a lot of good stuff about how to run a remote startup
How to Scale Architecture Using the DR-CoN Pattern
Why Developers Are Choosing the Windows Store
5 Challenges to DevOps Adoption and How to Overcome Them
This is why politics is important, even in tech.

We need some grownups to represent us.

If you spend ~$50/month on home internet access, and $50/month on cell phone access, that's $1200/year for internet connectivity.

How much do you spend on hardware per year? Do you buy a >$1200 laptop per year? How much money does Google make off of your info?

The ISPs are rolling in cash. They have terrible customer service. They typically have no competition in their markets and they refuse to innovate.

Yet, we give ISPs soooo much money. If there was proper competition, would we be spending such ridiculously high fees on the internet access we get?
being tracked here https://github.com/openshiftio/openshift.io/issues/134
One advantage of things like Protobufs/Thrift/Avro/etc, beyond the performance (and the performance difference can be _huge_), is that they have a (generally upgradeable) schema; this is particularly handy when using strongly-typed languages. For JSON and YAML you, at best, can use a bolt-on schema checker thing.

I'd also disagree that performance on message passing doesn't matter; depends how many messages you're passing :) I've seen CPU-bound systems which spend most of their CPU time decoding JSON.
SEEKING WORK - Remote preferred - Based in Columbus OH, USA

Product Management and Django Development Consultant

Technologies: Python, Django, Flask, Ansible, Vagrant, Bash, Linux, Postgresql, MySQL, HTML, CSS, Git, SVN

Github: https://github.com/ScorpionResponse

Email: moss.paul a-t gmail dot com

Site: https://paulmoss.carrd.co/

I specialize in maintaining and developing Django sites for small to medium companies. I have significant experience handling server provisioning tasks including creating/managing Ansible roles or other provisioning tools.

I'm not looking for additional Product Management consultant work at the moment, but I'd be happy to speak with you about future possibilities.
Try Firefox for Android.
We've pushed a fix for the duplicate email issue. Please give it another try.
Maybe elementary school teachers, but after about 5th grade the stigma seems to fade.
How about we check our data in the place where it lives given how very robust and mature products that do that were already written, tested, and used in production by literally thousands of people for decades.

So by "checking data" can we check all of the business constraints?
You are probably confusing Discord with Discourse.
This is a decent explainer:

http://www.todayifoundout.com/index.php/2012/03/the-origin-o...

Red is associated with danger so it was stop. Go was original white. This causes problems because if the lens falls off, stop looks like go.

I guess blue is probably hard to make out in daytime against the sky, or if it's raining. Not a whole lot of colors left after that.
That's not really the same thing at all. What's missing is the ability to close over values, which is a key part of first-class functions. You could not re-create the original example in C, which is to return a new function. You'd have to return some sort of object that keeps a reference to the function pointer, and provides a special mechanism for calling it, i.e. a poor man's closure.
7 - It's too easy to make a mess. And the mess made by brilliant people who are looking for any excuse to put higher order metaprogramming and functional concepts into production is considerable.

8 - It has consistently lost in the marketplace in the last 20 years. We had most top CS grads in North America groomed on SICP at one point in history. You'd think many of them would want to use Lisp in production. Many of them did. Now MIT uses Python to introduce programming, and Lisp code bases tend to be (horrifying) legacy systems. Virtually no startups base the core of their business on Lisp anymore, and it's not because the technical founders aren't aware of it.

(Lots of skunkworks Clojure projects are out there bearing load though.)
If this laptop can run Linux I'm buying it
Wow. Downvoted again. I guess the people who downvote me are the same who would make such blog posts.

From the article: "The small cafe connects to the fantasy of throwing a perpetual dinner party."

Face it gentlemen. This guy was an idiot.
They've also featured Nathan Barry, who is neither indie nor a hacker. He's a popular blogger/author who used his considerable profits from that career to hire a team to build ConvertKit for him.

I'm not actually sure what Indie Hacker's idea of an idie hacker is.
>How about when the service can not exist otherwise?

Then maybe it shouldn't exist in the first place. If your business model relies on feeding users ad technology known to be unsafe, undesirable, and disrespectful to users' freedom, it's not worth patronizing. There are plenty of web services not supported by advertisement. This is not a case where "if it ain't broke don't fix it" is acceptable. The current system of sustaining webservices is broken and outdated.
Web app monitoring that shows what user did before the BUG happened
There are quite a few things that "Compile-to-sql". In .NET, the EntityFramework ORM takes the AST from the C# code int he query and generates the SQL from it. I'm not sure how ORMs work in other languages, but I would imagine it's something similar.
>they are years away from making money on their Surface line

Source?

AFAIK they made over $10 billion in revenue on Surface.
Digging in the Trash
Well it's probably a lot simpler than you think. If you carry it through Customs then it is subject to search. If you don't carry it through Customs then you can be searched, and you're not disclosing any proprietary company data. Easy peasy.

For any company that has external NDA obligations, this seems like a no-brainer to make legal compliance very easy. You don't want to disclose your proprietary company data, well then make a policy that says don't put proprietary company data in a position where it is likely to be subject to legal searches without any strong requirement for a warrant (probably a very short list of situations, maybe just when passing through Customs.) Now you can sign NDAs and pass through customs too, and don't worry about any potential that a conflict between the two could put you in a precarious legal position.

Customs has very broad legal latitude to perform invasive searches on a whim. (Here in the US, I don't think I even need to pass through customs to be subjected to invasive searches like this when passing through an airport.)
Wikipedia has a pretty fascinating list of cognitive biases, it's fun to go through it and mark each that applies until you start looking for the bias about thinking you have all of them: https://en.wikipedia.org/wiki/List_of_cognitive_biases
If you're capable of both pumping out CRUD pages and adding features to a compiler, then you may be a 10x developer.

I consider myself to be a 10x developer, but I'm not 10x all of the time for all tasks. Things that set me apart are the quality of my code vs other developer's code for a given amount of development time, the higher probability of my code being bug-free or nearly so before I've even run it, my skill at tackling extensive refactoring tasks with zero change in code behavior without needing to write and constantly run tests, etc. These skills all come from long-term experience, wide variety, and a fearlessness and belief that no development task is beyond my capability.

If you look at athletes, you'll see some that are really good at one particular sport, some that are naturals at pretty much anything they try, some that enjoy sports but aren't particularly good at it, and some (like me) that are so non-athletic that it's embarrassing. I think development skills are like that too. We can't really identify what '10x' means, because it depends on context and isn't tied to specific skills or behaviors.
11 Tips for Building Great Color Palettes
Installing "Windows 10 S" is like getting one of that ink printers that cost $40, but then you pay $60 for each ink cartridge. To minimize the impact, Microsoft allows for an upgrade to a real version of Windows. It is an smart move, as it lowers the friction to later on remove that possibility completely (I hope that not in this model).

The hardware looks good, but it is another movement towards the "technology tax" where hardware vendors get profit from other company's software development. It is like being a door to door vendor and having to paying 30% of revenue to your car's manufacturer. Internet Service Providers tried this and failed, hardware manufacturers succeeded.
Intel's 6/8/10-core i7 lineup all has quad-channel memory, so no, neither core count or fatter memory bus is a particular story that's unique to the Xeon brand.
I have about 2tb of speech (podcasts, audio books, and lectures) so it might include that.

I've listened to nearly all of it.
Watch this robot construct the world’s biggest botmade building by itself
> As one of the kids who was lucky enough to get a BBC Micro, I had zero support. No-one else in my family even knew how to turn it on. No teacher at my school could support me because none of them knew how it worked either. If I broke it, I had to fix it. And no Stack Overflow, so no code to copy-paste. I had to go back to first principles every time and work out what went wrong and how I could make it go right.

What is this weird obsession that we have with making children do everything the hard way? I understand that we want them to apply critical thinking and for them to grow into self-sufficiency, but why do we suggest these archaic hazing rituals?

We've made strides in many areas of technology. We have the power to troubleshoot a non-working laptop, unsuccessfully diagnose, and then re-image it to a saved state in less than a school day. I'm not saying that there shouldn't be consequences, but I think we can put Timmy's time to better use.
I couldn't have said it better myself. The one thing we can't buy is time.
Did I overlook gcc 7.0??
No, neither.

This post of mine has a photo of their "cabin" that is just down the road from their house. http://theroadchoseme.com/chillin-yukon-style

I just went through my photos, I don't actually have one of their house online anywhere.

I took these on a walk from their house: http://theroadchoseme.com/northern-lights-1

Also, "off-grid house in the Yukon" is extremely common :)
That's honestly the route Microsoft needs to stop taking.

Microsofts hardware partners have shown time and time again that they will sell extremely low quality hardware just to hit certain price brackets. Many of the complains people have about Windows is often down to poor quality and low performance hardware.

At least HP would rather sell you a piece of crap laptop that can't actually run Windows, than admit that it's not actually possible to deliver at the price point the customer asks for.
My rolling release Gentoo I started building in 2012 is still on gcc 4.9.4. (Although I do see 5.4.0 installed in a slot).

It's been years since I did a gcc update. They're not for the weak of heart of spirit. I might decide to do a full backup soon and do it again soon.
If I am not mistaken, you will need to know the signature of the function. Even if you use void* you would need to know the amount of parameters that the function uses.
iXsystems laid off the majority of the team that worked on FreeNAS 10 (Corral) and cancelled the project last month, the same day the CTO resigned.
The significance of this retraction may be too late. Some governments have already banned microplastics.
Please don't post nationalistic rhetoric to Hacker News, regardless of which nation you favor or disfavor. Ratcheting up indignation levels is bad here, and so is grandiose generalization.

We detached this subthread from https://news.ycombinator.com/item?id=14245012 and marked it off-topic.
Pineapple-sass – A must have Sass mixin library for all your Sassy needs
Has he complained about Android JavaScript performance yet?! :)
The 10x programmer idea really is a overall negative influence on our industry. Yes they exist, and acknowledging that is the only benefit that came from it.

All of the negatives are: You get significant Lake Wobegon, and a ton of people think they are 10x that aren't (including a significant portion of people on this very website).
People attempt to measure their 10xness in comparison to the worst engineer they know or work with (which is really likely comparing a 2x engineer to a 0.2 engineer). We have no way of evaluating it. No good way of hiring for it. The majority of actual 10x engineers don't get paid like it (they're just known as that really good engineer on the team / company). People spend time writing about it, and reading about it to no real benefit.

It really is the ultimate programmer insecurity. If Cosmo made a magazine for programmers it would likely be their splashy headline every other week.

The reason I mention it, is that it's wasted effort even thinking about it. If you're an engineer, figure out what you can do to improve your skills. Some things are flashy, some things are mundane. If you're hiring engineers, figure out what you can do to improve your hiring accuracy.

I posit (with no proof) that nothing useful has come from the 10x programmer discussions beyond the 6 months following its introduction.

1. https://en.wikipedia.org/wiki/Lake_Wobegon
True, but even the most mundane environment has a lot of problems that are better solved by making things simpler rather than managing the complexity better.
I think haskell's syntax is extremely beautiful. However code that uses two dozen operators in half as many lines is incredibly ugly in any language and doing that can be quite tempting in haskell.

For code that non-haskellers have to work with I would just write everything out which is what lisp does and probably results in better code. Otherwise there still is a balance, I think. Like

Lispy:

n <- textInput (set textInputConfig_inputType "number"
(set textInputConfig_initialValue "0" def))

Operators for precedence:

n <- textInput $ def & set textInputConfig_inputType "number"
& set textInputConfig_initialValue "0"

Alias for function:

n <- textInput $ def & textInputConfig_inputType .~ "number"
& textInputConfig_initialValue .~ "0"
As a counterpoint to some of the outrage/hysteria over the new net neutrality policy, check out this interview with the new FCC chairman Ajit Pai: https://thefederalist.com/2017/04/26/fcc-chairman-ajit-pai-s...

He makes some really good points and generally comes across as well-informed and well-intentioned. In this climate of crazy media hype it's good to keep an open mind and listen to the actual people working on policy.
Show HN: Freactal: Dead-simple, composable state management for React
I like the idea of so-called "long reads" but generally hate the execution. There's a standard longform template I can't stand:

1) Personal anecdote from the author

2) Description of what the weather is like outside the diner where they're meeting for an interview

3) What the two people ordered for dinner, with a long description of how they stir their coffee

4) Excerpts from the middle of the interview which are meaningless out of context

5) Another anecdote

6) Jump-cut to something tangentially related on the other side of the country

7) Back to the original interview

8) THE LEAD, conveniently buried 2 pages in, where I finally learn what the stupid thing is about

9) Not sure what comes next, because after wasting 10 minutes of my time I've lost interest.

So many of them are a standard 800 word article padded out to 5000 with no extra substance.
To me, "old" as a prejorative has about as much to do with age as "gay" as a prejorative has to do with homosexuality.

The meaning people use the word to get at is "from another time when problems were solved differently, and staid in their opinions toward new solutions vs. those from the previous era."

I've heard myself called an "old man" online for liking SQL stored procedures. I was 23 at the time. :)
Well, that's still not the same. Pictures, videos, etc are supposed to give you an impression what the product is, how it tries to solve that problem, etc. Before you invest anything in it. Even the time investment of singing up, and playing around in the "member's area" can be a hassle if you could tell that this project is not for you from a simple screenshot.

Furthermore, I would probably have to read the manual, etc before I can do anything useful with it. A good screenshot or even video can really help you with that impression
the problem is most business owners are not tech savvy. I would love to volunteer if someone sets something up.
what is that roman candle looking image under the "Battle-tested" section of this article?
You're right, I seem to have misread that comment. Too bad I can't downvote myself :)

FWIW, I don't necessarily disagree with that hope/belief, but I have some questions about how such a thing would work in practice. Clearly, some private organizations (like churches and political parties) rely on the ability to discriminate based on belief. But perhaps there's a clue there for how such a regulation could be drawn - those are not for-profit enterprises.