skysight-inc/HackerNews huggingface dataset:
Just tried with a new profile, and this comment is accurate.

This is the default collection that is on but can be opted out of: https://www.mozilla.org/en-US/privacy/firefox/#health-report

This is what users can opt into: https://www.mozilla.org/en-US/privacy/firefox/#telemetry
This part was interesting:

>Sean Gerrish, Former Software Engineer: "Google must tread carefully in order to avoid litigation. In general, Google cannot do things like violate copyright laws without immediate, significant effects. This is exacerbated because governments' laws will change to affect Google itself."

>"In contrast, many startups can run circles around Google, not because they are better at execution (although some of them are better at execution), but because they can often get quite far by flouting regulations or civil actions before being discovered."

What would be an example of a 'law breaking startup'?
So sad what tech people in this country have become. I prefer the anarcho-capitalists. Statism is ugly, ugly, ugly.
The article is calling for moderation, not saying you should skip TDD but that you should understand what the exceptions are in TDD for when to write and when not to write tests. The author is asking the experts in TDD (and, implicitly, other methods that become dogma) to qualify their statements rather than issue commandments to "always write tests first" (a statement you see in material instructing on TDD, but then later gets qualified to show where and when to actually write those tests first and where and when not). But since many people probably don't read past the first few chapters, they miss the nuance.
That's a good theory but in my case the sets of common contacts would be almost nil for that account.
But code generation doesn't have to be painful. Consider https://gopkg.in/reform.v1, for example. It generates methods for your data types and uses then to cover 80% of typical usage and also does help you when you want to use SQL.

(disclosure: I'm the author)
SaaS Onboarding Metrics for Developers
Very interesting. In the US, you may need to register for a EIN (Employer Identification Number) for most of our equivalent (in cases where there is an equivalent) to those things. You can do so online quick and easy, and as a sole proprietor. https://www.irs.gov/businesses/small-businesses-self-employe...

Depending on what you are doing, you may also need a similiar tax id from your state (and possibly any other states you are doing business in, if you have a physical presence there). Most states have on online process similar to what the federal government has.

Then, you may need to register with your city and get a city business license- some cities don't require this for all types of businesses, but this can be one of the most expensive and difficult parts of the process, as you usually have to go to city hall and pay money for it.

But all of the above can be done as a sole proprietor. It is also fairly easy in many states to get an LLC setup online for not too much money if you want to go that route... though this depends wildly by state, I have heard California is a (comparative) nightmare to do this in!
"Firefox for Other Platforms & Languages" in footer of that page.
So how does this actually work with instances that would throw one? Are the standard libraries not very dependent on them?
I wonder how they think this is supposed to work.

- CEO gets a Letter. Does the CEO start learning Python/C++/PHP and Cisco configuration? Or does he tell a worker bee "Shhh! And read this Letter" ?

- Worker bee starts making changes to production code and systems. Suddenly he starts needing automated code reviews, and reconfiguration alerts go out when he frobs the firewalls. These changes are indistinguishable from an infiltrator with the worker-bee's credentials and ideally things are set up so that changes are generally shared around, a normal review process, to catch out-of-control worker bees.

- The build lab scripts are modified (by who?) to insert bad code. Oh, but the build checkers catch this ("Hey, we found a compiler bug!" / "Umm, no you didn't..."). Everybody starts handing around links to "Reflections on Trusting Trust".

- Things get even more exciting when the internal monitoring systems discover (say) equipment attached to the network that ain't supposed to be there. "Wot's all this then," says the network engineer, and he yanks the cables to the SkankSec-1000 that someone hot-wired into a rack. "Oh yeah, blue fiber is for NSA, green is for CIA, yellow is for GCHG, and black is for Russians, what else?" He leaves it unplugged. Let's ignore the security camera footage in the datacenter, since this is a thought experiment.

In an environment with self-monitoring for health and intrusion detection, applying changes for user surveillance requires quite a lot of internal cooperation and communication. No wonder the Yahoo stuff looked like a Bad Guy who got in.

We can probably extend the internal defenses to alerting on odd access patterns to sensitive database rows, too . . .
Evernote staff can already read your notes. Why complain now?
Sorry. This is the first time I am hearing about this tech.

Why couldn't it be practical at the scale of a home? Say if you have a large backyard?
Americans have the attention span of a newt, that's why.
I think RyanZAG is saying you can do unit testing outside of TDD, not that you can do TDD without unit testing.

The fact is that both are true. You don't need TDD to use unit testing — you can implement first and test afterwards. In some cases, this may actually be preferable.

However, although TDD isn't a silver bullet solution, it can be very helpful in a lot of cases. Like with a lot of things, the usefulness of TDD depends on the situation at hand, and a good software engineer chooses the right development techniques for the job.

Unit testing of some sort, however, is considered good practice regardless of whether you're using TDD or not. (And of course, integration and acceptance testing is a good idea, too.)
Show HN: Poke – An anonymous proximity messaging app for web
Aaron, your unfamiliarity with Schneier's extensive writings does not amount to Schneier's post being "out of context."
...configure everything to use vim shortcuts ;) (install a vim-mode plugin for your IDE if you have to)
„Scammer“ will pay for mailing to Package Forwarding Service + mailing to his country and PFS fee + VAT + then mailing back to USA + money exchange fee at top of all that. About $200 in this case. Too much for a scam.
I agree with you, but perhaps the novelty of those old games help to make them immersive when we were kids. Once the novelty wears off, they lost that feeling.
zim-wiki isn't bad, but it has some serious cross-platform issues that make it a no go for me. I copy and paste things from the web in linux that Windows can't read. Instead of just saying 'we won't show you this note', the whole program refuses to open. Then I have to engage in a witchhunt because the logs are useless for tracking down which characters need to be changed and which files contain them.

