skysight-inc/HackerNews huggingface dataset:
How do I include Bootstrap Carousel in my website?
Hi everyone,

I am running this website using Wordpress hosted on GoDaddy and I am using Ascension theme - www.jaihindjuniorcollege.com

In the Hero section of the website, I cwould like to run a Bootstrap Carousel, basically a slideshow of images,

Would anyone advise me on how can I achieve this? Which plugin should I go for?

Any other HTML or CSS code changes which I would need to do in order to make this happen?

Also, would it be better to have a full size carousel for my website?

Thanks in advance for any help you could provide.

Memento Mori :)
This is awesome!

I have been warned that LINQ is often inefficient compared to raw C# with the same functionality -- but I have my doubts as the MS C#/.net put quite a lot into LINQ efficiency under the hood. Did you test this against any raytracing setups that don't use LINQ?
Regardless of your feelings on this specific issue, it’s fair to say we can have two problems at once, and one doesn’t diminish the other.
Some games just let you change specific meaningful UI colors arbitrarily (maybe with some presets for common forms of color blindness). I feel like that's probably the best route for the color side of things.
They haven’t identified a cold wallet. There may not be any cold storage of a small group of wallets.
I see a class action from customers. They gave a person money and it was stolen by a corporation. It is nothing less then thief. The drivers are not working for them so why should they be providing their base pay. Besides if that is the case, each customer should be providing a 1099 to the drivers based on IRS rules.
I think he means he can't be that outraged if he's still using them.
"Veg" is a British term.
Compare to:

“PG&E unable to contain gas leak that caused explosion for over 2 hours”

Just as true, just as biased. Yours is biased towards “just the current state only”, mine is biased towards “they are incompetent”.

Bias is unavoidable. Simply stating facts makes it easier to disguise bias, and does not guarantee a lack thereof.
There's a whole "paradigm" called "light weight verification". I could point to particular papers, but unfortunately I don't know of a good survey article or exemplar tool/implementation/framework. But the term is very google-able, and skimming papers/tool descriptions will quickly give you a general sense for what sort of things are possible.
Why do you think function overloading is messy?
The Washington State Measles Outbreak
I hate comments like this...why can’t you just be charitable to the spirit of the point? Replace “Nobody obeys it” with “Almost nobody obeys it.” Happy? Now it’s true and we can move on.
Acquiring end-user telemetry by recording inputs and sending them to the app developer is not great especially if they don't ask for your permission.

This is quite different than the sensational headline.
update: fixed wording
The real take away is that they’re sending all text typed in, including credit card and social security numbers, unencrypted to a third party.
I really would love an alternative to the horrible Skype client but I doubt it. AFAIK, you can't make your own unless things have changed ?
Affordable is a relative term. Think of it this way: at Sprouts where I usually shop, which is a middle-priced grocery chain here in Colorado, you can buy a pound of chicken breast for $2 on sale. You make some rice to go with it, which is at most 25 cents, plus some spices from your cabinet. So for $2.25 you can have a meal that'll satisfy you. Now to add vegetables, you can throw in a bell pepper ($1 on sale), and 4oz of spinach for $1.5 . So adding vegetables just made your meal twice as expensive and added practically no calories, so you can't save half of what you cooked as leftovers.
Inflammatory.
Agreed, clickbait. But what else would you expect from pseudo-journalists at TechCrunch?
Technically, you don't have upstream DNS servers in that configuration. The root servers are not recursive resolvers like an upstream.

But this isn't a problem... DNS caching works very well. I've been running my own nameservers for over two decades.
I don't get fruits. As much as I love them, I don't see why you need somewhat reduced nutrition (compared to vegetables) and way more sugar.

Antioxidants have been a failure of nutritional science, in the same vein as the high-grain diet. That means vitamin C has been way overrated. In fact, it has better uses in skin care but that's a different story.

Can anyone comment?

