skysight-inc/HackerNews huggingface dataset:
It is not a controversial statement to say that an election shouldn't be run with closed software made by a private company with financial, personal, and professional ties to one of the candidates. If something like this happened elsewhere in the world the US would use it as pretext for intervention.
> But this is very intel: get psyched about a technology, dump billions into it for a few years, flake out

Hit the nail on the head! I worked for Intel nearly a decade ago. I was a full time employee for a few years. They saw Android and the Apple app store capturing mobile users and decided to dump $$$ into an app store for the PC (Intel AppUp). The effort lasted a few years before it crashed and burned HARD. During this time they also tried to spin up Meego/Moblin for mobile and tablet, then a partnership with Samsung to work on Tizen, and bought up McAffee.

The amount of money Intel flushes down the toilet with fruitless endeavors is sad, especially considering the number of people that end up jobless (like many of my good friends did) because of it.
Even if you make your software open source and have the top security experts pour over the code and have a transparent process for how it gets deployed... laypeople won't trust it. In fact, quite the opposite, the more you focus on security, the less people are likely to trust it.

Our government's legitimacy is based on trust in our elections. I may not like who wins all the time, but I more or less feel that the wins are legitimate in the US. But if you erode this basic trust, then the government can't function.
https://www.marketwatch.com/story/how-we-know-that-tesla-is-...
You can accomplish something similar in C++: single argument constructors let you skip the parentheses but that single argument can be an initializer_list, for example 'Tag(std::initializer_list<Tag> children)'. Now create subclasses of Tag for actual tags and you end up with a DSL that looks just like the one in the article. There is of course a bit more to it, but it can be done.
Or freeing up time spent on minor inconveniences (buying ingredients, cooking, cleaning) gives me more opportunity to deal with more major inconveniences and challenges, or anything else I want to do.

I used to cook but stopped years ago. I like having a huge variety of food options on-demand. I like being able to order delivery, do something fun and/or productive while waiting for the food, and then continue as soon as I finish eating. Or I can walk to a restaurant and get some exercise in before and after eating.

I have a small kitchen and a short attention span. I could stockpile it with dozens of fresh ingredients every day and cook from 7 different cuisines every day of the week, but it's much easier if I don't have to do that. Time is the most valuable resource in the universe, and I don't get much enjoyment from cooking, so having the privilege to eat out for every meal has made me a lot happier on average.

I don't buy the argument that removing those sorts of obstacles and inconveniences makes you depressed. Maybe in cases where physical activity is greatly reduced, but that's just a correlation and not a given. If you're self-sustaining and not mooching off of others, I think you should do whatever makes you happy, and if that includes never cooking, cleaning, or driving again, odds are you'll be happier and better-off for it. If you enjoy cooking, go for it, but if you don't and don't have to, why do something that doesn't make you happy and erases a not-insignificant proportion of your entire existence? Life has more than enough hardships and inconveniences to throw at you in other ways.
Has anything gone Uphill since Facebook got involved in it?
My point is: the official base and turbo clocks are not that relevant. Typical clocks can be found in product reviews.
Certainly, but law is guided by empiricism. Newton's third law is not scientific fact prima facie. It was developed via observation.

In this case, you say simply that 'oh it's the equal and opposite reaction', and that seems theoretically possible. But then you do the experiment, and all of a sudden, you see not only a force due to the third law, but also a pressure differential. Based on the laws of pressure, a high pressure beneath the wing and a lower pressure on top must also exert a force. These pressure laws are as fundamental (and are actually simply a consequence of the third law, since pressure is just a statistical approximation of the third law applied to invisible microscopic particles).

Thus, while almost certainly true the third law does contribute, it's also true that it is not a full explanation. The third law could explain lift, but it does not explain why the pressure differential would exist, and thus cannot account for the extra lift due to that.

