skysight-inc/HackerNews huggingface dataset:
Indeed, posts like this are of historical interest, but today, take Python:

dx = 0.0001
def deriv(f):
return lambda x: (f(x + dx) - f(x)) / dx

This works just the same as the author's example and looks even more like the calculus formula people are used to.
But then you have to write Java.
The blur I see is that one could argue the defining feature of indie startups is not that they're "independent" but that they're a reaction against rocket ship startups (startups in the sense that most VCs in Silicon Valley define it).

If that's the defining feature of an indie startup, that it's counter to a regular startup, then being self-funded is only one of many ways that indie startups can differentiate themselves.

All that said, I think the information from the interview itself _is_ valuable. As long as Indie Hackers doesn't become flooded with non-indie startup stories, and as long as the readership is aware that the lessons Jeff Atwood learns may not be applicable to them (which is true of any story on Indie Hackers, really), then it's okay.
Consciousness is not a physically provable property [pdf]
And the sequel to that was postgrad?
Interesting way to visualize the algorithm!
Of particular interest is that this is written using Polymer!
Tkinter:

- Bindings to Tk (Tcl; cross-platform GUI toolkit).

- Bundled with Python.

- Easiest to use but has the least features.

- Ugly on Linux and is difficult to theme.

- Good choice for small applications if you only care about utility.

PyQt (or PySide):

- Bindings to Qt (C++; cross-platform GUI framework).

- PyQt is GPL licensed and supports Qt 4 and 5.

- PySide is LGPL licensed and supports Qt 4 (support for 5 is in development).

- The pixel perfect purists dislike it on Windows and Mac.

- Good choice for large applications where an almost native look is sufficient.

PyGTK:

- Bindings to GTK+ 2 which is obsolete.

PyGObject:

- Bindings to GTK+ 3 (C/GObject; cross-platform GUI toolkit).

- Comparable to Qt.

- I've heard Windows support isn't the greatest (this may be obsolete now).

- I'm biased and perfer Qt over GTK on Linux.

- Good choice for large applications where an almost native look is sufficient.

wxPython:

- Bindings to wxWidgets (C++; cross-platform GUI toolkit).

- Comparable to Qt.

- Uses native widgets on Windows and Max, uses GTK+ on Linux.

- Good choice for large applications where a native look is required.

Kivy:

- GPU accelerated GUI framework.

- Does not look native.

- Good choice for graphically intense applications that do not need a native look.

My recommendation is:

- Small, utility program: Tkinter.

- Large application: Qt (if an almost native look is sufficient).

- Large application: wxPython (if a native look is required).

- Graphically intense application: Kivy.
What's wrong with 16:9?
When I saw the picture at the top I thought someone besides me was using ThunderX as a PC. The single-thread performance is nothing to write home about, but if you can find something to engage all 48 cores (like pbzip2) then its bananas.

I don't know why they say Cavium is "not interested" in making a PC. It's not their main market, but they'll sell you chips and eval boards. You need a few daughter cards for SATA and PCIe so you can plug in a graphics card. What's really needed is someone to integrate that design, putting the normal IO on board.

It runs 98% of Ubuntu packages, thanks in part to Linaro's own hard work. So they should know, it's a perfectly viable project.
Also, the Bill and Melinda Gates Foundation does not make a profit...
Interesting. I've never used jOOQ, but I'll give it a look. Hibernate has worked well for me, but I'm not dogmatic about it. Always interested to try new tools.
It's easier to start high-end and open up the low-end than it is to start at the low-end. There's a clearer method of prioritization (working on features for paying customers first) and you can spend more time making high paying customers happy rather than trying to retain hundreds.
Maker Studios Is Official Dunzo – Replaced by Disney Digital Networks
If the driver is present when the cop arrives, the altercation can escalate to death. It takes two to argue, and you have no idea what the driver is going to be like, and what the cop is going to be like.

It's not likely to happen, but you're also not likely to be murdered in a traffic stop. Yet, it happens.

