skysight-inc/HackerNews huggingface dataset:
> You have the Common Lisp approach, where you work in a complicated sublanguage like this example from PCL:

I don't think you actually understand anything about the example code you posted. There is no special "complicated sublanguage" - the backquote[1] is an extension of the quote shorthand notation[2] for list literals. It is for building data structures and has nothing to do with "sublanguages" or macros. There is no special syntax for macros in Common Lisp. Common Lisp macros do not produce source code - they produce any type of Common Lisp objects directly. That is why they are simpler and strictly more powerful than D templates.

When it comes to templates, I wouldn't call anything from this list of D examples[3] elegant.

[1] http://www.lispworks.com/documentation/HyperSpec/Body/02_df....
[2] http://www.lispworks.com/documentation/HyperSpec/Body/s_quot...
[3] https://dlang.org/templates-revisited.html
Please tell us what make of car that is, so we can avoid it.
Super Mario Brothers Is NP-Hard [video]
I run lots of stuff in VMs because I want to experiment or because I'm not sure if something's going to work right.

It's nice to just take a snapshot and then do whatever task you wanted to do. If everything gets screwed up, it's no big deal. Just roll back to that last snapshot you made and start over.

I do the same thing on my FreeBSD machines when installing updates (thanks to ZFS).
The common observation that experienced developers avoid (insert supposedly productivity-enhancing tool here) is usually dismissed as some form of machismo/old dog being unable to learn new tricks, but it ought to impress on somebody how universal this is... and ask, maybe, why it's so universal? I don't dislike visual basic, or GWT, or ruby on rails, or angular CLI because I'm an old codger who doesn't need them fancy new fangled young person fashionable toys, but because I tried them out and found that, although they do make a pretty GUI appear on the screen a lot quicker than I can with vi, they also fail in unexpected ways that are nearly impossible to diagnose. So now, rather than spending a lot of time coding and a little time debugging (and knowing exactly what I'm debugging and knowing that when I find what's wrong, I can change it), I spend a little time coding and a lot of time trying to guess what the hidden, internal model of the application is hung up on. All with a skeptical boss asking me why it isn't done yet. I always give the hip new thing a chance, and I always find that it trades off some up-front complexity with a lot of impenetrable mystery - along with the expectation that the "time saving" tool will actually save time rather than shuffle it from the beginning to the end.
Sounds like MS is concerned about Chromebooks. Did see they still had a pretty small base but did have 38% growth YoY.

