skysight-inc/HackerNews huggingface dataset:
I wrote this simple app to accomplish 3 goals:

1. understand what serverless architecture is
2. learn the basics of frontend design with bootstrap
3. learn more about AWS services I don't typically use

The architecture is S3 + API Gateway + Lambda + Cloudfront (so I can serve it over HTTPS). It's simple (just one web page) but I learned a ton by doing it. Hope you enjoy.
People have always made bad, unusable websites. If we wanted to prevent them from doing that we should have never moved away from Gopher.

I write SPAs for a living and a lot of the technologies mentioned in this thread are a godsend. Whenever somebody expresses the above sentiment I feel it's only because they never had to maintain a complicated web app.
Amazon considering using blimps as huge floating warehouses
How soon before this analysis is being used to cross-reference with terrorist and sexual predator watch-lists causing all sorts of problems for people who happen to closely resemble anyone on those lists?

I'm thinking it's time to buy stock in suppliers of masks, cosmetic surgery and other forms of facial obfuscation.
If the new language has good interop with C++ then it can be.
Console Hacking 2016: PS4: PC Master Race
That's just a diagram of the mother ship from Independence Day!

All kidding aside, this looks awesome. I know drone delivery has its concerns, and there will always be naysayers on any new technology, but I'm excited about the ways in which drones can start improving our lives.
I don't know, but I like the idea that prosperity took the workers' eyes off the ball and management[sic] took the opportunity to wage war against unions as a concept.
> Is that considered the most used path in standard behaviour?

Yes, basically. If you're building an application that allows people to submit a contact form, then the happy path would be something like:

1. Load form
2. Verify the correct fields are there
3. Fill out form with valid data
4. Submit form
5. Verify submission went through correctly

The happy path is a minimum viable test to make sure things are working. For completeness, you'd also want to make sure that input is sanitized, invalid input (e.g. non-functional email addresses) causes a form submission to fail, and layout looks correct (e.g. CSS styles applied).
"lib pandas" has become pandas 2.0. See https://github.com/pandas-dev/pandas2 for ongoing design discussions and development.
Phenomenal ... I learned a lot. I wish this were voted higher
To be fair to C, I think C's answer here is dynamically linked shared libraries. They have lots of problems, but still they're very widely used. Even Rust programs dynamically link libc by default.
> I haven't heard of a company that offers this at scale or to cross-reference the information, but I can't imagine it'll take long.

Companies like Acxiom do this: https://liveramp.com/
Someone downvoter may not have understood that several compilers can still produce object code that can be linked together.

Reminds me of C++ itself. Stroustrup posited that it needed syntactic compatibility with C. People had to be able to compile their own code with the new compiler, else his new language would never have been used.

I'm sad to admit he was probably right. He could have settled for linking compatibility, where old modules can be used from new code (and conversely). But that probably wouldn't have worked, if only because nobody wants to deal with 2 compilers and 2 slightly different languages. Also, macros and header files. Seriously K&R, what were you thinking?

Still, this is a possible path forward. To hell with syntactic compatibility, the ability to link the object files should be enough. That would at least let one use legacy libraries with the old compiler, and write the current project with the new stuff. There's just one hard part: the FFI must be seamless.
Ask HN: Every website wants to send me notifications
Most of the news, blog, or e-commerce websites I visit these days ask me to get notified about the new content. Is this ruining the web experience? Is this overuse of Notification APIs by websites?

E.g. mdn.mozillademos.org wants to show notifications. {BLOCK} {ALLOW}
For a desktop editor, see: http://www.typora.io/ (non affiliated, I just like it, wanted to write something similar)
Safety is Rust's Fireflower
I believe most countries import massive amounts of food, including the U.S. It's much more efficient: Let those who can produce the food most efficiently do that, and you produce whatever you do most efficiently, then you trade. It's called 'comparative advantage' in economics.

Trade is necessary for the wealth of modern economies. Self-sufficiency is North Korea's approach.
I think the touch of human labor has a value of its own, especially in high-end manufacturing and services. If high tech automation allows us all to have precisely perfect mass produced tables and chairs, for example, the value of handmade furniture with its "imperfections" will rise. Just as mega-scale agribusiness produces ever more perfect fruits, vegetables, and grains, has been accompanied by more and more people taking an interest in farmers' markets and local producers.

