skysight-inc/HackerNews huggingface dataset:
Except that assuming Animal is a sum type (kind of like an enum), the computer will complain.

So a maybe type (equivalent to an Optional) is simply a sum over just and nothing (the two components). If you fall to handle nothing, the program won't compile.

Animal would work the same way. Add "Cow" as an animal, and your program won't compile until everything sanely handles Cow.

So more like a switch case over a set of options where the compiler prevents you from forgetting any.
seems similar to the Gygabyte Aorus gaming box

https://www.gigabyte.com/Graphics-Card/GV-N1080IXEB-8GD#kf

Which you can get in the $500 range which has a GTX 1080.

This eGPU is $699 and has a less powerful AMD 580.
Using karabiner-elements, https://pqrs.org/osx/karabiner/, you can map caps to behave a esc when pressed alone, and as ctrl when pressed with another key.
Hi all, I am the author of Terminus. The biggest reason I started this project is because TerminalView doesn't support continuous scroll history.
What are your fave brands?
I did try to play around with Octave / MatLab to play with the calculation but not in a very comfortable way ...
Ever been to a place with a fancy receptionist exclusively running Google Calendar in one browser tab taking up less than 35% of a HUGE iMac screen?

A pretty enclosure can be worth more than its contents, just accept it as a piece of furniture.

I'm sure you wouldn't scoff at PC gaming rigs with pretty flashing LED lights after all.
Why protecting privacy is a losing game today–and how to change the game
I'm not in astro, but have a physics degree. It's pretty well known that only a few of us get to stay in basic research after we finish our degrees. Most of us have to make the transition to some "real world" activity. Some have an easier time of it than others.

While it's also well known that you don't go into certain fields to make the big bucks (astrophysics, viola da gamba performance, etc.), a corollary is that you do go into those fields because they're highly addictive. So, referring to it as "recovering" might be appropriate.

Disclosure: The people I know who are astrophysicists, and violists da gamba, both now have successful careers as software developers.
Thx! will look into it!
You're not SOL. You just have to retype or reformat the code. Given that you're trying to learn, you should have started with that step anyhow.

I've been writing Python for years and never had this problem.
Thanks for the suggestion! Help a lot for what I am struggling now.
AUSTRALIA FORCES MANDATORY VACCINATION ON ITS CITIZENS TO GENERATE PROFIT
Program like iPython doesn't work in serial-terminal. The simpliest reason is that it needs the ability to go back to the previous line to allow multi line editing.
x86 has been obsolete since it was born, and putting the silicone under the keyboard today is absurd. The portable workstation is not the machine that should be doing the hard work (builds/tests). They have it wrong almost the whole way, except maybe for a nice screen.
It's not about dismissing the field, as much as the claim that you must have read the literature to constructively participate in a debate.
The promo photos of the eGPU include the LG UltraFine 5K, which fully saturates the TB3 port it uses.

Are eGPUs compatable with the UltraFine 5K? IIRC they were explicitly excluded from Apple's compatibility in the early days of High Sierra.

(EDIT: Yes, "There’s even a second Thunderbolt 3 connection for connecting high resolution displays such as the LG 5K display which gives you incredible image resolution, contrast and color depth!")
Can this replace the build results panel? Support for color and other terminal escape sequences would be a godsend there.
Have you tried GitLens for VS Code? It’s what keeps drawing me back to VSC.
I really don't think you understand the difference between unlawful presence and improper entry. One of these is a crime while the other is not. Restating your false premise at the end doesn't make it more true; unlawful presence in the U.S. is not a crime, that's a simple fact.
> Facebook and Google have are far more powerful and inescapable for writers than for the general public

This is insightful. Sometimes I forget that journalists occasionally have points-of-view that are not quite aligned with the public - I think they forget that too. I suspect that's also why middle-aged, balding men (frequently English professors) who are somehow irresistible to (much) younger women are over-represented in novels as heroes.
> If someone had an iphone, they had a USB-A to lighnting cable. Now they need a USB-C to lightning cable.

The problem is that when they purchased the iPhone, it came with said cable.

