skysight-inc/HackerNews huggingface dataset:
A side note, and probably I am completely wrong, but wouldn't it be possible to use/find a suitable pre-made "normal" mini keyboard?

It seems to me a lot of work to assemble even the keyboard, switch by switch and cap by cap...

For a small project I made (using an old decommissioned "thin client") I used and el-cheapo (paid it some 5 Euro) mini USB keyboard, and while surely it is not a model M, it feels much better than a number of "recent" laptop keyboards (with 0 or almost 0 key travel) I happened to try.
I have studied behavioral economics. I think that not many people will take this offer for a number of reasons. The most important one is that losing 115 now and then having to earn it back feels significantly worse than losing 0 now and earning 115. At least that is what prospect theory predicts.

That aside, if Uber is a profit maximizing entity why would Uber offer this promotion if it isn't worth it for them? I'd be very very sceptical on Uber's attitude towards consumers .. uhmm I mean drivers/"employees".
I find it's only crisp enough when I use bitmap fonts, I prefer how vector fonts look on 4K but I'll still buy 1080p for the battery life.
I got my PhD a while ago, but I think unionizing is a terrible idea. First, while the hours are long, tuition is usually paid for / waived and we got a small stipend and OK health insurance for 2-4 hours of teaching a week. I graduated with no debt.

Much more important though is that most unions make work predictable. Hours, duties, etc. However, most PhD research is highly unpredictable. If I want to set up the test while the conditions are good, I may want to work NOW; hearing that I'm out of hours and need to do it tomorrow is the last thing I need. If I got my test set up (in shared lab) and going great I may want to go as long as I can stand it -- it may be broken tomorrow.

At least last 2 years of grad school my #1 desire was to finish and go use my new PhD in real world for real money. If union imposed policies add 1-2 years to the process I would not want them.
Nim was written in Pascal at the very beginning.

But you can't do pointer arithmetics in Nim.

Either

- `type Foo = object` -> Value type, on the stack

- `type Foo = ref object` -> Ref type, managed by GC

- `type Foo = ptr object` -> Pointer type, manual memory management (malloc, free, memcopy ...)
It must be nice to live in a world so isolated that smartphones just completely passed you by.

Imagine being the diehard Zune fan who felt his best option for a replacement was going all in with Windows Phone.
Yes. Not as easily as twenty years ago, but still fairly easily.

In fact, even well-written code can cause hardware-bugs to burn out your hardware. Modern OS's have a ton of hacks to work around limitations of certain hardware.

Example A: Intel's Atom C2000 family. [0] There's quite a few things there, SATA voltages being too high etc., but if we're looking for ultimate destruction then we can't go passed AVR54 from the errata.

> The SoC LPC_CLKOUT0 and/or LPC_CLKOUT1 signals (Low Pin Count bus clock outputs) may stop functioning.

If you lose the LPC clock... The system won't boot anymore.

The whole story isn't in the link, but apparently the cause for this, is that the clock can suddenly stop functioning if you check it "too often", usually failing after 18 months of use.

Cisco has the same problem with some of their routers, from the same hardware.

It's a hardware bug, but with a quick BIOS fix, Cisco and Intel have worked around it, and their devices keep working without a recall... But your own code hasn't, and will eventually brick your device.

Oh, and notice the date on Intel's link. April, 2017.

[0] https://www-ssl.intel.com/content/dam/www/public/us/en/docum...
I think the difference is that you can't take a TV everywhere you go. Smartphones are ever-present. I agree with the comments that video games and TV can be just as addictive, it's just that, as the article points out, phones are often the first and last thing kids see each day.

