skysight-inc/HackerNews huggingface dataset:
My house built in around 1880 still has lath and plaster ceilings (wooden battens with plaster applied over the top of it). The lath is made from riven oak because it needs the strength at quite small dimensions.
Unpaywall: an open database of scholarly articles
Ask HN: Open source code with creative use of design patterns
What are the open source projects where you were impressed with the use of a design pattern to solve a design problem in code? Please list technology, framework, OS, any libraries used and what impressed you the most.
The point is not whether it is correct and necessary, but that its existence makes the argument that it is indeed so. What you mention is actually the insight that "it may not be". But you reach that idea _against_ the argument its presence is making.

That is, you find some code. Its presence says "I'm here for a reason", your answer of "maybe it's just because..." comes as, precisely, an _answer_ to that argument.

Neither the argument itself nor your answer are necessarily and always correct. This doesn't argue that point, just that the presence of a piece of code makes such an statement.
In case of Formula 1 racing rules exists to force more innovation.

For example, the trend of the past few years is to limit engine capacity and reduce fuel consumption. So the rules say your engine must go down from 3 liters to 2.4 liters capacity and now it's your job as an engineer to maintain the same horsepower (of roughly 800 hp) at that lower capacity.

Actually, changing those rules every year puts teams with lower budget at disadvantage: they are basically limited to buying engines from richer teams, because they wouldn't be able to keep up with all those rule changes on their own.
While most are lucky to find a job they love by accident, the rest of them finds it by being privileged and being able to keep looking until they find it.
> It's also used today by "green woodworkers" - woodworkers who specialize in building using non-dried wood.

What's the advantage of that technique?
Mostly front-end:

https://github.com/HugoDaniel/gridgenerator

But the video producer/converter is also in TS (in that same repo). It produces your making-of videos like these:

https://gridgenerator.com/static/37.mp4
Dumb question: why does K8s use a centralized architecture like Borg, if the perf gains from an Omega-style shared-state scheduler decentralization (and maybe a Mesos-style two-level scheduler for batch with multiple frameworks) were already known, and Omega was already being folded back into Borg?

Is this related to (I'm assuming) the fact that K8s was originally architected "mostly" with service rather than batch in mind, and a monolithic scheduler was "good enough"?'

(Disclaimer: I haven't really followed K8s stuff in the last few months. How is multi-scheduler support for K8s nowadays, anyways?)
For the most part you are describing things that are a symptom of depression themselves.

It is a vicious circle alright, but the "it's your own fault just make your life better" approach is exactly what depressed people worry about constantly, and downright cynical in my opinion.
Has anyone done comparison of iPhone X’s PWM OLED vs iPhone 8/7’s non-PWM LCD?

I’ve found the screen on my 2016 MacBook Pro to be uncomfortable(eye strain) for reading despite its resolution and wide colour gamut compared to other screen.
I suspect it’s due to the use of the PWM.
> Really? What makes 40 hours the magic number?

I think that's the question that TFA, and parent, and a lot of other people in between, are asking.

The answer tends to be 'because that's how it's been for a while'. Or, if you like, it's what mum and dad taught us, and various governments & employers advocate.

Parent was suggesting this is an unnaturally high number, but you're right that coming up with a replacement number - if indeed that's the best approach - is not as straightforward as just picking another one and making forcing everyone else to agree with it.

> How many hours of work is required depends on the job.

...

> How the heck do you know what is required by every single job?

I think this is a dangerous, though obviously prevalent, way of thinking. That every job currently requires ~40 hours a week to perform is, objectively, a ludicrous claim to make.

It suggests a massively tightly coupled relationship between scheduling, specific personnel, and output.

I'd suggest that's a fallacy because western societies have typically settled upon ~38hr of 'being at work' per week ... and apologists try to work backwards from that number on the assumption it's normal / sensible / just right / tenable forever.
You're choosing to comment on HN, and compared to many forums, it has rather heavy handed restrictions on what's acceptable. That's something I (and presumably others) find appealing much of the time. Doesn't mean it's perfect, but that doesn't mean what it needs is more laissez faire.

The thing I don't like about Facebook is not that it may restrict people acting badly, but that it shows you all the worst posts of people you know, in order to create engagement. What I would like is for all non-objectionable posts from my friends to appear in chronological order. Facebook's algorithms seem to have an emergent behavior in which they synthesize a toxic persona by selecting the posts which get the most reaction from everything a friend posts. Except when you go to a friend's page to see everything they posted recently, you get a very distorted view on your own feed. I don't think Facebook has come to terms with the monster they've created.
Most bollywood fare needs to cater to the masses (a large chunk of whom are semi-literate) in order to make money. Netflix's audience is by nature literate and middle-class with a decent internet connection at home. They can happily switch between Hindi, English and don't mind reading subtitles for Marathi if they don't already speak it.

Kudos to them for recognizing this market at the very least and attempting a show like this. I binged watched the show in 3 days and while it was interesting and wildy different from normal bollywood fare, I did not find it ultra amazing or anything compared to, say AGOT for example.
"Algorithms + Data Structures = Programs" is a classic book by Niklaus Wirth.

It was one of the first to emphasis data structures in addition to code.

There is a free pdf online[0] discussed on HN in 2010.[1]

(from wikipedia) "The Turbo Pascal compiler written by Anders Hejlsberg was largely inspired by the "Tiny Pascal" compiler in Niklaus Wirth's book."[2]

[0] http://www.ethoberon.ethz.ch/books.html

[1] https://news.ycombinator.com/item?id=1921125

[2] https://en.wikipedia.org/wiki/Algorithms_%2B_Data_Structures...
Scaling requires attention, but not more or less than any other stack. Zeit’s now enables on demand horizontal scaling and they’re relatively inexpensive. Meteor, for whatever reason, got a bad reputation for scaling, but Josh Owens wrote up a guide in 2014: http://joshowens.me/how-to-scale-a-meteor-js-app/

I’ve never experienced any website that responds faster than one built with meteor post 1.7 in an updated browser. Lightning fast

Apollo can also be used with graphQL, but I’m happy with the results using mongo and DDP out of the box with one simple command meteor create Deploying to now is also a one liner thanks to meteor now
To you, the word ‘regret’ is still an abstract concept. If you don’t figure out that there are things in life you love more than work, you’ll learn about regret first hand.

Thinking about a spouse? Kids? Hell, friends? A dog? See how much they appreciate how inconsequential your choosing work instead of them is.

What are you here on earth to do?

John Calvin is dead and gone. So is the Bushido Code. Nobody is waiting around handing out big rewards for your personal sacrifice. And it is a sacrifice. What are you getting for it? Not what are you hoping to get, what are you actually getting? If that answer is enough for you, great, if it isn’t then you need to back up a bit. Those midlife crises can be a doozy.
one of the most intriguing/funny things about dual numbers (and dual quaternions in particular) is how they encode the derivative of the real part into the dual part, and how everything plays out nicely algebraically.

this could be a nice implementation trick for an automatic differentiation framework.
Very valid point about looking at this through audience segmentation lens.

But on that, what is true of today (Netflix catering to 'non-mass' discerning audience), may not be true tomorrow. Netflix is talking to Jio for reaching to masses [1].

Also if YouTube is any indication [2] - mobile phone and reaching to mass is the real key, which as above shows Netflix is already cognizant of.

Netflix has to and will enter 'mass' segment. And they can show 'mass' segment is not as dumb as Salman Khan, or Karan Johar thinks (which Aamir Khan productions has proven time and again that good story telling with good content cuts across audience segment).

[1] https://factordaily.com/netflix-jio-partnership-in-india/

[2] ..mobile devices contribute to 80 per cent of YouTube’s total watch time in India. That watch time is growing at a staggering 400 per cent year on year. https://www.thehindubusinessline.com/info-tech/youtube-mobil...
Zero latency communications
I hope I never again have to write a concept for the UI and validation of international addresses again...
It is not a dupe if it hasn't gotten tracktion before.

Guidlines: If a story has had significant attention in the last year or so, we kill reposts as duplicates. If not, a small number of reposts is ok.
Is there any regulations in PeerTube?
a priori knowledge of who is registered but will not vote

You can indentify large numbers of such candidates with high accuracy even without complex programming, let alone anything approaching AI, and the number of prospects can be huge in registrars which don't purge dead/moved voters. There is often an order of magnitude more unvoted ballots than the vote margin for most offices and measures.

And generally, the party central committees get both registration data and turnout data for the entire county for free.
Scientists Discover How to Keep Plasma in Fusion Reactors Stable
And it was originally developed by ThoughtWorks and looked fairly geared towards Enterprise and was not Open Source, originally. They open sourced it in early 2014 [0].

[0] https://www.gocd.org/2014/02/25/go-moving-to-open-source/
The key values of the YC software team
Admittedly JS-land has some fantastically developed and documented tooling for GraphQL. I reckon that increased adoption, however, will see equivalent efforts being made in other ecosystems.
Salary should more about how much you produce then about butt-in-office time. If working 30 hours a week makes you more productive then 60, the 60 should get less money in fair world.
> It would be prohibitively expensive for others to adopt the technology. This is why you have weight minimums for bikes

Weight minimums for bikes is for safety also, riders started using frames that were so light that a race become more of a gamble if your bike would break or not.
Would you not agree that ‘pulling together’ should be the norm for a successful society?
I agree that the high levels of stress are unhealthy however.
I use Apple Notes for this, and it is surprisingly great. Being able to drag and drop images and screenshots is great.

Having them synchronized to the phone instantly is very convenient.
As a bonus, I can add sketches when I open notes on my iPad using the Apple Pencil. It is sweeter because I can even search for a text fragment I hand-wrote in one of those sketches.

Saying all of this here because, I wish there was an open source/self-hosted alternative that did that. This website showed portable apps on all platforms, and open source, got me very excited until I realized I can't just drag and drop images into a note. Neither can I add sketches on the fly.

Sorry, I didn't mean to critique your open source effort, and sound negative. My intent is to highlight an alternative that I enjoy, and perhaps bring some ideas for discussion.
Secure setuid runners for GitLab
This Thing is creat. cons I find:

- Hmm, no shortcuts? or keyboard support in general. Press arrow down to highlight a search result fails

- bounding box for a note not needed (see onenote)

- Search the content of a note not possible?

- Too much chrome while note writing?

These are simple things to fix. Great project!
This must explain why so many broom handles are crap - they have been cut.
> - no private aircraft - what about rural doctors and farmers?

The day that a rural doctor or farmer is indicted for defrauding investors for hundreds of millions of dollars, that objection might make sense.
According to those sources, there’s a major difference between the radioactive Sulfur(from the nuclear plant) vs Sulfur dioxide(from coal plants).
Apples vs oranges.
But it's essentially risk-free. A false voter has left behind no identification, and video at the polling place is not allowed. Even if the affected genuine voter eventually casts a successful provisional ballot, the fraudulent ballot is also counted and included regardless.
You can click anywhere on a note to insert an image element, but yeah drag-and-drop would be cool.

You can quickly add a sketch by clicking on an empty note and then insert a "drawing" element. It'll also work with the Surface pens.

I really appreciate the comparison, I don't use Apple notes so it's nice to know what they offer.

Thanks for the feedback.
Also linking notes to make them relate to each other would be great. Imagine a 'police board' with visible connections instead of a whiteboard...
If you were king, there wouldn't be voting in the first place.
Maybe I'm biased coming from (North) American culture but I'm always amazed at the level of government intervention Indians tolerate. Every time I read about the regulatory landscape there it blows my mind (ie, hearing how a truck delivering something across the country needs to stop 8 times in every county they pass to make sure they have proper paperwork). It's always terribly excessive and almost illogical by design (arbitrary laws to give abitrary power to the individuals impementing it).
All these services are surprisingly expensive. I would have expected pricing to be much more reasonable.
here's a link https://www.atsdr.cdc.gov/csem/csem.asp?csem=29&po=5

cdc claims it's still in:

Automobile clutches,
Brake pads,
Corrugated sheeting,
Imported cement pipe,
Roofing materials, and
Vinyl tile [American Thoracic Society 2004].
Which should be the default, based on popular use. You can always use the command it suggests to do something different.
A great article, but maybe too much emphasis on "the impending catastrophe". Short of epidemics, fire and the like, the city is in permanent stasis: the conditions devolve to the point where there is an equilibrium with the arrivals from the country side.

It's unclear why or how could a disequilibrium form and stand in a free to travel country: as long as the metropolis offers even a modicum of economic opportunity, such as being a water seller at the intersection, that is already much better then being a subsistence farmer in an overcrowded country that experienced famine as recently as last year.

There is no catastrophe looming, just the slow grip of poverty following people around and slowly suffocating their lives, absent coordinated social organization and coherent politics to end it.
Thanks! There are some keyboard shortcuts (there's a page in the help notepad on them) but I would like to add more.

Not too sure what you mean on the bounding box thing, like the little border around elements?

If you want to dismiss the sidebar just click the little ">>" or press "f". Hiding the breadcrumbs in the focus mode is on my todo list. Thanks for the list, I genuinely appreciate it.
The article explains what is meant.

> We know that code represents effort expended, and we are very motivated to preserve the value of this effort. And, unfortunately, the sad truth is that the more complicated and incomprehensible the code, i.e. the deeper the investment in creating it, the more we feel pressure to retain it (the "sunk cost fallacy"). It's as if our unconscious tell us "Goodness, that's so confusing, it must have taken ages to get right. Surely it's really, really important. It would be a sin to let all that effort go to waste."
I wonder what the effects would be of having 4-day weeks widely implemented in society. It may just not scale.

My theory is that all perceived advantages will disappear once we all expect 3-day weekends, ie increased weekend travel lenght/ frequency or intensified efforts at our hobbies could end up draining more of our energy.

For instance a 3-day "work weekend" could make starting and running a separate company or working a 2nd job much more doable. A 4 to 3 proportion in days can easily fit a 32h + 32h double workweek in one. Once that becomes the norm, retribution economics may reflect that, in a way that one-jobers would lose buying power due to an inflated 2-job workers economy.

I feel productivity and work-life balance could be a zero-sum game.
Right. Just to add on, one reason Quaternions are still used in graphics (despite rotation matrices not suffering from gimbal lock either) is that they're easy to interpolate between, even if you have many.

If you just have two you can slerp (or not), but if you have a large number of them (weights from an animation system, for example), a basic weighted sum followed by normalizing is shockingly well behaved and extremely fast.
Absolutely. REST APIs are passive and GraphQL APIs are the vice versa, very active and progressive in nature, GraphQL also comes with a simpler model to process real time data (subscriptions). However, it is relatively hard to scale GraphQL (especially if you had Websocket based subscriptions) while REST can be backed by traditional HTTP proxy.
When I open it on linux without GPU I've got a high cpu load.
Why a notepad need so high cpu load doing nothing ?
I’d be wanting chaps at a minimum. Kickback with cuts like that must be easy to achieve.
Popular Culture and Revolutionary Theory: Understanding Punk Rock (1980)
I looked up the full text of the book, but couldn't figure out what tables mean in this context.
Is it the Snap version? I think that does some decompression on load.
3D Printed Microfluidic Probes
Segmental Additive Tissue Engineering
You are correct. They largely don't talk now.
Tips to Promote Your Business
The Roles of Serotonin in Decision-Making Under Social Group Conditions
Yeah, I mean the rectagle with shadow. Not needed.
It also feels wrong that is 'modal', you are editing or moving. I'd rather click and start writing. having to do another click for note type, when 90% of the time it's text, feels like a deal breaker.
Cue the tiny violins. You’re not a vpn? You can’t use the vpn interface.
I heard that since the future is more and more cores, instead of faster ones, functional programming is going to become increasingly necessary.
Very common among bilingual speakers.

It's called "code switching"

https://en.wikipedia.org/wiki/Code-switching

It's hilarious watching my wife's aunts talk. They grew up in Hyderabad in a Sindhi household but emigrated to UK. They effortlessly switch between Telugu, Hindi, Sindhi, and English in the same conversation.
Sure, but the structure the article is about is the tensor product of the four algebras which is an algebra with 64 real dimensions.
Anecdata: HN seems to prefer different content depending on the time of day - I tend to see more programming and software-related stuff in the late evening (PST), news in the morning/early afternoon, and general "interesting stuff" (e.g. Atlas Obscura) in the early evening.

Of course, this may well be confirmation bias, coincidence, or a matter of my browsing habits. It would be interesting to see an actual analysis of content discipline as a function of time.
They can not. As long as its on Internet. They might have to ban Netflix in India all together, If I am not mistaken.
Cloud Computing implementation tips
That article seemed to be completely bereft of any real information on the Radical new phones.
Ah, yeah. I'll have a look into that.

I really like the instant-text suggestion. I might be able to make it so when you have the "insert" menu open it'll automatically insert a markdown element if you just start typing. I'm a little busy with uni right now so I'm not sure how quickly I can get through anything, although I am open to pull requests.
"It's always terribly excessive and almost illogical by design"

Well, its a basic human emotion, greed. Never gets satisfied. However absurd it might get.
If I could do every single action without a mouse, it'd be fantastic. Navigate around notes with arrow keys.

I think you took the 'webapp' UX model a bit too far (where everything must be click, animation, multiple choice. Not even right click). Few modern web apps do these things well. One is checkvist.

Your target user likes the keyboard (coders, writers). Listen to them (us)
I was clicking around for a minute, not figuring out how to get started. You have to click "Notepads" and "New" first. I didn't see "New" because when I click a dropdown, I expect all menu items to be BELOW the initial button, so I skipped "New" and thought "Import" was the first menu-item. I must be an idiot.

Then I have to give my note a title... I don't know?? I just want to create a note, not title it... so I enter no title and press "OK" and... nothing!

So I press "New" again, enter random keystrokes as a title, and... now what? I continue pressing random buttons, now I try "+ Section" (whatever that means). I got a collapsable section and 2 new buttons. Great.

Now I press "+ Note" and I finally get a "Hey, you can do stuff now!" message.

Is it so hard to just initially create a note without having to create a "Notepad" and a "Section" first? And you have to name both things before you can do anything.

So I insert a text with markdown, enter some random text... now I want to save it. I see a big huge blue button: That must be SAVE! Oh, it isn't. It's "bibliography", whatever that means. The big red button? Oh that's delete... I haven't created anything, but at least I know how to delete it just in case.

I also like how the label for the text-area is "formatting help" and is actually a link to "formatting help" and not the label for the text-area.

Anyways, I found out you "save" by just clicking wherever. Fine. So I now wanted to actually name my thing. I'm clicking the title in the header. Double-clicking. Nope, that doesn't work. Looking for a rename button here... Oh maybe the sidebar. So I see that cog icon and I think: There, that's where you must be able to rename it, right?

And yes, a modal! With a RENAME button! Cool. So I press the RENAME button and POOF modal gone. Wtf??? Since the blue button I saw earlier wasn't a confirm/save button but a "open a modal" button, I assumed it opened another modal, but no: Now it just closes the modal. Whatever.

So I open the modal again and notice the name is actually an input field (gotta love Google Material Design). So I change the name and click the modal away, assuming it is saved automatically just like with notes. My changes aren't saved. Fuck.

So I open the modal AGAIN and assume the "RENAME" button is a SAVE button. Finally...

This whole thing is a neat idea, but there is much room for improvement on the GUI.
I wish there were some screenshot. I'm on a weak airport wifi and cannot really check this out now :(
Especially if they target people by race.
Zero latency noise, interruptions and distractions. There should be a nonzero-sum cost (ie getting up and walking to another office) for even informal meetings because meetings are time sinks, not getting things done. Better yet is to have an IoT “traffic signal” beyond headphones that indicates level of focus, urgency and/or social receptivity.
Long-term ecology of investors in a financial market