1. docker

Last 5 email alerts sent for docker on Hacker News

Packages with native dependencies already require a recompile to run between Windows and Linux. Right now, I write Python scripts on a Windows laptop, push the changes and the build server (well actually a Linux Docker container using AWS CodeBuild) builds and deploys the package to Linux servers. Apple already has an x86 build chain that cross compiled to ARM.
by scarface74 2020-03-29 20:52:04 | link | parent | submission

I think it's likely. They may provide sandboxes for development, some kind of WSL (Windows Subsystem for Linux) or Docker on Mac, and a "Classic" emulator for apps that haven't been recompiled like they did for the transition between Mac os 9 and Mac os X, and from PowerPC to x86. Meanwhile they will continue to limit web apps.
by speedgoose 2020-03-29 18:06:56 | link | parent | submission

I don't think it's a strawman at all. E.g., I've seen plenty of code where the problem the developers are solving is "I'm bored with work" or "I don't like my boss yelling at me about the deadline". As an example, I was once brought in to help sort out a build pipeline. It was quirky, unreliable, and mysterious to the team using it. I dug in and it was built around Docker 0.8. But not even the official Docker 0.8; there were assorted patches applied for who-knows-what. And there was a bunch of other stuff glued on around it to compensate for the kinds of issues you would expect in 0.8-grade software. Looking at the version history, the person who wrote it was long gone. So I searched for him on the Internet. One of the top hits was a conference talk, presented not long after finishing the build pipeline, on how awesome Docker was, and how very clever he was in applying it. Sure, he was nominally solving the company's build pipeline problem. But really, the only problems he was solving were his own. Ego. Resume building. Wanting to play with fun toys. At the end of the day, I ripped it all out and did what he should have done in the first place, which was to use simple, reliable tools that the team was comfortable working with.
by wpietri 2020-03-29 16:23:39 | link | parent | submission

Pi-hole already does that. You can run pi-hole on your local OS with Docker. It's 5 minutes to install.
by lonelappde 2020-03-29 15:38:10 | link | parent | submission

The issue with this kind of solution is that you need to pass your docker socket to the container. Not great.
by forty 2020-03-29 13:55:14 | link | parent | submission

2. Kubernetes

Last 5 email alerts sent for Kubernetes on Hacker News

> Kubernetes doesn't have any advantages over not using Kubernetes for simple applications. So out-of-the-box support for blue/green deployments and fully versioned deployment history with trivial undo/rollbacks are of no advantage to you? > Reproducible dev environments and CI you can get easily without Kubernetes, without having to add complex solutions for logging, profiling and other introspection tools. I'd like to hear what you personally believe is a better alternative to kubernetes. And by the way, Kubernetes does not support not requires distributed tracing tools not "logging, profiling, and other introspection tools". That's somethings entirely different and separate, and something that you only use if for some reason you really want to and make it your point to go out of your way to adopt and use. In fact, distributed tracing is only a thing not due to kubernetes but due to you operating a distributed system. If you designed a distributed system and get it up and running somewhere else, you still end up with the same problem and the same requirements.
by rumanator 2020-03-29 16:50:54 | link | parent | submission

I'm not talking about performance overhead, I'm talking about architecture overhead. Kubernetes doesn't have any advantages over not using Kubernetes for simple applications. Reproducible dev environments and CI you can get easily without Kubernetes, without having to add complex solutions for logging, profiling and other introspection tools. One could argue that you need the reproducible dev environments and CI to be solved BEFORE even start using Kubernetes.
by capableweb 2020-03-29 14:56:30 | link | parent | submission

If you don't pile abstractions on top of abstractions on top of kubernetes on top of docker, you'd be surprised how much you can do with a single small-sized instance.
by capableweb 2020-03-29 10:13:30 | link | parent | submission

I've been in discussions about internal applications with few hundreds users and very moderate amounts of data being shuffled and stored and some people, of various backgrounds, are just so convinced that we need to go all in on Kubernetes, Microservices, Istio etc. And all I can think about is "Hey, you could build this with a small team as a simple monolith and with proper caching you could probably run this on one or two raspberry pi, that is the amount of power you actually need here". Don't get me wrong I do think they absolutely have their place and in other parts of the company we have much larger software development projects and they are absolutely making great use of Microservice architectures and Kubernetes and is getting a lot out of it. But that is 100+ teams building a product portfolio together.
by cc81 2020-03-29 01:51:56 | link | parent | submission

3. aws

Last 5 email alerts sent for aws on Hacker News

