skysight-inc/HackerNews huggingface dataset:
> how to I test to make sure all those private methods do what I want them to do so that I know which one is broken when my public method breaks.

You don’t. You test only the public API. This way, you can refactor the public method to your heart’s content without any tests breaking.
Nice joke, it takes longer to upload firmware with the unit test suite than that.

The test that is too short is most likely not being thorough enough, or the functionality it tests is so simplistic the test likely brings no value.
Complete Fun to Imagine with Richard Feynman(1983)
I agree, someone speaking multiple languages will not suddenly become good at programming.

But there is a study that showed, that talent for languages matters more for programming skills than talent for mathematics.
I drink maybe once or twice a month. While I'm a social drinker, I don't really drink more than 1 or 2 in social events. I don't drink until I'm drunk and usually cut myself off as soon as buzz kicks in.

I do enjoy drinking in social environment, especially as I got older. Maybe there is a better way, but having a drink in social environment seem to open people up more. I feel there is a bit more closeness in those envs.
> Being married does not raise your income. Rather, higher income makes you more likely to marry.

Being married makes the family more financially stable due to sharing of expenses either having two earners or being able to divide working and taking care of the household.

> Which also means high levels of domestic violence and simultaneously escalating domestic violence due to inability to leave. Up to and including domestic murders. The fact is, Islamic society does not look like society with better families to me.

Domestic violence is an orthogonal problem that’s common across the developing world, and unfortunately quite common in the developed world. But it doesn’t have much to do with marriage, because of course non-marital relationships can have domestic violence as well.

In the US, domestic violence isn’t especially more prevalent in communities that maintain strong taboos on divorce (Asian Americans and Muslim Americans). Meanwhile it’s unfortunately the most common in communities that also have the highest rates of divorce and out of wedlock childbearing.
But why can't you just return a 404 with no content instead of a 200 with no content?
I'd be surprised if more small businesses hadn't, the credits sales people are willing to give you are massive
Thisreminded me of another programming thing based on lambda calculus: https://justine.lol/lambda/
My children are now over the age of ten. I find myself in a great place to start doing other things. I can do much more in the evenings, as long as I'm available for their taxi service. And me being out of the house has little to no impact on my wife.

The thing about having kids is that it's increased my drive. I had a few years where I failed to do things in the little time I had, so learned to push myself to do them. That's still there, in addition to having more free time.

So it's great! It only took...ooh...fifteen years?
I agree with all this. Times are changing and its happening so fast that not everyone can catch up.
All the problems we had in the 70's did not get fully resolved, but seem to be getting worse, just look at global warming or oil and gas prices jumping sky high. Not to mention housing prices.

Will see where the world goes in the next decade.. I sure hope it gets better.
Welcome to 'Le Monde' in English
There's still an epilogue panel after that.
>Elon Musk has something special that you don't have

Yeah, and I don't want it. Even he admitted it's not good being himself.
I recognize that this is largely a tech forum, but I find it interesting that you choose being a founder or CEO of Google as your benchmarks as opposed to walking on the moon, curing cancer, or something else. Not a critique, just an observation.
Yes, completely agreed with your corrections. Research is really the term I should have used and, as I clarified in a response above, it’s certainly true that, especially in STEM, there are at least industrial and academic tracks.

I would just clarify that my only intention was to address the particular case of someone currently working in tech who would like to additionally pursue non-STEM studies for their own sake. In that case, rare but that I wish were not so, the part-time, dissertation-only PhD programs of many European nations (Germany and the UK in particular) are, on average, a better fit.
No, the point is to produce
constant stream of mediocre workers that support power.

The way they teach math in highschool and most colleges is retarded. People succeed despite it and not because of it
Your country's intelligence service protects you from malicious actors.

