skysight-inc/HackerNews huggingface dataset:
I run feature code interviews. There are no tricks, just data modeling, simple logic, and automated tests.

I am exceptionally good at algorithms problems and I recognize it is not a useful skill I want to filter on when hiring. A dev team of 20 may only need a few to really understand algorithms to look over relevant pull requests. and even then such situations may be rare
Wasn't the Saudi intervention before the Iran one?

Furthermore, the comparison is a bit off because Soviet military build-up on Cuba was merely a response to the actual nukes the US had in Turkey, literally on the Soviet border, but the US lost their shit in a typically hypocritical manner. Iran is purely projecting power wherever it can to combat Saudi and US influence in the region, it isn't a tit for tat response.
Today it's much easier to leave Microsoft than it is Google.

Google is becoming pretty evil while Microsoft has improved tremendously since the 90s. Personally I don't use any Microsoft product but I'm stuck trying to leave Google products. Specifically gmail, docs etc.
Doesn't this type of craft normally struggle with any kind of wind?

I can imagine that seriously hampers it's profitability when it can't be used 90% of the time because the wind threatens to be more than 10 mph...
Ask HN: Is the ternary computer used in products?
I saw an introduction to ternary computers on Wikipedia, and I'm curious which areas actually use ternary computers? And why are ternary computers better than binary computers in efficiency?

Because the wiki's instructions lack more detailed instructions, does anyone know a more complete introduction?
Tons of companies over the years have taken a shot at it (CargoLifter, Aeros, Walrus HULA, HAV).

Turns out, so far, it's all been pretty shit, because outside of super specific niches airships are so slow they need to be much cheaper than aircraft, but the upfront costs to create massive-enough airships to even have a chance makes it a difficult proposition.
My "homelab" is just debian stable, with a moratorium against containerization. Systemd keeps the services going. Updates are manual. It's a bit incredible how clean and easy such a set-up can be. Like there's almost nothing to say. It's extremely reliable and just keeps ticking.

I actually did use to have a bunch of virtualization and kubernetes and crap, but got rid of it because it ate literally half the systems' resources, in a death by a thousand containers-type of way. There was also a lot of just jank, stuff was constantly breaking and I was always trying to piece together why from half a dozen out-of-date tutorials. Felt like herding cats.
MBS is trying to whitewash the blood on his hands ( e.g. the recent acquisition of Newcastle United), so at least somewhat.
Can somebody explain to me how it is able to hover (suggesting it is neutrally buoyant in air) but then attach a load and overcome the weight?
https://tutanota.com/ ?
For some reason that message only shows up when you're already on the .md URL. If you go to https://write.as/n5r0vjolumdnuk2k it's not there.

Now at least the link here is updated, though my RSS reader had the old link.
I dislike the phrase servant leadership. I have a mental link between that and curling parenting, where parents anticipate any problem and sweep the way for their children.

The drawback of servant leadership in the workplace (and curling parenting in childrearing) is that the servant leader quickly becomes (in my experience) an overworked single point of failure, and once they leave there is nobody else who knows how to handle the obstacles they've moved out of the way for everyone.

In the worst cases, they leave behind a group of people who have been completely isolated from the rest of the organisation, and has no idea what their purpose is and how to fit in with the rest of the world, once the leader leaves.

I would like to invent my own buzzword: transparent leadership. In my book, a good leader

- coaches people,

- connects people,

- teaches people methodical problem solving,

- explains values, principles, and other fuzzy values to aid people in making aligned decisions on their own,

- creates direct links between supply and demand (instead of deliberately making themselves a middle man),

- allows their direct reports career growth by gradually taking over leadership responsibilities,

- continuously trains their replacement (related to the above), and

- generally makes themselves redundant.

Ideally, transparent leadership has a side effect: it gives the leader more time to work on technical problems, keeping their skills fresh, which gets them more respect in the eyes of their direct reports too.

Note that servant leadership/curling parenting feels really good for the direct report/child... until it doesn't.

