jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I've been the elephant in the application architecture room for years. I was opposed to Dependency Injection for years for the primary reason of Complexity, Readability, and Teachability.

As a consultant, I have the opportunity to traverse many different development environments managed by diversely capable development teams. This experience has led me to the conclusion that there are many more entry-level, mid-level, and worker-bee developers than senior programmers and architects.

So when architects design new systems, you'll see a lot of highly complex, loosely-coupled code that's simply unreadable, and no amount of "knowledge-transfer" will bridge the gap with the wider audience of developers who are not as skilled.

You end up with those mid-level developers altering code in ways that break the original intent with the primary concern of being productive and completing tasks. I can't tell you how many times I've had to unravel shoddy code baked on top of or into an otherwise "normal" architecture.

This is why I eventually postulated that complexity trumps loosely-coupled architectures. Our "customer" as architects are those mid-level developers. We need to build frameworks and code bases that _anyone_ can maintain and enhance.

So let's change it to SOLID-C. SOLID principals minus the Complexity. If we can achieve that, everyone will succeed.
The compiler also fails if a multi-line comment doesn't end at the end of a line.

<!-- a comment --> and more text

It outputs an empty compiled file.

My honest opinion is that you should consider rewriting the compiler in a classic tokenize-parse-compile style. Several projects (like mustache.js) have had to go through this evolution. Your current solution -- line-by-line with regexes and state flags -- will only get hairier and hairier.
No C/C++?? "Show HN: DevFreeBooks – Free ebooks for web developers (devfreebooks.org)"
Even then, you'll probably have a pain in the butt time. It uses coreboot to startup, and the coreboot devs don't seem to care about any OS that isn't Linux, so you have to go through a somewhat painful process to get to the point where you can install a BSD.
Wordy ... but well written.
TL;DR ... I did not read it all. So, what I'm really saying is that it skims well.
They're like fairly-reliable burner laptops. They handle most of the day-to-day things you would ever need a laptop for, but don't leave you worrying that much about price if it were stolen or damaged.

Which is probably why they're so popular with schools. I no longer own one but when I did it was my go to for email and basic web stuff.
Huh. That's pretty awesome.
Generally, I agree. However, we're discussing a highly customizable WM. Not GNOME or KDE. You may assume the user is technically adept, and able to read a man page. Telling them to do exactly that is fair (but I agree it can be said friendlier). Silence might be better, but it might also be worse if the reader is awaiting help.
Except that it doesn't provide the same OpenGL features and hardware video decoding as fxglr.

So much for "supports".
There is a technical rationale that should be read to understand kernel dev's PoV : https://github.com/torvalds/linux/blob/master/Documentation/...
Yes, super exploiting their drivers is a necessity for their success. But there are others. Governments have been intentionally crippling public transportation for the past 40 years or so in many western countries. And they have been shifting resources to private transportation. Liberalizing labor law - or more precisely: transferring authority over labor law to unaccountable private tyrannies - is another. And the UK was pretty much leading this assault. Even now the German government is working aggressively towards scrapping the Passenger Transportation Act which they are refusing to enforce consistently anyway and which at least in theory puts a cap on the life span of this horrible business model.

Uber at the end of a day is just a private enterprise operating (mostly) consistent with the law and with it's function as a private enterprise which is to make money for its shareholders. Blaming them for this is akin to blaming the puppy eating monster for eating the puppies we give them. Who the f- thought that would be a good idea to begin with?
It does make an effective cleaner but you would have to be a complete idiot to do so.
I guess what I meant was, "We now have a huge amount of evidence about what they really are doing, lets talk about that and where the line should be drawn; speculating gets us nowhere."
> First, women playing football have a common enemy: the evil men who tell them they can't, the patriarchy! A common enemy is great for team dynamics.

^^^ Really? This is a rather immature statement.

Also I don't really see how your point relates to my argument that women have a natural penchant for teamwork.

