skysight-inc/HackerNews huggingface dataset:
> Say, initially you were told "if I click this button the status should
> update to complete", you write the test, you implement the code, rinse and
> repeat until a demo. During the demo, you discover that actually they'd
> rather the button become a slider, and it shouldn't say Complete when it's
> pressed, it should show a percent as you pull it more and more. Now, all the
> extra care you did to make sure the initial implementation was correct turns
> out to be useless.

Sure, this happens. You work on a thing, put it in front of the folks who asked for it, and they realize they wanted something slightly different. Or they just plain don't want the thing at all.

This is an issue that's solved by something like Agile (frequent and regular stakeholder review, short cycle time) and has little to do with whether or not you've written tests first and let them guide your implementation; wrote the tests after the implementation was finished; or just simply chucked automated testing in the trash.

Either way, you've gotta make some unexpected changes. For me, I've really liked having the tests guide my implementation. Using your example, I may need to have a "percent complete" concept, which I'll only implement when a test fails because I don't have it, and I'll implement it by doing the simplest thing to get it to pass. If I approach it directly and hack something together I run the risk of overcomplicating the implementation based on what I imagine I'll need.

I don't have an opinion on how anyone else approaches writing complex systems, but I know what's worked for me and what hasn't.
Does that mean it's not disrespectful?
I have been asked many times over the years whether my job is "permanent" or not.

I always found it amusing, obviously they generally mean is it a fixed-term contract, or probationary, or whatever, but in industries where layoffs and bankruptcies are regular occurrences it's a pretty meaningless distinction.

I've been known to reply flippantly with "well, I'm only alive temporarily."
>Does this person have 200M to pay back? If not, put him back in jail

The US doesn't have debtor's prisons.

They should be in jail, but not because they can't pay fines.
Yeah, I think electronic voting with voter-verified paper backups is the best we can do. That's what we use here--there's a long paper tape in the machine that your vote is printed on and you confirm it's right. Any attempt to mess with it would require tampering with both the machine and that long tape--can't splice in a part.

And I don't think it's so much they want faulty systems, but rather that as usual with closed systems there simply is no incentive to do better.
Maybe you disagree with GP about whether one should always do all their research without actually learning about the problem by running code?
That's definitely part of it.

The article is really quite good. Much, much better than the discussion here prepared me for!
All while having a newborn and being a fantastic dad :)
Every single strawberry sold commercially in the Netherlands is irradiated. Not for parasites, but fungus AFAIK.
qualcomm ceo said that we can reduce transistor sizes by a factor of 1000 before we start seeing issues caused by quantum entanglement.
There are great progressive server-side rendering libraries out there these days, but most companies are shoddy and have no reason to care about their craftsmanship. They make money either way, and lots of it. If you really care about quality you build it yourself, it's that simple.
It's in the article. Not only did they send them to Jail, one of them is still in jail, and the other is in home confinement.

Given their age it may end up being a life sentence.
I know, but it's the only opportunity I've had to promote that earworm on HN, so I had to grab it.
Vroom: Read and Write Rectangular Text Data Quickly
Can you confirm that Dragonfly has all of the CPU vulnerability mitigations that Linux has, including Retbleed, Spectre V1, and Spectre-BHB? FreeBSD does not have those three.

It would also be good to read about Dragonfly's exploit mitigations. Are these documented somewhere?
Can you SSH into the remote machine? Visual Studio Code offers quite solid remote development tools through ssh (maybe other means too): https://code.visualstudio.com/docs/remote/remote-overview

I would guess that it also supports debugging.
MercadoLibre to create cryptocurrency as part of loyalty program
Indeed, this has become pretty much the authoritative source for prog rock information. It seems to be what everyone refers to from all the online communities like reddit.
People always like to blame private prisons for everything, despite them being a tiny fraction of prisons (8%).

