Better HN
topnewbestaskshowjobs
Log inSign up

one2three4

451 karma · joined Feb 5, 2021 (5y ago) · 107 submissions

Big in Japan
Submissions

comment 4y ago · link · parent

You do that anyway as per Conway's law.

2.

Sorry, but you're already living in the “Squid Game”(welcometothejungle.com ↗)

45 points · by one2three4 · 4y ago · 105 comments

comment 5y ago · link · parent

Honestly the only real argument I've heard for Golang is that it is "coming from Google so it must be good". Every time I've tried to write in this language it feels like I'm hitting my head with a hammer.

Google might have very smart and knowledgeable people in it but this language is like a bad overhyped C. See next code that all it is doing is parsing a CSV line:

func NewPoint(line string) *Point {

tokens := strings.Split(line, ",")

if len(tokens) != 4 {

  return nil

 }

 var err error

 p := new(Point)
 
// why cannot I declare and assign err in one go??

p.id_ride, err = strconv.Atoi(tokens[0])

if err != nil {

  return nil

 }

 p.lat, err = strconv.ParseFloat(tokens[1], 32)

 if err != nil {

  return nil

 }

 p.ts, err = strconv.ParseInt(tokens[2], 10, 64)

 if err != nil {

  return nil

 }

 return p
}

most of the code has nothing to do with its functionality - it's just error handling that is plain hideous to write and read. Not to mention all the clutter to just convert an integer and a float.

And let's just not go into deeper aspects such as the structs that double as classes and has everyone creating his own style of SOLID and DPs. Or the inconsistent syntax which sometimes looks like traditional OO and othertimes like plain C further confusing users.

I find it very hard to believe that this language would have caught on if it weren't for Google pushing for it so aggressively. And I find it so disheartening to realise that after all these years developer productivity and happiness is merely an afterthought for language designers and that marketing and hype are the main drivers.

And yes I know the saying "there are languages people complain about and languages that people do not use". I find it worthy of high school gotcha sayings to which I reply that language designers of the majority of programming languages have no clue about how to make a language nice to its users. It's as they know how to design a internal combustion engine and then they put a chair and 4 wheels on it and they dismiss complaints about how unreasonably difficult and miserable the driver experience is.

4.

Golang Sucks(medium.com ↗)

3 points · by one2three4 · 5y ago · 3 comments

comment 5y ago · link · parent

That's a great and pragmatic suggestion.

Pragmatic as in these are not generic solutions/patterns but actual working architectures.

Thanks.

comment 5y ago · link · parent

One afternoon? Hm, it depends on the paper really and how close it is to your daily work.

2 pages in FoundationDB paper (https://www.foundationdb.org/files/fdb-paper.pdf) I knew I was looking at one month's reading material if I really was to grasp everything. It'd be much easier if I worked with DBs and Distributed daily but I don't.

But, yes, I see your point.

7.

Pfizer and Moderna vaccines likely to produce long-lasting immunity, study finds(theprint.in ↗)

6 points · by one2three4 · 5y ago · discuss

comment 5y ago · link · parent

I'm curious. Was Linkedin always so bad at securing its (our) data or things have gone downhill ever since the acquisition?

It is becoming a regular thing, almost part of the news cycle. "In other news, yesterday was the biannual data leak from Linkedin".

It is outrageous.

comment 5y ago · link · parent

Is there any easy way to guard against this without putting everything in a VPC?

10.

The World Is on Fire and So Is Your Website(infoq.com ↗)

2 points · by one2three4 · 5y ago · discuss

11.

China's Accelerating Bid for Chip Supremacy(youtube.com ↗)

2 points · by one2three4 · 5y ago · discuss

comment 5y ago · link · parent

> miss languages with better type checking. What about python type hints?

13.

When the Soviet Union Paid Pepsi in Warships(atlasobscura.com ↗)

2 points · by one2three4 · 5y ago · discuss

14.

Those pesky pull request reviews(jessitron.com ↗)

2 points · by one2three4 · 5y ago · 1 comment

15.

Programming Without Code: The Rise of No-Code Software Development(spectrum.ieee.org ↗)

3 points · by one2three4 · 5y ago · discuss

16.

Robo Sapiens: Future of Work Primer [Bank of America Report 2021] [pdf](bofaml.com ↗)

2 points · by one2three4 · 5y ago · discuss

17.

How to Be a Stoic (2016)(newyorker.com ↗)

115 points · by one2three4 · 5y ago · 64 comments

18.

TLA+ is a language for modeling concurrent and distributed programs and systems(lamport.azurewebsites.net ↗)

3 points · by one2three4 · 5y ago · discuss

comment 5y ago · link · parent

>> In its newest release, CouchDB [2] (arguably the firstNoSQL system) is being re-built as a layer on top of FoundationDB.

That is impressive. Like a framework for implementing noSQL DBs.

20.

AI arms race already underway(dw.com ↗)

1 points · by one2three4 · 5y ago · discuss

21.

We’re All Paying for Someone Else’s 4-Hour Work Week, Not Ours(aninjusticemag.com ↗)

7 points · by one2three4 · 5y ago · 1 comment

comment 5y ago · link · parent

To keep your identity small is probably akin to becoming a small Buddha.

Identity is even a dominant political trend in itself. "Identity politics".

I agree with the premise of the post. I just cannot see how it can be done. I think it's better to learn to accept differences gracefully rather than minimizing the identity surface. It's also my way to test people and communities. Try to disagree on something they consider basic. They way they'll treat you shows who they really are.

comment 5y ago · link · parent

Your commend reminded me of this presentation https://www.youtube.com/watch?v=PQccNdwm8Tw

24.

Migrating from Python to Kotlin for Our Back End Services(doordash.engineering ↗)

2 points · by one2three4 · 5y ago · discuss

comment 5y ago · link · parent

Ehm, I need to work to pay bills etc.

comment 5y ago · link · parent

Thanks for the reply. This helps me a lot. I'll try to negotiate these terms.

27.

Ask HN: How do you invent with such contracts?

1 points · by one2three4 · 5y ago · 4 comments

comment 5y ago · link · parent

I can assure you that on the personal income tax front and much more so at the indirect tax of cost of living the Irish govt is doing just fine thank you.
1234