skysight-inc/HackerNews huggingface dataset:
I mean, as a general expectation, that’s ridiculous. Businesses will always optimise for profitability, expecting them to eat their margin voluntarily for environmental concerns is unlikely to be a solution.

As a policy, though, it makes sense - tax the environmental externalities appropriately to reflect the actual shared cost. If it’s still economic to add the servers once those costs are factored in, then you wouldn’t have any grounds to complain.
You wouldn't get a choice of vaccine, the NHS would decide.
Every time you give a talk whose first slide is a "bio slide", Baby Jesus cries.

And I barf.
Well, you can only meet your support bubble so many times. I have met my friend plenty of times but none of my other friends this year. But I am a high risk person
Yeah so? Parent (and grandparent) talked about their direct experience. That's by definition anecdotal.
Yes, I gave up on my rasp pi because of the instability of sd cards. It could barely run a few weeks without manual intervention. Honestly I have no clue how anyone does anything useful with them. Tried using usb attached ssd for a while, but never got it so stable that a remote reboot (or power loss) had acceptable risk.
You can’t go hiking where you live? Hiking is a very low risk activity.
While surely it's not a good fit for every project, I really like semantic css frameworks. In a recent project of mine where web design didn't matter that much yet, I ended up using http://classless.de/. It made building the website really effortless and I'm quite happy with the look of the result:

https://rugpullindex.com/

(The only thing that I dislike is that the table is not centered on desktop. But whatevs...)
'net send' was always great fun during LAN partys when I was a kid.
why do you think its better with .net 5?
> you're going to start having issues in targeting these elements unless you only ever have exactly 1 single design for each element, no matter where it is.

My example shows precisely how untrue that is. The buttons got different styles without having to change anything in the html structure.

> What happens if you put <button> inside different tags?

Then you define the corresponding rule. With SASS that is almost too easy. Also, don't forget that the C in CSS means cascading.

> different order?

display:grid, grid-template and even position:absolute if you need.

Do you think it will be too repetitve? Make a SASS mixin that defines these for you. Not only you're still keeping CSS separate from the HTML structure, it will very likely work in the same way that all of those "pull-x" and "push-y" rules are doing anyway.

> single <button> specifically?

I am not against using classes and ids that define purpose and even state (for the odd case where the attributes are not enough/non-existent). What I am against is the definition classes that are mapped to the presentation. You can have a <button class="critical-action-trigger"> all you want, but please do not make <button class="size-huge red">.

Likewise, if the "fire all nukes" button is so special, it deserves to be represented with <button id="fire-all-nukes">.

> then that's exactly what Tailwinds already does for you.

I said above. If tailwind was only providing a bunch of utlity mixins and variables that I could then @import to my SASS, I would understand. What I don't understand and do not want is to have classes that I am supposed to be writing inside the HTML.

The reason that I don't want that is not out of "purity", but rather because this lack of separation of concerns is leading us to a sub-optimal solution and forcing every frontend developer to reinvent component libraries every time they want to do something that is non-standard.

If we had a 100% style-free "standard" component library and the CSS designers focused only on implementing their design languages against that standard, the chances of us getting a more paretto-efficient basis for frontend development would grow immensely.

Nowadays, every frontend developer either needs to do everything on their own or hope that there is already a combination of JS component library + design language that is acceptable. If we had my way, everyone could then start their application with the standard components, pick any design language that claimed to implement the rules for the standard components and customize only the relevant parts. Everyone's 80% of the job would be mostly done.
I think the answer to both questions is "sometimes", and most kernels go out of their way to avoid ever answering this question. They just don't want responsibility for it.
I call bullshit. You're doing something wrong on your Ubuntu installation. I run an Arch installation on my desktop. I mainly run Ubuntu on it (an artifact from a time where Ubuntu replaced Debian as my main Linux OS). Every once in a while, I boot to Arch to play around with it (to learn about the hype; there's a few things I like about Arch Linux. AUR is large, wiki documentation is ace). And, practically every time I boot into it, I got stuff to fix... unlike Ubuntu.