Defunding them would be as dangerous as defunding your military.
What an excellent article title. [edit] Perchance, why? Why is the Wolfram Institute Necessary?
https://timothy.de is mine I‘m mostly sharing product validation insights on there but also use it as a portfolio/branding thing
You might like to make a top-level comment about this. I think some of the people who see excessive negativity in attitudes towards Wolfram don't know about the plagiarism.
That person never wrote portable code. I wouldn't envy anyone maintaining or refactoring it to support more platforms.

Main reasons to have dependency injection is to have properly runtime switchable code with less shared state.
That it makes testing easier is a side effect.
So lambda invoke direct via api has 6mb limit: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-...

But api gw is 10mb, not for lambda tho, confuse:
https://docs.aws.amazon.com/apigateway/latest/developerguide...

Use s3 object lambda and have no limit to push to s3 with logic, adds a bit of latency tho https://aws.amazon.com/blogs/aws/introducing-amazon-s3-objec...

All historical but hard to understand the limits as a poor user..

Ended up going with cloudflare workers for s3 uploads with extra logic just to avoid the unknown, workers are great btw.
It's noble, but for me it's once again... pointless.

I don't have the money or power to enact any meaningful change. I can give my time or some money to others, but I'm not really fixing anything. I'm just drying ice.

Maybe I'm not selfless enough? I've never tried anything like that, so that's at least something new. Might give it a try
There are a lot of factors that go into milk and its taste. There's: pasteurized (most American milk), homogenized, ultra-pasteurized or UHT (which most German milk probably is), raw milk, how quickly it was cooled-down, cream content, and then there's the variance between dairies based on things such as breed, feed, time of year, quality of life, etc. We can't accurately make blanket statements about one country's milk one way or the other.

There are two dairies near me that I purchase from, but the characteristics of each's milk varies quite noticeably. Dairy A tastes just okay and goes bad after about 5 days. Dairy B tastes excellent and keeps well for at least 8 days. They're both pasteurized, unhomogenized, and packaged in glass jugs. Dairy A milks holsteins (less cream). Dairy B milks jerseys (more cream). Dairy A's is whiter in appearance (less silage/forage, more grain). Dairy B's is yellower (more silage/forage, less grain). No two dairies are alike.

And better than both of them, there's a raw milk dairy that I sometimes buy from whose milk tastes best to me. Plus, it doesn't spoil like pasteurized milk. Rather, it goes sour, and when it sours, I can still use it for cooking and baking.
Let's talk about your other friends from high school though.
Climate scientists are desperate: we’re crying, begging and getting arrested
>Eggs are fragile, but maybe they used dried egg, or maybe that wasn't a problem.

Or they used chickens.
Bel-T – Belorusian government-mandated encryption algorithm
How the Global Energy Crisis Ends
It depends on what you’re doing. I’ve never had a problem with USB ethernet adapters (I expect most of them Realtek) on macOS, but I generally haven’t been trying to push sustained gigabit speeds for long while sharing the bus with other devices. While driver quality is mentioned, sustained speed seems to be a big part of what they’re talking about (hardware offloading, bus bandwidth, etc.).
Thank you for posting this - I read the article too and was left feeling somewhat "dumb" and confused by all the scientific and market speak babble thrown in there. I was doubting my own intelligence for a bit there ... :)
B-Trees are very much not bad for CPU caches,neither are tries. Generalizations like this are harmful.
The mandatory vaccination is the single biggest crime committed by the Austrian government against us in my lifetime.
Sfera project – a new generation ecosystem
Our team is developing the SFERA digital ecosystem with various functional services. The concept is that all content should be useful, and each service should be aimed at solving problems in real life.

As well we have taken another approach to implement many services on one platform which is to make all SFERA features available through a single icon on the desktop of your device. Our product is not an app store, but much more than a super app.

We invite you to evaluate our view on the new generation of social networks.

Since we took on the creation of a fundamentally new product, we did not have the opportunity to rely on the experience of others. I had to solve a lot of problems regarding the architecture of the application. In the six months since the release of the application’s first version, we have significantly improved app performance and its stable operation. In order to continue to improve the product, we need to expand the community of testers.

