skysight-inc/HackerNews huggingface dataset:
The place to start is the release notes:
https://github.com/d3/d3/releases/tag/v4.0.0

And the detailed change list:
https://github.com/d3/d3/blob/master/CHANGES.md

I will update my tutorials and examples (and probably write new tutorials) in the near future, and I expect others will, too. But as I now have thousands of examples, I didn’t want to hold the release on updating all of them. My newer examples use 4.0 already, and I’ll be going through the others in the coming weeks.
Excellent explaination, thanks!
Are you sure? Is that your final answer?
See: Go.
You are definitely correct. I did the same thing for Paris right after posting. Times were 1.8-3x what driving would be. But, experience tells me that the extra time oftentimes tends to not be an issue, mostly because of the cognitive differences between operating a personal vehicle and passive transportation.

But if you are in a rush and you know parking will be easy then yeah, jumping in the car would be fastest.
That's a good point, I'm working on adding something on that now.

Edit: Done, should be live shortly!
It seems you are just talking about the UI of the web interface to the services. I agree this is an important feature that AWS doesn't do so well with. But in the end it's also has pretty much nothing to do with the underlying functionality of the services themselves.
Improving LibreOffice User Experience
"Go" is in the list. Perhaps you just missed it?

Edit: I see, based on other comments, that Go wasn't part of the original lineup.
I know Perl6 and Python3 have shown the dangers of changing things in disruptive ways. But I still appreciate your willingness to change things carefully to make them better. The length of time your software will be used in the future almost certainly outweighs the length of time it was used in the past :-)
His second example to "modularize" a branch condition is not functionally equivalent in _most_ in-use programming languages:

valid_user = loggedIn() && hasRole(ROLE_ADMIN)
valid_data = data != null && validate(data)

if (valid_user && valid_data) …

Is not equivalent to:

if (loggedIn() && hasRole(ROLE_ADMIN) &&
data != null && validate(data)) …

His version will always execute `validate(…)` if `data` is not null regardless of whether the user is logged in or has the appropriate role. Not knowing the cost of `validate(…)`, this could be an expensive operation that could be avoided with short-circuiting. It also seems somewhat silly (and I know it's just a contrived example), that a validation function would not also perform the `null` check and leave that up to the caller.
Java, sometimes node/js on side projects.
Maya is not open source, though there is a free (read: castrated) version. Use Blender. I learned everything I needed to launch my career from a bottom-rung 2gb Intel Celeron P.o.S. laptop running Linux, Blender, Gimp, and all kinds of other open source programming and creativity tools. That laptop is 6 years old and still gets stuff done today (though I do have a far more powerful rig now). IMO the modern equivalent of this kind of low-end laptop with open source software could really help refugees, and it would be relatively cheap.
A lot of comments here suggesting that encryption increases entropy. While true, it only adds the key's entropy to the plaintext's entropy. In most real-world cases, len(m) >> len(k), so this is usually an insignificant increase of entropy. Compression also adds a trivial amount of entropy (specifically, the information encoding the algorithm used to compress, even if that information is out of band).
It's been some years since I was in the US, so maybe it's not as bad as it was, but the hidden sugar in bread was the one that always astonished. US bread tastes, to me, more like cake and frankly ruins the chance of a good sandwich.
Bliss: Code Quality Management Tool
>Compression after encryption is useless, as there should be NO recognizable patterns to exploit after the encryption.

Not to nitpick, but this is incorrect. A encrypted file can very well have something like 100 X's in a row which the compression system could turn from XXXXXXXXXXXXXXXX.... into (100 x's go here) - Lousy example I know but it gets the point across.

Its also easy enough to test- Just encrypt a file then compress it. Sometimes it will be smaller. (Your reply indicated that in 100% of attempts compression is impossible)
That'll make an attack significantly more time-consuming, but won't prevent it. Instead of instand feedback whether they guessed correctly, an attacker would instead need to send a bunch of requests to determine if the average request size has decreased.
> How do you deal with MTU? OpenVPN's handing is particularly bad [1]?

