skysight-inc/HackerNews huggingface dataset:
Is it? On the Linux desktop there haven't been any new desktop apps for well over a decade (up to maybe Krita and the Blender redesign). Inkscape has been 20 years in the making and just released 1.0. These apps are basically developed against the X Windows API from 1983 or so. So for which hypothetical apps exactly we do need these enormous container formats isn't clear at all. It's not that the existing desktops apps like Libre/OpenOffice (also from late 1980s/early 1990s) have grand plans for new components, or run better all of a sudden.

Is it browser-/Electron-based apps that need constant updates? Then the developers really should consider their choices; why would I download a webapp along with a whole browser runtime repeatedly rather than simply run the app from their website, especially when the target environment is also sandboxed like a browser? That simply doesn't make sense. At a certain point, after over 25 years of attempting to shoehorn the web into an app delivery platform, things get absurd.

It's true though that shared libs have caused more trouble than worth, and are the root of this mess. But the solution is simply to not use them and just ship statically linked binaries instead rather than put a layer of abstraction over them. Even on DOS/Windows back in the day users were able to download an .EXE.
If "that's going to be quite expensive" is a downer for you, that's fine because you aren't the target audience. If you saw the actual price you'd probably think "no way am I paying that", so showing the price doesn't help the seller.

The target audience is companies that don't really care about the price, as long as it's in some vague order of magnitude they are used to paying for other things.

Also the price is usually not fixed if it's not listed. The answer to "how much is it" is implicitly "who's asking and what can you afford". I.e. it's negotiated, and negotiations are much easier when the buying side doesn't know what everyone else is paying.
Yes, I agree, if the borrower is overleveraged, it wouldn't very wise for a lender to make these loans.

Let me throw this alternative out there. Let's say that you have a million dollar home that is paid in full(no mortgage or any other liens on the property.) You decided that given the uncertainty, you want to make sure you have a years worth of expenses in cash. The lender decides that they will lend you 100k (only 10% of the value of the home) at 2%(well above the fed rate which is near zero) as long as you agree to a lien on the property. Even if the home loses half of its value the lender will still be made whole.
It is easy when you are a novice and don't really comprehend anything other than the seemingly really low price per call.

I've had friends propose serverless startups by comparing $5 a month in hosting to the cents of serverless.
Thanks! We sometimes talk about atmospheric vehicles, but are mostly focused on space.
With SQL as an analysis / insights tool (as opposed to prod or dashboard use), answering one (nontrivial) question leads to follow-up questions that need a lot of query restructuring.
UPS and UPS Store are also separate.
It seems to me that one could find 10 similar quotes about the U.S. or European states here any day. They often have an element of truth.

Why would Indians need special protection? For all we know the poster is Indian.

I rely on this site to hear unfiltered opinions. I'm from Europe, until today I did not know about the BJP IT cells, which seem to be a thing.
I found this to be quite readable. Nicely designed site!
Namely slashes staff as demand for its HR software dries up in the pandemic
Ask HN: Most promising tech to detect the absence of a conscience?
Some human beings appear to be “without conscience” in that their actions in the world appear to be unrestrained by genuine care and concern for the well being of other human beings.

Some of these individuals are exceptionally skilled at gaining the trust of others while hiding their true motives.

The cost of allowing these individuals to operate freely within organizations that have the potential to do vast harm, for example a virology lab with the potential to cause a worldwide pandemic, is so high that screening such individuals rigorously for competence alone is insufficient. A single competent individual who is without conscience could, for example, sell lab animals that had been experimented on to a wet market in order to make some extra money and potentially start a worldwide pandemic.

What are the most promising technologies to assist with the detection of people whose desire to benefit themselves is unrestrained by care and concern for the welfare of other human beings?

I am currently aware of 4 but it is unclear to me how effective any of these actually are currently or have the most potential.

1: genetic testing
2: Magnetic resonance imaging (MRI)
3: Facial Action Coding System (FACS) (perhaps aided by Artificial Intelligence)
4: reputation systems