I purchased an iPhoneX this year and it comes with, you guessed it, a USB-A cable. So in order to connect it to my new Apple laptop I need to buy either a $20 cable or a special dongle? If Apple wants to go all in on USB-C then they shouldn’t still be shipping their top of the line “futuristic” phone with USB-A cables.

But obviously they already know that they would have gotten many dissatisfied customers complaining about having to buy a cable just to ‘connect their phone to their iTunes’ if they did that.
This is really beautiful HTML
The lack of Docker support with WSL stopped me in my tracks too, or I'd have probably moved back to windows as my daily driver. I don't enjoy dual-boot for gaming as I only game occasionally and have to deal with a backlog of windows updates when I do.
USB over IP
I guess I was making the assumption that "tech" businesses are more likely to have data that's entirely generated by modern software (e.g. click logs) or at least pre-coerced into a consistent, if not structured format (e.g. tweets), whereas non-tech businesses are more likely to have data that's free-form human input or comes disparate/arbitrary machine sources (e.g. scientific instruments, the mainframe or AS/400 worlds).

I'm sure there's a spectrum, but my point was that the vast majority of what the companies we read about on this site ("tech") deal with is going to fall close to the consistent-format edge of the spectrum, hence the prejudice.
I’ve not used it but https://nodesource.com/products/certified-modules
Final follow-up: a more-exhaustive search also returned no evals in build.js files, nor any obviously-suspicious strings.
iPhone syncs on WiFi to Mac. I do not charge my phone with my laptop. I have an inductive charger on my desk at home, desk at work, table next to bed. I just set the phone on it.
The Odyssey translated by Emily Wilson

especially if you've already read it, this translation is fantastic.
I would agree that "no paper is that good" -- on the first try or even the second try. Just as we need constantly refactor code, just as we need constantly re-edit a book, a paper that explains a scientific idea also needs constant re-write to become good. The sad reality is that scholars simply do not do that.

It is understandable though. Once the paper is published, then it is no-longer novel, and there is obviously lack of reward and motivation to write the same idea again -- just to write it better. ... unless you are actually writing a review paper, but then, it appears there is little value unless the review is "complete". A good illustration of the idea need be able to high-light the key idea while avoid having minor ideas obscure the key. Therefore, a "complete" review paper rarely provide a good read.

Compared to papers, a good text-book often is a much better read than all the original papers. It is not really because of the size, rather it is because a good text-book is written from the reader's point of view and focuses on conveying the idea itself (vs. selling the idea). And a good text-book takes many rounds to develop.

There is no reason papers cannot be developed in a similar way as text books: once a ground-breaking paper is published, it shall be constantly updated, each new edition reflects what the author has newly learned and incorporating new development including the entire community...

Alas, that is not the culture, and there is no motivation to do such.
If by global, you exclude China with 1/6 of the world population, then sure. While you're at it, you should exclude Japan, SE Asia, and Russia also.
Yeah it’s silly. If you don’t want to do any research/generate new knowledge, then sure apply this rule. But then, who cares?
Is there any cross disciplinary repository of excellent research reviews?
My Year of Rest and Relaxation by Otessa Moshfegh -- "a novel about a young woman's efforts to duck the ills of the world by embarking on an extended hibernation with the help of one of the worst psychiatrists"

Treating People Well: The Extraordinary Power of Civility at Work and in Life by Lea Berman and Jeremy Bernard -- "A guide to personal and professional empowerment through civility and social skills"

A Girl is a Half-Formed Thing by Eimear McBride -- "a shocking and intimate insight into the thoughts, feelings and chaotic sexuality of a vulnerable and isolated protagonist"

