News for hackers. Stuff that matters.

vpalanc1

Re:Some obscure C features on Friday January 26, 2018 @12:19AM (#16237188)
I think the other solutions proposed are better, but:

> Sadly, you can't set the value of an index in an array like that in the top level in C, only inside functions.

This is not exactly true. An assignment is a value, you can do e.g.

int a = b[x] = 0;

(which implies that you can do your array-index assignments at the global level by creating nonsensical/unused variables and initializing them).

Re:Data Classes for Java on Friday November 03, 2017 @11:01AM (#15619655)
YAGNI. Seriously. That pretty much describes the main problem with Java - "maybe we'll need this coffee maker to also do julienne fries in the future!"
Re:Fun facts about Rust's growing popularity on Wednesday November 01, 2017 @04:01AM (#15599508)
... and, it will be eventually closed. Maybe. Definitely before the program quits. Not sure that it'll be closed before you run out of file handles, though.
Re:I have no side code projects to show you on Thursday October 26, 2017 @10:35AM (#15559143)
> so no, I'm not going to do free work for you.

My current employer, when hiring me, said "Have you ever looked at the Firefox codebase? No? Good. Here, take this Firefox bug. Fix it by Monday, or at least analyze the root cause, and let's talk about it during the interview".

Needless to say, they had no interest in Firefox per se. It was just a cool open-source project, and a good way to give me "actual work" while making it plainly obvious that it wasn't for their own benefit/ they weren't looking for "free code via tech interviews"

Not "this" - @musgrove said he/she's rejected as "overqualified", so it's not a matter of being selected for interview despite lacking the experience
> are averaging 30-50 sqmt

That's still 1.6-5.3 times more than they used to be, according to the original claim. Seems less dramatic than 5-10x but for an apartment that already feels tiny, it's a lot.

Re:What happened when I opened a restaurant in Portland on Wednesday October 11, 2017 @03:37AM (#15447928)
> That chicken is a confit [...] plus cost of employees to serve

Is that really a thing in the US? Honest question, I'm confused. The justification for requiring 20% tips (and considering you "nasty" if you leave any less) is that the waiters in the US are not even paid minimum wage, they rely on the customer tips to make a living. So, which one is it? If they rely on the tips, surely they don't cost the restaurant owners any significant amount of $$, do they?

Re:Solar power grew faster than any other fuel in 2016 on Wednesday October 04, 2017 @05:43PM (#15404980)
Electric vehicles = widely-available high-capacity batteries = solar eats their lunch, very very quickly
Re:White House Looks at Replacing Social Security Numbers on Wednesday October 04, 2017 @02:44AM (#15398698)
I think what many Americans fail to appreciate is that all the safety guarantees that come with deniability + lax security have a (pretty big) cost, one that YOU are paying in the end.

Like - US for a very long while didn't use chip & PIN - but it was simple to deny the transactions and as a consumer you were somewhat well protected, despite lax security. But this generates large costs, and perversely, the cost/uncertainty affects the small businesses the most.

Yes, when I use 3DSecure for an online transaction, the bank shifts the burden of proof to me (a correctly-authorized 2-factor transaction cannot be simply challenged with a complaint at the bank, I have to prove that it wasn't me). Still, it's hard to argue that 2-factor for online transactions is consumer-unfriendly, even if the consumer loses the deniability

On our ops dashboard we see stuff like number of ID syncs, number of events processed (by type), etc. - I'd argue that is something is truly "broken" you see it.

If you're using funnel analytics to decide that the product is broken - i'd say you probably do something wrong.

Re:Stop Calling it ‘Identity Theft’ on Thursday September 28, 2017 @01:05AM (#15354788)
it's not silly, it's infuriating. I can't pay at the pump with my card, because I don't have a US ZIP (I do have a perfectly secret PIN that I can use everywhere in Europe, but US doesn't seem to care about that)
Re:The bank lent me $2m so I spent it on strippers and cars on Sunday December 18, 2016 @07:08AM (#13205507)
What if I play it on blackjack? It may be incredibly poor judgement on my part, by what if I totally intended to win & pay it back, with interest?

My point is that if I didn't actually do anything to deceive you into giving me money (like, I didn't claim that I have a millionaire father who's going to give you the money in case I lose at blackjack) - then it's not really deception on my part; it's just error and/or poor judgement on your part for handing me the money.

His advice flies in the face of every negotiation course/book. Yes, you must know the range they are willing to pay; but once you know... you don't wait for them to make an offer, you ask something at the high end of what they're willing to offer, possibly above (but close enough to) the higher margin(* ).

The one who first names the price forms the baseline of negotiation. Say their range is 100-140k. If you say, "tell me what you would pay" and they say 100K, you're screwed, no way you can say "150k" from there and still be taken seriously. If OTOH you say 150k at the start and are lucky enough to get the answer "no way we can give you more than 140k", from there it's a simple job of asking for an extra concession that you know they can make ("Hmm... ok, say I could accept 140k, but only if the company allows me to WFH when I need to")

( *) Of course, not from the start. He's right about that. They need to be invested in the hiring - if they already spent a lot of effort trying to assess your skill before making an offer, you're in a much better position to ask a lot. Presuming that they like you, of course.

Re:CIA declassifies hundreds of UFO documents on Wednesday January 27, 2016 @05:01PM (#10983851)
Except right now?
Re:An Offer to Sony from 2600 on Monday December 22, 2014 @05:19AM (#8782614)
I wouldn't put doxing in the same category as "web site graffiti and defacement". It has the potential to be psychologically every bit as damaging as rape...
Re:Bad Microsoft on Monday December 15, 2014 @03:42AM (#8751140)
It strikes me as incredibly... (foolish, arrogant, etc.) to think that one knows better how a set of certain people (programmers in this case) SHOULD organize their life/defend "their rights".

People, in general, don't want to be rich. They want to be happy. Programmers are a happy bunch, when you look at them in aggregate, and compare with other categories of professionals. They are happy to give away enormous quantities of their labour. They spread "egalitarian myths" because they are happy with their lifestyle, and want others to join in. Because they are so confident, that they don't feel they need monopolies to protect or improve their lifestyle.

You are making a fundamentally flawed assumption that programmers are not "smart enough to unionise". What if they are smart enough NOT TO unionise? What if they actually know better than you think they do?

Never assume you know better how one should live his/her life.