skysight-inc/HackerNews huggingface dataset:
> besides its use of dependencies

Isn't that sort of the point of the unit test in that case? You test the use of those dependencies:

Write a test where a mocked dependency returns something unexpected and see how your 'unit' responds.

This is why mocks are useful because often you rely on implementation details of your dependencies and only test the happy cases. With a mock you can return whatever edge cases you come up with and ensure your unit handles everything as expected.
You're going to miss a lot of content no matter what. It might be for the better if one simply accepts this.

I guess I'm speaking from my experience as a Fediverse user. I don't feel I miss anything, even though there are literally thousands of messages that have passed me by on the feed whenever I open it.

Surely someone is going to comment that I'm not missing anything because nothing of value was said, but the posts I do see are things that makes me satisfied for the most part, and that's enough for me.
Issuing tokens is still probably illegal in both countries I live/work in. Regulatory and tax compliance immaturity are holding back a lot of people besides at the wild frontier or offshore operations with the resources to navigate that
I always see vented and even power vented in ontario.
Amazing idea, I wanted to give away 2h of my life on weekly basis before too. Did not go with it as I want more freedom and flexibility.

Was it worth it for you?
Funny. I'm in my 40s also but decided on a career in academia (CS) when I was younger instead of the tech industry. What a mistake.

I recently lost my job to due to a lack of funding and I'm a pretty difficult hire now: academia is done for me, if you haven't made it to professor by my age, you're obviously worthless.

But for an industry job, I'm facing the dilemma that I'm formally highly qualified but have no relevant (industry) experience to show. That is, I'm too mature for a junior position but too inexperienced for anything else.

To make things worse, I left the states over a decade ago, and thus have no relevant network there. Not that I have a network outside academia over here, either...

I'm so far removed from your situation (being able to pay off your house and thinking about retiring) that it's not even funny. My wife and I were only able to buy a tiny town house last year (< 1000 sq ft, shared walls with two other townhouses left and right), and will hopefully find some job that will allow us to pay off our loan over the next 20 years.
Have they fixed the incredible loss of features from the WX GUI yet, the QT widgets just didn't have anywhere near the same functionality last time I looked?

[Edit]The WX versions of FFT and Oscilloscopes were far, FAR better than their QT replacements.
I've recently put in a jennair unit that will do 5kW into the main element.

The speed with which it heats things is actually kind of scary. I can take one of my 9" iron skillets from dead cold to smoking hot in under 20 seconds.
Thanks. That's really helpful.

Given what you've said, I think the interactive window can be iPython in VS Code. This may be a relatively recent development.

I'm not sure what I did to enable this, but it may be because I have the jupyter extension for VS code installed.

For instance:

- If I do `df.plot()`, I get a matplotlib image displayed directly in the interactive window

- Auto indentation works

- Tab completion works

- Commands like %load_ext autoreload work.

It sounds like the integration isn't as tight as with PyCharm. For example, you mention having ipython available in a debugging session. That's one thing that I haven't managed to get working in VS Code.
You can absolutely use a wok on them. I bought a wok while on electric and it turned out to be fine for induction too.
Twitter (social media) goals and your (our) needs won't ever be aligned you (we) should use something else.
A minuscule fraction of the people coding what they call C++ at Google come to the committee meetings. Google's ancient, idiotic prohibition on RAII is not a thing the current attendees, or other employees, have a say about. Many, attending or no, would rather be coding sensibly. And, in any case, the ancient code you present is not how code is being written even at Google today. So, your point is hopelessly muddled.

There are shops where people still write new C++ like it's 2011, or 2003, or 1998, or 1992, or C. There are plenty of shops where people code the best way their current production compiler allows. There are plenty where different people do some of each of those. Vanishingly few shops make an effort to rewrite ancient code according to current best practice.

I guess a sweetshop company is one with Oompa-loompas.
They’re just probably under-diagnosed in the 3rd world.
>You can't use a wok on them.

