skysight-inc/HackerNews huggingface dataset:
Random sample:

1. Negotiate for salary.

2. Tests are good, unless they're testing wrong thing.

3. Technology doesn't matter, solving problems matter.

(I write a weekly newsletter sharing a mistake I've made programming or in my career, and how you can avoid it. If you sign up you'll get stories behind the lessons above, and many more: https://softwareclown.com)
Hi there,

It sounds interesting.

How does the logistics of this business work? Do you have the forniture? Who does the delivery?

Thank you

Schilick

Thank you
Because of the U in UBI. Conventional benefits pay for proof of need, they reward incapability. A terrible incentive.
Spec.sh – A mini shell based test framework
Can someone explain the following below to me:

Unless you're taking up actual residency there, I don't see what the appeal is? Does e-residency equal residency for tax purposes?

If you're going for low taxes, there also are alternatives in the EU that offer lower taxes. Aside from that, what's the point?
Safari in iOS 10.x could view WebVR smoothly is a surprising experience. I have thought it wasn't supported.
Command – line interface help
"state a price, and then give a free 3 month trial, no cc required", great advice. I'll have those changes done in a week or so.

A quick heads up on the cost, it will be 3 cents per minute to call an actual number from the website. If you had the app however ... this will be free.
Should you write tests for the tests too? What I find is that in any project of a certain complexity, the tests can end up having the wrong scope or outright bugs in them.
Not really a loss of history as much as broken links. The files still exist.
Somebody stop him!!! He's drilling holes into Earth.
Nonsense. Neither World War had anything to with restrictions on free speech.
USDCAD Bearish, Weakens Further
I got the impression that the author didn't really want a message based system at all, but rather a request response system that they tried to impliment within a message broker. Of course that's going to create more headaches than it solves; it's the wrong solution.

Both message brokers and request-response code have their places in distributed systems, but they really need to learn when each is appropriate.

I agree, saying that request-reply is "what you really want" was kind of silly, especially after the opening paragraph that states "it depends".
From what I've seen, pretty much. It seems to be a pretty direct translation (though I've found some bugs that I haven't filed yet).

The thing you'll need to do is that when in R you write unquoted expressions in your aes, in plotnine you need to quote them. So `aes(x=foo/3, y=bar, color=..baz..)` becomes `aes(x='foo/3', y='bar', color='..baz..')`.
How can you be sure that the other threads ever see it in time? they might be suspended for a whole second because a HDD needs to spin up or something like that.

So threads never seeing the value is already a valid outcome, so the compiler might as well always do that.
This will be a big hit to old forums. I think phpbb allows you to just set a image with link [link] in a post. So, in your phpbb database you would have some link like: http://photobucket.cdn.etc./32328hio/image.jpg hard coded into the table. [links] would have never been in the album like the OP suggests downloading. They need a quick python script to locate links, upload the contents, replace the url (all using google images, s3 etc).
I wrote a simple extension to disable the new direct image link behaviour: https://github.com/DavidBuchanan314/imgur-anti-anti-hotlink
I don't see your point. Are you saying that such a law would necessarily be abused by the government to harass you? That seems like a strong assumption and a poor reason again introducing a law which, if interpreted sincerely, is reasonable. Your argument could also be used again a lot of other laws and when taken to the extreme the only solution would be anarchy.
> You can use webpack with Angular.

In fact, Angular CLI uses Webpack by default.
There was a story[1] a few days ago about how imgur was becoming more annoying and obtrusive in the face of Reddit's new image hosting features. Ultimately, for image hosting (like everything else) there's no free lunch.

[1] https://news.ycombinator.com/item?id=14595212
Fair enough. The benefit of TDD them in my mind is that it keeps undisciplined developers from wedding themselves to a bunch of untestable code and then getting frustrated when asked to add tests in a code review. Whether or not this is the stated purpose of TDD is a different matter.
There's also a note that getting your images out to move them to another provider is deliberately difficult.

In any case, how most photobucket users feel about it will ultimately matter more than what we outside observers think.
Create a WhatsApp chatbot
> In the market share fight between React and Angular, React has won — and for good reason, I think.

I think HN members often forget that there is a whole world of software development outside of the big tech giants and startups. Often the tooling and frameworks used there is very different.
Nothing happened. 99% of scenarios are a great fit for a tool that maps and moves data from the object-oriented programming language to relational databases. They decrease errors, increase productivity, and for the most part well.

Most of the complaints seem to be from using exceptionally bad ORMs or using them in the 1% of scenarios where performance is critical or very complex queries must be produced.

There really needs to be less blind hate and more understanding of when and where tools should be used (as well as the general quality of the tool itself). That's one of the basic tenets of programming so it's rather unfortunate to see so many misguided arguments here.
What about HyperCard?
It's possible that Imgur will, when it gets as old as Photobucket, change their terms and start charging more. Will we expect people in tech forums in the future to be writing "What does anyone still use Imgur?"

The answer to both the future and the present questions is that they have been using it in the past (inertia) and have not moved their thousands of images (cost/pain).
Not for profit doesn't mean that the people doing the work don't get paid. It means that the entity doesn't exist to payback a financial return to its investors.

Think of it this way, a not-for-profit insurance company has to pay its executives, staff, and so forth, while a for-profit insurance company has to do all of that and show a return for its investors.
They do already, at minimum by supporting different languages.
Ahh, from the people at Substance.io. Glad to see the project is still going, even if it's been through multiple pivots.
Thanks, it make sense to do so. Do you know it they use use this approach only in game with a scenario or also in multi-user settings? Because in one case they can use static triggers where in the other case they would need to measure user's sensation or stress. I mean the music could be more intense if you are in abttle and your armor and health are quite low.
Mass Effect 1, at least, was most fun when you said to hell with the official objectives and just started treating it as a sandbox. I had so much fun using the sniper rifle from as far away as possible, or taking the mako places it really shouldn't have been able to go
Kubernetes: Why does it matter?
Driving has clear benefits for the individual and society. Accidents are merely an unintended side-effect. In contrast to that, the purpose of hate speech is by definition to hurt people.
It's much simpler than that. It's just a way of defining cleanup functions without having a language-level concept of destructors. Here's an example: https://gobyexample.com/defer.

This simple example should explain everything:

package main

import "fmt"

func function1() {
defer fmt.Println("function1: defer a")
fmt.Println("function1: inside")
defer fmt.Println("function1: defer b")
}

func main() {
fmt.Println("main: before function1")
function1()
fmt.Println("main: after function1")
}

Here is the output:

main: before function1
function1: inside
function1: defer b
function1: defer a
main: after function1

All defers run in LIFO order at the point when a function returns before the function returns execution back to the caller.
The U.S.A has 6x the per-capita prison population of China though. It's hard for me to understand how China is such an oppressive country and yet the number of people in prison per capita is so low.
SolidWorks 2017 SP1 Crack and Keygen [Activator] Free Download
I like it for exactly the same reasons as you, and I'll recommend some highlights to my young nieces.
But at the same time I am struggling to figure out my own feeling that a good speaker is a good speaker regardless of race or gender (although a strong accent can put me off an otherwise good talk) so maybe I'm patronising my nieces.
They have part-timers who were once full timers but typically you can't start off part time. Closest thing is the summer associates program for visiting PhD students.

Ps. I had an office overlooking the Santa Monica mountains and got to spend time deeply immersing into interesting problems. Now at current tech co I'm packed into an open office plan elbows to elbows and don't immerse much past any problem that can't be solved in a week or too. I sometimes hear Gob saying in my head, "I've made a huge mistake..."
Why would he reference Linux? His point was that his needs are met without having to tinker.

His needs drove his inner nerd. Introducing Linux into his environment so that he would be forced to tinker would be backwards.
A lot of the use probably is not all that serious in volume and "locked" to hotlinking. Suddenly requiring quite a lot of money for hotlinking is quite a big change.
It's not processors themselves that are an issue usually.

Usually the difficulties in getting things running is the booting the system, and the motherboard chipset and device drivers. It's also to do with the stuff that goes along with just "running" but CPU features. Does power management work well? Does ECC work at all? Is virtualization relatively bug free?

Since laptops are full computers packed with all hardware inside, you don't want any driver issues on your system and neither do you want power management issues. That's usually what people mean when they express concerns about new CPU platforms and Linux.

From what I've heard Ryzen runs Linux pretty well on desktops at least, so let's hope they can keep up the good work on laptops too.
You set the premiums based on the expected risk of an event happening, for any type of actual insurance at all. "Actual insurance" is supposed to be a financial product that people purchase to mitigate financial risks of some future event that may or may not happen. If the bad thing happens, you make a claim and the insurance company pays you a lot of money. This system works most things because most people don't make claims.

What we call "health insurance" in America has gotten away from this model and that's one of the reasons why it is expensive and was horribly broken before 2009. Trying to cram everyone into one giant pool and charge them all the same amount of money in the hopes that the pool will be big enough is not working either, and doesn't solve the underlying problem with that system, which is that people make claims all the time and the insurance company often must pay. Thus, it becomes the customer and the entire transaction is less about serving the patient and more about milking the insurance company for every penny.

> We don't charge black people lower Social Security and Medicare taxes on account of their lower life expectancy, right?

Taxes aren't insurance premiums and those programs don't function as actual insurance; they're "social insurance" e.g. The federal government definitely makes payments to everyone who qualifies, no matter what happens to them. And taxes used to fund the program get spent on everything the government does, not just to fund those programs. So, this really isn't relevant to the question of what an insurance company should be doing.
People are people indeed, which means people are not companies. The best interest of the person you work for might not (will almost never) be the same as the best interest of the company. Superiors want people who are working hard for them, because it makes them feel more important than half the people working 2 hours a week for them (even though the output is the same).

You're working for a person, not a company. If you forget this, then you might end up surprised.
I don't think bundling of state and action is inherently an antipattern (even in functional programming there is an implicit coupling between the shape of the app state and functions that operate on the app state), but in a system with countless individual units of tightly coupled state and actions interacting with eachother, it's all too easy to fall into the real antipattern of overusing in-place state mutations and neglecting deliberate management of state transitions across the entire system. Functional approaches to frontend development tend to encourage patterns like the single immutable app state tree and writing state transitions as pure functions, which helps minimize this source of complexity.
Hypothetically speaking, if Facebook didn't want to comply, and they shutdown any German entities that could be exposed to fines, what would Germany's next move be? To block Facebook completely from the country?
Notebook Acer Swift 7
It will be like Unity, Unreal do nowadays, and how many plugin runtimes used to do in the past.

The productivity of doing WPF/XAML development with RAD tools like Blend, using an export button to generate an WebAssembly executable.

I might be wrong, but that is where I see it going to.
Trustzone is ARM's hardware access control. But I suspect AMD's PSP which incorporates an on-die ARM core rather than just implement the Trustzone ip, is doing a lot more. Reportedly it can manage DMA actions itself independently of the amd64 core.
I needed jupyter as a medium of information sharing in my team but matplotlib has just too much of a learning curve to expect everyone to adopt it as tribal knowledge considering this was not a core part of their job. I found a compromise using the wonderful jupyter_pivottablejs library:

https://github.com/nicolaskruchten/jupyter_pivottablejs

Thus allowing you to tweak visualizations on the fly without touching code. My workflow is:

sql -> dataframe -> pivottable

This is not a dig at matplotlib which is undeniably powerful. More like an alternative for those of us that want to convey good-enough flexible interactive visualizations without getting into the minutia with matplotlib
Unless they are outright lying on their blog, they have more funding than a political point would warrant: https://www.nhsbuntu.org/nhsbuntu/2017/05/19/apperta-support...
Thanks for the tips.

Forgot to mention, but another point would be to avoid US based services. That excludes zoho.

Protonmail is definitely on the shortlist, what didn't convince me was a) not being sure how future-proof it is and b) their pricing table (limiting for labels used? emails sent a day? not that I'd exceed those values, but it sends wrong signals).

