HNHacker News
TopNewBestAskShowJobs

techjuice

344 karma · joined January 13, 2014

submissionscomments
techjuice··on Ask HN: Is it worth investing in learning Rust?
It is worth learning about it, the biggest part of the learning curve is learning how to right programs better using the language guidelines. I use it daily and it has been a wonderful tool in the toolbox to improve performance, reliability and security of our systems and low level processing systems. You will more then likely still need to use C and C++, but learning Rust will help you program better in C and C++ along with other languages as Rust can call those C and C++ based programs.

The use of Rust is rising, especially for new systems level projects or rewrites of older programs. This is especially true where unexpected issue reduction is a high priority (high frequency trading systems, industrial systems, security systems, video transcoding, packet switching and routing systems, video monitoring systems, virtualization and emulation, web servers, other embedded etc.)

I would recommend getting started learning Rust by having a few projects. I would recommend starting off by building a multi-threaded web server. https://doc.rust-lang.org/book/second-edition/ch20-01-single... See how many concurrent clients it can handle and make adjustments to increase it's max capacity. After you have done that I recommend building your own daemon to handle log parsing and analysis from your web server to give you a nice table of stats. To spice thinks up I would recommend trying to do this without the dependency on external resources after you have downloaded all the resources you need: https://doc.rust-lang.org/cargo/reference/source-replacement... https://crates.io/crates/crates-mirror then try to build the projects.

You can also do some much needed checks on your programs input by using Valgrind and several other tools. Once you are satisfied with your program insure you use Rusts tools to also build the documentation and check your coverage: https://github.com/huonw/travis-cargo

techjuice··on Ask HN: Is it worth investing in learning Rust?
Learn both, Rust is a great general purpose language that can be used to build almost anything. Go is a great general purpose language that can build a nice set of things.

If you need to, you can even use Rust to build firmware, boot loaders, kernel drivers, user mode drivers and operating systems. Basically anything that you want to run fast and have less errors Rust would be a pretty good choice to use, especially when speed, performance and app reliability is a high requirement.

I use Rust at work to help reduce error prone programs and speed up capabilities of our distributed apps (calculations and pre-processing of data from systems) that naturally run slow using their original language implementation. I use Go for writing our blazing fast web applications that provide an fast interface to our apps for our internal users.

techjuice··on Ask HN: Email on Linux?
I would recommend giving mu4e a try. It is pretty fast and you can also use mu too.

If you need help initially getting things setup: http://cachestocaches.com/2017/3/complete-guide-email-emacs-... https://emacs.stackexchange.com/questions/12927/reading-and-...

A good benefit to using these terminal based type apps is you are able to see more information up front so you are not so susceptible to web based phishing exploits as you can see all the links, can fully automate what your doing and integrate it into other custom apps your building.

If you are more of a vim user you could get used to using Mutt https://wiki.archlinux.org/index.php/Mutt#Mutt_and_Vim

techjuice··on Ask HN: How do you know if you're just not cut out for software engineering?
If you do not see things getting better in less than a year and you cannot mentally stand being there it is better to get out early and find some bigger golden handcuffs. If you are a great engineer there is a ton of money waiting for you at other companies, especially the closer to Silicon Valley you get.

If you stay just for the money, you will mentally and technology wise suffer in the long term as you loose your drive, motivation and willingness to keep improving your skills and capabilities in software engineering. You will soon find yourself not caring about the work at all (hard to get out of bed and go to work), will not find much to talk about with coworkers (conversations will get shorter and have less content, just smaller and smaller small talk) and worse you will no longer be getting anything out of being there, barely contribute and your growth as an engineer will stop.

One thing many people do not think about when just working for the golden parachute is how not being engaged, growing and having fun affects your overall mental health. Your mental health is the most important thing you can maintain, once that is gone, any money you had or have coming will be blown through trying to get your mental problems fixed in and out of different levels of professional help options. Plus, you will no longer be able to have fun outside of work because you would be too drained mentally to do anything else which will start to affect your after work social activities.

This will eventually take a toll on your physical health too, and may put you in a state to where you are just too tired to look for something new and just stay where you are for the next 30+ years where you are no longer growing and challenging yourself.

From those above situations are from personal experience with previous/current coworkers, friends and family. The bulk of people that just stayed where they were and did not look for more fun and engaging work opportunities or start their own business to have more control of their software engineering physically look horrible. To those outside (friends, family, coworkers) you will eventually sound like a broken record of failed I want or should do x,y,z instead of someone that tried to do something new to better themselves work wise to improve.

