skysight-inc/HackerNews huggingface dataset:
I love it, I'm hosting a version for me at https://food.modispub.com/

The recipe importer is great, I was using paprika but there's always the issue of sharing the recipe with your friends. Here, I can share the recipe where they don't even have to login. The UI is responsive on the phone and the collapsing steps feature is just great. I'm not using the shopping list and meal planner on a daily basis.
Online Multiplayer UNO game made in React and Node for mobile browsers
What country is that? I've never been anywhere that doesn't have junk food available.
And in addition, you can be a master-coder but still suck at building products that solve your customer's problems.
One example of this from a while ago: https://www.newyorker.com/tech/annals-of-technology/the-past...

TLDR: A guy in Japan who worked on a solution to identify different types of pastries ended up creating a computer vision framework used in many domains. All this without deep learning. The article delves into the challenge that deep-learning brought to his business.
For sure. The problem isn't the people, though they definitely can be part of it, the problem is the process.

We never get a chance to reflect critically on our product. Imagine if an architect always would have their first draft constructed, without consulting a structural engineer, or the municipality or even the clients. They can't because if they did their company would either run out of money while they are at the drafting table, or a different company will build another shoddy but functional building faster and outpace them.

This is how software gets made, not necessarily by unqualified engineers, after my degree and 15 years of professional experience I feel my first draft on a software project has a reasonable chance of standing up in the high winds. But hasty and incomplete processes.

Agile like processes are an improvement, at least there is allotted time for improvements and corrections while the apartment building is still 1 story before and the customer can at least walk around a fully furnished apartment before we slam the other 99 on top.

We never get the chance to have our code audited when it is done, but before it is pushed to production. Best we can do is have a test suite with good statement coverage.

That being said, if we improved this situation software would be only marginally better. As awful as some of these problems are, they can slumber in software for decades before causing any harm, and frankly the amount of harm is quite limited.
The epoxy resin is mostly BPA. [1]

[1] https://www.coca-cola.ca/faqs/coca-cola-faqs-health/do-coca-...
Fun thing (or not, depending on how one sees it): the trends of "Ruby" and "Ruby on Rails" match almost exactly:

- https://trends.google.com/trends/explore?date=all&q=%2Fm%2F0...

- https://trends.google.com/trends/explore?date=all&q=%2Fm%2F0...

But this is well known :)
Lead by example. Instead of criticizing others.
3 simple steps to lose weight:

1) Make yourself familiar with the energy contents of foods you usually eat.

2) Identify 500 kcal that you can cut out of your daily diet by eliminating the highest energy items or eating less of them.

3) Lose about 2 kg each month.

By reducing your caloric intake by 500kcal a day you save about 15,000 kcal a month. That is equivalent to 1.7 kg fat (assuming 9kcal per gram fat). Since there is also some energy lost in conversion of food to bodyfat the weight loss will be slightly higher than that.

500 kcal can often be saved by simple measures like swapping fizzy drinks with water. Another big saver is to not have second helpings (or renounce the third helping if you tend to have it).

Awareness of the caloric content of the foods you eat will enable you to control your intake much better. And reducing intake is the key to losing weight.
I've never lost weight faster than when I was on ADHD medication. It makes you stop realizing you're hungry, and you can easily go an entire day without eating anything at all. You'll feel tired, but not instinctively realize why.

It was really unhealthy, too. I felt like my heart was racing throughout the day, and I couldn't stand it.

Ultimately, ADHD is a unique kind of superpower when applied correctly. It gives you a certain kind of hyperfocus and flow, and the medication wiped that out completely.

I haven't been on meds since.
Maybe because these companies see the coding part as almost mechanical and try to tackle the complexity with (often overboarding) design and processes? Problem is that those assume that a tree like divide-and-conquer will reduce complexity in the "leaf-nodes", but as soon as you have a lot of cross-cutting dependencies everybody is shaking that tree.

The problem with "artisanal developers" is that they tend to overestimate their proximity and underestimate how much of a "system" they actually should build. Most of the time they lack domain knowledge, too.

