skysight-inc/HackerNews huggingface dataset:
I don't think it's a straightforward conclusion that refusing to provide the password to a digital safe falls under fifth amendment protections. Following the precedent for physical documents the court would probably argue that unlocking a device, disk, file, etc. would not be self-incrimination because the person compelled to decrypt is not making any comment or statement of truth about the decrypted contents.
> As a moderator working on a volunteer basis, it can also be hard to muster the willpower to respond to a report in a timely manner.

When I see the word "volunteer" in a response to a sensible critique of FLOSS software, I rankly speculate that a deep design flaw has manifested itself as a social problem.

It appears I am right in this case.

Are there known cases where I would be wrong?
Or legendary Espressigo https://youtu.be/NPvIs0I-gmg
> And all that might even be relevant if you weren't comparing Tesla to Apple.

I'm not comparing Apple to Tesla. The parent article is. And I'm trying to point out how utterly silly the comparison is.

Quote the first paragraph:

> When Nokia people looked at the first iPhone, they saw a not-great phone with some cool features that they were going to build too, being produced at a small fraction of the volumes they were selling. They shrugged. “No 3G, and just look at the camera!”

> When many car company people look at a Tesla, they see a not-great car with some cool features that they’re going to build too, being produced at a small fraction of the volumes they’re selling. “Look at the fit and finish, and the panel gaps, and the tent!”

--------

This comparison is fundamentally insane, and shouldn't be the starting point of any serious discussion.
I was originally thinking that putting this in monetary terms would cause the rich to have an inordinate advantage for free speech. Then I realized that the larger their speech reach, maybe the larger their financial penalty (taking the example of spam). But then in that case, it still simply becomes a case of who can afford it. It's like defending against a DDOS attack, it depends on who has the bigger pipe.

Agree that getting the mechanics for social networks would be hard. Not sure if financial mechanisms are the answer (not saying you're saying that). It puts a price on speech. There has to be a better way.
Show HN: A simple script to post the top HN stories to Discord
I mostly read the stories with high score (or comments), so with this script I get notifications on Discord (via webhook) for new posts above a certain score and it links to both the shared URL and to the HN comments.

It takes the stories via Algolia: https://hn.algolia.com/api

Hope someone else finds it useful! :)
I'm glad I'm not the only one sad to see generics invading a perfectly good language.

Programmers love generics because they enable higher-order abstractions, and programmers love abstractions -- code that isn't DRY is like an itch we need to scratch. Programmers also hate special cases, because they feel restrictive and inconsistent: I recall quite a few people protesting that Go's 'range' keyword shouldn't be restricted to a handful of built-in types, but rather should support any type implementing an Iterator interface.

But Go was not designed to be perfectly consistent or to enable high-order abstractions. It just aims to be productive at scale, and that often means restricting the programmer. Go tries to be non-magical, and sadly that can take much of the whimsy out of programming. You can't chain together operators in point-free style, or add a property to every 'Object', or directly increment a string, or anything like that. In other words, it's a terrible language for code golfing. But that sort of code has no place in a production environment anyway. It's "clever" code that gives the programmer a little dopamine hit when he writes it, and his co-workers a headache three months later. Those are misaligned incentives.

So I worry about generics because they let you abstract with wild abandon. They let you inject a little magic. And I fear that programmers will be seduced by their love of magic, and I'll be the one who ends up paying the price.
Most homes have electric stoves and dryers.
It’s just a few dollars, maybe the should try letting people pay?
Sorry if this is a well known term but what is a "proptype hint" in this context? I can't seem to find any references for '"proptype hint" "javascript"' or any variations that come to mind on Google.

Edit - changed previous sentence to "proptype hint". I originally erroneously read the parent as saying "prototype hint" which I couldn't find results for, but even after correcting my reading error my question still stands.
You can get every conclusion you want out of QM without any wavefunction collapses, so there's no need to discuss it (depending on your purpose) and if you're an MW-er you'd argue that, further, there's no reason to believe that it even happens. Since there are several self-consistent "piles of words" that all talk about the same math but contradict each other, (Does the wavefunction collapse? Does 1600s literature simulate the simulacrum?) not talking about it seems completely justified.
"less artists incubated and exported"