As long as you get enough fiber, eat plenty of vegetables (and dry fruit like almonds, nuts, etc), and in general follow a low-carb diet, fruit intake is nothing more than a psychological boost, and makes you nutritionally worse off. Change my view.
PG&E is guilty of many sins, but it's not the business of news organizations to make cavalier assumptions as to cause. They are not private individuals spouting unfounded opinions, they are news organizations who should vet their news and publish responsibly.
> The 26-year-old officer of the deck, who was in charge of the destroyer at the time of the crash, had navigated the route only once before in daylight. In a panic, she ordered the Fitzgerald to turn directly into the path of the Crystal.

Just a random comment:

She may well have panicked, but depending on proximity, that may have been the correct move, if executed correctly and in time. In other words, the move may have come from training, and it may merely have been inconsequential if executed too late.

A ship turns by moving its back end left to turn right, and vice versa. That's how the rudder affects the ship. "Right full rudder" moves the back end left, pointing the entire ship in a more rightward direction.

I've directly observed this maneuver used in an emergency. I was enlisted, on a Knox class fast frigate. We were refueling underway next to an oiler. The two ships steam forward side by side, and lines are sent across, to eventually get hoses across from the oiler to the receiver (us).

One of our junior officers was in command. The captain was also on the bridge, observing and monitoring. I was there in case what I was responsible for broke, otherwise I wasn't normally on the bridge.

The junior officer allowed our ship to drift to the right, too close to the oiler. At some point the propellers of the large ship started to suck us in even closer.

The captain identified himself and declared himself in command, ordered right full rudder, toward the oiler, and full speed ahead. An alarm was also sounded, "emergency breakaway" or something like that. The maneuver immediately moved most of our ship away from the oiler, and we shot past the oiler (they were also executing their side of the emergency breakaway).

Not saying the two incidents are the same, only that "steering toward the other ship" wasn't necessarily the wrong maneuver. But they were doomed no matter what, as just about everything else relevant that could go wrong was or already had gone wrong.
As a recovering media buyer I think this is one of the most concrete forward steps Facebook has made since their struggles began. “Custom Audiences” are great for CRM matching campaigns but so very easily abused. There used to be a 20 row min on lists. There was an article or reddit post I remember that showed how a kid trolled his roommate with ads targeted exclusively at the roommate and 19 fake people. They subsequently increased the list size minimum to 500, but I still cannot fathom that they left such a huge abuse vector open for so long. It’s like they didn’t care as long as the clicks kept coming.
I would just say yes, that you are still job hunting and that you would love to resume talking to them about the job. Perhaps, thank them for being honest with you and polite in how they handled turning you down. Tell them that there are no hard feelings. Ask them what the next steps are now and finally explain that you are currently still interviewing with other companies (no need to name names or the stages you are in. You are just stating the obvious).

No need to pressure them in any other way until they tell you what they see as the next step. Do not assume you have any leverage with them. They are probably also still looking. This is a chance to show them that you are a class act.

Don't look at this in any other way except as an opportunity. Yes, you can bring up the fact that another company is interested, but not at this time. Set the hook with class and an obvious interest in their company.
> should I expect them to not make fun of my name

Absolutely yes. Anything else would be rude.

> or pronounce my name perfectly?

Basic courtesy demands that they make their best effort.

> a net negative in time for a whole population to learn about a small subsection of the population

That's a strawman. No one's asking anyone to do a deep-dive on other cultures.

> it would waste more time for the general population overall than is worth saved through hurt feelings

I don't think good manners take that much time. Learning and remembering people's names is universal table stakes for interpersonal interaction. A polite society is its own reward - within reason, cost benefit analyses like that are kind of silly.
Yes, you are right. I had a mental note to update the description, I never expected this to be posted on HN so early :)

Just updated it:

> V is compiled directly to x86_64 machine code (ARM support is coming later). There's also an option to generate C code to support more platforms and achieve better performance by using sophisticated GCC/clang optimization.
There is nothing there that invalidates, or questions the sanity of the feature article at all.

