HNHacker News
TopNewBestAskShowJobs

mastre_

129 karma · joined December 5, 2013

submissionscomments
mastre_··on Mazda is purging touchscreens from its vehicles
> The Tesla's all-touchscreen situation in particular seems like a terrible idea.

Terrible idea? It's the best thing since sliced iPhone. Keep in mind that the "car" is usually driving itself; that's a much higher level of solving the "silly human takes eyes and hands off road" problem, which makes what Mazda is doing seem, frankly, short-sighted (disclosure: although a Honda/BMW/Tesla fan, I've always secretly cheered for Mazda because I like their driving "DNA," and if I ever buy another non-EV again it might just be an MX-5 NA or NB for autox/track use). Now, of course, they're _currently_ not in the same league, but this stuff is getting cheaper (technology! heck yeah!) and these changes should be a look toward the future. All of that said, I don't feel like there's anything wrong with the move they're making, just, again, doesn't seem terribly forward-looking -- other than that, it's perfectly fine.

mastre_··on Flying-V: Flying long distances energy-efficiently
> It's possible to have a private shower and bedroom onboard an A380 flight, but you will pay dearly for the privilege.

I wonder if a paid shower pass system would work. You wait your turn, but you get to take a shower, for, say, something like $100. Just seems like it's kept to an all-or-nothing on purpose.

mastre_··on Introducing Project Mu
mind blown
mastre_··on America’s Cars Are Getting Faster and More Efficient
I recently completed a day of high performance driving school where we ran M3s and M4s the whole day (these were all equipped w/ DCT, the Competition Package, and Carbon Ceramic brakes).

There is so much more to actual high performance driving than acceleration numbers. You may say "oh yea, cornering!" and while that's certainly delving deeper into it, there's a _lot_ more than just that (and many, many things go into "cornering").

So the M3/M4 w/ the competition package makes 444 hp and does 0-60 in 3.9s, which is "slow" compared to a P100D in Ludicrous Mode. It's actually really fast with just 2 driven wheels, but there's much faster out there. But, now:

- The Transmission. Transmissions are a technical solution to a technical limitation of ICE, namely the fact that the delta of engine speed is much smaller than the delta of wheel speed (even at "just" legal speeds), therefore gearing was introduced. Transmissions are not necessary, and should not be seen as something that's great about a car, if a car is capable of being driven at the full range of wheel speeds its market segment targets w/o a transmission. While the DCT is perhaps one of the best transmissions in the world (on par with exotics found in much more expensive vehicles), it will be a good riddance when it's no longer necessary. No matter how good a transmission is, there will be an imbalance in power when shifting, which _will_ upset the vehicle in a high performance cornering scenario, which the closer you are to the limit (with something like DCT, you will need to be a highly skilled driver to even begin to approach having this matter), the more it will count.

- Suspension and, directly related, vehicle weight. Your Tesla can do 3.x 0-60, but you need high performance suspension and low weight to make use of it in corners. Something like the M3/4, and even more so the suspensions GM has been putting in its high performance products like the Stingray (which trickles down to Camaros and ATS/CTSes), are a world away from just "standard" high performance suspension.

- Differentials, electronics. Limited Slip Differential will make a marked difference in high performance cornering when you're not exactly perfect. All the electronics for stability control, traction control, abs/braking, they all work in tandem. On the M3/4 they work really, really well. I was able to feel like Superman by pulling some feats that simply would not be possible without these advanced systems and my skill level. You would think that this is not so much of a good thing, but it actually works both ways and _can_ be good -- for example, as I got more confident on the AutoCross part of the day, I started to hit some of the nannies, particularly stability control which would not give me full throttle until I had unwound the steering wheel. Now, the instructors had been shouting this in my ear all day long, but actually _feeling_ this really connected it for me and I started to get it and was able to learn _faster_ because of the feedback I was getting from the car due to the nannies keeping me from wiping out. It was quite amazing, and I'm sure that very few of my fellow students realized just how much the electronics had helped them that day.

- Brakes! You need to stop. The simple fact that the M3/4 can be spec'd w/ Carbon Ceramic discs (which also moves from 4-piston to 6-piston calipers) puts it in a different class. We abused these cars all day long, maximum acceleration and maximum braking most of the time. The brakes never faded, it was simply incredible. 35-40 ppl abusing 12 cars (6 M3s & 6 M4s) for about 6 hours, zero fade (and zero mechanical issues out of a dozen cars). This makes it a street-legal track machine (tool), compared to just a car that gets to 60 MPH fast. We were told early on to literally "try to break the brake pedal off," and, because some students had reservations, they insisted "please, you cannot hurt these cars, do absolutely everything possible to break the brake pedal because we want you to experience maximum braking" (this was during a maximum braking exercise early on, which the later exercises built upon), finally adding "n fact, we challenge you, if you can break the brake pedal we'll give you the car for free." God knows I tried. Contrary to what you would think, the brakes had one of the most profound, lasting impressions on me, and I would absolutely, without batting an eye, spec the $8,500 option for the Carbon Ceramic brakes on these cars if I had the slightest inclination of tracking them.

- "Abuse" capacity. I'm not talking about long term reliability, as far as the engine is concerned, an electric engine _should_ be night & day compared to a complex, "cave age" ICE. But there's more to it, there's the drivetrain -- yea, even with a single speed, there are shafts, some sort of differential, in AWD applications even more complicated stuff going on. 35 monkeys trying to break these 12 cars resulted in.. nothing, not a single one of them exhibited any issues. The school ran for the whole week and we were the Wednesday class, so these cars had already been abused in similar fashion the 2 previous days. Now, these cars are engineered to do this, so it's not really abuse since they're made for it. That's why you're paying $80k+ for "just" an M3/M4 (again, with all the right options, the brakes being almost $10k of that), on paper it looks like "wtf, a Mustang GT makes about the same power" -- you're buying a real-deal track machine that's street-legal and, in 4 door guise, can take your kids to school too.

I _cannot wait_ for the time when there will be a comparable machine that does away with all the now-unnecessary complexity of ICE. Not having gearing and the issues it introduces will change some of the dynamics of high-performance driving, it will be superior even in the hands of pros. Until then, ICE is still here with us, and the 0-60 numbers on most/all cars are like MegaPixels on digital cameras.

mastre_··on AWS for Kids
They take the most direct way of explaining things too, instead of always going in a roundabout way. Their design decisions do not leave anything to be desired and you're never left scratching your head as to why anyone would ever build something this way especially when there are dozens, dozens of people asking for it to work the way any sane human being would think it should work. Great for kids!
mastre_··on GitLab Database Incident – Live Report
IMO the idea of secrecy equating to professionalism is _the_ problem with many things. "Information wants to be free." It's also more personable, especially to those who use their product - to me, it shows they're on top of it, they care and are taking responsibility. Gives you a sense like you're part of the team (or they part of yours).
mastre_··on Piet – A programming language in which programs look like abstract paintings
Tangentially related: The Whitespace Programming Language (WP[0], Homepage[1])

[0] https://en.wikipedia.org/wiki/Whitespace_(programming_langua... [1] http://compsoc.dur.ac.uk/whitespace/tutorial.html

mastre_··on Does Not Work
Cuts both ways tho. There are developers (some good, most not) who are notorious about not testing their code. "I don't know dude, it doesn't seem to work -- did you test it?" is fair game in these cases, especially once a pattern has been established. As in, why don't you look into it and figure out why it doesn't work instead of asking me to do it for you? As in, letme-not-googlethatforyou. Of course, depending on severity, action should be taken right away to address this bad habit.

Re: "no hello", I'm not fully with it. Some developers enjoy a more human-like interaction which doesn't play into the unfriendly programmer/BOFH stereotype. Lack of testing will cost the company a lot more time and have more damaging effects than people saying hi to each other (which could be argued to be worth the little extra time it takes to play out):

  1. Dev commits untested code
  2. QA has to catch it
  3. QA has to fill bug report
  4. Dev not known for testing has to read bug report
  5. Dev not known for testing has to fix bug
  6. Dev not known for testing has to test reported bug
  7. Dev not known for testing has to commit fix
  8. QA has to look at again, and either approve/close or send back to step 3.
     - versus -
  1. Dev commits tested code
  2. QA tests change
  3. QA approves change
One pet peeve is people who ask "can I ask you a question?" - this doesn't have the same positive benefit as "hey, how's it going? how was your wknd?", it doesn't seem to serve any purpose. I typically ask people, nicely, to just ask the question directly next time and I'll answer when I'm able, if can't right away. Especially in a chat-type environment in a geographically/timezone-diverse team.
mastre_··on Dell unveils 8K 32-inch monitor at CES 2017
I have the 60" KS8000 and it is pretty awesome, find it too big to use as a monitor. I'd probably look at the smallest size they make (which seems to be 49"). Do you find the visual quality and uniformity to be adequate as a monitor? The smallest entry in their new 2017 QLED line seems to be 55", which again for me would be a problem (something in 40-45" range would be ideal, I think).
mastre_··on Dell unveils 8K 32-inch monitor at CES 2017
> would probably have gone with some high end LCD with good local dimming