I guess playing because you're passionate about the sport isn't sufficient 'incentive?'

Women's football has pressures and hardships that men's football doesn't have. For one, teams are not affiliated with any school so we have to buy our own equipment, rent the field, pay for traveling across the country. I spent about 1K every year playing football (and have spent a few more Ks paying for three sports injury surgeries).

We all have full-time jobs, and many have families and children. Most of my free time from January to July is taken up by weightlifting, practicing, watching film, and traveling for games. So a typical practice day for me looks like 8-4:30 programming job, 5pm get home, 5:30 leave for practice, 9pm get home, eat dinner, go to bed, repeat.

No fame. No social status++. If anything, you're making an argument that female football players have a more "pure" reason behind playing football. (Though I would never make that claim, so as to insult our male counterparts that are just as passionate about the game.)
Offline syncing is tough, but it's hardly an unsolved problem in the world of software. It's not even an unsolved problem in their specific market: syncing a todo list between the iPhone, iPad, and Mac OS X.

I'm not a Things user, but I'd be pretty annoyed if after two years the only thing they've said is "it's really hard" and the actual feature is still months away.

There are two major mistakes here:

> Before closing this article, I would like to offer a
> cursory glance of where we‘re at right now: We have
> created and deployed both server and client-side sync
> components. Both components are completely general and
> can be used for any application. They have been
> successfully tested using a special demo program. We are
> now in the process of integrating this technology into
> Things.

This smacks of massive over-engineering to me. Cloud syncing is one of those problems where the type of data you are syncing significantly affects how you approach the problem. In my experience, generalized components are not very useful here, since you need to custom tailor the sync based on your specific use case anyway.

I suspect they're now going to run into problems while mapping their generalized solution to their use case. And since there is only one use case to support in the first place, it won't have accomplished much except wasting a bunch of time.

> Finally, we must consider scalability. Creating a
> solution for a few thousand users is one thing – creating
> a solution for millions of users is a different beast
> entirely. We have all experienced what happens when a web
> service is accessed by more people than it was designed
> for; at first, the service becomes slow, then it fails
> entirely. It has been our primary goal to create an
> architecture where scalability was not an afterthought,
> but rather built-in from the beginning.

Do they actually have a million users to support? I doubt it, given the relatively high price tag of Things on the iPhone/iPad/Mac ($9.99/$19.99/$49.95). If they did, they would have several million dollars to throw at the problem. This certainly seems like a case of premature optimization.

Judging by the comments here (and in the original blog post), in the amount of time they've spent trying to build the perfect, scalable sync framework, they've hemorrhaged a vast portion of their customer base to other apps like OmniFocus (despite the fact that OmniFocus is significantly more expensive).
...and speed?

Of course, one might first want to consider the depreciated effectiveness—relatively speaking—of the sugar, and of the caffeine, were they to combine all three.

Related: Kumail Nanjiani on new drug called cheese
http://www.youtube.com/watch?v=k1cvKcGVy6k
My highest dose was a large mug of dark roast made in a french press. One of these in the morning, one in the afternoon. I don't have any idea exactly how many milligrams of caffeine that was, but note that the darker the roast, the less caffeine there is.

So I don't think I was even actually consuming very much of the drug. Rather, I believe my body processes caffeine very slowly.
Also one should recognize that Facebook never let the site degrade to the point that bad features caused people to leave. Appspam was a huge problem, for maybe a month-- then they started incremental steps to limit it, until now when there is so little of it on my Newsfeed I forget there are apps. There is a threshold for people leaving and Facebook always skirts it, never enough to cause a mass exodus however.
There is an inexpensive way to do this, actually. It's not as good as a real sleep study of course, but it works.

Go to eBay and search for "usb pulse oximeter". They're about $100. Wear it overnight (tape helps) while the software graphs your blood oxygen level.

