skysight-inc/HackerNews huggingface dataset:
I second this. I did my first math exam (Linear algebra 1 and 2) while trying to minimise memorisation and it didn't work out so great (passed, but barely). You have to memorise, to really understand it you also should be able to do a proof, but you need to memorise it. It's too much and too complicated to do it on your own, especially in the exam. Normally you don't have a ton of time and event the most simple theorems take time to work out on your own (and sometimes you just get randomly stuck, it just happens). Don't underestimate the work that went into calc 1 or 2, just because you can follow the derivation and proof does not mean one can define the theorem in the equal amount of time.
Emerging Era of Banking and Insurance Sectors
HTG really has been very vocal about issues pertaining shady apps available anywhere. I can understand it must be very difficult for an newcomer to not get crapware on their PC (including mac). Here are the similar previous issues raised by HTG.

http://www.howtogeek.com/207692/yes-every-freeware-download-...

http://www.howtogeek.com/198622/heres-what-happens-when-you-...

http://www.howtogeek.com/218764/warning-don’t-download-softw...

I want to see if Apple does something substantial as MS and sourceforge did, to counter the accusations by HTG.
> Rough estimate 10% of the world speak English as a first language

ASCII isn't even good enough for that 10% – British people need £, which isn't in ASCII – not to mention things like em dashes, en dashes, and curly quotation marks that word processors tend to add.
The One-Definition Rule
Let me know when you have your interviewing technique worked out, and where I can apply to somewhere using it.
Dhruva movie release date posters Images – Ram charan Rakul preet – Todayincity
From the article:

> Good news everyone: Mac imaging isn't dead... yet.

Also the article title doesn't mention breaking anything. So why does the title of the HN post say disk imaging has been broken?
Nothing stopping you doing that.
I agree, it is really uninteresting without any at the very least "sample" articles.
I wouldn't disagree, I guess I was targeted at
>I mean, I bet that literally zero Michelin-starred meals have been prepared with this device.

i.e. If this was a type of device that no-one would use/was using in high-end restaurants then it's clearly a ridiculous statement. But Sous Vides are.

And I'm sure that there are providers of bowls, pans, knives and other kitchen miscellanea that are marketed to the public as 'professional grade', even if they won't make your food taste better. That's advertising :-)

As to why this is a 'start-up', not sure, not a huge amount to disrupt.
# rm -rf /*

edit: there was a star but HN formatting ate it
Too pithy?
> If you are less concerned with pure functions and happy with largely imperative or hybrid imperative code, then yes it is difficult to find a compelling example for Immutable.

Meh, I don't see a lot of usage even with pure functions. JavaScript never really had any protections in it (minus the new-ish const and Object.freeze()) so most developers I know simply write as if something else has access to an object then it will mess with it so everything gets architected accordingly. Just seems to me a mostly non-issue in the JavaScript world.

> so I think it's a case to call it "mature" rather than "abandoned".

No I would most certainly call it abandoned. They have countless issues and pull requests from over half a year ago without even a single response from a human. While it may be a mature product, I would still call it abandoned.
My theory is hat the reason the touch bar exists is that Apple needs to get rid of overstocked (or contractually overproduced) Watch SoCs.
I love the hardware the old aircraft and rocket designers came up with(!), and built(!), and flew! For example the ultra heavy lift rocket designs the Air Force solicited in the 50's and 60's, to put military outposts on the moon. The Sea Dragon is a favorite of mine [1]. Not built nor flown, but really interesting.

[1] https://en.wikipedia.org/wiki/Sea_Dragon_(rocket)
Joint CSIR Admit Card Dec 2016
Not exactly syscall ids: I built network services (telnet daemon, snmp client and server, DNS) that compiled without change for win32 (both on Windows and some embedded win32 compatible abomination) and Linux with just a handful of defines and function wrappers as part of a contract once. A lot of apps can get away with very narrow interfaces to the OS.
By which metric did you "fail"? If you have a fun time writing, then it's already worth the effort.
Some people don't do anything until it happens to them. Also, as the Dyn attack and Mirai botnets show, many IPs are compromised and used to send out attacks but they themselves aren't attacked - and so they don't know they are "infected." And, like the store of the family that buys fire insurance after their neighbor (or worse their own house) catches on fire, people underestimate their own risk.
I mean, what do you want me to say? It is way too complicated. Why are you using a pre-shuffled character set and getting a permutation of it by index when the index is always extremely low compared to the number of permutations just to get some symbols in your password? Just base64-encode with a custom alphabet or something.