MTU is dealt with the same way as other kernel space tunneling devices.

> Is the whole protocol in-kernel or just the data plane?

All of it, which is why there's so much emphasis on simplicity.

> For admins who want to provision large number of clients, do you ever plan to implement some kind of certificate hierarchy?

Rather, the goal is to make the kernel interface very simple and minimal, so that admins can then glue ontop whatever situation they want. This could be certificates, or pigeons, but the important thing is that it's a layer ontop (in userspace), and not intimately bound to the core.
Good catch!

Although the article talks about encrypt+sign versus sign+encrypt, the same argument goes for compress+sign versus sign+compress.
I appreciated the lisp and clojure options; I use racket/typed racket - for no other reason than that it's a lot of fun.
That may have been the case in Iraq, but that was not at all the case in WWII. The Germans by no means lost the will to win in Yugoslavia or Poland.
> You're claiming it's the latter.

No, I'm not. I'm claiming that "security" and "immigration" aren't disjoint categories of policy discussions such that just because a position on immigration has some reference to security concerns, its part of the "security debate" but not part of the "immigration debate"; Trump has made many comments against immigration (and not just currently-illegal immigration). Some of those comments have been justified by economic concerns, some have been justified by security concerns. But that doesn't make the former about the economy but not immigration, and it doesn't make the latter about security but not immigration. Instead, it makes the former about economics and about immigration, and the latter about security and about immigration.
Windows does not run like crap on a i7/16gb. Win10 actually runs great on some 5+ year old laptop we use in the kitchen.
Hack into an Instagram account
Is there a way I can view the pictures of an Instagram account that blocked me? Because I think it's posting my pictures without my permission and I wanna make sure that It doesn't. Also, the account is private so even if a make another account I can't view it.
Excellent work! I've been using bits and pieces of this since the start of the year and can attest to the fact that migration from 3 is relatively painless.
The Mysterious Origins of the Sausage
Faster, more secure, and works quite well with mobile thanks to built-in roaming.
Is it possible to have V3 and V4 coexisting in a project?
Like, adding some of the awesome v4 new things to an already working v3 project without having to rework all the v3 code to v4 compliance?

