skysight-inc/HackerNews huggingface dataset:
Related: Mozilla recently used WASM-via-Rust to reimplement the core of its source-map JS lib (with millions of downloads per day, so many of you are probably already using it) and concluded that the new version is "5.89 times faster" on real-world data: https://hacks.mozilla.org/2018/01/oxidizing-source-maps-with...
> The only place you fall into a trap here is if you're both unwilling to change the design in the future and you're wrong about the design.

I'd change the "and" to an "or": is if you're unwilling to change the design in the future or you're wrong about the design.

This is because:

1. Even if you're right about the design, and can make people want it, the market (which drives what people want/can be made to want) may change. You will have to change, usually sooner than you think; a great vision doesn't prevent the need for that.

2. If you're wrong about the design or don't have a good sense for "what is needed/works", no number of pivots will save you, because each pivot will likely be to something that people either don't need or doesn't work.

A failure in either is a kiss of death.
> Average citizens are afraid to even kill thieves and extortionists due to court prosecution.

This is a good thing usually. What are you meaning?
I'm not the person you were addressing, but I'll bite anyway.

The members of my family have dreams, but any free time they have they spend it on Facebook. I don't WISH these jobs on them, but this is exactly the skills they have.
Who exactly doesn't have family & friends that have done exactly these types of jobs at some point?

Are we talking about the gold lined streets of Norway, as the 0.1% example that is supposed to represent the real condition of humanity among the other 7.6 billion people?

I've never known someone that hasn't done these types of basic work jobs at some point their lives. That's not an exaggeration.

It can be working a marina boating dock during the summer, pumping gas for minimum wage at 20 years old. It can be cutting yards & doing basic property maintenance work for $15 / hour at 25 years old. It can be a cashier at Walmart for $11 or $12 / hour. It can be working at a liquor store, doing cashier work, filling shelves, running product into the cooler, and vacuuming before going home at night. There are millions of basic jobs like that need to be done.
Solar energy collection in space is cool and has pretty much limitless energy potential, but getting the energy back to earth?? Problematic...and yes lasering it back to earth is freaky. :-)
Best of Fabio Wibmer 2017 – Straight from the Athletes
Not many articles on people working tough jobs in mines, farms, etc. What's so special about Amazon's warehouses?
Funny how walmart (neighborhood stores) never seems to have this problem? at least that's what I see locally.. it's always stocked for the most part unless say we have a Hurricane coming our way!
Hear, hear. Is this good for optimization problems over the reals, or only finite-domain problems? If the former, can it solve nonlinear problems?
While it's probably good to aim for less consumption, there's no fundamental reason that those countries couldn't have the same progression in workers rights.

What needs to stop is western tax money pouring in through different channels to support repressive and corrupt regimes and policies under the guise of keeping these countries "business friendly".

The working and middle classes in the west have been undermining themselves for quite some time now.
Why exactly do people call good explanatory manuals "the hard way"? The hard way to learn something is using nothing but the official reference manual or the man pages. What I have found by the link is what I would rather call "for dummies" :-)
Parent said frame rate, not bitrate. They are orthogonal to each other.
Languages evolve. And cryptocurrencies are one of the most important applications of cryptography. Better get used to it.
African Americans were taller than whites in the years of 'systematic slavery and oppression'. Today they are shorter than whites.

Slaves worked 89 percent as many hours per year as whites.