Thanks!
I had a Fitbit and now the Garmin you have. The latter is a better device from almost any POV but sleep tracking. Fitbit sleep tracking is much more reliable and actually almost never reports non true things.
This isn't particular to Go, and you should just pass in any variables that you intend to change, rather than depending on a global mutable variable for your state (especially in a concurrency-heavy language like Go).
The Vue guide has a comparison just for you. (might or might not be too biased, I don't know ng2) [0]

Vue deals only with the view layer. So I would't directly compare it to Angular. But the authors do give you Vuex, for Redux-style state management, and Vue-Router which does exactly that.

Alternatively:

- use a second Vue instance as an event bus. Bonus points as the Vue devtools list all the events fired. Makes it easy to debug.

- due to it's reactive nature, Vue let's you implement a single source of truth quite easily. [1]

- Using dynamic components, you might not even need a router [2]

Personally, I've tried to use the single source of truth pattern but quickly resorted to Vuex. It just resonates with me.

[0] https://vuejs.org/v2/guide/comparison.html#Angular-Formerly-...

[1] https://vuejs.org/v2/guide/state-management.html#Simple-Stat...

[2] https://vuejs.org/v2/guide/components.html#Dynamic-Component...
The point was that both are unintended consequences of things which generally help people. If we could have free speech, or roads, with no bad side effects we'd have them.

Once you eliminate speech just because you disagree with it, you begin the process of allowing the most powerful to determine that criteria for their own benefit.
You can't depend on it because people turn them off. Hell, I leave mine off.
This was precisely the concern that led Eben Upton to develop the Raspberry Pi.

The idea was to make a cheap, small, device that booted to a prompt so that you interacted with it in the same way that you would have interacted with the DOS prompt. You could then have a few of these in schools etc so children could play with it without the concern that they would brick an expensive piece of kit.

It's clearly ended up vastly more successful than was originally envisaged. It remains to be seen, of course, whether it has inspired another generation of hackers or not.
This is a signal of short-sighted incompetent management.
Sandboxy games definitely have more replayability. If I look at my steam stats, Medieval Total War 2 is in the lead, followed by Paradox grand strategy games, Mount & Blade, Skyrim, then things like Terraria, Rimworld, Stardew Valley, Prison Architect, Gamedev Tycoon, and so on. I have to go pretty far to hit something with a defined story.
Spot on.

ggplot2 is much nicer than matplotlib and d3 as long as you stay on the beaten path; which is wide enough to accommodate the majority of use cases. But the second you step off that beaten path, it's hell.

It just looks like there's a fundamental tradeoff between visualization expressiveness and API complexity.

Btw, Seaborn is a framework on top of matplotlib that replicates the semantics of ggplot2 if that's what you're after.
You have a small syntax error on your third example, it should be

var DefaultPi float64 = 3.141592
And how is tweeting e.g. that "$minority_group is the root of all evil and should be shot on sight" not a "premeditated way [of speech] that caused concrete physical harm to people"?
We Do Not Have a Child Slave Colony on Mars: NASA
Hence why ISPs are so reasonably priced and good quality. /sarcasm

I understand balking at governments paying for services the private sector can deliver on (though oftentimes that still requires a level of regulation to ensure that monopolies don't develop), but not when it comes to services that the private sector either can't, or at least -really really shouldn't- be handling. And there are a lot of those, even things that the private sector currently handles (such as pharmaceuticals, where without a monopoly there's no reason to invest in drug research, but as you move toward a monopoly you get price gauging a la Epipen, Shkreli, etc; taxes funding drug research without seeking to maximize shareholder profit seems a much better approach).
Yes I experienced it a number of times while I've been in Japan as well, it is impressive and certainly helpful. It would be a great system to have in any area that experiences a lot of earthquakes, or other, short notice emergencies.
It's seems the context of my original comment just went way over your head. Yes, obviously, if the protocol is defined to allow for varying the source port then yes it will work because you specifically write your program to handle that. But the person I was responding too was asking in the context of protocols like SSDP, which is not defined that way. And he was asking if you could vary the source port anyway even though the protocol doesn't support it, and I said no and explained why that wouldn't work.
I wish I could upvote this article X10000000... I totally agree!
Scuentific Workplace/Word?
That's simple. It just affects static stuff, but not user content.
New iPad Pro's A10X Chip Revealed as First Manufactured Using TSMC's 10nm Proces
I think it is great idea. It looks like simple framework for web app
time.Sleep(1000) could be replaced with a real syncing mechanism of some kind -- it's only for illustration.
I think it's great idea write web app without tunns of javascript
Speculation is all there is to this incident. Would you rather have them pose speculation as facts like many other vendors are doing?
It's not so much what the machines think, it's that moving from the convention of `company.domain` to `.company` confuses users and allows scams like this to happen.
Whether or not you think it is moral to do so or not, it is those company's fiscal and legal obligation to put shareholders ahead of employees.

don't hate the players, hate the game.
You about summed up my experience too.

> So i'm not quite sure why it's so important for the author to declare one and only one winner in the race

Attention seeking I guess
x2. Someone on the team probably had beef with Kaspersky and decided to hose the partition table of anyone using it. Hosing the partition table is a pretty poor way of minimizing damage because as you point out, 99.9% of people affected will be more affected if the partition table is hosed.
Perfect timing i.e. luck.
EaseUS 2017 Data Recovery Wizard Technician 10.8 and Keygen Full Free
I wonder what fraction of that 60% are people who come to realize that doing your own shopping and cooking is actually not that hard, in addition to being way cheaper.
I keep asking the same thing, especially that given any non-trivial self-contained piece of code, the test code will necessarily be isomorphic to the actual implementation - at which point one has to ask, why bother with TDD in the first place and not just write the complex code once?
> Governments won't save us, so why riot?

Because everything you're talking about, and all of the ideas in the posted article, basically deal with the top-most peak of Maslow's hierarchy:

https://en.wikipedia.org/wiki/Maslow%27s_hierarchy_of_needs

There's still 90% of that iceberg beneath this surface, however.

In other words, human systems and institutions may be powerless to help you reach self-actualization, "save us", solve everything, make humanity endure forever, etc. However, you must be living a VERY comfortable life, free from hunger, health, and personal safety concerns, to wonder why humans bother to riot in some cases.
Precise User Tracking Based on TLS Client Certificate Authentication [pdf]
I think places like RAND are exceptions that prove the rule, and there are others -- the political mills put up the trappings of intellectualism to pretend to look like a place like RAND!
Juicero
that seems like a pretty unfortunate way of viewing what should be discussion on a discussion forum. I agree that there does tend to be a certain amount of misogyny that these discussions draw, but criticisms like "I don't think gender segregation is a good thing" don't fall into that category. For me, the problem seems to be that both sides want to shout and neither want to listen, but simply banning one side of the argument widens the valley further.
2FA using a postcard