I don't get how this helps. For startups/individuals, AWS eliminated all capex expenditures except for a single user's computer, which can be had for orders of magnitude cheaper than server hardware, literally. The cost of a cheap but powerful enough laptop or tablet plus keyboard is under $200 now. Unless you literally do everything by hand (which is a niche, but a tiny one), the cubesat is still going to cost at least 10-50k and the launch 100-400k. In the grand scheme of things, it's not the huge improvement that the rest of AWS infrastructure was. I think this could be a huge deal for students and academics though. It's not uncommon for companies to give away free tertiary launch slots (at least in my experience pre-SpaceX) because the logistics infrastructure is expensive to keep around and they can write off costs that they normally would have to eat. Even if this only shaves 10% off the cost of a sat project, that's a lot of extra money for aerospace clusters like LA, Cal Poly, MIT, etc. and might be enough to start hitting more economies of scale leading to a snowball of development. Between university machine shops and subsidized labor, Ground Station, and low cost launches once SpaceX volume increases, it might become feasible for student groups to pull off launches for $50-100k total which would be well within the realm of rotary clubs, small-to-medium educational grants, and university budgets.
by akiselev 2020-03-29 21:15:40 | link | parent | submission

>does Disney+ run on Azure? Some cursory web searching suggests that at least as of 2017, BAMTECH / Disney were using AWS as their public cloud provider. There's enough inertia here that you'd imagine that this is still the case.
by hkmurakami 2020-03-29 21:15:02 | link | parent | submission

Working with all three of them, so here's my two cents: 1. Mostly traditional, "legacy" companies have been hit hard by this. Ones that don't have culture or technology of work-from-home. Those companies use some Microsoft products. Also, Microsoft has been poaching them heavily, handing out trials, bundling licenses and so on. A lot of them don't actually buy stuff from Microsoft, but through 3rd party vendors which have incentives of their own. Some of the end users don't actually want to use AWS, also. 2. I actually think Microsoft has much less runway. From what I understand, AWS has more modern infrastructure and backend, and they shuffle resources easily around, between services, and I think they have much more in reserve. Microsoft has concentrated much more on the sheer number of regions. 3. Azure has a strange way of handling quotas, if you ask me. Up until now, once you provision a VM, it is deducted from a quota and stays like that as long as it exists. It has never been an issue to actually power it on (unlike AWS), once you have it. It's not billed, but we always thought it stays like that. Since last week, you can see failures not only when provisioning VM's (even within your quota) but also when starting them. Nevertheless, I also think a lot of users had larger quotas allocated then they actually use. So they just started creating more VMs or other resources (because they could), and the thing came crashing. I think that's just poor planning on Microsoft's side. But the thing I'm mostly pissed of is the status page. VM's are failing left, right and center and everything is nice and green on the status page. Once you open a ticket, they send you an incident-in-progress report.
by salex89 2020-03-29 21:14:40 | link | parent | submission

We had spot instances with a mistakenly high bid that incurred thousands overnight when the prices spiked. No refund offered. I know several other companies that had expensive mistakes without refunds. There's probably a complex decision tree for these issues and I doubt anyone really knows outside of AWS.
by manigandham 2020-03-29 21:07:33 | link | parent | submission

I imagine companies are flocking to Microsoft's virtual desktop solutions more than AWS or Google. It is the most well-known provider among managers who need to make a snap decision right now on how to have people work from home, if I had to guess.
by breakingcups 2020-03-29 21:01:28 | link | parent | submission

4. coreos

Last 5 email alerts sent for coreos on Hacker News

Ironically that website has no TLS. But the tools in the article are a good collection. Too bad CoreOS got eaten by RH/IBM because that level of integration will probably not be replicated in Fedora. And that in turn might cause Clair to get less development or integration, which is bad for everyone.
by oneplane 2020-03-26 14:46:44 | link | parent | submission

I am honestly amazed that there is no official way to install Fedora or Fedora CoreOS on GCP. There are no images even on the GCP marketplace. Stuff like this is what irritates me. Even small vps providers have this.
by IceWreck 2020-03-16 19:07:18 | link | parent | submission