Buy a cast-iron wok from Staub, they work wonderfully.
If the artist is a very strong believer in crypto, and the art itself is mostly notable because it's an NFT, or directly references something only NFT people know, then it becomes somewhat relevant where it is.

Like, if a painting is OF the Louvre, and also in the Louvre, and the whole thing was intentional, the self reference becomes relevant.

A lot of NFTs seem to be part of a series specifically meant for blockchain. I'm sure there's at least a few blockchain specific cultural elements some include. But I don't actually pay any attention to NFTs so I don't know.

I'm not at all a NFT fan... but I don't think it's completely impossible that the location isn't part of the piece, it's almost equivalent to the frame in some cases.
If some method has several dependencies that are tangentially related with what I'm testing, I'm going to mock the shit out of them, and let people know we should do something about it.

Testing "the real thing" sounds fun until the budget for new features skyrockets, because several man-weeks are needed to get decent coverage. Your client will hate it, and your client's clients will hate it even more.
“It's Your Fault”
We've just launched a completely new version of our Push to Kindle app for Android.

It lets you send web articles you encounter on your Android device to your Kindle. The articles can then be opened and read like the books in your library. Many people find it useful for reading long-form web articles, or just saving material for later reading.

The new app is free to use with a 20 articles/month sending limit.

The easiest way to use is it is to have the Amazon Kindle app installed alongside Push to Kindle. We'll then use that to handle the delivery.
those are ideas on a shelf. even stackexchange dropped openid years ago
It is worth adding "Is this fulfilling?" or something similar as a second question. Going for a walk with friends is hard to justify as "useful" per se...but it is fulfilling and necessary to a good life.
I'd be interested in pointers to any of the serious critiques you mention.

I find reading the early revolutionary sources for the French, American and Russian revolutions that they're really not asking for anything we modern folk would consider too wild, since they were basically reacting against monarchy, aristocracy or a proto-capitalism run largely by the aristocaracy.

Comparing Russia against America with its long, if flawed, history of Socialist (yes really) and Republican (as in anti-monarchy) Democracy seems to make much less sense when the revolutionaries that apparently should have known what Marxism or "The Terror" would lead to were asking for that same basic stuff as the American ones.

I mean the basic point of this python joke (other than punning on 'class') hinges on "all men are created equal"

https://en.m.wikipedia.org/wiki/All_men_are_created_equal

And the famous Animal Farm seems to take a similar view:

https://www.cliffsnotes.com/literature/a/animal-farm/critica...
These are the worst, but there is another annoying type as well, on FB and LinkedIn based on emoji reactions:

"Which is the best city??? (like) for London, (love) for Paris, (think) for Berlin"

This type of stuff gets millions of likes in no time either.
exactly - somehow we managed to survive a long time without needing to know 'instantly' that 'something' is happening 'someplace'.

Most of the instant reports are just plain lies anyway - watch any of big news channels when there is some breaking news - they literally just sit in front of the camera and make things up to fill the airtime with useless speculation, devoid of any real facts or news - I can tune in 6-12-24-48 hours later and read what really happened if I want to.

Same thing happens on twitter - some big event happens and ten's of thousands of people start commenting on their version of 'the facts'.

Take a 2-3 month break from twitter - see if your life is any worse of for not constantly being 'in the loop'.
Perhaps we need an antifa style hacking group to take down infra/tech like this which is inherently anti-democratic ? I'd love someone to destroy that cloud database and put Tek Fog back at square 1.
Ouch, right in the start.

They started using that pronoun only 3-4 months ago, so it still slip in. I'm more puzzled why 'we' but not 'our'?
it’s called “python characteristics”
Resigned some time ago from my last job.

I’d much prefer a comfortable salary and working 3 days per week than more salary than I need and working 5 days a week, and I definitely want to keep those extra days to work on my own interests.
I'd still be okay with wearing the compute, just put it on my back or something. Having a ton of weight on my head is tiring.

