skysight-inc/HackerNews huggingface dataset:
And reading the book really should be done before the movie. My wife didn't enjoy the book because she had the movie in her head. The plot and conclusion is very very different, but the aesthetic I feel is also different. I never pictured the area as being anything like how the movie made it, but my wife couldn't get it out of her head and didn't really enjoy the book that much.
my mbp (late 2016) is currently out for a keyboard replacement because keys kept falling off. i'll be waiting 5-7 days (currently at 5), but it took weeks to make an appointment... even reaching them by phone is hard.

this made me wonder if one can pay to get faster service from apple.

this is in amsterdam (NL). btw, once you get through, they are helpful and the experience is positive. i suppose they haven't scaled support with their sales/problems.

work continues with an x220 (i forgot what a good keyboard feels like!).
>I'd be interested in seeing a code comparison of equivalent Rust and Zig code with regards to tagged unions, to demonstrate your claim. I could help you with the Zig code if you provide the Rust code.

Well in Rust you don't have to define the enum and the union separately, actually in Rust unions and enums are effectively the same thing (outside of C FFI that is).

So you in Rust you have something like:

enum ComplexType {
Ok(u8),
NotOk,
}

Then to unpack it you always have to destructure it, you can't just do my_complex_type.Ok() or something like that. You can create accessor methods if that makes sense for your enum though, for instance for this ComplexType you could implement an "unwrap" function that returns the u8 in case of success and panics in case of an error. In general you tend to avoid those unless they really make sense, as a rule of thumb it's better to "match" the type (which seems similar to Zig's switch statement with enums).

Beyond that I dug a bit deeper in the docs and I don't quite understand how generics are supposed to work exactly, at first they look like what I'm used to in other languages but then I get to the generic printf example and I see this code:

pub fn printValue(self: *OutStream, value: var) !void {
const T = @typeOf(value);
if (@isInteger(T)) {
return self.printInt(T, value);
} else if (@isFloat(T)) {
return self.printFloat(T, value);
} else {
@compileError("Unable to print type '" ++ @typeName(T) ++ "'");
}
}

Is it just for the sake of the example or does it just exhibit a limitation of the generic system? What would happen if I wanted to be able to print a custom type for instance?

Also, if generics exist, why are things like "@clz" or "@intToFloat" compiler builtins, surely they could be implemented as part of the stdlib using a generic method? Although I see that "@memset" and "@memcpy" are also builtin and I can't quite figure out why so maybe I'm missing something here.
Weird, I wonder if the decision to not finance was for religious reasons
So is the finger print reader. The IR works nicely in dim lit rooms
Yup. Even with Apple's issues with their keyboard, I still bought the latest Macbook Pro. Just got AppleCare+ to go with it.
A Smorgasbord Recession?
I realized that stdout was acquiring and releasing a mutex on every write operation; fixing that improved things. The good news is that when writing to /dev/null, it's now faster than the C++ version, but writing to stdout is still ~25% slower. I suppose there's something else suboptimal about the way I'm using stdout, but I haven't figured it out yet.

Code is here: https://gist.github.com/usefulcat/56f334bc58c97edb073b457b68...

There is actually one other file but it only contains a couple of struct definitions for the libpcap file and packet headers. Thanks for having a look!
> I'm owning a X1 Carbon

Just curious, what generation X1? Gen3s through gen5s in our fleet have been quite robust, but Gen6 have been problematic from the linux support side. We have a couple of problematic individual X1 laptops in the fleet that have been in for service multiple times, but knowing the owners of the laptops in question, it is not surprising.

We've got between 40-60 X1s (gens 3-5) and I'd say their issue rate is at or below that of our fleet of 200+ 13" MBPs. In that time, we've had one X1 with a broken hinge, one with a dead fan, and one with chronic user issues :)

The new 13" MBPs have been particularly bad with chronic keyboard, battery and screen issues. So much so that people with the old MBPs are holding off to the very last minute to update. Which sucks because in most cases, their problems with them would be fixed by new batteries and an OS reinstall, but since they're not serviceable, we just bin them for a 3rd party service provider to deal with later.

Also, the fact that Apple refuses to provide any type of pickup or onsite service contract is absolutely ridiculous. The damn things fail so frequently, it's cheaper for us to overstock Mac laptops just because it can take weeks to get a laptop fixed even through our 3rd party service provider. Our service provider often cannot get parts or has to wait for Apple to approve the release of a part to them even though they're an Apple certified shop.

Even going to the Apple Store is a complete and utter yardsale in our experience. Most of the time, it'll take them a week or more to fix anything, usually they say, because of parts availability (we're talking 13" MBP and 13" MBA mostly).
I'm not sure what your point is here: "Sometimes people lie or obfuscate...therefore let's not bother with the truth" ?
The irony being that your weak immune system is making you more susceptible to the nasties...
Yes I'm using --release.
It's often the original creator of the CoC doing the weaponizing. Here are a few examples:

