skysight-inc/HackerNews huggingface dataset:
If you are a good guy, getting a patent for X may help you prevent bad guys from using X.

Also if you don't patent X, somebody else might and then figure out a away to use it against you.

News sites too often write the patent articles in the form "company A plans to do Z" when the only fact available is that company A has applied a patent for Z. There's an incentive for a company to patent pretty much everything they can, since besides the patenting costs, there's no downside I'm aware of in having extra patents. The costs are probably negligible on Google/Amazon scale and when you have good processes.
So, will Julia finally emit stand-alone binary executables, AOT-compiled?
That's also something I'd want to filter out, developers that are entirely reliant on their IDE and can't do simple things without it. I love Visual Studio, but there are way too many working developers that assume something can't be done if if Visual Studio doesn't have a built in menu option to do it, or they assume that the built in VS way is the only way.

People like this tend to be the type of developers that can make stuff work, but because they aren't curious they never really learn how things are put together and their lack of knowledge comes out in several ways. The most common one is wheel reinventions, because googling available wheels isn't something they'd ever think of. Another common one is writing very inefficient code because they don't understand what's under the hood.
I'm having around 4 mln lambda executions per month, mostly on data processing and I'm happy in overall with performance and easy of deployment. Debugging is hard, frameworks are still very mature. I use AWS SDK and C# and I'm having quite good experience.
Ask HN: Anyone got any project ideas for fun office tools?
Hi,

At the moment our office has a custom music player for a 'democratic' song queue that plays on the speakers. Has any one got any other cool ideas of things that could be built to make the office more productive or fun?
> Prediction: 2020 will be the year the big players have self-driving.

I think that depends on what you mean with self-driving. My prediction is that in 2020 we will have slightly better driver assistance systems. Maybe a lane assist system which won't kill me if I don't babysit it on a road with construction ongoing and multiple lane markings or if corners get too tight. Maybe some limited self-driving, e.g. only available in dedicated areas like highway/autobahn.

Keep in mind that 2020 is 3 years, which is less than the development cycle of a car. Or in other words: If something should get released in 2020 you now would already see it driving around on the roads for first tests.

My personal prediction is that we will see reliable and advanced self-driving technology in mass production cars maybe in 2 full car generations from now - which is 2030.
Twitch has destroyed the way I consume twitch. I used to stick twitch on my TV while eating dinner or for big events such as csgo majors or LCS finals.

But as of about a month ago twitch now blocks chromecast.

I can no longer watch twitch on my TV and I hate that fact. And no I'm not going to buy a 'fire stick', I don't like being manipulated into buying something when it previously worked well and has been deliberately downgraded.
AppDynamics pondering 'business-aware infrastructure'
We use Node.JS lambda functions for real time image thumbnail generation and scraping needs. As well as mirroring our S3 buckets to another blob storage provider and a couple of periodic background jobs. It works beautifully. It's a little hard to debug at first but when it's set up, both pricing and reliability is really good for our use cases.

I think a lot of people try to use the "serverless" stuff for unsuitable workloads and get frustrated. We are running a kubernetes cluster for the main stuff but have been looking for areas suitable for lambda and try to move those.
> until drivers start insisting on seeing you enter your tip before awarding your 5-star rating.

If any driver did that to me, I would give them a 1-star rating, no tip, and immediately report them to Uber's customer support.
- Cheap, especially for low usage.

- Runs fast, unless your function was frozen for not enough usage or the like

- Easy to deploy and/or "misuse"

- Debugging doesn't really work

All in all, probably the least painful thing I've used on AWS. But that doesn't necessarily mean much.
Can you explain the 'back' part of expect them to be back in front of the pack ?

As far as I know they've never been in the front of the pack.
> We were converting SQL for Oracle to SQL for Microsoft SQL Server.

I had a similar problem a few months ago with a Golang application that uses Postgres in production, but SQLite for unit tests. Since Go's SQL support has pluggable driver backends, I made a generic proxy driver [1] that can rewrite the incoming query, and used that in my application to rewrite from Postgres to SQLite syntax [2].

