skysight-inc/HackerNews huggingface dataset:
I usually practice Test Along The Way rather than Test Driven Development. A lot of problems aren't well understood in the beginning, in which case it doesn't make sense to me to write tests in a way that will end up forcing a stupid design upon my code.
Adding a barrier of entry to something generally improves the quality of whatever it is.
or lets look at social networks, its basically mlm but only the network gets paid.
You should load up the Privacy Badger extension. It lets you adjust the settings to keep trackers at bay.
Cells That ‘Taste’ Danger Set Off Immune Responses
Thank you for your excited reaction and your comments :))

Why do you not want the UI panes to overlap? And what exactly do you mean? Because the pane does not overlap but you can inspect and reach the full table. Maybe it was confusing on the video?

About visualization:
We also provide quite some automated charts as can be seen here:
https://www.youtube.com/watch?v=I0a58h1OCcg

We are thinking about supporting other dataframe-like libraries and hopefully we can support all of them. However, it is a matter of priority here. The architecture enables this in general but we need to find users who actually want and need this. Any idea in that regard is appreciated and if enough interest builds up, we can definitely support this.

What do you mean by (3) with the shaded cells? Maybe you can give an example here?
i work on embedded development (lately, bare-metal firmware), and tooling is often lackluster. i have never worked on an embedded codebase with a unit-testing framework that's good enough that people actually use it. yes, i know some projects have managed it, but i have not had the pleasure of working on such a project.

with that said, if i'm about to tackle something that i _know_ is likely to have bugs, especially parser implementations, i will always start by isolating it into a separate file, mocking the dependencies, building test cases, and compiling and running natively on my workstation. i write test cases before i start the implementation, and continue adding to them throughout the process. when i'm satisfied, i copy-paste back into the real codebase and do light integration testing.

these tests ultimately get thrown away, but i genuinely feel that they help me arrive at a correct implementation more quickly than integration testing alone. honestly, it just helps me feel more confident that i'm not going to embarrass myself when the code hits the field. this technique doesn't really help me with business logic, unfortunately, because accurately mocking the dependencies is insurmountable.

tl;dr: i use TDD when i think it will save me time, but i don't keep the tests around because tooling sucks.

i'm posting this partially in the hopes that people have tooling advice for me.
> Google search is an inferior product

Inferior compared to what, exactly? I have yet to find a good replacement.
It's a tool like any other and I reach for it when tests will help me write code faster and at a higher level of quality. Which is pretty often with new code.

Also always before a refactor. Document all the existing states and input and output and I can refactor ruthlessly, seeing as soon as I break something.

Tests are also great documentation for how I intend my api to be used. A bunch of examples with input, output, and all the possible exceptions. The first thing I look for when trying to understand a code base are the tests.

When do I not write tests? When I'm in the flow and want to continue cranking out code, especially code that is rapidly changing because as I write I'm re-thinking the solution. Tests will come shortly after I am happy with a first prototype in this case. And they will often inform me what I got wrong in terms of how I would like my api consumed.

When did it fail me? There are cases when it's really difficult to write tests. For example, Jest uses jsdom, which as an emulator has limitations. Sometimes it is worth it to work around these limitations, sometimes not.

Sometimes a dependency is very difficult to mock. And so it's not worth the effort to write the test.

Tests add value, but like anything that adds value, there is a cost and you have to sometimes take a step back and decide how much value you'll get and when the costs have exceeded the value and it's time to abandon that tool.
A place to start perhaps: https://en.m.wikipedia.org/wiki/Distributed_search_engine
It does have a homepage: https://organice.200ok.ch/
Since this is Swedish study, I just want to point out that Swedish organizational culture is very meeting and consensus oriented.

Nordic cultures may seem very similar, but their organizational cultures are different even within the same company. Others are often frustrated about Swedes and their endless meetings. Finns in the meeting are 'OK. lets do this.' and Swedes reply 'But Jan-Erik has not shared his point of view yet.'
what is the advanced functionality?
Private equity company acquires .org domain registry
I suppose one argument for it is that it's easier to regulate it if you own it.
They will increase the line rental and standing charges to cover the cost.
There’s more to learning programming than just writing code
I guess it depends how big your team is and how big the company is.

Working on a small team at my current company I don't have this issue at all. I remember when working at IBM that was my main gripe.
Having lived in tornado alley, I've seen softball sized hail completely punch through a residential roof (shingles, and plywood) and then punch through the sheetrock in the ceiling.
Pretty sure Chrome says that for all .dmg files, not just Firefox.
Makes me think of Ray Dalio on transparency and 'meaningful work'. I agree that people want to vent and be heard but as others have noted meetings turn into a way for management to reinscribe control and turn complaints back on the complainant (Learned helplessness,etc)

If we need meetings to define our job then that is pretty unclear management. If you dont see how your role pertains to the overall goals of the org and need meetings to figure this out then there is a general disfunction.

