skysight-inc/HackerNews huggingface dataset:
> If you have a mutable class, and you're modifying its fields, you're doing it for a reason, right? Often it's part of a larger operation. So why not name the method that mutates the field after that reason. I got away from thinking about "I am altering the internal representation of this struct + vtable" to "I am sending a message to this opaque thing and I don't really care how it's done when I'm outside the black box".

> > but "setters are always bad and i don't understand why anyone would ever use them" seems like a needlessly hard-line sentiment, IMO.

> I have a strong opinion because I read some compelling arguments, thought about a lot, stopped using setters, and the quality of my code improved. I don't see a need to moderate my opinions on programming, especially when that's what I really think. Again, happy to be shown a great counter example and admit I was wrong.

that's all fair. i think we might actually agree more than disagree. all your arguments are compelling, and i could see myself holding a similar opinion after giving the matter more thought.
Perhaps that accounts for our electricity generation being coal-based?
Canada's laws on immigration are sensible. If anything, the USA should be following their lead on actually enforcing the law and bringing the hammer down on people hiring illegal workers.
Their filter was more than just botspam. Twitter purposely removed trending pro-Bernie and anti-Hillary hashtags during the primary.
Safari disables autoplay by default.
Same with Apple. There are some weird behaviors that don’t get mentioned in the docs, yet if you stumble upon the _right_ WWDC video from 2014, it’ll explain everything.

