u/boredTech - 36 Archived Voat Posts in v/programming
u/boredTech
  • home
  • search

u/boredTech

0 posts · 36 comments · 36 total

Active in: v/programming (36)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Vlang: new ultralight C-wrapper language with Go-like syntax, no GC

With the AST that's kind of what the .net setup was attempting to do. I'm actually not the biggest fan of what came about because of it. Too many people want it to do too many things.

I personally think having a language convert to .c covers that fairly well.

But, as for style converting front end. I'd say that would be a fairly good idea if you didn't get into the perl paradox where nobody could read anybody else's code. Not to mention if the algorithm is converting from something like haskell to algol you've have a small nightmare with trying to figure out if the person who wrote it was in their right mind or not. Imperative to imperative and functional to functional seems like it'd be ok. But, I don't see the swap between the two working out so cleanly.

0 23 Jun 2019 02:55 u/boredTech in v/programming
Comment on: Vlang: new ultralight C-wrapper language with Go-like syntax, no GC

I really don't get why every C based languages like to clutter up blocks with {} ALGOL did just fine with an END statement, and there are nice syntaxes that use whitespace to designate what block you're in. Just a pet peeve of mine to look at ugly over cluttered languages. Otherwise it seems like a nice project this guy put together.

0 22 Jun 2019 21:42 u/boredTech in v/programming
Comment on: How many apps do you work on at one time?

Last job I was a sys admin for one application, and ran about 5 ticket queues for sub functions (same system, but a platform that extra stuff could be built on). We didn't have a developer team left, so I was running source patches. Excessively low level stupid questions: Every fucking day. As my boss was a diversity hire, as was my coworker I did fucking everything. I was on call 24/7 but that stopped about a year before the job ended. Clients were shit at planning new features and maybe 1:20 ideas actually fell into contract. QA servers were shot to shit, but system was to complicated to mirror. Testing team, hahaha, no just release it into the business and fix shit when it didn't work.

0 03 Jun 2019 14:12 u/boredTech in v/programming
Comment on: Shaders are black magic

Just a lot of matrix multiplication. But, definitely a twisted mind that came up with a method to turn linear algebra into an elemental tool of graphics.

0 22 May 2019 16:41 u/boredTech in v/programming
Comment on: [Javascript] Project Euler #2 (and print answer) in as few characters as possible

it's not mine. (This is the 12 days of Christmas. Won an award on obfuscation. I still don't 100% know how it works.)

0 04 May 2019 13:46 u/boredTech in v/programming
Comment on: [Javascript] Project Euler #2 (and print answer) in as few characters as possible

Still not at expert level though

#include <stdio.h>
main(t,_,a)
char *a;
{
return!0<t?t<3?main(-79,-13,a+main(-87,1-_,main(-86,0,a+1)+a)):
1,t<_?main(t+1,_,a):3,main(-94,-27+t,a)&&t==2?_<13?
main(2,_+1,"%s %d %d\n"):9:16:t<0?t<-72?main(_,t,
"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l+,/n{n+,/+#n+,/#\
;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l \
q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# \
){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw' \
iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c \
;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')#\
}'+}##(!!/")
  :t<-50?_==*a?putchar(31[a]):main(-65,_,a+1):main((*a=='/')+t,_,a+1)
    :0<t?main(2,2,"%s"):*a=='/'||main(0,main(-61,*a,
"!ek;dc i@bK'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry"),a+1);
}
0 04 May 2019 05:10 u/boredTech in v/programming
Comment on: Becoming an automated software tester/ quality assurance analyst

You're fucked. Welcome to support.

0 10 Apr 2019 18:26 u/boredTech in v/programming
Comment on: Writing a Minimal IoC Container in C#

Holy shit, what fucking asshat decided that an article needs a conversation box to pop up with a noise indicator. Fuck I hate the new web.

0 09 Apr 2019 17:57 u/boredTech in v/programming
Comment on: DevDocs combines multiple API documentations in a fast, organized, and searchable interface

This ad brought to you by DevDocs.

*Warning DevDocs may cause rectal bleeding, urinary tract infection, and cancer (cancer of the anus).

