skysight-inc/HackerNews huggingface dataset:
Downvoters, my question was wether int8_t* and char* are interchangeable. I can't see why that's a bad question to ask. Given "char* buf", there might well be a difference between "(uint8_t) buf[1]" and "((uint8_t* )buf)[1]".

Now, upon further researching it looks like uint8_t always has size 1 (as does char), but I'm still not positive that the second expression is technically valid.
What's the difference between this and simply exporting a method of a .net assembly via https://www.nuget.org/packages/UnmanagedExports/ besides having more control over the CLR/.net environment with the method posted here?
> That is just confusing cause and effect.

And what is the evidence to that claim?

I'll grant you that I haven't given any evidence for my claim, either. But, again, the onus is on those claiming that syntax doesn't matter to prove so, against overwhelming practical evidence (showcased by user count) that it does.
This video is a nice illustration of a geometric proof: https://www.youtube.com/watch?v=d-o3eB9sfls
Best Wireless Noise Canceling Headphones
First, I deeply think that "world" (but first, your family/friends life) will be improved with a real social life and not only with consumer goods. By social life I'm not speaking of sharing the last meal you eat on instagram or sharing your last training you've made with your connected watch :)
There are plenty things to do : go outside, meet people, read books (i'm not saying that there are only good books and boring articles on internet, but just disconnect from the phone/computer/smartthings), play with your kids instead of giving them a connected ipad or phone, help others, and so on.
This is always a risk with inventing something new. Their FAQ hints at how they plan to mitigate some of the negative effects - https://dynamicland.org/faq/

They want to mirror the Carnegie library model as much as possible. They're also non-profit and not interested in building a product that can be purchased (instead they think of this technology as infrastructure available to almost everyone, like the internet or running water).
> I can remember people literally ordering pallets of Monster to show up on training exercises.

What like as a replen demand? Aren't they restricted to using issued rations on an exercise? And how are they getting them deployed?
Forget Startups–Just Buy a Small Business from a Retiring Entrepreneur
After I got the tokenizer working the first thing I did was implement "PRINT" and "GOTO". Specifically so that I could write:

10 PRINT "STEVE IS AWESOME!"
20 GOTO 10

Everything else was added after that, which is why the PRINT function is the oldest and worst code (until this evening).
> The complainers are non-users

Of course they are not. If you put on a shoe, and it's uncomfortable, you just go get a better shoe that is. This does not negate the validity of the question: why was the first shoe uncomfortable?
buying exotic candy...from Japan. Having known a few people who are into manga, not even cosplay, they often find oddball Japanese candy interesting. Maybe not enough to buy because of an unboxing video, though.
Isn’t something like a Toyota Corolla orders of magnitude more “wonder” than the pyramids?

Cathedrals though... I do kind of see there might be orders more more skilled labor embodies there?
All of bing's revenue comes from ads. Somehow I don't think Microsoft is planning on disabling bing ads in the Windows default browser.
The point here really is the company who sent the money out is the only company that can try to get that money back. If they have no reason to (OP doesn't follow up) then what's the point? They have no motivation to follow through with their bank or government..
Wouldn't that be funny. I suck at all other types of marketing but more than make up for it in failure article marketing.
Same authors as the OP btw:

Manos Athanassoulis
Postdoctoral Researcher

Michael S. Kester
Graduate Researcher

Lukas Maas
Graduate Researcher

Stratos Idreos
Assistant Professor of Computer Science
I mean, doing the right thing, and then worrying that you’re doing the right thing because you have privilege... not a thing I think people need to worry about.

If they’re judging others for not pitching in, that’s a concern.
I see a lot of criticism of his particular angle of attack, but not much consideration of another possibility: YouTube ads may just not work very well. Maybe most ads don't really work very well. Maybe the vast majority of the money spent on advertising has been, in fact, wasted, and as we get better and better at tracking the results, we get better and better visibility on the fact that advertising just doesn't work very well.

The problem being that the people who made it their profession, really don't like that idea, and thus it is not in their interest to see this fact.
> If you don't track updates in an automatic way, you are not going to even know whether you need to update something.

With dynamic linking, you may get updates for programs that need them without knowing that it was needed. If you manually build Nginx with shared libraries, and later on some fix for PCRE comes down the line and you update libpcre, your Nginx install takes advantage of that the next time it restarts. This happens whether you manually updated PCRE or a package management system does it for you. This happens for things like Chrome and Firefox too, even though they ship with quite a bit statically compiled. There are still portions they expect the system to provide (if you've even tried to get chrome working on an older system, this becomes obvious).

This is an advantage, it exists, and people make use of it all the time. You can try to argue down it's relevance, but without successfully doing so first, I think saying it's pointless is getting ahead of yourself.

> There are plenty of package management systems in current use where linking is an ideological or historical choice and has no relevance to security updates.

At the very least it would have relevance in that they would need to accurately track package dependencies and would not have the additional benefit of the package failing to install if they got it wrong. I've had plenty of times in the past where package management systems haven't even gotten that right, where everything installs but there's errors about missing libraries because of the way things are loaded on demand for some systems. There are benefits to not relying on some automated or manual tracking of this, where instead if you get it wrong it doesn't work. The fact that it requires a package management to mitigate this problem is itself a downside.

To be clear, my argument is there are both upsides and downsides to dynamic linking, and that it's not purely all negative. By arguing against that you're positioning yourself as stating that it's not a trade off, so it's all bad (or all good, but that doesn't seem to be your point). Is that really the position you intend to stand on? It seems rather absolutist.
It started a few years ago when there were stories about how many new programmers don't have the traditional nerdy background and instead there are an increasing number of frat boy stereotypes getting in on the industry because it's lucrative (brogrammers). It slowly warped into a convenient catch-all for both misplaced anger at tech workers for causing gentrification* and frustration at a class of people who oblivious to social and economic problems, oblivious to how much power they have, and who think everything can be fixed with an app or the most intellectually lazy application of libertarianism.

* Gentrification is caused by landlords. If being a landlord was illegal it wouldn't happen (or at least the problems caused by it wouldn't).
Well, they are. Yeah, I am a fan. NASA is one of the few all good things from government.

Government can be better, and I hope we can make it better too.

What else to say? I love a good NASA win, geek, nerd, engineering story.
BTC not likely... other protocols are more than likely.
Down, I suppose.
500ms in delays actually led to 1.2% lost revenue for Bing per affected user, in this case a decade ago.

http://radar.oreilly.com/2009/06/bing-and-google-agree-slow-...

https://conferences.oreilly.com/velocity/velocity2009/public...
I've learned that the Michelin Guide tends to be a bit Euro-centric and the top percentile of its ranked restaurants tends to incorporate elements of molecular gastronomy (the new hotness these days), which isn't everyone's cup of tea.

I ate a Michelin restaurant in San Sebastian (Basque Country) a few weeks ago. New Basque Cuisine is heavily reliant on fresh ingredients, which is its hallmark, but this restaurant also tried to present its dishes using molecular gastronomy inspired techniques (i.e. foam of sea water, etc.).

It was such a heavily cerebral experience (trying to figure out what I was supposed to be tasting etc.) that I had no more energy to simply enjoy the food on an emotional level. In that sense, I think Michelin restaurants miss the mark.

I learned that I'm more interested in food that people miss when they move away. I'm thinking of Brazilian stews like moqueca de peixe (fish stew), bobo de camarao (shrimp stew) or even feijoada (pork and beans with rice). These are simple every day foods that are enjoyable on a visceral level, and that one thinks about wistfully when one is abroad. I don't think I could ever miss food from a Michelin restaurant.
An anonymous 4chan post could help solve a 25-year-old math mystery
I'm torn between preferring this (13x28+1) or a Coptic/Ethiopian calendar (12*30+5). Having each week start on the same day of the week is nice, but 12 months has advantages, too, and at least the first day of each month is consistent from year to year.
> itsdangerous

Truth in advertising then.
> Googling debian google chrome results in instructions for getting chrome on debian.

Yes. I know. I'm not picking on debian specifically here, fedora's dnf doesn't help you install chrome either.

My point is rather the following: The GP asserts that the way to find (and subsequently install) software is "apt search `software`" and that way breaks down on exactly the piece of software that the article is about. You have to google instructions and then install either the .deb or add googles repo. And that's where the attacker could just as well insert an ad pointing you to a malicious repo. Just as the attacker currently points people to a malicious download. So the GPs solution isn't a solution at all. Not to this problem.
I don’t think so, I think a simple federation, like the email system would suffice.

I don’t believe any active management is needed at the system level. If anything you can just let people to do marketmaking around what are essentially structured ethical insights as a commodity.
So how does that prevent a malicious PPA or repo that the attacker could push up in the search rankings? Just like the attacker here pushed up a malicious download page in the search rankings?
Does BuckleScript do any runtime type checking? If not, you have the same problem the moment you call out into any pure JS library - your type annotations say what you expect, but JS code can merrily give you something else.
Considering the effect of caffeine on sleep, it's a very small leap to make
I liked the piece by Pete Sampras which also got some traction here:

https://news.ycombinator.com/item?id=9803867
That's one of the options in the parent post. My point is that the budgeting process is in fact mostly zero-sum. It's only not totally zero-sum because of the use of debt (which considered by itself is zero-sum over the long run) and the possible effect of particular spending on the broader economy (which makes it not perfectly zero-sum as a repeated process)
I am no expert, but I think I have seen such a thing about 10 years ago and this article doesn't explain how it would be any different.

Also, here's why this thing, even with the technology completely perfected (100% efficiency), would be absolutely terrible: You're turning valuable fresh water into mostly unusable salt water.
No this was like almost 10 years ago. As I recall, it lasted for only one year: http://www.kltv.com/story/11417485/halloween-and-daylight-sa...
Datafy and tap in Clojure 1.10
If this is what it will take to impose a 4-day work week then sign me up. :)
exactly once, i typoed my default run level on a gentoo box to be 6.

thankfully i had a liveCD handy.
> Rents in the neighborhood have gone through the roof the past couple years

Exactly my point. The rents are on the rise with our without google. I really don't think that the victory is anything but a symbolic win. It does nothing to push the city to solve that issue.
Some of them might not actually need Hubble specifically. There are a fair amount of observation platforms, maybe they can get their work done on another satellite.
There's a different consideration: as far as I know, it's an open question whether uint8_t* and int8_t* have the same special aliasing rules that apply to char* and unsigned char. A strict reading suggests that they do not. So there may be cases where using uint8_t is UB but using unsigned char* is not.

I think that all compilers consider this to be a bit of defect in the relevant standards, and they'll compile your code the way you expect.
I think that if you don't have regular discussion of the good and bad, as it sounds like they do at Netflix, then the void gets filled with something else. I think that void in most cases is quickly filled with people who hate to explain their practices, don't want to discuss their failures, and as a whole that inhibits new people from succeeding and creates an awful work environment. I'm sure there are bad sides to this approach at Netflix but having seen what happens when the culture doesn't insist on regular difficult communication, I'm not sure Netflix sounds that awful.
I've stopped drinking coffee as it would frequently give me anxiety and sometimes panic attacks. I now drink tea or water at work. However, I still need to work harder on cutting down on sugar.
Not sure these folks are trying hard enough to do things correctly. We subscribed, enjoyed the product, and after several months suddenly we weren't receiving boxes. No email, nothing on their site about any problems, so I email and wait a few days for a reply.

The problem: when a charge to my card was denied, they just canceled my subscription without notification. A simple (automated) email letting me know there was a problem would have had me fixing things within a day and they'd have kept a loyal customer. I did't sign back up because, IIRC, we'd gotten two shipments in a row that weren't very exciting and I just wasn't motivated to set it up again.

I feel like there's automation to be had, but they're having none of it.
Quaternions and 3d rotation, explained interactively (3Blue1Brown) [video]
In most modern languages with static types, types are reified - i.e. actual values have some runtime type associated with them, and it's impossible (or, at least, exceedingly difficult) to create a value that has the wrong representation for its type.

In practice, with parsing, this usually means that runtime type metadata is used. Effectively, types become your schema, and you can validate against them as needed.
I'm guessing that was intended to be a joke, but I'm not 100% sure.
Would you like to link to the video?

> I didn't need to pay anything even though I didn't know these people, most were happy to just do it.

Maybe they liked the video and/or the app itself, and that's why they wanted to show it to their followers? So I'm a bit curious about the video, maybe one can learn something from watching it (?).
i don't see the big difference other than just virtual interacting, other than lots of clutter; and as
miki123211 said..accessibility seems like it would be quite an issue which is very important to me
Ng-sq-ui – your right UI-kit choice for Angular
ng-sq-ui strives to be "for developers by developers". Check out the package:
https://www.npmjs.com/package/@sq-ui/ng-sq-ui. Can you think of a feature you'd like to see? Submit it here: https://github.com/SQ-UI/ng-sq-ui/issues
Is this a joke? Or is there something I missed?
That's not peculiar at all. Different people see different ads, individual ads run out of budget, new ads are added, and so on.
They make their own cells.

https://www.tesla.com/blog/battery-cell-production-begins-gi...
His first program he wrote as a professional was a payroll program. Altair BASIC came later.
That's one big reason my company deploys everything through a devpi proxy.

Not only can I blacklist versions, override with our own patched versions... But can also guarantee if I installed it during testing, it'll be there in production. (Also, updating production isn't affected by pypi / GitHub / etc going down).

Devpi has its own design issues, but certainly a reliable and workable solution.
The best part about this moment right now is if TSLA immediately starts looking into restructuring their debt while interest rates haven't taken off and while everyone is excited again about TSLA's future. Seems to me this would be a savvy time to milk the market and roll over all their non-optimal debt.
this same thing happened to my older co-worker who was using chrome and google to get firefox and he downloaded it from a top ad link that was a malware'd firefox...
The lion could follow your path in a circle with a smaller circumference, and use the extra time to move closer to you.
Gentrification doesn't benefit the people who actually live there. The block gets nicer buildings and more services, but land isn't people. People in poor neighborhoods rent, so when the cost of the neighborhood goes up they just lose money until they leave, and take on the costs of moving themselves. This is pure downside for them, of course they'd be against it.
This produces a similar error ("Type 5 is not assignable to type 'string'") when compiled with TS:

var s: string = "Dog";
s = 5;

The difference is that it's a compile-time error, while in PowerShell it's a run-time check. But what's the difference in this case? Either way, it tells you.
The Gigablock Testnet (a tweaked version of Bitcoin) hit 1,000 tx/s and they believe more tweaks can get them to 10,000 tx/s: https://scalingbitcoin.org/stanford2017/Day1/Stanford_2017.p...

Avalanche has done over 1,500 tx/s: https://ipfs.io/ipfs/QmUy4jh5mGNZvLkjies1RWM4YuvJh5o2FYopNPV...
We are from a distributed systems research group.

We called our company Logical Clocks - couldn't believe i could get the .com domain name only 2 years ago....
"off-side" message here :

I'll probably sound like an old man, you know this kind of people who says "It was better before" and "I used to play with only one toy back it time" and so on,

but isn't it too young to give a computer to your 7yo daughter ? I'm curious to know why she should have a computer ? does she need for her courses ?

Please do not think I'm saying that just to criticize you, I'm just curious.
The data suggests that they are better than you at implementing some types of algorithms. Yes you are missing out in as much as they appear to possess skills that you don't.

Also competitive programming is tons of fun so I would say you're missing out by dismissing it.
No it doesn't.

This may not be a popular opinion for those coming from C or Java, but runtime type checks in JavaScript are usually an anti-pattern. If my function defines a contract that the caller violates by passing in null or undefined, then my function should raise an exception when it tries to access `undefined.xyz` or whatever. Otherwise, embrace the duck! If the function can work with what it was given, it should instead of trying to enforce some Java-esque type system at runtime using typeof or instanceof.

But be pragmatic. If there is some critical area of your app that absolutely must never ever throw, typecheck away (although this is JS after all, so it still may throw if it damn well pleases).
https://github.com/pallets/itsdangerous/issues/112

> I’m sorry for the inconvenience caused but I missed that there was a signature change that made it into 1.0. I yanked the release now because this change had some very bad consequences and yanking the release is less risky in comparison.

Ugh, why not release 1.0.1 with the change reverted? That would be the right thing to do whether 1.0 were yanked or not.
Thanks for mentioning timescale. This looks very cool. I signed up for some "office hours" to talk about what I do now with mysql.
.. and that's why running an ad-blocker these days is not even a moral question; It's proper hygiene. I don't eat without washing my hands first, and I don't browse without an ad blocker.
Podiatry in the US has this problem in a big way.
Honestly I find this way more interesting than watching an actual game. I'm not a sports fan whatsoever. But relating to this guy as a human being, hearing his story, I mean it seems like anybody can find something interesting about that.

I've always been more of a scholar than an athlete, and my only thing outside of that was music. I can name who played bass for what band during which years and albums so forth, but not who played small forward for the Clippers. I had to look all that shit up.

Actually that's an interesting note too - this article had an interesting side effect of spurring me to go over to Wikipedia to look up noob shit like where have I heard this name Darius Miles before? (Turns out it was from his stint in Portland.) And what's a small forward? And then off on tangents... what are the other four positions, and who are some famous players in those positions, and what's a "pick" and what's the "post" and what's a "triangle offense" and all kinds of stuff. I learned more about basketball today than in many preceding years.
> Being dynamic doesn't preclude variables from being type checked by the runtime.

It kinda does, because in a dynamically typed (as colloquially defined - if you want to debate that definition, that's another discussion) language, variables don't have types - values do.
ICO is the new IPO
My second year at google, I fixed undefined behavior that essentially appeared in every google binary because a core library did this without care for the alignment of the memory in question. Thank god with PODs you can just memcpy
The Froude number and bipedal locomotion
I think it's wound up that way. I do not think it started that way, I think it started that way because there was no incentive for Diebold or other electronic voting vendors to do the right thing, and now keeping things status quo is very easy for an incumbent.

I imagine that it is very hard to convince someone that was elected with electronic voting machines that there is a problem with electronic voting machines.
From personal experience I'd say coffee is not always good for your mental state. If I drink a cup every day for a week I get into a constant state of anxiety and nervousness. I also get dizzy during workouts. I also can tell when my girlfriend had coffee because she will be much more combative in discussions.

As with a lot of other things observe yourself and don't blindly trust studies. even if the study finds positive results for 90% of people you may be in the 10%.
Hubble is back but nasa.gov is black. A blank black page. All because their web devs wanted (or were pushed into using) some crap front-end lib that has no fall-back for no javascript.

nasa.gov's accessibility is absolutely terrible for a government website.
Danes Melancholy? Swedes Sad? The Truth about the Nordic Economies
This is where terminology fails us. I really wish the terms "static typing" and "dynamic typing" as presently used would be gone entirely.

What you're saying is that explicit type annotations can be enforced at compile time. However, they can also be enforced at runtime, and they're no less safe for that - you just see the errors later, but any call that would be blocked by a static type checker can similarly be blocked by a dynamic checker. I think that's what OP refers to by "runtime checking", not writing explicit asserts.