skysight-inc/HackerNews huggingface dataset:
Just say no, that path leads to madness. C is not the right language for fancy abstractions, it will come back and bite your head off when you least expect it. It can be done, but that doesn't mean worth doing. GObject suffers from some of the same delusions.

The whole point of writing C is to keep it simple and only build exactly what's needed. No other language I've tried comes close to supporting the same level of custom fitting. This is also the reason it's potentially really fast; more because it encourages simple, direct solutions than anything else.

Virtual dispatch is a function pointer, either embedded directly in the value or together with others in a shared vtable. A type id may be added to the vtable if needed. Avoid inheritance tricks, composition is mostly the right answer in C. Downcasting is a solved [0] problem [1].

[0] https://gitlab.com/sifoo/snigl/blob/master/src/snigl/type.c#...

[1] https://gitlab.com/sifoo/snigl/blob/master/src/snigl/util.h#...
Online drug dealers are similarly incentivized to sell oregano and baking soda, yet apparently there are plenty of real drugs being transacted as well, including quantities well beyond personal use. And it does depend on the jurisdiction: I'd wager that in (say) the Philippines and some parts of Central America a kilo of heroin would draw more police attention than a murder, unless the victim is well connected.

And to be clear, I'm not saying murder for hire on the Internet is a thing; I'm just mildly surprised nobody seems to have done it yet, especially now that cryptocurrencies have pretty much solved the largest problem of how to get paid.
i bought myself an asus win MR headset cheap to play about with, given that i only paid £130 its a pretty cool piece of kit but ive only really used it to play a few games like superhot VR and space pirate trainer.

Pros:
Easy setup, just plug 2 cables in and done.
Light

Cons:
not the greatest padding
not as adjustable as the likes of PSVR/Oculus/Vive
controllers eat batteries rapidly

in short its a nice cheapo VR system, at the moment there just isnt the content to justify spending upwards of £300 on a setup but i could justify closer to 100 just to play about with it and keep it in case something else worthwhile comes out
CenturyLink owns large swathes of telecoms infrastructure nationwide, and Level 3, a tfn/did resporg provider
You're not popular enough.

> unfollow

In the nastier situations, it's not people who you follow that's the problem. It's the people who @ you from a constant stream of new accounts.
Mailchimp vs. ConvertKits? Which is the better?
#4 is definitely rare. I've had it three times in my 20 or so years working. Both times I still talk to those people weekly, even 10+ years later.

It was funny at the time, because other people in the office thought we hated each other in both cases. The arguments that came out from the whiteboard were known around the company, yet we hung out every weekend and knew almost everything about each other. The 'arguments' were really just us hashing out ideas and trying to find the best solution. Last I heard, some of the software we developed then is still in use today. For me at least, that feels like a success that we made some decent architectural decisions given the constraints at the time.

Luckily, one of the times for me the other person was 10 years older. He was able to give me perspective that the team dynamics we had were very rare and to cherish them. I knew he was right, but didn't expect them to be as rare as it turned out.
Pork fat is healthier than kale
I don't think the list is simply a checklist in the sense that you decline candidates whenever there is a miss. I think it is rather a guideline to what to look for in candidates. You will have to make trade-offs with any candidate.
That catches a change, but doesn't give the reader the answer for why the code is like it is until they find the right test.
>wildly disparate patchwork of networks

This is true of pretty much all types of infrastructure in the USA, from roads to healthcare to electricity.
The UK used to be infamous for low quality bland food. So, it's not surprising that people tend to buy cheap low quality stuff there. Same in Germany (I live there currently). The quality of the produce in the super markets is quite poor. I recently was in Poland; they seem to have even lower standards/expectations there. Don't blame the Dutch, blame the local food culture (or lack thereof). The premium stuff gets shipped to where it most appreciated.
Just reading study guides and doing practice tests I bought off Taobao. The 6 months leading up I almost exclusively did Chinese classes (level around HSK5) and the 6 weeks leading up to the exam studied HSK couple of hours a day. I was a university student then and had a lot of spare time.

