skysight-inc/HackerNews huggingface dataset:
Sorry for the typo. I will edit the post to show an uppercase B. This is still at least an order of magnitude below the 57 GB/s reported by
praseodym

This is for a raid0, as I am only concerned with performance here. The chunk size is the default 512K. I can try 4k, but I haven't found the Samsung NVMe SM961 page size. The partitions are of course 4k aligned:

Number Start (sector) End (sector) Size Code Name

1 4096 209719295 100.0 GiB FD00 Linux RAID

2 209719296 419434495 100.0 GiB FD00 Linux RAID

3 419434496 629149695 100.0 GiB FD00 Linux RAID

4 629149696 838864895 100.0 GiB FD00 Linux RAID

5 838864896 1048580095 100.0 GiB FD00 Linux RAID

6 1048580096 1258295295 100.0 GiB FD00 Linux RAID

7 1258295296 1468010495 100.0 GiB FD00 Linux RAID

8 1468010496 1677725695 100.0 GiB FD00 Linux RAID

9 1677725696 1875384974 94.3 GiB 8300 Linux filesystem

10 34 4095 2.0 MiB EF02 BIOS boot partition

No drive is slower on independant benchmarks. I created the various partitions to also test that scenario by testing various combination of the 6 drives. Performance increases linearly until the 6th drive.

If you want to try, give me your email and I'll send you the root password to play with SSH. I was setting md5 for psql tests but there's nothing on the server yet, you can also play as much as you want with /dev/md6

You can also get a AX160-NVMe at Hetzner.de. If you cancel before 14 days, there is no charge.
While not exactly what you're looking for, Torrentfreak does an annual review of VPNs. Here's last year's :
https://torrentfreak.com/vpn-services-anonymous-review-2017-...
This is exactly my point - the available controls are not sufficient (plus immature).
Providing a control that lets you create trusted client code lets you (comprehensively) cover the risk of code introduced 'after build time'. This would be obviously difficult to deploy - but it isn't without precedent, most clients (that aren't web) are already protected by signatures at build time, and orgs where that really matters (Signal, GPG, etc) get to pursue signing on air-gapped computers, with ceremonies and deterministic build processes.
Preventing the implanting of client code has been deemed so important that even when updates go out over TLS, their signatures are double-checked by the recipient.
I do not see how our use of the web-browser as a client becomes more trivial over time, it is clear that eventually the exposed capabilities, and desired use-cases, will eventually mandate assemblies verifiable in this manner.
I worked on code that had been in active development for sixteen years, but it only got to be sixteen-year-old code because it was reasonably well-written and maintained. Code quality and developer skill is what lets software become older than four years old without collapsing under its own weight.
The title is very misleading. One should always use VPN to encrypt traffic when connecting to untrusted network (wired or wireless).

Just use your DIY VPN (IPsec - strongSwan is very good option, or OpenVPN), don't use any free or untrusted VPN services
Salon to ad blockers: Can we use your browser to mine cryptocurrency?
As a kid I hated chores and rewards that were focused on time because it didn't encourage me to use my time well - it was all about manipulating the clock ("if I actually master the piano piece in 30 minutes I won't get my hour of TV so better not master it").

I think your thinking is right, but I'd instead focus on goals and rewards that are tied to discrete actions in the activity rather than just time. E.g. master the piece => one WoW raid or something. That worked marvelously on me as a kid and is actually something I still do for myself (although not with WoW thankfully).

I'm not a parent, so I'm sure this is quite hard to do in practice. But I'm sure your kids themselves may have good ideas! (I loved making my own rewards as a kid lol.) Food for thought.
I think the article is arguing more for teaching C to new programmers for the educational value, and less for starting serious new projects in C.
How many more years do vinyl LPs have?
I'm curious about the questionable PE clients if you don't mind elaborating a little bit. I'm in the PE space myself and haven't seen anything particularly shady? Obviously you can't go into details, but perhaps you can add a bit more colour to the comment?
Probably just children's toys.
US busts $530M Infraud cybercrime ring
Anyone can pitch a tent: building a house is harder.

