skysight-inc/HackerNews huggingface dataset:
One thing I hate though, in a language like Java, is when I see "utility" classes with static methods which take objects as parameters, then perform some calculation based entirely on the state of the passed in object. In my opinion, if the object can reason about its own state and return an answer based on that reasoning, that method/logic should be in the object, not elsewhere.

Another one that bothers me are these transformation static methods which take type A and return type B based on nothing but the state of type A. The languages were talking about, C#/Java already provide a facility for this called a constructor.

If the development approach is going to completely remove operational methods from data types then I'd think long and hard about using a language which supports this instead of a language, like Clojure, which does not.
Because everybody does their 5cents here... not 50dollars or 5 dollars. Just THEIR 5cents
I know that calculating what day it was on a given date is a common mnemonic trick, e.g. see [1]. It's not easy to do but a person well-trained in mental arithmetic and memorisation should be able to pull it off.

I didn't know about recalling trains timetables and I can't find any pointers online. Can you point to a source explaining how it's done? I always like to impress at parties :)

Btw, the fact that Peek demonstrated common mnemonic skills that don't require unique abilities to perform casts further doubt on the fact that he had such unique abilities.

_____________

[1] https://artofmemory.com/blog/how-to-calculate-the-day-of-the...
Life Goals for Health, Wealth, Love and Meaning
On a trip to Japan last year I posed a similar question to a friend-- why restrooms so much cleaner in Japan? I'm constantly amazed at how few many in the United States don't flush the toilet in public bathrooms.

My friend concluded that much of it had to do with collectivism vs individualism. Either way I think Americans need to improve their bathroom etiquette.
Someone should point him to https://news.ycombinator.com/item?id=21228693 too.

Their ESCloud is yet another unit. :D

Also, based on the previous in incident regarding search guard copying xpack code, I am guessing that there is maybe some intent to get AWS to just buy out ES , thus carving a wonderful exit. Just thinking!
To me the whole idea of data ownership and everything this article is talking about is antithetical to some company somewhere or cloud storage. I personally collect mp3s. I could easily pay for a Spotify subscription or even have it included as part of a mobile phone contract at a discounted rate, but I prefer to have the actual files on my computer, I own them and no one can change that fact. I religiously catalogue and sort all my files and back them up to multiple external media constantly. I am currently working on a couple of projects that are all to do with organising files locally via their metadata (mp3s, JPEGs, et al). I avoid anything cloud. I am slowly but surely migrating away from the cloud.
Here's the thing,someone violating a constitutional right of a citizen does notx carry a penalty. They basically get told "don't do thid anymore" ,worst case they get a court order to cease the practice and if they don't a contempt charge.

Perhaps deliberate removal of a citizens rights should carry a criminal penalty? I mean,the highest law of the land does not carry a penalty against officials that willfully ignore it?
You might have already forgotten, america did this attack to americans. If america can do it, everyone else has been able to for years.

https://www.engadget.com/2014/05/16/nsa-bugged-cisco-routers...
Some of my FB friends are climate change denialists invoking postmodernism whenever they need to disagree with scientific consensus. People on the right also invoke postmodern ideas when they don’t want to have evolution being taught in their schools and so on.
Well Kabikucho is in Tokyo haha. It gets really bad every night and they clean it up in the mid morning. At around 7am it's shocking how dirty it is; a complete mind blower compared to how clean you get used to everything being.
I will look over this. Any idea how to render a dynamic template of the same style using the server?

I make one adobe premier video then the data in it are changed and a new video is rendered and that too I want to do server-side.
> Turns out, strangely, that it actually reduces throughput compared to just having everyone stand

Wait, what? How can this be true?

Imagine an escalator w/ both lanes filled with people just standing. Now imagine the left lane starts walking: clearly, higher throughput.

Now, maybe you're imagining a scenario where people don't want to walk. Now everyone stands on the right, and the left lane is completely empty. OK, now we've reduced throughput by half compared to "everyone standing".

