jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
To be fair, not all drugs release dopamine but those that are addictive do. In a sense, the salesmen had his customers addicted to an experience of buying from him. In another sense, Apple has the customers addicted to experience of buying and using their technology.
I think you're spot on. With the top apps, you're buying into a platform.

Evernote is web, desktop, ios, etc, etc

Remember the milk is everywhere... so is Simplenote
Unless it's surrounded by spaces, which it probably should be anyway. Compare these pathological cases for either approach:

one-thing - another-thing

vs.

one thing-another thing
It's actually smaller and simpler than Java or C++ as far as I know. It's designed to have fewer edge cases and employ a smaller number of powerful features instead of many less-expressive ones.

It's interesting that you use the word "scare." It's a computer language. What's there to be afraid of?
Just think of it as a really big rack enclosure
Look for something that’s not really development-oriented: something like handling a process or operation that is repetitive and involves computers. Then use your development skills to automate it so you don’t have to do much except press a button or run a program.

I was responsible for a process which involved looking some data up on a specific system, copy-pasting that into a document, and ticking a cell in a spreadsheet as “done”. Used to take about 3 minutes per item - which is not much. I scripted it all using python-mechanize and some APIs in the office suite, and now it takes 20 seconds of computer time per item - but crucially, zero seconds of my time.

Your investment up front is some time learning the manual process and a bit of work to write the automation, then you can coast along happily.
I don't think the author's bone is with Substack having controversial people on their platform, but that Substack is actively seeking and rewarding a certain type of content. So Substack isn't being a neutral player.
Hold on, who said it will be cheap?
It is ticker symbols of their stocks in the market.
I've been rewatching an old anime where humans head towards collective conscienceness as a response to extinction level events. And it makes a good point: What if some people don't want to lose their individualized identity?

Connecting is not always the solution.
I searched for something arbitrary (the word "omnipotent") and it came back in about 2 seconds. What are you getting?
I have to wonder if Java would be in demand if not for Android?
But what if I don't play video games? I don't enjoy them and don't really like them, and have moral objections to the content of quite a few. I don't care about others playing them, but don't think my workplace ought to pressure me to do so. Also, I don't want to spend several hundred dollars on graphics processing.
Godel's proof doesn't imply that there is no mathematical truth. There is still an infinity of things that can be proven.
Lots of times they do this in a circle and have a bunch of students sit in the middle. That's on my bucket list for sure.
>How does an unbanked get their paper money into their cryptocurrency account without trusting a third party?

Mining perhaps?
Wasn't he literally in high school at the time?
Good argument. I will think about it more.
But when you pay with a credit card, you're not exchanging the card itself for goods or services. You're asking a third party to pay (in real US currency) for the goods and services, and promising to the third party that you will reimburse them.
Nope. Remember, bitcoin, for the foreseeable future, is only going to be valid for online transactions. You'll still need to go through a gateway of some kind (Paypal, bank, etc.) to convert a bitcoin into dollars, euros, yen, or whatever you buy food and pay rent with.

Those gateways represent choke points that can and will be shut down, if our experience with other online currencies is any guide.
Increasingly famous just seems like an odd thing to use to describe YCombinator in the lead of a news story, out of all the things the writer could use to add context.

YCombinator is "famous"?
Is there a public framework that allows integration between QtScript/QObject and .NET? If not, you might get a lot of interest if you release that part separately.
His writing is pretty bad in the original Foundation trilogy, but it was his early work. He got a lot better later on. Have you read Stephen King's first novel, Carrie? The writing is awful.

And yes, there are a lot of direct cold war references in something like Fantastic Voyage II that make it seem outdated, but I think that his really futuristic stuff doesn't have that flaw.
TextMate is the BBEdit of OS X.
K&R. It's like the C language itself: it just can't be improved upon. It was already meant for our time, when it was written.
Very cool. My first reaction was that there wouldn't be much of a market for this, but after reading through the thread you linked to it's clear there is.

Looking forward to seeing the final product.
"What's wrong, honey? They had fresh eggs!"
My kids (huge fans of Cars) are happy too. My wallet is not.
I've dropped about 16 lbs and feel great on a diet like this: http://news.ycombinator.com/item?id=1884270
I see. Does HN say somewhere that "anything you submit can be used for commercial purposes by YC startups"?
If they maxed out the "Tesla Factory" (formerly NUMMI), they'd still need ~100k vehicles/year from somewhere else. GM just announced they're spending ~$1.5B on a 150k vehicle/year plant in China. Assuming the new Tesla factory would be more expensive, since labor cost in the US demands more automation, they'd be looking at ~$2B to build a new facility. Plus the costs from the upgrades at the Tesla Factory.

I have a hard time seeing Tesla deploying $5B in CapEx in the next 5 years when they only have $700M in PPE now and $800M cash in the bank.

