jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
What is the unnecessary part, in your opinion?

I think the core is very good. You need a pool of machines, you need to be able to schedule workloads, you need the workloads to be able to talk to each other over the network, you need the cluster to reach a consensus about what state it's in, etc. That is complicated, but basically mandatory.

Intrinsically, I think you take on a lot of problems by increasing the number of computers you control. Once you have decided that you need more than 0 computers, you are in for a world of hurt -- that's the entire field of software engineering. Once you have decided to make the jump from 1 computer to 2 computers, you now have to contend with the entire field of distributed systems, just so that you can serve your website when one machine fails, or you want to upgrade Linux, or whatever. At some point, even "small" companies have 10 engineers and 10 computers, and that is right about when "some guy will handle this for me" fails and you start needing software to manage things like scheduling or deployments. You can certainly make it work for longer than that without using Kubernetes, but the returns start diminishing very quickly.

There are absolutely quirks of Kubernetes that have caused users a lot of unnecessary hurt -- mandating a 5 node etcd cluster when they could have bought an RDS instance for $70/month or something. That seems to be being fixed, though.

The way I see it is that people run into trouble with the parts that are underspecified. Ingress is my classic example -- it only provides API surface for the simplest of HTTP routing operations, and it's too simple for any real-world application. The result is that people hack in their own ingress controllers in horrifying ways ("just put an nginx.conf snippet in an annotation!") and that bites a lot of users. It goes further than things like Ingress; who is providing monitoring, tracing, and authentication? Bring your own! Who gives you a container registry? Bring your own. How do you code review changes to your cluster? Bring your own gitops! (This is all in addition to the things I mentioned in my original comment.)

There are too many things that Kubernetes should probably do because a lot of people need them, but those people have to cobble together a bunch of unrelated components to get what they need. That is nice! But one way should win, and it would save people a lot of time.
> You have many comments sympathetic to the CCP.

I do? What gave you that impression? I oppose death sentences on principle (hard to reverse in case of wrongful conviction), so I would count my comment above as unsympathetic to the CCP.

> significant evidence has been presented to the contrary

Evidence that Uyghurs would not be killed if there was no shortage of organs for transplantation? What evidence?
I’m building https://boomadmin.com. It’s like AirTable UI but for relational databases like MySQL.

Giving databases easy to use spreadsheet UI so they can be easily used as a content management system.
It wasn't unique to the 68K world.

Windows/286 (from long before Windows 3) could multitask too, but not very stably. No memory protection.

Acorn RISC OS -- the original ARM OS -- had _both_ cooperative and (for command-prompt windows) pre-emptive multitasking, but again, no memory protection.

A big part of the problem was that the 68000 had no MMU. Nor did the 68010 or the 68020. One only came onboard as standard with the 68030 -- analogous to Intel's 80386DX -- and then it was too late: to rework all the existing OSes would have been both a huge amount of work, and badly broken backwards-compatibility with the large existing software libraries.

Whereas the PC industry more or less rebooted the OS stack (eventually), with a new, graphical OS that could use the hardware multitasking features of the 386 if it got one, and do without if it didn't.

This was Windows 3, and it evolved into Windows 9x. Meanwhile in the background Microsoft frantically worked on turning OS/2 3, the CPU-independent version, into something saleable.

OS/2 3 became OS/2 NT became Windows NT and the rest is history.
It seems to have worked, because I was impressed!

And thank you, having examples to take inspiration from makes all the difference.
Thanks - glad you enjoyed it!
I am working on search tool for images.

It detects faces, objects, tags, extracts metadata and provides search interface and API. So you can for example find image with "cat and dog near river with some person"
I want to build enterprise level image search :)

Google Images, for example, uses in most cases alt text and surrounding content.
Google Photos is limited to personal collections.

I have finished prototype and now trying to convert it to startup

