skysight-inc/HackerNews huggingface dataset:
> For example, it's not possible to statically determine whether a function should be inlined or not.

MLton has absolutely no problems inlining functions, even higher-order functions, at compile time. This is only difficult in languages with virtual methods, because they can be overridden anywhere. If anything, that's an indictment of virtual methods, not AOT compilers.

> However, a JIT can see that it's used in a hot loop and dynamically inline.

What if it's a virtual method call that's known to be overridden in several places? You can't inline it, even if it's in the middle of a hot loop.

> For any language, no matter the type system, runtime information will always be a superset of compile-time information.

Runtime information is always anecdotal, specific to one particular run of a program, so...

> There will always exist optimizations in a JIT that aren't possible in an AOT compiler.

... for every “optimization” a JIT can perform, there will always exist a program for which the “optimization” will have to be rolled back after it has already been performed, because it turned out to be unsound.

> Idiomatic Java code doesn't use these features heavily.

Language implementations must work correctly whether you write idiomatic or unidiomatic code.

> Just because it's possible to wipe out type information doesn't mean that the vast majority of code that an AOT or JIT compiler sees won't be strongly typed.

Most code I write in Python could be given static types too. That doesn't make Python a statically typed language.

And “strongly typed” doesn't really mean anything.
Is the implication that regular masochism is not benign intended?
Yep, that's pretty much how I spin it. But make no mistake, I have to "spin" the fact that I'm reading about programming while working as a programmer.
I came here to say exactly this, although I do not think that the doomsaying about the Wall•E-sque dystopia is really called for.
For now, we don't have support to it. We just do loading pages in background and we control the history ;)
In the future, I'd like to improve to use native preloading :)
> The justification for the rule of law is inherently ideological. If the law is just another pragmatic tool for the powerful to oppress the weak, then why should the masses respect the concept?

The law is a pragmatic tool to solve problems. Building codes solve a concrete problem with the market for construction: there is an immense information asymmetry between the original builder and subsequent buyers. Moreover, there are externalities because, e.g., inferior construction of one person's property can cause fire to spread to other peoples' property.

The existing model solves the problem and shoves most of the costs of doing so on builders--the parties best equipped to deal with the problem. That makes it a reasonable solution.

Your driving analogy fails because almost nobody builds their own house. Imagine instead that almost everyone rides in self-driving cars. Under those circumstances, would it really be unreasonable for the law to incorporate traffic regulations developed by the industry and optimized for automated cars?
He's only 23, so he's probably single. Just wait until he discovers the harsh reality of marriage. No one ever seems to tell single people about that either.

There's a reason people have called college "the best years of your life". They really are; everything goes straight down the toilet after that.
Considering the American Council on Exercise pushes the "Health at Every Size(C)" bullshit I'd never take them seriously. I can't be bothered to go find real studies on the issue but I would have to guess they'd tell you there's an increased risk of health issues at 25% body fat.
Recovering Postgres database from disk level corruption
UK Digital Economy Bill – 10 years in prison for ordinary file-sharers
Only for iOS? Surprised they didn't make a version for windows phone... or is this software already built into the camera functionality on WP?
This is looking good. Disk returns data, CRT lights up, CPU almost working. It's good to hear that data is coming in from the disk. Looks like they won't have to build something to emulate the disk drive.
If Rosetta crashed but remained operational enough to keep an open connection but not enough to receive commands to close it, it would use up incredibly valuable resources on a highly resource-constrained network.
It's pretty un-self-aware for someone to simultaneously bitch that:

1. Some populations are underserved because they aren't sexy and high profile and interesting.

2. Some apps are solving small problems instead of tackling global warming.

The truth is that many (perhaps all) of those apps will fail, and if any succeed, most of the successes will be kind of marginal successes that don't upend the world. So what? That's how it works most of the time -- small incremental improvements to people's lives.
A friend showed me a trick where he typed a couple of assembly instructions in debug.com to change the DOS AUX device to something like BUX. That allowed creating or accessing an AUX directory. The converse assembly instructions would restore the AUX device and completely hide the AUX directory.
> (At least the fashion industry isn't killing us, though.)

The Bangladeshi children working 16 hours a day sewing dresses for H&M might have a thing or two to say about that.
I believe the salient point that "the goal is basically to provide for themselves everything that their mothers no longer do" is a direct effect of lack of diversity in our field. Homogenous, largely white, largely male, largely safe people are not going to detect the problems the author appears to be implying are going untreated.
But many if not most cereal grain farms (plus legumes besides soybeans?), the ones that count for getting the most calories to the most people, are quite some distance from big cities. And if you only have to deal with an initial wave, you can do a Maximum Effort to keep them out of your fields, it's long term banditry where farmers by themselves inevitably lose because they can't do both at the same time.

Hybrid seeds aren't used for all crops, not for wheat as I recall, I'm not sure about soybeans. Corn is of course the big one, but at least going forward humans wouldn't particularity want to eat corn if wheat is available.

But I agree with your bottom line, on the problem of big cities, well, Dean Ing, in the appropriately titled novel Systemic Shock, put it this way:

The American public had by turns ignored and ridiculed its cassandras: city planners, ecologists, demographers, socialists, immigrants, who had all warned against our increasing tendency to crowd into our cities. Social stress, failure of essential services, and warfare were only a few of the spectres we had granted only a passing glance. We had always found some solution to our problems, though: often at the last moment. Firmly anchored in most Americans was the tacit certainty that, even to the problem of nuclear war against population centers, there must be a uniquely American solution; we would find it.

The solution was sudden death. A hundred million Americans found it.
And just to show that the other way works as well:

Your diet would be havok for my insides. I simply cannot digest fat from meat very well. I'm mostly vegetarian, and eat a lot of legumes and dairy and grains and bread, vegetables and the occasional fruit. I eat fish (trout, usually) once a week for health purposes. I usually only drink water or black coffee. My main mode of transportation are my feet.

I also generally skip breakfast, possibly have a small snack or two during the day, and eat most of my food late in the day when I'm most hungry. I eat candy occasionally. I cook with butter and cream.

And it is strange that I find much of the same benefits as you. I still snore (obviously not due to weight loss). My skin had no change, but I lost weight. I feel physically better. I now like more 'healthy' foods. Soda is really syrupy most of the time - I can occasionally have some when eating, but not by itself (been like that for years).

I'm years into this lifestyle. It took years to tweak it to where it is now - and each tweak had weight loss. I found you can get over cravings for certain sorts of foods (outside of hormones, that is, but even that gets changed some), and you can learn to like new ones. It is basically exposure, though I still dislike eggplant.

Much luck on your continued success :)
Downside of Secure Crypto: No Backdoors /s
It's very difficult, sometimes even dangerous to try to solve problems that are not yours. I think it would be important to do it with the effected people, but certainly not just for them.
Early 90's printers tend to do that. We have a LaserJet IV gathering dust in a corner at work. Turned it on the other day, to a three minute warmup and much smell of dust burning, but it still printed well.
Lol, our big brains developed long after we left our jungle environment, and are fueled above all by protein (meat, so hunting). Our taste buds love sugar because fructose is a drug that plants evolved to get our ancestors working as seed dispersal machines. And I believe if you eat grapes or oranges or apples, the juice (and fructose) is barely wrapped in fibre if at all. Chewing an orange, you have extracted the fructose almost entirely. Do you think the "nutrients, vitamins, antioxidants" slow down the digestion process?
"I’m concerned that such a focus on comfort and instant gratification will reduce us all to those characters in “Wall-E,” bound to their recliners, Big Gulps in hand, interacting with the world exclusively through their remotes."

