skysight-inc/HackerNews huggingface dataset:
I came to say this too, it seemed like an obvious evolution. I find the "randomness" of the defer-statement a bit scary, like there is too much freedom. There's no guarantee that you're deferring the proper code to free the resource, which somehow should be the default.

Not at all sure of the proper syntax, but at least tying it together with something like

void * const x = DEFER(malloc(...), free);

would make sense. In a more high-level language with interfaces, there should be a way to tie together the creation and destruction into a combined type, and just do

obj = acquire SomeType(...);

And then 'acquire' should take care that the type to the right implements the interface, and automatically add a deferred call to the proper freeing method. Hm. I guess I just invented some kind of garbage collection, bummer.
I'm no expert but put too many extensions in there and you're looking less like RISC and more like CISC. It would make more sense on x86 platforms.
Nope - I didn't ask to include train stations. You can include runways only.

I have no idea about the numbers, but it wouldn't surprise me if including building the railroads and maintenance would make plane and (electric) train equal. You don't want to know the amount of diesel smoke that's coming from the nearby railroad reconstruction.

I wonder where could one find this data
Yes, clearly, probably because some buttoned-up wannabe-manager wants to impress his higher-ups my presenting them BS like "these new UI tweaks of my team increased our user retention by 26%!" so he can get a raise or a slightly higer bonus.
I took a cheap sleeper train across Germany once and the sleeping surface was essentially unpadded. I don't know if this is normal- maybe everyone brings their own?- but sleeping on an upholstered plank (billed as a "couchette") did not make for a restful night. I don't think I slept at all.

The joke was that I had a sleeping pad with me, but I didn't dare try and dig it out of my pack in the dark cramped shared compartment.
Hmm, I think I understand now.

So now I think it's the first optimization the one that is wrong. If you replace a variable with another, don't you need to keep information of the original variable?

I mean, if a==b and you do *a=1 you can replace it with *b=1, but then you need to keep the information that 'a' was written to, so other optimizations (the third one) don't think it wasn't. Or am I missing something else here?

Edit: sorry for the code block, otherwise the asterisks are removed.
I was going to post the same thing. Use tools in a healthy way and they should be useful not harmful.

I really like slack and use it constantly during work. If you need to go head down and focus on tasks needing concentration, put a notification on your slack profile saying you are busy. Make blocks on your calendar for sanity and concentration time and a slack status to match.

The same thing could be applied to email, I never answer my email later than work hours, sometimes the company itself is the issue, if they expect all hours communication I would look elsewhere, time and sanity are vital natural resources.
Yes, but as far as I have seen, not auditing/compliance frameworks have updated their recommendations yet. Maybe its not the frameworks, but the individual auditors and their templates, but I have seen it a 'requirement' for PCI, sarbenes-oakly, etc.

its much easier to keep it in place to make the auditors happy than remove it, and risk exceptions on your report that you have to defend.
I make a product management tool/issue tracker that integrates to both tools, and I will say from the perspective of a developer integrating to them, Slack is easier to work with (though Discord is ok too). Little things like the "only visible to you" messages in slack make it much easier to make a nice integration.
The Mandelbar over the split-complex numbers: https://imgur.com/PkzY7B6

More information about the split-complex numbers: https://en.wikipedia.org/wiki/Split-complex_number
Uh why would it be on there?
It doesn't have ads, and no user generated content. Boundlessly maximizing individual engagement is hardly in their interest, whereas with the ones on the list it's literally the entire business plan.
In case someone is interested, the ”nightrain” referred to here is actually a cheap brand of alcohol.
That has nothing to do with what I said though? You can write all the articles you want about him taking a public photo with MBS, that's all fair game. That still doesn't make it right to write articles about his sexual preference. This is pure Whataboutism.
How do you know the Garmin isn’t the inaccurate one? Because it used a power meter? Unless a tube is stuck in your mouth for you to breath through, they are all just “predicted VO2Max”, not measured. I don’t know which is more accurate, but I would hesitate to favor one over another without baseline against a real VO2Max test. However, like a weight scale, as long as it is accurate versus itself it is still a useful number.