Given that we need a lot of housing and we don't have many home builders, there are a lot of tents floating around this industry.
He stopped reading after one for the sake of sweet karma.
They send each other checks. Actual piece-of-paper checks.

To their credit, they've got it to the point where I can take a picture of the front/back of the check with my smartphone, upload the photos to my bank's website and deposit it that way, but the first time I did this I felt really weird about the whole thing...
I don't agree. I think one thing that's confusing this is that your examples are all relatively objective, while the real topic is much more subjective and cultural. The activists who insist the Atari culture was a problem, against the testimony of the people who were actually there, are basically insisting the Atari-ans were incomplete because they lacked the activists culture. That's essentially a colonialist POV.
Exactly what you say. Maybe the solution is to use two VPNs. That way the second doesn't know your home IP and the first has no info on the content. Like a home baked Tor.
There is a shortage of silicon wafers right now as well, which is affecting all silicon production. I rather suspect this is another cartel that's dragging its feed expanding production - like DRAM.

(DRAM/flash prices have been on a continual incline because capacity growth has not been matching expected demand growth, and this was expected to continue through next year. China told the DRAM cartel to knock it off or they'd bring state-sponsored fabs online to fill the gap... and a few weeks later Samsung signed a memorandum of understanding and now prices are expected to decline throughout this year. Just a stunning coincidence /s)

http://www.china.org.cn/business/2017-12/23/content_50157479...

https://www.theregister.co.uk/2017/12/21/china_memory_insour...

https://www.reuters.com/article/us-samsung-elec-chips-outloo...

https://seekingalpha.com/news/3327772-samsung-headed-china-a...

And fab time on cutting-edge nodes is expensive as well.
For example, BitMain is buying up more 16nm fab time than NVIDIA right now. So certain classes of high-performance silicon like 100 GbE switches may be in shortage as well.
What I Learned from My First Year Working Remotely
I'll give shit about #1 when someone invents a time machine and prevents Java from existing.

#2 is a great reason to learn Latin but the "influence of C" is identical to the influence of Fortran or Pascal or Algol and of equivalent magnitude to (what evolved into) Common Lisp or Scheme.

And #4 is true eventually but it only matters when the software is broken.
conventional-changelog npm module was compromised
I owned Lumia 920 and 930. Hardware was good, I liked the OS. I eventually switched to iOS due to 3rd party app support. It was annoying when the apps you wanted to try were either not available or were lacking features.

In my view the app support killed the platform. It would have been impossible to fix. Even if Microsoft had paid for the development it would not have made sense for companies to spend time with WP versions for just a few users.
Don't learn the language. Learn the fundamentals. The fundamentals remain constant.
If you were to consider what was acceptable sexual activity in the 1970s and 1980s and the direction of the change you would not have predicted the current thinking.

The important thing is not if tattoos will become unacceptable in the future, but trying to think what might change. Porn is another one especially if the pseudo-anonymity aspect is removed. I could certain imagine a future where porn returns to the margins.
I reached out to you about a week ago at the given email and ended up with radio silence followed by a standard template rejection today.

Just bringing this to your attention, if you aren't the one screening online resumes.
EarthVPN has stopped working for me for BBC iPlayer, but NordVPN works fine. I think they change the IPs every so often.
Ahh ok good question I didn't really flesh that out.

>"Why do you think tor is going to 'inevitably win'?"

Not just tor, but p2p in general. Basically the theory is that, as a species, we're used to few-source/many-sink communications networks.

We've been using them from the printing-press all the way up to DVDs. The internet & its "many-source" capabilities represents a threat to the prior (and existing) information-source monopolies...such as any media industries, national-banks, or governments.

A great way not completely lose control of information dissemination is to control the paths information must take.

Two great examples of threatening p2p protocols are Tor and the distributed bitcoin-ledger. Taken in conjunction with "criminal activity" historically being the way to demonize most cutting-edge tech when it challenges the status-quo, and a pattern starts to present itself.

To answer your question: I think our regulators are being reactionary Luddites & that p2p is sort of the spirit of what's driving this whole internet-thing...otherwise it would be interactive television.
I'm curious why you think this. Do you believe the same about other mammals? Do wolves almost universally suffer childhood trauma and abuse? How about apes? If you claim it's just us, what do you hypothesize is the reason?

Does your assertion apply to isolated hunter/gatherer tribes with almost no contact with the rest of the world?

I don't claim to know the answer to this. Certainly it seems like the lives of pre-agrarian people would have been challenging. But on its face it seems wrong to claim that our ancestors would have "universally suffered from severe childhood trauma and abuse".

Could it be your modern viewpoint leads you to label as "abuse" the normal challenges all animals face? I'm curious how you define "abuse".
Smarkets|Los Angeles, CA|Software Engineers, Front-end Software Engineers|Onsite

Why would you need a manager to tell you what to do, when you and your team are the best qualified to make those decisions? At Smarkets we use a self-management structure where trust is the driving force. We believe that people are more motivated when given the freedom to work on what they like as part of a driven neural network.

To learn more, check us out here: https://smarkets.com/about/

If you are interested in one of our multiple software engineering roles in the LA office you can apply directly on our site or email your resume to hiring@smarkets.com - please make sure to reference which office you are applying to, in this case.
Great advice here. Agree on a process. Do it slowly.

I work with a lot of legacy code and have felt overwhelmed at times by all the different coding styles that have been used through the code base and not know when to refactor or simply clean up.

Over the last year or two I've been using a linter to help me with all this. Basically any code I touch gets cleaned to the point the linter isn't complaining. This is usually a fairly quick and fun process and I've actually learned a lot along the way.

I would refactor as soon as too many things were touching and the code started to have a smell about it even though the linter wasn't complaining.

It has made maintaining legacy code more fun (almost like a game) and given me some better practices when moving into new code.
On the other hand, they discount self selection bias, and the bias of "qualifying".

Plus the charts don't even show up, probably due to load.

edit: And the bias of the interviewers who use their platform, who may not be able to attract top tier talent, and are happy to get even barely competent people... It's impossible to say since the charts don't show up and we know nothing about the methodology and motivations of the different actors.
I bought one too. It is a very nice device and the ability to import contacts from Android is very cool. If they ever got some tethering/hotspot ability, I would make a real effort to make it my daily driver.
To be honest of the four listed reasons I only found the last to be compelling. I did however think the third point was worth commenting on as I don't think C is a good way to achieve that goal.
Ask HN: Good resources for finding trends in software development methods?
I'm an attorney researching best practices for negotiating software development contracts. Specifically, I'd like to talk about how traditional contract milestones and checkpoints are often ill-suited to the way software developers work in 2018.

In support of my point, I'd like to discuss how software development methods have changed (e.g., decreased use of waterfall model, increased use of open source software). Unfortunately, I'm having trouble finding information on this topic. Quick Google searches commonly return information on sectors that are trending in software development (e.g., big data, ML), whereas I'm more interested in how software developers work. Can anyone point me to industry surveys or other sources that might be helpful?

Thanks in advance!
Very useful for the ~12% of desktops on Mac OS or linux.

Not at all useful for the single largest desktop OS, Windows.

Even less sensible for the majority of Internet traffic, which is now on a mobile OS.
Are you kidding? "Any political criticism" = "rigged?" "Any political criticism" = "my guy didn't win?"
Feel free to try, we have a 10 days, 100% money back guarantee anyway!
For anybody perusing the comments here for tips on how to better learn, consider reading "Make it stick". It's a research backed book about the most effective study methods. It starts off with the most research backed and simple techniques to the more complex and less well understood learning concepts.

Here's the kicker: the two most common techiques, rereading and cramming, are the least effective.

The underlying theme about what is effective: anything you can to do to make learning take more effort, while not hindering it, generally improves it. That includes spaced repetition, practicing recall in different settings, and even something as mundane as pre-modifying the text to replace random letters with underscores. Also, testing is very important to both to measurement of learning and the actual learning process itself. Don't forget a proper feedback loop either.

Lastly, something I appreciated reading in the books was how as often as possible, there were studies done in classrooms to try to quantify how small technique and curriculum changes actually impact student learning.
Teenagers are running for governor in Kansas. Adults are trying to stop them
It's possible - but not without breaking a sweat. Coming from "HTML programming" you are looking at many years of experience and learning to get to that level despite how good tooling has become.
It's no where near clear that a civilization practicing brutal rituals is evidence of "near universal" childhood abuse. Most children were not sacrificed. In fact, most children likely never saw a sacrifice. But even if they did, that doesn't rise to the level of traumatic abuse (except perhaps in modern sensibilities).
It looks like you're being downvoted, but you're not wrong.

It's easy for most people to keep their personal data safe, because they're not targeted by attackers because there's little of value. It's hard for people whose sensitive data is valuable to keep it secure; if valuable white house secrets were stored with my strategies for protecting my personal sensitive data, they'd have been leaked ages ago.

Once your sensitive data is highly valuable, like if you store a decent amount of cryptocurrencies (or is an attractive female with private nude pictures[0] or have a big YouTube channel[1]), protecting sensitive data from the likely targeted attacks is hard.

[0]: https://en.wikipedia.org/wiki/ICloud_leaks_of_celebrity_phot... (I'm not sure if there was monetary value in those pictures, but they certainly had other forms of value.)

[1]: https://www.youtube.com/watch?v=LlcAHkjbARs (He talks a lot about unrelated (to this discussion) about his Amazon links; go to 3 minutes in for the discussion about being compromised.)
I’m gonna have to disagree with your last sentence. I’m pretty sure there isn’t any font design software out there that would let me draw an entire full-color comic page. (Which I mostly do with AI’s pencil tool - but when I need to get my hands dirty with the raw paths, I use the rules of thumbs mentioned above.)
It's not even lying: the cycle is red-green-refactor, not red-green-done. Knowing when to extract functionality (and when to inline functionality) is part of our job, not a management concern.
I'm going to quote something I wrote a couple years ago[1]:

Now, I should point out here that I’m not really knocking the people who were writing, say, command-line and file-handling utilities in Python. For years, Python sort of accepted the status quo of the Unix world, which was mostly to stick its fingers in its ears and shout LA LA LA I CAN’T HEAR YOU I’M JUST GOING TO SET LC_CTYPE TO C AGAIN AND GO BACK TO MY HAPPY PLACE. A bit later on it changed to “just use UTF-8 everywhere, UTF-8 is perfectly safe”, which really meant “just use UTF-8 everywhere because we can continue pretending it’s ASCII up until the time someone gives us a non-ASCII or multi-byte character, at which point do the fingers-in-ears-can’t-hear-you thing again”.

So a lot of what you’ll see in terms of complaints about string handling are really complaints that Unix’s pretend-everything-is-ASCII-until-it-breaks approach was never very good to begin with and just gets worse with every passing year.

I stand by this: we had a couple of decades of Python catering to this brokenness, and it made life miserable for everyone who didn't work in that particular domain. Python 3 changed that. Does it mean life got harder for some people? Yup. But life got a lot easier and more reliable for many more people, and it's a tradeoff I'm willing to accept.

[1] https://www.b-list.org/weblog/2016/jun/10/python-3-again/
I got a fury X for a couple hundred dollars before all this nonsense started, I was similarly happy with my decision.

edit: or incredulous at how much they cost now
Mining isn't the only issue although it's the one that gets all the attention it seems. From what I've heard RAM prices are high and this is a large contributing factor to the price rises - Gamers Nexus[1] on YouTube mentioned that the _bill of materials cost_ for building a graphics card had gone up by something like $20-$30 because of RAM and board partners are actually having to raise their official MSRP.

[1] https://www.youtube.com/watch?v=neNHVosINro
NVidia's sales and margins haven't really been growing. They buy fab time way in advance and sell to third-party vendors at a fixed price. They aren't selling more units, and the third-party vendors are netting all the profits.

Worse yet, if nv does invest in more card production they run the risk of bringing that online just at the crypto market crashes, when there will be much less demand for cards and a flood of old mining cards on the used market.

Worse yet, if gamers can't buy your cards you lose loyalty (can't build it with newbies and old hands slowly forget). If you don't believe that gamers are unhappy then you simply haven't been paying attention.

