skysight-inc/HackerNews huggingface dataset:
Ask HN: How to Build an In-Office Server
Any advice for building a office server* for a small company (10 people)? Main use would be backups of files vital to our business but hope to setup redundancies as well. Also cannot complain to run internal intensive computation test. Any stories, obstacles, things not to overlook would be appreciated.

*I know there may be some thoughts on the waste, resources, needed for in house server compared to cloud but we need/obligated to have an in-office server for backups in general. We do have cloud services.
Jog: Show the last 10 commands you ran in the current directory
This reminds me of a Lowtax post on Something Awful years ago...it gave me a good chuckle.
> aggressively

On point satire. I’m always a little bit wary of people who talk about aggressive caching and other aggressive things.

It’s as if you didn’t really get the solution you wanted, so you just hit it harder until you got a few more percent out of it and called it a day instead of figuring out an order-of-magnitude better solution.

Fair enough, but don’t try to trick me!
I find assumptions like "people are lying about liking it" for any popular thing are always wrong.
Vite - Extremely fast development setup for Vue and React by Evan You
You could be commenting functions too (day JSDoc it TSDoc) but also want to do an eslint-ignore. It looks better then, IMO.
It's been the case for quite a while. However, it's mostly useful if you have a huge web crawl, elsewise discoverability is a bit poor.
This discussion reminds me of Java and C/C++. In those days, we used to write messy programs in C. The language works well if you want to write some targeted libraries. It becomes really difficult to write complex software. I think Microsoft Windows has thousands of engineers to maintain their C codebase.

Java appeared on the market. It's a big change. It really brought out the goodness in Object Oriented paradigm. It made software engineering more rigorous. Most enterprise software made the switch to Java. They need the reusability of Java. Microsoft came out with C# to counter the rise of Java.

We have the same situation here with JavaScript and TypeScript/React. React brings structure to the messy world of JavaScript. But it also incurs the cost of traditional enterprise software engineering on the web development. I expect performant libraries to continue in plain JavaScript. Reusable web components will move to TypeScript/React. It's exciting to have better technologies to use for our projects. I don't think one will diminish the other. They'll both co-exist.
> I sometimes wonder if the people claiming to hate client-side technologies or disable JS in their browsers have actually ever had to build a complex website to put food on their table. My bet is the answer is often no, or they are a contrarian in general.

Does wondering that help you come to terms with the idea that you're creating things that range between "not the best user experience" to "thoroughly unpleasant to use"?

Personally I have been building websites (anything between sysadmin to backend and frontend) for 20 years, and my experience of the JS ecosystem is that it's utterly unpleasant to work with and in no-way better than other web technologies, but then maybe that's a delusion brought on by not eating enough.

> It outweighs all the end-user-facing cons by a lot

Well, I got so sick of crappy JS "websites" spinning my CPU fans that I installed the NoScript plugin, and now the web is a far nicer place to be. My browser is more stable and faster, uses less memory, and doesn't hog my CPU as much.
I work at a very large tech company and my experience with names there leads me to disagree.

* It is often most critical to differentiate between things that have similar functions. The relevant distinctions will not be clear by the time of naming (i.e., this is the part that used to manage the whole X but now just responds to callers, this is the part that was separated out from the old X for scaling, this is the old X backend, this is the older backend that runs for the old platform Xes only...).

* The same name may seem to make sense to people for very, very different things. (Viz. how many technical meanings "migration" has) If you have to namespace your names to get over this, Org Product Name starts getting clunky enough it will be called something different in practice anyway.

In sum, I would say that it's much easier to discuss and reason about complex systems made up of parts with clear divisions of responsibility, and I'm sure that everything tends to be easier when those divisions have been static enough over time such that the names can still correspond to responsibilities. However, I will take every single Pokemon name in existence over the confusion caused by names that try to describe what services do and are inaccurate.
Yeah, I know exactly what you're talking about. I get a lot of colds, and they are all the same. The day before, I have a ton of unexplained energy. Then my body hurts. Then my throat hurts. Then it's like that for a week. It is always the same.

Whatever I had in February was completely different. The cough is all I really remember. It is so rare for me to get a cough that even though I was around people that were coughing, I didn't really expect to get sick. But get sick I did. (Oddly the thought of COVID-19 never crossed my mind even once during the whole thing. I knew about it but I didn't make the connection at all. It seems so strange to me in retrospect.)
Here's the place in Englebart's 1969 Mother of All Demos where $SUPPOSEDLY_NEW_TECH was first shown. You kids have done nothing for a generation.
> It’s not that I don’t like background music in explanatory videos