When they retool for the Gen III 'Model E', I'd expect about $1B in capital investment to satisfy a production level of ~150k cars/year.
I say this as someone who's spent decades of my life donating time to opensource projects. - But the model where big companies have their technology stacks underpinned by charity is ridiculous. Obviously ridiculous, if python only has 2 full-time-equivalent staff.

This problem isn't solved by little old me pulling out my check book. My bank and my insurance company don't need charity from me in order to fund the technology they've built their businesses on. They need to learn to pony up and start funding the "free" software they use. Paying myself would only help kick the can down the road - and encourage and enable this sort of corporate mooching to keep happening.

In 60 years most of the volunteer maintainers of the software we depend on every day will be dead. Some time between now and then we need solution to this problem of opensource sustainability. Delaying buys us nothing.
> Zuckerberg's part, he is still 100% holding onto his power at Facebook. Facebook simply cannot change, because the incentives for running that kind of service don't align with instituting actual good moderation on the site.

So perhaps he doesn’t hold 100% of the power- you seem to be arguing that even he couldn’t change Facebook .
There is IOTA, which is technically proof-of-work, but there are no "miners" validating large blocks of transactions like with Bitcoin. Each person creating a new transaction in the Tangle validates two existing transactions and does a small bit of PoW, and by doing it this way, there are no fees.

Early in the project there was even an effort to create a different kind of specialized processor like you mention, something low-power that could be used in the wild in sensors and whatnot.
that's essentially it, just without the animations. the thing is I made the 2d drawing canvas before the 3d plot one, but I think making it spin just as a gag could be nice. unless you can think of an actual function for the spinning
Creator here,
Indeed https://kerkour.com is not only about Bloom but it's the blog where I will share all the updates about the project. You can find the motivation behind the project here https://kerkour.com/blog/bloom-a-free-and-open-source-google
There's Apple still, with WebKit.

WebKit is open-source (LGPLv2) and used in GNOME Web (Epiphany) on Linux notably. (in addition of Safari on macOS and iOS)
"Won't someone please think of the billionaires?"

Zuckerberg made his money off of building social networks. He's welcome to retire and divest, but otherwise it's his ethical responsibly to guide their development for the public good. He's going to get flak from every side, but it's his job to pick a side and go through with it, whether it's doing nothing, reforming, or even strangling the app.
Probably add a 'Pay what you want' option in download pages as well.

From my own experience, I got just one donation in about a year of giving away free learning material. I then tried out ebooks (which was initially paid option only, but later switched to free online version and paid pdf/epub). This set up now pays my living expenses and recently started saving a bit as well.
if you ever tired of other places, please come visit shitmyself.com, or sm.chg.pw. friendlier name to come.

it has a captcha login, see my profile, but no account is required. i guarantee it works with any device, no matter how old.

i have lived on the street before, and many of the other visitors also street.
I appreciate the discussion, let me clarify.

> a random sequence of 39 heads is less probable than three sequences of 13 heads, each separated by some other unidentified, random sequences

Investors are not going for streaks. They are going for overall return. 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%? Ignore an arbitrary year limitation (why not measure monthly or daily return?). What is the chance a random strategy would outperform so long?

Or, a better question: what is a chance that a random strategy will be the best-performing investment over a 30-year period (1926-2011), and the subject of academic studies:

http://www.econ.yale.edu/~af227/pdf/Buffett's%20Alpha%20-%20...

Buffett is an existence proof that investment is skill, not chance. He created the 9th most valuable company in the world. You can believe that was entirely due to chance if you wish.

