skysight-inc/HackerNews huggingface dataset:
> The problem is that when you get into the habit of drinking 2-3 drinks every night you’re bordering substance abuse

If you're drinking 3 bottles of beer a night, 7 days a week, you're likely consuming 6 units of alcohol a day, or 42 a week.

The NHS (UK health service) recommends less than 14 units a week, spread across at least 3 days (so less than 5 units a day, 3 days a week, tops).[0]

Drinking 3 beers a day 7 days a week results in you drinking more than 3 times the maximum weekly recommended allowance.

I think we're largely in agreement about how one can drink, but 2-3 drinks a day is not 'bordering' on substance abuse from a health perspective. Societally we've normalised drinking to this level, but it's not healthly, and is absolutely substance abuse.

It took me tracking my alcohol consumption daily before I realised that my 1-2 beers a weekday / 4-6 beers a weekendday was so far beyond what is healthy, that I stopped entirely for 6 months. I've since backslid back into 1-2 beers a day. I know it's wrong, but most of life is right now anyway that it doesn't seem like that big a deal anymore.

[0] https://www.nhs.uk/live-well/alcohol-support/calculating-alc...
> There's millions of jobs that could be filled, but no one wants to do them because it isn't "prestigious" or some such. We need lots more electricians, welders, carpenters, etc., but good luck convincing people to go get the training to do those jobs - some of which are extremely high paid. Underwater welders can make up to $200,000 a year.

I don't think it's about prestige for the most part. It's just that those as HARD jobs: you exert your body way beyond what is comfortable, work in uncomfortable, hazardous and unhealthy environments (heat, cold, rain, smells, noise, dust), have to be constantly careful or otherwise you can kill/injure yourself or others and, after a decade or two, can easily end up with an injury or just worn out body (joints, back etc.) which prohibits you from continuing to work. $200k is worth it, but $60k, which is most people will be making, is probably not.
This feels to me like a person with some sort of mental illness or breakdown and delusions of grandeur and persecution. Their explanation doesn't make much sense. If I were Daniel, I wouldn't respond any further.
Introduction to medical imaging processing with Python: CT lung segmentation
>walked around my house for a few minutes to cool off

>it hurt me deep in my soul

>you don’t deserve my code

Grow a pair. This would be pathetic enough for a grown man to think or say in private, let alone sook about on a public blog for the world to see.

And it all seems like a thinly veiled excuse to boast about how popular his code is. I'm sorry that there aren't public parades to celebrate your unparalleled genius, your majesty.
Want to unlock the benefits that come with having a much lower blood pressure?
Here is interesting comparison of Microservices vs Monolith https://www.n-ix.com/microservices-vs-monolith-which-archite...
Using HPKE to Encrypt Request Payloads
Scientists decode the genome of million-year-old mammoths
Got it. Fancy weights.
Without that last sentence, I would have assumed you were referring to the recipient, not the sender.
I spent 3 months at a small court room last summer. 99% of what was ~done (or not done depending on how you see it) could fit on a laptop. The whole service, if in digital form would require near zero human intervention. These people are mostly trying to navigate bad software, bad bosses, bad archives and bad workflow. Oh and angry users of course. The computational needs are not even GPU worthy.

I'm not advocating a digital future[1], but a humongous amount of tasks at the service layer are really nil.

[1] humanly and sociologically I'd be much more happier keeping most of the system, people contributing to society together, but with better tools and better team spirit (achievable through a little cultural shift), I don't see value in replacing all tasks and letting people idle or live 100 years of leisure, I don't even think it's mentally sane.
Nvidia Limits RTX 3060 Hash Rate
I think this nails it. It's not the concept's fault if the implementation is half-assed.
I always use monolith when building my servers. Only split microservices part when it is really required. Particular example:

I've built native C++ server that does some complex computations in some business domains.

When this monolith exposes generic JSON RPC based API where agents (human or software) can connect and do various tasks: admin, business rules design and configuration, client management, report design etc. etc. based on permission sets.

Now actual business client came. They have their own communication API and want integration with our server and of course being "customer is a king" they want communications tailored to their API. I was warned that this customer is one of many more that company is signing deals with. Not gonna put Acme specific code into main server.

This is where microservice part comes. Just wrote a small agent that mediates between client API and ours. Not much work at all. Come another client I can add more specific parts to this new microservice, or give it to other team to build their own based on first one as a template.

Physical scalability - I do not worry about. We re not Google and will never be due to nature of the business. Still main server can execute many 1000s of requests/s sustainably on my laptop (thank you C++). Put it on some real server grade hardware and forget about all that horizontal scalability. Big savings.
You're describing a very intrusive garbage collector.

So, a weakly typed language with garbage collection? Where have we heard of that before?