Demo https://app.khumbu.im/search/5dff72e66483e25b40e0222e
info https://khumbu.im
I've been working on a bunch of car repairs that I've been putting off. I've found it really enjoyable working on the fixes myself.
You’re not even acknowledging the third possibility: if it doesn’t turn out “that bad” and the extreme measures don’t make much of a difference.

This is the possibility I would be super pissed about, not the other two. Unfortunately, in either “not that bad” outcome it’s going to be very hard to prove which one it is, which of course won’t stop a bunch of folks from parading around and bragging about how they saved the world.

I’ve seen this pattern more than once in my short time alive. But assuming what we all hope, that one of the “not that bad” scenarios plays out, the difference this time will be that many millions of lives will have been directly ruined because of those extreme measures.
But that doesn’t preclude mistakes by collision (N short flags match a long one) or unpredictable bugs in a long flag interpreter (a short flag being a substring of a long one)—both being trivially common bugs when this ambiguity is allowed, especially when an API is ported to another environment with less tooling standardization around interpreting the input.
44 Cores, and careful cache management. I'm wondering whether the GPU implementation has been similarly optimized.
No, I've just picked up the pattern that we only hear from Mark Zuckerberg when he's apologizing for a grievous "oversight" involving user data/abuse* of the Facebook platform.

* Also, underhanded use as intended.
Ah sorry I think you may have misread the claim. K8s is my secret weapon, it’s useful for most teams when you don’t set it up (managed offering).

It really depends on what you do with that cluster, if all you do is run deployments with services and ingress (the equivalent of ECS + ELB), its easier than doing the terraform thing IMO. It’s certainly easier than cloud formation and building AMIs.

I completely agree that buying metal in the cloud is cheaper (that’s part of my secret, shhhh).

I disagree on server less because I think it’s only a matter of time before it becomes a frog boil scenario. Bit of a tin foil hat theory but I think there’s a reason companies want you to move to serverless — the complex flows you build make it sticky, the hidden costs are everywhere, they can simply raise the price at any time, and they scale cost with your business. I think we’ll see more and more of the “I got a thousand hits in a second and my bill was crazy because X” once this deluge of free credits runs out. Also definitely not sure about serverless for small business, it’s such a new paradigm, maybe if you get prebuilt flows but it’s definitely simpler to set up dokku/caprover on a droplet.
Impressive Tony Stark level solo dev setup :)
Here's a video of what is arguably the best cycling track in the world: https://www.youtube.com/watch?v=5THyQAOj938
> but the fundamental issue of "you can't just spin up a fab" remains of course.

Why not?

I mean... look at the current plague pandemic - we've been listening that you cannot just create more space in hospitals overnight, or build new rooms, and this and that... but it's not overnight... it's been a year now, and if they started building the first time they said "it cannot be done overnight", we'd have a lot of nice empty rooms now.

I remember waiting for some parts in 2002, that were delayed due to many stupid logistic issues in Korea (fifa world cup was there, then), and the excuse was the same... you cannot just make more factories overnight. Graphics card prices are overinflated, ram prices are inflated, ssd prices are inflated.... basically, anyone who starts building any form of production now, will be able to sell whatever the company puts out without issues.

I know I might sound like a conspiracy theorist, but there is either some cartel deal between huge companies (intel, amd, nvidia, qualcomm,...), to keep prices artificially high and blame parts shortage, or they're all incompetent.
I really enjoy the energizing feeling of coffee (caffeine), but after months of drinking several cups a day I don’t get it anymore.

At this point I’ll usually go off coffee for a couple weeks to reduce my tolerance, then after that I’ll ramp up again.

Side effects during the first week are headaches and feeling somewhat tired, but not too bad.
What advice would you give if going for 10k-100k a month?
https://news.ycombinator.com/item?id=26678700
It's unclear who would buy. Lots of companies and private organizations were benefitting from Cloud Print, but would any of them be interested in taking on the cost of operating it?

Also, would enough Googlers be willing to spin out from "the mothership" to go work for a spinoff that likely couldn't afford the same benefits package?

