skysight-inc/HackerNews huggingface dataset:
If a machine can drive a car, how much harder is it to drive a tank?

If a machine can generate strategies to win simulated wars, how much harder is it to generate strategies to win real wars?

If machines can out compete people on 50% of jobs, how much harder is it to out compete people on 100% of jobs?
It’s still a bit iffy. The lack of a proper S3 sleep state is a big, big problem for me. I lose about 6% of the battery life an hour in sleep on F28, and it generates enough heat that I don't feel comfortable putting it in its sleeve while in sleep. Some people have had good luck patching the ACPI tables, but that doesn't work on every distro. I can hibernate okay, but that's really much worse than sleeping.

Other than the power issues, it's a lovely laptop.

I don't regret buying it at all because I don't really mind shaking out problems with new hardware and I usually keep my laptops for ~6 years, but if it's a big deal, I'd buy a used 5th gen X1. Those work flawlessly.
That ability to switch it off is very important. A couple months ago, one of my co-workers was asked to do something quickly for an important customer. I would normally be the one to work on that codebase, but I was busy with something else. I gave him some suggestions, made it completely, crystal clear that hacks were allowed since the customer needed it by the next day at the latest and it only had to run for a few hours and we could use the excuse that it wasn't under version control if they wanted changes later.

He's a very good engineer and this was well within his ability, but he became hamstrung by the hackiness. He continually complained that it would be unsupportable (I know), that he would be asked to make changes (no: this was explicitly part of the agreement with the customer) and it was a bad design decision (yes!).

By the time 4 o'clock rolled around, he had made little progress on his well engineered and future-proof solution and I didn't want to be there late, so I offered to take it from him, finished the hack by 4:30 and pushed it to the customer.

Customer loved it; greatly appreciated that "we had dropped all our work to put two engineers on their project" and it did exactly what they needed to demo their own product.

I guess my point is that engineering is about getting stuff done. Sometimes, if you know time is more important than anything else, your only choice is either cut corners or don't ship. Being a day late can be the same thing as never shipping in some cases.
And why is that so bad? A nation should be allowed to enforce laws to know the source code of its software because otherwise backdoors could kick in at some point, and other nasty stuff.
NASA is live on Twitch
Fair, C may have been a better example. Where nearly everything is actually just a block of bytes of various lengths and can be intermingled fairly freely with minimal effort to get anything past the compiler.

Sometimes useful, but the type system ends up offering few meaningful protections as a consequence.
It does, and, well... possibly.

MIPS has been relevant only in the embedded space for the last 10 years, if not more, and even saying that it is relevant in the embedded space is kindda pushing it at this point. The widespread availability of reference designs has ensured a pretty long lifespan in industries where that's especially relevant (see e.g. Atheros) but I think they're pretty much near the point of no return, where either they find a few niches that ARM can't (or won't) fit in, or they finally go the way of the Dodo.

I think there are places in the market where there's room for them, and MIPS has its strongpoints (e.g. multithreading) that make it useful in some fields, such as real-time systems.

To be honest, I have doubts that the people running the show will be able to pull it off but I really hope I'm wrong.
Or, you know, we could be moral beings and create solid protections from the sharks among us. Even if those protections mean there's a ceiling on profits, or even if it feels like you have a gun to your head as one of the "enlightened and responsible" beings.
Not OP, and not Crystal, but comparing Phoenix ecosystem with Rails is pretty doable. There are a lot of packages available. Obviously not as much as on rubygems, but one can get a pretty good feel for the overall developer experience. My enjoyment of rails isn't really about the wide array of gems available anyway. It's the paradigms and community standards.
Intel NUCs comparable to the Mac Mini only draw 15W to 30W (depending on the model), similar to a Mac Mini. See https://www.intel.com/content/www/us/en/products/boards-kits... for examples.

The super high end NUC, the "Mac Mini Pro" comparable model mentioned above is a specialty unit with its 100W draw.
1) LOVE 16:10/8:5. Currently I have a 3240x2160 panel in my HP Spectre x360. I WISH it were 3240x2400. I WANT 2400p PANELS.

2) I'm far from an expert on this: I don't know why it's taken more than a decade to figure out trackpad motion.
They might not think about it when they buy their first laptop, but trust me, everyone cares about a $200 replacement part vs a $3000 replacement laptop after it's happened to them once. I've had the most tech-illiterate people I know explain this to me as the reason why they stick with their old Mac or buy a Windows PC. Their technical details might be off, but they definitely care.
In terms of durability, Dell XPS is a consumer-grade product and should not be relied on for any serious work. The only real alternatives to Apple Macbook in terms of build quality, design and performance are ThinkPad X1 Carbon[1] and Dell Precision 5530[2], which is XPS business-grade counterpart.

