skysight-inc/HackerNews huggingface dataset:
A PDF file is also mostly plaintext. At times.
> But in the general case where some objects are short-lived and others aren't, surely manually splitting your allocations to malloc for long-lived ones and some sort of arena_alloc for short-lived ones ought to be faster than allocating them all in one place, then copying the ones which are still reachable out of the area reserved for short-lived objects?

This is where things get difficult, actually, and you need benchmarks because:

1. You still have a bump allocator that's much faster than a general purpose first-fit/best-fit allocator and has generally better memory locality than a pool allocator.

2. Offsetting that may be the additional tracing and/or copying you are doing as a result of garbage collection.

3. Manual memory management techniques often have their own performance costs: std::shared_ptr and std::unique_ptr both add overhead and you sometimes see additional copying where lifetimes are difficult to predict.

Which one has the higher cost is often something that can be only tested for with actual code (and can go either way).

I'll also note that this is primarily of interest for functional languages, which often have a high allocation rate. For imperative programs, the memory allocation rate (and ratio of memory that contains pointers to memory that doesn't) is often so low that even a very basic mark/sweep collector would be fine, as long as pause times don't matter in your application domain. This means that it's often not really a practical issue, one way or the other.
Not only is this stupid from a technical point of view but it could ruin the UK software industry because who in their right mind would buy any software knowing it is deliberately compromised?
The goal would be to prevent security researchers from preemptively registering all domains the malware connects to.

Although it was only a thought, with what `cesarb` mentioned in mind.
I think a distributed global database is a more appropriate analogy.
I could also care about justice and people in general regardless of race or nationality or where they live.
Intel and Samsung Gang Up on Qualcomm, Backing FTC Monopoly Suit
I hear your basic points, and this is a tangent on a tangent, but:

Rakudo, the existing implementation of standard Perl 6, is a compiler.

(I wouldn't be surprised if the code currently generated by Rakudo for this algorithm is far slower than the code generated by rustc but that isn't because it isn't a compiler.)
To be fair, any form of massive supply is sufficient. It need not be immigration.
Right. Just to highlight a part of this: the transition from old economy pay-with-dollars to new economy pay-with-lottery-tickets (stock options) naturally looks good when you only notice the winners, but can be expected to cost the employers less.
The Official Secrets Act must be signed by you and pertains to 'official secrets' you may become party to as a servant of the Crown. It is not illegal to share this as a common civilian. Whether it is safe to do so is another matter entirely.
Intel releases the last Itanium chip, the 9700
It's not very appealing to respond when you don't give any reasons. I work with making and maintaining Linux distributions for enterprise, and previously embedded, systems (including desktop). We commission open source work, buy 'support' from major vendors and upstream our own changes. I don't share your views and judging by the development in things like e.g. configuration management I don't think I'm alone.

> So which is it, I am fine if I want to run the newest, or if a do not need the newest? Your statement is a contradiction

I don't see the contradiction, maybe I didn't express myself very well. The problem is when you mix old and new software and distributions. As long as you run a single release (old or new) and all software is for that release you're fine. When you have to deal with many different versions of third party software, libraries, interpreters, shells, build systems etc. is when you run into problems. Just like in the case with "ExpensiveScannerManager95".
"Free" apps.

The only cost is the student's privacy. Gotta get them sucking at the Google teat early, and in to their database as soon as possible.
For basic-to-semicomplex tasks (I'm sure it'd be different if writing a book or something) I've found Google Docs/Slides/Sheets to be easier to use and more feature-rich (…you still can't crop pictures in LibreOffice…)
Are the people volunteering to ryn the cinema also desperate immigrants struggling with their paychecks?

If not, you're wondering why the starving don't eat cake.
Yes:

Several of London’s largest banks are looking to stockpile bitcoins in order to pay off cyber criminals who threaten to bring down their critical IT systems.

https://www.theguardian.com/technology/2016/oct/22/city-bank...
The first part of that is optional, and the last part of that is also optional.
If you're really committed to leaving I suspect it would be better to do so, and get settled, in advance. Instead of on the flag-day when "everybody" else is also leaving.

Moving countries isn't easy, and getting settled in a new location takes time.
Microsoft still sold XP recently. XPe is still supported.

It's unconscionable that they sat on this.
Really good stuff from what I could tell from a glance at this!
"Linear Algebra Done Right" is a terrific book, though personally I favor Lax's book: "Linear Algebra and its Applications".
I have not studied Terence Tao's notes (which I obtained from AMS's link for "open math notes") https://www.ams.org/open-math-notes/omn-view-listing?listing....
Based on what I know of Tao's writing in general, this should be fun.