A nice trick I learnt is, don't spend too much time on the grammar section (if they still have it). It is incredibly hard and you will struggle to find native speakers that can explain the concepts to you. Instead randomly select answers and use the saved time on other parts.
> "you think is correct".

> `add` with `pass` or `return 9` is somehow deeply irritating

Similar to others, I understand this feeling. And I would urge you to get over it.

First, technically returning 9 for a test of add(4,5) is correct. Your tests define what the function does, not the name. If you are thinking "a correct add adds all numbers", then that isn't wrong, but it is bringing your tacit world knowledge into the code without that knowledge being expressed in the code. And that's Not a Good Thing™.

It also seems to me that what you meant here was not "correct" (because it is correct), but "general". And that's one of the points of XP/TDD: as programmers we have a terrible tendency to over-generalise. Really horrible. "Write only the code to make the test pass" works against that tendency (and also has the nice gamification effect mentioned elsewhere).

The other point is when to generalise. The first answer is "not", the second is "not yet". Generalise only when you have several instances, otherwise your generalisation will, what's the technical term, suck.

Last not least is how to generalise. TDD/XP essentially say that you generalise only as a refactoring, that is a behavior-preserving transformation.

So when you add the add(10,2) test case, the really pedantic way of doing it would be to handle the extra case with an if-check, then once the additional test passes refactor the add method to handle all those cases with less code, by removing the case-handling and doing arithmetic.

What that means is that you separate the coding that gets the tests to pass from the more challenging bits of coding where you need to generalise, with the latter always under full test coverage.

It's a really nice way to make progress.

And of course: use your own judgement. If things get to tedious, it's OK to leave out steps. At some point you will probably find that you are running into problems, at that point you want to slow down and re-introduce more of the intermediate steps.
Double pendulum's chaotic motion simulator
I don't think they are really interchangeable terms in this context, one is rigth the other one is wrong
Usdt/usd on bitfinex at 1.05 with margin trading
Now usdt/usd is 1.05, it's easy to see a profitable situation shorting the pair... Which is the trick here? Esay money..? mmm
The worst attack was against the Trezor; in that case, after your funds are on the device they could steal it, extract the seed, and steal your funds. Using a strong passphrase prevents this attack.

The Ledger Blue was vulnerable to sniffing the PIN entry by radio, but Ledger claims it's not usable in practice.

All attacks against the Ledger Nano required them to get access to the device then give it back to you.
Funding Alternatives Change as Your New Venture Grows
That's not "not being nice". "Not being nice" is something like saying "hmm, hi" rather than "Hey, so great to see you! You look fantastic!!" Being a thief is being a thief, being a liar is being a liar, and so on, that such things are "not nice" is a bonus, it doesn't replace what they actually are.

And unflattering truths isn't "coming after" anyone, either.

> Over lunch, Smith recounted a campaign of surveillance and dirty tricks Feld had unleashed on her in the wake of her 1990 magazine piece in the now-defunct Regardie's magazine. Feld, he said, had hired people to manipulate her whole life over the past eight years. Feld had spent a lot of money on it, he said. He may have even tried to destroy her marriage. In fact, Pottker would eventually learn of a massive dirty tricks operation, involving former CIA officials and operatives, that would target Ringling enemies such as People for the Ethical Treatment of Animals and other groups, not just Pottker.

[..]

> The final paragraph of George's affidavit was a stunner, too. It suggested Feld had set up a special unit, much like the Watergate "plumbers," to destroy anyone who threatened the image of the circus as wholesome fun for the whole family, not to mention a conscientious custodian of animals and circus children. It was headed by one Richard Froemming, one of Feld's executive vice presidents, George swore. His main target was People for the Ethical Treatment of Animals (PETA), and similar groups that had annoyed Feld with charges that the Ringling Bros.' elephants were badly cared for.