And I'm totally against it. It is always distracting to me. If I'd want to have background music I could play it myself, and it would match my choice. The only videos that should have background music is where the music is in any way an important element of the story, e.g. if the topic is the work of an artist or composer. Otherwise, it is distracting.
Emphasis.

Am I suggesting you should do this with all your sentences? Absolutely not. However, I would certainly not read the two sentences the same.

(Food for thought: spices do not generally add nutritional value to food. Yet, each has their own preference as to whether, and how heavily their food should be spiced.)
Why couldn't it be true that we want to survive to ensure our grand-offspring and great-grandoffspring reach sexual maturity as well? That's a valid strategy (with tradeoffs, as there are with everything)
You’re attempting to draw a broad conclusion from a contrived corner case example. All you have to do is wait a little longer for more specular samples. The question is whether you wait for less time with denoising than without to get a pretty good preview, and the answer is yes. Many artists are really happy with denoising, and would rather have it than not, regardless of whether the processor is a GPU or CPU.
Agreed. I ordered mine, but with all the excitement, the shipping is not going to happen until late May anyway. Still, it will be fun to play with.
Speaking as someone who might be in your target audience: my experience with Databricks (back in 2017/2018, without Kubernetes) is that their product is just as unreliable and frustrating as deploying a Spark cluster manually, but also more expensive and more time-consuming. It was so bad that I was wondering if the entire company was a scam - which isn't true, of course. I suspect a big part of our problem was a shuffle-heavy workload hitting a relatively new product. But it left a really bad taste in my mouth about the entire business model of "Spark as a Service."

My impulse reaction to your sales pitch is "their product probably doesn't work very well and is way too expensive." I know that's unfair, but this entire idea of "our platform automates away the tedium of Spark clusters" just strikes me as a bag of magic beans.

What would help a lot with drawing cynical, bitter people like me: case studies on your website. I know that's a lot to ask for a young startup. But actual details about either money or developer time saved with Data Mechanics - specific pains your customers were having and how Data Mechanics addressed them, or specific analyses your customers were able to do now that they're spending less time managing Spark. Running a big Spark job in the cloud is a huge financial risk, and many Spark users are much more concerned about this than the headaches involved with management - and again, my last experience with Databricks resulted in more cost and more headaches. I do not think I am alone here.

I am wondering if you're considering selling your Spark telemetry/parameter tuning/etc software, or offering it as a service, etc. Speaking personally, I would be much more open to using Data Mechanics's tools on my own Spark cluster rather than outsource the actual management. At my organization, in addition to AWS, we also have a local Hadoop cluster with Spark installed; commercial software that gives better insight into its performance could be very useful.
Docker Network Complete Guide
Don’t forget the promotion!
I'm looking for a solution to an online furniture/home configurator. As much as I want to use unity or unreal, I'm worried they are too heavy for the web. Previously I have tried some unity online demo links. Most of them are not loadable, and a few loadable ones take a long time to load. This makes me hesitate.
$Hyped_technology is a great hiring mechanism for less well known or not popular companies. I'd take a job at $boring_company at a low rate if I could do interesting Rust projects.
Personally I find the syntax of SwiftUI to be most sensible.
There is a subset of people who are good at working from home and there is a subset that isn't.

There is a subset of each of these subsets that seems to be completely unaware that the other "side" exists.

This article seems to be written from the perspective of a person unaware of the subset of people that are just straight up bad at working from home.

(The same subsets also exist for companies instead of people.)

P.S.: Of course, by the same logic, forcing people who are bad at working in an office to do so regardless is dumb too.
What is the smallest number greater than 0?

For the things considered here, the point 0 is measure zero so open starting at 0 and closed at 0 are the same. L
It's not about trashing someone for doing something they love. It's about a prescribed format for food blogs that has all but taken over anything food related on the internet. I highly doubt it's a coincidence that thousands of food bloggers adapted a "five pages about me and then the recipe" template for their writing. As others are saying, it's an SEO tactic, and it's probably annoying to the bloggers too.

