jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> What I think Haskell does attract are people that like to develop overwrought, abstract, and ornate systems.

Haha. I'm laughing in move semantics.

C++, Perl, Python, Go, Java -- literally any programming language that some group of people somewhere has grown to a large enough scale is full of complexity. Go is supposed to be "simple" but there is nothing simple about k8s by virtue of being written in Go.

Don't mistake Haskell's jargon, idioms, and ideas for your wilful ignorance. There are a lot of good ideas in Haskell that could benefit most programmers if they took the time to learn them. There's a fast concurrent run-time and great primitives for working with software transactional memory, a fast and advanced type system to help you get feedback on your program interactively and reject more poorly formed programs, immutable data structures and rules for composing them that enable distributing computations safely while making code much easier to manage. There is a lot going on here and it has been slowly adopted into other language ecosystems for decades for a reason.

I understand it's often more work than folks are willing to invest but that's no reason to be so dismissive.
> when I make a change and try to run the unit tests, I find myself wasting a lot of time

You might want to adjust your workflow and make it fit the language better. Avoid relying on unit tests for semantics that can be trivially checked by the type system. Get into the habit of launching builds as part of your work, then check back on the test results after they're done. A build doesn't have to "interrupt" your flow if you plan it correctly.
Naive question, but why is everybody so aggravated by formatting discussions? It seems to be a widespread opinion that these discussions are just 1) pointless and 2) difficult and time consuming.

My personal experience is that 1) in many cases you do benefit from taking a moment, going through your code and thinking about presentation. And 2) I find it not at all difficult to settle. A change either doesn't matter, then you just don't discuss it at all, or it is important, then you quickly agree on the best solution. (In the worst case, "best" means what the project lead finds prettier.) If you don't have a social mechanism to agree on something as basic as coding style, then your team probably has bigger problems.

I actually find robo-formated code annoying to read: Go code from a bloody beginner who doesn't know what they are doing looks exactly like carefully tended for, highly thought-out code. And in autoformatted Python, you for example cannot make formulas clearer by removing spaces around operators with higher precidence. Parentheses placement is dicated by how long words are and not by what logically belongs together, etc..
What kind of hard problems, may I know?
No matter which words you use to describe it, there is inarguably a social role that is bimodally distributed and imperfectly correlated with sex that determines which pronouns we use for people, amongst other things.

Even if you don't want to call that gender for some odd reason, that doesn't change the fact that this social construct is separate from sex.
But then the patent would not be on the logic but the mechanical implementation. The obviousness would need to be judged on that basis. The method can be implemented using straightforward combinational logic so the single crank/cycle is a given after you have come up with the obvious method.

Back before software patents were a thing, the "math" was not patentable. Eliminating software patents will be a return to the previous status quo.
If this were automated it would be better... I agree. 2 hard to complete.
Congrats to them, hopefully we see some good features (more stability) and a business model that doesn't piss everyone off and kill it :)
If you're the one being accused, you have to worry about the accusation coloring other people's judgement of you. Most people really aren't logical creatures. People tend to not remember the source or veracity of things they know. So even if you're innocent, others may automatically assume you're a jerk.
you will always have a social network of people in your life

Sure, but that doesn't mean that Facebook will stay in business, let alone stay fashionable or popular. People have a choice between eating and death, but that doesn't mean that McDonalds will stay in business until humanity is extinct. Though they obviously have quite a headstart in fast food and are doing very well.