Currently, the SFERA digital ecosystem includes the ASAP messenger (the link between all services), the MeetNet dating service, the Choose Instant Questionnaire, the anonymous Black Box community, the VideoS service for short videos, Find Friends for finding friends, and the publications feed.

We are currently writing code for the job search service and Work and Business employees. At the first stage, we decided to release the Light Job app for job search service, which has only a part of the Work and Business functionality.

Now we need to test the application on the maximum number of devices in order to make the necessary changes to the code and consider all possible use cases.

At the time of this publication, there are about 30 thousand users in the global SFERA chat.

iOS and Android app versions are in early access with limited functionality. We plan to expand our app to desktop version in the future. We are currently looking for investors to accelerate app development, and as well we are approaching the release of the beta version of the application.

We are grateful for any assistance in the development of the SFERA digital ecosystem.

Download links:

android- https://play.google.com/store/apps/details?id=zone.sfera

iOS - https://apps.apple.com/ru/app/sfera-project/id1498046044

Or in the search field: SFERA Project
Not finding it funny doesn't mean some people here wouldn't
If most people feel this way, does it mean that it's "normal" to feel this way?

I torment myself with similar thinking.

1. Objectively speaking I have achieved a lot in my life, from where I started to where I am now, I am living the American dream, and then some.

2. I KNOW that I have a lot of unfulfilled potential. No, it's not the sugar-coated way to say that I am a loser, my "problem" is non-crippling anxiety: while I seem to be perfectly functioning on society, I procrastinate A LOT, and I suffer fro "failure-to-launch" syndrome.

I am getting better but not better enough.

Case in point this morning I was thinking about starting my own "100 days of rejection therapy" in order to improve. The kicker? When Jia Jang's TED talk came out in 2017 I told myself I was gong to do it. Today, 5 yers later, I am still thinking about it, and NOT doing it. FML.

Steven Pressfield calls it "Resistance", I call it Anxiety. Regardless, I can't help but wonder if:

1. The economy must lose trillions of dollars in loss productivity and loss opportunity due to resistance/anxiety

2. Is there a business to be made addressing this problem. It is a problem, but how to address it and monetize it?
As long as you keep on using common services that are available everywhere-ish (=virtual machines, NFS file share, managed mysql/pgsql, managed kubernetes, DNS) it's relatively painless to switch if you're using Terraform.

