jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
This article really rings true for me. I've found that I'm far more happy and productive when I'm not multitasking.

One thing that I've found particularly challenging is dealing with text messages from significant others while at work. Programming and problem solving tasks that take 30-60 minutes just to get started with mentally, can easily turn into a few hours of intense concentration. But interactions with others during this time can significantly derail things, despite not being responsive also derailing things through a feeling of guilt.
CTRL+D (Might be CMD on Mac) will also select the next occurrence of a symbol/selection. And Ctrl+U will undo a selection from this method or the parent post's method.

Aside from being able to simultaneously write in multiple places, you can copy-paste across multiple cursors; highlight 5 variables, copy, create 5 new lines with cursors, paste. Each line will have one of your copied variables. Try using Find with regex and alt+enter to select all matches with separate cursors.

Many plugins also support or add onto this feature. I love TextPastry to easily insert number ranges and patterns across multiple cursors.
I'm curious why so many Democrats were allowed to encourage the BLM riots (more than 25 dead, $2 billion in property damage) without so much as a peep from Google, Twitter, Facebook or any other tech giant. Kamala Harris said "they should not stop" and helped with a bail fund for the people who were involved with them.

I think protest is a fundamental requirement of democracy, and as Chris Cuomo himself reminded us: protest aren't always peaceful [1]. It seems like a lot of Democrats are conveniently forgetting that all of a sudden.

https://www.usatoday.com/story/entertainment/celebrities/202...
What treatment in particular do you think justifies calls for violence on the part of Trump supporters?
Months of violent rioting in the streets? 2/3rds of democrats believing Russia hacked and changed vote counts in 2016?

The hypocrisy is unbelievable. This will not end well.
Let's ban Parler but we'll keep Twitter, even though the platform is full of messages like this [1] and worse.

[1]https://web.archive.org/web/20210107225836/https://twitter.c...
Lord Prescott did nothing as deputy PM to prevent New Labour from introducing authoritan legislation.
There’s a substantial gulf between those who stumbled into wealth through a cool technology (they generally acknowledge the fluke), and those whose visions of wealth depend on further pumping and thereby spend a lot of their energy on propaganda.
Tips on learning python as a seasoned dev?

I will start a new job where everything is done in Python in a few weeks. Learning the syntax of the language is easy, but what about "everything else" using a language entails? Like how is stuff written in practice (pythonic / idiomatic), build tools, libs everyone use, workflow, etc
working on my Gramdmaster quest in Starcraft 2, and perfecting my yolo reinhardt play.

007 films
https://rivendell.neocities.org/backgrounds/
No they’re one of the companies mentioned in the article. Hardly faceless.
It is a design technique, that is, one technique to help you design programs. It is not the only technique or a fully comprehensive and brainless methodology that you just plug into and out pop beautifully designed programs.

You still need to think, for example. And you can't skip the "refactoring" step, because that is where you get to do much of the design that TDD helps you with.
Huh, FFP2 masks are now available for 1-2 EUR here, individually packaged, and less in packs. They're sold everywhere, from discount supermarkets to pharmacies (where they're a bit more expensive). Of course, prices were much higher a couple of months ago.
oh wow, that's really great to hear! Would love to get more of your feedback once you tried it - feel free to join our Discord channel (https://discord.com/invite/rzdnErX) or email me directly at matija@wasp-lang.dev if you'll have any questions
what do you mean by pc in this post?
That's about the time hunger strikes last [3], so eating coconuts is surely going to be longer than fasting.