This problem is complicated by the fact that there seem to be a number of different, and perhaps unrelated, conditions that might be responsible for the non-emergence of a conscience.

For example, the HARE checklist would seem to be a good tool for detecting psychopathy, but perhaps not for Narcissistic Personality Disorder (NPD).

https://psychology.stackexchange.com/questions/25238/what-are-the-most-promising-technologies-to-aid-in-the-detection-of-those-who-ar
I have a much, much better idea of what process is using network traffic or other resources on Linux than on Windows (I don't know how often tracing tools pointed fingers at the "system" process for weird magic like CPU or network usage). Unless you mean the 20.04 LTS thing specifically (it sounds like you had this issue for longer), it should be exceedingly easy to turn off anything that runs automatically.
I made an open forum called erfi.xyz
www.erfi.xyz / your_category
We bought Chinese the other night from a new place through Uber Eats to use my Amex CC monthly credit. We still tipped during pickup because I know the scam that is Uber Eats for restaurants (and how much they scalp from the order). For future orders, we’ll order directly instead of through Uber (menu on website, phone in the order).
"Bro culture" presumably meant something at one point; now it just means "I don't like something but I'm not thinking clearly enough to articulate why"
https://psychology.stackexchange.com/questions/25238/what-ar...
Hi, I'm an undergraduate who received a verbal offer from Oracle's Fusion Projects Development Team, but I could not get an offer due to a hiring freeze company-wise now. Are there still any summer intern openings?
Have you considered that your distaste for SQL has prevented you from becoming proficient enough with it to appreciate it? I used to share your distaste, but as I've been faced with problems where SQL is not only the objectively best solution but also the other available solutions are either impossible (due to, for instance, memory constraints) or significantly harder to understand and maintain (due to SQL's expressiveness), I've come to learn how to use the tool more effectively and in turn I've come to deeply appreciate it.

Codebases I work in continue to use ORMs extensively, but when I need a query of any complexity I'm far more likely to start with raw SQL than to try to make the ORM do what I want. I'm far more likely to "let the database do the work" when I need to do any kind of data analysis or reconciliation. It is very good at what it does, and if you understand how it works it's very simple to do complex things, and quickly. For me, SQL often elicits a response of wonder, and even gratitude for its expressiveness and power.

I also suspect your feelings are rooted in syntactic aesthetics (there's little else in common between SQL and COBOL, for example). I can certainly agree that the syntax of SQL is not what I would choose (though I would not look to Ruby or Scala as examples of my preferences). But SQL is not just syntax, it's also a tool with incredibly expressive capabilities for viewing, analyzing and manipulating data effectively.
This time around nothing will be different. Panama papers came out and nothing happened, Epstein was involved in who knows what with royals, politicians, and the wealthy and nothing happened, Assange is a prisoner for exposing the truth and even the surveillance that Snowden brought to light is still taking place today.
Maybe so, but please don't post unsubstantive comments to this one.
You can write loops in (the procedural extensions of) SQL, but IME it's very rare that you'd want to.

The bigger issue is the lack of performant abstractions - I copy-paste orders of magnitude more code in SQL than in any other language I've used. There are basically just views and functions, and both can carry substantial (read: multiple orders of magnitude) performance penalties compared to the copy-paste approach, especially when you try to nest or compose them. Materialized views rectify this somewhat but they come with various RDBMS-specific limitations and gotchas.
Firefox reader view saves me on a regular basis.
This is a stub root comment to collect comments about website formatting, which have been transferred hither.
Lost in space ...
How ironic given that it's biggest winners in its portfolio are companies that never sold anything (at least not initially), Linkedin and Instagram for example.
> The pressure to finance with them is so high that some dealers will refuse to accept cash offers. Or they will add on $2500 as an "external finance fee" when a buyer already has financing arranged.

I have actually never had a dealer pull this on me (and if one did, I would simply walk out the door), even though I always have financing already set up with my credit union before I ever start talking to a dealer about a car, so from their standpoint I'm paying cash. However, every dealer but one has tried to either sell me their financing instead, or sell me a lease deal instead of a purchase. (The one that didn't knew there was no point because I was a GM employee buying a GM car at that time so every single aspect of the transaction was already predetermined.) I've never taken them up on it, but the fact that they try so hard supports your hypothesis that they aren't making any real profit on the sale itself, but only on the financing.

