skysight-inc/HackerNews huggingface dataset:
Ask HN: What's the Running Time of Node's Array.push and Array.unshift?
I don't know C/C++ very well, but I'm trying to figure out where `Array.push` is implemented on the Node source code.

Is this one https://github.com/v8/v8/blob/master/src/builtins/builtins-array.cc#L145?

Ultimately, what I want to know if the runtime of the Array.push and Array.unshift implementation.

Based on the ECMA2019, It seems like push is O(1)
https://tc39.github.io/ecma262/#sec-array.prototype.push

and unshift is O(n)?
https://tc39.github.io/ecma262/#sec-array.prototype.unshift
Also, Gmails search function is a blast. Much worse in Thunderbird, annoying in Evolution.
Bitcoin begins May with retreat back below $9,000 after 30% pop in April
Also if someone attempts to change an email address linked with an account, an email could be sent asking for confirmation. 2FA is also becoming easier to implement for low level developers with Authy and Google Authenticator offering simple to follow boilerplates and documentation. Validation algorithm that forces a dictionary attack on password before successful registration could also be prudent.

Just like SQL injection and query prepare statements, issues are very much known but it's the want and need to act on them. GDPR should start to help this, but management tier individuals who push development time scales are also needing to be 'sold' the importance of this.
Most users have the mail client open all day and multi-task between reading/writing mails, reading websites, working in an office application, etc.

What would be the reason to cram the mail client into the browser instead of making it a first-class application on the same level?
Historically, lifestyle businesses take on friends and family investment or bank loans.
Porting Google/benchmark into OpenBSD
General Data Protection Regulation (GDPR) Services
Disclaimer: I work at Microsoft, not on Service Fabric but I have built complex stateful services on top of Service Fabric.

As zapita said, Service Fabric now handles containers but I think it is just because containers became trendy and FOMO kicked in.

Where Service Fabric is decades ahead of the container orchestration solutions is as a framework to build truly stateful services, meaning the state is entirely managed by your code through SF, not externalized in a remote disk, Redis, some DB, etc...

It offers high level primitives like reliable collections [0], as well as very low level primitives like a replicated log to implement custom replication between replicas [1]. I feel that publicly this is not advertised enough and it is unfortunate because it is a key differentiator for Service Fabric that the competitors won't have for a while, if ever because it is a completely opposite approach: containers are all about isolation, being self-contained and plateform independent while SF stateful services are deeply integrated with Service Fabric.

[0] https://docs.microsoft.com/en-us/azure/service-fabric/servic...

[1] https://docs.microsoft.com/en-us/dotnet/api/system.fabric.fa...
I think it is disingenuous to say that countries are judged by persons and other nations by GDP alone.
Russian economy is very very small.

Whatever Amazon's reason is it's not that they lost some Russian banks for a week.
Kubernetes Autoscaling Explained
> because those that work, cant be remembered by the users

Remind me what's wrong with "correct horse battery staple" again?
Show HN: Peer-To-Peer Federated Deep Learning Using IPFS and PyTorch
The rumor they just started by saying there are rumors!
Well that's just not accurate. With our Electron app, the main process consumes 40mb of RAM, with each window using 30mb of RAM, so if you have a windowed app, thats a minimum of under 70mb of RAM (results will differ, our app is quite large).
Victor, London
What we do: We are building the world’s foremost on-demand private jet platform. We solve critical private aviation challenges through technology everyday. We are flyvictor.com
What is our stack: We are a JS heavy team with NodeJS on the backend, Angular on the frontend. A bit of Wordpress and Salesforce thrown in the mix. We heavily use MongoDB. We are devops first team with Docker, Terraform, Ansible, Wercker, AWS forming the backbone of our infrastructure and deployment pipeline. We use Cucumber for integration test, Mocha + Sinon + Should for unit testing. Our mobile apps use Native iOS and React Native.

Victor | Senior Backend/Fullstack Engineer | Node, Angular, React | London | Full-Time | https://fly-victor.workable.com/jobs/680960