This is an appalling situation for Nvidia (and AMD - all the same reasons apply to them too).
Do it for yourself - tell the CTO you're doing TDD to make your own process sane. It would be weird for others to object to you adding tests to your own code. Then others will see your awesome code with great coverage and no bugs in PRs and it may even catch on. Convince one or two colleagues to do it with you.
I am an urbanite who has never learnt to drive in her forty years of life. So no, I can’t.
Switching to C++, which has compile-time type checks, still won't help in the first example. The functions might, for example, raise an exception, or abort(), or do something else which isn't expressed in that type system. Or there might be a #macro which redefined the world out from underneath you. Or there may be templates.

There has to be some level of trust.

"I have no guarantee that is_valid() returns a bool type"

On the other hand, there's no need for that guarantee. All if requires is something which can be evaluated as true/false, including by defining a __bool__/__nonzero__ (Py3/Py2).

"I cannot, in the absence of perfect test coverage, verify the correctness of someone’s code is a big red flag."

I believe the author means "verify the type correctness" here. Formal verification is a much more complicated task.

"This is one of the reasons why compilers were invented"

I'm not sure I believe that. I don't think the original FORTRAN compilers even supported type checking in the way the author envisions.

"SyntaxError: invalid syntax"

FWIW, the indentations are wrong. I wonder if that's a Medium thing. Looking at the HTML, it looks awful - all on one line. Probably stripped of extra whitespace to save bytes, and accidentally removing the extra whitespace in the pre.