Now, certainly the mass producers are making money, so I'm not suggesting those industries are poor investments. I'm just thinking that strategically, if you want to find a niche that won't be eliminated by technology, look at the high-quality end of any particular market.
Al Jazeera is anti-Israel and Anti-Russia for the most part because of Qatar's foreign policy interests.

BBC is anti-Russia, but more neutral on other issues.
For outlining, my initial reaction is to reach for two things:

1. Kalman filters to track an object in motion within a frame [1]

2. Edge detection on the subframe you got from (1) [2]

Both appear to be available out of the box in OpenCV[3][4], though you'll have to fiddle with parameters I'm sure.

[1] Example: https://www.youtube.com/watch?v=K14SK4v3-IY

[2] https://en.wikipedia.org/wiki/Canny_edge_detector

[3] http://docs.opencv.org/trunk/dd/d6a/classcv_1_1KalmanFilter....

[4] http://docs.opencv.org/2.4/doc/tutorials/imgproc/imgtrans/ca...
Well either I suppose. For the subset problem as you say a filter critera can be applied while looping through the collection. And that should be it. Now if the question was multiple criteria I could see the solution diverging rapidly. If the filter can be expressed as a rank we could sort the collection first and then binary search through it to find the boundaries. I suppose I'm just trying to imagine some way an interviewee may turn that into two loops, or three loops... more?
>The problem here is that companies think that software can exist in some sort of "done" state, where no further updates or development is required.

>That has never been true.

That opinion is the exact reason we constantly have jr. dev's re-inventing the wheel with their great new idea. Nothing frustrates me more than someone thinking they should re-write applications just for the sake of re-writing it. If the software is feature complete, and lacks bugs, WHY WOULD YOU RE-WRITE IT?? To frustrate end-users with a new interface they have to learn? Because you're bored and want to deploy language of the month?

Your two options are ridiclous and show a very naive view of the world of software. There are literally pieces of code at likely every one of the fortune 100 that was written in the 80s for a specific task, still does that task flawlessly, and has absolutely no reason for anyone to touch it. That's a GOOD THING.
It is, but Apple seems to have become the largest customer and Foxconn's revenue seems to rise and fall with Apple's iPhone sales. This article [1] from 2013 states that "Hon Hai [...] draws an estimated 60 to 70 percent of its revenue from assembling gadgets and other work for Apple Inc.".

[1] http://www.businessinsider.com/apple-moving-from-foxconn-to-...
Not sure I'm a huge fan of my editor in "the cloud". I don't want to depend on someone's data center in order to be able to compile.

That said the one place I saw where it was useful was Pebble due to complex nature of the dependencies + compiler versions. However it doesn't seem like the use case here is the same.
I devour indiehacker's interviews and I love the transparency - thanks to both sides of the table.

According to the numbers here, 42% of the 17,000 monthly revenues are spent on 6 people. That's $1190 per person per month if everyone is paid equally.

Is everyone in Romania, and is that a living wage there? If not, how are your employees making ends meet?

Edit: that last sentence sounds accusatory - I don't mean it to. I just mean: do you have a strategy of part-timers who have other income streams, do you take side contracts, etc.
You could have made the same argument for child labor before the laws were enacted. Same for slavery. Argument ad antiquitatem is a fallacy.
Wish they would've done this with VS Code instead. The editor is vastly more performant and already works in the browser: https://github.com/Microsoft/monaco-editor
As a former mainframe user, we gladly and excitedly ditched our dumb terminals for personal computers. The user experience was so much better.
The whole "machine learning is just fancy statistics" discussion that happens on Hacker News endlessly is often pedantic semantics. However, in the case of linear regression, this is basic statistics that is an analysis life skill and has many practical applications outside of the hardcore TensorFlow blog posts. (case in point, I first learned linear regression during my undergrad in a "Statistics for Business" class)
How to Re-Create Ruby’s Max Method to Efficiently Find the Largest Integer
https://spiffcode.github.io/ghedit/
I think the problem with Py2 vs 3 is mostly down to the horrible mistake of some operating systems to bundle a "system Python" which makes it very hard to break things because systems (rather than just developers) are depending on it for god knows what.
Is an e-bike ban true? Or is this more "ghost cities" hype? Why would fatalities be materially different from ordinary bikes? The way drivers behave toward bikes in China is horrifying. They'll drive inches from a bike, and the only thing standing athwart mass slaughter is that traffic is as slow as molasses.
Just read or read AND understand ?
I like the idea of scientifically vetting foods, but as you said it might be hard coming up with a balanced viewpoint if you are not considering all the research. Also might be helpful to consider the impact factor of each paper you are citing.
It sounds like we're just coming around full-circle to the days of video game arcades. Except instead of going to the mall and possibly seeing other people, we've all got the arcade in our pocket.