The third law would additionally predict that the pressure on top should be greater than that on the bottom. This is an easy experiment to do. Get a piston in a closed cylinder (the piston does not need to partition the cylinder). Place two pressure gauges on each side. Now pull the piston up. The side being compressed has higher pressure. This suggests that, if a flat board moves towards a side of a closed system, that side of the system ought to experience higher pressure. But it doesn't in the case of wings, so that's weird
A bit later ('98 or '99, I think) I worked at a content/community site for older folks. Intel gave us this odd speech-synth software/API bolted on to a low poly 3D face that could move its lips in vaguely realistic ways. There was a plugin needed to use it in a browser, and we were given money to figure out something useful enough to do with it that people would bother to install the plugin.

Pretty sure you can guess how well that worked. My suggestion, making the tacky 90's robot recite Cartman lines or otherwise swear in ridiculous ways, was... not exactly in alignment with the rest of our content strategy, you might say. And probably not what Intel had in mind. But I bet adoptions would have broken the two-digit barrier.
Visual Studio isn't native though. It's .NET and COM. That's also why we're still stuck with 32-bit VS.
Speaking of, I wish there were an "idiomatic code benchmarks game". Some of us want to compare language speed for common use cases vs trying to squeeze every last piece of performance from it.
I think the Adventures in Prolog book is the best way to learn where you code up a text adventure game. It made things click much better than any tutorial for me.

In general though I really like "learn x in y" as a resource.

I like the concept of Prolog too, but to me it makes very hard things easier and easy things hard. So it doesn't make sense in many situations to use.
Probably not very long. Even with a small attack surface, if half the world uses it, the zero-days are valuable. Links is still vulnerable to