If you have sleep apnea, at some point during the night, your oxygen will dip significantly and your pulse will spike at the same time. It is easy to see this event on the graph. Depending on how much of a dip there is, and how often it happens, determines the severity of your sleep apnea.

I have sleep apnea myself and have had a real sleep study done. I use the pulse oximeter at home to verify the effectiveness of whatever sleep apnea treatment I'm using at the time (cpap machines, different kinds of cpap masks, dental devices, etc).
The main idea is that things should get sorted by tags. So for example #random http://upout.com/at?v=g&st=t&s=Random has more things to do rather than just restaurants. You can consequently follow #random or users who post your type of events and you'll get a stream of those related ones.
Have you tried this site/book?

http://www.dspguide.com/
The readers here tend toward the more sophisticated end of the spectrum, and of course the presence of scores doesn't preclude future readings in depth. We all understand that scores are blunt indicators, but why not have access to that information? Knowing how the community "graded" a particular comment is an interesting piece of meta-information, even if you believe the cognitive anchoring effect diminishes its value as an indicator of the relative quality of the comment. But given the quality of the audience, high scores are likely to be positively correlated with quality comments, don't you think?
I think this is brilliant. If you can get enough people typing in their current salary you could have a significantly better data source for affluency than the US census (which is what everyone uses now). That database (completely anonymized of course) that ties location to affluency would be worth a ton to advertisers and marketers.

Well done. Good luck!
What does this provide that glassdoor.com doesn't?

*edit: other than the app-ness, of course.
But no one actually uses OpenGL for console games. It's all custom libs (which is basically Direct3D on the Xbox).
Lovely site, the UI is very easy on the eyes and I love the filter style.

My only complaint is with content really; it seems like a large percentage of the activities are already just business listings (mostly restaurants). How do you intend to weed out the hundreds of simple business listings that will crop up and make the site look like the Yellow Pages?
this is hilarious :) When you put it on fullscreen in the browser you could do some serious acting :)
"Can you jam the console with cowboys in cyberspace?"

http://www.youtube.com/watch?v=b7tazcxWUwk
Based on submissions, All About Berlin.

https://allaboutberlin.com/

@nicbou
Thanks for this, good quality content.
When reading I actually assumed any such regulation would effectively be "regulate workplace surveillance" of sorts.

The software described would fall into that category.
The whole point of a free speech oriented platform is that you don’t make exceptions for controversial issues. If you do it for one thing, then you do it for another, and pretty soon you’ve turned into a user-hostile echo-chamber like Medium.

I think Substack’s policy of just following the law is completely reasonable. If one disagrees with a particular writer, don’t read them. Expecting the entire world to agree with your individual viewpoint is frankly immature and shows a real lack of self awareness.
Perhaps there will be a tab for your wallet, and an extra button to pay. Apart from that - you don't need to use the cryptocurrency parts.
That would assume that all big companies are the same. Which is provably false.
What do you think they might do? to De Gaul or Napoleon.

And which political agenda do you exactly mean
I mean, I'm using the provided GiST-based R-Tree spatial index... Otherwise, I'm not really making any use of PostGIS and might as well look for other spacial DBs or write my own little data-structure like you mention (thanks for the link to VP-trees btw).

I was hoping that the performance of PostGIS's features could be improved with some know how.
I had heard about it but never tried it.

Google Earth is a favorite software, too!

Might Google consider hiring another flight simulator team to compete with Asobo and Microsoft?
I suppose Supreme court decision over this matter sets precedence for any future cases.
(The 12 Monkeys series is very bad compared to the original Terry Gilliam movie.)
Ok, but imagine them being efficient at what they do. Imagine efficient suppression or efficient indoctrination policies, etc.
I'm not saying the company is necessarily at fault.