Inflation-adjusted, these in-app purchases on freemium games are still cheaper per-play than the quarters I fed the machines as a kid.
The docs are very clear about what safety means, but agreed that the subtleties can get lost in advertising. https://doc.rust-lang.org/book/unsafe.html#what-does-safe-me...
Show HN: PhpAppBuild – develop software fast and easy
Half the charts came back "secure connection failed" so the page is loading multiple certificates for multiple frames just for laughs too.

I assume that another ten years of hardware progress will allow web pages to install and boot multiple OSes to display charts and graphs as well.
By the ones they were issued by Apple/Google when they signed up for the dev accounts?

If Apple/Google want to backdoor Signal they can do so, they can also backdoor your device in this case the signature check is irrelevant if you consider them an adversary.

If you build your own using the source code then signing sourcecode effectively is near impossible since any change to it would require it to be resigned and even copy paste will likely to break the signature since now you are dependant on the encoding (ASCII/ANSI/UTF8/UTF6) and how your text editor handles spaces and tabs...

If you sign source code files you also somewhat defy the purpose of open source which is having the code be inspectable and if you do build from open source repos you either trust the repo (github in this case) and the repo is your adversary you should either not take any code from it at all or inspect every line of it manually.

Signing anything can be irrelevant or it can be critical it all depends on what are your threats and who are your adversaries.

In this case if you trust Apple/Google not to backdoor applications or your device; signature beyond what is offered by their platform is irrelevant; in any case since the signature verification is on the device if they are your adversaries there is little you can do about it since they can backdoor the verification procedure or your device in it's entirety meaning that you can't trust it.

If you trust Github and OWS you can trust the source code; you know that the source code hasn't been tampered with in transit because you pull it via HTTPS and you can review the source code and any pull and merge requests, if you don't trust Github or OWS you have to resort to manual code inspection or not use Signal at all; again signing the code offers little to no security and in effect can lead to back practices such as blind trust rather than manual verification.
If you think owning property is more important than the metrics in the article, I think something is objectively wrong with your belief.
Music streaming hailed as industry's saviour as labels enjoy profit surge
Color vision
The "how many clicks" metric is a white lie anyway. Just because someone clicks through to a page does not mean they read it. Ad impressions should really take into account how long a reader spends on a page. I would bet click bait has a far higher bounce rate than accurate headlines
I've never clicked allow. I don't turn on notifications for phone apps either though.
My impression is that Python 3 finally has critical mass. After 3.5, most of the heavy users I know have switched or are considering switching.
Yeah, still not buying it.

"Shipley noted that simple math make it likely that anyone who claims to be a SEAL is probably lying about it. There are fewer than 18,000 men who were ever SEALs, and many of them served during World War II. "We estimate there's probably fewer than 10,000 men alive today who have ever been a SEAL. The FBI did a study a few years ago estimating that each of us has 300 imposters. I put the number closer to 1,000 based on the fraud cases I've seen.""[0]

These people go as far as obtaining tattoos and fake uniforms and memorabilia[1], using their fake "experience" to train police[2], fake Reddit AMAs[3], lying to their own spouse[4], and even using their fake "credentials" to initiate hostage negotiations[5]. Fake experience in special ops is such a part of their fake persona they'd surely say something in passing that sounds reasonable to a lay person even if they weren't looking for attention at that very moment, especially if you are leading them on. There's a zero percent chance that whatever they told you was true.

