skysight-inc/HackerNews huggingface dataset:
Freight lines and passenger lines are usually (though not always) different, especially on the country-side where you have no electrification for freight lines and HSR-dedicated lines.
ironic for a minimalist/anti bloat pamphlet to start with "with 16GB ..."
Should have developed it to run on a $10 Chinese HDMI Android dongle and sold it as a plug-and-play "dashboard in a box" for $300 a pop.
Windows 98 was not intended to offer meaningful local security. The password prompt was used to collect the username/password to use to connect to network resources. (And also, perhaps confusingly, the password prompt was overloaded to select the local user profile, if such feature was enabled - but entering a new username would create a new account, so being a barrier to using the computer was never the point.)
How would you design the API?
KITT 2000 chaser animation for the MacBook Pro TouchBar
`encode` converts text to an encoded form. `decode` converts an encoded form to text. This was confusing in Python 2 because you could encode bytes into… more bytes. What? Python 3 only lets you encode text and decode bytes, as it should, and removes the confusion.
They are equivalent due to zero extension. See http://stackoverflow.com/questions/11177137/why-do-most-x64-... But the encoding for most instructions using 32bit operands are shorter than 64bit operands. And shorter code is better because it fits better in caches and jumps are closer and so on.

Though I was wrong about that particular case because "xor r9d, r9d" and "xor r9, r9" are both three bytes long. But "xor eax, eax" is two bytes and "xor rax, rax" is three bytes. So that's why you should use the old GPR:s when you are able to choose.
Explicitly, obviously and unambiguously.
Funny SysAdmin stories
What are the typical on-calls?
I don't think it is. Differently sized objects can be allocated and released individually. Have a look at part 9 of [1]. In an arena based allocator you typically deallocate all the objects in an arena at once.

TeX basically uses a special purpose implementation of malloc/free, with a static array as backing instead of memory requested from the OS with mmap(2) or sbrk(2). The main reason is portability (the original version was released in 1978 using WEB/Pascal).

[1] http://brokestream.com/tex.pdf
Let me be the guy that brings this article in: http://journals.plos.org/plosone/article?id=10.1371/journal....

"LaTeX users were slower than Word users, wrote less text, made more typesetting, grammatical, and formatting errors"
Without commenting on the corporate governance side of things, being vertically integrated at Samsung's scale has a lot of advantages - boosting the profitability of the phone division at the 'expense' of the battery and display divisions probably unlocks more "shareholder value" in the long term than having the individual divisions finding their local profit maxima as separately listed companies.

It makes sense for the high-margin divisions to 'subsidise' the low-margin-but-strategic divisions. It also makes sense from a vision perspective - "here is the ideal phone we would like to sell in 10 years, all divisions, do the necessary R&D to make it happen"
Unix Horror Stories: Good thing about Unix, if it screws up it does very quickly
This idea that some developers don't need to deal with unicode, really needs to die.

If you're creating a web app and don't support unicode input, you're doing it wrong. You probably can't accurately store the names of your customers, for starters.
For a company that targets Professionals, some Apple policies seems rather hostile towards them.
Depends on who you are. I can't listen to other people talk about math without getting confused myself. Other people think about math differently and often throws my own thinking into a loop. I need to study alone and ask questions if truly stuck.
It’s completely normal in my experience for programs developed on windows to have to install the appropriate Microsoft C++ or C runtime that the binary was linked against. Ever installed a game from Steam? Half of them will insist on downloading & installing the Microsoft VC++ runtime before they’ll do anything at all.
Get off my lawn ;-)
Also, Switzerland uses tunnel water to heat a banana farm.[1]

[1] https://en.wikipedia.org/wiki/Tropenhaus_Frutigen
I highly recommend taking courses at Harrison Metal. The general management class is 3 days from 10-2pm and they have great electives as well.
It has started: The brand new market in China for Western monopolies!
http://bit.ly/1A1mkfa
It's time for Nvidia  to buy a moat
Ebook on how to run daily team meetings by Qlutter
I reread your original message and the underlying theme seems to be the inevitability of ending up more or less in a situation similar to the one of today.

