skysight-inc/HackerNews huggingface dataset:
As a conservative who typically votes Republican, it frustrates me that an otherwise thoughtful individual like Wil Wheaton in the middle of a plea for empathy and understanding drops language like "President Shitler" and says of Twitter "the most lucid and concise indictment I can give Twitter is: it's the service that Donald Trump uses to communicate with and incite his cultists."

Dude, if that's how you think and talk about people whose political opinions you disagree with, how can you expect anything better in return? I'm appalled by how you were treated. I'm on your side. But I get the distinct impression that if the shoe were on the other foot, and you knew how I voted, you would not be on mine.
Please note that one of the screenshots shows:

Z80 CP/M BIOS 1.0 by G. Searle 2007-13

CP/M 2.2 Copyright 1979 (c) by Digital Research

A curious thing in all that is that Gary Kildall, the founder of Digital Research and the creator of CP/M, invented the concept of BIOS back then in the late 70s. We still use it today!

Please note how closely that CP/M boot text resembles newer variants we still meet in modern PCs.
Detecting Screen Content via Remote Acoustic Side Channels
Early Macs didn't have hot-pluggable keyboards and mice either. It was one of those things where it would usually work, until one time some fluctuation would just brick the controller chip.
The infrastructure for digital cameras to succeed was already in place.
Damn. This should fit our Rancilio Silvia just like that... brb.
Valve cover or oil pan gaskets are replaced when needed, not because some time has passed. Besides that they are a minor job both in cost and invasiveness compared to replacing a battery pack, this is very much comparing apples to oranges.

Typically ICE cars do not require engine work at 7 years of age.
> If you go all the way and make it sound with variance annotations