In a world of rising temperature, the highest temperatures will tend to be most recent.

The 1.5°C figure is based on a 30 year rolling average. There will be individual high and low years making up that average.

There is an increasing chance, assessed at 10%, of one of those high points breaching 1.5°C. The rolling average will trail behind as is the point of rolling averages.

So a sane estimate from the Met Office, an organisation with good track record on climate.
Bara Brith is another candidate: https://www.bbc.com/food/recipes/bara_brith_33441
> If I understand the trolling logic

Zed trolls as a didactic technique. Don't pay attention to what he says, pay attention to what he's actually trying to teach you.
Not all retirees will need “caretakers”. My guess is by the time I retire there will be a robot to inject me with my meds and another one to wipe my rear—as long as my retirement savings holds up I won’t need to hire anyone.
Why would I hire someone who didn’t keep their skills up to date and didn’t show any desire to do so when I can hire someone who can hit the ground running from day one?

I’m 45 and have religiously kept my resume “buzzword” compliant.

You can’t learn best practices, frameworks, etc in a few days. Yes things were already invented, but if you don’t know the ecosystem you’ll end up reinventing the wheel badly.
Why does this article specifically single out iPhones? This happens on all platforms, even web apps.
Online Privacy
What is the best setup for securing online privacy?

I am a novice at this.

I have McAfee Firewall --> ProtonVPN --> Firefox (w/ FoxyProxy) and DuckDuckGo

Is Tor/DuckDuckGo just as good or better?
Not with keywords but this reminded me of Black Perl : https://en.m.wikipedia.org/wiki/Black_Perl
I'm not sure any specific rates. My exposure to that info (beyond what I might think to look up myself) was mostly through what changes they requested to the system which predictably were mostly about easing the application process, extending the ACH file generation to optimize submission of the transfers to send/receive money, and to provide accurate reporting of total system money in/out. Occassionally they would want to see state specific numbers in a custom report from some SQL query, but only very, very rarely would they want to see numbers on average/max time length of loans, and only ever when a regulator would spot check. If I recall correctly, the average length of the loans was over 3 months (with a 25% interest payment due every pay period or two weeks, if paid more frequently than that).

I remember looking up the data occassionally, but it was a decade ago, so I don't trust my memory enough to be definitive about specific numbers. They did start moving people into a separate collections department after a while, but I'm not sure what process they used to do that. It could be they were more on the ball about not allowing laons to go as long as I remember or knew about, but the amount of times they failed in this and needed help finding this info was notable, and yet better reporting of this info was never requested, so it could either be human error on a regular basis (fairly believable given the people they hired), or lack of importance to them, or some combination thereof.
I just counted and Facebook tells me that 1,147 advertisers have uploaded a contact list that contained my info, specifically found on https://www.facebook.com/ads/preferences/?entry_product=ad_s... :

These advertisers are running ads using a contact list they or their partner uploaded that includes info about you. This info was collected by the advertiser or their partner. Typically this information is your email address or phone number.

Want to know what's funny? The email address I use for Facebook was created only for Facebook. I have never given it out to anyone else, ever. The inbox for that account only contains emails from Facebook. I have never given Facebook my phone number. I have never clicked on an ad in Facebook. I have never connected an app with my Facebook account. _Facebook_ itself is the only entity which has ever had my contact info associated with my account. So tell me, how did 1,147 other businesses and groups get their hands on my info if I've never given it out? I can't wait to see what the explanation is when this feature launches end of the month.
All technology becomes irrelevant after awhile. You’ve got to keep learning the latest frameworks because your younger competition will.
Biodegradable packaging, and free compost greens - my thoughts exactly as I was peeling corn cobs yesterday.
Why do they flicker? Are they AC powered?
Schedule One-On-One Time
Yes, I've done a terrible job with estimations and for 9 months I lived in "release tomorrow" mode.

I made lots of mistakes that caused the delay, I'll post a detailed blog about it.

Should have sticked to "it's ready when it's ready".