There's no arguing about it making recipes more "readable" when you have to scan down page after page to get to the actual ingredient list. That's super annoying. To put it into perspective, if the recipe was at the top, and the blogger wanted to spend five chapters talking about their life afterwards, more power to them, I wouldn't care a bit.
Working in software, the idea that we should all report in at the beginning of the day, every day, feels like too much like school. It would be better if the office culture was to show up when you needed to show up, without any hidden expectations, or surprise bad reviews because the perception is you work less because you're not in early or stay late enough. Luckily this had to go away recently for obvious reasons.
It's generally a good practice to start any request with "what did I do to find the answer/solve the problem?" That's both a check that you did your homework first and a way to avoid a bunch of back and forth narrowing down what the other party needs to give/tell you.
Related in name, but still super cool, is the 1-Bit Symphony by Tristan Perich. He programmed a symphony on an ATTiny that outputs directly from one of the output pins (through a volume pot) to the headphone jack.

http://www.1bitsymphony.com/
On the flip side of this: I do not owe my employer space in my home. Having to dedicate some part of my home to their economic activity should be something I'm financially compensated for.
Here's a response that he can use when people comment on his youthful appearance.

"You look so young."

"I have this portrait in my attic."
Likewise, musical roads essentially turn your vehicle into a 1-bit amplifier. https://en.wikipedia.org/wiki/Musical_road
Is it, though? Side projects can be a fantastic opportunity to try something new. I wouldn't have any of my current go-to stack without such experimentation.
Thanks for replying. I was thinking about the "Make X Y Again" types of article that, intentionally or not, invites offtopic discussion.

The original comment from simonw (https://news.ycombinator.com/item?id=23137531) originally did not have many comments but was already flagged when I saw it first, which was strange to me because the comment basically says "this is a bad title (it distracts from the content), don't do that".
This is quite a reasonable comment to me.

So under that comment are many exchanges that may or may not be offtopic, but I was curious in particular about why that parent comment was flagged, and what recourse users have when something is flagged but maybe shouldn't (wasn't there a "vouch" action?). My opinion is that if the submission itself brings political subject into light, even indirectly, it is unfair to flag political comments as offtopic.
Not necessarily. Hanging around longer could provide more of a resource drain than the relative benefit, humanity aside, and older people can create limits to societal change that could be a governance beyond material aspects too.

