jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
My point is that it's possible to extend the Rust model to check this at compile time. The borrow checker has to understand backpointers. The owned object cannot outlive the owner, so a simple backpointer is safe in that sense. But ownership can change, and when it does, the backpointer must also change.

The Rust ownership model can almost do this now. A move-type assignment to the forward pointer which causes a change in ownership would have to do a mutable borrow on the backpointer to get exclusive use, then change the backpointer to the new owner. That prevents a change to the backpointer while it's being used for something. The borrow checker would have to understand that those two pointers are tied together by an invariant. There would need to be syntax for back references, understood by initialization as well as moves.

It's such a common case that it's worth the special handling. It would let you do trees and doubly-linked lists without reference counts.

The Rust ownership model is very powerful. I was fooling around with something like this a decade ago as an improvement to C++, but all I expected to get out of it was the elimination of reference count updates when you passed an object to a function without giving the function permission to delete or keep the object. Rust pushes that model much harder, and it works. It can be pushed even further to make more common use cases compile-time checkable. This would cover more common idioms from C++.

Another possible extension is lifetimes on objects allocated with "new". If you need to add something to a tree, you want the new objects to have the same lifetime as the tree. If you could specify a lifetime in "new", resulting in an object being allocated in an outer scope, that would cover the idiom where you call some "add to data structure" function and it creates objects to be added to the data structure. Currently in Rust, you have to create new objects from within the scope that owns the data structure, then call some function to install them in the data structure.

The idea of creating an object in an outer scope seems strange, but when you create a closure, you're doing just that.
Hoftstadter struggles with deep metaphysical questions, which will never have satisfying answers. But there is a unique art to his exploration. The problem is that if you read it when you are young, you think there are answers in the book,when really there are only musings.
I do wonder what the long term outlook on that is. Politician is an extremely unstable job, so that $210k base for a job you might only have for four years (and then not exactly drop out into a lucrative field like IT) probably doesn't feel like a lot.
would I be penalized if i resubmit this in the way you mentioned? Because this looks pretty cool
How is that implemented, using term limits?
Well that's certainly dismissive for all the other authors who wrote science fiction before him. It's also cultish, and probably wrong given that I find his books sluggish and boring, with the psychological acumen of an american high school teenager.
I read that to mean "If a manager would say to one of his developers, who are probably all worth their salt, take a profiler and go figure out why our load times suck, then this would be fixed."

But a manager shouldn't even have to do that, because in a well functioning team, if the dev leads come back with such a fix, they won't get punished for going off the reservation and would probably be doing this of their own initiative.

But if things like that get met with "why have you wasted time on this? we gave you the list of priorities and it does not include load times" then dev leads will make sure all developers time is filled with things which are prioritized.

Edit: grammar
Self modifying programs have totally been a thing. :D They were hard to reason about so fell by the wayside but still...

For ion flow through dendrites and axons, the separation of information transmission from the protein assemblies of neurons is similarly separated.

For neurotransmitters the particles are literally packed into bundles and separated from the ionic transmission that causes their release and cell boundaries at the synapse until re-up take.

For electric transmission, the electricity is definitely separate from the axon and junction.

I think the distinction is a little more in how a single computer's hardware is constrained to a (relatively) small set of finite states outside of outside modification. The brain can expand and contract the set of states that it's physical parts can enter on top of being, for better and worse, less discrete. If our computers could grow their silicon wafers and lay new circuits then we would have something similar.
just adding interrupts and multiple cores is enough to break that kind of "simplicity".
Usually, the complaint with OTP is how to move a copy of the pad in a way that is both secure and still useful/practical. I think there is a simple solution to this (at least some of the time) if you limit the scope to "friends that meet occasionally".

What I want to make[1] is a pair of basically any embedded micro, in a "thumbdrive-ish" (or whatever for the prototype) size that has some amount of flash on it to store the pad, a USB interface, and a hardware-RNG[2]. Additionally, there is some sort of serial interface that will be used to null-modem two of these devices together.