Ironically this time it it really is going to be released tomorrow (Feb 7).
There's also Redux, which is harder to wrap your head around starting out, but has great edge case debugging capabilities (you can "time travel" forward and back with changes) and really efficient-and-seamless cached derived data with selectors.
Is your weak portfolio hurting your job search? Try writing for a change
With consideration to some wisdom spouted by GaryVee, I decided to start writing on Medium and my second article went mildly "viral".

I've been unemployed for a while after my last job left me burned out and without a portfolio in my area of interest.

When Gary suggested something like:

you don't want to be that guy that says, "I wish I wrote more Medium articles" or "I wish I posted more of my art on Instagram".

Whatever his exact words were, it was enough to get me writing. After more than 5,000 views and some really awesome feedback, I can say this approach has already exceeded my expectations.

If you're looking for work and your portfolio sucks, consider doing some writing for a change.

Here's what I wrote:
-(Creating Hyper-Realistic “UX Simulations” using Open Source Software)[https://medium.com/@mktlr/how-to-create-hyper-realistic-ux-simulations-using-cypress-io-part-1-cf3a9267f41b]
-(The “Backendification” of Frontend Development)[https://medium.com/@mktlr/the-backendification-of-frontend-development-62f218a773d4]
Automation and Artificial Intelligence, a Brookings Institute Report (108 pages)
Others have been looking at this problem and the possibilities of bringing down your backend with a mischievous request... https://blog.apollographql.com/securing-your-graphql-api-fro... reminds us of `select * from <big table>
The “Backendification” of Front End Development
Sure. But an AC on HackerNews? Not so much.
I don’t think the government should be in the lottery business.
I think that there's a point where negligence becomes culpable. Given that, I'm considering 2 questions:

1) Suppose Apple sells potentially vulnerable software to users and knowingly refuses to curb market demand for potential exploits to the benefit of their bottom line. When a zero-day is discovered and sold to the highest bidder, what percentage of the blame does Apple deserve?

2) How does that percentage change with respect to the following?
(a) potential number of users affected
(b) cost of a bounty program as a percentage of total profit from sale of the vulnerable software
The problem with DNT was that some browser vendor turned it on by default, which made it be “a flag the user didn’t turn off” rather than “a reliable signal that this user has asked not to be tracked”.
It's incredibly easy to overlook the calorific content in fruit - I was recently taking in at least 1000 calories per day from bananas/stone fruits/etc.

My rule of thumb is for vegetables to form the bulk of my intake (in terms of volume), with 1-2 cups of fruit per day as "dessert".

Basically, I treat most non-starchy vegetables as "free" - eat as many as you want. It's a mistake to think that fruit/starchy vegetables (pumpkin, potato, etc) are in the same category.
This seems unnecessarily harsh.

Capitalization isn't a deep signal.

There are lIsPs like Clojure that argue (> data functions macros). Although I mostly disagree (for example I love Racket macros), I understand and appreciate the sentiment. I have heard it from other people who have worked with a variety of LiSp code bases over the years. TL;DR: Any form of non-trivial DSL needs supporting materials like documentation and a simple, clear design.

Although it is nice to be able to expand macros, fully-expanded macro-generating macros are clear in approximately the same way as assembly language. It is impressive if you can navigate that, but even more impressive if can manage not to need to do so.
As someone who briefly used C# back in the days of .NET 2.0 (and found it was not much different from Java at the time), it's surprising how much has been added to the language, and my main question is thus (assuming this is a valid expression) "what does it mean?" Especially the non-constant in a switch case.
This is a helpful approach for embedded platforms: Write in a nice language (V), spit out C code that the usually-old embedded toolchain can compile.
This already exists in a small way. I use a local dairy that ships milk in thick glass containers with a $1.50 deposit. Any store that sells it will also handle returns.

And I can remember a time when soft drinks came in glass bottles and the stores took them back for a deposit refund.
Giving Python a try was fun~