EDIT: though you might not be wrong: https://sites.udel.edu/coe-engex/2019/03/16/how-accurate-is-.... Summary: Garmin's algorithm from Firstbeat is pretty darned accurate.
How do you folks in the Yukon manage air humidity inside your houses during the winter?

I would think that by default, the indoor heated air would be so dry that it would cause havoc on your sinuses.
Well, yeah, true.

I believe it's mostly implementation and popularisation problems.

The w3c specs surrounding xml/xpath/xslt/rdf and etc are very well designed but it's possible to appreciate them only after you spend ridiculously unreasonable amount of time reading and putting them all together. Otherwise it looks like a stupid pile of complexity with no purpose.

And what upsets me the most is the lack of really good libraries, everything I worked with just sucks so much.

I still have a hope that maybe in 5-15 years things will change.
> These things always seem incredibly rosy in theory,

No, just dark in the beginning, the middle, and the end.
Friction is exactly what I believe the end answer is for social media, fake news, viral video, etc.

Prior to the Internet, all communication included substantially larger amounts of friction. Broadcasting your opinion required acquiring TV, Radio, or Newspaper time/space. Sure there were low cost alternatives like standing in the public square and shouting your beliefs, but that is a far cry from tweeting out something hateful from the comfort of your couch while you eat pizza and watch unlimited streaming video content.

The friction was both a drag on productivity AND a safety mechanism to prevent mass spread of inaccurate or low quality content. I feel like the Internet removed all of that friction which is great in many cases, but particularly bad for accuracy of information. It's like the gossip that used to spread through towns by word of mouth, can now become truth within days just by going viral. And once enough people hear the same thing, isn't it now true?

Perception is reality. Just look to the divisions in the world. Each side when talking amongst themselves has one truth while the opposing side has a completely different one. Doesn't matter which truth is accurate when both sides are unified in their belief that it is their side's story that is correct.

Friction is necessary, to at least slow the contagion of inaccurate information. Right now the incentives are misaligned. Viral content that makes the consumer feel good provides the most economic return for companies like Google and Facebook. While the system is setup to reward this, how could you expect a profit seeking business to do anything else but optimize for it?
tech making it easier to manipulate people isn't anything new
oh cool, didn't know that was where it came from, thanks for the pointer!
> there have to be at least two members from each party

Not true. There must be at most three members of any political party. There aren't required to be at least two of one party, and nothing in the law requires members of either major party. In practice, it's always 3-2 with either D or R being 3 and the other 2, but that's practice, not law.

It could be 2 Republican Party, 2 Libertarian Party, 1 Constitution Party, under the law.

Of course, if a President nominated toward that pattern, even if they had a friendly Senate to confirm them, they'd need a majority strong enough to be able to hold together without defections on other legislation, because the breach of convention would be punished mercilessly by even the least ideologically opposed members of the opposite major party.
I would agree if this linked to a small project or someone's personal open-source project.

However, this is the repository to the public documentation of Amazon's API.

This is not the source code to a website somewhere. This is the actual documentation. You ask Amazon for the documentation and they link you to that repository.

This is a company with a revenue of $96.1 billion that relies on sellers to fill its marketplace. You would expect some level of quality.

We had an issue at work with their Seller API. We ended up having to email and call their support daily in order for them to switch an invisible flag on our account. After a month and a half of phone calls, they eventually fixed it.

This is the kind of support you receive from Amazon when you are a seller.
I'm not sure if this fits more in the niche of "the ultimate active trader" or "the ultimate passive investor". Perhaps you've already thought about it, but how do you plan to handle a strategy's deteriorating effectiveness as more people use it?
I feel the exact opposite. If someone emails me, I’m likely to not see it, but if someone @s me on slack there’s no chance I miss it.