[1] https://www3.lenovo.com/us/en/laptops/thinkpad/thinkpad-x/Th...

[2] http://www.dell.com/en-us/work/shop/dell-laptops-and-noteboo...
I agree it would be really nice to hear this users opinion on Win10, but I’m not surprised it wasn’t included.

They mention that they also use an iPad and other setups, which suggests they’re doing rather platform-agnostic dev work. Once you shell into a box in the cloud, only the keyboard and screen are any different.
She strongly prefers macOS to Windows, so I just assume it will be easier to configure some GNU/Linux DE to feel somewhat familiar. Plus both of us haven't used Windows for many years now, while she knows macOS, and I know Unix in general quite well.

Also, if I can avoid having Windows running on our home network that's a bonus point for me ;)
> Regularly trimming trees around the power line seems less expensive than boring through granite?

That's not going to do anything to stop ice from forming on the lines, which is a far bigger problem in the winter than tree falls.
If I were running the company, I'd just masquerade the demotion as a promotion:

1. Promote from principal engineer to technical manager

2. 2 years later -> this person sucks at management but they were a great engineer

3. "Promote" from technical manager -> principal engineer level 2
Seconded. This sounds like an interesting project, and I'd definitely be interested in implementing something like it myself.
Affirmative. The text input is as low friction as possible, and a spreadsheet is as flexible as possible.

We also couldn't figure out the YNAB methodology. I know people swear by it, and we probably just didn't put in enough effort. But we attended a webinar, made it one month, then couldn't figure out how to duplicate our budget for month two. It was just different than how we are used to thinking about finances.

Also -- and this is probably the biggest thing -- I built it myself. For 99.999% of the population, YNAB is an objectively better product. But as a developer, I can't overstate the satisfaction that comes from my wife using something that I built multiple times a day.
Ok, that's interesting. I guess I am out of the loop on this one
Better than your machine rebooting to update on its own.
Ah, good to see companies are finally noticing tenkeyless on larger laptops.
If they actually pull off migrating to an in-house chip, then that makes ultra-low-power consumption laptops more feasible. Once that is in place, you can truly have a single binary from phone to tablet to laptop. And once that is possible, you can start to do system-level tricks with their tight control over the entire stack like checkpoint restart between radically different devices.

Simple example: I start a Mosh session to support a customer inside iTerm 2 on a Mac, and a couple hours later my train return home is arriving in about 30 minutes, I slide the session over to my tablet, continue seamlessly on the train. Thankfully the troubleshooting points to a different team, but I want to monitor the screen share on my phone while I'm at the pub down the street from my home, so I slide the session over to the phone.

Completely friction-less form-factor changes, with even the possibility to fork between devices instead of exec'ing. Then you could fork to your watch, which buzzes you when someone mentions your name in a Slack window on your Mac/tablet/phone. Fully cooperative applications between devices also possible, with much reduced smokestacks.
I’m surprised at the lack of comparison to the X1C6 in the rest of the writeup. It is what I chose over the XPS, and couldn’t be happier with it (running f28).
I read this lat night. As I read it, I found myself wondering, "Okay, what am I supposed to do with this info? How am I supposed to act upon this guy's bearish outlook and pretty charts?"

Somewhere in article, the point is made that one's paper wealth will be hit hard by the coming crash. My thought there is, "So what?". My present investments in securities are long term; I'm not planning on having to touch them for a few decades. In that time period, if the economy stays crashed for so hard so long that they make no gains over those decades, I'm very likely to have more pressing immediate problems that I won't have the time or energy to care about my securities investments.

I remember looking at graphs of the stock market and realizing that, while the 2008/2009 downturn would have been a terrifying time to begin investing, if I had begun investing then, and ridden out the cycle. I would have come out ahead. If today's market conditions are the boom of another boom/bust cycle, why would that not still be true?
That's a huge losing strategy Apple has taken for years. Locking people into hardware with proprietary software that doesn't make even basic good-faith attempts at cross-platform compatibility.

The only reasons there's an occasional older-generation video editor working on a mac is because of a. inertia and b. proRes. That video format is finally workable on PC thanks to FFmpeg, but it uses terminal tools (or a couple very terrible GUIs written by the community) and it's going to finally nail that coffin shut.

That and the fact that proRes is technically already obsolete. There are already better options that are cross-platform, but "best practices" is often a code-word for tradition. It will change in time.