So as we consider moving between the extremes of "no walkers" and "walker saturation", there will be some break-even point of throughput. And beyond that having a walking lane will be more efficient.

(Also, besides raw throughput, having a walking lane gives you a better "fastest possible traversal time", which is also valuable, for people in a hurry.)
Plex automatically backs up me entire families photos to my RAIDed server with a Backblaze off-site backup that's been tested. It's also useful for audio books, and having access to my media when I travel abroad and things like Hulu, Amazon Prime, and Netflix don't really have much available. I also have a ton of old DVDs saved on there that aren't available anymore to watch online or television.
I couldn’t read this medium article, it said that I had read too many free articles this month, but hopefully this is relevant: files “are back” in iPadOS. Most iPad apps had interoperability with data in other apps, when it made sense but now with the new File app, I am increasingly doing more on my iPad Pro. I have a GPU rig for deep learning, and use a MacBook for Lisp and Haskell hacking, but now most of my time is spent on an iPad doing research, writing, and entertainment.
> The file has been replaced with the platform, the service, the ecosystem. ... When we stop paying, we’re left with nothing. No files. The service is revoked
Osaka is not that bad. You’re gross. Where do you come from? Probably not a major metro in the U.S. ... even if so, you’re probably in suburbs
> you could do banking with a phone call

Try to do what e.g. Revolut, N26 and similar apps are offering over the phone. It would take ages. This is a really bad comparison.

Sometimes progressive improvements become a breakthrough, though I wouldn't call the invention of touch UIs a progressive improvement. It was a massive one. We take it for granted today but before the release of the first iPhone very very few people would have imagined it, let alone that it could change the world (which it did).
Free and Open Source Chess Web-Based GUI for Stockfish Chess
For the purposes of a discussion about older games not being playable on modern OSes? Yeah, maybe. In fact it could have no code changes whatsoever, but just be recompiled against newer tooling to accomplish that goal.

But I'm talking about games that are getting extensive updates through their lifecycle. It's quite possible that some of these "same" games will be playable in 50 years via slow process of incremental updates. There's no reason to suspect those are any less supporting of modern hardware & OSs than newly released games.

There's already been some unconfirmed talk of GTAV being the last ever GTA, with a hypothetical major update just being a new paid-for area that'll appear in-game one day, as opposed to being a new shrink-wrapped game under a different title like you'd get in the 90s.
I worked in a big bank in the UK using monorepo "cuz Google uses it", error number 1, your not Google.
The clones were gigantic, Jenkins would timeout cloning the whole project when all it needed was a bunch of files.
Merge conflicts all over the place, but the best part, we had scripts on our pipeline literally removing folders after cloning the repo to avoid automatic inclusions of libs etc.
In my opinion separation of boundaries is one of those things that should t be mess with.
Seems Like you have a solution for something I posted a few mins back as Ask HN: https://news.ycombinator.com/item?id=21240528

If you think your solution can work with modification and you are available for hire let me know will discuss more.
I'm using Unbound running on a dd-wrt router for a lot of this same functionality.
There are some things I don't do only because they aren't a priority for me. But I certainly got DNS over TLS and DNS blocking going.
i had a very similar experience and it is infuriating. i can’t believe nobody makes a smartphone that is just a computer. android is closer but its only a half step.
With proper error correction codes and perhaps the upfront cost of a prebuilt DAG you should only have the rework of failed nodes.
You don't have to be well versed in nuclear physics to understand the dangers of nuclear weapons.
Rule #1: Don't.

> There are many, many file formats...

And one or more of them almost certainly fits the bill. It's 2019, "someone else has had this problem."

"Some words of advice on language design" comment on LtU by Frank Atanassow was mentioned yesterday in re: pg's Bel. http://lambda-the-ultimate.org/node/687#comment-18074

Everything in it applies to file formats as well, I think, eh?

