skysight-inc/HackerNews huggingface dataset:
Gitbook (powering the documentation in this link) is also using Slate but they Forked it.

Here is why https://github.com/GitbookIO/slate/blob/master/Readme.md

All slate repos @ https://github.com/GitbookIO?utf8=&q=slate&type=&language=
The definition of "abroad" is of no interest. The world has always been the same size. There has never been a time when all countries / regions / whatever-you-like were at a similar level of development, and there is no reason to expect that such a thing will or could happen.
I made a rich text editor in 2004 and last year I made another one, and nothing has changed. The most annoying thing is that contentEditable works different in different Browsers. Some browsers for example use <div> instead of <p>. And browsers will add extra HTML elements! If you for example pass in <table> the contentEditable will add a <thead> element, so you constantly have to check what the contentEditable is up to. It would probably be easier to use HTML Canvas and implement everything from scratch.
This is completely illogical. The reason you're earning more money is simply because you are giving away less to the government - not because your actual costs change in any way whatsoever. This has nothing at all to do with labor costs. You can apply the exact same logic to absolutely anything. E.g. if your cost of materials increases by $20 instead of your cost of employees. This doesn't mean you're paying more, or less, for these materials - simply that are not obligated to give away as large a share of your profits from any change in costs.
In a terminal, Record Separator is CTRL-^, Unit Separator is CTRL-_. Vi[m] will accept the former literally, and will accept the latter if escaped with a CTRL-V.
>For instance if you cut your overhead by $10 now you take home (just looking at that value in a vacuum) $8 instead of $7.

and if you add $10 overhead your take home will get $8 less instead of $7. Either way that $10 overhead is $1 more expensive in the case of lower tax rate.
Don't large part of some American industries depend on such immigrant labor? I even hear comedians like Bill Maher joke about this all the time saying things like "without illegal immigrants there would be nobody to pick fruit" so it almost seems like an accepted reality of US, at least agriculture industry in border states. Is that no true? I just assumed jokes and lines like that are based on some sort of universally accepted "unofficial" truth, that's what makes them funny.
I recently voted in Europe. I do my own extensive research on all parties. Don't need the news for that.

The date anecdote was one reason of many.
Leveraging Office365 for Automating Business Flow
On a related note, we really should be considering how much soap/detergents we really need. Not just deforestation, they are a major part of water and soil pollution. P&G, Uniliver et al. really sold the idea of using A LOT of soaps to everyone.

My parents, born in India in late 50s, rarely had access to soaps and detergents growing up in the countryside. They are still very conscientious in how much detergent they use. It's a lot of bad habits that mega-corps have tried to push onto us.
Limiting the power of package installation in Debian
Oh, thanks for pointing that out, I totally missed it. I use VueJS, so this would be a pass from me.
Really hope apple adds u2f (native/safari) support at some point in the nearish future.
Early factory workers where not exploited in terms of pay, they made more money than the average worker of their time period. Safty is a different story.
Great effort! Dunno if I'm quite ready to jump off Quiver [1] which has been serving me well but I'll definitely be looking more into MindForger.

[1]: http://happenapps.com/
Show HN: Auto generated HackerShirts
> 3) Amazon has pledged to invest in the local community as part of the deal. There are plans for an elementary school and tech education center.

If you believe this, I hear Amazon also has a bridge they'd like to sell you...
> All — most, anyway — of the bad effects of Facebook are emergent features of the system that they built for the good effects; that system itself, and its messy interactions with billions of people out in the real world, creates the bad effects.

This statement is imprecise. Most of the bad effects are as a result of Facebook gaming its own system on behalf of both advertisers and valuation-driving metrics (growth, engagement, etc.). A Facebook that just allows people to connect is fairly benign. A Facebook that differentially exposes metadata and drives user attention in return for money is inherently dangerous. Positive feedback loops are mathematically unstable in dynamic systems.
I'd like to see another article showing the steps to go through if you lose your keys.
I don’t work in finance exactly, but only pay for them. But I would rather pay per article over several websites instead anyway.
> High labor costs in mature economies means those economies will tend to have a comparative advantage producing high-margin products even if their manufacturing expertise is declining across the board relative to low-wage countries, and even without automation. This is Economics 101