* https://bugs.ruby-lang.org/issues/12004

* https://github.com/nodejs/CTC/issues/165

* https://github.com/opal/opal/issues/941

And really you can just go to CoralineAda's twitter to see that the CoC was designed as a political tool and an aggressive one at that.
> Just as an FYI, autism is considered a disability so your employer has to make reasonable accommodations.

Yes, but you have to disclose it in order for the ADA to apply in this case, and as the article explains, there are risks to disclosing as well.
The best manager I ever had was the best because he simply would leave our team alone. We knew what we had to do and he knew we would do it. He would sometimes ask if we needed anything and things worked great.
Radix for R Markdown
This is a shame. The author offers reasons why they will not debate white supremacists, as it would "dignify them".

It is incredibly easy to defeat white supremacy in a debate. Just point out the arbitrary deficiencies of certain members who are generally agreed to be white.

Done.
In R 0.1 + 0.2 returns 0.3. In Python 0.1 + 0.2 returns 0.30000000000000004

Why do you compare point to point? I have never once in my Statistics education compared point to point. You always need to see the probability of the result if it is within 2 points.

But if you want to compare use all.equal(0.1 + 0.2, 0.3)
For some reason I associate the TNR font with hardcore technical documents.
I think they mean that C coders have wrestled so much with the language's terrible error handling mechanics (or lack thereof) that it's probably one of the first thing they'd want fix when "upgrading" languages. I would tend to agree.
Why do sites continue to use the hamburger menu??? (and also hide the menu if we don't decide to allocate 1200px of real estate to basically empty website!?)

Such a bad UX for discoverability.

Here's what I see:

https://imgur.com/a/COfKBYM
Ansible Fabric Starter: Deploy Hyperledger Fabric to Multiple Instances
From chef to Serverless developer in 4 years
Ruby on Rails is more than enough for your needs. Pair it with some simple HTML, plain JavaScript (no frameworks whatsover), and a database of your choice and you're good to go. Or you could use plain JSON with no database at all. No cloud either, just host it to a simple shared hosting provider.

Don't be lured by the latest and greatest HN koolaid. Stick to the bare minimum. The more complexity you add to a project the harder would be to maintain.
Well it's simply an alternative to entering code via the keyboard. If you can't code using a keyboard already this won't help in that regard.
Fundamental Validations for HTTP Requests with LoopBack 4 and OpenAPI Spec
There are democrats in Wyoming also, and the system disenfranchises them also in dominantly rural states.
I found this article impossible to make sense of. But what I did gather reminds me of the simultaneity paradox in relativity where it's possible for different observers of two events to perceive their relative order in time differently. So that observer 1 may see event A happen before event B, observer 2 may see event B happen before event A, and observer 3 may see events A and B happen at the same time.
I have owned Thinkpads since IBM days, testing the waters occasionally outside of the brand. My proposition is also a bit easier since I will only ever use Linux or FreeBSD (and never Windows or Mac). I stand by the W530, the P50, and most recently, the P52. I felt so strongly about my initial impression of the P52 that I bought one for myself to use for all of my personal work. Perhaps it's just a thing with the X1 Carbon?

That being said, my personally-owned P52 is the first Thinkpad I've ever had that required me to re-paste the chips. For the benefit of readers, Thinkpads have a not insignificant chance (~5-10%?) you'll need to re-paste the thermal paste on the CPU and/or GPU, and this is the first one I've ever had that needed the re-paste. I have always re-pasted the chips perhaps the last ten years or so -- doing this while changing out the components (usually RAM and disk) with top-of-the-line components I buy separately because they're oftentimes hundreds of dollars cheaper if you install them yourself -- but didn't need to re-paste until this one, which would immediately throttle out under any kind of load.

One more complaint: I wanted a P52 with a 4K display, but Lenovo refuses to sell a configuration with a 4K display that does not have that awful, terrible, shitty fingerprint-magnet glossy TOUCH screen. There is no way in hell I would use that glossy screen or a touch screen of any kind on my daily driver, so I was forced to stick with a "regular" HD display. In hindsight, I'm actually happier not having spent the money on something that I don't typically use (as I am far more likely to use workspace-switching hotkeys than try to make my use of screen real estate more efficient). Anyway, I agree that Lenovo is starting to cut corners, and it seems that eventually (perhaps soon) Thinkpads will no longer be suitable in this role. But today, with my recent history with the W530, P50, and P52, I still stand by Thinkpad as my rugged daily driver and constant life companion.
Nothing in life is impossible. But unless you have some sort of physical disability that prevents you from using a keyboard and monitor, you are much better off learning programming using standard tools that have tons of noob-friendly documentation, rather than something experimental like this.
> They're underpowered, but if you're just SSHing into a remote box it's a good choice.

I feel like this concept doesn't get enough attention. You'll never get a laptop (that you actually want to carry) that has as much power as a server in a rack somewhere.
Thinking of the laptop as an ephemeral mobile thin client rather than an entire workstation lets you focus on finding a laptop that's comfortable to type on and not a pain to carry.
Trying to combine all of those requirements with a lot of computing power is much more difficult and expensive.

I second the earlier thinkpad X series suggestion. My x201 was less than $200, has fantastic driver support, and you can beat the snot out of them.
https://www.youtube.com/results?search_query=thinkpad+x201+c...
I have a 2016 Macbook Pro 15" that had the keyboard issue. When it occurred, the problem was not as well known about.

It did not feel like a problem caused by dust. Perhaps it was due to the small tolerances in the keyboard mechanism.

The B key would only work with a very firm press.

Because the laptop was fairly new, I assumed the problem was caused by a manufacturing defect with the frame. The problem was typically worse when the laptop was cold vs. hot.

If the problem is caused by dust (which I find hard to believe due to my issue after only 4 months of ownership) the problem must only need a small obstruction in the right place to cause a key to fail.

When the key failure happens, duster does not seem to help at all.

After the replacement, I have had no other failures. It's sad that a wonderful machine can be brought down with this terrible issue.

On a side note, I am very happy with the computer overall. The four thunderbolt 3 ports allow me to run my entire setup over one connection. I run an external RX 580 in an Akitio Node Pro to 2 4k monitors. MacOS UI design in my opinion feels clean compared to Windows currently and application support is fantastic compared to ten years ago!

Just thought I would offer my insight :)
How does a charity register with Swipegood?
How does a charity register with Swipegood?
Time to Drop the Saffir-Simpson Hurricane Scale
As always, you need to take the limitations of the available information into account. That ought to be part of the analysis, though of course it often, or perhaps usually, isn't.
I don't understand why there's only one motion picture of a sculpture. The static images of the other 4 sculptures don't really inform me of anything, nor do they amaze.
Apparently it’s already fixed in Safari dev preview.
Turning OpenAPI Specifications into Action with LoopBack 4
It's more correct to say "apparent wave function collapse" because wave function collapse as a real physical phenomenon or event is just a hypothesis in some interpretations.