When connected, the devices generate public keys (for authentication, etc), and generate noise. They send the noise to each other, and save the XOR of the noise to flash, so no device has total control of the generation.

The idea is that the "user experience" would be this: go over to a friends house, and plug your devices together for some period of time (hours, probably, but it can be cut off early). Then when you go home, plug it in to your computer and you can chat securely, slowly burning the pad from flash automatically. This is done over USB, so the pad never leaves the device. The firmware can handle the destruction of the pad as it is used and other details.

This doesn't solve everything, and the pad would run out fast if you wanted to send non-text data. What it should do is make it trivial for two parties to chat/email securely. Details like refilling the pad (visit friend for dinner, plug devices together while you eat) shouldn't be hard for most people, as long as they can see how much pad is remaining.

[1] I plan to implement a prototype of this as soon as I have spare time & cash for some hardware to experiment on.

[2] probably using something like the reverse-biased transistor method discussed in TFC
A day corresponds to an actual rotation of the Earth, i.e., a day-night cycle.

A year corresponds to an actual revolution of the Earth about the Sun, i.e., seasons.

A week corresponds to...nothing. Four of them are a (very) rough estimate of the phases of the moon, but that's not something that really matters to anyone other than sailors nowadays.
I find it odd all the comments are focusing on how stocks are exchanged, and not on the fact that the article suggests that brokers are straight-up lying about having shares.

> So their brokers commonly wink and do a “locate,” not a borrow, effectively saying, “Yes, I know where the share is and can buy it when the time comes to deliver.”

The evidence, unfortunately, is based mostly on past behavior and looking at the volume of FTDs.

> Citadel violated the Security Commission’s Reg SHO, the rule regulating short sales. On November 13, 2020, FINRA, the traders’ self-regulator, fined Citadel Securities $180,000 for failing to mark 6.5 million equity trades as short sales between September 14, 2015, and July 21, 2016. Citadel did not admit or deny the allegations but paid the fine.

It then goes on to explain how it's relatively easy to obscure this, but there's really no "gotcha" in this article. It's mostly a summary of how relatively weak enforcement is from the SEC, and that it seems very probable the guys with money have substantial influence over the regulators (the story behind this is actually pretty good in the article).
> That performance is thanks to zip and gzip using the same compression format, which enables kernelspace copies

Can someone elaborate on the relationship between gzip and kernel space copies?
For everybody reading, a directory called "-rf" is deleted by writing "rm -- -rf"; -- indicates the end of all user-provided options.
Do you have a direct paypall? Im not a fan of subscription services but Id like to support this.
How about getting paid to do the clearing between those share movers?
Probably the second most expensive mistake after 'null'.

Discuss... :)
Your monitor which happens to have ports on it?
When I worked in Austria and Germany, most employees started between 6:00 and 8:00 AM at the latest. Although there was nothing against coming in after 9:00 AM due to flex-time, it would guarantee you'd miss all the morning coffee chit-chat with internal company gossip and by the time you'd leave work and head to the city, the shops would already be close to closing.
You mean like epoll on Linux?
It has to be people pushing companies to do it. Which is why it is exactly counter-productive to post "Of course companies won't do anything" when a person is demanding a company do better.
Uncrop!
Eclipse was 18 million lines in 2008 - http://eclipse.dzone.com/articles/eclipse-ganymede-18-millio... Obviously it's not a direct comparison, but...
I don't mean to be negative, but I like your product a lot less without autoscaling. If it's hard to do, then it'll be nearly impossible for me; if its not hard, then I'll be annoyed that I'm writing code that you guys could have trivially written.
this remind me of a glass door we had. Glass was so clean, and there was no handle, people often used to hit either on the wrong side, or worse used to think there is no door and hit into the glass as they walk.
I'm with the both of you. It might be an unfortunately uninformative design, that doesn't mean you have to rely 100% on design to accept a little bit of responsible attention to detail and feel the door and check for movement inside to tell you the thing is still running.
It looks very promising and definitely should solve a big pain for me, but when I tried getting more information about what it will do, I got loads of 404s. All learn more pages on http://www.taskforceapp.com/guide are 404s along with several others on the website.