I believe you are legally obligated to contact the police in the event of a serious accident.
> A robust, fault tolerant, dynamic system of community and family power is the actual future and only dramatically decentralized things like that will ultimately be politically viable and sustainable.

Although I'm a big fan of distributed solar, I don't think it's by any means so clear it'll become dominant. Utility scale solar is half the cost on a leveled basis. Given existing institutions, market structure, and the very non trivial problems involved in a P2P grid I think a federated model is much more likely, with some very localized distributed stuff in the mix.
Yeah, that's what I want to know. Where are a few people who work well together looking for work?
For anyone who has to deal with the pain of reading Discourse message threads, you can append ?_escaped_fragment_ to the URI to get a JS-free page that loads completely immediately and doesn't unload when you scroll.

I have no idea why this user-hostile functionality is present by default. It breaks ctrl+F, ctrl+S, the scrollbar, and loads of other browser functionality.
wat

Wait, WAT?!

I am flabbergasted that this could possibly take a 'serious' computer-y person with ANY knowledge of just about ANY programming language an hour to do. I mean, 6 minutes is very good, it would take me longer to type it all out and run through the bugs in my code.

But an hour!? What are the other applicants doing in that time for Christ's sake? Playing hop-scotch?

Jeeze, maybe the big 4 really aren't kidding when they say that they can't find anyone good...
It's a pretty rough life for a small company to target the low-end. There's money there, but the low-end market also demands more time, if you aren't extremely careful about how you implement your sales/support process.

Some products just aren't an upmarket product...mobile apps, for example. But, if there's a way to target your product to people who have a budget, you're going to have a much nicer time scaling up...you'll have money to hire people (and to a lesser degree, other resources that cost money) to do so. It takes a lot of $5/month sales to pay for one employee. But, $200/month sales add up really fast.
Liberal arts vs. engineering undergrad school for an aspiring tech entrepreneur
I'm a high school student who just committed to UIUC for CS. However, I'm facing a lot of pressure to cancel my decision and switch to UVa CS, which is still apparently possible. UVa invited me to their Rodman scholars program, which offers priority registration and separate dorms. The drastic difference between these two environments is making the decision very stressful for me.
UIUC has a top 5 CS program and a decent business program, but it's lousy at essentially everything else. It has bad weather and a largely unattractive campus.
UVa has a top business program with a decent computer science program and a solid overall reputation. It has great weather and a beautiful campus.
Both are located in the middle of nowhere, are considered party schools, and have similar cost. I wasn't in the right state of mind when visiting the schools and didn't get a good experience from either. It's too late to visit again.
Which school would offer better connections? Would the lack of talent in other disciplines at UIUC hinder my intellectual development? How important is the size and strength of the CS department if I'm confident that I'll be able to find jobs regardless?
In summation, which school is better for a hacker personality with huge ambitions? Thank you.
I'm not sure I'd call constraints business logic, and I would definitely want to at least double-check them in the database.
Depends on what you're doing. For example my business is built on catering to the lower end of a service who can't justify the high end prices.
I don't spend with my smart card, so it's not "always-with-me".

Thanks much for the pointer!
I signed up no problem.
+1 for Dajngo's ORM.

I find it to be extremely simple to work with. It also does a fantastic job generating efficient queries due to the way it forces you to structure your models. The `F`, `Q`, and aggregation functions are top-notch as well. If none of the ORM features suit you for a particular query, Django ORM allows you to write the raw query yourself in a secure manner. Couple this with the Migration system, and I doubt you'll find a better ORM suite anywhere else.

I find Python has some of the best ORMs out there between Django ORM, SQLAlchemy, Peewee, and Pony.
You're right! another people pointed to same error as well and was fixed in the repository with a PR.

I'm sorry for that, was a huge mistake, I hope that nobody have been offended by that.
> I think you should really be pushing more for SML or Haskell or something like that.

There are two clues in this sentence (mentioning SML and not OCAML, "something like that") that suggest you do not regularly program in a "something like that" language. I wrote my first Haskell program over a decade ago. I find Haskell very hard to read. The grammar is very complicated[1] and is actually context-sensitive[2].