I can imagine that if most of your code is for checking that the remaining fraction reads correctly from rvalues and writes correctly to lvalues and each check requires a round trip through a context switch, you're not going to be wringing very much productivity out of either your hardware as the CPU thrashes like mad or the one developer you manage to keep on staff.
Facebook is gambling Australia can't do without it. What if we prove them wrong
The general demeanor of that person, some of the lingo used like "rooting" or "federal server hijacking", the fact that in the screenshot he's using some text editor with ads in it to browse the offending code combined with the fact that he doesn't know what Curl is (if he did he wouldn't have sent this e-mail) screams "script kiddie" to me.

I'm not sure whether this person is actually responsible for a multi-million dollar defense project, but if he really was, it's probably a good thing he lost the deal because I definitely don't want that kind of person managing such a project.
In an iterative development process, it's not the end of the world to get potentially unsafe code out the door and then make it safe later, and there's a huge benefit in having unsafe code labeled and framed in source when security bugs are found.
This sounds like it could be an incredibly useful feature in IDEs. It reminds me of the timeline in Fusion 360 [0] which allows you to scroll back through time, make a change to a feature in ‘past’, and then jump back to the present state of the project.

[0]: https://www.autodesk.com/products/fusion-360/blog/wp-content...
Researcher hacks over 35 tech firms by creating public NPM packages
If people are arguing over what I meant, this system is the one I was thinking of.

The US already implemented tax penalties on no-coverage and could adapt them to be auto-enrollement in basic coverage at a high deductible.

I have nothing against single payer, but I don't think it is worth fighting for the details of it in the US system when it can be emulated like it is in Switzerland.

(But for pricing to be fair, the more important problem in to reverse the incentive for removing lower risk individuals into group plans and make sure everyone is considering the actual price of their insurance.)
> Maybe there is an underlying message, but I certainly can't see it.

Understand.

When you said “This one is anemic”, it seemed like you were able to understand the article and were critical of it.
> throw/raise is GOTO.

Worse, it's COME FROM!

https://en.wikipedia.org/wiki/COMEFROM
Brilliant article Martin and brilliant discussion Hacker News. This is why this forum is still the best.
What would senior do ? I think people prefer to stay in the group they worked but as a different kind of role, elder/wise still being part of the field but without as much pressure and more of a transmission/consulting role.
If you have actual abundance of natural resources, they are just not being extracted, you can get out of the trap temporarily by putting people to work on creating/maintaining the capital required for the extraction. The supply of labor is then the constraint for economic growth. This is what many communist countries (USSR, China) actually did during their own development. But eventually this capital accumulation will end and you will face the resource constraint, which is actually (somewhat counterintuitively) worse for the labor. People should want the economy to be constrained by labor supply.
?

(Is all I can think of as an answer)
Good summary of what procrastination essentially is: an emotional problem, rarely about "laziness" or time management. Readjusting your dopamine sensitivity will most likely solve most of it, trading my expensive gaming PC for a Macbook Pro probably was the biggest game-changing (pun not intended) event of my life so far, and greatly improved my relation to work and life in general.
A number of people don’t like it because the delivery company messes up the order (delivers cold, etc) and the restaurant takes the blame.
UK to launch 'high risk' science agency
Do Day Traders Rationally Learn About Their Ability? [pdf]
Some context: Daniel is the primary maintainer of curl (the ubiquitous utility and library for HTTP requests) [1]

His name often shows up in the licensing disclosures/attributions of applications that include curl.

The general opaqueness of modern software leads people to latch onto him and his email for all manner of things, and for non developers to attribute to him all sorts of bad motives ("You hacked me!").

This is especially unfortunate as Daniel has been such a genuinely positive and helpful face to a popular open source project. I feel awful that his generosity gets repaid with this kind of crap.

1 - https://github.com/sponsors/bagder
Even those languages start off with a small user base, right?

And some return to small user bases :) I think the number of VB programmers has drop to level below Haskell nowadays.
We don't owe it just to ourselves. We owe it to our descendants and our future self, primarily to those who will inherit after us.
It must depend on which area of business you're in. It's good to land in departments which generate most revenue (in our bank, that's trading) or in "this is the future" areas, which for us is big data and cloud. There, the money flows more freely and developers are more pampered.

Also, I'm working in a Scandinavian bank and work-life balance is important there (overtime is very rare).
When Did Everyone Get Blue-Light Glasses?
I tried the background sounds for a while. Didn't really make me feel like my usual bar - none of the regular customers there, no good discussions, no meeting new people. After a while I didn't hear the noise at all, it just blended in the background. Then I switched it off, and realized how much it had been filling. Fun experiment.
this is indeed useful, but what the parent comment is referring to is it also stores with local history outside of git. So you can check both git history for a selection, as well as local history that exists since your last commit.
I want to add one tool that (looks like) still has no mention there: clipboard manager.

Clipboard manager allow you to store all clipboard history.

Thats not the best solution, but at least for me with it I able to copy some original and intermediate states of code few times and return to it anytime in the future.
For other coming here who didn't immediately get the joke either. The kiddies attacking the sender were using curl to steal data, it wasn't an exploit in curl itself.
It totally doesn't! Excepting the case where the first sentence introduces an idea and the rest expand upon it.

Let's assume that restaurants don't want people to order their food through delivery. Why don't they just opt out? If they aren't opting out, then clearly the people buying the delivery are paying the same as any other takeout customer? Where is the problem here? What is the thing that gets people so very offended on behalf of restaurant owners? I actively want to understand this!
The TL;DR you should be looking for:

> all of this emphasises the fact that unless you have some super-niche use-case in mind, it's actually a better idea to choose your framework based upon ergonomics and features, rather than speed.
imagine being so bad at computers that you decide to blame curl for inventing hackers
Hand soldering 0201s and anything above is trivial. The problem is that managing components gets harder and harder the smaller they are. I did two practice kits and the problem is that I lost two 0201s out of 10 and couldn't find them.
The is the equivalent of sending death threats to the car company that manufactured the car that the robbers used to get away in after robbing your bank.
Yeah, I agree. In his place, I either would have done nothing, or, maybe made a police report (not that I'd expect the police to actually do anything at this stage). Generally speaking, the less you antagonize someone whose first exchange with you is "I will slaughter you," the better, IMO.
I have used Valgrind, Its nice but on the slow side. gflags is another great option. I would still like more options for instrumenting my own code. I have a fairly capable wrapper that takes care of most of my memory issues:

http://gamepipeline.org/forge_Debugging_.html

Most of why i want this kind of functionality is not to test my code but to be able to build tools. I have written a live memory viewer/poker. Memory query would really help that kind of effort:

https://www.youtube.com/watch?v=pvkn9Xz-xks
Mr. Wave may have meant legally objectionable as in "the objection that would be the core of the legal case" or "the legal system objects to this". Similar to how a legal complaint doesn't mean someone whining.
I've definitely also found that getting a project nicely setup can be a challenge in Haskell. That said, I don't see that as a huge weakness from a "pick an ecosystem for writing a production app" point of view. 2 weeks is peanuts in the grand scheme of things and it's a task that you will likely be doing exactly once, so optimising for it has very diminishing returns.
> so the lowest effort path will necessarily involve refactoring it until it does. And that means that rewriting it altogether into a new language has very few drawbacks, and some additional benefits.

No, because while some refactoring is necessary, it is virtually always local. E.g. if the sound checker can't prove that an access is within an arrays bounds, adding a dynamic test just before it (assuming you don't want to add annotations to help the checker) will make it provable.

Rewriting in a new language is certainly one way to reduce or eliminate memory errors, but if your goal is to reduce or eliminate memory errors in existing codebases, there are other ways that are cheaper, more proven, less risky and are applicable to more environments. These tools are already much more heavily used in safety- and security-critical codebases than any new language, so people are slowly getting good experience with them.
I'm not a psychiatrist, but it seems that this person has some severe psychotic disorder. The whole thing reads like a cheap knockoff of "A Beautiful Mind".
Technical debt is the 'surprise factor'
I used the Django ORM for surprisingly complex applications

I created a video streaming website, with 600k visitor days, that features tagging, categories, related vidéos, user upload, encoding queue, search with auto-completion and so on. It relies heavily on the ORM.

Django migration system and db model generation also make it a very nice tool for data export/migration/exploration.

The ORM provides a nice API, but above all, a standardized one, which lead the Django ecosystem to become so reach because of the assumptions the libraries could do, making you very productive.

Now, one has to remember:

- you can, and should by pass the ORM if you need it, writing raw SQL. Django let you do that.

- plenty of things can end up be in a cache, using varnish, redis, etc. Plus a lot of things should be done in task queues anyway, not in the django views. So the cost of the ORM is rarely an issue.

- complex data tables are sometimes better presented using SQL views, making the ORM model simple.

As usual with coding, it's a matter of gain and cost, and the right answer is "it depends". But you can go very far, and very comfortably with this tools, as long as you don't fight against its nature.

So yes, definitely use Django with the ORM. I am not advocating to use Django + SQLA, but rather contrast Django with Flask + SQLA.
Thanks this is really great answer. In fact I've noticed that the more experiences developers use "mental models" daily without knowing it.

For example that 80/20 rule you mention is actually a mental model called Pareto Principle, or Negative Space model when doing a binary search, etc.
Would sub-categorizing these help? Like statement contains a control flow statement or whatever other categories. A control flow statement can be a branching control flow statement or a non-branching one, etc. Or are these categories like “tags” where you might have multiple axes of analysis?

The former is available in Rust, just with a bit more boilerplate. The latter is probably achievable in some way if the language were to change and, even if not necessarily relevant to this problem, I could see being useful in some places...
Seems like a death threat from an icloud.com address. Chances are the real name and location of the sender is available to the authorities (with consent by a judge) from Apple.
How to Simulate I/O Faults at Runtime
I've seen the theme of "maintainer of popular open source product is threatened by person who doesn't understand it's just a component" show up a few times, but when I think about it most those times have been related to curl specifically. Maybe it's because of the domain haxx.se? Or maybe Daniel just writes about it a lot? Does this kind of thing happen so regularly to others?
It's hard to pinpoint but I think what takes me out of it most is there's no deformation of the lips while he (MeetMike) is talking.
Haha, this is exactly what I thought too, well put :)
Is it just me or is the response really unhinged? I have no idea what he's talking about. I'm assuming his systems got abused by someone using Curl?
I'm the first to admit I have it good, but I'm pretty sure that even at the FAANGs, where all the children are above average, salaries are not squeezing the bottom line.