TL;DR: Parenting and leadership is very similar. Teach a man to fish etc.
I think you have to do

void some_func(foo *f) {
new(f) foo { 5, 5 };
}

because no assignment operator is generated for a struct with a const member.
I use something very bare bones as the host OS, say Alpine, and install Docker with a handful of other tools for basic sysadmin tasks (curl, etc.).

For a single server deployment docker-compose is very useful.
Every good enough IT team has the "Restoring to the baremetal from the off-site backups" plan. Yet they never intend to put it in action.
I was just being conservative. From my personal experience 100% of them were.

As an interviewer I try to be in the hypothetical 10%, but I'm pretty sure I'm not.
No one uses ternary now. There is no advantage in doing so.
In my experience the parts of a (study) book where you feel dumb and frustrated while reading are generally the best parts. That's where you get the most worth out of it, it means you finally hit the spot where you are learning new stuff and concepts, rather than re-hashing what you already knew or thought about, just from a slightly different perspective (which is also useful, but not as much).
Making niche websites and waiting a few years to rank them and then upgrade them to something that makes money. It takes time to rank but you just have to wait, and if you have fun coding building specific websites can be fun.
I built a web version of Donsol for the same reason. It's a PWA so you can also install it on your device and play offline.

https://donsol.tdjs.tech/
I think Rust is much easier to learn than C++. The borrow checker is hell but once you understand that it’s very smooth.
Yeah TET here is ten-eleven translocation (https://en.wikipedia.org/wiki/TET_enzymes), not tetracycline (https://en.wikipedia.org/wiki/Tetracycline-controlled_transc...).
I think you can go to Upwork and pay a virtual assistant. Then it's just a matter of setting up VoIP.
> but no matter how I tweak the settings, it never gets it 100% right

Interesting. Did you try GraphHopper? You'll always find cases where it performs poorly but overall we get positive feedback for it and it is very often right and performs als in most cases fast. You can try one bike example here: https://graphhopper.com/api/1/examples/#map-matching or send your examples via our JS client https://github.com/graphhopper/directions-api-js-client

Probably one current problem of the bike profile is that we do not yet allow to walk in the opposite direction, but this might be beneficial for map matching.
Toms Shoes[0] is the classical example of this. I like the idea of things like Kiva[1] and did 214 loans with them over the years[2] but they have been looking a little sketchy lately. Rather than dumping goods and destroying local businesses I think investment is a better way to improve conditions in developing nations. For example in the US we have farm subsidies that buy up food at above market prices and ship it to struggling nations, but I'd argue it would be much more effective to take those same subsidies and invest in local farmers instead. If you do it right the cost of that program isn't much more than the cost of inflation plus currency differences over the course of the loan.

[0]https://www.vox.com/2015/7/23/9025975/toms-shoes-poverty-giv...

[1]https://www.kiva.org/

[2]https://www.kiva.org/lender/williamcipriano
It'd be great if the lines were prefixed with four spaces (" ") so the URLs don't get shorted as well.
Superseded by Breezy, a fork of Bazaar that supports Python 3:

https://www.breezy-vcs.org/
It’s already corrected in the article:

> urine, which is somewhat sterile
Depends, buying is cheap, so why not - meanwhile also having so much clothes can be annoying. Easier to get rid of them, then sell them and such.
Thanks for the explanation :).

> I think you are grasping at straws (although I'll be honest I don't know what that literally means).

Yup, I tried all I could ^^.

> And I think the word solar really only applies to our own sun.

So be it then. In scifi they always talked about sol-3 anyway and caspix-9, etc..
Sure. But then you are making a decision based truely on what you want to do with your life. Not the same as people working for a company because they have to and that's their only way to survive.
Log4j: Microsoft discovers attackers targeting undisclosed SolarWinds vuln
Some examples would help. Without them I can't say this is something I recognize.
> CPUs have been "alerting" through their carry and overflow bits in registers since forever so this isn't some exclusive feature that only rust compiler writers were smart enough to take advantage of.