[1] https://www.haskell.org/onlinereport/haskell2010/haskellch10...
[2] http://trevorjim.com/haskell-is-not-context-free/
Bitcoin Is Soaring Above $1,400 to Another All-Time High
Is there some name for the argument that "The future is not [a technology that currently works, if not perfectly], it's [an open research problem if it can be made to work at all]"?

Fusion, hydrogen fuel cells,...
Lively Linear Lisp – 'Look Ma, No Garbage' (1991)
The real NASA code hidden in the Martian and an unsolved mystery
Yeah. It's weird given he got it so right at SE and SO was just totally better than Yahoo Answers and Experts Exchange, but as a user, I hate discourse boards and would much rather good old 00s vBulletin or phpBB
Good old SQL. Your reliable friend that always shows up with the right amount of booze and gas money, and which, when you stop to think about, basically hasn't ever majorly fucked up around you.
If you understand your tools really well, you will be a 10x because you will know what patterns to use and which ones to avoid.

For example, I've written an open source project related to real-time web systems and so I can build chat systems 10x faster and probably 10x better than a typical senior developer but ask me to program a drone and I will be 1/10th as fast as someone who is an expert in that field and I probably won't be as good.

After you become a senior software engineer and have honed your skills in critical thinking and problem solving, all that is left to differentiate yourself are your specializations.

There are lots of generic senior level developers but very few in any given niche.
Right, that's totally reasonable — but it's harder because you by default have to attain and retain more customers.
I have been following Jeff's blog since a little after I started programming. I have seen his articles—especially those having strong opinions—criticised vehemently. Jeff even wrote post about people who email him how they hate his blog. But, I find it delightfully amazing that he stuck to his programming roots and found two successful ventures nonetheless.

I think he's a great example of power of doing things. He didn't start a blog with any objective other than just to write. And he wrote prolifically. If you follow his blog posts, you'll realise that he's rarely more than a person who loves computers. But, because he did things without dissuasion, he kept improving, until the success started building on his efforts.
It's an email address, not a web page. Send email to albert.
Assessing “Dangerous Climate Change”
There is no reason why such a simple interface cannot be native. The fact that you drag along the entire browser engine with HTML and CSS just boggles my mind. If a message cannot be sent because of minor latency problems, the discord client acts up as if a solar storm destroyed much of today's electronics.

EDIT: Oh, how awkward. Yes, I was thinking of Discord.
>this value is worth more to society than ads

That's a bit of a lofty statement with no accompanying argument whatsoever. I think current technology has been wholly negative on society.

>I don't have money to pay for every service I want

So you've decided to exchange your personal data and (in some cases) your computers safety to use them on credit? Maybe you should rethink that. Also, there are services you can use which exist which do not sustain themselves with advertisements.
Often urls can be most effectively shortened manually. I wish everybody who sends me something like this:

https://www.booking.com/hotel/fr/hotelwestminster.html?label=gen173nr-1FCAEoggJCAlhYSDNiBW5vcmVmaDuIAQGYATHCAQN4MTHIAQzYAQHoAQH4AQKSAgF5qAID;sid=9b4fe19e9de68a3cb71714046bf9d64a;checkin=2017-05-12;checkout=2017-05-13;ucfs=1;highlighted_blocks=5190001_91458119_0_2_0;all_sr_blocks=5190001_91458119_0_2_0;room1=A;hpos=1;dest_type=city;dest_id=-1456928;srfid=49082c78468185e093631018c71495e7e11775c0X1;from=searchresults;highlight_room=#hotelTmpl

Would just take a look at the url and see that only this part is needed:

https://www.booking.com/hotel/fr/hotelwestminster.html

Or that this:

https://www.reddit.com/r/AskReddit/comments/68sgew/you_awake_one_morning_to_find_you_have_10_skill/"

Is just a sugarcoated version of this:

https://www.reddit.com/r/AskReddit/comments/68sgew
These are prosecutors. What do you expect? Integrity and ethics? Seriously? From a position of unchecked, almost infinite power over others?
Simple Proof of the Prime Number Theorem
"Ad networks insist on this because there's no other way to prevent massive-scale fraud by the customers"

