skysight-inc/HackerNews huggingface dataset:
It's mostly the "magical" parts like before/after hooks.

I dislike a lot of the "magic" in Rails, but don't find before/after hooks very "magical" at all.

I guess when you get into inheritance perhaps. When you have an inheritance chain, which hooks are firing and in which order? That gets confusing fast. But, that also doesn't feel Rails-specific at all to me.

Rails gives you some ways to shoot yourself in the foot, but what language/framework doesn't?

When you are tracing a bug and are trying to do step-by
-step debugging, it has been hell.

I don't find this too much of an issue. It may be primitive but I just rely on debug output statements.

I have an expansion set up in my text editor that spits out `Rails.logger.debug("[jbootz] ")` and then I just do `tail -f log/development.log | grep jbootz`. I also have iTerm set up to highlight any lines containing "jbootz", so it stands out when it's mingled in with other output. (I just picked "jbootz" as it's a unique string)

In general that's the strategy for Rails debugging or really any dynamic language where the editor/IDE can't reason about the code like it can with a static language.... lots of debug output and then get a little creative with how you filter it in your terminal.

Helps to use an terminal app like iTerm that lets you use split panes so you can look at multiple filtered views of your log output at once if you like.

Quickly jumping to definitions? Even RubyMine can't do it.

Yeah. I used to work in C# + Visual Studio + Resharper and oohhhhh boy, I often miss being able to lean heavily on the IDE/compiler.

Still, as far as definitions go? I don't know. I just grep for "def foo" (if I don't know what file it's in) or use my editor to jump right to the file where it exists (if I know where it is, which is usually the case)

Not as slick as the editor/IDE actually being smart, but I don't really find it to be a friction point.
It's a shame Windows didn't show the date in the system clock until Vista, because it would have been fun to see when that GIF was recorded/made.
Which only works if the ISP gateway has support for it and has it enabled, which in my particular case (and I suspect many others) is not true.

IPv6, OTOH, pretty much works out of the box.

It helps to become better informed.
Why didnt the judges stop WeChat and TikTok entering the US market on free speech concerns in the first place?
I don't know either, it was only a raised (IMHO legitimate) doubt.

When we talk of the past we should do more complete analyisis than simply applying our current metrics.
> And the dude is still a genius, not was.

Semantic error. Like using past tense to describe someone you met once long ago and otherwise know nothing about.
It is? The only reason I think teams is sort of bearable is that at least search works more or less as expected.
There are tons of small shops, small radio stations doing the same all over world including EU.

But ... there were tons such small shops, and small stations before there was Facebook.

Right now Facebook is best tool for them. If facebook goes by by, they will go to second best tool.

They will find out new way to promote them self, it might just work in their favor, since there will be a lot of smaller competitors in that space, there will be innovation and at least in the beginning cheaper ads.
From the article it seems it was assumed to just be soot for a long time which was considered normal in many places until we got more serious about pollution.

Check out the before and afters with soot here it's very similar https://www.manchestereveningnews.co.uk/incoming/gallery/bla...
Moving your SSH port isn’t security by obscurity
The dude lives in Indonesia. Not sure he ever saw much of a reward for writing software, sadly.
Outsider here. What is Strava? How widespread is it's use?
About that last bit where he mentions the academic grant, I wonder if the standard of living afforded to academics has dropped over the years.

If you hang around Oxford and Cambridge, you find these old buildings that look impressive. Then you study there for a bit and you find out a lot of the places seem to be divided up, as if there was once a time when each member had much more space than they did when I got there.

Same goes with the common areas, they somehow seem like they were meant to be used by fewer people.

Of course there are also new building there, but they're all of the cramped office variety, lending further credence to the theory.
I strongly disagree. They have a W3C spec for the WebThings API[1]. Not a protocol as such but its a big step in the right direction.

And the existing product is great. I have been using it for months to control my TV, stereo, lights, etc with no issue. I have even added custom adapters for my own little projects. It's a great product to work with and use.