Another way of putting it: C/C++ have been handling overflow badly since forever despite hardware support, but now Rust and other more security aware systems languages are free to take advantage of it.

I hope Rust will take the opportunity sooner or later, as the semantics seem to allow it.
This is an insightful read that gives genuine real-world experience on both the good and frustrating of Elm.
It is UB as the original object has non-static data members that are const-qualified.
It can just swap weight(s).
Isn't headscale a clearly better option, since it removes the need to trust and depend on external sources? It the same software essentially, but if we're talking about self hosting, headscale is just inherently better, since it actually is self hosted.
Rust can return string slices, so a tuple of a return type with a potential number and a slice for the still unprocessed string would be an option, which is much safer than your proposed one and arguably more readable.
You are right. On the other hand, we are not trying to increase the vaccination rate from 0% to 100%, it's more about convincing the remaining 10% to go, so the effect on the actual hospital utilization would be much lower. Plus, we don't know the hospital bed number per age (how many actual 30-year-olds are the problem?) and whether Omicron has a different picture.

So, in my mind, the amount of guesswork that's currently on the table warrants a tax-paid advertising campaign, but all censorship and forced vaccination measures do much more harm than good.
I came across the term 'cyber phrenology' around the time this was written - seems like a reference to much the same methodology in a different context.
I didn't make it about anything. The only thing fast fashion opens in the way we see it nowadays is for shopping sprees at reduced prices. The direct implication is that it opens up this activity for people with lower purchasing power. This is not some statement about haves and have nots, but I think ignoring this fact is a bit weird. If you make something cheaper, more people are going to do that thing.
I feel this but from a different perspective. As somebody that comes from a working class background, I cannot help but feel like taking any pay cut is a mistake in my life. It’s not that I consume a top 5% salary, it’s that I feel like any offer that isn’t an increase of my current comp is the company trying to screw me over.
> I don't see how Buddhism is an answer

The origination story of Buddhism starts with a guy with the highest status and wealth, in a society of extreme inequality, leaving his fortunes behind to help everybody (hint hint).

The first ashrams where so radically inclusive, letting people from all caste and gender live as equals, that they were chased out from many villages by armed crowds. (hint hint)

If that's not clear enough, Thich Nhat Hanh literally called his practices "engaged Buddhism".
I am trying to avoid being negative here but lifting 250 tonnes in remote / difficult areas is a serious challenge.