(When I was working for GM, which was some time ago, I had access to enough numbers to make it clear that GM itself was not making any real profit on the sales of any vehicles except full size trucks and SUVs; all of their profit was from GMAC, the financing arm. I used to say that GM was really a financing company that happened to make vehicles on the side. I suspect the other US automakers are similar. I don't think most non-US automakers are; their incentives are different and they are mostly run by technical people, not financial people.)
Coders in Cars Getting Chatty – Damian Conway (Video 2018)
I'd venture to guess that for the tools and services that you buy, you weren't sold them, you sought them out and bought them because you recognized a need to buy vs build. I'm not saying don't buy things. I'm saying, if you're being successfully sold to in this fashion then you likely have more fundamental organizational problems.

My Dad told me something when I was little that stuck with me:

"You never see ads for broccoli"

Of course while that's not strictly true (weekly grocery flyer) his point was that, if you actually need something to survive you'll figure out how to get it without having to be sold to.
The browser is actually the number one component you should update as soon as a security fix comes out. If you don't want new features ("more free stuff!"), use an LTS version that only includes the security updates?
Convenience of delivery is a big point of improvement though, which the restaurants never used to compete on before. It's become commonplace to complain about the middle-men like Uber and seamless now, but before they came around the analog services that existed (taxis and restaurant delivery) were so much worse.
It was their laugh when things blew up, and their sarcasm that I enjoyed. "Yeah Yeah, over there" "Now what?"
Neither the author nor the restaurant are American; even the example they use is Doner Kebab, a term that's not widely in use in America. What awareness exactly would the author be showing by adding a random country's name to her article title?
Right, that's why I said robust. But I'd push back against the idea that a normal user shouldn't be expected to have backups that are safe in such an event.

If you want to guard against rogue software (or clumsy fingers in the terminal), you'll probably need to have remote backups. It sounds like copies on the cloud saved this user, and it's not unrealistic to suggest users backup to the cloud (I think many already do with OneDrive/iCloud/Dropbox). If you're a Linux user who likes to tinker, you can set up a Raspberry Pi with a hard drive attached and use restic over SFTP (or any of the other numerous choices).
Good point. I bet that "prime retail space" in January is looking more like a liability than an asset right now. Thanks for getting me to be more pessimistic. ;)
Compare Versions and Ordered Lineup – Weekly Challenge
Another common one (at least once upon a time) is the coin-operated turnstile, which is basically (ab)* where a is inserting a coin and b is rotating.
Doctors are human beings. They make mistakes like every other person. The healthcare system makes them work extremely long hours, so mistakes become even more likely. Doctors aren't supposed to be mere humans, though. They're supposed to be infallible godlike beings who know everything and do everything right every single time.

They have to look like they know everything otherwise they'll lose the respect of their colleagues and even their patients. Even something simple like a procedure checklist improves patient safety but people are resistant because it could be viewed as a sign of weakness. I know one professor who was openly mocked by patients in front of her staff because she brought reference books with her to the hospital. Since they usually make a lot of money, they are attractive targets for litigation. If they make a mistake, they could be personally sued for tens if not hundreds of thousands of dollars.

Is it any wonder concepts like defensive medicine exist?
Are there any good ways to embed SQL in markdown? Like JupyterLab notebooks?
Whoa. You were lucky. Very lucky.

If you are going to use hardware raid, please do make sure you have a spare raid controller, same firmware, same model. If not, you will be SOL when your controller dies.

