skysight-inc/HackerNews huggingface dataset:
Fix-it-later leads to shoddy code though.

If you can have a clear understanding of the important concept (instead of a vague understanding) that can be reflected in a good name.

Good name meaning one that is descriptive, unambiguous, and reveals a crisp, not vague, concept.

Then with that good name, when you write the code the first time, the clarity of the concept will help you avoid logic pitfalls and messy constructs.

Not to say comments are always bad, but probably a comment won't be needed, because the name itself will reveal the intent.

Then later, when someone does come and edit the code, instead of having to come up with a better name, they can focus on whatever they came there for, and they can do so with a better understanding of each variable and what is going on.

The difference between the two approaches is really about where you spend your extra time related to naming. In my approach, you spend a little extra time up front. But it begins paying dividends immediately, as you continue writing the very first version of the code; it is easier to write clearly and correctly.

In your approach, you spend less time up front, and pour the code out faster, which might seem like a great thing. You also see an immediate payoff, because your process is fast. But then you (or someone who comes behind you) has to pay a heavy bill of technical debt.

When I read your comment I read it as a description of what your current practice is, not something that has been thought through a lot. Growing clear concepts is a great way to think about it, so that's a good line to continue with imho. I just think that part can and should be done up front. Sometimes it's worth a short conversation with another developer to see if you can agree on a good definition reflected in a clear name.

But you're also right that sometimes single word names work fine. And sometimes concepts are just clear and don't need much thought. Obviously those ones we can agree on. I'm more focused on the more difficult, or more vague ones, as a place where I think up-front quality naming is better than having the "fix-it-later" approach.
this is not Ubuntu with Unity7/X11 this is running Unity8/Mir and the UI was design for touch first Phones and Tablets and later on for Desktop. you can see here how it looks on the phone/tablet/desktop https://www.youtube.com/watch?v=aK06gUMuK-Q
If I recall correctly Microsoft did some regarding VB.
I have no tips to fix. When cargo went gold long ago I complained about this and I was told I'd get used to it. I never have. The test layout is painful and I really hope it gets changed or at least added. I want all my tests for a module in one place. I hope this stops being a problem.
Banks and brokers can't hold/manage/transact securities (stocks and bonds) for a US taxpayer because of an SEC -- unless they are SEC regulated, which almost no one outside the US is. Therefore, us taxpayers are also much less profitable for them even if the FATCA requirements are all satisfied.
Here's what I don't get: why is cross-region necessarily better availability than cross-availability-zone?

Regions are created for geographical proximity reasons. Availability zones are created for availability reasons.

Right?

Why do multiple data centers close to me have to go down at the same time, forcing me to use one far away from me?
I follow you. I take issue with "Female hypergamy is probably the real issue here.". That strategy isn't the problem. It's a constant in the equation. As far as men are concerned it might as well be Planck's constant. From a purely biological approach you should be more concerned about things that give the opposite sex a more competitive edge not declare that they should cease to be competitive.
There are laws that protect people from physical harm such as licensing for doctors or to keep people in certain fields from working too many hours (e.g. airline pilots and Emergency Room Doctors).
There are laws that protect patents, copyrights, and other forms of IP so that inventors, writers can get some returns on their work.

Then there are laws put in place by special interest groups to benefit themselves economically creating a market inefficiency (e.g. "rent-seeking") at a cost to others. In NYC, before Uber/Lyft came on the market the was a political restriction ("rent seeking") of 13,000 hailable cabs throughout a city of population exceeding 8 million creating a politically-induced scarcity. At times it was hard to get cabs, the value of a Taxi medallion was $1.2 million.

Then Uber/Lyft/Gett/Via came along and hailable taxis are more readily available at lower costs but the value of the Taxi medallion is now less than $750,000. Naturally the medallion owners fought politically to protect their politically induced scarcity that harmed consumers in both availability and pricing.

Many of the laws that Uber is countering is in the form of "rent-seeking" laws that create a market inefficiency benefiting special interests and that harms consumers in terms of availability and price.

