HNHacker News
TopNewBestAskShowJobs

jzwinck

5,693 karma · joined December 14, 2011

submissionscomments
jzwinck··on A look back: The Bloomberg Keyboard (2017)
Quite a few of the keys have awkward action with excess stiction. Not great for programming (and indeed many Bloomberg programmers used other keyboards when that one was current).
jzwinck··on The Banana Trick and Other Acts of Self-Checkout Thievery (2018)
It already has, in Singapore. There are Starbucks which close at night simply by drawing a plastic chain across the storefront and emptying the cash registers. I think they still lock the Frappuccino fridge, but no one knows for sure because we don't go test it.
jzwinck··on Art's sale value? Zero. The tax bill? $29M
Not every game or sport has to devolve to angling for loopholes. Sure, get a friend to buy it, never be invited to compete again. Congratulations, you cheated to win a race almost nobody knows or cares about (if people did care so much about winning this race, they wouldn't think twice about "losing" a million bucks by openly over-spending).
jzwinck··on Windows 3.x looks for 3 occurrences of “CON” 59 bytes apart
Definitely not.
jzwinck··on Europe says 737 Max won't fly until it completes it own design review
It would be unethical to do so explicitly ("Airline kills poor people"). It could happen automatically due to demand based pricing, but many people don't know the difference and would price the risk at zero. So I think it's "Mostly no."
jzwinck··on Five Hundred and Seven Mechanical Movements (1908)
I like http://507movements.com/mm_398.html which is a programmable drive system. Constant rotation input can give you a cyclic but irregular and arbitrary output movement.

Another good programmable mechanism is a spring made from sheet metal. Take a flat piece and cut a spiral with the width of the material proportional to the force you want at that part of the spring's travel. Stretch it out to form a little tower, with the base on a solid surface, and the load carried on the center of the spiral.

jzwinck··on Building better software with better tools: sanitizers vs. Valgrind
No test suite, no problem. Just run in a production staging area or deploy to beta users.
jzwinck··on ELF files on Linux
Position Independant Executable (PIE) files are detected as shared libraries because they use the same old identifier as position independent shared libraries. The ELF folks could have added a new type but did not, leading to some confusion like this: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+...

PIE is a security feature, which is why it has proliferated on newer systems. See https://access.redhat.com/blogs/766093/posts/1975793

jzwinck··on Predicting Stack Overflow Tags with Google’s Cloud AI
I have some unproven factors for predicting certain popular low-scoring questions: https://meta.stackoverflow.com/questions/373412/require-conf...

A lot of questions that should have a very low score get fixed by people other than the original author. This may make your modeling more difficult because not only are there multiple authors, but the expected score of a question is not time-invariant. In fact, the final score of a question is a path dependent composite score of potentially several intermediate formulations.

jzwinck··on We got banned from PayPal after 12 years of business
Hong Kong is part of China and also not part of China. So it makes perfect sense that a Hong Kong company is both Chinese and not Chinese.
jzwinck··on Boeing Believed a 737 Max Warning Light Was Standard
So even now Boeing will not include all safety features for all customers. Not that Airbus is doing better, but this indicates that Boeing is not concerned that it could face serious charges for continuing to sell planes with some safety features missing. That's interesting! Why are they so assured?
jzwinck··on JetBlue explains to a passenger how it got a photo of her face
Even better, many foreign visitors can use the same system to enter Australia. Lots of countries have fully automated entry for citizens but by doing it for foreigners, Oz is ahead of the game.
jzwinck··on An Introduction to Vectorization
It isn't about temperature directly. Recent Intel CPUs instantly incur a noticeable penalty as soon as certain 256 bit or wider instructions are encountered. It doesn't matter if it's only a single instruction, you pay the penalty before anybody notices the temperature.

After some fraction of a second it does revert to normal, if you haven't used any such instructions again.

jzwinck··on Indonesia election: More than 270 election staff die counting votes
Young people with jobs might be less likely to count votes. At the extreme, if you believe you are about to die and want to leave maximum money to your family, counting votes was a sound strategy (due to the benefit paid to families).

And it is low danger but not as low danger as staying home. Many would commute by motorcycle in the open air, much of which is heavily polluted, and staying home would ensure they stick to routines of drinking water and resting during the hottest times.

jzwinck··on Stop Memsetting Structures
Sure you get free unaligned access for scalars on x86, but unaligned arrays are still trouble if you use SSE (which basically everyone does).
jzwinck··on Credit cards automatically providing updated card info to subscribing merchants
I had my credit card number stolen and the thief used it to subscribe to Netflix. 16 times. That's right, they created 16 Netflix accounts in one day using the same credit card details. Apparently a basic sanity check like "Are we already billing this card?" is not implemented at all, and Netflix support admitted as much.

I think it's in the merchants' interest to proceed with lackluster sanity checks, knowing that some erroneous charges will make it through. It's got to be a multimillion dollar business collecting fees from the unaware, the scammed, and the dead.

jzwinck··on Boost Histogram: Fast multidimensional histogram, convenient interface for C++14
> If you had to Google what `std::ref` is then you aren't a very proficient C++ developer

I can't recall the last time I saw someone use std::ref. Maybe once in the past 5 years, and I think I deleted it after I fixed something else. One of the good things about C++ is that you don't have to use all of it (in fact, you probably should not use all of it).

jzwinck··on Connecticut moves to help low-paid workers hurt by noncompete rules
...and stipulate that the employee may work for any non-competing entity while still being paid by their old employer. This way the employee can make even more than their original wage, to offset the facts that they aren't being allowed to work in what is likely the job they'd find most fulfilling, and they aren't making as much career progress while working in a different field.
jzwinck··on Boost Histogram: Fast multidimensional histogram, convenient interface for C++14

    for (double x : { -10, -0.4, 1.1, 0.3, 1.3 })
      h(x);
Shorter, better.
jzwinck··on Why India's rich don't give their money away
FYI most people don't know what a lac (lakh) or crore is. And if you simply Google "1 crore in USD" it converts 1 crore of your geolocated currency (which won't be Indian Rupees unless you're in India, which you won't be because then why would you be trying to find out what a crore is?).