0 25 Feb 2019 20:18 u/boredTech in v/programming
Comment on: Whats a good tea to drink when programming?

Coffee, wonderful tea. Comes from Columbia.

0 21 Feb 2019 03:22 u/boredTech in v/programming
Comment on: Stupidest Mistake you've made lately? Here's mine.. Just locked myself out of a new server.

Write that shit down. Put the sticky in a book and put the book onto the shelf. Findable, not 100% data security, but you really need to know where and what you are looking for.

0 05 Feb 2019 22:14 u/boredTech in v/programming
Comment on: As of today, Microsoft officially owns GitHub

cynically my ass. they are full on coolaid drinkers.

https://developer.microsoft.com/en-us/fabric

https://docs.microsoft.com/en-us/microsoft-edge/windows-runtime

0 26 Oct 2018 18:51 u/boredTech in v/programming
Comment on: As of today, Microsoft officially owns GitHub

Time to enjoy watching javascript projects get wrecked.

0 26 Oct 2018 15:32 u/boredTech in v/programming
Comment on: SQLite introduces it's own Code of Conduct

slap an api server that works with the file on top of that and problem solved.

0 23 Oct 2018 13:46 u/boredTech in v/programming
Comment on: Java's new Z Garbage Collector (ZGC) is very exciting

Hurrah, watch as new jvms hit the world untested and provide tons of data leaks. WOOO!

0 11 Sep 2018 19:49 u/boredTech in v/programming
Comment on: Rust despite Mozilla?

This type of BS is why I don't like even trying to touch open source projects. Far too many communists running around that community these days.

0 29 Aug 2018 06:49 u/boredTech in v/programming
Comment on: Rust despite Mozilla?

My favorite language haskell is kiked out the ass. Doesn't mean that it's a bad programming language. Probably something similar is going on there.

0 28 Aug 2018 19:09 u/boredTech in v/programming
Comment on: C/C++ inc/decrement operator style

Dumbest argument of all time. Both operations are in O(K) time. Who gives a fuck?

0 09 Jun 2018 23:58 u/boredTech in v/programming
Comment on: What are your Site Hardening Tips?

why would a VM be any more secure than just running a masqueraded address/virtualhost?

And when it all goes to shit can you just bounce open an image from when the system wasn't going to shit. It's not the best solution, but it saves your work. Take Murphy's Law to heart.

Physically same NIC and hardware etc, so you're assuming the VM somehow jails them into the VM environment?

No, but it does provide an extra layer of defense. Jails can always be broken, but it requires a specialized worm to get through them. Whoever is attacking you will have to have that specialized bit of code to break the jail. Look at https://www.qubes-os.org/ for an idea of why they do this.

just that I generally prefer the reduction of complexity

In my experience, that's a good principle, but what you think of as complexity to somebody else comes as common sense and easy. You learn the tech and tinker with it. When it's no longer a complex thing to diagram and work with then it's just there as a wrapper around what you're already working with. You have the concept for what you want, you're looking into how to defend it. To a security person it may be more annoying to design a webpage (because they don't know how to make it easy) then it is to secure a server. Different areas of knowledge.

I am using a Virtual Server on one project with really old code base though. What's your favorite these days?