The whole purpose of a video codec is to share video across platforms. That's what a codec is. ProRes being locked into mac hardware was a real dick move, and a lot of video people back in the day didn't recognize it and got all smug about how capable their mac was. Yeah, it runs anything except proRes because other developers understand that codecs need to be widely compatible. Apple was the only one who didn't get that memo.
Nuclear Power Won’t Survive Without A Government Handout
The recipe I followed (AmazingRibs' Perfect Pulled Pork [0]) mentions a "fast method" that involves smoking for 2 hours with lots of smoke, and finishing in the oven. I wonder if smoker + pressure cooker would be even faster and still get the benefits of the smokiness. I guess it still wouldn't have the bark but it sounds like an experiment I'll need to try.

0: https://amazingribs.com/tested-recipes/pork-chops-pulled-por...
Ahh.. interesting.
Then I guess using the id of the tuples to show that they are using the same object doesn't exactly prove the point.

To your original point (that tuples reallocate based on length) I see that if I delete a tuple of length 3 and then create a tuple of length 5 I see the id is immediately changed. So that's correct.

Lists on the other hand seem to keep reallocating the same address in my limited test.

Strings seem to behave like tuples. When I delete a string and create a new one it creates a new object with a new address.... unless the strings are of the same length.

Perhaps this is no real revelation, I'm rather new to python and spending my time poking around to see how it works. :)
Anyone have a razer? Wondering what it would be like as a replacement for a MacBook Pro.

https://www.razer.com/gaming-laptops/razer-blade
A whole lot of people do everything on the web. They don't even need a laptop at all really because they don't need real applications. Any web kiosk would do. If they're a web developer they might also want an SSH client.
I buy him refurbished windows desktops. They are the same price. :)
Looking at both and their timelines, I’d think pug may be based on slim which is a great thing.

Slim has been around for years, steadily improving and addressing corner cases.

I absolutely love it. Reduces typing by 50%, reading by 1000+%(as I re-read the code multiple times and it eliminates the multiple takes and looking for closing tags) and matches how my human brain thinks about markup.
I second Mint.

It also allows for CSV export so data can be imported into other apps. Although, I'm not sure if it would work as great if I had to track joint accounts shared with a partner.
“We’re here to put a dent in the universe. Otherwise, why else even be here?”
Perhaps there's a market for a PC OEM about making their laptop convenient to convert into a Hackintosh.
I had tubes put in my ears when I was little for drainage. Eventually they were removed and I don't have the problems.
.. This is WIP
>browser with each app.

browser and web server?
I wish he would have gone further into detail on why "stuff like Scalaz has no place outside academia". While I understand there's a bit of mental overhead, I've found there to be much real world utility in using that genre of libraries/patterns in production.

It's also interesting that he wants the ability to "run your tests for the intermediate refactoring steps that wouldn’t typecheck and then let you fix up things later."-- I'm not sure what it means to want to run code with ambiguous types in a type aware language like Scala. Type information is deeply involved in runtime program behavior. (E.g pattern matching on types, resolving typeclass instances)

I certainly agree that nontrivial sbt work is rough.
I'm getting downvoted for my post, so perhaps I didn't explain myself well enough. I know there are numerous left-leaning publications that are unreliable, like the Huffington Post. But there are ample others, like the NYT, Washington Post, San Jose Mercury News, etc. I can read instead. I realize none of these publications have a perfect track record, but they are relatively transparent in admitting to and correcting their errors.

On to the point of whether publications like the Economist are left or not. This may be a matter of whether you consider neoliberal policies to be conservative. I personally believe that the Economist's position on privatizing industries, selling national assets, minimizing worker protections in the form of minimum wage laws, etc. to all be extremely conservative.

I happen to be more sympathetic to opening borders to immigration, which the Economist supports. And the Economist is very much anti-death penalty, and, as others have pointed out, they are socially liberal (in the US sense) in a number of other ways. But at the end of the day this is a magazine called The Economist, and their economic views are mostly in direct opposition to mine.

But I'll still read it, because I think it's a mostly fact-based publication.
pretty pathetic
In fact many claim that harsher punishments don't work too well for violent offences. Violent people don't think of consequences.

But for premeditated large-scale economic offences, they certainly work, because the punishment is part of the calculation that the criminal makes.
This is last gen XPS, not the new one.
What I'd like most from a Laptop Win 10 review is a 2 year later review.

We use a macbook air at home, it still runs just as good as when we got it. I've always had issues with Windows where the out of the box experience is incredible, but 2 years later, I'm waiting 5 minutes after start for, 'things to finish' before the computer begins to feel fast again.

Whenever I look at replacing the Air, I get nearly to the end of the checkout with a new macbook pro 13" (what I use for work), when I get a sick feeling that I shouldn't be spending $2k for our house 'in front of the tv' laptop.
I love the hardware on Macs, but I do miss Linux. Homebrew does not qualify as a replacement for pacman or apt.
Looking forward to your book!
> That would be weird if "su -c" was vulnerable but interactive "su" was not.

