skysight-inc/HackerNews huggingface dataset:
I agree with almost everything but one: I think people get much more work done at home than in the office.
Having worked a mixture of office / remote in the past 15 years and having witnessed multiple teams going remote pre covid and another team going remote during covid, I think the office is a productivity killer.

Managers think people are working because are in the office, people think they're working because they're in the office.
But tasks proceed at abysmal pace between impromptu meetings and coffee breaks.

Being alone at home and being judged just for the work you're completing, actually force people to do something, which is why they end up working more at home: having something to show for the next meeting takes time.

There are tons of cons to remote working for the workers:
- Likely worse workspace
- Costs are shifted to the workers
- Lack of social life
- Lower loyalty to employers and teammates who are just a window on your laptop
- Managers will have less of a relationship with you, making you more expendable and more easily replaced with someone in a cheaper country
Couple reasons:

We don't actually have a massive PostgreSQL instance with all the datasets: we store them in object storage using cstore_fdw. In addition, we can have multiple versions of the same dataset. Basically, when a REST query comes in, we build a schema made out of "shim" tables powered by our FDW [1] that dynamically loads table regions from object storage and point the PostgREST instance to that schema at runtime.

When we were writing this, PostgREST didn't support working against multiple schemas (I think it does now but it still only does introspection once at startup), so we made a change to PostgREST code to treat the first part of the HTTP route as the schema and make it lazily crawl the new schema on demand.

Also, at startup, PostgREST introspects the whole database to find, besides tables and their schemas, also FK relations between tables. This is so that you can grab an entity and other entities related to it by FK with a single query [2]. In our case, we might have thousands of these "shim" tables in a database, pointing to actual datasets, so this introspection takes a lot of time (IIRC it does a giant join involving pg_class, pg_attribute and pg_constraint?). We don't support FK constraints between different Splitgraph datasets anyway, so we removed that code in our fork for now.

[1] https://www.splitgraph.com/docs/large-datasets/layered-query...

[2] https://postgrest.org/en/v7.0.0/api.html#resource-embedding
recruiter: based on your impressive linkedin profile, I think you'd be a great fit for a full-stack role with my client! let me know if you have some time to discuss opportunities this week.

my linkedin profile: literally just desktop c++ work in a completely different domain.

yeah, something tells me these messages are not likely to lead to a real job.
You are very interesting!

How did you decide what you wanted to do at each juncture?
>I didn't read long enough to understand if this is a satire or not.

I don't know much about the C++ world, but it holds true for me in the Web. Sure, there is progress and such, but there is also much bloat and unnecessary heavy features which I avoid using, and only use with feature checks if necessary.
Google owning the dominant browser and mobile OS is a travesty for privacy. What we really need is a consortium of companies to rally behind FireFox for mutual benefit, like how Linux is done
GoDaddy employees used in attacks on multiple cryptocurrency services
"Young man, in mathematics you don't understand things. You just get used to them." John Von Neumann to Felix Smith
Should I use SwiftUI in production? A code-to-code comparison to help you decide
The army is a fixed and utterly irrelevant cost because in a world where bitcoin is the only currency, and I can't stress this enough, you still need an army lol.
https://discourse.ubuntu.com/t/ubuntu-installation-on-comput...
My wife has tens of Reddit tabs open on a 5 year old bottom of the line 12” mini MacBook. HN users seem to have a lot of difficulty getting their computers to evaluate JavaScript normally.
Is a lack of H1 a dock against accessibility?
> I come from a culture that values memorisation over creativity and problem-solving. Fuck that. To this day, I still Google how to bubble sort.

I really hope this is hyperbole, but you should never use bubble sort. I can't think of a single legitimate reason you'd want to use it. Insertion sort, is a good O(n^2) sort to know.
> "damage control and image management" suggest that Debian would be a Company and a PR department doing such a thing.