I've tried doing this with v4 beta, with strange behaviours :)
Something I didn't know until recently when I started reading about Dave Asprey's Bulletproof Coffee (fully expecting it to be bogus initially) is that surprisingly cells have an alternative source of energy, ketones instead of glucose (sugar), and that in the olden days when food was not as abundant, our bodies spent a fair amount of time in ketosis (https://en.wikipedia.org/wiki/Ketosis), a metabolic state where the body breaks down fats to produce ketones as fuel for cells. (Not to be confused with ketoacidosis, which is bad).

It seems plausible to me that since WW2 in developed countries where food and especially sugar became commonplace, a whole set of diseases, coronary, metabolic ones such as diabetes, obesity, possibly cancer, possibly Alzheimer's are all related to us not spending enough time in ketosis.
This is a fantastic lesson in history. I have nothing more to say than this is what I come to HN for.
Can be deadly, but if it's predictable it can be controlled.
For example, a gator. A gator is deadly, but can be manipulated because of its predictability.
Compilation of funny interviews
Not being fully fledged IDE can be good and bad. I'm using VSCode for most things I use VS for. It's super fast to launch, great language extensions, debugger, integrated terminal and tasks. It's like sublime and visual studio had a baby. I have licenses for jet brains but I seldom ever use it.

I may also be a bit biased since I contribute to VScode extensions. But I see that as a positive. I use a free editor that I can hack, look at its source and collaborate in the open.
The main source for Helium 3 was an is the US nuclear weapons program, primarily the stockpiles of Tritium which produces 8000-10000 liters of Helium 3 each year.

The increased demand post 9/11 primarily by the federal government (He3 is used in neutron detectors) combined the reduction of the US weapons program caused a shortage.

Here is the FAS report from 2010, it's not the only report on the matter but it is very detailed.
https://www.fas.org/sgp/crs/misc/R41419.pdf
The rule is: never compress something secret together with something potentially attacker-influenced.

If the attacker can influence the traffic, they can potentially gather information about the secret by examining the effect of differing traffic patterns on the size of the encrypted result.
WireGuard is UDP only. For TCP or SSL tunneling, look at a million other things that already do this.
Typo:

> When HTML was announced by Tim Burners-Lee

"Berners".
There are Type 1 superconductors (the first that were discovered), and those have the magnetic properties that are more useful creating MRI type fields. There have been breakthroughs in Type 1 superconductors and I believe GE is making an MRI using Hydrogen at 20 Kelvin for the cryogen. Although I couldn't find much more than this patent in a quick search:

https://www.google.com/patents/US20130104570

...and then there are Type 2 superconductors, of with the High Temperature (HTS) variety have been popular. There have been steady advancements in those materials, and someday there will be an MRI machine based on HTS materials. See the link to SuperPower below as well.
PHP. It may be old, tricky to debug, and cumbersome to write long projects with but the ability to bounce in and out of logic on a simple, proven, well adopted stack that has plenty of knowledge-base and ready machines everywhere has it's advantages. Plus, I've heard a lot of developers knock PHP but I've yet to see a problem solved with Ruby or Python that couldn't have been solved with PHP.
@fat's talk about this [42:07]: https://www.youtube.com/watch?v=iniwPUEbPUM
I've been losing to the AI fighter pilots in DCS:World[0] for years.

[0]: https://en.wikipedia.org/wiki/Digital_Combat_Simulator
No. If the encrypted output is randomly distributed, as it should be, then the expected number of bits cannot be reduced through compression. If it successfully compresses some files, it will make some files larger. For random data, the change will be negligible with overwhelming probability, plus there will be overhead.
The last sentence is what does the work--the landlord can enter into a contrary agreement but it will have no legal effect.
The input 'plaintext' could be binary data or other information that the attacker cannot predict.

What they can predict if they find some code interfacing with this encrypted file is the way it has been stored. It's not much of a long shot to say that if you can identify that it's just a plain zipped file then you're job will be much easier when it comes to reverse engineering this.

That being said, it's still a huge pain in the ass to work with that stuff. I mean, the US government hires some of the worlds best crypto people in the world and they still are sent for a run some times.
The 5 Most Popular Network Monitoring Software Solutions Compared
Are you talking about compressing plain text larger than a block, then encrypting per each block of the compressed output?
Now, I don't necessarily disagree that it's a bad idea overall, but the anthropomorphic quality is NOT what makes this absurd. Not at all, not even a little. An abstract organization of people can be invested in, have its collective behavior driven by regulation or investment pressures, and can, out of 'fear' of losing value, allow regulation to override investor pressure. The point of things like massive fines and suggestions like the corporate death penalty is to create a situation where a CEO or VP will, despite knowing there's a lot of money to be made by, say, selling protected patient health information (and therefore substantial shareholder value to be generated from so doing), categorically refuse to do it, because they know the ensuing violations will ruin/bankrupt the company.

In other words, if you told me that anthropomorphizing an organization like this were absurd on its face, I would accuse you of rank ignorance of the law, the rationale behind the law, and the whole idea of behavioral incentivization.

The reason why we're all discussing this AT ALL is because the fines are often losing their ability to disincentivize the bad behavior - if a company can make 19 billion in a year using only 1 billion, and then be fined for 15 billion, then they can pay the fine can and pocket the 3 billion difference, and report a hefty profit to shareholders.

Trying to influence collective behavior through incentives and disincentives is not 'absurd on its face,' dionidium, and I challenge your grasp of the overall context for asserting that it is.
Starting in the 70s, there was a whole self-esteem movement in America, with books and seminars and articles and very public debates. Experts built careers on it. Educational policies were changed according to it.

Maybe you were born after it had become the new normal and are completely unaware of it, but this reply chain is getting annoying. Stop posting for five minutes and look it up.
I've had similar experiences to OPs with older Bluetooth mice and keyboards, so I was reluctant to try the Logitech MX Master. The only reason I did was because it offered the optional Unifying receiver. Well, I haven't used that receiver yet, because the Bluetooth was very easy to pair, and I haven't had a single connection issue (delay or otherwise) yet. This thing has restored my faith in Bluetooth devices, when done right.
Once thing I would really like to know is if it's Fructose or Glucose (or both) that causes the problem.

Studies usually look at "sugar" in general without specifying which one.

Based on some reading I've done it seems to me that sugars other than Glucose are the problem and switching to Glucose would let us have sweet food with less of a health problem.
I agree! I wonder if there's a substantial overlap between the set of people who buy yogurt frequently and the set of people who are averse to ~artificial chemicals~ in their food (tildes denoting a bit of sarcasm at chemophobia).
This reads like old 1918 Soviet Constitution.
selling out is not respectable. Selling out your colleagues is even less so.

Every person is offered deals by the devil before their real ship comes in. This is to separate the wicked from the good. People who are evil at heart will take the deal with the devil. People who are good will understand that money is not their solution (may be the root of all evil), and they should not taint their soul in order to make a few bucks.

Everybody falls, it may be that people who take dirty money fall harder. (needs study)

Disclaimer: I'm not suggesting any religious explanation for this phenomena, so any that you perceive is your own delusion. I'm simply stating what is observable, and likely fact (needs study). Dirty money comes first. Honest money comes after hard work and usually when the chips seem down.
For others: https://en.wikipedia.org/wiki/CRIME
Modularization aside (and it's terrific to have in the library), what additional functionality are you most excited about with this release?
Hopefully I can be forgiven for thinking the article had something to do with fonts, considering that the word appears in the title as well as 22 times in the body. :-)
Show HN: Mac_format, rapid OS X OUI lookup tool and MAC address format translator
> You can absolutely make sauce that doesn't have sugar in it

You make sauce without added sugar although tomatoes do have some natural sugar. Granted it's not really an amount to be concerned about, but it's not sugar-free.

http://healthyeating.sfgate.com/much-sugar-average-tomato-80...
I use a pair of Presonus bluetooth speakers daily, and have for months. There's never been a bluetooth problem. Maybe you've got bad firmware or something?
It's worth mentioning that incorporation by itself doesn't get you very far in terms of protecting against personal liability. It's really just the first step in company formation. You'll want to appoint directors and officers as well. And to protect against departures, IP issues, etc., you'll also want to issue stock with vesting to founders, and have everyone enter into IP agreements.

We've automated all of this at Clerky - you can do everything completely online using our software. We do a ton of company formations. If anyone has any questions on the topic, feel free to ask!
First Day on the Job Was His Last: What Happened to Day Davis
The idea of Phase3 is that you have multiple node routers connected to a VPN hub. Think branch offices. When one node starts to talk to another node, the Hub initially facilitates the traffic, but it sends a NHRP(Next Hop Resolution Protocol) packet to the nodes telling them the public IPs of eachother, the nodes then negotiate their own VPN tunnel and start communicating directly without passing all traffic through the hub.

If I understand wireguard correctly it seems NHRP could be run using wiregard for transport, but it would cool if a separate NHRP daemon wasn't required, especially since wiregard is already tracking the mapping of internal to public IPs.
I agree, intermediate variables are a highly underrated technique that can make code more understandable at a glance. What is annoying is that quite a few IDEs flag intermediate values that can be removed as a possible error, which probably discourages quite a few beginners from using them.
"Working out the precise pre and post conditions of every state would indeed be worthwhile. For all state transitions of the protocol, I've worked out by hand every possible combination and accounted it for it. I should publicize this work (i.e. type up my handwritten notes), and then let others join building on top of it."

That's actually... great. It's exactly what high-assurance security did in kernels and VPN's. I'm impressed. You should definitely write that up and share it for peer review. Also, since you've done it, the next step is to review each one to make sure security properties are maintained or it fails fast, safe, and loud. :)
Want to share the notes?
14 High-Performance Java Persistence Tips
This claims to be "easier to use" than varnish or squid, but it seems exactly the opposite:

- For production they recommend and complete partition be assigned to it for raw block storage

- it has no built in method to make origin requests - you have to use Nginx and an extra module to insert items j to the cache.

- because of the aforementioned Nginx requirement it's apparently not intended to sit in front of your web server directly, it needs Nginx in front of it, with the logic of when to request from origin pushed into the Nginx config.

- It appears to have basically none of the configurabilitt/power of Varnish with a good vcl file.
Python (Django)
It still works, you just have to fight it steering you to the app store every step of the way.

I had to borrow someone's phone 2 days ago to send a quick FB message and it took about 10x longer than it should due to it trying to hide the native interface "it's going away soon, install messenger".
That's incorrect, Helium 3 is what is used for most applications and it's what we are in near dire shortage off.

https://www.fas.org/sgp/crs/misc/R41419.pdf
Micro Profile in Enterprise Java has been announced
Yeah it was weird working with guys named 'Roadkill' and 'Slash'. Nice as could be. Terrific riders.
I think it's possible to write good software, but I agree that it's difficult to do at a startup. At the very least, there are kinds of software (aerospace and medical software for example) where hovering between "barely works" and "doesn't work" isn't acceptable, and the people responsible found ways to improve their software beyond that point.
I'm always surprised how hard it is to get completely unsweetened yogurt (natural or artificial). The only brands I've seen locally are "organic" yogurts with a hefty price tag.
This article deserves to be bookmarked (even if it takes three clicks...)
I see no mention of sales and use taxes. Welcome to Hell.

https://www.boe.ca.gov/info/taxoverview.htm#sales
No, I don't think his arguments were concrete.

1. Fix the relatively low tech wages [in Europe]

You can make enough money in Europe to have enough runway to start a company. Especially if you give up working 40 hour weeks and having 6 weeks vacation.

2. Taxes [are high]

Many places in Europe have lower taxes than the US. Startups rarely feel the effects of taxes since they spend all their money on growth. To the extent they do it's just another cost.

3. The anti-startup culture [is bad]

In practical terms European welfare states are far more accepting of failure than other parts of the world.

4. Severe lack of capital

This can be a concrete problem, but most people making this statement have not saved their money and vacation time for at least year, taken leave from their job and started a company. So why should investors invest in them?
I thought about the Python 2/3 debacle a lot this past year, and yes, I hope this isn’t a repeat. The Python migration was especially hard because of dependencies between libraries (you could only migrate your library or application to Python 3 after your dependencies migrated), and because Python is used for many large, long-term projects. Certainly D3, too, has its own plugin ecosystem and long-term projects, but it’s also commonly used as a standalone library in short-term work, such as in news graphics—where migration should be much easier. So hopefully that pain is lessened.
Ink – interactive narrative scripting language
Here we go again with JavaScript. Can't wait for this cycle to go back down like it did back when jQuery and Node first came out and everyone jumped on the bandwagon.
Which MBAs Make More: Consultants or Small-Business Owners?
The first case is a self-explicative one liner, it doesn't need an external function.

var evenNumbers = Enumerable.Range(0, 40).Where(i => i%2 == 0).Select(i => i);

Private methods must group non-elementary steps.
The second case is a perfect example that explains why it is so much better to use a private method because now you have a method that groups both sub-methods and you don't need to call always two different methods in a bunch of places. In this way you decreased code duplication increasing clarity.

private void ProcessLogs()
{
var events = _logProvider.Read();
events.Where(e => e.IsError).ForEach(SendErrorAlert);
events.Where(e => e.IsWarning).ForEach(SendWarningAlert);
}

And the method name seems quite self-explanatory to me.

If you need to separate one method in paragraphs, and add comments that explain what each paragraph does then that code is SCREAMING for a refactoring, deleting all the useless comments and extracting that mess in properly structured Classes/Methods.