Victor | Frontend Engineer | HTML, CSS, Angular, React | London | Full-Time | https://fly-victor.workable.com/jobs/618067

Victor | QA Automation Engineer | Selenium, Cucumber, Webdriver.io | London | Full-Time | https://fly-victor.workable.com/jobs/637282
Then I can reach for virtualenv and pip. I did not mean that package distribution and management in itself is an overkill, but that many types of projects just don't need these tools. And if one has to use these tools for all projects and from the get-go, then that means the library ecsosystem is unhygienic and/or the devs are not really responsible on how they use the APIs.
Family Guy

Curb your enthusiasm

Silicon valley

Workaholics
Get a can of compressed air and follow this procedure:
https://support.apple.com/en-us/HT205662

This helped my 2016 MBP, but also helped a friend with an older 2014 model.
I'm still not sure why most services don't default to just mailing you a one time, short lived login link.
Best ways to relieve stress
What would be the reason to limit access to the beta with a waiting queue? I can see reasons to use this approach for a web app, for which you have to ensure that it scales with the number of users. There is no such problem for a standalone desktop app, though.
>> But to fix exactly this, I saw it required more knowledge on OO design than a simple talk could give.

What do you do in this situation?
Yep, because it doesn't use a mobile i7. So Lenovo made a different battery/RAM size tradeoff.
Maybe sounds weird, but does it it support Usenet (NNTP) protocol? Or maybe make it support plugins so people can add features they want.

Thank you!
Of course I have to ask if you've looked at JMAP (http://jmap.io/spec.html).

