News for hackers. Stuff that matters.

throwaway286

Re:Perl 7 is going to be Perl 5.32, mostly on Thursday June 25, 2020 @12:13AM (#23636830)
Perl was my first real language, too, but I haven't used it in years. Others complain about the sigils and referencing rules but I learned them early, when I was young, so I guess I didn't know any better.

I even had a job where we created a featureful website with just perl, DBI, and no framework except a simple module written by a programmer who left the company before I was hired. I look back to that job fondly, because everything seemed much simpler. Only bad thing about it was the paycheck. :)

It doesn't matter if your thinking is right or wrong. Look what happened to Galileo. If you go against the current on a touchy topic you're done for.
Re:Do Not Follow JavaScript Trends on Tuesday June 16, 2020 @01:04PM (#23541421)
I don't think hooks are a superficial change. If react stayed with class based components, I'd agree with you.
Re:Org Mode – Organize Your Life in Plain Text on Monday May 25, 2020 @04:33PM (#23304668)
How do you use org-mode to automate pull-requests? Do you make the pull request inside emacs? Are you using it to compile a note from all of the commits in a certain branch? Or something else?
Re:Ask HN: Who regrets choosing Elixir? on Saturday May 23, 2020 @06:44PM (#23287257)
I've spent some time learning it that I don't regret.

However, I dislike the GenServer syntax, it feels too complicated with random tuples all over the place. Also, I feel like the job market is too small. I wasn't able to find a job using it (although maybe COVID is to blame here).

Re:Lovely Week with Elixir on Wednesday May 20, 2020 @08:52PM (#23253755)
The job market for Elixir is pretty small. Sure, there are a couple of people here responding with specific listings, but still. I was hoping it would have ramped up by now but it seems that it's going to stay a niche player.
Re:A Critique of React Hooks on Monday April 27, 2020 @05:04PM (#23000006)
This is how I feel too, and I'm a confused how the reaction to hooks is so overwhelmingly positive. I find it quite strange that we need to set up an eslint rule to make sure our function arguments are correct, and it will automatically fill them out if we don't. And I need to memoize so many things! I feel like I'm not even writing javascript anymore.
Re:Asian American Discrimination in Harvard Admissions [pdf] on Saturday April 25, 2020 @01:07AM (#22975744)
If you don't implement affirmative action, you'll be accused of racism (due to the uneven final result of a blind GPA filter or equivalent).
>Elixir is one of those languages where everything has been done perfectly as of the time of this comment.

Including GenServers? I find writing GenServers to be needlessly painful. Their syntax is one of my least favorite things about Elixir.

Re:Ask HN: Why did you leave the tech industry? on Wednesday April 15, 2020 @10:34PM (#22885486)
I have 10 years experience, no degree, and yeah, submitting my resume online seems like throwing it into a black hole. And I have always been one of the top performers at my previous jobs. I did get about 20-25% interviews though, so I guess I just need to apply to a large number of jobs and I'll eventually get through.
Re:Ask HN: Why did you leave the tech industry? on Wednesday April 15, 2020 @10:16PM (#22885412)
It was fine for a while; I'm definitely the best at solving algorithms problems than I've ever been, but I want the structure of a job now.
Re:Ask HN: Why did you leave the tech industry? on Wednesday April 15, 2020 @12:07PM (#22879422)
Lived off savings, studied new programming languages, deep learning, leetcode, etc.
Re:Ask HN: Why did you leave the tech industry? on Wednesday April 15, 2020 @11:50AM (#22879198)
10 years into my career, after being under high stress, I quit my job with no plan.
In the small sample size of my jobs, cubicles are getting much shorter.

In my pre 2010 job, the walls of the cube I had were quite tall and gave reasonable privacy. In my 2016 job, they were quite short for "enhanced collaboration". I didn't really feel "safe" in my short cube, for lack of a better word.

Re:50% – 75% of cases of Covid-19 are asymptomatic on Tuesday March 17, 2020 @10:24AM (#22605066)
If I accept your argument that a mask doesn't stop you from receiving it (which I doubt):

If it were a social norm to wear a mask during an outbreak, and 50% of the population did, it would reduce the spread of the virus greatly. Far from bloody useless. Americans are locked into individualistic thinking: "How will this benefit me?". Also consider asymptomatic transmission.

Hmm, I wonder if certain javascript based site generators will still be around in 20 years..
Re:System76 Launches Threadripper Workstations on Friday February 07, 2020 @08:34PM (#22273094)
The System76 computer includes a motherboard, case and power supply; your bundle of parts does not.
Re:Roam: Why I Love It and How I Use It on Wednesday January 22, 2020 @06:02AM (#22116406)
You can't even sign up for Roam if you use a pihole for DNS, since it redirects you to a blackholed site. Okay. A good reminder of the commercial interests I don't want in control of my notes.
Re:Hacker News Classics (2018) on Friday January 10, 2020 @02:17AM (#22008993)
I enjoy that it's a long list that is loaded in its entirety instead of using infinite paging or some sort of virtualization. It's simple and ctrl-f just works, unlike on say, twitter.
Do they have to be serious? To me, this is the playful sort of thing you would see on the "old internet" that people miss.
Re:Eat This Much – Automatic Meal Planner on Friday December 20, 2019 @11:57AM (#21845512)
Mainstream keto does not seek to avoid polyunsaturated fat, which we've been taught is heart healthy. This theory isn't keto, it's rather that the society wide switch away from saturated fat to polyunsaturated fat has disrupted satiety mechanisms. Some people are even examining these ideas with adequate carbs, example search term: "the croissant diet".
Re:Eat This Much – Automatic Meal Planner on Friday December 20, 2019 @01:48AM (#21842168)
Except everyone is still scared to death of saturated fat, which may actually have unique satiety mechanisms (see video below for a dive into saturated fat and reverse electron transport). There's some questions about the Ancel Keys studies that lead to the demonization of saturated fat as well.

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

Re:Thinking in React Hooks on Thursday December 12, 2019 @02:41PM (#21775516)
Reasons I dislike hooks: The dependency array feels like a hack. It's way too easy to accidentally make an infinite loop. It's no longer safe to pass around functions; they have to be wrapped in useCallback(), which also has a dependency array. Yes, I'm aware of the eslint rules and the autofixer. It just feels that I'm so far away from writing javascript. Hooks are great when you're doing a simple setState or something, but with complex logic they get confusing quickly.
Re:I ditched Google for DuckDuckGo on Sunday November 24, 2019 @03:21PM (#21623075)
my DDG results for "dig show all" are much better than yours. try changing the "France" region to "All Regions" in the dropdown below the query.
Re:Ultraprocessed Foods – A New Theory of Obesity on Wednesday September 25, 2019 @11:00PM (#21077747)
It absolutely does happen. If you stop eating carbs for several days, you will go into ketosis. You can tell because your glycogen will be depleted, temporarily dropping your weight by a few pounds in a short time period. Also, your breath and urine will start to smell. If this isn't ketosis, then what is it?
Do you have any thoughts on Elixir? I've been playing around with it and Haskell at the same time. Compared to Haskell, Elixir's dynamic type system and impurity make it a lot more practical to get stuff done, in my experience.
Re:The Cult of Kubernetes on Monday September 09, 2019 @07:34AM (#20917162)
Let's make a movement to bridge the fundamental divide between Dev and Ops.. we can call it OpsDev.
Re:Need a USB Cable? Build One on Wednesday September 04, 2019 @10:06PM (#20883257)
I suspect the purpose is to put something in a cable that a commercial manufacturer would never put in a cable. That way, he can look at it and be reminded that "I made that", or he can brag about it when someone else sees it and asks.
Re:Psytrance Guide on Wednesday August 14, 2019 @11:29AM (#20696568)
Psytrance is already a sub-genre of trance; this site doesn't reflect trance as a whole.
Re:Slow Software on Wednesday November 21, 2018 @11:32PM (#18507870)
I work at a large company that is not one of the famous silicon valley tech companies. One of the worst parts of working there is the heap of various enterprise anti-virus software they install on our computers. It brings huge typing and disk access latencies. Even opening files in vim with FZF is slow. I can't explain why but this makes programming so much less pleasant. I really just want to work somewhere without anti-virus.

Older »