HackerTrans
TopNewTrendsCommentsPastAskShowJobs

throwaway189262

no profile record

comments

throwaway189262
·قبل 5 سنوات·discuss
I'm of the opinion that any large project will eventually take as long as devs will tolerate. About a half hour.

We run mostly Java backend and JS frontend, same story.

Tons of opportunities for optimization but company doesn't want to spend the time and devs appreciate the extra fuckoff time
throwaway189262
·قبل 5 سنوات·discuss
> As of a few years ago you can choose which rides you take without penalty.

That wasn't there before and I have no reason to believe it now without evidence. Turning down rides always had negative effects such as less rides being assigned to you.

> The back-to-back ride thing has nothing to do with having the Lyft app installed or not

You should look this up in older news articles. AFAIK that's just not true. Maybe it's changed, but at one point Uber was changing their app behavior when you had Lyft driver app installed.

> If you drive when it's busy the incentives don't matter.

So you're implicitly agreeing with me that the incentives are perverse and encourage you to drive during peak times?

> I don't know any Uber drivers in my city who lease their cars from Uber. Never heard of this happening.

Then I encourage you to read about this. There's a large fraction of people who don't believe anything unless it's happened to them or their friends personally. And I think this is a shame given how available information is with today's internet. This definitely 1000% happens. I've seen it with my own eyes.
throwaway189262
·قبل 5 سنوات·discuss
That was rude especially for HN, my apologies. I'm a big Java fan but you're right about verbosity and ceremony about startup. There's ways around it but not stuff you would read in a book. Tribal knowledge really like starting a project using a maven archetype and using lombok judiciously.

Java gets a bad rap which bothers me because it's really a good choice for backend work even today. Sometimes it bothers me enough that I lash out needlessly.
throwaway189262
·قبل 5 سنوات·discuss
I'm a wage slave, but years ago I helped a struggling consulting agency blow up.

It's usually marketing. That's probably why revenues are low too. Once we had marketing sorted out we had more work coming in than we knew what do do with. So we promptly raised our rates and became small but profitable.

Don't quit your day job until you have too much work to do it.

I don't want to dump a rant (but I did anyways) but start online and start local. Do geofenced ads on Google and Facebook. Put in your ads that you're close by. Even in online age companies they can drive by and see have a huge edge, so this is best place to start with ads, you will have a solid handicap against powerful national ad campaigns. Know your market, for instance, we discovered a lot of older guys running small businesses listen to certain AM radio stations and ads there are super cheap. Some of them still read newspapers too. Lots of little insights like that eventually give you an edge. Marketing is all a big competition for eyeballs at the lowest price.

Another plus was partnering with an IT company. We gave them IT work, and they gave us software dev work when there wasn't an off the shelf fix. After years of this the owners merged the two companies for good profit.

Organic reach is just as important as ads, if not more. Figure out what problems you could solve for clients and start writing articles about them. Don't outsource this to ad agencies. They write fluffball articles with no substance and Google will deepsix you. Find the most knowledgeable person on the subject that doesn't want a fortune or even who wants to promote their own shit that doesn't compete with you. Humble-brag but I have some articles related to my specialty that still rank #1 on Google for our targeted keywords a decade after leaving that place. At one point 20 articles that I wrote brought in 70% of traffic. No idea what their metrics look like now, but I'm sure they still bring in tons of traffic to this day. TLDR: organic reach is super important because unlike ads, it's free.

Your best bet early on is copying successful competitors. There's a lot of services out there to monitor competitors ad campaigns and website organic reach/links. Mimic your competitors at first, leaning on closer physical distance to make up for worse targeting until you got your beat then rise up against them or find your own niche.

Again small advantages build up. One of our biggest local competitors used a help widget on every site they wrote. I eventually found all of their clients from this using DNS and we systematically called them all and took a good fraction that had issues with their hosting.

I am convinced it's all marketing. Software consulting is a generic business like a restaurant unless you specialize in military guidance systems or Fortran or something. Just like a restaurant, the food matters but marketing is what makes or breaks you
throwaway189262
·قبل 5 سنوات·discuss
Multi threading has zero overhead in normal Java web frameworks. It's thread-per-request so you don't need to worry about thread safety any more than you do in JS. That you didn't know that implies you haven't worked with many Java web frameworks.

JS has become a huge language, just as big as Java. So is the runtime, V8 is gigantic, comparable to JVM. I use both every day.