The communicate via fiber or wire to a light headset.
Yes. It won't work in normal apps but will work in RetroArch/Moonlight etc
That is adorable
Very interesting prototype. The thing I fear after a surgical wound, is always that the suture will collapse/broke.
I guess `import fascism` would be still fine
>Accepting that will not change how I feel around them.

But perhaps accepting the fact that you're more innately less trusting than the average person could (assuming that's true, of course)?
Thank you, very encouraging. Really thanks!
GP doesn’t claim its double their electricity use, but that it would double it, which means it’s about equal to their current electricity usage.

Still, 2.4kWh is very low. I think it, in the western world, even is hard to achieve for a single person household that doesn’t use any electricity for heating or cooking, has a gas-powered refrigerator and no, or a gas-powered, clothes drier.
My carbon steel wok works perfectly on induction.
Systemd: The Biggest Myths (2013)
It is no crime to think nothing new is worth learning. Still, bragging about it on the internet invites well-deserved scorn. Don't like scorn, don't advertise.
Because here despite the finer, they still dare to sell 50, 100mbit connexions, 1Gbit max. I would like to liberate myself from this local oligarchy.
Carnivore diet seems like a perfect excuse for people who don't want to eat their veggies. If you could provide any proven benefits of this diet that other diets don't provide, I'll change my mind.
> We think “left-wing” and “right-wing” aren’t very useful ways of seeing the world, and that they make a lot of people falsely believe that they disagree with each other. We’re not driven by ideology, we just aim to do what works.

I don't think that great way of describing political positions, but they are at least _a_ way of describing political positions. If they are going to reject the terms, I'd prefer they at least answer the question in a better way instead of rejecting it.

But...

I do not think left and right trick people into falsely believing that they disagree with each other. Instead I see them as an acknowledgement that political positions tend to cluster. Add in an election system that tends towards two party rule, and left and right wing sorta makes sense.

Everyone is driven by ideology. I think those that say they are above ideology don't really get why different ideologies are different. People's political positions are an expression of their core values. There have been a few books I've read that make the case for this. I think The Righteous Mind by Jonathan Haidt does it best.

One thing he discusses in that book is an ideology can represent a mix of values or be an expression of a single value. One bit of research he showed had people doing a test where they were told to answer as a person from a different ideology. He found those who belonged to single-value ideologies did worse. In particular it could be seen that these participants assumed people of other ideologies believed in the same one value but where just worse at achieving it. I bring this up, because I think it is going on here. For left and right to falsely believe they disagree with each other, they would have to be trying to achieve the same goal. The same values.

I think the Party says this because they want this to be inclusive of people from other ideologies, and I think they earnestly want to achieve that. But I think that thinking about it this way will prevent them from being successful. With this mindset, I think they are most likely to end up with whichever ideology is biggest becoming absolutely dominate. Similar to what happened with Occupy Wall Street. I think they'd get better success on this goal if they learned why different ideologies are different, what the different values they are aiming for are, why the core Pirate Party positions align with those different sets of values, and for other issues try to pick positions that best serve multiple sets of values.
you're confusing what communism is about and what people did

In Italy existed a communist party for 70 years, from 1921 to 1992, it was called PCI (Italian Communist Party) and did nothing of the sort while at its peak obtaining almost 40% of the votes in free elections they supported and helped to build fighting for Italian liberation from nazi-fascism (among other partisan groups)

we don't mix the concept of free country with slavery because USA did it for 2 centuries, do we?

I understand US of A has been indoctrinated to anti communism and prefer being pro-nazi than mildly socialist, but it's a big mistake nonetheless.
This is true, and I expect that. Some concepts take time to understand and even longer to master. What I mostly find lacking is the lack of a high level map. What pieces do what, how they interact, then dive in. But the lack of context makes very difficult to keep plowing.

You don’t really know where you are going while typing boilerplate that barely makes sense, or jumping through 3 ways of writing a function (depending on the version , not on the actual necessity) when you have never used a function in the first place.

This makes harder to understand the concepts and make them stick.
You're probably talking about something else, but it took me a while to realize that many features are hidden behind a right (or is it middle) click.
Plus, it was clear that online shopping could work and offered certain advantages (and disadvantages). It was also pretty clear that online access was only going to expand, which would make online shopping more attractive.

It hadn't hit a peak, but it was clearly _doing_ something that wasn't scams.
NowLight also relies on pulling though. The difference is just that you pull for a few minutes, instead of lifting something heavier for a few seconds, and then let _that_ pull for two hours.
Control via phone will actuallly be the best.

I could buy a bunch of expensive hifi qualitu knobs and potentiometers and build my own panel to control the stove.
why not just use

<form action="https://example.com"><button type="submit">Link button</button></form>

no need for JS
In some parts of the world... Where I live it's not unusual to see a grizzly or a herd of elk outside your door.
Yup. Of course everything that has "blockchain in it is "the next internet".

Now this ridiculous claim is taken further: it's not even the internet, but "the fundamental infrastructure of the internet".

Whereas all signs point to it being a Juicero, an Enron and an AT&T ISIS Mobile Wallet rolled into one.
Written in python?
So it's trash.
I won't use it.
I care about my time
And nerves.
Electric cooking is awful, gas is superior except for boiling water. Induction will boil water much faster.
I wish this worked for Vizio Smartcast.
I never understand critiques like these.

> "somehow no one appears to have managed to find a positive use for blockchains that wouldn’t be better served by blockchainless technologies"

There is now a sovereign nation state that accepted Bitcoin as a currency, and, mark my words, no doubt more will follow this 2022.

Replacing central banks, and by extension, their grasp on the limitless money printing, is the whole reason why bitcoin and it's blockchain exist. And it is working wonderfully well.

People in countries where the central bankers and politicians are letting them down are flocking to bitcoin and other later inventions (such as stable coins).

Just check these countries:

- Lebanon: https://www.aljazeera.com/economy/2020/2/25/distrust-in-leba...

- Turkey: https://etfdb.com/crypto-channel/as-turkey-lira-falls-bitcoi...

> "Rampant inflation is once again plaguing Turkey’s local currency, the lira, but one saving grace could be its citizens using bitcoin to supplant the plunging fiat currency."

- Also Turkey: https://www.nasdaq.com/articles/turkeys-inflation-is-an-exam...

- El Salvador: https://www.theguardian.com/world/2021/jun/09/el-salvador-bi...

- And El Salvador again: https://bitcoinmagazine.com/culture/bitcoin-el-salvador-geop...
> My wife recently suggested a possible one: NFTs minted by your university as proof of your diploma. Or perhaps your academic transcript. No way to forge a fake diploma again.

You could already do this using x509 certificates signed by a university owned CA. No need to use blockchain here.
Pardon my ignorance, does this mean you won’t have allergies if you take an immunosuppressive drug?
> Both of those things had very clear intended purposes at inception.

You're this close to understanding the whole of the crypto/web3 space

> Seems completely orthogonal to the question at hand.

It really isn't
Very clever to use the entire stitch as the antenna, it has to be there anyway so you might as well make it dual-use.
Current level of NO2 in our city, as measured by the official sources is 48 um/m3, with the official safe level of 200.

Why is my gas stove a problem?
Average Length of Homeownership
Show HN: Documentation Generator for Data Pipelines
Hey kevq, thanks for simple.css. I started using it last year on my blog and love it. After some modifications, maintenance work on styles has reduced considerably. Love it, thanks.
or the one you don't know about

https://en.m.wikipedia.org/wiki/Italian_Communist_Party
In Sweden we use https://biluppgifter.se.
Yeah but the advantages of video calling are obvious to anyone immediately. Same with the internet.
I don’t think that’s unique for construction of tunnels in loose ground.