The lift is not so much the problem (although that's a big balloon) - fighting wind sheer will require stupendous amounts of power. Especially as wind is pressing not just at that cargo but at the balloon itself. And anywhere that's remote / inaccessible almost always comes with lots of wind.

Hmm, actually lift might be a problem ...

So to get 250 000 kg off the ground takes a volume of helium balloon (if the below site is right) of 250,000m3 (it seems to be fairly linear)

(this seems intuitive - air "weighs" about 1.2kg /m3 sea level, so a vacuum of 1m3 could lift 1.2kg. )

that is 100mx100mx25m ! that's the inner part of any athletic stadium. That's insane surely?

https://www.engineeringtoolbox.com/hot-air-balloon-lifting-f...
I'm hoping to be corrected, but I don't see any lying here (perhaps a white lie to spur a creative colleague into action). The original segment[1] was titled "Pong: an exercise that started an Industry" by Tekla Perry. I'm wondering if it was someone else at IEEE Spectrum who decided to change the title, and if so then it is a poor choice because it sounds misleading.

[1] https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=636...
I wear Carhartt clothes daily after I remove their branding logos with a razor blade.
I take a different approach in technical materials I write. I want to make system internals accessible to more people, not to a restricted few who have the right prior knowledge.

I try to write something that everyone understands who has a minimal relevant background (i.e. everyone who would be interested in reading the post) but include links to deeper materials or kernel source code so that everyone can learn from it.

Here's an example with an article I wrote on Linux shebangs: https://natanyellin.com/posts/shebang-python-bad-interpreter...

Would love to hear constructive criticism on how I can improve!
No freaking way. Elitist vetting of people is how we get walled gardens, the 1%, lack of diversity and perspective, and all kinds of inequality. Groups of people choosing who is better than others is also what bring us the flip side of that coin, with hatred, judgment, racism, white supremacy, etc.

Elitism is a bad thing, not a basis for a healthy community.
> Authors (actually publishers) use that chapter to list the skills you should have to keep up with the book contents. More often than not, it’s misleading, downplays the expertise you need to have, and it sets the bar unrealistically low.

Realistically a student will spend a semester reading the book while also following instructions about the content of the book, and they still have difficulties. That is the amount of work you have to do if you have the correct prerequisites. So likely you just have unrealistic expectations how fast you'd be able to read a technical book covering a field you aren't used to.
Refreshing take!
It's been demonstrated many times before that large corporations like FB and Google only respond to media pressure in scenarios like this - even one as ludicrous as auto-accusing furniture pictures as inappropriate sexual content. HN itself can sometimes be enough, if not I would find something more widely consumed and publish there.

It simply takes that much to get a thinking human to look at it... without media pressure you are engaging in a futile battle with dumb ML, automated responses, and maybe scripted humans which are much the same thing.

Yes the system is broken, which is why ideally you shouldn't attach something important like your business to FB.
It’s been quite a number of years ago, so I don’t know the current state, but back then we used IKVM to run some finance Java libs in .NET applications.

Worked like a charm.

Basically, it is a JVM implemented in .NET so you can easily interop to the missing management APIs from the Java client and there is no extra runtime install to worry about or calling out of process.

Might be worth a try.
Basically two methods:

1) have counterweights (e.g. as mentioned above for another similar concept Cargolifter which used water);

2) expand its volume during loading and contract after unloading. E.g. pumps compress gas while unloading and release it back while loading.

These two options are obviously the same thing - change the vehicle density to adjust the buoyancy but implemented with and without external weights. Submarines do this also by filling the ballasts tanks with either water or flushing them with compressed air.
There's a lot of outright misinformation out there - one of the commoner misleading claims is that 50% of fathers who seek custody get it, usually used to trick people into thinking that actually both parents are treated equally and all the complaints are just from men thinking "equality" should mean they get better treatment. The thing is, that 50% figure includes joint custody which can be as little as one weekend a fortnight with the kids in some juristictions, and I think also cases in which the kids' mother isn't actually seeking custody. So a better framing of the same stat is that amongst a self-selected sample of those fathers who think they stand the best chance of obtaining custody, half fail to even get joint custody (which could well mean never seeing their kids again, especially in juristictions where visitation isn't well enforced). That's probably a good explaination for why few fight for it.
Founder of OSRM and benevolent dictator on hiatus, here. Happy to see that the project has been useful to you.
> …and created 20% more hospital beds?

> Or how much exactly of the taxpayer money is going to the Big Pharma as opposed to building new hospitals and training new staff?

I’m not necessarily disagreeing with your overall premise, but the idea that politicians in countries round the world can/will just snap their fingers and magic new hospitals, staff, and infrastructure into existence seems idealistic in the extreme.

We’re living in a world where the opposite is true: for a variety of reasons (depending on the country you examine) hospitals are run close to capacity during normal times - which is why they struggle so much when there’s a new wave of COVID infection. This seems to be the economic reality of healthcare, whether you’re talking about successful ‘socialised’ models, successful privatised models, or failing examples of any kind.

Many staff are exhausted, demoralised, and underpaid, and there’s a trend to people leaving the profession - and there’s a 3 to ~7-10 year lead time to deliver a new meaningfully-trained healthcare professional.

Choosing to change this trend around the world, versus a few bucks spent per person on a vaccine every year or so…?
> Sure, you can't get away from handling the cases, but as the article clearly demonstrates, there can be a much better interface for it.

