jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Linked lists have more consistent performance than std::vector. And taking half a second to render one frame when you're averaging 100fps is way worse than consistent 50 FPS.

There was recently an article about intrusive linked lists, and this same question came up. I took the unreal linked list library, and wrote a similar std::vector implementation, and tested it. The test was simple, fire 50,000 bullets at a rate of 500 rounds per second, and remove them when they fall 2 meters. They existed in 3 separate lists: physics objects, renderable objects, and all objects. When they hit the ground, they were removed from all lists. Capture the clock ticks to generate each "frame", and do a few calculations on them at the end.

The average and median operation times for std::vector were indeed a fair bit faster (at -o3, at no optimizations the ILL implementation was faster). However, the worst case for std::vector was... much worse. More than 1000x worse in some runs. One test run showed the worse case taking over two millisecond for a single frame of just manipulating vectors!

$ ./benchmark_ill
Minimum: 0.000000
Maximum: 0.000094
Average: 0.000005
Median: 0.000005
Total Frames Rendered: 18968118
Total Run Time: 100.663895

$ ./benchmark_v
Minimum: 0.000000
Maximum: 0.004813
Average: 0.000002
Median: 0.000002
Total Frames Rendered: 35859663
Total Run Time: 100.664009
I was at a company once where they talked about it casually. The career path was clear, etc. You had your salary, and your bonus.

The bonus is easy to compute: It was a percentage of how much the company charged the other company for the work you did.

Like if the job you did that day cost $200k, you get 2k.

But to get back on topic, I think everyone should take a look at a book called "Winning Through Intimidation" by Robert J. Ringer.

The title is misleading. The content is "How not to be manipulated by people who use intimidation tactics, and here are the typical ones they use subtly so there's no way you could complain, and here's how to recognize what they're doing, and here's the way to deal with it".
You don't need to - all you need is code that says if you're processing data and you see this special sequence of bytes, start executing whatever follows it as kernel-level code.

This would be comparatively simple - you're just looking for a sequence of bytes and, if you see it, updating one or two registers.

Then you just need to get the special sequence followed by your exploit into the target's memory, which is trivial. Send them an e-mail, embed it in a picture of a cat and post it to reddit, stick it on the end of a gif in a banner ad, whatever.

If you check for the special sequence on the fast side of a fast/slow interface (like the interface between RAM and on-die cache) the speed impact would be all but invisible.
You'd also occasionally hit it in zerg-heavy 8 player melee games due to that larvae and overlord count against the limit without consuming any supply. It was always pretty hilarious to see a small pack of mutalisks kill a carrier doom-fleet which couldn't launch any interceptors due to the unit limit.
Multiplication in a finite field is quite straightforward, clearly not based on the area of a rectangle and highly relevant to CS.
Agree. Other, somewhat similar problem, is that it is actually hard to buy bitcoin. I don't feel like sending a copy of my ID to some exchange (which can be gone in a year or two). I wouldn't mind sending it to some established financial institution (HSBC, Barclays, whatever). But not some company which just popped up.
From the article: "a Hyperloop-like maglev system" "the potential of maglev-style systems".

The Hyperloop is not a maglev system (it uses air bearings), and the demo ore transport system they're talking about is also not a maglev system (it uses actual wheels, although the implication is that it might have used maglev tech in production).

Note to techcrunch: Maglev is not a word that means "cool" or "in a tube".
And what is the downside to them if this isn't entirely true? On one hand you have tens of millions of dollars and potentially a lot more, on the other you have a few angry nerds.
Generally code that deals with untrusted input often needs to balance the scale more towards security than other parts of the program might.
> it at no point mentions what the fellow is actually alleged to have said

Did you not read the article? It has extensive quotes.
Yes:

> Note that gcc10 performs slightly faster than clang9 in Wuffs’ benchmark numbers at the top of this post (as well as in an earlier non-SIMD Adler-32 implementation), although clang9 sometimes performs better for the other C mimic libraries.
You can also turn on "showdead" in your profile settings.