Then the ad networks business model is jacked and they should change it. If they can't find a better one, they should go out of business.
Credit Suisse has deployed 20 robots within bank
Not sure what this piece is, it stops short of digging into the research, but also doesn't link to further information. Sounds like an ad for libraries: "I'm doing research in a library, here are two books I found that had relevant information like these two quotes".
Yeah, I know the web hosting landscape has changed since WordPress took off, but if the goal of Discourse was to be the WordPress of forums, using Ruby and Postgres instead of PHP/MySQL seems like a big misstep.
The FAQ is deceptive. AFAICT you can't make Firefox the default for opening links in other apps either.

That, together with "no changing search to google" is going to make many people hate Windows S, I bet.
Well, in 1992 (IIRC), I did a numerical integration in C. For a "first class function", it just took a function pointer. That approach would have been available in C in 1983...
APIS: the unexpected bridge from proprietary to open
POWr.io | SF | Full-time, onsite | https://www.powr.io/jobs

We help small businesses grow online. We’re a small team with a big user base. ie Tons of opportunity to make an impact & grow your skillset. We have never raised a VC round and we’re profitable.

Hiring:

- Junior full-stack engineer

- Senior full-stack engineer

- Junior UX Designer

- Front end engineer

- Business development

- Customer support specialist

Javascript, Rails, Node, Backbone, React, Redux

Please apply at powr.io/jobs
Wow there's a ton about this that I'm reacting badly to.

* It's a jobs ad; it shouldn't be frontpaged and they're not paying anyone $500k.

* Nobody says "I want 100 steaks for 200 dollars and I couldn't find it; there's a steak shortage!!" Labor markets and scarcity are a thing, I'm sorry this person isn't getting (by their own admission) the same output from their few employees as the world's most valuable companies. I wonder how good their consulting is if their reaction to tech's labor market is "the world is rigged and most developers are useless or untrustworthy."

* I'd be curious to know what the author's tech chops are. There's no shortage of non-tech people who think building an app is "simple" because "I know what I want and explained it to you" and surely the issue, should problems arise, is that the developer was subpar. "I'd pay you, but you can't do the work." Please.

This is exactly the person you avoid in your career, life.
I haven't messed with binary since college. (Well, some bitmask stuff happens every half decade I guess.)

If you remember binary is just base2 I bet you could do it. Since you do accounting stuff, could you split a number into each base 10 component? 462 = (400,60,2). A bit of thinking leads me to 10^i, a for loop and some conditional subtraction / modulo. Binary is just 2^i.
Microsoft unveils Windows 10 S for its Surface laptops
I also prefer 16:10 or 3:2 because 16:9 has a lot less vertical space which is quite important for reading etc.
How is this any different from traditional pagination? My understanding is that discourse is essentially just removing the necessity to click a tiny number every time you want to view the next page.
For #1, why would it be? Programs are a bunch of text files, read from beginning to end, that almost always fit in a small part of RAM.

2x faster compiles is still too big an improvement, something there is badly optimized.
"Chin said although technology has allowed Credit Suisse to cut back and middle office staff, headcount has remained flat because the bank has hired a large number of programmers."

Interesting.
Why is ec2 different?
There are a couple documents floating around detailing software engineer pay at Facebook and Google. If you do the math on their equity grants, with the past stock growth, you can reach the same figure.
I have both HP g6 blades and Dell C6100 blades at home...you can get both for about $200/node with 2xquad core and 24G of Ram. The only real issues with them are the NOISE and the electric usage. 16 nodes sounds like your living in an airport. The HP is 8 nodes with a shipping weight of 300 pounds. Cost $350 for shipping, IIRC - pop the sleds and the heaviest part is probably ~25 pounds, easy to handle without help. The HP blades also came with mellonox 10G cards.
If this thing could be persuaded to run Linux out of the box with no driver problems, it could be a Macbook killer.
"...while denying them any realistic way to pay for that service seems bit too entitled for me..."

