skysight-inc/HackerNews huggingface dataset:
I urgently encourage you and anyone else reading this to check out Turbolinks 5, ideally in tandem with Stimulus.

https://www.youtube.com/watch?v=SWEts0rlezA&t=3m22s

https://github.com/turbolinks/turbolinks

https://stimulusjs.org/

You can get all of the benefits of server-generated pages with the speed of an SPA. 90%+ of the sites built using SPAs would be better served by Turbolinks and Stimulus.
Yes, creating an adjacency list graph model would be straight forward. The most important thing is to keep as many operations in flight as possible, as the graph model is essentially a lot of distributed pointer chasing. If you’re interested in some help with your evaluation, you can send me an email to the address in my profile.
New Testament: "until heaven and earth pass away, not an iota, not a dot, will pass from the Law" (Mt 5:18)

https://en.cppreference.com/w/cpp/algorithm/iota

https://superuser.com/questions/841439/excel-auto-fill-a-col...
Does a Surface Pro handle sleep/hibernate properly? The biggest factor that still makes me prefer MacOS to Windows is the fact I can just shut the damn lid and come back a day latter to find my battery is intact and I haven't fried any components.

(And on the other side - I'd love a Macbook with a proper GPU for a reasonable price. Like about $3000 for something with a 1080 in please.)
looks really great
Has Tesla done this?
The Taiping Rebellion
Gating power users from your content is a good way to get them to find other solutions.
"I gave a lecture recently and a student stopped me. “I’m sorry, I don’t know what a coroutine is. Can you explain?” More than happy to. That level of embarrassment.

If you have a better word, please provide it. But I believe embarrassment is the correct emotion to feel in response to one’s own ignorance."

"Embarrassment", for me, is definitely not the right word.

If I feel embarrassed, I do not ask. I will go quietly google it.

"Bothered" might be a better word?
Ah, sorry, did you mean a Macbook with touch capabilities? In which case Linus has shouted himself hoarse begging for MacOS to adopt touchscreens. And I agree with him.

I own a Surface. Having a touchscreen is one of those things that, for some at least, becomes a must have. For me it helps it walk the line between productivity machine and Youtube-while-cooking-dinner tablet.
I prefer React to Vue, and MithrilJS over anything else. But I don’t think that hiring should be difficult for any of those. If you find someone who knows React, they can easily pick up MithrilJS or Vue, no?
It's funny that some of these client side framework is wrecking the pages as if things are worse than 10 years ago from users' point of view.

I visit a major credit card company's account page and it shows the last time I visited as 'undefined' for a second until it grabs the data to render and it just looks shit.

And I also don't like seeing the page loaded with minimal placeholder, only having have to wait a few seconds for the page to finally render, which is more annoying than even waiting on a blank page because you can't easily tell if things are all loaded or not with placeholders all over.

A pure bad example of over engineering.

You need to make sure things don't look shit using client side framework.
Let's deploy to production [video]
Connect them with a ring around the top. The high point will always be above the liquid level while drinking.
It's a vicious cycle. That's kind of my point. Smokers are assholes because they were harassed. Non-smokers harass smokers because they are polluting assholes.
The best data visualization in 2018, according to data visualization experts
From https://en.cppreference.com/w/cpp/algorithm/iota:

> The function is named after the integer function ⍳ from the programming language APL.

The article spends a lot of time talking about how a lot of things leading up to std::iota are very important, but not very much time talking about why they're important.
CO2 emissions from international flights will be capped at 2020 levels by international agreement so supersonic flight will have no net effect on emissions.

https://www.icao.int/environmental-protection/Pages/A39_CORS...
Depends on the language, but you are correct that in GC languages it off nondeterministic when the destructor is called. I've read some articles that make a distinction between C++ destructors, which do occur deterministically, and finalizers in GC languages.
China tests its own 'Mother of All Bombs'
> but it's not like MySQL is broken

Here's a good article about that: https://grimoire.ca/mysql/choose-something-else
> There's no touchpad

3D touch (or two-finger touch on non-3D touch devices) on the keyboard turns it into a trackpad of sorts, allowing you to move the cursor freely around the focused input.
the nsa would never release cutting edge tools that had functionality unavailable in other forms.
Qemm was essential. Not only did it hook CTRL+ALT+DEL to skip the POST BIOS check, making reboots faster, but it made it possible to shunt stuff out of convential memory into extended memory, making it possible to run games whilst having various drivers and so forth loaded.

Qemm was the single best thing that ever happened to DOS-using me. The second best was Windows 95.
75% of med students are on antidepressants, stimulants, or both? (2017)
Could be the opposite too. They say a book won't teach you anything you don't already know. I don't think that's literally true, but I do think it's easy to miss what you don't realize is there, and it's why books reward rereading as you age and mature.
Thank you!

I've been working on a new app called Shade that's a visual shader editor. It's really made me fall in love with the node graph representation of logic.

https://twitter.com/johntwolives/status/1081513719694159873/...

I enjoy using Workflow (now Shortcuts). And I'm continuously impressed with Blueprints.

I think there's still something emotionally different about writing code. Like it hooks in to the part of your brain that deals with language in a way that visual tools don't.

I don't think that makes it better, but it makes it feels different.

Whatever visual systems we experiment with, I hope to keep thinking about writing and the feeling of writing when we build tools to solve logical problems.
Paper review. Serverless computing: One step forward, two steps back
> Well, Ford's customers couldn't conceive of a future where the eventual upshot wouldn't be ...faster horses either.

I don't agree that these are valid comparisons. An iPad is a computer. It has a CPU, and a screen, and an OS, and is therefore rather similar to a PC, barring UI lipstick. A car and a horse are way different. If you are suggesting that there may be a next-big-thing invented that supplants PCs AND iPads entirely (neural interface thingy), then maybe we are in agreement. An iPad is most definitely NOT to a PC what the automobile was to the horse buggy.

> Because we have exhausted UI paradigms and interaction design?

You wouldn't agree with this? In the context of computers (once again, neural stuff/VR notwithstanding) I have yet to see an interface to a computer faster than the keyboard and mouse. And I think 'faster' is a good metric for 'better'. Touch, in that regard, is woefully off the mark. Clicking a menu item, or even better, knowing the keyboard shortcut, is the most superior method of getting shit done.

Touch is fine for convenience, but convenience is a rather limiting goal. If the goal is to extract every last ounce of usefulness out of our devices (paired with a desire to own as few devices as posible), a mere touchscreen isn't enough.
> One should not feel embarrassed for not knowing something and then asking more in order to learn.

Agreed: ignorance is not embarrassing. We're all ignorant about most things.

But it is embarrassing to say something like "why'd they name iota after a Greek letter? To seem smart?" As this article explains, there is a history there and it doesn't have anything to do with "seeming smart".

I didn't know the history of "iota". I'm only vaguely familiar with APL. And I've never listened to a Turning Award lecture. This makes me ignorant. But I also didn't criticize this feature from my place of ignorance because I'm aware of it. Had I done so, it would be embarrassing.

I have criticized things from ignorance in the past, and it was embarrassing.
I'm only going to feel embarrassment if it was some kind of prerequisite for the lecture, and like you I would probably just look it up afterwords (probably on YouTube).

I would admit to ignorance if I have never learned the subject and forgetfulness if I had learned it and forgot or just had a "brain fart" and temporarily forgot which would leave me annoyed at myself. I think this article misuses embarrassed.
In this context, I like to think of the Kardashev scale. Humans should be at 0.73, maybe less.

Our natural resources are limited, our consumption and development are endless...
Counterpoint, I genuinely think it looks beautiful and I'm really impressed by it.
A lot of people - myself included - feel pretty uncomfortable when we read these stories. But we have to remember that (1) directors are under a fiduciary duty to maximize return to shareholders, (2) use of tax havens is legal. The 2 facts together means directors can be sued by shareholders if they don’t use tax havens. So the route to change, would be to legally end use of tax havens - through the ballot box. I would support that, it doesn’t seem fair. But I’d also point out that one line of thinking is that when the EU started getting real about stopping corporate tax havens, the oligarch class got together and fermented Brexit. Damned if you do, damned if you don’t. We’ve got some big problems!
Of course! Why would you think it wouldn't? Installing Linux on the Surface Pro is a different matter, and then Suspend just does not work. But with Windows it works pretty well.
Writing TSRs were the holy grail for me back in the day. I cut my teeth on Turbo C and even to this day I fondly remember hacking around with them.

The first thing I did when I got internet access in 1996 was look up information on how how to write TSRs (oh, and stuff about X-Files) as I did not have access to any books on the subject.
>> The fact that the phone spying case was even accepted by the Supreme Court should be enough to confirm that the law wasn't clear.

That's not actually the way legality works. If the law is unclear, the justice department will provide their interpretation (which will typically give more power to the government). If you disagree with the interpretation and are affected by it, you are free to challenge it in a court of law which will clarify. Or you can lobby lawmakers to change the law.

This is different from how for instance organizational guidelines work in private industry - in case of ambiguity, you will ask for a clarification from the author. That option is basically not available because laws are made by the legislature which is a body distinct from the executive.
In case anyone else is confused, the term "en banc" refers to a case which is heard before all the judges on the bench for that court, rather than just one. En banc hearings are generally made in cases deemed of extreme importance. As such, this is a fairly strong finding.
I wonder why the government fought this tooth and nail. Do they just really hate to lose, so they double down time and again? Or are they worried that losing once will open the floodgates to a torrent of litigation?
Safe or not, people choose over productivity.

Worst case, if it's popular enough, the nature of open source will handle itself and finds a new maintainer.
https://malicious.life/ Did a great 3 parter on Stuxnet, Flame, Duqu. His who series is fantastic really (esp season 1).
I'd probably report I liked my car insurance if it included a twice a year detailing and paid for my lyft rides from the bar. Especially if the real cost of it was hidden from me. That is to say, the consumer of health care being unable to accurately judge the quality and efficiency of the funding of that care is at the heart of the problems with the market based approach to health care funding.

The fact that one of the major players in the funding space have an intermediary as a customer instead of the health care recipient is a further distortion of the market.

Imagine if we got our car insurance the way we get our health insurance. What impact would that have on efficiency of that industry?
How much anti-alias (rounded corners) increases visual quality on modern high DPI displays any case? As far as I understood, macOS dropped it for font rendering.

For drop shadows you still need blending, though.
Lately, for small projects, I'm doing everything in firebase. No need to worry about anything. And if you use functions for all data manipulations, you have yourself a fully featured engine with web hosting, file hosting and database, configured with your code and with realtime updates if you ever need it.

For client I'm mostly using React and typescript.

For bigger projects, as others mentioned Postgres is a must. I use Node.js with express and knex when I'm able, but usually I'm limited to using either django/rails or MVC.net, all being pretty great.
False claims are so damaging. Its a problem that's been with us a long time, though. It's even one of the 10 commandments:

"You shall not bear false witness against your neighbor" - Exodus 20:16
It took a long time for the bugs to get worked out, but I have not had any sleep/wake issues on my Surface Pro 4 in awhile now. At least since the 1809 update.
Agreed, autoimmune diseases are obviously something to be wary of. Not similar to wildfire management, I think we're being foolish if we don't leverage the forces that have powered a natural ecosystem for millennia, instead of trying to replace them.
"Web has had notifications for years too."

Yeah. But people don't use desktops anymore.
:D

such a small word, so many meanings
That's great if we have the algae and bacteria. Right now we don't seem to. Maybe we should invest the money there.

In theory, you can power a big car on responsibly sourced fuel. In reality, selling millions of big cars is a huge problem, because of course people will understandably put in the cheap, ubiquitous fuel for which they're not covering externalities.
Submitted yesterday (https://news.ycombinator.com/item?id=18828050), and the day before (https://news.ycombinator.com/item?id=18816984).
Directors do not have a fiduciary responsibility to maximize returns to shareholders. They do have a fiduciary responsibility to act in the best interests of the company (and therefore the shareholders), but not a specific duty to maximize after-tax profits.

They can be sued for anything, just like anyone, but there is a large body of corporate case law supporting the use of business judgment to achieve goals other than short-term maximization and typically have E&O coverage as well to provide some coverage for nuisance lawsuits and cases other than personal misconduct or conflicts of interest. So, sue away, but you almost surely won’t win if the board pursued a lawful strategy other than the one you as a shareholder prefered.
I am living in Denmark working for a famous toy company. I moved from Southern Europe to Denmark a few years ago and the thing that struck me the most was the 20 minutes lunch break (since the schedule is 7.40 hours and 20 minutes of lunch break). I feel it was too rushed and my stomach had hard times adapt to those time frames.
Nice and looking fwd!
Freechip for you
Meteor. It is quite mature — it is working well for several demanding production applications that our team is maintaining. And I greatly appreciate the breadth and depth of high quality pluggable modules that the meteor team and other developers have assembled. It is very much a “ Convention over configuration“ style platform, going all the way down to their Galaxy hosting service.
Also check out season 1 of https://malicious.life/. S1E02 specifically covers The Dark Avenger, but the whole of S1 was awesome (and he rest too. But S1 especially).
That is $23 billion more going towards all the great open source software Google does, AI research, and also Alphabet, that means space exploration, more AI, nuclear and fusion energy and so on. Perfect! What would the government do with it? Fund a war?
Show HN: One-on-one meeting notes for attentive leaders
In the US, it's the norm. When I was in elementary (primary in the UK) school, it was split about half between packed sandwiches (with a box of OJ and a small bag of chips or similar snack) and queuing up at the school's lunch counter for a hot meal (usually cheap, not great quality, and heavily subsidized for those students that qualified). I'm not sure when it started, but my guess would be the 1930s, in an effort to ensure every child had at least one full meal a day. And at least in my current region, the school now offers breakfast before school begins (though this is almost exclusively used by students who qualify for free lunches - I don't know any middle-class families that rely on the school breakfast).
>"Hi, <insert name here>. I know all about you.

Did you receive that in an email recently? I've already deleted it, but I got almost that exact email in my spam on my junk mail account the other day. They were clearly working off of the Adobe password leak.

They quoted my old password in the email and gave the same ol', 'I will email a list of your perverted pornographic interests to your family and employer'

Like you said, they cast a wide net in hopes of catching a few fish. That being said, asking for BTC seems to really narrow the pool to folks who, I assume, would be less likely to fall for this scam.
I know corporations should do better, but these attitudes strike me as victim blaming. End of the day, this data was stolen.
Have any tips for converting an old and cumbersome rails app to react?
My belief is that behavior like this is no more than an attempt at a cover up and ultimately protecting each other. Much like some police officers will perjure themselves to protect another officer.
Hard to argue anything other than using React (or Vue) on the frontend with a Node.JS / Express / GraphQL Apollo Server back end. To me that's the "go to" at the moment and I love Python and really think Elixir is amazing...

BUT...

When the client is 100% JavaScript on a browser (which nobody is avoiding) and you're marshalling JSON around and JS Objects, any other stack outside of Node is going to have to do the "JSON object" dance, which we all take for granted as "no biggie", but matters when your code base is spending 20% of the time doing that dance.

Node's also super fast and the community is massive. Not to say Python isn't another good choice but you give up performance in that choice.

Again, this is a "Web stack", so I'm assuming web client talking to the server. Right now, for me, it's Node / React.
I would call it a mixture of pride and moral hazard. People are generally far less likely to pursue "scorched earth litigation" when they must personally bear the costs and risks of their actions. Given that this is the government, they are playing this cruel game with other people's money. Whatever happens, the public loses.
Let's download the best bootable USB creator Rufus for free
There's a really simple and easy solution in the standard library, but like many things in Python, it's not the first solution you're usually shown: `contextlib.contextmanager` [1].

This API cleanly separates the "context manager" part of your code from the "context" part. The result of calling your function is only a context manager, with no side effects. Using `with` on that context manager yields your actual object :-)

