skysight-inc/HackerNews huggingface dataset:
> Converse curiously; don't cross-examine. Edit out swipes.

> Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize.

> Eschew flamebait. Avoid generic tangents.

In particular you seem to be responding to a strawman, since nowhere did I say C error handling was better than structured exceptions. The parent asked what was functionally different between laziness around checking error codes versus laziness around try/catching.
A language has a paved road, and when you go off of that road you are key with extreme annoyance and friction every step of the way.

You’re telling people to just ignore the paved road of Rust, which is bad advice.
One can argue that in the VAST majority of instances, you'll never ever be printing so much that you'll fill the buffer. If you need that kind of control, just get a direct stream to stdout, otherwise make print() block if it needs to.
This is awesome! I just tried it out, and I have a few bits of feedback:

Show the question I asked. I asked something like "What are the latest trends in UX for mobile?" and got a good answer that started with "The latest trends in UX design for mobile include..." but that's not the same as just listing the exact thing I asked.

Either show a chat log or stuff it into the browser history or...something. There's no way to see the answer to the question I asked before this one.

I just went back and did another search, and the results had 6 links, while the response (only) had cites labeled [7] [6] and [8] in that order.

Again, great stuff!
Any source for that? What does "other" requests mean? Other than what? I doubt it could modify the headers of other apps.
very nice! FYI the 'free coffee' link (https://calendly.com/dakshgupta/free-coffee) identifies you as " Daksh, co-founder/CEO at Onboard."

Also I am getting the 'Error: Internal error while processing request'
This would be my recommendation too. The global talent market for remote developers is extremely competitive. The days of failed offshoring seems to have passed, it's now much easier to build excellent remote teams but it is driving down salaries.
Well you're right. I'm a shill for kagi. The experience has totally converted me. However, I'm not affiliated so I'm an organic shill - healthier and less toxic.
I don't know where you are in the EU but some places have a lot of jobs and its hard to hire people. I would consider doing this because you never know how it will turn out - you might end up getting a job overseas but spending months at home working remotely every year once they get to trust you.

Other people have said its a numbers game and they're right. You have to apply and again and somehow keep your spirits up. I hate it when I'm finding a job - I always feel like shit and that I'm worthless. Then I get something and I feel worthwhile again - it's all in one's own head and there's a skill I need to get better at about managing those feelings.

I think the key is to be slightly arrogant in your own eyes. Believe in yourself for no reason at all. "I know python but I'm not a great expert" BZZT....WRONG ANSWER "I know java" BING!!! RIGHT ANSWER. There's an element of projecting a confident and go-getter attitude. You can learn whatever you don't know, you can fix what you lack it's not a problem.

Another issue is that people are looking for different things and you can reword your CV to hook them. I've lost offers because I didn't sell myself on the right aspects of my experience before. You can learn something topical and put that on your CV if you find out that it's a hot item in your general field. e.g. if you do webapps then do you know react or is there something else that's a ticklist item with recruiters and companies?

I think it's also easier to get jobs with smaller companies - they've less budget and less staff and are probably more desperate. If you're not fullstack then do some basic fullstack example site and teach yourself enough to be just about useful.
Hi! I'm Tomasz, the maker of Rank Anything.

I noticed that people like to rank things and often want to know which thing is best so I made an app for it. It started as a little weekend project but I've been getting some positive responses so I might keep working on it.

Feel free to try it out and make some lists and upvote / downvote stuff!
It should be mostly bug-free but it's a very fresh app so it might still be rough around the edges. If it bugs out, feel free to write a comment or ping me on X / Twitter (https://x.com/@tomasz_fm).

I'll appreciate your feedback :)
Garbage collection is actually faster than generic malloc for allocating memory because it can work as a simple bump allocator. And there are ways to handle collection efficiently. Malloc is also not entirely deterministic in performance because the heap can get fragmented. Either way, if latency matters you end up having to care about (de)allocation patterns at the app level.
I was jobhunting for most of 2023 and only had an offer in October. The struggle is real, just keep doing it.
I agree. Moralistic people want diet soda to have some sort of downside due to a feeling that they worked hard to lose/maintain their weight and therefore so should everybody else. The problem is every experimental study finds diet soda is really zero calorie and without any major downsides, it's only the observational studies that are flawed in the way I described that ever find these sort of "effects".
The linked SO question is not about uniform random points. The poster explicitly excludes answers involving uniform random distribution on a hypersphere.
1995, not 1955.
I've use this method recently. Our VM service is based on libvirt, which doesn't support QEMU socket type interface natively, so I need to add the following to the XML:

<qemu:commandline>
<qemu:arg value='-netdev'/>
<qemu:arg value='socket,id=mynet0,listen=10.6.0.1:12200'/>
<qemu:arg value='-device'/>
<qemu:arg value='virtio-net-pci,netdev=mynet0,id=net1,mac=58:a4:c0:a8:bf:51,bus=pci.0,addr=0x3'/>
</qemu:commandline>

On the other endpoint, a Linux TAP tunnel daemon is responsible for encapsulating packet to the Length-Value data as the article said.

In this way, I can create a L2 tunnel from remote site to the VM, also keep the VM untainted.
So dramatic. You don't have to hate it. Just do something you can put up with. And it's rewarding contributing to society in a way that other people value. This is how 99% of people view work.
This approach is logical and straightforward. The main flaw is that it treats all job opportunities equally. Life is not numbers, and the job you have or find will demand a significant portion of your life.

This means that you can spend more effort on getting the job that fits you the best and none or less effort for other opportunities.
I really like this idea. If you find a right way to market it, it will be huge!
Fortran already has array operations, and you can define unary and binary operators, for example

.inv. A ! invert matrix a
A .x. B ! matrix multiplication of A and B

I wonder if you make Fortran more APL-like (there would still be variable declarations) by defining equivalent operators.
So I will do my best to explain it, one of the hard problems here is this is just kinda second nature for me. So I may not do a good enough job of explaining it.

But ok so for me, I basically am always resting my thumb (I am right handed if that helps visualize) on the bottom-ish part of my trackpad. So so when I am moving my mouse I have 2 fingers on it. My thumb is just sitting there and my index is moving around.

My thumb is basically my clicking button. It doesn't have to be, but for me it is. It also doesn't have to be at the bottom, I can click anywhere which is nice when I am quickly going from my keyboard to my trackpad and need to click something.

So because I click with my thumb and move with my other finger(s). I can click to drag, select, whatever it is that I am doing with my thumb. And them move with my other finger. With my thumb staying down, I am free to pickup and move my finger as many times as I need. I can pickup my finger for as long as I need to and it will stay selected for as long as my thumb is still there "pressed".

With acceleration that Mac uses, with just a few quick swipes I can easily move a window between 3 monitors.

Since the trackpad is also not physically moving when I "click", it is just pressure sensitive. It also isn't a strain to keep my thumb down.
What makes you say that? I almost always use println! over write!.

From the docs:
"Use println! only for the primary output of your program. Use eprintln! instead to print error and progress messages."
No shade on ember as a framework but LinkedIn’s decision to use Ember always baffled me. As far as I remember they switched to it long after it was clear react had “won”.
Wow, so that's 18 years of maintenance and counting, congrats!

Presumably, that means that there are also people who are adults now and got started with Sugar. Are you collecting testimonials by them anywhere? That would be fun to read.
Only the upper ones.
It’s an interesting thought experiment.

However there are lots of services which are in-fact inherent monopolies.
Take electricity transmission or your ISP for example. They have a common set of infrastructure which is hard to share among many competing interests. Who gets to decide what should be upgraded, to what, and when? How does one divvy up costs infrastructure changes which did not benefit a significant set of participants because they are individually in the minority and unable to cooperate? If you prioritize minority participants then what about the majority participant? What about a super majority participant?

Lots of times cities will try to regulate these services tightly because past behavior has necessitated it. Though ISPs are perhaps a bad example here.

I read an article somewhere talking about a study where privatized healthcare resulted in increased profits but patient services suffered. Is profit above all else a good objective for government services?
How to Structure C Projects: These Best Practices Worked for Me
Lower your expectations with regards to finding a remote position. I know you came here for comfort, but it seems to me that you are better served by hard truths. Working remotely, you are competing with the whole world. People in lower-income countries will be cheaper and not necessarily worse than you. Use your location as an advantage.
I’ve been hearing this for… 20 years.
I'm past IC (which I did for 15 years) and onto director/head/vp of eng, though I can be hands-on. In Canada, applying for full remote gigs. I've made a point this time not to come out with a salary expectation and instead ask them to make an offer. I'm not even getting through for Engineering Manager positions which are significantly lower on the experience scale.
Um, what? You believe unions are recursive data structures?
You know you're a math geek, when your first reaction is https://en.wikipedia.org/wiki/Well-ordering_theorem
Show HN: A tool to quickly extract data from websites
Ok, so I don't understand what's the difference between pg_vectorize and pgvector

I see that pg_vectorize uses pgvector under the hood so it does.. more things?
“The most effective debugging tool is still careful thought, coupled with judiciously placed print statements.” — Brian Kernighan, co-creator of Unix
Interesting topic. I fondly remember, when I was doing geometry at school, I propagated a lot of errors.
I checked the page and it seemed really cool, would like to give it a try!
The issue is that we didn't know the virus was aerosol (airbone means something else). The best evidence at the time was that it was droplets. In the case of aerosol, just being in the vicinity of where an infected patient was, was enough. Washing hands has limited effect on aerosol since it "hangs around" in the air. The issue is that the virus also uses droplets. Coughing and breathing both spread. It was effective against one form of spreading, not all. With time we learned. That's how science works and expecting anything else is ripe for disappointment.
Yes. That seems close to what I was looking for. Thanks.
fun, I should be able to send the loser a message that says "hey! you owe me a coffee"
> They are putting the company ahead of the goals of the company.

I don't follow your reasoning. The goal of the company is AGI. To achieve AGI, they needed more money. What about that says the company comes before the goals?
I've vouched (voted to remove from flagged) this comment.

With that said, what was the typical salary for one of those positions?
The explosion would be in BS articles about gardening, plus ads for whatever the user's profile says they are susceptible to.

SEO is gaming Google's heuristics. Google doest generate a perfect ranking according to Google human's values.

SEO gaming is much older than Google. Back when "search" was just an alphabetical listing of everyone in a printed book, we had companies calling themselves "A A Aachen" to get to the front of the book.
Not new, launched in 2021 apparently.
Dividing the world into crypto bros and "reasonable" people is not a good way to deal with the complexities of life.

One should try to avoid black-and-white thinking. Unless they are collecting likes on social media.
That's 100% the case, you can call your company OpenWhatever and keep everything closed. It's a brand, nothing else
My name is Devang Sharma, and I'm reaching out to share a fantastic opportunity that I believe aligns perfectly with the talented people in this forum.

At Amazon, we are on the lookout for passionate and skilled individuals to join our dynamic team. Our commitment to diversity, inclusion, and empowerment is at the forefront of everything we do. We believe in fostering an environment where every voice is heard, every perspective is valued, and each individual can thrive.

Role: System Engineer

In this role, you will have the opportunity to contribute to ground-breaking projects that are shaping the future of AWS technology and our clients requirements. We are seeking individuals with a strong background in programming languages and Linux and we believe that the unique perspectives and innovative thinking of women in tech can play a crucial role in driving our success.

Why Join Amazon?

Inclusive Culture: We embrace diversity and celebrate the strength that comes from different backgrounds and experiences. Your voice matters here.

Professional Growth: At Amazon, we invest in our employees' development. You'll have access to training, mentorship programs, and a supportive network to help you excel in your career.

Cutting-Edge Projects: Join a team that is at the forefront of driving innovation and develop tools and services that is making our customers lives easy.

We are specifically reaching out because we value the incredible talent and expertise that your members bring to the table. We believe that together, we can create an environment that encourages innovation, collaboration, and success.

If you or any of your members are interested in learning more about this exciting opportunity, please feel free to reach out. I am also sharing the link for the roles below. The roles are based in London, UK. We would be delighted to connect and discuss how Amazon can be the next empowering chapter in their career journey.

Roles: https://www.amazon.jobs/en/jobs/2401615/senior-systems-engin...

Thank you for considering this message, and we look forward to the possibility of welcoming exceptional talent.

My email address: shadvan@amazon.com
What you don't understand is that "I don't trust others" is not a terminal statee I'd rather build trust again, create human connections, or rather, put them in front because there are always connections; nothing works if you trust noone.

Building a societal system where you know you can rely on your peers, you build together, is a more joyful, more resilient, more ecological and also more realistic way of building a thriving society than distrust-by-default that cryptocurrencies live for.
Do not sound "desperate" like this in your job interviews (no offense) because an employer will not hire you to solve your problems, but to solve his problems.
And do not have a "begging attitude" because you offer your services (skills). Your eventual employer is your client (client of your competence).

> but even still with low expectations I'm not getting many replies.

Do not sell your skills cheap. If you have low expectations, seek for less qualified jobs while applying for what you feel you are meant for.

Many people went through more or less tough a situation. So do not panic. It is ok to go from failure to failure until the final success.
Comments are not checked by the compiler, but I have done some experiments with ChatGPT to find Python functions with code that is inconsistent with their docstrings. When comments are used in an automated way, they do become more like code.
Don't give up! The job market is tough, but I'm sure there are jobs out there that would be a good fit for you. For example, check LinkedIn for job postings. It's just much harder to land a job these days, but I think it's temporary until companies realize they need to hire again.

Some tips: Reach out to recruiters who have contacted you in the past. Sign up for online CV databases. Use your network and contact former colleagues to see if their companies are hiring. Work on a side project that excites you and makes you proud to change your mindset, or take an online course. Try to get excited about the challenge instead of thinking about giving up. I just watched a YCombinator video which, among other things, talks about not giving up too soon: https://youtu.be/al-15mMAS18.

Also, try to get feedback when you're rejected. Are you showing genuine interest in the job? Do you ask insightful questions, and do you submit take-home assignments without bugs?
Nobody would pay for the fire department, yet they'll have to come put out the fire anyway, so it doesn't destroy civilization.

Would all roads become toll roads? Do we just let the bridges crumble because there aren't enough people driving on them?

If you pay for your police and I don't, am I the one arrested even though you were the one who broke into my house?

Are companies that don't pay for the EPA allowed to pollute to their heart's content?

---

The entire point of a government is that it can make long-term (generation spanning) decisions that might cost money and would never return a profit.
I don't think "better marketing" is the main thing going on. I think the main thing is network effects. For git specifically, I think having a giant project right out of the gate gave its initial "network" of people who knew how to use it such a huge head start that it was always going to be difficult for anything else to catch up, at least in open source, where network effects matter a lot.

I do think the story with MongoDB in particular has a lot to do with marketing, but IMO the broader story is that objects (/ "documents") are actually a more natural fit for modeling the storage of application state in oltp databases than are relational databases (though relational databases are certainly unmatched for analytical use cases). I'd say that the popularity of MongoDB despite the relative weakness of its implementation of that insight has been more annoyingly detrimental to the object/document store approach than to the relational DB approach. That is, the backlash to "MongoDB doesn't work very well" has been "just use postgresql" rather than "we need a better document database implementation".

Coincidentally, just yesterday I was looking into pg's object store capabilities in order to suggest "use pg as a hybrid relational / document store" as a potential compromise solution to get to consensus in a relational vs. document-store discussion. But I found it pretty lacking, frankly. It's nice that jsonb exists, but its capabilities seem quite limited. For instance, it seems I can't use json-schema to define the schema of a jsonb column? (I did conclude that I need to do more research before rejecting this out of hand, but my initial research was not as promising as I had hoped.)
Probably because of spending 4+ years of school training for it, tens of thousands or even more on said schooling, and a decade or more of your life after honing those skills on the job? It’s not an easy thing for all of us to just throw away.
It's not about the type of work you are doing. You can be passionate about work, in general. You know? Value punctuality, discipline, putting in a hard days work, and knowing that you're contributing to something greater is enough for most people.
use scala
I agree, fantasy and play is needed. Since we humans have a brain area for play and imagination, why not explore.
The title should have (2009).
In other words: stay inside people rather than wasting masks that are needed elsewhere. In his position, I would have done exactly the same thing. Do not use masks, stay indoors. Managing public perception of safety is hard yo!
The progress is driven by the willingness of SpaceX to constantly run at a loss, and take in more cash to incinerate on the regular. This allows it to run bleeding edge but money-losing programs that that other companies considered but rejected. This was also Tesla's model.

SpaceX has had 34, THIRTY FOUR, funding rounds. Usually 3-4 per year. They cannot operate except this way. Most investors and boards would balk at this mode of operation.

It's not good leadership, though. It's easy to spend money that others aren't willing to spend to achieve results that that other companies aren't willing to pay the price for. Progress while being capital efficient is true leadership.
During architectural reviews, I'm often the annoying person grilling the team on the customer experience. If you don't start from how the customer will interact with it, how are you going to create anything ergonomic?

All too often, the engineering has started at "customers want to be able to do $x", and that's the last time the customer was part of the consideration. The solutions are great, but often miss out on what it'd be like to actually use it, as a customer. Lots of foot guns, and expectations of knowledge that a customer couldn't possibly have unless they had as much understanding of what happens under the hood as the engineers did, etc.
Think of it as syntactic sugar and it kind of works, as in "some of this syntactic sugar makes it a lot easier to code."
The deep sea is filled with treasure, but it comes at a price
With CDWs now rapidly evolving beyond structured data analytics into the world of AI and GenAI, one thing is unequivocally clear: a sound CDW strategy is a must-have for every company, whether an enterprise or SMB, across all sizes and sectors. Building on this...
I don't know about Canada, but moving to the US for an EU citizen is very hard. H1B is a lottery and needs sponsorship. Transfer visas are easier to get if you work for a US company, but you can be sent home at any time if you lose your job.
Probably Google.
I was posting that "a_print" (an auto running async printer) might be better for one of the most common features a programmer uses.

I'm coming from Python, and for situations when people grasp for C/++ kind of performance and control, I think people are aware of the need for high performance memory safe languages that are easier to use than Rust but with many of Rust's benefits being at least possible.
So I am quite excited by thinking from Dada and the people who are behind Rust and I'm also intrigued by SerenityOS's Jakt language project. I hope the insecure "C code problem" has a smooth migration path that let's C/++ devs, Typescript devs, and others make progress quickly in a powerful way. What other sort of alternative languages are there, among Dada's aspirations? Jakt? Vale (I understand a lead dev is poorly, so it's slowed a bit lately)? D? Go? Obviously AI will have a big impact. What language is going to have a big impact in this space?