skysight-inc/HackerNews huggingface dataset:
I have a large collection of DVD/bluray/CDs. The real issue is management and storage of the physical medium. I had this ridiculous setup with DVD/CD carousels. Ripped it all and it is now some files on a share on a NAS. Wildly easier to use, also instead of 5 remotes I have 1.

Before I bought the movies I was going to the theater a lot. The cost ratio was clearly in advantage of just buying the movie. With the advent of streaming that cost ratio shifted significantly towards renting/streaming again. However, the fragmentation and region lockouts of which service a show/movie is on that may switch back to discs again. Also some studios are starting to like the idea of re-editing the movies on the fly. You may be better off just buying again. I am already invested in 'buying' but if I were starting today I probably would not bother and just go all in on streaming.

The GP basically is like a lot of people. They watch a movie and they are perfectly good never seeing it again or maybe a few years later. Renting is a perfectly good option for someone like that.
I haven't used one for a while so this may have been fixed. But I've never seen a DSLR with the same type of touch manual controls as an old SLR.

Someone correct me if I'm wrong and tell me where to buy one!
I think if you’re lucky to work with smart people just being in the environment can be fulfilling and enjoyable for the atmosphere even if you’re not directly learning anything. But for actual learning I don’t think the office environment adds much. Pair programming is useful but today’s remote tools are way better than crowding around a desk.
If you don't have to make it as fast as possible in a pay per time used way, maybe the dumb solution can be cost effective.
I have a huge American Bulldog. He's playful, fun, obedient and extremely well trained ... and outright terrifying when someone approaches the house. We say "I see them, thank you" and he's friendly again. He'll go find us to alert us to people in the yard. At night, we have to go walk through the house together if he's on edge.

Everyone is quite intimidated until they come visit and have a proper meeting. He also remembers guests quite well, and reacts differently to them. He learns mailpeople's faces / walks and gives a cursory "gruff" for old ones, and the full-throated threats to new ones.

That's a feature: Dogs are the best break-in / intruder deterrent around. My wife originally bought him for that reason. There's never been a problem with kids, friends, neighbors, or anything, but if you were walking through our neighborhood and saw him threaten you, you'd probably say he was a menace. He's not.
did you know the dog breed most implicated in dog bites is the golden retriever? they're bred to retrieve hunted water fowel so their bites are soft and rarely require hospitalization after an attack
It wasn't reganomics (typically referring to the tax policies) but the central bank taking extreme action on interest rates to curb inflation. Prior central bankers wanted to do this but didn't have the political cover. As expected this created a deep recession but after a year and a half the inflation epidemic was ended.

Its considered a rare example of politicians "doing the right thing" for the country even at great short term cost.
Sorry to hear that.

This was a real jolt to read though. I've been really bullish about WFH or hybrid work for the future, since as an IC I've seen nothing but the benefits as you mention. I never thought of the stress of remote work in a management role though, so thanks for sharing!
Depends on the motorway, some countries have tolls (France for instance) which presumably cover the operational costs, most will have road taxes which cover all the operational costs several times over if you exclude externalities
Erm aren't these numbers people per dog attack? So the higher number means fewer per capita attacks? Seems like a weird way to calculate a rate. Regardless, label your units people!
I do think that being opinionated about code style leads to code that's easier to read and maintain. I was just delighted to find someone whose tastes diverged so distinctly from my own in a smaller language community.
This is why Switzerland past very strict laws which require you to take several dog courses with your dog or you will not be able to own it (all dogs must be registered). Certain aggressive breeds are also illegal or are required to wear a muzzle when out.

All this after kids and people getting mauled by dogs back on the 90s became a common news item.
I agree robot as a service is annoying. It is a good fit though for robotics because your first version is likely to cost too much and break too soon. Selling that would make for unhappy customers. However investors like the high profit potential and that can lead to dark patterns.
I agree with almost all of this except for avoiding else and annotation in with statements. Here’s my reasoning:

1. The argument the author makes here assumes that else clauses can or should only used be for error handling. There are instances where you might want to drop out of a with statement without returning an error however. Some examples might include connection Plugs that don’t need to perform some behavior due to certain assigns already being present on the Connection struct or configurable / optional behavior encoded in an options list. In these instances, pattern matching on a successful fallback clause actually reduces complexity as it avoids the need to position that branching logic somewhere outside of the main with statement that it is actually concerned with.

2. I find error handling through with / else and annotated tuples to actually lead to very expressive, easy to read code. Having built and maintained a Phoenix application in production since 2015, this is actually a very common pattern I and other members of my team use so I’m curious as to why the author considers it something you do under “no circumstances”.
You think it’s harder being a homeless person with a phone vs not having one?

You also think a smaller percentage people are housing unstable today vs 1665? Be careful how you answer, because you have to include non-white people in that figure too.

