skysight-inc/HackerNews huggingface dataset:
> ...person you just screwed with an overpriced ticket.

This is also known as an "adult freely and willingly participating in a voluntary transaction."
That was a pretty stupid remark for him to make, but can we please stop firing people for their comments and opinions?

Firing people for their thoughts (as opposed to the value of their work) doesn't fix anything. It just creates a culture where people say one thing and believe another.

It's sort of like the idea of kicking Trump off of Twitter. Doing so wouldn't make him a better president, it would just reduce the visibility of his grotesque thought process.
Your website reports this error on http://www.sequentec.co.uk

An unexpected error occurred.
Module 'timezonedb' already loaded
From TFA: "What is this alternative, then? It is to build a classic web application, including rendering server-side HTML, and use JavaScript only sparingly, to enhance browser functionality where possible."
You forgot an important word there that's also your username.

There were lots of digital money systems that worked but were centralized.
Many of these become very viable with the advent of electric aircraft. Tailsitters being the simplest.
Exactly.

- The author is describing hypertext, which is perfectly fine for textual static content, one of the key goals for which the World Wide Web was conceived.

- Server-side generation of HTML seems totally out of place for other use cases: HTML/JS are now the assembly languages of the web and they belong in the browser. Besides a more distributed architecture is just perfect: server and client focus on what they do best.

- Fixing web-apps with broken history buttons and unlinkable urls is important, but to be honest there are fewer and fewer SPAs that are mono-url these days. And it's perfectly fine to have a unlinkable "Delete this Invoice" app button. If it's not real content it should not be a link.
I've always wanted to to use Favor or Postmastes to deliver packages to UPS, but it never ends up being worth the risk. It's interesting to hear that insurance ends up being the issue. Presumably UPS and Fedex have insurance for this, I wonder if they'd ever partner, and use their insurance.
That looks terrible to type on, like a chiclet laptop keyboard. I put up with those because it's a decent compromise for a portable computer, but at a desktop? And for $200? Who is the market for this?
why do you need to know fractions to program? There is a myriad of things that can be accomplished without knowing fractions. It is more important that they have a grasp of logic and cause and effect. And or just a curiosity as to how things work, if I do x then I get y.
If you are concerned about this "privacy issue" you should try Smarter Wi-Fi Manager from Kismet Wireless: https://www.kismetwireless.net/android-swm/

