News for hackers. Stuff that matters.

perlwle

Re:I think GCP is better than AWS – by Fernando Villalba on Tuesday October 31, 2023 @06:53AM (#38082838)
A few months ago I was working on migrating cloud build for a personal project and hit a documentation error. Submitted a correction via the feedback button and it got fixed few days later. To be honest I was a little surprised by how fast it got fixed.
Re:It’s Time To Subsidize E-bikes on Tuesday June 27, 2023 @08:24AM (#36491809)
totally agree with you.

Regardless where you are, removable battery is a huge fire hazard. News about devastating fires caused by e-bikes batteries shows up from time to time. In China, It's common to see posters advocating for the storage of e-bikes outside building.

So don't store it in your home.

As a huge fan of podcasts, I am building a podcast information database that includes metadata on shows and episodes.

2 millions shows, 70 million episodes collected so far.

Now, I just need to find the perfect audience for it ¯\_(ツ)_/¯

A couple in Canada were reportedly scammed out of $21,000 after getting a call from an AI-generated voice pretending to be their son.

https://www.businessinsider.com/couple-canada-reportedly-los...

Re:Awesome Docker Compose Examples on Saturday February 25, 2023 @10:48PM (#34942859)
repos sitting in my Bookmarks.

* https://github.com/docker/awesome-compose

* https://github.com/PostHog/posthog

* https://github.com/growthbook/growthbook

* https://github.com/fleetdm/fleet

Supposedly, One can search github using `language:typescript filename:docker-compose.yml stars:>1000` but it's not working for me somehow.

Re:Rails on Docker · Fly on Friday January 27, 2023 @01:17AM (#34543181)
DB data can be stored in volume and persisted.

There are a lot of dockerfile / compose examples on github.

* https://github.com/docker/awesome-compose * https://github.com/jessfraz/dockerfiles

Vimium is the vim mode for browser.

I have been living with the broken yank feature for the past two weeks and just found out that Vimium has been disabled on the Mozilla addon site and leaving me no way to get the yank fix.

Re:What’s in a PR statement: LastPass breach explained on Tuesday December 27, 2022 @09:42PM (#34156928)
Also a long time keepass user.

The db file on my Mac is shared with iCloud and is acted as the master file. All updates happen on the mac and the rest of the clients just sync and do read only. It has been working well.

All my website passwords are saved in firefox account so I rarely need to update the db file.

Re:Ask HN: Is it still possible to live in a terminal? on Saturday October 15, 2022 @09:58AM (#33214883)
I have both PHPStorm and Pycharm running, each takes up 4+GB memory on a 8G M1. Slowly growing memory usage for WindowServer process makes matter worse.

For the last week, I have been playing with Neovim in spare time using a setup based on https://github.com/LunarVim/nvim-basic-ide It does pinning plug-in too.

It's working well for small projects so far.

Re:Software I’m thankful for (2021) on Saturday September 24, 2022 @11:05PM (#32968588)
Software I use the daily

Apptivate - set global keyboard shortcut for Mac. Firefox - been using it for 20 years and still loving it. Vimium - vim binding for Firefox. Make web browsing more productive.

Re:Tik Tok is a national security threat on Monday September 19, 2022 @10:35PM (#32907014)
You don't invite friends to your home just because his/her mom has strict rule in their home?
Re:Ask HN: What interesting problems are you working on? on Saturday September 17, 2022 @01:11PM (#32879166)
I built a historical feed builder[0] so I can listen to previous episodes in one feed.

Most podcast feeds only include last ~100 episodes. Podcasts such as Planet Money and Radio Lab have more than 1000 episodes in total.

Manually combining the feeds is too time consuming and I enjoy building this tool.

[0] https://backpod.podcastdrill.com/

the Canadian Centre on Substance Abuse and Addiction just released a new report[1] on Low-Risk Alcohol Drinking Guidelines.

> Among healthy individuals, there is a continuum of risk for alcohol-related harms whereby the risk is: > • Negligible to low for individuals who consume two standard drinks or less per week; > • Moderate for those who consume between three and six standard drinks per week; and > • Increasingly high for those who consume more than six standard drinks per week.

standard drink is the equivalent of a bottle of beer (12 oz., 341 ml, 5% alcohol) read more on the old report [2]

I know I will watch my beer intake more closely now.

[1] https://ccsa.ca/update-canadas-low-risk-alcohol-drinking-gui... [2] https://www.canada.ca/en/health-canada/services/substance-us...

Re:I want to give Oracle money but I can't on Thursday April 14, 2022 @01:27PM (#31030206)
Tried to sign up with credit card issued by Chinese Bank. Failed with 3 different cards(VISA or MASTERCARD).

I gave up.

At least the company was being honest.

I have heard some companies hide the truth of relocating to another city and announce it right before the move. As employee, you either move with the company or find a new job.

It's probably better to build a team in the new location then announce the move in advance. It will be a shock either way.

I afraid that I may say it out loud if I type `fuck` too many times.. ;0
Re:Alexandria Search on Saturday March 19, 2022 @09:44AM (#30733638)
already blocked by GFW. sigh..
Re:How to Design Better APIs on Saturday March 12, 2022 @08:17AM (#30651127)
https://www.vinaysahni.com/best-practices-for-a-pragmatic-re...

Helped me get started with API design in my early career. Learning from other existing APIs helps too. such as stripe, github, shopify. Any others?

Something that We do at my current job:

* set a standard and stick with it. tweak it if needed. we even have naming standard on some of the json key. for example, use XXX_count for counting. when it doesn't make sense, use total_XXX.

* Document your API, we use postman and code review API changes too.

Re:Show HN: Switch windows of same app with hotkey (alt + `) on Sunday February 27, 2022 @10:06AM (#30489073)
Doesn't work when windows are in full screen..
Re:Poll: Where do you live? on Saturday February 05, 2022 @11:44AM (#30222875)
HN has been blocked for more than a year now.
Re:Ask HN: Firefox connection problems after enabling DoH? on Thursday January 13, 2022 @03:59AM (#29918396)
Auto-Update doesn't work anymore. It's the first thing I tried when encounter this issue like 20 minutes ago.

Can't access any website or making any connection without disable `network.http.http3.enabled` and restart.

This impact is huge for million of firefox users!

Re:Kubernetes at Home with K3s on Sunday December 05, 2021 @11:11PM (#29456038)
Source?

It is rather the opposite based on mirantis latest blog post on Swarm https://www.mirantis.com/blog/docker-swarm-webinar-qa-long-l...

> It all stems from when Mirantis first acquired the Docker Enterprise business two years ago, they put out a blog saying, “We’re gonna support Swarm for at least two more years and we’re gonna take that time to kind of see what the need is, what the market dictates…”

> Unfortunately, some third parties took that and said, “Oh, they’re only going to support it for two years and then they’re going to sunset it.” That’s not true at all. This is important to us and to our future direction. We continue to invest in it and we have lots of large enterprise customers using Swarm in production at scale.

Re:The State of Web Scraping in 2021 on Tuesday October 12, 2021 @12:43AM (#28836138)
Building a side project using python scrapy to scrape podcast shows. I use it to search by title/description etc to find interesting podcasts. Also as a way to learn different tools and frameworks.
Re:The Framework is the most exciting laptop I've used on Wednesday September 22, 2021 @11:48AM (#28617756)
Would love to get some feedback on M1 for development.

I am used to work in Linux OS VM(Virtualbox and Vagrant in MacOS) and do most PHP/Python web development. It seems that Virtualbox won't be supported and There is only one Linux VM option available [UTM](https://github.com/utmapp/UTM)

I would hate to invest too much time for a new dev environment just for M1. How's your experience?

Re:How the CCP Does Job Promotions on Friday December 04, 2020 @01:55AM (#25299748)
JD used to include fapiao in the delivery too. Now It's using E-Fapiao.

> If you're shopping at the local corner store or restaurant, they're not declaring sales unless you specifically ask for a fapiao (and even then, half of them will lie and say their machine is broken).

Yeah. I agree. Though it's bit extreme to say `half of them`.

Re:How the CCP Does Job Promotions on Thursday December 03, 2020 @02:57AM (#25286647)
Well it certainly is not a state secret. Just google 'China business tax reform' It was a hot topic back 2, 3 years ago because businesses complained about the high tax rate.

Average Chinese may not think about paying tax for each sale because it's not printed on the receipt. But the price they pay do include all the taxes incurred to the business.

It's been a while, I remember that the receipts I got from IKEA and 711 do print the exact tax applied to this sale.

Re:How the CCP Does Job Promotions on Thursday December 03, 2020 @02:38AM (#25286548)
I can imagine that It's far cheaper to make friend with the police chief by giving him a free meal. Just in case the restaurant need special attention from the chief for situations like local gangs ask for protection money(probably very rare) or fight with drunken eaters. You never know.

It's still norm to bribe local officials so they will go easy on the businesses, such as speedy things up when dealing with the local gov, not enforcing laws when the business wants to pay less taxes.. etc.

Re:Libgen Storage Decentralization on IPFS on Wednesday November 25, 2020 @08:04PM (#25215978)
Ha. I was super surprised that my dad(almost 70) mentioned IPFS to me the other day. It turns out the people he know are running or thinking of running IPFS nodes because of filecoin incentive. Apparently, the people don't want to miss another bitcoin opportunity.

filecoin is also promoting in China. https://mp.weixin.qq.com/s/T0Qt2CEP7QsA6Zy9Vzvdkw

Perl is very much like this too.

$ perl -le 'print join(" ", "00".."20")' 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20

Older »