Apart the site looks good, but when you move between pages (try homepage and guide page), you will realize that the top bar moves vertically by at least a few pixels. I am sure you guys would want it to be consistent.

Waiting for an invite.
Excuse me, but that is not how it's done. Repeat after me:

The paper will be read and attempts to improve will be made.

Dad will be blamed.
sysadmin badges! Interesting. I would imagine that the intersection between sysadmins and gamers is large?
Regarding encouraging wrong behaviors, this Dilbert strip springs to mind: http://i18.tinypic.com/34461wi.jpg. Love it.
A straightforward, in-depth guide which is easy to understand. It's absolutely superb ... but am I alone in being put off by the high cost of a USB analyser?
I'd like to note that this particular article uses the word "rightsholder" as almost a title. If you substitute "aristocrat" or "noble" for "rightsholder" in the article, you make it a quite unsavory read.

Will "rightsholder" become the equivalent of "noble born" in the near future?
Ha!

I think this is a good idea, but not for software developers. Most developers, the ones you want to work with anyway, enjoy programming and they also take pride in their work and thus will fix programming errors without any extra incentive. But it might be cool for other jobs, stuff that is less fun.

Like system-administration. /me ducks. :)
That quote also stuck in my mind. I'm more of a dynamic-language type for most things, and his argument seems to go heavily against dynamic languages. By the way, I'd quote the sentence before as well since it adds important context.

It was a significant improvement that now many a silly mistake did result in an error message instead of in an erroneous answer. (And even this improvement wasn't universally appreciated: some people found error messages they couldn't ignore more annoying than wrong results, and, when judging the relative merits of programming languages, some still seem to equate "the ease of programming" with the ease of making undetected mistakes.)
Will get pointed up but just smacks of passive-agressive argumental.

History, specifically in science and math is full of examples where people who actively sought to question the knowledge of more senior experts have made discoveries that advanced the knowledge of human-kind and have then been overlooked or ignored because they did not have the correct background. Institutions such as The Royal Society and The Geological Society where created exactly on this principle.

The idea that "you cannot question X because X is a learned man above your station" is what IMO destroys general interest in fields such as physics. You have to spend a career following the party line in the hope that one day you will be given enough rope to actually challenge anything.

How on earth would you put probability on something like that?
Should be the opposite, this is not even 1/10th of 1 percent of what's stored in defi. This shouldn't even be huge news. I don't even see any links to bug bounties on their site.
Want to download music? yt-dl, convert to mp3. Want to archive a video for later watching? yt-dl it. Want to avoid using a bloated webpage to watch a single video on YouTube? yt-dl it. Want to keep the video in case you're worried about it being taken down? yt-dl it.
Did YOU? Can you not see the disproportionate police response between those riots and this one?
Is this not “the market” deciding it doesn’t want to entertain this business? As a society it’s totally reasonable for us to draw the line at intolerable behaviour, we’re not obliged to put up with platforms that enable hate and vitriol, just as we don’t tolerate violence in the street.

If a business closes because nobody is interested in buying their products, or a club disbands because nobody is interested in joining, or a pub bars a patron who’s starting fights and nobody blinks an eye. The same thing happens on the internet and suddenly it’s the end of the world.
Changelog: https://github.com/ariya/phantomjs/blob/0352ddb502be9cb53cdb...
Wouldn't you then need to sync the randomly generated salt across browsers? That doesn't seem so stateless anymore.
> People only start caring when it's too late, when they themselves get affected.

You might be right but I prefer to be less fatalistic. If an article (like this one) hits close enough to make someone think "it could have been me" then perhaps that is enough.

I don't understand your last sentence.
I know you are a gun fan from all the pro gun posts. Convincing you isn't really a goal of mine. I was speaking to general auditorium.

Also I'm quite aware of gun culture in US. Chance of changing that are nonexistent. I can however appeal to people that are intending to buy a gun.
Not sure how much I agree with this.
Turned down heating anyway :)
That site existed way before Ruby rockstars. I remember reading it in high school. It was priceless.
The first lesson literally consists of "run python interpreter, then quit".

How is this a useful way to approach things? He compares it to learning to play guitar - if my first guitar lesson consisted of "Open your guitar case. Take out the guitar. Put it back.", I'd ask for my money back!
ah, Python, the language where you have to learn for in range() before even knowing functions or lists. Just memorize this, we'll explain it later...
I believe him.

Some programming is impossible to get back to. I myself am a read-only C-like language user; only way I can keep myself interested is to fiddle with obscure corners of the spec and pushing the compilers, but hardly can I do any serious programming with them with a straight face.

For me to use a language seriously I must respect it. Having been a Lisper for 10 years, I simply don't respect the market languages out there. I have absolutely no confidence in their design choices, workflow, environment, or the engineering methodologies and tools they have spawned to compensate for their ills. They're palatable in snippets, but for creative flow and work from scratch, I will quickly convince myself to "prototype" in Lisp, and sometime later, end up deploying it in Lisp, or generating from it.

If it's not Lisp, then jQuery :-)

P.S. If it doesn't have a REPL that works with emacs, I probably wont touch it.
There you go http://servicestack.net
My go-to for any time-series data is a column-oriented database.

fyi, Cassandra is row-oriented.
I've never understood this mentality. If a company (in this case the NFL) doesn't want me to be their customer then I simply won't be. For example, I like watching the Sabres (hockey for the uninitiated), but only a couple games a season are available to me. Therefore, I have stopped watching the games and they don't receive any of my money in the form of merchandising or ad revenue because one fewer set of eyes are watching their ads.
one man's trash is another man's treasure :)
Yes please.

Far too many people are killed due to the fact people think they're driving on a race track, people only stop to think of the consequences after they've disabled or killed someone and it needs to end. In my city here in Australia we have 40km enforced school zones where children are crossing, this only comes into effect a couple of hours in the morning and afternoon on school days. It would be interesting to see how this system could adapt to variable speed conditions such as school zones without becoming annoying and causing motorists to always disable the speed limiting mode thus rendering the feature pointless.

I really like this idea though. It definitely should be rolled out everywhere and be a standard feature going forward. If such a feature means you can get lower insurance premiums, I would be all for having this feature enabled if my car supported it.
BIG DISCLAIMER: I WORK FOR GM! Disclaimer: What follow are my personal opinions!

Given the above, I do not think GM has always been right. GM has been part of many morally questionable practices. I think GM was on a terrible course from the mid 1970's to the early 2000's[0]. Those diesel engines in particular were incredibly shitty. My dad was one of those guys who loved the idea of diesel and who got the stares and the smirks.[1]

In the early 2000's they started to try to change. It is very difficult to change a large organization like GM.[2] I don't think today's GM is the same GM from 1920, 1939, 1970, or 1990. If it was, I wouldn't work here.

Many say it would have been worth it to let GM die. Under circumstances other than the 2008 economic downturn, it might have been.

Much of the severity of the 2008 crisis was largely (immediately) due to shock related to the collapse of Lehman Brothers [3] and the refusal of anyone to take over those assets at any price.

Very few people worked for Lehman Bros. A LOT of people work in the automotive ecosystem.

Before bailing out GM, the govt and GM DID look around for other financing/buyout options. No one wanted to take that on.