I agree that this project was unlikely to make Mozilla any money, but this is much more than a "conceptual thought".

[1]https://iot.mozilla.org/wot/
To be fair - the example of the UK banks who had disasters was because the systems in question were usually old 'legacy' systems that were being slowly replaced by new tech and newer developers. It was a lack of developers with experience of those particular legacy systems when something went wrong that was the problem, rather than the lack of older developers with more experience of development in general.
It makes me happy to see folks not dogpiling on you. I'll try to be similarly gentle.

It seems to me maybe you've got the hero mentality. That sacrifice == hours spent grinding == commitment to the job. "Effort" to you is a measurement of love.

That totally described me in my 20's and 30's. One day, after acquiring the necessary skills, I woke up and learned that it didn't make sense to grind like that anymore. Also, long hours is bad for the mental health.

I switched to "work smarter, not harder" mode and learned about TDD and Agile. I got better at my craft and earned respect from my peers for encouraging them to get better too.

Finally, I had a really eye-opening experience with an older developer a few years ago. He was a contractor and owned a gym. He always took off at 3pm to go train his folks and work his other business without asking/telling anyone. He was gruff and a little bit intimidating physically. He even had terrible typing skills: he typed with two fingers like a kid! Not sure if that was a dexterity handicap or if he just never learned to type, probably the former, but it still pissed me off because he was SOOO SLOW!

It surprised me a bit when he rolled off that he lasted his whole contract and didn't wash out sooner. It surprised me at the time he had such deep networks in the company: VP's knew him and worked with him years earlier and they had lively random conversations. It surprises me now that his contributions to the codebase have endured - he just got a lot done in less lines of code. I think fondly now at the conversations we had, not just on coding, but on parenting, politics, physical health and strength training, military service, and just ... diverse, weird thoughts from my parent's generation.

Think of yourself and your beloved company as The Borg. Your job is to incorporate the technical distinctiveness of aliens into your collective. If people you run across are turds, and you have a culture of hard-charging success, they'll wash out pretty quickly. Just let go of effort and efficiency as metrics - beancounters can concern themselves with that. Focus on winning over the long term.
Gpumlib: Open-Source GPU ML Library
NYC lifer here. Never ate them either. Never saw them in public school either. I knew a few kids who did because they came from a "frozen foods family" who were into buying a lot of frozen foods in bulk because it was cheap and ket for a while. They also tended to like the other little frozen junk foods like bagel bites, hot pockets and pop tarts. My mother forbade that kind of stuff.

If we ate fish it was usually white fish fillet from the super market or fish market.
I see Boston, MA on his github profile
Wat a joke
I'm not that musically orientated but going into the 5th decade of my life there's been a few genres that were flavour of the moment. I might enjoy a beer one night and look through some old songs. That doesn't mean that on a daily basis going forward I want "more in that direction", i.e. I don't want to close the doors on other music and get recommendations based on what I did one day.

I think in your example that any (say YT) algo would flag flat earth videos as more conspiratorial and less scientific. Even though the content is about the same "thing", there'd be more facets/dimensions to that thing than it simply being the geometry of the Earth, i.e. the profiles of people who watch such things. There's the history of the Earth's geometry, alternative projections, people who have travelled it, etc etc.
They've determined that the risk of quarantine scales with the quantity of people going through it.

Given the entirety of the current outbreak has been traced back to quarantine failures, this is somewhat understandable.
Tetraquarks back in the spotlight – CERN Courier
What's the betting the UK Government puts off action until comfortably after the ideal time to enforce restrictions once more?
As frou_dh hints, the updates are not done in place, so it would have to be something like

new_e = e.lbl = value

at which point "nice" is not how I would describe it.
Less Is More, More or Less
From the article:

> I will suggest, rather opinionatedly, that possessive quantifiers aren't particularly useful.

I will suggest the opposite, that possessive quantifiers are so useful they should have been the default, as backtracking causes problems of performance and accidental mismatching that you usually don't want.