(If you must make a new format specify a grammar and make it simple. https://en.wikipedia.org/wiki/Chomsky_hierarchy )
What’s terrifying about it? That it shatters your previous understanding of the industry or that it implies some medical dystopia?

Would you prefer to instead called it a terrifyingly rational view?
apple is built on free and open tools, and you can’t make free and open tools on apple products. it is a sad state of affairs.
The projects that worked best for me at 60% were those that involved lots of independent work. I'd find something big that the team needed doing, that was important but not urgent--the kind of stuff that always gets put off until too late. Then I'd go off for a few months and come back with a prototype for approval. When it got through review, I'd go off again and make it solid, write all the tests, develop a staging strategy to get the parts in, etc. Once it was in, I'd find another project. I did a couple of really big things that each took 10-18 months that way.

The minuses of part-time work are pretty obvious: you have fewer work hours per week, but the same amount of overhead; you're harder to reach, since you've effectively got longer weekends; people aren't really sure if you're committed to the project or just slacking off.

However there are also pluses. The biggest one is that you have more mulling-problems-over-in-the-shower hours per work hour, which can make your work hours a lot more productive. A similar one is that if you're ever waiting on back-and-forth with other folks for information, approval, code reviews, etc., you get more hours of those per work hour as well. Another is that you take far fewer vacation and sick days. When my usual schedule was M-W, if I or a child was sick on a Monday, I'd just work Thursday to make it up. And I never needed a vacation day to take a long weekend, get shopping done during working hours, go to the doctor, or anything like that.

Communication with your coworkers is key, so that they know what to expect from you. And be sure to work within your company's culture. If you'd answer an email on the weekend, then you should on your day off. But it goes both ways: they shouldn't regularly ask you to come in on a day off if they're not asking others to come in on the weekend.
It’s always been pretty easy to read pirated ebooks on the iPad.
As someone who lives in an apartment building close to several bars, a simple white noise app did wonders for my sleep. I just leave it on a mix of sounds I find soothing, and it hides most of the noise that would keep me awake.
I don't understand how people can get work done in the post-file world. Any project I've got that's more complicated than a todo list has text files, images, code, links to websites, emails, and typeset documents. The only thing that holds all that stuff, organizes it into folders, lets me edit/run it, and makes the content searchable is a filesystem. Maybe my standards for usability are too high.
Back in the days before fire, before USB, and before the Internet, UARTs were everything. One couldn't call oneself an engineer until one had programmed a UART. You kids with your USB have it easy these days.
I wonder how many greedy holdouts will emerge? Faced with greedy holdouts Musk may say fuckit and move on rather than be held up at gunpoint - as it were.
Sounds great for the arxiv!

In fact, I would treat the retracted papers more like a data set than things to be cited. Then you get a nice paper with counts and statements about common themes, and references on those themes. Then post the dataset as supplementary material available on the arxiv.
Nothing right now, but I am looking at spinning my own stack back up either "on-prem" (aka at home), and/or in some bare-metal hosting provider.

Relying on streaming providers, cloud email services, etc., has left me in a very foul mood lately and I feel like I need to take back control. My biggest trigger was when I purchased an actual physical audio CD (this year; because NONE of the popular streaming providers offer the album), ripped it to FLAC, and then realized I had no reliable/convenient way to expose this to my personal devices. I used to have a very elaborate setup with subsonic doing music hosting duty, and all of my personal devices were looped in on it. This was vastly superior to Spotify, et. al., but the time it takes to maintain the collection and services was perceived to be not worth it. From where I am sitting now, its looking like its worth it again.

How long until media we used to enjoy is squeezed completely out of existence because a handful of incumbent providers feel its no longer "appropriate" for whatever money-grabbing reasons?
I was cycling in Japan for about 2 weeks, just a few weeks ago. I was also impressed in most places by how clean it was, not only in the cities, but more generally speaking about everywhere.

At some point though, I was cycling along the coast of Mie then Wakayama prefectures, and although the scenery and roads were clean, I had a glance just behind the ramp walk, and realized that behind the trees, in the bush next to the road were hundreds of garbage bags, litter of all sort, really anything, just lying below. There was such a contrast from what my eyes were seeing until, I was shocked.

In another town several kilometres after (I forgot which place exactly, must have been while cycling up towards Wakayama city), I passed next to a big commercial area on my right. On my left there was a small patch of forest then the sea and again, that forest contained many many plastic bags, full but neatly tied up, every couple of meters or so, for several hundreds of meters.

I originally thought the first thrashes I saw along the road in the country side where "mistakes", like things flying off the window or pushed by the wind from another place (although there was a lot of garbage anyway). But when I saw these tied up plastic bags, they weren't there by chance, really people throw these bags away on the forest right here. That made me a bit sad, especially since it broke the original image I got.

(And I haven't spoke about the beaches and seafront all along that peninsula; I wouldn't walk bare foot there).

Then I came home in Switzerland, looked up the small water stream close to my place, and realized it wasn't as neat as one can see at first glance... So I should probably start with that before criticising other countries sigh
Like the buddy part. I can contribute to the list.
> Why should I build a model specifically for this one context of usage and have the properties tightly-coupled to their mutators, when I can completely decouple these things and have the models operate with any arbitrary state mutators?

Because otherwise, your domain model is not able to express which states are valid. A core idea behind encapsulation is that by controlling state mutations, it is possible to enforce invariants, thereby making invalid states impossible to construct. This idea is not unique to object orientation; for instance, in the static functional programming community, this is known as "making illegal state unrepresentable" [1].

By creating a "dumb" domain model and allowing business rule modules to do arbitrary mutations, each model is required to know about and enforce the domain model’s invariants itself, which dramatically increases the amount of code that potentially can break these invariants, and thus needs to be debugged if something goes wrong.

> Taking this a step further, you can have a business model project (class library/Nuget) that is shared across multiple projects within an organization.

This can work in some situations, but there are good reasons not to do this. Different teams may have differing and sometimes conflicting meanings for some of the terms of the domain (especially for generic concepts such as "user") as well as different data needs depending on the use case. This is why for instance Eric Evans’ "Domain-Driven Design" [2] argues for limiting domain model unification to "bounded contexts" [3] of which there may be multiple in the organization, and have explicit translation ("anti-corruption“) layers between the boundaries of these contexts.

[1]: https://fsharpforfunandprofit.com/posts/designing-with-types...

[2]: https://www.goodreads.com/book/show/179133.Domain_Driven_Des...

[3]: https://www.martinfowler.com/bliki/BoundedContext.html
From financial crisis to inequality – how economists got it wrong
You can very easily use your iPad as a reader for arbitrarily downloaded ebooks. Go to Gutenberg or Archive.org or the pirate site of your choice. Select a book. Select the format. Epubs and PDFs have the option of being sent to iBooks. Mobi can be opened with a compatible reader app if you have one installed. And the file can be saved to Dropbox or whatever file service you have installed. With the latest version of iOS (IpadOS) you can save to your Downloads folder or even to a connected storage device, or to a file share on your local network. You can also load books via Dropbox, local network, or connected storage.

I do this all the time. For me, it's convenient to use Dropbox as the intermediary, but there's plenty of other ways too.
Why Apple Killed the MacBook Pro
We're very close with both the Librem 5 and PinePhone in their final development stages. They run actually Linux, and the PinePhone is only $150.
Absolutely, the last thing you want is your technogamekeeper suffering a suffocating malaise. :)

That, and perhaps their street cred as O.G. Hacker. A distant second.
What is a Senior Programmer really? I wish I had known this when I was Junior
By writing and speaking
The same is true for Blackjack. The house has a 0.5% edge if played properly, so as long as you're not making bets that are most of your capital, it'll take a long time to go bankrupt.

Meanwhile, trading stocks on margin...
Analyzing Keyboard Firmware Part 2
How we treat the dead has a profound effect on those that are still living.

If we just ground up your loved ones on death and turned them into fertilizer or corn feed for cows you might have a very dim view about life.

Funerals aren’t for the dead, they are for the living.
Image output destination is configurable on Mac. Cmd + Shift + 5, then it's under options in the bar. I don't recall all the options but it's at least file/clipboard.
What did you want to create with it, that you couldn't?

My parents went from "scared of computers" to "ipad" pros, because it's really hard to break or get hacked, it doesn't get viruses they know how to force quit an app.

I'm scared of iPad getting files now, because it's going to be a mess for me.
Show me what you have built
Files will never go "extinct". Files exist. They will continue to exist. You people are insane.
Aren't violators caned as well? Singapore was awesome when I visited. Incredibly clean. Even lower class areas like around Orchard Towers (four floors of _____) was well above board compared to a clean US City.
In a few words: Fuck them.
My first workstation was a Sun SPARC, the first UNIX I worked with was SunOS (later Solaris) and I still have a lot of memorabilia. Great respect for what Sun has done/offered to the computing field.
Perhaps that's the case in USA and a few other countries.

But AFAIK on some countries of EU and Brazil, receiving organs is either free or inexpensive.
I am in a restaurant now, a midsize place doing brunch, and my Apple Watch is recording 80 decibels. It would be louder if I were at a table but I’m off to the side at the bar.

I enjoyed this article, albeit it’s from 2012: “Working or Playing Indoors, New Yorkers Face an Unabated Roar” (https://www.nytimes.com/2012/07/20/nyregion/in-new-york-city...)

For more reading, there are articles for various cities linked at the bottom of this NIH page:

https://www.noisyplanet.nidcd.nih.gov/have-you-heard/noise-l...
webRequest API
Well maybe it's an exception, but they have technical reasons mostly.
Webrequest v3 is not stable so wait and see.

Chrome is the redundant browser. Firefox was here first.
Well Chrome is based on khtml which is not that new but yeah Netscape navigator precede it.
Indeed it would have been better if chrome was based on gecko (FF) at the time.
But now Firefox can be thought of the redundant browser because of both marketshare and being technically an inferior product on most metrics.

If mozilla worked on improving chromium, think of the massive progress it would bring to the World!
Website would have no limits on what is possible to create. Everything would be fast, etc.
> It will depend on the consent of the Beneficiary whether to turn back the Funds to the Originator.

SCT Inst Scheme Rulebook § 4.3.2.3 [0].

Of course, if you are talking about fraud, yes: banks may answer positively to a recall, without contacting the beneficiary, when the beneficiary is a fraudster. Indeed, local laws often require that of banks, and therefore the standards define a dedicated protocol for that.

When you break the law, many legal protections no longer apply.

[0]: https://www.europeanpaymentscouncil.eu/sites/default/files/k...
You're seriously exaggerating. In the past, almost everyone had a CD-burner. You could use just a couple of clear as day GUI programs, a dozen of clicks and one drag and drop to download an album and burn a CD. Eleven year olds were doing it no problem.
“Where can I get a hire car? Self-drive.”

“No self-drive. Only taxis.”

— The Prisoner, 1967
Six years ago it was possible to use Dropbox as the files intermediary. With the current version (13) of iOS, there's a fairly direct access to files. There's a files explorer with support for connections to network shares & external drives. Apple is less interested in abstracting them away as they used to be.
Having lived in 세종시, and Seoul, I strongly disagree with your statement.

Sejong is a brand new city, made in 2014, yet there was litter everywhere, especially right near bus stops. I distinctly recall seeing empty coffee cups tossed in the planters/hedges nearby.

There were almost zero trash cans so what do you expect. The bathrooms didn’t have tissue or anything either, you had to go to one of the nearby stores or cafes and get some.

Seoul has plenty of dirty areas just like any other enormous city.

People litter everywhere. Some Japanese people may be more conscious about not littering, but so are some Americans! This article reeks of orientalism.