[1] https://godoc.org/github.com/majewsky/sqlproxy

[2] https://github.com/sapcc/limes/blob/205f9980a41d75fc0315e0ac...
I believe CA law prohibits sharing tips with the kitchen staff, not pooling tips among the front-room staff.

And pretty much every bar/restaurant I know of pools tips, not the opposite as you suggest.
Put a slightly better video up on youtube - https://www.youtube.com/watch?v=S33BNcnlxdU

The demo is using the ResNet50 model. Everything is running locally on the phone. Phone does get quite hot!
The general problem with membrane-based desal methods is membrane fouling and lifetime.

I'm not sure that increasing the complexity of the membrane substrate itself is a positive step here, or that a complex heating mechanism offers significant wins.

The alternative of more traditional membrane reverse-osmosis processing focusing on cheap substrates, whilst provisioning power separately (conventional solar PV would be suitable, and could be located on-site or remotely) seems rather more tractable.
I have witnessed all of this too.
Using it for event based stuff seems the most sane, or small scripts...

I have heard that go will be supported in the next three months and theres a lot of improvements coming. Cant wait to ditch those js and python wrappers.
- Decouple lambdas with queues and events, SQS, SNS and S3 events are your friends here

- Use environment variables

- Use step functions to create to create state machines

- Deploy using cloudformation templates and serverless framework
Please don't further this narrative that sexually harassing women and his general brohaviour are good for business.

They are not. There are ways in which being an asshole ay be good for founders (cf Steve Jobs). Kalanick is just an asshole, and even take-no-prisoner ask-forgiveness-later businesses run much better with a bit of attention to human decency.
How to Prepare the Next Generation for Jobs in the AI Economy
Women should stay at home and raise kids... you don't really need women in the economy or politics, nor do they need it to be happy.
وقت سفارت نروژ بصورت تضمینی
کشور نروژ عضو اتحادیه ی اروپاست و مانند تمام کشور های شنگن نیاز به اخذ ویزای شینگن نروژ و وقت سفارت نروژ جهت مصاحبه و انگشت نگاری می باشد.ابتدا باید تلفنی، حضوری یا از طریق سایت رسمی سفارت برای مصاحبه حضوری وقت سفارت نروژ را بگیرید و در روز مشخص شده با همراه داشتن پرینت ایمیل سفارت به کنسولگری نروژ مراجعه کنید
I thought that too, and was fairly successful working for small companies and startups in the laser field.

Peers in government and the national labs outearned me.
The key is expectation value of total lifetime earnings. In retirement, people with real pensions take riverboat cruises in Europe. People without have to worry about Sharpe ratios and PEG.
Startup Pitch Phrases That Result in Lower Fundraising Success
"Uber is an example of what happens when central banks attempt to ‘stimulate’ the economy through misguided central planning. By forcing down market prices and essentially moving spending from the future into the present, they’re hoping to stimulate investment in general. But what they forget (or more likely, choose to ignore) is that these ‘investments’ are likely just bad investments."

Such a great quote
It may be that I am the one who is misinformed here. My understanding was that 2017/0003/COD was about creating a replacement for 2002/58/EC. I haven't read all the documents, so I could very well be wrong.

But assuming that I am right, then a replacement directive would simply cause the states to update their laws and nothing would really change in terms of complexity compared to the situation before.
Blue Apron Must Fight Specter of Amazon-Whole Foods in IPO Pitch
I don't think it comes down to just being lazy. Regardless of whether you've had good or bad experiences with Uber, you've had experiences, may have chatted to their support team, etc, and you know what to expect from the service and the company. The local alternative might be better, but it's an unknown.
We have a number of different use cases at FundApps, some obvious like automated tasks, automatic DNS, cleanup AMI's etc, to the more focused importing and parsing of data from data sources. This is generally a several times a day operation, so lambda was the right choice for us. We also use API gateway with lambdas, its a small API, about 2 requests per second on average, but very peaky during business hours, its response and uptime has been excellent.