If you can identify the cross-cutting interactions that will result in the biggest risk for the project, and put how to handle those in a design that is communicated well, you can leave freedom how to do the rest and the craftsmen will be appeased. But that needs a good deal of domain (and people) knowlege.
What a wild story. Everybody is taking these amateur events way too seriously. Not just Meza, who went through all the trouble of doing that, and all for social media points. These Internet patrol guys also seem a bit pathetic, like Derek Murphy. They've got way too much time on their hands. Are they also going to report kids that cheat on board games soon?
That's a... very selective reading of history. The Boeing 737 MAX crashes, for starters, are of far more recent memory.
This is so cool! Got it running locally and it has all the features that my girlfriend and I would need. We're usually doing this planning on paper and it's quite some time involvement to be fair.
This can massively help. Thank you for the DB + API as well.
JOOQ
Chemistry is complex enough that layman cannot make any assumptions. For all we know stainless steel and carbon steel have higher content than the cast iron, but leach less because it's far more stable.
ReversibleHalftoning: Deep Halftoning with Reversible Binary Pattern
YouTube is one of the few websites which I wouldn't trust to have a video that I watched today be available tomorrow. The reason can be anything — local geographic censorship, copyright strike, uploader removing his own video, video becoming private, lots of other things I can't recall right now.
Full page screenshots are actually supported by FF, Chrome and Safari (even on mobile). For some reason, the feature is always hidden in some absurd place https://www.idownloadblog.com/2021/04/08/capture-full-page-s...
Maybe the idea is that Poland is reachable by Russia, making it easier for skirmishes, to escalate the situation for Russia. Then US can say: look, I knew Russia wouldn't stop at Ukraine.
Private methods only exist to serve public methods.

So if you are testing all the public methods you are at the same time testing the private methods that get called.

In the programs I write it is often the case that there are private methods which nobody calls because the program has evolved that way. It would seem wasteful if not misguided to test something which nobody calls but the tests.
Purpose built barcode scanners typically don’t fumble with autofocus have faster 0-latency autoexposure (adjusted during frame readout) and even the good 2D CMOS sensor ones will start decoding linear or stacked codes such as PDF417 while the frame is being transferred. That can’t be beaten for latency.
There are many institutions waiving fees for Ukranians, I was thinking if VPN companies offered free access (maybe with limited hundred kb/s, and things like no torrenting) to Russian IPs, it would be an interesting move to fight Putin's information war.
In the US, sure. The machine learns from what has already happened and the place is notoriously racist (or at least the police is).
I think it's in the "hacker's" interest to optimize and improve the tedious chores like meal planning and grocery shopping.
I've lost 15Kg in around 3 months. All I needed to do was stop eating all the time and stop eating a lot. I also stopped eating anything with very high caloric content.

I had been going to the gym for 2 years before that and no signs of losing weight... once I reduced the amount of food and calories I was ingesting, surprise: quick weight loss.

Your weight is a function of your diet and the amount of physical activity you perform. The problem is that when you increase the amount of physical activity you do, you unconsciously also increase calories intake.... very hard to not do that. It's a psychological problem: just accept that being hungry is fine sometimes. You don't need to have your belly full all the time. Go to bed hungry! With time, you learn that you won't even feel hungry anymore and consequently you lose weight... up to the point where your weight reflect your new calories intake again... I stopped at 75Kg exactly, and it just goes a few 100's grams up/down but I am happy with that (started off at nearly 90Kg).
No language ever dies, so talking about Rails disappearing is nonsense.

On the other hand, the interest in it is simply declining, and consistently so (check out the Google trends post above).

> Ruby is finally improving it’s static analysis, async and threading weaknesses.

They're great things (not sure if with "static analysis" you refer to static typing), although threading will never be realistically adopted, giving the 25+ years long history of thread-unsafety (both in terms of library and culture).
Underlying issue to this is the "best practices" mentality.

It's an unnecessary burden to look after "the best tool for the job". In order to know "the best", you have to know all tools deeply enough to judge which is the best.

Should be able to judge whether the tools I currently have are suitable for the problem or not. If not, should be able to search efficiently for one that suits and to learn it to the degree needed.

Finding the right balance of judging, searching and learning can be a joyful adventure.

Constant questioning "is it the best" is a nightmare...
Swapping fizzy drinks and juices with water can easily save 500 kcal a day, which can tip the balance from net caloric surplus to net caloric deficit, that is, from weight gain to weight loss. 10/10 can recommend.
Yes, and the poster said it was "russian kombucha".
Eating once a day is a type of intermittent fasting, which has been well studied and shown to have some of the health benefits of fasting.
Mate, don't point it out! Just enjoy how nice it is being able to be a "professional" without having to be a professional and regulated all the time. Imagine in ten years if they brought in a bunch of tests you had to do to get a programmers license - I'd honestly probably just change career, and in the end we'd just end up with a further shortage of programmers.