I'm just saying... I want to love zim-wiki, but it's hard to love it when it stabs me in the eye.
Sadly, I don't think all of the black and white advocacy for certain ideas that we see from some sources in our industry is because the experts don't realise how expert they are. I think much of it is because it sells more books and consulting gigs, and because being controversial helps to keep a high profile.
The mystique of Goldman Sachs
Uber's new hardware for drivers will let you know exactly which Uber is yours
I couldn't agree more!

When I first used Qt, I wondered how such a large framework could get along without exceptions. After writing some non-trivial Qt programs, I still noticed that there is really no need for exceptions, except when interfacing non-Qt libraries, where I simply caught and handled the exceptions in a small wrapper.

Finally, I got it: Qt uses the Null-Object pattern (not to be confused with Null values!) consistently, which is really in almost all cases the more elegant solution:

https://en.wikipedia.org/wiki/Null_Object_pattern
I think the difference with healthcare advice, at least with the examples you gave, is that the effects are directly measurable.

If I am eating 2000 calories a day now, and start eating 2500 calories a day, I can measure the impact of that change on my weight as well as my lifting performance.

I really doubt the impact of TDD is directly measurable like this. I may be wrong though.
I just changed the devpixelsperpx preference in Firefox. No need to mess with zooming anymore. FF should read the screen density automatically, but as annoyances go, this is a minor one (just set and forget).
>You're literally paying $100/year to use someone else's contact information instead of your own.

Yes people may be their own registered agent FREE. However, almost no one can act as their own DE registered agent because the Registered Agent must have a DE physical address, and very few DE companies are physically present in DE.

Additionally, for the non-DE businesses, whether you are big or small business you likely don't want process servers coming to your place of business (or your home) and serving lawsuits in front of your employees/family.