I never said anything about entropy, either.
LGBTQ Novel A Safe Place with You Is OUT WORLDWIDE
What's the matter with this stupid word "blazingly" in the Rust community?
You can look at Google Data Studio. It is early days and it is Google, but looks promising for some of my needs.

https://www.google.com/analytics/data-studio/
I think a side by side markup / WYSIWYG is what is missing to PowerPoint and Word. What I would like to see is the equivalent of the WPF editor in Visual Studio, where you can change either and the other updates accordingly.
Tschüß Facebook
Writing a dissertation in word is fine. Preparing for a dissertation for print in word is a pain in the ass. The 'correct' way to do it is to write in Word, do citations in Endnote, and then lay the whole thing out in InDesign.
That's very likely. Mine is an AMD Phenom(tm) II X6 1090T. Though I changed your code a little so that the intro looks like this:

sortRoutine:
; rdi = items
; esi = count
push rbp ; <- stack alignment push
sortRoutine_start:
cmp esi, 2
jb done
dec esi

The "cmp esi, 2; jb done; dec esi" corresponds to your "sub rdx, 1; jbe done". That improves it on my machine to 63 ms/loop. If you are interested I can put it online somewhere.
An essential function of stardard library is to wrapper the syscalls. Besides that, you can make a live without the library. But why would you do that?
Since we keep having these discussions every now and then, here's a link to one of them from a few weeks ago:

https://news.ycombinator.com/item?id=12930082
I can make a case against 3: it's even slower than 2.
I'd copy directly from Rust.
What is Messago?
SOMEONE HAS SOMETHING TO TELL YOU !

Messago is the first "social network and game" app.

Write a message, choose filters (age, language, gender, interests, ...), and send it. It will be received by 10 randoms users who will be able to give an assessment (Like/Dislike/Indifferent) and a comment on your message.

Like gives you +1 for the rankings.
Dislike gives you -1 for the rankings.
Indifferent gives you 0 for the rankings.

When you receive a comment, you can also give an assessment.

If a comment is good and you want to talk with the user, you can make a friend request to get a private message system with him or her.

Datas are hosted in France and are not sold. They are managed by a non-profit organization.

https://play.google.com/apps/testing/com.messago.android
100% Renewable Energy
Or at least the backtick syntax for inline code
I really disagree that it isn't possible without compromise. The Surface Pro, Surface Book, and iPad Pro all have hardware capable enough of providing both experiences for many users.

If you, right now, built an iOS virtual machine into a touchscreen "hybrid" Mac/iPad, it would be a somewhat usable system. Focus some engineering efforts on combining system settings, some sort of filesystem/local iCloud integration, and it would be a very usable system.

What compromises would have to be made that aren't already made worse by the fact that you have to have two separate devices?

It could be argued that Apple have dropped the ball in software probably precisely because their platforms have diverged so much, and even more so with Swift, iOS moving away from older APIs.

The argument that I'm trying to make is that if you treat "the system" as a continuum, there is no "side" that gets more attention. Some things will focus a little more on the touch side, other things will focus on the desktop side, and many will take advantage of the inbetween.