Vert.X is nearly identical to Express JS including all the callback stuff. And that's one of the harder Java frameworks to use
throwaway189262
·قبل 5 سنوات·discuss
I don't think an ask thread is a good spot for a rant, but the JVM languages have changed a lot over the years.

You imply that Java is big and heavy when JS/Node Python and Ruby use more ram and run slower than Java in basically every benchmark. And V8 runtime and JS language complexity is just as big as Java these days.

Java is very scalable. If I was force to work on a million+ line project I would pray it was Java or C#.

Java ain't going to win any beauty pageants but it's a solid all rounder. The guy you keep on roster because he can fill any position, not because he's the star hitter.
throwaway189262
·قبل 5 سنوات·discuss
DropWizard is great. Spring Boot was based off it.

It's a nice mix of simplicity and effectiveness.

If you want performance above all else, Vert.X isn't too hard to use. But the async API's are a PITA, much like ExpressJS.
throwaway189262
·قبل 5 سنوات·discuss
I heard it years ago, can't find a source either. I believe it was something related to a court case. Some legal argument that could apply if total employees was over 50% contractors.
throwaway189262
·قبل 5 سنوات·discuss
I have also never heard of a contractor for big tech being hired full time. Ever.
throwaway189262
·قبل 5 سنوات·discuss
It's similar to McConnells recent "My advice for corporations is stay out of politics. Not including contributions of course"

The hypocrisy level continually reaches new heights
throwaway189262
·قبل 5 سنوات·discuss
The irony is that Republicans caused this. More specifically, the Senate leader Mitch McConnell.

He was instrumental in the Citizens United supreme court decision that gave free speech and unlimited campaign contributions to corporations as if they were people. Of course other Republicans hailed this decision at the time.

Well, now that corporations are saying and doing things they don't like I bet they're having second thoughts about their shameless loyalty to corporations over people.

Republicans of old would never fine corporations for enforcing their own community rules. But the Republican party of today is something else. Something darker, or much whiter, maybe both.
throwaway189262
·قبل 5 سنوات·discuss
Let us remember that big tech companies like Microsoft, Google, Facebook generally have 49.9% of their employees contractors.

Why nearly 50%? Because that the highest amount you can have without additional liability. If they could get away with it, far more than 50% would be contractors.

The gig loophole benefits only super rich corporations. It's crazy to see so many people defending it. The sole purpose is undermining a century of worker protections.

Technology has made it easy to tweak jobs just enough so they fall under contractor status. When these laws were written nobody could imagine systems where work is reassigned in seconds. The rules about flexible schedules etc we made for a different time.

I've driven for rideshare. It's not like freelancing at all. You can't turn down rides. Can't set your prices. Can't choose your clients. Can't do your own advertising. You can only drive certain models and years of cars. There's rules about modifications you can do and how you treat customers. You have little to no control once you "sign on". It's a regular job with flexible hours
throwaway189262
·قبل 5 سنوات·discuss
As someone that's forced to write C occasionally Rust is a godsend. I prefer high level languages but when I need the performance it's nice to have something that doesn't feel like it's from the 80's.

C is extremely painful. C++ is a shitshow. Rust is glorious in comparison.

Rust, or something like it, will definitely replace C/C++ someday. And rust has way more traction than anything else
throwaway189262
·قبل 5 سنوات·discuss
It won't replace JVM/CLR. Rust community is pretty against GC and even though lifetimes are wayyyy better than C memory management they're not nearly as convenient as GC.

If Rust ever gets a good GC it might very well replace VM languages. But even if they started now, it would take years.

Rust also has long compile times. Java and C# projects, even huge ones, build in a couple seconds because compilation is done in JIT. Go is AOT but sacrifices some performance for fast compilation too. It's important for a general purpose language where performance is not #1 concern but maybe #2 or #3. Same story as GC. Sacrifice a small amount of performance for convenience. That's not what Rust is designed for.

Rust is positioned as a systems language to replace C dialects and it that I think it will be wildly successful
throwaway189262
·قبل 5 سنوات·discuss
Depends on how fast your connection is. For DSL, anything will do. I picked up a TP-Link Archer C50 V4 for $22 and it's fast enough to shape and route a 12/2 DSL link while sweating a bit.

The sub model matters. Some manufacturers like TP-link change the hardware without updating model name. You can see the version number of hardware on the serial.

