jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I think everybody hates comments like "getFoo: Get the value of Foo", and huge blocks of commented-out code.

However, I _love_ seeing the following types of comments:

1. The high-level overview of how things fit together: This class represents a compiled method at the VM level. It does not contain the actual native code. If native code exists, it is handled using class Blah instead.

2. What should work, but doesn't: You'd think the following two lines of commented-out code would work, but they don't, because libfoo 1.7.1 and earlier has a stupid bug, so we need to do things the hard way.

3. The epic warning: Apple's Component Manager API does not work the way you'd naturally assume. First of all, it constructs a single 'instance' of a class before it initializes the class. Second, the memory reclamation system is really weird... and so on, for a page and a half.
Corporations can now protect themselves from all sorts of risks which weren't possible before using swaps and future instruments.

Innovations in debt financing drove the huge economic growth of the last two decades. Mobile phone technology would never have taken off if cellphone companies couldn't have used debt financing to build huge cell tower infrastructures.

CMOs for all the problems they caused, did allow for a huge increase in home ownership. For every default there are dozens of paid-up home owners who could never have afforded to buy a house otherwise.

Electronic Government bond auctions have driven down the cost of government borrowing, leading to lower taxes.

Forex costs have dropped massively. Look at your laptop. It's likely that during the manufacture dozens of countries were involved and likely hundreds of currency transactions. You paid less for your laptop because of a decade of innovation in the FX markets.
It means you know where the plane is going to be before it gets there, if you didn't already know. As in, you're planning ahead, rather than reacting to what's happening. Which I would imagine takes a lot of experience at 1900 knots.
Doesn't work in Google Chrome for some reason. You just get a simplified version (no sparkly goodness). Anyone care to speculate why Apple made this decision, given that Safari and Chrome are both webkit based?
Read the fine print:

* Create a free Find My iPhone account on any iPhone 4, iPad, or iPod touch
(4th generation) running iOS 4.2. Once you create an account on a
qualifying device, use your Apple ID and password to enable Find My iPhone
on your other devices running iOS 4.2. Find My iPhone is not available in
all countries.

So you can use iPhone 4 to activate the feature on 3GS, though I have not tried yet.
So, spying on people from the air can't be my hobby?
You need to purchase a version of office that supports skydrive.
> A better way to put it: what are the chances that over a 48-year timeframe, a random strategy will return ~20% annualized return compared to the market's ~10%?

Easily answered. Let's say that a 10% return is the mean return, and one standard deviation is 5% -- just an example, and these numbers aren't real (although they could be established by asking everyone what their returns are).

So a return of 20% or better represents two standard deviations above the norm, or 2.2% of the investing population (this is a one-tailed distribution). How many investors will achieve that result in a large population? 2.2%. In a pool of a million investors, that's 22,000 people.

> Buffett is an existence proof that investment is skill, not chance.

With all respect, it's more accurate to say that your view of probability is an existence proof that many people don't understand statistics. Let me ask you -- do you understand how science works? Scientists don't say what you just said, ever. They say that the probability that this outcome resulted from chance is p ("p-value"), referring to the probability that the result arose because of chance. (My 2.2% probability above is a p-value.)

When the LHC scientists announced that they believed they might have detected the Higgs boson, did they say that their measurement constituted an "existence proof" that the Higgs was real? No, because they were scientists addressing educated people, they expressed their result in terms of a p-value -- p was the probability that their result came about because of chance, not the hypothesized particle.