I always browse with showdead on.
Federal agents, while technically only possessing something akin to an even less accessible version of qualified immunity under the Bivens doctrine, in reality are basically never going to be held responsible in any sort of substantive way from those they victimized on the job, unless they literally kill a bystander or something and even that isn't a sure thing.
The case was filed more than 2 years ago, but I can't find any follow ups.

Does anyone know if there have been more recent developments? t the very least, has UVa issued a response of any sort?
I wonder if there is some sort of ergonomic benchmark for IDEs or keyboard shortcut layouts.

What I have in mind is given some representative code sample, how many keystrokes are needed to perform a set of common tasks like duplicate line, reverse the order of function arguments, etc. There could be penalties for uncomfortable shortcuts like CTRL-B on QWERTY.
> I believe that everyone has a fundamental right to secure, private communication. Some people may hold the same belief for the right to transfer funds. I don't agree and I suspect many others feel the same.

What are the arguments?

Don't you think that as data becomes more and more valuable, "freedom of transaction" is a natural evolution of "freedom of communication"?

In an environment where only "legally valueless" data circulates freely, the few entities that are actually able to monetize this data become gigantic monopolies (Google, FB, ...), while most individual parties are either forced to play by their rules (Youtube, Patreon, ...) or filtered out by startup costs.
this link requires login
I used it a while back, to add some functionality that would have otherwise required a lot more code and work.

Story (and a little video) here:

http://kylecordes.com/2010/the-prolog-story
It was probably a tabs vs spaces issue, leading to an oddity of a block of code at the wrong depth.

The fix is to simply accept only tabs OR spaces as valid whitespace... then again, this is one of the things that annoys me about make, but I digress..
Every proposal is called "reform", so that word is basically meaningless.

Yes, the current system is a disaster. However, that doesn't imply that we can't end up with an even worse system.

That said, I'll stand by my statement that the folks who claim to be interested in importing "the best and the brightest" have chosen poor allies, namely the open borders folk.
Anything that needs to sync data should just use Dropbox as a back end.
This gradual construction and refinement of exactly what you want reminds me of a certain TNG episode where they do just this: http://memory-alpha.org/wiki/Schisms_%28episode%29
Python -> Haskell seems like a serious leap. Even to the point of not seeming all that realistic. Care to elaborate on why you think that's a natural progression for you?

I like Python, but FP programming is a second-rate style there.
IME, most installations where Hadoop is "successfully" used it's running on pretty high-end machines. "Commodity hardware" really means standard hardware, not cheap hardware (as opposed to buying proprietary appliances and mainframes).
Aren't policy and details a product of culture? If a group of people, be it a team or nation, dont have have a solid culture then surely they cant achieve solid results. And indeed it would appear that gradually there is a decline in achieving great results from countries that have historically achieved such results. Dont get me wrong, the US is still doing great, but maybe when the rest of the world keeps raising red flags then criticism should be taken on board as not all is ill intentioned.
> Claiming that Jews are not native to the Middle East and are an attempt to replace Palestinians is factually wrong, though,

You stuck an 'and' between two ideas there. Native? Sure. Not an attempt to replace Palestinians? That's an uphill argument you've carved off for yourself that runs counter to all observable facts.

May as well just fall back on the classic "it was our land first" and have done with, since honestly you're not going to come up with any moral justification that holds up any better.
I enjoy how sometimes you'll see people recognizing each other on HN despite the use of pseudonyms. Gives a sense of a tight-nit community.
The reasoning is, since those are "web"-apps at the core, I saw no reason to complicate my OS package manager with a chrome-instance (bar VSCode). The whole install-use-update could be replaced by opening a tab.
I've used Postman as a desktop app and the performance was subpar.
Shocked that a project that started out in 1993 would change goals? That requirements would change as both the political/military environment as well as technology changed? It's like saying the B-1 bomber was a failure because we're sending them to the boneyard.