But at least the content is covered by search engines via asciiwwdc.com
Right, and those exposures were probably good enough for several hundred thousand iterations of "training."
Are you talking specifically within the scope of software development work (iow, problems specifically related to programming itself like bugs in a language) or are you including problems that come from working as a developer in the real world, such as incomplete requirements and/or feature creep?
If your tax bill is only 5,000 then you probably shouldn't buy a new car.
You are missing my point (which I inadvertently mangled by writing ”opened chamber” in lieu of ”unopened chamber"): the whole Great Pyramid is entirely structural and there have never been artefacts found within it that can be said to have been present at the time of building and that could be definitively carbon-dated. A single sigil of dubious origin on ancient plaster repair-work in the load-baring spaces above the King’s Chamber are the only reference to Kufu in the whole structure. This recently changed when builders’ inscriptions were found behind the sealed door drilled through by the robot in the Queen’s Chamber shaft, but the paint in question has not been carbon-dated yet, because somehow you’d need to engineer a device to scrape a sample off and retrieve it.

So if this hypothetical chamber were found to be intact and unopened, and to contain artefacts made not of stone but of wood or fibre, then finally it would be possible to definitively date the structure and corroborate (or refute) the timeline currently taken for granted.
Keep ignoring it, at your own peril.
Ideally. Problem is, things move too quickly to get into textbooks or even review articles, especially on the experimental side of things. I'm not a neuroscientist myself, and have cobbled together what little I know from books (which I read but do not always trust), papers (which are not always easy for outsiders to interpret), and most importantly talking to neuroscientists, participating in / co-running journal clubs, etc.
> They're more centrist than 'liberal' despite the name.

Most liberal parties around the world are more or less centrist. The two aren’t mutually exclusive.
Canadian reputation as a haven for immigration is a very well engineered and effective meme.

Child has autism? No immigration for you. They have pretty severe criteria for immigrants compared to other western countries. After the '16 election it was all out PR stating how open they are to immigrants, but look how they have very quietly been handling illegal crossings.

The Canadian government deserves a lot of credit for this sleight of hand. They have been unbelievably effective in their PR.
Speaking as someone who works for a site who produces a lot of video content and is trending more that way I can give you a simple reason why.

People consume it more.

They stay on the site longer, they tend to watch more videos than read articles, and they share videos more.

Now obviously the videos still need to be good content but the reason you’re seeing more video content is not because of some nefarious scheme: it’s because content producers see better user engagement with it.
> My argument is that having getters and setters exposes your implementation. If you have "getFoo" and "setFoo" it exposes that your class contains a value called Foo. My argument is that you should either give your methods better names, or get rid of the pretense of encapsulation altogether and just make them public. Get/Set is just an awkward middle ground.

this phrasing/perspective definitely brings me around more to your point.
> Scala needs to interoperate with other Java languages

But does it? Can I even use e.g. a Scala collection from Java? (let alone Clojure, Kotlin, etc)
Certainly it looks easy to import and use Java objects, but that looks to be the extent of it.

> it couldn't be statically known at compile time in the case where a library written in Scala is being called by code that was written at a later date

When you build some new code that uses an existing library, any parametric polymorphic type variables get instantiated at the use sites. Where I admit this isn't true, is the adhoc polymorphic dynamic dispatch via subtyping, but this wasn't given to me as an example. I don't see that ArrayLists and ADTs should present a problem.

> types still cannot be statically known in cases where you're being handed objects whose type is not determined until run time

Again, I think you are referring to dynamic dispatch here? I agree this could be a problem in open class hierarchies. But the ADT encoding in Scala is a closed statically-known hierarchy, so I can't see why it has to cause problems.
Truly "generic" or parametric polymorphic code should not depend on type tags or even be allowed to introspect the runtime type, doing so violates parametricity, which ultimately reduces our ability to reason about the code.
Massive Government Report Says Climate Is Warming and Humans Are the Cause
Silicon Valley Bank State of the Markets Report 2017 [pdf]
I've been trying to figure out how to get paid to do open source for a long time. The popularity of my open source projects has changed over this time, but this might give you an idea of the effectiveness of each approach if you need an alternative.

I used Gittip for a while, and it was a really nice platform, and netted me $5-15/month if I recall correctly. I left after some regulatory issues added an annoying amount of mental gymnastics to actually get money out of it. Later I built my own self-hosted platform for getting tips [1][2]. This tends to net me $20/month consistently, with occasional bursts due to one-time donations. Also, I know of at least one other installation in the wild, it's being used to support some Mastodon instances.

A few months ago, I set up a Patreon [3] where I earn almost $200/month. This is by far the most successful approach I've seen yet, though it rustles my jimmies a bit to be beholden to a proprietary, centralized service. In the end I'm still not making enough to work on open source full time. Thankfully I make enough today to break even on open source (that is, my infrastructural costs are paid for). Hopefully I can figure something out for full time eventually. It's hard.

Many thanks to the folks at Gratipay. It was an uphill battle for sure but they fought the good fight.

[1] https://drewdevault.com/donate

[2] https://github.com/SirCmpwn/fosspay

[3] https://patreon.com/sircmpwn
Lifestyle Changes, Not a Magic Pill, Can Reverse Alzheimer’s
Which is true exactly up to the point where some criminal decides it's an attack worth automating, as with every other attack.

The one thing that reduces the likelihood of that happening is to minimize the amount of credentials you could get your hands on using that attack.
Now let's see if they actually take them. Don't Japanese workers in general never use up anywhere near to their allotted vacation?
U-Waterloo is its own special thing. It's hardly reflective of the rest of Canada. More universities need to take the U-Waterloo approach of work experience interspersed with academic study.
Sad that this is getting downvoted, I'd agree with a lot of what you say w.r.t. smart cities. Sounds like the set piece for a future dystopian horrorshow.
A nurse that must check each patient periodically is less productive than one who can be alerted to problems electronically. A nurse that must lift patients without mechanically assistance is less productive too.
Stack Overflow reducing headcount by 20%
I believe the "don't show retweets for x user" feature is limited to the web interface and is not available in the mobile/desktop apps, which is basically the only way I consume Twitter. Which is disappointing. I may be wrong here (I hope).
Why is it unlikely? I’m certainly not suggesting aliens. Just the idea that if there is a chamber and it is unopened and contains non-stone artefacts (wood, food, fibres, bone) we could finally carbon-date the structure and corroborate or refute the prevailing wisdom on the timeline.
Back of the envelope calculations:

$1 billion a month is about $1.4 million an hour 24/7.

$300,000 + ~$50,000 in benefits / 260 working days yearly / 8 hour work days is about $170 an hour.

That works out to earning about 0.012% of what they bring in.

Netflix is a bad example because, like most media companies, the vast majority of their expenses go towards media licensing and production. So while it's easy to paint their engineers as overpaid compared to the labor market, it's very difficult to paint their engineers as overpaid relative to their product.
As not native english speaker I am always happy to get help in that regard ;-) Thanks!
If you're cranking out papers, then you should have enough papers to finish soon; in that case, just finish your Ph.D. and move on. Tell your advisor that you want to graduate within the next year, and that you have the papers to do so. Like it or not, the credential can open up doors for you in the future in unexpected ways, and you're so close to it already. (If you were, say, a 2nd-year student and felt this way, then leaving would be a much more feasible option.)
Also, Microsoft skipped releasing Windows 9 because so much code out there think anything labeled "Windows 9..." is of the Windows 95/98 lineage.