Mathematically "appeared collapse" is explained by decoherence. It provides an explanation for the observation of wave function collapse when the system and the environment mix in irreversible way.
Cool, now we can retread the part where I expressed skepticism that personal optimism is carte blanche to represent any "secured" investment terms to the public.
Thanks! You made my day :)
Often, the burden seems to shift from providing direct care to struggling with the financial and legal issues of institutional care. It's awful, but I've seen too many friends travel too similar paths to believe it's not common. :(
There is absolutely nothing professional about the conduct displayed by the creators of the CoC. Just take a look on Twitter if you doubt me.
If you don't mind me asking, where do you work at? (or even a family of companies that have this type of roles)

What you describe sounds like where I want to be, and it would help to where I could go looking. (Deep Learning / Vision specialization with a math focused CS background but want to learn more core software skills going ahead)
My experience as an American with NE European heritage is that any “food” of the Mediterranean is amazing.
> has been used to try to evict Rod Vagg

Isn't the key distinction here the word `try`? He was not actually removed. In order to criticize the enforcement of a CoC doesn't that require an example of some actual enforcement?
is there any font designed to make work emails look shorter?
Yeah, exactly this. Managers make a huge impact when they're needed, but rarely is that in the day to day. My best managers have always set clear objectives, and moved mountains for our team in the larger organization, but when it comes to executing they've always known it's best to get out of the way (obviously barring situations where things go wrong, or they do need to help).
How did applications get so bloated and therefore boring to look at?

That's an easy one. Too many people who lacked sufficient experience to make their own informed judgements yet trusted consultants peddling soundbites instead of skilled and experienced developers who knew better.

If you have ever read a book or watched a talk by someone who advocated very short functions and minimal nesting, and you subsequently adjusted your personal programming style or corporate coding standards as a result, please do yourself a favour and go back and look at whether they offered any evidence -- anything at all -- or even just a reasonable argument that stands up to scrutiny -- to support their position.