The whole upside of slack for me is that it makes it easier for me not to miss the things I absolutely need to see. I get a deluge of automated or templated emails every day. How am I ever supposed to reliably sift through the noise?
Just a stock noob, but they are an investment company which markets things like ETFs for buying baskets of stocks. They are known for being big proponents of Tesla stock before it blew up. Now they seem to be considered thought leaders on what is the next tech stock to achieve Tesla-like returns.
The First World has become an interesting ecosystem:

* all/most of our "needs" are met
* marketers create "wants"
* consumers fight hard to satisfy these "wants" at time at detriment to "needs"

You can observe a lot just by looking.
I don't know anything about any of these groups (I do like anime), but they had to know from the beginning that voluntary subtitling would never make any money. Even if copyright law were intended to help regular people rather than giant corporations, their work was entirely based on material they had questionable "right" to use in the first place. They scratched their own itch, and later CR had an itch too. It could be that Dattebayo always had a more complete understanding of the situation than other fansub groups had.
Drop what? encoding/xml was never a reasonable building block for SAML and XMLDSIG, that was pretty immediately apparent from the library itself, and the Go project never told people they should using encoding/xml this way. They never picked it up in the first place, is what I'm saying.
What does any of this have to do with Cook's sexual preference? You can write all the articles you want about Cook and MBS and how horrible that all is, but I still don't see how any of that is relevant to what I said above.
I once bought Limburger cheese as a joke. I was shocked to find that the flavor was delicious and it got totally eaten up at the party I brought it to, after people dared one another to try it and being similarly surprised at the deliciousness.
Compilers don't detect UB (at least as optimizations are concerned), they assume no UB.

If you want to detect UB, at least dynamically, compile with sanitizers.
the simplest answer is they probably get their fulfillment from elsewhere
Are there any countries that enjoy a low crime rate that do NOT have a largely homogeneous populations like Iceland and Japan? Not a rhetorical question, I'm genuinely curious.

EDIT Are there any low crime countries with a diverse population that don't employ big brother style surveillance like Singapore?
He's not denying Russia does hacking. He's saying there is no evidence that ties this to Russia over any other group. Maybe Russia is most likely based on priors, but I don't think the average HN commenter has an accurate estimate of nation-state hacking frequencies.
I predict, if this ever gets through, it will last one election. And then all the states whose electoral votes went to the candidate their state's majority did not support will vote for revoking the compact from their state laws, dropping the total back under 270.
> Why would it do anything special here? This is not really different from something like this:

Yeah, I suppose you're right. I was Googling potential interesting cases and ran across this one[1] which made me think of weird edge cases w.r.t. self-reference.

[1] https://stackoverflow.com/questions/20596856/self-referentia...
I might be missing the point here, but isn't the whole idea of signing a message that it should not be possible to "transcode the message in flight"? If you even allow the message to be "not delivered in exactly the same form" in the first place, you're introducing an attack vector completely without reason, because what you instead could do is let the payload be strongly signed and unchanged, and then have differing parsing rules at the end.
My job is mostly Python. Did not know this existed.
but that's the issue, the modern web is so easy and appealing, yet it goes nowhere it seems
This article really scratches an itch.

You might also be interested in r/UrbanForestry on Reddit.
I've kinda wondered if the "c" spelling comes from "discus", i.e. https://en.wikipedia.org/wiki/Discus_throw