Damn it, you can still install Windows 10 in 32-bit form on a modern x86 CPU and expect win16 binaries to work.

The only reason there is a problem with the 64-bit form is that AMD made the 64-bit mode and the 16-bit mode mutually exclusive. You can jump from 64-bit to 32-bit mode, or from 32 to 16, but not from 64 to 16.
If someone has the authorization to bore a hole, it will be much smaller than that (the current target would be 1-2 inches).
If you think it stops there, or even achieves that goal, you haven't been using Twitter much I guess.
That E-class production line video is interesting, it's basically the same assembly strategy Tesla uses: all bits of the engine, drivetrain, suspension etc. is assembled into a "skateboard" in one line, while the body gets fitted with all the trim, interior, doors etc. on another line and then dropped onto the skateboard

The Mercedes E-class is monocoque, like almost all cars. They build the body/frame and then add the powertrain and wheels. Here's the body/frame and the powertrain/suspension coming together.[1] The powertrain and suspension aren't self-supporting; they're a collection of parts held in a fixture. That's very clear in the video of the parts coming together.

The Tesla Model S, though, is body on frame. If it can sit on its wheels without a body, as the Tesla Model S can, it's body-on-frame. Here's the Tesla Model S platform sitting on its wheels, with the powertrain installed.[2]

So is the Tesla Model 3.[3]

[1] https://youtu.be/lPKnM9vC6V0?t=395
[2] https://www.youtube.com/watch?v=l8WUIkD7xxI
[3] https://jalopnik.com/why-tesla-needs-to-sell-the-model-3-wit...
I am ashamed of my generation.

We took a decentralized web full of potential, and we are leaving a wasteland of corporate garbage to our kids. If you used the web in the 90s you know what I am talking about.
You are wrong, it is available in the apps as well.
Correct, but how does any of them counter what I said? They don’t!
When I click "Enable your WrapAPI proxy" button I get this message:

>You are not allowed to use this feature yet
Chrome OS 62 is “decertifying” Chromebooks
The same thing happened to me. I had lost 2M in bad deals. "The illusion of control, overestimate your risk" and failure to understand "probability", the tail risk was responsible for my ruin.
Datadog | Software Engineers | ONSITE (NYC, Paris) and REMOTE | Full-time

Datadog is a monitoring and tracing service for your infra and services. We collect, process, and visualize trillions of data points per day in a product that's by developers for developers. We build our own tsdb, distributed tracing tools, cutting edge visualizations, and more. We move fast and are growing fast.

We're mostly Go, Python, and React, on AWS, and moving to k8s.

We're looking for people who can build systems at scale. Let us know if that's you!

https://www.datadoghq.com/jobs-engineering/
STARTUP – REMOTE – CONTRACT – FREELANCE

My client is the former CTO of a startup that sold for $60M and is on to his next big thing (no name yet).