It helps no one to blame the wrong thing.
See: https://en.wikipedia.org/wiki/Memoization
> Mixers (or "tumblers") work by collecting up a bunch of deposits, which get coalesced into larger chunks over a random period of time, then doling out portions of that chunk as withdrawals at a later time. Naturally, a percentage of the deposits (1-3% normally) typically stay with the service as profit.

Actually I think the v1 contracts did not require or accept a fee for usage. I'm not sure about their v2 contracts which incorporated some sort of governance token called TORN.
An astounding accomplishment no doubt, but Nims is clearly very arrogant and self-centered. In addition, he didn’t reach the true summit of Manaslu, and has likely lied about other aspects of his climbs (for example, claiming to have climbed Kangchenjunga without supplemental oxygen)
Looks great. Would you consider making this Ortholinear? I used to use the TypeMatrix 2030 & loved it. The issues were it's durability, necessity of using skins, non-programmability, & it's usage scissor keys. I have since switched to the Ergodox EZ for home & Planck EZ for travel.

The Planck is compact, durable, & programmable...however what's missing is an ortholinear programmable travel keyboard with a full assortment of keys & durable low-profile switches.
I think many are forgetting that Paypal has owned Venmo since 2012 [1].

[1] https://en.wikipedia.org/wiki/Venmo
To the contrary, viruses are not intelligent, when mutations happen at random, the best way to prevent mutation is to prevent infection and length of infection.
As @yeutterg says below it is possible to self certify CE.

For prototyping the body, I initially 3d printed it, then moved to 1 off cnc milling. For this I mostly used Geomiq (geomiq.com), which farms it out to various countries (mostly china from what I can tell), then they make it and send it to you. I plan to have the case manufactured in the UK — I found contacts for this because I happen to work in the automotive industry in the UK currently. The most difficult part of the case will be anodising which will require a lot of trial and error.

For the plastics, they are all 3d printed for prototyping, and will be injection moulded in the UK for production.

PCBs are printed in China for prototyping. Not sure where the production PCBs will come from yet.

I can give you more detailed info if you'd like.
Well, performance is roughly = clock speed * instructions per cycle.

When intel was dominant (pre-Anthlon XP and pre-Core era), Clock speed alone could have been used to measure performance. Then, AMD Athlon XP come out with higher IPC than Pentiums, but the customers were used "Higher clock, higher performance" even though Athlon XP was faster at the same clock speed.

So, they've changed model names to indicate performance parity, that was the game intel played. They didn't lie or mislead about clock speeds anywhere.
TDD is a great example of where major differences between businesses and departments has direct impact on your software engineering.

When business people don't know what they want, do not try TDD. It will be a waste of time. When people do KNOW, or you have a RELIABLE subject matter expert (at a big company you might have one of these), TDD is a lot safer and easier to do.
Two of the Southwest flights are known to be mechanical related:

https://avherald.com/h?article=4fc19a3b&opt=0
https://avherald.com/h?article=4fcfe330&opt=0
Is this even an unusual number? Diversions are not uncommon, no?
Yeah sure, it's basically memoization applied to processes & distributed across the cloud
It's bizarre to realize that most people don't want to eat bugs? How many people do you see eating bugs on an average day for this to be a shock to you?
For a specific recent example of this risk we can look at Nvidia who put down huge deposits for N4 wafers and now doesn't have enough customer demand for those chips.
Yep, I'm pretty anti-test because I've yet to see it ever payoff at any company I've worked at. That said, I keep hoping I'll catch the bug, be converted, have it click in my head. On the surface it seems quite nice but it's always with trivial examples. When you are dealing with real code I've had testing fall apart very quickly and/or make refactors extremely painful. And on top of it all, you are writing twice as much code in a world that doesn't care that you wrote tests, meaning it takes you longer to do that same work
This supposition that only book-length text blocks deserve appropriate spacing is fascinating to me.

Do you write code this way?
Unofficial Spotify Client for the Nintendo Switch (PoC)
As a matter of legality, that's wrong, of course. This is copyright violation. For whatever that's worth.