No, damage control or image management in no way implies a Company or PR department. Any group can engage in these activities. Later you point out, the OP appears to be affiliated with Debian.

> Who, the OP? Even his nick name suggests affiliation with Debian, there is normally support and action of more people required to bring bigger change.

Yes, the OP. I perhaps should have used the words ‘commenting on’, or ‘responding to’ instead of ‘addressing’.

I am not expecting the OP to solve the problems, but I am suggesting that it would be more constructive to comment on the substantive content of the original article than to write innuendo about how many people are just quietly contributing, or implying that the author may be part of a ‘vocal minority’.
An aphorism I occasionally use (I can be tedious): "the only way to make a twenty-year old comfortable leading a meeting is to wait until they're a thirty-year old." Doesn't stop us from forcing the poor bastards to do public-speaking assignments or dropping them into "teams" of completely inexperienced people they've never met with no leaders in the name of ephemeral "soft-skills."
God forbid the rich get richer.

Meanwhile, the 60% of people you didn't mention - the ones with only 40% of debt owed - are in a crisis.

You are saying that we must deny those people assistance, because we would also end up helping others who aren't in crisis, and doing so is unpalatable.

So where is the solution for the people in crisis?
No you don't! You can use PMAlerts without even providing your email if you'd like.
Mainstream OS platforms (on desktop, server, mobile) are driven by path dependency, inertia and network effect. Embedded side is slightly less constrained but heavily weighed by those as well. Whether it would technically make sense to start a new OS has only peripheral relevance unless there are giant, overwhelming advantages (and few disadvantages) vs incumbent ones.

Any credible attempt will have to be designed from the start to focus on comatibility with whatever it replaces, have huge investments to the ecosystem transition from the corporate owner, have credible commitment to the phaseout of the superseded OS, and be prepared for a very long transition period.

Will be interesting to see what happens with Fuchsia. Its success might be a big loss to open computing though.
That's the point, in theory it's every 6 weeks, in practice it's every 2-3 weeks. Because of people not participating in oncall equally and because of getting escalations while you were not officially on call.
“A few thoughts on why semgrep”
> This is psycho advice. It ranks up there with the crazy myths about just being able to instantly get new software jobs (when the actual time of job searches is usually longer than 6 months, despite the tone deaf wave of gainsaying comments this is sure to incite).

Well, everyone I know who's any good as a developer can just waltz into a new job on Thursday after being fired on Tuesday.

/s, if it weren't obvious, but I've read enough straight-faced comments of this type on Hackernews.
Does this work for YugabyteDB?
The brain is part of the immune system.
Here, let's make this more concrete so we're not debating over intangibles.

How much of your salary are you willing to give for this student loan forgiveness program?

$10,000? every year?

Not that much? Why are you being so selfish?
https://htmx.org/ can do even more(ajax, modal ,etc)
You know you could search for a job while working at one you don’t like.

Not all advice is literal.

Also, not everyone’s goal is to foster organizational change some are trying to help themselves first.
You had me at "Futuristic blue color scheme".
In Praise of Chris Krebs
if we stop the trolley now, it would be unfair to everyone that has already been crushed
Maybe, but in this case we're literally talking about moving tax money directly into people's student loan accounts. I'd say, "yes, really true."
I kept trying to remember the carousel. Then I remembered that by using ddg I'm free of it.
>> from society forcing them to get an expensive degree

I am actually sympathetic to the fact that social pressure or other structural dynamics may encourage people to make bad choices, but they were not “forced”.
"HATEOAS" is pretty much the only thing REST contains. "REST API" without HATEOAS has no meaning, it's just a stand-in for "good HTTP citizen" (if even that).
Ooh this is implemented! If you click on "Filters" at the top of any selected alert, you'll see options for keyword filtering, username filtering, and domain filtering. The UI/UX is a bit immature, so if you use it and have any feedback, I'm happy to address whatever friction you hit.
PhotoStructure looks awesome. I like how your site is almost a blog about the why-how etc, it showed me that your product is deeply aligned with my goals for a self-hosted photo solution.