Note that these references have a more "abstract" viewpoint (e.g focusing on "coordinate-free" methods, such as linear operators as opposed to matries as the fundamental object) than that advocated and taught by Strang. I do not know in the end which is better for an absolute beginner.
All I can guarantee is that the abstract viewpoint is definitely needed and far more useful for anyone using math beyond its basics. This includes (but is not limited to) machine learning and optimization.
> If there is no such manufacturer, than if people understand that it's of value to have hardware/software which they can maintain themselves, such market will be created. You could also build the hardware yourselves.

I'm afraid most of the value is probably in the lab hardware itself, not the FOSS stack fetishism. As such you'd need to figure out how to ship better and/or cheaper lab hardware to gain market share, when an entrenched provider has already learned how to ship state of the art hardware. If you really believe market forces will value FOSS for FOSS's sake that highly, perhaps you'd like to start that hardware startup yourself? You make it sound so simple... perhaps you already started one? But for most, I think the Hobonson's choice I think you're actually proposing is between:

1) Continuing to do lab work with the proprietary hardware

2) Letting someone else replace you when you switch careers to work on your new hardware startup. Your replacement is unlikely to care as much about FOSS as you (after all, you were willing to quit over it!), and even if they do, their replacement likely won't. The perverse result of this is a decreased demand for FOSS lab equipment, not increased demand!

You might increase supply of FOSS lab equipment. Or (and I think this more likely) you'll go bankrupt before moving the needle. Speaking for myself, I can't convince myself of the untapped market potential of this niche, I don't know hardware, I'd be going up against incumbent experts, I'm not passionate about lab equipment... if I somehow acquired investor funding under these circumstances I would worry I had conned them more than I had convinced them of the merits.

Some "choice".

Better to keep doing lab work if that's what you enjoy, and perhaps agitate for less proprietary FOSS options if that's something dear to your heart. Maybe you'll cure cancer and save the lives of future developers of FOSS lab equipment.
Does this mean that I can safely connect my outdated Windows 7 back to the internet?
I've always liked the simplicity of a linear tax with a rather large tax credit and paying out rather than collecting when income after tax credit is negative.

I'm not sure if such a system can be made sufficiently progressive.
In case anyone else is interested this is (probably) the image the "set theory books all the way down" should link to: http://also.kottke.org/misc/images/naive-set-theory-cover.jp...
"To provide and maintain the capability to disclose, where practicable, the communications,
equipment data and other information in an intelligible form to standards specified in the notice
and to remove electronic protection applied by or on behalf of the telecommunications operator to
those communications, equipment data or other information, or to permit the person to whom the
warrant is addressed to remove such electronic protection."

Could this be interpreted, legally, to exempt end-to-end encryption?

- When implemented properly (i.e. with proper key verification UIs) it should not be "practicable" for communications operators to force disclosure of the contents of users' communications.

- End-to-end encryption is not "applied by [..] the operator" but rather applied by the users' device.
It's still an hazardous bet. A whole business based on hardware that can't be replace if it brokes is a sign of really bad management if you ask me.

I Fully understand that money involved could seem (and would be) a huge investment, but if it breaks... tons of money will be involved too.
As a comparison, $17.40 is what a rural carrier starts with the us postal service. [1]

After a strike in the '70s postal workers could bargain. This has led to stable, unglorified, mid pay jobs. The bargaining was and is key.

Now, if you sign up as a City carrier you can (with luck) become "regular" in 90 days. You will get 23 paid days off, eligible for federal pool health insurance (quite good 2m pool) where you pay 25% premium, never work Sundays, guaranteed 40 hours work a week, no email, stress, home by 5pm.

[1] https://wp1-ext.usps.gov/sap/bc/webdynpro/sap/hrrcf_a_unreg_...

Choose state and "delivery"
Nice to see a sober reaction to all the victim blaming that's been going on. Reality is eventually more complex than some commenters would like to acknowledge, even on HN.
Seriously.. how many leaks have there been in the past week?? I'm losing track.
Whenever a news update about AmigaOS comes out, I continue to be surprised at the tenacity and inventiveness of that community. They're doing interesting things.
You are not taking into account differences such as cost of life in the country. Almost every single country that has minimum wage, when brought back to US levels, has it higher than $4.4/h.

Minimum wage isn't a matter of having a certain amount of money. It's being able to live with dignity.
Every analysis I've seen about the Mars settlement problem follows from the idea that we need to adapt the Martian environment to our needs. Perhaps it is ourselves that need to adapt. Synthetic bodies may be a better long term solution; isolate our nervous system in a compact support module, and connect it via neural interface to xeno-fit bodies.
Is there any evidence that computers in the classroom improve results of the 3 R's ?
> I cannot answer for them what they are going to do with the quadratic equation. I don’t know why they are learning it

This sounds disingenuous to me. There are lots of things kids and college students and adults learn that have no immediately foreseeable application. I'm sure most people on HN have thought about it. I wonder what the consensus is.