Backtracking is a really useful invention. But it should not be used on every term.

I default to using possessives more often than not these days. I've writte a lot of parsers over the years where regexes played a role, and this is what I found in practice.

Now, a non-possessive quantifier makes me stop and think if it should be there, and what kind of problem is it hiding. Usually it doesn't matter, especially when the regex is being used on "known" data, but occasionally it's hiding a subtle parsing bug.

For example, any regex that is matching whitespace-separated terms. For the whitespace, which makes more sense, "\s+" or "\s++"?

The latter. Backtracking over whitespace is just a waste of time; it won't change what is matched, and if it does, that's usually a bug in the rest of the regex.

What about matching words in a parser of a typical programming language, does it make more sense to write "\w+" or "\w++"? The latter again. You do not want to accidentally treat "iffy" as though it's an "if" followed by "fy".

You can explicitly require a word boundary or a non-word character after the word. But which is more straightforward (and faster) out of "\w++", "\w+\b" and "\w+(?:\W|$)"?
Isn’t that jquery? Seems surmounted by a few very talented people
If you get a remote job living in a 3rd world country you are in the top 1%.
Doesn’t his profile say he works (worked?) for Teradata. I doubt he was doing that for tips.
But still a fascinating account, well worth reading.
Yeah. Though it’s a little bit damning that the best thing you can say about Teams is that it isn’t Lync/Skype for Business.
> The problem is how do you know how many subnets the ISP is willing to give you? Unfortunately there’s no way of finding this

This was by far the most frustrating part of configuring IPv6 on my home network. Every IPv6 guide out there assumes you already know the PD size for your ISP, and I couldn't find any tool that would let me test different sizes. Even if I had known

> you can run odhcp6c manually with the -P option if you have to probe your ISP to find out what size of prefix you can get

, I don't have an OpenWRT router so that wouldn't have helped me.

In the end I just had to guess and hope that if it didn't work it was in fact the wrong PD size and not some other misconfiguration on my part.
Is this an official Docker repository? Why hasn't any other team member answered?
Strava is the most popular gps tracker app for bike riding, and can be used for running as well.
How to find time to keep up with coding when you are a tech lead?
Lens has this:

e & lbl .~ value

It's not an in-place update like `e.lbl = value`.
The unstated assumption in my comment was that I want to do the research myself. As I have a PhD, I am of course aware that advising students is a core part of the job of most professors.
Cameras, Sensors, Barcode, Scales, Etc.
I mostly work and socialise with people who have English as a second language. I have noticed myself simplifying sentences a fair bit too, reducing idiom use, and so on. But perhaps not to the same extreme :)
A very detailed tutorial with screenshots for those of us with no clue would be much appreciated.
Flexible CSV Handling in Python with DictReader and DictWriter
> Apple trying to sell me an iPhone claiming it's more secure and more privacy respecting might be true so if buy one it's a win-win if (a) it is true and (b) I actually wanted those features.

Sure, it's a win-win if the features match your needs. And a win-win would be Apple making the claim, listing the privacy features of their new iPhone, along with honest arguments why these features protect your privacy better than competition. I absolutely do not mind things like that - it's the socially-useful purpose of advertising: informing people about products and their features, so that individuals can pick the best solution to their problems.

It's only when advertising tries to override individual's agency when I consider them bad. And note that purposefully and covertly overriding someone's decision making capability is a malicious behavior, and very rarely justifiable.

> The should only say "we made a device, it plays music, it's this size, the batteries last this long"?

Would it be bad if they did only that?

> Was the 1984 ad exploitive?

Of course. While it's nothing compared to today's ads, it still tried to sell you a computer by tricking your mind with completely irrelevant references to 1984 and the feelings it evoked. It tried to override your capability for thinking, by sneaking in an emotional payload.

> Is the Ikea add "Time To Leave Home" ad exploitive?

It's a fun comedy sketch, but again: it tries to use an emotional payload to get you into the market for furniture and think of IKEA in particular (and make it a first association in your mind, over competitors).

Look at it from this point of view: imagine you live in a small town, and there are two small-time shops building and selling farming widgets. Would you want them to spend all their energy and innovation capacity one-upping each other in comedy stand-ups on the storefront, or would you prefer them to focus on designing better farming widgets?
> They are rarely willing to risk everything for the chance to make paradigm leaps.

Yes, and your phrasing of that is one of the most accurate I've seen in these threads. We who are old are completely capable to make leaps... but we are not incentivized to do so. Stock options and a chance to make a couple million will inspire the young to work wonders. But those of us who have been saving our income for a few decades already have a nice nest egg, so an incremental update to our nest egg isn't so compelling. The rewards at the end must also be a paradigm leap.

And there are paradigm leaps in this life - most of us start at the point where we struggle to pay bills. Then you jump to where you are not struggling. Then you have enough to own nice things. Then you have a home that truly makes you feel at home. Then your home is paid off and you measure your nest egg by how many years you could go without a job. Then you hit the point where that number is higher than the number of years you are likely to live. And then you hit the point where you have extra money to enable you to change your lifestyle and give more money to charity and still have enough to live out your whole life.

Any job that doesn't move us to the next one of those points is not incentive to work harder and give up time with
our family, etc. That is also why we have less to lose as we get older. Because each of those points also means we are less dependent on our job.

At the end of the day, the differences in behavior are real. But anyone who thinks it is due to a difference in skills hasn't yet seen the big picture. Give us compensation that drives a paradigm shift in our lives, and we can drive a paradigm shift in our work to match it.
South Africa's Striata acquired by Doxim in global deal
jax has nice
e2 = e.at[lbl].set(value)

syntax, and Ramda has

e2 = assoc(lbl, value, e)

which is curried and data-last, so you can keep that setter around for future instances of e. Usually not too bad to translate Ramda into your language of choice, and a valuable exercise. I did it with Python and it helped a TON

Once JS gets immutables, web devs will have more tools for FP, and we can look forward to that expanding the community of functional programmers a lot: (https://www.infoworld.com/article/3569118/ecma-proposal-woul...)

Python’s lack of an immutable map is annoying but there are nice pip packages for it
They're damned if they do, damned if they don't.

I still can't believe how un-Tory our Tory government has been, and yet still they're The Worst of The Worst in the minds of those with strong opinions. I don't much like our political classes, but I really wouldn't want to be in their shoes this year.
There is a part of "The Future" that will always be "The Future". Maybe this is one of those parts.
What exactly is the meaning of "On the other side" here?
If Facebook was some little "shoestring" Ma and Pa website somewhere, then the burden of GDPR compliance might be a persuasive argument. But we are talking about Facebook, one of the biggest and richest tech companies on the planet. They can afford the legal and technical resources needed to do this.
I think you’ve gotten off track here. I’m not claiming higher bit rates and sampling rates than CD audio are inherently better in every case, just that CD audio is not what I’d call lossless.
Same thing in Germany. I've had just a few interviews for the last three jobs. None of them was a multi day (or even one whole day) interview. The max. that was asked was a (really short) coding challenge with a salary at 80k - to put in perspective I pay 600€ / 105m² for rent and live near some big cities in western Germany.
> How about we let people use the websites and apps they want to?

Nobody is stopping Facebook from complying with the laws. If they choose to exit the market rather then comply its on them.

What is the alternative? Let Facebook (and other companies ) do whatever they want?
Yeah. MVC is not always the right tool for the job, but it's generally fine and IMO rarely a terrible fit.

I don't see how that's a Rails-specific problem.

Before Rails, working in the wild and wooly world of Microsoft web dev (with occasional PHP thrown in) I saw some real horrorshow web apps. People hacking together their own confusing and misthought architectures. And those horrorshows were rule and not the exception.

The standardized structure of Rails apps is such a breath of fresh air. It's so nice to step into a Rails codebase and basically know where most things are most of the time.

Admittedly it's also nice to step away from Rails for smaller, simpler apps.
So, perhaps "forcing" people to go back to work en masse (whilst simultaneously reopening schools) was not such a great idea . . . ?
Image Processing Pipeline – a modern image build orchestrator
This made me laugh, because I actually am planning on making a transition to woodworking. My house is paid off, and I can live on a fairly small income that I can probably generate mostly from passive income. If I can actually supplement that with building furniture, bonus. If not, then I still get to build furniture.
Emotional Intelligence for Analytic Thinkers
On this episode of The Artists of Data Science, we get a chance to hear from Gilbert Eijkelenboom, an author and behavioral economist that is passionate about bridging the gap between analytical thinkers and emotional intelligence.

Gilbert talks about his background as a poker player, and how human behavior impacts the success that is possible in data science and beyond.

WHAT YOU'LL LEARN

[12:14] How your brain works and influences daily decisions

[44:21] The three step process to change your algorithms

[46:58] Gilbert’s take on intrapreneurship

QUOTES

[21:38] “...to become a really good data scientist, you need to understand the business problem...and without emotional intelligence, it's going to be very difficult.”

[24:53] “...if you don't try it yourself and fail and learn and experiment, then you're never going to be good…”

FIND GILBERT ONLINE:

Website: https://www.mindspeaking.com/

Quora: https://www.quora.com/profile/Gilbert-Eijkelenboom

LinkedIn: https://www.linkedin.com/in/eijkelenboom/

SHOW NOTES

[00:06:09] The difference between good and great data scientists

[00:06:55] Data science and behavioral economics

[00:08:44] How we can see our brain as a set of algorithms with an input process and output?

[00:12:01] The two systems in the brain

[00:15:40] How to cope with rejection in our job search

[00:18:36] The importance of saying no

[00:21:03] What is emotional intelligence

[00:28:16] How to ask for feedback

[00:35:43] Emotional intelligence in the virtual world.

[00:37:14] How we can identify our "bright spots"

[00:39:00] How to cultivate better self-awareness

[00:41:15] How can we create a better awareness of the algorithms in our head

[00:44:02] A three-step process for changing the negative algorithms in our heads

[00:46:34] What it means to be an intrapreneur

[00:51:57] The Lightning Round
I think this is one of those "difficult to fully work through in a comment thread" topics. So, I don't expect to convince anyone that isn't already sympathetic to this point. That said...

For a bottom-up argument, consider mostly text based media like twitter or whatsapp. If you're involved in similar tech, I think it's quite easy to roughly estimate both the development and infrastructure requirements for something like this. It isn't too different from an email service or another text-centric media. Also (like email) it lends well to a distributed architecture, so may not even need a centralized infrastructure.

Hosting and serving video is costlier. Again, distributed architecture can make this irrelevant, or a much smaller. Even assuming a Facebook clone though, hard costs like video streaming are a small fraction of facebook revenue.

Re: distributed architecture. Remember that this is what the internet/web is fundamentally designed to do. It's not radical, and there are working examples out there that will work at massive scale. The www itself is such an example, but there are also more explicit examples that work more like Facebook does.

For a comparative argument, consider FB or Twitter when they were much (revenue-wise) smaller. Consider minor social networks (like HN). These might have 1/100th of FB or Twitter's usage, but generally operate on orders of magnitude less revenue user-for-user.

Basically, there are enough demonstrative examples to convince me that it is possible, even trivial.
> nobody asks me if I can add an RSS feed to a DBMS, so there's that :-)

As I told a friend yesterday: this is fashionably called "event sourcing" these days :).
I find Slacks threads as an afterthought a lot more palatable than Teams’ messages as an afterthought.

Everything in teams is split between the teams and chat section, and combined with everyone creating a whole group for literally everything, it’s impossible to keep track.
> saw