I'm not gonna believe anyone is/was in the special forces unless I see their service record/DD-214. HINT: A huge indication they aren't special ops is they are talking about special ops.

(The only time I've ever heard anyone say anything about the special forces and I sorta believed them was the jr sailor who was making fun of himself for trying out for the Navy SEALs and failed spectacularly.)

[0] http://abcnews.go.com/Blotter/navy-seals-imposters-coming-wo...

[1] http://www.dailymail.co.uk/news/article-2140085/Man-claimed-...

[2] http://www.dailymail.co.uk/news/article-2032025/Special-forc...

[3] https://www.reddit.com/r/AMA/comments/1ymsr4/i_am_an_ex_us_s... https://www.reddit.com/r/AMA/comments/1ymsr4/i_am_an_ex_us_s... https://www.reddit.com/r/AMA/comments/1ymsr4/i_am_an_ex_us_s...

[4] http://www.mirror.co.uk/news/uk-news/fake-sas-hero-lorry-dri...

[5] http://dailycaller.com/2016/12/20/fake-navy-seal-slapped-wit...
> Obviously, many parents avoid these conflicts altogether by simply banning such games altogether. While I sympathize with that sentiments, to me it seems extreme; fun and gaming strategies are legitimate pursuits for a child.

That's one hell of a false dichotomy. Why not just ban games with in-app purchases?
Of course. I just would prefer a little more opposition to the liberal imperialism at times. It would be great to have a journal that's somehow even more sophisticated than the Economist, taking into different viewpoints and understandings of the world. Just as a quick example, I don't see much in the way of opposition to war, or the positive side of something like charter schools. Note that these are things I'm just interested in reading contrasting viewpoints about. I am fortunate enough though that I can find books to fill these voids.
WebApp to detect object in image and translate to any language [Flask+GoogleAPIs]
How does incorporating somewhere else help? Tariffs are applied to imported goods, and presumably how said "high tax" would be applied. It doesn't matter where the company is incorporated.
As another commenter mentioned, LTS for Windows XP and Server 2003 is very good - where else can you expect 15+ years of support?

> but as a business, I would always be interested in minimizing my maintenance burden.

The argument that I'm trying to make is that by deferring maintenance until it is too late, you're actually dramatically increasing your maintenance burden in the long term. Testing and maintenance fixes for your app to support Chrome updates, which rarely break anything, will be much lower over a 10+ year (or probably even 5+ year) timeframe than just sticking your head in the sand and making someone 10 years from now pay an astronomical cost to refactor the app completely.
Last I looked at Go is was missing pinning and few other things that are necessary for interacting with native code.
Well there is this famous Ada failure:

http://www.math.umn.edu/~arnold/disasters/ariane.html

Although that was not a failure of language safety, but an overflow issue. The software was designed successfully for another rocket, and was reused for a rocket that didn't match the original specification.
It's true it's not nearly as ergonomic as haskell to pass around functions. You don't necessarily need to box the closure up on the heap in order to store a bunch of functions in say a vector though, it just needs to sit behind some kind of &, &mut, Arc, Rc, Box, etc.

I have seen a few hashmaps that store functions as values, in terms of real world uses.

You mentioned storing functions (closures here) in a vector, this isn't too much of a stretch I don't think:

let x = |c| c * 2;
let y = |v| v + 2;

let b: Vec<&Fn(_) -> _> = vec![&x, &y];

Definitely not "no higher order functions" as you claimed.
This kind of nuanced thinking will get you downvoted on hacker news, don't you know?
Don't you guys have regenerative braking via the electric motor? From the sound of it, the motor controllers out there are rather primitive in this market. Thoughts?
Best Practices for Minimalist Design
Not exactly. The Army, Navy, and Air Force all have special operations forces that are Airborne-qualified (they've attended the U.S. Army Airborne School) and many are also Military Freefall-qualified (aka HALO).

That does not mean, however, that all airborne are special operations. In fact, the vast majority of Airborne troops are not special operations-qualified. Most are members of FORSCOM, which is the traditional major command for U.S. Army ground forces--i.e. not special operations. An example of such a unit is the 82nd Airborne Division. Airborne, but not special operations.

To further complicate things, it's also possible to be a member of a Special Forces unit but not actually be special operations-qualified. Like every other part of the military, special operations requires a vast logistics machine to keep it moving and there are many non-combat personnel who belong to these units and are Airborne-qualified who are not special operators. Typical non-combat jobs in these units include vehicle mechanics, logistics specialists, etc.

Relatively speaking, the special operations units of the U.S. military are a tiny percentage of the overall force. Given their traditional status as "quiet professionals", it's extremely unlikely that someone offering up their status as a "green beret", "Navy SEAL", or "Army Ranger" is telling the truth.

Source: I am a Captain (Engineer branch, very not-special) with eight years of service. Currently serving in the U.S. Army Reserve.
Do you have an example which correctly solves the problem but takes too long?

Behold

var AGESORT = rows.bubblesort("AGE ASCENDING")
var AGESORT1 = rows.bubblesort("AGE DESCENDING")
var MALE = "None"
var MALE1 = "None"

for row in AGESORT
if row.isMale
MALE = row
break

for row in AGESORT1
if row.isMale
MALE1 = row
break

print "Min age: " + MALE
print "Max age: " + MALE1

Stuff like this is usually the result of thoughts like "Ok, I'll break this problem into two, then combine the pieces. First I'll find the minimum age, which is easy once I sort the rows. Done. Ok, now I can see I can slightly alter that code so that it finds the max age! Now, I just put the pieces of code together, and do a little code organization to put like with like. I"
Worse, by embracing web applications the GNU/Linux community made those GNU/Linux UIs even less relevant.

Comparing with other desktop OSes, not only those UIs keep getting rewritten, there is a lack of common infrastructure for modern UI desktops, akin to Framework modules in other desktop systems.

So anyone that cares about UI/UX has a more enjoyable experience in other systems.
It would be nice if URLs were a living thing; that upon loading a page, the browser had to pull live metadata for that URL indicating the title and end URL. No more broken links, and the original content provider could retain control of the headline.

It would increase page load time of course.

Actually maybe this is a job for a browser plugin
Show HN: Radar, a new way to discover what's around you
Every machine in the world is Little Endian, and I'm going to specify a file format -- https://en.wikipedia.org/wiki/WAV -- with C structs and type punning. Seriously, Microsoft?

Me, I just

static uint32_t
load32_le(const uint8_t s[8])
{
return (uint32_t)s[0]
| ((uint32_t)s[1] << 8)
| ((uint32_t)s[2] << 16)
| ((uint32_t)s[3] << 24);
}
Top-Secret Snowden Doc Reveals What the NSA Knew About Previous Russian Hacking
I've been reading Adrian's blog for about a year now, I honestly I don't know how he finds the time.
But can we use it to code a version of chromium that runs on electron?
> 1. Subpoenas/letters/writs go to you and you get to decide how to respond to them. You're the operator.

You're assuming here that the executive will actually follow the full.due process of law vs. "we raided X address on suspicion and grabbed a few servers". Not true in many parts of the world and having email encrypted and stored in a different jurisdiction may be safer.
If you can't see how even a single one of these 200 policies could be useful for a corporate environment, then you are just plain ignorant and/or trolling, or you've only been exposed to tiny startup environments.

And I'm not talking about controlling employees here, but simply enforcing settings for compatibility with legacy systems, legal compliance, etc, the list is endless.
No it doesn't. You can look at the org chart and see which units report to which commands, that is public knowledge.

https://en.wikipedia.org/wiki/XVIII_Airborne_Corps#Current_s...
Kastanshop
Email Marketing Day London
There is a reason Rust has debug and release builds as well to what other commenters have said. In the debug builds there are safeguards against almost everything at performance cost, the way you are supposed to use it is to test your debug builds thoroughly and then you can trust the release builds to be safe because your code doesn't change, the compiler just doesn't insert as many guards.