https://www.pcworld.com/article/3194946/computers/chromebook...
Chromebook shipments surge by 38 percent, cutting into Windows ...
How does NTP fit? You mean listening for packets, or some kind of announce/resource broadcast that I'm not aware of?
For me it was this Neopets guide and FrontPage too, actually (:
>Most of human history has been a state of relatively perpetual violent conflict.

No it hasn't. Even the worst figured in Pinker's own cherry picked data show that's the case.

Next, even if we jump fully onto the Hobbesian boat, conflict resolution and alignment is literally the raison d'etre of the state.

Finally, we can compare judicial effectiveness (albeit somewhat crudely) across societies (and within differential groups/industries )and the delta between them doesn't lead us from 'everlasting peace' to 'perpetual violence' either.
I'm in the middle of reading a pretty interesting book, where that is one of the core arguments - Weapons of Math Destruction, by Cathy O'Neil - I recommend checking it out if you are curious to learn more about the distinction that you made, and more of how we tend to abuse math through algorithms that are in some way designed by humans.
I think it's highly likely that you're going to run into problems if you don't know in advance which people are probably cool with it.

The Bay Area is incredibly fucking square. Square square square. An outspoken contingent of people here like to talk a good talk about their openness, but it's a facade that belongs to a constellation of myths people like to believe about themselves.

I would avoid run-of-the-mill hoi polloi "startup founders" and all associated professional/networking events like the plague. Some of them have their heads so far up their assess that they will take zero interest in what you do for a living and never even ask, but a lot of them are nosy as fuck and will make it really hard for you to cleanly maintain the veneer of whatever you've decided you're going to say about what you do. A lot of the nosiness is driven by egoic insecurity and class politics.

Every person I know who I could guarantee would be cool with it is super wealthy-- most of them 8 figures+ net worth. Your priority should be meeting them. They can help you navigate the square waters and figure out where, and with whom, it's safe to be real. If you want an intro to some of those people I could probably help you out. As a last resort-- and I hate to say this-- join The Battery but avoid everyone under the age of 40 or so.

Edit to add: wealth managers will be helpful for making connections to the right people. Networking with them is an easy "in." Most will want to know you even if they don't think you'll let them manage your money.
This is great, it is about time some scientific process was forced into a system that sadly has been largely driven by protests of idiots in large numbers so far.
At Age 13, Creating the Pentagon Papers. Photocopies, at Least
Regarding the sidenote,

I can visualize an engineer making that mistake way more than a UX person.

"I need something to enter dates, oh here's a calendar widget library. done."

The reason for product to own UX more is they should be more connected to the 'why'.
Fast forward 10 years; the features in the Model S have trickled down to whatever car is 2027's Toyota Camry.

You figure out how to hack it over the internet and load a program that uses its cameras to identify a pedestrian and drive straight towards it at full speed. You turn on this program at some busy time of day. There are times of days in which there are tens of thousands of late model Camry's on the road in the US, and this is the very first example I could think of when considering the problem raised in the article.
A Prayer’s Chance: The scandal of mental health in West Africa (2017)
I just tried:

g++ -Wall -pedantic vec.cpp

And got no errors or warnings.
To be fair, the is might do carrier grade NAT, but then usually no/very limited filtering...
Pizza is a healthier breakfast than most cereals
Could you please stop posting unsubstantive comments to HN?
INTJ – Non-Monogamy and Starting a Family?
Here's a followup from that blog author which does discuss the topic: https://freethoughtblogs.com/stderr/2018/01/29/big-data-awkw... .
In High School, I didn't get to see a computer until after the introductory computer science course. And so I would assume that the basics are trivially the same, no matter which compiler is chosen to go along with it.

e.g. Stanford switched from Scheme to Python, using the same work book anyway. Does that tell you anything? Probably that there's a Lisp in every language.
Castle of the Winds in Elm
A big one is GPU passthrough. Before graphics cards supported UEFI the old VGA BIOS was a nightmare to get working with virtualization. Now with a tiny bit of configuration you can get consumer GPUs to work just fine in virtual machines.
> if it worked the plants would be profitable and they would be going up without tax subsidies.

No, it's the other way around: fossil fuels are subsidized by governments to the tune of $4.8 trillion a year, so solar needs to be subsidized as well to be able to compete.

http://www.imf.org/external/pubs/cat/longres.aspx?sk=42940.0
Some update on Gryadka - Tobias Schottdorf and Greg Rogers independently explored it with TLA+ and didn't find any issues:
- https://tschottdorf.github.io/single-decree-paxos-tla-compar...
- https://medium.com/@grogepodge/tla-specification-for-gryadka...
> What I learned was that there were not only no regulations there were no plans for them either. While I think my MP took my concerns seriously and did what she could, I came to understand that political will lags public outcry

This interested me more than the idea of car-bombs, are we moving towards a post-law society? Thinking about it, I haven't seen a single piece of legislation regarding self driving cars, cryptocurrencies, or shared computing in my country; and are transport, currency, and communication not the underpinnings of civilisation?
> Separate "how to" articles from arguments. This article is long because it is both attempting to persuade the reader that we haven't invested enough effort into securing critical systems and also to give a list of proposals.

The solutions are also very very wrong, he proposes a state enforced kill switch for every device capable of autonomous operation. Abusing that system seems like a much greater source of havoc than individual compromises of certain brands.

His main point is pretty insightful and well argued, giving life and death powers to very fragile software on a massive scale will end in disaster. The computer industry is woefully unprepared to deliver hardware, software and systems with the provable integrity many of these applications require.
I’m pretty sure that’s not the case. My understanding is that the Scandinavian countries generally like their government and its level of efficiency as well.
I am not sure if the problem is scientific process, or greee of the nimbys. I guess unless state overrides everything somehow and changes zoning and increases # of stories allowed, and this somehow helps, then yes.
Snapshots are a huge timesaver for me. I work on a large legacy windows application where it might take me an hour to set up the system in such a way to reproduce an issue. I can do that once, then revert to that snapshot over and over while debugging the issue.

They also save a ton of time when performing upgrades (reverting on failure) or when I need to load a customers configuration files.

I spend most of my day in VMWare workstation and use snapshots almost every day.
AudioWorklet introduced in Chrome 64
Google maps tends to drown you in un-necessary information.

'turn right on such and such a street' which is then un-intelligeble because the synth doesn't understand the local pronounciation.

Vs tomtom: turn right in 150 meters

shorter, and much easier. Besides, if I knew what those streets were called I'd likely not need a navigator in the first place...
Would you please not vent like this in HN threads? If you have a substantive point to make, make it thoughtfully; if you don't, please don't comment until you do.

If you'd read https://news.ycombinator.com/newsguidelines.html, we'd appreciate it. Please don't miss the bits about uppercase and ideological battle.
> It’s simple maths. We are chopping down about 15 billion trees a year and planting about 9 billion. So there’s a net loss of 6 billion trees a year.
Hah - the old "swap the tray configs around" trick...
This Biodegradable Paper Donut Could Let Us Reforest the Planet
> We lose the ability to think like that as adults. ... To just 'play' in life

I still think that way, sometimes, it's just I don't like drawing attention to myself. But other times, I just say "screw it". On Saturday I was the only adult joining their kids on the indoor waterslide. And it was a great slide and I loved it.
AFAIK APFS's snapshots will snapshot the whole drive, so it shouldn't exclude anything.
I do not believe that is a solid argument at all.

A man in the 17th century would likely have to bury at least one of his children because of disease. The man himself might succumb early to painful illness or infection. If he needed to travel for business he would be away from his family for months. If he lived on a farm (as many did) his days would be filled with hard labor and his standard of living would be much lower.

To say nothing of men of color, or gay men, or women, or men who were not landed gentry.

For many, many people, the 17th century was not a good time.
I have no questions, but feel compelled to say thank you.

I've been a ML/DL practitioner for the past five-plus years, and first watched one of your lectures a bit over a year ago. All I remember thinking is that a wealth of practical knowledge that had taken me years to acquire was there for the taking, for free, for anyone who cared to look.

Since then, I have been recommending these courses to anyone who asks me for advice for learning about deep learning. You -- and Rachel Thomas -- have created by far the easiest and fastest path for a wide range of people to gain deep learning expertise.

In fact, I'm so sure the new lectures will contain valuable nuggets of know-how that even though I consider myself pretty knowledgeable about deep learning (and an expert in my narrow domain of interest), I will make it a point to find time to watch all the updated lectures.

Kudos!
Anyone know how large the local snapshots are? Just curious...
I've been told its a big deal for VMware, and from my personal experiences its been popping up everywhere lately.

I did recently just get my NSX VCIX, and handled several large scale implementations of NSX, so I might be a little too biased to tell if its really taking off, or if it's just a big deal in my little part of the pond.

Either way, it's a neat piece of technology, and I enjoy playing with it :)
Reliable MS17-010 exploit Win2000 up to Server 2016 is now public
So let's say we etch a QR code into each diamond which is only visible with a microscope. This is not unfeasible. In fact "Polar Bear" diamonds carried an etching of a polar bear. [1]

So once you have the etching of a QR code then it makes sense for a blockchain, because then it makes determining the provenance for a diamond easier. And you could track stolen diamonds much, much easier.

Though, I would be disappointed if DeBeer's only allowed it for their diamonds only.

[1] https://www.theglobeandmail.com/news/national/diamonds-mined...
"This Biodegradable Paper Donut Could Let Us Reforest The Planet"
https://news.ycombinator.com/item?id=16261101
Jeremy, I don't have a question, but just wanted to thank you guys for fastai. It is just the right mix of "throw you in the pool" and "I'm still here, you aren't going to drown"!
I don't see what voice recognition has to do with it (maybe you meant voice synthesis), but my tomtom doesn't read out the street names at all, just works with distances and turns, so maybe that particular model (or maybe newer versions of the tomtom firmware) have that 'feature'?

I'll consider this a warning to wait as long as I can with upgrading my oldie, it's still working well though. 7 years and counting...
So you get that best domain expert in the room with (part) of the team and then the team needs to document the knowledge it has learned, to make it easy to reason and discuss design choices for when the domain expert is not around..

"I could be convinced that Personas are useful for marketing, but that's because I don't know that much about marketing ;-)"

I guess the marketing people are right then. Everything is marketing :)
Fair enough. But regardless, Apple is describing it as performing a full backup, when in reality there is no way to restore your phone to its previous state.