It is wrong that taxpayer money go into enforcing these laws that benefit special interests over consumers. Tax money on law enforcement should be spent fighting violent crime and activities that lead to violence crime, insider trading and other forms of white collar crime, etc.
Export needs more work.
Thanks for sharing your story! I'll try and talk to the hiring team to look for indicators of such team politics.
Wifi sucks because Ethernet is still better in all aspects but mobility to this day.
Tablets are much more convenient on a commute.
Too much code in one place. Makes it hard to read the file and difficult to see what is code and what are tests. `wc` can no longer give you a quick approximation of code size either.
Debt is not magic. Somebody or something has to build the houses, provide the healthcare and education.
Basics for good design is to satisfy all: simplicity, flexibility, consistency, universality, familiarity. So users won't have to neither learn a lot to do something simple nor learn a lot for a lot of different cases, but intuitively reuse what they already learnt across all similar cases.

So, what can be made implicit is irrelevant, the proper question would be what can be done to improve user experience. And it's a lot, but the design by committee kind of process is going to work against it.
That's true, but the circumstances to which she is entitled the bonus are probably well defined. The article made it sound as if she was still entitled to the bonus, but was asked to not accept it. In this case, being asked to do something is a pretty loose definition, there's usually fallout from refusing these kinds of things.
What does OMR stand for? Couldn't easily find a definition for it.
A number of last-minute executive orders have been coming out. For example, he deliberately expanded the number of people who would have access to the Flynn wiretaps in the last few days of his Presidency. This can only have been done on purpose to help criminals to leak secrets (b/c if only a few people have access, they're easy to identify, but if hundreds do, they can do it). He also messed with the chain of command at DOJ in the last few days, as a trap so that when Jeff Sessions recused himself from a case, one of Obama's lieutenants would be in charge and be able to create havoc. There's more coming out every day.
I'll walk that last part back a bit, geographic size, and having sparsely populated areas, can make providing health care for all more difficult and therefore more costly. But I think it would be a very minor factor and Australia serves as a good example of that, it has a much smaller population but some of it is comparably far-flung.
And the writer's skill. The writer can add emotion, the videos are sterile in comparison (though that sterility has its own beauty).
I don't usually comment on the political stories here, but...

"How low has President Obama gone to tapp my phones during the very sacred election process. This is Nixon/Watergate. Bad (or sick) guy!"

It's just surreal to me that we've descended to the point where our President is communicating in this fashion. Not just the typos. The crazy hyperbole, lack of decorum, and the venue.

I worry what might happen if he uses this same approach with foreign relations. Sounds alarmist, but could the next war be started via Twitter?

Edit: A relatively good summary of the events that led here: https://twitter.com/justinhendrix/status/838010340579426304
You do see the problem with encouraging the erosion of mutual social trust? If "following the law" collapses as a percieved social expectation it would impoverish everyone.

That being said, it is clear that abusive and overwraught law and regulation invites this impovrishment.
Maybe spend a few bucks on a career counselor?
For what it's worth, this is generally where the "build a blog" type examples come in handy.

It's a simple, repeatable process that gets you through the basics of the architecture across the board. You'll get a couple of routes, a couple of controllers, a little bit of database access, a bit through the view layers and by the time you're done you'll have a simple app that you can experiment with. It's generally my go-to "learn the language" process for anything.

I didn't open source it, but here's a little write up on mine.

http://www.brightball.com/articles/insanity-with-elixir-phoe...
Most of your suggestions are quite standard and do make sense. I think its a little difficult to show that one will be a good team fit. (1) you are Indian, coming from a very different culture (2) One can have more of an introverted personality or a mixture of extrovert and introvert depending on who they are talking to)... Are you an HR?
If it helps, I took the class I made that converts between 4 Uint8Clamped values to a Uint32 value and vice versa into an NPM package at [0].

