skysight-inc/HackerNews huggingface dataset:
Can confirm that working with an editor was a game changer for me. I was surprised at how cheap it is too :o

How has your structured questionnaire influenced your writing? I've tried something similar before, it generally worked well, but I found it too constraining at times.
I think it's A=5 D=1 G=2 O=0

102 x 51 = 5202
I recently bought a Thinkpad P1 Gen 2 with i9 9880H, 64GB RAM, 2x 2TB NVME, 15” OLED, basically all the options ticked, including a 3 year warranty with equivalent properties to AppleCare+.

It ran about $4700 before tax but after one of those coupons which Lenovo is constantly running and which knocks 10-30% off the MSRP of the device. Given Apple is now pricing NVME at $300/TB for upgrade, this seems comparably priced for what is largely the same internals.

I’ve been a MacBook Pro aficionado for the last decade. I’ve tried other stuff like the Surface Pro, never kept it.

I guess my point is there’s a myth that Apple is significantly more expensive than others, which doesn’t feel like it’s borne out by the manufacturer configurators when you’re dealing with high-end configurations?

Obviously, and this is highly subjective, I personally ascribe significant value to what Apple does to enhance thermal management (vs. the P1, which has throttling issues), to enhancing security through stuff like T2, Touch ID, FileVault 2 being so seamless, etc.

I’ve got enough nagging concerns about the maxed-out P1 Gen 2 that I’ve just ordered the new 16” MBP to do another compare and contrast — we’ll see how it goes. Extra 4TB of NVME over the P1 certainly doesn’t hurt.

Where I agree is some of the integration/packaging compromises impacting repairability are a pain, AppleCare+ is a subpar experience to Lenovo who’ll have parts and a technician appear next business day to fix your laptop. Also the mistakes Apple made around keyboards were deeply unfortunate, I had to get mine repaired multiple times.
Your assertion is a bit literal. Yes, they can't say they aren't blacklisting political sites. But they can say they aren't blacklisting sites for being political.
No, but I've definitely thought of using sklearn's Naive Baye's implementation to give me paper highlights (a la Mendeley, minus Elsevier). You can train on paper abstracts you've previously found interesting/uninteresting.

Luckily arXiv RSS feeds are by category, so I scan the titles of all e.g. qbio papers for a day and add the interesting ones to my reading list.
Rich peoples pockets (the few)?
When you block the ads, the publication doesn't receive revenue from them as the impression is lost.

Then, the publication suffers and the quality falls.
It's weird... I'm a real lazy person. I do the dishes immediately because of this reason, it's faster and easier. I absolutely hate doing crusty dishes. So, I'm just confused in general why people wait. Its straight up less effort to do it sooner than later.
Elon Musk recently said it well. He said something along the lines of always assuming you are wrong. The goal is to try to be less wrong all the time. Which is basically what good science is. And that guarantees long term improvement and success. So you need to fail a little to learn and get better. If you always succeeded, I think you'd never really know why you succeeded which is important knowledge and guarantees to a certain degree not making those mistakes again in the future.
FWIW youtube-dl supports downloading from a channel directly, and with a flag can spit out a file with every previously downloaded video. So the next time you run youtube-dl itll just grab new stuff.
https://twitter.com/smutcollecter/status/1194116947786551297...
Same thought here. I thought something along the lines of hackertyper. Something that looks like real code, but isn't.
The history of Internet provision "for all" in the UK is atrocious. Massive government handouts followed by private companies that had lobbied for them failing to meet their promises is a summary.

I can't see a nationalisation resolving the issues though, especially not with the paltry numbers being bandied around.

I could see better regulation and forced separation of concerns achieving a lot however.

That said, Internet issues are not the major problem of our times. These issues are a distraction from those of first past the post voting and a collapse in journalistic quality.
good evening dang. we meet again.
people will be adapting software to the device, in the next few months :) so it's a nice freudian slip
Retrospectives are a common place for this, and I think a fairly healthy one. They're limited in a way that meetings aren't, and they're already structured to take informal comments and process them into useful actions. I've seen too many meetings that amounted to "complaining about external blockers", and unlike retros there's almost never a useful followup.

I've never seen "managers aren't permitted", but I suppose it depends on the level of manager - as long as everyone present got their hands relatively dirty on the project, things seem to go well.
That depends on whether we consider A and D the same answer or not. If we can assume that A does not imply D and vice-versa, then we can pick either A or D and be correct (but not both) - in essence our picking either answer collapses the question's wave-function to be one or the other.
I’ve had really good luck with react UI testing using Jest and React Testing Library and throwing in UI screenshot testing.

At my previous job we eliminated selenium from our testing suite. We found that good UI unit and integration testing caught 99% of the bugs and the bugs that did make it through most likely wouldn’t have been caught by selenium so the added time wasn’t worth it.
Thank you please.
I think you have the general idea down. But as you suspected it's not a truth table. It's all cross-product permutations (hence the name `product`) of six items from the set {True, False}. So that line is creating a iterator that looks like this:

(True, True, True, True, True, True)
(True, True, True, True, True, False)
(True, True, True, True, False, True)
(True, True, True, True, False, False)
(True, True, True, False, True, True)

Though not necessarily in this order... I'm unfamiliar with the actual implementation. Since the values are bits, they could have achieved the same effect by incrementing a six-bit integer. Which is a nice proof that the number of permutations here is 2^6. (Generally it's s^n, where s is the set size and n is the count of elements.)
EU has just approved Irelands National Broadband Plan, which has been characterized by delays and beaurucracy since it's inception.

https://www.irishtimes.com/business/technology/broadband-tim...

It hopes to connect .5 million rural homes (private ISPs won't touch them generally) for about €3 Billion Euro over the next few years.

It's insightful to compare the two approaches.
Oh of course you have to be enthusiastic about testing in interviews. Same as with agile!
Sure, if people buy that. But nobody is that naive.
I also use org mode, Fastmail, and I run a NextCloud instance. I'm OK using Fastmail's WebDAV, but I somewhat prefer the self-hosted aspect of NextCloud. Are you able to share any insights about why NextCloud didn't work for you? They might save me some effort!
Well, offtopic a bit but.. People say you never know what they have to sacrifice for they success.

Listening lately news about Bill and he's circles of friends.. I can honestly say I am not surprised why these certain billionaires are never prosecuted of anything..
Heap overflow in wolfssl CVE-2019-18840
Way too fast to read!
good point

You just made me realize I'm a bit of a hypocrite. I don't want ads, but I will never pay for this either. Then again, I don't really want to read it anyway hehe

That being said, if ads actual ads and not targeted surveillance crap, I'd be ok with that. I might have to change my adblocker settings to reflect that...
TDD is also a design tool. I agree for newly written code, yes.

Writing a test before fixing a bug reveals the bug and solidify a proof that the fix addresses it adequately. So in this context, it's less about the design (since it's already there) and more about fixing and proving that the fix works.
This is basically unusable in mobile ... but looks nice in desktop though ...
Labour was quite upset when the porn block was canceled:

> Labour attacked that announcement as “proof that an important policy issue has descended into utter shambles”.

And in 2013:

> David Cameron must bring in laws to restrict access to internet pornography and stop images of child abuse from being available online, Labour will say today.

> However, Labour is challenging the Government to go further by bringing in new legal protections, including an automatic block on online pornography unless users "opt-in" and a tighter obligation on web companies to weed out images of child abuse.

https://www.telegraph.co.uk/news/politics/labour/10114845/La...
Why in God's name would a simple question be downvoted?

Dang, do you perchance monitor any habitual downvoting of users by particular other users?

edit: lol, downvoted within 2 minutes. Here, I'll make it easy for you mysterious friend, here's another new one for you: https://news.ycombinator.com/item?id=21545859
One of my teammates has an AWESOME response to testing and here it is:

"The point of writing tests is to know when you are done. You don't have to write failing tests first if you are just trying to figure out how to implement something or even fix something. You must write a failing test before you change prod code. How do you do square this seeming circle?

- Figure out what you need to do

- Write tests

- Take your code out and add back in in chunks until your tests pass

- Got code left over? You need to write more tests or you have code you don't need

Without the tests, you cannot know when you are done. The point of the failing test is that it is the proof that your code does not do what you need it to do.

Writing tests doesn't have to slow down the software development process. There are patterns for various domains of code (e.g., controller layer, service layer, DAO layer). To do testing efficiently, you need to learn the patterns. Then when you need to write a new test, you identify and follow the pattern.

You also need to use the proper tools. If you're using Java or Kotlin, then you MUST use PIT (http://pitest.org). It is a game changer for showing you what parts of your code are untested."

- Steven, Senior Software Engineer on our team
Top Spectacular BabyMoon Destinations of All Time
I've written integration test rigs prior to development, not unit tests.
I can't speak highly enough of the Netflix documentary on Gates. While I have problems with his business past (linux fans are obligated to say that :)), what he's done with his fortune in eradicating malaria, cleaning up water/sewage, etc. cannot be underscored and celebrated enough. And I daresay that he's done it more effectively and efficiently than any government could have.
What a legendary name for an operation.
wow. I'm sure I'm going to get downvoted but, you think mlm is bad but the VC model is ok. How many people have spent countless unpaid hours and who knows how much money working on a "start up" VCs: Let's out source the high risk part of finding product/market fit instead of paying for R&D and then come in at the last minute and collect most of the profits.
The HN zeitgeist answers:

- Artists need to find a new business model then.

- Artists should be hobbyists.

- If it's on the internet, it's mine for the taking.
I read somewhere that those switches are actually accessible only if you remove the battery, so they aren't that useful. Still better than not having them at all though.
Another New Form of Carbon – It’s a Weird One
I thought Wrike had a pretty good infographic on deciding whether or not to have a meeting:
https://d3tvpxjako9ywy.cloudfront.net/blog/content/uploads/2...

Basically you should have a meeting if:

* It can't be solved by collaborating outside a meeting

* Everyone is needed to participate

* The group has authority to act

* There is a clear agenda and goals

* Someone can be the facilitator

I have found that if a meeting has all those elements than a lot can get done very quickly, rather than having ideas bounce around email or slack for weeks!
Didn't one of the main OpenBSD maintainers suggest this like 10-15 years ago?

Unable to find it.

edit : https://en.wikipedia.org/wiki/Hyper-threading#Security

"In May 2005, Colin Percival demonstrated that a malicious thread on a Pentium 4 can use a timing attack to monitor the memory access patterns of another thread with which it shares a cache, allowing the theft of cryptographic information."
"outlet for people at work" hints that benefits everybody, or the majority.

"outlet for management" sounds quite different.
Woah, this is amazing! When you click on a video, it just stays in one place and loads. It doesn't jump around the page resizing itself while you attempt to hit the play button.
Show HN: Super simple notifications for long-running command line tasks
Is there research on how to create a distributed search engine ?
A finite resource (not even a resource!) that people will wonder where they went after everything falls apart.
The First Amendment is far too frequently invoked when it isn't relevant. The First Amendment says that "Congress will make no law respecting the establishment of religion, prohibiting the free exercise thereof; or abridging freedom of speech or the press, or the right of the people of peaceably to assemble, and to petition the government for a redress of grievances."

Marking a child wrong (or right) on a test, is not an act of congress, nor would it be infringing on the rights of the individual to practice their belief.

This clause is protecting that if a student has the right answer, we should avoid weighing any additional belief within it - and while it likely will need a few court cases to clarify all the tests within it, the law seems to be well within the spirit of upholding, expanding and protecting things that first amendment tangential but not currently protected by the first amendment.

We should always interpret things with the best intentions and most reasonable explanations until proven otherwise. In this case, the law is written in a manner that is neutral and prevents penalization or award for content from any religion. If their intention was to accept religious answers, the law would have strictly focused on preventing penalization, or be trying to push the legitimacy of specific beliefs.

Sidenote: The ACLU does a good job of outlining what IS protected within the first amendment according to religion and schools: https://www.aclu.org/other/your-right-religious-freedom
Would you mind clarifying what you mean? If you're looking for search filters you can use them using operators[0][1], similar to Google or DDG.

0. https://github.com/omarroth/invidious/wiki/Search-operators

1. https://invidio.us/search?q=type%3Aplaylist+sort%3Adate+musi...
Very clever. Presumably this would be unable to read high density (1.76MB) Amiga disks.
it's fantastic. it's clean, it uses all my screen estate really well, I love it.
This sounds accurate to my now recently-ex company. The number of meetings have soared, to the point where they probably spend 2-3 days per two week "sprint" (it's really more of a hobbled walk) in project meetings. Not just the absurd number of project managers (currently 1 PM to every 2 programmers, I believe), but the whole team. And what's weird is that when you're in the office, it doesn't feel out of place, but if you're actually trying to be productive it's a horror-show. I had a 3 hour meeting a few weeks back, and then another meeting directly after it which was a summary of the previous meeting.

Add to that the fact that 90% of the company are incapable of being on time to those meetings, and you can probably guess as to one of the reasons I'm moving on to another company. The meetings are usually also at short notice and the person who requests it will universally be late to their own meeting.

I see excessive meetings and calls as a failure of written communication skills. The people I see organising the most meetings are also those who are least adept at understanding writing, and the worst at communicating via it themselves. There's definitely an art to being a good written communicator, and maybe there should be more emphasis placed on it when recruiting in tech roles.
What does heartbleed have to do with webasm security? Webasm can't communicate with without going through javascript.
That is a straw man argument. We are not talking about an incident that may in any way be covered by the rights you might have against Google even though you did only use a free piece of software - like for example the right to not be actively and intentionally harmed by Google (think of using Chrome as trojan horse to infiltrate your network).

I am not doubting that such rights exist. But I am doubting that you have any legal right to demand Google to not enable a generally non-destructive and well-intentioned feature in some randomly chosen installations of the software that just by bad luck happens to have a bug which makes the software non-functional (but not actively harmful) in your particular terminal server environment. There clearly was no malicious intent behind this particular issue, and Google is not obliged to test every single feature on every possible combinations of systems, including every kind of remote terminal solution imaginable.

And, having established that the legal system does not help you here, I additionally doubt that you have any other leverage over Google to make them not do such feature enablements in randomly chosen installations if you don't pay for the software and if you don't happen to be a company of huge size (which might allow you to threaten to switch your hundreds of thousands of users to a different browser). But if you paid for it, Google just might be interested in keeping that cashflow flowing, and thus might be inclined to put the additional effort in to create an option for you to disable these random feature enablements, and/or to disable them outright for the paid Enterprise installations.
Yes, I've always thought that Tcl should be promoted as an archival quality programming language.
Ask HN: What printer do you recommend for rare printing?
I need to print something once a month at best. I can use FedEx or other to print but it can be a PITA. I was hoping there are others here on HN that are in a similar situation. I'm looking for a printer that will do fine with infrequent use and the ink will still work when I go to use it.

I'm looking to print way less that 100 sheets/yr, we are talking shipping labels here, nothing serious.
> This is a good point. Just like with anything in engineering understanding the process is more important than just following some steps because you think you should.

Music to my ears. We've been all at some point or another being followers to the cargo-cult. But taking a step back and evaluating things from first principles greatly help getting one's self out of being stuck in a rut. At the end of the day, there are no silver bullets. Everything has trade off, just pick whichever is the least worst :)
To motivate people, talk about the context of the work to be done
FDA warns Dollar Tree about selling ‘potentially unsafe drugs’
This makes me feel like it's a beginning of the end.

It is beyond me why they would want to award spammers for creating more spam.
This is so cool! I love it.

I am a Russian speaker, and this ambiguous aspect of English has always bugged me to hell! I think english was a bad model as a starting point for programming languages.
So say you were writing a sorting algorithm and with unit tests (perhaps with TDD) you wrote tests like:

- sort([]) should produce []

- sort([1]) should produce [1]

- sort([1,3,2]) should produce [1,2,3]

- sort([1,5,6,2,3,4]) should produce [1,2,3,4,5,6]

You would test a few values and edge cases until you were confident it works for all lists. However, you can't be 100% sure that there's some list out there like [5,5,5,5,1] that doesn't get sorted properly.

With formal verification, you can actually test it sorts for all possible lists with a mathematical proof. You write a maths proof that shows a property like the following holds:

- For all lists X, the result of sort(X) will be a permutation of X that is sorted.

For example, the proof could take the form of proof by induction where every step in the proof is confirmed correct by the machine (see Coq, Isabelle for more info).

When you were doing maths at school, you probably had exercises where you tried a few examples to see if an equation you came up with might hold in general and then you would write a proof to showed it worked for all possible cases (e.g. with induction, by case analysis). The former is similar to unit testing and the latter is similar to formal verification.

My point was there's a spectrum of how rigorous your tests are. People talk about TDD like it's the holy grail sometimes but it's nowhere close to how rigorous you can be. If you've tried some formal verification though, you'll realise it's far too expensive for most projects. Likewise, TDD doesn't make sense for all projects.

You have to pick your tradeoffs e.g. between time to market vs cost vs ease of refactoring later vs how rigorous the testing is.
The American people arent this stupid. Its obvious to everyone that the search results are being messed with. Its incredibly arrogant for Google to think they can get away with mass scale information manipulation. Capitalism doesnt work this way, Google search is an inferior product, everyday the opportunity for a competitor to move in gets just a little bit bigger. But the time is not quite here yet
It'd be great to get any feedback on these. I've tested only on a Samsung 4S-mini. Some notes:

- Inside, the apps are Cordova and ~1500 lines of vanilla ES5 and CSS

- Behind that are some build/preprocess steps which basically flow: img scraping and resize scripts -> [content] + ~100 line yaml config -> build scripts -> apk

- Prototype app includes diagnostic controls for the game/passtime itself and various DOM event/property logging used to construct/refine things

- The "finished" apps are intended as a boring-as-possible, feature-minimum case

- Thinking about whether it's worth developing this or similar toward 99¢ apps, custom versions, an SaaS approach or something else
Once upon a time, this was the point of circulating 'minutes' or a summary after meetings.

Outside of some special cases (e.g. the Federal Reserve), they're specifically meant to reflect conclusions, not the full course of discussion. Back-and-forth that reaches an answer isn't needed, and a debate that ends unresolved would just read as a summary of the positions. That way, you can invite the people who need to speak in a meeting, while anyone who just needs to be informed about the result can catch up from a shorter, async source.

It seems like easy video recording and calling have been one reason for the decline - minutes were handy if someone couldn't make the meeting, but now they can dial in or watch it afterwards. That's great for not having to create a summary, but I think it loses much of the value of a concise, written record of what happened.
Why doesn't slack implement scheduled and time-limited "meetings" chats?
Access to your passwords outside of iOS / macOS.
Study finds Americans can't lose weight, even though they try
I call your BS call :)

There is nothing better than a day with nicely spaced meetings

My current Project on every second wednesday:

10:00-10:30 Daily Standup

11:00-12:00 Architect Jour Fix

12:00-12:30 Lunchbreak

13:00-14:00 Sprint Retro

15:00-16:00 Sprint Planning

Most of the gaps have a reason (conflicting meetings, etc)
We use those gaps to "transfer knowledge". That basically means we sit in the cafeteria chatting about work or non-work relatet stuff, planning our weekends, etc.
correct. Asynchronous is something like email