On Ubuntu I get security and reliability fixes, and every time I upgrade to a next version I got stuff to fix; ie. every half a year, if I upgrade to next release and decide to not stick on a LTS version. With LTS it is rock stable for years to come, at the sacrifice of not being able to run the latest and the greatest version of software.
How can there be nothing wrong with an article containing contradictions? ;)

Those aren’t contradictory though. It’s not the 99.9% of the virus that your immune system neutralised that kills a patient with severe COVID-19, it’s the other 0.1%. Deadlier than some strains of flu doesn’t mean deadlier than all strains of the flu.
>One big reason for that seem to be Mac users that only know docker from inside a VM

That has not been the case for a good while now... Docker has been running directly on a hypervisor on the Mac.
I guess it depends what you use the server for. If you are a bank dealing with bank account balances you don't really want a bit to be flipped even once a year. If one character in a web page index is flipped in google's indexation service, who cares.
Yes and I am one of those people who mentioned elsewhere that this does not require DinD. Please reread the question I am actually responding to which is a general questions "What kinds of tasks ...?" The parent is asking what 'problem is the DinD solution is solving for. You also can not connect to the host's Docker socket if you do not manage that host where Docker is running in the first place.
> you lost a whole bunch of institutional knowledge

That also sounds like an opportunity for the old guard to write down what they know before it's (they're) gone. I wonder if any of them have, and if so where.
>I'm pro-ECC, but if you don't have regular backups set up, doing backups probably has a better ROI than ECC.

But since you don't know that you backup a corrupted file for years i'm pro ECC and pro FS-Checksumming.

I learned my lesson with some corrupted Sound-Files, the bad thing, i had to check every single file near that death block cluster, the good thing, all of them where ripped from my CD's.
The slogan is literally "the speaker of the house" and is wireless, so OK they don't use Bluetooth word, but you get my point, is just my opinion, I can't claim how many people expect Bluetooth like behaviour, just personal anecdote, I would.
Barack Obama on the moment he won the presidency
People like Having Opinions About Things In Public.

For ligatures it's bikeshedding taken to absolutely ridiculous extremes. It's past prescribing night/dark mode, it's at the level of pre/proscribing colour themes in a text editor.

It is a personal choice and it doesn't affect anyone else bar me. If you don't like ligatures, I don't care, it has no bearing on whether I like ligatures (and it is a personal choice, what fonts are easier to read is always based on what I'm used to reading text in)

/rant
I’m not sure what you’re talking about. I’m not going to ask my developer - who I pay $2000 a day - to spend 10 days optimising my codebase to avoid an extra $5000 in server costs.

It doesn’t matter if they’re a 10xer or a 1xer, their time always has a price tag.
A lot of people are going to be discouraged simply because it sounds and is a difficult subject to study. And not everyone with enthusiasm is going to have the grades.
Have you communicated that?

“Hey, I’m busy earning money. Because I’m sitting and thinking doesn’t mean I’m slacking off, and I’m also quite surprised to hear that from my significant other. You don’t know what I’m doing right now and you’re not my manager, so stop controlling and managing my work time. You’re distracting me from my work so please leave me alone. If you can’t look at me thinking and doing my work then please look the other way or go to the other room. Thanks, bye.”

I’m dramatizing, but set boundaries. There’s personal time and work time. When it’s work, it’s work.
We are actually talking about orthogonal aspects. You are right that being able to run the system on a smaller number of nodes reduces inefficiencies and reduces the "hit" of diminishing returns stemming from Amdahl's law. However, to do that, you need to speed up your code and I argue that unless you speed up the non-parallelizable part together with the parallelizable part, you won't be able to achieve that system speedup that allows you to remove a number of servers from your cluster in the first place.