(And this is to say nothing of the fact that most of Google's software is written atop Google's internal software infrastructure, which generally cannot be ported out of the company. It just won't work outside the ecosystem of services it assumes exist).
Chrome was basically a reskinned WebKit browser earlier on and then they forked it. I doubt Chromecast (the device) is more than a break even if that. It costs the same as a Roku stick and the CEO of Roku said their hardware doesn’t make a profit. They make money from advertising.

The Chromebook sells are minuscule.
It's not just all of the products they've dropped in the past, it's also the cumulative day-to-day experience I've had with them overall. When their stuff works, it's great, but if anything goes wrong, one faces the impervious silent wall of Google's tech support, or rather complete lack thereof. The idea of trusting their compute cloud for a business service that truly has to be reliable seems insane.

They make great free toys that mostly work and make a lot of money doing so. I'm glad to use those toys for free, but I'm under no allusions that what often works will always work. That's not their forte.
So a lot of that sounds good, and the Houdini stuff looks interesting, but how does "extending CSS" with JS or worklets solve the two main problems of CSS, namely the ability to define local styles and the ability to dynamically change or define styles on the fly?

Also, it doesn't look like browser support for those new APIs is going be very good for quite some time.
We’ve had photographic deep fakes for decades now. How does this fundamentally change anything more than Photoshop already did?
I think i can probably see some things in my posts that could be much better and offer more supporting information, but i think if you are going to act on what people 'primarily' do it should be based on their reading activity as well, as i am rarely driven to comment on posts that are not political.
Look at the document. It contains the information we're discussing. There's no need to extrapolate.
Yep, I agree fully
It may be an honest question, but how is it relevant? Clearly if you're Ubering, you either can't or don't want to use the bus for these trips.
Incidentally, Servo uses both: we use 1:1 for the parallel layout worker threads and M:N for the script and layout tasks.
Realistically only a very small percentage of pickups or Jeeps, even on the high end, are working vehicles. It's just a different form of virtue signaling.

Nobody has an interest in talking about it, but pickup trucks and truck culture in the US are a marketing driven phenomenon. It stems from the fact that most US auto manufacturers' profit is driven though light trucks as the result of the 1964 chicken tax. They are appallingly impractical and expensive for the most part, and I'd bet 99% of Silverado High Country package trucks doing no more heavy duty than typical suburb traffic, too. I think Tesla has just embraced the world as it is rather than trying to shift consumer preferences.
How does affiliate monetization work? Do you rewrite links in emails? And how did you get users? Paid ads, word of mouth...
People in groups tend to look at each other for signals instead of acting; this is explained in "Influence: The Psychology of Persuasion" by Cialdini.
Hahah. A graphical cheatsheet for a command line editor. Nice!
poor man's password manager: select one strong password that you are able to keep in mind. Then for every site you use, set the password to what is the output of:

echo "strong_pass:sitename:strong_pass" | sha1sum

Note: if you are using mac os x use "shasum" instead of "sha1sum".

Make sure to don't expose your secure password of course.
It's also a good idea to use a completely different strong password just for email.

p.s. it's worth to note that since there are tons fo SHA implementations for Javascript it's possible to build all this as a web application where all the business happens in the client.

The web app will just allow you to add a number of site names so that you don't have to type the site name by hand all the times.

Btw the world would be a better place with all the auth cookies set to expire on 2036...
This is more of an asset sale since the founders won't be joining infochimps.
I have to disagree. What about Hadoop, Solr/Lucene, Mahout, etc? Those are pretty sweet projects made in Java and I'd have to argue are pretty successful. I'll admit that I have listed all Apache projects, so would you then argue that Apache has been successful as opposed to Java?
Thank you for this story. I shared your sentiment when I saw this story pop up on hn but I've been struggling to find the right mindset for marketing my next project.

Your mentor's philosophy is exactly what I needed to hear.
> If you have to develop a secure solution you make some research and choose what you think is a good solution (and if it is something outside your field you study/ask)

If everyone did this we wouldn't have these discussions so often. The problem is that people think they know about crypto, and think they know what they're doing, and probably won't believe otherwise until they get smashed wide open like this. This applies to almost all areas of knowledge, it's just particularly damaging in crypto as it's arcane and very sensitive to changes, often in very subtle ways.
Yeah, these are the three things I worry the most about. Some popular proposals...

- Health care. Single payer system. Perhaps expand Medicare by lowering the age to 60, 55, 50, etc.

- Subsidized education rather than the current loan based system. Start with the free community college proposal.

- Real Estate. This is a hard one. Invest on schools even if they are not in the good districts. Build appropriate housing for seniors.
I think that this is supposed to be similar to the classic tamagotchi's off of the 90's. There were no status bars (like a real pet) and figuring it out was part of the charm . I do think that if the pet is really hungry/thirsty/tired there should be an a different animation, like pointing to mouth for hunger.

I agree animations and aesthetic are awesome (much better than the original LCD pixel Tamagotchi's).
Funny enough my first impression was that the teslarati-image was the real one and the official one from tesla was the fake one. Had to double check.
Agreed. Count Zero was the best. Neuromancer was good. Mona Lisa Overdirve and onwards was garbage.
Cocoa has a ton of bugs and cruft and could very much benefit from a mass refactoring. I'd like to see everything deprecated actually removed and a bunch of other aggressive actions taken to prune APIs that never worked well. Replace all target-actions and delegates with blocks. Redo anything where the solution is to defer an action by one runloop cycle. Rid the world of NSCell. Redo views using layer composition. Admit CoreData hasn't been up to task for years and still lags behind and ditch it. Work with the security team and introduce new entitlements (still a stupid name) to allow more APIs to work under sandboxing. Introduce more fixes and changes throughout the year, not locked to an annual OS update cycle. Open up the bug base for this thing so I can see when something is broken instead of losing hours on end thinking I'm doing something wrong. Be bold. Break compatibility and call it Cocoa 2 for marketing. Do whatever steps are needed to make Cocoa awesome again.

But this shouldn't be done because of Swift; this should be done because it's necessary to breathe new life into the frameworks and rethink them for how we work now.

Swift is not ObjC without the C, gets the defaults wrong and should be dynamic by default, and is changing too frequently to provide any of the stability and productivity that good frameworks need to provide. To anyone on the Cocoa team: don't cater to fads (you saw what happened with garbage collection). Make them actually give you Objective C without the C or a language better suited than ObjC to app development before you even consider going out of your way to support it. When that happens, you can have a great refactoring again and call it Cocoa 3...
Is it normal I get a article not found ?
I understand you're joking, but for those who read your comment and aren't sure, if "what framework should I use" is the first thing that pops in your head, you're doing it awfully wrong.
The problem is that it doesn't just block the buttons, it blocks assets that just happen to have those names that are unrelated to the buttons as well.
It's an old joke kids tell each other [1]

[1] https://answers.yahoo.com/question/index?qid=20090403214314A...
If the resource names are still "static" your resources can still be blocked. But if they are altered slightly every time, you may also thwart caching, right?
I think his complaint was more about feeling forced into creating a G+ profile, not about unified sign-on. The unified sign-on should be able to work just fine whether or not one has a G+ profile, just like it works whether or not one uses Blogger, YouTube or any other service...
After seeing the way you post in all these threads, you're the worst kind of apologist.
This is exactly the reason I moved to the Bay Area. On top of the ability to easily move between jobs, if I ever decided to try my luck at doing my own startup, this would be the easiest place to raise money, find co-founders, early adopters, etc.
Can you please recommend a VA panel that is good for text sharpness, too? My eyes don't react well to IPS, for some reason: I used to have a BenQ GW2760HS (1080p, VA panel) and then upgraded to a Dell UP3017 (2K, IPS) and find it harsher on my eyes, even if I enjoy the text sharpness!
I don't see any reason why someone would use OpenBoard over AnySoftKeyboard. It would of been nice if there was an explanation of what differentiated it. If someone just wanted a different looking keyboard they could just have created a new theme for AnySoftKeyboard.

AnySoftKeyboard also is the only open source keyboard for Android that has gesture typing. Which is something I grew to love from when I used Gboard.
I think it's really silly to try to draw out any meaning, or even assume any meaning exists in the first place, in single-day movements or reactions like these. What happens in a few hours of trading after earnings announcements means nothing after a few days.
If I gave the same food to 75 million people, it's inevitable that some of them will get sick in the next 24 hours. I actually think it's likely to be a coincidence - it's too soon after the break-in.
We all seem very happy to complain about Diaspora, but where are the people patching it and/or offering a replacement project with the same, highly desired goals?
In most top CS schools, the teaching requirement for graduate students is minimal (e.g. you are only required to teach once or twice). This only works when the research groups are well funded and you don't need to teach to earn your living stipend.
Bookstores and Cable companies don't have the same relationship with "innovation" as Square and Visa. Square is replacing cash payments with credit card payments, thus enhancing Visa business.

If you started a web video company that increased cable company revenue, I am sure the cable companies would endorse you as well.

The cable companies, bookstores, and visa, are all behaving rationally. There is nothing unexpected.
My short summary of what the article is about...

Lucene's previous approach to fuzzy matching was to check the distance between the input word and every word in the dictionary. Let's assume that their implementation to compute the distance between two words was linear-time on the size of the largest word being compared. Then, the complexity of this method is O(nm), where n is the average length of all words and m is the number of words on the dictionary.

The new algorithm uses some precomputed tables that define a parametrized deterministic finite state machine. Then, when the user inputs a word, the word is used to fix the parameters (this is, setting the rules on how to traverse the states defined in the precomputed tables).

From the given information, it is unclear to me what the complexity of this parameter fixing step is, but the paper states that its linear, so we'll say O(m). Then, discovering all the words in the dictionary that are within a fixed distance "d" has a complexity of O(k+m), where k is the length of the longest word in the dictionary.

Complexity wise, it is very clear that you can gain an X-fold increase in performance by moving from one algorithm to the other, by simply growing the dictionary until you get to your desired X.

Finally, I really dislike the author stating that "Unfortunately, the paper was nearly unintelligible!". I've taken a quick look at it, and it is immediately clear that the authors put a great deal of effort into it. Further, it looks quite packed, but perfectly organized and written in a clear-enough language...
A few companies do that actually. Their analysts/consultants will work with you for an hour or so and then try to set up a longer term deal to help you. It makes sense: the economics of even an hour long meeting aren't great factoring in customer acquisition costs. I think Gartner and maybe some others do this though.
> PCs are going to be important for quite a while

Like trucks remain important today. We will have a lot of other information processing/retrieval devices around us. Up to now, we had mostly one type. Shortly, we'll have a far more diverse ecosystem.

> I don't see many people replacing their PCs with tablets or phones

Don't look to PCs if you want to see people replacing them. Look at people who prefer to do their scheduling or e-mail on phones or their reading on tablets.
Joel Spolsky comes to mind. Fog Creek, StackExchange and Trello.

I'd be interested in this list, too. Seems like a lot of adoration is heaped on people who have one big score and then can't (or don't try to) replicate it. To me, the real geniuses are the ones who can do it over and over again, proving the first wasn't a fluke.
the collective gasp of HN about a very well tuned and performing site on .net stack is pretty disturbing.
I just asked my wife. She could reach the entire screen with the iPhone 5, but unlike many of us on HN (including myself), she thinks the Reachability feature is good for her. She currently uses both the iPhone 5 and 6, one for work and one for personal, and she uses them both all the time, and she says she has no preference.
American here. Trains already don't run, no real net change.