It's not entitlement to want a fair share of the value you create.
I'm trying to make sense of the response. Someone used curl/libcurl in a rootkit? Is that all?
My guess is that the code that was thought through first will be better (easier to understand by the next developer) than the code generated by many iterations.
There are many, many ways to avoid a full scan. Fixing a dumb query and proper indexing (partial indexes if this is expensive), materialized views, and several more. It's very common the developers either resist or are not aware of how to use a database. A full scan is dumb and will retrieve all data of this big table without any filtering or even order. This is highly suspicious.

And in the very, very rare case it is absolutely necessary to do a full scan, then Postgres might not be a good idea. Why is it being bashed? I read "Postgres was 12h slow" not "we picked the wrong tool and of course Postgres was slow". Don't blame the hammer.

IME, it's common for programmers to not be educated on what modern databases can do. This was made worse with all the NoSQL mania ending up with the MongoDB is web scale. We are still dealing with the fallout of that.
But you can put down legal protections to prevent this circumstance occurring. It is just like not having access to medical care because you are poor. We put protections to prevent this happening, called public health insurance.

For the sister comment: I wonder why companies are not entitled to a public defender, interesting.
We don't have to be efficient, just small and reliable, no matter how slow... if there were enough small machines to turn out enough materials to build new ones faster than the failure rate, then geometric growth wins, and you can build whatever you want, eventually.
The need to be in London is slowly, softly, changing.

