skysight-inc/HackerNews huggingface dataset:
>That's not true at all, Lua < 5.3 uses doubles for all numbers

I know that of course, but using doubles for integer math is only safe if you limit yourself to a certain integer range.

>which on most computers is IEEE 754, they can represent integers perfectly up to 2^53

False. You get rounding errors after 10^14.

>The value is not corrupted, depending on the rounding mode is which number you're going to get out of that (I get 9223372036854774784)

The above being an example of such a rounding error.

If I assign the value 9223372036854775000 to a variable I expect said variable to afterwards have the value 9223372036854775000 not 9223372036854774784. Your example is exactly what I meant with "corrupted" i.e. the value is changed by the conversion.
Ask HN: Accept better position or better company?
I'm trying to decide between 2 offers. One is a better position - I would be running a small team doing some cool tech, but I'm not so sure about the company.

The other is a worse position - I would be the equivalent of ON the team, not running it, but the company is "better" (better investors, people seem smarter, are closer to market).

Assume I'm making competitive compensation in both places (so the first place is less cash, more equity). Which job do you take and why?
It does help some, but probably the biggest advantage is that they simply didn't have to support x86 machines from before 2006. By that point, ACPI, AHCI, EHCI, OHCI, HDA drivers would get you a working system, except for 3D graphics and networking. That's why Hackintosh systems are viable: basic PC hardware is extremely standardized now compared to what it was in the 1990s.

Apple's hardware platform control helped them cut down on the number of network drivers they needed to implement, and their decision to do the 3D graphics drivers in-house didn't save them much effort but made things a lot more straightforward.

By contrast, Windows 7 officially supports GPUs from 2001 running on systems that could be quite a bit older, from the days when there were half a dozen third-party chipset vendors that couldn't properly implement a spec even when they were trying to make standard interfaces. Windows 10 moves the cutoff forward quite a bit with its NX bit requirement, but still targets a diversity of core system components that simply didn't exist by the time Apple entered the x86 market.

Microsoft and Apple both have to contend with pretty much the same driver challenges for peripherals like printers, although it tends to be easier to put those drivers in userspace where 32-bit vs 64-bit isn't a showstopper.
I don't think it's entirely ad hominem, and your claim of bias is not substantiated by anything you mentioned.