Hmmm. Had this been in place earlier, we might have avoided Justin Beiber? I'm sold. Let's do this.
Why rails should bother? There are plenty of other ruby gems and their developers who don't care about Windows. Even if Rails works, you can't convince community to make every single gem compatible with Windows. So it makes no sense.
You're probably right, but the temptation to sacrifice HW UX for features isn't a new phenomenon yet the equilibrium seems to have shifted noticeably in the latest HW generation.
I had the pleasure to work with various SGI machines back then (video and animation). Being around Onyx was always a special feeling, even though I prefered thw look of older Crimson chassis. SGI made a poster calendar even, which was set like 40 odd years into the future or something, taking advanfage of periodicity of calendar years. Nice gimmick, nice poster which I lost, sadly.
"
Our agrarian ancestors adopted a three meals per day eating pattern, presumably because it provided both social and practical benefits for the daily work and school schedules."

Isn't it surprising that school is considered an important factor weighting on the evolution of early farmers?
Can someone explain in terms to someone who hasn't really used a static typed language what "generics" are? I've only used javascript and ruby.
It doesn't have much Paul Sellers in it though.
Have you spent any real time with Flow?

As I’m starting to get into the modern front end world… I do want the safety of a stronger type system but it doesn’t look like the React ecosystem has really decided which way to go.

TypeScript is popular. But flow was developed by Facebook and so it’s obviously heavily used by some of the top people.

I’ve only been reading about them, I haven’t chosen to use one yet. But I’ve been leaning on flow since it’s developed by the React team at Facebook.
Really enjoying this one: https://itunes.apple.com/us/app/mindscope-thought-organizer/...

Based on this concept http://www.mandal-art.com/

but original mandalart author had/has less effective implementation

Truisms from time:
- Content > tool config
- Simple is better
- Have good search
- ISO 8601 date format, line based entries

Old and current flames over 20 yrs:
- Google Desktop
- TheBrain
- MindManager
- Freemind
- NotationalVelocity
- TiddlyWiki
- VimWiki on vim as Deft folder on emacs in evil-mode
- Org-Mode in native and evil mode
- log bash script
- sqlite3
- Traveller notebook, pencil and paper
What is "polarization" here? I am not familiar with this term applied to routing? Oscillating between different available paths?
That's the main reason I use Flow almost exclusively. I don't like sacrificing really useful features for the sake of a cleaner code base.
Yes, we do. A number of instances have blacklisted bofa.lol, which is where this whole attack on Wheaton began.

I suspect that eventually the Fediverse will be divided into two major sections: places that are okay with "pissing people off" as a source of fun, and places that require basic adult civility at the price of, say, restricting your freedom to call an absolute stranger something vile.

I dunno how well the former will survive with read-only access to the latter. I would not be sad to see it wither and die, though several decades of life on the Internet suggests that's all too unlikely to happen.
These early SGI machines did not have good support for printing. Even if you did have a printer, the only way to print was to take a screenshot, which had much lower resolution than laser printers and did not look good.

My first paid job - this was after the 10th grade in high school - was writing a kind of printer driver for one of these machines. One of the researchers at a local university had the same problem you did, and heard about this kid who was supposed to be good with computers :)

The SGI GL manuals (this was before it became OpenGL) included all the mathematical formulas they used to display the graphics - the rotation and perspective matrices to transform the coordinates, the vector cross products to calculate shading, and so on. I took these and implemented a subset of GL which outputted PostScript commands to a text file. This was then sent straight to a laser printer (Apple, I think). I didn't implement everything that SGI did, of course - no smooth shading and I think I could handle only the simplest types of occlusion. But it was good enough to handle the models that the researchers needed to print.