There are little glimpses of this in Windows 10, and a few in Windows 8. Microsoft lacked the mobile ecosystem to pull it off, but I don't for one moment believe that it isn't possible.
I'd be good with less corporate governance on the machine they issued me, more in line with what google does. The windows machines are unusable with all the forced updating, antivirus inefficiencies, and basically spyware. The Macbooks are on their way there, though you can at least still unload the kexts today
I've been blogging for 11 years now and it's one of those little things I'm particularly proud about. I've found my personal voice there (http://www.javipas.com) (I write about tech for a living in other site that started out as a blog), some readers (around 40K/month) and a way to share things in a different and delightful way. Besides, I've got total control over my blog, something I really appreciate.

Social networks are great for many things, but I wouldn't say blogging fails. It's not as popular now, but I guess this is due to the fact that it's more laborious.
Even if you've got the RAM, it never hurts to improve CPU cache locality.
Load Your Kindle Fire with Apps and Games
Writing a Debugger
> but seriously, just do the jump to python3.

Or jump to another language.

Here's my problem: I don't program unless I get paid, and I simply cannot sell this crazy idea: "hey, you know all that software you paid me to write? how about you pay me again so you can have it in python3?"

It seems like if I want my programs to run for more than ten years I shouldn't be using Python.
> That's because they're processing logfiles, dealing with test automation and system administration ... So I stand by my assertion that a small proportion of developers need to worry about Unicode.

You come to this conclusion based on your dealings with a small subset of developers within a small subset of companies?

I think many other developers in the fortune 500 companies outside of the subset you deal with would laugh at that conclusion, then go back to developing apps that deal with people/locales all over the world.
Thankfully living in London buying a car would be more hassle than its worth.
> targets Professionals

All we know, there's a word "pro" in marketing materials (includes product names). Who they actually target with that is Apple's internal affairs, and everyone should judge for himself, whether it matches one's requirements.

Some people are fine with X limitation, but that doesn't mean they aren't "serious" users.

Some people find limitation X to be a deal breaker, but that doesn't invalidate "pro" status of everyone else.
I have been bitten by the lack of a type checker.

I have been bitten by inexplicit casts.

I have been bitten by segfaults.

I have been bitten by poor/no tests.

I have been bitten by mutable containers.

In every case, more constraints and more explicitness have liberated portions of my cognitive load. I've ended up with fewer bugs, more flexibility to play, reduced ramp-up time for new devs, increased speed of iteration. Why would this trend, to add constraints and explicitness, not continue to be beneficial?

P.S. You haven't been bitten by unsafe code, yet, because the people that write Rust, are still builders of the language. It is still in the early adopter stage. Think about Java, which is now predominantly written by users of the language, imagine that for Rust. The teams currently working with Rust, chose to do so as an experiment. They don't have to get a feature out tomorrow, but that will come. Similarly, there isn't "legacy Rust", yet (except in the compiler - which is fine because it is literally maintained by the experts). Is it really worth waiting for crappy code to get written, then re-written, then forgotten and finally broken, and to relive our mistakes, before we fix a predictable problem?
Now you can rank any video on YouTube
What makes a "fail".
Am blogging now for 8 years and still am quite happy doing it.
Snoopers law creates security nightmare
Eating Ramen by Yourself Is an Antidote to Everything
Works with the "accessibility features" too on XP, probably on newer OSes too.
Zig: connect opposite corners … get the highest and lowest scores
Exactly. My blog is a hobby and I enjoy adding to it (almost) daily. It doesn’t get a bunch of traffic but by the ‘is it fun’ metric I’m coming out ahead.
C/++: A complete OpenGL GLSL renderer in 516 Bytes
What's Hacker News' ranking algorithm with penalties?
As far as PortableOSIX compliant syscalls are concerned, they are literally portable.
Yes, IF it goes viral. If not, you got only 3 days more visitors.
As I said in another Python 3 HN thread, developers from cultures whose languages can be fully satisfied with the Latin-1 charset (which is the absolute majority of the developed world) just don't get how important and essential it is to have a proper (pervasive and implicit) implementation of Unicode at the language level.
Is that an idiom, or are they really "off the shelf" and not specially built for every space probe?
Bill Gray's Velkess project was a superior idea to Tesla's Powerwall (IMO!).

It is now unfortunately defunct or at least the website says they're on hold indefinitely.

Here is a youtube video explaining:

https://www.youtube.com/watch?v=u6I2lKtfpLQ

It was a flywheel battery. A physical battery. It turns electrical energy into kinetic energy (and back on demand) at a very high efficiency rate. If I remember the specs correctly it could supply 15 kwh. I think the cost for first adopters would have been $6500 a unit. Actually here are the full specs from a sheet I got from the website before it went down:

Technical Specifcations
Continuous Power 3kW
Peak Power (60 seconds) 9kW
Nameplate Energy 15kWh
Depth of Discharge 100%
Interface 48VDC Virtual Lead Acid Bus
24h Roundtrip Efciency >80%
Expected Service Life 10 years
Physical Package meter(inch) 1 x 1 x 1 (40 x 40 x 40)
Weight kg(lbs) 340 (750)
Standard Connectivity Wi-Fi, Ethernet
Optional Connectivity CAN Bus, RS-485, Xbee, Powerline, LoRa

Energy storage systems of any size can be built by linking 2 or more (n) Velkess L systems togetherin parallel.
Multiple parallel Velkess L modules will self balance and behave as a single energy storage system with performance equal to (1 module) * n.

The clever part was that the flywheel (flywheels are dangerous due to the large amount of kinetic energy) would employ a lasso effect to crumple and use its own energy to destroy itself if there was a technical problem.

The killer app quality it had was that a flywheel of this sort could theoretically run for many decades without failure. The first iteration had '10 years' expected service life but I believe that was being very conservative and it had the capability to last much, much longer.
Just because you get a lot of clicks from Asia, it doesn't mean that they have click farms there. Don't know if you've been to Southeast Asia, but there are a lot of people and most of them use Facebook. If they see the ad they might click it because they're interested, even though they cannot buy the product because they're in the wrong country. Still doesn't mean that FB fakes clicks, it just means they target them badly.

And even if the accounts are fake, they were likely created to sell followers/likes, not to click ads. Clicking on things just shows activity.
What's the difference between tera and HBase?
Doubt it. Look at the evolution of mobile phones: they went from staying alive for a week to needing a charge overnight. People gripe around the margins, but in general seem OK with that.
Silicon Photonic Neural Network Unveiled
Samsung Electronics considers splitting firm in two
And Windows runs on the vast majority of desktops, so what is your point?
Except I know plenty of experienced Python 2 users (like myself) who moved to 3.x and like it. The point being made, I believe, is that the only reason to prefer 2 is if you are locked into it for historical reasons.

The differences are small, and all the arguments against 3 are really just 'breaking changes suck' - yes, they do, but it turns out that we aren't perfect and language designs aren't perfect - you either make breaking changes or live with bad designs forever.

Python made those breaking changes - the alternative just means that in X years we'll move to an entirely different language that does things better instead of moving to Python 3, and at least having an upgrade path.
My feeling is that Apple have basically decided to pursue a "fashionable" path, rather than actually considering design as they used to (and also have abandoned their professional market). (1) getting rid of magsafe is a PITA; (2) USB-C is a PITA; (3) I think my MBP is the last one in which I can replace the hard-drive (or take it out if my logic board fails).

I agree on the build quality - they are still really nice laptops, but the price increase and trajectory of bad design in general (I think that without Steve Jobs steering him, Jonny Ive is incapable of producing genuinely groundbreaking work, and is instead coming up with some really egregious rubbish) are making me feel like jumping ship.

Likewise with OSX: the main reason I use OSX (oh, sorry, macOS) is not the OS itself anymore (which I used to love) but more the apps I can't really do without (basically just Alfred and 1Password) - for everything else I spend most of my time in the terminal.
Which is funny. Because they named A LOT of non mainstream media. So are these people really implying that non mainstream media swung the elections in favor of trump where THEY failed? What kind of admission is that?
Well, the article implies 'pwning coworkers' which is indeed quite immature.
Do you do all your development in closed/isolated environment because of your coworkers posing threats? That sounds a bit paranoid.
I'm the developer. I am trying to figure out how to improve this game. I think there is something good here, but maybe I'm wrong.
> Anything that runs on untrusted input should be run in an isolated environment.

If a colleague sends me something to review, I trust that he doesn't want to hack me. Someone can always use physical access to capture my keystrokes in some way.

> doesn't mean it's not genuinely exploitable

Agreed, so the message should be "don't run random LaTeX files from the internet or classmates or something", not "oh hey look at me annoying colleagues at work".
Just to back this point up, I have an atmel 328p (auduino duo) thats been running on single tiny solar panel, and 5 farads of super capacitor for about 4 years.

It transmits a temperature reading every 30 seconds over rfm12b radio.

(obviously the panel keeps the charge topped up, but it easily lasts through the night and a very cloudy day. It even works indoors. )
Fair enough. My sample is from lots of companies, but a small subset of tasks there.
My calc anki cards have copyrighted material in them so not off hand no.

But generally what I would do is use them to memorize anything I needed to know while I was solving a problem but couldn't remember.

The important thing is to know how to write mathematical expressions in LaTeX syntax, because this lets you make non-crap cards. You might do something like:

\frac{d}{dx} \cos x = ?

On the front and then

- \sin x

On the back.

The important point is that between the front and the back you actively recall the information you're trying to remember. Undergrad mathematics can be thought of as a context free grammar with a set of production rules, memorizing those production rules is a major pain in the ass and this helps.

(Maybe other people don't have trouble with this, I nearly failed every math class in high school and am decidedly not a math prodigy. Your mileage may vary.)
Presumably if it does happen that way, it won't last very long, as the newly acquired employees will figure out "this place sucks" and leave...
I'm a relatively big fan of TeX but in my whole life only once have I met a co-worker who also used it. Yes, in theory is great for collaborating, but it practice it's not because nobody would know what to do with a TeX file if you sent it to them.
Newer Word versions have this Collaborative Mode (available through Office 365) which behaves like Google Docs, except you work in a full-featured word processor. With it you can edit in real-time via both Desktop and Web versions.
I have what is probably a silly question. When you have an idea or something you want to mass-produce, what do you actually do? Is there some website that you can upload your design to, then receive quotes from factories that agree to manufacture N units at M dollars/unit? Or do you usually go through an agent?

Sorry if that seems dumb. I just have literally no experience in this area; if someone handed me a design and said "Manufacture 1,000 of these" I'd just stand around dumbfounded.
Say I get a file and the name of the encoding it's in (like an XML file with a declaration), how I decode it in Rust?
Ask HN: Normalizing logs between components
This is a software design question: I have different components which do similar operations (similar, not identical) and I want to normalize the logs that each component emits so I can make diagnosing issues easier. What approach should I take?

One thing I have thought about is using an error code for a specific known fault and then emit a message based on the error code (think M$ error codes) - same message parameters for all components but the values differ.

I'm more interested in hearing how this has been addressed by HNers who have had to build this functionality in the wild. If there are references, please share.
Qt has QString::fromUtf8 which takes a QByteArray, and QString.toUtf8 which gives a QByteArray. (And similar for a few other encodings.) That was always obvious enough for me.

http://doc.qt.io/qt-5/qstring.html
Really? I know a bunch. Almost all startups, for starters.
Releasing this on iPad instead of being a webapp never made any sense what so ever. In a post disposable single board computer world it gets even more ridiculous.
And for actual publications and the like, latex is indeed awesome and there is a strong argument for superiority.

But the ``problem'' is people who insist on using it for everything. Have a memo? Better set up a repo. Writing a report for a manger? Latex!

With the simpler things where you won't be cross referencing constantly and any figures that you have you want absolute control over placement, Word is the way to go. And pretty much the moment you are done your dissertation, that is the majority of what you'll write. Even in academia you'll likely spend more time writing grants and memos than papers. And, with at least the former, what matters most is having the figure easily seen and fitting the format requirements (specifically page count).

Use the best tool for any given job.
People love quoting this for some reason, despite bananas not having the highest potassium content. Many greens (beet/kale/spinach/etc.) have higher.