I don't believe the natural progression theory fully explains what happened and I was trying to emphasise that the article contradicts your theory in several places.

In particular:
* their failure to learn the lessons of 2008, which most other banks did learn.

* several power struggles for key leadership positions

* outright incompetence in risk management.

To summarise: your analysis about the forces at play is likely correct. However one needs to mix in incompetence and greed to get today's result, something which you explicitly excluded in your first sentence.

I am outraged at what happened (I am a Deutsche customer) and some of that slipped into my message. I do apologize for that.
But at least now you know what's in there, what's going on behind the scenes. And on top of that, it's filled with all sorts of brand new bugs and vulnerabilities! ;-)
I agree that most of software stack seems bloated and wasteful, but there are good reasons for it. The IT has exploded in last few decades and it's no longer just engineers and computer scientists writing code. If they were, software would maybe be of higher quality, but it would be rare, expensive, and insufficient to support all industries.

Web is especially good example. With all its short-comings, it's still sandboxed and portable platform with very capable (and ugly) programming language for delivering same codebase across desktop and mobile devices (even servers, unfortunately). There are many hits and misses like TODO apps built on Electron, but that's to be expected with any technology and isn't a reason to dismiss all the good applications.

To me, consuming all the hardware resources of each new generation seems to be the price we have to pay to build more complex software in larger and larger quantity.

What's bothering me is that it doesn't seem to be converging in desired unification of different applications and services. Everyone is building their own stacks and environment without much care for interoperability. For example, few years ago it seemed clear that XMPP is a way forward in chat clients that everyone should adopt to enable federation. Nowdays we are expected to have 3+ chat clients installed on phone and remember which contact is on which service. I really don't understand how users put up with it.
At a Big Corp where I worked, I think it was three 'satisfactory' ratings in a row which resulted in a PIP.

Satisfactory: fulfilling expectations or needs. But not in Corporate Nu-Speak.
Say No to Venn Diagrams When Explaining SQL Joins
Managing test data in end-to-end test automation
Another indication that Apple is no longer committed to professional customers of their computer line and their needs - iDevices get the required admin tools, but the target demographics for their computers are consumers and web dev shops where everyone tends to their systems.
As a math PhD student I concur. I got through most of my undergrad memorizing nothing. It was easy back then. The definitions were simple and intuitive. what's a group? I hold an intuitive picture in my head which can be translated into words if I want. What's the Taylor series of cosine? If you want to do serious work in applied math you'd better have that on the back of your hand. You can derive it every time of course. You'll just take WAY longer. What is are the homology groups of a group with integer coefficients? Ha. Good luck doing anything with it if you haven't memorized it. Not memorizing might work in undergrad. I've reluctantly come to the conclusion that it doesn't work anymore. In fact not memorizing anything is biting me in the ass. It seriously hampers my workflow to have to look up the definition of Calc iii stuff. If you don't have some things mmeorized you won't even understand lectures. They don't take the time to let you get used to a definition in grad school. They give it to you and just RUN with it. They expect that out of you. They don't remind you. They expect that they can just give you the definition and start using it to prove theorems right away. Most of the time they don't give you the intuition for it either. No examples. You need to get used to the language of math and do it fast.
Github offers source control services, it's not a package server. The CDN stunt was impacting other customers and they had to restrict brew's access.
Exactly. Not forgetting that radiation protection has nothing to do with the hardness of the casing. Lead is nowhere near hard and is one of the most used materials to shield from radiations.
The takedown in question: https://www.youtube.com/watch?v=xJhkX74D10M
OP here. I teach Python to Fortune 100 companies, more or less every day.

You're totally right that people who deal with outside-world data need Unicode. Anything that deals with users MUST deal with Unicode.

But a huge proportion of the people I work with -- in Israel, China, and Europe -- couldn't care less about Unicode. That's because they're processing logfiles, dealing with test automation and system administration. For them, Unicode is important a very small proportion of the time.