But in newer versions of Android (afaicr > 7.0) is no longer using an aggressive approach (visible to other devices), it just passively collect frames (https://plus.google.com/+mikekershaw/posts/DmpQ2no5bEk) so it's no longer an a privacy issue to have this option on those versions, still would recommend SWM to increase security.
While you are sort of right, the non-blocking thing was basically necessary to get JS on the server working. And while he was focused on the I/O thing, he accomplished a lot of things by accident, including making a really convenient server platform for JS.
For every service there are very relevant factors about what makes the product good or bad. If you don't separate these 2 or 3 factors, then over time everything becomes a score of 3.6.

In the case of Amazon, the relevant options are:

1. Likert scale of quality:
a junk, just don't buy it
b cheap and works good enough for occassional use
c higher quality: willing to spend more and you'll get a much better outcome.
d overpriced

2. bad shipping, bad vendor, poor customer service

I hate seeing a bad review for a product based on the last item, they're normally outlier issues or whiners and I normally try to filter them out.

In the case of rotten tomatoes it is, again a different set of parameters.
Yes unfortunately. People often forget this. A friend had his latest iPhone stolen by a prostitute one night walking home from a bar. He wasn't too concerned, and eventually his insurance paid out and he didnt care about being robbed as his thinking was it was locked and then disabled by an Apple store so 'she got nowt'. But I'd wager that it was sold immediately for parts for say $100 at a local independent repair store who probably made another $200 out of it for parts, I daren't tell him as the issue has pasted given his thinking.
Disappointment is generally a sign of misplaced expectations.
At least in iOS-land, you can be in airplane mode and still have wifi.
ExoAnalytic video shows Telkom-1 satellite erupting debris
Obligatory link to the Eaten By A Grue podcast, where the hosts play old Infocom games and talk about them. The first podcast is, of course, Zork.

http://monsterfeet.com/grue/
Freestyle Edge Split Mechanical Keyboard
> Companies are supposed to pay taxes so we can have schools, healthcare, basic income etc.

This is just government-enabled theft. Politicians promise people "free" stuff that is extracted by threat of violence from someone else.

Companies provide services that their customers choose to pay for. Profitable companies provide services efficiently so that everyone involved (customers, owners, employees) are better off. Their existence is a social good because profitable companies make everyone better off without coercion. They embody peaceful cooperation and civilization. They are not "supposed to pay taxes", except in the mind of politicians who seek to increase their own power and wealth by appealing to the envy and covetousness of their voters.

If you want something, make it yourself or get it from others through peaceful cooperation. Do not take it by force from someone else, either personally or through a proxy (government).

Edit: I realize that a world without coercion and violence is an ideal that will not be realized, but I think we should be trying to bring it about anyway. This means promoting peaceful exchange (free markets, private companies) and discouraging coercion and theft (government).
Is 'What would you do with UBI?' the new 'What would you do if you won the lottery?'?
There are ways to encode imperative mutable updates to data structures in a functional style with tail calls and sufficient compiler smartness. I don't think you really come out ahead if you go down that route though.
I sit uncomfortably with the article's emphasis on a specific ethnicity. Great things were done at Bletchley during the war, and I think there is a good argument that diversity (or should we say lack of anti-diversity?) was helpful.

This is a great documentary on the lorenz cipher[1][2] (sadly fairly garbled to avoid it being taken down - though doesn't seem like you can buy it either), which was a more secure encryption method than enigma and didn't require an operator. It was thought to be unbreakable by Nazi high command, and the breaking of it has only recently been declassified.

The documentary points out the diversity at Bletchley - race, country, gender, disability and sexual orientation, which was quite the opposite to the Nazi's intelligence employment requirements.

[1]https://www.youtube.com/watch?v=FD0l8aAOiJI

[2]http://www.bbc.co.uk/programmes/p00l9j0v
kaffefgerffe4
JS used to not require that iteration order match definition order. Iteration order was explicitly unspecified.

But initial implementations just stored properties in a flat list, so in practice all had iteration order matching definition order. And then websites were created depending on that behavior.

So now you had a spec saying "the order can be anything" but real-world compat constraints meant that in any implementation shipping in a web browser the order had to be definition order. At some point this compat constraint was simply documented in the spec, so there wouldn't be a gotcha lurking for a new implementation.

So it's hard to blame this problem on JS, really. It's more like Postel's Law (or a failure thereof, depending on who you're talking to, but I feel like in this case the output is the iteration order, and having it be fixed corresponds to being conservative in what you do. The pages that failed on different iteration orders correspond to _not_ being liberal in what you accept from others...
Native apps are downloaded once at install time and the user expects and tolerates the delay. That's the major difference.

You can wrap your SPA in a native app and thus cache the requests ahead of time. But develop on the web, and use Cordova.
Most are not especially short takeoff but many can pretty much land vertically
It might be because it's relatively easy to end up doing something computing related without studying it directly.

This was the case for Dahl and many others. It's definitely possible to catch up on the history of the field while you're working in it, but not everyone can find the time to do so.
Save your energy for reading to the child and playing games with them, which definitely helps intelligence.

Are you sure? It was my understanding that there is pretty much no intervention that provably increases IQ. Some interventions have small effects for several years but none persist past 3-4 years post intervention.

- Except getting rid of things that low IQ, like reducing exposure to lead, not drinking or smoking while pregnant etc...
How hard it is to get things right? It's not hard at all. It's builtin with frameworks like Ember or Angular, and for React you got react-router which does things correctly by default. It's just bad programming. I don't even understand why people would make an SPA without a url-router. Doesn't that just make development harder/more anoying?

Why would links take longer to load in a SPA? CSS, Javascript and the like should already be downloaded, there should be much less networking involved.

Also. My SPA's come in at around 120-130kb minified (no gzip). That's about the same as "pure-html" sites which include jquery.

I do agree with your last point though. Pure content sites, or even "mostly"-content sites, is probably better off with backend generated html.
Ya what I was trying to say for each of those is:

Pipes/streams: one way channels between isolated executables

Spreadsheets: the only form of functional programming that's reached mass adoption (equivalent to lisp for the most part)

DBMS: the only form of declarative programming other than the web that's reached mass adoption. In this case the view has two-way binding to the data, but relationships are declarative and the controller has been abstracted into the GUI and event callbacks on buttons etc (controller is the weakest portion of MVC)

All of these concepts could/should make it into mainstream programming languages. Try searching for Redux, Elm, software transactional memory, the Clojure state store, coroutines (which are interchangeable with state machines but without goto).

I believe that we can use all of these techniques without the ugly syntax of functional programming languages like Haskell, Scala, R, etc. For example Elixir is trying to be a kinder, gentler Erlang.
The article addresses this as well.

"Experts, including Alotol, have questioned Jawdat's story, arguing that the colour and apparent excellent condition of the statue contradict the story that it was found in the sea. They speculate it was discovered inland, under the ground, and that the real story has been stifled either to avoid arguments of ownership or to avoid revealing that it was found while digging tunnels to nearby Egypt."
Jewish scientists were instrumental in the United States Manhattan project, where notable scientists such as Richard Feynman, Robert Oppenheimer, Hans Bethe, etc., made significant contributions to the discovery of the fission bomb.
You're correct. I've been writing C lately with functional concepts in mind and noticed an improvement in cleanliness with state and style. I'd definitely recommend trying it to other C developers.
Pro-scalping crowd here at HN? Well I'll be damned.
I had to google what postmates was.
- If I mis-enter information into a form, your error handling forgets all my information and I have to re-enter it.

Even when I was coding web pages in Perl in the 90's I wouldn't do that to a user, that's just mean. You don't need a SPA to provide proper error handling that also rebuilds previous state.
Parasites inside your body could be protecting you from disease
A Provocative Look at the Harm from Corporate Heft
You get that with Javascript frameworks anyway.

React - Component Design, Folder Structure, CSS Implementation, Data structuring, Testing Frameworks, Linting Frameworks, GraphQL vs Traditional REST vs GRPC...

It doesn't solve all of your problems like you think it would. You still have onboarding, and you'll always need onboarding.
The 2010 Balisle Report: why the surface Navy is struggling
It seems more appropriate just to add a ~ to the url, indicating that it's a user-uploaded file from an otherwise trusted domain. Browsers can then warn users about that however they want.
> If I mis-enter information into a form, your error handling forgets all my information and I have to re-enter it.

This really shouldn't be a problem for anything other than file inputs. If someone's form is losing submitted information on a validation failure when using an actual HTML submit, then I find it pretty unlikely that they're doing a good job of AJAX submission.
Thanks, I have looked at this as well. There are a few issues:

- It only scales worker nodes

- It only scales nodes if a pod can't be scheduled. This is too late for us as are requirements are to scale when resource utilization crosses a threshold (ie reserved memory is over 70%).

- It still doesn't solve the baked AMI problem. I may be wrong about this but the AWS docs for CA are lacking. For instance, when does the ASG/launch config get created? Is that something it does or it needs to be done ahead of time? Which AMI does it use? etc.
This is pretty impressive if true, any reason you think this happens?
Data flow, and FP, are about explicitly passing all the required dependencies into any step in the process, and getting back all the results

I always knew there was some relationship between FP and dataflow. There is something profound here. However, I'm not so sure that current FP languages are capturing this something in the best possible way. To me this:

http://www.lihaoyi.com/post/BasicFunctionalProgramming/CodeG...

Somehow seems far inferior to this:

http://www.lihaoyi.com/post/BasicFunctionalProgramming/Diagr...
Agreed.

They're all manageable and can be tidied up behind the scenes.

The beef seems to have a smack of functional fixedness.

Wants their browser to be used the way it was originally designed back in Netscape 1.0 days. "The web can't evolve or its not the web!" as I see it

I see this a lot in the 35+ tech crowd these days. It's like the 50+ tech crowd shaking their canes over terminal emulators or using anything other than Perl for sysadmin.
A Tesla Model S hits 300,000 miles in just 2 years
The problem is that there is a mismatch of priorities between the device manufactures (and in certain places, carriers) and us consumers.
The Great “We Support Female Founders” Lie
Game of Thrones: 5 Biggest Mistakes Which Nobody Noticed
How to get an open-source job
Announcing TypeScript 2.5
As you, I like the focus on data-flow, but I disagree when you said that:

> Making all dependencies explicit will force you into writing immutable code.

We have the opposite:

Writing immutable code will force you into making all dependencies explicit.
I've never seen that, but then I'm running an ancient version of Cyanogenmod (based on Android 4.4.4) that might not be obnoxious yet in this regard.
My mind was changed on this. I used to believe it was simple, you're XX or you're XY. Even two people with the same genes could be quite different if those genes are expressed differently.
Asm-dom: A minimal WebAssembly virtual DOM to build C++ Web Apps
google surreptitiously moved it to the ellipsis menu.

on android 7 and 7.1:

settings > location > three vertical dots on the top right > scanning.

And on this screen disable wifi and bluetooth scanning.

And, you would think that would disable wifi/bt scanning, right? wrong!

on the previous screen (settings>location), you also have to click on "mode". And then select "Device only". If you select "high accuracy" or "battery saving", it will ignore the wifi off on the ellipsis menu and still use it!

And there is more! ...still on the location screens, scroll down. Past the "recent location requests" and see a section called "Location services". It might very well include a "Qualcomm izat accelerated location". What it does? well, nobody knows! does it enable wifi from sleep mode on the chip? it might. it might not. again, who knows?
> Maybe your single page app is different, but the ones that I know break most of my browser’s features, such as the back and forward buttons, page refresh, bookmarking, sending a link, or opening a link in a new window or tab.

My SPA is different - https://www.seasonalfoodguide.org.

Browser back button works like normal.

Each screen has its own discrete URL, so you can share links, refresh, bookmark or open in a new tab, just like any other website.

I think the criticism here is misguided. The problem is not with SPA as an architecture, it's with SPA devs not implementing features that end users are accustomed to on a website. They can all be added, it just takes effort.

The biggest valid criticism to SPAs IMHO is the initial site load. There are ways to mitigate (CDNs, progressive loading, compression, etc) but pound-for-pound SPAs probably have longer initial load times on average for the first page than a vanilla HTML site does.

Once it's loaded there's no faster way to traverse a website, IMHO.
My Attention Disorder Was Brought on by My iPhone
Best article on FP i've ever read, this deserves a bookmark.

Although to me it's not only about FP but also about data-centric development.
I hear a lot of complaining on HN about Agile development but few proposals for something better. In my experience I have found that Agile is the least-worst development process, broadly speaking. I find it difficult to imagine a productive development environment that does not have at least a significant number of aspects of modern Agile thinking. Could you give some examples of Agile development practices you would replace, and with what?
Your Cannabis Concierge (ChatBot)
Hi, I'm KN your cannabis concierge. If cannabis is legal in your state, I'll help you find the closest dispensary or delivery service. If it’s not legal, I’ll tell you when it is. I'll also assist you with travel, provide information on local 420 events, and directly connect you with some of the coolest cannabis businesses in the galaxy.

Check me out:

FaceBook Messenger m.me/kushnode

Telegram messenger telegram.me/kushnodebot
You probably have never tried a classic HTML "app":

1. Every click is fetched and rendered faster than your javascript code has had a chance to execute, let alone fetch or render.

2. True, minor headache though compared to the vast improvements in usability.

3. Nope.

4. Nope, this is a bug - something javascript pages most certainly are not immune against.
Admittedly, I skimmed through this, but I miss a balanced discussion of the cost/benefits of static typing. I could see no discussion of the benefits of dynamically typed languges. Insted arguments for static typing are enumerated without a single reference.

For a more balanced discussion, see: https://www.infoq.com/presentations/dynamic-static-typing
the stats in the US are a bit twisted, in small part due to our terrible family leave offerings, but largely due to WIC providing formula to low income families that end up formula feeding to go back to work (lol if these types of jobs provide actual time to pump, even if they could pump) or because they don't get anywhere near as much support with breastfeeding difficulties.
> Where was that quote taken from?

The quote was a restatement from memory (so not really a quote), but you can find a similar summary on Wikipedia https://en.wikipedia.org/wiki/G%C3%B6del%27s_incompleteness_...

> Surely, the second conclusion is just one of the premisses. Not just T but any inhabited type couldn't be used as the input to a function that returns nil, if that's axiomatic. Correct?

I think my choice of T for the arbitrary type was confusing (putting it in italics apparently didn't help). If I had been talking about the top type, I would have used ⊤, not T. (See the difference? Probably not.)

> But still, for the first conclusion how can a type without corresponding program be said to exist in the first place?

A simple syntactic type without corresponding program is "Λa.Λb. a → b" (the capital lambdas are type abstractions, meaning "for all types"). This is actually the same type as "⊥", but that isn't immediately obvious. So given a specific syntactic type expression, the question is whether there are values of that type and if there are, whether you can construct values of such a type.

One type with values that you can't actually construct is the type that says "No value of this type can be constructed." using a Gödel encoding in type-level numbers. That type will be a huge function signature, so it isn't actually relevant to everyday programming, but it has to exist, and there have to be values in that type.

Since you can't actually write down these values, their existence is very annoying, but they are a bit like non-standard numbers in that regard: You can't effectively outlaw them without shooting yourself in the foot.

> One way around seems to add a higher order axiom about the truth of the liar paradoxons, to assume all unprovable sentences are wrong.

That will introduce inconsistency, since Gödel was able to transform a self-referential sentence into a sentence without self-reference, using a construction that is intuitively correct. So if all self-referential sentences without proofs were wrong, the non-self-referential version of "This sentence has no proof." would have to be wrong as well, which means that it has a proof, which makes the original reason for labeling it false invalid.

You could avoid the paradox by claiming that Gödel's construction isn't actually intuitively correct, but since the point of the exercise was to show that mathematical intuition can't be formalized, that doesn't really help.
FWIW its worth, a lot governments occasionally use off the shelf commerical spytech like cheap hidden camera from Ebay exactly fkr deniability purposes.
General sentiment is that the BJP government did this to purge the black money held by opposition parties to win the UP (Uttar Pradesh) state elections. Demonitization exercise did not come as a surprise to most BJP insiders, who had already made arrangements to stash their black money away.
Ok so the issue is patents and how hard it is to write from scratch. I’m looking at it from the user of crypto perspective. I assume it’s all on a range of hard to super hard to implement (not just to get it working, but deal with side channel attacks, etc).

If you don’t care about a built in MAC, would you recommend CTR? OCB?
To expand on the sibling comment by nrmitchi, in Kubernetes you don't scale your worker nodes by CPU or memory. Instead you scale your pods by CPU or memory. Running the cluster autoscaler ensures that when you run out of space to schedule a new pod new worker nodes are brought up. It also works the other way; when your nodes are being underutilized for a while, the autoscaler will kill some nodes (and the scheduler will automatically handle placing any pods on those nodes onto other nodes).
Right, but the whole reason for JS on the server was because JS had no I/O, so he could do the non-blocking thing.

JS on the server was the means, not the end.