Development can be tricky, there are a lot of of all in one solutions like the serverless framework, we use Apex CLI tool for deploying and Terraform for infra. These tools offer a nice workflow for most developers.

Logging is annoying, its all cloudwatch, but we use a lambda to send all our cloudwatch logs to sumologic. We use cloudwatch for metrics, however we have a grafana dashboard for actually looking at those metrics. For exceptions we use Sentry.

Resources have bitten us the most, not enough memory suddenly because the payload from a download. I wish lambda allowed for scaling on a second attempt so that you could bump its resources, this is something to consider carefully.

Encryption of environment variables is still not a solved issue, if everyone has access to the AWS console, everyone can view your env vars, so if you want to store a DB password somewhere, it will have to be KMS, which is not a bad thing, this is usually pretty quick, but does add overhead to the execution time.
How to screen surtitles into a mobile device
yeah but Eastern Europeans that we got through the EU were culturally equivalent, the ones further east are much more of a crapshoot and the now the EU ones are less likely to want to come since we exited the EU because it doesn't guarantee them the rights they now expect.
Any visa fix is not as good as what we already have.
تور مشهد در هتل آپارتمان میچکا
هتل آپارتمان میچکا مشهد در سال ۱۳۹۴ در خیابان امام رضا _ امام رضا ۵ _ چهنو ۴(مهر آیین) در نزدیکی جوار بارگاه امام رضا(ع) افتتاح شده است.ادامه در goo.gl/Sxs1Mt
Remember the people in these examples have been employed in the industry for years. You'll probably be working either alongside them or on the code they produced...
Note that deleting the app isn't enough. You should also explicitly close your Uber account.
But what is the class of grammar they support?

I suspect these combinators are not very powerful compared to e.g. LR(k) parsers, and provide a false sense of modularity. (E.g. a minor grammar change leading to a large scale rewrite).
Which app is it?

And do you have the source and Makefiles available? I would really love to see that, and maybe even get going there.
I am still in doubt if I should learn Qt or Python.
What are they counting in net revenue? As they bill themselves as a brokerage service (to avoid those pesky employment laws...), I would imagine they only count their commission in net revenue? 6.5 billion is pretty impressive then!
> Uber's only differentiator in well-organised urban markets is its app.

Lower cost is also a factor, relative to local taxis.
Rookies
- Will settle for lower wage
- Might take longer to achieve certain outcomes.
- Will need training

So the conclusion that they are "cheaper" is not necessarily true if you factor in the extra time taken and training. Plus there is a very good chance that maintenance costs will be far greater once the project reaches some sort of maturity.
I think it started as "cool and edgy" thing but showed many benefits to startups.

First, if you have many people you can buy alcohol in bulk much cheaper than usual, if most of your workforce enjoys it then it is cheaper to buy it for everyone than giving increasing salaries a bit for people to drink on the streets which can be expensive. This is especially true for a very young workforce which spends a lot in entertainment.

Second, in startups which are pushing people to work for long periods of time, it can be a way to disguise burnout. If you are spending all day in the office you can feel your social life suffering, but they bring your social life to the office, I have my own anecdotal evidence of this.

Third, to a smaller degree, people will stick around and while they are not exactly on call it can pop up solutions to problems or new ideas to the office, I've seen many TGIFs crazy ideas get implemented and generate a better work environment, it can feel like a much safer meeting space for people to speak up.
Interesting. I independently dreamt up this class of vulnerability in 2007 or so. I didn't know there were any instances of it in the wild. When I realized it ought to be possible, I just wrote a PoC vulnerable app and an exploit for it, and then sort of forgot about it. Cool to see it's a real thing now.
So far used only for toy/infrequent use cases and it works there well. E.g. Slack command, integration with different systems, cron style job.
How to Start Your Business from Scratch with No Money
Make it extremely expensive people in prison or family have to pay a lot of money to just talk on the phone. This will just give another way for profit based incarceration system to make money for putting and keeping people in jail.
Why not just let them hire whoever they want? I'm seriously tired of people sticking their noses into everything.
That link does not go to the image. You have to manually edit it.
One chap at my last place had a crusade against the global variables littered throughout the code base. By gods did he fight the good fight. After what must've been a good 2 years of active bitching and pruning, a new product was developed by a sub team without him - to be considered the pinnacle of tech that the team could produce.

