skysight-inc/HackerNews huggingface dataset:
> What kinda usecases are there for handling SIGSEGV?

If you're building a runtime that includes go like goroutines, you could handle SIGSEGV when you run out of stack space and graceful kill the go routine.

You can use it for some kind of online migration of VMS.

You could build a moving garbage collector system for native code multi-threaded code where you don't need to stop the world... you can deal with race of not stoping / moving by making those pages in accessible and only stoping the thread / fixing up if happens to hit moved memory.

A runtime for a language that has multi-threading system that doesn't share VM mappings (which is possible using the clone sys call on linux) but can share other things.

All somewhat advanced uses. But uses never the less.
Second slide of their hello-world example:

<!-- .slide: data-autoslide="2000" -->

### No more <span style="color: #666666">Keynote.</span>
### <span class="fragment" data-fragment-index="1" data-autoslide="2000">No more <span style="color: #666666">Powerpoint.</span>
<br>
### <span class="fragment" data-fragment-index="2" data-autoslide="3500">Just <span style="color: #e49436">Markdown</span>. Then <span style="color: #e49436">Git-Commit</span>.</li>

Doesn't look like a simple markdown for me.
NAB 2017: Final Cut Pro X already has 2M users according to Apple
ISIS has been using drones in the battlefields of Syria and Iraq for some time now.

Originally they served as in a recon role, now they're used to guide VBIEDs as well as drop small bombs/grenades onto enemy troops.
Already very much a thing and has caused casualties in the middle east including Western soldiers​. Google around.
I wonder what the price to pay is for commenting on the news under such nonsense?
Local cops may hit you with obstruction of justice, which is usually a misdemeanor that will be resolved in a low level court. This means your defense attorney will only charge $5000-$10000 to take your case.

18 USC 1001 is a felony charge that will be in Federal district court. $25K-$50K in legal fees easy.
I've been doing this for years using pandoc and beamer.
Amazon Launches Echo Look
Thanks!

What versions are you working on?

What do I generally need to use this?

A web browser? Git? Github? A Markdown Linux editor?

I would love some further explanation!
My point regarding the simulation argument is that there is a difference between computational simulation and physical simulation.
I've not heard this history before, is there a source you can point to? I'm interested in the history of financial instruments.
Thanks!

> (because they're staying on your machine).

What's the advantage over exporting my Chrome Bookmarks as HTML?
If someone has life-sustaining medical equipment on a public network, they have lost their minds. Everything about that is likely subject to privacy regulations of some kind. It would violate best practices of network security with a vengeance.

If someone has life-sustaining medical equipment and they're not maintaining it by ensuring it gets it's patches in a timely fashion, then that right there is where the blame starts. Doing so is no better than ignoring frayed wires on an extension cord.

The real horror is that such poorly designed devices would ever be deployed for such important uses. Things like BrickerBot don't even show up on the same scale.
Hey there,

I would highly recommend playing with Vuforia or Wikitude to work with their marker based AR.

While you familiarize yourself with more complex target behavior you can save money for Asus Zenfone coming out in a few months, and explore the Google Tango SDK for the cost of the phone.

Then you can really just follow the branching path from there.
How is that different to "You paid an awful lot of fire insurance premiums over the years but never had a fire"? The insurance company certainly isn't giving you a refund either.

It seems to me that if the equity turns out to be worth a lot, then the value of the protection is greater as well - the potential losses are likely to pretty closely track the company's value.
Former Asst. US Attorneys who practice criminal defense. Otherwise you are really rolling the dice.
If you use Firefox, you can get Gopher support in an extension: https://addons.mozilla.org/firefox/addon/overbiteff/

Works great.
Blooming lovely: medieval texts that reveal the activities of English gardens
Reveal-md
Hi @mankash666, thanks for your feedback.

GitPitch was indeed launched with developers in mind. Devs often need to present and promote their work. Having worked as a software consultant for over 20 years I can attest to this. And with the rising popularity of tech meetups and conferences now more than ever making it easy to clearly present concepts, designs, etc. right alongside the actual code in your repo is a big win.

GitPitch is also seeing wide adoption across academia, particularly as a tool for delivering course materials, again right alongside the code.

As a final note, you mentioned a perceived drawback. GitPitch presentations are indeed automatically made available online just as soon as you git-commit and push to GitHub, GitLab or Bitbucket. But if you really want to host the presentation on your own domain or under your GitHub pages a fully self-contained bundle for your presentation is available for download with one click. You can then take the contents of that bundle (HTML/CSS/JS) and deploy it on your own Web server. No problem.
It would be cool to also "pitch" Github Gists. :-)
From what I've heard Rust has serious build-time issues as well, mostly because of it's inability to perform separate compilation of generic code. Unlike Swift, Rust specializes everything at compile-time, similar to C++ templates.
Patent law needs reform.