At the very least it can show you some of the gotchas with bit shifting in JS (like how values often look negative until they are placed into a Uint32array then they become positive integers, and how you need to check for endianness)

[0] https://github.com/Klathmon/BitPacker.js
Another thing that has helped Java was the decision to use a JIT.

Most Java JITs are able to remove code if it is proven unreachable, which allows to use pure Java code for what would be #ifdef in C, with the caveat that all branches must compile.
What I imagine happened based on hints of what Ms Mayer wrote is that the breach affected all employees bonuses for 2016. Ms Mayer would have been under pressure to forego her bonus and put it into the general employee pool and even then bonuses are likely much lower than previous years.
Taking this further, it could be a useful way for larger criminal organizations to identify potential undercover officers that have infiltrated them. I'm sure now that this information is public it will make it easier for drug cartels and the like to isolate and "remove" certain individuals.
Is the resistance to more high density housing in SFO just due to a NIMBY mentality? Building up seems like such an obvious solution and one that would only benefit the economy there - how much talent avoids moving to the Bay area due to the cost of housing and associated issues.

Lack of jobs is another economic signal but our recent election has shown that voters have an expectation that they will be able to stay in their communities (an interesting contrast to centuries of increasing urbanization).
hashcat v3.40
Breaking the law always erodes the fabric of society. Normalizing it is worse.

Certainly, there can be laws that are worth breaking. You should be extremely careful before assuming that's the case in any given scenario, and I don't think taxi rules are it, no matter how dysfunctional the USA might be.
Mostly India and China?
Anyone note the "I expressed my DESIRE that it be distributed among hardworking employees?" To me that sounds pretty empty. How about actually making it happen, Ms. Meyer? It would be a lot more palatable if she said she's distributed her bonus among YAHOO employees, full stop.
Keep at it. Keep leveraging your network. Even people you interviewed with who didn't call you back could be network potential. If there is racial bias you have to keep persevering because you won't be able to change them, and the alternative is a job you hate. Maybe you could look to move to a different department within your current firm?
So suspected of defrauding donors then.
good life? I'd settle for, make it possible for anyone who works hard to get by on food, clothing, shelter, basic medical care.
> how many want to get citizenship to the country issuing it (which for the US is quite a lot)

You're right that for the US it's a lot, though in my experience that's just because Hollywood is the best marketing agency on the planet, not because people make a well-reasoned decision on where to live.

I spent two years all over Latin America, and have now been in West Africa for 6 months. I meet people every single day that say they want to live in America. When I ask why, they say "because life is perfect there. Everyone has lots of money. Life is easy. There is no disease. There is no poverty. Everyone has lots of food. Everyone has a huge house with a beach view." etc.

When I explain that there are homeless people, people that lose their jobs, and people who struggle to make ends meet while working huge hours, people are completely disbelieving. They think I'm lying, because the TV told them otherwise, and of course people believe the TV more than some random guy.

When I suggest there are tons of other great countries (Australia, Canada, Scandinavian countries, etc.) they could live, they just shrug and say "I want America".

Hollywood has done a very good job of marketing America, but like all marketing, a lot of it is smoke and mirrors.
first, many people have this tight appartment situation. 10 ft is not reasonable, and i really wonder how you can accurately measure that you're 10 ft away from the router, and not a repeater ; which brings me to the 2nd point : yes you can connect to a coffeeshop : not all of them are equiped with open networks + sign-in pages, because those require to pay for it and not all shops can afford that. Last, you can still connect to your work place wifi, can't you? More personally, assuming you share your life with someone, how would you react if you were to discover such a device in your home?

...and NO, monitoring your kids isn't the answer since they can watch porn from anywhere else than your monitored home. I guess something like education should be better than repression?
>"You can't realistically expect end users to be in charge of keys."

Not but the OEM vendors and not MS should be the owner of the sole PK allowed in the engine. MS doesn't make the hardware yet they are in charge of it. I think that's the issue, it has nothing to do with a grand conspiracy.
It should not be that difficult to give honest feedback to someone who came onsite (from a different country) for the interview.
PCode was only up to version 6.