Just remember if you find yourself asking yourself that same question over and over again, but are actually doing good at the job it is normally just a case of not being challenged enough at work and it is no longer fun and time to upgrade to a newer more challenging job.

techjuice··on Ask HN: Experience with offering monthly subscriptions?
Best thing to do is talk with a lawyer and an accountant for a one hour consultation to find out what your business needs to do to stay in compliance. As your requirements may be different from other businesses based on sales, employees, incorporation type, location, etc. As paying VAT may only apply to customers in Europe.

If you are going to offer subscriptions you should have some serious content that only subscribers have access too that is regularly updated and is premium quality to keep people coming back.

You should also continue to have information available for guests and non-subscribers to keep them, but the good stuff should be available to premium subscribers only. Many businesses only show 1/4th of the content or a synopsis of the content, though this is only successful if the premium content is long (1,000 words or more and heavy in value (detailed subscriber only videos and content, insure the URLs being served to subscribers are verified from your sites API to insure the content can only be accessed with an active subscription).

It is highly recommend to go the premium subscriber or subscriber tiers versus donations as donations are normally not as inclusive as actual subscribers wanting new premium content.

techjuice··on Ask HN: Should You Work for Free as a Freelancer?
I was able to crush my competition at a very young age by starting out working for free. I just made sure my contract with the business was air tight. After the first few projects where done I was charging $120+/hour before I was 18, and well beyond that after reaching 18 but charging either weekly or by the project with a very tight contract to insure both parties knew the scope of work and the costs and requirements for work requested outside the scope of the contract.

It is hard for someone to pay a 15 year old any amount of money for a site, logo, service or app without them having a portfolio of corporate clients to use for reference, their own sanity and justification to their other business partners. I would say the only way to do it successfully, is to have a contract in place so you can keep the work reasonable for a non paying customer.

techjuice··on Google setting cookies without permission
What happens when you go to youtube.co.uk or uk.youtube.com?

.com is normally the USA versions of the site.

techjuice··on Ask HN: Dealing with website distributing malware disguised as open source?
You would need to take screenshots and links to the malware, you may also have to send the links to VirusTotal - https://www.virustotal.com/#/home/upload URL submission.

If it is targeted then you will have a bigger problem getting this resolved and law enforcement agencies would have to take over the investigation as it would be out of the scope of most to properly review this.

techjuice··on Ask HN: Dealing with website distributing malware disguised as open source?
The first and fastest thing you can do is report the site using your browser so it can be blocked (Chrome or Firefox is the best since it goes to the same list and Microsoft will also pick it up). After you have done this, report it to US-CERT - https://www.us-cert.gov/report and the FBI - https://www.fbi.gov/tips. For the registrar, did you also report it using their abuse email account and the IP/Datacenter operator abuse address? If those don't work you can also contact ICANN and the actual domain registry who can pull the domain.

You can then talk with a lawyer to file a trademark dispute if you have a registered trademark along with a DMCA complaint if they have copied your information.

techjuice··on Ask HN: How to cope with DDoS attacks today?
Only thing you can do is have a bigger network than your attacker and/or insure there is equipment in front of your routers that can clean traffic entering or exiting your network.

As time goes on the attacks will get more sophisticated and harder to stop.

techjuice··on US government considers charging for popular Earth-observing data
I always find this a little disturbing as a citizen. I know my taxes pay for it already, but then I have to pay again for it, and have no say in anything for it even though my taxes still pay for it.
techjuice··on USB RAID: good for back up ?
As long as you have an offline copy of this data that can be used to fully restore the data on your system you are fine. A proper backup is a copy of the data that can be restored if the system or network the hot data is on completely destroyed that enables it to be completely restored data wise.

In terms of RAID, that is not a backup. RAID1,5,6,10, etc. is to help keep your system online in case of a disk failure to help give you time to replace failed disks with some options giving you increased disk read or and write performance.

I would recommend you keep something offline that you backup the data on the USB HD from time to time. Something that can do versioning would be ideal so you can view the differences over time.

techjuice··on Ask HN: What would be the curriculum to become an engineer?
This depends on what type of engineer you want to become. Network, Systems, Civil, Nanotech, Computer, Financial, Nuclear, Chemical, Neural, Combat, War/Military, Weather, Weapons, Building, Aerospace, Telecom, Embedded, Logistics, Data Science, Artificial Intelligence, Federal Emergency, etc. As all of them involve programming now, which was not the case 20 to 30 years ago. Some are harder than others and some are not obtainable without certain long term commitments being conducted (some military and civilian engineering fields).

There are a few paths to gaining the required expertise to be seen as an engineer by other engineers in the field. Self-taught which is normally the hardest path as it is not as guided as others, but normally gives you the most time to dive deep into the books. Though, for some you really have to have hands on experience to become the best of the best which is normally what the academic mixed with real work offers (co-ops, internships, etc.). You can also look into an apprenticeship if it exists within your field or work with a highly respected engineer with 20+ years of experience to be your mentor. You can also do the 100% academic route, but that may get expensive and you may not get the bleeding edge real-life work experience unless you can get into a good co-op/internship at a private/public company working in the field of your interest.

techjuice··on AT&T updates firmware to block access to 1.1.1.1
I always thought it was strange to see the example loopback address listed as 1.1.1.1 or 1.xxx.xxx.xxx in many of tutorials and official network certification guides and why they did not use a private. This is more than likely why many users are having problems because they are being routed to a loopback address on their router or another router. Hopefully network admins and engineers will choose a non public ip space as their loopback address to resolve the problem.
techjuice··on Ask HN: Company claimed open source software
Best thing to do is talk to a lawyer and remember any and all work for the government has to be tracked and logged. If it was not an official government contract that was funded and awarded, no work should have been done by anyone unless the government agreed to pay for the work or the company agreed to pay you with the risk that they would not have been paid by the government to compensate you work. Either way, you should not have been doing any free work for the company and any tools or hardware you used should have been purchased by the company unless you are a contractor.

If you are a contractor then all hours you worked should have been paid for and tracked by you. Just make sure you talk with a lawyer to help fix things up for you as it sounds like something shady may have occurred.

techjuice··on Ask HN: Do I risk getting “pigeonholed” by accepting an Operations Engi. role?
Good work experience is good work experience. It will earn you more opportunities and money down the road. Just insure you mix development and ops if you want the flexibility to be able to do both down the line. If you only do software engineering then you may end up building really poor applications because you do not have the systems engineering experience to know how to scale and secure apps appropriately.

Since it is just an internship it will not be your first and last job. If you want to do one for some time that is fine, as when you apply for another role you will normally have to pass engineering tests for the job at hand which will let you know if it is right for you. The really good jobs ask you questions related to what you or your peers are actually doing.

techjuice··on Ask HN: Where can I hire developers for my dinky bootstrapped startup?
You may have to hire actual employees or highly paid contractors if you want the best people working for you. Unfortunately, if you are not able to pay really nice compensation you will get the bottom of the barrel people working for you. Now that may not be very realistic due to you being bootstrapped so you only have the following options: Hire an employee, hire better contractors, change where you are hiring interns from pr bring in a partner and make them a partner in your company that can help take some of the burden or outsource.

If you want to outsource, you should insure you test the quality of the work you get before signing long term contracts.

techjuice··on Ask HN: How to search notes?
Are you referencing typing something in the notes or actually scribbling something using a digital pen/pencil or finger? If you are referencing just typing things in, normally grep -rI "" * --color=auto may help (if you are using the newer grep) for a small dataset or find /path/to/data -type f -a -exec grep -H WHATAMILOOKINGFOR '{}' \; which I will normally just turn into an function I can run from any terminal. For larger searching I normally use Solr, Lucene, ElasticSearch, Kibana, Sphinx and other tools to give me more technical vision into what I am searching for and/or things relative to what I was thought I was searching for.

For things that I have taken pictures of or manually drawn I use OCR and other custom tech to convert it to computer friendly searchable information to be able to include it into my search queries and create a helper app for Windows, MacOS, Linux and Unix to search through my apps API to give me both the textual, graphical and meta data results that I can then filter down to what I am looking for.

If you need something to help get you started on OCR of any notes or documents you have I would recommend looking into Tesseract as a start if you are not interested in building your own OCR tools from scratch.

techjuice··on Ask HN: Is it legal to start a business that requires 0 customers?
Talking to a lawyer is a great idea, along with talking with an accountant too. You have way more tax advantages being a business versus individuals. If you need help it will be easier to hire someone if you already have an operational business up and running to help management of your business operations and administrative duties. Though if your business plan starts to pan out it might be hard to not have customers even if it is a small amount.
techjuice··on Ask HN: Is it legal to start a business that requires 0 customers?
Yes, you can create a business that requires no customers. Many people do this to enable them the ability to conduct B2B transactions as it is much easier to do so (e.g. buying several homes, automobiles, buildings, cities, yachts, other businesses, land, property, for financing, legal groups, owner of a single website or network of sites, software, etc.).
techjuice··on Drone Swarms Are Going to Be Terrifying and Hard to Stop
Defense wise, this is just an engineering problem to be solved. With the right technology, funding, testing, research and development this can be solved.

First phase should be how to detect very small items moving through the air that can receive and/or send signals. Since drones can be 100% plastic, wood, or other compound or material and move at very high speeds there should be some serious research and development going into this. As this would also help solve the were is the shot coming from problem without relying on sound. I would guess measuring the differences from sensors using air pressure, wind, temperature, etc. changes versus normal conditions in nanoseconds or picoseconds would be pretty good.

Second phase would probably be how to jam, intercept and/or repurpose the commands and guidance systems of the said drones. It is easier and cheaper to just have them land in a safe place and unarm, versus using ammunition to shoot them down. This would help in investigating and finding out who the owner is and improve defense capabilities without destroying evidence.

Third phase could be using scientific research from the first phases to create legal and regulation guidelines and policies. This would help filter out legitimate drones, home brewed drones and trace owners of the drones, plot previous flight paths and malicious usage (i.e. someone doing something with your drone without your knowledge and tracking who, when, what, where they did it).

techjuice··on Ask HN: As a dev, how do you get better at devops? Are AWS certs worth it?
In order to really get good at it you have to work in a mission critical environment that has a real requirement of 100% uptime (Defense Contractor, Military, National Security, Infrastructure, Aerospace, etc.). These types of high profile, cannot fail environments normally have enough funding and range of equipment to run you through the basics to expert (knowing everything connected and not connected on the network in depth, the details of most applications and their quirks, be able to tell what app is doing what by how they talk on the network, keep mission critical stuff up even when multiple racks or data-centers have failed, how to scale without downtime or latency to meet demands and more, creating your own software, os and kernel patches for performance, stability and security reasons, your own network and server gear for special use cases and more).

The good side to working in these environments is that it is normally a mix between AWS, and private highly secure non-public internet connected data-centers around the world and internet connected data-centers.

With time you could go from not knowing a thing to being able to effectively work at an expert level with other top DevOps Engineers in the field around the world in the most demanding of environments. You would be an expert at all the operating systems versions, databases, and modern technology stacks because you would be required to have in depth and broad knowledge to help the broad set of customers that you would be able to encounter. Wonderful thing is they will always have something new to learn that you may have never heard of before.

techjuice··on Ask HN: What should you do when you have an idea but no money to fund it?
Most external investment opportunities will normally require you to show them a business plan, risk analysis, market research and more. The following are a few ways to fund this:

Get fundings from the government, they offer grants or loans.

Get funding from an educational institution.

Get funding from a private or public corporation.

Get fundings from a bank or credit union.

Get investors or start a non-profit and get donations.

Self fund the growth and engineering of the idea with your own income later on.

Get fundings from family and friends.

techjuice··on Ask HN: Good certs to get as a job seeker?
You should start off with industry standard certifications to get yourself in the door. Security+ should be your first certification so you can start off with a good base security foundation. Then move on to Linux+, A+ and Network+. These would take care of your vendor neutral certifications and cover security, linux, computer builds and general networking. Now you can at least have a good conversation and have have a base level of understanding with an interviewer.

If you want to move past the journeyman level you could go for a CCNA or CCENT Routing and Switching (to improve your networking skills), RHSA to get performance based Linux skills that will work for RedHat Enterprise Linux and CentOS, MCSA to get official Microsoft base competency. Jobs in this range should pay from $50,000 to $79,000.

To kick it up a notch you will hopefully have a job by now along with work experience, and can work on the career changing certifications. I would recommend going for MCSE if your in a Microsoft shop, else RHCE for Linux, CCNP to cover professional routing even if your not doing networking at your job, there is nothing better than knowing how networking really works. Normally this range of jobs pay around $80,000 to $170,000 depending on how good you are. You can normally get paid towards the high end by blowing away the interviewer by having an extreme in-depth knowledge of Networking, Linux, Microsoft and Security.

After some years of experience (normally 10+) and you are at or entering the expert level you can work on getting a RHCA (RedHat Certified Architect), CCIE (Cisco Certified Interconnecting Expert), CompTIA CASP, CISSP and ISSAP, ISSEP or ISSMP. By this time you should be in or applying to a job after having at least the CCIE or RHCA paying around 180,000/year base. Just having CASP or CISSP will be around $90,000 to $130,000 a year depending on how in depth your knowledge and challenging your previous work experience appeared to be.

techjuice··on Canadian software engineers paid peanuts
It's all about supply and demand. The big tech companies want the best engineers in the world and they are willing to pay for them as their value and return on investment is what makes them the top revenue companies in the world. If the companies in Vancouver wanted top talent they would need to increase compensation in terms of salary, bonuses, stock options, etc. and insure the community around the business is modern and high tech.

As a top engineer you have the choice to go where ever the best challenges and compensation are. If you have over 10 years experience in a field and very good at what you do you should be paid exceptional well for it. As the value you bring to the company you work for makes the bottom line meter move upwards and you bring innovation and help move the company forward.

Mix a couple of teams of top quality and value engineers and you get products and services that the entire world wants to use. Talent also attracts talent, so if your company has very well known engineers working there that are very well known and respected in their fields other engineers will follow.

techjuice··on Ask HN: Does Google hash images and penalize sites for relying on stock photos?
Maybe they are, if so that is good as it encourages original work. Remember the search engine is setup to give the best results for humans so giving humans original content will always be ranked higher than non-original content (text, images, videos, etc.).
techjuice··on Ask HN: SySAdmin/SRE/DevOps Bootcamp?
Books and courses are nice and helpful, but the only way to really get in and do things right even as a junior sysadmin is to get a job as a SysAdmin/SRE/DevOps/Network Engineer so you can work with others with real world experience. Without it there is absolutely no way to get to the level of expertise needed to get to the top of the game. As with the really important stuff, there is always a team making it happen.

By getting a job you will experience the good old production environment which is something books and courses cannot teach you, especially when you have to deal with different types of environments/people that only SysAdmins, Network Engineers, DevOps have the responsibility to manage and secure and keep up (24/7/365). As most mission critical environments are extremely fast paced and very sensitive to accuracy and due diligence you will learn some serious skill sets that you will get from working in those types of environments.

If you want to learn quick and master a large spectrum not touched in the books working on a mission critical team will get you up to speed especially if it is for the government (NASA, Military, NSA, CIA, NGA, SCC, NRO, FEMA, Secret Service, FBI) or a not so critical but high profile and important commercial company (Google, Apple, Facebook, Uber, Twitch, Amazon, any top defense contractor, etc.)

techjuice··on Ask HN: What is the career trajectory like of Program Manager after DARPA stint?
Nope, they are normally pretty high up in the org chart due to them brining so much to the table when they onboard to where there are no longer any pure technical roles.
techjuice··on Ask HN: What is the career trajectory like of Program Manager after DARPA stint?
Those that are at the top of their game and technical normally go to work for the CIA, NSA, DIA, Pentagon, INSCOM, USSOCOM, top government contractors (Leidos, Boeing, Raytheon, Northrop Grumman, Lockheed Martin, General Dynamics, CSRA, Booz Allen Hamilton, SAIC, etc.) or go to a top regular commercial company like Apple, Google, Facebook or Microsoft that are heavy into research into future technology and implementing prototypes or real world products.

They normally end up with their own team if they were a top technical PM and receive funding for programs they get to create at their new job.

techjuice··on Army to issue PT bracelet with 24/7 fitness tracking, remote mentoring
All public articles are approved by government public affairs officers trained in the rules and regulations of DoD and Army PR dos and don'ts so if it is live it is legitimate, they can be reviewed here: http://www.asaie.army.mil/Public/IE/Toolbox/documents/r360_1.... If there is an issue with the article you can report it here: https://www.army.mil/info/institution/publicAffairs/ or https://www.army.mil/contact

The Army does actually do polls that soldiers fill out through one of the many internal Army Enterprise Systems like most of the other DoD Military components. Also with the amount of engineering and research that PEO-Solider does it is very likely what you see is very true from the article.

The satire that you detect is more then likely the Army trying to appeal to their larger younger enlisted/officer base. As the people doing the bulk of the articles are new enlisted/officer soldiers.

← PreviousPage 3 of 9Next →