skysight-inc/HackerNews huggingface dataset:
The point is you are supposed to avoid undefined behavior, precisely because these things can be different between compilers. In theory, this lets the compilers optimize better for a specific platform/cpu, while avoiding changing the meaning of the programmer's code. In practice, most platforms and compilers have done the same exact thing with the same "undefined" behavior, that a large body of code relies on that defacto standard.
It's not particularly clear from the Github page, but thanks for clarifying with the PDF.
Illinois State, a public university (and my alma mater), is currently citing $28k per year for total expenses (including room/board and personal expenses) for someone who lives on campus.

Tuition by itself is only $14k, but that's not a student's only expense. 16 years ago, tuition was less than $6k per year. If it matched inflation, tuition should be less than $9k right now. $14k is beyond ridiculous.

https://financialaid.illinoisstate.edu/paying/cost/table-gro...
Sure. Imagine I have $20k in the bank and want to buy a $15k car.

Scenario A: I pay $5k down and get a $10k loan, leaving me with $15k in the bank. I can use that $15k to go on vacations, invest in the market and try to earn more than the interest rate on the loan, or anything else you can think of to do with $15k. Over the course of three years, I pay about $300 per year in interest on the loan.

Scenario B: I pay $15k in cash on the car and have $5k left. This is no longer enough to invest. Since I want to have a cushion, it may cut my vacation plans short or cut a vacation out of the equation entirely. But, three years later, I have $900 more than in Scenario B. Now I can go on my vacation, and maybe even upgrade to first class, but three years have passed.

It's a trade-off thing, for sure. But if you're smart about managing debt, then it can be a worthwhile way to spend your $900 given what it allows you to do with the loaned money in the interim.
You all are giving me a lot of reading material.
Came here to say the same thing. Feel like this guy
https://twitter.com/Andrew_Jarvis/status/674028991792070656
Until employees decide those games aren't fun anymore and start their own game, involving outgaming the game designers. There is a limit to every psychological trick and big corps sometimes have trouble noticing when stuff that worked for them for years ceases to work anymore.
I would assume oldmanjay is referring to the objective increase in life expectancy we have seen since the industrial revolution. However, it remains the been seen whether or not this is a valid example of "progress" considering the on going process of ecological self destruction of the human race and/or the imminent threat of nuclear holocaust.
Nepali woman wins $7.25M judgment in revenge porn suit
Yes, it's possible to be stupid with debt. I suspect the poster to whom I was responding won't fall prey to that.
Of course! Offline backups are only one of the many things that need to be done. S3 versioning can help with fat finger errors, credential management helps with rogue employees, bucket policies can copy files to off to private buckets/glacier, etc...

There is no single perfect solution, so like security you layer your disaster recovery.
I'm building my own productivity software program using Rails for this reason. I want to see only what I want to see on that page, I want nobody else's ideas getting in the way. It has an intended audience of exactly one, and will in all likelihood never acquire another user.
I think the 'three copies' rule refers to cyclic backups, not necessarily three copies of the one piece of data.

This protects against data corruption that is not detected immediately.

Another common way of doing this (and one that I prefer) is one where you rotate out a backup medium with ever larger intervals. So one gets set aside per week, then one gets set aside per month and so on. That gives you a series of snapshots in time that will allow you to pinpoint with some accuracy when an event happened. Longer ago you'll have less accuracy but this can help a lot in trying to triangulate who or what messed up. Just being able to answer the question of whether or not 'x' happened before 'y' was hired or after can help in narrowing down the number of suspects in case of a breach or other nastiness. It also prevents against back-ups for whatever reason not wanting to be reloaded (and you should guard against that by loading your back-up immediately after you make it, even so, the medium might fail the next time you try a read).

Better still if there is a streaming log of everything but only very few companies can afford that sort of solution for all their data. Those can be hard to restore from (by replaying) so there too a snapshot system can help.
> Bro was a pejorative friend. To be clear I never attacked you. Not once.