So I stand by my assertion that a small proportion of developers need to worry about Unicode. But I also agree with you that Unicode is absolutely crucial in the modern world, and that a language lacking good Unicode support isn't going to get very far.
That's a wishlist, not a design. Do you suppose they tried to make it implicit, non-obvious and ambiguous?
Yeah off topic but if HN supported markdown (and GitHub's flavor of markdown so we could take different types of syntax with their language) would be amazing. There would be a ton more coding examples and discussion, in my opinion, if this were to happen.

How do we summon Dang? :)
Is It OK to Break Even on a Real Estate Investment Property?
InterSystems Data Platforms and Performance – Part 9 Caché VMware Best Practice
I like your Google style design. Very slick!
Explain to me why, ticki, who is a relatively experienced Rust dev choose to retype `unsafe` over re-using a crate (byteorder) which is supposedly equivalent?

1. Crate discoverability could be improved.

2. He wanted full control of the abstraction.

3. This particular library is just an experiment.

4. ...

Regardless of the reason, the reality is the same, `unsafe` could have been ignored but wasn't. Instead, the path of least resistance was to re-write `unsafe` blocks. IMO, it is not truly "friction"/discouraged if it is also the path of least resistance.
This isn't uncommon in China either.

A friend of mine was riding with a relatively well connected Chinese lady, when she pointed at a man on the side of the road and said: "I could hit that guy and get away with it, would probably cost me 100k". That a Huawei boss could get away with it in Cambodia doesn't come as much of a shock.
Ask HN: How to get out of the Facebook cycle, keeping the good parts
I think I'm finally done with Facebook. I want out. The noise is too high, and I'm sure that, if I'm able to pull out, my quality of life will increase. So much idle time spent on the useless flux of futile blabbering, so many minutes (hours and days, over all these years) spent on a virtual place where everyone's entitled to an opinion nobody else really cares about. Facebook's original mission, i.e. "connecting everyone in the world", is utter bullshit. Intentions were good, maybe they still are, but that's all bullshit nonetheless.

But: 1) I've got a ton of work contacts that I met there and I should keep in touch with; 2) I love groups. If you pick the right well-managed ones, there's a lot of added value to discover there.

To the question: has anybody here implemented a successful "soft leave" from Facebook? I would love to deactivate my account, but if I do that I won't be able to use the messenger and groups apps anymore.
Please, don't say I should simply let go of that too. I know, you're right, but currently I cannot do that without impacting my professional life.
I'm eager to hear your opinions--I would listen to them, here.
Berlin, hands down. That said many other places aren't particularly 'tech-unfriendly' either. It really depends on what you want to be working on and in which role (consultant, entrepreneur, employee etc.).

Berlin is startups all the way but finding consulting/ freelance gigs there can be more difficult than elsewhere and the rates tend to be lower.

Rhine-Ruhr mostly is SME, heavy industry and marketing / media (Cologne and Düsseldorf in particular). There are coworking spaces not unlike Betahaus there, too (Unperfekthaus, for example).

The dominant industry in Frankfurt is finance (and logistics to some extent due to Deutsche Bahn).

Similar aspects apply to the other metropolitan regions.
Curious what you would consider as Math instead.
Does that mean you can run Irix binaries on MIPS Linux?
He's got a point. I'd probably use something like to_bytes and to_str to disambiguate.
So:

> It’s quite clear – Welcome to the future of Apple’s hybrid ARM/x86 platform

Meaning, in a nutshell, that we have two different system "loading" policies (the ARM policy and the x86 policy) having fun together on the same disk? Three if you count macOS and EFI as two different systems really.

So naturally this would make disk imaging complex. Seriously, why wasn't this documented (or better documented)?

I'm quite impressed with the author's polite tone. His list of unanswered questions is mind boggling.

[edit: perhaps not "mind boggling" ... maybe just alarming is a better term]
By the time this technology is out there, car keys would be obsolete. You would nt own a car.
> Relying on Apple hardware for a product will likely fuck you over sooner or later

