skysight-inc/HackerNews huggingface dataset:
There can be hardware-driven requirements that force you to simply have data in a particular place in memory, and if you want that data to hang around you might need to manually move it somewhere else.

There's also the case where your API accepts a pointer and a size, but you don't want to have lingering pointers into the caller's memory, so you have to copy the data over to the "inside" of the API. This kind of design is perhaps less common in demo software, but certainly plausible in embedded products which at least try to be somewhat optimized.
Ramjets do live on to an extent, in NASA technological demonstrators but also more interestingly in the SR-71's legendary J58 engines, which switch to from mostly turbojet at low speeds to mostly ramjet at high speeds: the compressor is almost entirely bypassed then[0] and the vast majority of thrust comes from the "afterburner", hence the engine's maximum efficiency being around Mach 3.2.

[0] https://en.wikipedia.org/wiki/Pratt_%26_Whitney_J58#/media/F...
why would they make it so small? its never going to be more than a curiosity if your hands are all cramped while you play it. it might make some sense if it were a little cheaper... it would be so much better if they made it much larger and gave it a larger screen and better buttons. that would be awesome.
It's not bad for Seattle, and they have been doing amazing on stock price the last couple years which helps. Especially when they backload the initial stock vesting.
It's a mix, same as any other warehouse.
Agreed. We've already been pooped on by the Dice Tower.
> Which is always, because defaults are ugly as hell. Might work for math papers, but not much else.

There are shittons of templates.
The grandparent technique does not rely on physical access to the raw hardware - only mouse, keyboard, and power switch (intended human interface endpoints). The computer case could be behind a concrete bunker with the only communication being cables for the mouse, keyboard, power switch, and video out, and no ports, and this would work.

The Windows security model is intended to protect administrator-account access given these parameters.
In the past I have tried some script to check the changed files, but no one was working on my shitty hosting. The main problem was that they were for Linux, but my provider used Windows.

I will try this, hoping that it works even on my hosting.
I think a big difference is the flags. At least for g++, if you don't specify -march=native -mtune=native you're going to take a performance hit. How much of a performance hit depends on the features.

The sorttest.zip Makefile has only the following flags specified: -O3 --std=c++11

Where bjourne has: -O3 --std=c++11 -fomit-frame-pointer -march=native -mtune=native