He wants to compile Apache Impala on an Amazon Linux EC2 instance so that it can be included in an AWS Lambda deployment. Unfortunately, Lambda has a hard cap of 50MB (compressed) and Impala's build footprint is somewhat larger.
So, he is hiring for a consulting/contract gig, and the task for the consultant would be to trim unnecessary functionality (e.g. in Boost) in order to reduce the size of the build.
Goal/timeline is shipping a sufficiently small build by end of year.

Please ping me if you're available and I will make the intro.

Flexible on payment terms...hourly while we firm up scope, and then fixed price and/or daily/weekly consulting rate.
I use transferwise and didn't give them my bank credentials. Question: which country are you in and which country were you sending to? I imagine this sorry of thing is both country specific and possibly bank specific.

The pain was figuring out the exact recipient bank account name in Japan but that's mainly Japan's fault.
We came up with the idea a couple of weeks ago after we signed up for the Product Hunt hackathon.

We did some thinking on it, but didn't start designing or development until the start of Hackathon, which was yesterday.

You can checkout the Twitch stream where Seth worked on the design here: https://go.twitch.tv/videos/186775869
Towards a more powerful and simpler C++ with Herb Sutter
This comment seems almost entirely inapplicable to the article. Where did you get the sense that the founder[s] spent too much time working on the technology?

There are a number of reasons for which Gittip/Gratipay may have failed, but "Focusing too much on the tech" doesn't seem to be one of them.
One of the Biggest Bitcoin Exchanges Just Added 100,000 Users in a Single Day
Throwaway MySQL Servers with Docker
I wonder if the good old input[value=""] would work. Probably not if you have jQuery.
Definitely not the experience in united states. I was offered to cancel my card for a similar situation, and they offered to send it to my country.

I guess a bunch of countries are behind USA in credit card offerings. I am from Turkey, and situation in Turkey is very similar to united states - credit cards are very very common.
It makes sense that he would shill for 'smart' cities because that implies expanding the 24/7 surveillance state.
>"Coupled"

We call them party lines. https://en.wikipedia.org/wiki/Party_line_(telephony)

Mostly phased out by 90s.
From my experience (sent to me in US via Transferwise from Australia) I didn't pay any fees to receive, and per the person in Australia, the exchange rate was favorable over Paypal's.
You forgot the trailer asking you to subscribe, with some clickable areas, and optional "bonus content at the end" :)

Makes it harder to estimate where the information in the video is.
This is the real meat of the story: City of Toronto is willing to give cheap land and subsidies as a lure in the hope that some tech money will dribble back into CAN economy. This is a much better article:

http://www.slate.com/articles/technology/metropolis/2017/10/...
Debugging Tricky HTTP Problems with Fiddler and Charles
No, the idea that something can be "hostile" hinges on the idea that you were entitled to it in the other form to begin with. Someone not providing content in the form you wish is an inconvenience at best.
GetDataBack 4.33 Crack with Serial Number Full Free Download
This strikes me as rant saying; "For years I loved eating spam. 7 months ago I stopped eating spam. Now I think spam is evil. You should stop eating spam."

The decentralized internet of anonymous chat servers, mail servers, and communication channels aren't dead. Most people simply do not like them.
This is what I meant. Any ground up rewrite will be reinventing the wheel and hence too expensive.
Salesforce CEO reminds employees of workplace drinking ban: 'Alcohol is a drug'
His old line about it goes something like this:

When online, people can't tell when you're being subtle.
The analogy of religion at its core is part of what makes Pythonic such a toxic concept. It provides the Python community an excuse to treat being unPythonic as moral failing and PEP's as revelation.

I suppose a true believer could look at double snake case as a convention to denote private methods in lieu of implementing modular code with actual private methods and see something beautiful and simple and explicit and uncomplicated and a good practice. There's nothing wrong with Python except the bullshit that surrounds it.
Is Justin trying to send a message to Jeff Bezos ? I do feel that Toronto is well positioned to be HQ2. immigration policies, general culture and the University of Waterloo being important points is favor.
I think the credit concept was created solely for this reason (from the page):

