skysight-inc/HackerNews huggingface dataset:
Could you do the following in TypeScript?

Can you, for any button in your interface, at any point in time, reliably calculate at runtime what your page's data model would look like, and if there were going to be any side effects, if you were to click on that button - but without clicking on it or invoking its callbacks (which could potentially change all kinds of things)? You can do that with Elm (more info here - https://lukeplant.me.uk/blog/posts/two-experiences-with-elm/ ), due to The Elm Architecture and everything being immutable.

(In theory you could do this in TypeScript, but it would be a lot of work and its reliability would depend on everyone coding everything a certain, very unnatural way, with no help from the compiler).

I'm using Elm in production, version 0.18, it is an extremely robust way to make front end code. You just don't have runtime issues.

However, like IBM folks (mentioned in another reply) who said in the their post they didn't know how they would upgrade to 0.19, I also don't know how I will be able to upgrade. Specifically, 0.19 adds some cripple-ware restrictions (you can't use native modules unless you are contributing to certain projects). So, if you want to use something like Intl - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... - not only is there no wrapper provided, the restrictions in 0.19 attempt to stop you from writing your own wrapper. Only the core team can do it, which requires them having both the expertise and motivation to do so. Plus Elm has essentially a closed-source development process. In fact, there is no 'process' for contributing, and the fact that there is no process is deliberate, as far as I can tell.

So for me, if I can't find a way around the restrictions, they may kill my ability to being able to keep my code nicely architectured (i.e. using The Elm Architecture). I may be forced to switch to something like ReasonML with bucklescript-tea - https://github.com/OvermindDL1/bucklescript-tea
for super small kit helicopters of today, with typical combustion engine, see: http://www.mosquito-helicopter.info/Mosquito_Options_Air.htm...
Writh's Law: Software gets slower more rapidly than hardware becomes faster.[1]

[1] https://en.wikipedia.org/wiki/Wirth%27s_law
MS resources and focus are now on VS Code. Which is a shame because I'm sure the market for companies that pay VS Pro/Enterprise + Resharper is not small
Build React App Faster by Writing Your Own Higher-Order Components
I had the same problem with time-traveling in react/redux. Everything has to be in the store for it to work, and since it's hard to make reusable components using the store, some things often end up outside. Then time-traveling becomes buggy. But since it's impossible with side-effects in elm, you can always trust it there. I use it pretty often to jump between states. The UI is not as good as redux-devtools and as feature-rich, though, that part I miss.
And whatever you choose, TEST YOUR BACKUPS. Spin up a new instance and practice recovery. This needs to be done at least quarterly, both to test your backups and train yourself and/or your people in this process.
I have not researched the market, but I have thought about it quite a bit. I think there is one main advantage that is trust.

Say we want to build a decentralized Google so that noone could own people's personal data and yet we train data-hungry AI for search, face recognition, ad recommendation etc.

I have thought about this idea quite a bit, but the current level of hardware (and software) is not enough yet.
I was saying this to someone just a few days ago. And, if I might add, many of the films from Netflix and Amazon are way better.
Why is running on the cloud something that needs to be confronted at the language level?
Will look into it! Thanks!
My old English teacher used to quip that the better the book smells, the worse the book is. I imagine that much of the old book smell (at least in a school library) comes from the many fingers that have thumbed through the book. Then again, old books in pristine condition still exude the “old book smell” (I got a 1970s-era book on compilers from the library for free in perfect condition that still smells “old”).

I’m impressed that they were able to figure out specific compounds. How would you even get started figuring out which compounds are coming from a book?
In general, for processes running as the same user on traditional desktop / server OSes (Windows, Mac, UNIX), it is. On mobile it's not because they had no backwards compatibility to care about (specifically, iOS applies heavy sandboxing to apps and Android runs them as different Linux user IDs). And desktop app stores are moving towards the same model. On Linux, SELinux/AppArmor/etc. might also prevent this depending on config.

More fundamentally, an unsandboxed process can do things like set environment variables, update config files, modify applications installed into the user's home directory, read your browser cookies, etc. as a consequence of traditional desktop apps having unrestricted access to the user's home directory, so preventing reading memory doesn't really prevent one app from attacking another.
I recently bought an Orange Pi 3 which is roughly similar to Pine H64. Easy enough to setup and runs Pi Hole and Kodi just fine, unfortunately no way to run RetroPie at the moment.

These boards are kind of hamstrung by lack of Mali support from what I can tell. If you want a cheap single use server board they are great but they don’t compare to Raspberry Pi’s community and support ecosystem.
Do you consider physical books and e-books to be different as well?
Or road wear on a guitar:

https://www.pinterest.com/sarnoldmusic/anatomy-of-a-road-wor...
And7hisIsWhyYouUse4PassLikeThis123.
The army doesn't use poisons (chemical weapons) because they are so effective, and so horrible, that their use is unthinkable.

Remember the outrage when Syria did use poison?
Alcohol is involved in 40% of violent crime in the US.

https://www.alcoholrehabguide.org/alcohol/crimes/
How did they confirm such findings? I guess DNA can't survive for so long. Did they deduct this from shape?
For what it's worth, there is also a Sinitic language fairly close to Mandarin that's written in Cyrillic characters, Dungan (which, incidentally, sort of refutes the notion that one can only write Chinese languages with Chinese characters).

https://en.wikipedia.org/wiki/Dungan_language

http://languagelog.ldc.upenn.edu/nll/?p=4578
You can think of each root-level branch of the state tree as its own "model". In redux (I haven't used elm much) I implement generic components by finding a property that can be used to derive a unique key and creating an entry for each component in the reducer.
The Rise and Fall of DVD Encryption [PDF]
I used German translations for a long time, but eventually switched to LC_MESSAGES=C because it makes it easier to report UI bugs. It just removes the guesswork of "what is this menu item named in English?".

Also, with LC_MESSAGES=C set, I can blacklist /usr/share/locale/*/LC_MESSAGES/ in my package manager and save half a gigabyte or so.
Here is the actual paper: https://math.berkeley.edu/~ehallman/math1B/TaisMethod.pdf

It even thanks a Professor of Electrical Engineering for his expert review.
Hi Ben,

Do you accept remote engineers as well?
Facebook still operates as a business in the EU and can therefore be fined there. As a similar example, Google was fined €50 million earlier this year as a result of a GDPR violation.
I Built Medium Plus
Does this apply to files on an HD or SDD as well or is this specific to mounted images only?

(Meaning, is this about CoW in general or about memory management related to mounted images?)
Very good list, although I'd disagree about pay. I'd add:

+ it's one of the easier routes to becoming a literal expert in how to deploy the software.
All I see is "Loading ..." and when looking at the console I see things like "Content Security Policy: The page’s settings blocked the loading of a resource at https://easyprog.online/games/easyw.js (“worker-src”).".
Thank you for pointing that out. When you press Enter, everything is parsed, including the current line. The current line will only be accepted if it is syntactically correct. Normally this works quite well, but for beginners this can be a real problem. With "Ctrl-R" you can see the error. I need to think about how to improve this.
AI is about scale. You can achieve similar terrible results by using, say, Mechanical Turk system with additional error checks. That scales too.

The other thing AI is about is cost and perhaps secrecy. Turk system requires many people who need to be fed, that puts a pretty high low bar on price. It also requires disseminating data to many agents, each of whom could leak it.

Being more accessible means more Bad Guys (unethical actors) using it.
Might it be possible to compromise your account by getting control of that phone number?
I did try "momentum" as a new tab for a while, but I've always found these kinds of things distracting - when you hit ctrl+T I'm not (and I suspect most are not) looking for inspiration, but I'm looking to find something. Maybe I'm alone in this view?

If anything, I'd be tempted to make a completely blank new tab page - for me that would avoid the normal routine of seeing all my favourite favicons
I've been keeping an eye on this for over 10 years, I still hope for the day I can use it instead of installing a bloated Windows VM that takes up gigs of RAM just to be idle. But also licensing is the other drawback to Windows VMs constantly needing to relicense.
Your thought experiment is, I believe, invalid.

The bank does not hand around five dollar bills. The bank simply changes a number, and in doing so changes the contents of an account, increasing it by five dollars. Five dollars that can now be spent.

I would argue that this five dollars has effectively been printed. It was magiced out of thin air. How is it not five dollars? I can spend it.

I believe your thought experiment should be worded thus:

Have a friend write "ten dollars" on a piece of paper (bank account), and give it to you. Everyone will accept this as ten dollars. Write "five dollars" on another piece of paper (bank account), and give it to another friend. Everyone will accept this as five dollars. All the other pieces of paper (bank accounts) that existed beforehand still exist. You now also have two new pieces of paper, which will be accepted as fifteen dollars. Fifteen dollars, magiced out of nowhere. This is how the banks do it; they just write on the bank account how much money is in it.
I feel like Rust has shown that mutability is ok, as long as you don't have both mutability and aliasing. Having a mutable object accessible from many places at the same time definitely is a recipe for bugs.
Cloud Is Not Cheap
Workpath | Senior Frontend Developer | Munich | Full-Time, Onsite

We are looking for our first dedicated Frontend Developer at Workpath in Munich. See more details here: https://www.workpath.com/job-post-frontend-dev/ I'm happy to answer any questions :)
What about ajax requests though? What if you are debugging a component that sends a DELETE request?
I'm considering ordering the pinebook as a replacement for my rMBP too.

For me, CPU power and RAM are not that important, I don't need MacOS (any unix system will do for me) and I don't play games (or at least none that would require a powerful GPU).

The pinebook offers 4k60 over USB-C (my MPB only does 4k30 over hdmi, and the mDP ports on the early rMBP have a design flaw that makes them unusable for 4k monitors). The 10Ah battery in combination with the low-power hardware should give very good battery life.

What I'm looking for in a laptop is a metal case, decent keyboard and upgradability. The pinebook seems to offer just that. At a low enough pricepoint not to be disappointed if it has some flaws. (Any flaw on a 3000 euro macbook would make me mad, and it has many).
There's multiple disclaimer-style notices that the author is a comedian - is this real or satire? It's fairly substanceless either way but it would be at least sort of funny if it were real, in a dark sort of way.
Not everything on TV is and episodic show. There is an Emmy for Television Movie so there is as least some recognition out there that there is a difference between movies made for TV and movies made for Cinema. (Although this year the best Television Movie award did go to an episode of a TV show, so I'll admit it is rather muddled).
No it isn't: https://blog.cloudflare.com/validating-leaked-passwords-with...
Surely it's inconceivable that you were downvoted because people thought the comment was bad?
You'll probably want to watch Richard Feldman's [Scaling Elm Apps](https://www.youtube.com/watch?v=DoA4Txr4GUs). I built [Component Result](https://package.elm-lang.org/packages/z5h/component-result/l...) to help with a pattern that occurs when scaling up apps. I'm not clear what you mean by or expect to be problematic with by cross-cutting concerns. Feel free to ping me, z5h, on the Elm slack.
You bring up an interesting point.

What makes a movie a movie? Does it matter where a movie is watched? Most movies are watched on monitors/tv. If I watch Infinity War on netflix, is it not a movie? If my local theater runs a weeklong viewing of Seinfeld or Friends, does it make Seinfeld or Friends a movie?

To me it is clear that Roma, Annihilation, Birdbox, etc are movies whether they run in the theaters or not.

This seems like Spielberg is using his influence to help the old hollywood studio system maintain it's monopoly on movies and especially the major advertising day known as the Oscars.
At Amazon, our team did a day of shadowing tech support calls and it was extremely illuminating. You think you've designed your product to work a certain way, but your message may not be communicated very well to your customers. If it's possible, I would try to get on a support call or support a customer to gain that empathy to really understand what challenges people using your products are having.
I'd add a 'next' button that cycles through them (in addition to a random starting point or button). Now I have to read them over and over just to see if there might be a new one.
W3C approves WebAuthn as the web standard for password-free logins
https://www.kartastudio.nl/

My company's new website: We make interactive data visualization for the web. Karta is a data design studio from Utrecht and makes data understandable for everyone.
If you really really really can’t live without a statefull component, you can always build a custom element (which can be a wrapper around an elm app). But reusable views with fairly complex state are used; they require a little bit of wiring up, but it means you know exactly where to look when there’s a big/problem.
They might get around this by not doing it with numbers provided after the GDPR penalties came into effect.
Niõ is a privacy management toolbox, to be used as a GDPR compliance service
Spielberg is arguing that movies distributed on streaming platforms are seen on TVs and should be eligible for emmys just like made for TV movies are.
On the other hand it's very useful for software libraries to detect breaking change. Lately I've found that node 8.14 added header size restriction that produce bugs, where it would've been easier if they just push to v10 instead.

However talking about kernel maybe it isn't that much needed unless significant feature and breaking changes introduced.
Well technically, when you can just read the source, it's not called "Open Source", but rather "Shared Source".
Old man yells at cloud.

By the way Hollywood almost died before when TV happened in the 60s and they survived that.
This is a good bit for ergonomics to figure out how to better improve the arcade experience in cabinet design.
It's used in two applications at CityBase.
Given that I didn't write any of it, I can't answer the deeply nested component question.
Our experience: It works well. However, we will probably stick with React or something else going forward.
I see you've now updated the post and got the idea. Small nitpick tho'.

> When the right side of the pipe ends, the shell kills the left side.

That's technically incorrect. The shell sends SIGPIPE to the subshell. SIGPIPE can be trapped/ignored (man trap) and although the default disposition is to kill the process that receives the signal, this might not be always true.

For instance, what do you suppose would happen with this:

(x=42; echo $x 1>&2 ) | echo blue

versus:

(trap '' PIPE; x=42; echo $x 1>&2 ) | echo blue

in a loop ?
The statement about Go using global dependencies being the standard is just someone’s opinion on the Go team. I’ve written Go for a few years now and never once shared a dep across projects. Create a new folder, set your GOPATH (use direnv) and pull your deps. I very much doubt they’ll be more productive in rust vs Go had they actually given Go a chance.
Illinois institute of technology's main building (mtcc) was designed based on that: they tracked people as they crossed over the large lawn (park?) to get to classses and such, and then built the building so as to preserve those paths
And another version that does not work out of the box for me... awesome. Need to wait till 6.0 to use this one.
Whether the quote is by Buffet or not, I really wish I could be so "idiotic" as to get paid tens of millions of dollars a year as a CEO.

Just one year would be enough, actually.
Out of all possible choices, you can be sure FB will choose the worst one.

I was a user since 2004, deleted last year, and never looked back.
Bad rquest
It doesn't end up spamming requests the same way as in react, as there is no "componentDidMount" that can trigger side-effects. In elm it's just different states being rendered.
Lessons Learned from a Legacy Serverless App
That, actually, is a bigger problem. Some people are using things not for the benefit of the thing they're building, but for their own (AKA resumes).
Public libraries in the United States are free.

They are generally supported by local taxes, sometimes with added support from benefactors, fundraising events, or some optional paid services.
interesting ! Would you answer those support tickets as a CTO (I mean, with the title in the signature) or as a random support agent ?

question also works for PMs / devs / co-founders / ...
This post might as well have been written by a third party to discredit facebook.

To summarize:

1) "As long as there's someone worse we don't have to worry"

2) "working for Facebook feels like you are dealing with making profit, pleasing management, pleasing partners, progressing your career and going home early at the same time — and the public only seems to care about privacy violations."
Using Elm for an admin interface (not web-facing).

Elm is incredibly reliable (that's why we experimented with it in the first place) as well as very productive once you get used to the Functional paradigm.

Refactoring especially is a breathe (as long as it compiles, it usually works) and we didn't need to test the frontend for it to stay sane.

We even started covering more and more of our admin's old views with it and are on our way towards an SPA.
The Best Content Management System for your Static Site
Password changes, mouse cables pulled out, icons disappearing from the desktop after windows update and other stuff like that.
"Hacking" in my mind means making something do something it wasn't intended to do. I think that fits here.

I stil approve of the new title, though. Please remove as much clickbaity bullshit from titles as possible.
Using statistics and efficiency measures alone is enough to derive this conclusion. (Albeit it might derive that having almost any BAC is bad, error rate of sensors notwithstanding.) Utilitarian not deontological but result is the same.
Yes, PivotHelper is an integration of these components (as mentioned in the project's README file):

* PivotTable.js

* PrimeNG TurboTable (for filtering)

* SheetJS (for importing not just CSV files but Excel files, too, as well as exporting the filtered results to an Excel file again)

SeekTable looks interesting. Thanks for the link.
I think most people consider google more prestigious. While they'll try to convince you otherwise, it's mostly because google pays better.
I don't think anyone is questioning what is a movie. Spielberg points out that this question is not controversial when it comes to made for TV movies. They are not eligible for oscars but rather emmys. He is arguing that streaming movies are made for the small screen and should qualify for emmys the same as made for TV movies.
ZenDesk and other help-desk software have to be the highest reward-to-effort SaaS startups ever built (from a founders point of view).

Simple CRUDs with non-complex infrastructure... that cost a boatload per client.
> How would you even get started figuring out which compounds are coming from a book?

I'm not a chemist, and this is just a guess, but perhaps by placing the book in a vacuum, waiting for it to outgas a bit, then analyzing the resulting "air".
HN - Continually posts how screen time is damaging.

Spielberg - You must leave the house to initially see a movie for it to be eligible for an Oscar.

= Outrage.
> No answer - just wanted to because he could put it on his resume.

Is it his fault that the incentives are borked?
> if convenience trumps cost. (Have they stopped using Facebook and Google?)

Both of those are so persistent because they are "free at the point of use". This also means they're free of the thought burden of financial decision-making.

My opinion is that the limiting factor isn't so much time per se as "executive function" - how much decision making does someone have to do, and how wary they have to be during the process. And as per the German discussion elsewhere in the thread, how much autonomy is it appropriate to take away from the consumer in financial transactions.

So, not so much "autonomous buying system locked to dominant retailer" as "self-updating shopping list and inventory". For the majority of people who still buy groceries at retail for near future consumption who are standing in the milk aisle trying to remember whether they have enough in the fridge already. I suspect that much of the HN commentariat is too well off to worry about milk prices, but that's unusual.

Of course, the problem with making a product that's very useful at saving money for people who don't have enough is that they can't pay a lot for it.
Plug: I created EteSync a secure, end-to-end encrypted, and privacy respecting sync for your contacts, calendars and tasks. https://www.etesync.com

Relevant for people interested in removing Google from their lives.
Not if we can get everybody to vote them out. We need more public attention for this. There are plenty of people who will be hurt by this who blindly vote for the parties that support this.
There are better ways to understanding your customer than encouraging your entire team to give attention to inbound support.
A Short History of Tesla Critics’ Claims
Wirth's law in action.
Counterpoint, maybe only films should be eligible for Oscars, as Oscars are for "film makers". Digital cameras would not qualify, right?

Seriously, there was a huge gulf in quality when the best home TV was 19" NTSC 4/3. Nowadays, my picture quality exceeds that of most movie screens (except for imax). I don't see any reason to differentiate.
Truth Table Generator WebApp Written in Common Lisp