HNHacker News
TopNewBestAskShowJobs

_betty_

112 karma · joined July 10, 2014

submissionscomments
_betty_··on CSS Grid changes everything [video]
but that's kind of the beauty of css grid, the gracefull fallback is basically mobile view which you already put effort into.
_betty_··on CSS Grid changes everything [video]
you'd have the same issue between a desktop and mobile user. i don't see it as an issue at all.
_betty_··on CSS Grid changes everything [video]
what's wrong with giving older browsers a different experience?
_betty_··on Canary Releases in Practice
Add a hash or version to your CSS/image URLs. Store them all on same CDN.
_betty_··on Dangers of CSV Injection
this used to be common with txt files and IE's terrible practice of sniffing content. It would see a txt file that contained html and display the html instead, it could then pull in a secret silverlight file that was mascarading as a docx file as they are both simply zip files. Even more amusingly silverlight and docx contents don't clash so it could still be a valid docx file if you opened it, and the txt file would look like txt even though it was really rendering html with a hidden silverlight app.
_betty_··on The new ASP.NET Core 2.0 packages can no longer be used on .NET Desktop
.NET Core is the rewrite/reimagining of .NET

.NET Standard is a standard that the 3 different implementations of .NET try implement (.NET, .NET Core and Mono). Any implementation of .NET Standard can add in extra functionality, hence superset, it's a bit silly.

.NETFX = .net framework.

their naming is a mess.

_betty_··on Cargo Cult Agile (2008)
I typically find the same about Software Architect vs software architect - eg the Job Title vs the activity that decent developers do.
_betty_··on Avoid Non-Microsoft Antivirus Software
normally docx viruses are simply VBA scripts but sometimes they exploit an active x embed or image rendering bug.

However other times things like browsers do dumb stuff:

docx files and silverlight files are both just zip files with completely different structures meaning they can live together in the same file.

IE used to look at txt files that contained html tags and say hmm maybe i should display that as html

that meant on sites that accepted txt and docx uploads (a lot of recruitment sites etc) you could upload a txt file that simply embed the docx as a silverlight component. When the admin looked at the txt file it would run the code as the currently logged in (admin) user.

_betty_··on Ask HN: Switching from developer to project manager. What to keep in mind?
While I'd never recommend staying a career that you hate, I'm not sure switching to a position you think is cruisy is a great idea either. That's a recipe for under performance and bad management.

It does sound like you've never worked with a good PM, I'm not sure if I have either as I do struggle a lot with what value they actually add to projects.

99% of the time its better for people to speak directly and not relay information through other (probably non technical) people.

Of course you do need to limit distractions but I think you can set expectations with people about what distractions do and how often they should distract you.

Also find that a lot of PMs try play power games, I really think they need a new job title like Project Coordinator or something that sounds a little less in charge.

Interesting to see this thread has a very mixed idea of what a PM is, a number of people mention things I'd expect as part of a sales or BA role. I wonder if this is part of the reason people find PMs useless is that no one really knows what they should be doing.

_betty_··on Donald Trump’s Contract with the American Voter [pdf]
I thing the idea behind the removing existing regulations rule works better for software than it does for laws.

It basically boils down to Leave things tidier than when you arrived.

No massive refactor projects, just fix up little things when you're in the area. Sure you never end up with a particularly nice codebase but it's not getting worse and it's not costing the business massive amounts to make something prettier for little benefit.

Also works well with backlogs, especially for client projects, you want a new feature? what are you willing to drop off the backlog to get it?

It's generally well known that most products contain a crap tonne of unused features and removing them reduces technical debt (eg potential bugs, overweight/slow apps).

I don't see it as a hard rule to sell in software.

_betty_··on Happiness is a Boring Stack
Which in turn is normally defined by what you do at work. Eg I experiment a lot more at home when dealing with dull stuff at work
_betty_··on What should go into JSX 2.0?
admittedly there is the occasional moment I hit where I need an extra @ or @: so it's not perfect, but I have much less issue reading that format than the { true && <element /> } syntax, also think @if is a lot nicer than <if>.

Maybe just a personal thing.

_betty_··on What should go into JSX 2.0?
I'd love for them to adopt something similar to Razor (Microsoft server side html engine)

note: i've changed your example to show code inside html tags, i'm aware it does something different to yours.

conditionals

  <div>
    @if(cond1 && cond2) {
      <div>foo</div>
    }
  </div>

loops

  <div>
    @for(var i in collection) {
      <div></div>
    }
  </div>

variables

  <div>
    @variable
  </div>

ternary/longer statement

  <div>
    @(variable ? 1 : 2)
  </div>
_betty_··on ORM is an anti-pattern (2011)
Technically linq isn't an orm, but I guess there's still a lot of overlap with points in the article. Eg you still need to know SQL and the linq abstraction on top of that.

What I like about linq/EF is that it doesn't force you into other anti patterns (active record, repository etc) but that's probably just a matter of opinion.

_betty_··on Fizz Buzz in Tensorflow

  for(var i = 1; i <= 100; i++) {
    a[fizz +=3] = "fizz" + (a[fizz] || "");
    a[buzz +=5] = "buzz";
    print(a[i] || i);
  }
_betty_··on Study of non-programmers' solutions to programming problems [pdf]
Rewrite small bits of it when you're in the area adding features or fixing bugs.

Rewriting code that works and doesn't need new features is pure waste.

_betty_··on Announcing SQL Server on Linux
Their web/service tier are still windows, doesn't seem that likely that they'd rewrite them in .netcore fast enough to be off windows completely in the near future.
_betty_··on Markov Chain Monte Carlo Without Jargon
That post was still quite full of equations my brain didn't feel like processing at this time of night.

Used some google and found a stackexchange answer that I thought was clearer

https://stats.stackexchange.com/questions/165/how-would-you-...

_betty_··on Programming Languages in 2014
Will be interesting to see how Microsoft adopting GitHub and Open Source effects these numbers next year. Although I suspect the cross platform .NET support would make more of an impact.
_betty_··on JSON Patch – a format for describing changes to a JSON document
Of course it'd be hard to insert an item into that array...
_betty_··on JSON Patch – a format for describing changes to a JSON document
Considering how basic this is you wouldn't even really need a standard.

jQuery basically already has support for this exact thing, and it's only a few lines of pure JS.

$.extend({a:'b', b:2, c: [1,2]}, { a: null, b: 0})

← PreviousPage 3 of 3