I might rerun your tests with bjourne's additions!
Fukushima cost estimates nearly double, approaching $200B
Getting Started with Web Notifications API
That would put me off both the advertiser and the platform (Facebook? Google?) for life.
If you are able to CAD a product then chinese manufacturers will be happy to manufacture it. SeedStudio seems to be popular for that.
VideoChatHeads - A custom Facebook-VideoChatHeads implementation
More about that coal-powered supersonic plane (that didn't fly): https://en.wikipedia.org/wiki/Lippisch_P.13a "Initially, it was proposed that a wire-mesh basket holding coal be mounted behind a nose air intake, protruding slightly into the airflow and ignited by a gas burner ... The coal was to take the form of small granules instead of irregular lumps, to produce a controlled and even burn, and the basket was altered to a mesh drum revolving on a vertical axis at 60 rpm."
If it increases the rigidity of the nanotube wires it could take us one step closer to a space elevator
Ask HN: Move back to previous company?
I am a frontend developer working in AdTech in India.

I switched to a new high paying job 3 months back and I already feel like I have made a mistake. I loved my old job, pay wasn't that great but there was hope that it'll get better in future.
I switched because of money, moved to a different city and now feel trapped because I don't like the work, my manager is a pro-right asshole who doesn't know how to treat his subordinates. I don't see a reason to come to the office every day and work on making better ads rather than working on making better web products - something I truly enjoy.

I feel like I should move back to my old company but there are lots of practical issues with that. 1, it is in a different city and 2, its been only 3 months since I left. I will be a laughing stock for everyone If I move back.

Advice?
Find a section of the math course that is being taught by a professor that is actually fluent. Math is rather infamous, particularly in introductory undergraduate courses, for having professors, brilliant though they may be, who speak broken, incomprehensible English.
What is necessary to do this with C++? Is there a tutorial available on the web?
2017 Subaru VIZIV 7 SUV Concept Release Date – Look Awesome
MetaMind – discuss rationality, biases, AI
All There Is to Know About the New Big Update of No Man's Sky
Nice job. Here's 900,000 lines of C++ code for you to now translate to assembly. And after you're done with that, I'd like to change a few lines and have you do it over again, preferrably 100 times a day.

/sigh
/compiler person
> My only real issue with LaTeX though is its error reporting, which is less readable than C++ template metaprogramming fails

Oh, that's so true. I've spend far to many hours trying to help debug LaTeX code from friends and coworkers.

I'd give Office users that MS Office is easier to use if you want to write one page of plain text without anything else but above that Office is just a huge pain in the a... But the biggest problem I have with Office isn't whether it's hard to use or not but that the text it produces is simply ugly. Especially so if you have to work between different versions of MS Office and maybe even an OO user within the loop. (That would than probably be me...) The text layout MS Office produces is simply hideous.
Thanks. I had assumed tech problems. Sounds like many management issues and infighting, from reading this: http://www.denverpost.com/2006/05/05/manuals-slow-death/

Excerpts:

- “The Gates Foundation really screwed up by giving the grant to DPS before finding an intermediary to hold anyone accountable,” said Van Schoales, who administered the grant for the Children’s Campaign.

- As more than $1 million in private funds was sunk into teacher and principal training and technical support, three feuding principals hoarded textbooks and called police on each other’s students.

- The Gates Foundation now, after stories like Manual, rarely works with individual schools – preferring to collaborate with entire districts on school reform
When I was young I quit MS rather than get fired. Looking back, I wonder if I should have just walked away without an exit interview. Perhaps get several more weeks pay. I too suffered under a PIP that proved to be pointless.
And while true, if that came out today it would probably be called "clickbait"

Yes, 10% sounds about right for un-redeemed gift cards. But tell me, how often do you wear your xmas sweater? Have you ever gotten a gadget from a well-meaning uncle that just seemed stupidly dangerous and worthless?

Gift cards aren't inherently a bad gift. Bad gifts are. If someone gives me a Victoria's Secret GC and I am not in the kind of relationship where I would buy my SO lingerie, then it is not going to get redeemed (and I will forget about it by the time I would have an opportunity to). Whereas, if someone got me a GC for Amazon Kindle or Steam I would use that pretty gosh darned fast.

And obviously a store is going to push the GC. Even if it is a 20 buck card and you buy something for 19.99 they turn a profit. And more likely you'll spend 25 or 30
I'd be interested in the results for std::qsort and std::sort for comparison.
In my view, the CBC is stronger with reporting than it is with the cheesy, low-budget original programming -- and I think they should focus on that.

When it comes to programming, I get that they want to have a 'Canadian voice' -- but the shows are always so cheesy. I'd rather they air some of the stronger programming from the BBC.

I'm not in-the-know, but they really messed up by losing Hockey Night in Canada.
We also draw an artificial line between living and non-living. All lines are artificial.
How “killing it” is killing Startups
That is the core difference between something civil and criminal. In a criminal offense, a state brings in charges for the overall benefit of the society. You are basically asking a question on what makes a criminal offense. There are very clearly defined norms including violation of fundamental human rights which makes something criminal or civil. Killing someone, could be as clear case that something could be criminal.
Now you can rank any YouTube video on First page on Google and YouTube
While this is indeed not the target audience (which makes it hilarious), that is a horrible attitude. A lot of the complaints that have been brought up (premium pricing, much cheaper and better alternatives, not actually a new idea, etc) are actually very valid and worth considering.

Now, if those aren't complaints and you are perfectly happy only targeting people who want The Next New Thing, go for it. Otherwise? Take the complaints with a grain of salt, but still take them.
Hey Guys - I've written a new post which might cause some healthy debate

If you've ever been to a startup drinks/networking event, pitch or demo day - you'll know only too well that absolutely everyone is "killing it" or "crushing it" (maybe even "smashing it")..

Yet, we all know that building a startup just isn't like that and I think this culture where everybody claims to be doing really well and "fine" and "ok" is not only disingenuous, but bad for your Mental Health.

Have a read and let me know what you think
Our non-developers love it. They tend to set up quick trials of new integrations, often building new processes with Google Forms, Zapier and Slack. The ones that become important/expensive enough we build in house, but most never make it that far and would be a waste of engineering resources to build.
"That's amazing! I've got the same combination on my luggage!"
There are significantly more of these stories out there on Amazon than the other major tech companies it seems - I haven't heard of anywhere near as many stories coming from Google, Facebook, or Apple.
How does one verify unsafe blocks in a library? Wondering what are the best practices.
If you want to guard against context switches by the OS, don't use stuff that "most likely" works. Measure with perf and let it count the context switches.
> No it's not.

Not to speak about collaborating. Oh the fun of sharing a Word doc between 10 people, each one with a slight different version that messes the formats so badly (like that one guy who uses OpenOffice) and constantly making phone calls to ask others to close the document to not overwrite it.

Meanwhile with LaTeX you have plain text source files so you can have nice version control with git or oven github, each person working in their local repo or even branch, with the document having a nice history of commits, blames, merges, etc. Maybe not to the average office worker, but for anyone with experience in coding / version control is a godsend.
really good advice
We're still humans within this system, and there are a number of examples of companies that do things differently and stay in business.

To be clear, I agree with what you're saying as an observation of how things work much of the time. I also don't think Silicon Valley is any better or worse than the rest of the 'system' (honestly I don't know).

But generally speaking I'm inclined to believe that 'this is just how things are' is one of the main reason why things don't change. Things don't have to be the way they are and it takes individuals working within (as well as outside) the systems that are in place to change this.
Free Docker Security Fundamentals Course
In the windows world I would recommend Power BI [1].

Our nightly test server generates a lot of performance metrics which are stored in an excel file. We upload the excel to OneDrive and Power BI periodically refreshes a report dashboard which we display on a large screen within a browser.

The designer (Power BI Desktop) is really nice. The data aggregation and shaping is powerful. The only drawback we experienced is that the provided visualizations [2] are sometimes a bit limited, there are custom ones [3] with varying quality though.

You need Power BI Pro for this auto-sync scenario, but we got such a license for free through our msdn account.

[1]: https://powerbi.microsoft.com/en-us/

[2]: https://powerbi.microsoft.com/en-us/documentation/powerbi-se...

[3]: https://app.powerbi.com/visuals
Is Google Photoscan the Most Trending Thing Now
Ever Shorter Feedback Loop
> The victim's family successfully argued against jail time so the doctor could continue practicing and have the money to pay a settlement.

How did this work? This seems to be a criminal case and the state is the one which brings charges so you can not settle. Also, IIRC - there are fixed punishments once you are found guilty in the US.
How to Have a Fantastic Payment Gateway with Minimal Spending
You should decide on compensation or jail time in a will, not your family or government.
Maybe LaTeX is not easy, but writing a scientific PhD dissertation in LaTeX is easier than doing so in Word. I did it in LaTeX. I had no problems. My wife did it in Word, and we both spend hours trying to solve tons of stupid Word related problems.

edits: typos.
No - they mean hydrogen ions, which are just bare protons.
Yep, should be

boolean[] result = new boolean[Math.max(array)];
No, this is not like a plea bargain. A plea bargain is where you decide on a lesser sentence for pleading guilty, not going to trial. Here, you can trade your sentence for money. This is completely outrageous!
Because they can just say "to stop terrorism" and get away with whatever they want. It won't be unpopular with the majority of the (uninformed) public.

P.S. Please don't say "England" when you mean UK. And I think you mean MPs, not Lords (which is a different house that isn't elected and just exists to confuse things).
I couldn't disagree more. Not because human lives are worth more than rats. They aren't. The only thing that gives human lives value is the fact that each one of us wants to preserve our own. The best way of ensuring this is entering into a collective agreement against homicide. That is the source of this 'moral' position. Rats, not being able to kill us, do not benefit from this agreement.
Well, like the sibling comment, I can only point to the standard. I'll give one example: the segmented memory model. In C, the difference between two pointers is a valid operation iff they point to the same object (or one slot past it). So it works if it's the same array or malloc() block, but something as simple as

int a;
int b;
ptrdiff_t d = &b - &a;

is undefined. Modern computers, including most embedded platforms, have a flat memory model by now, and could implement the operation above without problem.

Another difference I know of is signed integer overflow. Most platforms use a 2's complement architecture, where signed overflow simply wraps around. In C, such an operation is undefined.

Yet another difference relates to pointer aliasing. On most platform, a pointer is just a pointer to a memory slot. In C, it is assumed for optimization purposes that pointers of different types cannot point to overlapping regions. This prevents practical stuff like type punning, for which you have to use unions.
Yes, typesetting documents isn't easy, and it takes skill. Yes, LaTeX's error reporting is a bloody mess straight out of the 80s.

Word may make it easier to half-ass something. But its error reporting is way worse than LaTeX's — it doesn't have any. If something's fucked up, it's fucked up, and good luck finding out what you did wrong. Writing a consistently styled, readable and good looking document in Word is anything but easy.

So we're back to square one: typesetting a document is hard, and there is no software solution that makes it easy (for simple stuff, pandoc comes close.) You'll have to learn to do it.
The Blanck Keyboard
I think this is unnecessary when you got <stdint.h>:

typedef unsigned long int u64;
typedef unsigned int u32;
...

if you define your own types like this you may need to revise them when you switch architecture or even compiler.

Now you could argue that this is part of the standard library, but I actually see it as a part of the standard C language.
GiveCampus (YC S15) is searching for full stack engineers
We build fundraising software for educational institutions, and are looking for great engineers who want to build out the next suite of tools all schools will use We're growing at an awesome pace, and now need more motivated engineers to help us build out the features and products schools want!

You can read more about what we do, and how we do it, in The Washington Post (https://www.washingtonpost.com/news/grade-point/wp/2016/04/1...).

Who we are looking for:
- Ruby/Rails expert - Comfortable working on the front-end and back-end, but skews toward the back-end.
- Enjoys building new features, from idea to supporting it in production
- Passionate about education

We are also hiring for multiple roles in business development, from Business Development Associate, to Sales Executive, and Partner Success Lead. You can read more about them at https://www.givecampus.com/careers to see if any fit your particular skill set and interests.

Please email careers@givecampus.com with your resume, any past projects you're proud to show us, and a note about yourself to apply.

We are based in Washington, DC, and are looking for people here, in the SF Bay Area, or someone who wants to to move to DC.
On the other hand, I am confident it's written in a much nicer way than most NES emulators (look at cpu.rb/ppu.rb).

The goal of optcarrot is explicitly not to be the "practical"or "the fastest NES emulator".

From https://github.com/mame/optcarrot
> NOTE: We do not aim to create a practical NES emulator. There have been already many great emulators available. We recommend you use another emulator if you just want to play a game.

JRuby+Truffle's performance is not bad compared to other languages:
https://github.com/smarr/are-we-fast-yet#current-status
What ? You just write your OS layer for each platform and it's portable.
+1 on blockchain. Most of these "Blockchain" fintech company are just doing a distributed logs between trusted peers. nothing more.
Press code: Don't widely report details of suicides, it creates a measurable uptick in simulative acts.

Internet: Let's get this thing to the Hackernews frontpage!
People still stuck in python2 and arguing that python2 is better than python3 is weird.

I get it, more features does not mean better and newer does not mean better but seriously, just do the jump to python3. It's not that much work and the language is much nicer to work with.

I've built a library with python2/3 support and do most of my work in python3. Maybe my web dev background biases me somehow, but I can't remember the last time I had problems with a major library not supporting python3.

To me this seems more like tradition/age/generation -related. Those who started back in python1/2 are the ones with problems moving to python3, while young people who started with python 3.x are already running 3.5/3.6.

ps. like the author said, there will always be large corporations stuck in very old techs - that doesn't mean the rest of the world too has to use Cobol or MUMPS.
Putin Brings China's Great Firewall to Russia in Cybersecurity Pact
Also, greylisting has become less effective for stoppping spam.
That sounds a bit like what Joyent is doing in their Autopilot Pattern implementation for MySQL: https://www.joyent.com/blog/dbaas-simplicity-no-lock-in
> If all of this is inlined you will have to request it on every page load.

True, it's an interesting trade-off. If you inline your CSS and Javascript like I do, then you can't afford to have 100KiB of CSS and 2.4MiB of Javascript code. But you can at least merge all CSS to one file, all JS to one file, and use a combination of max-age and etags to only pay the cost once.

When I look at site waterfalls today ... cnn.com for example is making 20 separate Javascript file requests against its own domain. They don't have to develop their entire JS backend in a single file, but when deploying to production, they should be merging them.

There's also the corollary that trying to put everything on the same connection (both HTTP/2 stream multiplexing and HTTP/1 file merging) tends to have disastrous consequences when you start experiencing 2% packet loss or higher. Great video with charts on that here: https://www.youtube.com/watch?v=0yzJAKknE_k

> We already needed multiple requests on the same connection because not even the top sites are one request to load (they are very, very few of these)

Oh yeah, it's definitely rare. cnn.com hits me with 110 connections to load their homepage.

My site (byuu.org) does it in a single connection, though. Although I'll admit I haven't won any design awards yet for it ;)

The thing is, I wanted to optimize load times, so I learned the best practices and implemented them. If other sites are concerned about HTTP/1 responsiveness, they could easily do the same. I'm actually paying a small bit due to being HTTPS-only with strong 256-bit crypto and compression necessarily disabled. Everything always seems to be a trade-off, eh?

> Also I see no reason to try to enforce habits that were formed to work around an insufficient protocol when we are designing that protocols replacement.

Well again, to me, things should be as simple as possible. People hate C++ because it has ten billion features and you need a large team of engineers to implement even a basic compiler for it. With C, a single developer can do that.

I'm not saying we should've been stuck with HTTP/1 forever, nor with C forever. But certainly we could have started with HTTP/1.2 before turning the HTTP protocol into something that needs a team of engineers to implement in a product from scratch. Server-Push would have been a very simple header to add, for instance.

Yes, the complexity is hidden to the average web developer that installs nginx, flips a switch for HTTP/2, and calls it a day. But as you and I know, that complexity leads to bugs, vulnerabilities, inconsistencies between implementations, lack of choices in software (monocultures), etc. All very bad things. Further, we're stuck with this for at least 20-40 years now. Just like we still have HTTP/1.0 servers. Every new HTTP revision is one more version your software will need to support. How fun do you think it'll be to write an alternative to cURL once we're at HTTP/7? (assuming new revisions pick up the pace as they've suggested it would.)
Plea bargain is one where you accept a lesser criminal sentence if you choose not to go for a trial - it is not a settlement but a deal. In the case of this Belgium law, it seems you can settle a criminal sentence (T^C apply). In US terms, it seems this law allows settling of criminal misdemeanors (roughly).

From what I understand, only a part of the law is unconstitutional. This is the part where the public prosecutor has a choice to decide whom he will provide a settlement to. In other words, the option for settlement should exist with everyone equally. This itself seems a quagmire now because it essentially says that only people with enough money can have such a settlement.
The best way to predict the future is to issue a press release