(On beating the market consistently: you don't have to crush the market to extract value. Certain strategies only work for certain amounts of capital. You can be an Apex predator and not drive the entire ecosystem into extinction.)
> Bitcoin and USD are not the same thing. Bitcoin exchanges need to have enough BTC to cover any accounts in BTC. They only need to have USD if they also have accounts in USD, which I suspect they don't.

If they are going to function effectively as exchanges where BTC can be traded for dollars (which necessarily implies trading dollars for bitcoins), they have to maintain both BTC and USD denominated accounts (which is why, indepedently of the treatment of BTC under applicable laws, they generally are subject to whatever the local equivalent of money service/trasnmitter laws are, because they have to maintain and distribute funds from fiat currency accounts.)
More than the statistics, it's the stories that open your imagination to the unlock connectivity is bringing. Using WhatsApp to report timber theft is something I would never have guessed.
> If the Go compiler had been the first big Go program, that use case would have had undue influence on the language design and distracted us from the real target.
Good article.

I do wish that my Droid had a video camera on the same side of the phone as the screen for video Skype, but that will probably be in a later release.
I'm all for great customer service, but 6-9% discount rates are frightening. It's not that hard to do direct paypal/credit card processing for something in the 2.5-4% range. That's a big chunk of a company's revenue, not to be given up lightly.
Proving yourself at a new company is a huge pain point. No matter how good you are, you always go through the slow process of earning rights in order to get some freedom to work autonomously within the framework and procedures of the company.

That the OP wants to avoid this pain is understandable. It's probably just not realistic.
I've setup nginx as a reverse proxy to Apache, and serving static media directly, & it's much more stable while using less memory.
I seriously wish this was more socially acceptable. I hate having to decide what to wear every morning. Last year I bought a dozen plain t-shirts online of various colors. I actually wanted to buy just one shade of gray but my wife insisted I buy different colors. I've been wearing these t-shirts at my work for about 8 months now. My wife's friend commented on how I always wear these boring t-shirts. A coworker commented on how I never wear anything interesting or quirky. I just got back from India and my buddy commented how I lost my sense of style/dressing.

It is true that at one point in time, I used to love wearing different types of clothes and kept up with the fashion. But now, I just want clothes to clothe me and not define my personality/uniqueness etc. I wish I didn't have to spend $100/year or more on clothes and could just wear a white or black t-shirt at all times.
You lived with Steve Jobs?
That is amazingly well reasoned
And then hire the one that says not to use a fucking piechart.
Wow. That was fast. I was just about to submit this as an Offer HN, when I saw your submission.

Just wanted to add that MindTribe is a product development firm specializing in products that integrate hardware, software, and mechanical engineering (though not all of our programs feature all three). We're opening up free office hours to give entrepreneurs and startups 1-on-1 advice for getting their products from concept to market. There's no catch and no strings. We love talking about product development and we've been doing this informally for years. We're finally able to support this on a regular basis so we can more formally offer the service publicly.
Powers of two wouldn't actually work there. Using primes lets you use division as a test for presence in the original set. The task is 'detect presence in the set', and integers are uniquely identified by their prime factorization. Powers of two would just give you another power of two. That wouldn't actually preserve the information you're looking for.

Consider an original string 'bb', and a test string 'c'.

With powers of two, you'd have 2*2, and your test would be a division by 4, which would be successful by having no remainder, indicating that 'c' is a subset of 'bb'.
Except in this analogy, you tripped them.
The part about hating WalMart is a recurring "joke signature" that I have just begun to add to all of my posts. They just announced that they're moving into my neighborhood in DC right now, and I'm not too happy about it. Don't worry too much about that. LOL :P
I doubt that the interviewer mentioned the prime number solution due to insufficient cleverness in the original solution. The answered O(n+m) solution actually contains flaws beyond its lack of cleverness.
1) there's no good reason to use a hash map, hashing is useful in maps for mapping an unevenly distributed set from a large an arbitrarily large space to an evenly distributed set from an arbitrarily small space. The space is only 26 characters so why hash? You can simply use a map (no hash needed), and in this case there's even a very natural way to get indices into an array (index(c) = c - 'a').

Now it's true, that these are both linear time solutions simply with different factors and we might simply say who cares. The thing about the prime solution is that it's actually really dumb itself and I think that's what Guy really wanted you to tell him. He was pointing out that you could leverage the smallness of your data and hoping the interviewee would come up with an even better way to leverage this fact.

The first thing we should notice is that asymptotic bounds are misplaced here if you consider how such a function might actually be used. The strings are basically being used as sets that is AA might as well be A as far as our answer is concerned. So assuming people aren't giving us stupid data (and in an interview you could mention a way to make this assumption true). The strings shouldn't ever have duplicates and thus shouldn't ever be bigger than 26 characters (otherwise they contain all of the characters and the answer is independent). So if a solution has runtime n + m + c, that c actually starts to matter.

The thing about the primes solution is that multiplication and modulo operations are actually very expensive and all you want to keep track of is whether you've seen a character (1 bit of information) so you should really use a bitmap for this. And since it so happens that 26 < 32 these will fit very nicely in a single int. It's even a pretty nice implementation: https://gist.github.com/707639

[edit: link to code]
It's better than citing him like an xkcd comic, with just a URL as a punchline.
Sad to hear WebSQL is finally going away. I used it a number of years ago for a mobile only project. At the time indexeddb was effectively unusable on iOS, and the data we had was too large and complex to store in localstorage. WebSQL was perfect for the role, and worked really well.

The only issues I had with it are the lack of documentation and the fact IE, Edge and Firefox didn't support it. Perhaps it's not surprising that the MDN documentation was lacking, but I made do. Browser support on mobile was actually really good, so that didn't cause any issues.

Nowadays I'm relatively familiar with indexeddb, but I'm convinced the same project would be harder to implement with it.
Yeah, there isn't free flow of car registration in EU or within its Schengen area. If you buy a car in another EU country you need to register it in your country of residence and it will be taxed and slapped on with various fees according to local rules.