Can you explain this in more detail?
Elasticsearch now understands emoji – and you should reindex if updating
There's jq, which doesn't support SQL but does allow you to apply filters and reductions to data in JSON files: https://stedolan.github.io/jq/
Sounds like the us cable system all over again. pretty soon it'll be filled with useless subscriptions you'll never use, and still have to pay for.
>I recently voted in Europe. I do my own extensive research on all parties.

So how's that different from getting the news? Without checking out news sources you do what?
> The reason it is not in the standard is that its behaviour in the presence of symlinks may differ depending on the filesystem and compiler

I have the feeling that the difference matters to almost nobody and should be avoidable by the few people it actually affects. I had more issues with colliding include guards than I had with symlinks and I still end up replacing CLASSNAME_H with PROJECT_CLASSNAME_H in our own headers every now and then since the autogenerated guards are too naive.
Where is the code?

Is this pure B.S. or a true story. Do you have it or is it one of your B.S. stories?

Show us the beef!

those of us who have worked WITH the database know it is extremely modular. THAT is why it has survived decades and will keep surviving for years to come.

So Mr B.S. artist, show it or shut up !
I wonder if he'll do an article on webauthn... that seems fairly promising as well!
What you allude to there is pretty bad TDD. It was never intended as a replacement for good design, rather as an aid to be clear about design and requirements without writing tons of specs up-front.

And I agree, that there are lots of anti-patterns that have grown in tandem with TDD, like excessive mocking with dependency injection frameworks or testing renamed identity functions over and over just to get more coverage. However, I'd argue that is equally the fault of object-oriented programming though.

Where I disagree is this: TDD and unit tests are still a very useful tool. Their big advantage is that you can isolate issues more quickly and precisely, IF you use them correctly.