A chance result isn't the last possibility that a scientist considers, it's the first. And no one who has been educated claims that a result that might have arisen by chance constitutes an "existence proof".
I do like C++, have my bookshelf full of C++ books and magazines since the C++ ARM days, still follow C++ standard even if I nowadays tend to spend more time with other languages.
Avoiding commas is simple. Just convert Times to Sequence when needed and always use * for multiplication.
The center of gravity of the whole system must be in the geosynchronous orbit (36000 km up) so that the thing stays up. This means that half its weight (not mass!) must be above 36000 km; in the modern proposals there's no separate counterweight, but the ribbon itself extends to ~100000 km up. In practice, the CoG must be a bit above 36000 km so that payloads going up don't pull the ribbon down.
You might want to think about Americas' Prisons. The secret ones, as well as the ones being used to enslave 1/3rd of the population..
http://blog.atom.io/ seems to be WIP, the meta tags are quite revealing :

At GitHub, we’re building the text editor we’ve always wanted: hackable to the core, but approachable on the first day without ever touching a config file. We can’t wait to see what you build with it.
Stop linking to paywall sites, please.
Are you writing an open letter to the tagesschau now?
There is a lot of “I wish this was Agfa so I could really flex” jerk-off stuff in Haskell.

But I’ve seen way more useful software fall down the show off well in C++ than in Haskell.

I think it was Thompson or Ritchie who said: “debugging code is twice as hard as writing it, so be half as fancy when writing as you could be.”
Does it support non-ASCII/non-UTF8 encodings now?
meld's failure to do anything meaningful with files in other encodings (i.e., 95% of the sourcecode I have) made me go with diffuse even though meld looks slightly nicer.
That looks like something that could work. Inspiration for that of course also from Yahoo Pipes which is made for services processing ; you can probably integrate a similar idea to create graphical representations of (processed) services. However, that would make it quite a different app and out-of-scope from what you are doing at the moment.
I wonder if its the same as they do to cars, I /seem/ to get far more millage out of the the first half of the tank...
That's a great resource recommended to anyone who has to write any javascript.

There are two more lectures, sort of a series when put all together:

Advanced JavaScript http://video.yahoo.com/video/play?vid=111585 (3 parts)

An Inconvenient API: The Theory of the DOM http://video.yahoo.com/watch/111582/992708 (3 parts)
The password generator can be tweaked slightly to return the first --n-- sequences of --m-- or more alphanumeric characters:

strings /dev/urandom | grep -o '[[:alnum:]]\{--m--\}' | head -n --n--
Facebook is doing that... Look up CTRL-Labs.
Oh come on. I had a laugh reading it, but immediately understood why it was changed—voluntarily, not by anything resembling police. I wouldn’t wish real censorship on anyone, but I wish y’all were at least able to identify it with better accuracy than a poorly trained AI.
I’m sure there won’t be any commentary other than “these voters were fooled by Amazon!” As if the workers there have no agency and no logical thought processes that would make them think for themselves that the union would be anything but negative.
> capitalism isn’t some intentional decision that society somehow collectively makes,

Yes, it is. Historically, it is an intentional decision society collectively makes at the behest of and for the benefit of thr mercantile class.

> that arises in the presence of (1) property rights, and (2) freedom of association

Property rights are much older than capitalism, freedom of association as a widespread normn is newer and not super consistently found with capitalism. The particular structure of property rights that characterizes capitalism, which is very different from the system of property rights that characterized, say, feudalism, is not the same thing as “property rights” generally, though supporters of capitalism often confuse the two concepts.
I have seen a mix. For example, many Android developer tools (not written in Go) use this single-dash style. I believe the standard libraries used for parsing in internal tools mostly support both syntaxes, although some docs do describe the old single-dash style by default.
DO = Digital Ocean
Again, depending on your needs, VPS are not a commodity. GCP offers a few things that Azure or AWS don’t, etc...
Often times making sweeping generalizations without deep industry knowledge is a bad idea.
If you don’t even know what DO is, why do you feel experienced enough to argue?
From the video:

> This research may help explain how rainfall may spread diseases such as E. coli through the environment, and even to humans.
I've seen the living cost question a few times today here on HN, and I've never seen that before. Is this a thing these days or is it specific to the startup culture perhaps?
I have to say, I can't help thinking the author doesn't know anything about Hemingway or Picasso. Both are very famous examples of how depression can be creative. You can name many others like Virginia Woolf or Emily Dickenson.

