HNHacker News
TopNewBestAskShowJobs

cwt137

398 karma · joined June 19, 2013

submissionscomments
cwt137··on Image file formats that didn’t make it
PDF doesn't encode something. PDF supports a few data formats. They call them "filters"; for example CCITT Fax, JBIG2, DCT, RLE, etc. Its up to the PDF creation program to pick the best data format for the image it would like to put into the PDF.
cwt137··on Crazy Clock
https://www.youtube.com/user/nsayer/videos
cwt137··on Linus Torvalds on mRNA Vaccines
Yes. https://www.amazon.com/How-Immune-System-Works-dp-111954212X...
cwt137··on U.S. Postal Service releases dog attack national rankings
I was thinking the same thing. It should be something like dog bites per 1,000,000 residents or something like that. Then, the rankings would probably change.
cwt137··on Explaining 4K 60Hz Video Through USB-C Hub (2019)
It would be interesting if the author mentioned not just about 4k60, but also how do you get something like 10bpp color. I have a MBP and can watch YouTube videos in HDR on the laptop screen, but not through the hub I have.
cwt137··on All my servers have an 8 GB empty file on disk
In theory, this is a good idea, but doesn't protect you in all cases. I have had instances on a few of my application servers where an event happened that dumped GB's worth of log data to the log files in a matter of a couple of minutes and filled up the drive (Thanks fast SSDs!). If I employed the strategy in the article, it would have only bought me a couple of more minutes worth of time, if that!
cwt137··on Visa Advertising Solutions (VAS) Opt Out
I get "System Error" when I submit my card number
cwt137··on US Postal Service data suggests significant population decline in San Francisco
This was a poorly written article. Although it had numbers, there was nothing to compare it with. For example, the same time period in the previous year or to other big cites, etc.
cwt137··on We chose Java for our high-frequency trading application
I don't like how the author of the article said that PHP is an interpreted language and thus does not execute anything like Java is executed.

I'm not saying PHP executes just like Java, but PHP is more like Java than he realizes. PHP does not execute line by line like an interpreted language. But takes the source and compiles it down to an intermediate representation (IR), just like Java. Java calls it bytecode, PHP calls it OPCodes. Also like Java, PHP then takes that IR and executes it on a VM. Java's is stack based and PHP is register based, if I remember correctly. Many PHP accelerators / caching solutions save the IR and thus, the next time the code is needed, no compilation of source code is done.

cwt137··on What's so hard about PDF text extraction?
At my work, i had to generate PDFs based on the outcome of a workflow. My first thought was to use xml, xsl-fo. I spent 100s of hours trying to get everything to work properly with Apache FOP (mostly a layout issue with the XML stylesheet. It seems really limited) [1]. In the end we went with PrinceXML [2]. Much easier solution.

1. https://xmlgraphics.apache.org/fop/ 2. https://www.princexml.com/

cwt137··on Surprising new feature in AMD Ryzen 3000
This hidden copy feature, do you think someone can exploit it in a similar way as recent exploits like meltdown and spectre?
cwt137··on Rocket League left behind on macOS and Linux due to DirectX 11 shift
Wine implements DX11. So that is not the issue why the company is dropping support for Linux and Mac.
cwt137··on Rocket League left behind on macOS and Linux due to DirectX 11 shift
The article makes it sound like they were running DX9 in Linux and MacOS. If true, how is this so? Is there some type of X11 extension that implements DX9 or something?
cwt137··on New 10.3″ Waveshare E Ink Monitor
The display probably uses the same or similar chip as their other 10.3 display. It has A2, G16 modes and stuff too. http://www.waveshare.net/w/upload/c/c4/E-paper-mode-declarat...
cwt137··on Radeon Open Compute 3.0
Will this help any on getting acceleration for Tensorflow?
cwt137··on Tell HN: CNN Lite no longer functional
FYI, another name for lite.cnn.com is m.cnn.com
cwt137··on Paged.js: Paginating content and making books in the browser
Is this library needed, if you are using PrinceXML?[1] Looks like a lot of the pagination and margin stuff is already supported by CSS 3

[1] https://www.princexml.com/

cwt137··on Contributing to Open Source via Video Game
Drupal Ladder[1] teaches people how to install git, install Drupal, review and revise patches, write tests, work on core issues, etc.

[1] http://drupalladder.org/

cwt137··on LegoOS: A Disseminated, Distributed Operating System
Me too. I thought this was going to be about the Lego Mindstorm Robot OS going open source.
cwt137··on Safari 13 Is Out
It says for MacOS, so no.
cwt137··on Xip.io: Wildcard DNS for Everyone
yes
cwt137··on I Visited 49 Sites. Hundreds of Trackers Followed Me
The pi-hole is too aggressive when it blocks stuff. For example, on the Fandango mobile app, the payment gateway is blocked by the pi-hole. A user should use the white list functionality to add the domain or two to get back the site's functionality.
cwt137··on The Fed is getting into the Real-Time payments business
Even with frequency trading, I think the trades still settle like 3 days later.
cwt137··on Raspberry Pi microSD card performance comparison
You can also get "Endurance" SD cards. A lot of failures are due to too many writes. The endurance ones allow many more writes than the regular consumer cards
cwt137··on 7.1 magnitude earthquake strikes Southern California
Better construction is real. I work for a medical institution that is spending close to $1bln to build a new hospital from scratch because they found it cheaper than to do yet another earthquake retrofit.
cwt137··on Raspberry Pi 4
Also, they probably ran out of space on the board
cwt137··on MIPS R3000
This is the book. Thanks for your help
cwt137··on MIPS R3000
I remember reading a computer architecture book that used a fictional MIPS instruction set and used washing and drying clothes as an example of how to pipeline / do parallel instructions. Does anyone remember the name of that book?
cwt137··on Ramroot – Run Arch Linux Entirely from RAM (2017)
PXE boot FTW! I use to work on a project that used LTSP to make a couple dozen thin clients. The thin clients were slow, but the OS was fast. This isn't entirely the OS in RAM as a big chunk of the file system was mounted over the network, but most of the OS was in RAM.
cwt137··on Choosing Ruby on Rails for web development project in 2019
You wont because they are a PHP shop https://codeascraft.com/?s=php
← PreviousPage 2 of 5Next →