For instance, if I have some kind of algorithm in a backend service operating on a data structure that has a bug, I do not want to spend time on the UI layer, network communication or database interactions to figure out, what is going on. Testing at the right scope you get exactly that.
What is the performance like compared to say Oracle External Tables?
Rural Austria? Please provide a company name ... or at least first and last character :)
Early Instagram employee on IG: Like‘a drug that doesn’t get us high anymore’
That can only happen if you inject the bugs directly into the code where they could make it into source control, instead of doing it all on a test automation server that only ever pulls the code. You need the automation anyway (you weren't thinking about doing manual fault injection, right?), so siloing it off from production shouldn't be too hard.
Training requires loyalty to work - if companies can't expect trained personnel to stay then the investment is pure overhead.

To be fair, it's corporate America that burned that bridge in the 80s with layoff culture, citing "economic efficiency".
My concern about all these pay per view plans in this thread is that they will discourage cross pollination. We will be not just learning about other perspectives but paying for them.
We need a micro-payment system for the web! So that you can pay per article. Versus pulling up my credit card, using the banks second factor authorization, and meanwhile knowing that 75% of the transaction is banking fees. Paypal could have solved the problem, but instead choose short term profits and to sale out, instead of long term - changing the world.
No, it's not. That money is lost to the government, not to your actual costs (labor/goods/etc). To illustrate the point clearly imagine I'm a robber. Each time I see you get paid I come and rob you. I take 30% of everything in your wallet. If I suddenly stop robbing you, you're suggesting that now all of your costs would increase. This is obviously not rational.
Sugars in general, and high-fructose corn syrup in particular. It is added to a lot of products in the US "to make them more pallatable". Which is an euphemism for "to sell more".

Rice is carbs, yes. But it also fills the stomach (for a while, at least - beans are better and proteins are much better on that field). Sugar/Syrup has the opposite effect. It is addictive and it makes you crave for more. It is also very cheap. So food vendors add it to everything - to sell you more. Meat. Cheese. To me (from Europe) US bread tastes like cake.

European and Asian food producers are gradually catching up on this strategy and are adding extra sugars, so the obesity levels are also increasing, especially in big cities:

https://en.wikipedia.org/wiki/Obesity_in_China

It just has not reached US levels.

To me doesn't make sense that something so unhealthy as corn syrup (and other sugars) isn't more heavily taxed. Right now food producers are making their buck by passing the bill to the US health care, which is a big chunk of the US central budget (and also very inefficient). It's a drag on the whole US economy, in addition of causing a lot of human tragedy.
@Mods: Can you please fix the SHOUTING title?
Nice idea, any frameworks trying to achieve the same ?
Proposal:

Convert the linked list to an indexed structure with dynamic capacity like a vector or a hash table. This is easy to do in one pass. ("Visit the node; add it to the hash table. Visit the next node...")

Once you're done, access the middle element.

You've reduced the number of passes from 1.5 to 1, and all it took was duplicating the entire input.
Further, the speed at which it happened here is very compelling.

This planet is 4.6B years old
Life is at least 3.5B years old. Maybe older. And for the first few hundred million, Earth was a fireball. So it happened almost as soon as it was possible to.
Canada's software development jobs
what website do you use to find software developement jobs in Canada.
Brace Yourself: Black Friday and Cyber Monday Are Coming
Being a creep is not an exclusive male privilege
I doubt the competition (e.g. IBM or Microsoft) has any better code quality. Even PostgreSQL is 1.3M lines of code, so let's get something deliberately written for simplicity. SQLite is just 130k SLoC, so another order of magnitude simpler.

And yet, even SQLite has an awful amount of test cases.

https://www.sqlite.org/testing.html
For years I've been thinking about a kind of loose bundling service where subscriber would pay like 10 per month, but for no particular bundle of sites. The business would then go out to sites that users are consuming and basically say 'hey, we've got money for you'. They put some tracking code on their site and start getting paid based on how much the services users consume. It's sort of a push-based Patreon.

Never did it because the idea never sat right with me.
Surely micropayments work in the exact opposite way to what you describe when it comes to click-bait. Like every other market with abundance (e.g. music in 2018), I imagine it will be winner take all and the distribution of rewards will skew to the most popular, creating incentives which will lead to the marvel/dc-isation of news, reduce production risk taking, and increase the fight for attention.

I mean, micropayments will essentially behave something like spotify, and that is mostly what's happened over there - excluding a bit of weirdness around the monetisation of legacy catalogue that doesn't really work the same in publishing.
I think it mostly exists as aggregators like Hacker News.
I still rate the ABC and SBS (Australian) and the BBC for foreign news. The BBC fell off it's pedestal over Scots independence and brexit pretty badly and the ABC has undergone too much Google-following change to infotainment. SBS is underfunded but has a huge following of ex-patriates who lie both sides of most other economies politics and I suspect keep them honest.
Did the author had the consent of the photographed persons? And the consent to publish the pictures?
Cultural expression in the built form
I went with a Lenovo Thinkpad X1 Yoga. It hasn't arrived yet, so I can't directly compare, but I've tried the keyboard & trackpad in store & they feel about as good as my mid-2012 MacBook Pro. I chose the premium screen upgrade to HDR Dolby Digital 500 nits, 8th-Gen Core i7, 16GB RAM, 512GB SSD, touchscreen/pen & 3yr Next Day On-site Warranty was $1500 cheaper than a MacBook Pro with the same specs. The Thinkpad X1 has a user replaceable SSD, so I'll upgrade it to 2TB for $1000 cheaper than Apple's SSD upgrades, which are soldered on. I also love the Black, which fits in with my 2006 & 2007 Black MacBooks.

I considered the Surface Book 2, which has an excellent keyboard & trackpad, but the SSD can't be replaced by the user & tops out at 1TB. I was worried about the Surface Book hinge being fragile in my backpack while travelling & commuting.

My 2006, 2007 and even my 2000 Pismo G3 Macs all still work well. I used to love Apple reliability & recommended the Apple Store to everyone, I was that guy who queued for a day-one iPhone 4. But my mid-2012 MacBook Pro (bought in 2015) has been a lemon, the data flex cable keeps failing every few months, causing it to corrupt data & eventually lose the boot drive. (SuperDuper! has been a lifesaver.) Apple have replaced the cable 5 times now, each time with a week of downtime, but the replacement cables all have the same known defect & I just can't trust the machine anymore.
I think the GP was referencing "taking the L" where the "L" stands for "loss/lose":

https://www.urbandictionary.com/define.php?term=Take%20the%2...
An Outside Look in at Building a Great Team
I think the question you should be asking is why are people taking these "too low" wage jobs?

Companies do close down all the time because expenses are higher than revenues. Restaurants are a very well-known industry where that is super common (and it's not because restaurants tend to pay exhorbitant wages). It's literally a meme to accountants that having a restaurant as a client is a good way to never get paid (they may close down in the 30 days after delivery they are typically given to pay you).

Also, in a way, we already "shut down" companies that pay too little: you just can't even offer to pay someone 2$/hour. The question I'd ask is "who would take that job if it were allowed?"

In essence, having low wage jobs should never be an issue: if you're of the opinion that these companies shouldn't exist in the first place, you're essentially saying that those workers have better options already available. Do we really need to fire them to get them to go for those?
> without having to create a whole new ecosystem

But it does, doesn't it?

You're suggesting we replace C, which isn't necessarily a bad idea, but there are considerable hurdles, as it's a lingua franca. C has an excellent suite of compilers for every platform you can name, excellent development tools, every serious programmer already knows the language, and it easily hooks in to platform-specific functionality.

If we want to replace C, we have a few languages to choose from: BetterC, Zig, Rust.

If BetterC were a strict subset of C, things would be quite different, but it's not, so it has the just another language problem.

If we want to go the subset route, we already have MISRA C, which blocks various categories of bugs and undefined behaviour. Crucially, it's possible to mechanically verify that a program is MISRA-compliant.
Forget Facebook, mysterious data brokers are facing GDPR trouble
> this causes undefined behaviour and compilers/linkers aren't required to issue a diagnostic (and they usually don't!)

-fsanitize=undefined with LTO has shown ODR violations for a long time
If you have fear of Panic Attacks then your problem is not Oracle , Software or anything but a psychiatric one.
I bloody hope so :(
The Raptor Blackbird POWER9 Motherboard Will Sell for Just Under $900
GCC had PCH for years though. Every semi-large project I do with GCC / Clang gets the PCH treatment, in particular because it's so simple with CMake.
You can choose 3-4 sources you personally trust, subscribe to them, follow them on Twitter, and get essentially the product you described. You can even follow specific feeds (eg Bloomberg Politics instead of Bloomberg) to make it more tailored.
The Funds-Recovery Problems with Online Investments
I assume it could be implemented on a secure USB stick for key storage, too.
Blendle is a great alternative, you can buy seperate articles for a few cents from a lot of different papers. It's a Dutch company, and they have almost all Dutch newspapers, but they also have American news papers

https://launch.blendle.com/publishers/
> It’s not necessary in C

sorry what ? most C libraries I know hide their implementations behind opaque types such as `typedef void* my_handle_t`.
I remember having to do the solid black line with a couple of photo-diodes and a small AVR in first year EE. Was kind of a neat project thinking back, but we all hated it at the time because it soaked up quite a lot of time tuning it aggressively to beat everyone else without losing the track, going back where you came from, etc!
It seems to be pretty clear that it is related to fingerprint recognition systems. I'm not sure what you mean.
My mother worked at a produce company most of her life. She said the workers always had paperwork. The company didn't try very hard to verify the authenticity of the paperwork. They would work for two weeks, get their check and be gone, off to work at another field for two weeks.
Telltale Games is reportedly closing down for good as games disappear
Yeah, but I'm saying your answer was wrong. It works fine.
> I want my clients to be able to take objects of some opaque record type that I've defined, and put them entirely on the stack

if you want to put the object on the stack, the compiler has to know the size of the object to reserve enough space on the stack. How can it know the size of the object if it does not have its full definition somewhere ?
Tons. I think it’s a modern UX issue, and the fact that social platforms popularized an @, #, shortcut platform means even my mom (somehow) knows how to use it. It’s a stretch saying, but i feel there’s a loss for a developer/product to not take advantage of the momentum around popularized social-style tagging patterns for unrelated use cases.
I'm also an introvert. For my first startup I used to go to meetups etc to try to network and get business. It got me nowhere and it was draining.

I don't want to discourage you but there may be more efficient ways to get in touch with potential clients. Take a look at "Never Eat Alone" (Keith Ferrazzi). Written by a guy whose whole life is built around connecting with people and is very skeptical about networking events.

In any case, yes it does get easier. These days I do a lot of cold emailing and video calls and even that used to be difficult for me.
Easy to understand explanation of NP-Hard and NP-Complete
It seems that you're describing a solution to the problem of delivery failure. However, the larger problem where consumers need the ability to revoke deals is not failure of delivery as such, but failure to deliver the right goods, possibly maliciously. And vice versa, the possibility by consumers to exploit the system to maliciously refuse paying for goods.

Censorship resistance is an edge case that's nice to have for some people, fraud resistance is the mainstream need that's mandatory for most users. Current crypto approaches don't handle fraud resistance as well as the traditional payment systems, so censorship resistance is a moot point until/unless that gets solved.
Does anyone know if Google allows registering more than 2 keys?

Like what if i want to register 3 or 4 keys for advanced protection?
It seems to me that some people and the mainstream media want to see Facebook in crisis, so they interprete any stats or analysis with such bias.
I have several questions. If I have too bool bit fields next to each other, how are these ordered in a given byte? Even when I have a less then 8 bit field it can span over a byte boundary. Are the low bits go into the next byte or the high bits? The blog post only mentions fields greater than 8 bits.

If a field greater than 8 bits is byte-aligned, it is represented in memory with the endianness of the host. If the field is not byte-aligned, it is represented in memory in big-endian.

So is a 12 bit fild is byte-aligned if it starts at the "first" bit of a byte (whatever that is)? Is there a way to manually specify the endianness of a field? There are certainly cases where a byte-aligned big-endian field is needed on a little-endian host.

I also don't like that keeping track of the fields' address happens in comments. It would be great if there were a language element that would specify the address of a field inside a packed struct, so the compiler could verify its correctness.
4 Reasons to be positive in the midst of the crypto “crash”
The situation may have arised naturally, and then the government refused to deal with it effectively (actually penalize companies that hire illegal immigrants) because business interests liked the situation.
Doesn't sound like a get rich scam.
> Under the modern runtime, an extra layer of indirection is added to instance variable access,

so it's just syntax sugar for PIMPL.
And this is the wall where he discovered you can use cement to bind the bricks. And here he even mixes that cement with sand and water. This is a safer place to stand.
Smart Lock on iOS does not support NFC currently. BLE only.
> Header files absolutely are a hassle to keep up to date.

how so ? every IDE I've used automatically changes the header if you change the cpp and conversely
Identifying a clearly vested interest and inherent bias in a person defending the system that they personally benefited from is a fairly accepted standard part of critical discourse.

Without being critical of the origin of ideas and the interests that lay behind them, you're vulnerable to all sorts of manipulation. Think of the thousands of man hours that can go into producing content you can consume in hours.

Regarding the content of the essay, I stopped reading at the straw-man guilt-by-association definition of levellers -- quite clearly an attempt to manipulate.
I have tried compressing several PNG images, felt pretty much instant. I normally use trimage but this has definitely more features.
I wish that SmartCards were used more for this purpose https://github.com/OpenSC/OpenSC/wiki

There's an applet you can load into your own JavaCard presumably https://github.com/LedgerHQ/ledger-u2f-javacard
Also the Provoke magazine and all the people that participated on it (like Moriyama). Specially Takuma Nakahira.
Works on Chrome, Google doesn't care about anything else.