Such projects typically go over budget because one offs are hard to cost estimate, and politically, you can’t sell a project that will cost, say “between $X and 5 × $X billion”. Saying “X billion” is a way easier sell a project.
Any of them. There are so many it's hard to keep track.

https://web3isgoinggreat.com/

Filter by hack/scam and look for all "error in contract code"
Touch controls mean it’s much easier to clean. For me, that’s worth more than slightly easier usage.
Wow that would be exceptionally expensive. In cold areas I've seen people with moderately sized homes have $1000 bills in the cold months in ontario.
>you're confusing what communism is about and what people did

The trouble with communism is as ever that it has to be implemented by people. Communists as ever tend to gloss over this detail. As once-Marxist economist Thomas Sowell put it: great idea, wrong species.
Same.

People yelling about how it needs to be a turn based dungeon crawling RPG to count as a roguelike are like those dudes still mad about how eSports aren’t even actual sports.
We are often tasked with generating documentation for our ETL/ELT projects. These involve a large number of sources, transformations, and targets, each in a different system and format.
We created this open source project to ease the creation of pipeline documentation using a source-agnostic yaml format. Since it uses a CLI, it can easily be embedded in a CI/CD process to make sure the documentation is always up to date.
Would love to hear feedback and ideas for improvement!
TinyBase: A JavaScript library for structured state
a gas stove is just unmatched in how much easier and better it makes cooking.

I agree with you there. I've had gas for the last ten years, and recently moved to a place with induction. It's a significant change.

I had regular electric for a long time before I had gas, so there was an adjustment period there, too, but I got used to it pretty quickly. But induction is somehow very different from either of those two.

I've been on induction for six months, and I still have such a very hard time with temperature control that I cook at home a lot less than I used to. It has a thousand controls, but only seems to have two settings: surface of the sun, and off.

That said, I'm OK with the move toward eliminating natural gas in homes. I just wish I ended up with a regular electric stove top instead of induction. But it's an apartment, so you get what you get.
Interesting, thanks. That's still a step forward from where I thought we were. We'll get there.
Less clutter.

I like ML and Python syntax.
Scala ditched the JVM and has lifetimes now?
Thank you for these counter-arguments. It's good to have them to make up your own mind, especially when recognized experts use a mocking tone "you will no dare think the contrary".
Why just dinosaurs? There were a lot of other fascinating *saurs besides dinosaurs.
I never understood this argument. If God was against these medicines, why would He allow them to exist?...
Awesome resource! Thanks for making and posting it :)

The biggest resistance I get is around this "part time/full time" divide. They basically think that 4 days = part-time, which usually means a temp or entry-level person. They argue that the work isn't the kind of work that should be classified as part-time. It takes lots of convincing to say that this is still full-time.

I've been thinking of writing some sort of guide around all the various arguments I get and ways I've implemented it at previous employers...
You’d have to get those countries to agree on a common set of governance rules, and inevitably some bloc of countries would eventually fork and go it on their own because they want a different set of rules (e.g. mandatory biometric data, inability to update passport data like gender, etc). I’m not sure it solves any problems that the diplomatic system doesn’t already solve.

This also ignores that the costs and delays associated with passports are frequently the point — you can’t have a corrupt official ask for a cash payment to “expedite” your passport / visa application if it’s fast to begin with, and doling out those kinds of patronage positions to the right people is often how you build a winning political coalition domestically.
Afaik there’s no exact translation for “tall” in french. There’s “grand” (big) and “haut” (high) that would be used to translate tall in different contexts
> just opened a file and...ugh

Looks just like regular PHP. So what's the point? Or did I miss something?

/s
Good points. But it feels like someone who isn't able to contribute to engineering trying really hard to justify a higher salary on some purely functional level. And not that marketing isn't critical, but the article is overselling it.