I think both depression and exuberance can be creative, albeit creative in different ways. Exuberance is very good for, as the author notes, divergent thinking. You simply have the ability to come up with so many positive possibilities. Depression on the other hand is very converging. You just know for sure that something bad is going to happen.

EDIT: I should add that Hemingway at least was likely bipolar. So it may very well be that he's a good example of how both depression and exuberance can be creative.
search was considered done to death before google. of course, it really is done to death now...
That's hilarious. It doesn't sound like you know anything about the PCLOB.

This group of political appointees presided over the genesis of the largest surveillance/propaganda program in the history of the world. Corrupt and inept seems fair.
> Something is very wrong.

...with your valuation methodology being realistic. A small value multiplied by a big number can still end up very big.
AWS recently announced ClassicLink [1], which helps with migration: "In order to allow EC2-Classic instances to communicate with these resources, we are introducing a new feature known as ClassicLink. You can now enable this feature for any or all of your VPCs and then put your existing Classic instances in to VPC security groups."

[1] https://aws.amazon.com/blogs/aws/classiclink-private-communi...
Why are employers (generally) so inflexible with their salaried offers? I've been offered jobs where I really wanted to work, and they wanted me. They offered me 60% of my market value because that was all that was in the budget. If they had let me take Fridays off (for my own consulting work), I would have been fine with this, and they would have been ahead (paying 60% for 80% of my time).

It's such bullshit. Hiring sucks.
Full pdf here:
http://www.antonpottegaard.dk/publications/letters/[l002%20-...
That's a great idea honestly. We hadn't really put in thought as to creating better tools for donors. Of course, this idea would only hold any weight if the donors are of substantial wealth. Being able to tell a donor "here's where to put your money based off of the district's political opinions or sway" would also be incredibly valuable, but is it enough to substantiate paying for a service?

I'd be more surprised if people with large amounts of money didn't already know where they were going to put their hard-earned cash. I'd be equally as surprised if those donors didn't already have connections of their own on the hill, at which point they wouldn't need our service for enlightenment (they'd have their own direct source).

I like the idea though, I would just worry about the ability to generate reliable revenue from this. Perhaps also the issue of ethics I wrote about would come into play here. It somewhat might follow the same path as we did when I talked about selling the data to politicians for use on their campaigns.
The better we get at anything, the more limited we become.
- Steve Bodansky
Shhh. It's a secret. Use it to your advantage, don't tell your manager!

In all seriousness though, your manager probably won't take kindly to hearing your advice about project management.
Maybe I'm just off-base, but I'd consider all of those off-topic for SO. It's not a programming or programming tools question, it's a "how does Googlebot work?" question.

The knowledge would certainly be useful to many people, but it is outside of SO's scope as it is defined.
If in fact true, we might want to bring it to the attention of the OP.
youre right, but I fear a future where such techonolgy can be abused. I haven't carfully considered all the positives such technology will bring into our world. I was starteled by the potential of abuse and how far technology has come.
its definitly weird those links 404ed. They were there before.

If you assume the EU has a motive to lie and the UK and AZ does not, you are immediately demonstrating bias.
If you disagree with a company's policies it's much more effective to boycott them entirely than it is to boycott individual products.
The title of this post is a bit misleading. It's agentzh (who rocks) announcing two new plugins which have plenty of use-cases.
It sounds awesome Jason - so why do you need to register a whole bunch of different domains and point to the content, rather than just acquiring real links, like other sites with valuable content do?
learn to write code competently or partner with a competent engineer
I've found anything in O'Reilly's Beautiful series to be worthwhile
From the article:

For-profit schools now enroll 8 percent of students—but as Eisman’s report shows, they take in a full 24 percent of federal student aid.

This suggests that they are exploiting the system more than the non-profit colleges[1].