If someone does that kind of stuff, and their family doesn't "come after them" for it, it dissed itself harder, and more long-lastingly, than any author or journalist could.
Isn't that exactly what cops or others do when they use a Stingray phone tracker and intercept people's mobile phone connections?

I still remember in late 2013/early 2014 when I lived in Kyiv, Ukraine, and my friends at the Maidan protest against the government said everybody within geographic proximity of the protest received SMS messages from an unlisted number telling them their protest wasn't 'legal'. Everybody assumed it was the Ukrainian government security forces using a Stingray or similar device as a MITM between their devices and the network.
I think the difference is high value, in demand skills vs temp office work. Indeed we’ve always had this dichotomy with temp agencies paying peanuts to just about anyone to do menial office tasks. But if you have skills where the supply is low, it would not make sense to stick around one of these $10/hr jobs...
> Nothing good will come of having a look-see.

I dunno. Might increase the average IQ in the gene pool?
This can depend on the syntax and semantics of nested functions.

Pascal nested procedures are pretty easy to parse and if they're defined before the `var` block then you don't need to worry about non-local state modification (apart from the parameters, but modifying parameters is unusual).

First-class nested functions with variable capture are harder to understand. Nested functions in e.g. JS are more like object construction than function definition, and it's generally expected that such nested functions will be capturing state from the enclosing context.

Standard Pascal permitted outer scope variable access combined with downward funargs - the nested functions could be passed to other functions, but could not be stored in variables or returned as arguments. This reduces the non-local effects, and handily doesn't require a GC to ensure memory safety, since the captured state can stay on the stack, because the nested function won't outlive the frame.

For nested decomposition of a problem, I'm more of a fan of Pascal-style nested procedures than nested function expressions like in JS. Idiomatically, one expects function expressions to capture state, while nested procedures are just more procedural decomposition.
I use googlephotos, but I never delete the original file. Every few months I usually transfer all those files to my computer and sort by year-month/event. It's not automated but it works and clears my phone cache
Instead of unsolicited ads why would it not work with targeting people actively looking for things only?

Right now I’m researching a product I’m about to buy, because I have an actual need. In the process I consult various sources listing and comparing products of that category. Allthough most of those sources can’t be trusted to provide unbiased information, I’m pretty confident the sum will give me a pretty good overview of the search space.
Top 7 Tips for Accurate Project Estimation
The coolest bug on earth (2006)
Susan Kare is not an artist but a graphic designer. She doesn't claim to be an artist herself.
There is simultaneous audio-translation of almost all German talks to English via DECT and in the stream.
Well, duh. It's a completely different model than pay 2 win.
> I wouldn't want to crash in one

This is what is keeping my wife and I from getting her a Nissan Leaf. She drove a Nissan Versa (basically the same platform but traditional gas engine) until she was hit by another car. The accident was caused by a person in the oncoming lane not seeing her and turning left, striking her driver's side door. The other person was in a mid sized SUV (first gen Jeep Liberty) and was only going about 15MPH when she struck my wife's car, but the force pushed my wife's driver side door all the way into her seat and against her hip. The Versa was severely frame damaged and not driveable; the only damage the Jeep sustained was losing the bumper cover.

Thankfully my wife was not hurt apart from some bruising and soreness on her hip, but if the other car had been going faster (say, at an intersection) she could have been seriously hurt or killed. She is now driving our Crown Victoria, a full frame vehicle with five star crash ratings all around and reinforced doors due to being a former detective's car. Her fuel economy sucks, and she was just moved to a more remote office at her job which makes the Vic a very expensive commuter car now, but we're leery of getting her a subcompact (gas, hybrid, or electric). It's probably an irrational fear; such an accident is probably a once in a lifetime thing, but traffic is insane where we live and work so we both feel much safer with her in "The Tank".
> Generally, North American designs result in fewer customer interruptions.

