skysight-inc/HackerNews huggingface dataset:
Ask HN: Any experiences flying with a 2015 MacBook Pro after the FAA warning?
I am using a 2015 15-inch MBP for a project and really need to bring it with me on a trip soon. But the FAA recently put out a warning/ban on these due to a battery recall, and some airlines are banning them from planes in various configurations.[1]

According to every news source, the only devices covered by the FAA order are serial numbers eligible for recall per Apple's support page. And the device I have at home isn't one of those. But... I really don't trust the TSA to be willing to type the serial number into a support page to verify that at the airport. It seems more likely that they'd just see the laptop and turn me away at security, which would be an expensive mess.

So, has anyone successfully flown with one of these that has a non-recalled serial number?

[1] https://9to5mac.com/2019/08/27/macbooks-banned/
> Windows-shift-S

Thanks, I didn't know about this! I'll give it a go!

I've been using Lightshot to try and make screenshot taking a bit more bearable, but its still no cmd-shift-4 drag region and have a screenshot on my desktop.
Hacker News is included in my companies website:

https://lettergram.net

And

https://projectpiglet.com

At one point, I also built a chrome extension with similar news feed functionality for a client through Gigster... (I think it was an Admin for HN). Can’t release that though.
Personally I prefer to not use typescript on react (I don't have any experience on it and it seems like a hassle). I use it on mobx / redux instead.

However it's a godsend for nodejs.
Yes, the credit union is very similar in practice, although there are numerous technical differences. The most obvious practical difference was that originally Building Societies were oriented around this idea particularly of loans for members to buy homes, a worthy goal that is also conveniently economically sound. Credit unions are broader in scope from the outset.

It was perhaps more obvious (especially for the Limited Building Societies) that they've achieved something good if now everybody owns a home, whereas if now everybody has a savings account with the credit union, er... is that better? Maybe?
Modern c++ makes lifetimes pretty implicit.

Default assumption: all data lives in a value type, or an STL container. The destructor/copy constructors will automatically deal with lifetimes for you.

Fallback #1: the remainder lives in a std::unique_ptr, or perhaps std::shared_ptr. The destructor/copy constructors will deal with lifetimes for you.

Fallback #2: Take a moment to reflect upon the mistakes that you've made that have led you here. This is your fault. Write a class with correct constructor, destructor, copy constructor, move constructor, and move/copy assignment operators. This is roughly the equivalent of resorting to unsafe in rust in a place that makes calls to other rust code. (as opposed to a syscall or a c function call or somewhere else that it's obviously required) If you're here, it's because you fucked up.

Since c++11 had become available, I've eliminated all use of new/delete from new code that I write. I've slowly refactored old code (by myself and others) to do the same. The only significant attention I've paid to lifetimes is when I'm using a c library or am writing c# where half my objects are IDisposable. (yes, really, I do more manual memory management in a garbage collected language)

The problem with c++ isn't that you have to worry about lifetimes, it's that you used to have to worry about object lifetimes and many codebases were written during that time. Sure, we could rewrite the world in rust and all of that would go away, or we could rewrite the world in modern c++ and it would also go away.
At least jeans manufacturers weren't marketing based on the unblemished workmanship of their jeans. Their typical message is "Jeans are worn by rugged, individualist people. You want to be a rugged independent person, right?" And I think that torn jeans can fit into that. Like, a farmer might rip his jeans and keep wearing them or something, so ripped jeans might make you look even more rugged and individualist.

Chocolate diamonds are a direct contradiction of regular diamond marketing. If you go to great lengths to talk about how important clarity is when justifying your diamonds' prices, it's particularly silly when you start selling the least clear diamonds possible.
Show HN: A Scala service that provides cryptocoin data from several exchanges
Destroying the brand then? That seems more accurate.
China is undergoing an economic miracle which is transforming the lives of millions. Hong Kong is going to get consumed by the mainland no matter which Linux distro or whatever is used. There's no domestic desire to keep HK special. It's just not going to happen.
You're looking at 'func', the error is in 'walk'. Here is the top of 'walk':

walk:
push rbx
mov rbx, rdi
test esi, esi
je .L3
mov rdi, QWORD PTR [rdi]
call walk

Note that esi = cleanup = 1 so the branch to .L3 is not taken, and the recursive call to 'walk' is taken. The crash will occur on the instruction before the call,

mov rdi, QWORD PTR [rdi]

Because rdi = 0 on the second call to 'walk'.
Real easy to say "Defy the Chinese government while in their jurisdiction" from the comfort of your own home.
Exactly ; that's where we area already today in fact - people using facial recognition or DeepFakes in malicious ways.
It is an accessibility layer for SI units.

When I go into a bar in Australia and order a beer it is whatever the locals call it. A pot, a schooner, a pint. In most states a pint is 570ml which is about a 20 fl oz UK pint. Except in one where it is a bit less than a 16 fl oz US pint at 425ml so you have to ask for a real pint. It doesn't really matter because beer isn't traded across borders in pints. For science and commerce you can't afford the confusion over all these local units. But for ordering beer it doesn't matter. No issue with US sports using customary units. I use them all the time for height and sports in a country that has been metric for decades. But when science commentators or NASA use them I cringe hard.
The man probably doesn't even own a macbook other than to look at it sitting pretty on a shelf. Steve would have thrown a mbp out of a window if it doubled a key on him. Wouldn't be surprised if Ive is an ipad + pencil only loonie. Certainly would explain a lot.
Not correct .
RTP is from theclearinghouse and Zelle is from clearexchange.
Zelle came from a mix of banks trying to address only P2P scenarios.
RTP goes beyond to B2C and all other combinations .
I don't think you have anything to be sorry for. You should be mindful of what you publicly say about your employer but being enthusiastic (if a bit uncritically) about your workplace is part of the point of interning. It's a lot less weird than someone making an account just to berate you about it.
I agree, but this seems like the initial offering.

As someone who just started working at a company that is converting from VMware to Kubernetes but who has zero experience with it and only a little with Docker, this seems like a good start. Of course I have about 20 other tabs in my browser for learning.
There are only two types of countries in the world. Those that lost the ability to launch people into space and those that adopted SI units.
The public suffix doesn't list .ac.uk or .go.th (because it only lists somewhere the general public can register) so it's not especially useful for working out if something is a toppish-level domain.
I sold my MBP 2018 13” i5 and the only praise it’ll ever get for me is it’s resale value. I did have the box, and it was in perfect condition, but I almost got it’s original cost when I sold it to a refurbishment place. I replaced it with a Surface Pro 6 13” i5, which I was able to pick up for the money. And what a beast that little machine has been.

I had a few worries going into it. Would it be able to sit on my lap and other laptopy places, was Windows going to be alright, what about development. Stuff like that. It can function as a laptop, in fact it’s probably the best machine I’ve ever had on my legs because the hot part doesn’t touch you. It can’t sit on your chest while you lie down, however, so it’s certainly not a full laptop replacement if you need those positions. Windows with WSL has been amazing though. The only thing I’ve missed from OS/X was iMessage integration, and that was already annoying because more and more of my connections have been switching to android. It’s probably the first device I’ve been genuinely excited about since I got my first smartphone, and ironically it feels like something Apple should’ve made. And not just the design, the ability to isolate your dev environment with suse enterprise is just so much better than containers on os/x. Probably not better than dual-booting if you need more speed, but I don’t.
Good point - but with Apple, you're never going to have any concrete information until the day a product is officially released. Rumors are as good as we can get, and 9to5mac is pretty reputable, as far as those sites go.
A lot of people on this thread wanted a true "Google Alerts" tool that notifies you when a post on HN contains a given keywords in the title. I agree, so I forked the workflow and created my own that does this: https://pipedream.com/@dylburger/google-alerts-for-hacker-ne... .

The README explains how it works in detail, but you can modify the KEYWORDS constant at the top of the Node.js code step to receive alerts for any keywords you'd like. Then, on the schedule you specify (e.g. every 30 minutes), this hits the HN API and sends you a Slack message with the story link.

Let me know if y'all have any feedback on this, happy to modify it to suit specific needs. If you know Node, you can fork and run a copy yourself and modify it however you'd like, too.
$ uname -a
Linux hostname 5.2.9-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 16 16:24:43 UTC 2019 x86_64 GNU/Linux
$ git clone https://github.com/wtfutil/wtf
[...]
$ cd wtf
$ make
[...]
$ ./bin/wtfutil

seems to work fine here
Does that make me not a real coder? ;)
I never use the callback tag, I tend to just do:

/** @param {(x: X) => Y} f */

Works fine. If you can let me know a RORO pattern you had trouble typing I might be able to help.
This is a company that renders many of its perfectly working phones and tablets virtually worthless via centralized cloud account locking that is easily forgotten and left on. I doubt they care about resale value.
Right now HK is stagnant and the mainland is rising. With all observations being relative to the observer's inertial frame though, that might feel like HK is falling from HK's perspective.
Not everyone considers it a sacrifice to not be married or have kids. For the people who do fewer than half of them are happy that way.

We're all pretty bad at knowing what will make us happy in advance.
Hi Seth :)

Yes, when there's no better alternative, or when it's idiomatic (Go linters) or situationally appropriate (Spring libraries are immaculately commented).

But I emphasise "no better alternative" because I have seen comment rot and it sucks badly. The English language is pretty vast and can be usefully ransacked for names. Keyboards are cheap and autocompletion plentiful, so go hog wild with variable names. There are idioms, patterns, well-understood conventions and so on that allow you to avoid noise.

When you need a why, then absolutely give the why. But usually the need for an explanation is that the code isn't clear on its face and you should exhaust that possibility first.

This concludes today's reading from the Book of Annoyingly Doctrinaire Ex-Labs Pivots. Go in peace.
I agree that the keyboard is terrible, but I think it's weird how many people just suffer through it and don't do anything about it. I put an external keyboard on top of the built in one (with a custom made plastic plate to block the keys of the built in from getting pressed). I am stuck with the laptop but I'm not going to be stuck with a bad keyboard.
>I'm not sure why some think that a university degree should mean you're ready to be an effective professional engineer from day 1, let alone year 3.