There's a crapton of routers supported. There's a supported device list and a bunch of Reddit/forum threads on the OpenWrt forums about best devices. The best device is the cheapest one you can get on eBay or clearance that works well with OpenWrt and can handle your network speed with SQM. Beware of devices with working OpenWrt but broken Wifi or broken 5ghz. This is by far the most common broken driver in otherwise working OpenWrt devices.

In general, MIPS and other weird architectures are the slowest, old ARM like v6 are faster, newer ARM pretty fast, and X86 is fastest. See list of SoC's https://openwrt.org/docs/techref/hardware/soc

Dual+ core variants of these architectures will handle more speed too. I would estimate single core MIPS is good for 15 megabits SQM, single core "old" ARM maybe 30. Newer ARM chips like Cortex 8, maybe 70 single core. For more cores just multiply those numbers.

Above ~300 megabits an x86 PC made with used parts will be cheapest. I have heard higher end Raspberry Pi are quite fast routers as well. For these options you will need a "dumb" AP for WiFi and just plug all the traffic through the wired shaping router with dual NIC's right between the modem and rest of your network. One NIC for LAN other for WAN side.

TLDR: If you don't want to fuck with anything, have $250, and don't have more than 200 megabits connection, get an R7800.

Other options can have things like crazy flashing process or broken stuff or unofficial builds or split AP/router or just take more research to find.

R7800 is wildly popular, well supported, fast-ish, has a lot of flash and ram, and somewhat easy to flash (you still to setup tftp on a Linux box to do it).

See my other comment about enabling per-ip fairness, it's an "advanced" option for piece of CAKE SQM script but it's easy to setup
throwaway189262
·قبل 5 سنوات·discuss
Yeah, I haven't lived in the sticks for some years and EV chargers might be more widespread than I thought. Rural folks still love their ICE cars though for sure
throwaway189262
·قبل 5 سنوات·discuss
See my reply to sister comment
throwaway189262
·قبل 5 سنوات·discuss
Linksys WRT 3200 and Netgear R7800 are the fastest popular OpenWrt routers. You want a popular ones because they are usually least broken and easiest to flash. Be warned, some routers have broken 5ghz and other issues. Make sure to check the OpenWrt device page before buying. I have seen forum posts that these routers can handle 300 megabits+ but not sure about 1gig

Your best bet for such speeds is running on X86. OpenWrt runs fine on regular desktop PC if you use hardware with good Linux support. Especially be cautious of the wifi drivers/device. Or, you can traffic shape with the PC using two gigabit NIC's and leave the wireless to a "dumb AP" regular router.

So yeah for one gig shaping I think the best option is a regular X86 machine with good NIC's (Intel maybe). You can get fanless ones sold for home theatre. Or, what I recommend, use a regular PC in a cheapo case with Noctua A Series fans. Even at max speed Noctua A fans are barely audible. And you can turn them down in BIOS if you get a decent mobo

You can try it with an old machine first but make sure it at least has PCI Express. Old school PCI slots only have 1gig of bandwidth so having two (one lan, one wan) will max out the bus. My first gen core i5 750 was able to shape at 400 megabits with the bus maxed out :)

I'll add to this, to get holy grail per-ip balancing with SQM CAKE you need to enable an advanced option. See https://openwrt.org/docs/guide-user/network/traffic-shaping/... section "To enable Per-Host Isolation"
throwaway189262
·قبل 5 سنوات·discuss
Most gigs jobs are exploitative.

You're not setting your own rates. You can't choose which rides you take. You can't follow your own rules.

Remember when Uber was giving back to back rides to drivers that had Lyft driver app installed so they couldn't effectively drive for both? That doesn't sound like freelance work to me.

Much of the pay structure is based on hitting a certain number of rides per week. So to get "decent" pay rate you need to work a certain number of hours.

Sometimes the company even owns your car and leases it to you contingent on doing a certain number of rides.

And you have no input on which rides you get once you go online.

It's nothing like traditional freelance work. It's more like high tech pizza delivery driver. And those workers are all considered employees.
throwaway189262
·قبل 5 سنوات·discuss
Contrary to microservice cargo cult, it's possible to build a relative monolith that scales infinitely. The bottleneck is the db, but if you have a schema where data is easily sharded you can scale it infinitely.

There's plenty of giant monoliths that scale fine. Like Google's analytics and gmail. If you have a database that can scale microservices are more about isolating code between different teams than any performance advantage