What I am saying is that I deal with the company not the individual (especially in this case as that is literally Uber's entire business).

If an Uber drive assaults, injures, and robs me I expect Uber to get back to me with "We have brought this matter to the appropriate authorities please follow up with [individual] at [my local police]" rather than "That wholly independent contractor's name is [driver name]. Good luck"

edit: I would also expect a good company to cover any expenses I incur from the incident as well as replace stolen property.
Oh, I agree. It is all what you say it is. I would add boring and bland.

Still more legible than the weird-ass Baskerville-geometric chimaera of a website I have open in another tab (which I won't name since I do like the guy).
> Also, the app is pretty complex, so writing tests for every use-case and environment is impossible.

No, you're just using the most expensive / error prone testing methods: doing it manually.
most websites will at least require you to re-enter your password (over SSL) to change your key profile attributes or password

While that is the case for most sites, HN doesn't require you to enter your current password when changing your password (or any other information for that matter).
It is a good article, but I think they might overestimate the necessity to have several successful mobile projects under your belt. See http://techcrunch.com/2010/12/11/the-5-myths-of-building-a-g...
I think our best bet is to let our own bodies figure out what's good for us. The problem with that is that "food" these days includes many nutritive substances which simply didn't exist in modern quantities during the evolutionary development of our appetites, most notably this abundance of fructose (HFCS, anyone?). The act of consuming food usually prompts one's body to produce insulin in order to assimilate the carbs in the food, and this insulin acts as an appetite suppressant. The problem is that fructose is so simple that no insulin needs be produced in order to assimilate it, so the appetite goes unsuppressed after the consumption of calorie-dense food, and the subject continues to feed.

This leads to a positive feedback loop, because the stored calories require maintenance (heavier people must eat more to maintain their bodies, regardless of whether that weight comes from muscle or fat). This feedback loop causes all sorts of other problems, too.

That's not even getting into the ancillary effects of the other stuff that we get from grain.
There was a great article in the New York Times about how the USDA is simultaneously trying to get people to eat more cheese while telling them that saturated fat is bad for them.

http://www.nytimes.com/2010/11/07/us/07fat.html
There's also a great HP webOS runtime for haXe that's already been used for several projects in our app catalog.
Do inline strings even truly exist in assembly?
>* adsense serves ads to 'open web' properties already. However they do this with user tracking, just like facebook already does.*

nit: AdSense does both contextual and personalized advertising. It launched as contextual only, and that is still part of what it's doing: https://en.wikipedia.org/wiki/Google_AdSense

(Disclosure: I work on ads at Google, speaking only for myself)
Privilege is like the emperors clothing. Once you reject the meta-narrative the hyper-realty crumbles.
I decided for my application to use MariaDB because I have some MySQL experience and can get it up and running quickly with best practices, and when the app reaches a certain mass we can migrate to PostgresSQL or a solution like it as we find need for the kitchen sink features. Right now the app is one view and 5 tables, only one table supporting a JSON type column.

edit: grammar
So can we test against an illiterate population and test their memory, recall and problem solving techniques ?
I don’t understand why individuals make posts about grand topics like overhauling a whole tax system. It’s not like anyone is going to listen to them.

In any case. It seems to me that tax systems are complex (if they are) because you can use money (the thing that is ultimately being taxed) in order to get around regulation. If you can pay some people 10,000 USD in order to save yourself 200,000 USD, then obviously you are gonna want to do that. So then if you already have high wealth inequality you would have to device ever more clever schemes in order to truley tax the rich more than the poor.

So can you really create a simple tax system under these conditions?

I don’t know if overconsumption is really what should be disincentivized, if the author wants a good economy. It’s a consumption-driven economy. Does the “economy” want every household to get a vacuum cleaner, a television set, a washing machine, a stove, and not much else? Probably not since that creates less economic activity. Sure, that leads to environmental problems and to “poor people hating us” (though I don’t see how that matters), but those are “externalities”.
> the Java culture does tend to encourage hypermodularisation so what would be one project in another language could turn into several in Java.

I guess it depends what you're comparing to, but I think of Java projects as more monolithic. Spring does dozens of different things compared to something like say Flask. And particularly in Haskell or Javascript you seem to need 100 tiny libraries to do anything.
I think http://www.network-science.de/ascii/ has existed for more than 9 years and does its job pretty well. http://web.archive.org/web/*/http://www.network-science.de/a...
It's hard to raise rates on existing clients in a short time frame - giving them some notice (3 months?) would be more professional. Your current predicament is not their problem, really. However, if you could offer extra services (like, you never did DB work for them, now you'll do DB work) having a different rate for different types of work is more palatable.
So it seems 70% of us like our jobs.. really?
It would be interesting if features and the amount of content produced by them scaled with the frequency of interactivity between contacts. WLN seems to draw just another arbitrary line. Although it has some flaws, using levels of shared knowledge in the form of questions to be answered to access content isn't a bad proposition either.
Oh, I mean raising my rates on new clients only. The rest of my clients would receive an early notice.
>Laptops are expensive and underpowered

Netbooks are inexpensive and underpowered. I bought one partially to see what all the fuss was about and partially to hack it into a hackintosh :D

The small screen makes them useless for anything other than casually browsing the web. I had intended to do some development work on it, but the slow response time and limited screen real estate make that a real headache. The cramped keyboard slows down your typing also. I'm going to buy a fully-fledged MacBook instead.

Btw, if I wish to just quickly go on the web, I still fire up the netbook and browse away - I'm commenting on my netbook right now ;-) So it's not a complete waste of money. I can envision myself doing all my real work on a MacBook, while using the netbook to iChat my co-founder or to have tech manuals/webpages open on a separate screen as I need them as reference.
A button which, from time to time, shows up where the “Bold” button normally is and which does random stuff is bad UI design, even if you can easily undo.

Undo doesn’t and shouldn’t excuse bad UI decisions.
One could choose to use it to excuse one's failings but that doesn't make the argument invalid.

You have to understand your enemy. I know I am incredibly absent-minded. I've learnt through such reading that this is not a failing of willpower or discipline so all the people crying 'just try harder, stop being lazy' are wrong. These are not solutions to the problem.

Of course that doesn't mean I give up on being an adult. I just find solutions that don't revolve around some Victorian working ethic; 'hard work is the solution to all ills'
I think he is just experimenting with whatever technology he can find, hence cassandra for powering a blog... Nothing wrong with that of course, I regularly experiment with scaling on personal projects eventhough I will almost never need to use it.
Do you have a github repo ?

If your release and branching is based on Git and all the work you did resides there, it becomes difficult to switch horses mid stream.
If your open source contributors and have accept pull requests then the history gets lost.

Repo isn't centralized, its distributed amongst Github not across systems (Github to Bitbucket or Cloudforge etc.)
"Of course Ulrich Drepper thinks that dynamic linking is great, but clearly that’s because of his lack of experience and his delusions of grandeur." I find these kind of comments reflect veerryyy poorly on their authors..
This is quite an old article and I don't think I've seen Sublime updated since then.

Could Atom have moved into the lead?
Wrong. He also voted against it the first time in the House, when the bill did go down and the Dow dropped 700 points.

Plus, the "total collapse" argument was BS. We'd be further along if the feds had allowed the banks to fail (while protecting individual depositors) and reorganized them. We did it this way with the RTC in the 1980s and Sweden did it in the 1990s.
i don't really like email ... how about Facebook?

here's some subtext for my question: http://www.talesfromthe.net/jon/?p=2091
He's talking about people communicating in communities on the internet. Do you not see a link between that and Hacker News? Sometimes the medium can be the message.
Politics is about parties, not policies. News at 11.
Instead, UPS and FedEx have taken the high-margin segment, leaving the low margin stuff for the USPS. Also, much of what Lysander Spooner's company was great for is now covered by email and other Internet apps. (IIRC, an attraction was that intra-city mail was delivered quickly.)