Edit: Still your point remains that not many people see the benefit of paying for an Registered Agent (even when they can't be their own) which is why I have bundled 3 additional services (annual report/franchise tax notification; annual report preparation/filing; unlimited legal advice). Annual Reports are easy and can be done by business owners too, but based on the number of people who file late and pay late fees greater than the filing fee, its still a service businesses need.
Why Inline SVG Is Best SVG – Front End Center
Google doesn't use c++ exceptions either. From the Google c++ style guide:

> We do not use C++ exceptions.

https://google.github.io/styleguide/cppguide.html#Exceptions
Saw some interesting books on there (especially Swift game dev, which I'm starting to get back into), went ahead and got a copy. Thanks for posting it.
Differences in version handling between RubyGems and npm
Face it, the US government is not operating like it has the best interests of the people as its core motivation.
Nice to see that the IDE ecosystem is growing even more. I find it very useful as it shows very different features and use cases for other Go developers. Congrats on launching it.
I'm saying that the Clintons and Trump are a lot closer than people realize:

People with knowledge of the call in both camps said it was one of many that Clinton and Trump have had over the years, whether about golf or donations to the Clinton Foundation. But the call in May was considered especially sensitive, coming soon after Hillary Rodham Clinton had declared her own presidential run the month before.

https://www.washingtonpost.com/politics/bill-clinton-called-...

These people being so close makes it strange that the elcetion of one would cause fear while the other would cause things to go on as usual.
According to the article, learning Pyret is an efficient way to learn Python. It's a misleading title.
It also mentions formatting similar to 'go fmt'. So it is not integrating Go tools natively. Seems to be useful for people who love more mouse clicks than keyboard. Go's excellent tooling, suitable for automated and fast workflows will not be utilized here.
Maybe systems that have 8gb ram but have integrated graphics that reserve a portion of system memory?
I have a relative who was fired from Wells Fargo and who i know for a fact was involved in this issue, and I can assure you, when Wells bought out the smaller bank that this person was already working for as a branch manager, it was a completely different experience. People who had decades of experience as successful branch employees had their lives turned upside down once they became employees of Wells. it was an entirely unique situation.
I see a lot of projects where everything is just a vast context based decisions. If you factor out all of the things that are not related to databases or handling user input there's very little left.

However I can imagine having that logic built up "abstractly" by imagining user input and database output objects and fully tested is something that would really help a project.

Having only 20% code coverage or less is nothing to be ashamed of as long as that code is the code that matters and it's better, more abstract and more readable because you started writing it TDD. Before things got ugly with user input and database results.
While these employees were certainly committing fraud and knew better I think it's an enormous stretch to call Wells Fargo a victim. At this point in human cultural development we have a solid grasp on the power and danger of perverse incentives. Particularly in safety and finance.

There's no excuse for a financial institution to not have policies and processes to prohibit, prevent and detect misaligned incentives put in place by sales organizations/departments/teams within the institution. No one wants to mess with their sales organizations without being legally compelled to since they're the ones generating income but financial institutions have a special responsibility and obligation to society to not fuck things like this up.
The interesting thing about this model is that it maps pretty directly to current research on learning.

In this context, experiential understanding (when you're an expert) is the point where you start suffering from Expert Blind Spot.

And there's a bunch of research that suggests the best teachers (by default) are the people at middle point, intellectual understanding, precisely because the understanding is less automatic and integrated.

The book "How Learning Works" (which I review at https://codewithoutrules.com/2016/03/19/how-learning-works/) talks about this at length.
These 5 Webpage Elements Are Why They're Clicking Buy
You might as well just quit if you think HR is there to help you at all. HR is there to protect the company from you.
I really love Vim (or at least the Vi emulation plugin of whichever IDE or editor I'm using).

But you're peddling the pretense of using Vim because you DON'T want to memorize keyboard shortcuts?!? Just stop.
Author here. This is a technique I've been using for a while that I find to be as effective as A/B testing if not more so in moving the needle, trying to gain users for my product stuff.

I'm happy to answer questions about anything I glossed over in the article.
Agreed - you need to experiential context to grok the concepts about best practices. Otherwise, it is just cargo-cultism. Most the great programmers I know learn by working on increasingly more complex projects and then deep-diving into the details whenever they come across something they don't know. They make this process move faster, not by doing tutorials and writing code from scratch (after the initial bootstrapping of learning a new language/framework), but by reading code from others, especially successful project. And again diving into to understand the WHY behind the implementation and this reinforce the choice and knowledge of the HOW.
If Google were generally thought to have shitty top search results from the place that paid them the most, this criticism would make sense.
How the hell is it a conspiracy theory?
I think the negativity comes from the fact that it's hard to watch your heroes fall.
Ecumenopolises
Is there anything like this or sqlx but in C?
> And if the director of a movie has asked you write some code to 3D render a "really awesome-looking explosion" you won't benefit much from unit tests either, unless you can write a unit test to determine awesomeness.

I was skeptical of this post to begin with but this line sums it up for me. The author is railing against a perceived threat. Of course you can't unit test _awesome_. That's ridiculous.

So what's the claim here?

I think more developers need to be introduced to the concept of the, "state of the art," and be led to resources like SWEBOK[0]. It has a section on software testing and it's good to know what the state of the art is across the industry.

I don't have the link in my db, but I've come across studies that have shown no significant difference in productivity when utilizing test-first vs. test-after approaches to software development. That's the only real religious sell I still hear these days and it has been rather well debunked at this point. All that matters is that software is tested... how you approach it seems to just be a matter personal preference.

[0] https://www.computer.org/web/swebok/v3
The easiest way is probably to create a bullshit project with a few people. We are only creating a new dashboard for X, this is cost reduction project, etc.

I don't know how Yahoo is organized but if teams works in silos, without any visibility on other teams, it is probably not that hard to introduced changes that are undetected.
Self-Driving Uber Apparently Runs Red Light in San Francisco
uber and airbnb? I support uber (and some of these laws are stupid / give cab companies monopolys) but they obviously ignore or circumvent various laws around private hire vehicles.

Airbnb knows many of their rentals are illegal but puts the burden on hosts to click a checkbox saying they're "aware of all applicable laws" and then abdicates all responsibility.

Even Apple's moves limiting third party apps on the iPhone would probably incur the wrath of the EU if Google did them.
The State of Code Review Survey
This echo chamber is dangerous. Partisan politics == everything you don't like to hear. Ha!
As it has been said in the linked article, Craiglist limits the market to local while eBay gave access to global.
>"The two most glaring abuses, in my mind, were the blackmailing of employees to put their name on a banking industry do-not-hire list if they didn't make sales quotas that proved nearly impossible without the opening of fake accounts."

Are you referring to a U5? That would be ironic because I believe that all of the retail employees that were fired now have a huge red flag on their U5 which means it will really difficult to get a job in the industry going forward.
> WF lost money on this

This ignores the fact that Wells Fargo is a publicly traded company and has an incentive to make their numbers look good for their shareholders.

... And to be clear, your assertion is that thousands of employees across different branches all independently decided to commit fraud and risk their jobs all for an additional 450 per pay check? That is your alternative explanation?
You can use VIEWs [1] as an abstraction mechanism. It's not perfect, but it can abstract certain things away. I think it would work for your first example.

Something like:

CREATE VIEW permitted_X AS
SELECT X.*
FROM X, user
WHERE X.user_id = user.user_id
AND (X.permission OR user.is_super);

You second example doesn't have enough info for me to see if it can be accomplished by a VIEW.

Other abstraction mechanisms are user-defined functions.

[1] https://www.postgresql.org/docs/current/static/sql-createvie...
It does say:

I was acquitted a few weeks ago. As far as the law is concerned in Australia at the moment I had no legal obligation to inform the Bank of what was going on. I wouldn't do it again - it wasn't worth a couple of good months with the strippers and some cocaine.

The judge said I was dishonest, but we don't live in a society where moral wrongs result in people being locked up behind bars and their liberty taken away from them.
All I want to know is there an easy way to search results say 1 year old? In Google this is the qdr search parameter I'm the url... And the Google API doesn't support it anymore so far as I can tell.
The Best New Maps, According to Cartographers
India’s Botched War on Cash
I don't use emacs but I would be surprised if those weren't supported. Vim-go, VS.Code both offer those features through community plugins. I would not be surprised if JetBrains were using the same code services used by those plugins.
What about xcuitest? Any pros and cons using it? Xctest is really flaky especially after the latest xcode update.
> Why should we fear a Trump administration more?

Because Trump explicitly campaigned on going after journalists and his critics. He literally said he was going to rewrite slander and libel laws so he could sue people who criticized him. He's also probably one of the most litigious people in America, so it's not just talk.

How do you not know all this? Did you not pay attention to the election?
Is it this video?

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

Google Assistant tells me the song is "Out of Time" by Levitation (but I didn't click the track to listen so it may be wrong).
A lot of people work late because "there will be a roast dinner at 7PM". I'm 100% convinced that it's in Google's financial interest to cater and that smart law firms and other traditional industries (that currently think free food is amazing) will do the same in the next 10 years.
I'm not sure I feel comfortable talking about morality when banks are involved.
A switch can increase the cyclomatic complexity of code and make it difficult to visualize how code flows at runtime. It may be the best solution, but often violates the single responsibility principle. What is best is often situational and depends on a developer's code aesthetic. But a single switch statement is useless in isolation, so one can't evaluate whether it's appropriate in isolation without looking at the context in which it's used.
I can answer - most of the time I do not know at start what data structure/effect should be the exact result of my code, even if it is just a more complicated version of the "hello world".
Regulators Order Uber Self-Driving Cars Off Streets of San Francisco
Now who is buying the movie right?
Indeed. One of the reasons that I, for one, tend to be very critical of that sort of advocacy is that one day someone less wary will read it, and they will think it is good advice because it looks convincing and comes from someone with a reputation in the industry, and then they might become the next junior developer I have to mentor or the next ex-senior-developer whose code I have to fix before I can get on with doing some real work. It's happened before, and no doubt it will happen again.
I could be wrong, but I think there is a difference in that with Clinton, there was an expectation of what kind of administration she was going to have.

Trump, on the other hand, has been unpredictable since his election (I speak more about his inclusion of Elon Musk into his advisory council as well as Bill Gates comparing him to JFK). I think an administration that is business-minded can yield great economic prosperity but might not necessarily have interests in maintaining the rights of American citizens.
> ORM is a tool to map an object model

No, ORM means Object Relational Mapper. if your ORM doesn't support relations between tables, then it is not a ORM.

Given a relationship between 2 tables, an ORM will at the very least fetch related records when rows from a table are loaded.

> godb does not manage relationships like Active Record or Entity Framework,

Godb is therefore NOT an ORM. The title is misleading. People can't just make up definitions like that. It's either an ORM or it is not.

Godb looks like a simple query builder.
They'll probably start that way, but will add more features closer to a 1.0 release.
Every one of their IDEs starts simple and then develops to one of the best in the industry, I don't see why this should be any different with Go.
I strongly agree. Dealing with a language in development is hard enough when you're an experienced programmer, I can't imagine trying to learn programming with an unstable language.
Show HN: CoFoundersLab Discuss- the Wikipedia for entrepreneurs
Christmas Parties over Skype
> Trump probably will win the next election because he knows how to attract populace.

Trump only won because fewer Liberals voted. I don't think that will happen 4 years from now.