skysight-inc/HackerNews huggingface dataset:
> Does that mean all programmers should dumb their code down so even beginners with no domain expertise can understand it at a glance? Should we strive to satisfy the Shakespeare for Dummies demographic?

Having been on call for other people's code I can tell you that the idiom "Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live" is a very good idea and you should stick to it.

If I get woken up at 2am due to an outage you caused and open your file to find you've written War and Peace code instead of The Hungry Caterpillar code I will be very very very upset with you.
> obvious detriment compared to brief half hour or hour long "evening news"

This is not obvious to me personally. I don't think it matters how much you consume the news as much as it matters what the news is.

And the news these days is almost entirely negative, even in a half-hour-long evening news segment.
If you really believe in collapse, why not buy land, weapons, solar and wind assets? Why buy a crypto currency that's useless without a shit ton of energy and grids (that will also stop existing in a total collapse, right?). If there is a total collapse, why'd a person care that you have btc? Why'd anyone trade btc? Wouldn't everyone barter? Your point makes no sense given itself, and I suggest you start a tautology and self contradiction book club
If other people find their ideal job, have a tropical vacation, etc. it makes me feel... good? Those are good things in general, although the tropical vacation might make me also feel concerned about the climate.

The problems I have with social media are that

- it steals a lot of time

- a lot of content gets me by evoking negative emotion

- it's taxing to get exposed to so many different ideas, clips, heated discussions, etc. Makes we wanna throw away my phone and live in the woods
http://web.archive.org/web/2003/http://okcancel.com/comic/6....
Most programs are not benchmarks.
You may be right. My knowledge of Java is from 1.4 in college and vastly out of date.

I should spend some time actually learning modern Java and less time avoiding it.
It’s meta-stable. War is very expensive. Resource interdependence is usually a disincentive to war. However when resources are either extremely valuable or essential, usually either oil or water, then it can overcome the disincentive and become an incentive to conflict.
This is not necessarily some petro-dollar argument. Individuals in other countries and their central banks want to save or hold USD in reserve for a variety of reasons (local currency inflation, exchange rates, etc). They buy dollar denominated bonds. This essentially allows the US massive access to credit which can fund these sorts of ventures.

I can make the same argument without mentioning the military - we benefit from a virtuous cycle of having the most dynamic economy which allows us access to credit to improve it, making it even more dynamic, and we simply pay it back as a lesser share of % GDP later.
Most of the office is for sales & support
This is precisely what I did for my automated zero-downtime migration tool and it works pretty well: https://github.com/fabianlindfors/reshape. At least for Postgres, simple views like these have almost no overhead as queries are simply rewritten for the underlying table.
Also, quick question, what age group and nationality do you belong to, if you don't mind.
Don't scare us like that :-)
>Yeah, a dark sky in a B&W photo is one of the most obvious ones (red filter).

I believe you usually use a yellow filter to boost sky contrast.
I wonder if it's actually more cost effective to let them get to a size just before they actually start breaking cars. I have 0 knowledge of road maintenance but I reckon getting people, material and tooling to the pothole would be the bulk of the cost.
Video games or work do not expose you to ads or recommendation systems, or feeds of your friends living a perfect life.

There are no parallels among these, I think you’re trying a bit too hard to go against the current. Its good for you that you have a healthy relationship with social media, but as evidenced by the study in this post and others it does have a negative impact that you can’t wish away.
Sorry. This was rude of me.
I can agree that social media makes things worse for me... Reading stupid arguments by malicious people just makes me angry... And the time wasted could probably be used on somewhat better things, like reading books, playing games, watching some movies or tv shows...
Everytime I read these seems too good to be true. $1.50 -> $366K? Who doesn't want that.
>Maybe body builders lose lean body mass when they fast
Well, highly fit people certainly lose lean body mass when they fast, which you're probably not (even if you're fairly fit)

And bodybuilders DON'T lose fat when they fast because they take supraphysiological doses of hormones (steroids) that prevent the body losing muscle - and usually eat protein throughout their fast too. So not a good example.
For more context, redeeming USDT has at least a 0.1% fee meaning that when people are doing arbitrage via redemption 1 USDT can only ever reach up to $0.9990. It requires demand for Tether to go up for it to reach $1.
This is a take I havent seen here much but maybe we can use more of. Manage the metagames to assure you can also play the games you want to play.
> Git IS heavily used outside of software engineering.

How many of these use git correctly?
Modernizing GTK’s macOS back end (again)
Goodbye, TwitFix
Challenge Data
Plant based is still under heavy debate, as plants have natural systems (lectins) to protect themselves. We know that veggies are a lot better than a lot of the processed stuff out there, but its a diverse area. A lot of people doing anti-inflammatory elimination diets skip a lot of plants.
> Or, if Apple wanted to be really consumer-friendly, it could make it so subscriptions don’t auto-renew by default.