Are you also talking about TVs? I'm considering doing this, as someone who knows about it, what would you look at if you were to buy something now/in the near future?

mastre_··on Ethereum.org Forums Database Compromised
Are you asking what it means or disagree with it?

If a: 2-Factor Authentication with Short Message Service (called "text" in the US).

If b: It's how Google's 2FA works by default, falls back to SMS.

Basically, getting control of (i.e. stealing) the 2nd factor in the 2FA scheme, and bypassing the 1st factor, the password (by resetting it). Plausible.

mastre_··on I can’t just stand by and watch Mark Zuckerberg destroy the internet
"Facebook everywhere -- Facebook is already on our phones and computers, pestering us with notifications"

One thing that iOS got right from the very beginning is granular, a la carte permissions. While I have Fb installed, it has almost no access -- no gps, no contacts, no notifications. It cannot intrude, I need to consciously start the app to see anything Fb-related. Same with Messenger.

I've recently removed Fb's media access (called "Photos" on iOS) because I noticed it was doing collages of the photos I took previously during the day -- I would like to think they are not uploading any data from my gallery to their servers, but would not put it past them.

Also, the mobile web version is usable, I think they purposefully hold it back to push people to the app, but you can get by. Because I'm not sure if they're scanning my gallery and extracting/communicating metadata back to their C2, I now do picture uploads thru mobile web, that way they do not have permanent access to my media. Would be nice for this to be an app permission, one-time and/or user action-initiated access vs the current permanent access, which includes unrestricted background access.