I generally dislike framing entire generations as "doomed", but the data presented do at least suggest reason for concern. I actually read the article thinking that it is already/will get better over time with awareness, at least as it pertains to smartphone usage.
They would be betting they're able to hide themselves and their resources for all those years. It also requires faith in their own scientific discoveries (the universe will be like what they predict it to be) and much group discipline and trust. What if we could go to sleep for some 100k or 1M year to wake up in a planet that had fixed the excess CO2? Would everybody do it, no cheating? Not with current humankind. Great matter for scifi.
Bitnami Engineering: Implementing Kubernetes Integration Tests in Travis CI
IBM Preps Power9 for AI and HPC Launch, Forges Big NUMA Iron
NO. His fall is a signal that abusers that get caught won’t be tolerated. Everyone knew about this. They even joked about it on the Oscar stage a few years back. Had that news story not come out, nothing would be happening to Harvey right now. We ought to ask why The NY Times let Matt Damon, Russel Crowe and George Clooney influence their decision to spike the story ten years ago. And we ought to ask why those actors are not being demonized for contributing to Harvey’s continued predatory behavior.
You actually don't need the frame pointer to unwind the stack. DWARF frame info allows the compiler to specify tables that describe the stack layout at every program point, and this can be used to perform unwinding.

Another reason why exceptions aren't zero-cost in practice is that compilers need to model the exceptional control-flow, and they usualy don't do a great job in this situation and miss a lot of potential optimizations.
The possibility is small, but with voltages and frequencies under software control, yes. AFAIK even ordinary "non-overclocker" hardware has this capability, despite not being exposed in the BIOS settings, for power management purposes.

This is especially problematic with certain laptops --- I remember hearing about some that would overheat when booted into BIOS or even an alternative OS for an extended period of time, since they depended entirely on a driver to turn on and control the CPU fan...
I’m guessing they are trying to get more drivers on the road during Halloween and by giving them this promotion they essentially lock people in to drive during that time to make up the earnings they prepaid, and potentially make a bonus.
Mines not dead, but deffo on it's last legs!
I've always been told that there is risk of irreversible hardware damage. I haven't any idea where this claim comes from, and I've never been offered an explanation. It's one of the things that has always made me wonder, and why I've never tested any of my own code on real hardware. I'd be curious to see this claim expanded, or debased.
No, the behavior was career suicide. The apology was just the coda on a very sad, pathetic story.
Repeating mantras is awesome. I like to use these:

> "Dear God, grant me the serenity to accept the things I cannot change, the courage to change the things I can, and the wisdom to know the difference."

Basically Stoicism in a nutshell. I like this one and I like to practice it but I don't repeat, chant this one often in my mind now that I think about it ... the next 2 I repeat daily, nay, hourly, nay, even more probably.

> "There is never enough time to do everything, but there's always enough time to do the most important thing."

It's easy to get overwhelmed by the sheer complexity of the whole world (trust me, I've been there) but there is no escaping this. In the long run we're all dead anyway. There is basically always an infinite amount of things we can do but often there is only ONE thing that adds the most value or is the most important thing RIGHT now.

> "Look at how far youve come already."

For some reason this one motivates me because of all the hardships I've experienced already. I'm alive. I'm breating. I'm here. I'm going where I want to go. I have overcome all adversities in the past why should I not overcome this one? Let's go!

The first one is basically

Besides this, earplugs are SO nice. Just not hearing so much noise really really calms me down.
Bitcoin is heading to $10,000, CNBC survey says
Nim compiles to C/C++/Objective-C and Javascript and all memory safety is handled on the Nim side.

The C/C++ code generated by the Nim compiler is then free to use unsafe constructs including the dreaded goto.
I agree, because if it is "working", then if you approach it reasonably, your concerns will just be addressed calmly, and often with a smile.

Some peoples creepy can be another persons turn-on, but if the guy involved takes too much offense at you interceding, it's probably something she should know about before she takes things further.

I've interceded before, e.g. an instance where two girls at a club seemed to be "surrounded" by four guys bringing one them drinks (the other one was refusing). It could have been family or friends, in which case they'd have told me, I'd have felt like an idiot and apologized. But it looked odd and looked like they were being cornered while the guys tried to get them drunk without drinking much themselves.