If you analyze the life of important inventors and innovators of the 20th century, there has always been some patent pain involved that is not in the interest of the "greater good".

The reason America didn't have a significant air force for WW1 compared to other powers was in part due to the legal battles between Wright and Curtiss. The government intervened in the patent driven battle so planes could mass produced and used in the war effort.

Then, the inventor of the TV (Farnsworth) got sued by radio manufacturers and could never actually profit from his creation.

Then, many patents get extended for excessive periods of time to prevent things becoming public domain (e.g: Disney).
Except that a lot of our accumulated scientific knowledge is simply wrong due to experimental errors, fraud, selective publishing, and random false positives. See the whole reproducibility crisis.

It's conceivable that someone could construct a special-purpose AI which isn't superhuman but uses advanced ML and NLP algorithms to mine the scientific literature for previously unnoticed implications and relationships between seemingly unrelated articles. But I expect that would only give a suggested starting point for human researchers to formulate hypotheses and design experiments.
That's not actually true. You have to pass special linker flags to tell the linker to avoid including code which isn't used. With GNU Binutils and GCC, those flags are -Wl,--as-needed and -Wl,--gc-sections. Normally, unused code is only excluded if it is part of a static library. Even then it is only excluded or included an entire file at a time, unless you split files into multiple sections with the compiler (which has drawbacks—the compiler can do certain optimizations if it knows that two pieces of code or some code and data end up in the same section).
One other big contributor to app size we've noticed at Khan Academy: extensive use of value types, particularly ones whose fields require more than a couple words of storage.

The big picture observation is that for value types with storage larger than a few words, several instructions must be emitted per call and per storage word because they cannot be passed-by-value in registers. And Swift often emits more calls than you can see (e.g. thunks, protocol witnesses, weak sentinels, etc). This is not new to Swift—the same requirement exists when passing large C values around—but we use value types a lot more in Swift for various reasons, so the issue becomes more salient.

In terms of remediation, I audited our app for all structs larger than a few words. I just did this manually; there were something like 120 structs to look at. For each, I converted it to a class then evaluated the impact on generated code size. Only four structs had meaningful impact on generated code size (to the tune of ~13MB), and happily, they were fully immutable, so they retained their value semantics even when converted to classes. If they had not already been fully immutable, I would have had to spend some time either adapting the classes to achieve value semantics, or adapting their clients to tolerate reference semantics.

Then I audited our app for all enums larger than a few words. These can be made pass-by-reference by using Swift’s `indirect` feature, which implicitly boxes associated storage. We had one enum for which this made a substantial difference, to the tune of several MB.

Then I had to make sure runtime performance hadn’t been too badly damaged by all the new dynamic allocations and indirections. In the end, I observed nothing noticeable. We don’t have formal repeatable performance tests, though—it would have been interesting to see the impact on those.

C++ has this issue, too; it largely handles it by using reference arguments when consuming large stack values. In the future, it’s possible for Swift to optimize many cases (especially intramodule) where this occurs by allowing deeper stack frames to reference values types stored in parent stack frames when it can prove it’s safe. Rust has a lot of fanciness here you might find interesting!
What is the problem exactly?
Not surprising that a computer expends more energy to perform a task that we [previously] thought required human-like intelligence.

