Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Bloody
Mar 3, 2013

compostability more like

Adbot
ADBOT LOVES YOU

Bloody
Mar 3, 2013

MALE SHOEGAZE posted:

ok whatís the best blogging option in 2018? this is about shameless self promotion and not a burning passion to share my ideas with the world so im willing to pay i guess. ideally thereíd be analytics i guess. not sure about comments: id guess that comments generate more traffic but it gives people an opportunity to point out how stupid i am right there in the blog, as opposed to offsite.

also people with blogs: do you think itís helped your career much?

https://dev.to/

Bloody
Mar 3, 2013

write it in fullstack rust

Bloody
Mar 3, 2013

I would blog if I had anything interesting to talk about at all that wasn't just straight up violating ndas

Bloody
Mar 3, 2013

Maybe use a real editor

Bloody
Mar 3, 2013

eschaton posted:

faculty and TAs at Carnegie Mellon didnít give a poo poo what tools we used for our assignments as long as submitted assignments compiled and ran and such with the course tools

of course, this was in a more civilized era

honestly, being able to use a graphical debugger while my classmates struggled with dbx was pretty affirming of my technology choices

my algorithms prof took this a step further and didnt even care what language we did our assignments in. poo poo owned

wish i could go back in time and take that class again, except pay closer attention and use an interesting language instead of kinda loving around and using java

Bloody
Mar 3, 2013

i just want to write rust and get paid for it

Bloody
Mar 3, 2013

MALE SHOEGAZE posted:

let's do a startup

let's do it. I have no viable product ideas

Bloody
Mar 3, 2013

carry on then posted:

i'll draw BLOCKCHAIN somewhere on the whiteboard, you can start with that

no

Bloody
Mar 3, 2013

jit bull transpile posted:

I have an actual product idea but it would be subscription based and I'd want to HQ in Milwaukee instead of the stupid sf bay so it's doomed from the start probably.

can I work 100% remote

Bloody
Mar 3, 2013

the stupidest thing about latex is how you have to keep re-running the compiler until the results look right

Bloody
Mar 3, 2013

it is wild to me that there are people who unironically laud go's error handling. have they never used an adult language before

Bloody
Mar 3, 2013

ctps:
code:
using System.Linq;
using System.IO;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            var a = File.ReadAllLines(@"C:\a.txt");
            var b = File.ReadAllLines(@"C:\b.txt");
            File.WriteAllText(@"C:\c.txt", b.Except(a).Aggregate("", (x, y) => x += y + "\r\n"));
        }
    }
}
there is probably a trivial tool for this, isn't there

Bloody
Mar 3, 2013

Peeny Cheez posted:

:wrong:
code:
grep -vxF a.txt b.txt > ur_mom.txt

:wow:

i think doing the dumb thing in c# was effectively faster for my doesnt know a unix brain but i am not surprised that it is a trivial grep

Bloody
Mar 3, 2013

Peeny Cheez posted:

It's not the worst solution but as the files get larger it'll get poopy

yeah for sure. the problem space is limited to four text files each a hundred lines long that I wanted to gently caress around with earlier today so I feel good

Bloody
Mar 3, 2013

gonadic io posted:

are you sure the lines you're matching will be exactly identical? better spend 6 months adding a machine learning solution imo

it doesnt take nearly 6 months to include a levenshtein library and pick an arbitrary threshold

Bloody
Mar 3, 2013

i have found an excuse to spend my friday at work writing rust

Bloody
Mar 3, 2013

it is a state machine that supports testing a system. it talks to a system over udp, and uses a couple threads to do so for reasons

im actually encountering a cumbersome pattern right now in my state machine logic. steps in the state machine are a function of the current state and the time in the state. the state is an enumeration, but the time is a float. as a result, my match looks like:

code:
match state {
    State::first => if time > 5f32 {
        Some(State::next)
    } else {
        None
   }
...
}
I'd like to just match (state, time) and then say like
(State::first, > 5f32) => Some(State::next)
(State::first, _) => None
but that doesn't work (obviously)
is there a pattern i could be using here that does work? I'd like to be able to clean it up to much fewer lines

Bloody
Mar 3, 2013

a ha! i was at the top of that page just now. thanks!

i wonder if i could write a clippy lint to detect the dumb thing i was doing instead and recommend match guards...

Bloody
Mar 3, 2013

is there a term for shoehorning systems into the same interface even if it doesnt make any sense

other than square peg, round hole

Bloody
Mar 3, 2013

update resume

Bloody
Mar 3, 2013

i go to the company holiday party and get plastered on free booze

Bloody
Mar 3, 2013

c tp s: fighting with the float_cmp library for fuzzy float comparisons. for some reason my floats are a surprising number of ulps apart!

Bloody
Mar 3, 2013

also, using debug_asserts for test-time invariants has been beneficial

Bloody
Mar 3, 2013

AWWNAW posted:

and poo poo probably more lines of code than the actual system

that's not really a bad smell though

Bloody
Mar 3, 2013

tests are to prove correctness of your code

Bloody
Mar 3, 2013

http://mikehadlow.blogspot.com/2012/05/configuration-complexity-clock.html

Bloody
Mar 3, 2013

i would just use rust

Bloody
Mar 3, 2013

no idea what that was a response to but i stand by it

Bloody
Mar 3, 2013

wireshark/wireshark with plugins?

Bloody
Mar 3, 2013

i got some value from the various things on http://www.aosabook.org/en/index.html

Bloody
Mar 3, 2013

gonadic io posted:

ctps: adding a field to device telemetry here requires 7 different pull requests and deployments. Each service/pipeline has a different enrichment process and so it's own data schema (and half of them use different data transport technologies).

It's taken me a week to add a "butts": true to messages.

What's a not poo poo way of doing this? Everyone at work is adamant that each of the stages is unavoidable complexity and totally needs to exist

I can do it in one except it silently breaks a subset of the consumers and there's no way to know in advance which consumers are liable to break

Bloody
Mar 3, 2013

I blanked on it for a year then saw an excuse to use it at work

Bloody
Mar 3, 2013

Triglav posted:

is knowing only c decently employable

extremely

Bloody
Mar 3, 2013

why would you learn modern c++ when you could just learn rust

Bloody
Mar 3, 2013

rls just crashes nonstop

Bloody
Mar 3, 2013

i casually checked out pycharm the other day with low expectations because i have had some negative historical interactions with various jetbrains tools but i was blown away at how good it was at everything

Bloody
Mar 3, 2013

vhdl and verilog are cursed languages and hardware is a nightmare tarpit

Bloody
Mar 3, 2013

lets start the yospos consulting group

Adbot
ADBOT LOVES YOU

Bloody
Mar 3, 2013

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply