skysight-inc/HackerNews huggingface dataset:
>Wouldn’t the second lever you can pull be your relationships? E.g. a close friend of mine works as a VP of Sales for EdTech startups. He knows every person to talk to at every school board. As long as the product is good he can (and does) bring in millions of dollars in deals with some phone calls and plane trips.

If you can pull this type of lever you should be a sales rep making sales based commissions.

IME, the relationships you can build from Pre/Post-Sales are more around being an expert advisor/consultant. For example, a few jobs ago I built up a really good relationship with a few customers who trusted that I was motivated for them to be successful. I could have translated that into becoming an independent contractor by basically saying that I'd do the same job for 50% of the rate they were paying to the company I worked for. But I was horribly bored with the product I was supporting, and doing more of that just wasn't appealing.

But the above is maybe 5% of the customers you work with. For the other 95%, the relationships are temporary and purely functional.
JaneStreet is not the only user of OCaml.

Both INRIA and the CEA uses OCaml heavily (Coq, CompCert, Frama-C). Cambridge uses it for MirageOS, Facebook to write software analysers and now web applications (the web version of Facebook Messenger), Citrix in XenServer. Bloomberg developed a compiler from OCaml to Javascript.
Why would you post a reddit censorship case like this to ... reddit?!
This. It's not that tests have no benefit -- they do, especially for complex refactoring (though even for that, as you say, tests are rarely exhaustive enough to engender full trust).

But outside of the narrow confines of production programming, it's rare that the requirements can be specified completely up-front.

In the initial stages of development, coding is very much a discovery process. Code is often evolved rapidly and drastically, such that any test written is a throwaway. And some of these tests/mocks aren't easy to generate. In data intensive applications, it's especially a chore to have to generate new mock database objects each time the code changes, and with completely different data characteristics to boot (in order to test different facts of the code).

The psychological tedium of doing this will put off most developers. The potential drag on productivity extends to more than just the time required to write test + code: the whole pace will feel sluggish and the dev is liable to feel demotivated.

I see tests being more useful as a retrospective addition, once the code has stabilized and the use-patterns established.
Never seen this word before :)

Simple explanation of the concept and the use of DCT though. Perhaps, written for a person who is Five times 5? :)
An 11-Year Old Firefox Bug still going strong
>> When people talk about "unit tests", a unit doesn't refer to the common pattern of "a single class". A unit is a piece of the software with a clear boundary. It might be a whole microservice, or a chunk of a monolith that is internally consistent.

Its OK to dislike unit testing, but please don't redefine the term to avoid it. That's not helpful. Instead try to find the papers (by NASA or IBM?) That show unit testing finds only very few actual bugs, making it low value.

That said, there are IMHO some units worth testing more.
I’m sorry but this is so naive.

They were billionaires yesterday and they’re going to be billionaires tomorrow. Their reputation is going to be fine because we live in a society that absolutely worships money and those who have it. People with that kind of money can pay to scrub the internet.
> I am not alone in accepting that certain devices will only run manufacturer approved software.

You certainly are not, but that doesn't mean your opinion is the only valid opinion

I don want to be married, I don't think other people should be forced out of marriage because it's ok for me...
I think TDD is a specific reference to the approach where you always write the test first, i.e. 100% coverage

Could be wrong, but that's how I've always assumed it is intended.
Yesterday I made a glue program that imports my model code and http code and makes requests to my running server.

I’ve loaded it with assertions and anytime my server code is wrong—it’s just so easy to find out.

The biggest issue for me is trying to get XCode to launch my server first and my test program second every time I make a change.

Besides that—having the test program is a joy. Took me an hour to setup.

All this is to say—testing is very much alive and well in me.

The biggest mistake made is that these IDE’s or programs usually make the testing command something you need to run besides the program. They really should run together. Once click. Test everything.

PS — my favorite testing framework is MPWTest because it brings my code to life as a living document.

With HTTP or server code it hiccups of course—hence my need to roll my own.

https://blog.metaobject.com/2020/05/mpwtest-reducing-test-fr...
If only we had a source of relatively clean power that was efficient to generate and created enough energy to last until we can make renewables sustainable. Something extremely energy dense with the ability to generate regardless of conditions...
Which is why these polls are important ways to ask the community what it wants.
"I don't know if a project like that can actually happen in the observable future."

Why not give him a try raising enough money to accomplish it?

In todays time anything can go viral quickly.

Maybe it will be only enough for a small, limited one?

Maybe only design work?

If you support maritime exploration, why not out of general principle also this?
Maybe it goes off. In the context of saving the oceans and climate change, I think it is possible, but I also don't know more facts than the article that just described the dream.

But I am not aware of a project with better planning where this could draw ressources from. So, why criticize it to the ground from the start?