[3]https://en.wikipedia.org/wiki/Hunger_strike#Medical_view
OsmAnd (https://apps.apple.com/ch/app/osmand-maps-travel-navigate/id...) does only collect usage data and diagnostics according to the App Store.
But it is different stress.

Stress in a job situation is like building a fortress over many months and getting invaded. You know the layout of the terrain like the back of your hand and you can focus on the problem.

Stress in an interview is like being air dropped into an enemy fortress. It is hard to know where to turn and you spend as much energy trying to suss out the layout of your new environment as you do reacting to your adversary.
That means people like you are the reason why nothing changes. If you would completely ignore bad websites instead of "tuning" them with your adblocker other websites with unobtrusive advertisements would survive.
It's an inspiring message though;

Anyone can drop out of school, find a partner,
and start a business.

I suppose with context it reads a bit differently though;

Anyone can drop out of Harvard, take a expedition to
Antarctica, meet a venture capitalist on the boat,
and use your dad's PhD-level chemistry knowledge and
infrastructure to start a business selling snake oil to
gullible people.
Even accepting all of that, can someone please tell my why gold is supposed to be different? I get the fact that gold has traditionally, for the longest of time, been seen as a low-yield, low-risk investment, and that what people see something as is what matters. But if gold's value comes from the fact that people think it's worth something, how is it fundamentally different from stocks of Foo Corp.? On top of that, it doesn't really do anything on its own. I just don't get it, for anything other than perhaps off-the-record physical movement of large values (which I don't suspect mr. Paul of doing… yet, anyway).

Edit: I get that gold is (economically) stable, but I don't understand why. Aren't people afraid that someone will find some huge unknown ore?
The article says 64% in gold and silver miners, 21% in real estate and 15% in cash. The title is wrong.
In Obama's defense, you've never been as informed about all the sneaky stuff the government is up to as right now.
Rust not having the garbage collection as far as I understand can be made to produce routines that are part of C application. As far as I understand, by design Go can't be a "nice" citizen in a C application, the Go routine will bring with itself the whole city it lives in to your flat.

So Go applications are something like "compiled, fast Ruby or Python." As far as I understand, Rust should theoretically be a way to write a piece of your application (even mainly C application) in something that gives you a different kind of expressibility. If there's need for that is another question, specifically, I'd like to see some examples that would really impress me. The examples the article author provided give me only the impression "OK it's weirder syntax but it's not so far from what would have to be written in C anyway, so where's the advantage?"

What I consider missing for "properly" interfacing with C is for Rust to be able to slurp C headers as they are, without the need for additional "translation" files that are presented in the article. At least the headers without the definitions of the functions. But the declarations of the structures and functions and even basic preprocessing were really, really convenient.
I was specifically responding to the parent's comment about "sharing on GitHub". Hence my focus on sharing code on GitHub. I have plenty of code on GitHub, which the owner to whom I sold it would not like it shared.
Agatha Christie is indeed enjoyable, but she hasn't been read for hundreds of years. Do you really think people will be reading her 200 years from now?

I'm not sure why you think what is considered a classic could be dictated by what is taught in schools? I can see no basis for this assertion.
I've had the 11.04 beta installed for a few weeks now, and though there have definitely been some bugs that have come up, even the beta of natty has been really stable overall, much more so than some of the previous Ubuntu releases.
good overview of a sick situation. I've seen pictures on boston.com/bigpicture of those places where people cook up the PCBs.. messed up. I actually wrote a post this morning, because my college is offering a free e-waste recycling program sponsored by Apple where all the equipment is guaranteed to actually be recycled and not exported to places like these.
http://beeptc.posterous.com/indiana-university-offers-public...
They e-mailed her on Passover and gave her 72 hours to reply[1].

Assholes in my book.

[1]: http://www.zephoria.org/thoughts/archives/2011/04/27/tumblr-...
The bigest complement about my MBA is I love(d) my iPad, I took it everywhere, but I gave it to my mum at the weekend because I don't use it anymore since I getting a base 13" Air.
>"Imagine something like BCS standings"

Ok, now that I have spit out the vomit and brushed my teeth...

Some new accounts are used as throw-aways and contain great information. Other new accounts are created by intelligent thoughtful people who just discovered HN or who have been lurking and finally feel like they have something to contribute.

Rabble rousing often furthers discussion.

That's not to say that AI moderating isn't an interesting idea. The BCS is just a really poor example because it's purpose is to generate a made for television event and then dole out the revenue to the major [American] football conferences.
I think a lot of those sites got replaced by blogs, or content specific services - no need to build an image gallery when you can use flickr, etc.
> I know I sometimes forget about it, and I’ve looked at enough code from other developers to know that I’m not the only one.

I think by and large, most people don't use it not out of forgetfulness, but out of disdain for willy nilly calling methods on objects without knowing what might happen.
COBOL can and does run on x86 Linux. I suppose you could probably even put it in a container.
Honest question, why jsx over html/js and why particularly Typescript?
I build a website that helps people navigate life in Germany. It requires little work and pays the bills. I still have to work, but if it's sunny outside, I am rarely stuck behind the keyboard.

Unfortunately, I don't think I could easily reproduce. I wouldn't have the energy to do the same in a new location. Even in my little circle, I have many competitors, though they are fortunately not that good. If there was an easy recipe, everyone would do it.

I guess the general idea is to build something that decouples payout from income, and avoid obligations that force you to work on a fixed schedule. It's important to me to be able to let the website run itself for a week or two.
> Amazon would split off its profitable parts (AWS/services), which would make the barely profitable parts of Amazon worse for everyone.

Okay but how is that actually bad?

The barely profitable parts of Amazon, ie the retail operation, are already pretty comprehensively lousy. Making it unprofitable to more or less monopolize retail, the way Amazon does now, seems like it would open competition back up among ecommerce business on a smaller scale. As I've discovered since quitting Amazon myself, with platforms like Stripe and Shopify, human-scale
ecommerce no longer needs to be - or is! - the patchwork headache we all remember unfondly from 2005. The experience at point of sale is consistent, reliable, quick, and pleasant. The money goes to support small businesses, rather than being shoveled directly into the flaming mouth of Mammon. And while it does take a little longer for shipments to arrive, that's actually also a net good because almost nothing actually needs the kind of unsustainable next-day Prime treatment that Amazon's retail operation insists on by default. Without Amazon's perverse incentives toward counterfeit garbage, the rate at which I've had what I get match what I order has so far been 100%. And without Amazon Logistics involved, I can be fairly confident besides that whoever did the work of delivering that order probably was not denied the basic human dignity of access to toilet facilities because of rampant Taylorism or for any other reason.

You've really made a remarkably strong case for the thing you're arguing against! I doubt that's what you wanted, but I appreciate it all the same.
Interesting.

Starcraft 2 introduced replay rewinding which I think is even more interesting.

I guess that it loads a replay at the time you're watching it simply by replaying the game with the help of actions and at the same time it stores states of the game and then if you rewind (you can't continuously rewind like a VCR, you pick a state in the past and you go on from there) it loads that state.

It sounds so easy when you write it like this but I'm sure it's a lot harder than it sounds.
And that worked so well for copyright piracy! I'm glad we live in a world without pirated music and movies!
That's completely unrealistic. There is very tight cooperation between the major currency blocks when it comes to the crackdown on anonymous payments and on everything anonymous for that matter.
One of the amicus briefs urged that courts should give deference to the examiner's decision only as to prior art that had been discussed in writing by the patent examiner, thus providing a written record of reasoned decision-making that could be reviewed by a court. That brief relied on the Supreme Court's holding in the Zurko case [1] that the standard of review in the Administrative Procedure Act applies in appeals from decisions by the USPTO just as much as in other administrative appeals.

Footnote: The Zurko patent [2] was one of the early software patents, for a method for executing trusted commands in an untrusted environment. The lead inventor was Mary Ellen Zurko, aka "mez," who then worked for Digital Equipment and is now with IBM. (Disclosure: I drafted that patent.)

[1] Dickinson v. Zurko, http://www.law.cornell.edu/supct/html/98-377.ZO.html; see also In re Zurko, http://law.justia.com/cases/federal/appellate-courts/F3/111/...

[2] http://www.freepatentsonline.com/6507909.html
My take on encrypting stuff on Dropbox..

http://chanux.wordpress.com/2010/10/10/portable-encrypted-vi...

(It's not not just aiming Dropbox but the only place I actually use it on is Dropbox.)
Strong passwords and https are only needed when:

1) the data being accessed is important.
2) the user reuses credentials.