However, I think you are right that on small number of servers speeding up parallel part can have a more immediate effect. I did a small calculation just to check the numbers. Assume you have a server that can do 100 RPS. You can either speed up the parallel code 2x (let's be realistic here and stop this 100x nonsense) and bring the RPS almost to 200 or you can take that serial code that is just a fraction and reduce it by half, so that f=0.995 and not 0.99 (and adding a marginal RPS increase to 102 RPS).

Here is the plot: https://imgur.com/a/7w1hms9

Edit: read http://www.frankmcsherry.org/assets/COST.pdf as recommended in the upvoted comment above!
That's interesting, cause you mentioned the JS runtime earlier. In any case, unless you'd argue that you never get a single runtime error, I'd encourage you to take a moment every time you encounter one whether that could have been caught by TypeScript. In my experience, that is the case more often than you might think.
The best part is that I was in a Microsoft developer event around 2010 or something. They showed a fancy marketing video about a construction guy going about his day. Seamlessly moving content between MS-made devices during his day.

Now it's 2020 and I still can't do that with Microsoft tools. With Apple, it's a reality.

I can open a link on my phone and my laptop automatically suggests I open it from the dock. All data is synced between my laptop, tablet and phone automatically with practically no delay.
All of those are 100% true, but they are very specific to the pandemic (for most people for most of the year), not something relevant in the more generalized discussion of WFH.
People often consider it impolite, regardless of what you’re doing (I had to find more and more ways to work around it with my parents during lockdown because getting pulled out of flow when trying to do schoolwork was aggravating). explaining didn’t seem to help, they didn’t understand why I couldn’t just quickly do X.
>If one character in a web page index is flipped in google's indexation service, who cares.

>>When Google used servers without ECC back in 1999, they found a number of symptoms that were ultimately due to memory corruption, including a search index that returned effectively random results to queries.
I'd propose adding another axis which is the amount of experience you have in a company or in your industry in general.

My+other new hires onboarding has been very difficult.

Outside of scheduling specific times to do deep dives on certain pieces of the stack it's very difficult to pickup new things because everyone is relatively bubbled. (This is compounded by the fact that everything is a microservice lol)

If you're a senior engineer and you already have a solid workstream I can definitely see the productivity increase from WFH, but for people just starting out it's a nightmare sometimes.
Show HN: Strange Stuff into Your Fonts
In Europe apartments are small. The energy, equipment and labor costs are also high. It can be difficult to work from home.

I am more productive with separation of my professional and personal lives.
This is very true! Either you take turns, who can go out and meet and have fun, or you spend the whole day with your family. I think a mix is most sustainable. Try to do ONE thing on your own per week and then cover your partners day out.
Another example of continuous painting is the Golden Gate bridge https://www.goldengate.org/bridge/bridge-maintenance/paintin...
> I miss casual collaboration. Video chat is a poor substitute

I think the opposite - online collaboration is always more productive, we can share documents easily, there is more focus, i can ignore parts of it, multitask etc. And the fact that you can have international people at will makes them superior.
Yup. Basically comparing apples to oranges. Unless you're looking at a System76 Laptop or at least a Thinkpad/Dell that's certified.

I've had a great experience with my XPS 13 so far. Everything (Headphones, Bluetooth, Wi-Fi,...) just works, Dell even provides Bios updates. Whereas Windows 10 didn't recognise that my headphones also have a microphone. Only downside is the limited battery management, this is definitely better on ThinkPads.
Not a Japanese, but this is exactly what I would like to get from the websites instead of huge pictures/videos and endless scrolling to get basic info.
Shh! Don't tell anyone :)
I'm guessing the superior may not have been in a different time zone before COVID.
Dram on package isn't hbm
even the utmost atheist needs to have beliefs

They might, but my point is that they are different - meaning that you therefore can’t categorize it as a religion (not to mention that these answers don’t have anything to do with atheism in and of itself).
1MB is several novels.

That being said, one of the top sites is text.npr.com. It’s cool NPR has that (from an accessibility standpoint), but it shouldn’t get any awards for compact design.
Most likely, squeezing 100x performance out of your code will significantly complicate it. For example, you're probably going to be dealing with cache invalidation a lot, and you will pay for that complexity forever, as you try to build new features.
I hear that many people are plagued with SD card issues. But I’m running probably ten raspberry pi’s right now and while I’ve had a couple SD card issues over the years, that has seemed to be the exception rather than the rule.
I don’t follow. Why should where I spend the majority of my waking hours, the majority of my life in practical terms, not also be my primary source of socialization?

I genuinely feel the opposite. Relying on your few off hours to satisfy your innate human need for socialization places an unhealthy demand on your off hours, not to mention an unfair demand on your friends and family.

I am now forced to spend 8 hours a day in my home office not speaking to anyone other than Slack and the occasional Zoom and the loneliness is somehow my fault for not having an active enough social life to counteract this? What about rest and reflection?

This is an infuriating argument. Humans were never intended to spend so much time alone, we’re social animals.
Probably a lot of people don't have a partner or kids to socialize with, other socializing venus are often cut off right now as well so they are slowly going insane in their non existant home office.
Parallelizing Pi Approximation with OpenMP
>For example it could be any bit of a single pixel on the screen.

Yeah or one bit in your checksum...imagine the fun :)
That's a well reasoned comment.