Whether or not different teams are building the marketing website (something you assert knowledge of but apparently don't actually have; companies are constructed all sorts of ways), I'd hope it's true that the core engineers have looked at the company's website. So either they didn't notice a problem, didn't care, or cared but didn't have enough power to get things fixed.

Now it could be that the Magic Leap project ends up amazing anyhow. Maybe the engineers noticed and cared, and so are good engineers, but the marketing side is indeed separate and is kind of a shitshow. But hopefully not enough of one that it impedes a good launch.

But I don't think it's unreasonable to evaluate a company by the materials the put forward specifically for evaluating them.
The one parent of mine who did have a degree got theirs in a STEM field, so exposure to the parents of some friends who had PhDs in the humanities (with books floor-to-ceiling, reading newspapers in languages with alphabets I had neither seen nor dreamt of -- this was pre-internet, and "middle America", to a first-order approximation, mind you) was quite an eye-opener. It was like they were just on different plane, intellectually (though also very grounded, and nothing at all like the detached, academic stereotype).

I can imagine it might have mattered even more if they were math or science PhDs -- again, this was pre-internet; so I never heard of the International Math Olympiads until my later years of college, actually (way past the age when it would have mattered).

I ended up not going into academia, but it was a serious consideration for quite a while (and yes, the early role models definitely helped).
Where there's smoke, there's magic.
> Sentiment analysis has no way of defining sarcasm or other natural language terms.

Of course it can. If humans are capable of detecting a given inflection, computers absolutely can as well (given enough data).

Any sentiment analysis algorithm which classifies "that new machine learning algorithm is so sick" as negative is not worth an ounce of consideration. Compared to other problems, that is absolutely trivial to classify, especially since you're typically training off data sets which already include such vernacular.
Not saying that some data points aren't also simply wrong. But many more become plausible if you divide them by pi ;)
Ha! At least someone has a warped sense of humour and six of you do not! Either way, a score of -4 is good for all of us.
Chrome's session restore silently loses tabs when you have a lot open. It is completely unreliable in my experience. Sometimes a window will come back with half the tabs missing, which is obvious, but when it's only a couple missing, it's much harder to even know.

Also, Session Buddy lets you export sessions to back them up and move them between computers, etc.
Correct: it is fantastic at being vulnerable to air defenses, leaving it unable to engage the Iraqi Republican Guard in 1993.

http://www.afhso.af.mil/shared/media/document/AFD-100927-061...
This is a fairly common occurrence for any declarative data serialization format. Just look at all the crappy imperative XML programs you can write in ant. And plenty of other imperative XML "languages."
It's the language in which Hacker News is implemented and currently developed.
Yes, but how does this bring us any closer to answering any of the unanswered questions in Cosmology? I assert that it doesn't.
What's the current best CL implementation on macOS/OS X? Is it still SBCL or something else?
Good catch. All the quoted memory figures are for private memory.

The shared memory figures in the session test (10 tabs and 15 extensions) were all at 0 in both Chrome 55 and 54.
Social media has failed us and the nation
Or the largest refugee crisis since the sea people.
I used to be heavy user of leaflet but the lack of webgl support is a non starter anymore comparing to mapbox gl.
any plan to support this in the future?
Let's just pretend for a moment that there's no ambiguity and they're actually doing this. Would you drive...or rather...ride in a car powered by Apple software?

I would not.

If there's one thing the current iteration of Apple has shown, it's that it's not great at writing software. And with this in mind, I'd be terrified to ride in a vehicle powered by carOS.

This isn't coming from a place of anti-Apple sentiment...I use quite a few Apple products...I just accept that they're pretty bad at this stuff these days.

Edit: Trying to understand the downvotes here. Care to follow up with a comment instead? I'm genuinely interested in discussing this.
> if anything it finds out just how ill defined the world actually is.

Yeah I hear this but it seems only half-true to me. While for most intents and purposes the world is ill-defined, in another sense the world itself is "100% signal" and no noise. If we "zoom out" and take a grand view, imagining that we have a supercomputer and a huge database, and the algorithms are solved, I think every 'thing' in the universe has some unique features, and if you start to have them all in a database you may be able to uniquely identify any thing, at least those important to us. Everything one has excludes something else, but it also includes that specific thing. Every thing adds context to one thing and removes context from another. If you can draw a map of it, it seems to me like deep learning can, hypothetically, automatically differentiate it. Deep learning isn't just about one vector or one hierarchy of features, it's about how the world is ALL vectors like this, even if right now, the CS around it is pretty limited. It seems to me intuitively true at least. At the bare minimum, seeing as us humans are absurd about categorizing everything into objects, and it actually works very well functionally (we can manipulate, create and predict in the world)
From my understanding, the weak generational hypothesis holds for the majority of programs in general.

But in Smalltalk like languages, the GC has to deal with "all of it," including objects that were allocated "on the stack." Because in most cases, outside of optimized cases like SmallInteger, my understanding is that objects allocated on the heap no matter what, and only that pointer reference was allocated on the stack.

It applied very well to Smalltalk. But there was a tendency to have objects for everything, and even a stack allocation meant a heap allocation.

I don't see why it would apply particularly to OO languages, in fact, I would assume that passing pointers around would result in less short-lived objects due to less copying.

Composition facilitated by object reference can result in styles where the granularity is small, so there are lots of objects. When a new user defined Object mans a new allocation on the heap, this means a lot throughput for the GC.
Or, someone in the first group criticizing observers who fail to distinguish among groups before making predictions.
Along similar lines, we did some work investigating public perception of AI over the past thirty years: https://arxiv.org/pdf/1609.04904.pdf

From Figure 1, it's clear we are now in a boom.
How Many Pictures? (2015)
Netflix Starts Using VP9 Codec, Saving Up to 36% of Bandwidth
Mainstream media needs to give this a rest.

Zuckerberg couldn't even dream of dogging us as hard as CNN/FOX/MSNBC et.al. did in the run-up to the invasion of Iraq and Afghanistan.
> he isn't an unbiased source.

No one ever is

What I've learned - I think - is that the magic leap video demos use a totally different technology than that which they hope to bring to market -- seems pretty analogous to Theranos to me.
Yes I do and from a user perspective its much better as it tends to be lighter in term of network request and smoother as you don't need to load new tiles for every single level of zoom.

I just hope leaflet will be there one day with smooth degradation for browser that don't have webgl enabled
And yet interface compatability/continuity would still be important unless you can automatically change all of the deployed instances without inducing any race conditions or transition issues.

The VisualWorks Package system could theoretically be applied at runtime. It would create a shadow of the meta-level objects, then the new meta-level could be applied atomically with "shape changes" of instantiated objects happening all at once.

This could 1) still incur a pause in the program and 2) in practice, bugs surfaced preventing the widespread use of the facility in running servers.
It's not even beef. It's industrial beef catering.