hopefully no one here is doing #2. and i certainly don't consider #1 to be true for me. if someone were to post as me... we'll that sucks but it isn't the end of the world.
i second everything sanj says. there is always two sides to a story and sarah only told one side in her post
I honestly wish I could live on 6 hours of sleep; I feel like I'd get much more done that way. Since college, I've never been able to go without 9 hours of sleep without paying for it the next day or that weekend at the most.
You're right for pages with links to login pages. Fortunately in this case, ubuntu does not appear to link to login.launchpad.net anywhere on their main website as far as I can tell. I'm sure it's linked somewhere but I was only able to find it via a search. Odd.

In any case I understand the point of all this, get the big sites using it so that the little ones might adopt it as well, the issue is that the cost of adding ssl does not add value to sites without logins. Perhaps letsencrypt.org will make it worthwhile to encrypt those static sites as well, it'd be nice to see hosting providers include this as a default.
Some places may make it work, but teams not being together is a huge drawback. I think Peopleware covered it and it was one of the top detriments. Something like a 50% penalty in project schedules when teams were remote. That lines up with many projects I've seen first hand, too. Calling it outdated doesn't change anything.

There's also tons of non-engineering stuff that benefits from being together, onsite. Stray comments might lead to huge import improvements. In my pervious company, there were always large things we'd find out when we'd have team leaders meet up. And this was a small 15 person business!