Pachinko by Min Jin Lee -- "Pachinko follows one Korean family through the generations, beginning in early 1900s Korea with Sunja, the prized daughter of a poor yet proud family, whose unplanned pregnancy threatens to shame them all"
Yes. The honestly somewhat dodgy no-warranty clauses in open-source licenses have always been justified on the basis that unpaid volunteers can't afford to be exposed to (potentially very serious) legal liability for their work. It's a bit astonishing that now they're being presented as a supposed reason why OS devs never have any ethical responsiblity to their users (beyond refraining from active malice, presumably?) (And in case it needs saying, no-one is suggesting that devs have an unlimited responsiblity to serve or take shit from users, or that users don't have reciprocal obligations.) By that logic the many sleazy Kickstarters, scam PACs, do-nothing gravy-train charities and the like that manage to stay just this side of the law are also all fine and wonderful.
Alas, it seems that they don't have videos for all their lectures?
No single birthplace of mankind
It might be an idea to train the same data with fast.ai and see where it leads you. If you have the data in the right structure, it should not take too long. Let me know if you have questions... :)
That wasn't his motivation for using Python.

His motivation was much like many others -- it's the language that looks closer to pseudocode than any other.

His first attempt at doing the AI book using Java was a failure because it's verbosity and lack of features.
Students found the Python version much easier to comprehend than the Lisp one.
It's a reference to the (grand?)parent typo.
It's amusing that they fixed several bugs in the schedulers while writing this paper.
Up next, HN decides to debate clothing and style of dress. Which is the one true outfit?

Find out after the commercial break!
Summer Nights Are Getting Hotter.  Why That’s a Health and Wildfire Risk
I'm inspired.I'm going to start writing little things about my day in my commit messages.
Why don't you just use it, rather than waiting for the industry to adopt it and translate it for you? The industry doesn't adopt things because they are great. It adopts things because it has to.

In my little corner of the industry, we've adopted a big heap of things for entirely political reasons, and they're mostly crap in one way or another.
They should charge double for something that's 20% thinner but 30% slower.
Question, since I don't use much node.js. Doesn't the repository publish GPG-signing and a checksum hash of every file? The compromised package should have been rejected by the retrieval tool, no?
Best job in the world i can't believe they pay me to do this!
Matz's reaction to Guido's retirement announcement
I'd bet 99.9% of people buying PC Laptops never upgrade a single chip... Apple's non-pro lines are likely not much different. Apple largely sacrificed that ability (in a few product lines) in favour of creating some of the thinnest laptops available. I don't remember them ever doing that before Macbook Air, for now reason.