I simply do not get your point. Housing is more expensive for a lot of reasons, but it’s sure as hell more abundant today than it was in the 17th century.
I agree with your sentiment to a degree, but I disagree with your implication that any expense spent on work makes you a contractor. Almost all workers have to buy their own clothes, bring their own lunch, and find their own time to sleep and pay for medical needs. Personally I would even buy my own laptop for work if it means I don't ever have to go to the office.
I was also encouraged to report symptoms (or lack thereof) through a website. Unfortunately the website was thoroughly broken and I was unable to do so.
> In what way is mindlessly thumbing through a high school classmate's wedding photos "connecting" people? People who you haven't spoken to in a decade or more?

I'll do you one better. I deleted my account back in 2016, in the run-up to Trump's election (cause I just didn't want to hear it). Just before I did, there was a whole rash of connection requests from my high school classmates. Facebook blasted out that one person had re-connected with me, and a dozen others suddenly thought that would be a good idea too. I graduated THIRTY years ago, and hadn't spoken to ANY of the others since. Most of the requests were coming from people I wouldn't even have called friends AT THE TIME. That's just not normal, but on Facebook it is!
I think even if you are a paid troll, you should probably branch out in your interests. There's no real coherent thread or sense of personality coming out in your commentary - it's just 'argument winners', factoids and framings that push a certain view. And maybe you just like to win more than you like providing clear analysis - I'm certainly sympathetic with the idea of cooling geopolitical tensions, but I think the way you're doing it will never work.

(This goes double if you're a paid troll, China is just awful at soft power for structural reasons - a core competence for politicians in a democracy is spin. Trying to astroturf past that is just pissing in the wind.)
Some people keep dogs to discourage break-ins. We had a moderate level of crime in the neighborhood where I used to live, but my neighbor’s big black noisy dog ensured that our houses and cars were left alone. This is probably also the reason in many rural areas.
"The tiger chair, also known as a tiger bench, is a five-foot long board with a vertical backrest on one end. The tortured detainee sits lengthwise with his or her legs stretching down the board. His or her arms are restricted behind the backrest. The mouth may or may not be gaged, but often times left unobstructed to allow for shouts and screams that can frighten other prisoners. Initially, ropes are tied tightly around the legs, above and below the knee. This procedure has been reported to cause extreme discomfort as the ropes cut into the skin.

Next, bricks are placed underneath the calves elevating the legs. Not only are the bricks uncomfortable, but also the knees start to stress from hypertension--unnatural backward bending of the knee. At the same time, the tension in the rope increases as the bricks are added digging into the victim's skin and muscle tissue.

The more the victim resists, the greater the chance for bricks to be added, increasing the legs elevation and tension in the ropes. The torture progresses until the ropes break. It has been documented; prisoners have gone to a literal breaking point with bone fractures.

Additionally, metal poles or wooden rods with weights on the end will be placed over the victim's legs increasing the severity in pain.

Finally, as the victim is tied, he or she is unable to defend against punches, kicks, electrical prods, and so on. One detainee said, "I sat until my buttocks bled."

The victim can be left in the same position for hours, even days in discomfort."

https://www.laogai.it/tiger-chair-tool-for-torture
It has everything to do with the removal of cookies: Google has very clearly been waiting to have a viable alternative before they start blocking them.

It’s been something like 4 years since Safari started blocking cookies. You say Google isn’t powerful enough to resist, but Chrome has >60% market share.
Ask HN: Do you install antivirus software on servers?
I'm curious what everyone else thinks. With a few exceptions (file servers, servers where user uploads happen), I do not see the point of running one. I must clearly be missing something.
As jb775 said, most cases simply won’t be reported. I wouldn’t be surprised if the actual rate is 10-50x higher.
Isn't Texas often hot enough that it would be unfriendly to leave dog outside?
Depends, dynamic linking is great for plugins, on the other hand I guess we have learnt that IPC is a better option for security and overall application stability.
Why would you have to live in an apartment?

Here's a walkable and bike-able neighborhood in Columbus. There's a mix of houses, businesses, and apartments (it's mostly single-family homes). https://api.trekaroo.com/system/photos/229733/original/11943...

Why can't we just build more of that?

Sure some people can live in the middle of nowhere and take their car everywhere, but you're crazy to think that most people can afford to do that. It's just not going to work. We see it fracturing right now.

-edit-

But anyway, we don't really have options now and the things we are doing are completely stupid. There's no way we can just keep building suburbs, strip malls, and highways and have everybody drive a car and it's dumb to even want to do that.
Well I guess it would depend on the target country's specific tax laws.
Higher Education | Engineering (Multiple Positions) | Remote US | highereducation.com

Higher Education powers the largest marketplace of high-intent prospective students in the US, and does meaningful work that helps connect prospective students with cost-effective paths to higher education. Our team spans offices all over the country, and we’re looking for a wide range of talent to help us grow

* Senior Software Engineer (React, Node JS)

* Software Engineer (React, Node JS)

* Associate Engineer (React, Node JS)

Let's talk. Shoot me an email with Hacker News in the subject. grkoscevic@redventures.com.
You swapped the results, and should be computing the reciprocal anyway.

782 bites / 39.51 M people = 19.8 bites per million people per year (CA)

402 bites / 29 M people = 13.9 bites per million people per year (TX)
Houston has less than half the population density as LA. Bigger properties / houses / yards almost certainly means more dogs per capita in Houston than LA.
Duh. That was never in doubt.

The issues with distancing policies are late implementation and removing restrictions before the virus was beaten or vaccine was in sight.

If the policies have been implemented early (and we mostly knew everything there was to know early on) the number of casualties would be orders of magnitude less at least in countries that have relatively effective ability to police their population.
"Houston, we have a problem"
By that logic, you should be enforcing a 60 hour/week, to achieve even better goals.

The problem is that job != job, because different jobs have different requirements.

A doctor needs to be available continuously, but he doesn’t necessarily need to be working continuously. An on-call doctor needs to be available 24/7. A general practitioner may only need to show up for scheduled appointments in strict timeslots.

A programmer on a long term project needs to eventually put in hours, but precisely when he puts in those hours matters less. A senior developer is productive anytime he’s available for advice (and there are others working to be advised — with off-shore resources, this can mean extended availability)

A warehouse worker is productive only when he’s explicitly doing labor. Being available for labor, but not doing any, is worthless.

A programmer on a short term or last-mile phase of a project needs to put in the hours, but on a strict timeline — there’s no room to skip a day and make up for it tomorrow.

Companies already acknowledge this, albeit implicitly. The higher you are in the hierarchy, the more valuable your availability and the less your labor. CEOs don’t get to have strict no-work vacations, but they also don’t have strict 9-5 work/life split, because they need to be available all the time. At the same time, they can go normal days without any real work to do, because they aren’t needed for anything.
(non-Elixir dev here)

Does Elixir have anything akin to Haskell's "do notation" for result types? The provided best practice code feels verbose, and that surprises me given that Elixir looked clean & modern.

For example

# Do...
def main do
with {:ok, response} <- call_service(data),
{:ok, decoded} <- parse_response(response) do
decoded
end
end

would read in C# (.NET 3.5) as the following pseudocode, which personally looks much cleaner, avoiding `{:ok, ...}`:

Result<T> Main(object data) {
return from response in call_service(data)
from decoded in parse_response(response)
select decoded;
}
Here’s some more baseless guesswork: I am absolutely certain they did.
? I don't see the function of mosquitos except as niche opportunists to increase the universe's entropy faster by breeding and killing other critters. They may be incidentally useful as food, but the biomass can be filled by less harmful to higher lifeforms insects.

Speaking of mosquitos, with all of the intense rain, southeast Texas is more akin to the deep South with enormous quantities of flying insects, i.e., moths, beetles, and tons of mosquitos. I setup the largest bug zapper I could find for one night, and it decimated about 2 lbs / 1 kg of insects in a pile so large, it clogged it and left the table it was on completely full of carcasses. IOW: the area needs more birds, if the cats and previous lack of flying insects would stop killing them.
Your fear assumes that working in an office is going to be the opposite of those things: more productive, less distracted, better socializing. At my first job, all of those were true. My coworkers were rude and unfriendly; I personally find any noise from other people distracting; and I focus better at home because I can take breaks as needed (like lie in bed for a few seconds if my back hurts).
It's far from a conclusion that the Flynn effect has certainly reversed, for what it's worth. The 2018 study most often cited is on a small group of military aptitude tests from families in Norway and hasn't been replicated since.
Yes. But then, people who work 40hours produce more then those who work 60, but it is not stopping teams overworking people.

Meaning, productivity is not only factor.
This is a refreshing perspective that takes into the reality of what humans are able to do, over time. Quite a good idea as well, why not spend some time taking walks, doing housework, and being in nature rather than standing and chatting by the watercooler/coffe machine, having meetings with no benefit or trying to surf the web without anyone noticing.
> I'd also argue you shouldn't be doing side-effects like that in an init without a lot of care as well.

I learned this the hard way. I wrote a GenServer that does some periodic database cleanup (maybe not the best solution), and I naively wrote the init function to immediately do the first cleanup on startup. Then I discovered a case off the happy path where the cleanup was failing due to a constraint violation, and the failing init brought down the whole application (edit: while someone was trying to use it, of course).
Expecting library authors to get their design entirely correct the first time round isn't reasonable. When libraries make backwards-incompatible changes it's usually because the original design was flawed in a way that made continuing to support it, while adding new features, infeasible.

You're welcome to evaluate and select libraries with the best possible track record for avoiding backwards incompatible changes - I do that myself. But, especially for libraries that are relatively early in their development process, having a hard "no breakages" policy isn't realistic.

I still think semver is the best fix for this. If you make a backwards-incompatible change, you bump the major version number and you extensively document the change.

If you're consuming libraries, the best way to address this problem is with solid test coverage. That way any time there's a new library version you can lean on your test suite to help you understand if it's going to break anything for you or not.
Yeah, I work in an industry where software enables things, so it is central. But even in my industry (business apps), we could just go on with pen and paper like before. So programs are not "absolutely fundamental" but in the 21th century, well, they are :-)

But I can admit it's not like that everywhere, sure. But I've yet to see industries where people pay programmers to work on IT project which are not fundamental in a way or another or in the process of becoming fundamental. The point is when programs get deployed, they usually transform (and hopefully improve) a situation. Once the transformation is accomplished, the program becomes fundamental...
My policy preference for both commercial and residential real estate is that all rental contracts must include a 1% ownership transfer per year. That way if you rent a place for 20 years you own 20 percent of it. Yes it will shrink supply on the margins and maybe there needs to be some carve outs but I’m sick of seeing restauranteurs etc make a neighborhood cool and then get kicked out with all the value having accrued to the landlord.
Could you expand on that? Are Phillips’ (a decorated former MP, and the former head of the Commission for Racial Equality, and also a black man) positions on racism invalid in your view? Is he unqualified? Are you better qualified? Or do you just find his views heretical?
RAM and storage are cheap. Their cost is a mere pittance for the benefits of containerization.

It's like when people whinge about Electron. Electron gets you a runtime that's near identical across the major platforms, with a11y (something the Linux native toolkits still don't have their shit together on) essentially for free, plus you can use modern reactive component frameworks like React and Vue on the desktop. Yeah, I'll pay 300 MiB for that.
Why would I care about my doctor only working 20h a week? He could work 1h a week as long as he delivers what I need.
48Kb, my comfort zone !
Good to hear this experience. I also had this as a side effect of a covid infection last year (having never previously had any heart issues). I've just had my first Phizer dose, and this article had me questioning the wisdom of getting the second dose. But I feel like an hour won't do me much harm. It lasted for months with the actual infection.
The link is at the very bottom. I suspect they wanted you to read the article before you went to look at the map.
I Got an Artificial Intelligence to Write My Novel
I find it more ironic when monolithic kernels are argued for and then get placed in layers of abstraction to achieve what microkernels offer out of the box.
That presumes someone takes time to evaluate the claim. Unless you have data already available that the counterfactual is true, it’ll take a while before a competitor appears to test out your claim and existing incumbents might just take your word for it. Additionally, the success of the competitor to eat your padded profits is not controlled solely by the truth.
UnitedHealthcare to Delay Plan to Deny Coverage for Some E.R. Visits
In Javascript it would be probably around 250 lines: the current VM is 500 but that includes extra stuff for performance, and system stuff like math and timers that aren't part of the core language.

This depends a lot on the host language. BQN requires garbage collection because it has closures so an implementation in a language without it needs to include a GC. JS has a lot of conveniences like closures of its own, and the ability to tack properties onto anything, so even other high-level hosts would generally take more code.
Again I agree with you, because I had a similar experience. But, again, my conclusion is different than yours.

You write that we should not talk about biochemistry as computation, as far as I understand. Instead I'd say that we have not studied enough how nature does computation without programmers or even human friendly semantics.

Is still computation, involving space and physics. Too complex to efficiently simulate it (for now) but not big enough so that the emerging behaviour is simple, like for a gas.
"No, you shouldn't use Brave": https://web.archive.org/web/20210531085250/https://aspenuwu....
> The evolution of organisms that gene mishmash (aka sexual reproduction) is thought to be the result of an ongoing arms race between gene sequences that "try" to stay unchanged (in higher level species) and gene sequences that "try" to "free ride" (from viruses etc.)

Sexual reproduction means your species has a very large gene pool, and individuals with new combinations of genes can be produced very quickly. That's not just an advantage against viruses. It's also very useful for adapting rapidly and competing against other species when your environment changes. New threats (and new opportunities) show up all the time, be it dwindling or changing availability of food, climate change (e.g. new ice age), new predators or new preys, and also a group of individuals migrating to a new region of the world with a different climate.
I think the point of the original post in this thread is that 40 hour weeks are in reality 20 hour productive weeks. So a company working 40 hour weeks where 20 hours are productive have the same output as a company working 20 hour weeks where 20 hours are productive.