I don't have one. I work with assholes that push shit on me (updates, updates, updates) and the things I like are taken away. Honestly, windows isn't that bad, but flakey. Linux is solid (flavor really doesn't matter) but annoying to get stuff done on. But, in the end if you don't have full control over the server then you're hoping that the VS isn't on a shit system that lets the servers chat with one another and bang viruses everywhere (usually they're better then that, but I'm paranoid and get irritated when I have to put in a ticket to get something fixed (and then it doesn't)).

1 27 May 2018 08:01 u/boredTech in v/programming
Comment on: What are your Site Hardening Tips?

You're starting from the wrong end if you want to build a strong app.

If you're looking to lock things down you need your own server. From there you need to isolate it in a vm off of your network (you do not want the same IP as your home system). Setup a firewall on your router, host OS, and vm OS. From there you should lock down the vm OS to only work with the local IP address and remote into the host for modifying the system. Drop on docker so that it creates an image that you can take down and bring back up. Have it setup so that you can cycle these every 15 minutes. You also should have a load balancer to send to the correct systems.

This is just getting started. You are basically toying with XAMPP stack, which is fine for beginner projects, but if you want to build anything further then a toy you're going to have to learn a shit ton more.

Also, my preferred language for building webapps is haskell. Fuck, I wish it wasn't built by the jews.

0 27 May 2018 07:10 u/boredTech in v/programming
Comment on: What are your Site Hardening Tips?

a php ...

You're doomed.

0 27 May 2018 06:28 u/boredTech in v/programming
Comment on: Thoughts on XML - possible extra shorthand for closing tags
<cap>what<red>the</>hell</>

is hell red or capitalized?

0 06 May 2018 14:20 u/boredTech in v/programming
Comment on: Someone make a "let me ddg that for you" website

That, or she had some sweat yams.

0 06 May 2018 02:40 u/boredTech in v/programming
Comment on: Someone make a "let me ddg that for you" website

Because HR hasn't destroyed enough companies for communism to take over the country.

0 06 May 2018 02:38 u/boredTech in v/programming
Comment on: Someone make a "let me ddg that for you" website

I do, I also get away with too much shit. But, considering my user base has sent me back pictures of fonzie multiple times, I don't think my office is totally professional.

0 06 May 2018 02:29 u/boredTech in v/programming
Comment on: Someone make a "let me ddg that for you" website

Fucking Brilliant. I can finally link people on how to use a search engine! My tickets will be knocked out in no time!

0 06 May 2018 02:21 u/boredTech in v/programming
Comment on: Coding Saves

No, I work in a heavy manufacturing area. They offer 1.5 other areas and they are still only at 75% capacity because people applying are not passing drug tests or leave after the first day.

You do know that only about 2% of our country works in agriculture, right? Machines replaced the massive number of farmers we had.

Same thing happened during the industrial age. People broke the machines, but the machines were still there and it took a generation to move on.

It wasn't until we started rationing jobs

MF we were not rationing. People were dieing of too much work and being forced into this (this is probably one of the only things that I appreciated about what unions have done). Working people can still get second jobs. Nothing to do with rationing. It's actually more beneficial to companies as they have better workers cognitively and physically.

What do I want for data. Statistics. Show me how these union workers are better off then everybody else, and how little the unions are taking from them. How long do companies stay alive after they have unionized. How much does a companies debt blow up. You have to show that this is actually a working model for success of everybody involved. Otherwise I'm going to say you're full of shit and just driving your propaganda.

0 30 Apr 2018 12:14 u/boredTech in v/programming
Comment on: Coding Saves

You haven't got a clue about the IoT or robotics? I SAID DATA ASSHAT, NOT STORIES.

Only two real points of interest.

transportation, logistics, office/administrative support, and labour production

yeah, those jobs are dieing. transportation and logistics are being algorithmically replaced by scheduling software and self driving trucks. Nothing to do with my job.

office/administrative support

You don't need middle management when you have an app that keeps track of time.

labour production

which gets into

An April New York Fed survey found that 51% of manufacturing employers and 38% of business leaders had difficulty finding workers with these skills. The survey also showed that 57% of manufacturers and 34% of business leaders had difficulty in finding punctual and reliable workers:

People are too high to do their jobs.

WHAT YOU POSTED IS NOT DATA. The fact that you don't know that is very telling.

0 30 Apr 2018 11:56 u/boredTech in v/programming
Comment on: Coding Saves

You are just making an argument of appeal. Data. Show me data to counteract my instincts that unions (interesting how you capitalize the word) because the argument you are pulling is just fluff shit. You haven't shown that unionization would work, just that jobs are not opening. The teachers union is a giant pile of shit, the teamsters union is a giant pile of shit, i've seen several construction unions that are complete shit, been in a manufacturing union that was shit. Why would a programmers union be any fucking different?

You need to show; what jobs are being replaced, which ones are projected to be replaced, which ones are opening up, which ones are projected to open up. Show me HOW via HOW they have worked in these fields. Otherwise your just being fucking annoying.

0 30 Apr 2018 11:36 u/boredTech in v/programming
Comment on: Coding Saves

Basic economics 101, but unions are no longer a solution to ideas like this. If anything they turn into inefficient leaches that kill their host company and destroy the lives of those in the companies. Most of all of this bargaining should be between the workers and the organization WITHOUT some jackass union rep and an overpriced group of lawyers. Seen too many union jobs that fucked up everything.

0 30 Apr 2018 02:59 u/boredTech in v/programming
Comment on: Coding Saves

Robots are responsible for low wages, Trump and the Brexit

BLAH BLAH BLAH, ROBOTS R TAKEN R JURBS. Nice graph and how it shows the split in 1972 which is the same year as

Equal Rights Amendment

The Equal Rights Amendment which provided for the legal equality of the sexes passed by the U.S. Senate on 22nd March

Have fun with that.

0 29 Apr 2018 22:23 u/boredTech in v/programming
Comment on: Coding Saves

Just like the 40 hour workweek isn't enough for most industries today.

Oh do fuck off. What do you want? For everybody to have a nap time and roll into work when they want to.

0 29 Apr 2018 19:08 u/boredTech in v/programming
Comment on: Coding Saves

I'm not currently a programmer. Went through college for it, but because I took a course in system administration they pegged me with that. At this point I'm the only member of my team that runs our servers and modifies the apps codes, and run the help desk. I've done this long enough that I have a decent amount of downtime and don't have much personal growth in my job. So, bored. I can't get any of my other team members to do anything, and I have no desire to get them fired. Just waiting for a good point to move and let the whole system collapse. Will be laughing my ass off when I leave.

0 29 Apr 2018 15:13 u/boredTech in v/programming
Comment on: Coding Saves

Totally disagree. If the field wasn't flooded by unnecessary foreign workers the pay would match the skill level, and we could dictate our own terms. Competition to keep talent would be a thing again. Unions are not required.

1 29 Apr 2018 15:07 u/boredTech in v/programming
Comment on: Coding Saves

Getting worse

everybody believes in the "Cloud" so all jobs are being shipped off to amazon, along with the vast majority of online tech being handled outside of the states.

No necessity for innovation. We basically have everything necessary for business. As this becomes optimized and uniform the number of people required to do the optimization will decrease.

Silicon valleys death hold on tech. Basically, the vast majority of patents in the tech industry are held in sf. The reason why this is an issue is that if you want to do something that you think is new (like placing a game into a loading screen) has been patented already and if you do it you're going to be sued. This is why M$ oracle and goolog are more interested in buying patents and their competitors.

Why it is brutal.

Pajeets. MF Pajeets everywhere. H-1b has basically flooded our market with little street shiters that are useless. A recent study shows that 95% of them cannot code basic logic. But, we have several million of them in the country and they have driven entry level pay down to 50k at good companies. If you're looking to make 100k and go to sf then you'll be taxed so heavily that you'd be better off anywhere else in the country making 40k (seriously, when looking for a job look into cost of living).

On top of that the only way to climb the ladder any more is to change companies. Not that hard when you work for somebody small, but I have a non-competitive clause in my contract. And, my subcontract also has a non-competitive clause. The only way for me to really avoid getting shit on with a lawsuit is to go back to college for a couple of years then reenter the workforce. This isn't such a big deal when you don't work for two of the biggest companies in the world.

And, that's a good segway into the fact that you probably will not be programming. Developers spend more time writing documents, answering emails, and following the red tape then programming. Ever heard of Agile. It's a fucking adverb and does not exist. Agile is the method that my manager (mechanical engineer) who knows jack shit about programming is a project manager. Ever hear about Lean? It's how a company decides to knock out an entire project and kill 10k jobs. Ever hear about six-sigma? Get ready for statistics to cause you to sit in an office for hours listening to suits with boring power points saying how your metrics are shit.

Then there's the 60-100 hour work weeks. Get used to sleeping in your cubicle.


This is of course kind of a meta view of how shit is fucked up right now. Not everything is from my experience, because I have an OK position (means more suit time).

This is old, but worth a read. http://www.stilldrinking.org/programming-sucks

0 29 Apr 2018 14:29 u/boredTech in v/programming
Comment on: Coding Saves

Bitch would have been better off as a porn star. Tech is getting brutal here lately.

0 29 Apr 2018 12:50 u/boredTech in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.