I use basically nothing of what I learned at uni to do my job. Everyone knows that the best devs usually didn't have any formal education. It's all based on merit - let's just keep it that way as it seems to work fine.

As a counter example - I'm currently living in Germany and I need a guy to fix up the walls of my house. Problem is it's impossible to find anyone to do it because there's not enough qualified craftsmen in the country. Everything is so tightly regulated that nothing gets done anymore, so instead there's a move towards folk trying to do it for themselves and buying materials from non-regulated big American-style hardware stores. Wouldn't life be better if we all had a broader skill set and were able to hack things together ourselves in an unofficial capacity like programmers do?
Not sure if it’s weird but sleep is very important. If you don’t sleep well then you’ll have elevated cortisol levels leading you to overeat.
>Is there any hope that the upgrade treadmill will stop any time soon?

The bottleneck for most slow/old PCs is not actually the CPU. Dried thermal paste, mismatched low speed RAM sticks, operating systems installed to mechanical disks and weak iGPUs are often to blame. You can fix most of these easily at home for very little money and keep using old systems.

Most people are sadly too tech-illiterate to really understand what an SSD is, so I still sometimes do SSD upgrades on almost brand new laptops and pre-built desktops for friends and family. OEMs like to add insult to injury by bloating up the default Windows install with janky driver control panels and adware. A new SSD, a clean OS install with generic drivers, new thermal paste and some compressed air in the fans will make those PCs work better than they did on day one.

I have a few of those kind of machines around the house...
"Permanently Unrecoverable"? I can understand they stop sale activities, bring something offline to follow the sanctions.

But deleting user's data? as a DBaas company?
More people would believe that if you communicate it exactly like that.

"We are not sure how much protection masks do offer, but if you want to be cautious it is highly recommended to wear them and we are looking to mandate use in certain locations out of caution".

Would not be too difficult and summoning a ghost just induces more mistrust. Another advantage of being honest here is that you can recall that policy without losing face. It also does not induce unrealistic expectations which will haunt you on other policies.

> there is also the very human political phenomenon of anti-authoritarianism, in which there is a segment of the population that is predisposed to oppose government mandates of any kind

I don't really see the disadvantages here to be honest and they wouldn't have much room for opposition.
> And their 4nm must be on track to market at 2H 2022.

How does that follow from this?
Private methods generally are a code smell anyway. If you have dozens of private methods in your class, something is probably wrong in your general design.
Solvespace is amazing, I have been using it all day. Looking forward to trying out the blender plugin!
Anecdotal, but just make sure you don't lose weight TOO fast. This is one of the ways in which gallstones are formed.
1/3 of critical WordPress plugin vulnerabilities never patched
I'll make the PR if you don't have the time. It's a great feature and aligns perfectly with Chrome's (original, stated) reason to exist: to make the web better.
Hold on. I think only a handful of geniuses understands the whole stack: from electrons moving in your PC to a hyperlink. Even they are really only good (experienced) at one thin slice of that big layered cake.

Most in this trade work on a layer near the top (closer to the end-user) coding just a bit of logic and gluing together building blocks in order to provide a solution to real needs.

The trade seems trivial because the hard work (millions of lines of code) is already done. And that right there is the brilliance of the whole thing: take any layer apart and it will be done of smaller pieces which have been debugged to the point of being practically flawless (yes, we still find bugs in code that is out there for years, but that is the exception not the rule).

On the other hand, if you want accountability and guaranteed results, you have them already: formal software development processes used by the likes of NASA or the military.
Check out some before and after pictures of drinkers who've quit.

I've never had an issue with weight, but alcohol clearly a major factor with many other people's. Stopping drinking was the one change that worked for me in most parts of my life.
Huh, Data.Text has been around forever. And the datatype that you will find in almost any Haskell tutorial is still 'String'.

It is really a pain that any beginner in the Haskell language is learning what seems the obvious datatype for strings, i.e. String, and later has to unlearn that again.
On the other hand, I’ve seen things such as e.g. approaches which amount to caching, being put forward as ML for database performance optimisation. So there’s also quite a bit of in your face ML that is not even ML to counter the transparent real ML.
Shouldn't that be a "cannot solve" in the 3rd paragraph?
I know this is hard to hear, but stop with the "tricks" thing. If you want to lose weight, eat less, eat healthier, and get more exercise. I know, I know, it's not just a simple "calories in minus calories out"; there's more to it, but this is where you need to start.

