jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
This is interesting to me because pressure cooker eggs start cold but after a few dozen batches, fresh eggs or old, I’ve never had a batch that was hard to peel. I do ice bath them though.
Apropos, you can easily make your own date syntax in Dart:

class Month {
static const List<String> names = const <String>[
"JAN", "FEB", "MAR", "APR", "MAY", "JUN",
"JUL", "AUG", "SEP", "OCT", "NOV", "DEC"
];
final int month;
const Month(this.month);
MonthDay operator -(int day) => new MonthDay(month, day);
String toString() => names[month - 1];
}

class MonthDay {
final int month;
final int day;
MonthDay(this.month, this.day);
DateTime operator -(int year) => new DateTime(year, month, day);
String toString() => "${Month.names[month - 1]}-${"$day".padLeft(2, "0")}";
}

const Month JAN = const Month(1);
const Month FEB = const Month(2);
const Month MAR = const Month(3);
const Month APR = const Month(4);
const Month MAY = const Month(5);
const Month JUN = const Month(6);
const Month JUL = const Month(7);
const Month AUG = const Month(8);
const Month SEP = const Month(9);
const Month OCT = const Month(10);
const Month NOV = const Month(11);
const Month DEC = const Month(12);

main() {
print(MAR-25-2015);
}
Best of luck to Rehab Center... er I mean, Recourse Center. Scratch that - Recurse Center (whatever "recurse" means).

(Yes, I know "recurse" is related to "recursive" but nobody says "recurse". The association is too distant.)
We try to mitigate the issue in a few ways:

1) warnings when you hit max_path that offer to run 'npm dedupe'

2) sometimes that doesn't work, so we also suggest people start their projects in a short path like c:\src (embarassing, I know)

3) patiently await a flat node_modules directory - http://blog.npmjs.org/post/111968476155/npm-weekly-6

4) groan very loudly when it happens - no good keeping those emotions bottled up ;-)

luckily #1/#2 cover most cases
Maybe a better term than "superstition" might be "validated experience". We do what has worked in the past.

It is true that there are standards that should be read and followed; the ones referred to in the article are probably among these.

But other standards have a fair amount of wishful thinking in them. (How many of you JS developers have read the latest ECMAScript standard?) Sometimes, what has worked in the past is a better guide for practice than what ought to work.
> Most people are going to compare it to the meals they actually have now and what they spend.

Fair enough. Before switching to Soylent, I was regularly (meaning "nearly every work day") spending $8-$12 a day just for lunch. What I was spending on lunch for just one day is enough to fund several days of Soylent lunch. Or, during times when I am on a 100% Soylent diet, enough to fund more than an entire day's worth of meals. (I never could drink an entire pouch in one day.) So Soylent is very much saving me money. YMMV.

I would hazard a guess that a majority of people that realize a significant savings in Soylent live in places where things run a bit more expensive. I'm in Berkeley. Sure I can get a lunch for $5 but it won't be a quality lunch. And dinner? I can't think of any place where I can touch dinner for <$10 (unless I'm going to the same places I can get a $5 lunch). Granted, we usually cook dinner at home. And Honestly, I have no idea how much dinners cost at home. There are 5 of us. I buy food. We eat food. I assume it is cheaper than going out. But I can state with near certainty, it is more expensive (per person) than Soylent. It is funny when people talk about how they could never drink the joyless slop when they can cook fabulous meals at home for $3/meal... and then go on to describe meals that probably do only cost $3 but seems just as joyless as Soylent.

Side note: I've lost ~20 lbs over the last 4-5 months that I will attribute 80% of to Soylent. Even if some of that is just psychological, it is still working for me. Again, YMMV.
The premise of this piece is that we are close to satisfying the demands of society and that we'll be living in a post-scarcity world. But everyone I know wants to vacation on the moon (i.e. we have an unlimited capacity to consume new things). At current prices, just my 30 closest friends going to the moon for two week every year is about the same level of consumption as the total global economy.