And this is not to mention that the Air Force ALWAYS wants something new and shiny.
No, the price went up significantly so maybe people are flooding into r/wsb to see what's going on
> ... just an easter-egg ..

Not true, according to OP:

> Allen Chen revealed that there was a code hidden in the parachute, as well as the markings being useful for camera alignment.
That's unlikely, reddit is down all the time. They definitely have the worst uptime of all the major websites.
The whole point of the exercise is not to just ship volumes of units, but build an ecosystem (just like what Apple and Google are doing too). A budget phone doesn't work because it won't be geared up to play the music and video and all of the other traits Amazon is looking at with it's 'Fire' ecosystem.

> Forget the lame Amazon AppStore, or at least provide both -- AppStore and Google Play, and let the customer choose.

Again, the point here is NOT to let the customer choose, it's to force the consumer into their ecosystem instead of Googles.

Switching costs are high, so getting people hooked into the Amazon Appstore might mean a lifetime customer, etc. One of the reason Amazon has designed Fire Tablets for children.

And this is another reason the Fire Phone is having a hard time - developers think the Amazon AppStore is shit.
Thanks, I'm now using Firefox on Windows 8.1 and it works fine, I'll check for Fedora tomorrow.

However I tried a random city :
Helena-West Helena, AR
https://kwelia.com/maps/cbsa_census_tract/Helena-West%20Hele...

and it says "Uh-oh! Looks like we don't have enough data for this MSA yet. Please try another selection." , fine, but the problem is the list of cities has now disappeared.

As ars commented, in the future if you could have something that finds out in which area you are currently looking, and loads automatically the data for the area, that would be even better!
> Certainly air quality in major cities has dropped significantly

Your link shows the exact opposite of what you're claiming - air quality has increased significantly.
When I was a lad, a story spanned 4 or even 6 episodes so had time to evolve properly, and of course gave the famous cliffhangers at the end of each episode. This mechanism worked really well, even if the writing was often iffy.

The modern scheme of parcelling an entire story in a single extended episode, otoh, hardly ever works, because there just isn't time for the viewer to get invested in what's going on. The New Year's day one, for example, seemed to be entirely resolved in about 10 minutes, which was just flat.
An oncolgy specialist can get many jobs as a doctor, although not as a specialist as such.

Outside of being an actual doctor, many more than a recently unemployed warehouse worker.
Samsung losing out to Mediatek is pretty hilarious on its own, given that Mediatek was once known for ultra-cheap, piss poor performing crap [1] and copyright issues [2]. Back some years when I had one of the first CAT rugged phones, which was based on Mediatek, I happened to look at a kernel code dump from them on Github and had I known back then what I know today I could have easily netted me some decent payout for local root exploits.

I don't really know what's more absurd, that Samsung managed to fall behind these guys or that MediaTek actually managed to get a grip on quality well enough to rival and surpass Samsung, a multi billion dollar conglomerate.

[1] https://www.bunniestudios.com/blog/?tag=mediatek

[2] https://news.ycombinator.com/item?id=9225691
Out of curiosity, how's your visual imaginative abilities?

The aphantasia test: imagine a person rolling a ball across the table.

What color was the person's hair? If it didn't occur to you, you may have aphantasia.

(This ability, I assume, is key in reading books. It's like an ongoing movie in your head if you can do it. I can't.)
It’s odd that you don’t instantly recognise your objection as whitewashing.

Covering up problems by referring to state-level statistics instead of looking at demographics is racist propaganda. Race is indeed a political tool, as are efforts to ignore it.
It's literally always been that way. Every business tries to cut costs, or they become unprofitable. Every organization tries to mechanize/create repetitive process where they can to minimize the amount of skilled workers they need as part of it. Every organization tries to skrimp where it can.