* application-layer attacks (it is still an HTTP client and HTML parser, and the protocols themselves are complicated to implement soundly, even if the newest features aren't included)

* protocol attacks (is links immune to buffer-overruns triggered by intentionally-malformed queries? Probably not, since it has no total-soundness verification. And the source code isn't open-source so )

* dependency attacks (it uses svgalib [https://www.cvedetails.com/vulnerability-list/vendor_id-84/p...], and every third-party library is a potential attack vector)

* good old-fashioned UI spoofing (is links' UI design immune to allowing web pages to show an image that tricks the user into thinking they're looking at the links UI itself?)

In this thought experiment, any successful attack has massive value so we can expect bad actors to be hammering on the system and finding most such exploits available on the application.
You don't need microservices for that, though. One might as well have moved that piece into a library.
... they can't just deflect blame either. I'm sure they'd be happy to take credit for any success. Anyone who had direct control over the product is at fault.
My dentist made me a custom night guard. Is he not owning and growing a real business?

It’s quite the leap you make from there to religion.
Iowa Democratic Party (IDP), not the DNC.
And https://www.wsj.com/articles/teslas-epic-rally-echoes-past-o...
Sure, that has to be true if the helicopter can hover. But how do you know that's possible?

You can't postulate that something flies as part of an explanation why it can fly...
Wasn't "Roadrunner" powered by Cell? What's Cell doing these days?
Not surprised: 100GBe interconnects vs proprietary interconnect. Complex architecture for which a hell of a lot work has to be done in the compiler (anyone remember Itanium?) vs something that's barely more complex than NUMA. Lower TDP per node is relevant for large scale datacenters.

Yes, Nervana looks much sexier, but I'd expect Habana to be more useful/usable overall.
More than that, you need a grand conspiracy that is so obscure third party observers can't see it happening. Relatively easy with software, because software is obscure almost by definition. Difficult with something tactile like paper ballots.

(Or you need a country where those third party observers are already powerless, but that's beside the point).
No, I don't think so. You would need to demonstrate that this application is representative of "most people's problems," which doesn't seem clear to me.

This shows only a single example where Go is not very suitable, but it doesn't prove a general case on its own.
They're aliased with the array that you allocated them from. The compiler is free to assume that elements in an array with a declared type of uint8_t won't be accessed via any other type of lvalue (other than another character type). Doing so is undefined behavior, which means there are no guarantees about how any part of the program behaves before or after such an access. In many cases you can get away with it, of course, but a strictly conforming C program can't rely on that.
What do you talk about? Why even talk unless you have to sale something?
It always feels a bit half baked when the class library isn’t designed with it though. It would be as if generics were added but not System.Collections.Generic. So while I long thought it would be the perfect addition to C#, I’m not so enthusiastic any more. It would be great (F# is!) but not as good as it would be in a language and platform where it was there all along.

In F# this is already an issue when you want to use Option/Result but as soon as you do anything with the BCL you need to handle exceptions instead, and convert to/from error cases of ADTs.
Still, how exactly viscosity helps to create the lift force?
That's a good point. Even Matlab and IDL didn't have the widespread reach of Fortran for that kind of thing until later.
Your browser provides its own UI for choosing the location to save downloaded files. This might not be ideal if you want to build your own file manager view into your app, but I don't think it's fair to say that your app is less capable just because it doesn't have that.
The two founders of Instagram spent $65k (out of $500k they raised) to launch the very first version of Instagram in 2010 [1].

[1] https://lnns.co/8zhgtOF0YCo
7000-Year-Old Wooden Well Discovered in Czech Republic
Can you comment on whether the proposal was part of the the SBIR / STTR program? Just curious as to the scope of companies that were participants in the proposal process.

As an aside - these instances of underfunded and underdeveloped services, specifically in the political sphere, are really painful reminders of the flip side to the idealistic technocratic future that I think a lot of folks around here assume to be an inevitability.
What are some recommended resources for a gentle introduction to Rust?
Go's CPU floor is lower compared to the naive Rust port (roughly 20% vs 23% from eyeballing). Their optimized Rust version is shown in the next series of graphs as being ~12%.
Would you be willing to explain why explicit asynchrony is superior to implicit cooperative threading? Rather than simply engaging in more namecalling.
If anyone complains about my "loud" desktop, I just fire up the Sun Fire T2000 and smugly smirk at them.
App shows how much time you've got left in life
The length extension attack is a non-issue for Git’s use case, and SHA-256 (unlike SHA-512) benefits from having hardware acceleration in the new Ice Lake Intel chips (as well as on the AMD side of things), and has been around 11 years longer than SHA-512/256. And, yes, there are places which say “If you will use a hash, you will use SHA-256”.

Personally, the last time I was in a place where I had to choose which cryptography to use, I used SHA3’s direct predecessor, RadioGatún, because I needed a combined hash + stream cipher and, at the time (late 2007), RadioGatún was the only option.

RadioGatún also benefits from being about as fast as BLAKE2 (it would be faster in hardware, FWIW, having SHA3’s hardware advantages), and is approaching 14 years old without being broken by cryptoanalysis. Also, unlike BLAKE2/3, and like SHA3 and all sponge functions, it’s computationally expensive to “fast forward” in RadioGatún’s XOF (stream cipher, if you will) mode, which is beneficial for things like password hashing. Another nice thing about RadioGatún: It doesn’t have any magic constants in its specification, allowing a useful implementation to fit on my coffee mug, e.g.

#include<stdio.h>//RadioGatun
#include<stdint.h>/*32-bit**/
#define b(z) for(c=0;c<z;c++)
uint32_t c,e[42],f[42],g=19,h
=13,n[45],i,j,k;void m(){j=0;
b(12)f[c+c%3*h]^=e[c+1];b(g){
i=c*7%g;k=e[i++];k^=e[i%g]|~e
[(i+1)%g];j=j+c;n[c]=n[c+g]=k
>>j%32|k<<-j%32;}for(i=39;i--
;f[i+1]=f[i])e[i]=n[i]^n[i+1]
^n[i+4];b(3)e[c+h]^=f[c*h]=f[
c*h+h];*e^=1;}int main(int c,
char**v){char*q=v[--c];for(;;
m()){b(3){for(j=0;j<4;){f[c*h
]^=k=(*q?255&*q:1)<<8*j++;e[c
+16]^=k;if(!*q++){b(18)m();b(
8){j=c;b(4)printf("%02x",(e[1
+j%2]>>8*c)&255);c=j;if(c%2)m
();}return 0&puts("");}}}}}//

If someone asked me which hash algorithm to use, I would suggest SHA-256, unless I think they needed protection from length extension attacks (so SHA-512/256), or needed an XOF (stream cipher-like) construction (so SHAKE256).

If performance mattered more than a conservative security margin, BLAKE3 (software performance) or KangarooTwelve (SHA3 variant; excellent hardware performance) would be good choices. If I were to do choose a hash + XOF for use today, I would use KangarooTwelve’s variant with a little larger security margin: MarsupilamiFourteen.
I've personally had several anxiety breakdowns trying to grapple with the hatred I see on Twitter, and I've been fortunate enough to never really have any aimed at me directly.

The key is mindfulness. Healthy detachment. Decouple your internal moral system/self-judgement mechanisms from those of the people around you. The two don't need to line up perfectly; they shouldn't be the same thing. Theirs may be rooted in real and valid experiences, even if it comes out as something destructive. Yours may too. You don't have to fight anything or anyone to gain your own peace and clarity. Stepping back is the only way out of the spiral.
There's a long history of Go and Rust partisans arguing this point. It's unfortunate, but I think it's reasonable to fight that strawman preemptively.
This can be both motivating and frustrating. Depending on how you view your life and time. What's your opinion people?
I'm super embarrassed as a dotNet developer, at times 'engineer', that I don't know this..

I can't list how many time's I've ran into this kind of issue when trying to explain to a peer/intern.. (Only know I probably messed up a bit now) And HN links like this just remind me that I would love to take a 'bus mans holiday' just to catch up on the framework.

This is a huge plus to the benefits of sending employees and me (please send me) to those release conferences. 'New dotNet Core coming ?' : I want to be there, but I have to live in Europe and not able to take holidays, so the stream is saved; I'll watch it later (I rarely do). :(

Whatever about patterns and higher level issues, knowing the framework is also damn key important and often overlooked as a given.
Really knowing the framework, all the way down to the compile time really offers some incredible results, I have been fortunate to work with some who really knew the framework versions that we were in and it was always so much fun to put bets on how much time that team would save from ours and other teams from even just a light refactor.
Most important is that developers should know the framework, not because of high time savers, but so that nobody is re-writing the wheel (intentionally did not say : 'not reinventing')

I wish I had the time to always dig through the release notes of the latest framework abilities, not to mention 'Core'.. I might bring this up as a task for the team, but does anyone genuinely have good suggestions on how to drill into fellow team mates that its important to check up on framework functionality..

I really feel kinda insulting to say: 'maybe google it to see if there is a simular issue that could shine a light?'

God bless HN.

Edit: ReSharper is my best colleague.. I'll copy an important note from below:

>Note : I am not fighting against tools, just that sometimes, me included, the tools make us not go and search why resharper is screaming: 'you're an idiot'!
Ask HN: Why do I need to sign an NDA to visit a company?
Hello HN! This is the most fun thing I've worked on in a long time. We basically figured out how to pull down Heroku slugs, turn them into Docker Images, and then deploy them as Firecracker MicroVMs on our servers. All to make a "turboku" button.

What's crazy is how much faster is makes things. This is more a testament to Heroku being slow and 10 years stagnant than us being all that special, but it's still pretty neat to see stuff you think might work well actually pay off.

Incidentally, you can deploy containers directly to this same platform pretty quickly: https://fly.io/docs/speedrun/
Turns out that that boring stuff - type theory - they throw at you in uni, can be quite useful. Not only can it help with things like memory safety but also with speed. This is why for instance C++ std::sort() is faster than C qsort(), better type information available to the compiler allows it to make better optimizations. In rust the type system is king.
A restaurant benefits from the economy of scale --- preparing food for a lot of people amortizes the effort spent on upkeep and $ on equipment. Also there's a team, vs. just yourself when you cook yourself, and specialization increases efficiency too. As for ingredients, well, YMMV; personally I frequent quite a few 'somewhere inexpensive' restaurants that minimally process quality ingredients.
We can hope. The internet is an unprecedented acceleration mechanism for this pattern; that's why it's becoming so common. It's possible that with that commonality will come awareness; it's possible it won't. We'll see.
iPhone App Makers Questioned by U.S. Department of Justice
However the memory usage difference is astonishing for some of those benchmarks - using 1000x more memory is only acceptable for some situations.
More that they were being a bunch of godamned idiots who were neither helping outreach against bigotry, harming actual bigots, nor helping those harmed by it really. The collective lie/delusion is that they are involved in anything remotely good in spite of intentions.

I would put it in the Soviet analogy as "Even if the boss and shareholders get richer from your work under capitalism doesn't mean that the Soviet system did anything to help the workers. They are doing perfectly fine and you are only hurting yourselves."

Not a perfect metaphor of course but really the nominal target is fundamentally irrelevant to the impact of their actions.
You just described pretty much every day of my life for the past 8 years.

I think there's nothing wrong with this. (Though of course I'm biased.) The intermittent fasting seems to benefit my concentration and energy, even if the fasting happens to be unintentional and due to distraction or laziness. The only externality is if you end up eating a lot right before sleeping, which tends to impact my sleep and digestion. As long as you avoid that and are getting enough calories and nutrition, I don't see the issue.
Thanks for the clarification. Supporting user-friendly domains is really important.
She has an O'Reilly video course on building container runtime's in go that is really great as well.
I read the Rust Programming Language book over Christmas and it's a very good introduction to it, probably one of the best I've seen for any language. It's got a good voice, and it's very good about putting enough context around Rust design decisions to understand the why as well as the how. But's it's not so long that it feels like a slog.
Why is any sort of "Democratic software company" even remotely necessary? Why can't they pay for white-labeled solutions? Or pay an established consulting agency to build things?
Fun fact: Intel uses them in place of bribe^^ uh, I mean as a reward to volume re-sellers for meeting sale goals, and during specific SKU promotions (buy cpu +MB, receive free SSD).
Yeah, I have a similar experience and the other day I was working on a little bit of scheme which is new to me and couldn't figure out which parasites was missing. Took a lot of visual linting to spot it. I know there are tools but i was using the repl where you have to do it by eye/hand. Hopefully it'll get better as I love the language.
Robotic solar death rays sounds like a bunch of fun, but stopping the movement of sand destroys the dune ecosystem. You can look into the history of the Oregon Sand Dunes and how invasive European beach grass stabilized the dunes and changed the ecology.

We don't live on Arrakis; as of now, there's no need to fight against natural sandy habitat.
No one can explain why planes stay in the air
What did I write specifically that's wrong?
The article mentions the paper trail backup. Good luck with that. Given our experience with Florida in the 2000 presidential election, who would be willing to bet that the paper ballot results would agree with the head count results? I was at one of the caucuses - there were two paper ballot rounds and three head counts (done by people counting themselves, supervised by staffers for the various candidates). 626 people attended my caucus. I'm sure none of them were in the bathroom during one of the three head counts over the course of a couple hours; that just couldn't happen.

The paper ballots required attendees to fill in the full name of their preferred candidate (plus a second choice), as well as their own name and address. Considering the fact that people cannot be counted on to fill in a circle or punch a hole in a piece of paper with 100% accuracy, how likely is it that multiple lines of text can be written on a card correctly and legibly?. If they actually fall back on the paper ballots, I predict all hope of a clear result will be lost.
Podman with the new crun[1] container runtime is pretty lightweight. Everything circles back to C.

[1]: https://github.com/containers/crun
Switching to Rust is a good idea, but I was wondering- would it be possible to run two identical instances in parallel and return results from the fastest one? This would almost completely eliminate GC pauses from the final output.
A simple RESTful mobile-friendly web page could have handled this easy. What were these people thinking?
D3.js – Data-Driven Documents
Back to basics: education in basic cleanliness and personal hygiene and education in biology and microorganisms goes a long way.
Hate speech is illegal in the UK. This means you can report social media posts and the police will knock on the poster's door (I guess if they can figure out who it is) and "investigate".

https://twitter.com/syptweet/status/1038891067381350401?s=20

See also: https://www.thetimes.co.uk/article/police-arresting-nine-peo...