News for hackers. Stuff that matters.

zulgan

Re:Unit Testing Is Overrated on Thursday July 09, 2020 @07:34AM (#23779037)
this is our take on it: https://eng.rekki.com/unit-testing-at-rekki/t.txt

TLDR:

    * test your core, make sure your core is strong
    * don't test your http api
    * don't mock
    * don't test writing and reading from the database
    * don't complicate your code to make it testable
    * ... unless you deem fit
Re:An even worse anti-encryption bill than EARN IT on Thursday June 25, 2020 @07:38AM (#23639456)
reading those bills makes me feel quite hopeless, considering Gell-Mann Amnesia[1]:

  Briefly stated, the Gell-Mann Amnesia effect is as follows. You open
  the newspaper to an article on some subject you know well. In Murray’s
  case, physics. In mine, show business. You read the article and see
  the journalist has absolutely no understanding of either the facts or
  the issues. Often, the article is so wrong it actually presents the
  story backward—reversing cause and effect. I call these the “wet
  streets cause rain” stories. Paper’s full of them.

  In any case, you read with exasperation or amusement the multiple
  errors in a story, and then turn the page to national or international
  affairs, and read as if the rest of the newspaper was somehow more
  accurate about Palestine than the baloney you just read. You turn the
  page, and forget what you know.
It is horrible to think the same thing probably exists in politics, and I cant even imagine what goes through in fields I don't understand.

[1]https://www.epsilontheory.com/gell-mann-amnesia/

Re:Weirdos in the depression on Wednesday June 03, 2020 @10:21AM (#23403588)
Does this happen in the east as well?

I feel this is common in the west, because people externalize internal conflicts, and they have to project their "righteousness" and "judgement" to justify their existence, as there is nothing left in ourselves besides atoms.

Re:Ask HN: Who regrets choosing Elixir? on Saturday May 23, 2020 @07:48PM (#23287704)
it was huge mistake for us, it was chosen for the wrong reason, to solve a non-problem, complicated everything without adding any value.

* cant find people for it and if you do they come because of the tech not because of the real world problems we are trying to solve.

* the no types thing makes people write tests that test for typos and make refactoring incredibly difficult because you have to fix gazillion pattern matching tests

* the tooling is just horrible, cant jump, because of pattern matching that makes it much more annoying

* phoenix was complete misfit for us as well, so i ended up hating it for no reason

so because of no-tooling and on-refactoring, accidental complexity only grows, and we ended up with much more fragile system with infinite failure domain.

i wrote briefly about why it was chosen at https://eng.rekki.com/kitchen/kitchen.txt and why we moved to go.

that being said, i am sad that this was my first real world experience with elixir, in a project where it was not a good fit, so now i am totally biased against it. when i tried it briefly for few hobby projects it seemed like a quite cool language.

-b

i guess ads are down

this makes me reflect that almost everything online functions only because of ads, which is quite sad

either ads, or selling PII to companies that do ads

Re:A one-line package broke `npm create-react-app` on Saturday April 25, 2020 @03:42PM (#22980779)
i have been using debian since potato, and i have seen some damage :D
Re:A one-line package broke `npm create-react-app` on Saturday April 25, 2020 @03:12PM (#22980530)
haha i understand what you mean, but debian's https://wiki.debian.org/DontBreakDebian page is not an accident :)

i made my comment more as a joke, shit happens everywhere, and as i said maybe not to this extend.

Re:A one-line package broke `npm create-react-app` on Saturday April 25, 2020 @01:35PM (#22979694)
Chill with the js hate, this happens everywhere.

Maybe not to this extend, but if X (where X is whatever you are thinking about) had similar amount of people using it (especially junior people) this would happen there as well.

Re:I just blocked YouTube on all devices in the house on Thursday April 23, 2020 @07:11PM (#22962679)
for now i just blocked it on the pi-hole, wildcard blocking:

  googlevideo.com
  ytimg.com
  youtube.com
  youtube-ui.l.google.com
  ytimg.l.google.com
  ytstatic.l.google.com
  googleapis.com
and it works fine
Re:I just blocked YouTube on all devices in the house on Thursday April 23, 2020 @06:51PM (#22962492)
I spend considerable amount of time doing that, but the content creators are so extremely aggressive, they make new channels with new clickbaits with same garbage, just to get the children's clicks. and they are so many!

especially now during covid19 lockdown, the garbage produced is intense. and of course our screen time is higher than ever.

I don't think this is true, the first human right is the right to die, and secondly the right to live. So you can only live a life that allows you to die.

For example, if my mother is in a hospital dying from corona, and the system forbids me to see her (despite me taking precautions that I deem fit), I must revolt.

This of course sounds like nonsense, and I am also conflicted, but this is my intuition.

Re:Ted Kaczynski's Manifesto [pdf] on Sunday March 15, 2020 @03:22PM (#22585925)
hmm i am not sure that is the case, (though i only watched the netflix series, and read the manifesto, so i am not very familiar with his life), but i thought it is more a gesture of helplessness.

There is a saying in my country, that is hard to translate in English, but it goes something like: powerlessness births violence.

Re:Ted Kaczynski's Manifesto [pdf] on Sunday March 15, 2020 @03:19PM (#22585886)
a bit off topic, but if you enjoy questioning the value of technology and the impact on our society, check out Neil Postman's "The Surrender of Culture to Technology"

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

do not judge people's relationship with death.

some are rational, some petrify and can not move, some try to face it, some turn inside, some turn outside.

some old people are going out on purpose, if they petrify they will not be able to live anyway.

anyway, it is not easy for anyone when the mass is moving in such volatile way, not to mention individual responsibility towards the group is stressed to extremes (as you can see people fighting over toilet paper for example)

i am also staying as isolated as i can, but from time to time i force myself and my family to go out in the forest, to see that the world is not burning yet.

Re:Things I Learned from Five Years in Climate Tech on Wednesday February 26, 2020 @06:42AM (#22422156)
rebel.
Re:More bosses give four-day workweek a try on Saturday February 22, 2020 @03:31AM (#22389999)
I don't think it is possible to compare hours worked 100 years ago and now.

Now, especially for developers and office workers, work is almost indistinguishable from life.

For example there is barely any time while I am awake that I am not thinking about work. (sometimes even my dreams are about work related tech topics)

Not to mention that modern management techniques are deeply psychological, and sophisticated propaganda.

TBH I dont think more work is being done, I just think the corporation organism consumes as much as it can.

Re:Gandi loses data, customers told to use their own backups on Thursday January 09, 2020 @02:22PM (#22004521)
I had a co-worker who was super chill during outages; especially at night, we were 10-15 people on the call fixing issues related to his work almost monthly.

those outages costed millions of euros, and he never picked up his phone at night, once I asked him why he never picks up, he told me:

"I used to be a general surgeon, when someone calls me people die. Relax, nobody is dying during our outages."

now I think I am taking myself(and my work) too seriously.

Re:Many Japanese children refuse to go to school on Monday December 23, 2019 @09:45AM (#21863876)
I think that the point of school is in no way education. The point is to mold individuals in order to fit within 2 standard deviations of the norm, and it does all it can to do so (tests, medication, etc etc).

If you are in the upper percentiles, you are used to bring the lower percentiles up, if you are in the lower you are used to bring balance.

Now we are almost at the point of making not going to school illegal. (you can argue if mandatory is the same as illegal)

-b

Re:The world needs more search engines on Sunday December 01, 2019 @12:28PM (#21676579)
It is already too late for Google to fall. Even if it falls something worse will take its place.

What are our options? Government? How will it be even remotely close? Data will be needed, How will the government get data? They will probably make it mandatory in schools of course. Why not? its for the good of the children.

Interesting times indeed.

“The individual is in a dilemma: either he decides to safeguard his freedom of choice, chooses to use traditional , personal, moral, or empirical means, thereby entering into competition with a power against which there is no efficacious defense and before which he must suffer defeat; or he decides to accept technical necessity, in which case he will himself by the victor, but only by submitting irreparably to technical slavery. In effect he has no freedom of choice.”

― Jacques Ellul, The Technological Society

Re:Cross the world four times on Friday September 27, 2019 @09:10AM (#21091519)
it is metaphorical. (to the people arguing how expensive it is to travel)

very nicely written, but i disagree with it because i believe that we have to look more inward than outward in order to be able to die (not sure how to express that correctly, but i hope you know what i mean).

Re:Show HN: Darklang on Monday September 16, 2019 @02:57PM (#20987355)
congratz!

maybe for the generation which grows up with scratch, new concepts and ideas are needed. not sure if darklang will make it, but exploration in the space will surely help.

writing this from while using emacs as a window manager(exwm), made me realize how impossible it is for me to evaluate change.

best of luck.

My biking commute is about 80 minutes per day, 1984 is about 10 hours audiobook, so for me it is just using those 80 minutes.

Older »