Meaningful work and the ability to give and receive feedback. Less meetings.
To be such an extreme outlier success as Bill Gates took extreme talent, extreme, all-consuming hard work, and extreme privilege and opportunity (luck) all combined in a perfect storm.

He still would have been successful without all of those things together, but not at the same level.
There's actually a couple of implementations eg : https://en.wikipedia.org/wiki/YaCy
I mean, that's how the NHS works and we generally pay less for that than Americans do for their healthcare.
It's worth noting that under GDPR this shouldn't be done without consideration.

- Do you have user data for users in the EU?

- Do you need all of that data on your machine to be able to provide them the service?

- Are you taking reasonable steps to ensure data security.

For many small developers: the reasonable step is disk encryption and a good password, and some basic scrubbing of identifiable data, but that's important to build into processes so that it doesn't get missed, and so that in the event of a breach you can prove that you're taking reasonable steps.
a ~$100 black and white laser printer.

I got a HP 1102w for this about 6 or 7 years ago and it's never failed. By getting laser, you can avoid the clogged print heads issues and other issues inkjets have with infrequent use.
Don't sell things that require high availability as a solo founder.
>But right now I am still getting decent results.

How can you know?
No, I was saying that it is strange that the debit card is only free if you use it a few times. If you give me a debit card and I don't use it, what did it cost you? A few pennies for the plastic?
Get a laser printer.
The toner won't dry out.
For those curious, here's a comparison of organice and Beorg: https://github.com/200ok-ch/organice/#beorg
That’s my main issue with CWL. It’s a nice execution language, but not something I like to write an analysis pipeline in. Because it is YAML, using runtime logic is difficult (impossible?). I much rather use a pipeline tool that includes some flow control and ability to adapt to different arguments. Last I looked at CWL, this wasn’t the case.
Actually, for the interview for my current job (a pretty big corporation) they asked me about testing and I flatout said that I think testing has some benefit for some cases for , but I think the "100% CODE COVERAGE OMG TDD!!!" mentality is actually counter productive and makes code much harder to adapt.

I think they appreciated my honesty.
Those passengers would already have the car parked at their house, or the restaurant they were at.

The Uber driver has to drive to pick them up. Then once they drop them off, they have to drive to the next fare. Sometimes they even circle around high traffic areas in heavy traffic in order to get to customers faster.

Basically anytime you see an uber driver without a passenger is likely extra car time on the road compared to what those passengers would have done with private cars.
I've given up on owning my own printer. They seem to last all of two seconds. I spend too much time to figure out why they aren't working, eventually giving up.

I have used the Lob.com API to print something, have it mailed to me, and then used. Inefficient and slow, but it is my reality.

If I'm desperate, I go to the public library.
> Furthermore, hundreds of auto-failover events went smoothly without any data loss (of course)

Wait... I thought Redis failover do not guarantee consistency? What does it mean when they say "no data loss (of course)"?
don't discount it!

can you write a program that opens a text file and dumps its contents on STDOUT? then you can write `cat`! and there are oodles of tools that are as simple as that.

the nice thing about contributing to a busybox-like distribution of coreutils is that they intentionally leave out the bells and whistles, since the target systems are memory-constrained. and you can do the development and testing right on your workstation. busybox is designed to be suitable for embedded devices, but the tools will run on any device with a linux kernel, as long as you can compile for the target CPU.
Ask HN: Do you self-host your side projects?
Hi,

What tools/best practices are recommended for hosting your projects at home instead of hosting them on AWS/Azure?

Thanks!
Thank you :) Support is always super important in such an early stage!
Like healthcare in the UK, private companies presumably won't go out of business but will instead offer a more expensive alternative for those willing to pay. An example I have is my Dad who at 60 needs a double need replacement, the NHS standard is to give him a full replacement free at the point of access for his knee that is totally shot. But he'll only get a partial replacement on the one that's not totally buggered. Well he didn't want that - he wants both doing to the same level because he's still very active, so he's going private in this case. Did he have to? No. But he wanted something above what the NHS was offering. And it's no slight on the NHS, he used them when he had cataracts around five years ago without any issue - his wait time was only a few weeks from the referral too.

I would probably be willing to pay for a better connection that what the government would provide as standard if offered because I spend my entire life online, I'm sure there will still be private ISP options with USPs to suit how I use the internet.

In the end that could easily give consumers more choice than they get now in areas that have poor coverage (where they usually get the option of a <4mb ADSL connection or 3/4G Celluar). Instead of areas where they can get Virgin Media, FTTP, FTTC, or 5G coverage.

We still have insurance companies and private healthcare here, it's just most people don't use it because what we pay for any way is good enough. So then the private ISPs just have to offer something better.
Keep in mind that this is just a blog post. I don't usually follow Cal Newport's blog but in general, academic blogs are meant to be more informal and just exploring different ideas without the rigor of a peer reviewed journal. If he put this stuff in a published book I would agree completely. Sadly it's par for the course for pop science writing.
I don't see it having a problem browsing the internet or sending SMS. Making/receiving/managing calls is more complicated, and I haven't seen it demonstrated, yet.

I really like that they're trying to break the chicken-egg problem and kickstart the actual community oriented development of SW. I think this is better in the long run than trying to do SW inhouse.
I can only assume based on your comments here and on other threads that you work/ed for LastPass, so I appreciate any insight you might lend.

I am still struggling with the idea that a company that was profitable selling licenses for $12/yr needed to then rise to $24/yr and again to $36/yr within the span of two years and somehow not be considered rent-seeking. You said this is to cater to enterprise users, and yet it's not the enterprise users that are bearing the brunt of the price increase. Absent any visibility into company workings, this feels like corporate overlords acquiring a product and declaring, "You are profitable, but our shareholders demand at least XX% profitability, so you need to make more profit, effective immediately."

Please shed whatever light you can on this.
Regardless of what Moto describes itself as, if you look at the code you'll realize its not a mock at all, its a fake per your definition. Given your concern with terminology, I'd suggest filing an issue there. Also given the divergence from your terminology in the ecosystem (Moto, localstack) for how tools describes themselves, perhaps its not the norm. To quote from your fowler article "The vocabulary for talking about this soon gets messy - all sorts of words are used: stub, mock, fake, dummy."
The most impressive thing about this for me is that Drew managed to work on this for 2 years privately and actually get it out there. I'm lucky if I can maintain concentration on a side-project for more than 2 weeks. To then have it pass the first year mark of being a public alpha is a great achievement, and it's an impressive service.
Any entry level Laser printer will do the work. You have to avoid inkjets because with so low printing jobs the ink will become thicker and it could clog the heads. Shelf life for toner is higher. As long as you keep the printer in a low-humidity area one toner could last you a decade.
This is going to come in handy in avoiding Youtube's terrible recommendations engine.
Find a used HP Laserjet 1020. Used ones are all over the place and you can probably get a decent one for $50.

Drivers are easy, works on good ol' USB, and a single $20 toner cartridge will last you a decade.
Should Europe Regulate American Tech Companies?
Are there any plans to have a web interface for "git by email" contributions? I think it's really cool to keep contribution decentralised, but it's also nice to have a record on the web of the review process.
Your neighbor's
Looks like states can only tax the pension of people who live in their state. So work all your life in New York, earn a nice pension then move to Florida to retire then New York can no longer tax your pension.

https://finance.zacks.com/pay-taxes-pensions-state-retired-s...
I wish this gave Chrome the corporate "death penalty", i.e. kicking it off of corporate infrastructure.

Google being able to silently update the browser might also have GDPR implications as no-one can be sure that the next version (you didn't notice) exfiltrates sensitive data.
Essentially because it replicates the way a browser works, similar to youtube-dl. I would very much recommend taking a look through [0] for some more info, but one of the main goals of the project is to avoid use of any Google APIs. This also includes login, as mentioned in an earlier comment[1].

0. https://github.com/omarroth/invidious/issues/130

1. https://news.ycombinator.com/item?id=21545348
Spot on with cost, as with everything you have to be pragmatic.

Tests are great for:

* High risk items (large consequence when it goes wrong)

* Documentation

* Weird unintuitive things

We had a C# project recently that needs to detect changes between a DTOs properties. At implementation, all the comparisons would be done over value types, but if someone added a reference type that didn't properly implement equality this would silently fail (likely for months). Good case for adding a test that ensures the change detection works for all properties.
So for instance it was discovered that tit-for-tat is often a dominant cooperation/punishment strategy. This was even tested with programs.

Sugarscape as well, if we stay in coding world.
I write tests for each bugfix and feature with rare exception.

It's a great practice to have a regression test suite that you can use to run your code in a simple context. The unit test suite can catch all kinds of low-hanging fruit instead of waiting until you deploy the code to your target device or production service (or even the release cycle for those).
Thank you for the feedback. The video is of a lightning talk for EmacsConf and specifically tailored to this audience.

For a general introduction, I'd choose your way, of course(;
Here are the findings of the investigation, according to the article:

>More than 100 interviews and the Journal’s own testing of Google’s search results reveal:

• Google made algorithmic changes to its search results that favor big businesses over smaller ones, and in at least one case made changes on behalf of a major advertiser, eBay Inc., contrary to its public position that it never takes that type of action. The company also boosts some major websites, such as Amazon.com Inc. and Facebook Inc., according to people familiar with the matter.

• Google engineers regularly make behind-the-scenes adjustments to other information the company is increasingly layering on top of its basic search results. These features include auto-complete suggestions, boxes called “knowledge panels” and “featured snippets,” and news results, which aren’t subject to the same company policies limiting what engineers can remove or change.

• Despite publicly denying doing so, Google keeps blacklists to remove certain sites or prevent others from surfacing in certain types of results. These moves are separate from those that block sites as required by U.S. or foreign law, such as those featuring child abuse or with copyright infringement, and from changes designed to demote spam sites, which attempt to game the system to appear higher in results.

• In auto-complete, the feature that predicts search terms as the user types a query, Google’s engineers have created algorithms and blacklists to weed out more-incendiary suggestions for controversial subjects, such as abortion or immigration, in effect filtering out inflammatory results on high-profile topics.

• Google employees and executives, including co-founders Larry Page and Sergey Brin, have disagreed on how much to intervene on search results and to what extent. Employees can push for revisions in specific search results, including on topics such as vaccinations and autism.

• To evaluate its search results, Google employs thousands of low-paid contractors whose purpose the company says is to assess the quality of the algorithms’ rankings. Even so, contractors said Google gave feedback to these workers to convey what it considered to be the correct ranking of results, and they revised their assessments accordingly, according to contractors interviewed by the Journal. The contractors’ collective evaluations are then used to adjust algorithms
Totally true, we also thought about this. However, as we understood the terms of Show HN, the link is supposed to link directly to a live demo?
Maybe we understood this wrongly? Any advice on this would be appreciated..
This data isn't particularly useful in more ways than that because there are a lot of variables that differ between running in a data center vs desktop/home NAS. I like reading these data because it's interesting to me, but I make purchasing decisions based on other sources, usually in terms of ease of dealing with support for end customers (when I need a drive replaced), noise (it's in my house), heat sensitivity (my house is warmer than a data center), and sensitivity to things like vibration (my case is far less stable than enterprise storage clusters).

That being said, I occasionally use these data to break ties or see variations between generations of drives.
There is two PRs, the UI is not merge, the deamon is: https://github.com/openwrt/packages/pull/10535
I'm not sure you realize the amount of kinetic energy a piece of ice the size of a baseball has at terminal velocity. Short of some sort of thick steel box.
Actually, electricity rates drop with economies of scale and willingness to set up in remote areas.

Have you looked into mining Bitcoin with GPUs lately? You would need free GPUs and free electricity to justify the effort to set it up...

BTC is only profitable with a. ASICs b. Very cheap energy source

Same is increasingly true for other coins.
Why suddenly giving 100% of Britain 100mbs BB wont do much for the national productivity.

That money would be better spent else where, better vocational training - Rebuilding the countries ability to say be able to make its own pistol or rifle

Can you see the spending round where the Postmaster General competing against the other departments for more funding for police or the NHS vs subsidising BB.
Any base model brother laser printer, preferably any that support wifi printing.

i’ve had one for 7 years, and replaced the toner exactly once.
monodraw is cool until you actually try making anything more than a simple diagram. It becomes tedious to manage all the different elements you create. Also, the developer hasn't updated the application in over a year and doesn't respond to customer messages.

If you want ascii-style diagrams there are a few free web apps which work 100% better than monodraw.
I also do not believe that Ken Thompson is the author's ex-girlfriend.
wouldn't any(q[:3]) (the 4th sentence) return true even if 2 or 3 of the above were correct? If I understand correctly, it should be true if exactly one of the above is correct, not at least one.

Although, I'm probably wrong, since the question says "which answer is correct", implying only one can be correct.
Relevant

https://mtlynch.io/status-updates-to-nobody/
I don't know about OP, but I almost always go to a search engine looking for something specific, and I know when I've found it.

On the rare occasion that I search for some general concept like a current event, I'm quite happy that nutjobs like Daily Stormer get filtered out.

Even in those cases, I'm usually just trying to get straight to a relevant article on a publication that already know of. e.g. "wapo impeachment"
> thus, by default, you're essentially writing FP code using a 'procedural' paradigm and syntax

I've not heard it described this way. It's an idea I can get behind. A lot of the native code I write tends to try and be as functional as possible, or at least avoiding relying on shared mutable state.

And don't get me wrong. I think that Rust is a significant upgrade to the status quo. Perhaps it's just time to keep hacking away at it until it clicks.
I heard that Martin Fowler once said, only test what subjectively "can fail". If you make tests for more than that, you are by your own definition wasting your own time ...
I'm reminded of the Watchmen comic book, with its ubiquitous recharging "plugs" on the streets. The future is here, just not evenly distributed.
I am an extrovert and have found value in discussion with others. The issue is that this tends to be aimless and there's zero structure, which wastes a ridiculous amount of time.

I'd much rather complete an async update and then follow-up with an in-person meeting to talk about the things that were documented beforehand.

It's a much more efficient approach and you get better insights too.