Maybe its an excuse and the companies who say that just dont want to pay for training.
Also, just to throw another opinion into this dumpster fire:

I had to get a new laptop, knew I was getting a 2019 MBP, and was terrified the keyboard experience would be horrendous due to the coverage I see on the topic here.

And it isn't at all. It feels different than my 2015 model, but... definitely not worse. I may even be just slightly better because it's noticeably quieter.

Just one perspective, but yeah. The keyboard rage on here should not be taken as anything approaching absolute truth.
Let's Build a Simple Interpreter. Part 17: Call Stack and Activation Records
> At what point is a company no longer a startup and just a small business looking for talent?

I'd say when it stops accepting funding and determines it wants to stay as a small business. But that's probably a bit rare for companies that have taken on significant funding. After all, if I'm an investor I'd like my money multiplied (>1, thanks).

> Are typical start ups really doing whiteboard interviews during their early stages?

It varies a lot on the startup and the founders. Some founders don't have a large network of engineers (or - rather - engineers who would like to work at a startup for startup compensation; this is especially true with very early startups). You'll eventually have to hire from outside because your network will run out.

I've been hired as an early engineer at a seed stage startup. (Would not recommend) I've interviewed at dozens and dozens of startups in SV all across the funding range. Many of the ones I interviewed with did ask typical whiteboarding questions that you'd find at FAANG. After all, many come from FAANG and don't know any other way to interview. Or they try to imitate "the best".
Mis-types, reliability, etc. aside, I just don't like the keyboard. Normal chiclets are bad enough, but the mac is worse. Essentially zero travel, and I find my self bottoming out each stroke and typing what is evidently much too hard. I got used to chiclets okay (though I still use a full mechanical when I can), but the mac keyboard is too much. I feel like I'm typing on a touch-screen, or worse, that I'm some how playing with a toy (rather than a machine built to do work).

