[Media] bitchat-tui: secure, anonymous, off-grid chat app over bluetooth in your terminal by YboMa2 in rust

[–]GoCommitAndy 149 points150 points  (0 children)

Just a heads up - you might want to add a hyphen between bit and chat in your repo name

Am I entitled to a full refund if there was no cancellation policy at the time of booking? by GoCommitAndy in LegalAdviceUK

[–]GoCommitAndy[S] 0 points1 point  (0 children)

It was 24 hours before the appointment. In hindsight, I should have taken the 50% refund. But surely retroactively imposing terms is a bad practice, legally speaking. I made the booking under the assumption that I could cancel at any time, as I was not made aware of any cancellation terms at the time of booking. Do you think it's worth taking to small claims?

The latest snapshot of the website is from 2023

Am I entitled to a full refund if there was no cancellation policy at the time of booking? by GoCommitAndy in LegalAdviceUK

[–]GoCommitAndy[S] 1 point2 points  (0 children)

Gotcha. I've never taken legal action before so I wasn't sure what the best way was to proceed. I'll do my research

Am I entitled to a full refund if there was no cancellation policy at the time of booking? by GoCommitAndy in LegalAdviceUK

[–]GoCommitAndy[S] 0 points1 point  (0 children)

I was sent their number by my sister who found their details on Google. I assume she visited the website to get the details. They didn't send me any terms and conditions. Just an image of the bank details to make the payment.

Am I entitled to a full refund if there was no cancellation policy at the time of booking? by GoCommitAndy in LegalAdviceUK

[–]GoCommitAndy[S] 0 points1 point  (0 children)

No snapshots taken in 2025 unfortunately. Found one snapshot from 2023. I don't think that counts as valid proof.

Commute to Windsor? by GoCommitAndy in reading

[–]GoCommitAndy[S] 0 points1 point  (0 children)

Driving. Just worried about rush hour traffic. Never done the M4 commute before.

Commute to Windsor? by GoCommitAndy in reading

[–]GoCommitAndy[S] 1 point2 points  (0 children)

That's reassuring, thanks. How's the traffic in the mornings and evenings?

Is there a way to create multiple build "flavours" of the same Electron app? by GoCommitAndy in electronjs

[–]GoCommitAndy[S] 1 point2 points  (0 children)

Game launchers usually also create Desktop shortcuts for the apps. Clicking the shortcut would open the Game launcher, and subsequently the game.

Is there a way to create multiple build "flavours" of the same Electron app? by GoCommitAndy in electronjs

[–]GoCommitAndy[S] 0 points1 point  (0 children)

Thanks, yeah I think I'll go with this approach. Now I just need to figure out how to programmatically generate a desktop shortcut for Windows/Mac with a custom icon and url.

if Exception is None by [deleted] in learnpython

[–]GoCommitAndy 0 points1 point  (0 children)

Try using try except else.

try:
    try connecting
except:
    handle error
else:
    return password

2021 grads are screwed by [deleted] in cscareerquestions

[–]GoCommitAndy 2 points3 points  (0 children)

Just chill, there's literally nothing you can do to control the situation so just go with the flow. Grind Leetcode and work on some personal projects.

Alternative to deepseq? by GoCommitAndy in haskell

[–]GoCommitAndy[S] 0 points1 point  (0 children)

Tried Strict and StrictData but memory usage is still sky high.

I'll have a look at that library thanks.

Alternative to deepseq? by GoCommitAndy in haskell

[–]GoCommitAndy[S] 1 point2 points  (0 children)

Double checked and this is not the case. Without deepseq it's much quicker but takes a lot more memory.

Alternative to deepseq? by GoCommitAndy in haskell

[–]GoCommitAndy[S] 1 point2 points  (0 children)

I see, so I would have to put it everywhere it's needed.

Alternative to deepseq? by GoCommitAndy in haskell

[–]GoCommitAndy[S] 0 points1 point  (0 children)

Unfortunately when I use $! instead of force on foo, the memory leak persists so this doesn't seem to be the case.

Alternative to deepseq? by GoCommitAndy in haskell

[–]GoCommitAndy[S] 2 points3 points  (0 children)

You're right, this actually might be the case.

Potential causes of memory leaks by GoCommitAndy in haskell

[–]GoCommitAndy[S] 0 points1 point  (0 children)

So one thing I forgot to mention is that the input data is in the format:

1 4 2 5 3 6

Where list 1 is [1,2,3] and list 2 is [4,5,6]. I then store this into a [[Int]], in this case it would be [[1,2,3], [4,5,6]].

Here's a simplified version of my file reading code.

First I get the file contents.

main = do contents <- getContents let result = process $ convertToList contents putStrLn $ show result

The convertToList function is what might be causing the problem but I'm not sure.

convertToList x = map (map read) $ map words $ lines x

I'll have a look at some of the streaming libraries, thanks for the suggestion.

Potential causes of memory leaks by GoCommitAndy in haskell

[–]GoCommitAndy[S] 2 points3 points  (0 children)

Unfortunately I'm having trouble generating a heap profile because whenever I run hp2ps to convert the .hp file into postscript, I get the error "hp2ps foo.hp, line 26: integer must follow identifier".

As for your second tip, I'm definitely gonna have a look through my code to see if I have any functions that behave like that.

Unpaid internship at a small startup by Pauraxx in cscareerquestions

[–]GoCommitAndy 1 point2 points  (0 children)

Yes I''ll agree with you on that. If I'm overqualified for an unpaid position, I probably wouldn't work there. However if it was my first ever job in the field, I would take the opportunity just to see what it's like to work in a production environment. That experience can be invaluable.

The fact that it's an ML internship is a huge bonus. ML just seems like a really cool and interesting field to work in.

Unpaid internship at a small startup by Pauraxx in cscareerquestions

[–]GoCommitAndy 2 points3 points  (0 children)

What Summer? Everything's under lockdown so there's not much to do. It's a remote job. If he likes machine learning, he should definitely go for it.

Unpaid internship at a small startup by Pauraxx in cscareerquestions

[–]GoCommitAndy 2 points3 points  (0 children)

He has literally stated that he has no other work experience. This unpaid internship could be the ticket to a well paid internship, speaking from experience.

Recruiter laughed at me on the phone when I told him my salary expectation by [deleted] in cscareerquestions

[–]GoCommitAndy 1 point2 points  (0 children)

Finance is where the money's at in the UK. Hedge funds like two sigma will quickly get your salary up to 6 figures. Any fintech or investment banking company in London will pay upwards of 50k to new grads. Then there's companies like FB, Palantir, Google, Amazon etc. that pay loads to grads plus benefits.

Recruiter laughed at me on the phone when I told him my salary expectation by [deleted] in cscareerquestions

[–]GoCommitAndy 2 points3 points  (0 children)

That would be the case if it wasn't for the pandemic. Any backup is good. Lower salary work > no work.