This will sound callous, but some older people really should be allowed to die. There's definitely points of diminishing returns for all involved; I hope that under certain conditions (eg dementia) I'll be allowed to die when I'm decrepit.
I remember seeing those packages, and wondered how effective they were.
I actually like going to the office, compared to working from home (good for putting a clear divide between work and home, and it means I don't have to squeeze two home offices in my living space). I just hope COVID-19 spells the end of open offices, at least for a a decade or two. Besides the increased disease transmission (which exists for colds, flu, and covid), I don't like how noisy and visually distracting the spaces are. They're really not conductive to focused work like software development [1].

With social distancing, there's literally no reason to not surround employee workspaces with tall cube walls, besides a desire to replace personal privacy with distraction.

[1] For a good discussion of this, see Peopleware: Productive Projects and Teams.
Interesting. I've long been of the opinion that I was definitely NOT exposed to it, although I had a persistent lingering cold in late feb/early march. (Symptoms took way longer than usual to clear -- but no flu symptoms).

That said, if it was in California before folks thought it was, it's theoretically possible.

My wife works in a hospital and will be tested for COVID-19 and antibodies, FINALLY, sometime this week (we think). If, for some reason, she happens to have antibodies, I'm going right out to get tested myself-- and, actually, I'd like us BOTH to get tested for antibodies (second time for her) because otherwise we'd be left guessing if one of us had antibodies and the other did not.
Well, it's on one line for starters ;)

Looking at one suppression in one place it doesn't make a big difference.

It will help a lot with whole-project search results, though, if you're trying to e.g. fix all the places you had to suppress X because of Y.
I always really enjoy reading graph algorithm pieces, and similarly after studying them have never actually used them. A really nice approach to a fun problem.
Sync Oracle to BigQuery with Golden Gate BigQuery Adapter
"Code completion" can mean many different things, from very basic features to more advanced ones. Many "lightweight" tools I've seen lack the more useful parts and offer only really basic completion.

For example if a function in a library I'm using is called `createUserWithSubscription`, and I start typing `usersub` anywhere in the project, it should offer that function near or at the top of the suggestion list, even if its location is not already imported/included in my current file. Things like that have a huge impact on easy discoverability of a library's functionality, which in turn has a huge impact on productivity and speed of adopting new technology.

If I just press Ctrl+space while the cursor is inside a function call, without typing anything, it should offer suggestions based on what other code passes into that function, or suggestions based on the type of the argument, etc. I don't recall these things from 20 years ago. And that is still just one of the features.

>coding a business app as a webpage or as an Electron app is not any faster than making it in VB6 or Delphi was

I would say it is. Of course the apps made today are very different from the apps back then, but making UI that displays data is much easier.
Is there a decent summary of the various k8s derivatives/distributions/etc. anywhere? I'm aware of k3s and micro-k8s and I know there are others I've forgotten and a "here's which one to consider using for what" that none of the maintainers hate would be helpful but I've completely failed to find it if it already exists.
Sounds like a classic case of bikeshedding - the execs in question probably weren't qualified to have opinions on hardware design or software development, so instead they focused on entry-level stuff like the name and the physical appearance.
>> And we know what types gravitate to that kind of work.

>I have no clue what you're getting at, fwiw.

Basically the kind of people that on any given day (it switches to a new subject every few weeks) are whining(/bullying) about feminism, gay rights, misogyny, bullying, #metoo, etc etc are now causing the collapse of the world economy.

>As for the meat of your comment, exponential growth hits like a truck.

They say that but hasn't happened. And it's not like the virus is going disappear everywhere before the lockdowns need to be let up so there really is no point in having them in the first place. People just need to soldier on.

>And what of the hundred plus people under thirty and the 1000 plus people under 60 who have died from covid-19 in Brazil so far? And the 100 plus people under thirty and the 1000 plus additional people under 60 who will die from covid-19 in Brazil in the next week?

As shown in the previous link, 1 person net is added to the population of Brazil every 21 seconds. That's the real emergency.
the algo thinks you're having a good time.
I dunno about enamel reconstruction (though I was under the impression that materials used to _replace_ tooth enamel have gotten enormously better in the last few decades to the point where your fillings will wear down slower than your teeth), but life expectancy has also been slowly increasing over the past few decades, and a significant fraction of that comes from people staying relatively healthy for longer.
And in the comments on those, you'll find people asking "why is this on HN?".
It's created an inappropriate sense of entitlement for many consumers. You're absolutely right that a product will fail if people don't want it, but it's also true that people often don't get the products that they want because there's no way to deliver that product to them and turn a profit. In these cases, the customer is most certainly not always right.

It's a bad slogan that only portrays half of the reality of the situation.
> How does Finland punch above their weight? Can't we steal some of their fire?

I mean, Finland fought off the Soviet Union's invasion, punching above their weight seems to be their national pasttime. Maybe size matters, just like small companies will be more agile than large ones, smaller states will be able to pivot easier.

> When Reagan-era policies are now regarded as marxism, methinks we've gone too far in the other direction.

We have essentially the opposite trend in Germany. Social democrat policies of the 70ies and 80ies are considered conservative/reactionary today.

I still believe we should establish some international citizenship trading system. Apparently plenty of Americans would love to get into Europe and I know quite a few Europeans who'd like to emigrate to the US. That'd really allow voting with your feet.
UX Designers can face Covid-19
Given that many major scientific discoveries occurred with the prototypical mad scientist working alone, often apart from their main field, this description doesn't seem out of the norm for what I'd expect in somebody trying to urgently raise the signal of a very early and promising discovery.

Let's consider the universe where Katcher has discovered the secret to aging. At some point in that universe, Katcher's work is going to be relatively unknown and unsponsored, and at a later point there will be trillions poured into it. The above quote you posted aligns just fine with the earlier part of that timeline so now you're just left to decide, given your priors about major scientific discoveries, how likely it is that a major scientific discovery can come from a "dark horse".
Not exactly a business problem, but I heard that a Prolog-like approach works very well for a type inference system.
Agreed, but even on the individual level it could be helpful. Visit family members, while still taking precautions, for example.
Every time I've had this conversation it boils down to a feeling that it is morally wrong to be rich. There's some logical fallacy at the root of the feeling, like "they must have done something bad to get where they are" or "they have so much because they took it from someone else".

The first is just a feeling without evidence in the hypothetical. If we're talking about a specific case of a specific rich person that did something wrong to get their riches, we can likely agree. But making a blanket statement like that is stereotyping for the sake of creating an "us-vs-them" scenario. It presumes facts not in evidence. It also doesn't address people who truly earned what they have.

The second assumes the economy is a zero-sum system, which betrays a lack of understanding of economics. It is completely reasonable to debate whether a rich person has a moral responsibility to share or help. But it is not reasonable to presume guilt solely because they have means and someone else doesn't.

Being anti-rich is fashionable. I don't think there are good reasons for the stance, though. Being pro-charity, and pro-giving, or in favor of redistribution is not the same as being anti-rich. One comes from philosophy and ethics, the other from the drum-beat of envy and anger.
Points for comments are not public, so the only way to create that visualization would be to scrape your own comment history.