RAID5 these days (with our very large disks) is basically asking for trouble - the odds of a second disk failing during the reconstruction are very high. But I guess you already know that!
Yes. You need to include more #s than you have in the string, and it’s rare to have a ton of them, let alone a raw string literal in the first place.
Love the simple demonstration of a pretty profound concept
Sure we can go out own ways! But I was challenging the Apple "not taking gaming seriously" accusation.

Mobile gaming is gaming now, if you count where gamers spend their money. Apple sell the easiest, most powerful mobile platforms for developers, and theres are loads of iOS exclusives as a result.

Big budget, cutting edge graphics, fiddly controls, single player big screen adventures... Those games are a shrinking niche for developers. And in that niche, MacOS can only be a 3rd place behind consoles and PCs.
Five Eyes: China deliberately destroyed evidence of the coronavirus outbreak
For me the hardest part of the first question is understanding the acronyms. I think MoM is month on month. But MAU, no idea.
That's an interesting connection. Logo claimed to be "interactive" but staring at a compilation log go by for 30 or 60 (or more) seconds really pushed the limits of what one might consider "interactive".

Whereas, "Robot Odyssey" was an actual game, and it was a terrific way to get me even more interested in programming. You never had to just sit and wait on it -- or maybe you did but they disguised it so well with animation or loading screens or whatever that I never noticed.
That's fastastic. Here's an ebuild: https://github.com/jakeogh/jakeogh/blob/master/sys-process/b...
In case you somehow haven't figured it out by now, he meant in the body of one's code. He's fine with named constants.

Protip: If a smart person says something that seems obviously dumb to you, it's worth trying to find an interpretation that isn't dumb. Doubly so when, as here, it's from a piece that others are clearly finding smart and useful.
Have you tried multiplayer games in VR though?

It's the same for me and gaming in general, I have very little patience except if I'm playing warzone or rocketleague with friends. It's just not the same :)

I wrote about my mind-blowing experience playing the Catan board game in VR: https://p1x3l.com/story/239/social-virtual-reality-and-the-o...
Wow, it's nice to see my post on the top page of Hacker News.

Note that I wrote this post back in February 2020 and there are a couple of things that I would like to add:

- Due to high demand, I increased my rate to $250/hour + some fixed monthly fee in April. I didn't drop any single client :)

- I'm seeing very little impact from the coronavirus. I have a client base spanning between Japan and the US in a little-impacted industry (education). Don't put all your eggs in one basket.

- I would strongly encourage everyone who's considering making a leap to read "The Win Without Pitching Manifesto" https://www.winwithoutpitching.com/the-manifesto/

- Due to a sheer volume of my incoming emails I can't answer all of them, but do let me know if you are interested in working with me!
> Most languages have context-free syntax

Do they? I haven't done a survey of languages but I would guess most are context-sensitive.
I was chatting online with a group of people who are discussing various defogging agents to keep their glasses from fogging when they breathe using a mask. I tried very hard to explain that if the breath was escaping without going through the mask then the mask isn't able to do its job, and they shouldn't be using a defogging agent but rather trying to fit their masks better. Sometimes the "science" needs to be tailored to the audience or else it's pointless.
If you think of SQL as specifying (without implementing) a pure function operating on a set—rather than imperative steps or statements operating on lists—you'll have a lot better luck reasoning about how to use it to operate on data. CTEs, window functions and joins can all be used to accomplish things you'd do in a loop in an imperative language. It really is a different paradigm, in the same way as logic, functional and object-oriented programming are different paradigms. But if you embrace the paradigm you will surely learn how to accomplish whatever you would in a paradigm more familiar to you.
Encoding Binary in ASCII Fast
I have no dog in this fight, but totally natural and edible things like lemon juice and vinegar are also used as a disinfectant.

Sure bleach can be considered a disinfectant, but not all disinfectants are bleach. I do find it fun to extrapolate that Trump was telling people to go drink bleach and die though. Very entertaining during these lockdown times.
Isn't using the internet insecure then? I can typo bankname.example.nl as well.