Very simple usage:

from contextlib import contextmanager

@contextmanager
def my_context(...):
print("Started")

try:
yield 5
finally:
print("Finished")

# Calling the function alone does nothing
>>> my_context()
<contextlib._GeneratorContextManager object at 0x10de07588>
# Using `with` runs our side effects
>>> with my_context() as context:
... print(context)
...
Started
5
Finished

[1]: https://docs.python.org/3/library/contextlib.html#contextlib...
Could you give an example of looking for knowledge that isn’t in the concensual standard places online, where that search ends up finding nothing?
Can you differentiate acting in the best interest of the company to maximaing return to shareholders, when that is the very raison d'être of a company?
The scope of Amazon’s ambitions with regard to the government
I usually just consider my opensource commits to be 'learning opportunities' for others; so I comment on every other line. It's actually pretty nice as a way of 'inlined duck debugging' that helps catch flawed reasoning, even when the code is 'obvious'.

Example: https://github.com/Convery/Desktop_cpp/blob/VersionDD/Source...
I would have gone with

- React + Redux on AWS S3

- Redux: You know you will eventually need to add it, so just do it to avoid needless workarounds before you give up

- Python with Django+DRF on AWS ECS

- Admin interface to inspect your data + neat REST API with one line

- Postgres on AWS RDS

