News for hackers. Stuff that matters.

mediascreen

Only Americans want to defend their country? I'm Swedish, did my military service, and generally agree that I would want our defence forces to have the best weapons available.
Re:What Is the Nicest Thing a Stranger Has Ever Done for You? on Saturday December 13, 2025 @04:44PM (#46258412)
When I fainted on a crowded bus i Buenos Aires (as a tourist from Sweden) the bus driver stoped to check on me. When I wanted to get off and rest a while, two other passengers got off the bus with me to make sure I was okay.

I'm sure there must be more instances, but that's the first one I can think of.

I would guess that it's probably aspirational to some degree. People hope to work with larger systems.

Personally I think it looks interesting and I work at a small web agency. We usually only work with a few parts of these kinds of systems, but occasionally we have clients like a large sports ticket vendor, where a few more of these patterns are helpful.

I few tweets down they qualify this, saying that it might improve some things like indexing of the rest of the site:

https://twitter.com/searchliaison/status/1689068723657904129

My understanding is that if you have a very large site, removing pages can sometimes help because:

- There is an indexing "budget" for your site. Removing pages might make reindexing of the rest of the pages faster.

- Removing pages that are cannibalising on each other might help the main page for the keywords to rank higher.

- Google is not very fond of "thin wide" content. Removing low quality pages can be helpful, especially if you don't have a lot of links to your site.

- Trimming the content of a website could make it easier for people and Google to understand what the site is about and help them find what they are looking for.

Re:Twitter has officially changed its logo to ‘X’ on Monday July 24, 2023 @09:26AM (#36847641)
Bailout or not, the loan was however repaid nine years ahead of time in 2013.

https://www.cnbc.com/id/100759230

Re:Young people are flocking to astrology on Monday July 24, 2023 @04:21AM (#36844557)
And the counter argument that Dawkins himself he is an atheist because he was born in the UK in the 20th century just proves Dawkins point. I think Dawkins himself would agree that the likelihood of him being atheist would have been far lower if he would have been born in Pakistan or in 17th century England.
Re:Young people are flocking to astrology on Monday July 24, 2023 @03:50AM (#36844355)
Ok, I just suffered through the 13 minutes of nonsens from this "expert".

One problem is that he doesn't understand what he is arguing against. Dawkins doesn't argue that, because people tend to have similar beliefs as those around them, he has disproved those beliefs. He just uses it to illustrate the close minded way some people take the supremacy of their particular religion for granted. The question "What if you are wrong?" comes with a lot of assumptions.

It's also laughable for an expert (for a number of reasons) to claim that C.S. Lewis has disproved atheism.

Re:Sweden Sans Font on Wednesday July 19, 2023 @12:21AM (#36782085)
Well, this is is not guidelines for an app or a website. This is guidelines for how the Ministry for Foreign Affairs, the Ministry of Enterprise and Innovation, the Ministry of Culture, the Swedish Institute, Business Sweden and Visit Sweden and the different agencies they use, should use typography when representing Sweden abroad.

I don't think the type section is unusually large, but I worked at a company for two years that exclusively made design manuals, and the well made ones tend to look like this.

I think that pages 403-415 provides pretty good definitions[0]

But that's not my point. My point is only that there are aspects of a typical free market economy (by American right wing definitions) that are better represented in countries other than the US.

[0] https://www.heritage.org/index/pdf/2023/book/2023_IndexOfEco...

I know they are a right-wing think tank, that is why I referenced them when it comes to rank "market economy" factors that people who believe in and want to have "free markets" care about.

In what way is it a political propaganda piece? From what I can tell it's a pretty transparent ranking of countries by factors that the organisation cares about.

While the Scandinavian countries have high taxes and regulated labour markets, they have deregulated markets, strong property protections and are very simple to do business in.

People often see the United States as the ultimate free market, but compared to other countries it can be seen as pretty heavily regulated.

According to the Heritage Foundation's Economic Freedom ranking, it ranks 25th, well below "socialist" states like Denmark (in 9th place) and Sweden (in 10th place).

https://www.heritage.org/index/ranking

Yes! Maybe we can start caring about stuff that actually matters now instead of obsessing over IP-addresses maybe touching US soil when loading a font from a CDN.
Re:Companies must stop using Google Analytics on Tuesday July 04, 2023 @06:04AM (#36584538)
Rereading it now seems like "companies" in the heading only refers to the three fined companies and that the decision may be applicable to other companies.
Re:Companies must stop using Google Analytics on Tuesday July 04, 2023 @06:00AM (#36584493)
The heading seems very strong considering this is a governmental agency and since they audited a "version of Google Analytics from 14th of August 2020" and presumably not GA4 that works differently.
I would almost always go with what the team or someone on it was most familiar with and can setup in less than a day. I think it should include an easy way to scale at least for a few months to come, a reasonable way to provision more capacity, a managed database, a CDN, backups, access and error logging and a simple but automatic deployment pipeline.

At work we use ECS Fargate, Aurora MySQL and Bitbucket pipelines to host a little over 100 client web applications. It takes about an hour to configure a new AWS account and staging/production environments for a new client using Cloudformation (and a number manual steps) and the monthly AWS cost is around $100. There are cheaper ways and probably easier ways, but we feel like we have reached a good balance between stability, ease of use, cost and features. And we are not that worried about being tied to AWS.

You should probably try buying better quality cookbooks? I don't think I have ever seen a stock image in a cookbook.
Yes, but that's my point. A large number of companies uses analytics data to provide better service and products without any sinister motives.
Law enforcement tracking everyone can have serious and unintended consequences in away that a SaaS tracking visits are unlikely to have.

An extreme case is on the other side, is to compare simple site limited tracking to a coffee shop being able to see who enters the door. Why should they track how I look and the way I'm dressed? Does it make service harder if you have to work blindfolded? Though luck, my privacy is more important than your wish to provide your customers with good service.

Re:The IRS is building its own online tax filing system on Wednesday May 17, 2023 @11:43AM (#35976936)
I filed my Swedish taxes yesterday. It included private income and investments, my own sole proprietorship as well as dividends from a larger company where I own 10%. It took around 30 minutes including all calculations.

We may have high taxes, but at least they make it easy to pay them...

Re:My 20 Year Career Is Technical Debt or Deprecated on Tuesday May 16, 2023 @07:12AM (#35960170)
> Fast forward to today, and MVC has since fallen out of fashion. Everything is now done in React, Angular, Vue, and other frameworks.

I wouldn't be so sure about that. Fallen out of fashion perhaps, but still very stable, easy work with, predictable and with pretty clear best practices that don't change every three months.

> ...tax incentives for driving

That's such a weird misrepresentation. I would say they are for pausing the increases to already extreme taxes on gasoline, so people outside of cities can afford to drive to work.

(I have never owned a car and still sympathise)

Re:Ask HN: How does a hobby programmer get hired? on Sunday January 01, 2023 @04:52PM (#34211376)
I think it depends on what kind of programming job you want.

In my experience hiring practices wary a lot between different types of companies. Getting a job at a FAANG type of company varies from getting hired by a local web agency, a consultancy, startup or just being hired to run the company website.

HN tends to focus a lot on FAANG and well financed startups, but there are a lot of very different programming jobs out there.

So, you are saying that increasing the supply of housing in this case actually would cause an increase in prices? How would that work?

I agree that there is no guarantee that building housing lowers prices, other causes (like increases in demand) may cause prices to go up (and the increased supply would lower the upward pressure). But I have a hard time to understand how increased supply would not have a downward effect on prices.

Re:Things I want from Devs as SRE/DevOps on Friday December 16, 2022 @04:17AM (#34012518)
My answer to about half of those questions would probably be: "How would YOU like it to work. You are the expert on our systems and I would like to know what you consider best practices. Give me some guidance on how we run things here and I will do my best to set it up that way. If my application is very special and need special considerations I will contact you to figure out a way that works for both of us"
I usually spread my six week of vacation over 12 weeks of half time work in order to work/vacation for longer periods in warmer weather.

I don't feel like I need complete rest from work and I don't mind working a few hours every day (I'm single and without kids).

Last year I spent time in Barcelona and Greece and this winter I will spend some time in Malaysia.

Re:It’s Public Land. But the Public Can’t Reach It on Sunday November 27, 2022 @07:14AM (#33762446)
Sweden is about the size of California with 1/4 of the population.

The notion that we stay inside during half of the year is funny. Normally foreign media loves to write about children sleeping outside in the winter and all-weather forest kindergartens. And then we have all the german tourists that love camping and hiking.

I understand that it seems strange to hike on other peoples property. It's not that I have to go looking for privately owned property, it's that I can't imagine ever having to keep track of land ownership when I am out hiking, camping, skiing or picking berries or mushrooms.

Re:It’s Public Land. But the Public Can’t Reach It on Sunday November 27, 2022 @02:17AM (#33761116)
Sweden doesn't have the same system of punitive damages.

I am not a lawyer, but I would guess that this might result in a small fee for not following building ordinances or something more serious if gross negligence was involved. People suing each other for millions is not really a thing in Sweden.

Re:It’s Public Land. But the Public Can’t Reach It on Saturday November 26, 2022 @11:37AM (#33754097)
As someone who has grown up with "Freedom to roam"[0] laws, is seems so weird that you would need to keep track of who owns the land where you are hiking. (To be fair you can't just hunt wherever you want in Sweden either.)

[0] https://en.wikipedia.org/wiki/Freedom_to_roam#Sweden

Re:Write Like You Talk on Sunday October 23, 2022 @06:45PM (#33311017)
I understand that orthogonal and unrelated have different meanings. What I'm wondering is: Isn't "orthogonal" much more common on HN (18388 matches in search) than in other places?

I suspect that "orthogonal" is a word programmers fall in love with during some CS class and then overuse because it sounds sciency.

Older »