News for hackers. Stuff that matters.

fakeElonMusk

Why is everyone wasting time reading this post?
egghead.io has some good stuff, like this - https://egghead.io/courses/modern-redux-with-redux-toolkit-r.... Not super current but does a great job of going over concepts including in depth jest testing. Dan Abramov is a major contributor to egghead.

I would not recommend using expo. It's a huge stack of dependencies that will create conflicts when upgrading or using other packages (already problematic with pure RN). Maybe it's better now, but when I started with RN 4 years ago the Android issues were constant. Just use RN ejected, and you can still bring in expo packages as needed.

Ask HN: CI/CD for Python flask app?

For a web app and API project built with React, Flask, Swagger, MongoDB and Redis, what is the best practice in terms of deployment across stage and production instances? I'm working on this for my client and it's not really in my wheelhouse.Very low users (5-10/day) for the API and the admin site is used by one or two people. More of a proof of concept or prototype at this stage. Currently...

( Read More... | no comments | on HN )
"Over the past 10 years I've had multiple contracts where I billed my client 40hrs a week, though the work only took me perhaps an hour a day..." - how is that honest and ethical? I freelance and bill hourly, if I work one hour then I bill one hour. Just because the client is happy doesn't mean they should be overpaying. Maybe you're talking about a retainer situation?
Re:Ask HN: How can you make quick money? on Friday April 15, 2022 @06:04AM (#31038388)
I freelance full time. Sign up for TopTal or Gun.io - if you're good you'll get work immediately. The rate is up to you but likely somewhere between $50-$100/hr. I'm on both platforms and see jobs every week for React. Some are full time, others are 10-20hrs / week. You can even continue on the side once you get a full time job. I get LinkedIn recruiter messages every week and most of the time the rates are terrible, so haven't had much luck there. HN seeking freelancer also has contract / part time gigs occasionally.
Re:Ask HN: Anyone into Music Production? on Sunday April 03, 2022 @05:24AM (#30895611)
I started with it a long time ago and spent a lot of time learning the rack and tools, instruments. And it's worked well for me so I stick with it. I've used Digital Performer, Logic and Studio One and just never found them to be significantly better.
Re:Ask HN: Anyone into Music Production? on Saturday April 02, 2022 @11:56AM (#30889145)
I've used Reason since 2001. For a while I had a desktop PC for DAW stuff, and I mostly ran Cubase w Reason w Motu 828 MK2. Cubase + windows bugs drove me crazy. Once Reason supported audio I ditched Cubase and went onto Mac OS. I would highly recommend Reason as I think they have the best overall offering plus the quality is amazing - almost never encountered a bug or issue when using it. There are a lot of options these days so it kinda depends on what you want to do.
I've tried a lot of options to improve my sleep. What worked for me: - regular exercise in general but morning really works best for me and I would say avoid late afternoon / after work because your body will be too energized for sleep. - reduce caffeine intake. you can listen to Michael Pollan talk about his research for his caffeine book, where he stopped cold turkey and his sleep improved dramatically. - regular, consistent sleep hours - white noise if it helps, I use a diffuser (as mentioned Lavender is very good for sleep and diffuser) - CBD / THC. YMMV. I vape a 1/1 cbd thc plant strain and it def helps me sleep. I smoke late afternoon otherwise it can actually work against sleep if you go to bed buzzed. requires a bit of experimentation... - natural teas that help with sleep - Lemon Balm, Chamomile and Valerian. can be combined or separate. the only problem is that you may have to pee during the night if you drink these before bed. if you are in the UK you can also try this tablet

https://www.amazon.co.uk/ANTI-STRESS-TABLETS-combination-tra...

- a small amount of protein as a snack an hour or so before bed, peanut butter, yogurt, etc.

Melatonin did NOT work for me.

I have zero evidence that it's recommended or out performs your scenario. I do have one data point of it working well for me, so I'm planning on doing it again.
I did a fair amount of technical analysis trying to learn day trading a few years ago. I've also bought and sold stocks based on fundamentals, trends or hunches. I lost money and I made money. The best returns I had were from buying stocks in 2008/2009 during the crash (duh) and holding.

My approach now for long term investing is to auto invest monthly into 5-6 index funds w low fees, aka Bogelheads. Simple, low stress. Dollar cost average on auto-pilot.

Also, set aside a nice chunk of cash to invest during the next crash.

Re: on Thursday December 30, 2021 @06:10AM (#29735724)
According to the author, Neoliberalism is:

"Attempts to limit competition are treated as inimical to liberty. Tax and regulation should be minimised, public services should be privatised. The organisation of labour and collective bargaining by trade unions are portrayed as market distortions that impede the formation of a natural hierarchy of winners and losers. Inequality is recast as virtuous: a reward for utility and a generator of wealth, which trickles down to enrich everyone. Efforts to create a more equal society are both counterproductive and morally corrosive. The market ensures that everyone gets what they deserve."

How is this a problem of the left when it's also the agenda of the right?? The only difference is the left pretends to care more about social issues. And far left candidates like Bernie oppose most of these ideologies, so I still don't get how it's a "left" problem.

Re:Ask HN: Any Czech programmers out there? on Thursday October 28, 2021 @01:17PM (#29028492)
I'm from the good 'ol USA - been here for 6 years. My partner is Czech so it was easy for me to get a visa and then permanent residence. If you are coming here without a Czech partner and no job you need to consider how you'll get a Visa to stay - if you are Schengen then it's not an issue.
Re:Ask HN: Any Czech programmers out there? on Thursday October 28, 2021 @08:58AM (#29025534)
I'm in Prague but not Czech. Tech scene here is strong. Good technical schools and almost all of the major players have offices here - Microsoft (Skype team), SAP, AWS, Google. A lot of startups too and a few game studios. If you're a Senior dev you can expect to make at most about 60-80k USD / year, more typically 50-60k. Managers can make more but no one makes Amazon USA type salaries here.

I work remote freelance for US companies and charge USD, so that could be an option too if you are coming from there. Not sure what you define as "interesting or cool" for work but I would imagine you can find it.

https://www.startupjobs.cz/en/ https://www.jobs.cz

Ask HN: HTTPS and SSL Proxy security question

I'm not a security expert but I always thought that HTTPS was secure and that if my code was calling an API (for example) with HTTPS/SSL Cert that it was encrypted end to end. Rephrase, I know it's encrypted but I'm aware that MITM or SSL Proxy methods can be used to expose that traffic by spoofing client/server keys.So I assume that someone has to be on your network to use a tool like Charles...

( Read More... | 7 comments | 4 points | on HN )
I recently got work by responding to a post in the HN who's hiring / looking for freelancers monthly thread. When I need a project I always look there, as well as the other usual places. Also try TopTal or Gun.io. They are probably the best freelance platforms with real projects and clients who pay market rates (or close to it). Upwork is garbage...
Re:Ask HN: How Do You Negotiate? on Sunday February 02, 2020 @09:45AM (#22217122)
I'm also reading Voss's book and watched most of his Masterclass. You probably just need more time on task, which is the problem with learning a lot of things. Most of us negotiate job offers, salary, hotel upgrades, etc infrequently. One thing that works is not giving a fuck and be willing to walk away. For example, buying a car - in that specific scenario you have a ton of leverage.

Could be a good product idea - negotiation practice sessions as a service...

agreed - I donate a percentage of my monthly income to 4 or 5 charities. every few years I pick new charities or orgs to donate to. Kiva is one that I have been donating to for years, and now I don't donate anymore and just reinvest my payments.
Re:Ask HN: Germany vs. Canada for Tech Jobs? on Monday September 30, 2019 @08:40AM (#21114685)
I'm curious why you are miserable? I live in Prague and visit Germany 3-4 times a year and really enjoy it. Better food at restaurants and much better selection of food in the stores. However, I am not paying German taxes, health care or rent so I don't know much about actually living there.
Re:Ask HN: are pwd managers more secure? on Tuesday September 03, 2019 @07:35AM (#20865521)
I agree that a big pro for pwd manager is the generation of long, very secure pwds
Re:Ask HN: are pwd managers more secure? on Tuesday September 03, 2019 @07:32AM (#20865502)
This is another issue I have with it - if I forget a pwd for a site (or lose my paper) I can reset it assuming I have access to my email. If I forget a master pwd I'm f'd.
Re:Ask HN: are pwd managers more secure? on Tuesday September 03, 2019 @07:30AM (#20865493)
I have a pwd scheme like this that I use, but not based on book pages. But it's a cool idea...thx!

Ask HN: are pwd managers more secure?

Let's say I use 1password or any other password manager. They will eventually get hacked or there will be a back door or some exploit. Right? All software has vulnerabilities, even the NSA has been hacked. So why is it more secure than me keeping passwords on paper? I would like to use 1password but I'm also ok with staying old school. Convince me!

( Read More... | 8 comments | on HN )
use one of the many app analytics SDKs for iOS - Firebase, MixPanel, Flurry, Amplitude...
Re:Ask HN: Any good book for Kotlin Android development? on Wednesday July 17, 2019 @05:58AM (#20457906)
Check Kotlin lang and google docs - there are online courses there as well as books:

https://developer.android.com/kotlin

https://kotlinlang.org/docs/reference/android-overview.html

It sucks to lose work when you performed well and had a good relationship with the client. I feel your pain. Good advice in the comments here about staying in touch - offshoring will most likely fail for them. Swallow your pride and check in with them and/or offer to help in an advisory role. In the meantime work on skills and build your pipeline for new work. There's always another door...
Re:Ask HN: What are your top subreddits? on Monday June 10, 2019 @09:08AM (#20146364)
r/yakuzagames/ r/giantbomb/ r/GodofWar/
Re:Ask HN: Do startups hire overseas candidates? on Monday June 03, 2019 @05:13AM (#20081542)
Foreign talent in the right places is better than in the Valley (especially central and eastern europe). In fact a lot of the successful tech companies were started by foreigners, albeit in the US. However, beware the Valley / Startup Siren - she is a monster who wants to devour you.
I see a lot of remote jobs on angel list, here on HN, on SO and also LinkedIn. I work in Prague and there are two different US companies from NYC that have setup dev shops here, so they are for sure hiring remote engineers and paying almost what you might make in a smaller US market. So the number of remote jobs is only increasing.

https://jobspresso.co/remote-work/#s=1

Re:Ask HN: How do you secure your Mac? on Wednesday April 17, 2019 @04:05PM (#19686003)
in addition to FileVault I have uBlock Origin installed on all browsers and Malwarebytes running. but I have no idea if these programs are working, are looking for the correct threats or potentially have malware themselves. so far so good...

Older ยป