[Trevon Logan](http://www.econ.ohio-state.edu/trevon/pdf/Pres_Address_09-02...) did an experiment seeing how much cotton his children could pick in a day and found that they picked 95% of what the slaves picked of the same age.

Only 1.2% of the former slaves interviewed by the Works Progress Administration in the 1930s reported having been raped by a master. Today, 22% of black women report having been raped.

According to Steven Crawford in "The Slave Family: A view from the slave narratives", 51% of black slaves had intact families. In 2011, only 37% of blacks had intact families.
Would this job be better if they were paid £22,000? £30,000? £45,000?

Regardless of the pay it would always be a shitty job because it’s hard manual labor.
There are worse jobs for sure but there is virtually no plausible amount of money that would make this job a good job other than the premise that any job is better than no job.

And we are at fault here we want cheap stuff delivered ASAP even in the middle of the night.
Thank you for the feedback!

Not yet, but I've just created a ticket here: https://github.com/sharkdp/hyperfine/issues/20

Should be easy to implement.
Depends how high the turnover rate is.
Rocker Tom Petty died from accidental drug overdose
> School also doesn't necessarily lead to a better job.

Right, because a degree is worthless if you didn’t learn something applicable to the job you want afterwards. To many kids these days go to college, party and have fun, get a b/s degree, then wonder why they are basically screwed afterward and in a mountain of debt. Not everyone should go to college, trade schools have a bad stigma when really they are the right avenue for many young people.

> Do you have a college education in your field of work?

Yes

> Who paid for it?

Me, and without loans too. Admittedly I went in the mid 90s when prices were more realistic, but I also chose to go to a not big name state school and I worked my ass off in a job while in school to pay for it.

> Who paid your rent, food, and other expenses while you attended school?

Me, myself, and I. It wasn’t easy, but I also was raised with a strong work ethic and realized if I wanted to advance I had to do more than others, not just be average.

While GP’s tone was a bit confrontational, I feel yours is just as toxic. Putting in 50 hours in classes on top of 50 hours work is unrealistic for most, but 15-20hrs isn’t. Yes, it’ll take longer to advance, but it’s still doable. Many of the points GP made re: how young male generations were raised are sadly very on point and you should try to have an open mind and not just snap back.
Amazon is famous for spending every penny they make on investing in Amazon. Their net profit is not really a good place to look for the amount of money they’re actually making.
I’m using vultr now and I vastly prefer it over Linode (I’ve yet to fully try DO).

It’s super simple UI to start an instance with a basic script (like update distro and developer tools etc). Lastly, you can pass in your pub keys and just ssh directly without doing it yourself the moment you log in for the first time.

All in all highly recommend it!
Yea not directly supported by Google, but being built by Google engineer(s).
That may have been how the author came up with a prime number, but any extremely large odd number is probably prime, since the primes get further and further apart as you go further along the number line. So it may have been a lucky guess.
I'm pretty sure his favourite text editor is emacs.
> Why would you assume that D or Rust would be make developers more productive? If the developer already knows C++, then switching to D

Because D is very obviously C++ but better. Rust isn't, though. But D, down to the very name, has lots of things that appeal to C++ users. It has advanced metaprogramming, is multiparadigm, it compiles down to machine code, and has very similar syntax to C++.

D has had other influences, but it is written by C++ compiler writers who think they can do better than C++. I say this as someone raised on C++ and who is now trying D. It is a very natural progression to make, if you're inclined to try something new.

Furthermore, Vibe.d is kind of a burgeoning "killer app" for D. D's package manager, for example, was originally made for Vibe.d. This isn't the only way in which Vibe.d has influenced D development. Vibe.d is one of the most popular D libraries. It's the only D library I know that has its own published book,

https://dlang.org/blog/2017/09/13/the-making-of-d-web-develo...
I call bullshit on all of these, with the possible exception of Fitt's Law and Tesler's Law.

It seems that a lot of things these days are being extremely simplified beyond their point of usefulness and that things are always too small and too cumbersome to click, and require extra clicks because "wow such empty-ness and whitespace-ness".
You could say the same about the children working in the cotton mills, but we banned that.

Without Amazon, there might be more local tax revenue, more local shops providing employment, less focus on extracting 100% from every employee.
Thank you for the feedback!

Yes, having a "cold" or a "warm" disk cache makes a massive difference for I/O-heavy programs. For one of my other programs, I differentiate between "cold-cache" and "warm-cache" benchmarks: https://github.com/sharkdp/fd-benchmarks
Everybody focuses on the “graph” aspect of GraphQL (obviously), but at its core, GraphQL let’s you define methods with input types and return types in the same fashion as you would with any other RPC framework.

If you define your methods and types independently of each other (i.e. without any sort of graph or relationship) I don’t see how it’s any different than SOAP/XML or gRPC.

The bonus comes with graph/query capabilities that come layered on top. We’re basically exposing our canonical domain model (broken down into microservices by bounded context, and stitched back together to present a unified model), and at the same time, we should have no problem handling more RPC styled requests (e.g. sendNotificationEmail()) when necessary.

This approach was a bit of a revelation for us, but we haven’t really seen anyone else out there doing the same thing, so I hope we aren’t barking up the wrong tree.
> Not at all, what I am saying is that "Don't roll your own crypto" mono-culture makes impossible for people to grasp the basics of crypto.

To be brutally frank with you: most people are not qualified to implement their own cryptography, and you cannot become qualified if you skip the significant prerequisites. Much like computer science in general, cryptography is not comparable to software engineering or programming.

You can learn e.g. web development in a piecemeal, circuitous fashion. You cannot learn cryptography that way - you’d first need to understand advanced mathematics (abstract algebra, number theory, probability theory, maybe some game semantics) and computational complexity. Then you need to thoroughly understand the existing algorithms before you figure out how they can be (safely) improved.

Attempting to develop novel cryptosystems (“roll your own crypto”) without this background is irresponsible. It’s not that it’s impossible to grasp the basics, rather it’s that you need to be willing to work through a significant amount of material before you can even understand what your “unknown unknowns” might be.

To put it very succinctly, would you attempt to publish new research in computer science or mathematics without significant training in either?
After Vowing to Fix Washington, Trump Is Mired in a Familiar Crisis
I'm curious about whether they will actually bring materials back to Earth. It seems like it would be prohibitively expensive, though perhaps you could construct gliders out of large chunks of titanium and fly them down from orbit cost-effectively, or float small chunks down with balloons.

To me the space-mining industry has always seemed better suited to constructing habitats and vehicles outside of gravity wells like Earth and Mars; part of why it's so expensive to have the ISS is that everything needs to be lifted up from Earth, but if the raw building materials and water (for producing oxygen and hydrogen fuel) were mined from asteroids, then there's less need to go back down to earth for your bulk materials. This would make the second and subsequent generations of mining infrastructure much cheaper to build, and once you've got manufacturing going in space, suddenly the mining becomes a lot easier.
It’s an internal problem first and foremost and progress needs to be made at home first. There are models to follow. New Zealand had been making slow and steady progress righting colonial wrongs. There have been many missteps and failures but the overall direction is positive. Important differences though - systematic and large scale slavery didn’t happen and the time frame during which the damage was done was shorter.
The holes in this article belie an fundamental misunderstanding of how the flaw works, and, how computers in general work. I agree with the general premise of the article, but if they don't understand it, they should avoid trying to explain it.
GitLab had a permission escalation issue that I saw unpatched on an on-Prem install. Contractors accessing it via VPN (and even local employees) would have been able to access repos and actions they didn’t have permission to access.

And it’s not like nation states can’t attack companies directly.
I would say weightlifting has made me much calmer in my day to day. If I workout in the morning, nothing else can bring me down during the day. It's just the iron against me. If I can conquer my mind telling me I can't do that I'm too weak, and repeatedly prove it wrong then, what else is my mind wrong about?

It annoys my girlfriend sometimes because nothing really bugs me or gets me really upset though she tries her best. I would say this, and stoicism are big reasons why. There are also numerous studies that show exercise reduces stress an improves your overall well being.
IMO better to fork/exec ffmpeg to avoid memory leaks and security issues. The fork/exec takes a few microseconds and works well (you can even pipe it data). Of course, if the command line options doesn’t do what you want, that’s a different issue.
According to the article he's putting away 1000 pounds, or about $1400 per month. Let's imagine he puts all his money into an index fund and they continue hitting about 8%. He's a millionaire before his 40th birthday, if he started when he was 18. And that's if he never receives a raise or finds a better paying job. And at that point he's pulling in $80k a year in growth/interest alone.

That's not an easy 22 years, but on the other hand that this sort of life outcome for somebody who's job is basically moving boxes is possible seems like huge success of our economic system. And that's in the worst case scenario of him never finding more productive work.
I'm not sure Apollo is the best benchmark. The primary goal was to send the astronauts there and bring them back. Just changing the primary goal should result in a huge reduction in the cost per gram. You'd just send a tiny excavation rover and have it fill bins for the return trip. Followup trips might even skip the rover and just use the one already there. There is a huge amount of room for efficiency and cost savings especially if you leave the humans home.

Though, Moon rocks are a bit of an outlier. They don't have much value outside of science and as a curiosity. You might want to focus on something with more predictable demand. In which case, it may get more complicated than "shovel stuff into a bin".
My father worked in a mattress factory, which I imagine was fairly similar. Perhaps Amazon is worse in some ways (lack of human contact) but I bet it's a lot safer and has less heavy lifting. I'm sure he's glad he wasn't stuck there for decades, but I don't think he thought it was nightmarishly terrible at the time. And even the dullest-seeming jobs are usually enjoyed by a a few people.
Eye roll. Yes, securing our Internet traffic and protecting our sensitive data is nothing compared to technologies that allow us to pay for drugs online or print get-rich-quick coins out of thin air for ICOs.
I wrote a small wrapper library a decade ago that wraps the decoding capabilities of libavcodec/libavformat in way that makes it relatively easy to use from other programming languages (Pascal in this particular case)

https://github.com/astoeckel/acinerella

Note that this was one of the first C programs I ever wrote and the API is suboptimal (relies on structs being passed around instead of providing access via getter/setter functions). I don't really recommend that people use it, yet looking at the code might help people to get started with ffmpeg.

Also note that the libavcodev/libavformat libraries have gone a long way in terms of ease of use. If you have a look at the first versions of my wrapper library, it required really weird hacks (registering a protocol) to get a VIO interface (i.e. have callbacks for read, write, seek).

All that being said, today I usually just spawn subprocesses for ffmpeg/ffprobe if I need to read multimedia-files, and I think that for most server-side applications this is the best method (it also allows to sandbox ffmpeg/ffprobe).
Not sure I necessarily agree with all your examples, but yes, this trade-off between safety and performance does exist in C++. It is particularily acute whenever you're forced to work with third party libraries that don't agree on a single approach to memory management.

Rust is essentially a bet on the impossibility of working around that trade-off in C++. And they are right, it is impossible to close that gap completely. C++ simply doesn't have the language features to enforce all necessary ownership rules without a performance penalty.

But I see trouble on the horizon for Rust, because that gap is quickly shrinking to its formally irreducible minimum as more C++ libraries are adopting a "modern" style. What's left of that gap may be too small to fit an entire new programming language built around fixing this single issue.
I don’t think it’s fair to call Meltdown a bug. It’s like LLVM aggressively taking advantage of undefined behavior in C. Processors, like compilers, are designed making assumptions about what they owe the user and what they don’t. The architecture manuals promise that a user space read from protected kernel memory will trigger a page fault. They don’t make any other promises.
The WebGL implementation is kinda cheating - shaders use single precision floats and sloppy --ffast-math style optimizations, whereas the JS and WASM versions use double precision and strict IEEE floating point rules. Hence why the WebGL version produces noticeably different results to the others.

It would be interesting to replace f64 with f32 in the Rust code and see how much difference that makes. Unfortunately there's no --ffast-math in Rust yet AFAIK.
Suppose I come down with cancer. I have a grand piano, which I auction off to pay my medical bills. The highest bidder offers $4,000, so that's what I sell it for. It isn't enough, so I run out of money and die.

Is the person who bought the piano morally guilty for "ignoring others' suffering"? Should they be held guilty unless they bid however much I needed for my cancer treatment, even if that's $1,000,000? Are they more guilty than the losing bidders, who offered even less, or people who didn't bid at all? That's what this seems to imply about Amazon (or all employers, really), except in this case, the person is selling a service (whatever work they perform) rather than a piano.
I run pihole in a docker container on linux, so the password thing isn't a problem.

Also to people redirecting ad servers to 0.0.0.0, that can cause page damage particularly with things like iframes. Pi-hole instead redirects them to its own webserver and serves up 1x1 pixel transparent images to avoid this.
People just throw around qualifier attacks these days without thinking about the reality of modern processing power and what is really overoptimization. Just because CGI is slow-er- does not make it slow. So many hours are wasted on overoptimization, myself guilty of it - simply because of OCD type tendencies. I hope when I am finally on my deathbed I am not picky about the color of the sheets...
Soon or later all banks in Europe because of psd2.

You might also want to check out figo and fidor.
Who is we? :)
I was replying to your question, which I should have quoted.