Version 6 introduced an actual AOT compiler to native code.

Also its older brother, QuickBasic, compiled to native code.

Incidently VB is now again being AOT compiled to native code, via .NET Native and CoreRT.
It saddens me to read this. And I know what I am going to say may not be popular but if anybody can contact the woman or if anybody is sick of such terminal disease your creator Jesus wants to save you. There are thousands of miracles happening everyday in his name. Please what have you got to lose science has failed you only believe in Jesus he wants to save you and your loved ones. I am a witness.

https://www.youtube.com/watch?v=tzZm6kyjYVk

https://www.youtube.com/results?search_query=t+b+joshua+amaz...

https://www.youtube.com/watch?v=fqQrT84kjc4

how is the above possible. Please belive in Jesus he wants to save you and heal you. Its the devil killing you.
Many mid size urban areas (often away from the coasts) are having a small renaissance and have a thriving local culture.

Rural areas aren't a cultural wasteland either. Urbanization had been a consistent pattern for centuries now - decreasing economic opportunity isn't anything new to rural areas.
>non-city areas are cultural wastelands

That's quite the broad brush.

Most desirable locations are pretty much by definition going to be expensive to live in. Well, some people like the sunbelt and it's less pricey than the coastal cities that people like. In any case, cities create their own culture. There's nothing unique to a handful of coastal areas that are in vogue with the tech crowd.
Wow, I wish every academic paper were that useful to the layman. Free download, well-explained list of antipatterns, in-document hyperlinks to code samples so you can recognize the antipatterns, suggestions for renaming. Thanks very much for the link.
It seems logical if you don't understand how floating points work under the hood.
Are you this confused when you see TV and movie reviews on the Guardian too?

> Also: Who the ____ looks at HTML titles in the source code?

Why are you now pretending you don't know where a page title is visible?

> This is what I see in Chrome: "Irene Clannell: I was forc..."

That's not what I see in Firefox or Chromium, but then I don't hide the title bar; if I did, I wouldn't try to blame the Guardian for it.
if ny or sf didn't have rent control it would now be a cultural wasteland just like the valley.
Failing to See, Fueling Hatred
In the UK most of the private insurance is "top up" type insurance where you go to an NHS GP first, but then can ask to get referred privately if your condition isn't serious enough to get you seen by a specialist "quick enough". So you are paying mainly for extra convenience and speed over what is medically necessary, which also makes these insurances cheap, since with most of them you'll use the NHS for anything urgent.
He says he pays $5000 for the US return and I can confirm Turbotax works just fine for filing US tax returns while living abroad. They're overpaying.
Tip of iceberg. I'm a divorced father of two sons and lucky enough to have a position that gives me some (not a lot) of flexibility in work schedule. The Courts, as many divorced fathers will say, haven't heard the news about the ever increasing decline in the 'Dad Job'. In my state thousands of men are in jail for non-payment of child support because the 'Dad Job' isn't available in this state.

Progress toward the agnostic treatment of men and women in raising children, providing for the household, and making a home is still far behind the reality in most (not all) Courts, despite claims to the contrary. It took most of my net worth to ensure my presence in my kids lives would be regular and meaningful and to ensure child support reflected my former wife's multi-million dollar net worth.

Perhaps a level playing field is emerging as the 'Dad Job' declines, I don't know. Its of little benefit to the tens of thousands of men in the United States whose reality is of no concern to anyone.
Why is this a big deal.
So why is it so laggy in the video?

I actually would really like a linux system suitable for a tablet that you could connect a screen and keyboard to for proper work, but I'd like it to run a bit smoother than this.
I build public Wi-Fi networks, you've probably used one of them. AMA if you have Wi-Fi questions.