It doesn't matter how the phone works or how the apps work. If you can't restore, you don't have a backup. End of story.
So I thought, but the restore not fixing the issue made me think.
I agree, it won’t be enough, but it’s a great first step. Currently, given how difficult it is to find reliable data, one often can’t easily disprove even the most ridiculous of arguments (like the various groups in the Bay that believe, almost literally, that to solve rising costs people should stop building, rent control, BMR, and similar).
Just a note, this is incorrect.

Did you restore a iOS backup to a different device then the backup was originally created on?

The way that sensitive data is encrypted on iOS (when the proper API's are used), certain types of data can be marked to be only able to be decrypted on the same device. That is, if a backup is restored to a different device, the unique device ID will have changed, and some encrypted items will not be able to be decrypted.

This is intentional. More details at https://www.apple.com/business/docs/iOS_Security_Guide.pdf
That's why it is important to not buy random shiny devices. Open source hardware like for example the Teres-1 [0] are what allows us to stay in control. I can't wait for even more open successors based on RISC-V processors.

[0] https://www.olimex.com/Products/DIY-Laptop/
But then how will they mine emails for sales leads?
Those cities are larger. But the reason Dresden is used as an example in these conversations is not because such a huge number of people died (< 50K iirc) but because of the whole town very little was left standing. Those other cities are much larger, and even if in total more was destroyed also much more was left standing. Dresden was pretty much gone.
> He didn’t claim that “conflict is being better managed” or that “things are getting better,”

Hang on, my reading of Pinker is that he claims exactly that. Certainly Gates thinks so: this post on Enlightenment Now is about "how and why the world is getting better"!

If I disagree with OP, it's only because Pinker directly addresses the growth of the legal system in Better Angels with his discussion of Leviathan. I certainly don't think it's irrelevant to Pinker's argument, since he explicitly lauds Hobbes and the rise of state power as a major factor in the decline of violence.

As for better access to justice, that's a vastly harder question, and largely one of definition. But yes, I'd be inclined to argue that the evolution of social structures has frequently traded off declining violence against rising injustice.
Using web3? Multiple pending tx's for ETH
The difference is in how easy it is to scale an attack.

Once an attacker can remotely hack a single car, they can hack all cars that have an identical configuration, with little additional cost.

What happens then? Even if insurance companies could replace all affected cars simultaneously (very unlikely), they’d have to replace them with a model that isn’t affected.
If Google Authenticator codes aren't restored, then I'm guessing you're restoring to another device. Google Authenticator presumably uses the keychain, and for keychain items, unless the item has opted-in to iCloud syncing, the keychain item can only be restored to the device that created it. Which is to say, there's two distinct chunks of keychain data. There's the local-only items, and the iCloud-synced items. The local-only items use a secret known to the device when encrypting, so they cannot be decrypted anywhere else. iCloud-synced items are of course encrypted in a manner that allows them to be decrypted on another device (otherwise syncing wouldn't work).