The saying "whats good for GM is good for the country" is largely outdated nowadays, but many people still think that way, and the collapse of GM would have been psychologically devastating, as well as financially devastating to many thousands of people.

[0] The infamous "ignition switch" design process started in 1997 (Valukas PDF page 35). The Valukas report is very interesting, I recommend it for everyone who is interested in system design.
http://www.nhtsa.gov/About+NHTSA/NHTSA+Electronic+Reading+Ro... (bullet 4)

[1] My family has owned a 80's VW diesel rabbit, an 81 diesel Audi 5000 (20 years old at time of purchase), an 80's diesel Suburban (terrible engine), and various diesel work trucks.

[2] GM is not a single organization. It is more accurate to think of all the external organizations such as: UAW-GM, GM branded dealerships (which are not owned by GM), GM Suppliers (which also supply other companies). Then there are all the internal organizations: GM Truck Manufacturing, GM Car Manufacturing, Global Brands, etc, etc, etc.

[3] http://en.wikipedia.org/wiki/Causes_of_the_Great_Recession
http://fcic-static.law.stanford.edu/cdn_media/fcic-reports/f...

From the above: In addition, the government’s inconsistent handling of major financial institutions
during the crisis—the decision to rescue Bear Stearns and then to place Fannie Mae
and Freddie Mac into conservatorship, followed by its decision not to save Lehman
Brothers and then to save AIG—increased uncertainty and panic in the market.
Could you please expand upon the implications of this? It is unclear to me whether this is positive or negative aspect for the different entities involved: the commenting apps, Quantcast and the website they are embedded on.
This story is a classic case of survivor bias.

Not really. Merely telling the story of a survivor isn't survivorship bias; the bias would be extrapolating from this story to believe that his situation is common.
the browser is completely inadequate to the task

Okay, but have you explained that to Google?

http://www.csmonitor.com/Innovation/Horizons/2010/0126/Googl...

Now, I'll concede that the HTML5 app which Google released as "Google Voice for the iPhone" might not be the app of your dreams. Maybe you should aim your ire at Google, then, for releasing a thing called Google Voice that isn't the ideal Google Voice. But you can hardly blame a pundit for believing that an app which already exists and which Google has officially announced is physically possible.
"I am actually rather shocked that here is a person who basically says "I have this horrible disease and have trouble thinking straight" and people think the appropriate response is to suggest diet modifications."

You are making the common mistake of assuming that people will just believe everything people write on the internet. Why not give the OP the benefit of the doubt and assume that he can sort through the answers in a rational enough way.

And it could still be diet related, you know... Even this clumsiness which sounds like a scary brain tumor symptom, who knows, maybe it is just lack of blood sugar or whatever (I have no idea).

Also, how do you suggest he finds the right doctor, if not by somebodies recommendation? Isn't stuff like that the primary reason that people talk and exchange information?
I actually hope the author here is taking this out of context because if not this is the ultimate in amateur hour.
You picked a trainer the right way. If you know what you need to be pushed and motivated then look for that in a trainer. They each have their own styles and personalities just like anyone else.

When it comes to random complements it's really me projecting my anti-social tendency while at the gym. I'm there for one reason and it's to work out. I put headphones and generally don't talk or interact with anyone the entire time I'm there. I guess if the opportunity presents itself I'll try and offer a complement in a non-creep way :)
However there are "sufficient justifications"; the best I've seen is a Missouri individual state income tax form, which besides the expected sorts of things generates a 2D barcode with all the important data encoded into it.

Print it out, they scan it in, I can't imagine how much time, money and hassle it saves. Allows for fast refunds as well.

So, given that and other useful form type pages, how could we properly manage allowing Javascript for the masses?
@orangecat: If you are suggesting I'm talking a health risk, fair enough. If you are suggesting the added security from the scanners is minimal, also fair enough. If you are trolling, you know what you can do.
Go with GAE. There's a lot less overhead with things you really don't want to be dealing with.