The company I work for feels exactly the opposite, we develop a SAAS POS solution that only runs on iPad. It's a lot easier, because we have a consistent environment, everyone runs almost the same hardware, and the same OS version, unlike Android, where everyone runs different versions of android and different hardware.

Relying on Apple may fuck us over in the future, but Android would be fucking us from the start.
Theranos keeps providing its steady output of schadenfreundian porn ; not that i complain. Is this series of events unprecedented or is it standard practices after a typical fraudster collapses?
> > In short, run `pdflatex` in a VM.

> Yeah with a premature prankster you might have to.

Anything that runs on untrusted input should be run in an isolated environment.

When it's your own stuff do as you please. When it's a thing you got from somewhere and just blindly run it on your machine, might want to think twice. That advise doesn't just go for LaTeX.

Just because you consider it immature doesn't mean it's not genuinely exploitable and someone couldn't use it against you. If anything, taking the approach of "only immature pranksters do this" probably makes it easier for someone to sneak it past you.
Honestly, if I can, I try to cut down on sizes of compiled binaries and even minified and combined web app code. Sure many times it's unnecessary but if I can save on bandwidth and memory typically that means I'm including less crap that can have problems, too. I see it as including far more benefits than simply getting a file size smaller.

But sometimes it can take so much extra work that it's not worth it. So gotta do the cost benefits analysis or hell if it's something you're interested in doing just do it anyway.
That would be ideal for a web app like this.
Myth busted : printf("Hello world") is simple and is a relevant C program for a beginning.

The "hello world" example is just the first step to annihilate your capacity of understanding how thinks works by relying on institutional black magic, that maybe wrong