I find this especially hilarious. "I just insulted you! I never insulted you!"

(I preemptively decline to get in an extended semantic argument about whether insulting someone is an "attack".)
Here's an interesting observation

The response by doctors and the general public is about the same for:

People who can't be diagnosed with Celliac without extreme measures

Women who can't be diagnosed with a heart attack without extreme measures

Women who can't be diagnosed with autism without extreme measures.

There can't be much if anything in common between my son's stomach lining, a young womans brain tissue, and an old woman's heart muscle. Oddly enough what they both have in common is the same medical-industrial complex. On a very small scale you can fix one person at a time, with a heart bypass or whatever else, I can't disagree with that. The insight is whatever fixes the "big system wide problem" given the commonality of symptoms it obviously can't be biologic in origin. The problem is inherent in the medical system itself, what it means to be a medical system at all, what it means to be healthy or normal. I think this is missed by people hyperfocusing on one narrow issue, well, all we need is "the official autism test" and it'll all be fixed. Or we need to sell Chinese made pink bracelets to "increase awareness of female heart disease", thats all a waste of time compared to looking at the greater issue (of which I currently have no answer, but I'm also uninterested in wasting my time on half efforts)
See also http://thenextweb.com/insider/2013/05/07/zuckerberg-nemesis-...
Sanitising HTML – the DOM clobbering issue
Interesting - I had noticed the omission, but I had assumed that meant that jemalloc had emerged as the agreed-upon allocator best for production. Are you aware of any recent published experiments with the two?
I agree with getting the US Gov out of the loan business, but i think we the market to react, and it has begun to.

For many professions, colleges can be substituted by trade schools. We are already seeing this surge in software, and i think we can expect the trend to move into other verticals. At some point, and for some majors this has already happened, a BS/BA stands to lose you money over a lifetime.

At a point, college is no longer fiscally viable. In these cases, a cheaper, more targeted approach is highly marketable.
Ask HN: Being a generalist vs. being a specialist
Getting excited about new thing and learning as much as you can until some other newer thing come your way exciting you to learn about the new stuff...; So many interesting stuffs, so little time!
Life is short; why deprive yourself of so many exciting things? Or life is short; you can't do so many things so better speciallize!
What do you have to say?
Roughly what size networks can you actually get useful information for? Every time I play with Gephi using any network of reasonable size (in my field), it's always a giant useless hairball.
Microsoft acquires big data silo breaker Metanautix
I doubt number 2 - financing a start-up is much more like a hiring decision than a creditworthiness decision.
Developer tools: why it’s hard to build a big business
GravCMS perhaps? http://getgrav.org
This is r/politics level material but unfortunately pg and dang have allowed this type of material to thrive on HN by conscious decision.
> make sure you're locking S3 and your local backups with different credentials, and the credentials to read the backups can't be gleaned from the credentials that write them

This is more or less an exact copy of how I would advise companies to set this up.
GitHub programmer’s path: public housing to key role in diversity
Looks like we'll have to update https://cdn.sameroom.io/chat-timeline.pdf again.

The Talko team made awesome contributions to the Erlang AWS library (https://github.com/talko/erlcloud) — huge props for that.

Also, glad we (https://sameroom.io) didn't integrate with them, we almost did.
Small footprint? Any idea how many square feet of solar would be requires to maintain a cookstove? ... at night? ... during bad weather winter? A stove needs to be reliable year-round. So you would need panels and some sort of storage medium (batteries). There are no small footprints.

From an environmental angle, burning wood to cook food might sound bad, but trees can grow back. So it is still a step up from burning coal/oil/LNG (either directly or via electricity).
You're better off looking at Apple vs Samsung or another case where it's apples to apples in the portfolio. Having leverage doesn't guarantee anything. However, a smaller vendor would likely not have lasted that long or cut a similar deal that preserved the bottom line. So, size of income plus patent portfolio helps.

There's been a number of suits and countersuits between companies in similar industries with overlap in portfolio that got resolved way differently than big companies coming after startups or SME's with nothing. It would probably be worth a law student in this area doing a full survey and analysis to see how the variables involved contribute to the situation.
TOML? It was made because YAML was too complex.
I believe the parent is referring to reflective solar stoves. There is a picture of one in the article. It's basically just a parabolic mirror and you put the food at the focal point.

The article said that the village had such stoves, but the weren't adopted for some reason. I may have missed it (I was skimming), but it would be interesting to see why they weren't adopted. My guess: having to orient your cooking around the position of the sun. Possibly the women do not have flexible enough time schedules to do it.
oh, interesting.
Still, it’s not really a great idea to damage your users’ systems. Liability and everything.

----------------

EDIT: Due to HN blocking me from posting new comments, I’ll answer here:

Yes, I’m sorry, I had originally thought you were talking about the same as the parent you replied to: Software that tries to physically hurt your system when you try to debug it.

We can only be lucky that that isn’t possible today anymore, considering the fact that malware is widespread by now, it’d surely have used a "pay 20$ or your PC is dead" scheme otherwise.
> dereferencing null is perfectly fine on Cortex-M processors and is well-defined

It's also perfectly fine on x86, in kernel memory page 0 is often mapped, the OS is the one mapping page 0 so that userland dereferencing it faults.
As a generalist extreme, I offer this fair warning. Without specializing in something you may risk low cash flow.
what is "extortion code"? you just need someone with admin privileges to do whatever they want to the reviews.
Yes, the problem with doing this is that Rust really imposes certain kinds of design constraints that makes this hard. Like, you COULD, but you'd make a lot of use of unsafe, in a way that's not idiomatic.

Part of the problem here is that the program may rely on subtleties that make the translation hard. I've seen experienced C or C++ people come into the Rust IRC and ask why certain things aren't allowed, it's often due their code relying on certain aspects of the looser model.

That said, it's very possible to go unsafe first and then refactor. It just might not be easy.

Another way of making the transition is to pick a component and only re-write it. This is the approach Firefox is taking, for example.
Does it support some kind of live preview mode (like with HarpJS) ?
Can you use this language outside of Mathematica, or without purchasing Mathematica?
Awesome Public Datasets
This article seem to reinforce that there is a split in thinking going on within the Linux community.

On the one hand you have the traditional server/sysadmin thinking about uptime and stability.

On the other hand you have the desktop/web thinking of rebooting often (or shutting down when not used, starting up before using) and being on the bleeding edge.

Another thing is that his mention about standard ways of doing something. I think that was why Freedesktop was set up in the first place.

But they seem to have gone massively off the rails almost from the outset, or it was simply too dominated by Gnome/Red Hat people (it was after all founded by once such person, Havoc Pennington) to really get things properly generic and modularized.

Asi write this i get to thinking about politics and thinktanks, and how they can make political decisions seem like they are scientifically based, when they really are rubberstamping preconceived political notions.

Similarly it may well be that Freedesktop exist to rubberstamp Red Hat/Gnome notions about Linux, by virtue of appearing to be a independent entity (similarly Gnome has its own foundation, but a large segment of its core developers are under Red Hat employ).

BTW, i seem to recall that while the BSD people had implemented most of the systemd APIs for various settings changes, they had run into a problem with logind.

Probably because logind depends heavily on PAM to get its job done, and PAM seems to fly in the face of basic unix-isms.
The little bits of evidence we have suggest it's not a good way, and that synthetic phonics is the way to go.

Teaching children to read is weirdly controversial though.
My thoughts exactly. There are implementations of cat which don't have '-n' option:

http://git.suckless.org/sbase/tree/cat.c
http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/cat.c

Not only "Gnu's not Unix", it's also not that much interested in following "Unix philosophy". Which isn't that bad, from a user perspective: users want more capable tools, even if it impedes composability a bit.
It can't be taken for granted that performance and correctness are separate concerns. Even leaving aside the obvious category of realtime applications, performance issues can create DoS vulnerabilities.

edit: That being said, a boringcc might end up being less susceptible to these vulnerabilities in practice, since the performance of the emitted code might be more predictable. I'm sure djb has considered this. But in general I think it's often a mistake to think of performance as an implementation detail rather than as a deliberate feature.
And these are available for $1USD to rural families in India?
It could just crash with an error.
The funny thing is that the "big project" should really be about stenography, not cryptography. It would have much a bigger impact.
Indeed, security never comes for free, but costs can vary tremendously.

In case of C, there are layers of additional rulesets (not enforced by compiler), scrutiny and coding standards even for basic things.

I do not subscribe to formal verification crowd claims, but some basic things can make great improvements. E.g. immutability by default.
I won't. I live in a Comcast monopoly area. "No cable" means "no dealing with Comcast". Lack of aggravation is a feature of cable cutting!
As the parent of an 11 year old daughter with autism, I've found in past autism-related posts that many are unaware of warning signs. Early detection is key to better outcomes.

https://www.autismspeaks.org/what-autism/learn-signs
Stoves can be fun. Spend much time talking to backpackers and you'll find a few who are constantly experimenting with how to cook faster, more efficiently, and with simpler lighter rigs. It's their hobby.
In the past initializing variables to zero might have been too slow. But not now.
> you are a piece of shit

Personal attacks are not allowed here, regardless of how wrong you think someone is. This and other comments you've posted break the HN guidelines egregiously. We ban accounts that do this, so please stop doing this.

We detached this subthread from https://news.ycombinator.com/item?id=10772561 and marked it off-topic.
A guess: very, very difficult. Writing code to satisfy Rust's checking is not much harder than writing C[1], but converting arbitrary C to satisfy Rust is something completely different.

[1] An' I say it as shouldn't. C is my natural language.
Because then you are relying on a specification that's not in the spec. A different interpretation means that your code no longer works. Therefore, you've effectively created a new language.
That was a joke...
I began my official apprenticeship at age 28. My master physically beat me, which is a common practice. It’s corporal discipline.

Oo

This sounds eerily like a hazing. The author even says things like "When a white sushi chef says, 'I would work there, but it was too demanding,' then I say you are definitely too weak and we are not cut from the same cloth", as though enduring verbal and physical abuse is a sign of honour and hard work rather than dysfunction.
Exactly. The likes of Microsoft and Oracle have diverse software while patenting every improvement that they can. For instance, Microsoft has patents on cut and paste, Oracle probably has patents on key database/ERP tech, and Apple had patents on common smartphone idioms. Patents on popular, must-have features give considerable leverage against a company that has little to bring to the table. Google wasn't about to give up PageRank, their cash cow. They'd rather risk a long lawsuit and financial loss.

Anyone that thinks patents aren't leverage can try to force IBM out of their market or take most of their money with lawsuits. Just like IBM themselves have successfully done directly or with indirect threats of it supporting acquisitions. Just try. Spoiler: it's not going to work and their countersuits might be interesting.
Is Sound Gradual Typing Dead? [pdf]
Interesting that my comment went from +3 to -2 after you posted this, are you on the HN extortion squad too? ;)
We detached this subthread from https://news.ycombinator.com/item?id=10772408 and marked it off-topic.
This doesn't seem to cover the rule I've always played with where the first person to pick gets to swap at the end of the game with anyone. Is that not a common rule?

Under that 1 is the best (can always get whatever gift they want) but they usually get stuck with a mediocre present until the very end.
From TFA:

"The operator and the conditions of use largely determine the effectiveness of operation."
> P.S. Can't delete Glacier Vaults for now as AWS enforces a cooling period.

That's a good thing. And in the case of Glaciers an excellent pun.
> I really don't like to marginalize others by what type of personality they are.

Me either, I hope that's not what it sounded like.

> Before facebook people would keep large collections of photo books so that when family and friends came over they could easily share them. It doesn't mean they valued those pictures any less because they were extroverted vs. introverted. People still keep hard copies of the pictures they cherish the most, like a wedding album.

Yeah, absolutely, and I think people do still keep the photos they care most about today. I just think we overestimate how many of those photos exist. I think the overwhelming use of taking photos is for social conversation.
Having a Hayes(-like) command set/interface should be the goal of more hardware. Get rid of the in-band command switching (that Hayes has with the +++) by having a separate interface/serial-line for commands. I know some 3G wireless USB controllers do this, show up as multiple serial devices with one designated as a control channel, but it would be great if it was more common and wasn't just for modems.
And so, ideally, I want to be able to tell my accountant to store my archival tax records in my safe-deposit box, not in his office. Compute infrastructure is a commodity—doesn't matter who's paying for it—but all the services you depend on should rely on storage infrastructure you have an SLA agreement with.

I don't care about the "distributed computation" promises of Diaspora or Sandstorm.io; I think they're wrongheaded. Anyone can do compute. But I really do hope that one day that my Facebook account can be canonically "stored on" a database instance I'm paying for, that Facebook's app servers will reach out and connect to and treat as the canonical source for "me", treating their own records as a secondary cache. This kind of setup would makes all sorts of things simpler and clearer and more secure; there would be a definite boundary where "my data" stops (the DB I own) and "Facebook's data" starts (the DBs they own.)

And, to be clear, I'm not talking about everybody running their own infrastructure, or even everybody knowing what an IaaS provider is. Ideally, PaaS providers could get into the "consumer instances" game the way Dropbox is in the "consumer files" game. My "Facebook account database" above could be transparently launched into my own cute little private cloud by my PaaS provider when Facebook requests it through some OAuth-like pairing API. I wouldn't need to think of myself, as a user, as "owning cloud database instances." From my perspective, I'd get an abstract "Facebook account" (which is actually an app instance and attached DBs) sitting in my Heroku-for-consumers account. The important bit is that I'd be paying for the resources that "account" object consumes, that I'd have an SLA on those resources, and that the PaaS company would have every incentive to make it easy for other third-party services to interact with my "Facebook database" in a way Facebook themselves aren't. I, as a user, have no need to "manage" a cloud of my own; I just need to be considered to own it.
U.S. predicts zero job growth for electrical engineers
It is not dead. You can still take FreePascal and write some security conscious code with it, to be linked with other parts of your application. The compiler works.

There is also Lua. And Haskell and Ocaml compilers for FP people. These languages are easily linkable with C/C++ codebases.
I don't use a static file "CMS", but I use my own generator[1] which I made because I wanted something really fast. If you want a flat file cms, then a Google search will throw a lot of them. Kirby is the most popular, IMO. But it's not FLOSS. PicoCMS ticks all those boxes though.

[1] https://github.com/pawandubey/griffin
"The Wolfram Language has about 5000 built-in functions. All have names in which each word starts with a capital letter."

Amazingly, I get the impression they say it as a point of pride, rather than as an embarrassing design decision. Don't get me wrong, having a rich, large standard library is great, but unless you use some kind of hierarchical namespaces, it's impossible to deal with.
soo.... correct me if I'm misunderstanding, but it sounds like it's encouraging bad behavior. Your basically paying for a vacation you really shouldn't be affording, you just "think" you can now afford it. The same goes for the investments.

I guess to me, I don't see any way that Scenario A makes sense.
The trick, of course, is actually finding places with content the 64 can actually "consume" beyond just the novelty factor.

If, for example, folks started to build BBS-style communities like back in the day where they could communicate and even share files - but now with no long distance charges - that would be really cool.
I am truly sorry, I misread your post.
> At this point you pretty much want an alternative language more than a compiler: one that looks like C, but is completely defined.

A "Friendly C" dialect has been proposed: http://blog.regehr.org/archives/1180