My take is that learning how to use technology should not be a classroom priority, for many reasons. One of those reasons is that there is no guarantee that whatever tech you learn will stick around. I had a high school teacher insist that we use Ask Jeeves rather than Google because she "liked it better."

It feels as if the adoption of Google products is driven much more by convenience for the school system than by a strong belief that it improves learning. I'm not an expert, but I remember reading more than once that technology doesn't seem to have a meaningful main effect on learning (though perhaps has a mild interaction effect with the teacher.)

The article itself barely addresses the question of learning outcomes, and focuses so much more on privacy.
The untold story of QF72: 'psycho' automation leaves pilots powerless
For us we only have 2 of us to cover all technology in our district. That is every from servers to networking to security appliances to the apps on the kindergarten iPads to writing custom tools for admin. We have to carefully choose tools we can manage in mass. I wish we could offer more, but there is no money for it.
> exponential gains in productivity to teachers

What are you thinking of? What are the big advances in education that have been made in the past few decades? I have kids in high school right now and I can say they are learning things earlier than I ever did. They have a lot more pressure on them as well. I'm not certain that's a good thing though.

As far as technology goes, I don't see much change other than acceptance of it. My kids are encouraged to use their cell phones productively (calendar, communication, camera, etc...). But the process of education itself seems about the same as it always has been. Gains certainly haven't been exponential.
I view the GPL as a form of DRM. It may be DRM for a good cause but it is still DRM. DRM is about control and I don't think that imposing controls is ultimately compatible with the notion of "free software". I get the arguments in favor it but am not convinced.
> 7. To ensure that any hand-over interface complies with any industry standard, or other
requirement, specified in the technical capability notice.

... Presumably now that the "industry standard" contains a backdoor, we (the people) can have a backdoor into this hand-over interface too?
“I cannot answer for them
what they are going to do
with the quadratic equation.
I don’t know why they are
learning it.”

If Mr Rochelle cannot answer this question, and recommends just googling it, he might not be a good person to be anywhere near STEM eduction.
People need it. People want it. Allow the people to pay for it.
They will issue patch for processor that will fix it. Just another bug.
What's the best way to benchmark perf optimizations in JavaScript. I see lot of articles like this with no time and memory usage stats.
I would like to hear an answer from someone who has experience using gdb or visual studio while studying performance. Whenever I use the chrome debugger to time anything involving async calls and recursion I have this uncomfortable feeling I am not getting it right. With gdb or visual studio C/C# I always feel like I know what is going on.
I would refuse to develop or deploy software in any country that mandates such backdoors.
>The Official Secrets Act must be signed by you

That's not true. It's a law not a contract; everybody is bound by it: http://researchbriefings.parliament.uk/ResearchBriefing/Summ...

>Do you have to sign the Official Secrets Act to be bound by it?

>It is not necessary for a person to have signed the Official Secrets Act in order to be bound by it.
Your profile links to a twitter account, that has the same name as a Github account, which suggests that you are using Atom, which again, may suggest that you have a job in software development.

You are in an ivory tower, relative to most of the other people in Venezuela.
> For us Microsoft tools were the highest price point [...]

Why talk like this? Why not say: "Microsoft tools were the most expensive"? Honestly asking, does the sentence convey any extra information by phrasing it in this weird way?

And what's the difference between a price point and a price?
Disappointing end of the article, real cliffhanger. I wonder if there will be a part 2.
No, the context is _paleontology_. But I get your point. We disagree and I accept that.
If the Official Secrets Act applies to you, it's an offence to break it even if you've not signed it.

http://researchbriefings.parliament.uk/ResearchBriefing/Summ...

edit: beat to it by a minute!
Rejection Letter
> there is no guarantee that whatever tech you learn will stick around.

Ok, but there are plenty of aspects of using tech that transcend the lifetime of the actually device you are using. Coding, of course, is timeless, but even the basic idea of experimenting/discovery within a UI is something that many older adults lack from not having tech when they were younger.
Curious who in the USPS isn't delivering on Sundays when their little trucks are everywhere on Sunday. Still comparing this to Uber is a bit absurd. Uber is contract for hire/etc - there is little more needed than being clean of record and signing up. Good luck getting into the USPS. Plus with Uber and similar your workload is what you make of it.