Another permissions to disable is "Background App Refresh," which if you have notifications disabled there should be no reason to have enabled. They can send a C2 ping which has IP information and who knows what other device profiling which, even with GPS disabled, can still probably give them a lot of information on your whereabouts. Unfortunately, on iOS, the main Fb app is implemented in a tricky way and does not even list itself in the main app permissions list, you need to find some of the permissions individually, and BG App Refresh does not appear to be defeatable. The Messenger app does list itself normally and can have all the perms turned off in one place.

mastre_··on Freelance Isn't Free Act Passes in NYC
In tech, I think it will be a lot sooner than in few decades. I think things will change at such a rapid pace that we can't even accurately predict what will be the new normal in a few decades, particularly in tech. Also, we must also consider the possibility, and implications, of strong AI in a few decades.
mastre_··on Many LASIK patients may wind up with glare, halos or other visual symptoms
Let me start by saying that I only have minor vision issues, primarily from astigmatism ("my skull squeezing my eyes into an unnatural shape"). My correction in each eye is < -2.00, I think one of them is -1.25.

I see fine for most purposes. Thankfully, it's nearsightedness, which means I do not need any correction to work on computers (this is obviously a biggie). I use retina displays at higher-than-default simulated resolution (i.e. smaller everything) w/ no issue.

I tried contacts when I used to play soccer because you can't wear glasses due to safety concerns (for yourself). They were fine, but I have a natural dislike for putting things anywhere in/on my body unless absolutely necessary, and just the though of putting something in my eyes repulses me. I only wore them when I played, and would wear glasses by choice any other time.

For the most part, I see pretty well w/o correction -- I wear glasses because I really, really enjoy the sense of vision and want it to be as crystal clear as possible in order to experience it to its fullest. When I moved to California and I passed the driver's lic vision test w/o glasses, which surprised even me. I still wear them every time I drive, because again, not just for safety, but I really enjoy seeing as clear as my sensors (eyes) can resolve - it's a signal-to-noise/quality concern.

I never once thought about not wearing glasses because of how they look. If that's a concern, there's so much choice out there these days that there's a style for everyone. I prefer as small and light as possible so I wear half wire frame in flexible titanium. I mostly put them on when I drive, but, and this is a big but:

ProTip: You can/should get corrected permanent sunglasses! These are the best thing since before, and after, sliced bread! I do happen to have more sensitive than average eyes, but I'm never outside w/o my permanent Rx sunglasses. You can get really good/cool looking ones, I'm into sports so I wear a sporty frame. Not a concern to me, but "nobody knows" they are actually vision glasses too during the day. I then wear the clear ones at night/when watching TV or a performance, anytime I want to see maximally clear, particularly at a distance. Believe it or not, this is not that much, for example I don't need them at a dinner party.

On LASIK: until such a time that my vision requires major correction I'm not even considering it. The system I've developed works really well for me, and I think if and when I will need it the technology, and potentially solutions, will be superior at that point.