Also from the article:

Last year, BPE’s two schools took in $454 million in tuition and fees from their students. If Ashford’s academic reputation has not grown as fast as its enrollment, it is no surprise, considering where all that money went: $145 million was spent on marketing and recruitment, which is $25 million more than the colleges spent on instruction.

Hence they've only been spending ($145m - $20m)/$454m = 27% [2] of their fees on education.

[1] Not that they're blameless either. I'm just saying they're less bad on this particular axis.

[2] Or 32% of the federal aid money they receive.
There isn't an easy place to find out how well various laptops are supported. Years ago I decided to buy a laptop and did a lot of research to find one that worked well with Linux, and I found many people who claimed to have Linux working well on their laptops. However, when I looked for detailed information and dug into write-ups people did, I found that there were always problems. Suspend and hibernate didn't work right, usually, and various laptops had various other issues as well. Config files had to be changed, firmware had to be patched, kernel patches from obscure places had to be applied, and surprisingly often there was a small kernel patch written by the author himself. I would find these problems in reports of "success" stories, so I just assumed that everyone was struggling, and people who said they had no problems had crazy expertise and were just like the people who said the Linux desktop was totally awesome and fine in 1999.

As the situation of Linux on laptops has improved, however, it's been harder to find installation write-ups, which probably means that people who have no problems simply do not bother posting detailed accounts of the fact that they have no problems! I mean, here's one, but how many people are meticulous enough to write a blog post about the fact that their laptop works, and then add the post to http://www.linux-on-laptops.com/ so I can find it?

http://wernerroth.de/index.php/2009/12/18/kubuntu-910-runs-a...

So true success stories are mostly invisible, or at least outwardly look the same as the "success" stories where a guy applied six kernel patches and wrote a shell script that he runs manually whenever he needs to hibernate and claims, "Hey, wow, my laptop works great now, and it was so easy!"

For a person like me, who doesn't want purchasing a laptop to turn into a major educational experience, it would be nice to have some way of knowing whether a specific laptop will work out of the box with major Linux distributions.
The author of this article backs up his argument with little substance.

Engineering mind need real facts :)
The matrices for clustered dot halftoning should not be too hard to generate. I think it boils down to which approach take to generate the thresholds matrix:

https://dl.acm.org/doi/pdf/10.1145/127719.122727?casa_token=...

> (ordered dither): This algorithm is generally identified as a dispersed-dot technique [Limb 69], but if the intensity threshold levels are spatially concentrated it results in a clustered-dot dithering.

You want to know something cool? Here's a tech report from HP that describes a stenography approach based on halftoning:

https://www.hpl.hp.com/techreports/2010/HPL-2010-136.pdf
Queue "you don't know me" ;) if I was strangled, I would voice concern very much. But as noted several times, everything is setup so that we never need root. The only thing that was an issue, was docker for about a year (we used chroot before that). That's why I had the sysadmin install podman (no discussion necessary) and why I build a wrapper for super easy usage (which is globally available now).

And please note that getting a CI like env is usually not necessary. I only need that exact env to prebuild things that should run in the CI, e.g. target-specific GCCs. And we can't upgrade the CI because some customers pay good money to have our product run on ancient Linux versions (safety critical industries, once something is certified, you use it a looooong time).
Even better guide: just buy a small amount of bitcoin so if it 10x in value you 10x your money, and if it doesn't then you don't lose much
Autotranlation:

> ReduSoft develops and sells interactive software on various scientific topics. The programs MathProf, PhysProf and SimPlot enable the interactive use of these for various purposes. They allow you to run 2D and 3D simulations with all kinds of graphics. Demo versions of these programs can be downloaded free of charge from https://www.redusoft.de .