Worst problem in my experience is all the stuff that creeps upon you with time that assumes hardcoded IPs and service names.
Nuclear is the worst form of stable, non-fossil fuel energy source, except all the other ones we tried. Or do you have an alternative in mind?
We used something like these when I was a kid. In the village where I grew up someone had made a concrete barrier about ~70cm high between some rocks (see [0], it's now a bit ruined) that created a rockpool as the tide went out. Fish (usually little shoals of young mackerel we called "sile") would collect there and it was pretty easy and fun to catch them with a net. Oh and there was a small pipe in the barrier that drained the water so if you were really lazy you could just sit there with a net and grab them as it drained.

[0] = https://www.google.com/maps/@56.793725,-2.3355133,3a,28.8y,5...
Visual programming is generally considered easier to learn and there are lots of people who can't code who want to make games.

I don't really know why people consider visual programming easier than code once you know how to code I find visual programming very difficult to use or maintain a project of any moderate complexity. Theres no standardisation to visual programming either if you spend time learning one system for games and now want to make a website you now need to learn a whole new system and way of thinking about logic. If you spent all that time learning python then you would know python and could just do whatever you wanted.

I think its popularity comes mostly from fear of code, colourful icons look more approachable and easier to understand than a scary wall of text. I don't think it is easier to learn but I 100% recognise any time I have taught some one to code the number one hurdle is getting them over their fear of trying something new visual programming seems to do that well.
Going to strongly push back on adoption being morally or ethically superior to having children the ole’ fashioned way because of climate change. I don’t see this as a productive train of thought and more likely solutions for climate change exist elsewhere.

It’s ok to have kids. Adopting kids is nice and that’s ok too.
You're putting it mildly. This is the most tyrannical technology in the history of humanity.
That's surprising to me, because the author of that book recently re-advertised his long post about a hard-line definition of a "unit" test

https://www.artima.com/weblogs/viewpost.jsp?thread=126923

I think the properties you list are good ones, but if you drop the word unit from your post the advice is just as good and you can't get mired in ontological discussions
I’m really curious how this math adds up given how inexpensive OVH is.

Other people in this exact thread are saying they experienced an 80% cost reduction by moving from AWS to OVH.

https://news.ycombinator.com/item?id=30943058
You mean the reverse? You can use Cloudfront without S3.
I know that modern Fortran is a thing but from my limited experience, it is being phased out. I work for an aeronautics company that has a lot of Fortran code: flight models, material calculations, etc... Some of it is maintained but I didn't see any new Fortran project, and most of the legacy Fortran code have been replaced by C++, Java, etc... as well as more specific tools like SCADE (which generates C code).

Same thing for ADA.
I have fond memories of tostones(literally translates as toasted, but actually twice-fried) plantains from college.

Long-time friend and then-roommate is Panamanian so we ate them frequently as an appetizer before (usually) a pork main.
Yea, that is also my experience working mostly in startups. I wonder if they will keep up this credit strategy.
I have. I was working for a company that had its own data centers, but we were running out of space and time to add more. We were already using Rackspace as a managed hosting provider (we didn't want to manage our own infrastructure), so we decided to move from our data center to Rackspace's data center.

The difference in terms of services was negligible, because they all offered almost identical services. But we did it because:

* We were looking for someone to manage the hardware and infrastructure for us.

* Rackspace's managed hardware offered higher availability than what we were able to achieve on our own.

* We had a relationship with Rackspace and they understood our needs, so we felt comfortable switching over entirely.
https://www.youtube.com/playlist?list=PL6McYun7ERj4ZfT3DPlDt...
You might not have the power to change society or the world, as a whole. But you definitely can impact individuals. If you volunteer as a tutor for kids with learning disabilities for instance, I’m pretty sure you’ll make an impact on that individual.
> I could try to focus on my hobbies, but you realize very quickly that to get good at anything, you need hundreds/thousands of hours.

Be careful. You might regret this, or at least wished you'd done otherwise.

Some years ago I bought a guitar. Worked at it initially - got distracted - and then put it aside. I now realize had I continued to pick it up everyday (or so) for say 20 to 30 mins I'd be able to play well enough by now. Perhaps not Hendrix or Page but enough to enjoy myself :)

What's the point?

The joy you brinb into the world. For yourself, and for others.

Pretty much anything else is overrated.
> not hack the various biomarkers higher or lower until the numbers look good

Goodhart's law is an adage often stated as "When a measure becomes a target, it ceases to be a good measure". (Wikipedia)
You're focusing too much on the macro and "the universe". You live one life; enjoy it and help others to be able to enjoy theirs too. Yeah, everything is pointless if you view your life through a cosmic lens. Is it pointless for the ant or bee to exist and work for its colony?
> Don't switch to Azure unless your employer forces you, you will regret it.

Can you give any details? Pricing, reliability, weird quirks you have to program around, ...?
Stellantis (Opel/Citroen/Fiat/...) will be all electric by 2026: https://insideevs.com/news/570731/stellantis-electric-europe...
Volvo will by all electric by 2030: https://www.autoserviceprofessional.com/articles/8910-volvo-...
Mercedes will be all electric by 2030: https://electrek.co/2021/07/22/mercedes-benz-go-all-electric...
Volkswagen is converting three factories (Emden, Chattanooga, Hanover) to build electric vehicles this year alone.
Ford will be selling 600000 EVs/year in Europe by 2026 (https://cleantechnica.com/2022/03/14/ford-plans-9-electric-c...)

There is a lot of capacity going online.
Nord Security raises outside capital of 100M at 1.6B Valuation
> Why is this a problem? Doing maths purely for its own sake is as valid and useful as painting a picture, or cooking a delicious meal instead of just eating dry bread.

It's a problem because Wolfram named his book A New Kind of Science, not A New Kind of Doing Maths Purely for Its Own Sake.

If Wolfram just went around saying "hey, cellular automata are fun and interesting for their own sake` he wouldn't get the hate he does.
Is it possible you’re setting your threshold for meaningful change to high?

I have friends that have made it their life’s work to get their city to install more bike lanes. They’ve been pushing for a decade and the city has installed a few lanes in particularly dangerous places. They have likely saved a bikers life.

I have friends that volunteer at a crisis center and all they do is talk with people who need help. They aren’t making big changes but are positively impacting the lives of people around them.

There are so many meaningful ways to improve the world around you that don’t require you to have millions of dollars or to go into politics.
Glad to hear I'm not the only one who stuffs as much music into their phone as possible :) Not an apple user, but I'd also enjoy some sudden extra 6% for sure.
For a contrary view, see:

https://quii.gitbook.io/learn-go-with-tests/meta/why

The book is Go specific but there's a lot of wisdom in this particular chapter that applies to any language.
https://embersofsolace.com
This site shows off the game I've been working on in my free time for way too long. It's very much a labor of love and just something I do because I enjoy it.
Having spent time in biology, being CEO of Google is a way more realistic goal than curing cancer. As far as the moon, I grew up on Star Trek and the idea of spending my life in space and seeing new things was absolutely what I wanted. But once I found that Earth contained a lot of utterly fascinating people, being able to meet them mattered more to me than spending a shitload of time getting as far away from them as possible to do a fairly small amount of rock collection - I'm going to be exposed to more new ideas staying here than I am up there.

But it's a fair point! Our aspirational goals are influenced by what we believe is possible, and that's amazingly contextual. What we're lead to believe is possible changes what we believe should be possible for us, and that changes the standards we set for ourselves.
https://doc.callmematthi.eu/
This is basically a personal documentation (mostly about Linux and related topics) that I've decided to share with the world, since most of it comes from the Internet. It's a collection of "HowTo's", tips, and numerous details about computing that I'm happy to read again after forgetting them.
Under the hood, it's written (with Emacs) into XML files, and rendered to HTML by XSL style sheets. The online version is completely static and is served by Nginx + Varnish.
Apple’s album art has been janky for me for 20 years. I’m sure it would be less noticeable if I had mostly mainstream music tastes, but after years of doing album art manually, Apple screwed it all up multiple times and I stopped caring as much about fighting around the time I gave in and started streaming more music.
Taken alone this might be unfortunate, but given Apple's long-standing trend of upselling storage at hugely inflated prices it's pretty damning.
i think it depends at what stage the projects are at.

for example the UK's High Speed railway has seen so much money (and so much digging), that I think it's impossible for the next government to simply cancel such a big project.

but what you're writing about can be seen across the western world. the French government recently announced a similar nuclear strategy. but their election is happening in a few days :)

the German government did a similar announcement (i forget the topic, wasn't nuclear of course), but they just pushed the date till after their next election :)

i think this is just an inherent issue with democracy. the more polarised the electorate/political parties or the more contentious the idea/project, the more unstable these kinds of commitments. less polarised electorate/parties/ideas = more chance of success. see Japan, Singapore, etc

ironically some non-democracies have been faring quite well. see UAE/Middle East. it does help some of these are flush with cash. easier when you've got unlimited cash and no elections to worry about (quirky fact: having no elections also means saving money).