I found this quote puzzling in light of the rest of the article. The author's main argument seems to be that tech "innovators" are focused on providing frivolous solutions to imaginary problems, while society crumbles in the background. But this quote -unless I'm misunderstanding it - ascribes a hugely far-reaching, dystopian power to technology that undercuts her overall point.

You can't have it both ways. Either tech products are mostly irrelevant, or they are fundamentally changing the most basic aspects of our existence. Which is it?
> But that was just an example: there are things python will never have that you can add to lisp yourself.

I don't want to. I want a language that has sensible norms.

> As for your theory that macros make code harder to understand, you don't have any proof. In fact, you have negative proof,

Do I?

> as there's plenty of logic,

What logic? Show me. I simply don't believe you, as it's not provable.

> good programming practice

Still not proof. I believe the opposite, that it's not good programming practice to use macros.

> and individual cases indicating that careful use of macros can make code easier to understand.

So anecdotal evidence, not proof.

You have no more proof than I have. My personal experience is that in most mainstream languages, the most common arguments are over invention of frameworks/libs vs using existing ones, and those devs certainly would not be happy having macros thrown in the mix.
Le fabuleux destin d'Amélie Poulain, is rated R for sexual content. I have seen the movie twice, but the only "sexual content" I can remember is a short humorous flash of a couple having sex. For comparison, the movie is rated between 7 and 15 years in the rest of the world. There is no violence in the movie. It's basically a very sweet and innocent movie, rated R in the US.
Hi,
I too went into Java EE, and started thinking I hated programming.

Luckily for me the IT crash of 2001 happened and I was out of a job. After a while I did data entry and automated that ... which I enjoyed.

It turned out that it was Java EE I hated (and the horrible codebase we used). Since then I switched to Python and it reminded me that programming can be fun.

Sure, there are a lot of web apps that aren't the most exciting, but I'm always moving forward and learning new things. Try some other languages and see if you like them - when I started with Python, I learned by building a simple breakout game with pygame.

In every job it helps to find an element you can enjoy ... for me I am never touching J2EE again, it was just so horrible.

Also - you NEED to work in teams with other people, hopefully there will be someone smart in the team you can get to mentor you + there will be good code you can learn from.

S
Bezos's big rocket... Unlike Elon, Jeff doesn't seem to be having any trouble getting it up.
HP Is Moving from Salesforce and Oracle Products to Microsoft CRM
Or... it's an opinion?

How can you say that a statement starting with "I..." is "just plain wrong?"

You really think everyone likes soda? Most sodas besides (diet) ginger ale are sickly sweet to me now.
Seems like spin is what he's selling
> What happens if a fight breaks out in the car?

What happens if a fight breaks out in the car of an Uber driver?
> There is actually very little sugar in fruit

Whoever told you this did you a disservice, because it's completely untrue. I think coke is a pretty good posterchild for "a shocking amount of sugar", and an 8 oz bottle of coke has about the same sugar content as an apple or a navel orange (and the orange has half the calories, making the comparison even less favorable). The difference between the two is that the coke is (nutritionally speaking) nothing but carbonated, liquid sugar while a whole apple comes with a fair amount of fiber. The difference in speed of absorption is primarily what makes one healthy and the other terrible for you.
I fail to see how "And a new proposal to create an app designed to stop police killings." fits on the list of problems that don't need to be solved. Am I missing something?
Amazon's first employee shares the lesson he learned from losing his job there
https://en.wikipedia.org/wiki/NASA_Deep_Space_Network#Networ...
Apes are not monkeys (monkeys have tails). In general primate is a very large group that includes lemurs and tarsiers.
At this point, I don't recall - I've gone over to only buying network capable printers as they do tend to be better about their drivers (still need somthing usually) - but the ones I've been looking at lately seem to speak some dialect of PCL.
Actually, I spent a couple of years in precisely such an environment. While I can't say with certainty that there's causation to account for the most interesting and worthy people I knew in any school being those at the one which enforced a uniform policy, I certainly can say that it wasn't terrifying to see, or to participate in.