Not necessarily, if TIOCSTI just pushes stuff to the term input buffer, this is going to get popped on the next prompt of su, so on an interactive su it's not going to be executed under escalated privileges but is instead going to be executed as the same user that executed the hostile program, while with a non-interactive su it's going to get popped on the next prompt of the su caller and thus get escalated privileges.

That's my understanding of it anyway, I could be completely off.
That's what I did with my 2012 13" MBA--my wife still uses it, and it actually still runs current software pretty well. If it weren't for the lack of Retina display I'd probably still be on it.

Right now, I'm holding onto my 2015 13" MBP with both hands (also maxed it on the same principle) until Apple releases a halfway decent MBP again. I use a 2016 15" for work, and still can't type well on the damned thing after having it for a year and a half.
What you need to break down collagen to gelatin is just energy. Energy = heat * time, so you can break it down in less time by using higher heat differential (higher temperature), which is exactly what a pressure cooker does.

I have a stew that would normally take 3 hours simmering on the stove that can be done in 20 minutes in a pressure cooker.
It sounds like a dremel tool when the fans are spun up, which will be often.

Where Apple excels is at system design, the Mini has a good balance between cooling capacity and noise. One of the reasons I bought the Mini was it's near-silence during typical desktop loads. Even when it's doing a build, the fan noise is lower-frequency and less annoying than the whine of the tiny fans in most of these NUCs.
Of course.

Love the little note at the end:

"This is not a supported Google product."
I don't know what he meant by that either, but it's important to mention that `Scala != Scalaz` and that sbt is not the only build tool used in the community (and it's certainly not built by academics!).
I interpreted abraham's comment as "Right, it's just like the font tag, but the font tag is deprecated, so we use this instead". Implicit in my original comment was that "everybody knows the font tag is a bad idea so this is a bad idea too", which I think abraham missed.

That being said, apparently I'm wrong and this style is back in vogue. CSS Zen garden style design has just failed hard apparently, so this is how things are done.
Can't speak for everyone, but I've always been a polyglot on OSes. I'm usually either remoted into a Linux box from a Mac, remoted into a Linux box from Windows, remoted into Windows from a Mac, or several of those at once.

Pretty much all the software I use is cross-platform, and even Windows is a fairly acceptable Unix nowadays, so the biggest transitioning problem I have is keeping track of which modifier keys to use for my keyboard shortcuts.
I see. So I guess it's not really possible to do something like the OP with mixed text/graphics, sadly, you have to either stick to text or get an X11 terminal.
Ask HN: Working two jobs
I am fortunate in that I have two jobs. I work 3 days a week as a sysadmin and two days a week on my SaaS product. My income works out roughly the same as if I were full time sysadmin.

Having painted a picture I'd be keen to hear from anyone who knows about the mental gymnastics and motivation required to work two jobs? What have you learned and how do you stay on task?
It has a higher learning curve.
What user wants to have to spend time configuring and maintaining drivers? I hated having to find the right drivers for all of the gear on Windows/Linux and maintain it through every update. I don't want to have to depend on a 3rd party for my built-in hardware to just work.

Furthermore, Apple's touchpad is infinitely superior in terms of hardware and that was a huge factor for me. I can't count the number of crappy Dell touchpads that have broken and stopped because they seem to be made of cheap matte plastic. They don't feel good to use physically and no amount of software tuning will fix that. My touchpad on my 2015 MBP is solid glass and should never break from regular use because it isn't actually a button.
Take the human general intelligence learning architecture and scale it up to a billion operations a second.

The trick with AGI is that it can learn faster, and humans (even with our limitations) did take over the world.
I wonder about a language like Elixir in the age of serverless. Erlang will always be great at the use-case it was originally written for (and what Whats App uses it for), but that's not the scale that most startups operate in.

With serverless the advantages that Erlang has don't matter much, since the process doesn't live along to utilize them. Instead the bottleneck is cold start times. So these types of languages (including Java) that are meant to start and stay running for a long time aren't a great fit. Go, Rust, possibly Pony, are better fits. Even Node isn't a superb choice, cold starts can be slow because of loading so many files.
May I ask what's FMCW?
Of course I can straightaway google but I would like to hear an intuitive explaination.
Surface is what Macs should have been. The form factor, the build quality, everything. Jobs would never have allowed those keyboards out the door.
I don't see how you figure. Windows 8/10 does the latter and it works fine. Yes, controls in applications not designed for touch interaction don't work well without a mouse and keyboard, but again, I contend that a keyboard and mouse are much more suitable for productive work.