I guess a lot of Apple's products give me that feeling these days. Ios 7 design probably didn't help much. Maybe with Jony Ive gone, it will get better? I like things that feel solid. These days, macs just don't. I probably shouldn't beat on just apple here, though; it seems to be a broader trend for the worse.
> Clearly once the child was born from an affair that violates Google's rules she would have to at least switch departments.

As the employee with more power and rank at the company in question, David should have been the one to be forced to leave the department. That would have been the moral thing to do.
I got a July 2019 MBP after having suffered from a totally unusable keyboard in a mid-2018 MBP one. In theory the July 2019 model has a 4th generation butterfly keyboard, whereas the 2018 ones were on 3rd gen - and despite using it heavily over the last month, I haven't had problems yet... apart from the backspace & O keys getting briefly sticky (presumably due to some dirt getting underneath). However, unlike on the 2018 one, holding the keyboard upside down and blowing at close range at the keys whilst toggling them managed to rapidly fix the problem.

I also haven't had any double presses yet (which were the plague of the 2018 one - the symptoms were identical to https://www.wsj.com/graphics/apple-still-hasnt-fixed-its-mac...). So, anecdotally, so far it seems that the 2019 edition is a marked improvement. I'm pretty sure by this point on the 2018 one I was having to go back and fix typos in almost every sentence.
The keyboard issues are inevitable with this design unless you work in a literal clean room. Check back in a year.
I didn't mean to give the impression that I don't think better tools are needed, I do. I feel that automation is a gift: what gets automated gets done. Tools create paradigms of working.

What I was driving at was that better tools are one part of the triad of people, tools and ways that people work together with tools. Commit discipline will always be desirable, because no tool can recover a snapshot of my mind at the time I made the commit.
Whatt are you talking about? My keyboaord works jst fine.
I have to wonder why Google removed the ability for apps to put a phone into airplane mode / turn off the GSM antenna. Perhaps it was a legitimate UX consideration or some weird unintended consequence of a regulation about radio transmissions.

Still, it would be nice if the default for phones was to not be connected to the mobile network. Instead, they could listen out for a signal broadcast on an FM frequency (for example), and only connect to the mobile network when a specific unique ID was sent, indicating that you have an incoming call. (The unique ID would be agreed with the radio transmitter in secret before hand, and changed after each call).

When your phone is on a Wi-Fi network, it could instead have all incoming calls directed to it that way, like a softphone, meaning you would only rarely have to reveal your location to the mobile network.

The economics of this could work in some places (based on my rough guesses), but not if users had to root their phone to grant apps this permission to turn airplane mode on and off. I also don't know how much battery life would be required to be constantly processing an incoming FM signal in software (at least whenever the phone was off a Wi-Fi network). I'm also assuming that phones have FM receivers that apps can interact with, or that this could be an external device, connected via BlueTooth, perhaps.
We just recently started using CHAOSSEARCH (chaossearch.io) in combination with Fluentd. Highly recommended!
Riding in Cars with Jacques Lacan
Hear, hear! I used a 2018 MacBook for a little over a year; my work laptop is now a ThinkPad running Linux. My personal laptop is a 2015 MacBook. When it dies, I will not replace it with a butterfly-switch laptop.

(I also miss USB type A and MagSafe, but the keyboard was the deal breaker.)
What happened to Servo?
Didn't we just have a post complaining that the Microsoft Skype web client rejects Firefox, for no obvious reason? Yes, it was https://news.ycombinator.com/item?id=20818750.