More because we're getting close to finishing the spec, and feedback from someone who's build a client recently about whether the spec suits their needs would be valuable!
I prefer VS Code over native alternatives. Don't conflate your anecdotal evidence with facts. Many users don't know much RAM a process consumes or what an Electron app is, they just care about what the app can do, how fast it is, etc.
Customer feedback: 5 strategies and tools you need to know
Stride.AI (https://stride.ai/) | Techstars 16, KC | NLP Engineer | Bangalore, India | Full-time | ONSITE

Stride is building the next generation of cognitive automation for enterprises combining NLP, machine learning and cognitive agents. We predominantly work with banks and large financial institutions.

We are looking for talented Python developers with prior experience in NLP, text analytics, information extraction or chat bots.

You can react out to us at jobs @ stride.ai Please email your resume, Github profile, personal website or anything else you would like to showcase.
Pentland Firth Software GmbH | Munich | Full-Time | ONSITE | http://www.pentlandfirth.com

Pentland Firth is a business and IT consultancy that is managed by its owners, with locations in Germany, Singapore and Thailand. The company was founded in 2004 by former Big Five consultants and has experienced steady growth in both consulting services and software products.

Pentland Firth was named as the best tech company in Germany in the Great Place To Work competition for the category “Best employer in the IT sector 2017” and "Best employer in Bavaria 2017" amongst companies with 10-49 employees.

We are looking for:

Support Engineer, Intranet Application: http://www.pentlandfirth.com/jobs/detail/support-engineer-m-...

Senior IT-Consultant .Net Developer: http://www.pentlandfirth.com/jobs/detail/senior-it-consultan...

Mobile App Developer: http://www.pentlandfirth.com/jobs/detail/mobile-app-guru-m-w...

Senior Infrastructure: http://www.pentlandfirth.com/jobs/detail/infrastuktur-guru-m...

Email us at jobs@pentlandfirth.com
> With a webapp, you'll never know what the app does.

Unless you run uMatrix or uBlock Origin (same code in both as far as this feature is concerned), of course.
The quality of doing that however, is not great
Innovid | DevOps TL | Tel-Aviv, Israel | ONSITE, Full-time | https://grnh.se/2hmgdiai2

We are leading AdTech company, serving 15PB of data monthly.
We manage our production system using modern Infrastructure as Code principles, supporting the continuous development, integration and deployment of new application code and ensuring that we’re highly available.

Working with K8S, Machine Learning and Chef.

Apply via https://grnh.se/2hmgdiai2 or reach me out directy at avivd [AT] innovid [DOT] com
Are you really serious? People who leave their homes on weekends and enjoy a nightlife? I mean, what do you think happens at clubs and bars; do you think they've emptied out because of dating apps?
Few webmail "clients" are open source and many native clients like e.g. Outlook are also not open source, yet these are very popular. Unless you use a highly trustworthy email provider, considerations about client programs are kind of moot anyway.

I'd personally be more picky about my mail provider and not use any offerings by Google or Microsoft, for instance, because they are stock market companies with interests that principally conflict with the interests of their users. In contrast to this, trusting individual developers and small companies makes much more sense. You check out their online presence and decide for yourself. I'd only be wary about individual developers who offer closed-source security applications (e.g. encryption) and have no prior history of working and posting in this field. But an email client? To be honest, I haven't even checked the vita of the maker of my preferred client, claws-mail, let alone those of any of the authors of the plugins I'm using.

On modern operating systems you basically have to trust every developer of any application anyway, since many installers require admin rights and even if they don't it wouldn't be hard for a malicious developer to exploit a security hole. Your kitchen timer application can get your email credentials almost as easily as your email client.
Bitcoin, banks and a whole lot of FUD
Does this do any kind of telemetry at all? Looks nice, would be interested to take a look if/when a Linux build was available
Passphrase wordlist and hashcat rules for offline cracking complex passwords
Martin Lewis suing Facebook
In cloud during new machine install ssh host keys are generated during boot time well under a minute. Say that the virtual host machine that hosts the virtual machines writes the disk image to local disk, the disk image is then in cache memory on the virtual host, the virtual machine boots from what is essentially a file in RAM cache or a fast SSD.
Security concerns are the one of the primary reasons why so many email clients died out mid to late 2000’s when every red team success story was “found XSS in email client pwned admin”.

No body is detracting anything from anyone but there is no way I’m trusting an application that can take contol of a large portion of my life without assurances.

If your email address gets compromised it’s game over for most people every service you’ve registered with is up for grabs which is also the reason why I don’t recommend anyone to use personal domains for email unless they are willing to pay for it till death do them part.

As time and time again after buying a domain that was used by someone else and setting up a catch all email address I got emails from Twitter, GitHub and the likes.
30 years of Frontier
Tesla ‘driver’ turns on Autopilot and climbs into the passenger seat
Thanks for the suggestion.

I've been reluctant to do a friends/family round since reading some advice about conflating friends with investors. I would prefer investors who would use their experience/contacts/etc to help encourage a return on their investment, and also to keep friends and family impartial from the success/failure of the company.

A bank loan may be an option.
The German version of the job posting lists it as a requirement
https://api.pwnedpasswords.com/pwnedpassword/correct%20horse... == 2.
Remembering a unique one for every site is hard.
Hi! I really like the initiative of JMAP, however I haven't been able to look into it properly - I can give you a better answer once I've done that, my email is in my profile
Most end users don't know what Electron is.
Number 1 was in a Nat Geo documentary with an Asian American presenter (Lucy something?). Something like "Inside North Korea.

IIRC you couldn't tell if they were genuinely thanking the Dear Leader or putting on a show for the secret police.
Microsoft Outlook and Office 365 Bounces Back
That's almost never the choice though is it? Who offers an Electron app and a native app?

So the choice becomes use an Electron app or something else entirely.
This is because they have to check your A records and generate the certificate and from my observations that happens when you add the custom domain.

After I've set the A records, I removed the custom domain from GitHub's Settings and then re-added it.

It started working afterwards.
The problem is that most cities are too noisy for them (and that agriculture uses a lot of biocides).

To put some things in context also, there are 34 millions of new citizens in USA since 2004. We can expected some increase in people bitten just by this. The population had increased therefore the cases also did (but does not explain all the increase)

Some bats are good to hunt mosquitos, some birds are good also, but there are other options. One of them is well known, easy to manage, hard (can starve for weeks), totally silent, harmless and can adapt easily to a human environment: spiders. Would be much much easier to promote than bats.

The other big group is inexplicably neglected, their real role and statistics as mosquito predators are poorly studied, and most people is not even aware of their existence even if they are 100% designed to overpower mosquitoes in its own game. They can fight them in the open air where spiders can't. I'm talking of flies. Some flies are big mosquito killers.

But I bet that most experts on Asilidae struggle each month to find enough funds for keeping their research alive.
Outlook is trustworthy for the most part at least as far as security goes MSFT isn’t fooling around and it’s an enterprise product.

And yes choose your email provider based on your threat model but there is nothing wrong with Google or even MSFT for most people security wise privacy is a different concern but these are different threat models.

An email client won’t prevent my email provider from snooping on me (E2E maybe), and no email provider could prevent my client from snooping on me either.
No, please don't. This is arduous for those of us who like a bit of privacy and regularly clear their cookies etc.
That's true, though it should be possible to study the effects of the Act of 1976, which extended copyright duration in the US from a maximum of 56 years to life of author + 50 years.

And it seems this was done:

"Despite the logic of the theory that increasing copyright protection will increase the number of copyrighted works, the data do not support it. Instead, our findings demonstrate that the historic long-run growth in new copyrighted works is largely a function of population"

http://vanderbiltlawreview.org/articles/2009/11/Ku-et-al.-Do...
Top 5 Reasons to Move to the Cloud
Because my password manager is faster than checking mail. Because spam. Because people change mails and may forget to let you know. Because bots scan emails and they are mostly in clear text.
How about a password manager?

Or even better: Some kind of hardware token and a good standard that goes with it?
Scientists find a new way to make novel materials by 'un-squeezing'
European Center for Digital Rights
MVF | Platform, Software and Web Engineers | Onsite | London | £40-100k

MVF is a leading digital marketing company (not agency), helping transform how businesses find new customers. Our innovative marketing software delivers massive volumes of leads to our clients, sourced and optimised through a wide array of digital marketing channels.

No. 1 in London Sunday Time Best Companies to work for 2018

- Platform Engineer https://www.mvfglobal.com/vacancies/1063565

- Senior Software Engineer https://www.mvfglobal.com/vacancies/966915

- Web Developer https://www.mvfglobal.com/vacancies/966956

Interview: Phone call > MVF code-test > couple hours on-site > Offer

Apply above or email for more info ash.amhama@mvfglobal.com
Unfortunately, I don't remember too many specifics, but a web search for "ground handling operations technical perspective" seems to bring up an overview with pretty graphs which might serve as a decent starting point for further research.
For people who wanna learn Functional Programming, I recommend this resources:

https://github.com/allenleein/brains/projects/9
You're being very nonchalant about going to war to make things easier for Amazon.

I find that chilling.
Providing services to other portfolio companies or otherwise related partners in of itself is not a bad practice, but can have many benefits for all parties involved.

Having said that, it should always be the CEOs and senior managements responsibility to do their due diligence to evaluate any service their business depends on so heavily and regularly renegotiate.

There's a good reason a Apple, Snap, Netflix etc. are using both Google and Amazon's cloud services to be in a position to leverage their relationship to negotiate better deals and not be dependent on a single provider.
I recall trying to get support for an odd issue on the Galaxy Nexus - it seems some devices would be unable to connect to 5GHz wifi after a few days or weeks of use, and mine was affected. Probably a hardware fault.
Not only did Samsung's staff appear unable to understand the issue, their response was only to reinstall the OS (which took them over a week), which had no effect whatsoever. They claimed that they wouldn't replace it until the OS reinstall had been tried by them three times without success.
Before it got to this point I returned it to the supplier for a refund, after wasting a bit of time on "not our problem, for faults contact the manufacturer" and "not our problem, for refunds or replacements contact the vendor".
Whether or not this was typical I cannot say, but it did rather put me off.
> this "thing" that true skaters share, can the posers take that away? If not, why the ire?

No, unless someone's feeling strangely insecure about his own self. That's why I draw no ire per se: The only thing that enrages me is more of a side effect of some posers being dicks (mostly because they think sk8rs are deh bad4ss dop3 sh1t and making an attitude display of it), and other people hating skaters because of the shitty attitude of people that look like skaters to them.

Honestly I just compassionately find it quite sad that someone would rather pose as something instead of, well, being (or striving to) that something. The latter is so much more rewarding, whatever it is. Also, there's a failure of genuineness that I find intellectually bothersome. You could basically have the same argument about anything, like l33t h4x0r kiddies vs public perception of the "hacker" word vs the meaning of hackerdom (as in http://www.catb.org/jargon/).

> also rather hostile towards wrongboarders, inline-skaters, parkour-runners and any other street-based activity except BMX (they're cool somehow). It's all very tribal and I really can't relate.

In decreasing order of hatefulness we hate scooters (because it's lie a skateboard, with a handlebar. hah, trainers.), parkour-runners (because they just use their feet. gross.), inline-skaters (because the wheels are merely tied to the feet, how lame is that?), and longboarders (because they didn't bother to learn to ollie). BMX get a pass because they slam their nuts on a bar similarly to how we do on a rail (but hey they have a handle too, so...) Buuuuut really that's all in jest, nobody's serious about it and we definitely try each other hardware from time to time, having fun at how "easy" each other's sport is and laughing our ass off at how much we suck at it.
New leads on treating dementia and Alzheimer’s
Apple is dropping Intel chips & replacing them with their own CPUs in Macs in 2020 [1], and working on a unified development API where you'll develop one app for iPhone & iPad that will also run on the Mac, so you won't need to write Mac specific apps anymore [2] [3].

It's all rumour & could be wrong. But there's some who feel macOS only has a couple of years left before being discontinued. In that climate, an Electron app is smart because it will be easy to port to iOS / newOS.

[1] https://www.bloomberg.com/news/articles/2018-04-02/apple-is-...

[2] https://www.bloomberg.com/news/articles/2017-12-20/apple-is-...

[3] https://mjtsai.com/blog/2018/05/01/scuttlebutt-regarding-app...
I guess this isn't typically based on cookies but device/browser fingerprinting.
The greatest minds in our industry are focused on solving two main (apparent) problems:

1. How to we get people to click on more ads?

2. How do we get more people laid?

Somehow I find this depressing, all that wasted talent.
I'm sure that a client like Mutt would use much less but considering that many emails have embed HTML and would ideally use a modern web view to render correctly, how much overhead is there from from using Electron/chromium if you're going to load all of that anyway?

I couldn't find exact figures for MS Outlook but Office 365 seems to require 1Gb as a minimum.

A quick look at the Gmail tab I have open in Chrome seems to be taking roughly 390Mb so this would seem to be an improvement over that.

As a genuine question, what sort of size would you expect for an optimised native app with the same functionality?
Is flatware logistics really a separate field? I get that the general logistics of handling "cabin consumables" is a big deal, but it seems to me that most flatware is integrated in the food carts?

Semi-relevant anecdote: I once rebooked last minute on to a flight and as I was boarding perhaps 15 minutes later as one of the last passengers, a guy in a high-viz vest came half-running down the jetway and handed the cabin crew a box with one single premium economy meal. I was rather impressed by the operation, and a bit apprehensive about declining the meal once in the air.
The OPM hack was a succession of hacks over a few years with long detection & dwell times. Hard to turn that kind of ship..

Anyways, pretty fascinating.. as long as you and your colleagues aren't in the database. We work on tools to bring visibility & reliability to these kinds of incidents, it's pretty wild in practice!
I get "403 Forbidden"
An office near me (we're moving into the same building) recently cleared out a lot of old hardware. I found 2 rMBPs among the 'broken' pile. One didn't boot, the other did boot but had a smashed screen. I took both, swapped the screens, and now have one perfectly working 2014 mid-range rMBP (2.5GHz, 16GB, 256GB, GT750) /for free/. Could not believe my luck! Easily fast enough to keep up with the current machines.

One man's trash ^_^
Amazon offers to buy 60 percent stake in India's Flipkart: CNBC-TV18