Variance annotations aren't quite what would make the language (in strict mode) sound. Specifically, what makes it unsound is the `any` type (generally) and the lack of enforced variance on methods, non-function properties, and index signatures. It doesn't need annotations to determine variance - type parameter variance can be inferred from where in a type a type parameter is used. It already does so for functions (that's the strict flag's strictFunctionTypes subflag). The real issue is that far, far too many people rely on, eg, unsound array assignments (array aughta be invariant over what it contains but it's often treated covariantly), for it to be reasonable to be a default. However it could always be changed (or added) in the future - that's what the strictness flags are for, ideally; providing ways to ratchet up the safety such that it won't permanently break longtime users of the language.
It's worth switching from Mac to something else in 2018.

1. OSX is still fantastic, a sturdy UNIX like OS. So there will be some friction when you're moving away to an alternative, but it's not as bad as it was in maybe 2015 when windows wasn't even up for consideration as a developer machine for many and Linux variants were far from being non-flaky (because of lack of manufacturer support mostly).

2. Windows is catching up with the introduction of WSL, many developers may now setup their LINUX ready projects completely in Windows.

I switched from Macbook Pro 2013 to ~$1,000 Xiaomi Mi notebook pro (i7, 16GB, Dedicated GX card, better battery, HDMI port, 15inch, Mac like keyboard and touchpad, fingerprint reader). I run a right-swipe virtual machine and run chrome all day without issues. It's a good for 3 years machine. Screen is fullhd though.
If you found that interesting you might also enjoy Rovelli's defence of Aristotle's physics: https://arxiv.org/abs/1312.4057
It seems there is a terminal in chromeos. Is there some kind of package manager? I'm just curious is a chromebook is fit for software development, and if g++/clang is running on it.

If not, I would avoid it. My experience with C++ and macbooks has been pretty bad.
No, film cameras required film manufacturing, distribution and developing. Being able to drop all that was a huge factor in the success of digital.
> The type system is frankly disappointing, and the errors the compiler spits out at you (besides the most obvious ones) are almost always useless or gibberish and at times even more harmful than helpful.

I'd love to see examples of such errors. (And, ideally, accompanying code example)
I've always been fascinated by Wirthian languages. The radical simplicity, the focus on fast compilation and programmer productivity.

One question I haven't researched enough is, how did the people at ETH Zürich used Oberon for OS programming. AFAIK, all Wirthian languages have garbage collection, and the common narrative is that you cannot use a GC'ed language in an OS kernel. How did Wirth et al. work around this in the Oberon OS family?
Ask HN: Primary key based on high-resolution timestamp
I'm seeking a primary key for my relational database tables that:
- Can be generated on the client and has a low chance of collisions
- Can support fast (and possibly clustered) indexes well
- Will play well with federation, sharding, and migration scenarios
- Does not leak data about my system internals when used a public object id

At first, I thought of using an internal auto-increment integer primary key, and a public client-generated GUID surrogate key. But there are issues with this approach [1]

After further thought, I'm thinking a timestamp (with millisecond resolution) primary key will meet all these requirements well.

Are there possible problems with this approach?

[1] https://tomharrisonjr.com/uuid-or-guid-as-primary-keys-be-careful-7b2aa3dcb439
Ask HN: Recommended Asia and Africa based object storage providers?
I’m aware that AWS and similarly large providers offer buckets in regions across the world. I’m wondering whether there are any recommended smaller firms that offer object storage located in Asia and Africa, similar to OVH in Europe? OVH are claiming to soon rollout their offering to Singapore, but it’s to be determined when.

I came across this provider in Asia (http://www.fengqi.asia/products/object-storage/), but sign up seems a involved. Ideally, the provider should be outside of the US.

Can anybody please suggest any providers from past experience or have any leads?
This could become a genre, like rap when someone talks over music.
> There is absolutely no way to stop pirating

Of course there is, but the regime have to be much more repressive than 1950s Soviet Union to achieve that.

> Mostly made through the 1950s and 1960s, ribs were a black market method of smuggling in and distributing prohibited music by foreign and emigre musicians banned from broadcast in the Soviet Union. Real medical X-rays, purchased or picked up from the trash from hospitals and clinics were used to create the recordings.

https://en.wikipedia.org/wiki/Ribs_%28recordings%29

There weren't piracy in North Korea until 1990s AFAIK.
Mobbing on social media seems to be a real problem. Many articles have be written about it and we need solutions.

I think it sucks that Wil can’t function on social media because of it.

As for the essay, it is philosophically a huge contradiction.

He’s upset that twitter allows Alex Jones to post, while being upset he is being essentially blocked on social media?

But then he calls the sitting president of the United States juvenile and hateful nicknames?

So which is it? The essay writes from the assumption he has the moral high ground and is being victimized.

The mobbing stuff is a legit problem and attack and makes me sympathetic.

The rest completely undermines his point.
If you’re crashing once a week you’re definitely doing something incorrect on your end. Apple may have poor QA, but there’s no way it’s _that_ poor.
That's awesome!
ThinkPads are built to last. And yeah, ThinkPad X1 Extreme looks extremely promising.
My previous laptop is Sony Vaio too, with Intel Iron Lake 2010. It was my main machine till I bought my ThinkPad last month.
They are only two way if both parties gain in equal measure from the items listed. That is not the case due to the imbalance between Canada and the USA for certain industries.
Electricity is already everywhere, you just need to install lots of boxes with charge cables and billing mechanisms. Not that hard.
So do you know what unit test means? You said at the interview you could learn it, so have you?

At interviews I loved asking a question I did not expect someone to know, but they would feel embarrassed by not knowing:

You know what trees are? <of course>

You know what binary tree are? <of course> Please explain...

Do you know what a 2-3 tree is? <usually not, so I explain>

You know what a balances tree is? <yes>

You know what a B tree is? <yes>

What is the difference between a Balanced tree and a B tree? <silence> Ok so this seems like a technical question right? Wrong. There are several possible answers:

1) I have no clue (this is acceptable)

2) say something (I will write down every word you say, after the interview I will look it up, because even I cannot remember the answer. If you are right, then good for you, this question counts no more than answer #1, if you are wrong, depending on how wrong, you might be eliminated. I do not need someone who feels such a need to be an expert that they make up stuff)

3) I do not know but I know how to find the answer. (this is really what I am looking for. You will not know everything but should be able to work stuff out. But that only gets you 0.5 points. You must look up the information and email me the answer. 24 hours is as good as 10 minutes after the interview. Although I hate it, it should be in the stupid thank you note.

For any skill you do not have but you understand it, try and relate it to something you already have been doing.
Lack of infrastructure didn't stop the adoption of internal combustion engine vehicles. The infrastructure was built as demand for it increased.

Anyway we have most of the infrastructure we need for electric vehicles already, it's called the grid. All that is missing is the connection points. And for many people that is also not a problem because we can plug the car in at home. So electric vehicles have a massive advantage at this stage of the process compared to what ICE vehicles had at the beginning of their adoption.
Assuming that "having the actual equations" is possible, which in market predictions it most likely is not.
I think current laptops are still struggling with thermal management at some point.
Reading HN, it feels like some people just want every language to have the same features and have them implemented the same way.

Sad indeed.
I hope you are right but I will still be feeling a lot better when that's all nailed down in 2020 and we hopefully can return to normality.
In agreement. IMHO generics basically have one place where they work well: abstract containers. Your queues, linked lists, what-have-you can benefit.

But most other data structures? Nope. Too much of the algorithm depends on the primitive type.

And that makes generics a nice boon for computer scientists and certain library authors, but of middling benefit for day-to-day coding. If the container works, you can copy-paste-modify your way to the types you want, or automate the same in a macro or code generator. It's not beautiful but it doesn't have to be.
The term "Intelligence" does not have a definition everyone agrees on but it surely is not "pattern matching". Machine learning today does little more than pattern matching and it is far from intelligence at a human level.
Not the same kind of experiment. An experiment in the scientific sense tweaks the process that generates the data, not the interpretation of the data. There is an inspiration / hypothesis creation step between old data and new experiment.

Main differences: A hypothesis is sorta kinda like your model's coefficients, but more generally applicable. And you have no feedback loop between model coefficients and input data.

So yeah, you are doing very sophisticated curve fitting. It is useful alright, it's just not very much like science.
It would be easy with the proposed Go 2 contracts.
I don’t think he disagrees with the political view but rather with his moral code, compass or even his lack of humanity.

From my view (not related to the USA) it does seem like a correct statement. None of the masses that voted for him have shown empathy towards others or have a logical argument. That being said if he didn’t win and it was a different candidate with the logic lacking masses I think a similar statement would be valid as well.
> although it'll probably need upgrading, piecemeal, to handle the additional load

Not necessarily, see this document from the UK National Grid which discusses the options: https://www.nationalgrid.com/uk/articles/electric-dreams-fut...
Some do, such as companies that produce software to help radiologists detect cancer.
>Warm yourself with the tire-fire that is USB-C PD [1]

A good idea is to not to let too many people on standard bodies.

Intel alone had more than enough clout to push the mass adoption.
Those grandma couches were $399 in 1977 though (article has catalog with prices).
I read that and thought that it would be an excellent spot to prospect for gold, then it turns out that this is already the source of 1/3rd of all the gold mined on earth. Oh well, I'll have to wait for another good idea I guess.
But none of the alleged others have written an explanation about their side of the story so there is nothing to compare.
For 2x2 matrix multiplication, it is known that Strassen's algorithm is optimal in the sense that there exists no algebraic circuit that uses only 6 "scalar" multiplications. I took your question to ask whether for 3x3 matrix multiplication, the minimum number of scalar multiplications required was similarly known. It is not, and there are more options to take into account than just orderings.
Even in Brussels, with its heavy traffic and unseparated bike lanes, there are quite a few parents taking kids around on bike.
I can handle myself socially, and have been told I’m very gregarious and easy to be around and talk to. I just always think about the absolute worst case and long chains of events that might happen from my input. Combative or argumentative situations are the worst, especially in lower trust situations.

In a way, it boils down to “not feeling confident about words I say”, but the problem is I seem to overvalue bad outcomes, or at least think about them deeply rather than assume the very likely path will happen. Some of it is lack of a quick-witted theory of mind mapped to others (asd, add, who knows) and some is past trauma where many people I knew growing up did a lot of hurtful things. The weights on how must one feels they can trust the average person are very slow to change - and the what-ifs seem to come on nearly automatically.
The transaction cost of fully automatic flow and pay with credit card is unbeatable. For a big project it may not matter but for a small one it does.
Mainstream car companies used to do that then decided it wasn't a good idea and that their suppliers were better at innovation.
Until this showstopper is fixed (it's been almost 9 months now), some of us can't move forward with Babel 7: https://github.com/babel/babel/issues/7074
Although electricity is already everywhere, it’s still not going to be an easy transition. Globally, electricity production in 2012 was somewhere around 20 PWh/year, while transport used around 30 PWh/years.

I’m optimistic about cheap solar — a one or two meter wide strip of PV next to every interstate, highway, motorway, Autobahn etc. should suffice — but it’s still not trivial.

https://en.wikipedia.org/wiki/World_energy_consumption
Is "wasting police time" not a cause for a caution/small fine in the US?
> Renovate Bot didn't do anything special.

Maybe it /should/ do something special though. Maybe it should stop using npm.

If it says "I updated package X" and it really updated X /and/ Y, then it didn't do what it promised. Maybe it should say "I updated package X and maybe also others I don't know…" that would be more accurate to how it currently works.
Or even less. I tell my Model S to charge at 5A when I am at home (230 V single phase). Gets me 5 km per hour, 60 km from 18:00 to 06:00 which is fine because I average about 20000 km a year which is less than 60 km a day. On road trips I use the superchargers.
Yes, the shell can be seen as a subset of OS REPL that's been optimized for efficiently performing simple system tasks and gluing things together. The problem is, ever since Lisp Machines died off and UNIX won, we've lost the REPL. We're missing a tool for doing complex tasks interactively, so people naturally started to repurpose shell for that.
They say you need to support this conversion in the markup but gives no examples.
Windows key+1 cycles through windows of the first application, and adding the shift key opens a new window of that application. Just pin the 5-10 most commonly used apps and you're up and away with keyboard navigation.
How many km do you drive in a year? My 20k km is about 55 km per day which is easily supplied by 5A 230 V to my Tesla S in 12 hours, say from 18:00 to 06:00.
Both QM and ML are very heavy in linear algebra. Some might say they’re both glorified (or unglorified?) linear algebra. ;)
This is a different topic, but the view that if it makes money, it's good is a pretty antisocial and inhumane view - because markets themselves aren't humane, and often optimize for some pretty bad things.
I'm currently learning machine learning at the most basic level, this is the sort of stuff I want to work towards though

I deal with time series data a lot at work, I work in broadcasting/media and 99% of the time the data is fairly "predictable" and follows a regular daily pattern, peppered with the odd spikes during big, unpredicatble news events.
A Way-Too-Philosophical Behind-The-Scenes Post
> the common narrative is that you cannot use a GC'ed language in an OS kernel. How did Wirth et al. work around this in the Oberon OS family?

OS do not consist only of a kernel (nitpicking, sorry). Oberon hides the low-level functionality in special modules where implementations are provided by the compiler (in assembly language if needed), i.e. „builtins“. In other words, what is part of the kernel in e.g. Linux can be implemented as a language feature (system module) in the compiler and the resulting code can run on „bare metal“.
Right, and it's only reasonable to expect that if ML is a core differentiator for them, it wouldn't be provided by an outside group.
It's a weird situation because if a facebook engineer reset his password to something else, he'd never be able to get out of jail? Seems odd to make a criminal court order based on a commercial authentication scheme.
Blockchain to revitalize state government in US
CARTO's Use of Postgres Foreign Data Wrappers
Exploring datasets from http://next.nomics.world, I'm finding no link between gender equality and population density adjusted loneliness. But, removing outliers with excessive loneliness for their population densities (MT, CZ), I'm getting a moderate correlation (.4) between gender inequality index and male loneliness (male to female loneliness ratio among 24 to 34 year olds), so my model might explain male loneliness in particular. Haven't looked into the other factors I've conjectured.
My general rule of thumb is that any AI/ML is a result of it being a solution to a pain point within existing product(s). Not having a product with a necessary scale or require the technical sophistication of AI/ML but pitching it as if it has it is imo a red flag. This I call premature optimization.

Another point is marketing. A ride sharing service like Uber or Lyft could easily market themselves as "using AI/ML to solve last mile transportation". There's reason to believe they have some ML teams that do amazing work to support the ride sharing product. Both above have paying customers.
Yeah, good luck with 5A on such small pins an pcb tracks, after prolonged usage. I see many problems with existing 500mA delivery, increased contact resistance, cold solder joints, and so on. Insurance is a must have.
Would these layers be thin enough to be translucent?
I'm not sure if I've ever filled up in a minute, including paying.

All this stuff takes is a change of schedule if you cannot charge at home. Instead of eating breakfast and reading the paper at home in the mornings, you go out and do it at the charging station. You aren't generally stuck for hours at these places. Or you do it on your way home. Workplaces here are offering power to folks and many parking garages/city parking spaces do as well. This takes care of being out in the world.

I don't see how overnight is an issue if you are at home. You aren't using the car when you sleep.

Long distance travel? Don't they recommend you stop and stretch every few hours anyway? This is built in. Or you can take public transport.
Ask HN: Are you doing anything to improve your concentration?
A large part of successful programming is being able to concentrate well. I feel this is even more important for reading other people's code than for writing it.
Are you doing any kind of exercise or practice to actively improve your concentration, and if so, what do you do?
Lessons from the Greek tragedy unlearnt
This is the same argument that gets brought up for every language feature. I remember the days when lambdas were controversial. Lambdas used to be seen as crazy complicated magic that normal programmers wouldn't be able to understand, or would abuse to make code unreadable, or would make a language unnecessarily complicated. This side of the argument eventually loses. People get used to new language features and as it turns out they are not as complicated as people initially think. At the end of the day it's nice to be able to write a generic collection.
How can they say that biomass is a form of zero-carbon energy?
Is the backplane 32 bit VMEbus with an additional central connector? [Edit: 32 bit, not 64 bit]
How is dart superior to TS? This is so uninformed. Just like your view of what a type system does.

Dart is very poorly designed, and they managed that even without the constraint of being 100% compatible with good old broken javascript.

It doesn't have null safety. This right here, is enough said and yet we could continue for hours, like how its standard library made the same 20 years old mistakes as java with things like "immutable collections are just mutable collections that throw exceptions", etc, etc.

Flutter might increase the demand and pressure on Dart quality but it's not a good language by any stretch of the imagination.
So fewer trolls, but the ones who remain will be trolling the system and bankrupting people. Perfect.
> Machine learning today does little more than pattern matching and it is far from intelligence at a human level.

I'm rather less confident about this than you may be. When I'm doing something that I could plausibly claim requires "intelligence", then it certainly doesn't really feel like I'm just doing pattern matching. But I'm increasingly of the view that our perception of our own mental processes is a poor guide to their reality. The likelihood that my intelligence really is just large scale pattern matching, even though it doesn't subjectively feel like that, seems quite high to me.
We will have to agree to disagree, then.

Sofware quality and meeting delivery SLAs should trump micro-optimizing cache access per code line.

So if SLAs define 100ms per access, no need to go crazy making everything under 5ms.

Thankfully, the Linux foundation has another view on the matter.

https://www.youtube.com/watch?v=XfNt6MsLj0E
Also all the advanced image recognition/classification/manipulation that's powering a lot of Facebook's products. Definitely AI territory.
No, it's the same. It is just about having access to control variables.
Laser Inn Aesthetic Surgery Centre Hyderabad
https://www.businesslist.pk/company/248441/laser-inn-aesthetic-surgery-centre-hyderabad