Look at this - just a single global variable!!! Amazing! The progress!

Just that one global Dictionary<string,object> which contained everything the various classes would ever want, all easily grabbed with nothing more than a string and a quick cast into whatever the actual type was.

Magic
Top 4 Problems That Can’t Be Solved by Using a VPN
What's strange to me is why he would think it was a good fit in the first place.

His main work has been in languages, compilers and developer toolsets. Sure, Tesla makes use of those, and might even make a few of their own, but it's nowhere near their core interests.

Google maybe?
Then I guess the answer is yes :).
If we were talking about Google interview style problems - data structures and algorithms I might agree.

If you can't do something as simple as FizzBuzz, or reverse a string (in a language of your choice) then you aren't a programmer. You might be something else - a system engineer, possibly an architect - but you are not going to be useful in the role of writing code.
I miss it now(mid 20's I guess), I used to work at a company with a big drinking culture and I made a big social circle around that, then I moved to a different country where I don't know anyone outside the office and the lack of this type of activities make it much harder for me to socialize, I feel very lonely sometimes.
I may be simplistic or naïve, but if your business isn't profitable, that's what kills it. Travis or no Travis, it doesn't seem like Uber has found a way to cut a profit yet and at some point, profit becomes a requirement.
We don't have a free market in healthcare. Easily proved by looking at the artificial barriers to entry, both for products and people.
Yeah thats what i was hoping for as well, if anyone has seen a piece like that i'd love to see it.
Sunrise Period for .BASKETBALL has begun
This sounds like you touched it for all of 30 seconds hated it and formed an opinion.

I use both NodeJS and C# lambda's without issue. The support is really good.

Debugging experience isn't great but aside from that it's fast and easy to use.

C# lambda's can call RDS and respond back in ~5ms...

(before anyone calls me out on the 5ms...)

http://www.philliphaydon.com/2017/05/10/part5-configuring-th...

Last image, I state 2-3 second startup and then 4ms response on a call to the database.
I am probably in agreement with you when you go down to that level of programing basics.
I used Linux on a Toshiba T1900C (20Mhz 486SX, 4MB/170MB) [1]. I started with SLS [2], later moved to Slackware 3.0. SLS was installed through floppies which I pulled from tape on an RS/6000 7012-32T, marking the transition from 'real but expensive unix' to Linux in one fell swoop. X was a bit sluggish on the thing but for the rest it was quite usable.

Using Linux in this early age had advantages but it also came with some risks. Not risks to me as a Linux user but risks to those exposed to things I produced. I managed to create a CD which was distributed with a magazine I was editor for in that period. The CD worked fine on Linux, it worked fine on OS/2 - the other system I used when not on Linux - but it failed miserably on Windows 3.1x due to the use of lower-case filenames. This was... unfortunate... as that CD had already been pressed, what to do? I ended up solving the conundrum by distributing a tailored version of MSCDEX [3] which could handle these files, affected users could order a floppy free of charge.

[1] http://www.computinghistory.org.uk/det/13145/Toshiba-T1900C/

[2] https://github.com/rdebath/SLS-1.02

[3] https://en.wikipedia.org/wiki/MSCDEX
Good luck! I hope it all works out. Scary times, indeed :)
Going to get a cup of coffee takes the same amount of time as it did 15 years ago, so devs still need a compile time which is roughly equivalent. 15 seconds would be much too fast, for example.
>And it won't make one bit of difference If I answer right or wrong When you're succesfull they think you really know.

Yeah, just not in the field Chris Lattner works in. This thread seems to have him confused for Kim Kardasian.
a. Because a false positive may result in moving someone to a different division, not burning them at the stake.