Such a policy existing in society at large, whether de facto or de jure, would of course be a different matter entirely. But I don't know that it is reasonable to argue that this is the case with devices, either. While there are certainly places to be found where uniformity of style in personal electronics is the norm, my experience suggests that they are actually quite rare, and hardly approaching any degree of prevalence that would make this a reasonable concern. Perhaps it would simply do the author good to get out more.
Please enlighten us anyways. Now your argument is empty, or fuelled by fear of the Russians. Not with any sources.
CTRL+F to see if anyone posted it, and sad to see it so far down. This is the #1 video to show anyone that thinks sugar is fine. It's literally, at a biological level in high doses, poison to our bodies. Watch the vid. It will open your eyes. Too bad the food industry fabricated their lies decades before we had the internet to share information like this. The damage is done and will take decades to undo.
Apple Offers Free App to Teach Children Coding
Reducing the memory requirements of a space-hard password hash is important in theoretical terms, and perhaps for systems built around the hardness of a space-hard KDF as, for instance, a proof of work. But it's of virtually no bearing whatsoever to business applications that store passwords. Your space-hard password hash is less space-hard than you hoped it would be. Oh well. The low-hanging fruit is using salted SHA hashes.
Orange flesh is about 3% fibre. 97% juice. There is no significant difference between eating an orange and drinking a small glass of juice, except the work involved.

I don't think that changes "very easy" to "very very hard".
My interpretation from the article is that app was included to emphasize just how many frivolous apps crossed her radar except for that particular one that was truly solving a meaningful problem.
There are definitely ways this _could_ make sense in the context of the article but you're right that without proper explanation is seems at best heartless and at worst pretty racist.
But I don't think you can take what is basically a corner case in the legal regime and point to that and say it's an unreasonable tool for the elite to use the law to oppress the weak.

I guess we don't disagree too much then. FWIW, I'm not saying anything about "the elite oppressing the weak" - at least not in this context. To me this really is just a matter of principle.

The government should defer to the expertise of private industry when necessary. The small potential for abuse (and there is no evidence that the standards bodies here are abusing their position), does not justify imposing laws on everybody designed by government bureaucrats acting outside their area of expertise.

This is why I'd prefer to get the government out of this altogether. But, then again, I'm a Libertarian, so I want the government out of pretty much everything altogether. :-)
This may not be the best example.

Bike parking requirements are generally part of zoning, not building codes, and generally apply only to new construction, not existing buildings. That appears to be true in Chicago: https://chicagocode.org/17-10-0300/

It's good that it was helpful in convincing the building superintendent to support bicycles, but probably not so great if that's not actually what the law requires. (Perhaps your building was recently constructed and the Chicago Building department or Zoning Administrator failed to enforce the zoning code?)
DSLs are actually common in javascript. JQuery, one of the most popular libraries in all of javascript is mostly a DSL for DOM manipulation. Lodash/underscore is mostly a DSL for list manipulation.

Admittedly, JS doesn't have operator overloading, but I personally think that's a good thing.
For me yanking with `y` copies to my system clipboard. I'm pretty sure this has nothing to do with evil; I think it's an emacs setting. Perhaps one of these?

(setq select-enable-clipboard t)
(setq select-enable-primary t)

See https://www.gnu.org/software/emacs/manual/html_node/emacs/Cl...
As a consultant, I see this all the time. As an employee I only experienced this one time and requested an addendum to the NDA/Non-compete contract.
My untrained eye can't really notice a difference except that the pix version looks brighter (even washed out), the live photo version looks really uncanny valley (where the faces don't move but the world does around them is an unsettling effect).
x += 2;
call(param);
data.key = cache[0];
Maybe it's a rhetorical failure then? I feel like to get that reading requires you to assume a lot about the emphasis placed on the word "And".
Any chance you could check out my side project, Financier?