Because it is not your project? Well, this one at least has news article coverage and HN front page. I would call it a good start.
Fighting battles through protests seems like it is mainly a case of who can afford better PR companies, win the war of attrition and has a whole lot of luck along the way. In addition, at least with a court case you can be sure public opinion doesn't just forget about it in a few months and moves on to the next hot item to protest.
8bit I/Q definitely can be used for WiFi. I used HACKRF to send and capture Wifi packet without an issue (offline, use Matlab to process the captured I/Q samples).

Low resolution I/Q (8bit) will impact the RX sensitivity and TX EVM, but it won't be a factor that will totally fail the WiFi implementation.
You can use PyML to call python from OCaml in the same way, and it works fine to pass an owl ndarray to numpy.

As a user of both, I think they have different treadoffs.
I tend to use OCaml when I am playing around with the code because I find it infinitely easier to refactor (and to figure out what I was doing if I leave the code rotten for too long)
I never understand why doctors are not blamed for prescribing these. Are doctors not supposed to be responsible for prescriptions? If they are not, should we stop allowing them to prescribe? Why don’t doctors unions throw out members who would claim to have been hoodwinked by pharmaceutical companies?
Actually, this is a good thing IMO. It is bringing out how heavily manipulated most if not all the major platforms are. Even HN.
Sadly from my research of cheap and hobbyist SDRs, you generally aren't gonna get high bandwidth. I have a limesdr-usb sitting around which supports ~60mhz bandwidth iirc which wasn't good enough for a specific application I looked at which required a channel width up-to 192mhz. Although I'm also an absolute RF noob, do I may have misinterpreted something.
Biogen conference likely led to 20k Covid-19 cases in Boston area
Our CSS isn't scaling so we're hoping Tailwind CSS can help
Probably, although maybe you can get a job in such shop as a software guy first and learn the ropes there.

Anyway, my bigger point is, if you hate focusing in front of the computer, then software engineering is not a career for you and you need to retrain for something else. But, it's very uncertain if you'll like that other thing. So, maybe it's best to just accept the drawbacks of the current career, as other careers might not be better.
To be fair though, if your tests are at the right abstraction level, the specific approach you are choosing for the implementation shouldn't matter for the test.

Writing the test first also forces you to think abouy what API do you actually want to expose. Once you got the API right, there is still room for experimenting.
>Reddit is a Democrat/Chinese Tencent organization with a political agenda. This sub and r/conspiracy and maybe a couple others seem to the only places where at least some discussion is still tolerated.

Regardless of Reddit's sins, this sounds like typical irrational political fighting.
I flushed Google's DNS for the domain and it looks normal now.
Marketing for Startups – Book
It was his last guilt trip!
Microsoft at least used to send engineers over to answer support phone calls occasionally and it provided a level of insight into users they wouldn't get otherwise.

https://devblogs.microsoft.com/oldnewthing/20030816-00/?p=42...

Even Bill Gates did this:

https://devblogs.microsoft.com/oldnewthing/20091123-00/?p=15...
Over the years I've worked with many developers who don't write ANY unit tests, relying only on integration tests and this has caused severe bugs that could have easily been caught by unit tests. This has cost the companies they're working for a fair bit of money.

I've called this developers out and they often seem to be anti-unit test or against unit tests as they think it slows them down, when in reality the cost of cleaning up afterwards costs more.

When you start writing code with unit tests in mind, you generally follow best practices, and start to realise if a "unit" is too big and needs to be split up into smaller units. That and mocking I've found that the anti-unit test developers I've worked with commonly aren't keen on mocking stuff out either (but again, that's all anecdotally).

Generally I find Fowler's guidance on the test pyramid is always worth considering.

https://martinfowler.com/articles/practical-test-pyramid.htm...
That's a good point - we're still doing TDD, just with "human code" instead of computer code. You're correct that they write out explicit test cases for each of the acceptance criteria.

It's not cheaper than developers doing the testing, but it's more wholesome. They will test exactly how a user operates, with no regards for a software's boundaries. If part of the requirement is fulfilled by another team's software, they will test that other team's work. This works great for my team since we are highly integrated with the rest of the enterprise.
Some thoughts attributed to ca. 600 BC:
http://www.perseus.tufts.edu/hopper/text?doc=Perseus:text:20...
I wonder how the current contraction in the airline industry will effect their plans or funding.
Amazon TV adaptation of Iain Banks' Culture series is cancelled
Supersonic flight is easy. Efficient supersonic flight is hard. Aerodynamics, aerostructure, propulsion all of them are trying to break you. Controlling all of them would definitely be an achievement.
I actually didn't realize it was a joke until reading the HN thread lol. I like it!
Paywall, didn’t read
See, and I had the opposite opinion. I work with HPC all the time (computational biology) and have built (small) clusters. When I saw the price I thought — yep, that make sense for a novel (and core heavy) HPC node. It’s on the high end, but not an outrageous price. Normally with something so new, you never actually see a price (if you have to ask...).