I still remember the SGI manuals in big 3 ring binders. This is what I learned linear algebra from - thanks guys.
Interesting post, thanks. Was the investment in infrastructure considered a Keynesian policy at the time?
I find fasting for a week easier than for 12-16 hours.. eating makes me hungrier; whereas fasting for a few days, the extreme hunger goes away after 3-4 days.

Ironically, a friend of mine whom runs a restaurant and works long hours eats like the suggested diet unintentionally: one normal-sized meal a day in the evening because of working nonstop since 5 am.

The downside of fasting is that it stimulates the SNS and increases stress and cortisol... which may well cancel out any "good" effects.
I believe they’re referring to the PropTypes Library that grew out of React. It’s extremely limited in scope compared to something like TypeScript, but it does give you some benefit.

https://www.npmjs.com/package/prop-types
I get that China and India aren't comparable. China is far^N more locked down. But there are multiple references in the article about learning from China about surveillance and social control. So if I lived in India, I'd be worried. And damn, I live in the US, and I'm worried.
For learning how to program, How To Code [1] (based on How to Design Programs [2]) is tragically underrated given that it's hands down the best approach to learn how to program (actually, more importantly, how to think about programming) of the many I have looked at. Wish I had known this years ago. Rarely the best learning resources are widely know, so sad.

I decided to give this course a go after reading the eye-opening paper The Structure and Interpretation of the
Computer Science Curriculum [3], and then discovered the edx course in HN [4] [5].

Although having programmed for many years it totally changed the way I look at programming; I followed this with the sadly unfinished but still excellent How to Design Classes [6], which consistently extends this initially FP approach to OO. To check how this approach is language neutral, have a look at Design Recipes in C [7].

Another neglected but wonderful resource is MIT OCW Elements of Software Construction (the 2008 version) [8], which, like the above, is centered around design rather than coding.

What did I get out of all this? A systematic approach to programming.

[1] https://www.edx.org/course/how-code-simple-data-ubcx-htc1x

[2] https://htdp.org/

[3] https://cs.brown.edu/~sk/Publications/Papers/Published/fffk-...

[4] https://news.ycombinator.com/item?id=9810542

[5] https://news.ycombinator.com/item?id=16455240

[6] http://www.ccs.neu.edu/home/matthias/htdc.html

[7] https://hci.uni-hannover.de/files/prog1script/script.html

[8] https://ocw.mit.edu/courses/electrical-engineering-and-compu...
The main difference I see is that you wouldn’t trust an anonymous tip by a supposed insider, but you would trust transactions in a well-reputed anonymous prediction market.
That's cherry-picking specs and definitions.

The ""colloquial usage of the word"" very much includes I/O performance; disk speed has historically been the worst bottleneck, aside from network access.

Resolution also affects performance: it's how much information you can view at a time.

Most cheaper laptops do not present the same value as a MacBook Pro unless you ignore some of the advantages of the MBP you’re comparing against.
This post was sponsored by Facebook
From my personal experience, Flow prioritises soundness in its type system, and thus can catch some bugs that TS won’t, but the TS tooling and editor support is drastically better than Flow’s.

Edit: oh and it’s worth noting that I’ve had much more luck finding TS definitions for third party packages than I have with Flow.
Yes, a great machine for Xcode. The only thing I don’t like about the Touch Bar is the lack of a hardware escape key.
One major differentiator for Azure is its 1st class support for Windows / Microsoft centric tech. Besides that, I find it hard to see why someone would pick them over AWS. So if consumer Windows becomes irrelevant, so does Windows server. If you’re no longer needing Windows server, why get SQL server and so on. I think consumer Windows demand fuels demand for Azure and Office 365.
`PropTypes` are a library for runtime type checking of props for React components. It was originally part of the React core, but split out into a separate library with React 16.

PropTypes are used for a combination of debugging during development ("you accidentally passed a string instead of a number", or "you forgot to include a required prop"), as well as documentation for a component. React devs have traditionally used PropTypes to act as readable documentation of a component's expected props, and there are tools that can extract PropTypes usages and generate documentation files.