When approaching them it quickly became clear one of the girls were dead drunk and her friend was scared of both the four other guys, and now me (for what she knew I might have come to join in), and tried getting her friend away from both. So I placed myself between the four guys and the girls and blocked the guys until the more sober friend was able to drag her drunk friend out of there. I don't know the story - it could have ended well without me, but it also couldn't, and the fact the guys were getting agitated made it clear I did the right thing (they didn't dare do more than try to push me out of the way, given that there were big bouncers near enough to see, though not near enough that I wanted to leave the girls alone long enough to bring one over).

But I've also asked girls if they were ok, and gotten told, that yes, the guy is her boy friend, and to kindly leave them alone (sometimes with distinctly ruder wording), while the guy stood by and let her deal with it.

No harm done by asking, and seeing the guys not have a problem with me checking if the woman in question is safe is in itself a good sign.

I know that if anyone came up to my girlfriend to make sure she is safe when out, I'd be happy to see someone looking out for people, not feel threatened, because I have nothing to feel threatened about, and because I'd hope there are people like that around if she's out with girlfriends without me and someone tries anything.
The help function in Excel has been so useless and disruptive to work over more than a decade that I know many people (Excel power users) who just removed the F1 key. It got slightly better with Office 2016 but is nowhere nearly as productive as just googling your problem.
While perhaps a bit to the side of this, i recall reading about how the preference in men change with menstrual cycle.
Right, people will be driven primarily by cost. And the larger an automated taxi service is, the cheaper than offer their product - which prices that not only approach but go below the price of private ownership. And the largest players will be able to setup extensive maintenance/cleaning and other facilities ensuring that what difference does exist in quality of rides is also in their favor. This is something that companies without the same scale will be unable to compete against. And you cannot marginalize the issue of availability and response time. In a world of ubiquitous taxis, it's reasonable to expect that the average response time could begin to approach measurement in seconds. Once again that's exclusively a product of scale.
You mean asynchronous?
It's a bit absurd to argue that you need a high pixel density to code. It's no longer an insane luxury, but even being a relatively younger programmer I remember 640x480 being the highest resolution my first personal computer could display. What fundamentally changed about programming that now we can't even do it without 200 PPI displays?

Obviously, nothing. High resolution for most people is still just a 'nice to have.' But even 1080p@15" will produce relatively crisp text. I'd argue East Asian languages are the only ones to significantly improve in legibility, as sub-pixel rendering pretty much does what it needs to do for English nowadays.

That being said, I absolutely will always go for high DPI and everything, I just don't think it's sane to argue it's an absolute must for what amounts to typing and reading text.
It's not.

There is nowhere stated: reason for this article is to promote the book sale.

Knowing true reason/motivtion of somebody's actions is important. You can also draw conclusions if somebody is hiding their true motivation under pretext.
UN Deputy Chief Interviews Social Robot Sophia
You would need immutability (or a static type system) to do that safely though. And I don’t think you can check the closed over objects before the closure is actually scheduled to execute (perhaps if you limit the closure to const references)

But, since you can pass a context explicitly to map and friends you might get away with checking that for immutability.
Show HN: I made an RSS News Reader that prioritizes topics you care about
Hello guys. I'm one of the core Nim developers, together with Araq (the creator of Nim) who should also be hanging around this thread. Feel free to ask us anything.

This submission is likely the result of the recent livestreams that myself and Araq have been making. You can check out my past livestreams[1] and Araq's[2] at the links below. If you're into watching us live the next time we create a livestream then follow d0m96 (https://go.twitch.tv/d0m96) and araq4k (https://go.twitch.tv/araq4k) on Twitch.

1 - https://www.youtube.com/watch?v=UQ4RvUlXIDI&index=3&list=PLm...

2 - https://www.youtube.com/watch?v=E2qlDKm_WzE, https://www.youtube.com/watch?v=UV38gQfcb9c
Facebook Security chief: leaked audio suggests they should boost cyber defenses
Some context: All danish high school students have their own laptop. Exams are supposed be a test of what the students have learned during the course (for the written exams this means during the last two or three years). To make exams reflect the normal work process of s student most exams are open book - books, notes, old exercises and papers are allowed.

Some exams are divided in two (English, math etc): one short part with nothing but paper and pencil and one longer part with everything allowed (except communication with others).

In recent years the publishing houses have gone digital in a big way. Some school no longer provide books for the student - the school buys subscriptions for online books. Until this year internet access during exams were forbidden (with the exception of access to dictionaries). This year a new law adjusted the rules. A wide coaliation of parties including the all three parties of the government decided that internet access should be allowed to.

This summer a few students were caught cheating. During the written exam they uploaded the paper/exercises to a firm that offered to write the paper for them - for a fee of course. As the rules are now only the student is breaking the law.

The minister felt a need to react and sent out a statement that internet access were to be banned. However she forgot to ask the coalition behind the high school reform. Even the two other parties in the government disagreed. In short: internet access will probably not be banned.

The latest idea from the minister is to allow high schools to search the computer of a student, if the school has a suspicion of cheating. (The irony is that the minister is from the most liberal party in danish politics).

Cheating is of course a serious matter, but the current proposal seems to be somewhat overreaching. It will hopefully not get the enough votes.

Question:
How would you prevent cheating in an exam where internet access is allowed?
I'm not arguing against VNC (which is very much possible with Wayland today). I'm arguing against the legacy cruft that is the X11 network protocol.
I concur, dumb. In addition we also pave over more and more soil everywhere on this planet.
Definitely job titles.

The job descriptions on the most recent example was 3 columns of bullet points.

I like lists as much as the next person, but this was next level.
I really liked my Zune. I came from an iPod in the same generation. I wasn't a fan of the Zune desktop software but the device software was a lot nicer and the build was sturdier than my iPod. I used it for years until I got my first smartphone.
I'd like to add that "circumventing the GC" is supported by default. There are 3 object types in Nim

- `type Foo = object` --> Value type, on the stack

- `type Foo = ref object` --> Reference type, managed by GC

- `type Foo = ptr object` --> Pointer type, manual memory management (with Nim's equivalent for malloc, free and memcopy)

Also Nim does not have 1 GC but several:

- Default Deferred Reference Counting - Not stop the world

- Boehm GC

- Mark and Sweep

- Memory Regions

- Real-time GC (with tunable max-pause)

- GC disabled

GC can also be deactivated per thread (setupForeignThreadGc) or for a section of the code (GC_ref, GC_unref) even on Ref types to improve interoperability with other languages.
Because unlike Cosby, Weinstein is not just a story about a depraved individual, but about the wider US cultural (and politcally liberal) elite. He was a major donor and fundraiser, he was covered for by major media outlets, Hollywood bigwigs etc. This forces an attempt to make it more about men in general, thereby implicitly making it less about the cultural elite specifically.
On the Commodore PET you could write a short BASIC program to rapidly change the direction of the tape drive motor, it would fry the transformer that ran it.
Book Review – Writing Interactive Fiction with Twine
I guess practice is what matters most, it happens naturally now -- right hand enters digits, while left inserts a-f, x when needed.
That could be. Google (Alphabet) obviously has moved on after an early investment in Uber. Alphabet has announced leading a big round Lyft [1].

1. http://www.latimes.com/business/technology/la-fi-tn-lyft-alp...
Libraries are probably fine, but pulling them from Google means that Google can track you
I upvoted you because I believe your points are fair. But I must say that, unless people edited their comments, I didnt ser any mocking. I see people challenging your statement.

I also don't think the History channel show is a respectable source. So, as I see it, this source is not a convincing argument to who is challenging your statements.

But, if people were really mocking you, I completely agree it is inadequate and disrespectful
Sam - very helpful. Thanks
I especially like the last sentence here. Thanks
Typical. If US can't compete on merits then they typically come up with some contrived reason to levy tariffs in order to cripple anything Canadian that just might be successful. Same thing happened to lumber, dairy, poultry, livestock and anything else that gets made north of the border. In the meantime all those industries are pretty happy to take the pork when and where it is available, Boeing probably more than any other company in the world. So this complaint is about as disingenuous as it gets.

Not that any other country cares one bit about Canada. Even the UK, which has a pretty big stake in this whole thing has kept mum, presumably because they don't want to upset their own future trade deal with the US.
My favourite kernel development tutorial is bkerndev [0]. It provides easy-to-read sources that can be used as a good base for simple projects.

Shameless plug: I used bkerndev verbatim for my bare metal project - Nope OS [1] - a C64-like system that I built for my son when he was born, so that he could get to know computers the same way I did. :)

[0] http://www.osdever.net/bkerndev/Docs/intro.htm

[1] https://github.com/d99kris/nopeos
They do, via trade sanctions.
> Ask me about using a Java library that could return an option type, which could be null, so you have to check for both the None return value AS WELL AS null.

No, you don't -- because those are two different kinds of null!

If your library's function returns Optional.empty(), then it's because it successfully returned no value. If it returns null, though, then the library has a bug and you should crash instead of trying to continue in a known invalid state.

Without the Optional type signature, the function would return null for both of these, and your program will appear to work even though it's just suffered a bug.
> in a way that is unambiguously not creepy

Alas, no. When even simply looking (and I mean it, looking, not staring) can be classified as creepy you cannot be sure any more.
We’ve tried some others but our customers are familiar with TeamViewer and often insist on it. I’m fact some ask for a team viewer session before we suggest remote help.

I’m not a big fan since we don’t need it that often and it’s pretty expensive per use when we have to pay by the year.
If it is a school issued laptop, I see no problem. It should be clear that the laptop is school property and may be searched.

If a student wants privacy, they simply use a personal device.
I share the same feeling. I've done even a better boot loader which could load a simple shell on the floppy when I was 13. However, only in 16 bits and use bios INTs.
In praise of bad game design
Not a vim user?

I suppose your right. I use it as a continuation of vi. Instead of a nerdtree plugin, I use a real file browser to manage the files in my project. Instead of split windows, I open multiple instances. To refactor a piece of code, I use some ex commands, buffers and maybe a macro. In that sense I'm not a Vim user. Vim is the vi implementation I use.
I think it's a bit too pretentious of us as a species to speculate about the motives and capabilities of alien civilizations who may be billions of years ahead of us. We haven't figured out dolphins, FFS! I wouldn't be surprised if in 100 years we look back at all this the same way we now think about the theory of an infinite number of turtles supporting the Earth. It's all just cutely naive speculation.
Your hamburger menu doesn’t work for me. I’m on the latest version of mobile Safari.
I really need to pick up a Zune HD, that UI is fantastic.
It's not about the applications. It's about the components of the application. Reddit, Wikipedia, Facebook, HN, all use a mixture of RDBMS and NoSQL.
Beach Buggy Racing APK 1.2.17 Full Version Download
https://www.independent.co.uk/environment/nature/electronic-...

http://www.tandfonline.com/doi/abs/10.3109/15368378.2015.104...

https://www.ncbi.nlm.nih.gov/pubmed/22367734

http://www.sciencedirect.com/science/article/pii/S1383571806...
'There's no future for taxis': NY cab drivers are slowly drowning in debt
You're correct that #1 isn't solvable in software, but I have doubts that #2 is best solved with a blockchain.
so true
can't upvote more
I've only read headlines and heard from friends working in larger cities for larger companies experiencing this, so obviously it's not something which is happening all the time everywhere, and based on my quick research it seems like a lot of news came out around 2012 about this issue: https://www.aclu.org/blog/privacy-technology/your-facebook-p...

I would act the in the same manner you would as well, it's not worth working for a company if they don't have some very basic principles and it's a huge red flag. If they don't respect your privacy in the interview, they probably wont respect it in day to day business. But just like you explained we have to be careful because there's a lot of people who don't really have a choice, especially in today's job market here in Australia; a lot of people would have to decide between privacy and their ability to pay the power, rent, food, etc.