So while Uber is on many people's shit list we must not make comparisons which are in effect meaningless. Instead we need to compare them to direct competitors, the other for hire services and other private delivery options on the low end. The higher end open delivery might be FedEx Home, FedEx and UPS are similar to USPS, you have to first get past the hiring process and live under someone's schedule and tight rules
For nice enough smooth functions, the minimax approximation can only improve Chebyshev by at most ~2 bits; this http://www.uta.edu/faculty/rcli/papers/li2004.pdf paper shows that the improvement is in fractional of bits for elementary functions. I'm really not sure it's worth the effort and incurring more error around every pole to tamp things down around Chebyshev's worst case. For single floats, I did find it interesting to restrict the search to coefficients that can be represented exactly as single floats. For doubles, rounding of coefficients is probably noise unless you're writing a libm.
I believe the malware was designed to do that as part of a way to test and see if it's in a sandboxed environment if someone was trying to analyze it. If I understood this correctly, checking the domain was a way to do that (although I might be completely wrong).
Who is this we? America opted out of the OECD privacy framework.
They might argue that it is 'practicable' to force-push a software version of whatsapp that also sends the messages to the government. Alternatively, they could argue that since e2e services can't provide this backdoor, they aren't legal.
Who is it that can only find work with UberEats?
Only a person who had once learned it before would be able to quickly get back up to speed by googling it. Math is a language not trivia.
that's not true at all, Section 5 applies to everyone, and deals with passing on secrets you've obtained from people who have signed the act.

That said, and IANAL, this document is not covered because of 5(2) - there's no reasonable grounds for believing that releasing this document is damaging to national security. It's a draft, so does not describe any measures currently in effect, and the draft will be made public in a few days when it is submitted to parliament, before it has any effect.
> he said: “I cannot answer for them what they are going to do with the quadratic equation. I don’t know why they are learning it.” He added, “And I don’t know why they can’t ask Google for the answer if the answer is right there.”

Wow. Back when I worked for Boeing on the 757 design, there were engineers that were "formula pluggers" who pulled formulas out of manuals and used them. Then there were engineers who understood the formulas - where they came from, what assumptions they were based on, and how to derive them.

The latter used the formulas correctly, the former often blindly misused and misapplied them.

Googling for a formula is not how proper engineering is done.
I think that it is more likely that there was meant to be something else on the other end which did something but x0rz got there first so it broke.
I used crash plan on Linux for years, but stopped because their Java client is a train wreck.

It would consume gigabytes of RAM and every year or so it'd meltdown when trying to install an update without using the system package manager.
What they didn't give a thought too, was that this wasn't a new product and you can't drastically change things like that when you have a large existing user base that rely on your product day in and day out. They functionally broke the product for most of their users; I've never heard anyone in the word place compliment it, it's universally hated. The only people who seem to like it are designers, who frankly tend to come off as clueless to what real users just trying to get a job done actually want.
No! All it takes is a single byte to be patched and the "killswitch" can be disabled. There are almost certainly other variants already in circulation.

Use an offline security update.
Push it a little bit harder and you are going to argue minimum wage is a stalinian horror.
Show HN: Awesome-Compilers List
You can probably make that argument for slavery too. Both would be wrong. Back at my first university where we went over macro economy and countries, they told us every county must at some point step in and set some basic rules. Not setting these basic rules means going backward in civilization benefits (Not to mention other countries stepping in because they simply advanced more).

So, we evolved out (in economic and civilization sense) of slavery, as we evolved out of unreasonable minimum wages, with the help of governments (enough people saying: no). In a complex system such as a modern western economy, one can has these cracks (work for an hour to buy a loaf of bread and milk), which is very close to slaving, and because these economies are modern in other aspects, they can buffer than. But, the road is still downhill.

The government that doesn't care about it's people, will self destruct eventually. No matter the form. It's a historical fact.

In this very narrow case of Uber, Uber will self destruct eventually, as they subsidize prices to ensure growth. Once they stop doing that, then they are just another Taxi company with an app. And most of the Taxi companies already have apps. So it will be down to the drivers (who in the case of Uber will be paid even less).

The above hypothesis will be tested fairly soon, as Uber is having their IPO this year in fact.
Only for those to introduce their own problems, like having some insecure lib sitting in a container somewhere...

I really wish userland devs would spend more time actually maintaining API/ABI stability, and less time reinventing wheels because they are not "perfect" (after whatever arbitrary marker for perfection they work with).
So basically, its better that these workers be unemployed? Or you assume there will be an unlimited supply of alternate jobs available?
So in the end if there were no migrants in Sweden then there would be no problem with low wages.
Nice refutation. Also, are you aware that minimum wages laws were originally designed to prevent low skilled blacks from competing on price with whites, right? Even to this day, minimum wage keeps minorities out of jobs. But if it makes you feel better at night that at least no one is payed $4 an hour, even if that means staying at home with $0 an hour.

For those downvoting, this is a historical fact:

- https://www.forbes.com/sites/carriesheffield/2014/04/29/on-t...

- http://www.latimes.com/opinion/op-ed/la-oe-0405-leonard-mini...

When you have no skills, you need to compete on price, that's just a fact of life. Preventing people from competing on price will keep them poor and unemployed. When this is done on purpose to racial minorities, it's called racism.