However, with the rise of TS and Flow as static type systems, the need for a runtime-based type checker has gone down, especially since people using TS/Flow have probably already declared types for a given component's props.
Many dense European cities have installed on street charging points.

https://andrew.london/2018/01/solving-the-electric-car-on-st...
When the new Kennedy silver half-dollars came out, you could change channels by rattling them against other coins in your pocket.

This was discovered by accident of course.
In a static language, functions, classes, and types are often parametrized by other types.

For example, with a function: imagine you wrote a `sum(array)` function. In Ruby that's not a problem, because array can contain any types, as long as they support the + operator (aka duck typing). Any function can also return any type of object.

In a static language, however, an array that holds floats has a different type than an array that holds integers or an array that holds strings. The return value of the function sum() will also be different, depending on the type of the array, because if it's an array of floats, the sum will be a float.

So generics allow you to sort of implement duck-typing in static language:

T sum(array<T>) // Pseudocode

Now the sum function will take an array of any type T, and return a result of the same type T.

Similar idea for classes and other types. The classic example is a container. A linked-list in Ruby can contain any type or mixture a types, since the language is fully dynamic. However, in a static language, a linked-list of strings has a different type than a linked-list of ints. So you write something like (pseudocode):

class List<T>
{
T head_val() { return head.val; }
}

Now you write the List<T> class once, and use it for any type T, so it's DRY when you may have any number of types T that your program stores in a list.
The original designers thought people would just make uber cables with full support. Manufacturers noticed they could shave off a few cents removing support for features "nobody uses".
Wikipedia?

I agree with you in general though. I think Wikipedia would be the exception.
It's a hobbyist tool for sure, but different people get different things out of the hobby. I like doing things by hand, and I also like doing things "by hand" with a table saw, router, and other typical power tools. A CNC router setup would let me make some cool designs that I can't make now, but I don't think I would enjoy it much. Futzing around with CAD wouldn't scratch the same itch for me, so I haven't bought one.

But other people feel differently, and they enjoy different things. There's no accounting for taste.
I just skip breafast. Lunch around midday, dinner as soon as I got (I not longer work full-time) home around 7pm. Fits inside the 8hr window and I honestly found skipping breakfast quite easy. I'd have a couple black coffees throughout the morning, and that's it.
In Quake-Prone California, Alarm at Scant Insurance Coverage
UNIX backbone, with many powerful applications available.

Especially when you include Keyboard Maestro, Karabiner Elements, Hazel, Contexts, Alfred.

Also, tend to be good, lightweight machines, no hassle, and reliable.
It's frustrating to see a viable-enough-it-gets-talked-about Twitter-alternative but apparently no equivalent Facebook-alternative.

I believe this is related because it seems like the Twitter model by itself breeds a wide-range of inherently bad and ugly behavior. A platform for celebrities pretty much would have to. Moreover, an "everyone sees everyone by default" approach seems hard to moderate.

I treat Facebook as a combination blog and forum. It works for me. Effectively, I have the tools to do my own moderation. A federated version of this seems much more manageable.
I hadn't heard that. That's too bad--his videos are fun. I've learned a good bit from him, and I even built the box joint jig from his plans.
Reasons You May Not Want to Apply to That Corporate Startup Accelerator
I was worried too but the whole net neutrality fight has been an eye opener. Our generation can be relied to rally upon when push comes to shove.
According to the OECD, 37% of women in India report violence against them at some point in their lifetime.

In Switzerland it is 10%. In Japan it is 15%.
[Irony on] It's somehow reassuring that Google engineers also "check StackOverflow for answers". Helps me to raise my low self-esteem. :D I thought all what Google engineers do is writing code from scratch in brainfuck all day long.[Irony off]

Of course I am just joking. Well, the author faced the same dilemma that we all face when instead of joining the next-to-be-unicorn startup we join an established company which has been operating for more than one decade. Namely legacy code.