I'm 'of that age' where I have a large-ish house, and hence a large, well equipped study. I don't much like my work office. It's on the top end of 'good': spacious, well equipped, light, modern, free snacks, etc. But... and it's a big but, it's open plan. And noisy. With people eating at their desks, talking, interrupting you and so on.

But I still miss it. The last nine months has taught me that whilst I work fine from home, I thought I'd be completely happy like that, but I'm not. And I'm surprised by that. I want to go back to the office, but not for 9-5, 5 days a week. Once a week will be fine.
https://archive.is/ewo9P
Thanks! You got the point :)
Yes it is. The Docker socket - /var/run/docker.sock is owned by root and so anyone that has access to it effectively has root on that host. User namespace mitigate this to some degree.
> Gitlab CI just runs shell commands, it's pretty trivial to pull the same image its using in the job, and run the same commands locally.

In fact, they already provide a utility for doing this: gitlab-runner exec[0].

[0]: https://docs.gitlab.com/runner/commands/#gitlab-runner-exec
There is a rather active community for Go in data science and machine learning. +1700 members on the #data-science channel on the Gopher slack, a few books on the topic, and a few libraries:

Books

Machine learning with Go - https://www.amazon.com/Machine-Learning-Classification-Time-...

Go Machine Learning Projects - https://www.amazon.com/Go-Machine-Learning-Projects-Ultimate...

Libraries

https://gorgonia.org/

https://www.gonum.org/

A good talk (although from a from years back), explaining why Go for ML could be a good idea:

https://www.youtube.com/watch?v=D5tDubyXLrQ
Show HN: Visualize Your Life in Weeks
> I don't understand how someone can work longer hours unwillingly when it's entirely in your control.

I have that situation, but without the 'unwilling' part. In the office, I have often the situation "Gosh, I'd love to finish this, but if I don't catch the next train I have to wait another half hour for the next one", which automatically makes me stop work at fixed times.

Sure, I could also just stop at the same time at home, but ultimately I always end up working longer hours. Same in the morning; having to catch a train is really something that forces me to hit certain timings; when working from home, staying in bed just a little longer doesn't make me miss any trains.