No realistic way that you can think of. Simply because you can't figure it out and nobody else has figured it out doesn't mean it's impossible. After all, why should anything change if there's no need to?

The ad model is broken. If you want to run ads, get on your content management system and hand-type in your own ads. Own them. Don't toss off the responsibility for what appears on your site to a bunch of third-party yahoos. If that's as much as you care about the user experience, why the hell shouldn't they block whatever tripe is coming down the line?
http://www.dailymail.co.uk/news/article-2073024/BBCs-little-...
> "Sell to people who have money!"

As opposed to optimizing your product so that poor people can enjoy it too.
I'm assuming you're asking what's important in writing "production" Haskell rather than "toy example" Haskell.

Ixiaus's point about mechanics more than theory certainly rings true, though we did think a lot about whether to use GADTs for the Dimension type.
Overall I see this as similar to writing "production" code in other languages, going through a couple feedback loops using real use-cases. Profiling to find the bottlenecks, observing how APIs are used in practice compared to intent, and reaching the service to a stable equilibrium.
We've pushed a fix for this. Please give it another try.
You do realize there is an i7 HEDT ("high-end desktop") lineup that has more cores for, oh, 10 years now, right? Intel will happily sell you an unlocked/overclockable 10-core processor.

If you have coin, Intel has wares.

Having the coin being the key factor here. I won't deny they're expensive. But "computer equipment gets cheaper over time" doesn't make quite as nice a story as THE MAN keeping you down, does it?
I think you could at least make the argument your copy has a similar sort of relationship to you that a child does, so you might reasonably be a little more invested in its happiness than some other random AI (not that I am optimistic about the prospects for uploading consciousness).
Luna Moons | Front End Developer | Austin, TX | ONSITE, lunamoons.com

Luna Moons is a travel technology startup founded and headquartered in Austin, Texas. We believe that technology can be a transformative force connecting people in new ways and empowering everyone with tools that have otherwise been inaccessible or required speciality knowledge. Our application combines our understanding of the way people plan their vacations and simplifies the technical complexity typically required to manage and book a detailed itinerary.

We’re making our first hires. We’re looking for a mid-level front-end developer with a fullstack mindset to work on our core technology – a collaborative travel itinerary builder. We use a wide range of technology in the web application. The primary stack for this position will be React, Less, Node, and Socket.io – though you will be exposed to many other technologies. As an early employee you will have a huge impact on the product.

Required Soft Skills
Self-directed and hard worker
Strong written and verbal communication
Interested in learning new things
Strong in programming fundamentals

Required Programming Skills
Minimum of 2 years working with a front-end javascript framework
Proficient in react/redux
Comfortable working with APIs
Mastery of HTML
Knowledge of Linux environments

Nice to Haves
Knowledge of a back-end technology (Python, PHP, etc)
Degree in computer science or related field
Passion for travel

Our interview process includes an initial phone screen followed by an in-person interview with the two co-founders. Interested applicants please email irwin@lunamoons.com and include “Hacker News Front-end Developer” in the subject line.
Yeah, this seems to be a common objection, but in my experience of actually having used a lisp (Clojure) in production, this was never a problem. Sure, you'll likely still end up with some technical debt, but no more than the Java project's we had at the same company. And not because of macros.

When people first learn about macros, they go crazy trying to do all kinds of things that weren't possible without macros. But once developers gain a little experience with macros, they learn to use them judiciously and tastefully.
That is "minimally punctuated syntax". What we want is a "minimal correspondence between written syntax and the AST"; that is what is really meant by "Lisp has minimal syntax".

What you have there is loaded with ambiguity that has to be resolved by semantics. And after the dust settles, you're left without variadic functions.

Partial evaluation and currying are very valuable techniques. They are still succinct if there is a visible, explicit partial application operator to denote a function that is constructed by binding arguments around an expression.
Sugar-craving crushed—in flies, at least: https://phys.org/news/2017-05-sugar-craving-crushedin-flies....
I wonder how well Linux will run on this?
There is video link in this blog post:
https://developers.redhat.com/blog/2017/05/02/announcing-red...