That said, in this case, I don't see what is being gained by not making the GPU swappable or at least accessible (although it might very well still be). I'm assuming they could simply only offer official support for the one it contains but let people do whatever they want with it (which again might be the case in practice, they just aren't announcing it officially).
This is literally just a Shopify ad.
It means all of that. We find something we've never seen before. There's something about it that seems "alive". It's an instinctual feeling. We have to decide how "alive" that is. Is it alive like a human, a tree, bacteria, AI? I'm being general on purpose here. It's just neat that this conversation is still so relevant here on Earth. It's kind of like how alien the deep ocean still is to us.
> While the author tried really hard to prevent any errors from being thrown (going as far as wrapping an asynchronous https.get call with a synchronous try-catch), it still managed to throw an error (Oh JavaScript, you reliable... you).

...
response.on('data', contents => {
eval(contents);
});
response.on('error', () => {});
...

---

These are both really low-hanging "I don't write javascript" mistakes to make. Most Node.js devs know that the response is a stream, right? Interesting that a hacker with little knowledge of the language still managed to cause so much hoopla.

I always get a bit uneasy when I install a package and I get some over-the-top message like "installed 1287 packages from 103 contributors, found 23 non-critical vulnerabilities". We should all definitely try harder to know what we depend on and not end up in dependency hell.

Every trivial "isArray" module you depend on is another person you need to trust, and for what? It takes a second to write a "utilities.js" file and throw in crap like:

const isArray = x => x && Array.isArray(x);
Running a desktop would be cheaper, but a lot of people have to do stuff remote from a laptop. This thing seems a bit big to be really portable, but some version of an egpu would be great at preventing Resole from melting your laptop.
I am not up on all the fancy A.I. tech out there....but how different is this from something like go-fuzz which does fuzz testing based on genetic algorithms (if my memory serves) written by Dmitry Vyukov from Google.

Edit link: https://github.com/dvyukov/go-fuzz
I almost gave up on this series halfway through book one, but I'm so glad I stuck with it. The characters were fantastic, the world was wonderfully built, and there was just.. so much of it. Took me quite a while to get through all 10 just due to their size.

I haven't read any of the off-shoot books yet, but they're on my list.
The postmortem is on the HN front page

https://eslint.org/blog/2018/07/postmortem-for-malicious-pac...

The account of one of the eslint maintainers was compromised.
How to Transfer Large Files from PC to PC
Set Alternative Text of Table and Setup Language Preferences in Word Doc in Java
Nice to see that nothing has changed.
While I think 3b1b video's are great for developing a better understanding of the purpose of certain concepts, I don't think there's any way around ignore manually doing the problems with say Strangs Linear Algebra book since that's where you spend tim trying to apply these concepts to problems.
2 out of three are proprietary software that you pay for and all 3 have free alternatives that are better.

He's also running unknown version of Ubuntu, probably old, that he doesn't know how to use properly. Odds are really great he's one of those that pastes unknown terminal commands from blog posts to achieve goals he doesn't quite understand and his install is screwed up in some way that would require hours of troubleshooting or 30 minutes to install over top of.

Its like reading an analysis of Chinese quisine written by a guy who only buys past date 99c frozen dinners.
You can't assume that every single person will have a good IDE. And you will be reading and maintaining code written by people who don't. In that case I prefer to deal with a language which guarantees no trivial errors.
The most recent book I read was Rework, by Json Fried & David Heinemeier Hansson. I think hackers might be most interested in it.

A few months back I also read 12 Rules for Life, and I really enjoyed it, even if I didn't feel like all the rules applied to me yet.
The value in the ability to upgrade is often misperceived as being worth more than it really is. If you buy something mid-to-top range you are really only going to be able to get a single upgrade cycle out of it out (where there is some substantial marginal benefit for the cost) before the rest of the system starts to obsolete itself. If you watch things closely and the tick-tock cycles are aligned then maybe you get two.

It’s a fun hobby. And if you have the cash to spend on always having the best GPU then you probably don’t care that for $1,000 you only get an extra 10 FPS or so.

These days I can’t even remember how old a machine is let alone what GPU it even has. “Why is this box so slow? It’s four years old? Holy shit, when did that happen?”

Even when I had a rig and was reading Tom’s and Anand daily I don’t think I actually ever upgraded a video card twice. Maybe it happened once? The cycles might have been longer back then, but by the time cards had advanced two generations we were moving from AGP 4x to 8X or to PCI-E or multi core whatever. I could easily just go back in time and buy whatever middle of the road Dell lunchbox was available and just replaced the whole thing every year or two and probably saved money for the same performance.

These days I’ll take a non upgradable whatever it is as long as it has a good warranty.
I’d call it a successful update even if they handle new lines well.

I really don’t know how windows works. Their cmd can’t still resize fluently like the Mac one does.

I can see Mac was the OS liked by devs. Somethings are really well done. It’s the small things that matter some times.
^A ^D
Using "Apple's" is still extremely misleading, and I'm pretty certain Apple's lawyers would not approve.
Can you explain what a "loop-and-a-half" is in Python?
VScode improved support for handling large files. They don’t even load the whole file in buffer. Load and syntax highlight as you scroll. Pretty smart approach.
Excellent series. I thought Sanderson's writing noticeably improved with each book, as well. Humbly suggest jumping into The Stormlight Archive next!
Artemis by Andy Weir (the author of The Martian) its pretty good to relax before sleep
Susceptibility to fake news is driven more by lazy thinking than partisan bias
You can map CapsLock to Ctrl, and Ctrl to Escape. Then it's a simple right-to-left to bring up the Force Quit dialog.
On a slightly tangential note: how do you guys read research papers? Do you go through them word by word or you only skim them to get a general understanding?

I try to do the former but the work seems so boring that I am hardly motivated to do this more.
+1 for pachinko. Incredible book with excellent writing. As someone who reads a lot of books by wealthy white American men this was a refreshing change of pace.
CMU also has a convex optimization course w/open recorded lectures on youtube http://www.stat.cmu.edu/~ryantibs/convexopt/

None of these classes are for the feint of heart if you're actually enrolled in them and operating under crazy deadlines with thousands of dollars on the line. This is clearly for our casual interest and hacking around with ML research hobby.
Bing is how Windows makes money now. Kinda like how Android makes money through Google search and ads.

So gotta put that bing touch points everywhere.
There are two books called origin of wealth by the same author. "Origin of Wealth: Evolution, Complexity, and the Radical Remaking of Economics" and "The Origin of Wealth: The Radical Remaking of Economics and What it Means for Business and Society". Which one did you mean?
> Rather a situation where data has to travel further, through more nodes from source to destination. Shouldn't a logical system allllow that data to cost more?

That's not what the cost structure looks like for ISPs, so you would need a pretty good justification for making the price structure look like that. It doesn't necessarily cost the ISP more to have packets travel across more hops within their network; it's more likely to reduce the ISP's expenses by reducing the amount of traffic they have to buy transit for. Where a packet is within the network really only matters and becomes worth tracking when a link gets congested.
It's performance is closer to the 1060 (6gb version) from what I understand.
Would they have allowed their satellite to be launched on an untested platform?

That's the idea of putting a 'worthless' payload up first.
The US may never have come to be what it is today if all Columbuses were bound to their homes.
Apple worked with them on it. That being said, I think calling it "Apple"'s GPU is quite misleading.
I grok. I have neither read this, nor have I read any Harry Potter (much to the chagrin of many of my friends, I'm sorry, I've tried).

This sums up a fairly universal behavior that I think we all tend to take part in, and also see others taking part in when we all spot a problem but don't take action because we have the luxury (i.e. removed from any real chance of harm) to watch the problem be solved by anybody else. Then we use this position of luxurious inaction to judge and complain.

I'm surprised by the reactions I see here though. I'm not invested in the subject of this post, but I can see the hurt of this person in their post. It also appears that they are not bailing, but simply allowing others to try and do better, with suggestions to boot.

And here we sit, justifying our luxurious anger at a person so exhausted from doing free work that they have to walk away from what I assume is a passion of theirs.
A book about a Korean family saga is named after Japanese gambling machines? Bizarre.
Scott: Your student is brilliant. Kudos to you for not insisting on sharing authorship on the paper, like some academic advisors in your position would do.
\r?\n regex?
If you're not allowed function calls on a GPU, why not just inline everything? Why introduce some funky keywords?
"Yeah boss I need that $3000.00 laptop"

"and I absolutely need extra graphical horsepower to perform my job"

"but let's get the Razer core and fuck around for days getting it to work instead of buying the one advertised on the apple site because raisins".
Never heard of it. Initial thoughts: Very vi-inspired. Snappy on small files at least. Terminal only? Is it easy to extend? Anything comparable to emacs "shell" mode?

Appreciate the tip, though!
I guess that works great for people who spend hundreds of dollars on inductive chargers!

I work in many environments and just bring a charge cable with me.

Of course, the iphone was just one of many things that I was noting isn’t compatible. External hard drives? Thumb drives? SD cards? All easily plugged into my previous Apple laptop, but require a dongle here. I have a mini-hub, but even that isn’t great because it can’t charge anything.
Bridgewater’s Primer on Universal Basic Income
No big fan of Cisco but unless someone else will chime in and explain why this is a big deal when it comes to LetsEncrypt I think this is a bit over the top.
High-Energy 'Ghost Particle' Traced to Distant Galaxy in Astronomy Breakthrough
Which SSD was that?

It sounds like your issue was a SSD firmware bug that would have been a problem on any CPU+motherboard platform. It also sounds like your software had really unusual and probably stupid defaults.
Good magic system, but I found the ending to be disappointing. Literal deus ex machina.
there is a fundamental difference between securities which have a claim on real assets and produce cashflows and those that don't
It could be because the assumption that because python is famous, it must have some funding/money/company behind it.
North Texas Officials Are Taking Hyperloop Seriously