You need to eat fewer calories. As lame as it may sound, install an app like MyFitnessPal and count calories for a while. You don't have to do it forever, just until you start developing an intuition as to how much things "cost" calorie-wise. The most important thing is that, when modifying your diet, you do it in a sustainable way, something that you will stick to. If you hit your target weight and then go back to your old eating habits, you will gain that weight back in no time.

You're also gonna have to exercise (in addition to the diet changes; exercise alone probably won't help that much). This doesn't have to mean going to the gym for two hours every day. A half hour walk once a day, or a half hour run three times a week is fine. There are many other aerobic options if walking or running isn't your thing. If you aren't feeling fit enough for something, start slow and work your way up to it. You can also do some light resistance exercises like push ups, tricep dips, squats, lunges, planks, etc. to build some muscle (running will build muscle, just it's mostly only in your legs). These exercises will burn calories in their own right, but adding muscle will increase the amount of calories you burn even while you're sitting around doing nothing.

I'm not saying this is easy. It's fairly simple. But it's not easy. Don't go for silly "tricks". They won't work, and you'll be trading one unhealthy situation for another. Change your diet and exercise more. That's it. Find something you can stick with and... stick with it. Simple. But not easy.

Edit: the only real "tricks" I can think of are mental. Throw out all your snacks at home and don't buy any to replace them. Only keep food that you'll eat as part of your regular meals. Avoid restaurants if you can; if you can't, only eat 2/3 of what you're given, as portion sizes and calorie counts are high. Keep a water bottle with you at all times, and if you're tempted to eat when you aren't supposed to, drink a bunch of water until you start to feel a bit more full. Oh, speaking of that: don't drink anything but water.
>The solution lies with us. When programmers have ethics and courage, enough to say "no", it will make a vast difference.

In the context of your statement, how are you defining "ethics"? One could argue that it's completely ethical to trade one's information or skills on a subject to the highest bidder. That's how a job works. What someone does with a knife or book doesn't concern a storekeeper after the purchase. Absent any evidence of one's rights being violated, what does it matter what another person chooses to do after one has been compensated? He has his life and you have yours.

>They take software and turn it to inappropriate ends, misuse it, abuse it, make it a panacea, a weapon, then a crutch. They build whole cities and societies around things they neither understand nor appreciate the origins of.

In this context, who is or should be the arbiter of "inappropriate", "misuse", "abuse", etc. ? I agree with you that many people don't understand the totality or consequences of what they purchase. But is that to be held against them as evidence of "unworthiness" or that they must patronized?
It is available, it is just not common, I'm from Sardinia, in my province ( Oristano: an area of 3000 square km) there's only 1 McDonald's, and only teens go there. If you don't live in the main city, a trip to McDonald's can take easily 1 hour or more.

We dove a lot of pizza places, but it is Italian pizza and it is not as caloric as the American version, ours is made with 200grams of dough and has less stuffing as possible, one pizza should be around 800kcal and majority of people I know usually eats 3/4 of it and leaves the remaining 1/4 for the day after
> This is the start of a bureaucracy that will grind progress to a halt. Because now instead of solving problems we get to create a commission who can appoint a club that have the right to appoint the master craftsmen who will be capable enough to formalize best practices.

This bureaucracy already exists, across myriads of RFCs, language design committees, FOSS groups, GitHub issues, Gitter servers, listservs. This process already exists, it just bumbles along inconsistently from community to community, company to company, project to project. And perhaps it should, because no size fits all. But it does exist and any attempt at formalizing them would not cause the start of a bureaucracy to exist, because such bureaucracies are in abundance in software development already.
You’re totally captured by propaganda, and unable to debate even one meaningful point.
The issue with standards is that they only capture a very, very small part of the problem.

Let‘s look at the results: NASA probably uses some of the most rigorous development and testing methods in the world, but I‘d still rather trust my life to the flight control software of SpaceX who doesn‘t give a damn about education.

The banks losing data mentioned by OP are way more rigid in their hiring and certification standards than a Stripe for example. Who would you rather trust on security?

My point is: I’m all for better code, but Culture trumps certification and standards every single time.
I gave a try explaining it the easiest way I could here: https://news.ycombinator.com/item?id=28844533