>>> not None and True or [False for _ in dict() if print(lambda: int is str)]
> almost no websites actually honor the request not to be tracked because the government never forced them to comply with it.

Damnit Gizmodo. You had the first part right, that the setting is ignored, then you had to go and make up the reason. These blurred lines between reporting and opinion are the embodiment of fake news. There is a primary fact or two and then subjective garbage.
Did it work well for you out of the box, or did you have do some configuration early on? I haven't gotten this to work for me since I upgraded LXC to 2.0 (something about the `lxc-create` command failing IIRC), but I never spent much time digging into it, so it's entirely possible it's something to do with my setup and not vagrant-lxc.
The ‘godfather’ of China’s smartphone industry
Users are very bad at describing what they did when an app crashed. Recording application state and logging it is a wonderful aid to debugging. I did this routinely when deploying in-house applications.
You can time travel with MobX as well.

https://github.com/zalmoxisus/mobx-remotedev

https://github.com/BrascoJS/delorean
This is fun. Does this potentially mean that there analytics firms out there with tons of "screenshots" contained easily demasked credit card info probably sitting somewhere in an s3 bucket? That's a new attack vector I've never thought about.
> There's a chance the lights might also derive from this.

If the light is flickering it's absolutely guaranteed that it's derived from this.

But it's hard to imagine a lightbulb that emits a short enough pulse of light to make something look stopped. Even an absolute garbage one-way rectifier will be emitting light more than a quarter of the time. That can make a tool look odd, but it won't make it look still.
I have no issues with websites tracking my usage, as long as the tracking scripts aren’t making my browsing experience miserable. And, especially for things like affiliate links, I’d like to make sure that the people that influence my decision to purchase an item get some credit for it.
How about if we start with deducting my expenses for commuting to the office? $0.58 per mile would add up to about $2,900/year for my commute.
You'll never get it because there isn't any. Static vs dynamic typing is largely a matter of preference despite all the hooting from the recent static typing fad. I truly wish this "apparent truism" would go away, since it commonly turns to people flaming dynamic languages as somehow inherently lesser than those with big fancy type checkers.
> very close to an ideal work environment that you only see in books.

> Every good practice is implemented

There's no such thing as perfect. Pretty much everything has a tradeoff in coding. What are you optimising for? You need to work out what you're optimising for and drop practices that are getting in the way of that.

For example, if you're optimising for time to market and cost where a few bugs isn't a big deal then avoiding extensive testing could be a good tradeoff.
I’m not making any claims about function overloading in general. Only C#.

It interacts in surprisingly complicated ways with a surprising number of other parts of the language. It causes problems with prospective new features. IIRC there have been a number of bugs in the spec and in the compiler wrt overloading. Given the overall high level of expertise of people working on the spec I would say it’s a bit of a minefield, compared to the rest of the language.

Edit: Found a Q&A by John Skeet, https://youtu.be/8UvTdobOiJk?t=1292

“Overload resolution is the nexus that every feature ends up contributing to. […] All of these things make overload resolution and type interface really really really complex and it’s always a bit of the C# specification that I found hardest to understand […] and it turns out so did the spec designers, because they got it wrong, and we’ve been trying to fix it.”
LLVM is not used.
For me it was keeping a client happy and then always saying yes to introductions that would eventually be made. Even if the project wasn't a good fit I'd say yes to the meeting just to build a connection and hopefully point the person in the right direction.

Or for non-clients, just taking time to ask how they're doing, what's new or really showing any spontaneous interest in their life or career. It's amazing how many times I checked in with people that it would remind them of someone they overheard needing consulting.
Isn't the main reason why languages like Go and Rust don't do that because it would produce a ton of memory garbage?
Also check out react-atom: https://github.com/derrickbeining/react-atom

I stumbled across it earlier this week and it's a joy to use so far. The api is inspired by clojure atoms, and typescript inference works great out of the box.
That makes sense. I hadn't heard of Mutagen before, but it seems like it would solve a lot of the issues that drove me away from Unison. Thanks for mentioning it!