News for hackers. Stuff that matters.

wrinklytidbits

A shame that my favorite pen isn't on the list.

I love writing with Uniball Roller 0.5 mm micro tip rollerball pens

Extremely consistent pen with crisp lines

Re:Emacs Commands I Got by with for Years on Thursday January 04, 2024 @12:16PM (#38869600)
Some commands I learned along the way (on top of those already said)

C-x g - magit-status

C-c c - org-capture

C-x h - mark-whole-buffer

M-: - eval-expression

C-x C-u - upcase-region

C-x C-o - ace-window

(use-package ace-window :bind ("C-x C-o" . ace-window))

Allows you to number your buffers and choose the one you want by pressing the number associated with it

In dired, C-0 w gives you the full path to the file under the cursor

Re:Ask HN: Freelancer? Seeking freelancer? (March 2023) on Wednesday March 01, 2023 @05:26PM (#34989203)
SEEKING WORK | Austin, TX USA | Remote

Hi my name is Andrew.

Data Engineer with 7 years of experience.

Resume: I have a Masters in Applied Data Science

Devops: Kubernetes, Docker, OpenShift, Ansible, Terraform Backend: Python, Ruby on Rails, MySQL, Postgresql, DynamoDB, Redis Frontend: HTML, CSS, JavaScript

Email: ahberisha at gmail dot com

Would it be more convincing if labs corroborated other lab's findings? Like Lab A found that XYZ impacts LMQ and Lab B, following Lab A's findings, was able to replicate the finding within some margin.

Is there a way to reward this type of research?

Re:A Pint a Day (1996) on Saturday September 18, 2021 @06:31AM (#28575070)
From my own practice of doing a beer fast/having a beer before and after a run, I recommend doing this with non-alcoholic beer, which can have up to 0.5% alcohol by volume.
Re:Algorithmic Trading Using Logistic Regression on Friday September 04, 2020 @09:53PM (#24380771)
Agreed.

For those interested in time series analysis I just finished a small project with the help of Introduction to Time Series Forecasting with Python by Jason Brownlee.

The relevant section is 24.4 Rolling Forecast ARIMA Model.

I recommend adding a "/s" to the end of sarcastic comments for those of us who have trouble interpreting sarcasm
An aside: why PIIGS? Couldn't they go by GIPSI instead?
Re:The war on food waste is a waste of time on Thursday February 27, 2020 @08:36PM (#22439810)
Why would you claim using totes bags and paper straws would help with malnutrition and water table depletion?

Plastic bags and plastic straws are frowned upon because of how permanent they are and one of the most single use items we use that we live reasonably without.

I feel like you want people to make even bigger changes than what they're being led too. I'm happy with consistent, small victories.

Re:Highlights from FPGA 2020 on Thursday February 27, 2020 @08:29PM (#22439787)
Do you mean twisted pairs?
Re:Histories Hidden in the Periodic Table on Monday February 24, 2020 @09:35PM (#22410484)
It could be that it was perhaps a delicacy to eat cat feces: perhaps it was due to a cat's carnivorous diet, and it could be that one day a cat feces eating guy or gal got a good buzz and made the discovery that that cat had been eating a certain berry. Chasing the buzz they figured out coffee.
Re:Pattern Matching in Ruby 2.7 (2019) on Thursday January 09, 2020 @08:47AM (#22001087)
> some_list.each do |this_item| puts this_time end

> for this_item in some_list: print(this_time)

Just a nitpick:

for one liners you can write:

some_list.each { |this_time| puts this_time }

Re:Studying the effects of interruption on motivation on Monday December 09, 2019 @01:08AM (#21740725)
I get this natural high when I find a breakthrough in a problem. My brain gets amped up and I literally can't focus and finish because of the buzzing sensation. I know it's my cue to get up from my desk and take a walk, usually a 10 to 20 minute walk until my brain settles down.

So having had this happen so much I've come up with an analogy. I love riding my bike and where I live it's really hilly. The best part about hills in this case is that fits the stopping when the going gets good: I change gears when I first climb a hill, making it easier to climb; once I'm close to the top the consistent effort I put into hill climbing pays off. This is where I get to stop pedalling.

Likewise, when working once the answer is there before you, stop, take a break and let your brain coast as it rewards itself with sweet dopamine for doing a good job.

To continue with the analogy, finishing a hard problem is like letting the potential gravitational energy do the work for you. It gives you chance to recuperate and focus on the next hill in front of you.

Re:The Lesson to Unlearn on Saturday December 07, 2019 @01:10PM (#21731643)
I think what he's saying is that the approach is wrong. The highly industrialized school system is the way it is because of scale. His perspective is the initial point (paraphrasing: tests should be the same as taking a blood test).

To add to that point, take a urine test: people have been hacking it for years. The purpose of the urine test is to see what residual byproducts from certain drugs are in my system. I can hack it by using someone else's urine or imbibe on drugs that have a short lifetime in my bloodstream. Otherwise, to pass the test I have to not consume drugs.

His complaint is that people who pass the tests really shouldn't have. It's like a principal assuring parents that a strict urine exam is given to all teachers only to find out all the teachers who work for you are drug addicts (drug addicts who can hack the pee test).

His reference to private schools teaching students how to hack tests resonates with me as social workers teaching drug users how to hack their pee tests. I take that to mean that if teachers are doing their best but resort to teaching how to hack tests then their needs to be more work done outside of the teacher-student system.

[This is where disparities due to parent's wealth and income come in:] Students who have access to tutors can get the help they in a way having a teacher can't. A teacher can be a tutor, but cannot be a tutor for everyone (an issue with scale).

Re:The Lesson to Unlearn on Saturday December 07, 2019 @08:21AM (#21730147)
I'm a non degree student at an ivy league and I took a course this semester because I wanted to learn the basic fundamentals of electrical engineering. Because I'm learning because I want to, I put in effort into things I find interesting and difficult without the pressure of deadlines and grades. I love grades because it gives me the feedback I need (otherwise I would "learn" from youtube videos and pdfs) to assess how well I know the subject.

I can take breaks from truly hard problems until I have enough clarity of mind to approach the problem with a new perspective. I can't do that with a deadline.

I don't care if the answers "are out there" meaning the professor has returned graded tests and posted the answers; I do the work because I want to learn. That paradox of students wanting to review graded homeworks and students who want to learn by doing the homework is resolved practically by those that are more vocal about their wants.

I'm happy to take my time, doing my best (with the understanding that my best takes time) and observing my grade afterwards. Sometimes my learning takes me down paths that harder and more rewarding with the consequence that I take longer than others: I am a slow learner.

Re:Test Scores Cast Doubt on U.S. Education Reform on Tuesday December 03, 2019 @10:15AM (#21692932)
do you have any articles that summarized the research or that you thought supported your learning style the best. I'm curious and I would like to know more about what you did versus mainstream grading/gamification please.
Re:Show HN: Dot-to-ASCII – Graphviz to ASCII Converter on Saturday November 30, 2019 @06:01PM (#21672619)
This is pretty easy to implement: https://github.com/ggerganov/dot-to-ascii/blob/79fd551467457...

Just replace `--as_ascii` with `--as=boxart`[1]

1. https://metacpan.org/pod/distribution/Graph-Easy/bin/graph-e...

Languages like J make this distinction: `=` is equals in the mathematical sense [1], while `=.` and `=:` are the assignment operators (the former being local and the latter global) [2].

Although the assignment operator and the equals operator are similar there is a preference to have the equals sign retain its original meaning.

1. https://www.jsoftware.com/help/dictionary/d000.htm 2. https://www.jsoftware.com/help/dictionary/d001.htm

I highly doubt it's a Fugue state.

>Unlike retrograde amnesia (which is popularly referred to simply as "amnesia", the state where someone forgets events before brain damage), dissociative amnesia is not due to the direct physiological effects of a substance (e.g., a drug of abuse, a medication, DSM-IV Codes 291.1 & 292.83) or a neurological or other general medical condition (e.g., amnestic disorder due to a head trauma, DSM-IV Codes 294.0).[7] It is a complex neuropsychological process.

The portion you quoted is part of the criteria that excludes an episode from being labeled a Fugue state.

Re:How to recognize AI snake oil [pdf] on Wednesday November 20, 2019 @11:10AM (#21585097)
Interpretation 1: they pooped their pants

Interpretation 2: they introduced a non sequitur in their excitement of finding their underwear (perhaps they lost it)

Interpretation 3: when they had their flashback to having worked in corporate 20 years ago they recalled where they misplaced their underwear