b. Because the costs of a false negative is forcing someone to continue working for/with someone they clearly feel uncomfortable around.

(compare to crimes, where it's much easier to protect the victim even without any sanctions against the accused)
Technically correct.
> Heroes of the Storm (a Blizzard game) and Facebook signed an exclusive contract for one of their competitions: http://mashable.com/2017/01/26/facebook-heroes-of-the-dorm/.

And that stream was an unwatchable crap with crap video quality, skipping issues and IIRC awfully low views.

Even now if you find a VOD of that stream, and check HD, it's completely shit video quality makes it unwatchable, since you can't even distinguish the icons on the interface from one another.

No surprise about this Twitch deal.
>Effortlessly thanks to our browser extensions

That's pretty cool
well, unless one suffers from schizophrenia, one's behavior shouldn't change much at work/home/whatever situation (slightly yes, but not significantly). there are only so many masks one can put on themselves and only for so long.

a-holes will remain a-holes, maybe a bit more successful on average, but many times a proper clusterf_ck on others. nothing to envy about
WTF Amazon ? I also did that, but only in summer (for architectural reasons). I'm already pissed I won't be able to do that this summer. Thank you for the heads up.
The libhybris situation is a pretty miserable compromise. You land on an old, busted Android kernel, with a userland that mostly works. It exists only because the major SoC vendors have no motivation to support a chip after they've shipped a BSP that successfully builds and makes the hardware occasionally provide the desired features.

(Apologies for being a bit harsh; I've wasted a ton of time recently hacking on Allwinner and Amlogic chips)
If companies wait for the tech to be perfectly safe, it will never be released.
Why not just... fire overpaid SF engineers?
I wonder if I want to put my money betting on this how should I proceed?
For running Java in Lambda, I had to optimize it for Lambda. To decrease processing time (and in the end the bill), I got rid of all reflection for example and though twice when to initialize what and what to make static. Also, Java Cold Start is an issue. I fixed this with creating a Cloudwatch Trigger that executes the Lambda function every minute to keep it hot. Otherwise, after some minutes of no-one calling the function, it takes 10+ seconds to respond. But if you use Python for example, you don't run into this issue.
I built complete backends on top of Lambda/API Gateway/Dynamo and having "NoOps" that also runs very cheap is a killer argument for me.
I don't think any consumer outside of the linux crowd and a few neckbeards cares whether their phone is using Mir or other technological choices
Can you share your image resizing code on github? We're using thumbor on AWS but it is a huge PITA.
GAAP profit? Who can show that??
I made an image hosting tool on Lambda and S3, for internal corporate use. Staff can upload images to S3 via an SPA. The front end contacts the Lambda service to request a pre-signed S3 upload URL, so the browser can upload directly to S3. It works really well. Observations:

1. Took too long to get something working. The common use case of hooking up a Lambda function to an HTTP endpoint is surprisingly fiddly and manual.

2. Very painful logging/monitoring.

3. The Node.js version of Lambda has a weird and ugly API that feels like it was designed by a comittee with little knowledge of Node.js idioms.

4. The Serverless framework produces a huge bundle unless you spend a lot of effort optimising it. It's also very slow to deploy incremental changes edit: – this is not only due to the large bundle size but also due to having to re-up the whole generated CloudFormation stack for most updates.

5. It was worth it in the end for making a useful little service that will exist forever with ultra-low running costs, but the developer experience could have been miles better, and I wouldn't want to have to work on that codebase again.

---

Edit: here's the code: https://github.com/Financial-Times/ig-images-backend

To address point 3 above, I wrote a wrapper function (in src/index.js) so I could write each HTTP Lambda endpoint as a straight async function that simply receives a single argument (the request event) and asynchronously returns the complete HTTP response. This wouldn't be good if you were returning a large response though; you'd probably be better streaming it.
Perhaps a prison would even be the ideal environment for working on e.g. a large open source project.
Python 2? Absolutely barbaric.