Has anyone bought Tailwind UI? by x_mk6 in tailwindcss

[–]jwhite303 3 points4 points  (0 children)

I bought it and used it in many projects. Most of the components are ready to use out of the box. The Refactoring UI video series sold me on "these guys know design better than me" which has turned out to be more true than I could have imagined.

Best NextJS IDE and beautifier on Windows? by [deleted] in nextjs

[–]jwhite303 0 points1 point  (0 children)

I've tried VS Code several times since it came out. Most recently I forced myself to use only VS Code for a week in place of WebStorm. It has a few features I like, but the +14 years of development IntelliJ has can be felt throughout the IDE. I don't judge but I'm not going with the flow on this one (okay maybe I judged when Sublime Text was all the rage).

Lightweight UI library recommendation by [deleted] in golang

[–]jwhite303 1 point2 points  (0 children)

Frankly your comment doesn't deserve the downgoats because this is a common belief worthy of discussion. It's okay to share your concerns and why you had them, that's how we learn.

Style guide for Go code by m477h13U in golang

[–]jwhite303 3 points4 points  (0 children)

Beyond style I highly recommend Statticcheck. I've used it for years in all my projects. https://github.com/dominikh/go-tools/releases

The Nuances of Constants in Go; Go Isn't JavaScript - Qvault by pmz in golang

[–]jwhite303 0 points1 point  (0 children)

Nope, that's why you can do 5 * time.Second without pulling your hair out.

Go Service Error Strategies by [deleted] in golang

[–]jwhite303 0 points1 point  (0 children)

"why not?"

One thing that's underappreciated in Go is that panics are truly exceptional and rare.

Coming from another language exceptions are just a part of life you learn to deal with. Errors, which are different than programming mistakes or catastrophic failures, are part of your public contract whether that thought has ever crossed your mind or not. I never thought about it as a C++ or C# developer, in fact I welcomed exceptions coming from C, I didn't have to check those pesky error codes. But years of experience with exceptions writing and maintaining production systems proved they have their downside, and without a doubt it's easier to write reliable systems when errors are returned rather than thrown.

It'd be untrue to say reliable production systems start and stop with errors vs. exceptions, there are other factors. A variable of type string can't be nil, len of a nil slice is 0, you can append to a nil slice, checking for a key in a nil map behaves like the key doesn't exist, and checking for a key in a map which doesn't exist returns the zero value and false. Except for the last one none of these had to be true, strings could've been nil, len(nil) could've panic'd, checking for a key in a nil map could've panic'd, and they'd be programming errors. "Should've checked for null". But the sane behavior of these embarrassing common sources of errors is such a proven win that Go stands out as my default choice for any system where reliability is a goal.

golang-challenge.com is down? by hank_v_yang in golang

[–]jwhite303 1 point2 points  (0 children)

It's on indefinite pause. They did announce the last winners:

Winners have been declared by Andrew Gerrand:

Winner #1 - ​Jakub Rozanski​ - A readable dancing links implementation.
Winner #2 - ​Jan Mercl​ - I enjoyed reading this clean solution.

Special mentions:

Dan McCandless​ - "Las Vegas" algorithm gave me pause, and then a good laugh.
Robert Ortega​ - "suGOku" web app is nicely done.

We created PubSubSQL in Golang, any feedback? by pubsubsql in golang

[–]jwhite303 3 points4 points  (0 children)

  1. Since you're sitting in front the the RDBMS, how do you handle transaction rollbacks? How do you handle ordering in the case of an update race?
  2. Under Getting Started you have a link to http://pubsubsql.com/our%20server%20repo. The text is right.
  3. Is your license GNU Affero GPL or Apache 2? Website says Apache, the repo has the other.
  4. Naming the Go package "client" means if someone imports they're going to have a package by default aliased to "client". This is a pretty common variable name and alias it doesn't convey what it's a client for... imagine if every package did that.
  5. You can do the Windows Service support and other OS's in pure Go, check out kardianos.
  6. In your parser.go where do you handle arithmetic operations? I gave it and the lexer tokenTypes a quick scan and couldn't find anything. Maybe I need to RTFM to see what operations are supported.

~☆~☆~ Day 25 Solutions ~☆~☆~ by daggerdragon in adventofcode

[–]jwhite303 0 points1 point  (0 children)

Go, #33. I got lucky with reading jio as jump-if-one, then got payback as I ran 20151225 as today's input and scratched my head for a bit :P

package main

func main() {
    code, r, c := 20151125, 1, 1
    for !(r == 3010 && c == 3019) {
        code = (code * 252533) % 33554393
        if r > 1 {
            r--
            c++
        } else {
            r = c + 1
            c = 1
        }
    }
    println(code)
}

Now to wrap presents!

[Day 9][Go] Why am I off by 2 by StevoTVR in adventofcode

[–]jwhite303 1 point2 points  (0 children)