Another example, if you move from let's say Germany to Denmark, it's incredibly easy in many ways, but not when it comes to your car. You're allowed to have it on your German registration papers for 6 months, then you have to register it according to Danish rules, which comes with a hefty tax payment. You can choose to not do that, but then whenever you get pulled over by police, they will check the papers and fine you heavily for not registering the car in Denmark. Many expats decide to not bother at all and just sell the car in their home country.

There may be a loophole somewhere, but for the regular person there is no avoiding the taxman.
Feature request - make it fun and position it in a different way than "how much you would make instead". Calculating hourly rate multiplied by time spent on a distracting platform is useless because in reality the overwhelming majority of people don't have an additional income source where that time can be invested. And the ones who do will find it really difficult to calculate an accurate hourly rate.

On top of this, you need to take into account the income benefit of leisure time and relaxation, and the income benefit of casual random interactions on platforms like HN, reddit, youtube. And let's not forget time spent learning - associating a monetary amount with it is so so difficult.
Yes of course. But nobody would ever argue that a van is a better vehicle than a normal sized car for moving people around (unless you have a massive family). SUVs are a profitable marketing trend for car companies and nothing more. We are literally burning the planet and people's insecurities are being exploited to persuade them into oversized and (thus poorly performing) vehicles.
"Nobody" cares about x86 anymore except those married to the platform.

Even Windows runs on Arm now

For servers they care about price, performance, support and volume/availability

If you can have a non-x86 platform that will save power/cooling to the big datacenter users (FAANG basically) they will be willing to give you money
Just wanted to say thank you for using Celsius in addition to Fahrenheit. I don't understand why people only use Fahrenheit without adding the equivalent Celsius value.
I came up on this issue, I think the main problem is as React-Router is being used its a SPA; all front end routes need to resolve to the same index.html. Totally do-able with Go but it was a bit of a pain to get it working, I ended up wrapping the "route not found" handler with some logic to serve index for given frontend routes. nginx gets you this very quickly so I ended up using this instead.
The vector extensions would need to be finished before that can happen.

As a side note, a couple of jobs on their careers page seem to want ARM assembly experience...so it's likely to be an ARM core?
Which government? Critical to whom?
I'm shocked that you're shocked. An interview is a contrived situation whose social stressors do not at all match those of programming a computer.
Exactly. I spent a couple weeks building up my little HN points once. Then I made a comment like "That was a very interesting article!" and was downvoted to hell. I asked why, and that was downvoted to hell. Negative karma after working on positive for two weeks.

So fsck you very much you guys. Every last one of you with your little down vote button. Now when I feel the urge to post here, I create a single use throwaway account, say whatever I feel like, and then log out.

HN is very much a hivemind. It's easy to see when you're not worried about your negative internet points.
There really needs to be a rule on HN where if the site requires registration then it isn't allowed to be posted.

Given that WSJ is now the Fox News of journalism I see no reason to sign up.
The code names would all have to come from Something About Mary
I think this review is very valuable. The key is to always look at it from the other persons point of view as well. I like when an interviewee asks questions. But there needs to be forethought and finnesse in the interaction. Your questions are very telling of you, as are the questions the interviewer asks you, which can tell you a lot about them. So, be sure to evaluate what your questions are "telling" this potential employer about you. I'd rather get an offer an decline than not get an offer at all. You can always find out quite a bit about companies just by googling them.
Flagged the story based on this; it really screams "advertisement" to me.
They're not saying 1 out of 8 vaccinations gives symptoms, but that covid is 8 times likelier than the vaccine to cause those symptoms.

From [0]:

> They found that, during the first 12 months of the pandemic, males aged 12 to 17 were most likely to develop myocarditis within three months of catching covid-19, at a rate of about 450 cases per million infections.

> This compares with 67 cases of myocarditis per million males of the same age following their second dose of a Pfizer/BioNTech or Moderna vaccine, according to figures from the US Advisory Committee on Immunization Practices. Researchers added together cases after first and second doses to reach a total rate of 77 cases per million in this male age group triggered by vaccination, a sixth that seen after infection.

That's about ~7 times likelier from covid than vaccines. No data specifically on omicron (yet) though.

[0] https://www.newscientist.com/article/mg25133462-800-myocardi...
My guess would be that if Facebook and Twitter pulled out of the EU market instead of complying privacy rules then some other organisation would step up to fill that void.

It wouldn't even have to be an EU company just one that followed the rules willingly.

I'd better that even worse than the loss of business neither Twitter or Facebook/Meta would like to see a competitor have access to a protected market of the size of the EU.
Okay now you can get yours too. It's just images.
It requires human labor so it is expensive in countries where that is expensive. In countries where it is cheap there it isn't prioritized by the public, who ubderstandably instead want better paying jobs