I suspect this is offset greatly by the differences in infra, where EU uses buried cables instead of US style utility poles.
This is why things like working out and power lifting in particular are such good mental teachers (also any of the fight sports like BJJ). When I was on my quest for a #500+ deadlift it took _years_ of training. I would fail over and over, with it taking months to add 5 pounds to my single at the high end. What you learn is to love the grind. You realize there is no end goal, you just keep pushing forward.

Not everyday is rainbows and butterflies. Not everyday is a perfect flow day. You learn to say so what, and push forward. This is what experiencing failure does to people who get up and go again.
Why not also select for astronauts who don't need expenditure bulky spacesuits, or astronauts who can get to space without burning so much fuel?
What do you do where a degree is critical? I've never even been asked about my education in over 20 years.
Ice rooms make for fascinating and resilient architecture. Hopefully they'll open it up to the public for viewing.

While exporting ice from Norway to England seems to be quite the undertaking, in the 19th century businessman Frederick Tudor managed an ice empire that shipped ice from Massachusetts (from Thoreau's Walden Pond) to what was then Calcutta (now Kolkata), India.[0].

[0]: https://www.theatlantic.com/national/archive/2013/02/the-stu...
All you're doing is using the same 23 words each time, and then finding an 8-bit checksum to match.

(Each word is actually 11 bits of entropy, so the last word is 3 bits of entropy plus an 8-bit checksum on all the random bits. You could either determine those 3 random bits in advance and narrow the list to the 256 words that match those 3 bits, or just pick 23 words and randomly pick from the full list for the last word until one works; this is a bit simpler but risks having to try even more than 256 words.)
I assume Windows and MacOS use the term folder in place of directory, so at this point, I'm assuming it's generally acceptable to use either one.
Tesla Adds Larry Ellison and Kathleen Wilson-Thompson as Board Directors
Actually, it's not possible to get a plan for a once-a-week commute, at least with SNCB/NMBS, even putting aside the fact that my commute crosses a border (which makes most of the available plans unavailable to me anyway).

I've tried very hard to look for something that would make taking the train even remotely competitive with using my car, but unfortunately there is absolutely no convenient option in my particular case (and even in the more common cases, train is just as cheap or as fast as car in the best case, rarely better).
You should visit Belgium.
>Maybe i'm just being paranoid but I'm a security engineer. I'm supposed to be.

No, you really shouldn't. Every bad thing can happen unless you protect against it, but being paranoid isn't helpful for this industry.

This was going to happen eventually. If they didn't want this to happen then the funding would be there to have this system built up with triple redundancy (or possibly 7 times, maybe they have triple). We all do the best with the funding we have. The good thing about this is that they assessed the problem and they had remediations for it. They announced it publicly (using several methods) and they have an alternative line.
Oracle’s Larry Ellison Enters Tesla’s Board
SQLite for little apps that are easily deployable, and PostgreSQL for more serious applications that would benefit from its extensions.

I haven't changed that setup for years, even when people tried to convince me that Mongo was the superior way to store JSON, which I do in Postgres very easily.
(I also don't need Redis because most of my applications are in Erlang/Elixir, so we already have a bunch of Key-Value solutions available)

So yeah, pretty happy :)
I've met plenty of coders who aren't even aware of the problem, and I spent 13 years maintaining and extending an accounting system written by people who couldn't tell a floating point issue from their ass on a good day.

It's not going to happen much until we stop pushing floats as the standard solution for dealing with decimals. I'm pretty sure they are more commonly abused than used at this point, and most cases would be better off with fixpoints, rationals or bignums in increasing order of flexibility and complexity.

Lisp and Perl6 get it more or less right. My own baby, Snigl [0], only supports integers and fixpoints so far. I might well add floats eventually, but I intend on hiding them well enough to not encourage anyone who isn't motivated.

[0] https://gitlab.com/sifoo/snigl
I was replying to the idea that a millennial is a young person. They aren't. If you've got other comments about life experience direct them at the original commenter.
I'm sure there is a crazy world of high-end assassins given the incidents involving Jamal Khashoggi, Viktor Yushchenko, Alexander Litvinenko, etc. But from a business standpoint and morality aside, the "every person" assassin almost seems as bad of a business model as the one high school kid who sells fake ids. You have a bunch of one time customers, extremely high legal risks versus the financial payoff, and a high likelihood of eventually getting caught. With drugs, you have addicted, and therefore, repeat customers.
Suppose nobody can work the schedule these guys were expected to follow? Or nobody completely new to space travel, as they were? Or suppose other skills vital to the mission are on a different axis from the ability to work the extreme hours and a compromise needs to be made between them? What then?
What is BigchainDB?
> pv_controller.go has 1715 lines. To be generous, we might say half of it is comments. pv_controller_test.go has 359. Hopefully this code is exercised elsewhere in integration tests?

The PV subsystem interfaces with external storage systems, so integration/end-to-end tests are much more useful than unit tests (yes, they do exist).
A lot of these people are European, or working in European locations such as MSR's Cambridge lab, but they do tend to be working for American institutions. The failure is our institutions, not our people.
There is a lot of apologism for censorship on this thread in sharp contrast to the threads on china and others where they are demonized for the exact same thing.

This is troubling as it seems when we do it commentators are ready with a litany of justifications in contrast to the blanket judgements on other discussions. This kind of double standards is abusive of discourse and the values sought to be defended and cannot then be a forum for informed discussion.
Can you elaborate a bit on your own "types"? I am very interested and intrigued.
Surprisingly enough, dark market sellers have excellent customer service. Since the market is completely transparent for a seller. On a number of dark markets both a seller and a buyer have a reputation that is tracked by the market. If a seller sees that you've bought before and this is the first time you ask for a refund they'll send you your order again.

Same with the reviews, a seller that has been around for a few years on a market, has good reviews, is most likely not a scammer. If they were they would be banned from the (reputable) dark market(s).
I hope the mention of extraterresterial wasnt tongue in cheek though. Because it might be a legitimate threat someday.
I could say I am, except that I just use plain sh running under openbsd instead. Not only for web stuff, but I also use simple unix tools a lot to process data - a lot simpler and most of the time it's even faster than using SQL or so-called "big-data" tools.
I'd say two is more key. Most people seem to hold on to control as a way to avoid failure. Let people fail. Just make sure you have a safety net to keep things moving.

Having kids helps underscore this. Let your kids fall. Just don't take them to the Grand canyon right away.
People seem to be missing that "simplify" here is a droll insult to too-clever hackers. The code is not too complex, it is well written and documented.
Submit anyway if HN can learn something and if it justifies sidestepping rules by removing the http and dot part.
VirtualHere: remote USB
Maybe. The paper even mentions this, sort of contradicting your expectation:

>Perhaps not surprisingly, the most predictive factor is simply Contributed Codebase Size, the effect of which is shown in Figure 16.

>There is a gain of only about 2/15 compared to those who reported a codebase where floating point was not intrinsic or where they were not involved.

The title would be better suited if they included a higher number of HPC/ML/etc software engineers (post PhD) that work on larger scale projects in industry/labs.

Specifically, I disagree with this assessment:

>We believe that the combination of our recruitment process and the resulting background of the participants illustrated here suggest that our sample is a good representative of software developers who write code for, and in support of, science and engineering applications.

That's just outright ignoring all science and engineering applications outside of academia/academic research.
Counterfeits are only counterfeit when you take them to the bank. As long as you can pass them on to someone else, they still have value.

Don't quote me on this, but I remember reading a good example. In the U.S. Waiters and waitresses frequently tip (and willingly accept) counterfeit notes from others who work in the industry. At the next opportunity, they pass them on by doing the same.

If anyone can find a good citation for this please feel free to add.
> Grad students making significant contributions is extremely rare; basically all of the real research is done by tenured professors.

...but most of these first authors (the people formally credited with doing the real work) are graduate students, so how does that fit in with your theory?
Show HN: Pg-extend-rs – Easy Postgres extensions in Rust