News for hackers. Stuff that matters.

0x54D5

Re:Levittown on Monday June 17, 2019 @09:43PM (#20209118)
I grew up 15 minutes from Levittown, PA. I even had to do an undergrad research project on it. The development is boring and pointless but packed with lower middle class families. A place where there's only a driveway for one or two cars but there's always 3 or 4 per house and parked all in the street. The houses themselves are all full. The area just west and north of Levittown is actually one of the oldest rich suburbs in America containing Newtown, PA and Washington's Crossing with estates from the 16th century and acres of land.

Oxford Valley Mall is far from dead. The food court is always pretty lively on Fridays and Saturdays. The Forever 21 next to the food court is constantly packed with teenagers. I literally went there not long ago with my girlfriend and we had to stand in line at the register. Not exactly dead.

The guy just went on a random Tuesday instead of a Saturday. Of course it's going to be dead. The parking lot also has a really good theater seating style movie theater. Both Oxford Valley Mall and Neshaminy Mall are on Route 1 going north out of Philadelphia and also have I-95 going by. Also the Mall has Sesame Street Theme Park right outside it's parking lot and across the street is a whole other plaza containing a Best Buy, A Home Depot, a Lowes, and a bunch of other stuff. Honestly the only reason the mall can't keep full is cause of all the competitions nearby. The area itself is actually super nice just to the west of the mall with lots of properties rising in value.

I used to run a Gaming LAN Center in 2005 in Neshaminy Mall. The area is served by FIOS and Comcast.

As to why buses come to the mall? Really? Old people like to walk around during the day in the mall just for fun. People also use the bus to get to and from work. Most of the routes are going to and from Philly with a few connecting the various regional rail stations. Growing up we all wished there was just one bus from the center of Newtown to the mall so we wouldn't have to ask our parents to take us.

If you actually stay just around Levittown there's a lot of old crap from the 60s in a clearly abandoned and/or ruined state but that's not really indicative of the area.

What bothers me about all these is how irrelevant they all are to actual day to day programming on a project. Like okay cool you know how to do the Fibonacci exercise. What now?

Do you know how to write SQL queries? Have you ever mapped an ORM to a data store? What about rate limiting an API? Ever had to setup Single Sign On? Have you ever scaled anything from 100 users to 100,000 users? How do you handle job running? Concurrency? How would you debug your server locking up due to 100% CPU usage? Ever configured a dev environment on local with xdebug? Breakpoints? Command line tools? Ever normalized data between multiple third party APIs? What does normalization even mean to you? What about unit testing? Mocking data pre-test and cleaning up after test? How do you make it fast? What's the autoloader? How do you properly setup composer? Tabs or spaces? Why? Windows, OSX, or Linux? Why? Favorite IDE? Why? Are their opinions so strong they can't work with others? On and on it goes.

In the past 6 months at my job I've dealt with all of the above issues and more. I would still probably fail most of the exercise in your Github repo. Mainly because all of them are irrelevant to the actual work and honestly I can't be bothered to sit here and memorize various math algorithms that have quite literally nothing to do with the work.

PHP comes with with 13 different sort functions. None of them test you for how to write a bubble sort. I'd rather a candidate know when to use one over another instead of knowing how to write just one or two of them from scratch. Here's the thing though. I've written bubble sorts before. In college. When learning C & Java. In no way shape or form do I ever practice them or actually remember them at a moments notice. I look them up like a normal person if I ever actually need them.

When I interview a candidate I don't use any of these nonsense exercises. I have one small code exercise at the end which makes use of recursion. The rest of the interview is an open ended series of questions on systems and just basic "shooting the shit" style questions. The nuance of how you answer the questions tells me everything I need to know about a candidate.

On the flip side if I'm the candidate and someone asks me one of these I know they actually suck at interviews and my immediate instinct is to walk out. I try anyway to be polite and not burn any bridges and most of the time I'll come up with a correct solution but again my initial instinct is "I don't actually want to work here anymore".

So what do you do instead? Be creative.

Have fill-in exercises. Write an abstract class and an interface and have them build you a class that implements both.

Write some code with obvious mistakes. Have them fix it.

Build a full from scratch login system. Have a user already in the database with a hash already there. Make them fill in the authenticate function. Watch them not use password_hash and ask them why. Make them use Google.

No exercise should take more then 15 minutes. The majority of the interview should be you digging deeper into their previous roles. Have them tell you success stories or cool hacks they've put together. You'll learn way more about them both as a person and as a developer.

Re:Google Photos will stop syncing to Drive on Wednesday June 12, 2019 @12:34PM (#20166445)
And if you don't want to self-host Dropbox does this out of the box.
Re:Philly Wisper on Monday June 10, 2019 @12:01PM (#20147973)
I work out of Indyhall. Philly's most popular coworking space. I'm using Philly Whisper right now.

We only use it because Comcast couldn't keep our connection working. We're literally on Market street two blocks from Independence Hall. Within 5 blocks is the Philadelphia Mint. Numerous Federal courts, etc. And we still can't get a reliable connection.

Philly Whisper still goes down occasionally. We've had it go down twice in the past 60 days. They are super responsive but at the end of the day the internet going down for hours is still money lost.

I have FIOS at home and I've only ever seen it go down at night and it's because of a router update.

Disclaimer: I used to work for Comcast. Would not recommend.

Re:New Mac Pro on Tuesday June 04, 2019 @04:47AM (#20093155)
So I'm a web dev but in a previous role we bought a 2 man company that made medical renders. I ended up making them a mini-SAS Raid 5 made out of SSDs. This is before M.2 started taking off. That thing did 1.1 Gigabyte/sec write on a little table top with terabytes of storage. It was over 20x more than they were used to.
Re:Driving on the Autobahn on Monday June 03, 2019 @07:45PM (#20090240)
This

Driving in the United States is very region dependent.

In cities it's everyone for themselves. Lots of speeding and general shenanigans. Especially Boston, Philly, NYC, Baltimore, SF, LA, DC, and Miami.

In the mid west drivers are generally more laid back and follow the speed limits more.

In rural parts of the Northeast like upstate NY and PA you'll find drivers a lot like Germans. Stay right, pass left.

PA turnpike has a speed limit of 70 but it's normal to see people doing 80-85 especially on I-80. But I-95 near Philly is even worse. Posted speed limit of 55. People doing 80 regularly in the left lane.

This is basically almost autobahn speeds.

For the non-mericans: 80 MPH ~= 128.748 KPH

American roads are all over the place as far as maintenance goes. The interstate road between NYC and Philadelphia is extremely high quality and you can easily hit 120 MPH (193.121 KPH).

Re:Google Cloud Is Down on Sunday June 02, 2019 @07:46PM (#20079225)
If you buy their support (which isn't that expensive). Holy fuck it's good. You literally have an infrastructure support engineer on the phone for hours with you. They will literally show you how to spend less money for your hosting while using more AWS services.
Re:Binance exchange hackers steal bitcoins worth $41m on Wednesday May 08, 2019 @08:20AM (#19858107)
Bitcoin itself wasn't hacked. They stole the keys from a server most likely.

I don't think it's possible to harden a modern OS against some potential hacker on the internet. Especially when we know that 0-days are sold and traded. So the idea of putting $41m worth of Bitcoin in a single wallet is frankly frighting to me. We saw what happens with pwn2own. Now scale that up a few million USDs.

Re:Windows gets a new terminal on Monday May 06, 2019 @04:52PM (#19843727)
I own a 2014 MBP I use as my main work laptop. I also own a desktop running Windows 10. I currently maintain a VSCode dev environment for my coworkers who all use Windows.

We switched from XAMPP and Eclipse for PHP development to WSL with VSCode and so far the transition has been really good. The only problem is that OS X still has a way better free MySQL client in the form of Sequel Pro compared to Windows which only has MySQL Workbench and HeidiSQL for the free options. I wish there was a better SQL client we could use.

Re:Shipping a Linux Kernel with Windows on Monday May 06, 2019 @04:43PM (#19843630)
The Windows disks are mounted at /mnt/c /mnt/d etc

The real issue is being able to read the WSL disk from Windows which you have to access as a network share from localhost

Re:Lithium-ion batteries from Amazon are exploding on Monday May 06, 2019 @10:43AM (#19839855)
I ordered Redkin shampoo and got a knock off just last week. Bottle was the wrong color and my girlfriend could tell right away that it wasn't the genuine product.

At this point I'm not sure I'm going to be keeping my Amazon Prime. It no longer pays for itself when I can't be sure that what I'm ordering is going to be legit.

Re:Thoughts on macOS Package Managers on Monday April 29, 2019 @11:26PM (#19784901)
They also de-list older versions of popular packages like PHP 7.0. A package manager should never de-list. There are many valid reasons why someone might want to install an old version of a package.

As a user I'm not a big fan of the order of their CLI switches. For example to restart PHP-FPM:

brew services restart [email protected]

In Ubuntu the same thing is

sudo service php7.0-fpm restart

Should restarting a service require sudo? I think it should.

Should the service name be first and then the operation? I think it should as well.

Good luck convincing brew maintainers of this. It's like talking to a brick wall.

What exactly is the injustice? AI being used for military applications?

Most of these AI algorithms are open source and available on Github for anyone to use. The military is still gonna have their big bad robot with a gun that can immediately identify enemy combatants as soon as it enters a room.

The genie is out of the bag.

Re:Beyond Meat S-1 on Monday April 22, 2019 @04:57PM (#19722910)
Sorry but no chance. For one it's not actually bad for you. A good meat stew for example is a culinary staple in almost every culture in the entire world and is considered both healthy and hardy. You can't say the same thing about tobacco.

I'll be happy to take another look when they can grow A5 Wagyu beef in a lab and not just trying to make plant matter act like meat.

To be perfectly blunt this entire thread is vegans patting themselves on the back. It's an echo chamber.

Killing an animal on a farm quickly and painlessly is a lot kinder than what that animal would experience in nature left to their own devices. Sadder still is that I suspect that a lot of these farm animals are likely to go extinct when the technology to grow meat in a lab becomes viable and cheaper. Considering how close we are to being able to produce human organs that can actually be transplanted into a live human it's not far fetched to think we'll be able to grow high quality, beautifully marbled muscle tissue of various species in the not too distant future.

Re:Julian Assange arrested in London on Thursday April 11, 2019 @06:05AM (#19632635)
He skipped bail. That is a crime. He literally locked himself up for 7 years for something that in the UK would never have been as severe as 7 years of imprisonment.
Re:Facebook moderators in America on Monday February 25, 2019 @11:20AM (#19246672)
The public platform needs to be decentralized. We need a social protocol where the data lives in the protocol and not in some corporate server where it is subject to their whims.

We currently live in a dystopia where your Twitter or Facebook could be banned at their whim leaving you a digital outcast.

Re:U.S. National Debt Soars to a Record $22T on Tuesday February 12, 2019 @05:46PM (#19148446)
The math: We currently bring in 3.34 trillion in tax revenue per year. Our outstanding debt is 22 trillion with a yearly 2% interest payment of $440 billion.

If the debt hits 174.2 trillion (which is only x8 what it is now) then we will have to spend the entire budget just to make interest payments.

If we default the dollar is likely to collapse. The value of the US dollar is propped up by US Government bonds.

Re:Bye Bye Mongo, Hello Postgres on Wednesday December 19, 2018 @02:26PM (#18718569)
It turns out that not defining a structure to your model makes it easy to prototype but difficult to query the data afterwards.

Which is why MongoDB is awesome for teaching and building new stuff but horrible for reports, metrics, and scaling.

Re:From macOS to Windows and WSL on Friday December 07, 2018 @01:57PM (#18630467)
VSCode with WSL with Nginx & PHP 7.1 only has one issue currently. A bug with fastcgi buffering which I have documented here: https://github.com/Microsoft/WSL/issues/3687

Yes. It's a little bit slower but for development local environments it really does not matter.

I actually set this up for the Windows devs at work but I still use a 2014 MBP.

Our ionic app though is a huge pain in the ass that requires Visual Studio to setup a decent dev environment in native windows.

Re:I quit Instagram and Facebook and it made me happier on Sunday December 02, 2018 @09:50PM (#18586015)
I also maintain my own blog. A $10 a month VM on Digital Ocean buys me a server. I have managed to solve the chat problem as well. I have A Synapse Matrix.org server for chat. It's perfect end to end encryption. It's a pain to get people to actually use it but once they do it's actually really reliable and has never failed me once since I've started running it. I use it with my SO and I know that what we say to each other can never ever be spied on by a third party including the pictures and videos we send to each other over the server. The clients on Android, iOS, OS X, and Windows are all actually very good. I use them all. On top of this I run a blog where I wrote the source code myself from the ground up. Framework and all. No normal person is gonna do that.

What we actually need is an application using a subscription based protocol.

We can't have one company have defacto control over pictures, texts, discussions.

I didn't quit Facebook and Instagram because I wanted to stop sharing. I got tired of being spied on. I got tired of the ads. I got tired of random people trying to sell me something. I would much rather people hosted their own photo feed which could be a literal exact clone of the Instagram photos. Host just that and let me subscribe to a standard feed. It should cost literally pennies a year to host your content.

People subscribe to your "feed" by "friending" you. When you see this friend request you set what they can see right there. And you'd be able to run a feed for a group, personal, business, whatever. It would let you publish pictures, events, and discussions. No one can ban you from the platform because it will be ubiquitous like email. You can even put in public/private keys and make it super secure.

This is what we need.

How do you host it? How do you make it easy to use?

These are the problems we should tackle.

I was thinking a blockchain would be a convenient "free" host. It's just slower than I'd like but for posting events or photos I'd be willing to wait a few minutes.

Google Chat is a horrible experience and I would advise anyone serious about communications at their company to seriously consider alternatives. I am currently forced to use it. I have documented multiple bugs in a blog post here and I have reported each one to Google multiple times without any fixes being made. We are a paying client for G Suites.

https://technex.us/2018/11/google_chat_is_the_worst_desktop_...

The new Google Chat for G Suites is actually not even chat. Each chatroom is a collection of Google Wave style cards that jump over each other as activity happens in different ones. The experience is so bad I wrote a blog post about it here. https://technex.us/2018/11/google_chat_is_the_worst_desktop_...
Re:Night Sight for Pixel phones on Thursday October 25, 2018 @05:12PM (#18304627)
Unfortunately the P20 does not currently have a warranty in the United States.
Why anyone would want this in their home is beyond me.
Re:Facebook Isn’t Sorry, It Just Wants Your Data on Tuesday October 09, 2018 @03:20PM (#18179015)
I deleted my Instagram and Facebook two weeks ago after being a member since Facebook's .EDU only days.

I urge men and women of good conscious to do the same.

Re:Shutting Down Google+ for Consumers on Monday October 08, 2018 @03:38PM (#18170627)
I am so done with Facebook, Instagram, and Google.

I deleted my Facebook and Instagram three weeks ago and haven't looked back. I removed Chrome and Chromium from all my computers. No, I don't want to sync using your servers. If you let me host the sync servers myself like Mozilla does I'd consider it.

If my friends want to talk to me they can make an account on my privately hosted Matrix.org chat server and use the open-source Riot.im client.

It works flawlessly and I don't have to worry about being spied on.

Next is Gmail. I find the new UI atrocious. I'm keeping my eye on Maps alternatives as well.

The faster I can get rid of all this crap the better off I will be.

That 0.1% doesn't take into account hours spent using the actual app. Power users tend to spend all day in a browser whereas a typical grandma might look at it for 15 minutes and close it. Meanwhile people who have multiple Google accounts and who spend literally all day in the browser are the ones that get the short end of the stick? That makes zero sense and it's why people are starting to hate Google just like any other corporation that makes decisions by committee. There should have been a product owner on the browser team that said "No this is a browser. Not an extension of GSuite."

The total indifference to people's valid use cases is what really grinds my gears.

Chrome is still the only browser that ruins my UX by putting a profile picker into the title bar. A place it has no business being. I literally made a patch and compiled my own version of Chromium for a while to get rid of it. https://github.com/hparadiz/chromium-disable-profile-button-...

I'm so tired of the arrogance. Chrome used to be a beautiful simplistic browser. Now it's just bloat. I'm done. Get off my computer. You guys had your chance and blew it.