"London Money" has been good for a long time, but it's not just about location. It's a vortex effect that makes "London" a shorthand for "talented, productive and driven". If you're talented, productive and driven, you move to London where you can make more money (and work on more cutting-edge stuff). If you want those people, you set up in London and pay London Money to hire them.

It's not that you earn less in small-town Hampshire just because it's small-town Hampshire. The pool of talent there excludes the people who went to London to chase the big time. You pay small-town Hampshire money, you get small-town Hampshire people. And believe me, after nearly 20 years in UK software, those folks aren't great. Some are competent, but stuck in a technical rut. Others are just poor at what they do. This effect has been writ large in inter-country business - an Indian colleague told me a while ago that her opinion on why outsourcing was such a mess was that the best people leave for the US. The second tier leave for Europe or Canada. Who does that leave to work for outsourcing firms?

If the geographical vortex effect falls due to a change in working practices, companies are still going to need to pay to get good people.

Banks like JPMC and Starling know this - their offices outside London pay near-as-dammit London salaries because they want talented, productive and driven employees and if you want to attract them, you need to pay.
I live in London, in a mid-range area of London in terms of property prices. My wife's income is very close to my own, and we don't have kids. We currently rent, but we've put some serious thought into buying, including talking to banks about how much we could conceivably borrow for a mortgage given our current income, credit histories (which are good but not superb), etc.. We've been saving seriously for the last 2 to 3 years and we concluded that if we save for another 1 to 2 years we can very realistically afford to buy in London. But we probably won't, because money goes so much further outside of London that it doesn't seem worth the extra expense.

I suppose it was a little disingenuous of me to say that "I" can afford to buy when I'm taking my wife's income to consideration too, but then I imagine most people who have reached the point in life where they're thinking about buying a home are thinking of doing it with a significant other.

> be comfortable, if you lose your job you will not lose your home because you cannot pay 2 payments

In what country is it not the case that you'll get evicted for failing to pay your mortgage on time? Also, won't you also get evicted for failing to pay rent?
ScreenToVideo offers similar recording and editing options for Windows users. Please have a look at the features page (https://screentovideo.com/features/) to see if it suits your needs.
It's more like a death threat against a popular light bulb used in all cars
France to Scour Universities for Ideas That ‘Corrupt Society’
Don’t want to delve into any accusatory territory, but I’ve seen several new accounts with names following a similar pattern that post such material and dip.
Correct! :D