Not that I don't see your point: a curated list like the repositories is preferable to a system where anyone can claim any name, but I am not sure that this extrapolates to the statement that "it's insecure" as a whole.

Out of interest (I don't use Ubuntu/snaps myself), is that really the case? Can I actually a publish <insert popular package> without any checks and, once I got half a million users by repackaging the deb file in snap, add some subtle malware? There is no review process or anything?
I've had raid5 rebuilds work. Until the last one. One of the remaining drives failed during the rebuild.
If you're evaluating tools for building a SaaS app, you may also consider using Laravel Spark. I recently used it to build an MVP for a client and was able to wrap up the project in less than a month. The tool chain is pretty robust, and the framework and ecosystem are both fairly mature.
I've been through that one enough times to realize it's always my fault. The more convinced I am that it's a compiler bug, the harder I look for my mistake.
Ask HN: How come there is no example code for B2B-SaaS apps?
I'm truly baffled! There are probably 1000s of consumer (B2C) SaaaS example and OSS apps in virtually all languages. But there is virtually ZERO examples or OSS projects that talk about B2B multi-tenant apps! The worst part is that even companies like Google Cloud don't provide an example.

What I'm looking for is: A SaaS app that allows people to create tenants (companies), and allows admin of the tenant to login and manage group of users, keep track of billing for each tenant, have super-admin who can access any tenant. But the rest of the app code is shared across the tenants.
I'm looking for code that's either in Java or JavaScript(NodeJS). Are you in the same boat as me? If not, could you please point me to something? I really appreciate that!
https://archive.md/VirvR
Today with github+google drive+steam or whatever flavors all you should be limited by is download speed. I wipe my hdd every 6 months or so just to get a fresh feeling of no random junk. The biggest chore is downloading all the dev environments for all the programming languages one uses at the same time
Moz: //Gfx Newsletter #52
I guess a lot of times business knowledge wins and you’ll have a hard time getting into YC if you don’t have the necessarily skills to sell your startup and yourself to others.
I see, that's said, I probably checked that one.

It would be probably better, if the web site of this project would be much more technical, as there are just too many buzzwords for me to take it seriously. I don't see how it solves a concrete problem.

All infrastructure has good and bad sides, and the bad side is not well documented.
True. But when are there ever guarantees?

There is also no guarantee civil wars will happen.
This reminds me of a story a friend told me: he locked himself out of his house, he calls up the emergency locksmith, locksmith takes a look, and says it will be £150.

My friend (annoyed) asks what is he going to do. Locksmith pulls out a bent coathanger. My friend gets angry. Says he could do it himself, he has a coathanger upstairs, he doesn't need the locksmith, £150 is a total rip off, calls him every name under the sun.

Locksmith: "Okay mate, you have a coathanger now?". Friend says no, agrees to pay him. Door opened. £150 well spent.

I think too many people here perceive tech as something that meets their needs when it should be about providing a service to others.
Hey! MAU = Monthly Active Users. Sorry about that, I think this could be described as data analyst/analytics jargon. Good feedback to spell these out, thanks!
The spirit of the advice is mostly correct. However, there are reasons to use numeric literals in code. One is the PRNG example given downthread. Another is one I recently wrote.

I have some code where I needed to calculate what the 1st percentile of a list of numbers was. Since it doesn't make a lot of statistical sense to calculate a 1st percentile of fewer than 100 numbers, I inserted a condition like

if len(numbers) < 100:
# skip the calculation

and included a comment stating that 100 is explicitly not a magic number here. By that, I meant that you'll never want to change this 100, so, why bother obfuscating it behind a name?

It's perfectly readable, if you understand why the calculation is skipped in the first place. If you don't understand why the calculation is skipped, giving it a name like TOO_FEW_NUMBERS_TO_CALCULATE_1ST_PERCENTILE isn't really going to give you much insight into why the calculation is skipped, anyway.
If there is anything docker is helping a lot with, this is probably one. Except when you volume mount, but then damage is probably limited!