It takes a lot of directed effort to make remote work. The GP post about wanting people together has a lot going for it.
The comparisons made in this article and comments below seem to all but forget one major fact that completely changes everything. That is, Atomic bombs are NOT the same as carpet bombing say Tokyo. Why? RADIATION. If the major cities and sites of Japan suffered a disaster due conventional bombing The thinking would be – afterward we rebuild. You don't think that when your left with a radiation zone. So the theory that atomic bombs would have carried the same level of concern due to simply looking at leveled cities and that carpet bombing does the same as nukes is short sighted to say the least.
All I have to say re sleep is: get enough of it, or suffer.

How much is 'enough' depends on your chronotype (lark/own type of thing) - see http://brainrules.net/sleep for more.
> When I was in Morocco, several different people told me that Neil Armstrong converted to Islam after seeing the Earth, and that Cat Stevens converted. At first, this was OK, but soon, after the third person or so mentioned this pair, I got to wondering, maybe they're the only ones.

In case anybody else wondered about this: Neil's Armstrong purported conversion is a hoax that has its origins in an Indonesian pop song from the 80s (Indonesia is a major muslim country). [1]

[1] https://en.wikipedia.org/wiki/Neil_Armstrong
I've never done this, but my strategies would include: Create a landing page that ranks decently and drive serp hits to it, Make sure that the user knows how to use the system before they sign up (demo video), if you've got the money, run an adwords campaign for your target demographic, and try to make sure that your existing users invite others. Outside of that, friends, family, yayhooray, here, digg, put it EVERYWHERE. You can always limit the number of beta users if it's out too many places, and it'll help your ranking later if there's loads of backlinks.
TSA abused their power, but TSA is an inherently abusive agency.

Customs did not abuse their power. What happened to Moxie is exactly what Customs does (badly). You can end up tussling with Customs for any of a zillion other reasons, too. It's not harassment. Words mean things.

Also, you seem to be under the misapprehension that the only options criminal investigators have is "arrest" (or even "subpoena" or "get a warrant"). That's simply not true.
I'm always amused finding new iPhone apps with four 5-star reviews submitted the day the app was released, always sounding like an infomercial. Gotta say I've been tempted to seed some reviews and five stars (especially to try and bury others that are mistaken or just lying) but it's never happened.