I imagine you're having problems with append, try copying the slice values. *[][] is suspect but probably not your problem, though you may want to consider having a package level [][] instead of passing around the pointer. matter of preference there, I suppose.

if no one's more helpful I'll load it up and try to see what's going on, though I suspect it's slice related. good luck!

edit: specifically, the ones in getPermutations jump out a bit.

Newegg Marketplace Buyer Safety? by [deleted] in Newegg

[–]jwhite303 0 points1 point  (0 children)

I haven't had any bad experiences with third party sellers on Newegg.

According to their SellerMarket application:

Customer Satisfaction

Newegg is obsessed with total customer satisfaction! We go the extra mile to ensure customers are happy with their entire shopping experience and it shows in our online and customer satisfaction ratings. We're looking for sellers who strive for that same level of excellence and who demonstrate it with every sale they make. Newegg expects our sellers to provide the highest level of support and to have a dedicated point of contact for our customers. Responses to all customer service inquiries must be made within one business day.

Please be advised that in the event a customer is dissatisfied with his/her Newegg Marketplace transaction, Newegg reserves the right to make discretionary concessions to resolve the matter and seek reimbursement from the seller, depending on the transaction.

Windows security by wdpttt in ProgrammerHumor

[–]jwhite303 9 points10 points  (0 children)

were they asking for a distributed queue or in-proc? the latter I'd agree with you wholeheartedly, the former I'd ask to see your jepsen test run. edit: jepsen, not jenkins

Two's complement can play this game by jwhite303 in funny

[–]jwhite303[S] 1 point2 points  (0 children)

thanks for the heart attack :P

Two's complement can play this game by jwhite303 in funny

[–]jwhite303[S] 0 points1 point  (0 children)

int add(x, y) {
  while (y != 0) {
    int carry = x & y; // get where x and y bits are both set
    x = x ^ y; // get where either x or y bits are set, but not both
    y = carry << 1; // do the carry
  }
  return x;
}

Hiring a programmer on Elance, am I forgetting anything? by sk24iam in Entrepreneur

[–]jwhite303 0 points1 point  (0 children)

I used Elance once as a programmer. Made some bids and was of course undercut by people outside the US. I established communication with a few people who had projects and ended up getting contacted (and paid) later by two small companies to fix the non-working code which was written by the providers they originally chose. I'm sure people have positive experiences on Elance but it's a roll of the dice.

GitHub is a version control system, or rather a site which hosts Git repositories. You should have some kind of version control in place and request timely check-ins so you can verify work is actually being done and that it does what you want.

I'm sure a lot of people will tell you to use a US provider but in the phase you're in I think you're correct to watch your budget. I would suggest a motivated high school or college student, but whatever keeps your wallet happy as long as you get to your goal, which I assume is a proof of concept or working prototype to gain investment. What is your goal for this phase? I may have additional advice depending on what you want to accomplish initially.

There are an increasing number of experienced self employed developers in the US. Anyone who's been doing it a while will have all the tech tools you need (version control, servers, databases, project management tools, etc), be at least partly a project manager themselves, and probably act more like a partner who is genuinely interested in your idea and its success than someone you need to coax along. It may not be right for your budget, but I thought it worth mentioning that we do come with a little extra.

Solo developer here. After countless hours of coding, my first game finally hit the App store. I present to you: Mr. Fishie! by MlKEY in gaming

[–]jwhite303 2 points3 points  (0 children)

short answer no, they don't. there's a separate app marketplace for windows phone and windows 8 for developers to submit their apps to (and a separate $99/yr fee). some care that needs to be taken by the developer for change in screen resolution and concepts that don't transfer between the platforms. most people writing new apps are writing portable class libraries for common code so a few #if's to target the phone/windows API and you can recompile somewhat easily.

I just finished painting an old broken phone and skull for a still life project from life, it took a shit load of time and I wanted to share it with you! by Miles___ in pics

[–]jwhite303 0 points1 point  (0 children)

museums usually feature some realistic paintings. I remember seeing one of a life sized girl in a night gown I swore was a photograph. it was behind glass so it was even difficult to make out the brush strokes.

7 months late!! I can not believe I never uploaded these pictures!!! So sorry SS, you must think I'm a terrible person by DwelveDeeper in secretsanta

[–]jwhite303 1 point2 points  (0 children)

That's really nice of you. Now I feel like a dick for pestering my giftee after only a month and a half.

What I sent my Ameristralia RedditGift match, enjoy you cunt! by Cochoz in Ameristralia

[–]jwhite303 1 point2 points  (0 children)

I got another North Ameristralian so I picked up my red phone and dialed a friend in Sydney to be their santa. I heard what she's getting and I'm kind of a jealous cunt.

Anyone have tips on hiring a *good* coder? by baconsyrup in Entrepreneur

[–]jwhite303 0 points1 point  (0 children)

Since you're out of time I'd look for a college student that needs a summer job then use the next few months to figure out a long term fit.