Do you have a landing age in English? Post in other languages usually get ignored or flagged.
How is that different than stock/commodities/forex markets?
So what's the intrinsic value of these paper things you call dollars?
I started using Flameshot several months ago. I did not know I needed a deluxe screenshot utility. I definitely needed one.
In general I'd agree. But in this case we see the sort of destruction of language George Orwell warned about. By legitimising a use of the word "literally" which is counter both to its etymology, and to the intention of talking about communication in terms of the specific meanings of the words involved, we risk making it more difficult in practice to consider the specifics of what has been said.
We have Keith Alexander visiting NL on a damage control tour as a speaker on the closed 'Masters in Security' symposium in September this year.

They should organize that thing in Brazil instead of here.

This guy and his minions have breached the privacy laws of the EU in ways that defy the imagination and yet he's coming here to speak. I guess if he were detained there would always be the invade the Hague option.

This is not just limited to the Anglosphere.
> I'm all for descriptivist language, but there's a difference between a new word or meaning coming around because people widely use it, and a common error that does not become right just because it became too common.

There isn't. At least not in any objectively recognisable way. You (and I mean you specifically) can obviously look at a new use and say "this is a new meaning" or "no, this is an error", but that's a subjective judgement and others would think otherwise. It is as impossible as being given a copy of a movie and being asked, by only inspecting the movie, to tell if this was copied from a legal DVD or downloaded from a torrent.

Just look at the verb "to troll (on an internet forum)". It comes from the practise of trolling in fishing, where you tie a bait to a cord and drive your boat around, drawing the bait through the water and waiting for some fish to take it. A lot of people, however, connect it with the race Troll, thinking of it as the practise of a big, nasty creature coming out from under and bothering people. That's not helped by calling the people who do it "trolls". Was the original, fishing term wrong? Was the person who coined the name Troll for a race of fantasy creatures wrong? Were the people who connected trolling with Trolls and subsequently called trolls "trolls" wrong? For bonus points: if two words are written the same and pronounced the same, can they be different words, or are all their meanings different meanings of the same word?
"In September 2012, Dice Holdings acquired SourceForge from its previous owner Geeknet" says Wikipedia.

https://en.wikipedia.org/wiki/SourceForge#Acquisition
But these two outstandings are just different, no? Not contrasting in the sense made salient by the present discussion.
I was amused by:

Perl 5: Paradigm: Yes*
Now there is no excuse to not Install Gentoo.
I learned most of this in school. Did everyone else not?

My partner is a grade 2 teacher, and she covers a lot of this. Everything in learning skills, individual skills, social skills, and most of our world.

You probably just don't recognize it when it's taught at a level understandable to six year olds, or 14 year old. Before writing posts like this it's a good idea to go look at a your school board's curriculum. You'll likely be surprised how closely it matches this.
This sounds like an argument I would've made in my early twenties. I will now correct you in the way my elders corrected me:

Oracle and Microsoft Office are global standards. The world uses them. Our civilization relies on them. If alternatives such as PostgreSQL and LibreOffice are not 100% compatible with these standards, they are lacking in functionality.
You can't hail a regular taxi in London with your phone still? Why? How do you get them? Call? Or do you have to wave your arms?

It's been 10 years since you could first do it in e.g. Stockholm with normal licensed taxis.

Edit what I mean are regular taxis, not "black cabs", "minicabs" etc. I mean the iconic taxis. If you can't hail those, why not?
SD vehicles are their pastime, being licenced is their bread and butter (or will be, after the vc well dries up)
"I don't see anythig wrong with the question."

I think many would see it as rather tasteless given fairly recent UK history:

https://en.wikipedia.org/wiki/Bloody_Sunday_(1972)
"My idea of a dating app: Literally enforces class based social ranking"

It really doesn't take much to realize that this pricing scheme would exclusively benefit the rich and white, right?

Like for a successful, white, male, software engineer like myself I could afford to reach out to whomever I would like anytime I want, this would be heaven! But for someone in a worse social position they would be basically blocked from talking to more than one person, regardless of their looks, personality, or ambitions.