(see all the scanf bugs that have been living in C code for so long and all bugs coming from respecting the old's man wisdom)
Well, the company is an iOS app company. Therefore there was only one possible choice for them, even if it was the wrong one.
We have been looking into a good solution for our office dashboard last month. Evaluated a lot of solutions like Geckoboard, but eventually ended up using Databox.com. Beautiful dashboards and also mobile apps.
Well, they wouldn't have to be made with precision provided there's an easy way to separate them. Which is still difficult but could be doable.
Why blogging fails?
I started a blog and failed.
The other way to look at this is those experienced in 2 are suffering from baby duck syndrome.

Similar phenomena are almost universally a case with new things in IT, CS and probably life. Takes older generation to "die out" for a society as a hole to accept new way.
Free software for UI design beginners
Yeah that explanation really ironed out any confusion.
soil-less hydroponics produce awfully tasting crap that does slightly resemble original fruit/vegetable only in appearance, only being paler. better than nothing, but far from added value and quality of original
Festive Black Friday 2016 Wedding Invitations Deals Are Here – A2zWeddingCards
...which is why he used the SYS_ #defines.
Flipkart now worth just $6b, says Morgan Stanley
I can get behind some of that, I do hate the argument "it doesn't matter if it's inefficient, modern computers are fast" because everyone taking that stance results in things staying the same speed. When you do encounter modern software that's well optimised and not bloat, it's a real pleasure to be in awe at it's speed (Redis is an example I can think of off the top of my head)

That being said, I'm happy the web isn't still just plaintext or minimally styleable
> µblock blocks and removes ads and trackers, µmatrix does the same for cookies and JS.

Not according to its creator https://github.com/gorhill/uBlock/wiki/Blocking-mode
How to grow into your best developer self
There is OpenMCT from NASA:

https://nasa.github.io/openmct/
Sticky keys... a classic!

Also. I use the old trick of going to "Fail mode" on Windows XP to get free access on a hotel on a pay per hour computer some years ago.
>These days I don't blame them. I'm guilty of it myself. After Microsoft repeatedly dropped in the Windows 10 "updates" (including nag) under new names it got to be enough of a hassle to avoid them that I've basically stopped updating.

My PC is next to my bed. I love being woken up at 3 in the morning by Windows attempting and failing to install updates.

It's got to the point where I turn it off at the power supply to stop it.
In remote regions, fresh vegetables are either very expensive or have been on the road for a long time. Even though you don't get the best taste, it will likely not be worse that the alternatives for people in small remote villages.
A bit off topic, but Iceland is the most beautiful place that I have ever visited. It's geographical diversity is astounding. Taking a trip around the island felt like taking a tour of the Middle-Earth version of it's a small world. Every few miles, the landscape drastically changes.

We picked up our rental car in to a desolate area near a volcano where the ground was a reddish-brown clay. If felt like being on Mars: http://imgur.com/Z2oS0HS

After about an hour or two of traveling, the scenery shifted to a Shire like area with lush green rolling hills: http://imgur.com/BCQECak, homes built into the ground like hobbit holes: http://imgur.com/xf9Dmsg, trolls that were turned to stone after being exposed to sunlight: http://imgur.com/MM146hm a pristine river snaking through that eventually morphed into rapids: http://imgur.com/M0yIPkH.

The waterfalls were breathtaking. They were festooned with hexagonal column sections formed from dark lava: http://imgur.com/IJXgMWL.

Further on, we came across some not so lonely mountains: http://imgur.com/QhcOCLo and small glacier lakes: http://imgur.com/CuFhMhE

Surprisingly, I learned that the first European visitor to the Americas, Leifur Erickson, hailed from Iceland: http://imgur.com/PBWkafA

I'm leaving out so much more, like the naturally heated outdoor geothermal pools of the Blue Lagoon spa.

The people were delightful, well educated, very technically literate and luckily spoke fantastic English. As a country of just over 300,000 people, they are the per capita winners of the world:

Lowest murder rate
Most peaceful country
highest energy usage
Happiest population
Best gender equality
Highest literacy rate, most books read, most authors

I've toyed with the idea of taking a 3 month sabbatical there to work on my game. (The only person I know there works for CCP, makes of Eve Online). It looked like it would be one of the most romantic places in the world to spend your honeymoon at.
O LG X Power tem tela de 5.3 polegadas e bateria de 4.000 mAh
> A good team at a bad company -- unlikely.

Can happen via acquisitions
Could you elaborate, please?
One of the companies where I teach just (in 2016) upgraded one of their core systems to Python 2.7. That's after years in which it was written in Python 2.4. Yes, 2.4, the same version my great-grandparents ran back in the Old Country.

So yes, things are rewritten. And things are upgraded. But at a glacier's pace.

2020 is coming soon -- in about three years. There's no way that companies will upgrade some of these systems to Python 3 during that time. Some things, sure -- but there's a lot of legacy code out there, and I don't see them spending the time and money to upgrade something that already works.
> I am not convinced that the election process is the ultimate check on the presidential authority.

Ultimate in the sense of last, not best.
The press generally support it, which tells you all you need to know. I suspect the Mail et al are looking forward to being able to bribe policemen to give them people's browsing histories.

The public are remarkably conformist and illiberal compared to even Hacker News.

(The UK has never had a populist revolution against a "dictator" to look back on, which means there's a lot of "couldn't happen here". The truth is that there is a history of police repression, it's just on a small scale and directed against groups that can be singled out and made to look non-respectable.

Also, I think most UK and US citizens have internalised the idea that intelligence services can look at anything they want, legality be damned.)
I think you’d probably get used to it after using it a couple of times/being familiar with what the types represent. Text is a sequence of characters, but you can encode it into a sequence of bytes when necessary. Give it a try!

Also, it’s probably worth mentioning that you rarely need to use `encode` or `decode` in Python 3. Most text can just stay text. If you make a mistake, the stronger types are there to help you notice it.
Doctor at Sydney hospital discovers scurvy resurgence
It's interesting to read the sources[1] of lots of djb's[2] code, as he often works around problems with (or perhaps dislikes the style of) standard libraries by re-implementing parts.

[1] https://github.com/abh/djbdns/blob/master/str_len.c
[2] http://cr.yp.to/djb.html
My first thought was Muppets in iceland?
Yoga IntructorMiami Peru
And so, I am very happy to encourage all people to consider the tremendous additional benefits made possible by allowing yourself to participate in a full immersion type retreat and Teacher Training Program.