Maybe their interests have just shifted higher on the protocol stack.
But isn't it basically take care of by automation? They simply do not need that many workers now.
Interesting! If I have cool-retro-term on my external display (27" Thunderbolt display at 2560x1440), it's all messed up like that.

On my MacBook Pro's built-in display, it looks like this: https://imgur.com/BbVcyA7
I'm so glad to hear that someone else is dealing with this and that I'm not crazy. Also, the new magic keyboard isn't much better.

I think, for me, it's that both have home keys that you can barely feel, so you never know where you are on the keyboard.
I think the point is that, in the opinion of many people, the basic, stupid strategy of walking to the toilet paper aisle and buying the first thing that matches something you saw on TV actually works in terms of getting a pretty OK objective quality instance of the product pretty much all the time pretty much anywhere you go, for a ton of different household products and commodities.

People choose to differentiate by superficial brand identity specifically because it creates the experience they want: reproducible access to consistently acceptable quality.
IBM gives away PowerPC the same way a foreclosure grocery shop gives away a bag of onions.
Having worked with similar chemicals, you tend not to get careless. I would wager a majority of cyanide injestions are not accidental. I think murder or suicide is much more likely, particularlly given the context.
The new scissor design is said to feel more like the butterfly but with more travel rather than reverting to the old scissor design, if that makes you feel any better.
Oh, yes, walk is still broken. I was focusing on func because you had added that and it coincidentally also had a white return statement.
Magnetofiction – A Reader's Guide
Yeah, at this point probably any plan start with getting a plane ticket and getting out of there if you really want to be prepared. :/

In my experience nothing really works, because the Chinese firewall is more like a whitelist than what it used to be.

OpenVPN over WebSocket proxy works, sometimes. Some commercial VPNs work up to a point, but expect very low bandwidth and frequent annoying disconnects.
Semi off-topic, but I do see ThinkPads mentioned here.

I want to ditch the Macbook Air 2019 and move away from Apple. I hear Thinkpads mentioned a LOT, but when I research them online, I see talks about poor battery life, poor QA, etc.

Any insight?
Yeah they lack programming skills.
Because they've been going to school, not programming for a living.

But they can Google.
They can study for interviews that quiz you on computer science trivia.

The interview process on the coasts is broken. In the midwest I don't have to deal with that shit.
Again: There really needs to be a warning (elevate-able to an error like usual) for all removed / "optimized out" code. A programmer added it for a reason, and either that reason is invalid and it can be removed OR the compiler's doing something the programmer did not intend and is thus exhibiting undesired behavior.
Interns have access to a lot of private information. t's clear from the other comments that the confusion has already occured.

It's a serious fireable offence, or in this case a non offer at the end of the internship.
RetroBSD would probably be a good starting point for anybody interested in porting a unix to this device. It's based on 2.11BSD (a backport of 4.3BSD features to the PDP-11)

I've looked into porting it to the Nintendo DS. It should be doable, but I haven't had the time to commit to it. Maybe I'll give it another look this weekend.
But now I'm afraid that plugin which allows to set different identities for different folders will break... And same for ManageSieve addon, as both of them don't get updates for long time, and if Thunderbird phase-out XUL addons, it will be very bad and painful.
Was it BetterTouchTool?
Not to mention the arrow keys produce a lot of errors and the touch to click fails to register about 10% of the time. I end up typing in the wrong window multiple times per day.
This is actually the one use case where I'm happiest with the Mac + touchbar. OSX lets you screenshot a portion of the screen, a particular window, or the entire screen, and save it to clipboard or desktop, and the keyboard combinations to choose between these are pretty hard to remember.

But the touchbar lets you touch a single button, off-screen, and then clearly choose between these options: https://support.apple.com/en-au/HT201361
You think the company that makes you buy an extra 'fuck you' dongle to plug in your brand new phone into your brand new computer will let you trade up?

Sorry if you already bought the lemon model. I'd sell before the new one drops to take less of a hit if I were in your shoes.
My hands hurt when typing on this keyboard. I've never had this problem with a Mac laptop in the better part of two decades.
> it's more likely for your network to be down than for your disk to fail

For most people, the network being down means they can't reach the disk.

Buffering unsent logs via local disk or RAM is critical due to network flakiness for sure, but not logging over the network as well is a bad idea 100% of the time.
It’s like running IT in a company. If things go well people are asking what you are doing the whole day. If things don’t go well you get the blame.
Nothing has improved my day-to-day work life more in the last 5 years than typescript.

It's joy. Just, joy.
Testing in Containers. I put all my integration tests in containers
According to macrumors the source of this rumor has been reliable.