mastre_··on Show HN: Personal Storage System with a PI
Time for an USB-to-PS/2 adapter!
mastre_··on Subtracting large floating point numbers in different languages
Bing gives 1 in full search, 2 in quick/suggested search: https://i.imgur.com/wCMueSD.png
mastre_··on Apple just told the world it has no idea who the Mac is for
Curious, which Sager and what config do you have?
mastre_··on New MacBook Pro Is Not a Laptop for Developers Anymore
Two things:

- can you give me some details on your remap setup on macOS? if you have dotfiles somewhere that'd be great.

- as a vim user who only uses vim as an editor, I challenge the assumption that touch Esc is a horrible thing. Esc is a very special key and it may turn out to be ok for it to _be_ different, and _feel_ different.

mastre_··on A Physical Description of Flight, Revisited (2009) [pdf]
Via our favorite search engine, I found this http://www.aviation-history.com/theory/index-theory.html

OP PDF is link 2 ("Airfoils and Lift - Newton's Law"), but as text/html. The other links look very informative, if they're anywhere near the quality of the OP text, it will make for fascinating reading.

mastre_··on Vine will be discontinuing the mobile app
I seriously doubt this will happen. From personal experience, I see more and more people using live on Fb & Twitter, it's even starting to engage the older generations. And from a big picture perspective, video, and motion formats in general, are definitely the future.
mastre_··on Ask HN: Would You Upgrade to the New MacBook Pro?
As I posted in another thread, I think it may actually be fine to have a different "feel" (touch vs physical) for escape, which is a very special key for us vim users (assuming you don't have it remapped).
mastre_··on Apple, this time you made a mistake
Serious question: how will us vim users get by w/o physical escape key? If it's just a touch in the same position as old physical key, I think it'll be fine (may actually be nice, as it will _feel_ different, for a very special key).
mastre_··on PHP 7 deployment at Dailymotion
This is not so much a PHP thing as it is a different way of thinking about things. If you know something is supposed to be an integer, you can simply force it to an integer before you do anything with it:

  $id = intval(@$_POST['id']);
  if (!empty($id)) { ... }
Note: 0 shouldn't be a valid value for something called 'id', since it's likely a db id; if it is, use something other than an empty() check.
mastre_··on PHP 7 deployment at Dailymotion
> I don't think people are confusing those things at all. The comment you're replying to is quite literally saying that using $_POST['somevar'] is too easy.

Are you guys, then, saying that $_POST['id'], by itself, is less secure than a getPostVar('id') would be, by itself?

mastre_··on Shaarli – Personal, minimalist, database-free, bookmarking service
Going with something like sqlite is not always better -- if what it provides is not needed, it's complexity for complexity's sake. PHP arrays are perfectly fine (until you reach a certain size), particularly when using a direct key access scheme. Loading/saving the data is pretty much a file_get_contents|file_put_contents affair, with some inline filters such as serialize & gzip. Couldn't be simpler, and it sounds like it doesn't need to be more complex than that.
mastre_··on How to Tell a Mother Her Child Is Dead
> I just want to say the style of the article and it's direct, terse language really captures the gravity of the situation and seriousness of the subject.

Quick comment about how your it's instead of its caused an English parsing error in my brain:

I read until the comma and because I saw it's, I assumed I missed a word in the first part of the sentence - I though it may have been something like "I just want to say I evaluated the style of the article and it's direct, it's frank, it's spot on!", but re-reading it didn't reveal anything I missed. I then considered some less common writing styles/expressions. None of that worked out, so I read past the comma and figured out what happened. All this happened in the span of a second or so. Not sure what it was about this particular sentence that caused me to stop at the comma, I don't think it happens often.

mastre_··on Is artificial intelligence permanently inscrutable?
> We're using these things and we're not even sure how they work. Love it.

Similar to the human brain in that respect. Ironic that the human brain used itself without understanding how it works to eventually create something it uses without understanding how it works.

mastre_··on Why GNU grep is fast (2010)
Absolutely, more or less grep -> ack -> ag. Be warned tho, sometimes ag (and IIRC ack as well, but haven't used it in a while since switching to ag) won't find some results due to its default filtering rules even tho certain results should be included. For critical things, I end up double-checking results w/ grep -r which always finds everything, no questions asked.
mastre_··on PHP the Wrong Way
> It's similar to ORM. Often, if you don't use one, you end up building one, a very poor one.

Or you don't, instead you take the time to explore the concepts behind RDBMSes and learn good schema design, how to write good SQL, and so forth. And in the process end up with a high performance database and platform.

mastre_··on Five languages that came from English
That's pretty amazing, thanks!
← PreviousPage 3 of 4Next →