But I think the bigger point is, if you're a fan of WTLS, it seems very odd to be so disrespectful of WTLS's desires. I can only conclude the the party who put up the archive is someone who wants to hurt WTLS's feelings, or at least is quite willing to do so.
I don't understand what you mean. Can you provide an example?
> Google explained, “we are looking to surface content that will be viewed as helping and adding value to the topics searched. Creators who are specifically creating content for search engines first, which include AI-based content, may be impacted.

Finally, Google started punishing AI generated content. This is HUGE!!
One funny thing about being a largely self-taught guitarist is that I spent years with the instrument not knowing the names of the notes I was playing. Especially since guitarists tend to play a lot of tablature, you can get surprisingly adept without knowing the notes. This works out ok for a while, but eventually becomes limiting as you try to expand your fretboard and music theory knowledge.
CSS Grid Layout would be the modern way of doing that on the web. But even old school HTML tables could easily accomplish the UI in that video.
> invested at 5% return

What are some of the investments that can give me this rate of return. Also, the principle needs to keep growing to account for inflation too yea?
I see a lot of negative and dismissive comments from you in this thread. Perhaps you'd care to quantify some of the things you say are wrong. I'd also recommend against ad hominem attacks against someone who wrote an article you disagree with.

The "hardening" menu in the installer is pretty pathetic if we're being honest. "enable /tmp cleaning"... wow. I'm secure now.
credit card was common in France since the 90s, nearly every shop took carte bleu/crédit card. Going to Germany is like going back living in cave, it is crazy to be told to get cash at the ATM in the shop for 1000 euros worth of goods in media markt (Stuttgart, 10 years ago, I hope you went bankrupt).

However I love cheque, it is still available in France and I use them regularly. You can actually use it to pay your shopping, it is accepted in a lot of shops. It is perfect to pay something by mail, or to pay sports clubs license. No need to request the IBAN, no need to type it and hope you didn't make a mistake, no need to confirm with 2FA using your secret code and no need to wait for the transfer to go through.
Crypto can’t fix carbon offsets – but crypto fans are trying anyway
This is awesome, I will be installing and trying out later today!

I was working on a SML compiler [1] and language server in Rust as well, but I dropped the ball towards the end of 2020 as I had a PhD to finish!

SML is a great language, and I think some better tooling (like a language server) is all that it really needs to be useful.

[1] https://github.com/SomewhatML/sml-compiler
My source would be Iran Between Two Revolutions, but that's just going from memory. Maybe I'm confusing some other party, but I am fairly sure it was the National Front.

> What's boneheaded about wanting to control your own natural resources and de-colonialise your country?

No, the goal wasn't boneheaded, but the policies he implemented towards that goal were boneheaded. Nationalizing your #1 and basically only source of revenue which is propping up your society, when you don't actually have the ability to continue operating it by yourself, is boneheaded. Thinking that the British would stick around after you nationalized their assets(one mans nationalization is another mans theft) in order to help you figure it all out, is bone headed.

Likewise, rural people deserve freedom and to not be serfs to local lords, but at the same time, just setting them free
and thinking they will be able to manage the land as well as the centralized administrator immediately is boneheaded
This isn’t actually unique to powerwall users - this is a program for energy providers to supply emergency power. There’s a minimum amount of power needed to be eligible and a powerwall is too small. Tesla realized that they have the unique ability to manage a fleet of small batteries to act as a single large one to qualify.