Especially when you consider that this is a new HPC architecture, that’s not an unreasonable price. As others have mentioned, this is a SKU you’re buying to evaluate a significantly larger purchase.

There isn’t exactly a lot of pricing pressure on the processors. Top end HPC always has the biggest margins because this is a market where absolute speed tends to trump all other factors, including price. A better price comparison might be an IBM Power HPC node — another fairly novel architecture built for raw speed and HPC.

Plus, it is entirely possible that the cost difference of the node (compared to x86) is completely covered by the power savings. HPC is very power hungry. So a significant savings there could make up for an increased node cost.
This may be the case (my memory is fuzzy) but the 'hyperloop' stations would also presumably be set up on the outskirts of both cities. So for fair comparison you'd have to take that into account.

So from, say, South Edmonton Commons (IKEA) to the Calgary's airport, you're looking at only a 2.5 hour drive according to Google Maps.

Even if you could do the hyperloop in 1/2 hour, as others have pointed out you'd still have: ticket booths, security, boarding time / line-ups, acceleration and deceleration time.

You can already get from YEG to YYC by airplane in under an hour. But we all know it makes little sense because of all the inefficiencies at airports. I don't see how the hyperloop would be that different.
Now that the post has more than 500+ upvotes, better give a number beyond 1000 for a conservative and believable value. I almost felt it was not true before clicking it, but clicked any wa. :)
>> Why don’t doctors unions throw out members who would claim to have been hoodwinked by pharmaceutical companies?

Because of the...money? There is/was plenty for everyone.
> People with that kind of money can pay to scrub the internet.

I'm sorry but this is so naive.

Maybe true if you've got a bit of money and a little bit of notoriety, but I don't think that it would be possible to dissociate the Sacklers' name from the opioid crisis anytime soon.
Kitspace Newsletter #1: Assembling Projects
>I would be surprised if the actual loss was anywhere near the amount it cost to run the investigation.

That is true of lots of crimes, but it's not reasonable to then conclude we should not prosecute those crimes. Prosecution does have a deterrent effect. See [1] for a good overview of the field.

[1] https://www.journals.uchicago.edu/doi/pdf/10.1086/449268
> Winforms was king. MVC wasn't fun to write with

Having worked with both, I have exactly opposite feelings about the two platforms. Except speed of development, I have absolutely nothing positive to say about Webforms.
Not doing TDD isn't not testing. TDD is writing failing tests first and then writing the code to make the tests green (red, green, refactor).
Is this can be used as a feature extraction for image recognition task ? I read some time ago someone used jpeg compression as a feature extraction before DNN.
The Rise and Fall of Circuit City
Stop worrying and start loving the Electoral College
Germany had a role in the 9/11 attacks by letting the Hamburg cell slip under their radar
Everyone likes money, but that doesn't mean they respect those who have it. Do you think more highly of the oil countries that have bought a football club? In a way it's kinda satisfying that the price of respectability is so high; nobody thinks the gulf states are any better than before they decided to pay a bunch of young men exorbitant wages to kick a ball around.
then look at those 2U, 4x2 socket supermicros and think again. 512 epyc cores and 4TB of memory + Infiniband sell for USD 100k.

but you're probably right that noone buys 2 of these at that price. Probably only japanese companies proud of their country or whatever.
> is made significantly easier to implement by web bundles. (Because with web bundles, the server doesn't need to understand the URLs at all)

I agree it's a little easier than what I described because there are no longer separate requests to connect, but it's not much easier. On the other hand, if you're going to give up on caching and bundle everything into one file you could just have your server inline the tracking script. (Or use HTTP2's server push.)

Taking a step back, your last paragraph looks right to me. Ad scripts are very rarely served locally because there is an organization boundary between the ad network and the publisher (and a trust boundary), and they're large enough that you do really care about caching.
It's a knife fight out there with the current economy.

Keep trying.
TDD != writing tests, but it means that you write tests before you code. Many people write tests for their production code, but they mostly add them after at least some of the code has been written.

The idea is that you'll understand the problem space better by writing the test first. Which is IMO a valid assumption. But, at least for me, the problem space (interfaces etc.) is often a bit too fuzzy initially, such that it's easier to just write the first draft, and THEN test that.
Yeah I would just find a motivated junior Node.js dev, and commit to training them up for a month or so.
I think your post gets to the core point. My view is that 90% of the code is fine without tests (assuming a crud app and some way of catching type errors). It's just plumbing to get data from a to b. There's around 10% that it's important to test, the core logic.