They should pick up a copy of 'Working effectively with legacy code'. They might extrapolate some of those advices and apply to their situation.
If you’re learning on your own, you get to pick and choose what you want to learn. That almost always means you’re going to choose not to learn something that is actually important. Having a good teacher and a structured education system means there is an expert who will make sure you learn everything you need to know and you haven’t missed anything.
Yeh I was kind of broad with that statement due to tiredness. I was specifically thinking of Windows 10 vs Windows 98, examples like that. It's not just Windows either, but so many websites go for this "huge whitespace, zero content" style too. Just trying to find the address or contact details for a restaurant can be a frustrating experience these days.

But yes, that era did have a lot of over-design as well, and we've studied and progressed UI/UX in a lot of truly awesome ways in recent times. I just wish we'd get past this "minimal" crap.
Cars draw a lot of power vs electric lamps.
This looks good. A previous video on this channel said there was no WWW in 1993 and I stopped following things. Have things improved?
I couldn't tell from your wording if you knew this already, but we wrote a JS->TS converter too. I didn't call it out very clearly but it's the second to last link in the post.

I am really sad that TypeScript gave up on their spec. It previously was one of the strengths of the language that I was happy to cite. I guess it's a common crutch for languages (Python and so on) to say "the implementation is the spec" but without a spec to guide you, you lose sight of which features are intentional or accidents or even what the distinction between the two are.

The Closure library does has some great stuff in it. It's the accumulation of years of experience of working around lots of really subtle issues in lot of browsers. On the other side it also has a lot of code for issues that are obsolete, and it's hard to know which pieces are for what.
Every bug is secretly a feature?
I don’t want to argue for or against the “my free-speech is your hate-speech” conundrum.

The question I’m posing is, why are we so attached to our identities online?

If an angry mob follows us around online then why not use a pseudonym and let our posts be judged on their own merits, instead of our reputation?
Just purchased a TS-80 soldering iron and have been incredibly frustrated by the power requirements. While USB-C, the device requires 2A with 9V. Out of four Type C, PD chargers, I don’t have anything capable of this combo. Shopping around for something other than a dedicated QC3.0 charger, it’s been interesting to see how few of the manufacturers publish a convenient and complete set of charging specs. Something like this will certainly come in handy.
Email spam has not been a problem since we figured out Bayesian filtering. I understand why Twitter and Facebook don't offer that as a tool to it's users, because we'd all filter out the advertising that they live off of. Why couldn't Mastedon offer it? Will Wheaton opens a Mastodon account, messages he doesn't want to see start flooding in, he clicks "this is spam" on each one, and after a day or two he no longer sees the messages he doesn't want to see. The trolls, starved of attention, move on. Am I missing something?
> Oscillating between different available paths?

The term for unwanted oscillation between different paths is, IIRC, "flapping".

However, when working with ECMP (equal-cost multi path), you actually do want to use all your paths (hence "equal cost") simultaneously (for load-balancing purposes, say). "Polarisation" refers to the unwanted condition when the hash algorithm that decides which path a flow/packet takes is not properly distributing flows/packets across links, leading to underutilisation and/or overutilisation of links/routes.
Mmm. Honey marmalade with an ancient Greek connection. Subtle overtones of anti-capitalism, retro cool and holistic herbal healing. Think you just spotted a new hipster breakfast trend. Sourdough it, mix with your Euromuesli, gourmet burger/wrap or pizza that stuff and cash in. Minimalist line drawings of naked Greek athletes: boom. Fad.
Can you please share the link? I am on mobile.
Gap looks about the same so many years later.
It seems wasteful to use cars for short travel, esp for a single person or two persons. In third world people would use the motorcycle for such short travel, even if they had a car. And you can buy motor cycles that can go nearly 100kms on a litre of petrol.
I'm not sure how that makes sense. Wouldn't that just mean that trolls could attack targets financially in addition to silencing them?
oh indeed iPhone and Blackberry.

Anyway, even if it had been Blackberry and WebOs, it would still have been pretty awful.