tl;dr: If you restore your encrypted backup to the phone that created it, you get your full keychain back. If you restore it to another phone, you only get keychain items that opted in to iCloud syncing.
Languages such as Python, Ruby, or JavaScript can take as little as one third as much code as C in order to implement similar functionality. C gave us similar advantages over writing in assembler. Looking forward to the future, it is unlikely that language design will give us the same kinds of improvements we have seen over the last few decades.

That seems a bold assertion. I can think of many, many ways that today's mainstream languages could become incrementally more expressive, safer, or otherwise better. Quite a few of those ways have been implemented, just in less mainstream languages. The language trap is that to become successful you need not just the language but the surrounding ecosystem. It's not that there aren't still very significant gains available over the current popular choices.

Our obsession with flexibility, composability, and cleverness is causing us a lot of pain and pushing companies away from the platforms and tools that we love.

I don't think real flexibility and composability are the problem. In fact, throw in longevity and you've got a decent foundation there for building good software.

I think the problem is that a lot of what's going on in certain parts of the software industry today, particularly almost anything connected with web or mobile apps, is only offering an illusion of those benefits. A big, monolithic framework isn't really more composable than a carefully selected set of libraries, it's less composable. A tool that requires hundreds of lines of configuration to build a relatively simple application isn't really more flexible than a few lines of shell script, it's less flexible. A million tiny dependencies because you couldn't be bothered to write a few five-line functions yourself aren't really giving you more longevity, they're less likely to make things reliable in the future.