"Typically only package-wide definitions should go in that file. Core logic should not be placed in these __init__.py files."

Really? You know, I have no idea about how typical that is. Some of the standard library packages do not follow that advice. For example, "venv/__init__.py" contains the logic, while __main__.py is available for "python -mvenv", and there's a scripts/ subdirectory containing scripts for different shells.

I agree that "import numpy" is horrid. It's designed for people who type "python" (or alternative like Jupyter) and sit at the interactive shell all the time. It's not meant for people like me who might want one function to use in a script which gets called often.

As a result, the "import numpy" also imports numpy.the.kitchen.sink so that some scientist somewhere doesn't have to do "import numpy.the.kitchen" before doing numpy.the.kitchen.sink.

I have several times rewritten or extracted the code I want from NumPy so I can avoid all the garbage it does at startup.

(Yes, I have strong feelings about this.)
A while ago I saw a link to https://github.com/StreisandEffect/streisand (probably here in HN) and I have it in the list of things-to-do to try it.

In the meantime I have a OpenVPN server at home just so I can log into my internal network from everywhere and use it when on public wifi... For the moment it's more than enough for me.
Hi dang. Truly appreciate your feedback on this.

We have certainly been overwhelmed by the supportive comments of friends in this case, but it was only our intention to start the conversation - not to collude on votes (I don't have enough friends for that :-) ).

We spent a lot of time on this article, and were particularly excited to get feedback on it from the HN community. Sorry if it has come across as anything different.
I think we tend to forget this because we so often muddy management and technical work, but management's job is to tell you what to build. You are the professional and it is your job to know how best to build it.
> has happened with RAM recently as well.

Is happening sadly.. ram prices are still stupid
New camera sensor detects individual photons