I'm going to agree with you. In 2020 (and really the last few years), configuration management is outdated. IaC (infrastructure as code) is the current approach. Containerize everything you can, use terraform or cloudformation, or azure devops. Avoid managing the underlying os as much as possible. Use vanilla or prebuilt images to deploy these containers on, coreos, Amazon's new bottle rocket (maybe). Or use a service like fargate when possible. All configuration should be declarative to avoid errors. If you need to build images tools like packer are great. AWS has a recommended "golden Ami pipeline" pattern and a new image builder service if you can't use community images. I'm speaking imperatively but read these as my own directives. I work for a company that consults and actively helps fortune 500's migrate to the cloud. So some of what I'm saying is not possible or harder on prem and I recognize that. If I had to, I still like Chef, puppet second favorite mostly because of familiarity. Ansiblee can be used with either of these. And tools like serverspec to validate your images. I don't really use any of this anymore though.
by mneil 2020-03-14 15:28:07 | link | parent | submission

I'm curious why people use configuration management software in 2020. All of that seems like the old way of approaching problems to me. What I prefer to do is use Terraform to create immutable infrastructure from code. CoreOS and most Linux variants can be configured at boot time (cloud-config, Ignition, etc) to start and run a certain workload. Ideally, all of your workloads would be containerised, so there's no need for configuration drift, or for any management software to be running on the box. If you need to update something, create the next version of your immutable machine and replace the existing ones.
by grrywlsn 2020-03-14 14:04:13 | link | parent | submission

It looks like this supports automated updates within a specific time window, but it's not clear to me how the "waves" are defined. (Note that this is something that is currently lacking in Fedora CoreOS: https://github.com/coreos/zincati/issues/34. ) I do wonder if the dual partition approach was deemed more stable than using OSTree or why the latter wasn't used.
by jpeeler 2020-03-11 15:24:55 | link | parent | submission

5. javascript

Last 5 email alerts sent for javascript on Hacker News

> If you are considering dropping node because you need more performance, be careful. That's what is surely not surprising to me, as I've measured the performance of V8 even before node.js existed, and already knew of enough examples that resulted in the code executed with the speed comparable to C. I don't consider any modern JavaScript JIT implementation as "slow."
by acqq 2020-03-29 21:20:57 | link | parent | submission

I am a Backend PHP Engineer, 3 years of experience working with PHP 5,7, few Laravel projects, but mainly just plain PHP on custom made frameworks, looking for a remote opportunity. Location: Vilnius, Lithuania. Remote: Yes Relocate: no Technologies:HTML, CSS, PHP, JavaScript, ES6+,PostgreSQL, MySQL. Resume: I just always send my Linkedin. Email: rokas.lakstauskas@gmail.com LinkedIn: https://www.linkedin.com/in/rokas-lakstauskas-57229288/ Github: https://github.com/rokiszb
by rokiszb 2020-03-29 21:07:49 | link | parent | submission

Finally understanding JavaScript's this and bind (www.howtocodejs.com)
by oblivionreb 2020-03-29 20:25:57 | comments

I've come across a fair share of zero-alloc implementations of various things, like zerolog [0] and ronomon's cuckoo-hashtable [1], for instance. If anything, JavaScript running on restrictive clients must have libraries in spades for this kind of a thing, but I couldn't find many. I'm really interested in techniques that are generally employed in languages like Java, Golang, Rust, C/++ that are worth translating over to JavaScript, especially now that TypedArrays are a reality. I'm pretty sure there's more to zero-alloc than just Buffers . [0] https://github.com/rs/zerolog [1] https://github.com/ronomon/hash-table/blob/master/README.md
by ignoramous 2020-03-29 20:15:06 | link | parent | submission

Hiring Tech Lead for Mumbai Entertainment Industry

You will own building the product for Starcast. We are bringing the Mumbai Film Industry which is currently run ad-hoc, into an online, streamlined ecosystem, with a focus on showcase, discovery & connecting with talent. You will define our product architecture, help align on product flow, and be the technical voice in the room as we build out our website and applications. You have proven experience in building web applications, and are a javascript wizard. You can run quick from idea to prototype, and are versed with serverless frameworks and are willing to learn what's needed to get the job done. You prefer working agile, in a small team, and like working directly with end users. This is a high growth opportunity through which you can build out the tech vision and grow with us. The role can evolve into that of a CTO. Required experience in Java & Web Technologies. Please send in your resume to work@starcast.com
by STARCAST 2020-03-29 20:13:30 | comments

6. python

Last 5 email alerts sent for python on Hacker News

I took it for a ride: time bash test.sh real 0m0,026s time python test.py real 0m0,061s time perl test.pl real 0m0,090s time ruby test.rb real 0m0,094s time node test.js real 0m0,161s
by BiteCode_dev 2020-03-29 21:40:52 | link | parent | submission