It's a very apples to oranges comparison, to the point that it almost feels like a straw man. "Interface (that does X) sucks for doing Y; look at how easy the Rust interface for doing Y is!"

Yes, there can be a much simpler interface for the case when you want to assert that a string is nothing but digits and must fully convert. That's not what strtol is for though.

Now I think libc sucks (no surprise given its age; complaining about is beating a dead horse), and it sucks more if you don't take various GNU & BSD extensions with it, but I'm kinda getting tired of people complaining that "foo in C is hard" when their unstated requirement is that they can't use any libraries to help them do it. Like this fellow the other day: https://news.ycombinator.com/item?id=29990897

If you look at programs written in "modern" languages, they almost invariably bring a plethora of libraries and dependencies with them anyway so why is C repeatedly judged on the merits of ancient libc interfaces that you don't have to use?
Have there been double blind studies on long COVID? Every time I hear about it sounds like nocebo.
That DVD film part is neat
It's useful to know who they think the book is written for, to get the most out of the book.

Books are not individualized, so it's a very difficult ask to publishers and writers to write something in that section that perfectly applies to you.
> To cut the chase, the best offer I got was roughly 70% of what I was making at Facebook.

I’ve been there and refused offers because of that. How do you get past this feeling of a company screwing you over unless their offer is higher than your current comp?
If each of a[0...3] is stored only inside registers, which register should the compiler pick for a[6]?
Came here to say the same thing. Maybe I don’t read as much? But the books I’ve read have never mislead me on their desired audience.
So instead of having to move your 25 ton cargo around, you now have to move your 25 ton ballast to be swapped for the cargo at the drop off point so the SkyLifter doesn't yeet itself into stratosphere.

The FAQ and literally everything else about this project is vague, disappointing and a little fishy.
Procoto (YC W21) Is Hiring Front End Engineers
I haven't run Windows in my Framework laptop so I can't really say if there's a difference but the issue in Linux was mostly because deep sleep wasn't enabled for some distros.
You got me curios on this. Knowing any retreats in Europe? I'm from Austria, but I would be open to going in nearby countries for something like this.
I’ve been self hosting for over 20 years on apt based systems, aside from changing from telnet/ftp to ssh, adding in letsencrypt, very little has changed. You can still collocate your hardware, but it’s cheaper to use a generic VPS. You can host from home, but even a pi will probably cost more in electricity use than a $3/month vps.

Backups are far easier now as you use a VM provider like linode, digital ocean, even lightsail, which will schedule snapshots. If you run your own hardware then mysqldump and restore to your backup server is a small shellscript and cronjob. Disk encryption is handled by your OS.

LAMP was trivial in 2002, it still is. You can use nginx or postgres instead of apache and mysql, but it’s broadly the same.

If you want to make your site complex and dependent on thousands of JavaScript libraries and frameworks which change every year or two, that’s fine, but you don’t need to, it’s a choice, one which adds complexity. If you want five nines or absolute guarentee of not failing, you need to think more about replication than just a nightly snapshot, but that’s not a problem solved with thinks like kubernetes.

If you want to scale to millions of concurrent users pulling terabytes, sure, don’t self host from your DSL on a pi. If you want to serve a personal site for hosting bits of stuff, it’s not hard.
I don’t think so. According to https://stackoverflow.com/a/39382728 (the original SO answer that prompted the linked SO question, and which quotes the relevant parts of the spec), the allocation is not UB, but accessing the member after that (at least without the std::launder trick) is UB. It’s precisely this latter part that I don’t think is very reasonable to have in the spec.
its hard to know what the prereqs are when you already know a thing deeply. people wont even agree about what it means to understand the prereqs!
My notice ended up in the spam folder…
Fwiw you probably don't need to pay for tailscale for that. You can just have them set up their own single user tailscale accounts and then share your Emby node with their account.

https://tailscale.com/kb/1084/sharing/
That makes more sense - it's just a coincidence that the market cap of Apple is is now almost exactly 10^7 times larger than $260K