https://financier.io

I just recently launched, so there might be rough edges. It's almost feature complete, though. It's very similar to YNAB 4. It's $12/year with syncing. No signup is required and no internet connection is required -- it syncs when you have a connection. Mobile app to come!

I would really appreciate any feedback. :) For the next week, I'm giving out the first year for free (just email hello@financier.io or PM me on reddit).

I have a recent Reddit post with more info here: https://www.reddit.com/r/ynab/comments/527wiv/ynab_alternati...

Thank you!
Alex
This happened to me - and weirdly others that have dropped sugary drinks. I completely understand where he is coming from, and the adjustment is that contrasting.

I got to drinking water most times at a call center mostly because I didn't like warm nor watered-down soda. And one day, the soda tasted weird and syrupy. It was gross. And the longer I went without sugary beverages, the worse it tasted. I can occasionally tolerate it with food. The drinks that have soda water and fruit juice are much better.

Some time later, I had a friend cut down on soda. We went to the local McDonalds on a lunch break (small town), and she ordered soda. She took it back because it tasted funny, but it turned out that it was simply her taste buds had changed. I giggled, she wasn't so happy about buying the drink, though.
Does it require you to perform any physical actions on the dongle? If not, why can't I straightforwardly extract keys if I own the machine the dongle is attached to?
A Simple Strategy to Dramatically Accelerate Growth: Seek Friction
I'll be the first to confess I'm not a JS wizard. That being said, it'd be nice for the following to be easier:

* figuring out which events are listening to a given DOM element at any given time

* sane debugging for things Facebook Coonnect, which had a really confusing implementation at my last company

* no magically defined functions or variables (i.e. foo["bar"+ someId] = eval("function () {...}")

* keeping CSS out of JS, and JS out of HTML

* dealing with features tightly coupled to an ancient jQuery plug-in

I could go on forever... JS isn't necessarily that bad, but the way people use it is often suboptimal.
> Better mobile photos are just a tap away. Enter your mobile phone number and we'll text you a link to download Microsoft Pix.

Stop teaching people to click on links from SMS texts damn it!
Apes are also primates, but not monkeys. So for example, the rest of the great apes (orangutans, gorillas, chimps).
> You're just paying extra attention to the lisp ones.

Because people in this thread are attempting to put-forward lisps' macros (and writing code as an AST) as some big win, without acknowledging that it comes with a massive cost. Lisp-y, inexpressive, paren-soup syntax. I'm saying myself (and presumably many others else lisps would be more popular) don't buy the trade-off.

If you like it, and your team like it then great. But don't act like it's definitely win-win, and people who choose not to use lisps just haven't achieved enlightenment yet.
Does this have Photosynth built-in? :P
Hey all - Frank is currently in public beta, but we do suggest to add at least 3 connections. That's how you get the best out of a two-sided platform. App is coming at the end of September. Do not hesitate to provide us feedbacks on either UX or product itself.
Hopefully your CS degree made you write code and submit code for evaluation. Asking you to write code and not teaching you how to use version control is wasting your time fixing problems with your code that are easily solved when you have version control. Being taught how to use version control leaves you more time to learn about programming language semantics.

Also, a university that gives CS degrees to people who cannot actually work as programmers is doing a disservice to their graduates, even if the university intends for everyone to continue with post graduate studies and go into academia. At the very least, your doctoral advisor will need you to write some code for them, and you better be able to do it.
Apple flesh is 2.6% fibre.

Where does this myth come from that fruit is high in fibre? It simply is not true. Some fruits are. Wild fruits certainly are. Domesticated table fruit is not. Google "fibre content of apple" if you don't believe me.
The easiest way to eat healthy is to only buy things in the supermarket that have one ingredient.

Pretty soon you'll notice you're only buying fruit, vegetables, pasta, rice, beans & non-processed meat.

Disclaimer: of course you could buy pure sugar or pure lard - so don't do that :)