I think you should prioritize in your “about” the ease of import from Google Takeouts (which is the killer feature for me personally at this moment anyway). You might also want to have a section that explicitly names the other “big” players in this space, since I didn’t turn up your solution when googling for “self-hosted Google Photos” when I first started down this path.

The one necessary feature that prevents me from choosing this right now vs some of the other open source solutions is a story about how to safely browse my photos using a logon with on any Internet connected device.

Speaking of, this might be a perfect use case for SQRL[0], although I’d be happy with a simple HTTPS username/password story.

Not making any promises, but let me know if you’d accept any help with your to-do list.

[0] - https://en.m.wikipedia.org/wiki/SQRL
Arch Linux is much superior to Debian, imo.
Economy of Ancient Tamil Country
a sentiment I wholeheartedly embrace
That's a long way from being a convincing argument that compass and straight-edge can only produce quadratic extensions to number fields, though.

(I know it's true, just saying it looks like you've offered an explanation in elementary terms, but I don't think one exists).
I had a somewhat different experience working in London (multiple clients) for the last 7 years.
I guess it depends on the employer, but generally hardware / furniture is not that expensive compared to salaries and rent of the building in London, so things are decent quality.

Open office are an unfortunate reality, space is expensive.
COBOL Controls Your Money
Jessica (the author of this article) is too nice to give this article the clickbaity title it deserves: "The 3 things it takes to be a successful startup founder".
That's different than what the GP said.

I'm pretty sure you can't boot into an Ubuntu live disk, detach the usb, and keep using the system without any errors or loss of functionality.
Anatomy of the explosion that rocked Beirut
I'm very surprised that SQLite trusts fdatasync() when appending to a file, rather than fsync(), given SQLite is written to be so portable and cautious and has been around a long time.

I've always been suspicious that fdatasync() does not promise to durably commit the size metadata (and perhaps indirection blocks) on some OSes/versions, just the data blocks itself. Such that it's only safe to use fdatasync() on already allocated regions of the file. That was my understanding of fdatasync() when I first read about it, and I vaguely recall some DB handled this by rarely appending to files, instead doing it occasionally by pausing writes (to that file), appending a large block of zeros to the file then fsync() to commit, then resuming writes.

It's not just me thinking this. From a quick Google:

> https://www.percona.com/blog/2018/02/08/fsync-performance-st...

> "The fsync system is not the only system call that persists data to disk. There is also the fdatasync call. fdatasync persists the data to disk but does not update the metadata information like the file size and last update time. Said otherwise, it performs one write operation instead of two."
What are you mad at? You seemed frustrated he was unaware, and now you find that he was aware, you’re mad that the information on his state of awareness was difficult for you to find? Why does it matter to you? Or are you disappointed that his assessment does not match your opinion of Nix et al.?
Bad annoying design may have been imposed on the devs by idiotic management, but that doesn't excuse their failure to even implement a shitty design well. There is no reason for it to perform like dog shit, no matter how ugly management demands they make it, yet it certainly does perform like dog shit. I honestly think any devs who worked on this should think twice before admitting it on their resume, because it really does reflect poorly on them.
Germany caused not one but two world wars and is, despite being beaten almost to death after ww2, once again the dominant power in the EU. Let's face it we usually get what we want even without having a competitive military - if we had there would not be much to stop us.

I'm actually grateful that our leaders have been and still are mindful of that fact.
I've heard about that, thanks for pointing that out.
It can get quite complex when you begin to consider a main mechanism in antibiotic resistance: information flow between other species of bacteria (horizontal gene transfer) + Viruses as significant boosters in evolution with their superpower in living systems to "easily" modify/add huge chunks of DNA/RNA.
Semantically neutral yes, but they are not divs -- they're "unknown elements", which have more annoying behavior (similar to pseudoelements from memory)
https://unvanquished.net/now-we-are-free/

https://lwn.net/Articles/831677/
80 bookmarks, notes. txt files scattered in hidden places, a pile of senseless commands in one Google doc, incoherent rambles and drawings in a notebook that I never look at, a browser window and editor with unsaved tabs that can never be closed, bits of paper with powershell commands embedded in my shoes. as a backup, I keep a printed copy of the ext man pages and X11 docs with me at all times.
While I agree that the key to success is _a lot_ of communication, there is much more to the management of remote teams than that: you should treat them like the on-site teams; communicate a lot but prefer video conferencing; try to give your remote teams the overall context; stick to as few means of communication as possible (if it's email, then stick to email).
Every programming job is different. I worked for 6 years at a well known videogames company and never had to use a vector or a tree ever. I was mostly using lists and dictionaries and occasionally an array, and that’s about it. I never had to do anything more complex data structure wise than that and I never really had to write my own data structure nor anything approaching an algorithm.
I once had an employee who was by no means a 10x engineer, he was honestly lacking in a couple of technical areas.

He was a 10x catalyst for the team though. Everyone came and talked to him about their problems, he motivated people to learn new skills, and he knew at least a couple developers on every one of our partner teams.

If I wanted to cut through the BS and find out what was really going on, I'd just ask him. "Oh John's team is actually behind schedule, their PM is full of it and their lead is in denial, they'll actually ship a couple weeks late at best."

Was he a 10x engineer in terms of code written? He had his moments for sure (some of which had huge business impact), but his real value was all the connections he had formed.
Ask HN: How to evaluate product market fit?
There seems to be two camps at this time. One that believes in building a scrappy MxP and showing to the potential users through (HN, PH, Reddit etc.). The other one believes in mocking the MxP as if it exists, getting pre-orders, and iterating over it based on user feedback. Note that second camp does not build it first.

I am wondering with so many multi- million dollar startups over last decade, which method is more viable and successful? How did thousands of companies got momentum yet other tens of thousands tend to struggle.

So question is what is “mostly” right way to evaluate PMF? Since many of you have built startups, I would love to know your approach and mistakes to avoid.
Heaven forbid you or people you care about ever contract a serious health condition, a major car accident, or want to have children.
Harvey: A Greybox Fuzzer for Smart Contracts [pdf]
See my other comment in this thread - that picture came out of a teleprinter.
> Why not get rid of personal property.

Well, that's pretty intense. But as a thought experiment, I suppose we can go all the way down this slippery slope.

> Lets start with you.

Well no, that's not how it works. We start with literally everyone at the same time. That's what Communism means. The fact that you need to change it to make it look unappealing is telling.

Granted, I'm not advocating communism here. I'm just pointing out that landlords are an obvious edge case. Landlords provide no benefit, while reaping a huge reward, especially when you factor in generational wealth.

> Not afraid, but how about we spend a non-zero amount of brain power seeing if that is good or not rather than painting opponents as cowardly?

That's what I'm trying to do here. The comment I was replying to insinuated that we should spend a zero amount of brain power considering Socialist policy.

> Is asking to think too much to ask?
If your writing software or operating infrastructure, you need to be on call. Otherwise you don’t have skin in the game. It makes you a better engineer, and at most places increases the quality of your software in two ways. One, you don’t want to get that call at 2am, so you think more about reliability, edge cases, writing playbooks etc. Secondly, when things do go wrong, you perform a post mortem and you get the action items in your stream of work. Additionally you should always track on call stats and use it as a metric in your team health checks. If people are getting called a lot out of hours, it’s time to pull the cord, and sort it out.
Ask HN: How to Google from the command line and have first result show up?
I'd like a faster way to google programming questions and have the first result auto load, preferably in the console.

I'd love a flow that was like a shortcut, followed by me typing the quarry, the the first search result being loading into the console.
I actually don't mind violence even against people as long as it's only in games, movies etc. Never in real life. All people should be able to strictly tell apart games and reality, and then violence in games can actually be helpful to relieve the inherent need for violence in humans without hurting anyone.

I used robots just to bring attention to pacifism and because I found it a nice replacement for demons, plus it also has that small extra advantage of being friendlier towards e.g. people who dislike blood or whatever.

> politics

My views have become a centerpoint of my life and everything I do, but I don't mind if anyone forks this and takes all politics out. Or even put your own politics in. It's all fine, that's why I released it into public domain!
I thought we were talking about correctness, not going shopping for more-error-prone DIMMs.
Soldering.

Not quite in my 40s, but after getting into keyboards the last year I finally learned basic soldering skills. I've heard it referred to as "geek knitting", and sitting in the garage for a few hours, carefully soldering together custom keyboards while listening to music is a great way to relax and focus. I just looked up some basic tutorials, got a few start kits from Amazon and just went with it.

This has lead to other interests too, like learning more about electronics and low-level coding with micro-controllers.

It also has the benefit that our kids now see me as someone who can fix anything. Most toys are simple enough to repair with basic tools and hearing the phrase "daddy can fix it" is worth it. Also there's a slight hope that seeing physical
STEM skills (as opposed to daddy typing into a computer all day for work) makes an impression and it perks their interest in general engineering pursuits as they get older.
Well everyone would agree that generally more income is good. But cutting 10-20% on your income for a better job in terms of work life balance, interest or whatever else could be worth it for many people. Is there really that much difference between someone making 80K and someone making 100K? In a country like the U.S, where you can potentially lose your health insurance and sending your kids to college is super expensive - then maybe. In Europe the difference is gonna be only what kind of car you drive and how big your house is. In terms of your health, your kids opportunities in life etc, it doesn't matter that much.
Ascii art is still active in the demo scene, check out: https://16colo.rs/
I would add that part of that experience is seeing how teams/situations/products pan out and then being able to recognize those patterns and nudge/head off issues early in the process.

In that respect I've learned a lot more from projects that have gone off the rails to some degree than projects where everything went according to plan.

In an ideal world you have the opportunity to give each person on the team the right amount of risk with enough of a safety net so that if things really go sideways the team has their back. Finding the balance with the rest of the project requirements, business inputs and other pieces is where it gets interesting.
It's the same whether you draw it on the inside or the outside. Imagine the sphere is see-through, draw it on the inside then go out and look on the outside. The definition of "convex", "octagon", "right angle" or "straight line" doesn't change when you move from looking at the interior surface to the exterior one.
> The EU didnt bother on account of the US taxpayer footing the bill regardless

The US didn't just burn that money for naught, they got something from all that investment and that is that they were for all intents and purposes the leader of the world, both in "soft power" and "hard power".

The problem is that it is very hard to quantify the benefits while it's extremely easy to quantify the costs.
Why is that?

The whole "you build it you run it" movement is an attempt to fix dev teams just not giving a fuck about quality of code they put out, especially from a reliability point of view.

Why is the opposite better?
They have created their own OS. It’s quite different now from what they started with.
Regarding "Learning to say no", I agree that's an under-emphasized skill.

Too often, the answer I give when asked "Could the software be made to do X?" is "Yes, it could, but no, it should not."

The exported data is in CSV. Excel can import it. Yes, I could import an Office library and write XLSX files natively, but while the person making the request screwed up by making the wrong selection after marking up the data with colors and saving it as a CSV, dropping those features, the right thing to do is not screw that up, not to add complexity to the software.
Why are you using legacy BIOS? It has been obsolete for a long time and is disappearing https://arstechnica.com/gadgets/2017/11/intel-to-kill-off-th...
I'm glad Derek never felt anxiety after he had saved up 12k, but I am sure that's uncommon. The article comes off as extremely condescending to me as a result, which I am sure wasn't meant but I am having a hard time not feeling.