We only live in a post scarcity world if you believe that humans have a limited capacity for consumption. Everyone who has bet on that thus far in history has been proved wrong, so capitalism or no, we need to deal with scarcity.
The company I'm building right now has something similar to this as a major component of the service (feedback via text [SMS->email for the moment, but I'm also going to have it be visible in a web dashboard] ] is one of two methods I'm going to launch with.) I'm billing it as a "universal customer testimonial" service with a some added benefits. One of those benefits works like this: a business receives a message sent in via text. In order for the message to be posted publicly, the business has to approve it, but even if the business chooses not to post a message, they can read it and act on it (I include a message with each approval request that says 'If you do not wish to approve this testimonial, you may ignore this message. However, we do recommend taking even negative feedback into consideration in order to improve the product or service you provide.') So they get customer feedback, and can then choose to turn that into a public testimonial, or they can not post it publicly but still act on it.

Another benefit is a 'remind to review elsewhere' message. If the business approves the message, we send a reminder to review the business or product on a service of the business' choice (like Yelp, Amazon, etc.)

I'm hoping that the extremely low barrier to use (sending a text), will mean that these businesses get more feedback (since there are plenty of people who don't want to post on services they have to register for; don't feel like downloading an app; who wouldn't mind giving some feedback, but don't want to feel the pressure of 'crafting' a reply the way you often do on some services; who, even if they are registered, may just put it off forever because it seems like too much work, etc.) and so will have more information with which to improve their businesses. The idea is based on the 'praise publicly, criticize privately' maxim.
Thanks to Facebook I uninstalled Facebook and Messenger and now my battery lasts four times as long! Thanks Facebook!
I'm an android guy, but force touch moving cursor on iOS works very fine. Better than spacebar sliding. Just press harder on on keyboard and it'll hide keys and let you desk the cursor around, mouse style.
I think most other social media sites are public by default. Reddit, most forums, Youtube, TikTok, HN, etc.
The problems with fossil fuels go way beyond climate change. If you told me that everything is a myth and it was just some government conspiracy involving almost every country on earth it wouldn't change anything. Even at 0.30€/kWh a used Kia Soul EV (small SUV) would pay for itself in gas savings compared to my 40MPG car. If climate change turns out to be true it will just be a nice bonus on top of all the other benefits you get by switching away from fossil fuels and if it doesn't, then everything is fine. You just can't lose by betting against fossil fuels. You know what the best part is? You get to avoid fuel taxes! The German government budget will shrink by 10% if we go all EV so if you hate taxation then EVs are the way to go!
> It glues the strings together, calls CreateProcessW, waits for it to exit (WaitForSingleObject), retrieves the exit code (GetExitCodeProcess), and exits with the same status. (The stuff that comes for free with exec(3).)

So does Windows not support a unix-style exec where the new process replaces the old one?

The Windows C library appears to have exec, with the usual semantics:

https://docs.microsoft.com/en-us/cpp/c-runtime-library/exec-...

How is that implemented?
1. There are many ways to define species: https://en.wikipedia.org/wiki/Species#Definition

2. We can't actually test sexual reproduction of extinct "species"

3. Even if we go with the one definition of species which
is "largest group of organisms in which any two individuals of the appropriate sexes or mating types can produce fertile offspring", evidence of some reproduction does not speak to how often such reproduction led to fertile offspring. For example "No evidence of Neanderthal mitochondrial DNA has been found in modern humans"[1], and "Neanderthal males might not have had viable male offspring with Anatomically modern humans females"[2].

[1]: https://en.wikipedia.org/wiki/Interbreeding_between_archaic_...

[2]: https://en.wikipedia.org/wiki/Neanderthal_genetics#Interbree...
Agreed communication is valuable, but there are many options available. Just when I see "improving lives" I think of say clean drinking water in parts of Africa that don't have it.

Yeah I am being pedantic, but sometimes I get annoyed at how much these tech companies big themselves up when in the big scheme of human things they are largely irrelevant.

This comes from a guy that loves tech by the way!
It sounds like you're conflating two techniques here. The first (as others have mentioned) is cosine similarity, which measures the angle between the vectors. However, the bit about 0s and 1s sounds like you're talking about locality-sensitive hashing (http://en.wikipedia.org/wiki/Locality_sensitive_hashing). LSH is often used to estimate cosine similarity, as cosine similarity can be quite expensive to calculate. I know Google and others are using it for such.
Powered flight.
Every now and then--- mostly when I look up something and it is incomplete or wrong or if I spot a typo. Used to be an editor and I can't help myself...
"That's a popular piece of rhetoric, but I don't buy it. Certainly a market with government handouts or regulations that bias the interests of some players over others is less free than a market without such interference."

Really? What about a market in which a private entity behaves similarly or worse? The British East India company, for example, literally owned a country. With only the actions of a "private" entity, India's market were open primarily to ... British goods. http://en.wikipedia.org/wiki/Company_rule_in_India ("During the period, 1780–1860, India changed from being an exporter of processed goods for which it received payment in bullion, to being an exporter of raw materials and a buyer of manufactured goods." )

What I've said to the libertarians here is "when everything is private, I will invest in the tanks, I think they'll be a profit center..."
While you're drinking the cup of coffee, people see you drinking the cup of coffee: that alone is enough to allow for socially-constructed value to be passed along. On the other hand, most things we do with our phones, we do staring into them where others can't see what we're doing, so although the phone itself might get admired, the apps won't. (There are a few exceptions—games with unique and outwardly-recognizable input mechanics, for example, like marble tilting or the Ocarina app, or apps that interact with the environment outside of the user's personal space, like Shazam.)
I remember RIPscrip not getting much love on the BBS scene while ANSI got more and more elaborate; like a very juvenile microcosm of the war between bitmap and vector graphics.
6th Fundamental Truth of Networking: It is easier to move a problem around than it is to solve it.

... RFC1925 via https://github.com/globalcitizen/taoup
If you do more PHP projects, stay the hell away from CodeIgniter, Zend, Symfony, and Cake. Slim is ok. Laravel is really heavy and opinionated, and it does a lot of things in a "non-PHP" way (using strings to configure behaviors, for example). It may seem easy to build projects like that, but it's really hard to follow them once they're written.

PHP is at a point where you should really just be using a microframework or a series of libraries. With Composer and PSR standards, you don't need frameworks anymore.

All that said, don't stick with PHP. Definitely learn Python and one of the next-gen languages (Go, Rust, Elixir, etc).

The best way to learn is to think of a project you want to complete, choose a stack, and then Google your way through it. Seriously. There isn't a ton of great, formal learning in web development.
Indeed. Play Store says I have the latest version... anybody have a working apk?
bingo, I even loaded up IE and no go. I bet the silverlight devs are miffed.
Some people - who do understand type systems - only think of static type systems as type systems. And in that regard they might look at "dynamically typed langauges" as having "weak type systems", since they are often just unityped (only have one type).
Many prominent voices were guilty of spreading the conspiracy. Here's one analysis: https://news.ku.edu/2019/10/15/dangers-saying-russia-hacked-...

"Those on the political left who play fast and loose with the term “hacked,” as in “Russia hacked the 2016 presidential election,” are aiding the Kremlin in its mission of undermining Americans’ faith in the democratic process, two University of Kansas researchers write in a new scholarly paper.

...

The authors lay the blame for this problem at the feet of the liberal media, which they define as media that liberals consume, including the Washington Post, CNN and MSNBC.

They wrote, “We demonstrate that the insular nature of much of the liberal media ... enabled the spread of this misleading definition. Through a rhetorical analysis of texts defining Russia’s influence campaign as ‘hacking,’ we demonstrate that Twitter and the publications produced by the liberal media were highly influential in creating the widespread notion that Russia ‘hacked’ the election.”"

An example of a name: Biden Appointee Neera Tanden: https://greenwald.substack.com/p/biden-appointee-neera-tande...
Permission is one of my major gripes about the whole smart phone thing. I wish devs would take the spirit of GNU and just release some simple free apps without all these "adware" crap. For example, I wanted to install a led flashlight app a couple days ago. The one with 10 million downloads wants access to my phone book, internet, browser, etc. WTF! This is a LED flashlight app and it has an install base of 10 million, why on earth does it need access to the internet and phone book?! Arg, there is a total disconnect between useful apps and privacy! I do not know what the answer is, but the current system really grinds my gears!

Imagine if you wanted to use the ls, cd, grep, tar, pwd, top, etc commands on unix and an "ad" would pop up, or maybe you would see it connecting to the internet. These are utilities too. Is this acceptable behavior?
By him demonstrating something which Facebook clearly stated "...is not a bug" at the time, Facebook can't claim he violated the ToS. If it was not a bug, he was taking advantage of a feature which Facebook gave him the liberation to by stating so. The moment Facebook claims it is a bug, that contradicts what Facebook told him in the email, and thus it is Facebook's fault, not his. Facebook REALLY should not have said "this is not a bug." Facebook then had few options: to leave this as a feature (which is ludicrous), or treat it as a bug and redact what was stated in the email, which means Facebook should pay the damn man. You can't lie in an email and then pull a 180 when it's convenient for you.
Actually, yes, both are substantially different from Bitcoin. Both stock and futures contracts carry legal weight -- basically they are contracts and their value is ultimately a result of their legal meaning, despite all the speculators you hear about. From time to time you can see news about shareholder lawsuits or elections of corporate leadership. Companies often use futures contracts to reduce the risk of buying raw materials (fuel, food, etc.) for their operations.

With Bitcoin you have no legal guarantees at all.
This is, I think, the most important point. The fact is when considered as a single transaction: the $22 drill vs. the $22 guy that comes out drills holes may seem like a wash. But given a usage interval of 6 months and a likely life span for the tool of 5-10 years, you are looking a $220-$440 cost for the service. If your goal is not to profit off people who don't own tools, but rather maximize use of existing tools, and somehow you can make the whole thing work without charging anyone a dime, you are still converting a 5 minute job (pull the drill out of your storage box, and drill 5 holes) into hour or so job (fire up the app, request a drill, it tells you where the nearest one it, you go there and get it, go home, drill your holes, then store it, then some time later you get notified by the app that someone needs the drill so you stay home while that person comes by to pick it up.) Ok, so maybe you could simplify that process, but most of the simplifications still impose time penalties, or costs. The point is, for me, after two jaunts through the process I'd start seeing $22 for my own drill as a bargain.

The whole approach would be more likely to work the more expensive the tool (or other object) and the less frequent your need. Thats why car share services work in cities with 1M+ population, but not in the town of 2000 I live in.

The other thing is informal stuff like this happens all the time. I don't own a MIG welder, but my brother does. He doesn't own a plasma cutter but he has a friend that does. Neither of them own a tubing bender, but I do. So tool sharing is common among existing social peer groups, and it works without an "uber" because there is existing trust within the group that if I borrow and break the welder, I'll pay to repair it. When you lend to strangers, you would need a group to guarantee that your $1200 welder will come back in one piece.
"Make it easy to definitely delete your account from web services."
How did they get the status to begin with if they never filed taxes?
If traditional dealers are so great, why do they rank about on par with politicians (maybe even below) in public opinion? What value do they add?

Seems like rent-seeking via political clout to me...
Was expecting it on the homepage and not buried under about :)
"... I came to this thread to say Arc ..."

Same here. A quirk of cognitive recognition - literalism and thinking of objects before people.
It's not a perception. It's a reality.
To add: Desktop Dungeon with Derek Yu's tile set. Short-form "roguelike" that is actually more of a puzzle game. Takes less than 10 minutes to play a complete game.

I am on mobile right now, but search TIGsource for full links.

And to add to the discussion: games that I play the most are either online, procedural, or score-based. But games that I have enjoyed the most have all been highly focused, incredibly polished single player experiences. 10 years ago, these were long (30+ hour) games. But the cost of producing content has risen so much lately that you can only obtain this level of polish if you keep it short.
The parents are the ones that pay you so maybe that is where
the deal can be made. Make it so the parents can oversee the kid's progress without actually knowing the answers or doing any work. A cheaper tutor.
Quantum computers work just fine, they just can't solve NP-complete problems faster than a classical computer.

This is fine, since nobody except D-wave and their somewhat credulous investors (including folks who should have known better) ever really thought they would.
Slow day here.

I also have a personal dislike for Gates (nasty software, bad attitude) and some knowledge on early 8-bit personal computers (I collect, preserve and, when the technology allows, restore them).

Bill won't get away with that while I watch ;-)
actually regarding the effectiveness of the patent office.. i think it sort of comes down to (dis)incentives.. rejecting a patent on any ground requires explanation by the patent clerk.. and to make it worse, some of the compensation is actually proportional to how many patents they approve (some how indicating that they have gone through it)... combine the two (hard work to explain a rejection, and reward for number of acceptances) you have no regard of prior art or novelty or worse obviousness. I dont see why developing countries (or any entity) has to put up with and accept such shoddy practices purely because they benefit the entities with powerful lobbies (patent attorneys and large companies with enough resources to pursue litigation)...
Yes. I have built a few. The router I chose was Flatiron director (link: https://github.com/flatiron/director ). I used jQuery for Ajax calls. Everything else was React + Flux.
I was born too late to directly remember this, but here’s a recap of the controversy:
http://www.abc.net.au/radionational/programs/booksandarts/si...

Here is a popular Islamist criticism of the work: http://www.islamicentre.org/articles/rush.htm
It is rife with sloppy thinking, like “how can the book not be intended as an insult if the author knew people would be upset,” which is of course an insane argument. Hell, the both the Bible and the Qu'ran contain verses which upset me, but I don’t go around saying Mohommed or ancient Rabbis intended to insult me…

Lastly, the January 1989 NYT review of The Satanic Verses contains many great insights, accessible to Westerners, into double meanings in the book. Also, spoilers. https://www.nytimes.com/books/99/04/18/specials/rushdie-vers...

(By the way, I’m reading it now — 10% in and no depiction of the Prophet yet [edit: apparently there never will quite be, except in the way Brian in The Life of Brian is kind-of-but-not-really Jesus] — just Rushdie’s trademark highly enjoyable and witty writing)
Well glad I read this. What first came to mond was that ontologically framing a technical question is difficult. You can't ever seem to deduce a decent level of aptitude unless you become part of a comminity (working on it). So the first part, don't be stupid, well being ignorant pretty much leads me to believe I am stupid. Probably should prepend a statement with what I don't know. But spmetimes I have stupid questiin, just yesterday, I wasnt able to get why my `src` attribute was locating a local file. Simply, it was all due to a `/`. Talk about idiot. Secondly, the subject line, is it reasonable to assume that this can be a skill transposable from what social media marketers have been known to do? :p Everyone who is passionate about a facet of study should make succinct attention grabbing subject lines. Thanks for the reinforcement!! lastly it was revealing to get a better sense of how it's better to explain how you're stuck by phrasing the process you're taking to meet a goal. Thanks for letting me comment.
Your best bet may be to follow Pasi Sahlberg who's an international expert in these matters and from Finland: https://twitter.com/pasi_sahlberg/status/580376929351516160

Here's one presentation from the government, where they use the term "broad-based competence": http://www.oph.fi/download/151294_ops2016_curriculum_reform_...

A shorter one with video and the term "transversal competences": https://www.youtube.com/watch?t=70&v=KY_LZJkEo28
Slides: http://www.oph.fi/download/158389_general_aspects_of_basic_e...

EDIT: These should be contrasted with the old curriculum which talks of "integration and cross-curricular themes", "examining phenomena from the perspectives of different fields": http://www.oph.fi/download/47675_POPS_net_new_2.pdf

EDIT2: Finnish schools are obliged to introduce a period of “phenomenon-based teaching” at least once a year. These projects can last several weeks -- by 2020. http://www.independent.co.uk/news/world/europe/finland-schoo...
Beijing real estate makes San Francisco look like a bargain.

Also, china doesn't have a property tax, so you can just buy an apartment and sit on it forever, there is no economic pressure (as a property tax is) to put it to productive use.