I would argue that cleverness, in this context, is mostly about having good judgement. Are the costs of starting from a big, monolithic framework or relying on an extra tool going to outweigh or be outweighed by the costs of any lock-in and long-term dependency? Are the benefits of composing very many small components going to outweigh or be outweighed by the costs of keeping track of all the relationships?
Or simply that the kid found the sound it made when shaken amusing for some reason.
I used to be a c++ dev so a 15 sec compile time doesn't seem that bad. But what if you're compiler told you what was wrong faster than your console.log() could help you find it. I think is a trade off a lot of people want to make.
The high beltline fad is ridiculous for what it does to visibility but a rear view mirror isn't absolutely necessary. Trucks manage fine with a fully obstructed view.
This ultimately has to come back to voter standards.

Other first-world countries in Europe and Asia manage to create comprehensive public transit systems cheaper and faster than the US does -- yet they also have environmental reviews, safety standards, unions, contractors, etc.

They are able to do it simply because the people running the city fear that they won't be reelected if they fail to provide comprehensive, properly functioning public transit. Voters there believe that providing public transit is one of the basic duties of government. It's amazing how streamlined a public project can become if the politicians fear for their jobs.

In the US, voters don't punish politicians for problems with public transit, even in places like New York where most people use it. So it's no surprise that it sucks.
The biggest impediment in JS I think to DSL creation is how little power JS has in operator overloading.

There are some interesting things people have done with fake operator overloading: http://2ality.com/2011/12/fake-operator-overloading.html

I've not seen a JS DSL attempt that wasn't merely a "toy", but there's probably more room to explore ideas than people give JS credit for. You could also argue that there are plenty of DSLs out there as things like Babel plugins.
You could try this: https://github.com/tianocore/tianocore.github.io/wiki/UEFI-E...

I don't know of any easily digestible document though.
Correct, the keysbags are setup so that they will decrypt when restored to the same device where the backup was taken.

The other poster has a fair point to be upset, it's not at all obvious to a consumer why Google Authenticator would not restore a backup properly to a new device.
They're copy-on-write, so they start off as being just however large the metadata objects describing them are. Think in the neighbor of KB, not GB.

The snapshot will then grow at the rate you delete or modify local files. Conceptually, your drive now has to hold the "before" and "after" versions of its state.