I vaguely remember the exact same sentiment being expressed for both pip and Pipenv. The project I'm working on is currently migrating from Pipenv to Poetry, and while it's an improvement I have no hope that the fifth generation (setuptools, EasyInstall, pip, Pipenv, and now Poetry) Python packaging tool is in any way the last one.
by l0b0 2020-03-29 21:29:35 | link | parent | submission

> and PIP has been so much better than conda for packages. > Is there something else I'm missing about conda? Yes. You missed pip working perfectly well inside conda since day 1 (and integration is getting better). In the past, pip did not participate in conda dependency resolution (and I think it still doesn't, at least not perfectly). But it's not worse than using pip outside conda; and when you DO have a conda package, it is usually more dependable. > I can easily run any version of Python, virtual environments are way easier to deal with, and PIP has been so much better than conda for packages. Can you run the latest Python 3.8 on your old extended-support Ubuntu Server 14.4 that you can't upgrade because reasons, on pyenv+virtualenv? Genuinely asking; you can with conda.
by beagle3 2020-03-29 21:28:17 | link | parent | submission

Its really hard to be slower than python, unless you are using ruby. Considering that the parent was asking about node, that is what I was looking at. While V8's performance is hugely impressive, it is still significantly slower than other languages. I'm not sure what you are trying to say though? My point was that you have to develop expertise before you can create high performance programs. If you are considering dropping node because you need more performance, be careful.
by Skunkleton 2020-03-29 20:54:36 | link | parent | submission

Packages with native dependencies already require a recompile to run between Windows and Linux. Right now, I write Python scripts on a Windows laptop, push the changes and the build server (well actually a Linux Docker container using AWS CodeBuild) builds and deploys the package to Linux servers. Apple already has an x86 build chain that cross compiled to ARM.
by scarface74 2020-03-29 20:52:04 | link | parent | submission

7. machine learning

Last 5 email alerts sent for machine learning on Hacker News

Mathematics for Machine Learning by Marc Peter Deisenroth, A Aldo Faisal, and Cheng Soon Ong. https://mml-book.com/
by webdva 2020-03-29 20:21:00 | link | parent | submission

It's the same argument as - if a company can run a multi-billion dollar operation, can they not afford their own datacenters? They can, but AWS just makes things easier and often cheaper. The core competency of a business you describe is building, launching and maintaining satellites. On-ground network infrastructure, computing hardware, data processing, machine learning etc. is something AWS is a lot more familiar with.
by paxys 2020-03-29 20:16:33 | link | parent | submission

Ask HN: What are best machine learning and data science certificate?

I find some helpful links https://digitaldefynd.com/7-best-machine-learning-training-certifications/ https://hackr.io/blog/machine-learning-certifications Any comments on those courses/certificates?
by harryxiaxia 2020-03-29 17:14:45 | comments

Plumbers and custodians also save lives through sanitation. But when you google "Plumbers save lives" you get nothing. I myself have had my cancer personally cured by AI and machine learning, but does the electrician who provided power to the computer get any credit? No, and that is a huge discrimination problem.
by crimsonalucard 2020-03-29 16:41:11 | link | parent | submission

By reading from the cache the necessary static HTML and CSS. Validations always need to be done on both sides, unless one does not value security. All of this is possible with vanilaJS, using builtin browser features, no need to kill the poor CPU with an additional bloated framework. I used to be big in native apps, until having seen too many examples of what used to be done in VB/Acess back in the day. So unless it is a game using OpenGL ES 3.0, Vulkan, Metal, something that requires AR/VR, real time audio, GPGPU for machine learning, or direct access to hardware sensors, it might be quite doable as PWA.
by pjmlp 2020-03-29 16:33:48 | link | parent | submission

8. bitcoin

Last 5 email alerts sent for bitcoin on Hacker News

I agree that there are risks either way, though like you said, the threat model is a bit different. SpicyPass isn't explicitly for web passwords. It's just a generalized key value store with added security. I use it to store my bitcoin keys for example, and that's probably not something you want to expose to the cloud and/or your browser. With that said I don't rule anything out for the future.
by Jfreegman 2020-03-29 16:53:58 | link | parent | submission

It's designed to limit the damage when people put their AWS admin credentials on GitHub or in their Android app and someone uses it to mine Bitcoin :)
by forty 2020-03-29 15:28:57 | link | parent | submission

Quantitative Trading Platform