The relatively plentiful resources in a lot of modern systems do remove one barrier that forced developers to do better, but I don't really believe that's a big factor. It's more that when you have an industry so focussed on young people, a lot of what happens is the one-eyed leading the blind, because too many people who have been around long enough to see the big picture get shipped off to management or other positions before they can pass on what they've learned widely enough to advance common practice.
Take a bit of time to walk;
Look, wonder, have a talk.
There is no journey without the ´jour´;
All should at least once be a flaneur.
I tend to put what I'm saying under the slides of a power point in the notes section.
This question is better asked on /r/cscareerquestions
Makes me think...which of his decisions DIDN’T play out quite this way?
I own Asus Zenbook for about 6 months and I'm disappointed with the problems it has on Linux. At least with Ubuntu 16 here are things that don't work out of a box (I didn't try Ubuntu 17 or 18, but based on my readings 17 has similar problems):

* Dual GPU support, several configurations that I've tried cause the system to hang. For now I'm using nvidia all the time, which drains the battery.

* Special keys for things like brightness and sound level do not work.

* Every couple of restarts the sound is broken (unbearable noise while playing).

I'm sure all this issues are fixable with enough time, which unfortunately I don't have (this is not my main development machine, I still use desktop for most of the work). I was just surprised that in 2018 a shinny laptop can work so poorly with Linux.
Why SEO Is NOTHING If Your Site Design and User Experience Has Problems
It's hidden kinda deep in the settings...

Settings -> Passwords & Accounts -> AutoFill Passwords then check 1Password.
In the future, your computer will go out for you.
I had a fantastic high school English teacher who had word count maximums (that were generally pretty low: 500-1000 words) and graded based on how well-argued the point was. Really encouraged tight writing.
> Disclosing anything not directly related to the work (i.e. health/future plans/dreams/difficulties/struggles) at work is a terrible idea. Every single person who thinks or advocates otherwise lives in a bubble -- betting on a correct outcome is no difficult than betting on rationality of the market.

Just to be clear, what you are describing is a world in which nobody could (or should) ever request or receive reasonable accommodations under the ADA.
Vague language is fine. This is a community, and we ought to be able to figure out for ourselves like reasonable adults what is and is not appropriate. If that isn’t happening, particularly because of the project leader, I don’t see how a CoC is going to matter.

The problem here is giving in to activism by having a CoC in the first place. That’s how it starts. It ends with this twitter mob bullshit policing reasonable free speech and ruining careers over legitimate discussions. Their mentality is that there is no room for nuance or discourse - if you don’t fully embrace their agenda, you will be destroyed. And they get off on this. Just look at CoralineAda’s twitter feed. Same thing that has been happening to Jordan Peterson for years.

Also, Linus taking time off could be bad for everyone. This isn’t a black and white issue. The cost of him being an asshole was that the project may have had fewer contributors than it would have otherwise. But people forget that the cost of not having Linus means we would have never had linux. That is not a net win.

None of this is meant to suggest that it’s just fine to be a dick if you’re a good enough contributor. But we must realize that personality traits are complex and often intertwined, and we don’t get to cherry pick them. Quite simply, when it comes to the human race, this is the best we have. The thing in Linus that makes him a dick is likely related to the thing that sustained his drive to create what he did. If there was a non-asshole Linus also creating Linux from nothing and giving it to the world, sure, go with that guy. But until we have perfect people, we should carefully consider what we are throwing away, and whether the trade is worth it.

I wouldn’t contribute to Linux after seeing how he treats people. But so what. A hundred of me can’t hold a candle to him. I can’t imagine trying to oust him and depriving the world of his product for the benefit of my hurt feelings.
I learned a new word today!

https://en.wikipedia.org/wiki/Guilloché
Just a heads up, it looks like the Referrals section of your Analytics is being vandalized
Almost all “immutable” types are mutatable by the runtime itself, irrespective of language or environment.

A couple of examples of why “immutable” types are actually mutable:

* string interning - a string may technically be immutable, but identical strings can be coalesced by the runtime.
* immutable objects are not generally immortal: the runtime will eventually want to free the data, which means it must be mutable by the runtime.

Basically at the runtime level if you forget to check all the correct flags you can easily do the wrong thing.
If you look at the bugzilla report you can see the comment from the apple engineer about needing to fix this particular foot gun.
How can I view a graph for for individual pages? For example, how would I see the graph for /what-we-collect ?
I still remember when my daughter got assessed and the psychiatrist basically said. I know you probably have hopes and dreams for your daughter. But you need to put those away and forget them. That she would never be able to talk etc. My daughter can now talk some, I think she understands more than she lets on. We're doing great with potty training fortunately what we have are severe behavioral problems and communication. (She refuses to wear clothes, hits and bites, and basically screams all the time)

It's just harder than most can possibly imagine. When I look at her I see both my hopes and dreams from when I first held her still. The worst is seeing parents and neurotypical children together. I'm both happy for them but I get so envious. As time goes on too I'm finding my extended family invites us to less and less.
He's talking about skipping CORS by using a "plain" request. Avoiding CORS is not a huge security vulnerability afaik.
I'm confused - what's the problem with the hamburger menu? What would the alternative be on small screens?