I literally never worked for a company with an onboarding or training process until I got to a FAANG. At that point I had been in industry full time for ~ 13 years, and worked at everything from startups to established 200+ employee companies.

Everyone has been worried about 'automation' nuking the jobs since I was born, and outsourcing killing all industry too. First it was Japan that was going to own the world though. Then Outsourcing to India. Then China. And they had impacts. But somehow, everyone who is useful keeps working, and everyone actually seems better off. Hell, the 'maintain the robots as the only jobs left' was a 90's thing with worries about car manufacturing automation.

Back then, a lot of jobs were things like secretaries, gophers (task runners)/delivery workers, retail shopping workers, postal workers, etc. Now people use email and write their own documents, uber or ubereats what they want, have things shipped to their door. Quality of life is dramatically higher in every objective way I can see.

And if anything, there are waaaaay more jobs now, and people seem to be doing better everywhere. But they seem to hate everything and everyone way more, and FEEL poorer.
Did you actually read the sources? They don’t remotely support any claim of “crt brainwashing” or in-class materials are filled with “crt.”
I was just being glib, but we all figured it was from exposure to one or more pesticides:

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6480006/

But who knows, could just be coincidence.
Chrome OS has sandboxed developer environments, which is pretty neat: https://www.youtube.com/watch?v=pRlh8LX4kQI
Brains, amirite?

With the masses sedate at their screens, the bureaucracy has no cognitive experience or expectations for anything different.

Decades of headlines being fed to Main Street going on about growing inequality did not really motivate Main Street to do much but shuffle back into the office.

Relativity pervades all experience. Reading about history in books is not exactly experiencing history.
Great concept. I really like the idea of owning cheap computing devices. That way, if I break it I won't feel bad. Nothing feels worse than accidentally spilling water all over your expensive laptop. It would fit me just perfectly.
http://www.win.tue.nl/~aeb/linux/kbd/A20.html
We actually tested the theory as of yesterday and it was still possible, re: the video we posted up: https://www.youtube.com/watch?v=718EOIoWKAE
I have no idea what you're referring to. The OP took issue with the default algorithm(s) selection order over the course of two paragraphs. I noted they were recently changed in the latest OpenSSH release to exclude weak ciphers.
(Disclosure: I'm a college dropout who went through Hack Reactor and can, for the first time, afford a comfortable lifestyle)

Hack Reactor focuses entirely on JavaScript and Web Development, after baking in the basics (algorithms, logical thinking, recursion vs iteration, introductory functional programming and TDD). And it is incredibly successful.

I think you're underestimating the difference between college and immersive learning. College is about many things, your major and focus being one of them. Immersive learning is about one thing. In Hack Reactor's case, it's becoming a competent Web Developer.

Elon Musk's response in this thread (https://www.reddit.com/r/IAmA/comments/2rgsan/i_am_elon_musk...) rings true. Almost no college is teaching Web Development, and so the students get little class based exposure to it, and stumble through many pitfalls. An immersive experience gives you the trunk and several branches, and then frees you up to go deep into whatever you care about.

And smart, voracious people who are eager to learn and better themselves quickly outclass everyone else.

Oh, and I could code competently before I went to Hack Reactor (I was a contractor). I went to gain deep web experience, work in crossfunctional teams, and have a safe place to fortify the foundational soft skills which are absolutely essential for productive software developers.

Oh, and the ROI is insane.
Combination of all of these. Frequently leftovers, frequently skip lunch (and breakfast, which I virtually never eat), some kind of stir fry and/or eggs in a skillet, or a soup or sandwich.

Anything that doesn't take too long.

I have a world-famous bbq joint less than one block away, and somehow I never find myself down there. I should, though!
We try very hard to do better, but even know this is the normal state of all manufactured products everywhere. One other problem is that mechanical design documents don't have good places for "why is this this way" type comments.
Reminded me of:

https://www.nbcmiami.com/news/local/drive-thru-botox-miami-dade-doctor-gets-creative-during-pandemic/2238055/
>Look how the small ecommerce companies have all become FBA companies

While I suspect you're right in that many have, I don't believe it's anywhere near a majority.
Yeah... I did know gcc allowed it, but I didn't know it was because the spec now allowed it and not that they were just doing it anyway. Sadly, I am heavily heavily using coroutines (--even coroutine lambdas... with captures structured bindings ;P (don't try to auto template them though: that crashes the compiler)--which clang has much better support for.
Wow I've been a software engineer nearly 15 years. When I was younger and had more passion in my career I would come to this site then I realised tech was largely full of annoying people with big egos and most of us spend our careers endlessly rebuilding the same shit in slightly different ways and it's quite rare to actually make big money from startups / equity and soul destroying trying to do it. I find it's also getting harder to avoid difficult ethical positions and compromising your own values with many of today's roles in the tech industry.