- Plays very well with Django, new features are implemented in Django as soon as possible

Might make sense to think of cpu-intensive jobs such as image operations etc. I personally would have offloaded them to AWS SQS + Lambda running flask deployed by Zappa(Had nice experiences with Zappa+Flask)
Curious what are the logic gates made of? What kind of engineering does it take to build the gates?
It's television "news". Why would anyone expect better? The headline tomorrow will say/read, "A new study shows ..." and state the exact opposite.
https://ec.europa.eu/clima/policies/transport/aviation_en
The same could be said about shit, and yet people find ways to not shit whenever and wherever they feel like (extremely rare exceptions aside)
Show HN: Gamepad-Remote: Turn your Controller into a media remote for your PC
What Should You Do with Your Life? Directions and Advice
Linus (for other readers: not Torvalds) is a random YouTuber, not an "Apple technoratti", which was the original claim -- that would be someone like Gruber, Jason Snell, the guys at The Loop, 9to5 Mac, Apple Insider, and so on).

Original claim: "There's no touchpad Yet... with many of the Apple technorati asking for one and saying it's a necessary next step"

Have actual "apple technoratti" asked for a touchpad? I never read one do so.

Have they asked for touchscreens? Some did, some are against.

In any case, I don't exactly see the reasoning.

iPad is criticized because it doesn't have mouse support, and the Mac is criticized because it doesn't have touch support. As if a hybrid model wont have all the problems the Surface has -- (touch not that useful when using a keyboard, and mouse-based apps not that useful with touch) --and presumably the kind of lackluster sales the Surface has compared to the iPad.
While I agree that the criticism "you're just trying to look smart" is misguided, it's a bit ironic that his response had the implication that "if I know this thing and you don't then you should be embarrassed [because I'm smarter/better than you]."

(I think that was the source of much of the objection to the comment, and the post makes no attempt to apologize for it, even if it was unintended.)
[In most states] Companies may be formed for any lawful purpose; maximizing returns to shareholders does not need to be the primary purpose (nor necessarily a purpose at all, the extreme example of which are charities). IOW, it could be the raison d'être of a particular company, but is not necessarily so.

Read the Hobby Lobby case as a start.

Quote from Justice Alito in that opinion: While it is certainly true that a central objective of for-profit corporations is to make money, modern corporate law does not require for-profit corporations to pursue profit at the expense of everything else, and many do not do so. . . If for-profit corporations may pursue such worthy objectives, there is no apparent reason why they may not further religious objectives as well.
Amrita Ahuja joins the Square Team as a CFO