I have absolutely no evidence for or against this though.
the text based format in that implies lovely horrors. now all it needs is sometimes quoted items after "key=" (using and requiring different quotes, depending on which system you're speaking to) and at least 3 sources of "universal event ID" counter... just one "batchid" is too simple.
Figma Tutorial: Glassmorphism – How to use it in mobile UI
I could give a rat's ass about dark mode or other themes.

I want "oldest first" back. Like almost every other mail client. Everywhere.

Sigh.
I concede that this is a problem, but one that is not limited to companionship AIs and one that, if it is to be solved, will have to be solved in a larger setting that includes the other areas where it is pertinent
In Europe all the major lines are already electrified, and because all the lines were built a long time ago (generally in the 19th century), the construction carbon emissions are divided between 150 years of transported passengers.
Oh that's strange, I will post a copy on medium and get that link in here too.
It is “independent” not of partisan politics, which is impossible for any organ of government, but independent of direct Presidential control despite operating within the executive branch.
"... e-mail was struggling to keep up with the world of hyper-messaging that it helped create." What tripe.

Author Calvin Newport is a professor of computer science at Georgetown University. He seems to have a nice side gig as a tech pundit:

https://www.calnewport.com
Absolutely true, and I guess it is important to distinguish between established conventions and legal requirements these days.
> While cloud-native is commonly recognized as less secure (because the cloud provider could be hacked!)

That's not a common recognition by any means. Cloud providers are more secure and spend more on infosec than any business managing their own tech & data centers. Pretending that the cloud provider being the point of entry is in the same ball park of risk (or greater risk) is a strange talking point in 2020
Finding Front End Programmer
What is the best way for find a front end programmer in early stage Venture?
Our team is looking for a front end developer for our social app that uses location sharing like snapchat.
feel free to email me if you have questions! minju@wustl.edu
> Higher level types would be added onto that, but at the low level it's all about just keeping your data as simple and clean as possible.

and at the end we would call it rpc and gave the binary protocol a better name, like protobuf or cap'n'proto?
Not sure of the total outcome but the heat source might not be as efficient at pumping out heat for it to get warm quickly enough than it would at a constant rate. I cannot find a source now but I believe this is even the case for new refrigerators that they run in a much more continuous mode than the jagged cool/off mode.
Multi-licensing comes to mind but I dont believe that characterization fits in this case as the git repos seem to be GPLv3 and AGPLv3.
True glory of a 1k-year-old cross buried in a Scottish field is revealed at last
I'm pretty sure there is no UB in the second part. It's just LLVM bug. The pointer comparison is valid (pointer to and object and to an another object that's one past the end MAY compare equal). The write is valid.

Reads and writes to char* always alias everything. Unless the compiler can prove that no writes happened it has to emit a read. So if it "forgets" due to the uintptr_t cast where the char* came from then it must assume that it can be pretty much arbitrary and must emit a read.
Look up their terms of service before considering it for work use. At the end of the day Discord is not enterprise software, and so will never be considered seriously for it.
Hmm, oddly provincial expression on an international site. ;-)
Accessory Factors of Cytoplasmic Viral RNA Sensors Immune Response[2016]
I have seen that lecture and it's great but please see my comment below and consider that the parent may not be that lone hero of hard science and facts against the politics of emotion which I suspect is the narrative it's trying to establish. (It's a trap ;)
I read somewhere a long time ago (I forget where) that it was (or tended to be) "disc" where the format came from the audio world, and "disk" otherwise. So, "Compact Disc", but "hard disk". No idea if this is rubbish or not but maybe it jogs someone's memory.
Regarding Comcast pricing being out of reach, what are your thoughts on their low-income program, https://www.internetessentials.com? It's 25Mbps for $10/mo. There are probably hoops to jump through, but it does seem within reach otherwise.
> there's nothing as dreadful as the sound of people boarding or leaving every hour through the entire night.

That really depends on the individual. Personally I really like that kind of background noise when trying to sleep. I will usually listen to music with headphones and what gets trough is dampened so much that it nearly qualifies as "ambient" music.

But I've spend quite some time as a kid in overnight trains travelling between West-East Germany and Yugoslavia, and even more time in my teens travelling by train across central Europe.

I kind of like the whole experience even without a private cabin. A bit like a travelling hotel with changing sights. I can take along a couple of books and whatever food and drink I like, without having to worry about weird security rules.

In contrast to that long-distance air travel evokes only negative associations for me: Dry circulated air, pressure on the ears, cramped seats, the feeling of being stuck in a completely sealed metal tube, the "streamy" noise coming from the engines is really annoying compared to the rhythm of the sounds a train makes. When walking around on a plane there is nothing really to see because you can only walk between rows of seats with very small windows, which makes me feel weirdly guilty.

While on a train I can walk the full distance back and forth, taking in some of the sights trough the much larger windows. It's also considered much more normal than pacing between the seating aisles of a plane.
Congratulations - you found a counterexample yourself: engineers in small companies.
Eric Engstrom, co-creator of DirectX, has died
Leading Companies Are Innovating Remotely
maybe you don't need to tell the difference, you only need the platform to adapt to whatever you think a man, woman, or other gender is - which probably just further I grains troublesome gender roles even more
Huh, I didn't know about that. I knew I could use my own domainl; but I'm not really motivated to do so. the fastmail domain suits me well enough. I always have the option to use my own domain later on, anyway.
That's like saying "if your boss asks you to stay late, just say no" – easier said than done
" Lastly, this arrangement will not affect the student experience during or after Lambda School."

As a student, I can confirm this is a lie. And you know it is because we have told you in Slack, we've told you on Twitter, we've told you on Reddit, and now you have to read about it on Hacker News.
At my employer we have Slack channels for engineering teams but anyone in the company can (and does) come in to ask what amount to low-level support questions. I've dealt with it on my team by rotating the job of responding so that whoever is on-call for the week deals with it. It means there's a lot of interruptions, unfortunately, for whoever is on call, but at least the rest of the team is explicitly given permission to ignore it.

As a company we could and should do better at the support system, but that's just one aspect of the problem with company expectations.
> I'm not sure the 5900x or 5950x qualify as "available today". Orderable today for delivery in 2-3 months, maybe.

Yeah the supply is low but I mean it's the current generation of chip that was released a few months before M1. It seems reasonable to compare the current gen vs the current gen instead of the current gen (M1) vs the previous gen (AMD 3000 series).

Hopefully the demand slows down in the next few months. I'm thinking about upgrading my workstation and I'm going AMD this time around (I've used Intel CPUs since the Pentium II era).
Do other people not just wait to respond if you're busy?
A 128oz tub of pork rinds with an easy-open cap is just a tool to alleviate hunger when you're looking for a salty snack. Placed next to an incredibly disciplined person like an Olympic athlete, the tub will probably last six months and not damage their health. But placed next to an ordinary person it will definitely encourage overeating.

Tools placed in the hands of imperfect people will be used imperfectly, and in a way that amplifies the properties of the tool more than the priorities of the person.
Of course, but haven't Trump and especially the more rabid of his followers like Alex Jones and Steve Bannon proven why there is a need for at least some form of gatekeeping?

Someone needs to filter out demagogues from public discourse. Otherwise you'll end up with a population where large parts believe that the election was "stolen" or "fraudulent", with all the consequences (like the potential for open, massive violence) that entails.
Have you heard of Monte Carlo? Data lineage + data catalog + data anomaly detection: https://www.montecarlodata.com/product/
I'm aware how VO2Max will be calculated in a lab. But a powermeter is a closer approximation since the effort is captured. In cycling, if you don't have a power meter the estimate would be based on distance and climb and won't factor wind or other external factors.

Also, I know it's definitely greater than the Watch estimate. With a below average cardio I can't bike the distance or climb I do on average. I did 3 metric centuries last year (with climbs over 4000ft each), for example.
Even the core business of PornHub isn't exactly harmless. I don't mean in a religious/moralistic way but for the same reason eating at McDonald's every day is probably not going to be great for you.
https://archive.is/ny3Q4
no no the topic of this post is "amazon bad"