HN user

homami

112 karma

https://homam.me

Posts3
Comments37
View on HN
GPT-4o 2 years ago

I am just imagining GPT-4o saying this in her sarcastic voice!

I don't understand why they killed their job board. We used to pay them a few hundreds a month for a a couple of job ads that we were quite happy with. But then they "decided to focus on enabling our community of developers and technologists to discover and learn about companies rather than just giving them a way to apply to an open role." Which meant they became a platform for recruiters that can spend monthly 10Ks+. That killed Stack Overflow for me.

Based on my experience traveling between Europe, Middle East and Asia:

- for return flights I always get different fares based on the origin. At least for the airlines that I travel with it does not matter what my IP is, but where my origin is.

- depending on the airline or the hotel booking service, I get higher fares if I book with an iPhone (including their apps) or a Mac comparing to when I spoof my user agent to Windows. The difference can be substantial.

- for hotel bookings, my IP location used to make a big difference. I guess these days the services just became better at finger printing and detecting VPNs.

For what it is worth, I am handling about 130k views and registering ~1k paying users per day with a t2.large instance server running node, redis and nginx behind a free tier Cloudflare proxy, a db.t2.small running postgres 14, plus CloudFront and S3 for hosting static assets.

Everything is recorded in the database and a few pgcron jobs aggregate the data for analytics and reporting purposes every few minutes.

I fully recommend this. The fp-ts is quite readable for JavaScript. Combine it with io-ts and you have a robust way of handling user inputs:

    pipe(
      decoder.decode(req.body)
      , E.mapLeft(_ex => new InputValidationError(decoder.decode(req.body)))
      , RTE.fromEither
      , RTE.chain(handleInput)
      , RTE.match(
        error => {
          res.status(500);
          res.send(error)
        },
        result =>  {
          res.send(result)
        }
      )
    )(reader)

I've been a frequent flyer of Emirates for the past ~ six years. From my perspective, the airline suddenly changed about three years ago. The quality of their service dropped and still every time that I take an EK flight, I notice something else is missing from the service. Flying Emirates does not have any glory anymore.

Deezer has added a "don't recommend this song again" button. I used a couple of times only but I feel that my recommendations have been indeed improved.

Before, I had to skip the songs that I did not like, and Deezer was keep putting them back in my 'Flow' a few days later. That was pretty annoying.

Non-breaking space is very important for languages like Arabic and Farsi. Changing a non-breaking space to a normal space in some sequence of characters, may change the meaning of the word in these language.

How long does it take to vaccinate the whole population?

I did not look for better sources, but I read in this [1] CNN post that in 2021: AZ is producing 3 billion doses, Pfizer 1.3B and Moderna less than 1B.

So in total we are going to have 5 billion doses in 2021. Each person requires two doses. So we end up vaccinating around one third of the world's population. It seems to me even at the end of 2021 our lives will be still far from "normal".

Are there other promising vaccines on the way?

[1] https://us.cnn.com/2020/12/30/investing/premarket-stocks-tra...

Haskell's Children 6 years ago

Haskell's killer feature here is higher kinded types. do notation is just a syntactic sugar. But (with the exception of Scala or PureScript) almost no other every-day language supports the ability for defining abstractions over higher kinded constructs like monads.

For advertisers, the fact that people that may never click on any banner ad, are blocking the ads on the internet is not a bad thing per se.

Once they got a click, they know that this user does not have an ad blocker so is less tech savvy, and more susceptible to be influenced by marketing.

Click through rates and conversion rates have increased on desktop traffic in the past few fears.

It seems to me that Facebook instead of battling racism and other problems in the information bubbles that it has created, is doing some kind of straw man.

"Look here we are banning black face!" Don't get me wrong, symbols matter. But this is not even remotely the most consequential thing that Facebook can do to fight disinformation and racism.

They should make a fix for their echo chambers.

How does it work in practice? It seems in Chrome these errors cannot be caught try-catch blocks.

    try {
      var socket = new WebSocket('ws://localhost:808');
    }
    catch (ex) {
      console.log(ex) // control does not reach here
    }

I find SQL INSERT statement not intuitive. I can understand why SQL requires me to declare the field names and then the values of a new row that I am inserting; but it would've been a huge time saver if SQL had a key-value dictionary-like syntax:

    INSERT INTO "my_table"
       "col1": value1,
       "col2": value2,
       ...

Even after years of being brained washed by the media and the educational system, a typical middle class millennial in Iran does not hate Western culture or America.

Older generations (even in some rural areas) have fond memories of Americanization of Iran in the 70s (which finally led to the Islamic revolution).

The problem that I see with Trump's approach is that it alienates these groups of people that had been pro-American before.

The country and the economy was thriving for a brief couple of years after the nuclear deal. People used their money to visit Gulf countries, east Asia and Europe. I think Internet speed almost doubled in that period.

But new sanctions made the economy collapse. And Muslim ban is a real thing if you are born in Iran. And it does not matter how pro-American you are.

Then now we ended up in a situation that even ordinary, middle class Iranians that could've been in American camp, are feeling under attack by a bully. For them everything that the government has been preaching about the great Satan is coming true.

I went to school and grew up in Iran. Chanting death to America and Israel and even to poor (already) dead Shah was part of an official ritual every morning in the school.

As a teenager, you don't grasp what you're saying. You're just part of the crowd. In an environment that there's almost no other forms of entertainment at reach; you feel powerful in these rallies. It's like being in a rock concert and singing the songs.

I imagine most people that show up in the rallies these days have nothing else to do. It's a recreational event for most.

Actually I think this is exactly what makes this culture most dangerous. There are big crowds of mostly low or unemployed people blindly following their leaders. And they enjoy it the same way that you enjoy a sport event or a concert.

I speak Farsi and 'death to America', well means death to America. I even didn't know about the historical reference mentioned in the post. But I doubt that the big majority of the individuals that are shouting death to something truly mean it.

With modern tech you can communicate with people all over the world without traveling

Internet used to be a tool that enabled people all over the world to communicate. I wouldn't have spoken a word in English if it wasn't for internet.

Commercialization of the Web killed the globalization spirit of the internet.

There's no commercial value in connecting people who are in different markets.

A Web enterprise does not benefit by showing its customers that they might be holding the wrong opinion.

Echo chambers bring loyal customers.

Globalization dies a little bit every time a curious teenager sees an error saying: "this content is not available in your country".

You are not an average internet user if you talk to the people on a different cohort, you are an elite and elites have always been communicating with the elites.