I have created a mobile product with hundreds, maybe thousands of happy users. When I finally get to adding the social aspect of it there will be no need for faking it. I'm really anxious to get on to that phase, if anyone wants to help out let me know.
To be fair that's the official docstring for defn. When you browse over to the docs for def (http://clojuredocs.org/clojure_core/clojure.core/def) the official docstring tells you to go look it up on clojure.org:

Please see http://clojure.org/special_forms#def

I believe this odd behavior is because Clojure's special forms are written in java and thus don't have easily parsed .clj source for the automatic clojure doc search tools.
That's remarkably sane.
I'm with you on this. I think there should be a closer integration of design and development and not a 'handoff' from one to the other. We have been using the pattern that Ryan Singer discusses in this talk http://thinkvitamin.com/design/ryan-singer-fowa-london-2010/ It was reassuring to see that 37 signals used the same pattern as us.
Sometimes the students have no choice when studying for tests. Most tests in school aren't testing your knowledge, but rather your ability to regurgitate the lecturer's notes.
Seems totally reasonable to me. That's not that much money for an actual business expense. If you have such Super Ultra Secrets that they Must Be Kept On Your Servers, or else The World Breaks!!!!1, then you can afford to pay good money to keep it safe. I'd argue that it's still pretty cheap. Compared to ten salaries?
they definitely need to work on more sophisticated dissections, and Netter would be a GREAT start!
The key is being nice to your users without trusting them at all (since they could be bad guys). A neat trick if you can manage it. The airports are doing spectacularly badly at it.
For stuff like this, why not serve up the JavaScript unminified? It seems like the perfect kind of project to learn from.
But it's not the job of such a paper to teach them about these things. This sort of paper serves as context and motivation. The material itself can, and should, be learned from other texts designed to teach it. I think what you have is an excellent piece. Read carefully at first, then skim more and more as you get lost. Inspired, go and read about some of the necessary math, then come back and get further next time.
thanks so much for sharing your real data. This is a great how-to for developing product messaging.
What is the propostition? I read it as "That which is adequately explained by stupidity is not (or is rarely) malice".

Otherwise it is a not a statement that can be objectively "factual" and is as such not a proposition.
> It was the single way of printing from Android -- a couple of billion devices sold -- for the longest time

Cloud print was added to Android at the same time Android added support for generic printer drivers. Cloud Print is, in fact, just a generic printer driver as far as the OS is concerned. There are, and have been, native print drivers, though. HP, for example, has Android drivers: https://support.hp.com/us-en/document/c04024231
Great demo and explanation - love it!
I suspect Carlin would have adapted, as Dave Chappelle has.
Yeah! Would be great if the system could say “by your command” at appropriate times. And have a Cylon/Nightrider sweeping red lighting.
haha ;-). Yes, you need a signature and legal document, both checked by your random, always late and in a hurry EMS courier when receiving the new SIM package. Same when starting new CC.
Considering that The Handmaid’s Tale was published in 1985, I’d say her work has lasting value.
eat your heart out bill safire
I have read about what may or may not be a hypothetical example of a shepherd who "counts" his flock by matching sheep passing through a gate with stones put into or taken out of a bag. This is enough to let you know when the number of sheep is wrong, though you won't know what the number is.
Let's define "salad" and "sandwich" next.
I have to say I’ve been using Shitbowl since it’s inception and I’ve never used such a powerful system before.

Up until now I relied on attempting to organize my own shit which lets be honest, was super shitty. Then comes Shitbowl. My wife and in-laws didn’t understand the technology at first but once I really got them to try it they were immediately onboard.

Thanks Shitbowl for making our lives better!
GOT EEEEMMMMM
The general public cares a lot more about the price of bread than the price of Google's stock, so I'd say economists are reasonable on this one.

If and when that money injection moves around to affect the price of bread will be quite important though.
Good.

Do we really want QAnon (And on the other side, many of HN's crazy ideas) to be top of our politics?

Unfortunately that's 2014, forever ago in internet years, the tide is turning into the mess we have now.