Hi guys, I'm working on quantitative trading platform to detect price patterns using AI. It is tools to help bitcoin traders make decision. I used Data Science to analyse price of bitcoin for look for statistical patterns. I would appreciate feedback. I am working on a solution to the problem of improving the quality of trading traders. So that they make decisions when there is an advantage in the market. You can use this for free. I recorded some video to present this platform. https://youtu.be/g6kB_87lM_U http://aipricepatterns.com/
by sergio_o 2020-03-29 14:57:31 | comments

Bit coin is a terrible store of value compared to the dollar. Say I have a bank account with $10,000 in it, that buys me approximately 3 months of living expenses. But if instead I had a bitcoin it would be 3 months expenses, no wait a year's worth, nevermind actually week of expenses.
by JamesBarney 2020-03-29 08:47:48 | link | parent | submission

9. ios

Last 5 email alerts sent for ios on Hacker News

iOS development and, potentially, better support for Catalyst are the obvious pluses I haven’t seen mentioned yet.
by philwelch 2020-03-29 21:05:58 | link | parent | submission

The WireGuard apps for iOS and OSX have a configuration section titled “On-demand activation” that lets you do this. On the iOS app, I have it set to activate on cellular connection and WiFi connections to routers if the SSID != my home router’s SSID. Likewise on OSX, except for the cellular option.
by woadwarrior01 2020-03-29 20:50:44 | link | parent | submission

I was recently laid off due to coronavirus, so I've decided to pursue my startup full time! www.sealistings.com is looking for funding (crazy right in this day and age). SeaListings is the number three boating app on Web, IOS, and Android. But we are diligently working to be number one. With 67 5 star reviews currently on the IOS app exchange. We currently have 5 customers at an MRR of $400/month. Sure it doesn’t sound like a lot, but we’ve proven that our business model works, and it has close to NO EXPENSES. We’ve refined our business model to make money right away from every customer that signs up. This has come from 2 years of testing failed business models. We believe the total addressable market to be between 600M and 1B. if you’re interested in investing in a high growth startup with low risk, feel free to reach out and I can give you more information.
by captaintaylor 2020-03-29 20:44:59 | link | parent | submission

I'm looking for a simple tool to setup and switch to DNS over HTTPS at the OS level (MacOS, in this case), with no success. With it, I would simply switch to one of the many pi-holed/filtered DOH services[0] out there, or even roll my own on a cheap VPS. On iOS there is DNSCloak which is excellent, Android 9+ has built-in support (Private DNS). [0]: like pi-dns.com or blahdns.com
by achairapart 2020-03-29 19:17:47 | link | parent | submission

10. ruby

Last 5 email alerts sent for ruby on Hacker News

Well, I think a book to motivate you and get you out there, making something the quickest, is RE:WORK. It was written by the Ruby on Rails creator and his co founder at Basecamp. It’s pretty different than most books and most ideas are 1-2 pages long and I found that it got me motivated to build faster than any other book.
by elamje 2019-04-20 17:05:49 | link | parent | submission

> everything compiles to the same assembler code so lets not pretend these languages are doing magical things. They don‘t and many of the dynamic features of Python (and Ruby) cannot be efficiently compiled. That‘s why it relies heavily on C modules.
by quonn 2019-04-20 16:01:12 | link | parent | submission

>It's also why you don't get multi-line lambdas. Everything is a compromise. Arguably too much of a compromise. This is just Guido doing a "because I say so" and imposing his bias against functional programming. Give me a properly-designed language like Ruby any day over Python's bag of compromises.
by cutler 2019-04-20 15:30:56 | link | parent | submission

Some of the simple words and their prominence can be amusingly informative, though. Take data structures for example. "string", "array", and "object" are about as equally prominent in both JavaScript and Ruby (where the dictionary is called "hash"). In Python, however, "string" and "list" far outweigh "dictionary" and "object", which probably says something about what kind of data structures Python developers deal with the most in their lives. Meanwhile, C# and Java seem to be all about strings -- Are people just casting everything to string because they don't want to deal with strict types? -- and PHP is the only language where more people feel like they need to ask about arrays than they do about strings. Which is not surprising since PHP uses arrays for basically everything.
by kijin 2019-04-20 14:58:07 | link | parent | submission

>To me, it feels that there is a very thick wall in between high level languages and something with raw data access like C, C++, and D. That is why we need something that offer 80% the Speed of C, 80% of Simplicity / expressiveness of Javascript / Ruby, and 80% of ease of long term maintenance of a functional PL like Ocaml.
by ksec 2019-04-20 14:38:31 | link | parent | submission