I don't see why this is called out as consumer friendly. Most people are aware of the difference between a single-time purchase and recurring subscription.

People would get angry pretty quickly when they can't enter their apartment or lose internet or mobile phone service because they didn't click on a button in their bill every single month. Even when mobile phone companies decide to increase rates all the time, that's preferable to completely losing service entirely.

If people specifically wanted this behavior, Apple actually makes it easy to do so - for subscriptions that I only want for a limited time, I subscribe to the service but then immediately cancel it. I get it for a month, but it stops working right at the end of the month period without any additional action from me.
Breaking this down: The average customer spending more than $50/month seems to spend an average of $87/month, and the average spend of those that spend less than $50/month appears to be $3.3/ month.

This makes the increases make sense, especially for a 1G droplet.
Its a joke account, I feel for it too xD
Yeah there will be that but if I'm not mistaken it isn't the banks who need to authorise individual API providers. There is a directory of allowed services that get whitelisted by the Open Banking "consortium" - I don't think a bank can then deny any requests coming from that list. However, you're still correct because to get whitelisted by Open Banking is in itself a long process and has requirements that makes it unfeasible for many small service providers.
StretchText
Yes, because rule of law is important?
If tether have sufficient and sufficiently liquid assets, they shouldn’t have a particularly hard time. The cases where it fails look like:

- tether runs out of liquid assets and must sell illiquid assets at a loss to meet redemptions

- tether / market participants are not willing/able to process redemptions fast enough and the price is dislocated for a long time

- tether never had enough assets and runs out of money and stops processing redemptions

If you think that tether has sufficient good backing then it’s a lot more like maintaining the ‘peg’ of a money market fund or an etf than a peg between two floating currencies.
If there's gizmos that can do hairpin turns (and right-angle turns) at speed, let's hear about it. It doesn't necessarily mean that they're "occupied", by aliens or hoominz, so it doesn't mean the automatic and instantaneous collapse of our quaint, ego-powered human-centric universe-view.
I doubt it, London tech wages, especially in the City, beat everything else in the EU.
> Politics: it is what most impacts your life,

Doubt that. I’ve lived through some changes of the ruling party in my current country, the only changes I’ve observed were: 1) would taxes be 49.9% or 50.1%, 2) in which exact foreign country our military will be waging or supporting another useless war.

Compare that to the price of the stock of your company…

> yet you cannot change it, at all.

Oh, you can. I’ve changed the politics around me twice already: 1) I’ve participated in overthrowing the government- result was good for me, but not so good for the whole country, 2) I’ve swapped a country - that worked dramatically good, both for me and my new country. So use recipe 1 with extreme caution, but recipe 2 looks safe to recommend.
No need to speculate... from parent's about page: Character account — I only play a Bitcoin maximalist on the internet.
Maybe the better question to ask is "why isn't file reversion control adopted more outside of software engineer?"

Git a is distributed version control system that most people shouldn't have to deal with. It has awful tools and doesn't work well with binary files, large files and moved files.
Just an example: How do you diff two copies of an excel document with Git?

Most people don't have to deal with multiple "master" branches with no single source of truth because that's really what Git is for.

What most people need, including software engineers working in closed source, is a single source of truth with good history, diff and large files support.

I believe a tool like Dropbox or even centralized version control systems like Subversion or Perforce are better positioned to solve this than Git.

Many cloud based tools already have features that give them the upper hand over git. For example, Google docs allows collaborative editing and editors have access to file history and can revert to specific versions.

Maybe there are tools to diff binary files like two versions of an audio file or two excel documents or whatever two [domain specific file format] documents.