Around my place, cows are still in the meadows, then for a few winter months they are in the stable but they are fed mostly with grass cut in the same meadows earlier, plus a bit of straw, leftover of other cultures. The pressure on the local environment is basically nil, and it has no effect on remote locations either.

But if you drive just a few dozen miles away, all catering is industrial (even at small scale): cows live their whole life under a shed, over a concrete slab, behind galvanised steel bars, and are fed silage and soja sprayed from a tractor. They do not ever go in the meadows.

It was not like that 25 years ago, it changed quickly. It is unneeded (production was already excessive with the (not so) old way) and it is unsustainable: it costs lots of investments, it costs lots of food buying, it destroys landscapes which are either turned into farm land or abandoned to the forest, this farm land uses more water and pollutes more, the farmer does not any more produce a wide range of crops and animals, it is specialised in a single (or 2 at most) production and has to stick to it and is thus highly sensitive and fragile with respect to market price variations. In fact he's not a farmer any more, he's just a small industrialist, a meat manufacturer. A very small one who doesn't even have any power to control anything. He's perpetually on the verge of bankruptcy and sometimes commits suicide. So really none, nothing, nowhere benefits of this system (except a few go-between that didn't exist before or existed but increased their margins).
Can you explain what you mean by “struggling to ship”? Maybe you’re talking about their previous quarter results which were down a bit year-over-year, depressed by people waiting for laptop updates? I haven’t heard any news of notable production problems.

Supposedly they’ve had record online orders of their new pro laptops http://www.independent.co.uk/life-style/gadgets-and-tech/fea...
Rust: 128 bit integers preparing to be released
You know, I'm not the biggest capitalist in the world, far from it, but this is a situation where I'd say...let the market do its job.

I'd say, let's stop subsidizing the meat industry. Let the prices rise to whatever their market cost without government intervention would be. Let people decide when they're not paying a hidden cost to make meat cheap at the market.

Why not, eh?
Note to observers/moderators, title of article:
"How Netflix Keeps Downloads From Eating Up All Your Phone Storage"

Title-page of site:
"Netflix Starts Using VP9 Codec, Saving Up to 36% of Bandwidth"

Site-title seems more descriptive/of interest to HN.
Why play the role of BMW and manufacture vehicles when you can play Mastercard and collect 0.5% of every penny spent on ubers/lyft when asking Siri for directions and confirming with Apply Pay and Touch ID.

If anything, Apple is gearing themselves up to profit off the movement of people and not the vehicles themselves. Seems like a better strategy if you ask me, but I'm not a strategist of any sort...
Oh really?

> The MacBook Pro made more money in 5 days than most laptops in the whole year, Slice added. "In only 5 days the new MacBook Pro's sales already equal 78 percent of all the revenue generated by the MacBook 12-inch since it became available in April 2015." (http://www.forbes.com/sites/brookecrothers/2016/11/08/new-20...)
It's from the Model G theory in Subquantum Kinetics, -- and it seems more believable than a finite amount of matter being made from a single blast of energy billions of years ago.
Oh it's the other way around for me. Shared are around 50mb for each extension.
Any plan to support webgl in the future as mapbox gl does?

From a user perspective the difference is huge
Mathematical Reasoning and Distributed Systems by Erik Meijer and Leslie Lamport
[ANSI] Common Lisp may be unique among programming languages in that it is based on a standard and that standard was written to reflect how people were actually using Lisp after roughly thirty years of general use and about a decade of actual Common Lisp use.

The other thing about Lisps is that if a programmer doesn't like the order of arguments or the function names or even the parenthesis, the language lets them change whatever it is they don't like and the changed features still have first class status. That's also one of the criticisms of Lisps.
I don't accept the claim though. Oh nevermind!
SBCL is very good and what most of the open source community uses. Clozure CL is also very good, reasonably popular, and has good Cocoa support. LispWorks is excellent, but proprietary; the paid versions are very expensive but there is a free 'Personal' edition as well.

I would recommend SBCL unless you want to do GUI stuff.
I'm not saying I'm 100% sure they don't have something worth investing $300 million in, but this sure blew the fuse on my bullshit detector.

https://www.youtube.com/watch?v=w8J5BWL8oJY
Big oil drives development in emerging economies, that's a better justification than eating animals than some blind progress one.

I think the best argument for veganism is simply what right do we have to take another creatures life purely for our matter of taste. I wasn't directly talking abkut veganism though in the parent.
I still don't follow...

If they want to track runserver calls, they presumably realize that there will be frequent runserver calls in the context of developing/testing an application. I would think they would care more about the number of unique IP addresses those runserver 'runs' are coming from.
When I look at Theranos' board, I tend to think about it the other way around - Theranos sought out distinguished people that wouldn't be able to call them out on the science. Basically, that Theranos conned their board as well, and by picking distinguished, politically connected people, improved their ability to con the general public. That this non-medical board defended the company doesn't surprise me in the least.
Dummitt and Foote
>> Good CS expert says: Most firms that think they want advanced AI/ML really just need linear regression on cleaned-up data

Not nearly true. The simple counter-argument is that prior to DL, we don't have good approach to really 'clean' data like images.

The author states this fact as if cleaning data is a piece of cake. No, it is surely not. In fact, part of the DL's magic trick is the ability to automatically learn to generalize useful features from data. From another perspective, the whole DL frontend, prior the very last layer, can be viewed as a data cleaning pipeline, which is learnt during the training process, optimized to pick the useful signals.

The author clearly isn't an expert on the matters he trying to put claims on. Yet his statement comes with such big confidence or ignorance. This shows why this revolution will be a truly impactful one, for even some of the claimed intellectuals cannot understand its importance and divergence of its predecessors. They will be caught off-guard then left behind. It would be very enjoyable to watch what their reaction would be once it happens.
That may not be a problem if all you care about is the number of organizations.
Eh, the F-35 is more an example of how truly infinite time and money can eventually overcome even the worst development processes—at this point the LRIP 10 35As are coming in around the mid-$90m range flyaway with engine, which puts them solidly under the Rafale/Eurofighter price point and on par with the still-in-development Gripen NG. The Danish type selection report is worth a read.

Here's some actual contenders for a modern/Cold War list, though it should be noted that most of these aren't fatally flawed in some fundamental fashion, just designs that didn't turn out as hoped:

- the F-111: much too expensive and only good at long-range strikes
- the original Hornet, but not the Super Hornet: not enough fuel and too immature a design for its intended role
- the Eurofighter: mind-blowingly expensive, its AESA radar development program is older than the F-35 project and still isn't available, unfortunately timed (becoming a mature platform as VLO aircraft begin to enter service in many air forces)
- the F-16/LWF as it was originally conceived: range-only radar, no real payload, more or less a target drone
- the MiG-29, a point defense fighter that never really could be molded into a true multirole
Dashboard Ambush [slides]
I experience the same thing all the time. Go has become the new node.js for ineffectual, out-of-touch technical managers and mediocre engineers to just randomly throw out as their "What about _____?" hobby horse.

I got myself out of the position of contrasting it against whatever they were railing against (in this case Erlang), and instead just put the question back on them. "I don't know, you tell me why I should consider Go for this."

Usually shuts down the conversation because they don't actually know anything about Go. Just that they've heard other people talk about it.
Depends on how you define "at any given time". If it's measured in the
intervals of day (two different projects touched the same day), then I rarely
do more than two of them (one being the main focus and the other being an
emergency, if any). If it is months, then I haven't switched for a long time,
but four or five is not an unusual thing.

That being said, I only encountered this at companies with smaller IT
headcount. In corporations it's a little different, as project structures are
much more rigid and transferring people takes time, so programmers usually
don't jump between assignments that much.
I think I would go with the better company. Im not sure I would want to be in charge of a team when you might not see eye to eye with your bosses.
What's described here is precisely how Rust and Erlang became my two favorite languages to work with.
Tried everything except turning off hardware accel.

But that should not be it - because it works fine on startup.

Every once and a while, screen goes black for most pages, even on reload.

Have to restart.

I shouldn't have to tinker to get a web browser to just load pages.
Scammers acting as if they were the IRS, scammers acting if they were the US Foreign Service...as much as people don't like the slogan of "Buy American" we surely have a world of scammers who think that is worth something.
Little email service that does json-csv conversion
Is it just me, or is there a typo in the following?

CL-USER> (remove-if-not
#'(lambda (cd) (equal (getf cd :artist) "Dixie Chicks")) *db*)
((:TITLE "Home" :ARTIST "Dixie Chicks" :RATING 9 :RIPPED T)
(:TITLE "Fly" :ARTIST "Dixie Chicks" :RATING 8 :RIPPED T))

It seems to be missing a single quote... shouldn't it be:

CL-USER> (remove-if-not
#'(lambda (cd) (equal (getf cd :artist) "Dixie Chicks"))' *db*)
((:TITLE "Home" :ARTIST "Dixie Chicks" :RATING 9 :RIPPED T)
(:TITLE "Fly" :ARTIST "Dixie Chicks" :RATING 8 :RIPPED T))

If this is a typo, it merely shows how incredibly well written this is, because I have literally never read lisp code in any seriousness in my life!
Didn't downvote you but here is my guess: it should be save to assume that Apple will approach developing software that drives a car completely differently than the consumer software they typically produce where bugs in the very vast majority of cases do not result in physical harm to anybody. Any sane software developer/company would. It would be foolish to develop your music player like it's a car or airplane and it would be foolish to develop your car like it's a music player.

Edit: fixing phone autocorrect issue.
In addition, I haven't seen the third step in the "Cue -> Habit -> Reward" cycle mentioned yet. While the Reward may be the lingering endorphin rush from a hard workout or the feeling of accomplishment after finishing a chore, the author also suggests a simple, pleasurable behavior after the task that you're trying to make a habit of (like a small piece of chocolate immediately after a run or allowing yourself a few shameless minutes of cat videos after a focused study session). The idea is to allow your mind to associate the pleasure response with the habit each time it encounters the cue.
Doesn't HN use a proprietary fork of Arc?

I've never been entirely certain what the relationship is between YCombinator and the Arc community, if any, but one experimental and partially black-boxed forum doesn't signal a mature language, just one adequate to a particular task.

What else have people done in Arc?
Science the Endless Frontier – Vannevar Bush (1945)