A repost of this thread on Twitter caught my attention.

I now work in a software job I'm much more comfortable with having gone through a number of much more technically challenging and 'successful' roles. I basically took over as the sole developer for a tiny family software business. The pay is not quite as good but once I'd proven myself I got to do things how I wanted and am respected by the family that run the company. I rarely now work long hours, often completing tasks in less time than I estimate they'll take and occasionally taking time out of my working day for myself. I don't feel remotely guilty for doing so - it's a role where the expectations and bar are much lower than I'm used to. Regardless I've delivered several sizable paid projects, usually about one a year while doing odd bits of support and development for the company's existing clients. It's the closest thing to running a business of my own without taking on the hassle and risk of employing people and managing the books etc. So I'd say it's a pretty good deal. However I am still beholden to some slightly idiotic decisions our customers make and have to deal with them directly but I don't mind - the variety is part of what attracted me to the job. I get involved in everything from pre-sales, producing quotes through to delivery and occasional support of the software.

It's hard to find a job role like the one I'm in but I think the starting point has to be that you have an idea of what you're after. The more you consider what opportunities there are that are not the usual tech nonsense you start to see there are definitely options out there.

I would say you need to have some motivation and contentment in your job even if it is fairly minor things otherwise you will probably end up depressed and start to subconsciously sabotage your own life and career. If you start to feel guilty about how little you do that's a good sign you've swung too far the other way.

All that said I would say good luck to anyone taking this path. Ultimately it has left me much happier to give up the aspirations of becoming CTO of some fast growing company and chill out doing my own thing. I spend time with my friends, family and my wife without the grinding stress of a high-flying job and the constant worry that I'm going to be called on in the middle of the night or work late or a whole weekend without any warning.

Life your fucking lives people.
In their defense it’s been a year and I’m still learning React. Please don’t act like it’s something you understand in a few hours because it’s not. You might be able to copy-paste the example code and get something that works and sorta seeing what happens but to really understand takes a lot of time.
It's also the level of absurdity I'm seeing in the response to Covid itself.
I'm fine with a lot of the established players paying deeply. I think our economy is egregiously over-financialized, devoting incredible amounts of time and brainpower to zero- and negative-sum activity.

However, that in no way suggests I would be in favor of making it easier for grifters to fleece the rubes. Indeed, I favor strongly regulated markets partly because that reduces the rewards for parasitic activity.
I use to be highly constricted by my social anxiety when I was younger, I couldn't drive in a car, go to a restaurant, I couldn't eat in public, or during a family dinner.

The best thing I ever did was make the realization that what was holding me back was myself and knowing this allowed me to take a "fuck this shit" attitude towards the entire situation. Over time, I regained my life and was able to do things that are considered normal. I also went to a psychiatrist for a while to learn some coping methods like breathing exercises.

You can beat it, I still at times have problems with anxiety but they are nothing compared to what they once were.

My overall best advice is to get yourself in the proper mental state.