Better HN
topnewbestaskshowjobs
Log inSign up

dashesyan

118 karma · joined Sep 13, 2014 (12y ago) · 23 submissions

Submissions

comment 7mo ago · link · parent

Time Machine has a similar issue. OneDrive silently corrupted hundreds of my files, replacing their content with binary zeros while retaining the original file size. I have Time Machine backups going back years, but it turns out TM does not backup Cloud files, even if you have them pinned to local storage! So I lost sales those files, including some irreplaceable family photos

I’ve added restic to my backup routine, pointed at cloud files and other critical data

comment 3y ago · link · parent

Should be called ElectronPHP

comment 4y ago · link · parent

Maybe on new accounts? I looked in my paypal portal and they are still refunding fees for my refunds

comment 4y ago · link · parent

I don't know about Stripe, but PayPal refunds PayPal fees if you refund the customer. Net amount in and net amount out are the same.

comment 4y ago · link · parent

This doesn’t duplicate one of the best features of Ngrok: the local web server that lets you inspect and replay recent requests. This feature makes writing webhook code so much easier, because if your code doesn’t work right, you can inspect the request, fix your code, and have Ngrok replay the request until it’s all working properly. That’s even in the free version! And the paid version is also pretty cheap, and you don’t have to maintain, nor pay for, a cloud instance

comment 5y ago · link · parent

Because the DOM can be updated client-side before the server responds

comment 6y ago · link · parent

OK I did. Results:

https://i.imgur.com/D128c3T.png

For developers who responded "I am a developer by profession" and used C, C++, Java, and/or Python in their dev environment, VSCode tops VIM, which tops Sublime, which tops Emacs. Every time!

Source: StackOverflow survey results from 2019. Looking at 65,679 responses marked as "I am a developer by profession" https://insights.stackoverflow.com/survey

comment 6y ago · link · parent

Hey, I'm a customer of IBM Cloud, too. Could you share what you're hearing from them? It would be nice to know what's going on

comment 6y ago · link · parent

Tobi Lutke (Shopify CEO) has put out a $10,000 bounty for cross platform virtual camera for OBS

https://twitter.com/tobi/status/1242641154576965634 https://github.com/obsproject/obs-studio/issues/2568 https://github.com/obsproject/rfcs/pull/15

comment 6y ago · link · parent

Yes there’s OBS Virtual Camera and there’s NDI tools

See the setup section here: https://www.hanselman.com/blog/TakeRemoteWorkerEducatorWebca...

comment 6y ago · link · parent

Here are the details of Austria’s lockdown, for the curious: https://fm4.orf.at/stories/3000031/

comment 7y ago · link · parent

There's a "yo momma" joke just waiting to be made here...

comment 7y ago · link · parent

NewEgg and eBay

comment 7y ago · link · parent

You're giving away my secrets! I've bought 3 of these types of HP workstations over the years, starting with a Z210 with a Xeon E3-1240. I added a graphics card to make it a super budget gaming PC.

My most recent one is an HP Z420 workstation with 128GB of ECC memory, an 8-core Xeon, and Win10 Pro installed for $620 delivered. Benchmarks of the CPU show its comparable to a Ryzen 1700X in single and multi core, but I really bought it for the RAM. It's a great machine for homelab-type virtualization.

comment 7y ago · link · parent

The article linked to a 34 minute YouTube video which demonstrated one unlock method: they replaced a locked iPhone's CPU, baseband CPU, baseband EPROM, NAND Flash (reprogrammed), and touch ID sensor with ones from a donor iPhone and were able to restore iOS.

comment 7y ago · link · parent

> To be vegetarian is to be vegetarian in mind and identity.

I've been a vegetarian for 7 years. I identify as vegetarian. That doesn't mean I have some sort of purity of mind and spirit. It just means I don't eat meat, gelatin, etc... I enjoy fake meats, and I'm excited to try one of these.

comment 8y ago · link · parent

Hopefully soon. I've been waiting for > 16GB for almost 7 years now. :/ (I have a 2011 MBP with 16GB RAM)

comment 9y ago · link · parent

What is TruffleRuby?

"JRuby+Truffle started as my internship project at Oracle Labs in early 2013. It is an implementation of the Ruby programming language on the JVM, using the Graal dynamic compiler and the Truffle AST interpreter framework. JRuby+Truffle can achieve peak performance well beyond that possible in JRuby at the same time as being a significantly simpler system. In early 2014 it was open sourced and integrated into JRuby."

via http://chrisseaton.com/rubytruffle/

I've used JRuby for a while, but I hadn't heard of Truffle

comment 9y ago · link · parent

Just make sure you eject any removable disks before hibernating. And, sleepfast may drain your battery faster than the default hybrid sleep

comment 9y ago · link · parent

I've had this in my .profile for years:

  alias sleepsafe='sudo pmset -a destroyfvkeyonstandby 1 hibernatemode 25'
  alias sleepfast='sudo pmset -a hibernatemode 0'
  alias sleepdefault='sudo pmset -a hibernatemode 3'
Whenever I travel or need to leave my laptop, I always run `sleepsafe`, which will delete the key from memory and hibernate the computer when I close the lid. It has the added benefit of saving battery life.

Day-to-day, I use `sleepfast`, which is faster than the default hybrid sleep, because it doesn't spend time copying the contents of memory to disk.

I very rarely switch to `sleepdefault` which is the insecure and slower hybrid sleep.

This has been a known issue for years http://osxdaily.com/2013/07/06/maximize-filevault-security-d... https://nakedsecurity.sophos.com/2012/02/02/filevault-encryp...

comment 12y ago · link · parent

It looks like you're right. Thanks!

comment 12y ago · link · parent

Nokogiri comes with a command-line tool for just that purpose: https://github.com/sparklemotion/nokogiri/blob/master/bin/no...

Example: nokogiri https://news.ycombinator.com -e 'puts $_.css("td.title a @href")'