> Do people have other good use cases that justify paying the dev cost of using C++ for a web server?
Just a random rant: Our data team onprem infra is based on EPYC and boy it's wonderful.
We've just placed an order for another 200 EPYC-based servers for our onprem setup that's set to arrive in Q1 but folks already can't wait.

AMD people should be proud, as customers we're really happy. I hope that GCP would have EPYC-based platform at some point too.
It would be better if they were paid more. They would be able to afford reskilling or work 1/5 less and reduce stress on their body.
https://en.wikipedia.org/wiki/OSIRIS-REx

https://en.wikipedia.org/wiki/Lucy_(spacecraft)

https://en.wikipedia.org/wiki/16_Psyche
You sound very resentful. You're upset because you didn't invest and now you feel left out? Why not take out your anger on random internet people you don't even know.
Channel 4 interview with Peterson that's popular atm: https://www.youtube.com/watch?v=aMcjxSThD54
Ignoring whether asm.js is a fundamental protocol or not, the Web wasn't supposed to depend desperately on the byte orientation of the consumer. Surely you remember how it was supposed to lift information access above what type of computer you viewed it on.

WebGL's endian specification was the beginning of the end, after which folks started saying certain implementational details weren't worth caring about, and this just finishes it off. And that's not what was being sold in the beginning.
Why is your pi-hole exposed to the internet? That's not a great idea. You could have other people using your DNS service also.

It's true it's security through obscurity and won't slow down a spear fisher, but I always change the SSH port to something like 22022 when I have to expose it to the internet and find this eliminates almost all of the portscanning/doorknob rattling. Same thing with wordpress, changing the /wp-admin directory is immensely helpful.
Breaks networking on High Sierra.
No Browser works anymore.
curl stops working.
git doesn't even trigger its asking window.
Power usage doubles when networking is used too.

After uninstalling it the kernel crashes.

Sad.
Theoretically, any application data stored in memory. An example might be a key used to encrypt user data server-side. The scary part of this attack is how it basically breaks the assumptions that most software was written under around memory isolation. Consider an AWS instance that shares a physical system with a different customer’s instance.

Amazon, Google, Microsoft, and basically everyone else is scrambling to fix these issues because of the potential. Basically, it’s going to take years to cover the long tail for this issue, and waiting until exploit kits are commonplace isn’t necessary to understand the potential impact.
Consider GUI wrappers the "for dummies" version.
[...] but there is virtually no plausible amount of money that would make this job a good job [...]

I think I would happily do that if it paid well enough so that I only had to work, say, three months or less a year.
MiniZinc itself is only a specification language, which a large number of solvers can use.