It helps people understand what you're saying if you use international units like millions (of rupees).

jzwinck··on Philadelphia Is First U.S. City to Ban Cashless Stores
Of course you should be able to refuse 1000 pennies. Singapore has a very simple law that solves this cleanly with no fuss at all: https://www.straitstimes.com/singapore/what-you-should-know-...
jzwinck··on Open Letter from New York State Budget Director Robert Mujica Regarding Amazon
You assume there is no economy of scale for government spending. For example, building a road to serve 10 million people may be cheaper per capita than a road for 1 million people. Same on the revenue side: doing a single large deal for $27B is probably cheaper than doing a thousand deals for $27M.
jzwinck··on Why's a Big Red Tanker Drifting Near Boston?
I think you're mistaken:

> The Jones Act requires goods shipped between U.S. ports to be transported on ships that are built, owned and operated by United States citizens or permanent residents.

https://www.investopedia.com/terms/j/jonesact.asp

jzwinck··on Removal of Safe Harbor Protection for Rebates
This applies to hospital and doctor charges too, not just prescription drugs. I was shocked when I found out that "20% copay" is simply a lie.
jzwinck··on I have chosen the wrong flight dates because your date picker is broken
There is some truth to this. A couple years ago I bought three tickets from AirAsia. A week before the flight there was a volcanic eruption which canceled all flights at the destination. They issued me a credit voucher for future flights. Half the credit expired before I next needed to travel to an airport they service.

I still use them because sometimes they are $300 cheaper. And they don't play hardball with luggage weights, unlike some full fare airlines like British ("Your bag is 7.8kg, the limit is 7kg, if you want to carry it on you need to remove five pieces of clothing and put them on yourself").

jzwinck··on I have chosen the wrong flight dates because your date picker is broken
Wait, their customer facing UI only supports a timezone that virtually no humans use?

That doesn't sound like a datetime library design problem, it sounds like they totally neglected to use a datetime library at all.

jzwinck··on I have chosen the wrong flight dates because your date picker is broken
eBay had a bug sort of like this that prevented posting items for sale for about three years.

"Works on our machines!"

jzwinck··on I have chosen the wrong flight dates because your date picker is broken
Air Asia, like many discount airlines, charges different fees depending on payment method. Paying by bank transfer carries roughly half the fee of paying by credit card. So a lot of people can't do chargebacks.
jzwinck··on I have chosen the wrong flight dates because your date picker is broken
Air Asia, like many discount airlines, charges different fees depending on payment method. Paying by bank transfer carries roughly half the fee of paying by credit card. So a lot of people can't do chargebacks (which is part of the reason bank transfers have lower fees in the first place, less risk for the airline).
jzwinck··on Boeing 787 Suffers Rare Dual Engine Failure on Landing
The Ryanair booking website has several bugs exactly like what you describe. If you use it too quickly it won't sell you plane tickets. If you use it more slowly it works fine.
← PreviousPage 9 of 34Next →