Will the price go down in the future? Maybe. Is this a gimmick to get people hooked? Probably not, assuming Tesla isn’t paying end users more than they make to join in.
Yeah I plan to. Have some things to prep next week for ElixirConf but am going to get back to it after that.
This is so cool. I'm a Hyperwrite subscriber and would absolutely consider switching to Scraft.ai if it works as well as I'm imagining. Although GPT-3 can be a powerful ally when writing emails, proposals, documents, etc., on tight deadlines, for me personally, I find it's dreadfully easy to get "stuck" in vicious feedback loops as a result of the language model's tendency to expand rather than react. A great editor will push you to clarify sentences that are vague, improve arguments that are muddled, and (where I'm thinking, Scraft.ai might really shine) is a master of dialectic, poking and prodding at the logical substance of each draft and helping you to realize more clearly at each step of this iterative process what, exactly, it is that you want to say.

I look forward to giving this a shot! It's funny, I'll sometimes spark up a conversation with Socrates in the GPT-3 sandbox if I'm ever looking for a spirited adversary to pick apart an argument before I make it. Explaining one's thoughts to an imaginary interlocutor not only makes writing more fun -- joyful, even -- but in my experience, helps me produce a higher quality product vs. simply asking "mediocre Westworld fascimile of myself, fine-tuned on a corpus of mundane office emails I wrote" to finish my sentences for me.
One doesn’t often reach for a tool that isn’t convenient to reach for, even though that tool may be the best available for the task at hand.

If you force yourself to use the debugger more, you will in the process both familiarise yourself with it and iron out any configuration kinks. Learn those keyboard shortcuts, figure out how to make it autoconnect and break on exceptions, find out how to evaluate expressions on the fly, …

You + That tool = maybe goodness. Maybe not.
I have almost zero coding experience. Seriously, I've read a couple of books and I've taken a couple of MOOCs and that is about it. I've never 'launched' any project of my own, and I have zero front-end or back-end experience.

I say that because I just used Supabase for the first time, and I was able to build and launch the Slack clone in ~15 minutes. Seriously cool. Thank you for sharing
Nice link. Thanks for sharing. I took a quick glance and saw that most of them are for embedded systems. Apart from gdb, do you know anything more friendly for Unix and C/C++ programs?
I believe it does. From their pricing page, beyond the included quota it is $1 per billion reads and $1.50 per million writes
Thanks saiya-jin -- great insights. I think it's amazing how strong opinions can be on tools!
Who can't get a card? Anyone should be able to get a prepaid debit card, although it is a bit of extra hassle. Those work on the Visa / MasterCard networks, and are accepted by any business (except perhaps certain hotels and online services).
Give it a trackpoint and take my money.

You've already got the thinkpad palette on a modern form factor, all that's missing is the central, red nipple.
In this case, running "man 1 ssh" is likely the same as "man ssh" (ssh only has a man page in section 1). Many systems will have separate pages for for example "man 1 crontab" and "man 5 crontab".
Even if it wasn't someone from Azure, it's unclear what scam "Do you have a few minutes to answer some questions about how you use our product so we can better understand your use cases" could possibly be.
This is a long-standing question.

They teach stories in high school these days that came from manuscripts Franz Kafka explicitly demanded be burned upon his death. It is, perhaps, disrespectful.

Perhaps we all disrespect him with every new generation of students.

Perhaps that's a strangely fitting fate for the man who is the namesake of the term "Kafkaesque." I'd like to hope he'd laugh, but I know only the writings and not the man.
GT Flexa was super fun to work with. The numerals on Altar I are, as you can imagine, the widest and thinnest that Flexa would go! I also added a custom Egyptian "I", rather than the default "I" since it reads less like a lowercase "L".
What are SOC applications like? Generally for rich web applications with a lot of interactivity, you want to do client side rendering. Interactive apps can be deceptively complex to build and you really want to hire the right people for it. The spectrum of web developers you can find in the market is very wide which doesn't make it easy to find the right people. It also doesn't help that consultancies generally want to stick with the hottest, bleeding edge tools to stay relevant in the market and to motivate developers to come work for them.
SELECT Directly from the Browser
Show HN: Are You Ready for a Promotion?
Hi Supabase & Team

What are the chances of an official C# library being in the works? I think this would greatly fill the needs for unity devs. I use firebase on almost all game backends because of how quickly I can get set up with auth and a db.

I used supabase in my latest project and it served my needs but there were a few difficulties to overcome. The greatest shortcoming was the lack of real time support (C#), and I had to do everything via REST api.

I am planning on publishing the game as OSS and making some learning videos about it
49 or 50 is the average age when kids leave the house today. Average age of the mother at last birth is 31 in the US: https://www.bgsu.edu/ncfmr/resources/data/family-profiles/ca.... That's as of 2019, for women in mid-late Gen X. The average. The number will drift up a bit with millennials, but since the average age of the mother at first birth has gone from ~25 to ~27 I wouldn't expect to go dramatically up.
The more general someone is, the more cost specificity has, because there is more to be specific about. So people reach for words that describe generality. The problem is that a word like tall, though general, isn't specific enough to be accurate. Different communities have different ideas of what tall means, because the height distributions are different. Full stack means there exists a stack for which the person who claims to be full stack has expertise across the entire stack, but since different companies have different stacks it isn't clear what exactly that means except that describing it another way would presumably take more words.

It tells you something true about them, but does it in a way that has a lot of error. That might seem bad, but it isn't.

In communication there is this idea of progressive revelation. If you were sharing the shape of the world, you start by calling it a sphere. As greater interest is shown you proceed to pointing out it isn't actually a sphere, but an ellipsoid. Still greater interest leads to revealing that it is actually an irregular ellipsoid. Only if they are interested in getting more specific do you venture into talking about the irregularities of the mountains and the canyons. The full description of the shape isn't realistically shared - you live on the Earth, but you don't know its shape and if you ever tried to articulate it a stray gust would move a sand dune while you weren't paying attention and you would still be wrong.

Someone who is saying they are full stack is like someone calling the world a sphere - it is true to a point, but needs elaboration to produce a better understanding.
There's a whole (relatively new) empirical study of happiness, called Positive Psychology, that's been ongoing for decades.

The claim I made is broad, so it's not based on one experiment, but on numerous factors that point in the same direction. We are social creatures, and feeling like we are a part of a greater whole makes people happier. In the recent book Happy Money, the authors, two Ph.D. researchers in the area, describe experiments that indicate that spending money on others promotes happiness. Of the three components of Self-Determination Theory, one is "Relatedness", feeling connected with and caring others (contributing to a bigger whole). I'm happy to share more.
It usually works out like..

form a belief about a requirement
write a test
test fails
write code
test fails
add debug info to code
test fails no debug showing
call code directly and see debug code
change assert
test fails
rewrite test
test succeed
output test class data.. false
positive checking null equals null
rewrite test
test passes
forget original purpose and stare at green passing tests with pride.
If you are not a fan of big government do you view expanding the power of the federal reserve as dangerous?
> I received one of these as a text msg. I ignored the message and then checked my PayPal and bank to see if there was a charge of $400. There wasn't but I deleted my PayPal account just to be safe.

This. If your site is being used for phishing attacks, many users may just stop using your service, because it's not worth the trouble.

I used to have an automated list of popular phishing sites.[1] It's still running, but since it's driven by PhishTank, which isn't used much any more, it's not that interesting.

[1] http://sitetruth.com/reports/phishes.html
Note, this is a civil case against these judges. There was already a different criminal case where they were found guilty.

(this is all in the article)
Are we sure _why isn't somehow involved in this?
> Calling people idiots (as OP did) is unnecessary, but do we really need whataboutism?

Let's say I propose cars as an alternative to motorcycles, and you respond by citing the enormous numbers of deaths from car accidents. Am I doing a whataboutism if I mention that motorcycles have accidents too?

edit: "whataboutism" is an anticommunist propaganda term meant to defend segregation, but to the extent that it has a meaning, that meaning is: When I mention thing A that you do, it's a distraction when you mention totally unrelated thing B that I do. It's not when I criticize you over doing thing A, and you mention that I also do thing A.
It's not longer a free market if corporation big enough can capture it and essentially dictate the rules - and making it no longer free.

Corporations also can't do what they want - for instance they cannot commit fraud, evade taxes, sell dangerous products and so on.

You have something like that in sports, when in order for participants to compete freely, they are being tested for illegal drugs, so that no one has a unfair competitive advantage.

Free != do what you want.