I wrote a pdf parsing library and it's a joy to test and the tests give you a lot of certainty the code works because the unit is the library itself, the input is the file and the output is well defined.

But I really am beginning to dislike testing most code in a web app. If you have a pure calculation or some business logic, test away. For everything else some higher level tests give far more assurance, when you're moving fast those might even be primarily manual. A good rule of thumb I think is that a test using mocks is a bit of an anti pattern, they make you feel like you're testing code when generally you're testing your test.

The typical test pyramid is upside-down.
How so? Avtalegiro is offered by the creditor via my bank. I click a box to allow it and I can also specify a maximum that they are allowed to take. Every time the creditor requests a payment I am notified before it is paid. I can cancel it or in some cases, such as a credit card monthly payment, alter it.
> To explain this observed behaviour that TDD is clearly not a competitive advantage[2], I can name a million pet theories. But without going into any of those, the sheer fact that it's __this__ rare in practice says a lot, no?

Short answer: TDD is hard

Long answer: It takes a very experienced engineer to start and layout a piece of software so that it's easy to write and maintain tests. IMO, this is one of the advantages of server-side rendered web applications; it's much easier to write a test that verifies HTML than a test that verifies the state of a Windows / Mac application; or even the state of the DOM in a rich in-browser application.

But, continuing on that train of thought: It's much easier, as a developer, to write a test that tests an API, (either programmatic API or web service) as a unit than a giant monolith.
That is to say, bradleyjg's phrasing reminded me of one of my favourite bits of Alice in Wonderland on saying what you mean and meaning what you say: https://en.wikisource.org/wiki/Alice's_Adventures_in_Wonderl...
Can be for sure by examining the coefficients. It's a little hard but can be a way to do feature detection in the frequency transform.
I mean you pretty much tacitly said it with irony so...
> Why don’t doctors unions throw out members who would claim to have been hoodwinked by pharmaceutical companies?

If the companies are lying about safety, how are the doctors supposed to know? The only ones with the data necessary to know the dangers of these drugs are the manufacturers and the manufacturers were lying and covering up the dangers.
Gamers Reap Millions from Twitch-Fueled River of Record Cash
That sounds like something Peter Thiel would write
Ah, in that case yours is a perfectly understandable interpretation. May I ask which language?
If anything, I'd see the current state of the air industry being in favour of what Boom promise - the [im?]practical concerns of the super-rich are vastly different to those of the rest of us.
Facebook also uses it and will probably have more of an emphasis on it now with their ReasonML project
It’s actually Fujitsu’s former SPARC core modified to take AArch64 instructions, or at least that’s the story
> thermal nuclear propulsion

No way we will see something like this without military involvement. Thinking about the huge amount of money to be invested.
It is a fairly traditional way of doing it. TDD usually means you kinda know what is going on up front. If you work in a org where the sales guy can make up a feature and you need it done yesterday that can be a tough sell that you need time to write tests 'thats what we got QA for'. The refactor at this point is a daunting task. It would even be a decently expensive one. What comes out on the other end is effectively from the end users point of view, the same.

I personally like working with a decent QA team. They challenge you to do better. They take a special glee in breaking your code in ways you did not think of. You can also use their test plans to write automated tests. So that way they can go think of more devious ways to break your code. Also sometimes developers can go off the deep end and over do things. It is nice to have a semi neutral third party saying what is important to test or not. Also one thing to keep in mind is many of these integration testing frameworks are basically tedious coding exercises. Especially if you are external API heavy.

> it's definitely not a cheap alternative
You may have hit on why many orgs like the idea of TDD. It pushes the idea that I have someone who can write code well they can write the tests too. Skipping over the fact that takes time and energy away from other things.
+1

There are two audiences for tests.
1. Your current self, who is trying to ensure you're going in the right direction.

2. A future dev, who wants to understand the relevant info about what to expect from a module.
I'm curious what's going on with the languages that seem to harm a company's value. Adding PHP or Java to your stack appears, from these data, to be a poison pill for company valuation.

It could just be a statistical fluke, given this sample size and all the selection effects at play, but I still have to wonder.
> Interested? Reach out to hey@heyyyyyyyyyyyy.com to start our hand-crafted, three-month-long, white-glove onboarding process which comes with a complementary bottle of champagne, a traditional mud massage, a door handle from a vintage Rolls-Royce Phantom, a portrait of a dead European royalty framed in gold, Leonardo Da Vinci's left thumb, and of course, your very own heyyyyyyyyyyyy.com email.

I feel like if you read that part, it is pretty obvious that this thing isn't real.
Rust is a horrible language with empty promises. All above it has huge hype. Only kids get into Rust.