I'm sure any dollar store calculator spends way less energy performing long division than the average human.
Hi @rorosaurus please see my reply on this thread where I explain that any GitPitch presentation can be downloaded as a fully self-contained bundle (HTML/CSS/JS) with just one click. And that gives you exactly what you need to deploy your presentation wherever you like.
Oh, it goes well beyond retries. You have issues like unpredictable latencies and lost network connectivity. A feature that works great when RTT is 400ms may require an entirely different approach when RTT is 30000ms. There are also issues with clocks due to both fraud and misconfigured cell towers. India for example has notoriously bad RTT times and Jakarta and several cities in LatAm have issues with clocks.

At scale, across so many different markets, with so many different features, things get complex fast. We want the user experience for both riders and drivers to be magical. More magic requires more engineering. The goal is transportation as reliable and available as running water everywhere all the time.

Here's an example of telematics engineering used to improve safety by detecting harsh braking:
https://eng.uber.com/telematics/

We also use the IMU measurements to detect drivers who aren't using a phone mount and are instead holding their iPhones while driving.

Features like these allow us to advise drivers on how to be safer and get better ratings since not using a phone mount and harsh braking both correlate with negative user ratings.

A lot more goes into the Uber app to make things magical. I used to read the front page of HN daily to read about all the cool things people around are working on. Since joining Uber, I check far less often now because there are so many cool problems being worked on internally that many of the front page stories sometimes seem quaint in comparison (not that many HNers aren't working on awesome things but the quantity and quality of cool problems my colleagues work on easily captures most of my attention these days).

The best way I can describe working at Uber: it's like building that transportation component of sim-city for every city, everywhere, but it's not a simulation. Despite all the click bait negative press, its bar none the best place I've ever worked.
Initial consults before you are charged should be hourly rate. After you are charged many criminal defense attorneys require hefty upfront non-refundable payments. $25K for a non-violent felony charge would not be surprising if the attorney was good. Could easily be $100K if things are serious.
As it happens, your hypothetical situation was exactly what did transpire: Samsung wanted to remotely deactivate the phones, but Verizon refused on those grounds. http://bgr.com/2016/12/09/galaxy-note-7-recall-verizon-samsu...
There is some work ongoing to improve this situation in Swift 4.0. Take/copy/destroy operations for enums are now outlined and shared between call sites, and a further improvement is in the works to pass large structs indirectly even when they are otherwise loadable (no address-only fields).

Another recent improvement is copy-on-write existentials. There's no code size win here, but it improves runtime performance by avoiding copying the payload when passing existentials by value.
Alternative: https://github.com/blindFS/vim-reveal + you don't need npm.
Hi @MaxLeiter I tried to include BitBucket in the title text but was limited to 80 characters so it simply did not fit. Apologies for the omission here but it was beyond my control.
I see a few people in this thread asking this question.

It's a large part of this administration's MO. Kill all regulation in favour of corporate growth. Trump talks about it all the time and he's taken direct action himself to achieve it. There's no reason to believe Pai is running his own scam here.
> I heard that there are some special electrical guns which can shoot down drones. It might be useful to deploy these in no-fly zones.

The issue is scale. These guns can likely be deployed for big events etc but how do you effectively protect the airspace around airports, powerplants, or other critical infrastructure with such devices?
The problem, is not the law, the problem is the bureau.

They keep attributing patents that are obvious and meaningless.
Marketing instincts came through; Gitch is waaaay to close to ginch.
Ryzen ECC support is a mess, no AM4 motherboard currently on the market has implemented ECC support fully and properly (not even Asrock). It's better than nothing but you would be a fool to rely on it.

http://www.hardwarecanucks.com/forum/hardware-canucks-review...

"Kinda sorta works but the manufacturer won't stand behind it" is bunch of bullshit. If your data is worth using ECC in the first place - it's worth using a platform that has fully-implemented support, that has passed validation, that you know is going to work properly when you need it.

Until that happens - this is an application where Ryzen is simply not appropriate.

All of the modern i3s and Pentiums support ECC, but you do need the server chipset instead of the cheap consumer stuff. Good news though - those "expensive server boards" are roughly the same price as say, an AM4 motherboard with an X370 chipset.

Heck, you can buy a basic off-lease ThinkServer TS140 for only about $300. You'll only have about 4 GB of RAM but it's a shell to start building out (which is cheaper than having an OEM assemble it for you anyway).
My first week withnew MBP
Are you the same as "twowo" who posted this, but using a different username?
Modern cosmologists certainly don't assume that the heliosphere and interstellar medium are perfect vacuums.
Dear Hollywood, Please Don’t Ruin My Movies with Bad Product Placement
Hi @orschiro you can include GitHub GIST within any GitPitch presentation, see the GIST Slides section in the GitPitch Wiki: https://github.com/gitpitch/gitpitch/wiki
Yes, index funds are less risky than undiversified individual assets but they can me much worse than boring.

Depending on the index you track, it can fall 80%. Consider the Asia ETFs in 2008, brutal.
Really? Because I find it to be cherry-picked junk science. The examples seem selected in favor of the numeric pattern they best serve.

1. tv, radio: passive adoption, buy them and turn them on. the end user consumes cheaply and effortlessly, with minimal barriers to adoption.

2. telephone, cellphone: one habituates and bootstraps the other. this technology's adoption rate is the only meaningful pair of members on the list, due to the premise of the network effect of peering with fellow users. cellphones are a redundancy, with really only service provider adoption and promotion factoring into the rate of expansion. users are throttled by carrier capacity and tower coverage, not unlike copper plant expansion with land lines.

3. ipod: most egregious example of cherry-picking. flouts predecessor technologies. what about mini-disc players? what about the diamond rio MP3 players? compact discs, audio cassetes, 8 tracks all affect the demand curve of the ipod, and yet such statistics are selectively ignored. why? because they aren't useful accomplices to the desired narrative.

4. internet: facilitates several other members on the list, for which adoption becomes implicit, based on habituation to the internet. piggy-backed on existing infrastructure, adoption is partly behavioral, in that once the transmission protocols are established, adoption is very nearly reduced to buying a device, plugging into phone or tv infrastructure, and typing instead of talking. one could reduce consumer participation down to the level of TTY advances, since much of the rest is virtual and software oriented.

5. facebook, myspace, youtube: nigh-indistinguishable examples. very nearly non-examples.

web sites:internet::tv shows:television.

why not include tv viewing habits with tech adoption statistics? how do "I Love Lucy", "Leave It To Beaver" and "The Honeymooners" factor in with tech adoption. Are national television networks classified as individual articles of technology? ABC, CBS and NBC are empires that each command their own pool of proprietary technologies, clustered around a delivery apparatus and network of affiliates. Should the expansion of an empire be redefined to fit in with the adoption of a new discovery?

6. angry birds: a non-event, with regard to tech adoption. what about nintendo, and why not other specific examples of video games? did we chart the adoption of "Altered Beast" or "Doom" or "Mike Tyson's Punch Out"? some of those likely matched "Angry Birds" in a single christmas season. Content does not represent new technology by default. Angry Birds is not a novel technology for it's platform. It is a media template that has existed since before QBASIC GORILLAS.

https://en.wikipedia.org/wiki/Gorillas_(video_game)

In this respect, Angry Birds represents technology that had ALREADY BEEN ADOPTED DECADES EARLIER BY MILLIONS. It does not belong on the list any more than Cousin Larry and Balki Bartokomous belong on the list due to the rapid adoption rate of the "technology" known as "Perfect Strangers" in 1986.

That list is a joke, and threatens the credibility of the entire article.
It's especially irksome to me in this case because Symantec (and maybe some of their actual customers) are acting like this is unheard of. Services did just recently have to update their certs to move away from SHA1 intermediate CA cert, didn't they?

The current Symantec SHA1 intermediate CA cert is valid between Feb 2010 and Feb 2020, so it seems like there was probably a cert change ~7 years ago too. The horror!
Whoa. I suppose I had the homegrown terrorist more in mind - all those self-radicalizing wackos who still might be able to follow an online blueprint. Anyhow, this looks like a thing, as a number of commenters have said.

https://www.washingtonpost.com/world/national-security/use-o...
Or (for those on the Emacs side of the old holy war), directly from org-mode: https://github.com/yjwen/org-reveal
The compiler runs too early. If you're compiling C or C++, each individual .c/.cc/.cpp file gets compiled into a .o/.obj file by the compiler. Once these are all built, the linker combines the .o/.obj files and produces a library or executable. Compilation is finished before you get a chance to combine anything—the linker is what combines the code, and it can't do much optimization.

However, with LTO (link-time optimization), the compiler doesn't finish compiling and writes out .o/.obj files with partially processed outputs. The linker is modified to re-invoke the compiler to finish compiling all the files at once. In GCC this is available with -flto.

Actual amalgamation, where you combine many C files into one, is often not possible without modifying the files. It works for SQLite because they've made sure that their code works with amalgamation.
It's still used pretty extensively but it's becoming less effective to identify fraud as the techniques have become more widely known.

These days the most effective use is guarding against account takeover. When logging in from an unknown device a user may go through additional authentication steps. Fraud ring counter this with man-in-the-browser attacks.

There are a couple of vendors that offer it as a standalone service or bundle it with other offerings.
Unroll.me Service Faces Backlash Over a Widespread Practice: Selling User Data
It's amazing how many people simply don't understand how taxes work.

Taxes are paid on profits, not gross revenue. If my company makes $1M net but I decide to expand my business by buying more equipment or staffing up I can spend that $1M on that and have a net of $0 profit and owe $0 in taxes.

Explain how by lowering the tax rate from 35% to 15% gives me any more money to expand my business when it is taxed on profit, which I could choose to reinvest as much as I want when I want and write it down (current, past or future years)?

All it does it does is it means when I have no where else to spend my profits that it shows up on the balance sheets as profit. Do you know who benefits from that? Shareholders, execs and board members.

All of that extra money will just get locked up in the bank accounts of the people who already can't figure out how to spend the money they already have. It does not create more revenue for the govt, it does not accelerate growth.

History has shown time and again supply side economics does not work. It's not just a theory, the Laffer Curve has been proven to be nonsense as much as it can outside of a vacuum.

The reason the wealthy love the idea is because there are only so many ways to create the growth on the balance sheets that the market demands each year and this would be an easy way to do it.

You think wealth inequality is bad now, wait until you see a 15% Corp tax rate. The people who will pay for the missing trillions in revenue will be the 99% that are already struggling. At some point the system will be too stressed and this could be the proverbial straw.

I would recommend those reflect on the origins of our tax system and how tax was to be derived exclusively from business income and not wages before feeling sympathy for the non-human entity called a corporation.

If you want to see a large influx of growth to the system you force that money to reenter the system. Making it illegal to use shell companies and tax havens purely to reduce tax liability would have injected trillions back into the economy that would have created some great outcomes just based on tax revenues and the need to reduce tax liability thru investment. Read healthcare, education, wages, infrastructure, better jobs, etc.
Ada surely has generics since 1983.

Ada 2012 probably even has more generic data containers on their standard library than Swift.

ADTs can be done via tagged records.
How is this different from so-called unity builds?
I'd love a bitcoin miner that doubles as a household heater. Imagine turning the heater on and making money from it. But it would need to look like a standard household heater, and operate as quietly as one too.

If you want to make one let me know, I'll happily be a tester for you!