To say it "sucks" is a bit harsh. It's delivering multiple hundreds of Mbps to you via an unlicensed contention-based medium. The air interface is like sending packets over a noisy Ethernet hub; it's impressive it works as well as it does. That said, this article's a good primer on some of the protocol's fundamental challenges.

In the coming years we'll hear more about 802.11ax, which is thankfully focused on efficiency vs. raw numbers, but likely won't be ratified until 2019/2020.
Well, it is not like he was speaking on behalf of someone else.

It was HE that would be taking the job -- so why not make sure it's the job he wanted in the first place?

If he was desperate for any job AND still said that, then he would be indeed self absorbed.
Node-PowerShell (Easily run PowerShell from your Node.js app)
My day to day happiness quotient shot up the day I ditched my wireless wifi and ran Ethernet cables through my spaces. I'd realized I was constantly noticing wifi issues, and an apple mbp I use for email seems to drop wifi every half hour. But no longer, with them all wired up! Realizing there are USB3 to Ethernet gadgets really hits home how our modern technology is market-driven-dumb and anti-consumer: all modern laptops don't even have Ethernet ports anymore!
Uber’s Secret Program Raises Questions About Discrimination
There is a big shift in Ubuntu towards a GNU/Linux distribution that uses snap installation packages instead of the traditional .deb packages.
The video shows an early preview of that future distribution and I think it is the first such video.

These snaps are a big thing (see https://snapcraft.io/).
Universal packages, with confinement, offering transactional updates.

For your case of this Core 2 Duo laptop, you can disable some of the fancy graphics effects in order to gain some extra speed. See how to do this at
http://sourcedigit.com/21432-2-ways-enable-unity-low-graphic...

There is supposed to be such an option in the Ubuntu Settings but I did not find it yet. See https://ufuntu.wordpress.com/2017/01/11/enable-the-new-faste...

edit: I wonder why the downvotes...
>The most common reason I've turned down very qualified candidates is that they didn't appear to want the job very badly, relative to other candidates, and didn't seem willing to extend much effort to appear interested in the job they were applying for.

So no ass-kissing, looking desperate or acting over-eager at working for some random company out of tens of thousands of other companies like it was a dream coming true?
You mean lte-u ,right ?

Why is there a difference between the interference of LTE-u to the interference of paid wifi,like wifi-offload ? And.how big is that difference ?
Is it a cultural thing (american?) that everyone here is calling her "Marissa Mayer" or "MM" or "Ms Mayer"? No one would say "Mr Mayer", or "Dave Mayer" or "DM" in a hacker news comment, they just say "Mayer". Is that a traditional thing, or is it specific to Mayer?
Makes no sense. The EU has a larger and far more diverse population than the US, and yet has universal healthcare and demonstrated exactly how to handle it if you're so diverse:

Just set up multiple systems. The US even has very convenient boundaries to split up the systems along: States, just like the EU.

Even most countries with universal healthcare further subdivides their systems. E.g. Norway (5 million people) operates regional health trusts that are largely independent. The UK (60 million) does the same on a larger scale (more trusts) and leverages the number of trusts to improve management of individual trusts by occasionally having successful trust take over the running of trusts where management is failing.

The "size" argument is almost always a total red herring.
>Want it badly might likely imply that you're dying to do the job you're applying for, and you're dying to work for this particular company.

How about not asking people to be "dying" for the job, but just be professionals?

Except if the target audience is starry eyed 20-year olds to exploit.

When did merely having a good resume and being professional gone out of fashion?
Surreal to see it covered here. I have been frequenting Greater Noida (& the region on the expressway) for a decade & have seen the extent of transformation that has taken place there. The real estate boom almost ended in a whimper with unfinished construction sites and unsold condos/flats rotting away in an Indianized urban decay. The crime was so bad that it was unthinkable to move on that route after 6 PM.
There have been improvements, with big names like ST Micro, Sapient, KPMG, Accenture renting offices in that area, however a bigger socioeconomic, positive impact is dampened because of inherent corruption, lobbying by real estate/sand mafia & bureaucracy.