"There is only one exception if the page should be rendered with a full browser (not headless). In this case, 5 credits get charged."
btw this may shed some light on your situation ... tl;dr unicorn jobs don't exist (for long) http://pgbovine.net/unicorn-jobs.htm
Billionaires can afford estate planners and trust lawyers, so wouldn't this disproportionately affect the poor?
Cigarettes and junk food are not hostile in this context. We are talking about things that people don’t like but are forced to get anyway.

Cigarettes and junk food are definitely unhealthy, but people love them. So much that it’s hard to take them away from them.
The article is about using and optimizing VMs and containers at runtime, not at development time.

Whether Docker provides development benefits compared to other approaches is orthogonal to the runtime performance concerns being discussed in the article.

People use containers and VMs for multiple purposes. Some people might only care about development speed; other people might care a lot about runtime performance and will find this article relevant. The article's point is that, if you need a lightweight runtime isolated environment, VMs are viable, competitive with containers, and have unique isolation benefits.
"powerful" too often means "it does things I don't really need or that I don't even understand; but hey, I might use them someday" - or at least that's how it sounds to me.

"ugly, stupid and mean" is actually intended to the beginners or to those who want to try it. That's what most systems are out-of-the box, especially for the minimal ones (bigger systems like gForth might be a bit better).

That's their starting point. R> and R> are hideous so at one point they'll want to replace them with "pop" and "push". Stack juggling looks bad so they'll have to learn to minimize them. And they'll have to get used to RPN. There's no GC and not even heap allocation (unless ANSI-Forth added it as an extension since the last time I checked?), so they'll have to deal with the lack of memory management that are in every other high-level language. There's neither static nor dynamic type checking so they won't get any warning if they dereference a character. Instead, it will crash again and again without any stack trace.

So they'll have to deal with all this ugliness, stupidity and hostility that they won't expect "enough" because Forth fans praise it often without a warning about the fact that it takes a really long time to fully tame such a rabid language.

Why did I stick with Forth for so long? I made it progressively more beautiful for me; I learned to fight complexity and factor, which indirectly prevents mistakes; I implemented warnings in my system for mistakes that are hard to find (e.g. a redefinition) and are easy to check for.
> Welcome to React.

Looks like less than 200kb of JS. And the initial page load is less than 30kb HTML/CSS.
Well, it's both: people thought the whole "take back control" slogan was great, along with the "£350m for the NHS" slogan. It's just that the slogans are empty and there's no answer to the question "control of what, and by whom?" Or any other question related to how this is actually going to work.

The problem of unachievable slogans is hardly a new one but it has got much worse lately. Injecting more lies into the political process is not going to improve this.
> I'd also learn about atomic operations, atomic cas, and memory barriers, but short of some very specific game libraries with weird macros for this, I couldn't find them anywhere.

How come? These days atomic ops are included in C and C++ standard library. And there are atomic operations for every important compiler out there and if you need portability across compilers (without relying on new C/C++ standards), there are portability libraries (e.g. boost).

These have existed for a long time

E.g. here are GCC's atomics:
https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins...

> It seemed like we were expected to sprinkle volatile everywhere, remember rules about unaligned access, and write our own platform specific macros for memory barriers.

Unless you're using Java, "volatile" is not useful for concurrent programming. When you see volatile keyword in C code, it's almost always wrong or there for a legacy reason.

Sounds like your computer architecture classes were not up to date or very well taught.
Where did you get data that DRM prevented lost sales? It's vaporware. Your link doesn't show in any way, that if they'd have released it DRM free, they wouldn't have more sales in result.

It's boring that you support anti-user methodology like DRM and try to justify it. It's been debunked multiple times.
It was alleged that bot nets would try and dilute politically motivated trends by blasting out a hashtag that was one letter off- for example #podasta instead of #podesta.

Then 'real' users who started typing would autofill with the false one and the topic would lose steam quicker. Of course, without knowing Twitters proprietary algorithms, this is all just anecdotal.
"died-in-the-wool Marxist hardliners and corporatists"

You really trying to equate Marxists and corporatists??? Dude...