I will be happy if version control came at the file system or cloud drive level and the app just leveraged this integration seamlessly instead of forcing everyone to learn the difference between between branching, rebasing, cloning, copying, stashing, etc...
Would you be interested in interviewing somebody on this? I run an interview platform called Taaalk (https://taaalk.co), and I'd be happy to organise an interview with somebody relevant
A majority shareholder in a company isn't allowed to take all the assets even though they have the votes. The minority does have rights. Like, this is what the eternally misunderstood fiduciary duty is about: the company isn't your personal piggie bank just because you're at the wheel.
I suspect these laws bear out their effects in considerably more numerous (and more subtle) ways than many critics realise. I suspect most will understand (i) the law immediately addresses a numerical imbalance, and (ii) also creates visible models/ examples to inspire future women to go for board seats. But also (iii) it builds the CVs of the current crop of women benefiting from the law to get onto boards, meaning they'll be less at a disadvantage next time they apply for another board (people are often on multiple boards at once), boosting 'organic'/'natural' (non-discriminatory) gender balance in the competition for seats; and (iv) when it comes to replacing the female board member, the company/organisation can more naturally contemplate another woman also doing a great job in that seat (whether or not they hire one into that seat would be a question of available candidates, but at least the headhunters and board would be able to - at least - imagine a woman in the role). Those are all quite significant levers.
Agreed, it really was great to see it get bought by people who are enthusiastic about rebuilding it.

It might seem expensive at first if you are not used to paying for software but it's not a subscription and if you use it at work you can probably get it through your employer in any case.
Ask HN: How is Rock against Slack for remote collaboration?
I have been using Slack for 7+ years. I have recently joined a startup which communicates on emails and calls. Since we're an early stage, I am considering alternatives to Slack. I love Slack for its deep search. But it could get pricey for our team in the next six months.

I am considering Rock (www.rock.so). How has your experience been with integrations and search?
Are you arguing against certain people or against certain positions?

> The self-proclaimed "pro-life" movement also strongly supports the death penalty, strongly oppose any sort of financial aid for poor children, are typically strong supporters of the military and violent intervention, unconditionally support the police in police violence cases, support corporal punishment of children etc..

This is an incoherent straw man caricature of "the right". Unfortunately for us all, there are tons of people in every side of politics who hold incoherent sets of positions. They're the "sound of a potato rotating" [0] kind of folks.

By "incoherent" I mean that I agree with you that it doesn't make sense for somebody to both be "pro-life" and also support the death penalty. But there are people who hold positions that are at least internally consistent.

Why bother crafting arguments against the former (where you'll gain little if anything from winning) when you could against the latter (where you have a chance of changing the minds of a lot of people, if you make a strong argument)?

[0] https://twitter.com/onlinegrapes/status/970945537435303936
> the [X] debate has always been about forcing a specific belief system on everyone, once [X] have been {taken away, granted}, they will move to the next part of their belief system to force on others.

Substitute any [X] you like in the above and it still applies. Who is forcing a belief system on whom? That's politics.
Don't get Bitcoin for a bet on a collapse in which sufficient infrastructure remains for a global computing network - get privacy coins. If the ledger is public someone will figure you out and use it to attack you.

I say that having done the reasoning for my own portfolio and allocating some to a "privacy basket"; Bitcoin is just the first iteration of cypherpunk ideals for money, and it has successors now.

But really, most of my holdings aren't premised on a collapse but a hedge on uncertainty about what governments are doing next. The core premises that got Bitcoin started are still in effect. You can remove all the onramps and it's still the case.
Professional Programming: The First 10 Years
American schools' phone apps send children's info to ad networks, analytics firm
You cannot also use stdio and most stdlib, so what?

You would want to use C++ for stronger type safety, proper enumerations, templates instead of undebuggable macros, namespaces,....

https://news.ycombinator.com/item?id=31406942

"CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”"

https://www.youtube.com/watch?v=zBkNBP00wJE

MCUs also don't support full-blown C, and it isn't a show stopper to keep advocating it, so why should it be for a language with better safety options, even with constraints.
Yeah, I don't expect joke accounts on HN :( Just checked their profile, thanks for the heads-up!
Eunoia – Words That Don't Translate
That's a good point.

Our approach is to embrace cloud native services instead of avoiding them and still not be locked in to a single cloud provider.

We use cloud agnostic to convey that the user can write code that works for any cloud, and we'll translate it to the cloud specific services.

I'll think of different messages - thank you for the feedback!
Random tangent related to SEO
I am so annoyed with random overseas companies faking local businesses by SEO

They will get your call and you can tell where you're talking to immediately. Then they get a quote that's increased to get their cut... That's then carried out by an actual local company. It's annoying because the websites at the top of the search appear local.

A specific example is when you're looking for a towing company.

Type in your state/city towing company, more than likely the top results/websites pinned to GMaps are not local-based.
Briefly - because the cons outweigh the pros.

Honestly, what does git buy you compared to saving files with version suffixes?

1. cherrypicking - is that really that useful outside of programming?

2. branching - can be done without git using folders

3. merging - can be done without git using beyond compare

4. distributed fs - can be done with dropbox

5. cleaner than having millions of files around

On the other hand you would need:

1. to go from your comfy folder/file mindset to the difficult commit tree concept

2. to learn git commands - yes it is a pain in the ass, even for seasoned developers. Especially when in conflict land, git is foot shotgun.

3. to setup a git repo somewhere - also pretty difficult for non developers

4. to learn some ui cause yes, the cli is too painful to use
That’s more of an argument against ORMs which I realize my example used. I was mostly trying to convey using map/filter against POROs though.

Using an ORM was a poor choice on my part. I agree the magic there does harm readability since it makes it a lot harder to understand what it really is doing.
Without getting too much into the argument, you make a couple of logical fallacies.

> First, you assert that being pro-gun implicitly means being pro-death. This is not the case. I and many others who are vehemently pro-gun feel the way we do because we believe that self-defense is a fundamental right of a human being, and that possessing and carrying the means to effectively defend one’s self is the practical implementation of recognition of the right.

The argument does not need to be that pro-gun means pro-death, but can mean self-autonomy/self-defense over being forced to do something. That same argument could be made for an abortion, e.g. the mother uses it as a last means of self-defense over being forced to care for a child for the rest of their lives.

> Second, you assert that gun rights are about enforcing one’s view on others. This is also not true for anyone with whom I’ve discussed this issue. Gun rights advocates see this as about preventing people from imposing their will on others by force.

Actually they said pro-lifers want to force their view onto others. He also said pro-lifers are typically pro-gun, however that does not logically imply that all pro-gun proponents are pro-life and want to force their view onto others.

> Third, you implicitly assert that all gun rights advocates are Christian. This is demonstrably false.

Again all (most) pro-lifers are pro-gun does not imply that all pro-gunners are pro-life. That's logically incorrect.
Is a week long enough to experience such changes? Probably for a change in perceived well-being, but for a change in depression or anxiety it seems too short. Anti-depressants and therapy work on a timescale of months. I don’t know, maybe social media has a profoundly negative effect on mental health and its removal for even a week can cause immediate benefit.
>you open an office in Canada because it’s cheaper.

Or, to hire international tech workers who you can't bring to your US office for visa reasons.
Just because someone says that they believe in something, does that mean that they're right, and that they get to force others to do anything they want based on that belief? Including discriminating against yet others?
SIMD-based image scaling. If you are good, a hand-tuned x64 assembler implementation can still beat what a C compiler emits.
>Considering Body Builders don’t fast, I tend to believe the study.

There's entire bodybuilding schools (such as LeanGains) that build on intermittent fasting, and its increasingly more common when it comes to cutting fat. Where did you hear this?
I don't often see ppl playing characters on HN so it's not something I think to check. Good catch.
This is really cool. Do many people actually go through the full training course? Seems like there would always be a lot more demand than supply.
I hope we get more offices opening up in Vancouver soon as well. Toronto has more momentum as the tech centre but Vancouver has better weather and is a beautiful place to live.
How would that happen? I'm curious because I've never seen markets as being specially good at enforcing policies that (some or most) parts of society see as morally good (as vague as these terms are). For example, markets never managed to prevent child labour (they still don't!), we had to pass laws to enforce them in Western countries.

What are your specific thoughts on how would this process unfold?

Edit: On a second read of the article and parent comment, I understand it now as an ironic take on a flawed justification for the law that tries to satisfy everyone ("We're doing this for the markets!").
I hesitated about what to do, but HN prefers to link to the source, and use the original title. In this case,I think the original title was bad for this audience (who knows what the EBU is? Why do they use the vague term ‘shows’?), so I chose to submit an article with a better title, and thought it good to link to the EBU statement, to prove that this is an official statement.

As to the tampering: from other sources I understand the juries colluded to help each other through their semifinal (https://wiwibloggs.com/2022/05/15/flemish-broadcaster-vrt-cl...)

That page also hints at how the collusion was detected: by looking at the degree of similarity between the votes of each country’s individual jury members.
And then you are not even speaking about the time you save! Removing those apps from my phone has been a great decision.
He put his signature on the bill after taking this oath:

> I (Governor) do solemnly swear that I will support and defend the Constitution of the United States and the Constitution of the State of California against all enemies foreign and domestic, that I will bear true faith and allegiance to the Constitution of the United States and the Constitution of the State of California…

https://en.m.wikipedia.org/wiki/Governor_of_California
It blows my mind why Go didn’t have generics at launch. I suppose they just didn’t want people to be able to have abstractions like this at all?
> but why would you have such habit even when stationary and the charger is lying around?

Two reasons - One, the charger heats up a lot when I keep it on. Of course, you don't feel it unless you are nearby or touch it. Two, in the past I once had the charger destroyed due to a power surge. The Macbook remained fine after that power surge but I had to replace the charger since it stopped charging after that.
I'm building SocialsDetox ( https://socialsdetox.com/r/sdh ) along similar lines, to provide an easy way to block/timeout from Social Media (and/or other categories that may be detrimental to well-being). Unfortunately I suspect not many people would opt for the "donation to a cause they despised" feature (before being allowed to re-enable their access); will look at adding it as an option and report on the take-up.
All those tools are great until something happens that they weren't designed for, and then you're back in the command line but without any experience of the easy stuff.