It's a silly problem and could easily be overcome with enough willpower, but it requires the willpower where otherwise there are already external factors in place that soft-force me to start/stop work.
Anyone has good recommendations for good-looking, static "reporting" html templates? Ie. with quite dense layout to fit a lot of information (as opposed to the current trends in web design) and potentially handling of printed size (in order to fit in a single letter/a4 page)
Yeah. Who cares. Out of the billions of search queries, a handful will return irrelevant results.
Device to curb microplastic emissions from tyre wear wins James Dyson award
That doesn't fit in my accountant's brain at all. $20k one off cost vs $5k recurring cost could mean anything if you omit the time period! $5k a year depends on your cost of capital, $5k per month is a no brainer
This is a discussion about socializing. A hike and a hiking group are different things. BTW, need to find a hiking group post COVID, that sounds like fun.
For Android, the screen pinning festure works well for me, it doesn't let me to leave the current app unless I unllock the screen. Good for the pomodoro technique.
I think the point is that given the size of the error bars, that much precision is not an accurate representation of the confidence we should have in the result. 25.68% might be the observed change, but it's not one we should have much confidence of being accurate, not to four significant figures. Glibly put, it's false precision.

No-one I've seen arguing for fewer significant digits says that a probability of 0.999 should be rounded to 1. Nor do they say it's ok to round 0.5 to 0.
I'm using Chrome on Windows 10, every time a textual slide shows up, the text shrinks/sharpening a bit. I feel uneasy. Is that on purpose?
Sure, I was once working at a job and had the perfect office. Awesome setup, one room for me, fun colleagues, good eating options. Unfortunately in the middle of nowhere and career progression counted in decades not years. It's all about tradeoffs. The likelihood to get it all is quite low though, also considering real estate prices.
The old adage is that Linux is free only if you don't value your time.

When I was younger, I enjoyed debugging all the weird issues on Linux. Now I value my free time way too much.

I'd rather pay a premium for a device that Just Works. I can have a separate hobby machine I can fuck around with and compile drivers and stuff, but the machine I do my work on? It needs to work and work well. Every minute I spend debugging some driver or fighting the trackpad is a minute I'm not earning money.
A thousand cards is not much of a training set so I'm not really sure deep learnign would get very far.

A few years ago there was a community project training RNNs to generate M:tG cards [1], that if I'm not mistaken became Roborosewater [2]. M:tG already had around 12-15k cards by the time and still the majority of generated cards did not make sense. In the mtgsalvation thread in [1], most of the time people crack out with the nonsense that's generated by the RNNs people train [3]. There are also plenty of cards that make sense and are interesting and even usable, but they had to be hand-picked out of buckets of nonsense. A lot of curation and probably editing generated cards by hand would be needed, which somewhat defeats the purpose of the whole endeavour.

To generate new cards it would make much more sense to use good old procedural generation starting with a hand-crafted grammar of the rules text. This is certainly doable for a game of the size of M:tG, let alone Netrunner. For instance, M:tG Arena, the online p2p version of the game, runs on a game engine with a hand-crafted parser, the Game Rules Parser, that essentially resolves spells like an interpreter executing a script [4][5].

I mean to say, sometimes jumping feet-first into learning how to use a new set of complex tools is not necessary. Simpler tools that should already be in every programmer's toolbox can do the job fine, sometimes, even when it seems easier to just get a bunch of data and put it through a machine learning meat grinder. "Easier" might turn out to mean you need to do a lot more work before and after you can use the "easier" method (e.g. labelling, training, curation, etc) and not even get very good results in the end.

___________

[1] https://www.mtgsalvation.com/forums/magic-fundamentals/custo...

[2] https://twitter.com/RoboRosewater

[3] The project was started by the user Talcos, then more people started training their own nets using Talcos' code.

[4] https://www.reddit.com/r/magicTCG/comments/74hw1z/magic_aren...

[5] To tout my own horn a bit, I did the same thing in my degree as a final year project, but I didn't have enough time to get full coverage of the entire card corpus at the time - still, I was just one undergrad student and I did manage to get a big chunk of the game working with a rules parser. The parser was written in Prolog meaning I could "run it backwards" as a generator so the project had an M:tG ability text generator that spat out grammatically correct, if not always particularly useful, text. I'm not linking to the project because it was 9 years ago and it's painfully embarrassing looking at it now.
I've experience with many of the thermostatat systems, and none of them seem to know what I want.