The other interesting word in this excerpt is "a". People have "a" social network in Facebook, but they have way, way more than "a" social network in real life. We each have hundreds of overlapping social networks, some with precisely defined membership, temporal, and physical boundaries (I'm not polygamous, so my marriage social network is strictly limited to two) and some with extremely fuzzy boundaries (HN).

Facebook has gotten ahead because, though it offers one particular style of social network, it makes it so very, very easy to use that network -- and it has such a great viral loop and name recognition --- that for the moment it is tempting to pretend that all of your hundreds of real-world social nets can be collapsed into one. But the web is a big place, the future is a long time, and UX innovation can and will be copied.
New PHP developer here. Just some perspective from an "industry" guy rather than a super-smart startup guy. I can clearly remember my first foray into Rails, and it'll be a while before I try it again unless I need it for a job. I just don't like it, and here's why.

For people like me, Rails is at least at first glance very unsettling. I followed the tutorial on their site about making a guestbook, on which they proudly boast how fast you'll have it up and running. So I punched in the code they suggested and bang, guestbook. They certainly weren't lying (maybe exaggerating a tad) about the speed, but ...

Wait. What the fuck? You've made a lot of assumptions about how I wanted this to work. What say I didn't want the form to look like that? Why are you writing CSS for me? That's my job! Going further into it made me feel even more uncomfortable, and after seeing the ORM database abstraction and taking my beloved SQL away from me, I left Rails behind.

It's one thing to provide a clever wrapper method to efficiently sort integers in PHP or Ruby without having to import or implement quicksort or whatever. That's abstraction me and my self-taught ilk are comfortable with. But the way Rails assumes what you meant from your code is just distressing. You don't feel like you wrote it, and this code is running and producing a finished webpage without you needing to understand how it works. You could reasonably respond that this is just another layer of abstraction, but producing an entire webpage for you based on some very cursory instruction does not have the same "pure" feel that a sort() implementation does.

My friends think it's great. I think it's scary. And reading some other elated posts from Rails nuts around the web about the whole "just works" thing and the magic going on really is unsettling. You're not building from the bottom up -- schema -> logic -> markup -> style -> scripts. It's all coming together in one big vaguely uncomfortable clump, and you didn't write it. Anything more than a vim macro/TextMate snippet or two that generates code for me -- even if I can edit it afterwards -- gives me a cold shiver, and makes me feel like I'm using Dreamweaver again.

You could read the code to see what it's doing and tweak accordingly, but then, why not write the code yourself in the first place?
Now Huawei is fixing bugs in SELinux:
https://git.kernel.org/linus/68dae71b7cde628a082e982c0abbf6e...

Or reports them, so the NSA can fix them:
https://git.kernel.org/linus/3a2f5a59a695a73e0cde9a61e0feae5...
Last time this showed up on here, a poster claimed to be the consultant who did the upgrade and caused the problem.
There are only a few privacy coins (Monero, ZCash) at this time. I'm not sure why people in this thread are acting like privacy is a standard feature in cryptocurrency at this time. Also, privacy coins were just delisted from Bittrex, so it's not clear what the regulatory future will be for privacy coins.
A similar project recreated the Apple IIc computer program from the 1985 James Bond film, A View to a Kill:

https://m.youtube.com/watch?v=YGVfwEEjRfs
I've figured it out.

The minimum "accidental complexity" in a system can only be equal or greater than the "essential complexity" imported from outside the system. If the complexity could be less, then that would be reducing the essential complexity as well.

Complexity can be measured by the number of abstractions (words, terms, and expressions) needed to express the system.

So if accounting is essential complexity, then the complexity of a computer system for accounting starts at essential complexity, and goes up. The best a system can do is provide 1 accidental abstraction implemented for 1 essential abstraction that needs implementation.

All implementation beyond the naming of the functions is accidental.
I've moved into contracting after being a software engineer/developer/team lead.

Essentially since you are contracting, you are outside of the "bubble" where decisions regarding business get made. So while you may have important work on the project, you are not there when they are deciding on business aspects of it, you are usually not invited to any type of sales meetings or meetings with the clients. This is reserved for company people.

Another aspect you can do is that you can outright reject that type of work or slowly move away toward a client that is not requiring that type of work. When you are working in a company, you usually do not have power to do that. Your only option in a company is usually to quit and then hope next company doesn't pull you into that meatgrinder.
The Web has certain properties that it relies on for its existence. This isn't "clawing for absolute security", it's recognition that if you push the Web just a little too far, it's dead. As in, it's not the Web anymore, will gradually become useless for many existing purposes, and will have to be replaced by something else borne out of its ashes.

"The Web but without worrying quite as much about its security/privacy characteristics" is simply not the Web. Same as "the Web but without stressing so much about backwards compatibility". It would be a great thing, perhaps, but it's something different and would evolve very differently. (In particular, it would lack some of the core reasons why the Web has competed successfully with native apps.)
Regulations have a way of evolving to meet people's attempts to evade them. Whatever ShapeShift is doing might work for a while, but in the long run it looks like a cat-and-mouse game.
Your my hero, I used this to play Escape Velocity before the Windows port. Anyways, Mac OS 9 doesn't run on 68k and exucator didn't run PPC applications?
I expect a Linux port to be made available, but did they actually promise that? From what I can tell, they promised the open source part, and announced their intention to have ports to OS X, i OS and Linux (https://developer.apple.com/swift/blog/?id=29)
Now, this is going to be the most exciting news of 2015 for me. Well done, Microsoft.
holographic nipples everywhere
The technology definitely applies to the big dollar crops (corn, soybean, etc), and we plan to serve those markets someday. We are starting in specialty crops (almonds, grapes, tomatoes, etc) because these customers have a "hair on fire" problem with intensive irrigation management and the California draught.
Take the very same individual and place them in India or US, or even in a high or low CoL area in the US and they would charge differently; but their work is still the same. So you're not really getting what you paid for, you're paying for many externalities.
People want their own space because there's a fair share of assholes which ruin the common grounds for everyone else. That's why dorms common kitchens are always filthy, or people are willing to commute a long way from their own house just to avoid noisy neighbors that are part of living in a downtown apartments.
Funny the next article after this one is actually about that.

https://www.bbc.com/future/article/20201231-how-the-way-you-...
> When I say build static like a Go binary, I mean that the binary contains everything, and is not allowed to dynamically load anything at all.

Just code? Or are you talking about data (e.g. HTML files) too? A lot of python's ecosystem seems pretty built around the assumption that non-code assets won't be bundled into single files, so any magic single-file Python compiler would probably have to include the ability to distribute those assets separately with the executable.

> preferrably it doesn't need a C standard library

I don't believe that golang even meets this standard--not with default options, at least. Also, why? How often have dynamically linked libc version differences really been a challenge for you in production?

> does system calls manually

This is generally considered to be a bad idea. Golang has moved away from this on several platforms, and people are making noise about doing it on Linux, too. A minority of compiled languages opt to go to this route. Why do you want this?
Online shopping and finally Covid = double whammy. I recall visiting Fry's in San Diego and LA many times - nothing like it in Canada, but a few were similar. These Canadian ones were swept away by the internet. I had noticed that Fry's was getting more and more tatty in recent years - there would be huge rows of the same stuff = many suppliers fading away.
The world will miss them, Thank you Fry's for the era you dominated. Predecessors, like ACP, Advance Computer Products - Tom Freeman, as a prime example, had a monthly flea-market/swap meet in his parking lot - always a hit. They faded in the 90's as surface mount and LSI made stuff hard to build and repair... and Space Age Metal products - a huge scrap yard that turned into ClassIC components - who successfully transitioned to be a major active components supplier.
Climate change exists. It has always existed. Most of the northern hemisphere used to be covered with ice. Prior to that, it wasn't covered with ice.

Is it a serious problem? No. Is the Earth getting warmer because of human activity? Probably not.

Things that are a serious problem: Pollution, pesticides, increasing water scarcity due to population growth in (already) arid areas, loss of biodiversity due to a number of things, the corporate take over of government and society, over criminalization of society with unjust laws, endless wars where western nations kill the inhabitants of non-western nations.

There's much to be concerned about. Climate change is last on the list.
I'm asking how you know where to walk to. Sheesh.
There's something psychological about a product being in its clean and pure undamaged state. And it goes well beyond fruit.

Even for products that get wear and tear through normal usage, it's somehow better if we're the ones who do that wear and tear.

Eg, say you're at a book shop buying a paperback. If there are multiple copies you'll choose the one with the crispest cover and cleanest pages. Even though it'll get bent up and dirtied as you read it yourself anyway.
I also immediately thought of Maciej and Pinboard. He expands a bit in this interview [1]:

> Can you explain why you think that's a feature?

> I believe that relying on very basic and well-understood technologies at the architectural level forces you to save all your cleverness and new ideas for the actual app, where it can make a difference to users.

> I think many developers (myself included) are easily seduced by new technology and are willing to burn a lot of time rigging it together just for the joy of tinkering. So nowadays we see a lot of fairly uninteresting web apps with very technically sweet implementations. In designing Pinboard, I tried to steer clear of this temptation by picking very familiar, vanilla tools wherever possible so I would have no excuse for architectural wank.

[1] http://webcache.googleusercontent.com/search?q=cache:98zuG6u...
There are a variety of basic errors in the interpretation of this study:

http://ameyer.me/science/2015/01/02/vogel.html
Also, exercise reduces colon cancer risk by 40-50% and breast cancer risk by 30-40%. Then there are other risk factors such as poor diet, insufficient vitamin D, etc. Overall it seems highly unlikely that cancer is mostly "bad luck".

http://www.cancer.net/navigating-cancer-care/prevention-and-...
Off topic, but the second comment from Jason is pure gold. He's calling Philip Greenspun (of Greenspun's tenth law fame), a "Harvard Lawyer of unknown programming provenance". I can see how blog hostnames can confuse people, but maybe google the author for context ?

Besides, he's fighting the strawman of training, where Greenspun talked about economic incentives.
Huh, didn't know Scribd had changed focus to become an E-book service. My impression of Scribd has long been that it's a piracy-pdf site.
"It’s just — this is crazy. You go to a rock concert and before the first
song is finished, the tweets are coming through. It makes me crazy because
people are not relating to the real world anymore. That’s very worrisome.
Hunter Thompson predicted America would soon be a nation of panicky sheep,
and I think it’s adding to the problem."

In a nutshell, I couldn't agree more with the notion
I don't know how to read your comment. I, for one, do believe that surgical procedures should be designed for the average surgeon.

You want the procedures to be built around superstars?

If I were building a software company that I wanted to survive and thrive long term, I would definitely try to cater to BOTH the superstar and more average programmers. Both have their place.
What the blog post is saying is essentially saying is that pg is crying about a broken market, when in fact the market is working perfectly, ie. people who could be great programmers would rather go to other higher paying professions because programmers' salaries don't pay as well. The OP basically says the CEO of the startup could get 30 great programmers if he just raised his salaries and benefits higher, which is what the market is telling him. For example, if that CEO paid his programmers $1M/yr, you don't think he would get 100 of the best programmers in the entire world? What he really is saying is that he wants great programmers at a lower cost, and that's basically what increasing immigration would do by increasing the supply.

I personally have no problems with increasing immigration via H1B, but the OP makes an interesting point about economic incentives that push people to occupations. There are a lot of very smart people who would make great programmers that are going into finance, medicine, law, etc, because of higher prestige and better pay. Increasing immigration will increase the number of programmers, but if it is increased to the point where it affects wages, then people who would be great programmers would likely go to other professions rather than having to compete against immigrants for a comparatively lower wage, so it might be self-defeating in the long run.
It does indeed put restrictions on the software author not to expect hardware to be ready in less than 10ms. Perhaps the specification is somewhat nonsensical. That does not permit the software author to create restrictive interpretations. IMHO, it informs the software author that flexibility should be allowed in their code.
True, but those examples you cited are the minority.

Some software engineer working with drivers are distant from the hardware developers (especially in Linux) and even inside corporations there's a wall somewhere.

And of course, sometimes there's an abstraction between hardware and driver (usually through a firmware). Commonly relating to a standard, like USB storage, ATAPI, etc

" You can't make a piece of hardware without thinking about how the driver will work."

Unfortunately I've had to work with some devices that had very hard requirements on the software (basically, response time) (or you would add extra hardware to deal with it). In the second revision this problem was "fixed" by increasing a certain buffer size.

So yeah, sometimes hardware engineers don't think about that comprehensively enough.
If that was all done by one person (heck, even a few): impressive.
All that is correct, but it needs (a) support in software and (b) the outside party having secret values mathematically related to the "attestation key" embedded in the TPM. The OS designed for this kind of system then uses the TPM to verify the signature, hash or whatever of software, and would either shut down any unapproved software or deny access to the DRM'd data.

I don't know whether Windows 8 is like that, but anyway you can opt out of it by using an OS that doesn't support any remote control. In many BIOS's you can turn TC support off.

Here is the formerly canonical, maybe dated now, overview of TC http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html
doesn't the 'big bang' violate this completely?

i feel any fundamental theory must violate the conservation of mass as we perceive it in order to explain existance (not to say that it isn't a very good approximation with a true underlying conservation law)
Guards generally carry phones on them as well so there'll be quite a few false positives.
I wish more people running fullscale installations of Microsoft Office actually evaluated what the needs of the users are.

Does everyone need cloud sync to SharePoint?
Shared calendars?
Lync integration?
Meeting room bookings?

The office suite can be really good (yes, I actually think so and use it by choice for my own company) if used correctly.

But sometimes all people want to do is write a 2 page paper on photosyntesis for biology, then it might be overkill.
Will she get to serve her time in a Women's prison?
That is an intensely irritating website to try to read.

I gave up after reading barely any of it.

I like to read with the text at the top of the screen, but it grays it out (for no reason that I can determine).

I don't know what it says, but are they complaining about some aspect of fracking? Overall fracking is great for the environment because the natural gas it produces is the cleanest hydrocarbon we have.

It's excellent for both pollution and CO2.

Hopefully environmentalists will get behind it as a stopgap till we can get some nuclear power going.

(I'm not ignoring solar and wind, but they are not ready to be more than a minority of the power grid.)
We hate the web... we asked for a SDK when the iPhone was released ;-)
Please, please, please support card numbers with punctuation and spaces. I can't count the number of times I've been irritated that I can't use spaces or dashes or anything to punctuate the number and make it easier for me to check over. It's a single function call on your end.