skysight-inc/HackerNews huggingface dataset:
> Those numbers were relatively stable until we changed the team, then dropped, and it took quite a while to reliably get to higher levels than before.

That could be a reflection on a number of things, most notably the code quality. If your new hires are taking a while to get up to speed (you didn't specify how long) then that's also an indication of either quality or doing something quite different.
Sadly mmap is also blocking on page faults on Linux :(
That's ok. You can order one now for shipment in January, and buy something else to put under the tree!
They can't gain sales now from this, but why not in a few weeks when they have more supply?
Wall Street did this for decades. Don't underestimate the human factor.
Ask HN: Good resources/books to learn software design for a developer?
Experience level 2-4 years, language agnostic.

GoF's desgin patterns (and Head First design patterns) are the only ones I know of.

Goal would be to improve myself as a software developer (preparing for interview design questions would be an added bonus).

Some topics that come to my mind would be:

1. Applying design patterns to real world problems. Ex. how would a you design an elevator system?

2. Architecture of some complex applications such as facebook, twitter, whatsapp etc.

3. Other common designs usually used in software engineering. For example : reliable messaging etc.

These problem and their solutions really interest me but again I don't have an exhaustive list of these topics. For example, I came across reliable messaging concept, and then I looked for it. But there may be several other topics which I haven't even heard of.
I've had the echo since it was in limited beta, and while I've played with a lot of the features over time, I think what I use it for most consistently is a voice enabled alarm/timer and a way to shut off my lights without having to get up to do so. I don't really keep a consistent sleep schedule so not having to finger-fiddle with my alarm to set it to 8 hours from now is nice. "Alexa set alarm for 10:30am" "Alexa lights off"

It's crazy how quickly you get used to having it there. When I'm at a hotel or a friends house I almost get annoyed that it's not standing by for simple stuff like just reminding me to decouple from a task in a half hour - "Alexa set a timer for 30 minutes"

Lastly its super convenient if you are super engrossed in something but also want food. You can just yell "Alexa tell dominos to order my favorite". No going to the site or anything just one sentence and 20 minutes later you have pizza.
My amazon dot and Rpi3 enabled kodi are next (literally) to each other, yet communication needs to leave the house for them to talk to each other...sort it out amazon!
Same here. Recently changed from TreeStyleTabs to Tab Tree. The latter has fewer options but seems to work better and be more stable on my setup. (Firefox/Firefox Developer Edition, settings synced between all of them.)
These are bugs from the 5.0.0 release. I can't really think of a time where Rails itself cause issues in my day-to-day (other than missing a timezone which was something I could easily fix).
I'm getting the 502, so I'm not sure what the name is supposed to be. But I'm hoping for "FORTRAN on Frames".
Sure, but it's not about whether or not the thing works. When I read his comment, I thought to myself, "What else has this guy missed in his work with such a dismissive attitude?" It's a messy mentality IMHO. And, you know, all seriousness aside, here he is saying the EmDrive is impossible, yet he's actually working on the hyperloop. Badum-psh!
Keeping a bad system just to save jobs that should not exist in the first place is the height of stupidity.

We need 200K jobs in California to run the ACA? I live in a town with a population of about 40,000 people. It takes five towns like mine to run this abomination?

Good riddance. On all fronts.
> 2) What makes Fortran so much 'faster' at computation than C?

I think it's more like this: As long as the numerics is vectors, matrices and multidimensional arrays (no complex graph or tree data structures implemented with pointers, no string manipulation, no bit-level fiddling), a scientist or engineer who spent less than a week learning Fortran, can write code, almost in a first pass, with nice array notation, that is close to as performant as a relatively seasoned C-expert could write.
For useless stuff like playing music, setting timer, checking train status, creating reminds on gmail
A Whale, of course.
> playing music

where does the music come from when you ok google it? I don't have a sonos or whatever set up in my house, so I use my Echo for this (the speaker is excellent) and playing spotify, playing tunein radio, playing pandora, setting kitchen timers when cooking and getting weather reports.

yeah you can get these in a million other ways, but it's just convenient to have in the kitchen.
It's hardly stupidity. You're discovering different people have different priorities and that privacy is valued by some more than others.
"Don't be evil" was never Google's official mission

What do you mean by this? Are you making a distinction between "mission" and being part of the Google Code of Conduct?

"Don't be evil" was the corporate motto of Google.[0]

[0]: https://en.wikipedia.org/wiki/Don't_be_evil

Google Code of Conduct

Preface

"Don't be evil." Googlers generally apply those words to how we serve our users. But “Don’t be evil” is much more than that.[1]

[1]: https://abc.xyz/investor/other/google-code-of-conduct.html

The Wikipedia page notes that this was included in the Google Code of Conduct in 2012 as well, prior to the incorporation of Alphabet.
What's interesting about UDP?
Not a panacea but for me using exclusively 5 GHz fixed wifi once and for all.
Have you looked at Swift? In some ways, it's a bit like Rust without strict lifetimes Swift has GC (ref counting under the hood) and a fairly expressive type system.
Twitter need CIO, not CTO.
Firefox Developer on KDE Neon (stock KDE 5 on Ubuntu LTS).

Tab Tree (instead of TreeStyleTabs) and Suspend Tab (instead of UnloadTab.)

Edit: and yes, Linux often feels like magic land. I happen to like Windows 10 better than most earlier Windowses but a good Linux is better for me as a developer on every point except support for MS Office and (niche) tools.
I should have mentioned: yes, the community is key. However the technology and the community together create the system. If the technology fails to support the community norms then the makeup of the community itself will shift. Once the elves start leaving middle-earth, it's difficult to recover.

Twitter is a little different because of its scale and the nature of its social graph. HN is a big room where everyone hears everyone else, Twitter is a giant switchboard where you plug in to choose your own mix.

Reddit seems to be something else, but I don't participate there so I don't know much.

Absolutely you are right that HN has a more mature mix of participants, but how does that situation continue? It cannot be solely by the direct efforts of the admins, however heroic, because the site is already too big for that.

The technical Magic has to complement the characteristics of the community.
It doesn't record everything said in your house. It only listens to the wake word, and then records. Source: I worked on some of the low level audio functionality.
I've never believed Fischer was as crazy as he is often portrayed. Many aspects of his life are actually very easy to explain and understand:

(1) His departure from professional chess after winning the world championship seems mysterious to many. Clearly he was just burnt out. He had achieved his goal: beat the Russians and get the highest title in the game. There was nothing left for him to do except repeat what he'd already done. He didn't want to do that, so he just wanted out. I'm sure there are at least some developers here who've dealt with burnout and can understand the psychology here. It's not insanity.

(2) Fischer dealt with a lot of dishonesty on his way to the world championship. He wrote a Sports Illustrated article accusing Soviet players of collusion against him in the Candidates matches, and it's now accepted that he was, in fact, correct. FIDE completely restructured the matches as a result. Fischer was not being paranoid. I'm sure experiences like this contributed to his burnout in chess, especially considering that he more or less tackled the Soviet chess machine alone.

(3) Fischer was abandoned by mostly any family he ever had. It's natural he would develop some mistrust of power figures, including the US government.

(4) He had religious and political views that liberals would consider extreme. However, go over to /r/the_donald and tell me honestly if Fischer seems so one-of-a-kind anymore politically. He wasn't at all. There were (and are) millions of Americans who think like he did politically.

(5) He actually was arrested and held in jail for no good reason, as mentioned above.

(6) After playing the Spassky rematch, he really was declared an outlaw and was sought after by the US government. It wasn't paranoia. To Fischer, this was just yet another act of betrayal by a power figure in his life.
Only wished they did not adopted Finder.
With a hot cache, your disk is only going to do writes (and waiting on those writes is the reason why they suggest a make -jN with N higher than the number of cores). All reads are going to be serviced from memory. All writes will also go to the cache and will be coalesced on close().
Thank you for posting this question, OP.

I am in the same situation. I can't decide between Lenovo Thinkpad and Dell XPS 13/15 Developer Edition. This happened because I came across the HN discussion and saw a lot of people who recommended between those. Then, I just saw this discussion.

Actually, I have been deciding to choose Dell XPS over Lenovo because its security (I am still doubt with that and need to read more). I heard that Lenovo laptops have backdoor/SuperFish installed, is that true?
And some scripts eat cpu with adblock, I never looked into it but it's like they are trying over and over again to reach a host. Try opening 50 tumblr tabs with ad block on.
Balancing symmetric objects isn't that hard, try something like this: https://www.youtube.com/watch?v=4Eo4gbLhYP8
It's not one company. It's one example. Pretending this is only about Apple, while completely ignoring the implications to other MNCs, is precisely what Ireland can't afford to do
I was given one as a gift, but I can't bring myself to plug it in.

The device sends sound to their servers to process what you are saying. They probably aren't sending all the sound, but if they aren't, I can't be bothered to keep up to date on if they change that policy.

Is it unreasonable to assume that the NSA is logging (or will eventually be logging) everything sent over the Internet with this device around?
90% of TV series and movies I watch come in x265 at half x264 file size.
The Ubiquiti APs really are the key here. My household had the same problem with the various makes, models, etc until we switched there. For wifi, we use a mini-itx box running pfsense and it works fantastically. If you want reliability, you need to not use consumer gear, period, because it's all crap.
Well if you send it to legal and mark it client attorney privileged they have an argument from suppressing it in discovery.
It is subpar on Linux. On an engineered OS like FreeBSD it is amazing. There is a reason Netflix/Cloudflare/more run all their nginxs on BSD.

https://www.nginx.com/blog/thread-pools-boost-performance-9x...
And this would be a choice by the lawyers in how to file this case, as opposed to some sort of civil suit.
These are such great comments, thanks for sharing your insights. For folks looking for other options, I'd also mention https://honeycomb.io, perhaps the most promising newcomer in this space. It's essentially Facebook's Scuba for the rest of us.
Landing is really hard. Not enough atmosphere for aerobraking, and too far from home to have enough fuel for a powered landing. It's a fuel problem.

There's the expensive approach. Send multiple unmanned tanker ships into Mars orbit and have them rendezvous into an orbital supply depot. Send landing tanker ship to rendezvous with them and refuel with enough fuel for a powered landing. Landing ship descends. Repeat to build up fuel reserve on Mars surface. Manned ship then docks with orbital supply depot and crew switches to lander. Lander descends, lands near fuel reserve, and refuels for ascent.

Ascent is to Mars orbit and docking with the orbital supply depot. Crew switches back to long-haul ship, refuels it, and goes back to Earth.
Which can be argued against since you're not actually the attorney's client at the time of writing the e-mail, only the corporation is [1]. 'Some courts employ the Control Group Test whereby protection is available only to the corporation's controlling executives and managers.'

Doesn't seem like a risk a competent retained counsel would want to take, in any case.

[1] http://www.acc.com/legalresources/quickcounsel/acpfihc.cfm
I'd imagine a hybrid could also be a good choice. If you're a news site you could keep the last weeks worth of stories in a CDN for instance.
The web happened. On an NeXT
502 Bad Gateway. Oh the irony.
You can use a combination of these to set a long grace period, and then have your pre-stop hook wait for your process to finish (whatever criteria you define as finished).

We chose to set a fixed upper bound to ensure outside administrators can observe the requested grace period when draining nodes or performing maintenance.
Rare events: there is an app for that
Thank you. My question is about how that "forcing to split" works.

An example of how a catalyst works can be presented in terms of energies. If a set of atoms (like, two atoms of hydrogen) can be in several different states (like, as a molecule or as two separate atoms), and there is an energy barrier between those two states, then the system "sits" in a potential hole. In order to get to another state, it has to increase energy to overcome the barrier. Catalyst can help with that, providing a new path between two energy states which doesn't require that high jump in energy.

However, when initial state (the molecule) has much lower energy than the final state (two separate atoms), catalyst doesn't help. There can't be a "low energy path to the top of the energy mountain".

Here we don't have splitting of neutral molecule into neutral atoms... but I'd still listen to an explanation.
Can concepts be used like traits in non-generic code? Which is to say, can it be used as a type name of a variable or function argument? Because there seems to be a lot of overlap between a concept and a pure virtual class, both of which define function signatures. But if concepts are only for templates, and you still have to use pure virtual classes to express traits, that seems like a missed opportunity to me. But I may be missing some nuance here.
"Ivey and Sun adjusted the odds of Baccarat in their favor. This is in complete contravention of the fundamental purpose of legalized gambling"

Note that, according to the judge, the "fundamental purpose of legalized gambling" is for the house to always win.
And until that lands you can use daemonsets and tag the machines you are treating as pets (if the data is tied to a machine, you need to bring the machine back or lose the data). Agree that local PV is very important.
NeXT didn't have a Finder; the current Finder is a NeXT style file browser and nothing like the Finder on classic MacOS.
Why not though? What's wrong with it? In the case where the employee is wrong then nothing happens besides, maybe, some negative news stories if it's leaked. That's reasonably controllable. On the other hand though, if the employee is actually correct, then the employer is protected from any claim they were informed about the illegal activity if employees don't use language that says they think wrongdoing is going on. Should employees work under threat of breaking rules designed to protect their employer if the employer is breaking the law? I don't think so.
Interesting "work-in-progress" document. I'm moderately interested in this topic myself ;-) If this thread gets popular, I'd be happy to answer questions with my company's (check profile) experience with UDP on mobile networks around the world.
Yeah, sure. I worked with Jobs (not for him) when he was at NeXT and I was at a closely affiliated company. I asked Jobs once in a meeting if he would ever consider moving the NeXT software onto non-NeXT hardware to give it more reach. He exploded, as was his way, and answered my question by pointing out that he drove a very expensive Porsche while my car was just a cheap econobox. That was his entire counter argument to me. Many of us had read his first biography "The Journey is the Reward" and knew that the guy thumping his chest about how his expensive car demonstrated his superiority had fathered and abandoned a daughter who had been living nearby on welfare checks that were paid for by us little people who paid taxes and drove economy cars.

Talk about "my regard couldn't be any lower".... I think Isaacson's book pretty much described the guy I remember.
I get that you can do this in response to a system call (the one issued in step 1). You could avoid blocking in Linux as well using madvice() and mincore(), as pointed out in the comments to the article. However, once you get an actual page fault, the only option is to block the process.
"So you profess to care about your lung health and gave up smoking, but you still live in a polluted city? Since people are perfect and can fix every problem in one go, you must be a lying hypocrite and not really care about your lung health at all. Also my judgement of what is or isn't a waste of your attention is valid, I have a right to judge that for you".
Agreed on licensing macOS. They don't need to make it available to everyone; they just need to work with a couple of carefully selected manufacturers to fill one or two niches that they consider too small to bother with themselves, like developers/power users.
You start by boiling it down to an executable test case, for which there are templates here here:
http://guides.rubyonrails.org/contributing_to_ruby_on_rails....

Then you share the test case in a bug report, and collaborate to fix it. Fixing it usually involves a source code dive.

With Rails's reasonably well documented and reasonably well written codebase it's usually possible to grok the source and dependencies even coming to it cold. With the possible exception of arel.

Ruby's dirty tricks department (monkey-patching third-party objects) and duck typing together are a real boon to debugging.
How Drupal 8 Can Change the Way You Market Your Business
So I can't send an email that explains why I think X algorithm is slow and should be changed? Seems silly.

NYT: To the dismay of their employees, Google insist on using slowALGO, possibly costing them X sum.
They might have the courage, but do they have the judgement to decide who's an actual neo-nazi?

Twitter has a history of political partisanship. They'll ban "racist" conservatives but allow minority "terrorist" organizations.
This reminds me of being handed some Lyndon LaRouche documentation[1] that claimed that World War 2 was due directly to English machinations around the pound sterling in the 1920s. As in, something that may have had some minor peripheral add-on effect is being claimed by a fanatic to be the One True Cause.

[1] I hesitate to call it 'literature'...
I think it's because in Terminator 2, the human face is not CGI, it's just Patrick's face filmed. (or when it is, it's not skin-toned, it's silver or checker-boarded). The Tarkin CGI is much more ambitious, because it simulates facial movements and expressions (and lighting).
Triggering a non-blocking read and continuing execution requires either writing different code or an extremely elaborate page fault feature that can dynamically rewrite your execution flow behind your back.

Writing different code is not the question I asked. That's not an OS feature. Do the OSes you like have the latter ability, or are you blowing smoke?
If we can't call perpetual motion machines "impossible" then what can we call impossible?
Why you're not shocked?
Go stacks, however, are heap objects... The thing about stack memory is that it's constant size and easy to manage. Go stacks, however, are just heap data structures (I think they used to be linked-list of arrays, and now they're "growable" arrays, like ArrayList, but I'm not sure). It's true that Go uses a different GC algorithm for managing the stacks, but it's still not stack memory. Quasar fibers on the JVM use the same approach. You can have millions of fibers, each with their own stack, but the stack themselves are heap objects.
The issue isn't just one of performance, but form factor and input mechanisms.
The problem is, no-one's offered a sane alternative.

The top employment sectors in Ireland are Food&Drink, Pharma, and Tech. The latter two of those are massively dominated by multinationals. Combine that with multinationals contributing the bulk of corporate taxes, and we simply can't afford to scare them away. Without these MNCs, Ireland's economy would be basically beef, beer, and American tourists. There simply isn't enough native industry to make up the short-fall (which is the part I think should actually be addressed, rather than the symptoms).

(And away they will - Ireland is not the lowest corporate tax rate in the EU. Liechtenstein and Cyprus have the same rate, and 3 more states have a lower rate.)

I do understand the desire for a level playing field. It's a noble goal. But we're basically being told "We'd like you to drive your economy back to the 1950s, because France feels it'd be more fair". It's not a particularly enticing proposal - all stick and no carrot.

Ironically, they're championing our post-bailout growth as a success, while they retroactively make the mechanisms behind it illegal.
My mom loves it. It introduced her to the idea of unlimited free music(prime music) since she didn't care to figure out the others
The other big thing, even with a phone it needs to be out. Until recently hey Siri wasn't a thing. Cooking timers are really convenient - my phone gets covered in flour.

The echo is always in the same exact spot, so there's no hunting for it, never a need for hands. It just works

Lights are still a gimmick.
No, it can't be. Intel provides their best products as given by their constraints, goals and customer demands (and Apple is a big customer). Apple releases the best products based on their goals, constraints and customer demands (as much as Apple now listens to them).

Each one to their own devices, so to speak.
Is Work a Problem for You?
The judge had a very odd interpretation of the contract and "maneuvered", it appears one sided to me.

"
“By using cards they caused to be maneuvered in order to identify their value only to them,” the judge wrote, “Ivey and Sun adjusted the odds of Baccarat in their favor. This is in complete contravention of the fundamental purpose of legalized gambling as set forth by [New Jersey’s Casino Control Commission.] Ivey and Sun’s violation . . . constitutes a breach of their mutual obligation with Borgata to play by the rules” of the state’s law.
"

That interpretation is equivalent to saying you can't do anything that improves the odds in your favor in any game. By this judge's reckoning, you have to just be a robot that sits passively and accepts all the hand exactly as dealt and not use any strategy to play the game to your advantage. That's fundamentally un-American if you ask me.
1) I bet that conversions plummet on a page where the buyer can't immediately get the item. There's a reason they have optimized for fast delivery.

2) I bet that the average cart size at checkout is less than half of the cost of an Echo.

The benefits don't outweigh the costs of a marketing stunt of claiming that they are sold out.